@everymatrix/casino-footer-v2 1.12.7 → 1.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function r(e){e.forEach(t)}function i(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let s,a;function l(e,t){return s||(s=document.createElement("a")),s.href=t,e===s.href}function c(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function u(e,t,n){e.$$.on_destroy.push(c(t,n))}function h(t){return t&&i(t.destroy)?t.destroy:e}function d(e,t){e.appendChild(t)}function f(e,t,n){e.insertBefore(t,n||null)}function p(e){e.parentNode&&e.parentNode.removeChild(e)}function m(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function g(e){return document.createElement(e)}function y(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function b(e){return document.createTextNode(e)}function _(){return b(" ")}function v(){return b("")}function w(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function k(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function E(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:k(e,t,n)}function T(e,t){t=""+t,e.data!==t&&(e.data=t)}function S(e,t,n){for(let n=0;n<e.options.length;n+=1){const r=e.options[n];if(r.__value===t)return void(r.selected=!0)}n&&void 0===t||(e.selectedIndex=-1)}function x(e,t,n){e.classList[n?"add":"remove"](t)}function L(e){const t={};for(const n of e)t[n.name]=n.value;return t}function D(e){a=e}
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function r(e){e.forEach(t)}function i(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let s;function a(e,t){return s||(s=document.createElement("a")),s.href=t,e===s.href}function l(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}function c(e,t,n){e.$$.on_destroy.push(l(t,n))}function u(t){return t&&i(t.destroy)?t.destroy:e}const h="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function d(e,t){e.appendChild(t)}function f(e,t,n){e.insertBefore(t,n||null)}function p(e){e.parentNode&&e.parentNode.removeChild(e)}function m(e,t){for(let n=0;n<e.length;n+=1)e[n]&&e[n].d(t)}function g(e){return document.createElement(e)}function y(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function b(e){return document.createTextNode(e)}function _(){return b(" ")}function v(){return b("")}function w(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function k(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function E(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:k(e,t,n)}function S(e,t){t=""+t,e.data!==t&&(e.data=t)}function T(e,t,n){for(let n=0;n<e.options.length;n+=1){const r=e.options[n];if(r.__value===t)return void(r.selected=!0)}n&&void 0===t||(e.selectedIndex=-1)}function x(e,t,n){e.classList[n?"add":"remove"](t)}function L(e){const t={};for(const n of e)t[n.name]=n.value;return t}let M;function D(e){M=e}
2
2
  /**
3
3
  * The `onMount` function schedules a callback to run as soon as the component has been mounted to the DOM.
4
4
  * It must be called during the component's initialisation (but doesn't need to live *inside* the component;
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * https://svelte.dev/docs#run-time-svelte-onmount
10
10
  */
11
- function M(e){(function(){if(!a)throw new Error("Function called outside component initialization");return a})().$$.on_mount.push(e)}const F=[],I=[];let $=[];const A=[],O=Promise.resolve();let P=!1;function H(e){$.push(e)}
11
+ function F(e){(function(){if(!M)throw new Error("Function called outside component initialization");return M})().$$.on_mount.push(e)}const I=[],$=[];let A=[];const O=[],P=Promise.resolve();let H=!1;function C(e){A.push(e)}
12
12
  // flush() calls callbacks in this order:
13
13
  // 1. All beforeUpdate callbacks, in order: parents before children
14
14
  // 2. All bind:this callbacks, in reverse order: children before parents.
@@ -27,58 +27,58 @@ function M(e){(function(){if(!a)throw new Error("Function called outside compone
27
27
  // 3. During afterUpdate, any updated components will NOT have their afterUpdate
28
28
  // callback called a second time; the seen_callbacks set, outside the flush()
29
29
  // function, guarantees this behavior.
30
- const C=new Set;let B=0;// Do *not* move this inside the flush() function
31
- function N(){
30
+ const B=new Set;let N=0;// Do *not* move this inside the flush() function
31
+ function R(){
32
32
  // Do not reenter flush while dirty components are updated, as this can
33
33
  // result in an infinite loop. Instead, let the inner flush handle it.
34
34
  // Reentrancy is ok afterwards for bindings etc.
35
- if(0!==B)return;const e=a;do{
35
+ if(0!==N)return;const e=M;do{
36
36
  // first, call beforeUpdate functions
37
37
  // and update components
38
- try{for(;B<F.length;){const e=F[B];B++,D(e),R(e.$$)}}catch(e){
38
+ try{for(;N<I.length;){const e=I[N];N++,D(e),Y(e.$$)}}catch(e){
39
39
  // reset dirty state to not end up in a deadlocked state and then rethrow
40
- throw F.length=0,B=0,e}for(D(null),F.length=0,B=0;I.length;)I.pop()();
40
+ throw I.length=0,N=0,e}for(D(null),I.length=0,N=0;$.length;)$.pop()();
41
41
  // then, once components are updated, call
42
42
  // afterUpdate functions. This may cause
43
43
  // subsequent updates...
44
- for(let e=0;e<$.length;e+=1){const t=$[e];C.has(t)||(
44
+ for(let e=0;e<A.length;e+=1){const t=A[e];B.has(t)||(
45
45
  // ...so guard against infinite loops
46
- C.add(t),t())}$.length=0}while(F.length);for(;A.length;)A.pop()();P=!1,C.clear(),D(e)}function R(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(H)}}
46
+ B.add(t),t())}A.length=0}while(I.length);for(;O.length;)O.pop()();H=!1,B.clear(),D(e)}function Y(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(C)}}
47
47
  /**
48
48
  * Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
49
- */const Y=new Set;const U="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function G(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];$.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),$=t}(n.after_update),r(n.on_destroy),n.fragment&&n.fragment.d(t),
49
+ */const U=new Set;function G(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];A.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),A=t}(n.after_update),r(n.on_destroy),n.fragment&&n.fragment.d(t),
50
50
  // TODO null out other refs, including component.$$ (but need to
51
51
  // preserve final state?)
52
- n.on_destroy=n.fragment=null,n.ctx=[])}function j(e,t){-1===e.$$.dirty[0]&&(F.push(e),P||(P=!0,O.then(N)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function V(o,s,l,c,u,h,d,f=[-1]){const m=a;D(o);const g=o.$$={fragment:null,ctx:[],
52
+ n.on_destroy=n.fragment=null,n.ctx=[])}function j(e,t){-1===e.$$.dirty[0]&&(I.push(e),H||(H=!0,P.then(R)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function V(o,s,a,l,c,u,h,d=[-1]){const f=M;D(o);const m=o.$$={fragment:null,ctx:[],
53
53
  // state
54
- props:h,update:e,not_equal:u,bound:n(),
54
+ props:u,update:e,not_equal:c,bound:n(),
55
55
  // lifecycle
56
- on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(m?m.$$.context:[])),
56
+ on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(f?f.$$.context:[])),
57
57
  // everything else
58
- callbacks:n(),dirty:f,skip_bound:!1,root:s.target||m.$$.root};d&&d(g.root);let y=!1;if(g.ctx=l?l(o,s.props||{},((e,t,...n)=>{const r=n.length?n[0]:t;return g.ctx&&u(g.ctx[e],g.ctx[e]=r)&&(!g.skip_bound&&g.bound[e]&&g.bound[e](r),y&&j(o,e)),t})):[],g.update(),y=!0,r(g.before_update),
58
+ callbacks:n(),dirty:d,skip_bound:!1,root:s.target||f.$$.root};h&&h(m.root);let g=!1;if(m.ctx=a?a(o,s.props||{},((e,t,...n)=>{const r=n.length?n[0]:t;return m.ctx&&c(m.ctx[e],m.ctx[e]=r)&&(!m.skip_bound&&m.bound[e]&&m.bound[e](r),g&&j(o,e)),t})):[],m.update(),g=!0,r(m.before_update),
59
59
  // `false` as a special case of no DOM component
60
- g.fragment=!!c&&c(g.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);
60
+ m.fragment=!!l&&l(m.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);
61
61
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
62
- g.fragment&&g.fragment.l(e),e.forEach(p)}else
62
+ m.fragment&&m.fragment.l(e),e.forEach(p)}else
63
63
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
64
- g.fragment&&g.fragment.c();s.intro&&((b=o.$$.fragment)&&b.i&&(Y.delete(b),b.i(_))),function(e,n,o,s){const{fragment:a,after_update:l}=e.$$;a&&a.m(n,o),s||
64
+ m.fragment&&m.fragment.c();s.intro&&((y=o.$$.fragment)&&y.i&&(U.delete(y),y.i(b))),function(e,n,o,s){const{fragment:a,after_update:l}=e.$$;a&&a.m(n,o),s||
65
65
  // onMount happens before the initial afterUpdate
66
- H((()=>{const n=e.$$.on_mount.map(t).filter(i);
66
+ C((()=>{const n=e.$$.on_mount.map(t).filter(i);
67
67
  // if the component was destroyed immediately
68
68
  // it will update the `$$.on_destroy` reference to `null`.
69
69
  // the destructured on_destroy may still reference to the old array
70
70
  e.$$.on_destroy?e.$$.on_destroy.push(...n):
71
71
  // Edge case - component was destroyed immediately,
72
72
  // most likely as a result of a binding initialising
73
- r(n),e.$$.on_mount=[]})),l.forEach(H)}(o,s.target,s.anchor,s.customElement),N()}var b,_;D(m)}let W;"function"==typeof HTMLElement&&(W=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(i);
73
+ r(n),e.$$.on_mount=[]})),l.forEach(C)}(o,s.target,s.anchor,s.customElement),R()}var y,b;D(f)}let W;"function"==typeof HTMLElement&&(W=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(i);
74
74
  // @ts-ignore todo: improve typings
75
75
  for(const e in this.$$.slotted)
76
76
  // @ts-ignore todo: improve typings
77
77
  this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){r(this.$$.on_disconnect)}$destroy(){G(this,1),this.$destroy=e}$on(t,n){
78
78
  // TODO should this delegate to addEventListener?
79
- if(!i(n))return e;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const e=r.indexOf(n);-1!==e&&r.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var z="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==z&&z,Z={searchParams:"URLSearchParams"in z,iterable:"Symbol"in z&&"iterator"in Symbol,blob:"FileReader"in z&&"Blob"in z&&function(){try{return new Blob,!0}catch(e){return!1}}(),formData:"FormData"in z,arrayBuffer:"ArrayBuffer"in z};if(Z.arrayBuffer)var X=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],K=ArrayBuffer.isView||function(e){return e&&X.indexOf(Object.prototype.toString.call(e))>-1};function q(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 J(e){return"string"!=typeof e&&(e=String(e)),e}
79
+ if(!i(n))return e;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const e=r.indexOf(n);-1!==e&&r.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});var z="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==z&&z,Z="URLSearchParams"in z,X="Symbol"in z&&"iterator"in Symbol,K="FileReader"in z&&"Blob"in z&&function(){try{return new Blob,!0}catch(e){return!1}}(),q="FormData"in z,J="ArrayBuffer"in z;if(J)var Q=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],ee=ArrayBuffer.isView||function(e){return e&&Q.indexOf(Object.prototype.toString.call(e))>-1};function te(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function ne(e){return"string"!=typeof e&&(e=String(e)),e}
80
80
  // Build a destructive iterator for the value list
81
- function Q(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return Z.iterable&&(t[Symbol.iterator]=function(){return t}),t}function ee(e){this.map={},e instanceof ee?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function te(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function ne(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function re(e){var t=new FileReader,n=ne(t);return t.readAsArrayBuffer(e),n}function ie(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function oe(){return this.bodyUsed=!1,this._initBody=function(e){var t;
81
+ function re(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return X&&(t[Symbol.iterator]=function(){return t}),t}function ie(e){this.map={},e instanceof ie?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function oe(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function se(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function ae(e){var t=new FileReader,n=se(t);return t.readAsArrayBuffer(e),n}function le(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function ce(){return this.bodyUsed=!1,this._initBody=function(e){var t;
82
82
  /*
83
83
  fetch-mock wraps the Response object in an ES6 Proxy to
84
84
  provide useful test harness features such as flush. However, on
@@ -89,26 +89,26 @@ function Q(e){var t={next:function(){var t=e.shift();return{done:void 0===t,valu
89
89
  semantic of setting Request.bodyUsed in the constructor before
90
90
  _initBody is called.
91
91
  */
92
- this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:Z.blob&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Z.formData&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Z.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Z.arrayBuffer&&Z.blob&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=ie(e.buffer),
92
+ this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:K&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:q&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Z&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():J&&K&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=le(e.buffer),
93
93
  // IE 10-11 can't handle a DataView body.
94
- this._bodyInit=new Blob([this._bodyArrayBuffer])):Z.arrayBuffer&&(ArrayBuffer.prototype.isPrototypeOf(e)||K(e))?this._bodyArrayBuffer=ie(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Z.searchParams&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},Z.blob&&(this.blob=function(){var e=te(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=te(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))}return this.blob().then(re)}),this.text=function(){var e,t,n,r=te(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=ne(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Z.formData&&(this.formData=function(){return this.text().then(le)}),this.json=function(){return this.text().then(JSON.parse)},this}
94
+ this._bodyInit=new Blob([this._bodyArrayBuffer])):J&&(ArrayBuffer.prototype.isPrototypeOf(e)||ee(e))?this._bodyArrayBuffer=le(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Z&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},K&&(this.blob=function(){var e=oe(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=oe(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))}return this.blob().then(ae)}),this.text=function(){var e,t,n,r=oe(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=se(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},q&&(this.formData=function(){return this.text().then(de)}),this.json=function(){return this.text().then(JSON.parse)},this}
95
95
  // HTTP methods whose capitalization should be normalized
96
- ee.prototype.append=function(e,t){e=q(e),t=J(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},ee.prototype.delete=function(e){delete this.map[q(e)]},ee.prototype.get=function(e){return e=q(e),this.has(e)?this.map[e]:null},ee.prototype.has=function(e){return this.map.hasOwnProperty(q(e))},ee.prototype.set=function(e,t){this.map[q(e)]=J(t)},ee.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},ee.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),Q(e)},ee.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),Q(e)},ee.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),Q(e)},Z.iterable&&(ee.prototype[Symbol.iterator]=ee.prototype.entries);var se=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function ae(e,t){if(!(this instanceof ae))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 ae){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new ee(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 ee(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),se.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.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)){
96
+ ie.prototype.append=function(e,t){e=te(e),t=ne(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},ie.prototype.delete=function(e){delete this.map[te(e)]},ie.prototype.get=function(e){return e=te(e),this.has(e)?this.map[e]:null},ie.prototype.has=function(e){return this.map.hasOwnProperty(te(e))},ie.prototype.set=function(e,t){this.map[te(e)]=ne(t)},ie.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},ie.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),re(e)},ie.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),re(e)},ie.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),re(e)},X&&(ie.prototype[Symbol.iterator]=ie.prototype.entries);var ue=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function he(e,t){if(!(this instanceof he))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,i=(t=t||{}).body;if(e instanceof he){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new ie(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 ie(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),ue.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,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)){
97
97
  // Search for a '_' parameter in the query string
98
98
  var o=/([?&])_=[^&]*/;if(o.test(this.url))
99
99
  // If it already exists then set the value with the current time
100
- this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function le(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 ce(e,t){if(!(this instanceof ce))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new ee(t.headers),this.url=t.url||"",this._initBody(e)}ae.prototype.clone=function(){return new ae(this,{body:this._bodyInit})},oe.call(ae.prototype),oe.call(ce.prototype),ce.prototype.clone=function(){return new ce(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new ee(this.headers),url:this.url})},ce.error=function(){var e=new ce(null,{status:0,statusText:""});return e.type="error",e};var ue=[301,302,303,307,308];ce.redirect=function(e,t){if(-1===ue.indexOf(t))throw new RangeError("Invalid status code");return new ce(null,{status:t,headers:{location:e}})};var he=z.DOMException;try{new he}catch(e){(he=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),he.prototype.constructor=he}function de(e,t){return new Promise((function(n,r){var i=new ae(e,t);if(i.signal&&i.signal.aborted)return r(new he("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}o.onload=function(){var e,t,r={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new ee,
100
+ this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function de(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),r=n.shift().replace(/\+/g," "),i=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(r),decodeURIComponent(i))}})),t}function fe(e,t){if(!(this instanceof fe))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new ie(t.headers),this.url=t.url||"",this._initBody(e)}he.prototype.clone=function(){return new he(this,{body:this._bodyInit})},ce.call(he.prototype),ce.call(fe.prototype),fe.prototype.clone=function(){return new fe(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new ie(this.headers),url:this.url})},fe.error=function(){var e=new fe(null,{status:0,statusText:""});return e.type="error",e};var pe=[301,302,303,307,308];fe.redirect=function(e,t){if(-1===pe.indexOf(t))throw new RangeError("Invalid status code");return new fe(null,{status:t,headers:{location:e}})};var me=z.DOMException;try{new me}catch(e){(me=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),me.prototype.constructor=me}function ge(e,t){return new Promise((function(n,r){var i=new he(e,t);if(i.signal&&i.signal.aborted)return r(new me("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}o.onload=function(){var e,t,r={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new ie,
101
101
  // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill
102
102
  // https://github.com/github/fetch/issues/748
103
103
  // https://github.com/zloirock/core-js/issues/751
104
- 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();t.append(r,i)}})),t)};r.url="responseURL"in o?o.responseURL:r.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;setTimeout((function(){n(new ce(i,r))}),0)},o.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.onabort=function(){setTimeout((function(){r(new he("Aborted","AbortError"))}),0)},o.open(i.method,function(e){try{return""===e&&z.location.href?z.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&&(Z.blob?o.responseType="blob":Z.arrayBuffer&&i.headers.get("Content-Type")&&-1!==i.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof ee?i.headers.forEach((function(e,t){o.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){o.setRequestHeader(e,J(t.headers[e]))})),i.signal&&(i.signal.addEventListener("abort",s),o.onreadystatechange=function(){
104
+ 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();t.append(r,i)}})),t)};r.url="responseURL"in o?o.responseURL:r.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;setTimeout((function(){n(new fe(i,r))}),0)},o.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.onabort=function(){setTimeout((function(){r(new me("Aborted","AbortError"))}),0)},o.open(i.method,function(e){try{return""===e&&z.location.href?z.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&&(K?o.responseType="blob":J&&i.headers.get("Content-Type")&&-1!==i.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof ie?i.headers.forEach((function(e,t){o.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){o.setRequestHeader(e,ne(t.headers[e]))})),i.signal&&(i.signal.addEventListener("abort",s),o.onreadystatechange=function(){
105
105
  // DONE (success or failure)
106
- 4===o.readyState&&i.signal.removeEventListener("abort",s)}),o.send(void 0===i._bodyInit?null:i._bodyInit)}))}de.polyfill=!0,z.fetch||(z.fetch=de,z.Headers=ee,z.Request=ae,z.Response=ce);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function fe(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}
106
+ 4===o.readyState&&i.signal.removeEventListener("abort",s)}),o.send(void 0===i._bodyInit?null:i._bodyInit)}))}ge.polyfill=!0,z.fetch||(z.fetch=ge,z.Headers=ie,z.Request=he,z.Response=fe);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function ye(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}
107
107
  // the whatwg-fetch polyfill installs the fetch() function
108
108
  // on the global object (window or self)
109
109
 
110
110
  // Return that as the export for use in Webpack, Browserify etc.
111
- var pe=self.fetch.bind(self),me=function(e,t){return me=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])},me(e,t)};
111
+ var be=self.fetch.bind(self),_e=function(e,t){return _e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},_e(e,t)};
112
112
  /******************************************************************************
113
113
  Copyright (c) Microsoft Corporation.
114
114
 
@@ -123,7 +123,7 @@ var pe=self.fetch.bind(self),me=function(e,t){return me=Object.setPrototypeOf||{
123
123
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
124
124
  PERFORMANCE OF THIS SOFTWARE.
125
125
  ***************************************************************************** */
126
- /* global Reflect, Promise */function ge(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}me(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ye(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 be(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.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 s}function _e(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 ve(e){return"function"==typeof e}function we(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}var ke=we((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 Ee(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Te=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 s=ye(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);var l=this.initialTeardown;if(ve(l))try{l()}catch(e){i=e instanceof ke?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=ye(c),h=u.next();!h.done;h=u.next()){var d=h.value;try{Le(d)}catch(e){i=null!=i?i:[],e instanceof ke?i=_e(_e([],be(i)),be(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{h&&!h.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new ke(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Le(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)&&Ee(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Ee(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),Se=Te.EMPTY;function xe(e){return e instanceof Te||e&&"closed"in e&&ve(e.remove)&&ve(e.add)&&ve(e.unsubscribe)}function Le(e){ve(e)?e():e.unsubscribe()}var De={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Me={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Me.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,_e([e,t],be(n))):setTimeout.apply(void 0,_e([e,t],be(n)))},clearTimeout:function(e){var t=Me.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Fe(){}var Ie=null;function $e(e){if(De.useDeprecatedSynchronousErrorHandling){var t=!Ie;if(t&&(Ie={errorThrown:!1,error:null}),e(),t){var n=Ie,r=n.errorThrown,i=n.error;if(Ie=null,r)throw i}}else e()}var Ae=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,xe(t)&&t.add(n)):n.destination=Ne,n}return ge(t,e),t.create=function(e,t,n){return new Ce(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}(Te),Oe=Function.prototype.bind;function Pe(e,t){return Oe.call(e,t)}var He=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){Be(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Be(e)}else Be(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Be(e)}},e}(),Ce=function(e){function t(t,n,r){var i,o,s=e.call(this)||this;ve(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&De.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&Pe(t.next,o),error:t.error&&Pe(t.error,o),complete:t.complete&&Pe(t.complete,o)}):i=t;return s.destination=new He(i),s}return ge(t,e),t}(Ae);function Be(e){var t;t=e,Me.setTimeout((function(){throw t}))}var Ne={closed:!0,next:Fe,error:function(e){throw e},complete:Fe},Re="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ye(e){return e}var Ue=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 Ae||function(e){return e&&ve(e.next)&&ve(e.error)&&ve(e.complete)}(r)&&xe(r)?e:new Ce(e,t,n);return $e((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=Ge(t))((function(t,r){var i=new Ce({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[Re]=function(){return this},e.prototype.pipe=function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return(0===(e=t).length?Ye:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=Ge(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 Ge(e){var t;return null!==(t=null!=e?e:De.Promise)&&void 0!==t?t:Promise}var je=we((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Ve=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return ge(t,e),t.prototype.lift=function(e){var t=new We(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new je},t.prototype.next=function(e){var t=this;$e((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=ye(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;$e((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;$e((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?Se:(this.currentObservers=null,o.push(e),new Te((function(){t.currentObservers=null,Ee(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 Ue;return e.source=this,e},t.create=function(e,t){return new We(e,t)},t}(Ue),We=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return ge(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:Se},t}(Ve),ze={now:function(){return(ze.delegate||Date).now()},delegate:void 0},Ze=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=ze);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 ge(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,o=n._infiniteTimeWindow,s=n._timestampProvider,a=n._windowTime;r||(i.push(t),!o&&i.push(s.now()+a)),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 s=n.now(),a=0,l=1;l<r.length&&r[l]<=s;l+=2)a=l;a&&r.splice(0,a+1)}},t}(Ve);let Xe=[],Ke={};
126
+ /* global Reflect, Promise, SuppressedError, Symbol */function ve(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}_e(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function we(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ke(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,o=n.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(r=o.next()).done;)s.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 s}function Ee(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 Se(e){return"function"==typeof e}function Te(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 xe=Te((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 Le(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Me=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 s=we(o),a=s.next();!a.done;a=s.next()){a.value.remove(this)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}else o.remove(this);var l=this.initialTeardown;if(Se(l))try{l()}catch(e){i=e instanceof xe?e.errors:[e]}var c=this._finalizers;if(c){this._finalizers=null;try{for(var u=we(c),h=u.next();!h.done;h=u.next()){var d=h.value;try{Ie(d)}catch(e){i=null!=i?i:[],e instanceof xe?i=Ee(Ee([],ke(i)),ke(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{h&&!h.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}}if(i)throw new xe(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)Ie(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)&&Le(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Le(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=function(){var t=new e;return t.closed=!0,t}(),e}(),De=Me.EMPTY;function Fe(e){return e instanceof Me||e&&"closed"in e&&Se(e.remove)&&Se(e.add)&&Se(e.unsubscribe)}function Ie(e){Se(e)?e():e.unsubscribe()}var $e={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Ae={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Ae.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,Ee([e,t],ke(n))):setTimeout.apply(void 0,Ee([e,t],ke(n)))},clearTimeout:function(e){var t=Ae.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Oe(){}var Pe=null;function He(e){if($e.useDeprecatedSynchronousErrorHandling){var t=!Pe;if(t&&(Pe={errorThrown:!1,error:null}),e(),t){var n=Pe,r=n.errorThrown,i=n.error;if(Pe=null,r)throw i}}else e()}var Ce=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Fe(t)&&t.add(n)):n.destination=Ge,n}return ve(t,e),t.create=function(e,t,n){return new Ye(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}(Me),Be=Function.prototype.bind;function Ne(e,t){return Be.call(e,t)}var Re=function(){function e(e){this.partialObserver=e}return e.prototype.next=function(e){var t=this.partialObserver;if(t.next)try{t.next(e)}catch(e){Ue(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ue(e)}else Ue(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ue(e)}},e}(),Ye=function(e){function t(t,n,r){var i,o,s=e.call(this)||this;Se(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&$e.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&Ne(t.next,o),error:t.error&&Ne(t.error,o),complete:t.complete&&Ne(t.complete,o)}):i=t;return s.destination=new Re(i),s}return ve(t,e),t}(Ce);function Ue(e){var t;t=e,Ae.setTimeout((function(){throw t}))}var Ge={closed:!0,next:Oe,error:function(e){throw e},complete:Oe},je="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ve(e){return e}var We=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 Ce||function(e){return e&&Se(e.next)&&Se(e.error)&&Se(e.complete)}(r)&&Fe(r)?e:new Ye(e,t,n);return He((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=ze(t))((function(t,r){var i=new Ye({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[je]=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?Ve:1===e.length?e[0]:function(t){return e.reduce((function(e,t){return t(e)}),t)})(this)},e.prototype.toPromise=function(e){var t=this;return new(e=ze(e))((function(e,n){var r;t.subscribe((function(e){return r=e}),(function(e){return n(e)}),(function(){return e(r)}))}))},e.create=function(t){return new e(t)},e}();function ze(e){var t;return null!==(t=null!=e?e:$e.Promise)&&void 0!==t?t:Promise}var Ze=Te((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),Xe=function(e){function t(){var t=e.call(this)||this;return t.closed=!1,t.currentObservers=null,t.observers=[],t.isStopped=!1,t.hasError=!1,t.thrownError=null,t}return ve(t,e),t.prototype.lift=function(e){var t=new Ke(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new Ze},t.prototype.next=function(e){var t=this;He((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=we(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;He((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;He((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?De:(this.currentObservers=null,o.push(e),new Me((function(){t.currentObservers=null,Le(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 We;return e.source=this,e},t.create=function(e,t){return new Ke(e,t)},t}(We),Ke=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return ve(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:De},t}(Xe),qe={now:function(){return(qe.delegate||Date).now()},delegate:void 0},Je=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=qe);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return ve(t,e),t.prototype.next=function(t){var n=this,r=n.isStopped,i=n._buffer,o=n._infiniteTimeWindow,s=n._timestampProvider,a=n._windowTime;r||(i.push(t),!o&&i.push(s.now()+a)),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 s=n.now(),a=0,l=1;l<r.length&&r[l]<=s;l+=2)a=l;a&&r.splice(0,a+1)}},t}(Xe);let Qe=[],et={};
127
127
  /**
128
128
  * @name topic
129
129
  * @description A small wrapper over the rxjs to offer the topic method on top of it
@@ -131,38 +131,38 @@ var pe=self.fetch.bind(self),me=function(e,t){return me=Object.setPrototypeOf||{
131
131
  * @param step [String] How many values to be buffed for new subscribers - default 0
132
132
  * @returns ReplaySubject
133
133
  */
134
- const qe=[];
134
+ const tt=[];
135
135
  /**
136
136
  * Create a `Writable` store that allows both updating and reading by subscription.
137
137
  * @param {*=}value initial value
138
- * @param {StartStopNotifier=}start start and stop notifications for subscriptions
138
+ * @param {StartStopNotifier=} start
139
139
  */
140
- function Je(t,n=e){let r;const i=new Set;function s(e){if(o(t,e)&&(t=e,r)){// store is ready
141
- const e=!qe.length;for(const e of i)e[1](),qe.push(e,t);if(e){for(let e=0;e<qe.length;e+=2)qe[e][0](qe[e+1]);qe.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const l=[o,a];return i.add(l),1===i.size&&(r=n(s)||e),o(t),()=>{i.delete(l),0===i.size&&r&&(r(),r=null)}}}}function Qe(t,n,o){const s=!Array.isArray(t),a=s?[t]:t,l=n.length<2;return u=t=>{let o=!1;const u=[];let h=0,d=e;const f=()=>{if(h)return;d();const r=n(s?u[0]:u,t);l?t(r):d=i(r)?r:e},p=a.map(((e,t)=>c(e,(e=>{u[t]=e,h&=~(1<<t),o&&f()}),(()=>{h|=1<<t}))));return o=!0,f(),function(){r(p),d(),
140
+ function nt(t,n=e){let r;const i=new Set;function s(e){if(o(t,e)&&(t=e,r)){// store is ready
141
+ const e=!tt.length;for(const e of i)e[1](),tt.push(e,t);if(e){for(let e=0;e<tt.length;e+=2)tt[e][0](tt[e+1]);tt.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const l=[o,a];return i.add(l),1===i.size&&(r=n(s)||e),o(t),()=>{i.delete(l),0===i.size&&r&&(r(),r=null)}}}}function rt(t,n,o){const s=!Array.isArray(t),a=s?[t]:t,c=n.length<2;return u=t=>{let o=!1;const u=[];let h=0,d=e;const f=()=>{if(h)return;d();const r=n(s?u[0]:u,t);c?t(r):d=i(r)?r:e},p=a.map(((e,t)=>l(e,(e=>{u[t]=e,h&=~(1<<t),o&&f()}),(()=>{h|=1<<t}))));return o=!0,f(),function(){r(p),d(),
142
142
  // We need to set this to false because callbacks can still happen despite having unsubscribed:
143
143
  // Callbacks might already be placed in the queue which doesn't know it should no longer
144
144
  // invoke this derived store.
145
- o=!1}},{subscribe:Je(o,u).subscribe};
145
+ o=!1}},{subscribe:nt(o,u).subscribe};
146
146
  /**
147
147
  * Creates a `Readable` store that allows reading by subscription.
148
148
  * @param value initial value
149
- * @param {StartStopNotifier}start start and stop notifications for subscriptions
149
+ * @param {StartStopNotifier} [start]
150
150
  */
151
- var u}var et=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===tt}(e)}
151
+ var u}var it=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===ot}(e)}
152
152
  // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
153
- (e)};var tt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function nt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?at((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function rt(e,t,n){return e.concat(t).map((function(e){return nt(e,n)}))}function it(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function ot(e,t){try{return t in e}catch(e){return!1}}
153
+ (e)};var ot="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function st(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ht((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function at(e,t,n){return e.concat(t).map((function(e){return st(e,n)}))}function lt(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 ct(e,t){try{return t in e}catch(e){return!1}}
154
154
  // Protects from prototype poisoning and unexpected merging up the prototype chain.
155
- function st(e,t,n){var r={};return n.isMergeableObject(e)&&it(e).forEach((function(t){r[t]=nt(e[t],n)})),it(t).forEach((function(i){(function(e,t){return ot(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));// and also unsafe if they're nonenumerable.
156
- })(e,i)||(ot(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return at;var n=t.customMerge(e);return"function"==typeof n?n:at}(i,n)(e[i],t[i],n):r[i]=nt(t[i],n))})),r}function at(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||rt,n.isMergeableObject=n.isMergeableObject||et,
155
+ function ut(e,t,n){var r={};return n.isMergeableObject(e)&&lt(e).forEach((function(t){r[t]=st(e[t],n)})),lt(t).forEach((function(i){(function(e,t){return ct(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));// and also unsafe if they're nonenumerable.
156
+ })(e,i)||(ct(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return ht;var n=t.customMerge(e);return"function"==typeof n?n:ht}(i,n)(e[i],t[i],n):r[i]=st(t[i],n))})),r}function ht(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||at,n.isMergeableObject=n.isMergeableObject||it,
157
157
  // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
158
158
  // implementations can use it. The caller may not replace it.
159
- n.cloneUnlessOtherwiseSpecified=nt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):st(e,t,n):nt(t,n)}at.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return at(e,n,t)}),{})};var lt=at,ct=function(e,t){return ct=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])},ct(e,t)};function ut(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}ct(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ht,dt,ft,pt=function(){return pt=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},pt.apply(this,arguments)};function mt(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))}
159
+ n.cloneUnlessOtherwiseSpecified=st;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):ut(e,t,n):st(t,n)}ht.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return ht(e,n,t)}),{})};var dt=ht,ft=function(e,t){return ft=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])},ft(e,t)};function pt(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}ft(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var mt,gt,yt,bt=function(){return bt=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},bt.apply(this,arguments)};function _t(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))}
160
160
  /**
161
161
  * Type Guards
162
162
  */
163
- function gt(e){return e.type===dt.literal}function yt(e){return e.type===dt.argument}function bt(e){return e.type===dt.number}function _t(e){return e.type===dt.date}function vt(e){return e.type===dt.time}function wt(e){return e.type===dt.select}function kt(e){return e.type===dt.plural}function Et(e){return e.type===dt.pound}function Tt(e){return e.type===dt.tag}function St(e){return!(!e||"object"!=typeof e||e.type!==ft.number)}function xt(e){return!(!e||"object"!=typeof e||e.type!==ft.dateTime)}
163
+ function vt(e){return e.type===gt.literal}function wt(e){return e.type===gt.argument}function kt(e){return e.type===gt.number}function Et(e){return e.type===gt.date}function St(e){return e.type===gt.time}function Tt(e){return e.type===gt.select}function xt(e){return e.type===gt.plural}function Lt(e){return e.type===gt.pound}function Mt(e){return e.type===gt.tag}function Dt(e){return!(!e||"object"!=typeof e||e.type!==yt.number)}function Ft(e){return!(!e||"object"!=typeof e||e.type!==yt.dateTime)}
164
164
  // @generated from regex-gen.ts
165
- !function(e){
165
+ "function"==typeof SuppressedError&&SuppressedError,function(e){
166
166
  /** Argument is unclosed (e.g. `{0`) */
167
167
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE=1]="EXPECT_ARGUMENT_CLOSING_BRACE",
168
168
  /** Argument is empty (e.g. `{}`). */
@@ -222,7 +222,7 @@ e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",
222
222
  /** The closing tag does not match the opening tag. (e.g. `<bold>foo</italic>`) */
223
223
  e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",
224
224
  /** The opening tag has unmatched closing tag. (e.g. `<bold>foo`) */
225
- e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(ht||(ht={})),function(e){
225
+ e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(mt||(mt={})),function(e){
226
226
  /**
227
227
  * Raw text
228
228
  */
@@ -259,7 +259,7 @@ e[e.pound=7]="pound",
259
259
  /**
260
260
  * XML-like tag
261
261
  */
262
- e[e.tag=8]="tag"}(dt||(dt={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(ft||(ft={}));var Lt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Dt=/(?:[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;
262
+ e[e.tag=8]="tag"}(gt||(gt={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(yt||(yt={}));var It=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,$t=/(?:[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;
263
263
  /**
264
264
  * https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
265
265
  * Credit: https://github.com/caridy/intl-datetimeformat-pattern/blob/master/index.js
@@ -271,7 +271,7 @@ e[e.tag=8]="tag"}(dt||(dt={})),function(e){e[e.number=0]="number",e[e.dateTime=1
271
271
  * @public
272
272
  * @param skeleton skeleton string
273
273
  */
274
- function Mt(e){var t={};return e.replace(Dt,(function(e){var n=e.length;switch(e[0]){
274
+ function At(e){var t={};return e.replace($t,(function(e){var n=e.length;switch(e[0]){
275
275
  // Era
276
276
  case"G":t.era=4===n?"long":5===n?"narrow":"short";break;
277
277
  // Year
@@ -305,33 +305,33 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
305
305
  case"x":// 1, 2, 3, 4: The ISO8601 varios formats
306
306
  throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}
307
307
  // @generated from regex-gen.ts
308
- var Ft=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var It=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,$t=/^(@+)?(\+|#+)?[rs]?$/g,At=/(\*)(0+)|(#+)(0+)|(0+)/g,Ot=/^(0+)$/;function Pt(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace($t,(function(e,n,r){
308
+ var Ot=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Pt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ht=/^(@+)?(\+|#+)?[rs]?$/g,Ct=/(\*)(0+)|(#+)(0+)|(0+)/g,Bt=/^(0+)$/;function Nt(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Ht,(function(e,n,r){
309
309
  // @@@ case
310
- 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 Ht(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Ct(e){
310
+ return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function Rt(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Yt(e){
311
311
  // Engineering
312
- var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!Ot.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Bt(e){var t=Ht(e);return t||{}}
312
+ var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!Bt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ut(e){var t=Rt(e);return t||{}}
313
313
  /**
314
314
  * https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options
315
- */function Nt(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=pt(pt(pt({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return pt(pt({},e),Bt(t))}),{}));continue;case"engineering":t=pt(pt(pt({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return pt(pt({},e),Bt(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
315
+ */function Gt(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=bt(bt(bt({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return bt(bt({},e),Ut(t))}),{}));continue;case"engineering":t=bt(bt(bt({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return bt(bt({},e),Ut(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
316
316
  // https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
317
317
  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;
318
318
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
319
- case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(At,(function(e,n,r,i,o,s){if(n)t.minimumIntegerDigits=r.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}
319
+ case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Ct,(function(e,n,r,i,o,s){if(n)t.minimumIntegerDigits=r.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}
320
320
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
321
- if(Ot.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(It.test(i.stem)){
321
+ if(Bt.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(Pt.test(i.stem)){
322
322
  // Precision
323
323
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#fraction-precision
324
324
  // precision-integer case
325
- if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(It,(function(e,n,r,i,o,s){
325
+ if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Pt,(function(e,n,r,i,o,s){
326
326
  // .000* case (before ICU67 it was .000+)
327
327
  return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var o=i.options[0];
328
328
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#trailing-zero-display
329
- "w"===o?t=pt(pt({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=pt(pt({},t),Pt(o)))}
329
+ "w"===o?t=bt(bt({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=bt(bt({},t),Nt(o)))}
330
330
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
331
- else if($t.test(i.stem))t=pt(pt({},t),Pt(i.stem));else{var s=Ht(i.stem);s&&(t=pt(pt({},t),s));var a=Ct(i.stem);a&&(t=pt(pt({},t),a))}}return t}
331
+ else if(Ht.test(i.stem))t=bt(bt({},t),Nt(i.stem));else{var s=Rt(i.stem);s&&(t=bt(bt({},t),s));var a=Yt(i.stem);a&&(t=bt(bt({},t),a))}}return t}
332
332
  // @generated from time-data-gen.ts
333
333
  // prettier-ignore
334
- var Rt,Yt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};
334
+ var jt,Vt={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"]};
335
335
  /**
336
336
  * Returns the best matching date time pattern if a date time skeleton
337
337
  * pattern is provided with a locale. Follows the Unicode specification:
@@ -344,7 +344,7 @@ var Rt,Yt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H
344
344
  * of the given `locale` to the corresponding time pattern.
345
345
  * @param locale
346
346
  */
347
- function Ut(e){var t=e.hourCycle;if(void 0===t&&
347
+ function Wt(e){var t=e.hourCycle;if(void 0===t&&
348
348
  // @ts-ignore hourCycle(s) is not identified yet
349
349
  e.hourCycles&&
350
350
  // @ts-ignore
@@ -352,37 +352,37 @@ e.hourCycles.length&&(
352
352
  // @ts-ignore
353
353
  t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}
354
354
  // TODO: Once hourCycle is fully supported remove the following with data generation
355
- var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(Yt[n||""]||Yt[r||""]||Yt["".concat(r,"-001")]||Yt["001"])[0]}var Gt=new RegExp("^".concat(Lt.source,"*")),jt=new RegExp("".concat(Lt.source,"*$"));function Vt(e,t){return{start:e,end:t}}
355
+ var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(Vt[n||""]||Vt[r||""]||Vt["".concat(r,"-001")]||Vt["001"])[0]}var zt=new RegExp("^".concat(It.source,"*")),Zt=new RegExp("".concat(It.source,"*$"));function Xt(e,t){return{start:e,end:t}}
356
356
  // #region Ponyfills
357
357
  // Consolidate these variables up top for easier toggling during debugging
358
- var Wt=!!String.prototype.startsWith,zt=!!String.fromCodePoint,Zt=!!Object.fromEntries,Xt=!!String.prototype.codePointAt,Kt=!!String.prototype.trimStart,qt=!!String.prototype.trimEnd,Jt=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Qt=!0;try{
358
+ var Kt=!!String.prototype.startsWith,qt=!!String.fromCodePoint,Jt=!!Object.fromEntries,Qt=!!String.prototype.codePointAt,en=!!String.prototype.trimStart,tn=!!String.prototype.trimEnd,nn=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},rn=!0;try{
359
359
  /**
360
360
  * legacy Edge or Xbox One browser
361
361
  * Unicode flag support: supported
362
362
  * Pattern_Syntax support: not supported
363
363
  * See https://github.com/formatjs/formatjs/issues/2822
364
364
  */
365
- Qt="a"===(null===(Rt=ln("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Rt?void 0:Rt[0])}catch(e){Qt=!1}var en,tn=Wt?// Native
365
+ rn="a"===(null===(jt=dn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===jt?void 0:jt[0])}catch(e){rn=!1}var on,sn=Kt?// Native
366
366
  function(e,t,n){return e.startsWith(t,n)}:// For IE11
367
- function(e,t,n){return e.slice(n,n+t.length)===t},nn=zt?String.fromCodePoint:// IE11
368
- 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},rn=
367
+ function(e,t,n){return e.slice(n,n+t.length)===t},an=qt?String.fromCodePoint:// IE11
368
+ 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},ln=
369
369
  // native
370
- Zt?Object.fromEntries:// Ponyfill
371
- function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],s=i[1];t[o]=s}return t},on=Xt?// Native
370
+ Jt?Object.fromEntries:// Ponyfill
371
+ function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],s=i[1];t[o]=s}return t},cn=Qt?// Native
372
372
  function(e,t){return e.codePointAt(t)}:// IE 11
373
- 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}},sn=Kt?// Native
373
+ 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}},un=en?// Native
374
374
  function(e){return e.trimStart()}:// Ponyfill
375
- function(e){return e.replace(Gt,"")},an=qt?// Native
375
+ function(e){return e.replace(zt,"")},hn=tn?// Native
376
376
  function(e){return e.trimEnd()}:// Ponyfill
377
- function(e){return e.replace(jt,"")};
377
+ function(e){return e.replace(Zt,"")};
378
378
  // Prevent minifier to translate new RegExp to literal form that might cause syntax error on IE11.
379
- function ln(e,t){return new RegExp(e,t)}
379
+ function dn(e,t){return new RegExp(e,t)}
380
380
  // #endregion
381
- if(Qt){
381
+ if(rn){
382
382
  // Native
383
- var cn=ln("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");en=function(e,t){var n;return cn.lastIndex=t,null!==(n=cn.exec(e)[1])&&void 0!==n?n:""}}else
383
+ var fn=dn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");on=function(e,t){var n;return fn.lastIndex=t,null!==(n=fn.exec(e)[1])&&void 0!==n?n:""}}else
384
384
  // IE11
385
- en=function(e,t){for(var n=[];;){var r=on(e,t);if(void 0===r||fn(r)||pn(r))break;n.push(r),t+=r>=65536?2:1}return nn.apply(void 0,n)};var un=/** @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(ht.UNMATCHED_CLOSING_TAG,Vt(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===i&&!this.ignoreTag&&hn(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 s=this.clonePosition();this.bump(),r.push({type:dt.pound,location:Vt(s,this.clonePosition())})}}}return{val:r,err:null}},
385
+ on=function(e,t){for(var n=[];;){var r=cn(e,t);if(void 0===r||yn(r)||bn(r))break;n.push(r),t+=r>=65536?2:1}return an.apply(void 0,n)};var pn=/** @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(mt.UNMATCHED_CLOSING_TAG,Xt(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===i&&!this.ignoreTag&&mn(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 s=this.clonePosition();this.bump(),r.push({type:gt.pound,location:Xt(s,this.clonePosition())})}}}return{val:r,err:null}},
386
386
  /**
387
387
  * A tag name must start with an ASCII lower/upper case letter. The grammar is based on the
388
388
  * [custom element name][] except that a dash is NOT always mandatory and uppercase letters
@@ -404,14 +404,14 @@ en=function(e,t){for(var n=[];;){var r=on(e,t);if(void 0===r||fn(r)||pn(r))break
404
404
  e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();// `<`
405
405
  var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))
406
406
  // Self closing tag
407
- return{val:{type:dt.literal,value:"<".concat(r,"/>"),location:Vt(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,s=this.clonePosition();
407
+ return{val:{type:gt.literal,value:"<".concat(r,"/>"),location:Xt(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,s=this.clonePosition();
408
408
  // Expecting a close tag
409
- if(this.bumpIf("</")){if(this.isEOF()||!hn(this.char()))return this.error(ht.INVALID_TAG,Vt(s,this.clonePosition()));var a=this.clonePosition();return r!==this.parseTagName()?this.error(ht.UNMATCHED_CLOSING_TAG,Vt(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:dt.tag,value:r,children:o,location:Vt(n,this.clonePosition())},err:null}:this.error(ht.INVALID_TAG,Vt(s,this.clonePosition())))}return this.error(ht.UNCLOSED_TAG,Vt(n,this.clonePosition()))}return this.error(ht.INVALID_TAG,Vt(n,this.clonePosition()))},
409
+ if(this.bumpIf("</")){if(this.isEOF()||!mn(this.char()))return this.error(mt.INVALID_TAG,Xt(s,this.clonePosition()));var a=this.clonePosition();return r!==this.parseTagName()?this.error(mt.UNMATCHED_CLOSING_TAG,Xt(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:gt.tag,value:r,children:o,location:Xt(n,this.clonePosition())},err:null}:this.error(mt.INVALID_TAG,Xt(s,this.clonePosition())))}return this.error(mt.UNCLOSED_TAG,Xt(n,this.clonePosition()))}return this.error(mt.INVALID_TAG,Xt(n,this.clonePosition()))},
410
410
  /**
411
411
  * This method assumes that the caller has peeked ahead for the first tag character.
412
412
  */
413
413
  e.prototype.parseTagName=function(){var e=this.offset();// the first tag name character
414
- for(this.bump();!this.isEOF()&&dn(this.char());)this.bump();return this.message.slice(e,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 s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var a=Vt(n,this.clonePosition());return{val:{type:dt.literal,value:r,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(hn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
414
+ for(this.bump();!this.isEOF()&&gn(this.char());)this.bump();return this.message.slice(e,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 s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var a=Xt(n,this.clonePosition());return{val:{type:gt.literal,value:r,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(mn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
415
415
  /** See `parseTag` function docs. */},
416
416
  /**
417
417
  * Starting with ICU 4.8, an ASCII apostrophe only starts quoted text if it immediately precedes
@@ -433,67 +433,67 @@ for(this.bump();!this.isEOF();){var n=this.char();if(39/* `'` */===n){if(39/* `'
433
433
  // Optional closing apostrophe.
434
434
  this.bump();break}t.push(39),
435
435
  // Bump one more time because we need to skip 2 characters.
436
- this.bump()}else t.push(n);this.bump()}return nn.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60/* `<` */===n||123/* `{` */===n||35/* `#` */===n&&("plural"===t||"selectordinal"===t)||125/* `}` */===n&&e>0?null:(this.bump(),nn(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),// `{`
437
- this.bumpSpace(),this.isEOF())return this.error(ht.EXPECT_ARGUMENT_CLOSING_BRACE,Vt(n,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(ht.EMPTY_ARGUMENT,Vt(n,this.clonePosition()));
436
+ this.bump()}else t.push(n);this.bump()}return an.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60/* `<` */===n||123/* `{` */===n||35/* `#` */===n&&("plural"===t||"selectordinal"===t)||125/* `}` */===n&&e>0?null:(this.bump(),an(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),// `{`
437
+ this.bumpSpace(),this.isEOF())return this.error(mt.EXPECT_ARGUMENT_CLOSING_BRACE,Xt(n,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(mt.EMPTY_ARGUMENT,Xt(n,this.clonePosition()));
438
438
  // argument name
439
- var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(ht.MALFORMED_ARGUMENT,Vt(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ht.EXPECT_ARGUMENT_CLOSING_BRACE,Vt(n,this.clonePosition()));switch(this.char()){
439
+ var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(mt.MALFORMED_ARGUMENT,Xt(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(mt.EXPECT_ARGUMENT_CLOSING_BRACE,Xt(n,this.clonePosition()));switch(this.char()){
440
440
  // Simple argument: `{name}`
441
441
  case 125/* `}` */:// `}`
442
- return this.bump(),{val:{type:dt.argument,
442
+ return this.bump(),{val:{type:gt.argument,
443
443
  // value does not include the opening and closing braces.
444
- value:r,location:Vt(n,this.clonePosition())},err:null};
444
+ value:r,location:Xt(n,this.clonePosition())},err:null};
445
445
  // Argument with options: `{name, format, ...}`
446
446
  case 44/* `,` */:return this.bump(),// `,`
447
- this.bumpSpace(),this.isEOF()?this.error(ht.EXPECT_ARGUMENT_CLOSING_BRACE,Vt(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(ht.MALFORMED_ARGUMENT,Vt(n,this.clonePosition()))}},
447
+ this.bumpSpace(),this.isEOF()?this.error(mt.EXPECT_ARGUMENT_CLOSING_BRACE,Xt(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(mt.MALFORMED_ARGUMENT,Xt(n,this.clonePosition()))}},
448
448
  /**
449
449
  * Advance the parser until the end of the identifier, if it is currently on
450
450
  * an identifier character. Return an empty string otherwise.
451
451
  */
452
- e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=en(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:Vt(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();
452
+ e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=on(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:Xt(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();
453
453
  // Parse this range:
454
454
  // {name, type, style}
455
455
  // ^---^
456
456
  switch(s){case"":
457
457
  // Expecting a style string number, date, time, plural, selectordinal, or select.
458
- return this.error(ht.EXPECT_ARGUMENT_TYPE,Vt(o,a));case"number":case"date":case"time":
458
+ return this.error(mt.EXPECT_ARGUMENT_TYPE,Xt(o,a));case"number":case"date":case"time":
459
459
  // Parse this range:
460
460
  // {name, number, style}
461
461
  // ^-------^
462
- this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(f=an(y.val)).length)return this.error(ht.EXPECT_ARGUMENT_STYLE,Vt(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:Vt(c,this.clonePosition())}}if((b=this.tryParseArgumentClose(r)).err)return b;var u=Vt(r,this.clonePosition());
462
+ this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(f=hn(y.val)).length)return this.error(mt.EXPECT_ARGUMENT_STYLE,Xt(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:Xt(c,this.clonePosition())}}if((b=this.tryParseArgumentClose(r)).err)return b;var u=Xt(r,this.clonePosition());
463
463
  // Extract style or skeleton
464
- if(l&&tn(null==l?void 0:l.style,"::",0)){
464
+ if(l&&sn(null==l?void 0:l.style,"::",0)){
465
465
  // Skeleton starts with `::`.
466
- var h=sn(l.style.slice(2));if("number"===s)return(y=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?y:{val:{type:dt.number,value:n,location:u,style:y.val},err:null};if(0===h.length)return this.error(ht.EXPECT_DATE_TIME_SKELETON,u);var d=h;
466
+ var h=un(l.style.slice(2));if("number"===s)return(y=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?y:{val:{type:gt.number,value:n,location:u,style:y.val},err:null};if(0===h.length)return this.error(mt.EXPECT_DATE_TIME_SKELETON,u);var d=h;
467
467
  // Get "best match" pattern only if locale is passed, if not, let it
468
468
  // pass as-is where `parseDateTimeSkeleton()` will throw an error
469
469
  // for unsupported patterns.
470
- this.locale&&(d=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=Ut(t);for("H"!=l&&"k"!=l||(a=0);a-- >0;)n+="a";for(;s-- >0;)n=l+n}else n+="J"===i?"H":i}return n}(h,this.locale));var f={type:ft.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Mt(d):{}};return{val:{type:"date"===s?dt.date:dt.time,value:n,location:u,style:f},err:null}}
470
+ this.locale&&(d=function(e,t){for(var n="",r=0;r<e.length;r++){var i=e.charAt(r);if("j"===i){for(var o=0;r+1<e.length&&e.charAt(r+1)===i;)o++,r++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=Wt(t);for("H"!=l&&"k"!=l||(a=0);a-- >0;)n+="a";for(;s-- >0;)n=l+n}else n+="J"===i?"H":i}return n}(h,this.locale));var f={type:yt.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?At(d):{}};return{val:{type:"date"===s?gt.date:gt.time,value:n,location:u,style:f},err:null}}
471
471
  // Regular style or no style.
472
- return{val:{type:"number"===s?dt.number:"date"===s?dt.date:dt.time,value:n,location:u,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":
472
+ return{val:{type:"number"===s?gt.number:"date"===s?gt.date:gt.time,value:n,location:u,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":
473
473
  // Parse this range:
474
474
  // {name, plural, options}
475
475
  // ^---------^
476
- var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ht.EXPECT_SELECT_ARGUMENT_OPTIONS,Vt(p,pt({},p)));this.bumpSpace();
476
+ var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(mt.EXPECT_SELECT_ARGUMENT_OPTIONS,Xt(p,bt({},p)));this.bumpSpace();
477
477
  // Parse offset:
478
478
  // {name, plural, offset:1, options}
479
479
  // ^-----^
480
480
  // or the first option:
481
481
  // {name, plural, one {...} other {...}}
482
482
  // ^--^
483
- var m=this.parseIdentifierIfPossible(),g=0;if("select"!==s&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(ht.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Vt(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(ht.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ht.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;
483
+ var m=this.parseIdentifierIfPossible(),g=0;if("select"!==s&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(mt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Xt(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(mt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,mt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;
484
484
  // Parse another identifier for option parsing
485
- this.bumpSpace(),m=this.parseIdentifierIfPossible(),g=y.val}var b,_=this.tryParsePluralOrSelectOptions(e,s,t,m);if(_.err)return _;if((b=this.tryParseArgumentClose(r)).err)return b;var v=Vt(r,this.clonePosition());return"select"===s?{val:{type:dt.select,value:n,options:rn(_.val),location:v},err:null}:{val:{type:dt.plural,value:n,options:rn(_.val),offset:g,pluralType:"plural"===s?"cardinal":"ordinal",location:v},err:null};default:return this.error(ht.INVALID_ARGUMENT_TYPE,Vt(o,a))}},e.prototype.tryParseArgumentClose=function(e){
485
+ this.bumpSpace(),m=this.parseIdentifierIfPossible(),g=y.val}var b,_=this.tryParsePluralOrSelectOptions(e,s,t,m);if(_.err)return _;if((b=this.tryParseArgumentClose(r)).err)return b;var v=Xt(r,this.clonePosition());return"select"===s?{val:{type:gt.select,value:n,options:ln(_.val),location:v},err:null}:{val:{type:gt.plural,value:n,options:ln(_.val),offset:g,pluralType:"plural"===s?"cardinal":"ordinal",location:v},err:null};default:return this.error(mt.INVALID_ARGUMENT_TYPE,Xt(o,a))}},e.prototype.tryParseArgumentClose=function(e){
486
486
  // Parse: {value, number, ::currency/GBP }
487
- return this.isEOF()||125/* `}` */!==this.char()?this.error(ht.EXPECT_ARGUMENT_CLOSING_BRACE,Vt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
487
+ return this.isEOF()||125/* `}` */!==this.char()?this.error(mt.EXPECT_ARGUMENT_CLOSING_BRACE,Xt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
488
488
  /**
489
489
  * See: https://github.com/unicode-org/icu/blob/af7ed1f6d2298013dc303628438ec4abe1f16479/icu4c/source/common/messagepattern.cpp#L659
490
490
  */
491
491
  e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39/* `'` */:
492
492
  // Treat apostrophe as quoting but include it in the style part.
493
493
  // Find the end of the quoted literal text.
494
- this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ht.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Vt(n,this.clonePosition()));this.bump();break;case 123/* `{` */:e+=1,this.bump();break;case 125/* `}` */:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");
494
+ this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(mt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Xt(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");
495
495
  // Parse the skeleton
496
- for(var t=e.split(Ft).filter((function(e){return e.length>0})),n=[],r=0,i=t;r<i.length;r++){var o=i[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var s=o[0],a=o.slice(1),l=0,c=a;l<c.length;l++)if(0===c[l].length)throw new Error("Invalid number skeleton");n.push({stem:s,options:a})}return n}(e)}catch(e){return this.error(ht.INVALID_NUMBER_SKELETON,t)}return{val:{type:ft.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Nt(n):{}},err:null}},
496
+ for(var t=e.split(Ot).filter((function(e){return e.length>0})),n=[],r=0,i=t;r<i.length;r++){var o=i[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var s=o[0],a=o.slice(1),l=0,c=a;l<c.length;l++)if(0===c[l].length)throw new Error("Invalid number skeleton");n.push({stem:s,options:a})}return n}(e)}catch(e){return this.error(mt.INVALID_NUMBER_SKELETON,t)}return{val:{type:yt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Gt(n):{}},err:null}},
497
497
  /**
498
498
  * @param nesting_level The current nesting level of messages.
499
499
  * This can be positive when parsing message fragment in select or plural argument options.
@@ -510,24 +510,24 @@ e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){
510
510
  // ^--^
511
511
  for(var i,o=!1,s=[],a=new Set,l=r.value,c=r.location;;){if(0===l.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;
512
512
  // Try parse `={number}` selector
513
- var h=this.tryParseDecimalInteger(ht.EXPECT_PLURAL_ARGUMENT_SELECTOR,ht.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;c=Vt(u,this.clonePosition()),l=this.message.slice(u.offset,this.offset())}
513
+ var h=this.tryParseDecimalInteger(mt.EXPECT_PLURAL_ARGUMENT_SELECTOR,mt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;c=Xt(u,this.clonePosition()),l=this.message.slice(u.offset,this.offset())}
514
514
  // Duplicate selector clauses
515
- if(a.has(l))return this.error("select"===t?ht.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ht.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===l&&(o=!0),
515
+ if(a.has(l))return this.error("select"===t?mt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:mt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===l&&(o=!0),
516
516
  // Parse:
517
517
  // one {one apple}
518
518
  // ^----------^
519
- this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ht.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ht.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Vt(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(e+1,t,n);if(f.err)return f;var p=this.tryParseArgumentClose(d);if(p.err)return p;s.push([l,{value:f.val,location:Vt(d,this.clonePosition())}]),
519
+ this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?mt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:mt.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Xt(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(e+1,t,n);if(f.err)return f;var p=this.tryParseArgumentClose(d);if(p.err)return p;s.push([l,{value:f.val,location:Xt(d,this.clonePosition())}]),
520
520
  // Keep track of the existing selectors
521
521
  a.add(l),
522
522
  // Prep next selector clause.
523
- this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===s.length?this.error("select"===t?ht.EXPECT_SELECT_ARGUMENT_SELECTOR:ht.EXPECT_PLURAL_ARGUMENT_SELECTOR,Vt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(ht.MISSING_OTHER_CLAUSE,Vt(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48/* `0` */&&s<=57/* `9` */))break;i=!0,o=10*o+(s-48),this.bump()}var a=Vt(r,this.clonePosition());return i?Jt(o*=n)?{val:o,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){
523
+ this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===s.length?this.error("select"===t?mt.EXPECT_SELECT_ARGUMENT_SELECTOR:mt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Xt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(mt.MISSING_OTHER_CLAUSE,Xt(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48/* `0` */&&s<=57/* `9` */))break;i=!0,o=10*o+(s-48),this.bump()}var a=Xt(r,this.clonePosition());return i?nn(o*=n)?{val:o,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){
524
524
  // This is much faster than `Object.assign` or spread.
525
525
  return{offset:this.position.offset,line:this.position.line,column:this.position.column}},
526
526
  /**
527
527
  * Return the code point at the current position of the parser.
528
528
  * Throws if the index is out of bound.
529
529
  */
530
- e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=on(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},
530
+ e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=cn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},
531
531
  /** Bump the parser to the next UTF-16 code unit. */
532
532
  e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10/* '\n' */===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,
533
533
  // 0 ~ 0x10000 -> unicode BMP, otherwise skip the surrogate pair.
@@ -538,7 +538,7 @@ this.position.offset+=e<65536?1:2)}},
538
538
  * following the prefix and return true. Otherwise, don't bump the parser
539
539
  * and return false.
540
540
  */
541
- e.prototype.bumpIf=function(e){if(tn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},
541
+ e.prototype.bumpIf=function(e){if(sn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},
542
542
  /**
543
543
  * Bump the parser until the pattern character is found and return `true`.
544
544
  * Otherwise bump to the end of the file and return `false`.
@@ -550,7 +550,7 @@ e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t
550
550
  */
551
551
  e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},
552
552
  /** advance the parser through all whitespace to the next non-whitespace code unit. */
553
- e.prototype.bumpSpace=function(){for(;!this.isEOF()&&fn(this.char());)this.bump()},
553
+ e.prototype.bumpSpace=function(){for(;!this.isEOF()&&yn(this.char());)this.bump()},
554
554
  /**
555
555
  * Peek at the *next* Unicode codepoint in the input without advancing the parser.
556
556
  * If the input has been exhausted, then this returns null.
@@ -560,187 +560,187 @@ e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this
560
560
  * This check if codepoint is alphabet (lower & uppercase)
561
561
  * @param codepoint
562
562
  * @returns
563
- */function hn(e){return e>=97&&e<=122||e>=65&&e<=90}function dn(e){return 45/* '-' */===e||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}
563
+ */function mn(e){return e>=97&&e<=122||e>=65&&e<=90}function gn(e){return 45/* '-' */===e||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}
564
564
  /**
565
565
  * Code point equivalent of regex `\p{White_Space}`.
566
566
  * From: https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
567
- */function fn(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}
567
+ */function yn(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}
568
568
  /**
569
569
  * Code point equivalent of regex `\p{Pattern_Syntax}`.
570
570
  * See https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
571
- */function pn(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 mn(e){e.forEach((function(e){if(delete e.location,wt(e)||kt(e))for(var t in e.options)delete e.options[t].location,mn(e.options[t].value);else bt(e)&&St(e.style)||(_t(e)||vt(e))&&xt(e.style)?delete e.style.location:Tt(e)&&mn(e.children)}))}function gn(e,t){void 0===t&&(t={}),t=pt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new un(e,t).parse();if(n.err){var r=SyntaxError(ht[n.err.kind]);
571
+ */function bn(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 _n(e){e.forEach((function(e){if(delete e.location,Tt(e)||xt(e))for(var t in e.options)delete e.options[t].location,_n(e.options[t].value);else kt(e)&&Dt(e.style)||(Et(e)||St(e))&&Ft(e.style)?delete e.style.location:Mt(e)&&_n(e.children)}))}function vn(e,t){void 0===t&&(t={}),t=bt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new pn(e,t).parse();if(n.err){var r=SyntaxError(mt[n.err.kind]);
572
572
  // @ts-expect-error Assign to error object
573
573
  throw r.location=n.err.location,
574
574
  // @ts-expect-error Assign to error object
575
- r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||mn(n.val),n.val}
575
+ r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||_n(n.val),n.val}
576
576
 
577
577
  // Main
578
578
 
579
- function yn(e,t){var n=t&&t.cache?t.cache:Sn,r=t&&t.serializer?t.serializer:kn;return(t&&t.strategy?t.strategy:wn)(e,{cache:n,serializer:r})}
579
+ function wn(e,t){var n=t&&t.cache?t.cache:Dn,r=t&&t.serializer?t.serializer:xn;return(t&&t.strategy?t.strategy:Tn)(e,{cache:n,serializer:r})}
580
580
 
581
581
  // Strategy
582
582
 
583
- function bn(e,t,n,r){var i,o=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:n(r),s=t.get(o);return void 0===s&&(s=e.call(this,r),t.set(o,s)),s}function _n(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 vn(e,t,n,r,i){return n.bind(t,e,r,i)}function wn(e,t){return vn(e,this,1===e.length?bn:_n,t.cache.create(),t.serializer)}
583
+ function kn(e,t,n,r){var i,o=null==(i=r)||"number"==typeof i||"boolean"==typeof i?r:n(r),s=t.get(o);return void 0===s&&(s=e.call(this,r),t.set(o,s)),s}function En(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 Sn(e,t,n,r,i){return n.bind(t,e,r,i)}function Tn(e,t){return Sn(e,this,1===e.length?kn:En,t.cache.create(),t.serializer)}
584
584
  // Serializer
585
- var kn=function(){return JSON.stringify(arguments)};
585
+ var xn=function(){return JSON.stringify(arguments)};
586
586
 
587
587
  // Cache
588
588
 
589
- function En(){this.cache=Object.create(null)}En.prototype.get=function(e){return this.cache[e]},En.prototype.set=function(e,t){this.cache[e]=t};var Tn,Sn={create:function(){
589
+ function Ln(){this.cache=Object.create(null)}Ln.prototype.get=function(e){return this.cache[e]},Ln.prototype.set=function(e,t){this.cache[e]=t};var Mn,Dn={create:function(){
590
590
  // @ts-ignore
591
- return new En}},xn={variadic:function(e,t){return vn(e,this,_n,t.cache.create(),t.serializer)},monadic:function(e,t){return vn(e,this,bn,t.cache.create(),t.serializer)}};!function(e){
591
+ return new Ln}},Fn={variadic:function(e,t){return Sn(e,this,En,t.cache.create(),t.serializer)},monadic:function(e,t){return Sn(e,this,kn,t.cache.create(),t.serializer)}};!function(e){
592
592
  // When we have a placeholder but no value to format
593
593
  e.MISSING_VALUE="MISSING_VALUE",
594
594
  // When value supplied is invalid
595
595
  e.INVALID_VALUE="INVALID_VALUE",
596
596
  // When we need specific Intl API but it's not available
597
- e.MISSING_INTL_API="MISSING_INTL_API"}(Tn||(Tn={}));var Ln,Dn=/** @class */function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return ut(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Mn=/** @class */function(e){function t(t,n,r,i){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(r).join('", "'),'"'),Tn.INVALID_VALUE,i)||this}return ut(t,e),t}(Dn),Fn=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),Tn.INVALID_VALUE,r)||this}return ut(t,e),t}(Dn),In=/** @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,'"'),Tn.MISSING_VALUE,n)||this}return ut(t,e),t}(Dn);function $n(e){return"function"==typeof e}
597
+ e.MISSING_INTL_API="MISSING_INTL_API"}(Mn||(Mn={}));var In,$n=/** @class */function(e){function t(t,n,r){var i=e.call(this,t)||this;return i.code=n,i.originalMessage=r,i}return pt(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),An=/** @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('", "'),'"'),Mn.INVALID_VALUE,i)||this}return pt(t,e),t}($n),On=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),Mn.INVALID_VALUE,r)||this}return pt(t,e),t}($n),Pn=/** @class */function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),Mn.MISSING_VALUE,n)||this}return pt(t,e),t}($n);function Hn(e){return"function"==typeof e}
598
598
  // TODO(skeleton): add skeleton support
599
- function An(e,t,n,r,i,o,
599
+ function Cn(e,t,n,r,i,o,
600
600
  // For debugging
601
601
  s){
602
602
  // Hot path for straight simple msg translations
603
- if(1===e.length&&gt(e[0]))return[{type:Ln.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var u=c[l];
603
+ if(1===e.length&&vt(e[0]))return[{type:In.literal,value:e[0].value}];for(var a=[],l=0,c=e;l<c.length;l++){var u=c[l];
604
604
  // Exit early for string parts.
605
- if(gt(u))a.push({type:Ln.literal,value:u.value});else
605
+ if(vt(u))a.push({type:In.literal,value:u.value});else
606
606
  // TODO: should this part be literal type?
607
607
  // Replace `#` in plural rules with the actual numeric value.
608
- if(Et(u))"number"==typeof o&&a.push({type:Ln.literal,value:n.getNumberFormat(t).format(o)});else{var h=u.value;
608
+ if(Lt(u))"number"==typeof o&&a.push({type:In.literal,value:n.getNumberFormat(t).format(o)});else{var h=u.value;
609
609
  // Enforce that all required values are provided by the caller.
610
- if(!i||!(h in i))throw new In(h,s);var d=i[h];if(yt(u))d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),a.push({type:"string"==typeof d?Ln.literal:Ln.object,value:d});else
610
+ if(!i||!(h in i))throw new Pn(h,s);var d=i[h];if(wt(u))d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),a.push({type:"string"==typeof d?In.literal:In.object,value:d});else
611
611
  // Recursively format plural and select parts' option — which can be a
612
612
  // nested pattern structure. The choosing of the option to use is
613
613
  // abstracted-by and delegated-to the part helper object.
614
- if(_t(u)){var f="string"==typeof u.style?r.date[u.style]:xt(u.style)?u.style.parsedOptions:void 0;a.push({type:Ln.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(vt(u)){f="string"==typeof u.style?r.time[u.style]:xt(u.style)?u.style.parsedOptions:r.time.medium;a.push({type:Ln.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(bt(u)){(f="string"==typeof u.style?r.number[u.style]:St(u.style)?u.style.parsedOptions:void 0)&&f.scale&&(d*=f.scale||1),a.push({type:Ln.literal,value:n.getNumberFormat(t,f).format(d)})}else{if(Tt(u)){var p=u.children,m=u.value,g=i[m];if(!$n(g))throw new Fn(m,"function",s);var y=g(An(p,t,n,r,i,o).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),a.push.apply(a,y.map((function(e){return{type:"string"==typeof e?Ln.literal:Ln.object,value:e}})))}if(wt(u)){if(!(b=u.options[d]||u.options.other))throw new Mn(u.value,d,Object.keys(u.options),s);a.push.apply(a,An(b.value,t,n,r,i))}else if(kt(u)){var b;if(!(b=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new Dn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Tn.MISSING_INTL_API,s);var _=n.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0));b=u.options[_]||u.options.other}if(!b)throw new Mn(u.value,d,Object.keys(u.options),s);a.push.apply(a,An(b.value,t,n,r,i,d-(u.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===Ln.literal&&t.type===Ln.literal?n.value+=t.value:e.push(t),e}),[])}(a)}
614
+ if(Et(u)){var f="string"==typeof u.style?r.date[u.style]:Ft(u.style)?u.style.parsedOptions:void 0;a.push({type:In.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(St(u)){f="string"==typeof u.style?r.time[u.style]:Ft(u.style)?u.style.parsedOptions:r.time.medium;a.push({type:In.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(kt(u)){(f="string"==typeof u.style?r.number[u.style]:Dt(u.style)?u.style.parsedOptions:void 0)&&f.scale&&(d*=f.scale||1),a.push({type:In.literal,value:n.getNumberFormat(t,f).format(d)})}else{if(Mt(u)){var p=u.children,m=u.value,g=i[m];if(!Hn(g))throw new On(m,"function",s);var y=g(Cn(p,t,n,r,i,o).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),a.push.apply(a,y.map((function(e){return{type:"string"==typeof e?In.literal:In.object,value:e}})))}if(Tt(u)){if(!(b=u.options[d]||u.options.other))throw new An(u.value,d,Object.keys(u.options),s);a.push.apply(a,Cn(b.value,t,n,r,i))}else if(xt(u)){var b;if(!(b=u.options["=".concat(d)])){if(!Intl.PluralRules)throw new $n('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Mn.MISSING_INTL_API,s);var _=n.getPluralRules(t,{type:u.pluralType}).select(d-(u.offset||0));b=u.options[_]||u.options.other}if(!b)throw new An(u.value,d,Object.keys(u.options),s);a.push.apply(a,Cn(b.value,t,n,r,i,d-(u.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===In.literal&&t.type===In.literal?n.value+=t.value:e.push(t),e}),[])}(a)}
615
615
  /*
616
616
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
617
617
  Copyrights licensed under the New BSD License.
618
618
  See the accompanying LICENSE file for terms.
619
619
  */
620
620
  // -- MessageFormat --------------------------------------------------------
621
- function On(e,t){return t?Object.keys(e).reduce((function(n,r){var i,o;return n[r]=(i=e[r],(o=t[r])?pt(pt(pt({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=pt(pt({},i[t]),o[t]||{}),e}),{})):i),n}),pt({},e)):e}function Pn(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"}(Ln||(Ln={}));var Hn=/** @class */function(){function e(t,n,r,i){var o,s=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);
621
+ function Bn(e,t){return t?Object.keys(e).reduce((function(n,r){var i,o;return n[r]=(i=e[r],(o=t[r])?bt(bt(bt({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=bt(bt({},i[t]),o[t]||{}),e}),{})):i),n}),bt({},e)):e}function Nn(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"}(In||(In={}));var Rn=/** @class */function(){function e(t,n,r,i){var o,s=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);
622
622
  // Hot path for straight simple msg translations
623
- if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===Ln.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return An(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},
623
+ if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===In.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 Cn(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},
624
624
  // Defined first because it's used to build the format pattern.
625
625
  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`");
626
626
  // Parse string messages into an AST.
627
627
  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.");
628
628
  // Creates a new object with the specified `formats` merged with the default
629
629
  // formats.
630
- this.formats=On(e.formats,r),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:yn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,mt([void 0],t,!1)))}),{cache:Pn(o.number),strategy:xn.variadic}),getDateTimeFormat:yn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,mt([void 0],t,!1)))}),{cache:Pn(o.dateTime),strategy:xn.variadic}),getPluralRules:yn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,mt([void 0],t,!1)))}),{cache:Pn(o.pluralRules),strategy:xn.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=gn,
630
+ this.formats=Bn(e.formats,r),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:wn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,_t([void 0],t,!1)))}),{cache:Nn(o.number),strategy:Fn.variadic}),getDateTimeFormat:wn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,_t([void 0],t,!1)))}),{cache:Nn(o.dateTime),strategy:Fn.variadic}),getPluralRules:wn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,_t([void 0],t,!1)))}),{cache:Nn(o.pluralRules),strategy:Fn.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=vn,
631
631
  // Default format options used as the prototype of the `formats` provided to the
632
632
  // constructor. These are used when constructing the internal Intl.NumberFormat
633
633
  // and Intl.DateTimeFormat instances.
634
- 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}(),Cn=Hn;
634
+ 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}(),Yn=Rn;
635
635
  /*
636
636
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
637
637
  Copyrights licensed under the New BSD License.
638
638
  See the accompanying LICENSE file for terms.
639
- */const Bn={},Nn=(e,t,n)=>n?(t in Bn||(Bn[t]={}),e in Bn[t]||(Bn[t][e]=n),n):n,Rn=(e,t)=>{if(null==t)return;if(t in Bn&&e in Bn[t])return Bn[t][e];const n=rr(t);for(let r=0;r<n.length;r++){const i=jn(n[r],e);if(i)return Nn(e,t,i)}};let Yn;const Un=Je({});function Gn(e){return e in Yn}function jn(e,t){if(!Gn(e))return null;const n=function(e){return Yn[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 Vn(e,...t){delete Bn[e],Un.update((n=>(n[e]=lt.all([n[e]||{},...t]),n)))}Qe([Un],(([e])=>Object.keys(e))),Un.subscribe((e=>Yn=e));const Wn={};function zn(e){return Wn[e]}function Zn(e){return null!=e&&rr(e).some((e=>{var t;return null===(t=zn(e))||void 0===t?void 0:t.size}))}const Xn={};function Kn(e){if(!Zn(e))return e in Xn?Xn[e]:Promise.resolve();const t=function(e){return rr(e).map((e=>{const t=zn(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Xn[e]=Promise.all(t.map((([e,t])=>function(e,t){const n=Promise.all(t.map((t=>(function(e,t){Wn[e].delete(t),0===Wn[e].size&&delete Wn[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>Vn(e,...t)))}(e,t)))).then((()=>{if(Zn(e))return Kn(e);delete Xn[e]})),Xn[e]}const qn={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Jn(){return qn}const Qn=Je(!1);let er;const tr=Je(null);function nr(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function rr(e,t=Jn().fallbackLocale){const n=nr(e);return t?[...new Set([...n,...nr(t)])]:n}function ir(){return null!=er?er:void 0}tr.subscribe((e=>{er=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const or={...tr,set:e=>{if(e&&function(e){if(null==e)return;const t=rr(e);for(let e=0;e<t.length;e++){const n=t[e];if(Gn(n))return n}}(e)&&Zn(e)){const{loadingDelay:t}=Jn();let n;return"undefined"!=typeof window&&null!=ir()&&t?n=window.setTimeout((()=>Qn.set(!0)),t):Qn.set(!0),Kn(e).then((()=>{tr.set(e)})).finally((()=>{clearTimeout(n),Qn.set(!1)}))}return tr.set(e)}},sr=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}},ar=(e,t)=>{const{formats:n}=Jn();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},lr=sr((({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(n=ar("number",t)),new Intl.NumberFormat(e,n)})),cr=sr((({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?n=ar("date",t):0===Object.keys(n).length&&(n=ar("date","short")),new Intl.DateTimeFormat(e,n)})),ur=sr((({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?n=ar("time",t):0===Object.keys(n).length&&(n=ar("time","short")),new Intl.DateTimeFormat(e,n)})),hr=sr(((e,t=ir())=>new Cn(e,t,Jn().formats,{ignoreTag:Jn().ignoreTag}))),dr=(e,t={})=>{var n,r,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=ir(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Rn(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!==(o=null!==(i=null===(r=(n=Jn()).handleMissingMessage)||void 0===r?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))&&void 0!==i?i:c)&&void 0!==o?o:e;if(!a)return u;let h=u;try{h=hr(u,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},fr=(e,t)=>(({locale:e=ir(),...t}={})=>ur({locale:e,...t}))(t).format(e),pr=(e,t)=>(({locale:e=ir(),...t}={})=>cr({locale:e,...t}))(t).format(e),mr=(e,t)=>(({locale:e=ir(),...t}={})=>lr({locale:e,...t}))(t).format(e),gr=(e,t=ir())=>Rn(e,t),yr=Qe([or,Un],(()=>dr));Qe([or],(()=>fr)),Qe([or],(()=>pr)),Qe([or],(()=>mr)),Qe([or,Un],(()=>gr)),window.emWidgets={topic:(e,t=0)=>{if(-1==Xe.indexOf(e)){let n=new Ze(t);Ke[e]=n,Xe.push(e)}return Ke[e]}};
639
+ */const Un={},Gn=(e,t,n)=>n?(t in Un||(Un[t]={}),e in Un[t]||(Un[t][e]=n),n):n,jn=(e,t)=>{if(null==t)return;if(t in Un&&e in Un[t])return Un[t][e];const n=ar(t);for(let r=0;r<n.length;r++){const i=Zn(n[r],e);if(i)return Gn(e,t,i)}};let Vn;const Wn=nt({});function zn(e){return e in Vn}function Zn(e,t){if(!zn(e))return null;const n=function(e){return Vn[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 Xn(e,...t){delete Un[e],Wn.update((n=>(n[e]=dt.all([n[e]||{},...t]),n)))}rt([Wn],(([e])=>Object.keys(e))),Wn.subscribe((e=>Vn=e));const Kn={};function qn(e){return Kn[e]}function Jn(e){return null!=e&&ar(e).some((e=>{var t;return null===(t=qn(e))||void 0===t?void 0:t.size}))}const Qn={};function er(e){if(!Jn(e))return e in Qn?Qn[e]:Promise.resolve();const t=function(e){return ar(e).map((e=>{const t=qn(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Qn[e]=Promise.all(t.map((([e,t])=>function(e,t){const n=Promise.all(t.map((t=>(function(e,t){Kn[e].delete(t),0===Kn[e].size&&delete Kn[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>Xn(e,...t)))}(e,t)))).then((()=>{if(Jn(e))return er(e);delete Qn[e]})),Qn[e]}const tr={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 nr(){return tr}const rr=nt(!1);let ir;const or=nt(null);function sr(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function ar(e,t=nr().fallbackLocale){const n=sr(e);return t?[...new Set([...n,...sr(t)])]:n}function lr(){return null!=ir?ir:void 0}or.subscribe((e=>{ir=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const cr={...or,set:e=>{if(e&&function(e){if(null==e)return;const t=ar(e);for(let e=0;e<t.length;e++){const n=t[e];if(zn(n))return n}}(e)&&Jn(e)){const{loadingDelay:t}=nr();let n;return"undefined"!=typeof window&&null!=lr()&&t?n=window.setTimeout((()=>rr.set(!0)),t):rr.set(!0),er(e).then((()=>{or.set(e)})).finally((()=>{clearTimeout(n),rr.set(!1)}))}return or.set(e)}},ur=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}},hr=(e,t)=>{const{formats:n}=nr();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},dr=ur((({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(n=hr("number",t)),new Intl.NumberFormat(e,n)})),fr=ur((({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?n=hr("date",t):0===Object.keys(n).length&&(n=hr("date","short")),new Intl.DateTimeFormat(e,n)})),pr=ur((({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?n=hr("time",t):0===Object.keys(n).length&&(n=hr("time","short")),new Intl.DateTimeFormat(e,n)})),mr=ur(((e,t=lr())=>new Yn(e,t,nr().formats,{ignoreTag:nr().ignoreTag}))),gr=(e,t={})=>{var n,r,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=lr(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=jn(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!==(o=null!==(i=null===(r=(n=nr()).handleMissingMessage)||void 0===r?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))&&void 0!==i?i:c)&&void 0!==o?o:e;if(!a)return u;let h=u;try{h=mr(u,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},yr=(e,t)=>(({locale:e=lr(),...t}={})=>pr({locale:e,...t}))(t).format(e),br=(e,t)=>(({locale:e=lr(),...t}={})=>fr({locale:e,...t}))(t).format(e),_r=(e,t)=>(({locale:e=lr(),...t}={})=>dr({locale:e,...t}))(t).format(e),vr=(e,t=lr())=>jn(e,t),wr=rt([cr,Wn],(()=>gr));rt([cr],(()=>yr)),rt([cr],(()=>br)),rt([cr],(()=>_r)),rt([cr,Wn],(()=>vr)),window.emWidgets={topic:(e,t=0)=>{if(-1==Qe.indexOf(e)){let n=new Je(t);et[e]=n,Qe.push(e)}return et[e]}};
640
640
  /**
641
641
  * @name isMobile
642
642
  * @description A method that returns if the browser used to access the app is from a mobile device or not
643
643
  * @param {String} userAgent window.navigator.userAgent
644
644
  * @returns {Boolean} true or false
645
645
  */
646
- const br=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";
646
+ const kr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";
647
647
  /**
648
648
  * @name getDevice
649
649
  * @description A method that returns the type of the device
650
650
  * @param {String} userAgent window.navigator.userAgent
651
651
  * @returns {String} Android/iPhone/iPad/PC
652
652
  */
653
- /* ../casino-footer-thumbnail/src/CasinoFooterThumbnail.svelte generated by Svelte v3.58.0 */
654
- function _r(e){let t;function n(e,t){/*sponsorimage*/
655
- return e[1]?xr:/*paymentimage*/e[4]?Sr:/*vendorimage*/e[7]?Tr:/*helperlinkimage*/e[10]?Er:/*licenseimage*/e[13]?kr:/*sociallinkimage*/e[16]?wr:void 0}let r=n(e),i=r&&r(e);return{c(){i&&i.c(),t=v()},m(e,n){i&&i.m(e,n),f(e,t,n)},p(e,o){r===(r=n(e))&&i?i.p(e,o):(i&&i.d(1),i=r&&r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i&&i.d(e),e&&p(t)}}}
653
+ /* ../casino-footer-thumbnail/src/CasinoFooterThumbnail.svelte generated by Svelte v3.59.2 */
654
+ function Er(e){let t;function n(e,t){/*sponsorimage*/
655
+ return e[1]?Fr:/*paymentimage*/e[4]?Dr:/*vendorimage*/e[7]?Mr:/*helperlinkimage*/e[10]?Lr:/*licenseimage*/e[13]?xr:/*sociallinkimage*/e[16]?Tr:void 0}let r=n(e),i=r&&r(e);return{c(){i&&i.c(),t=v()},m(e,n){i&&i.m(e,n),f(e,t,n)},p(e,o){r===(r=n(e))&&i?i.p(e,o):(i&&i.d(1),i=r&&r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i&&i.d(e),e&&p(t)}}}
656
656
  // (60:2) {#if device == 'PC'}
657
- function vr(e){let t;function n(e,t){/*sponsorimage*/
658
- return e[1]?Pr:/*paymentimage*/e[4]?Or:/*vendorimage*/e[7]?Ar:/*helperlinkimage*/e[10]?$r:/*licenseimage*/e[13]?Ir:/*sociallinkimage*/e[16]?Fr:void 0}let r=n(e),i=r&&r(e);return{c(){i&&i.c(),t=v()},m(e,n){i&&i.m(e,n),f(e,t,n)},p(e,o){r===(r=n(e))&&i?i.p(e,o):(i&&i.d(1),i=r&&r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i&&i.d(e),e&&p(t)}}}
657
+ function Sr(e){let t;function n(e,t){/*sponsorimage*/
658
+ return e[1]?Nr:/*paymentimage*/e[4]?Br:/*vendorimage*/e[7]?Cr:/*helperlinkimage*/e[10]?Hr:/*licenseimage*/e[13]?Pr:/*sociallinkimage*/e[16]?Or:void 0}let r=n(e),i=r&&r(e);return{c(){i&&i.c(),t=v()},m(e,n){i&&i.m(e,n),f(e,t,n)},p(e,o){r===(r=n(e))&&i?i.p(e,o):(i&&i.d(1),i=r&&r(e),i&&(i.c(),i.m(t.parentNode,t)))},d(e){i&&i.d(e),e&&p(t)}}}
659
659
  // (170:30)
660
- function wr(e){let t,n,r,i,o,s,a,c;return{c(){t=g("div"),n=g("button"),r=g("img"),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*sociallinkimage*/e[16])||k(r,"src",i),k(r,"title",o=/*sociallinktitle*/e[17]||/*sociallinkurl*/e[15]),k(n,"class",s="FooterLink "+(/*sociallinkurl*/e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(t,"class","FooterItem SocialItem"),k(t,"part","FooterItem SocialItem")},m(i,o){f(i,t,o),d(t,n),d(n,r),a||(c=w(n,"click",/*click_handler_5*/e[33]),a=!0)},p(e,t){/*sociallinkimage*/65536&t[0]&&!l(r.src,i=/*sociallinkimage*/e[16])&&k(r,"src",i),/*sociallinktitle, sociallinkurl*/163840&t[0]&&o!==(o=/*sociallinktitle*/e[17]||/*sociallinkurl*/e[15])&&k(r,"title",o),/*sociallinkurl*/32768&t[0]&&s!==(s="FooterLink "+(/*sociallinkurl*/e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",s)},d(e){e&&p(t),a=!1,c()}}}
660
+ function Tr(e){let t,n,r,i,o,s,l,c;return{c(){t=g("div"),n=g("button"),r=g("img"),k(r,"class","FooterImage"),k(r,"part","FooterImage"),a(r.src,i=/*sociallinkimage*/e[16])||k(r,"src",i),k(r,"title",o=/*sociallinktitle*/e[17]||/*sociallinkurl*/e[15]),k(n,"class",s="FooterLink "+(/*sociallinkurl*/e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(t,"class","FooterItem SocialItem"),k(t,"part","FooterItem SocialItem")},m(i,o){f(i,t,o),d(t,n),d(n,r),l||(c=w(n,"click",/*click_handler_5*/e[33]),l=!0)},p(e,t){/*sociallinkimage*/65536&t[0]&&!a(r.src,i=/*sociallinkimage*/e[16])&&k(r,"src",i),/*sociallinktitle, sociallinkurl*/163840&t[0]&&o!==(o=/*sociallinktitle*/e[17]||/*sociallinkurl*/e[15])&&k(r,"title",o),/*sociallinkurl*/32768&t[0]&&s!==(s="FooterLink "+(/*sociallinkurl*/e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",s)},d(e){e&&p(t),l=!1,c()}}}
661
661
  // (163:27)
662
- function kr(e){let t,n,r,i,o,s,a,c;return{c(){t=g("div"),n=g("button"),r=g("img"),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*licenseimage*/e[13])||k(r,"src",i),k(r,"title",o=/*licensetitle*/e[14]||/*licenseurl*/e[12]),k(n,"class",s="FooterLink "+(/*licenseurl*/e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(t,"class","FooterItem"),k(t,"part","FooterItem")},m(i,o){f(i,t,o),d(t,n),d(n,r),a||(c=w(n,"click",/*click_handler_4*/e[32]),a=!0)},p(e,t){/*licenseimage*/8192&t[0]&&!l(r.src,i=/*licenseimage*/e[13])&&k(r,"src",i),/*licensetitle, licenseurl*/20480&t[0]&&o!==(o=/*licensetitle*/e[14]||/*licenseurl*/e[12])&&k(r,"title",o),/*licenseurl*/4096&t[0]&&s!==(s="FooterLink "+(/*licenseurl*/e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",s)},d(e){e&&p(t),a=!1,c()}}}
662
+ function xr(e){let t,n,r,i,o,s,l,c;return{c(){t=g("div"),n=g("button"),r=g("img"),k(r,"class","FooterImage"),k(r,"part","FooterImage"),a(r.src,i=/*licenseimage*/e[13])||k(r,"src",i),k(r,"title",o=/*licensetitle*/e[14]||/*licenseurl*/e[12]),k(n,"class",s="FooterLink "+(/*licenseurl*/e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(t,"class","FooterItem"),k(t,"part","FooterItem")},m(i,o){f(i,t,o),d(t,n),d(n,r),l||(c=w(n,"click",/*click_handler_4*/e[32]),l=!0)},p(e,t){/*licenseimage*/8192&t[0]&&!a(r.src,i=/*licenseimage*/e[13])&&k(r,"src",i),/*licensetitle, licenseurl*/20480&t[0]&&o!==(o=/*licensetitle*/e[14]||/*licenseurl*/e[12])&&k(r,"title",o),/*licenseurl*/4096&t[0]&&s!==(s="FooterLink "+(/*licenseurl*/e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",s)},d(e){e&&p(t),l=!1,c()}}}
663
663
  // (153:30)
664
- function Er(e){let t,n,r,i,o,s,a,c,u,h,m=/*helperlinktitle*/e[11]&&Lr(e);return{c(){t=g("div"),n=g("button"),r=g("img"),s=_(),m&&m.c(),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*helperlinkimage*/e[10])||k(r,"src",i),k(r,"title",o=/*helperlinktitle*/e[11]||/*helperlinkurl*/e[9]),k(n,"class",a=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(t,"class",c="FooterItem HelperLinkItem "+(/*displaycolumn*/"true"==e[20]?"DisplayColumn":"")),k(t,"part","FooterItem HelperLinkItem")},m(i,o){f(i,t,o),d(t,n),d(n,r),d(n,s),m&&m.m(n,null),u||(h=w(n,"click",/*click_handler_3*/e[31]),u=!0)},p(e,s){/*helperlinkimage*/1024&s[0]&&!l(r.src,i=/*helperlinkimage*/e[10])&&k(r,"src",i),/*helperlinktitle, helperlinkurl*/2560&s[0]&&o!==(o=/*helperlinktitle*/e[11]||/*helperlinkurl*/e[9])&&k(r,"title",o),/*helperlinktitle*/e[11]?m?m.p(e,s):(m=Lr(e),m.c(),m.m(n,null)):m&&(m.d(1),m=null),/*helperlinktitle, helperlinkurl*/2560&s[0]&&a!==(a=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",a),/*displaycolumn*/1048576&s[0]&&c!==(c="FooterItem HelperLinkItem "+(/*displaycolumn*/"true"==e[20]?"DisplayColumn":""))&&k(t,"class",c)},d(e){e&&p(t),m&&m.d(),u=!1,h()}}}
664
+ function Lr(e){let t,n,r,i,o,s,l,c,u,h,m=/*helperlinktitle*/e[11]&&Ir(e);return{c(){t=g("div"),n=g("button"),r=g("img"),s=_(),m&&m.c(),k(r,"class","FooterImage"),k(r,"part","FooterImage"),a(r.src,i=/*helperlinkimage*/e[10])||k(r,"src",i),k(r,"title",o=/*helperlinktitle*/e[11]||/*helperlinkurl*/e[9]),k(n,"class",l=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(t,"class",c="FooterItem HelperLinkItem "+(/*displaycolumn*/"true"==e[20]?"DisplayColumn":"")),k(t,"part","FooterItem HelperLinkItem")},m(i,o){f(i,t,o),d(t,n),d(n,r),d(n,s),m&&m.m(n,null),u||(h=w(n,"click",/*click_handler_3*/e[31]),u=!0)},p(e,s){/*helperlinkimage*/1024&s[0]&&!a(r.src,i=/*helperlinkimage*/e[10])&&k(r,"src",i),/*helperlinktitle, helperlinkurl*/2560&s[0]&&o!==(o=/*helperlinktitle*/e[11]||/*helperlinkurl*/e[9])&&k(r,"title",o),/*helperlinktitle*/e[11]?m?m.p(e,s):(m=Ir(e),m.c(),m.m(n,null)):m&&(m.d(1),m=null),/*helperlinktitle, helperlinkurl*/2560&s[0]&&l!==(l=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",l),/*displaycolumn*/1048576&s[0]&&c!==(c="FooterItem HelperLinkItem "+(/*displaycolumn*/"true"==e[20]?"DisplayColumn":""))&&k(t,"class",c)},d(e){e&&p(t),m&&m.d(),u=!1,h()}}}
665
665
  // (146:26)
666
- function Tr(e){let t,n,r,i,o,s,a,c;return{c(){t=g("div"),n=g("button"),r=g("img"),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*vendorimage*/e[7])||k(r,"src",i),k(r,"title",o=/*vendortitle*/e[8]||/*vendorurl*/e[6]),k(n,"class",s=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(t,"class","FooterItem GameVendorItem"),k(t,"part","FooterItem GameVendorItem")},m(i,o){f(i,t,o),d(t,n),d(n,r),a||(c=w(n,"click",/*click_handler_2*/e[30]),a=!0)},p(e,t){/*vendorimage*/128&t[0]&&!l(r.src,i=/*vendorimage*/e[7])&&k(r,"src",i),/*vendortitle, vendorurl*/320&t[0]&&o!==(o=/*vendortitle*/e[8]||/*vendorurl*/e[6])&&k(r,"title",o),/*vendorurl*/64&t[0]&&s!==(s=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",s)},d(e){e&&p(t),a=!1,c()}}}
666
+ function Mr(e){let t,n,r,i,o,s,l,c;return{c(){t=g("div"),n=g("button"),r=g("img"),k(r,"class","FooterImage"),k(r,"part","FooterImage"),a(r.src,i=/*vendorimage*/e[7])||k(r,"src",i),k(r,"title",o=/*vendortitle*/e[8]||/*vendorurl*/e[6]),k(n,"class",s=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(t,"class","FooterItem GameVendorItem"),k(t,"part","FooterItem GameVendorItem")},m(i,o){f(i,t,o),d(t,n),d(n,r),l||(c=w(n,"click",/*click_handler_2*/e[30]),l=!0)},p(e,t){/*vendorimage*/128&t[0]&&!a(r.src,i=/*vendorimage*/e[7])&&k(r,"src",i),/*vendortitle, vendorurl*/320&t[0]&&o!==(o=/*vendortitle*/e[8]||/*vendorurl*/e[6])&&k(r,"title",o),/*vendorurl*/64&t[0]&&s!==(s=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",s)},d(e){e&&p(t),l=!1,c()}}}
667
667
  // (136:27)
668
- function Sr(e){let t,n,r,i,o,s,a,c,u,h=/*paymenttitle*/e[5]&&Dr(e);return{c(){t=g("div"),n=g("button"),r=g("img"),s=_(),h&&h.c(),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*paymentimage*/e[4])||k(r,"src",i),k(r,"title",o=/*paymenttitle*/e[5]||/*paymenturl*/e[3]),k(n,"class",a=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(t,"class","FooterItem PaymentItem"),k(t,"part","FooterItem PaymentItem")},m(i,o){f(i,t,o),d(t,n),d(n,r),d(n,s),h&&h.m(n,null),c||(u=w(n,"click",/*click_handler_1*/e[29]),c=!0)},p(e,t){/*paymentimage*/16&t[0]&&!l(r.src,i=/*paymentimage*/e[4])&&k(r,"src",i),/*paymenttitle, paymenturl*/40&t[0]&&o!==(o=/*paymenttitle*/e[5]||/*paymenturl*/e[3])&&k(r,"title",o),/*paymenttitle*/e[5]?h?h.p(e,t):(h=Dr(e),h.c(),h.m(n,null)):h&&(h.d(1),h=null),/*paymenttitle, paymenturl*/40&t[0]&&a!==(a=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",a)},d(e){e&&p(t),h&&h.d(),c=!1,u()}}}
668
+ function Dr(e){let t,n,r,i,o,s,l,c,u,h=/*paymenttitle*/e[5]&&$r(e);return{c(){t=g("div"),n=g("button"),r=g("img"),s=_(),h&&h.c(),k(r,"class","FooterImage"),k(r,"part","FooterImage"),a(r.src,i=/*paymentimage*/e[4])||k(r,"src",i),k(r,"title",o=/*paymenttitle*/e[5]||/*paymenturl*/e[3]),k(n,"class",l=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(t,"class","FooterItem PaymentItem"),k(t,"part","FooterItem PaymentItem")},m(i,o){f(i,t,o),d(t,n),d(n,r),d(n,s),h&&h.m(n,null),c||(u=w(n,"click",/*click_handler_1*/e[29]),c=!0)},p(e,t){/*paymentimage*/16&t[0]&&!a(r.src,i=/*paymentimage*/e[4])&&k(r,"src",i),/*paymenttitle, paymenturl*/40&t[0]&&o!==(o=/*paymenttitle*/e[5]||/*paymenturl*/e[3])&&k(r,"title",o),/*paymenttitle*/e[5]?h?h.p(e,t):(h=$r(e),h.c(),h.m(n,null)):h&&(h.d(1),h=null),/*paymenttitle, paymenturl*/40&t[0]&&l!==(l=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",l)},d(e){e&&p(t),h&&h.d(),c=!1,u()}}}
669
669
  // (126:4) {#if sponsorimage}
670
- function xr(e){let t,n,r,i,o,s,a,c,u,h=/*sponsortitle*/e[2]&&Mr(e);return{c(){t=g("div"),n=g("button"),r=g("img"),s=_(),h&&h.c(),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*sponsorimage*/e[1])||k(r,"src",i),k(r,"title",o=/*sponsortitle*/e[2]||/*sponsorurl*/e[0]),k(n,"class",a=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(t,"class","FooterItem SponsorItem"),k(t,"part","FooterItem SponsorItem")},m(i,o){f(i,t,o),d(t,n),d(n,r),d(n,s),h&&h.m(n,null),c||(u=w(n,"click",/*click_handler*/e[28]),c=!0)},p(e,t){/*sponsorimage*/2&t[0]&&!l(r.src,i=/*sponsorimage*/e[1])&&k(r,"src",i),/*sponsortitle, sponsorurl*/5&t[0]&&o!==(o=/*sponsortitle*/e[2]||/*sponsorurl*/e[0])&&k(r,"title",o),/*sponsortitle*/e[2]?h?h.p(e,t):(h=Mr(e),h.c(),h.m(n,null)):h&&(h.d(1),h=null),/*sponsortitle, sponsorurl*/5&t[0]&&a!==(a=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",a)},d(e){e&&p(t),h&&h.d(),c=!1,u()}}}
670
+ function Fr(e){let t,n,r,i,o,s,l,c,u,h=/*sponsortitle*/e[2]&&Ar(e);return{c(){t=g("div"),n=g("button"),r=g("img"),s=_(),h&&h.c(),k(r,"class","FooterImage"),k(r,"part","FooterImage"),a(r.src,i=/*sponsorimage*/e[1])||k(r,"src",i),k(r,"title",o=/*sponsortitle*/e[2]||/*sponsorurl*/e[0]),k(n,"class",l=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(t,"class","FooterItem SponsorItem"),k(t,"part","FooterItem SponsorItem")},m(i,o){f(i,t,o),d(t,n),d(n,r),d(n,s),h&&h.m(n,null),c||(u=w(n,"click",/*click_handler*/e[28]),c=!0)},p(e,t){/*sponsorimage*/2&t[0]&&!a(r.src,i=/*sponsorimage*/e[1])&&k(r,"src",i),/*sponsortitle, sponsorurl*/5&t[0]&&o!==(o=/*sponsortitle*/e[2]||/*sponsorurl*/e[0])&&k(r,"title",o),/*sponsortitle*/e[2]?h?h.p(e,t):(h=Ar(e),h.c(),h.m(n,null)):h&&(h.d(1),h=null),/*sponsortitle, sponsorurl*/5&t[0]&&l!==(l=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",l)},d(e){e&&p(t),h&&h.d(),c=!1,u()}}}
671
671
  // (158:10) {#if helperlinktitle}
672
- function Lr(e){let t,n;return{c(){t=g("p"),n=b(/*helperlinktitle*/e[11]),k(t,"class","HelperTitle"),k(t,"part","HelperTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*helperlinktitle*/2048&t[0]&&T(n,/*helperlinktitle*/e[11])},d(e){e&&p(t)}}}
672
+ function Ir(e){let t,n;return{c(){t=g("p"),n=b(/*helperlinktitle*/e[11]),k(t,"class","HelperTitle"),k(t,"part","HelperTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*helperlinktitle*/2048&t[0]&&S(n,/*helperlinktitle*/e[11])},d(e){e&&p(t)}}}
673
673
  // (141:10) {#if paymenttitle}
674
- function Dr(e){let t,n;return{c(){t=g("p"),n=b(/*paymenttitle*/e[5]),k(t,"class","PaymentTitle"),k(t,"part","PaymentTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*paymenttitle*/32&t[0]&&T(n,/*paymenttitle*/e[5])},d(e){e&&p(t)}}}
674
+ function $r(e){let t,n;return{c(){t=g("p"),n=b(/*paymenttitle*/e[5]),k(t,"class","PaymentTitle"),k(t,"part","PaymentTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*paymenttitle*/32&t[0]&&S(n,/*paymenttitle*/e[5])},d(e){e&&p(t)}}}
675
675
  // (131:10) {#if sponsortitle}
676
- function Mr(e){let t,n;return{c(){t=g("p"),n=b(/*sponsortitle*/e[2]),k(t,"class","SponsorTitle"),k(t,"part","SponsorTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*sponsortitle*/4&t[0]&&T(n,/*sponsortitle*/e[2])},d(e){e&&p(t)}}}
676
+ function Ar(e){let t,n;return{c(){t=g("p"),n=b(/*sponsortitle*/e[2]),k(t,"class","SponsorTitle"),k(t,"part","SponsorTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*sponsortitle*/4&t[0]&&S(n,/*sponsortitle*/e[2])},d(e){e&&p(t)}}}
677
677
  // (115:30)
678
- function Fr(e){let t,n,r,i,o,s,a,c;return{c(){t=g("div"),n=g("a"),r=g("img"),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*sociallinkimage*/e[16])||k(r,"src",i),k(r,"title",o=/*sociallinktitle*/e[17]||/*sociallinkurl*/e[15]),k(n,"class",s="FooterLink "+(/*sociallinkurl*/e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",a="FooterLink "+(/*sociallinkurl*/e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",c=/*linktype*/e[19]?/*sociallinkurl*/e[15]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*sociallinkurl*/+e[15]),k(n,"target",/*target*/e[18]),k(t,"class","FooterItem SocialItem"),k(t,"part","FooterItem SocialItem")},m(e,i){f(e,t,i),d(t,n),d(n,r)},p(e,t){/*sociallinkimage*/65536&t[0]&&!l(r.src,i=/*sociallinkimage*/e[16])&&k(r,"src",i),/*sociallinktitle, sociallinkurl*/163840&t[0]&&o!==(o=/*sociallinktitle*/e[17]||/*sociallinkurl*/e[15])&&k(r,"title",o),/*sociallinkurl*/32768&t[0]&&s!==(s="FooterLink "+(/*sociallinkurl*/e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",s),/*sociallinkurl*/32768&t[0]&&a!==(a="FooterLink "+(/*sociallinkurl*/e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",a),/*linktype, sociallinkurl, baseurl, lang*/6848512&t[0]&&c!==(c=/*linktype*/e[19]?/*sociallinkurl*/e[15]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*sociallinkurl*/+e[15])&&k(n,"href",c),/*target*/262144&t[0]&&k(n,"target",/*target*/e[18])},d(e){e&&p(t)}}}
678
+ function Or(e){let t,n,r,i,o,s,l,c;return{c(){t=g("div"),n=g("a"),r=g("img"),k(r,"class","FooterImage"),k(r,"part","FooterImage"),a(r.src,i=/*sociallinkimage*/e[16])||k(r,"src",i),k(r,"title",o=/*sociallinktitle*/e[17]||/*sociallinkurl*/e[15]),k(n,"class",s="FooterLink "+(/*sociallinkurl*/e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",l="FooterLink "+(/*sociallinkurl*/e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",c=/*linktype*/e[19]?/*sociallinkurl*/e[15]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*sociallinkurl*/+e[15]),k(n,"target",/*target*/e[18]),k(t,"class","FooterItem SocialItem"),k(t,"part","FooterItem SocialItem")},m(e,i){f(e,t,i),d(t,n),d(n,r)},p(e,t){/*sociallinkimage*/65536&t[0]&&!a(r.src,i=/*sociallinkimage*/e[16])&&k(r,"src",i),/*sociallinktitle, sociallinkurl*/163840&t[0]&&o!==(o=/*sociallinktitle*/e[17]||/*sociallinkurl*/e[15])&&k(r,"title",o),/*sociallinkurl*/32768&t[0]&&s!==(s="FooterLink "+(/*sociallinkurl*/e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",s),/*sociallinkurl*/32768&t[0]&&l!==(l="FooterLink "+(/*sociallinkurl*/e[15]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",l),/*linktype, sociallinkurl, baseurl, lang*/6848512&t[0]&&c!==(c=/*linktype*/e[19]?/*sociallinkurl*/e[15]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*sociallinkurl*/+e[15])&&k(n,"href",c),/*target*/262144&t[0]&&k(n,"target",/*target*/e[18])},d(e){e&&p(t)}}}
679
679
  // (106:27)
680
- function Ir(e){let t,n,r,i,o,s,a,c;return{c(){t=g("div"),n=g("a"),r=g("img"),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*licenseimage*/e[13])||k(r,"src",i),k(r,"title",o=/*licensetitle*/e[14]||/*licenseurl*/e[12]),k(n,"class",s="FooterLink "+(/*licenseurl*/e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",a="FooterLink "+(/*licenseurl*/e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",c=/*linktype*/e[19]?/*licenseurl*/e[12]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*licenseurl*/+e[12]),k(n,"target",/*target*/e[18]),k(t,"class","FooterItem"),k(t,"part","FooterItem")},m(e,i){f(e,t,i),d(t,n),d(n,r)},p(e,t){/*licenseimage*/8192&t[0]&&!l(r.src,i=/*licenseimage*/e[13])&&k(r,"src",i),/*licensetitle, licenseurl*/20480&t[0]&&o!==(o=/*licensetitle*/e[14]||/*licenseurl*/e[12])&&k(r,"title",o),/*licenseurl*/4096&t[0]&&s!==(s="FooterLink "+(/*licenseurl*/e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",s),/*licenseurl*/4096&t[0]&&a!==(a="FooterLink "+(/*licenseurl*/e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",a),/*linktype, licenseurl, baseurl, lang*/6819840&t[0]&&c!==(c=/*linktype*/e[19]?/*licenseurl*/e[12]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*licenseurl*/+e[12])&&k(n,"href",c),/*target*/262144&t[0]&&k(n,"target",/*target*/e[18])},d(e){e&&p(t)}}}
680
+ function Pr(e){let t,n,r,i,o,s,l,c;return{c(){t=g("div"),n=g("a"),r=g("img"),k(r,"class","FooterImage"),k(r,"part","FooterImage"),a(r.src,i=/*licenseimage*/e[13])||k(r,"src",i),k(r,"title",o=/*licensetitle*/e[14]||/*licenseurl*/e[12]),k(n,"class",s="FooterLink "+(/*licenseurl*/e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",l="FooterLink "+(/*licenseurl*/e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",c=/*linktype*/e[19]?/*licenseurl*/e[12]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*licenseurl*/+e[12]),k(n,"target",/*target*/e[18]),k(t,"class","FooterItem"),k(t,"part","FooterItem")},m(e,i){f(e,t,i),d(t,n),d(n,r)},p(e,t){/*licenseimage*/8192&t[0]&&!a(r.src,i=/*licenseimage*/e[13])&&k(r,"src",i),/*licensetitle, licenseurl*/20480&t[0]&&o!==(o=/*licensetitle*/e[14]||/*licenseurl*/e[12])&&k(r,"title",o),/*licenseurl*/4096&t[0]&&s!==(s="FooterLink "+(/*licenseurl*/e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",s),/*licenseurl*/4096&t[0]&&l!==(l="FooterLink "+(/*licenseurl*/e[12]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",l),/*linktype, licenseurl, baseurl, lang*/6819840&t[0]&&c!==(c=/*linktype*/e[19]?/*licenseurl*/e[12]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*licenseurl*/+e[12])&&k(n,"href",c),/*target*/262144&t[0]&&k(n,"target",/*target*/e[18])},d(e){e&&p(t)}}}
681
681
  // (94:30)
682
- function $r(e){let t,n,r,i,o,s,a,c,u,h,m=/*helperlinktitle*/e[11]&&Hr(e);return{c(){t=g("div"),n=g("a"),r=g("img"),s=_(),m&&m.c(),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*helperlinkimage*/e[10])||k(r,"src",i),k(r,"title",o=/*helperlinktitle*/e[11]||/*helperlinkurl*/e[9]),k(n,"class",a=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",c=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",u=/*linktype*/e[19]?/*helperlinkurl*/e[9]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*helperlinkurl*/+e[9]),k(n,"target",/*target*/e[18]),k(t,"class",h="FooterItem HelperLinkItem "+(/*displaycolumn*/"true"==e[20]?"DisplayColumn":"")),k(t,"part","FooterItem HelperLinkItem")},m(e,i){f(e,t,i),d(t,n),d(n,r),d(n,s),m&&m.m(n,null)},p(e,s){/*helperlinkimage*/1024&s[0]&&!l(r.src,i=/*helperlinkimage*/e[10])&&k(r,"src",i),/*helperlinktitle, helperlinkurl*/2560&s[0]&&o!==(o=/*helperlinktitle*/e[11]||/*helperlinkurl*/e[9])&&k(r,"title",o),/*helperlinktitle*/e[11]?m?m.p(e,s):(m=Hr(e),m.c(),m.m(n,null)):m&&(m.d(1),m=null),/*helperlinktitle, helperlinkurl*/2560&s[0]&&a!==(a=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",a),/*helperlinktitle, helperlinkurl*/2560&s[0]&&c!==(c=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",c),/*linktype, helperlinkurl, baseurl, lang*/6816256&s[0]&&u!==(u=/*linktype*/e[19]?/*helperlinkurl*/e[9]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*helperlinkurl*/+e[9])&&k(n,"href",u),/*target*/262144&s[0]&&k(n,"target",/*target*/e[18]),/*displaycolumn*/1048576&s[0]&&h!==(h="FooterItem HelperLinkItem "+(/*displaycolumn*/"true"==e[20]?"DisplayColumn":""))&&k(t,"class",h)},d(e){e&&p(t),m&&m.d()}}}
682
+ function Hr(e){let t,n,r,i,o,s,l,c,u,h,m=/*helperlinktitle*/e[11]&&Rr(e);return{c(){t=g("div"),n=g("a"),r=g("img"),s=_(),m&&m.c(),k(r,"class","FooterImage"),k(r,"part","FooterImage"),a(r.src,i=/*helperlinkimage*/e[10])||k(r,"src",i),k(r,"title",o=/*helperlinktitle*/e[11]||/*helperlinkurl*/e[9]),k(n,"class",l=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",c=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",u=/*linktype*/e[19]?/*helperlinkurl*/e[9]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*helperlinkurl*/+e[9]),k(n,"target",/*target*/e[18]),k(t,"class",h="FooterItem HelperLinkItem "+(/*displaycolumn*/"true"==e[20]?"DisplayColumn":"")),k(t,"part","FooterItem HelperLinkItem")},m(e,i){f(e,t,i),d(t,n),d(n,r),d(n,s),m&&m.m(n,null)},p(e,s){/*helperlinkimage*/1024&s[0]&&!a(r.src,i=/*helperlinkimage*/e[10])&&k(r,"src",i),/*helperlinktitle, helperlinkurl*/2560&s[0]&&o!==(o=/*helperlinktitle*/e[11]||/*helperlinkurl*/e[9])&&k(r,"title",o),/*helperlinktitle*/e[11]?m?m.p(e,s):(m=Rr(e),m.c(),m.m(n,null)):m&&(m.d(1),m=null),/*helperlinktitle, helperlinkurl*/2560&s[0]&&l!==(l=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",l),/*helperlinktitle, helperlinkurl*/2560&s[0]&&c!==(c=/*helperlinktitle*/(e[11]?"FooterHelperLink":"")+" "+(/*helperlinkurl*/e[9]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",c),/*linktype, helperlinkurl, baseurl, lang*/6816256&s[0]&&u!==(u=/*linktype*/e[19]?/*helperlinkurl*/e[9]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*helperlinkurl*/+e[9])&&k(n,"href",u),/*target*/262144&s[0]&&k(n,"target",/*target*/e[18]),/*displaycolumn*/1048576&s[0]&&h!==(h="FooterItem HelperLinkItem "+(/*displaycolumn*/"true"==e[20]?"DisplayColumn":""))&&k(t,"class",h)},d(e){e&&p(t),m&&m.d()}}}
683
683
  // (85:26)
684
- function Ar(e){let t,n,r,i,o,s,a,c;return{c(){t=g("div"),n=g("a"),r=g("img"),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*vendorimage*/e[7])||k(r,"src",i),k(r,"title",o=/*vendortitle*/e[8]||/*vendorurl*/e[6]),k(n,"class",s=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",a=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",c=/*linktype*/e[19]?/*vendorurl*/e[6]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*vendorurl*/+e[6]),k(n,"target",/*target*/e[18]),k(t,"class","FooterItem GameVendorItem"),k(t,"part","FooterItem GameVendorItem")},m(e,i){f(e,t,i),d(t,n),d(n,r)},p(e,t){/*vendorimage*/128&t[0]&&!l(r.src,i=/*vendorimage*/e[7])&&k(r,"src",i),/*vendortitle, vendorurl*/320&t[0]&&o!==(o=/*vendortitle*/e[8]||/*vendorurl*/e[6])&&k(r,"title",o),/*vendorurl*/64&t[0]&&s!==(s=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",s),/*vendorurl*/64&t[0]&&a!==(a=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",a),/*linktype, vendorurl, baseurl, lang*/6815808&t[0]&&c!==(c=/*linktype*/e[19]?/*vendorurl*/e[6]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*vendorurl*/+e[6])&&k(n,"href",c),/*target*/262144&t[0]&&k(n,"target",/*target*/e[18])},d(e){e&&p(t)}}}
684
+ function Cr(e){let t,n,r,i,o,s,l,c;return{c(){t=g("div"),n=g("a"),r=g("img"),k(r,"class","FooterImage"),k(r,"part","FooterImage"),a(r.src,i=/*vendorimage*/e[7])||k(r,"src",i),k(r,"title",o=/*vendortitle*/e[8]||/*vendorurl*/e[6]),k(n,"class",s=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",l=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",c=/*linktype*/e[19]?/*vendorurl*/e[6]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*vendorurl*/+e[6]),k(n,"target",/*target*/e[18]),k(t,"class","FooterItem GameVendorItem"),k(t,"part","FooterItem GameVendorItem")},m(e,i){f(e,t,i),d(t,n),d(n,r)},p(e,t){/*vendorimage*/128&t[0]&&!a(r.src,i=/*vendorimage*/e[7])&&k(r,"src",i),/*vendortitle, vendorurl*/320&t[0]&&o!==(o=/*vendortitle*/e[8]||/*vendorurl*/e[6])&&k(r,"title",o),/*vendorurl*/64&t[0]&&s!==(s=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",s),/*vendorurl*/64&t[0]&&l!==(l=/*vendorurl*/(e[6]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",l),/*linktype, vendorurl, baseurl, lang*/6815808&t[0]&&c!==(c=/*linktype*/e[19]?/*vendorurl*/e[6]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*vendorurl*/+e[6])&&k(n,"href",c),/*target*/262144&t[0]&&k(n,"target",/*target*/e[18])},d(e){e&&p(t)}}}
685
685
  // (73:27)
686
- function Or(e){let t,n,r,i,o,s,a,c,u,h=/*paymenttitle*/e[5]&&Cr(e);return{c(){t=g("div"),n=g("a"),r=g("img"),s=_(),h&&h.c(),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*paymentimage*/e[4])||k(r,"src",i),k(r,"title",o=/*paymenttitle*/e[5]||/*paymenturl*/e[3]),k(n,"class",a=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",c=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",u=/*linktype*/e[19]?/*paymenturl*/e[3]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*paymenturl*/+e[3]),k(n,"target",/*target*/e[18]),k(t,"class","FooterItem PaymentItem"),k(t,"part","FooterItem PaymentItem")},m(e,i){f(e,t,i),d(t,n),d(n,r),d(n,s),h&&h.m(n,null)},p(e,t){/*paymentimage*/16&t[0]&&!l(r.src,i=/*paymentimage*/e[4])&&k(r,"src",i),/*paymenttitle, paymenturl*/40&t[0]&&o!==(o=/*paymenttitle*/e[5]||/*paymenturl*/e[3])&&k(r,"title",o),/*paymenttitle*/e[5]?h?h.p(e,t):(h=Cr(e),h.c(),h.m(n,null)):h&&(h.d(1),h=null),/*paymenttitle, paymenturl*/40&t[0]&&a!==(a=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",a),/*paymenttitle, paymenturl*/40&t[0]&&c!==(c=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",c),/*linktype, paymenturl, baseurl, lang*/6815752&t[0]&&u!==(u=/*linktype*/e[19]?/*paymenturl*/e[3]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*paymenturl*/+e[3])&&k(n,"href",u),/*target*/262144&t[0]&&k(n,"target",/*target*/e[18])},d(e){e&&p(t),h&&h.d()}}}
686
+ function Br(e){let t,n,r,i,o,s,l,c,u,h=/*paymenttitle*/e[5]&&Yr(e);return{c(){t=g("div"),n=g("a"),r=g("img"),s=_(),h&&h.c(),k(r,"class","FooterImage"),k(r,"part","FooterImage"),a(r.src,i=/*paymentimage*/e[4])||k(r,"src",i),k(r,"title",o=/*paymenttitle*/e[5]||/*paymenturl*/e[3]),k(n,"class",l=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",c=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",u=/*linktype*/e[19]?/*paymenturl*/e[3]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*paymenturl*/+e[3]),k(n,"target",/*target*/e[18]),k(t,"class","FooterItem PaymentItem"),k(t,"part","FooterItem PaymentItem")},m(e,i){f(e,t,i),d(t,n),d(n,r),d(n,s),h&&h.m(n,null)},p(e,t){/*paymentimage*/16&t[0]&&!a(r.src,i=/*paymentimage*/e[4])&&k(r,"src",i),/*paymenttitle, paymenturl*/40&t[0]&&o!==(o=/*paymenttitle*/e[5]||/*paymenturl*/e[3])&&k(r,"title",o),/*paymenttitle*/e[5]?h?h.p(e,t):(h=Yr(e),h.c(),h.m(n,null)):h&&(h.d(1),h=null),/*paymenttitle, paymenturl*/40&t[0]&&l!==(l=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",l),/*paymenttitle, paymenturl*/40&t[0]&&c!==(c=/*paymenttitle*/(e[5]?"FooterPaymentLink":"")+" "+(/*paymenturl*/e[3]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",c),/*linktype, paymenturl, baseurl, lang*/6815752&t[0]&&u!==(u=/*linktype*/e[19]?/*paymenturl*/e[3]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*paymenturl*/+e[3])&&k(n,"href",u),/*target*/262144&t[0]&&k(n,"target",/*target*/e[18])},d(e){e&&p(t),h&&h.d()}}}
687
687
  // (61:4) {#if sponsorimage}
688
- function Pr(e){let t,n,r,i,o,s,a,c,u,h=/*sponsortitle*/e[2]&&Br(e);return{c(){t=g("div"),n=g("a"),r=g("img"),s=_(),h&&h.c(),k(r,"class","FooterImage"),k(r,"part","FooterImage"),l(r.src,i=/*sponsorimage*/e[1])||k(r,"src",i),k(r,"title",o=/*sponsortitle*/e[2]||/*sponsorurl*/e[0]),k(n,"class",a=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",c=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",u=/*linktype*/e[19]?/*sponsorurl*/e[0]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*sponsorurl*/+e[0]),k(n,"target",/*target*/e[18]),k(t,"class","FooterItem SponsorItem"),k(t,"part","FooterItem SponsorItem")},m(e,i){f(e,t,i),d(t,n),d(n,r),d(n,s),h&&h.m(n,null)},p(e,t){/*sponsorimage*/2&t[0]&&!l(r.src,i=/*sponsorimage*/e[1])&&k(r,"src",i),/*sponsortitle, sponsorurl*/5&t[0]&&o!==(o=/*sponsortitle*/e[2]||/*sponsorurl*/e[0])&&k(r,"title",o),/*sponsortitle*/e[2]?h?h.p(e,t):(h=Br(e),h.c(),h.m(n,null)):h&&(h.d(1),h=null),/*sponsortitle, sponsorurl*/5&t[0]&&a!==(a=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",a),/*sponsortitle, sponsorurl*/5&t[0]&&c!==(c=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",c),/*linktype, sponsorurl, baseurl, lang*/6815745&t[0]&&u!==(u=/*linktype*/e[19]?/*sponsorurl*/e[0]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*sponsorurl*/+e[0])&&k(n,"href",u),/*target*/262144&t[0]&&k(n,"target",/*target*/e[18])},d(e){e&&p(t),h&&h.d()}}}
688
+ function Nr(e){let t,n,r,i,o,s,l,c,u,h=/*sponsortitle*/e[2]&&Ur(e);return{c(){t=g("div"),n=g("a"),r=g("img"),s=_(),h&&h.c(),k(r,"class","FooterImage"),k(r,"part","FooterImage"),a(r.src,i=/*sponsorimage*/e[1])||k(r,"src",i),k(r,"title",o=/*sponsortitle*/e[2]||/*sponsorurl*/e[0]),k(n,"class",l=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"part",c=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor"),k(n,"href",u=/*linktype*/e[19]?/*sponsorurl*/e[0]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*sponsorurl*/+e[0]),k(n,"target",/*target*/e[18]),k(t,"class","FooterItem SponsorItem"),k(t,"part","FooterItem SponsorItem")},m(e,i){f(e,t,i),d(t,n),d(n,r),d(n,s),h&&h.m(n,null)},p(e,t){/*sponsorimage*/2&t[0]&&!a(r.src,i=/*sponsorimage*/e[1])&&k(r,"src",i),/*sponsortitle, sponsorurl*/5&t[0]&&o!==(o=/*sponsortitle*/e[2]||/*sponsorurl*/e[0])&&k(r,"title",o),/*sponsortitle*/e[2]?h?h.p(e,t):(h=Ur(e),h.c(),h.m(n,null)):h&&(h.d(1),h=null),/*sponsortitle, sponsorurl*/5&t[0]&&l!==(l=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"class",l),/*sponsortitle, sponsorurl*/5&t[0]&&c!==(c=/*sponsortitle*/(e[2]?"FooterSponsorLink":"")+" "+(/*sponsorurl*/e[0]?"":"FooterLinkDisabled")+" FooterItemAnchor")&&k(n,"part",c),/*linktype, sponsorurl, baseurl, lang*/6815745&t[0]&&u!==(u=/*linktype*/e[19]?/*sponsorurl*/e[0]:/*baseurl*/e[21]+`/${/*lang*/e[22]}/`/*sponsorurl*/+e[0])&&k(n,"href",u),/*target*/262144&t[0]&&k(n,"target",/*target*/e[18])},d(e){e&&p(t),h&&h.d()}}}
689
689
  // (101:10) {#if helperlinktitle}
690
- function Hr(e){let t,n;return{c(){t=g("p"),n=b(/*helperlinktitle*/e[11]),k(t,"class","HelperTitle"),k(t,"part","HelperTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*helperlinktitle*/2048&t[0]&&T(n,/*helperlinktitle*/e[11])},d(e){e&&p(t)}}}
690
+ function Rr(e){let t,n;return{c(){t=g("p"),n=b(/*helperlinktitle*/e[11]),k(t,"class","HelperTitle"),k(t,"part","HelperTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*helperlinktitle*/2048&t[0]&&S(n,/*helperlinktitle*/e[11])},d(e){e&&p(t)}}}
691
691
  // (80:10) {#if paymenttitle}
692
- function Cr(e){let t,n;return{c(){t=g("p"),n=b(/*paymenttitle*/e[5]),k(t,"class","PaymentTitle"),k(t,"part","PaymentTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*paymenttitle*/32&t[0]&&T(n,/*paymenttitle*/e[5])},d(e){e&&p(t)}}}
692
+ function Yr(e){let t,n;return{c(){t=g("p"),n=b(/*paymenttitle*/e[5]),k(t,"class","PaymentTitle"),k(t,"part","PaymentTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*paymenttitle*/32&t[0]&&S(n,/*paymenttitle*/e[5])},d(e){e&&p(t)}}}
693
693
  // (68:10) {#if sponsortitle}
694
- function Br(e){let t,n;return{c(){t=g("p"),n=b(/*sponsortitle*/e[2]),k(t,"class","SponsorTitle"),k(t,"part","SponsorTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*sponsortitle*/4&t[0]&&T(n,/*sponsortitle*/e[2])},d(e){e&&p(t)}}}function Nr(t){let n;let r=function(e,t){/*device*/
695
- return"PC"==e[24]?vr:_r}(t),i=r(t);return{c(){n=g("div"),i.c(),this.c=e,k(n,"class","ThumbnailContainer"),k(n,"part","ThumbnailContainer")},m(e,r){f(e,n,r),i.m(n,null),
694
+ function Ur(e){let t,n;return{c(){t=g("p"),n=b(/*sponsortitle*/e[2]),k(t,"class","SponsorTitle"),k(t,"part","SponsorTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*sponsortitle*/4&t[0]&&S(n,/*sponsortitle*/e[2])},d(e){e&&p(t)}}}function Gr(t){let n;let r=function(e,t){/*device*/
695
+ return"PC"==e[24]?Sr:Er}(t),i=r(t);return{c(){n=g("div"),i.c(),this.c=e,k(n,"class","ThumbnailContainer"),k(n,"part","ThumbnailContainer")},m(e,r){f(e,n,r),i.m(n,null),
696
696
  /*div_binding*/t[34](n)},p(e,t){i.p(e,t)},i:e,o:e,d(e){e&&p(n),i.d(),
697
- /*div_binding*/t[34](null)}}}function Rr(e,t,n){let r,{sponsorurl:i=""}=t,{sponsorimage:o=""}=t,{sponsortitle:s=""}=t,{paymenturl:a=""}=t,{paymentimage:l=""}=t,{paymenttitle:c=""}=t,{vendorurl:u=""}=t,{vendorimage:h=""}=t,{vendortitle:d=""}=t,{helperlinkurl:f=""}=t,{helperlinkimage:p=""}=t,{helperlinktitle:m=""}=t,{licenseurl:g=""}=t,{licenseimage:y=""}=t,{licensetitle:b=""}=t,{sociallinkurl:_=""}=t,{sociallinkimage:v=""}=t,{sociallinktitle:w=""}=t,{target:k="_self"}=t,{linktype:E="false"}=t,{displaycolumn:T=""}=t,{baseurl:S=""}=t,{lang:x=""}=t,{clientstyling:L=""}=t,{clientstylingurl:D=""}=t,M=window.navigator.userAgent,F=br(M);const $=(e,t)=>{t?
697
+ /*div_binding*/t[34](null)}}}function jr(e,t,n){let r,{sponsorurl:i=""}=t,{sponsorimage:o=""}=t,{sponsortitle:s=""}=t,{paymenturl:a=""}=t,{paymentimage:l=""}=t,{paymenttitle:c=""}=t,{vendorurl:u=""}=t,{vendorimage:h=""}=t,{vendortitle:d=""}=t,{helperlinkurl:f=""}=t,{helperlinkimage:p=""}=t,{helperlinktitle:m=""}=t,{licenseurl:g=""}=t,{licenseimage:y=""}=t,{licensetitle:b=""}=t,{sociallinkurl:_=""}=t,{sociallinkimage:v=""}=t,{sociallinktitle:w=""}=t,{target:k="_self"}=t,{linktype:E="false"}=t,{displaycolumn:S=""}=t,{baseurl:T=""}=t,{lang:x=""}=t,{clientstyling:L=""}=t,{clientstylingurl:M=""}=t,D=window.navigator.userAgent,F=kr(D);const I=(e,t)=>{t?
698
698
  // if link is external, inform FE
699
699
  window.postMessage({type:"ExternalLinkNavigation",externalUrl:e},window.location.href):
700
700
  // if link is internal, inform FE
701
- window.postMessage({type:"LinkNavigation",navUrl:e},window.location.href)};return e.$$set=e=>{"sponsorurl"in e&&n(0,i=e.sponsorurl),"sponsorimage"in e&&n(1,o=e.sponsorimage),"sponsortitle"in e&&n(2,s=e.sponsortitle),"paymenturl"in e&&n(3,a=e.paymenturl),"paymentimage"in e&&n(4,l=e.paymentimage),"paymenttitle"in e&&n(5,c=e.paymenttitle),"vendorurl"in e&&n(6,u=e.vendorurl),"vendorimage"in e&&n(7,h=e.vendorimage),"vendortitle"in e&&n(8,d=e.vendortitle),"helperlinkurl"in e&&n(9,f=e.helperlinkurl),"helperlinkimage"in e&&n(10,p=e.helperlinkimage),"helperlinktitle"in e&&n(11,m=e.helperlinktitle),"licenseurl"in e&&n(12,g=e.licenseurl),"licenseimage"in e&&n(13,y=e.licenseimage),"licensetitle"in e&&n(14,b=e.licensetitle),"sociallinkurl"in e&&n(15,_=e.sociallinkurl),"sociallinkimage"in e&&n(16,v=e.sociallinkimage),"sociallinktitle"in e&&n(17,w=e.sociallinktitle),"target"in e&&n(18,k=e.target),"linktype"in e&&n(19,E=e.linktype),"displaycolumn"in e&&n(20,T=e.displaycolumn),"baseurl"in e&&n(21,S=e.baseurl),"lang"in e&&n(22,x=e.lang),"clientstyling"in e&&n(26,L=e.clientstyling),"clientstylingurl"in e&&n(27,D=e.clientstylingurl)},e.$$.update=()=>{/*clientstyling, customStylingContainer*/75497472&e.$$.dirty[0]&&L&&r&&(()=>{let e=document.createElement("style");e.innerHTML=L,r.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/142606336&e.$$.dirty[0]&&D&&r&&(()=>{let e=new URL(D),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{r.appendChild(t)}),1)}))})()},[i,o,s,a,l,c,u,h,d,f,p,m,g,y,b,_,v,w,k,E,T,S,x,r,F,$,L,D,()=>$(E?i:S+`/${x}/`+i,E),()=>$(E?a:S+`/${x}/`+a,E),()=>$(E?u:S+`/${x}/`+u,E),()=>$(E?f:S+`/${x}/`+f,E),()=>$(E?g:S+`/${x}/`+g,E),()=>$(E?_:S+`/${x}/`+_,E),function(e){I[e?"unshift":"push"]((()=>{r=e,n(23,r)}))}]}
702
- /* ../casino-footer-section/src/CasinoFooterSection.svelte generated by Svelte v3.58.0 */
703
- function Yr(e,t,n){const r=e.slice();return r[31]=t[n],r}function Ur(e,t,n){const r=e.slice();return r[31]=t[n],r}function Gr(e,t,n){const r=e.slice();return r[31]=t[n],r}function jr(e,t,n){const r=e.slice();return r[31]=t[n],r}function Vr(e,t,n){const r=e.slice();return r[28]=t[n],r}function Wr(e,t,n){const r=e.slice();return r[25]=t[n],r}
701
+ window.postMessage({type:"LinkNavigation",navUrl:e},window.location.href)};return e.$$set=e=>{"sponsorurl"in e&&n(0,i=e.sponsorurl),"sponsorimage"in e&&n(1,o=e.sponsorimage),"sponsortitle"in e&&n(2,s=e.sponsortitle),"paymenturl"in e&&n(3,a=e.paymenturl),"paymentimage"in e&&n(4,l=e.paymentimage),"paymenttitle"in e&&n(5,c=e.paymenttitle),"vendorurl"in e&&n(6,u=e.vendorurl),"vendorimage"in e&&n(7,h=e.vendorimage),"vendortitle"in e&&n(8,d=e.vendortitle),"helperlinkurl"in e&&n(9,f=e.helperlinkurl),"helperlinkimage"in e&&n(10,p=e.helperlinkimage),"helperlinktitle"in e&&n(11,m=e.helperlinktitle),"licenseurl"in e&&n(12,g=e.licenseurl),"licenseimage"in e&&n(13,y=e.licenseimage),"licensetitle"in e&&n(14,b=e.licensetitle),"sociallinkurl"in e&&n(15,_=e.sociallinkurl),"sociallinkimage"in e&&n(16,v=e.sociallinkimage),"sociallinktitle"in e&&n(17,w=e.sociallinktitle),"target"in e&&n(18,k=e.target),"linktype"in e&&n(19,E=e.linktype),"displaycolumn"in e&&n(20,S=e.displaycolumn),"baseurl"in e&&n(21,T=e.baseurl),"lang"in e&&n(22,x=e.lang),"clientstyling"in e&&n(26,L=e.clientstyling),"clientstylingurl"in e&&n(27,M=e.clientstylingurl)},e.$$.update=()=>{/*clientstyling, customStylingContainer*/75497472&e.$$.dirty[0]&&L&&r&&(()=>{let e=document.createElement("style");e.innerHTML=L,r.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/142606336&e.$$.dirty[0]&&M&&r&&(()=>{let e=new URL(M),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{r.appendChild(t)}),1)}))})()},[i,o,s,a,l,c,u,h,d,f,p,m,g,y,b,_,v,w,k,E,S,T,x,r,F,I,L,M,()=>I(E?i:T+`/${x}/`+i,E),()=>I(E?a:T+`/${x}/`+a,E),()=>I(E?u:T+`/${x}/`+u,E),()=>I(E?f:T+`/${x}/`+f,E),()=>I(E?g:T+`/${x}/`+g,E),()=>I(E?_:T+`/${x}/`+_,E),function(e){$[e?"unshift":"push"]((()=>{r=e,n(23,r)}))}]}
702
+ /* ../casino-footer-section/src/CasinoFooterSection.svelte generated by Svelte v3.59.2 */
703
+ function Vr(e,t,n){const r=e.slice();return r[31]=t[n],r}function Wr(e,t,n){const r=e.slice();return r[31]=t[n],r}function zr(e,t,n){const r=e.slice();return r[31]=t[n],r}function Zr(e,t,n){const r=e.slice();return r[31]=t[n],r}function Xr(e,t,n){const r=e.slice();return r[28]=t[n],r}function Kr(e,t,n){const r=e.slice();return r[25]=t[n],r}
704
704
  // (147:51)
705
- function zr(e){let t,n=/*footersociallinks*/e[17],r=[];for(let t=0;t<n.length;t+=1)r[t]=Qr(Yr(e,n,t));return{c(){t=g("div");for(let e=0;e<r.length;e+=1)r[e].c();k(t,"class","FooterSectionInnerContainer"),k(t,"part","FooterSectionInnerContainer")},m(e,n){f(e,t,n);for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,null)},p(e,i){if(/*footersociallinks, clientstyling, clientstylingurl, baseurl, lang*/132992&i[0]){let o;for(n=/*footersociallinks*/e[17],o=0;o<n.length;o+=1){const s=Yr(e,n,o);r[o]?r[o].p(s,i):(r[o]=Qr(s),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&&p(t),m(r,e)}}}
705
+ function qr(e){let t,n=/*footersociallinks*/e[17],r=[];for(let t=0;t<n.length;t+=1)r[t]=ri(Vr(e,n,t));return{c(){t=g("div");for(let e=0;e<r.length;e+=1)r[e].c();k(t,"class","FooterSectionInnerContainer"),k(t,"part","FooterSectionInnerContainer")},m(e,n){f(e,t,n);for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,null)},p(e,i){if(/*footersociallinks, clientstyling, clientstylingurl, baseurl, lang*/132992&i[0]){let o;for(n=/*footersociallinks*/e[17],o=0;o<n.length;o+=1){const s=Vr(e,n,o);r[o]?r[o].p(s,i):(r[o]=ri(s),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&&p(t),m(r,e)}}}
706
706
  // (132:49)
707
- function Zr(e){let t,n=/*footerlicenses*/e[16],r=[];for(let t=0;t<n.length;t+=1)r[t]=ei(Ur(e,n,t));return{c(){t=g("div");for(let e=0;e<r.length;e+=1)r[e].c();k(t,"class","FooterSectionInnerContainer"),k(t,"part","FooterSectionInnerContainer")},m(e,n){f(e,t,n);for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,null)},p(e,i){if(/*footerlicenses, clientstyling, clientstylingurl, baseurl, lang*/67456&i[0]){let o;for(n=/*footerlicenses*/e[16],o=0;o<n.length;o+=1){const s=Ur(e,n,o);r[o]?r[o].p(s,i):(r[o]=ei(s),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&&p(t),m(r,e)}}}
707
+ function Jr(e){let t,n=/*footerlicenses*/e[16],r=[];for(let t=0;t<n.length;t+=1)r[t]=ii(Wr(e,n,t));return{c(){t=g("div");for(let e=0;e<r.length;e+=1)r[e].c();k(t,"class","FooterSectionInnerContainer"),k(t,"part","FooterSectionInnerContainer")},m(e,n){f(e,t,n);for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,null)},p(e,i){if(/*footerlicenses, clientstyling, clientstylingurl, baseurl, lang*/67456&i[0]){let o;for(n=/*footerlicenses*/e[16],o=0;o<n.length;o+=1){const s=Wr(e,n,o);r[o]?r[o].p(s,i):(r[o]=ii(s),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&&p(t),m(r,e)}}}
708
708
  // (116:51)
709
- function Xr(e){let t,n,r=/*footerhelperlinks*/e[15],i=[];for(let t=0;t<r.length;t+=1)i[t]=ti(Gr(e,r,t));return{c(){t=g("div");for(let e=0;e<i.length;e+=1)i[e].c();k(t,"class",n="FooterSectionInnerContainer "+(/*displaycolumn*/"true"==e[6]?"DisplayColumn":"")),k(t,"part","FooterSectionInnerContainer")},m(e,n){f(e,t,n);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,null)},p(e,o){if(/*footerhelperlinks, clientstyling, clientstylingurl, displaycolumn, baseurl, lang*/34752&o[0]){let n;for(r=/*footerhelperlinks*/e[15],n=0;n<r.length;n+=1){const s=Gr(e,r,n);i[n]?i[n].p(s,o):(i[n]=ti(s),i[n].c(),i[n].m(t,null))}for(;n<i.length;n+=1)i[n].d(1);i.length=r.length}/*displaycolumn*/64&o[0]&&n!==(n="FooterSectionInnerContainer "+(/*displaycolumn*/"true"==e[6]?"DisplayColumn":""))&&k(t,"class",n)},d(e){e&&p(t),m(i,e)}}}
709
+ function Qr(e){let t,n,r=/*footerhelperlinks*/e[15],i=[];for(let t=0;t<r.length;t+=1)i[t]=oi(zr(e,r,t));return{c(){t=g("div");for(let e=0;e<i.length;e+=1)i[e].c();k(t,"class",n="FooterSectionInnerContainer "+(/*displaycolumn*/"true"==e[6]?"DisplayColumn":"")),k(t,"part","FooterSectionInnerContainer")},m(e,n){f(e,t,n);for(let e=0;e<i.length;e+=1)i[e]&&i[e].m(t,null)},p(e,o){if(/*footerhelperlinks, clientstyling, clientstylingurl, displaycolumn, baseurl, lang*/34752&o[0]){let n;for(r=/*footerhelperlinks*/e[15],n=0;n<r.length;n+=1){const s=zr(e,r,n);i[n]?i[n].p(s,o):(i[n]=oi(s),i[n].c(),i[n].m(t,null))}for(;n<i.length;n+=1)i[n].d(1);i.length=r.length}/*displaycolumn*/64&o[0]&&n!==(n="FooterSectionInnerContainer "+(/*displaycolumn*/"true"==e[6]?"DisplayColumn":""))&&k(t,"class",n)},d(e){e&&p(t),m(i,e)}}}
710
710
  // (101:47)
711
- function Kr(e){let t,n=/*footervendors*/e[14],r=[];for(let t=0;t<n.length;t+=1)r[t]=ni(jr(e,n,t));return{c(){t=g("div");for(let e=0;e<r.length;e+=1)r[e].c();k(t,"class","FooterSectionInnerContainer"),k(t,"part","FooterSectionInnerContainer")},m(e,n){f(e,t,n);for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,null)},p(e,i){if(/*footervendors, clientstyling, clientstylingurl, baseurl, lang*/18304&i[0]){let o;for(n=/*footervendors*/e[14],o=0;o<n.length;o+=1){const s=jr(e,n,o);r[o]?r[o].p(s,i):(r[o]=ni(s),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&&p(t),m(r,e)}}}
711
+ function ei(e){let t,n=/*footervendors*/e[14],r=[];for(let t=0;t<n.length;t+=1)r[t]=si(Zr(e,n,t));return{c(){t=g("div");for(let e=0;e<r.length;e+=1)r[e].c();k(t,"class","FooterSectionInnerContainer"),k(t,"part","FooterSectionInnerContainer")},m(e,n){f(e,t,n);for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,null)},p(e,i){if(/*footervendors, clientstyling, clientstylingurl, baseurl, lang*/18304&i[0]){let o;for(n=/*footervendors*/e[14],o=0;o<n.length;o+=1){const s=Zr(e,n,o);r[o]?r[o].p(s,i):(r[o]=si(s),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&&p(t),m(r,e)}}}
712
712
  // (86:48)
713
- function qr(e){let t,n=/*footerpayment*/e[13],r=[];for(let t=0;t<n.length;t+=1)r[t]=ri(Vr(e,n,t));return{c(){t=g("div");for(let e=0;e<r.length;e+=1)r[e].c();k(t,"class","FooterSectionInnerContainer"),k(t,"part","FooterSectionInnerContainer")},m(e,n){f(e,t,n);for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,null)},p(e,i){if(/*footerpayment, clientstyling, clientstylingurl, baseurl, lang*/10112&i[0]){let o;for(n=/*footerpayment*/e[13],o=0;o<n.length;o+=1){const s=Vr(e,n,o);r[o]?r[o].p(s,i):(r[o]=ri(s),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&&p(t),m(r,e)}}}
713
+ function ti(e){let t,n=/*footerpayment*/e[13],r=[];for(let t=0;t<n.length;t+=1)r[t]=ai(Xr(e,n,t));return{c(){t=g("div");for(let e=0;e<r.length;e+=1)r[e].c();k(t,"class","FooterSectionInnerContainer"),k(t,"part","FooterSectionInnerContainer")},m(e,n){f(e,t,n);for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,null)},p(e,i){if(/*footerpayment, clientstyling, clientstylingurl, baseurl, lang*/10112&i[0]){let o;for(n=/*footerpayment*/e[13],o=0;o<n.length;o+=1){const s=Xr(e,n,o);r[o]?r[o].p(s,i):(r[o]=ai(s),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&&p(t),m(r,e)}}}
714
714
  // (71:2) {#if sponsorflag && footersponsors.length}
715
- function Jr(e){let t,n=/*footersponsors*/e[12],r=[];for(let t=0;t<n.length;t+=1)r[t]=ii(Wr(e,n,t));return{c(){t=g("div");for(let e=0;e<r.length;e+=1)r[e].c();k(t,"class","FooterSectionInnerContainer"),k(t,"part","FooterSectionInnerContainer")},m(e,n){f(e,t,n);for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,null)},p(e,i){if(/*footersponsors, clientstyling, clientstylingurl, baseurl, lang*/6016&i[0]){let o;for(n=/*footersponsors*/e[12],o=0;o<n.length;o+=1){const s=Wr(e,n,o);r[o]?r[o].p(s,i):(r[o]=ii(s),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&&p(t),m(r,e)}}}
715
+ function ni(e){let t,n=/*footersponsors*/e[12],r=[];for(let t=0;t<n.length;t+=1)r[t]=li(Kr(e,n,t));return{c(){t=g("div");for(let e=0;e<r.length;e+=1)r[e].c();k(t,"class","FooterSectionInnerContainer"),k(t,"part","FooterSectionInnerContainer")},m(e,n){f(e,t,n);for(let e=0;e<r.length;e+=1)r[e]&&r[e].m(t,null)},p(e,i){if(/*footersponsors, clientstyling, clientstylingurl, baseurl, lang*/6016&i[0]){let o;for(n=/*footersponsors*/e[12],o=0;o<n.length;o+=1){const s=Kr(e,n,o);r[o]?r[o].p(s,i):(r[o]=li(s),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&&p(t),m(r,e)}}}
716
716
  // (149:6) {#each footersociallinks as footerData}
717
- function Qr(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"sociallinkurl",n=/*footerData*/e[31].socialLinkUrl),E(t,"sociallinkimage",r=/*footerData*/e[31].socialLinkImage),E(t,"sociallinktitle",i=/*footerData*/e[31].socialLinkTitle),E(t,"clientstyling",/*clientstyling*/e[9]),E(t,"clientstylingurl",/*clientstylingurl*/e[10]),E(t,"linktype",o=/*footerData*/e[31]?.isExternalLink),E(t,"target",s=/*footerData*/e[31]?.target),E(t,"baseurl",/*baseurl*/e[7]),E(t,"lang",/*lang*/e[8])},m(e,n){f(e,t,n)},p(e,a){/*footersociallinks*/131072&a[0]&&n!==(n=/*footerData*/e[31].socialLinkUrl)&&E(t,"sociallinkurl",n),/*footersociallinks*/131072&a[0]&&r!==(r=/*footerData*/e[31].socialLinkImage)&&E(t,"sociallinkimage",r),/*footersociallinks*/131072&a[0]&&i!==(i=/*footerData*/e[31].socialLinkTitle)&&E(t,"sociallinktitle",i),/*clientstyling*/512&a[0]&&E(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&a[0]&&E(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*footersociallinks*/131072&a[0]&&o!==(o=/*footerData*/e[31]?.isExternalLink)&&E(t,"linktype",o),/*footersociallinks*/131072&a[0]&&s!==(s=/*footerData*/e[31]?.target)&&E(t,"target",s),/*baseurl*/128&a[0]&&E(t,"baseurl",/*baseurl*/e[7]),/*lang*/256&a[0]&&E(t,"lang",/*lang*/e[8])},d(e){e&&p(t)}}}
717
+ function ri(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"sociallinkurl",n=/*footerData*/e[31].socialLinkUrl),E(t,"sociallinkimage",r=/*footerData*/e[31].socialLinkImage),E(t,"sociallinktitle",i=/*footerData*/e[31].socialLinkTitle),E(t,"clientstyling",/*clientstyling*/e[9]),E(t,"clientstylingurl",/*clientstylingurl*/e[10]),E(t,"linktype",o=/*footerData*/e[31]?.isExternalLink),E(t,"target",s=/*footerData*/e[31]?.target),E(t,"baseurl",/*baseurl*/e[7]),E(t,"lang",/*lang*/e[8])},m(e,n){f(e,t,n)},p(e,a){/*footersociallinks*/131072&a[0]&&n!==(n=/*footerData*/e[31].socialLinkUrl)&&E(t,"sociallinkurl",n),/*footersociallinks*/131072&a[0]&&r!==(r=/*footerData*/e[31].socialLinkImage)&&E(t,"sociallinkimage",r),/*footersociallinks*/131072&a[0]&&i!==(i=/*footerData*/e[31].socialLinkTitle)&&E(t,"sociallinktitle",i),/*clientstyling*/512&a[0]&&E(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&a[0]&&E(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*footersociallinks*/131072&a[0]&&o!==(o=/*footerData*/e[31]?.isExternalLink)&&E(t,"linktype",o),/*footersociallinks*/131072&a[0]&&s!==(s=/*footerData*/e[31]?.target)&&E(t,"target",s),/*baseurl*/128&a[0]&&E(t,"baseurl",/*baseurl*/e[7]),/*lang*/256&a[0]&&E(t,"lang",/*lang*/e[8])},d(e){e&&p(t)}}}
718
718
  // (134:6) {#each footerlicenses as footerData}
719
- function ei(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"licenseurl",n=/*footerData*/e[31].licenseUrl),E(t,"licenseimage",r=/*footerData*/e[31].licenseImage),E(t,"licensetitle",i=/*footerData*/e[31].licenseTitle),E(t,"clientstyling",/*clientstyling*/e[9]),E(t,"clientstylingurl",/*clientstylingurl*/e[10]),E(t,"linktype",o=/*footerData*/e[31]?.isExternalLink),E(t,"target",s=/*footerData*/e[31]?.target),E(t,"baseurl",/*baseurl*/e[7]),E(t,"lang",/*lang*/e[8])},m(e,n){f(e,t,n)},p(e,a){/*footerlicenses*/65536&a[0]&&n!==(n=/*footerData*/e[31].licenseUrl)&&E(t,"licenseurl",n),/*footerlicenses*/65536&a[0]&&r!==(r=/*footerData*/e[31].licenseImage)&&E(t,"licenseimage",r),/*footerlicenses*/65536&a[0]&&i!==(i=/*footerData*/e[31].licenseTitle)&&E(t,"licensetitle",i),/*clientstyling*/512&a[0]&&E(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&a[0]&&E(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*footerlicenses*/65536&a[0]&&o!==(o=/*footerData*/e[31]?.isExternalLink)&&E(t,"linktype",o),/*footerlicenses*/65536&a[0]&&s!==(s=/*footerData*/e[31]?.target)&&E(t,"target",s),/*baseurl*/128&a[0]&&E(t,"baseurl",/*baseurl*/e[7]),/*lang*/256&a[0]&&E(t,"lang",/*lang*/e[8])},d(e){e&&p(t)}}}
719
+ function ii(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"licenseurl",n=/*footerData*/e[31].licenseUrl),E(t,"licenseimage",r=/*footerData*/e[31].licenseImage),E(t,"licensetitle",i=/*footerData*/e[31].licenseTitle),E(t,"clientstyling",/*clientstyling*/e[9]),E(t,"clientstylingurl",/*clientstylingurl*/e[10]),E(t,"linktype",o=/*footerData*/e[31]?.isExternalLink),E(t,"target",s=/*footerData*/e[31]?.target),E(t,"baseurl",/*baseurl*/e[7]),E(t,"lang",/*lang*/e[8])},m(e,n){f(e,t,n)},p(e,a){/*footerlicenses*/65536&a[0]&&n!==(n=/*footerData*/e[31].licenseUrl)&&E(t,"licenseurl",n),/*footerlicenses*/65536&a[0]&&r!==(r=/*footerData*/e[31].licenseImage)&&E(t,"licenseimage",r),/*footerlicenses*/65536&a[0]&&i!==(i=/*footerData*/e[31].licenseTitle)&&E(t,"licensetitle",i),/*clientstyling*/512&a[0]&&E(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&a[0]&&E(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*footerlicenses*/65536&a[0]&&o!==(o=/*footerData*/e[31]?.isExternalLink)&&E(t,"linktype",o),/*footerlicenses*/65536&a[0]&&s!==(s=/*footerData*/e[31]?.target)&&E(t,"target",s),/*baseurl*/128&a[0]&&E(t,"baseurl",/*baseurl*/e[7]),/*lang*/256&a[0]&&E(t,"lang",/*lang*/e[8])},d(e){e&&p(t)}}}
720
720
  // (118:6) {#each footerhelperlinks as footerData}
721
- function ti(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"helperlinkurl",n=/*footerData*/e[31].helpLinkUrl),E(t,"helperlinkimage",r=/*footerData*/e[31].helpLinkImage),E(t,"helperlinktitle",i=/*footerData*/e[31].helpLinkTitle),E(t,"clientstyling",/*clientstyling*/e[9]),E(t,"clientstylingurl",/*clientstylingurl*/e[10]),E(t,"displaycolumn",/*displaycolumn*/e[6]),E(t,"linktype",o=/*footerData*/e[31]?.helpLinkType),E(t,"target",s=/*footerData*/e[31]?.target),E(t,"baseurl",/*baseurl*/e[7]),E(t,"lang",/*lang*/e[8])},m(e,n){f(e,t,n)},p(e,a){/*footerhelperlinks*/32768&a[0]&&n!==(n=/*footerData*/e[31].helpLinkUrl)&&E(t,"helperlinkurl",n),/*footerhelperlinks*/32768&a[0]&&r!==(r=/*footerData*/e[31].helpLinkImage)&&E(t,"helperlinkimage",r),/*footerhelperlinks*/32768&a[0]&&i!==(i=/*footerData*/e[31].helpLinkTitle)&&E(t,"helperlinktitle",i),/*clientstyling*/512&a[0]&&E(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&a[0]&&E(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*displaycolumn*/64&a[0]&&E(t,"displaycolumn",/*displaycolumn*/e[6]),/*footerhelperlinks*/32768&a[0]&&o!==(o=/*footerData*/e[31]?.helpLinkType)&&E(t,"linktype",o),/*footerhelperlinks*/32768&a[0]&&s!==(s=/*footerData*/e[31]?.target)&&E(t,"target",s),/*baseurl*/128&a[0]&&E(t,"baseurl",/*baseurl*/e[7]),/*lang*/256&a[0]&&E(t,"lang",/*lang*/e[8])},d(e){e&&p(t)}}}
721
+ function oi(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"helperlinkurl",n=/*footerData*/e[31].helpLinkUrl),E(t,"helperlinkimage",r=/*footerData*/e[31].helpLinkImage),E(t,"helperlinktitle",i=/*footerData*/e[31].helpLinkTitle),E(t,"clientstyling",/*clientstyling*/e[9]),E(t,"clientstylingurl",/*clientstylingurl*/e[10]),E(t,"displaycolumn",/*displaycolumn*/e[6]),E(t,"linktype",o=/*footerData*/e[31]?.helpLinkType),E(t,"target",s=/*footerData*/e[31]?.target),E(t,"baseurl",/*baseurl*/e[7]),E(t,"lang",/*lang*/e[8])},m(e,n){f(e,t,n)},p(e,a){/*footerhelperlinks*/32768&a[0]&&n!==(n=/*footerData*/e[31].helpLinkUrl)&&E(t,"helperlinkurl",n),/*footerhelperlinks*/32768&a[0]&&r!==(r=/*footerData*/e[31].helpLinkImage)&&E(t,"helperlinkimage",r),/*footerhelperlinks*/32768&a[0]&&i!==(i=/*footerData*/e[31].helpLinkTitle)&&E(t,"helperlinktitle",i),/*clientstyling*/512&a[0]&&E(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&a[0]&&E(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*displaycolumn*/64&a[0]&&E(t,"displaycolumn",/*displaycolumn*/e[6]),/*footerhelperlinks*/32768&a[0]&&o!==(o=/*footerData*/e[31]?.helpLinkType)&&E(t,"linktype",o),/*footerhelperlinks*/32768&a[0]&&s!==(s=/*footerData*/e[31]?.target)&&E(t,"target",s),/*baseurl*/128&a[0]&&E(t,"baseurl",/*baseurl*/e[7]),/*lang*/256&a[0]&&E(t,"lang",/*lang*/e[8])},d(e){e&&p(t)}}}
722
722
  // (103:6) {#each footervendors as footerData}
723
- function ni(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"vendorurl",n=/*footerData*/e[31].gameVendorUrl),E(t,"vendorimage",r=/*footerData*/e[31].gameVendorImage),E(t,"vendortitle",i=/*footerData*/e[31].gameVendorTitle),E(t,"clientstyling",/*clientstyling*/e[9]),E(t,"clientstylingurl",/*clientstylingurl*/e[10]),E(t,"linktype",o=/*footerData*/e[31]?.isExternalLink),E(t,"target",s=/*footerData*/e[31]?.target),E(t,"baseurl",/*baseurl*/e[7]),E(t,"lang",/*lang*/e[8])},m(e,n){f(e,t,n)},p(e,a){/*footervendors*/16384&a[0]&&n!==(n=/*footerData*/e[31].gameVendorUrl)&&E(t,"vendorurl",n),/*footervendors*/16384&a[0]&&r!==(r=/*footerData*/e[31].gameVendorImage)&&E(t,"vendorimage",r),/*footervendors*/16384&a[0]&&i!==(i=/*footerData*/e[31].gameVendorTitle)&&E(t,"vendortitle",i),/*clientstyling*/512&a[0]&&E(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&a[0]&&E(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*footervendors*/16384&a[0]&&o!==(o=/*footerData*/e[31]?.isExternalLink)&&E(t,"linktype",o),/*footervendors*/16384&a[0]&&s!==(s=/*footerData*/e[31]?.target)&&E(t,"target",s),/*baseurl*/128&a[0]&&E(t,"baseurl",/*baseurl*/e[7]),/*lang*/256&a[0]&&E(t,"lang",/*lang*/e[8])},d(e){e&&p(t)}}}
723
+ function si(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"vendorurl",n=/*footerData*/e[31].gameVendorUrl),E(t,"vendorimage",r=/*footerData*/e[31].gameVendorImage),E(t,"vendortitle",i=/*footerData*/e[31].gameVendorTitle),E(t,"clientstyling",/*clientstyling*/e[9]),E(t,"clientstylingurl",/*clientstylingurl*/e[10]),E(t,"linktype",o=/*footerData*/e[31]?.isExternalLink),E(t,"target",s=/*footerData*/e[31]?.target),E(t,"baseurl",/*baseurl*/e[7]),E(t,"lang",/*lang*/e[8])},m(e,n){f(e,t,n)},p(e,a){/*footervendors*/16384&a[0]&&n!==(n=/*footerData*/e[31].gameVendorUrl)&&E(t,"vendorurl",n),/*footervendors*/16384&a[0]&&r!==(r=/*footerData*/e[31].gameVendorImage)&&E(t,"vendorimage",r),/*footervendors*/16384&a[0]&&i!==(i=/*footerData*/e[31].gameVendorTitle)&&E(t,"vendortitle",i),/*clientstyling*/512&a[0]&&E(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&a[0]&&E(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*footervendors*/16384&a[0]&&o!==(o=/*footerData*/e[31]?.isExternalLink)&&E(t,"linktype",o),/*footervendors*/16384&a[0]&&s!==(s=/*footerData*/e[31]?.target)&&E(t,"target",s),/*baseurl*/128&a[0]&&E(t,"baseurl",/*baseurl*/e[7]),/*lang*/256&a[0]&&E(t,"lang",/*lang*/e[8])},d(e){e&&p(t)}}}
724
724
  // (88:4) {#each footerpayment as paymentData}
725
- function ri(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"paymenturl",n=/*paymentData*/e[28].paymentMethodUrl),E(t,"paymentimage",r=/*paymentData*/e[28].paymentMethodImage),E(t,"paymenttitle",i=/*paymentData*/e[28].paymentMethodTitle),E(t,"clientstyling",/*clientstyling*/e[9]),E(t,"clientstylingurl",/*clientstylingurl*/e[10]),E(t,"linktype",o=/*paymentData*/e[28]?.isExternalLink),E(t,"target",s=/*paymentData*/e[28]?.target),E(t,"baseurl",/*baseurl*/e[7]),E(t,"lang",/*lang*/e[8])},m(e,n){f(e,t,n)},p(e,a){/*footerpayment*/8192&a[0]&&n!==(n=/*paymentData*/e[28].paymentMethodUrl)&&E(t,"paymenturl",n),/*footerpayment*/8192&a[0]&&r!==(r=/*paymentData*/e[28].paymentMethodImage)&&E(t,"paymentimage",r),/*footerpayment*/8192&a[0]&&i!==(i=/*paymentData*/e[28].paymentMethodTitle)&&E(t,"paymenttitle",i),/*clientstyling*/512&a[0]&&E(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&a[0]&&E(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*footerpayment*/8192&a[0]&&o!==(o=/*paymentData*/e[28]?.isExternalLink)&&E(t,"linktype",o),/*footerpayment*/8192&a[0]&&s!==(s=/*paymentData*/e[28]?.target)&&E(t,"target",s),/*baseurl*/128&a[0]&&E(t,"baseurl",/*baseurl*/e[7]),/*lang*/256&a[0]&&E(t,"lang",/*lang*/e[8])},d(e){e&&p(t)}}}
725
+ function ai(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"paymenturl",n=/*paymentData*/e[28].paymentMethodUrl),E(t,"paymentimage",r=/*paymentData*/e[28].paymentMethodImage),E(t,"paymenttitle",i=/*paymentData*/e[28].paymentMethodTitle),E(t,"clientstyling",/*clientstyling*/e[9]),E(t,"clientstylingurl",/*clientstylingurl*/e[10]),E(t,"linktype",o=/*paymentData*/e[28]?.isExternalLink),E(t,"target",s=/*paymentData*/e[28]?.target),E(t,"baseurl",/*baseurl*/e[7]),E(t,"lang",/*lang*/e[8])},m(e,n){f(e,t,n)},p(e,a){/*footerpayment*/8192&a[0]&&n!==(n=/*paymentData*/e[28].paymentMethodUrl)&&E(t,"paymenturl",n),/*footerpayment*/8192&a[0]&&r!==(r=/*paymentData*/e[28].paymentMethodImage)&&E(t,"paymentimage",r),/*footerpayment*/8192&a[0]&&i!==(i=/*paymentData*/e[28].paymentMethodTitle)&&E(t,"paymenttitle",i),/*clientstyling*/512&a[0]&&E(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&a[0]&&E(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*footerpayment*/8192&a[0]&&o!==(o=/*paymentData*/e[28]?.isExternalLink)&&E(t,"linktype",o),/*footerpayment*/8192&a[0]&&s!==(s=/*paymentData*/e[28]?.target)&&E(t,"target",s),/*baseurl*/128&a[0]&&E(t,"baseurl",/*baseurl*/e[7]),/*lang*/256&a[0]&&E(t,"lang",/*lang*/e[8])},d(e){e&&p(t)}}}
726
726
  // (73:6) {#each footersponsors as sponsorData}
727
- function ii(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"sponsorurl",n=/*sponsorData*/e[25].sponsorUrl),E(t,"sponsorimage",r=/*sponsorData*/e[25].sponsorImage),E(t,"sponsortitle",i=/*sponsorData*/e[25].sponsorTitle),E(t,"clientstyling",/*clientstyling*/e[9]),E(t,"clientstylingurl",/*clientstylingurl*/e[10]),E(t,"linktype",o=/*sponsorData*/e[25]?.isExternalLink),E(t,"target",s=/*sponsorData*/e[25]?.target),E(t,"baseurl",/*baseurl*/e[7]),E(t,"lang",/*lang*/e[8])},m(e,n){f(e,t,n)},p(e,a){/*footersponsors*/4096&a[0]&&n!==(n=/*sponsorData*/e[25].sponsorUrl)&&E(t,"sponsorurl",n),/*footersponsors*/4096&a[0]&&r!==(r=/*sponsorData*/e[25].sponsorImage)&&E(t,"sponsorimage",r),/*footersponsors*/4096&a[0]&&i!==(i=/*sponsorData*/e[25].sponsorTitle)&&E(t,"sponsortitle",i),/*clientstyling*/512&a[0]&&E(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&a[0]&&E(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*footersponsors*/4096&a[0]&&o!==(o=/*sponsorData*/e[25]?.isExternalLink)&&E(t,"linktype",o),/*footersponsors*/4096&a[0]&&s!==(s=/*sponsorData*/e[25]?.target)&&E(t,"target",s),/*baseurl*/128&a[0]&&E(t,"baseurl",/*baseurl*/e[7]),/*lang*/256&a[0]&&E(t,"lang",/*lang*/e[8])},d(e){e&&p(t)}}}function oi(t){let n;function r(e,t){/*sponsorflag*/
728
- return e[0]&&/*footersponsors*/e[12].length?Jr:/*paymentflag*/e[1]&&/*footerpayment*/e[13].length?qr:/*vendorflag*/e[2]&&/*footervendors*/e[14].length?Kr:/*helperflag*/e[3]&&/*footerhelperlinks*/e[15].length?Xr:/*licenseflag*/e[4]&&/*footerlicenses*/e[16].length?Zr:/*socialflag*/e[5]&&/*footersociallinks*/e[17].length?zr:void 0}let i=r(t),o=i&&i(t);return{c(){n=g("div"),o&&o.c(),this.c=e,k(n,"class","FooterSectionContainer"),k(n,"part","FooterSectionContainer")},m(e,r){f(e,n,r),o&&o.m(n,null)
727
+ function li(e){let t,n,r,i,o,s;return{c(){t=g("casino-footer-thumbnail"),E(t,"sponsorurl",n=/*sponsorData*/e[25].sponsorUrl),E(t,"sponsorimage",r=/*sponsorData*/e[25].sponsorImage),E(t,"sponsortitle",i=/*sponsorData*/e[25].sponsorTitle),E(t,"clientstyling",/*clientstyling*/e[9]),E(t,"clientstylingurl",/*clientstylingurl*/e[10]),E(t,"linktype",o=/*sponsorData*/e[25]?.isExternalLink),E(t,"target",s=/*sponsorData*/e[25]?.target),E(t,"baseurl",/*baseurl*/e[7]),E(t,"lang",/*lang*/e[8])},m(e,n){f(e,t,n)},p(e,a){/*footersponsors*/4096&a[0]&&n!==(n=/*sponsorData*/e[25].sponsorUrl)&&E(t,"sponsorurl",n),/*footersponsors*/4096&a[0]&&r!==(r=/*sponsorData*/e[25].sponsorImage)&&E(t,"sponsorimage",r),/*footersponsors*/4096&a[0]&&i!==(i=/*sponsorData*/e[25].sponsorTitle)&&E(t,"sponsortitle",i),/*clientstyling*/512&a[0]&&E(t,"clientstyling",/*clientstyling*/e[9]),/*clientstylingurl*/1024&a[0]&&E(t,"clientstylingurl",/*clientstylingurl*/e[10]),/*footersponsors*/4096&a[0]&&o!==(o=/*sponsorData*/e[25]?.isExternalLink)&&E(t,"linktype",o),/*footersponsors*/4096&a[0]&&s!==(s=/*sponsorData*/e[25]?.target)&&E(t,"target",s),/*baseurl*/128&a[0]&&E(t,"baseurl",/*baseurl*/e[7]),/*lang*/256&a[0]&&E(t,"lang",/*lang*/e[8])},d(e){e&&p(t)}}}function ci(t){let n;function r(e,t){/*sponsorflag*/
728
+ return e[0]&&/*footersponsors*/e[12].length?ni:/*paymentflag*/e[1]&&/*footerpayment*/e[13].length?ti:/*vendorflag*/e[2]&&/*footervendors*/e[14].length?ei:/*helperflag*/e[3]&&/*footerhelperlinks*/e[15].length?Qr:/*licenseflag*/e[4]&&/*footerlicenses*/e[16].length?Jr:/*socialflag*/e[5]&&/*footersociallinks*/e[17].length?qr:void 0}let i=r(t),o=i&&i(t);return{c(){n=g("div"),o&&o.c(),this.c=e,k(n,"class","FooterSectionContainer"),k(n,"part","FooterSectionContainer")},m(e,r){f(e,n,r),o&&o.m(n,null)
729
729
  /*div_binding*/,t[21](n)},p(e,t){i===(i=r(e))&&o?o.p(e,t):(o&&o.d(1),o=i&&i(e),o&&(o.c(),o.m(n,null)))},i:e,o:e,d(e){e&&p(n),o&&o.d()
730
- /*div_binding*/,t[21](null)}}}function si(e,t,n){let r,{sponsorflag:i=""}=t,{paymentflag:o=""}=t,{vendorflag:s=""}=t,{helperflag:a=""}=t,{licenseflag:l=""}=t,{socialflag:c=""}=t,{target:u=""}=t,{displaycolumn:h=""}=t,{category:d=""}=t,{baseurl:f=""}=t,{lang:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{footertype:y=""}=t,b=[],_=[],v=[],w=[],k=[],E=[];const T=e=>{e.data&&"FooterData"===e.data.type&&(n(12,b=e.data.sponsorsRepeater),n(13,_=e.data.paymentMethodsRepeater),n(14,v=e.data.gameVendorsRepeater),n(15,w=e.data.helpLinksRepeater),n(16,k=e.data.licensesRepeater),n(17,E=e.data.socialLinksRepeater),d&&n(15,w=w.filter((e=>e.key==d))),
730
+ /*div_binding*/,t[21](null)}}}function ui(e,t,n){let r,{sponsorflag:i=""}=t,{paymentflag:o=""}=t,{vendorflag:s=""}=t,{helperflag:a=""}=t,{licenseflag:l=""}=t,{socialflag:c=""}=t,{target:u=""}=t,{displaycolumn:h=""}=t,{category:d=""}=t,{baseurl:f=""}=t,{lang:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{footertype:y=""}=t,b=[],_=[],v=[],w=[],k=[],E=[];const S=e=>{e.data&&"FooterData"===e.data.type&&(n(12,b=e.data.sponsorsRepeater),n(13,_=e.data.paymentMethodsRepeater),n(14,v=e.data.gameVendorsRepeater),n(15,w=e.data.helpLinksRepeater),n(16,k=e.data.licensesRepeater),n(17,E=e.data.socialLinksRepeater),d&&n(15,w=w.filter((e=>e.key==d))),
731
731
  // casino-footer-v2 uses a different structure for the CMS data for the helper links
732
- "footersecondary"===y&&n(15,w=w[0].value))};return M((()=>(window.addEventListener("message",T,!1),()=>{window.removeEventListener("message",T)}))),e.$$set=e=>{"sponsorflag"in e&&n(0,i=e.sponsorflag),"paymentflag"in e&&n(1,o=e.paymentflag),"vendorflag"in e&&n(2,s=e.vendorflag),"helperflag"in e&&n(3,a=e.helperflag),"licenseflag"in e&&n(4,l=e.licenseflag),"socialflag"in e&&n(5,c=e.socialflag),"target"in e&&n(18,u=e.target),"displaycolumn"in e&&n(6,h=e.displaycolumn),"category"in e&&n(19,d=e.category),"baseurl"in e&&n(7,f=e.baseurl),"lang"in e&&n(8,p=e.lang),"clientstyling"in e&&n(9,m=e.clientstyling),"clientstylingurl"in e&&n(10,g=e.clientstylingurl),"footertype"in e&&n(20,y=e.footertype)},e.$$.update=()=>{/*clientstyling, customStylingContainer*/2560&e.$$.dirty[0]&&m&&r&&(()=>{let e=document.createElement("style");e.innerHTML=m,r.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/3072&e.$$.dirty[0]&&g&&r&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{r.appendChild(t)}),1)}))})()},[i,o,s,a,l,c,h,f,p,m,g,r,b,_,v,w,k,E,u,d,y,function(e){I[e?"unshift":"push"]((()=>{r=e,n(11,r)}))}]}!customElements.get("casino-footer-thumbnail")&&customElements.define("casino-footer-thumbnail",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent=":host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterItem{display:inline-block;padding:0 12px}.FooterItem .FooterSponsorLink,.FooterItem .FooterPaymentLink{display:block}.FooterItem .FooterSponsorLink{display:flex;align-items:center}.FooterItem .FooterPaymentLink,.FooterItem .FooterHelperLink{display:flex;align-items:center;justify-content:center}.FooterItem .FooterLinkDisabled{pointer-events:none;cursor:auto}.FooterItem .SponsorTitle,.FooterItem .PaymentTitle{font-size:9px;text-decoration:none;color:var(--emfe-w-color-gray-150, #828282);text-align:center}.FooterItem .HelperTitle{color:#111111;font-size:8px}.FooterItem.HelperLinkItem p{font-size:10px}.FooterItem .FooterItemAnchor{display:flex;flex-direction:column;gap:6px;text-decoration:none;cursor:pointer;border:none;background:transparent;padding:0}.FooterItem.SocialItem .FooterItemAnchor{width:42px;height:42px}.FooterItem .FooterImage{min-height:38px}.SponsorTitle{margin:0}.FooterLink{display:block;text-align:center}.DisplayColumn .FooterItemAnchor{flex-direction:row}.DisplayColumn .FooterImage{height:16px;width:16px;min-height:unset}.DisplayColumn.FooterItem.HelperLinkItem p{font-size:12px}@media only screen and (max-width: 768px){.FooterItem{padding:0 5px}.FooterItem.PaymentItem{padding:15px 5px}.FooterItem.GameVendorItem{padding:0 10px}}",this.shadowRoot.appendChild(t),V(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},Rr,Nr,o,{sponsorurl:0,sponsorimage:1,sponsortitle:2,paymenturl:3,paymentimage:4,paymenttitle:5,vendorurl:6,vendorimage:7,vendortitle:8,helperlinkurl:9,helperlinkimage:10,helperlinktitle:11,licenseurl:12,licenseimage:13,licensetitle:14,sociallinkurl:15,sociallinkimage:16,sociallinktitle:17,target:18,linktype:19,displaycolumn:20,baseurl:21,lang:22,clientstyling:26,clientstylingurl:27},null,[-1,-1]),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["sponsorurl","sponsorimage","sponsortitle","paymenturl","paymentimage","paymenttitle","vendorurl","vendorimage","vendortitle","helperlinkurl","helperlinkimage","helperlinktitle","licenseurl","licenseimage","licensetitle","sociallinkurl","sociallinkimage","sociallinktitle","target","linktype","displaycolumn","baseurl","lang","clientstyling","clientstylingurl"]}get sponsorurl(){return this.$$.ctx[0]}set sponsorurl(e){this.$$set({sponsorurl:e}),N()}get sponsorimage(){return this.$$.ctx[1]}set sponsorimage(e){this.$$set({sponsorimage:e}),N()}get sponsortitle(){return this.$$.ctx[2]}set sponsortitle(e){this.$$set({sponsortitle:e}),N()}get paymenturl(){return this.$$.ctx[3]}set paymenturl(e){this.$$set({paymenturl:e}),N()}get paymentimage(){return this.$$.ctx[4]}set paymentimage(e){this.$$set({paymentimage:e}),N()}get paymenttitle(){return this.$$.ctx[5]}set paymenttitle(e){this.$$set({paymenttitle:e}),N()}get vendorurl(){return this.$$.ctx[6]}set vendorurl(e){this.$$set({vendorurl:e}),N()}get vendorimage(){return this.$$.ctx[7]}set vendorimage(e){this.$$set({vendorimage:e}),N()}get vendortitle(){return this.$$.ctx[8]}set vendortitle(e){this.$$set({vendortitle:e}),N()}get helperlinkurl(){return this.$$.ctx[9]}set helperlinkurl(e){this.$$set({helperlinkurl:e}),N()}get helperlinkimage(){return this.$$.ctx[10]}set helperlinkimage(e){this.$$set({helperlinkimage:e}),N()}get helperlinktitle(){return this.$$.ctx[11]}set helperlinktitle(e){this.$$set({helperlinktitle:e}),N()}get licenseurl(){return this.$$.ctx[12]}set licenseurl(e){this.$$set({licenseurl:e}),N()}get licenseimage(){return this.$$.ctx[13]}set licenseimage(e){this.$$set({licenseimage:e}),N()}get licensetitle(){return this.$$.ctx[14]}set licensetitle(e){this.$$set({licensetitle:e}),N()}get sociallinkurl(){return this.$$.ctx[15]}set sociallinkurl(e){this.$$set({sociallinkurl:e}),N()}get sociallinkimage(){return this.$$.ctx[16]}set sociallinkimage(e){this.$$set({sociallinkimage:e}),N()}get sociallinktitle(){return this.$$.ctx[17]}set sociallinktitle(e){this.$$set({sociallinktitle:e}),N()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),N()}get linktype(){return this.$$.ctx[19]}set linktype(e){this.$$set({linktype:e}),N()}get displaycolumn(){return this.$$.ctx[20]}set displaycolumn(e){this.$$set({displaycolumn:e}),N()}get baseurl(){return this.$$.ctx[21]}set baseurl(e){this.$$set({baseurl:e}),N()}get lang(){return this.$$.ctx[22]}set lang(e){this.$$set({lang:e}),N()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),N()}});function ai(e,t){Vn(e,t)}!customElements.get("casino-footer-section")&&customElements.define("casino-footer-section",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent=":host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterSectionInnerContainer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.DisplayColumn{flex-direction:column;align-items:flex-start}",this.shadowRoot.appendChild(t),V(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},si,oi,o,{sponsorflag:0,paymentflag:1,vendorflag:2,helperflag:3,licenseflag:4,socialflag:5,target:18,displaycolumn:6,category:19,baseurl:7,lang:8,clientstyling:9,clientstylingurl:10,footertype:20},null,[-1,-1]),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["sponsorflag","paymentflag","vendorflag","helperflag","licenseflag","socialflag","target","displaycolumn","category","baseurl","lang","clientstyling","clientstylingurl","footertype"]}get sponsorflag(){return this.$$.ctx[0]}set sponsorflag(e){this.$$set({sponsorflag:e}),N()}get paymentflag(){return this.$$.ctx[1]}set paymentflag(e){this.$$set({paymentflag:e}),N()}get vendorflag(){return this.$$.ctx[2]}set vendorflag(e){this.$$set({vendorflag:e}),N()}get helperflag(){return this.$$.ctx[3]}set helperflag(e){this.$$set({helperflag:e}),N()}get licenseflag(){return this.$$.ctx[4]}set licenseflag(e){this.$$set({licenseflag:e}),N()}get socialflag(){return this.$$.ctx[5]}set socialflag(e){this.$$set({socialflag:e}),N()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),N()}get displaycolumn(){return this.$$.ctx[6]}set displaycolumn(e){this.$$set({displaycolumn:e}),N()}get category(){return this.$$.ctx[19]}set category(e){this.$$set({category:e}),N()}get baseurl(){return this.$$.ctx[7]}set baseurl(e){this.$$set({baseurl:e}),N()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),N()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),N()}get footertype(){return this.$$.ctx[20]}set footertype(e){this.$$set({footertype:e}),N()}});const li={en:{panicButtonString:"Hold button for 3 seconds to take 24-hour timeout"},"zh-hk":{panicButtonString:"长按3秒24小时即时锁定"},fr:{panicButtonString:"Maintenez le bouton enfoncé pendant 3 secondes pour prendre un verrouillage instantané de 24 heures"},ro:{panicButtonString:"Tine apasat 3 secunde pentru a lua o pauza de 24h"},es:{panicButtonString:"Dar clic durante 3 segundos para tomar un descanso de 24 horas"},de:{panicButtonString:"Button für 3 Sekunden drücken um eine 24-stündige Auszeit zu nehmen"},hr:{panicButtonString:"Držite gumb 3 sekunde kako biste aktivirali vremensko ograničenje od 24 sata"},sl:{panicButtonString:"Držite gumb 3 sekunde, da bi vzeli 24 urni premor"},pl:{panicButtonString:"Przytrzymaj przycisk przez 3 sekundy, aby uzyskać 24-godzinny limit czasu"}};
733
- /* ../panic-button/src/PanicButton.svelte generated by Svelte v3.58.0 */function ci(t){let n,r,i,o,s,a=/*customtext*/(t[0]||/*$_*/t[5]("panicButtonString"))+"";return{c(){n=g("div"),r=g("div"),i=g("button"),o=b(a),this.c=e,k(i,"class","PanicButton "+("PC"!==br(/*userAgent*/t[6])?"PanicButtonMobile":"")),k(i,"part","PanicButton "+("PC"!==br(/*userAgent*/t[6])?"PanicButtonMobile":"")),x(i,"PanicButtonAnimation",/*panicLoading*/t[4]),k(r,"class","PanicSection "+("PC"!==br(/*userAgent*/t[6])?"PanicSectionMobile":"")),k(r,"part","PanicSection "+("PC"!==br(/*userAgent*/t[6])?"PanicSectionMobile":"")),k(n,"class",s=/*alternativestyling*/"true"==t[1]?"PanicButtonV2":"")},m(e,s){f(e,n,s),d(n,r),d(r,i),d(i,o),
732
+ "footersecondary"===y&&n(15,w=w[0].value))};return F((()=>(window.addEventListener("message",S,!1),()=>{window.removeEventListener("message",S)}))),e.$$set=e=>{"sponsorflag"in e&&n(0,i=e.sponsorflag),"paymentflag"in e&&n(1,o=e.paymentflag),"vendorflag"in e&&n(2,s=e.vendorflag),"helperflag"in e&&n(3,a=e.helperflag),"licenseflag"in e&&n(4,l=e.licenseflag),"socialflag"in e&&n(5,c=e.socialflag),"target"in e&&n(18,u=e.target),"displaycolumn"in e&&n(6,h=e.displaycolumn),"category"in e&&n(19,d=e.category),"baseurl"in e&&n(7,f=e.baseurl),"lang"in e&&n(8,p=e.lang),"clientstyling"in e&&n(9,m=e.clientstyling),"clientstylingurl"in e&&n(10,g=e.clientstylingurl),"footertype"in e&&n(20,y=e.footertype)},e.$$.update=()=>{/*clientstyling, customStylingContainer*/2560&e.$$.dirty[0]&&m&&r&&(()=>{let e=document.createElement("style");e.innerHTML=m,r.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/3072&e.$$.dirty[0]&&g&&r&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{r.appendChild(t)}),1)}))})()},[i,o,s,a,l,c,h,f,p,m,g,r,b,_,v,w,k,E,u,d,y,function(e){$[e?"unshift":"push"]((()=>{r=e,n(11,r)}))}]}!customElements.get("casino-footer-thumbnail")&&customElements.define("casino-footer-thumbnail",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent=":host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterItem{display:inline-block;padding:0 12px}.FooterItem .FooterSponsorLink,.FooterItem .FooterPaymentLink{display:block}.FooterItem .FooterSponsorLink{display:flex;align-items:center}.FooterItem .FooterPaymentLink,.FooterItem .FooterHelperLink{display:flex;align-items:center;justify-content:center}.FooterItem .FooterLinkDisabled{pointer-events:none;cursor:auto}.FooterItem .SponsorTitle,.FooterItem .PaymentTitle{font-size:9px;text-decoration:none;color:var(--emfe-w-color-gray-150, #828282);text-align:center}.FooterItem .HelperTitle{color:#111111;font-size:8px}.FooterItem.HelperLinkItem p{font-size:10px}.FooterItem .FooterItemAnchor{display:flex;flex-direction:column;gap:6px;text-decoration:none;cursor:pointer;border:none;background:transparent;padding:0}.FooterItem.SocialItem .FooterItemAnchor{width:42px;height:42px}.FooterItem .FooterImage{min-height:38px}.SponsorTitle{margin:0}.FooterLink{display:block;text-align:center}.DisplayColumn .FooterItemAnchor{flex-direction:row}.DisplayColumn .FooterImage{height:16px;width:16px;min-height:unset}.DisplayColumn.FooterItem.HelperLinkItem p{font-size:12px}@media only screen and (max-width: 768px){.FooterItem{padding:0 5px}.FooterItem.PaymentItem{padding:15px 5px}.FooterItem.GameVendorItem{padding:0 10px}}",this.shadowRoot.appendChild(t),V(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},jr,Gr,o,{sponsorurl:0,sponsorimage:1,sponsortitle:2,paymenturl:3,paymentimage:4,paymenttitle:5,vendorurl:6,vendorimage:7,vendortitle:8,helperlinkurl:9,helperlinkimage:10,helperlinktitle:11,licenseurl:12,licenseimage:13,licensetitle:14,sociallinkurl:15,sociallinkimage:16,sociallinktitle:17,target:18,linktype:19,displaycolumn:20,baseurl:21,lang:22,clientstyling:26,clientstylingurl:27},null,[-1,-1]),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["sponsorurl","sponsorimage","sponsortitle","paymenturl","paymentimage","paymenttitle","vendorurl","vendorimage","vendortitle","helperlinkurl","helperlinkimage","helperlinktitle","licenseurl","licenseimage","licensetitle","sociallinkurl","sociallinkimage","sociallinktitle","target","linktype","displaycolumn","baseurl","lang","clientstyling","clientstylingurl"]}get sponsorurl(){return this.$$.ctx[0]}set sponsorurl(e){this.$$set({sponsorurl:e}),R()}get sponsorimage(){return this.$$.ctx[1]}set sponsorimage(e){this.$$set({sponsorimage:e}),R()}get sponsortitle(){return this.$$.ctx[2]}set sponsortitle(e){this.$$set({sponsortitle:e}),R()}get paymenturl(){return this.$$.ctx[3]}set paymenturl(e){this.$$set({paymenturl:e}),R()}get paymentimage(){return this.$$.ctx[4]}set paymentimage(e){this.$$set({paymentimage:e}),R()}get paymenttitle(){return this.$$.ctx[5]}set paymenttitle(e){this.$$set({paymenttitle:e}),R()}get vendorurl(){return this.$$.ctx[6]}set vendorurl(e){this.$$set({vendorurl:e}),R()}get vendorimage(){return this.$$.ctx[7]}set vendorimage(e){this.$$set({vendorimage:e}),R()}get vendortitle(){return this.$$.ctx[8]}set vendortitle(e){this.$$set({vendortitle:e}),R()}get helperlinkurl(){return this.$$.ctx[9]}set helperlinkurl(e){this.$$set({helperlinkurl:e}),R()}get helperlinkimage(){return this.$$.ctx[10]}set helperlinkimage(e){this.$$set({helperlinkimage:e}),R()}get helperlinktitle(){return this.$$.ctx[11]}set helperlinktitle(e){this.$$set({helperlinktitle:e}),R()}get licenseurl(){return this.$$.ctx[12]}set licenseurl(e){this.$$set({licenseurl:e}),R()}get licenseimage(){return this.$$.ctx[13]}set licenseimage(e){this.$$set({licenseimage:e}),R()}get licensetitle(){return this.$$.ctx[14]}set licensetitle(e){this.$$set({licensetitle:e}),R()}get sociallinkurl(){return this.$$.ctx[15]}set sociallinkurl(e){this.$$set({sociallinkurl:e}),R()}get sociallinkimage(){return this.$$.ctx[16]}set sociallinkimage(e){this.$$set({sociallinkimage:e}),R()}get sociallinktitle(){return this.$$.ctx[17]}set sociallinktitle(e){this.$$set({sociallinktitle:e}),R()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),R()}get linktype(){return this.$$.ctx[19]}set linktype(e){this.$$set({linktype:e}),R()}get displaycolumn(){return this.$$.ctx[20]}set displaycolumn(e){this.$$set({displaycolumn:e}),R()}get baseurl(){return this.$$.ctx[21]}set baseurl(e){this.$$set({baseurl:e}),R()}get lang(){return this.$$.ctx[22]}set lang(e){this.$$set({lang:e}),R()}get clientstyling(){return this.$$.ctx[26]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[27]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}});function hi(e,t){Xn(e,t)}!customElements.get("casino-footer-section")&&customElements.define("casino-footer-section",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent=":host{font-family:system-ui, -apple-system, Roboto, Helvetica}.FooterSectionInnerContainer{display:flex;flex-wrap:wrap;align-items:center;justify-content:center}.DisplayColumn{flex-direction:column;align-items:flex-start}",this.shadowRoot.appendChild(t),V(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},ui,ci,o,{sponsorflag:0,paymentflag:1,vendorflag:2,helperflag:3,licenseflag:4,socialflag:5,target:18,displaycolumn:6,category:19,baseurl:7,lang:8,clientstyling:9,clientstylingurl:10,footertype:20},null,[-1,-1]),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["sponsorflag","paymentflag","vendorflag","helperflag","licenseflag","socialflag","target","displaycolumn","category","baseurl","lang","clientstyling","clientstylingurl","footertype"]}get sponsorflag(){return this.$$.ctx[0]}set sponsorflag(e){this.$$set({sponsorflag:e}),R()}get paymentflag(){return this.$$.ctx[1]}set paymentflag(e){this.$$set({paymentflag:e}),R()}get vendorflag(){return this.$$.ctx[2]}set vendorflag(e){this.$$set({vendorflag:e}),R()}get helperflag(){return this.$$.ctx[3]}set helperflag(e){this.$$set({helperflag:e}),R()}get licenseflag(){return this.$$.ctx[4]}set licenseflag(e){this.$$set({licenseflag:e}),R()}get socialflag(){return this.$$.ctx[5]}set socialflag(e){this.$$set({socialflag:e}),R()}get target(){return this.$$.ctx[18]}set target(e){this.$$set({target:e}),R()}get displaycolumn(){return this.$$.ctx[6]}set displaycolumn(e){this.$$set({displaycolumn:e}),R()}get category(){return this.$$.ctx[19]}set category(e){this.$$set({category:e}),R()}get baseurl(){return this.$$.ctx[7]}set baseurl(e){this.$$set({baseurl:e}),R()}get lang(){return this.$$.ctx[8]}set lang(e){this.$$set({lang:e}),R()}get clientstyling(){return this.$$.ctx[9]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[10]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get footertype(){return this.$$.ctx[20]}set footertype(e){this.$$set({footertype:e}),R()}});const di={en:{panicButtonString:"Hold button for 3 seconds to take 24-hour timeout"},"zh-hk":{panicButtonString:"长按3秒24小时即时锁定"},fr:{panicButtonString:"Maintenez le bouton enfoncé pendant 3 secondes pour prendre un verrouillage instantané de 24 heures"},ro:{panicButtonString:"Tine apasat 3 secunde pentru a lua o pauza de 24h"},es:{panicButtonString:"Dar clic durante 3 segundos para tomar un descanso de 24 horas"},de:{panicButtonString:"Button für 3 Sekunden drücken um eine 24-stündige Auszeit zu nehmen"},hr:{panicButtonString:"Držite gumb 3 sekunde kako biste aktivirali vremensko ograničenje od 24 sata"},sl:{panicButtonString:"Držite gumb 3 sekunde, da bi vzeli 24 urni premor"},pl:{panicButtonString:"Przytrzymaj przycisk przez 3 sekundy, aby uzyskać 24-godzinny limit czasu"}};
733
+ /* ../panic-button/src/PanicButton.svelte generated by Svelte v3.59.2 */function fi(t){let n,r,i,o,s,a=/*customtext*/(t[0]||/*$_*/t[5]("panicButtonString"))+"";return{c(){n=g("div"),r=g("div"),i=g("button"),o=b(a),this.c=e,k(i,"class","PanicButton "+("PC"!==kr(/*userAgent*/t[6])?"PanicButtonMobile":"")),k(i,"part","PanicButton "+("PC"!==kr(/*userAgent*/t[6])?"PanicButtonMobile":"")),x(i,"PanicButtonAnimation",/*panicLoading*/t[4]),k(r,"class","PanicSection "+("PC"!==kr(/*userAgent*/t[6])?"PanicSectionMobile":"")),k(r,"part","PanicSection "+("PC"!==kr(/*userAgent*/t[6])?"PanicSectionMobile":"")),k(n,"class",s=/*alternativestyling*/"true"==t[1]?"PanicButtonV2":"")},m(e,s){f(e,n,s),d(n,r),d(r,i),d(i,o),
734
734
  /*button_binding*/t[11](i),
735
- /*div1_binding*/t[12](n)},p(e,[t]){/*customtext, $_*/33&t&&a!==(a=/*customtext*/(e[0]||/*$_*/e[5]("panicButtonString"))+"")&&T(o,a),/*panicLoading*/16&t&&x(i,"PanicButtonAnimation",/*panicLoading*/e[4]),/*alternativestyling*/2&t&&s!==(s=/*alternativestyling*/"true"==e[1]?"PanicButtonV2":"")&&k(n,"class",s)},i:e,o:e,d(e){e&&p(n)
735
+ /*div1_binding*/t[12](n)},p(e,[t]){/*customtext, $_*/33&t&&a!==(a=/*customtext*/(e[0]||/*$_*/e[5]("panicButtonString"))+"")&&S(o,a),/*panicLoading*/16&t&&x(i,"PanicButtonAnimation",/*panicLoading*/e[4]),/*alternativestyling*/2&t&&s!==(s=/*alternativestyling*/"true"==e[1]?"PanicButtonV2":"")&&k(n,"class",s)},i:e,o:e,d(e){e&&p(n)
736
736
  /*button_binding*/,t[11](null),
737
- /*div1_binding*/t[12](null)}}}function ui(e,t,n){let r;u(e,yr,(e=>n(5,r=e)));let i,o,s,{lang:a="en"}=t,{customtext:l=""}=t,{clientstyling:c=""}=t,{clientstylingurl:h=""}=t,{alternativestyling:d=""}=t,{translationurl:f=""}=t,p=!1,m=0,g=window.navigator.userAgent;Object.keys(li).forEach((e=>{ai(e,li[e])}));const y=()=>{m=0,n(4,p=!0),s=setInterval((()=>{m++,m>=2&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(s),
737
+ /*div1_binding*/t[12](null)}}}function pi(e,t,n){let r;c(e,wr,(e=>n(5,r=e)));let i,o,s,{lang:a="en"}=t,{customtext:l=""}=t,{clientstyling:u=""}=t,{clientstylingurl:h=""}=t,{alternativestyling:d=""}=t,{translationurl:f=""}=t,p=!1,m=0,g=window.navigator.userAgent;Object.keys(di).forEach((e=>{hi(e,di[e])}));const y=()=>{m=0,n(4,p=!0),s=setInterval((()=>{m++,m>=2&&(window.postMessage({type:"PanicButtonClicked"},window.location.href),clearInterval(s),
738
738
  //Analytics event
739
- "function"==typeof gtag&&gtag("event","PanicButtonClicked",{context:"PanicButton"}))}),1e3)},b=()=>{n(4,p=!1),clearInterval(s)};return M((()=>()=>{n(4,p=!1),null==i||i.removeEventListener("mousedown",y),null==i||i.removeEventListener("touchstart",y),
739
+ "function"==typeof gtag&&gtag("event","PanicButtonClicked",{context:"PanicButton"}))}),1e3)},b=()=>{n(4,p=!1),clearInterval(s)};return F((()=>()=>{n(4,p=!1),null==i||i.removeEventListener("mousedown",y),null==i||i.removeEventListener("touchstart",y),
740
740
  // on mouseup stop interval count
741
- null==i||i.removeEventListener("mouseup",b),null==i||i.removeEventListener("touchend",b)})),e.$$set=e=>{"lang"in e&&n(7,a=e.lang),"customtext"in e&&n(0,l=e.customtext),"clientstyling"in e&&n(8,c=e.clientstyling),"clientstylingurl"in e&&n(9,h=e.clientstylingurl),"alternativestyling"in e&&n(1,d=e.alternativestyling),"translationurl"in e&&n(10,f=e.translationurl)},e.$$.update=()=>{var t;/*panicButton*/4&e.$$.dirty&&i&&(null==i||i.addEventListener("mousedown",y,!1),null==i||i.addEventListener("touchstart",y,!1),
741
+ null==i||i.removeEventListener("mouseup",b),null==i||i.removeEventListener("touchend",b)})),e.$$set=e=>{"lang"in e&&n(7,a=e.lang),"customtext"in e&&n(0,l=e.customtext),"clientstyling"in e&&n(8,u=e.clientstyling),"clientstylingurl"in e&&n(9,h=e.clientstylingurl),"alternativestyling"in e&&n(1,d=e.alternativestyling),"translationurl"in e&&n(10,f=e.translationurl)},e.$$.update=()=>{var t;/*panicButton*/4&e.$$.dirty&&i&&(null==i||i.addEventListener("mousedown",y,!1),null==i||i.addEventListener("touchstart",y,!1),
742
742
  // on mouseup stop interval count
743
- null==i||i.addEventListener("mouseup",b,!1),null==i||i.addEventListener("touchend",b,!1)),/*lang*/128&e.$$.dirty&&a&&(t=a,or.set(t)),/*clientstyling, customStylingContainer*/264&e.$$.dirty&&c&&o&&(()=>{let e=document.createElement("style");e.innerHTML=c,o.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/520&e.$$.dirty&&h&&o&&(()=>{let e=new URL(h),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{o.appendChild(t)}),1)}))})(),/*translationurl*/1024&e.$$.dirty&&f&&fetch(f).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{ai(t,e[t])}))})).catch((e=>{console.log(e)}))},[l,d,i,o,p,r,g,a,c,h,f,function(e){I[e?"unshift":"push"]((()=>{i=e,n(2,i)}))},function(e){I[e?"unshift":"push"]((()=>{o=e,n(3,o)}))}]}!customElements.get("panic-button")&&customElements.define("panic-button",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .PanicButton{border-radius:5px;border:1px solid #D0046C;background-color:#D0046C;font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:20px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid #D0046C;background-color:#D0046C;width:100% !important;height:30px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:#D0046C;width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2 .PanicButton{border:1px solid #F57F17;background-color:#F57F17;width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid #F57F17;background-color:#F57F17;font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:#F57F17;width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}',this.shadowRoot.appendChild(t),V(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},ui,ci,o,{lang:7,customtext:0,clientstyling:8,clientstylingurl:9,alternativestyling:1,translationurl:10},null),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["lang","customtext","clientstyling","clientstylingurl","alternativestyling","translationurl"]}get lang(){return this.$$.ctx[7]}set lang(e){this.$$set({lang:e}),N()}get customtext(){return this.$$.ctx[0]}set customtext(e){this.$$set({customtext:e}),N()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),N()}get alternativestyling(){return this.$$.ctx[1]}set alternativestyling(e){this.$$set({alternativestyling:e}),N()}get translationurl(){return this.$$.ctx[10]}set translationurl(e){this.$$set({translationurl:e}),N()}});var hi=function(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return fe(null==t&&n.path)}},n.exports),n.exports}((function(e,t){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}
743
+ null==i||i.addEventListener("mouseup",b,!1),null==i||i.addEventListener("touchend",b,!1)),/*lang*/128&e.$$.dirty&&a&&(t=a,cr.set(t)),/*clientstyling, customStylingContainer*/264&e.$$.dirty&&u&&o&&(()=>{let e=document.createElement("style");e.innerHTML=u,o.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/520&e.$$.dirty&&h&&o&&(()=>{let e=new URL(h),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{o.appendChild(t)}),1)}))})(),/*translationurl*/1024&e.$$.dirty&&f&&fetch(f).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{hi(t,e[t])}))})).catch((e=>{console.log(e)}))},[l,d,i,o,p,r,g,a,u,h,f,function(e){$[e?"unshift":"push"]((()=>{i=e,n(2,i)}))},function(e){$[e?"unshift":"push"]((()=>{o=e,n(3,o)}))}]}!customElements.get("panic-button")&&customElements.define("panic-button",class extends W{constructor(e){super();const t=document.createElement("style");t.textContent="*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .PanicButton{border-radius:5px;border:1px solid #D0046C;background-color:#D0046C;font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:20px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid #D0046C;background-color:#D0046C;width:100% !important;height:30px;color:var(--emfe-w-color-white, #FFFFFF);cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:#D0046C;width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2 .PanicButton{border:1px solid #F57F17;background-color:#F57F17;width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid #F57F17;background-color:#F57F17;font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:#F57F17;width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}",this.shadowRoot.appendChild(t),V(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},pi,fi,o,{lang:7,customtext:0,clientstyling:8,clientstylingurl:9,alternativestyling:1,translationurl:10},null),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["lang","customtext","clientstyling","clientstylingurl","alternativestyling","translationurl"]}get lang(){return this.$$.ctx[7]}set lang(e){this.$$set({lang:e}),R()}get customtext(){return this.$$.ctx[0]}set customtext(e){this.$$set({customtext:e}),R()}get clientstyling(){return this.$$.ctx[8]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[9]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get alternativestyling(){return this.$$.ctx[1]}set alternativestyling(e){this.$$set({alternativestyling:e}),R()}get translationurl(){return this.$$.ctx[10]}set translationurl(e){this.$$set({translationurl:e}),R()}});var mi=function(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return ye(null==t&&n.path)}},n.exports),n.exports}((function(e,t){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}
744
744
  // This is done to register the method called with moment()
745
745
  // without creating circular dependencies.
746
746
  function i(e){t=e}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){
@@ -756,42 +756,42 @@ n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n
756
756
  function k(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),
757
757
  // Prevent infinite loop in case updateOffset creates new moment
758
758
  // objects.
759
- !1===v&&(v=!0,r.updateOffset(this),v=!1)}function E(e){return e instanceof k||null!=e&&null!=e._isAMomentObject}function T(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function S(e,t){var n=!0;return f((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,o,s,l=[],c=arguments.length;for(o=0;o<c;o++){if(i="","object"==typeof arguments[o]){for(s in i+="\n["+o+"] ",arguments[0])a(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[o];l.push(i)}T(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var x,L={};function D(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),L[e]||(T(t),L[e]=!0)}function M(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function F(e){var t,n;for(n in e)a(e,n)&&(M(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,
759
+ !1===v&&(v=!0,r.updateOffset(this),v=!1)}function E(e){return e instanceof k||null!=e&&null!=e._isAMomentObject}function S(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function T(e,t){var n=!0;return f((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,o,s,l=[],c=arguments.length;for(o=0;o<c;o++){if(i="","object"==typeof arguments[o]){for(s in i+="\n["+o+"] ",arguments[0])a(arguments[0],s)&&(i+=s+": "+arguments[0][s]+", ");i=i.slice(0,-2)}else i=arguments[o];l.push(i)}S(e+"\nArguments: "+Array.prototype.slice.call(l).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var x,L={};function M(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),L[e]||(S(t),L[e]=!0)}function D(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function F(e){var t,n;for(n in e)a(e,n)&&(D(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,
760
760
  // Lenient ordinal parsing accepts just a number in addition to
761
761
  // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
762
762
  // TODO: Remove "ordinalParse" fallback in next major release.
763
763
  this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function I(e,t){var n,r=f({},e);for(n in t)a(t,n)&&(s(e[n])&&s(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)a(e,n)&&!a(t,n)&&s(e[n])&&(
764
764
  // make sure changes to properties don't modify parent config
765
- r[n]=f({},r[n]));return r}function $(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,x=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var A={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function O(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return M(r)?r.call(t,n):r}function P(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 H=/(\[[^\[]*\])|(\\)?([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,C=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,B={},N={};
765
+ r[n]=f({},r[n]));return r}function $(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,x=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var A={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function O(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return D(r)?r.call(t,n):r}function P(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 H=/(\[[^\[]*\])|(\\)?([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,C=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,B={},N={};
766
766
  // token: 'M'
767
767
  // padded: ['MM', 2]
768
768
  // ordinal: 'Mo'
769
769
  // callback: function () { this.month() + 1 }
770
- function R(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 P(i.apply(this,arguments),t[1],t[2])}),n&&(N[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Y(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,n,r=e.match(H);for(t=0,n=r.length;t<n;t++)N[r[t]]?r[t]=N[r[t]]:r[t]=Y(r[t]);return function(t){var i,o="";for(i=0;i<n;i++)o+=M(r[i])?r[i].call(t,e):r[i];return o}}
770
+ function R(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 P(i.apply(this,arguments),t[1],t[2])}),n&&(N[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function Y(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function U(e){var t,n,r=e.match(H);for(t=0,n=r.length;t<n;t++)N[r[t]]?r[t]=N[r[t]]:r[t]=Y(r[t]);return function(t){var i,o="";for(i=0;i<n;i++)o+=D(r[i])?r[i].call(t,e):r[i];return o}}
771
771
  // format date using native date object
772
- function G(e,t){return e.isValid()?(t=j(t,e.localeData()),B[t]=B[t]||U(t),B[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(C.lastIndex=0;n>=0&&C.test(e);)e=e.replace(C,r),C.lastIndex=0,n-=1;return e}var V={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function W(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(H).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var z="Invalid date";function Z(){return this._invalidDate}var X="%d",K=/\d{1,2}/;function q(e){return this._ordinal.replace("%d",e)}var J={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Q(e,t,n,r){var i=this._relativeTime[n];return M(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return M(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)a(e,n)&&(t=re(n))&&(r[t]=e[n]);return r}var oe={};function se(e,t){oe[e]=t}function ae(e){var t,n=[];for(t in e)a(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 ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ue(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ce(t)),n}function he(e,t){return function(n){return null!=n?(pe(this,e,n),r.updateOffset(this,t),this):de(this,e)}}function de(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&le(e.year())&&1===e.month()&&29===e.date()?(n=ue(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}
772
+ function G(e,t){return e.isValid()?(t=j(t,e.localeData()),B[t]=B[t]||U(t),B[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(C.lastIndex=0;n>=0&&C.test(e);)e=e.replace(C,r),C.lastIndex=0,n-=1;return e}var V={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function W(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(H).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var z="Invalid date";function Z(){return this._invalidDate}var X="%d",K=/\d{1,2}/;function q(e){return this._ordinal.replace("%d",e)}var J={future:"in %s",past:"%s ago",s:"a few seconds",ss:"%d seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",w:"a week",ww:"%d weeks",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function Q(e,t,n,r){var i=this._relativeTime[n];return D(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return D(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)a(e,n)&&(t=re(n))&&(r[t]=e[n]);return r}var oe={};function se(e,t){oe[e]=t}function ae(e){var t,n=[];for(t in e)a(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 ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ue(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ce(t)),n}function he(e,t){return function(n){return null!=n?(fe(this,e,n),r.updateOffset(this,t),this):de(this,e)}}function de(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&le(e.year())&&1===e.month()&&29===e.date()?(n=ue(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}
773
773
  // MOMENTS
774
- function me(e){return M(this[e=re(e)])?this[e]():this}function ge(e,t){if("object"==typeof e){var n,r=ae(e=ie(e)),i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(M(this[e=re(e)]))return this[e](t);return this}var ye,be=/\d/,// 0 - 9
774
+ function pe(e){return D(this[e=re(e)])?this[e]():this}function me(e,t){if("object"==typeof e){var n,r=ae(e=ie(e)),i=r.length;for(n=0;n<i;n++)this[r[n].unit](e[r[n].unit])}else if(D(this[e=re(e)]))return this[e](t);return this}var ge,be=/\d/,// 0 - 9
775
775
  _e=/\d\d/,// 00 - 99
776
776
  ve=/\d{3}/,// 000 - 999
777
777
  we=/\d{4}/,// 0000 - 9999
778
778
  ke=/[+-]?\d{6}/,// -999999 - 999999
779
779
  Ee=/\d\d?/,// 0 - 99
780
- Te=/\d\d\d\d?/,// 999 - 9999
781
- Se=/\d\d\d\d\d\d?/,// 99999 - 999999
780
+ Se=/\d\d\d\d?/,// 999 - 9999
781
+ Te=/\d\d\d\d\d\d?/,// 99999 - 999999
782
782
  xe=/\d{1,3}/,// 0 - 999
783
783
  Le=/\d{1,4}/,// 0 - 9999
784
- De=/[+-]?\d{1,6}/,// -999999 - 999999
785
- Me=/\d+/,// 0 - inf
784
+ Me=/[+-]?\d{1,6}/,// -999999 - 999999
785
+ De=/\d+/,// 0 - inf
786
786
  Fe=/[+-]?\d+/,// -inf - inf
787
787
  Ie=/Z|[+-]\d\d:?\d\d/gi,// +00:00 -00:00 +0000 -0000 or Z
788
788
  $e=/Z|[+-]\d\d(?::?\d\d)?/gi,// +00 -00 +00:00 -00:00 +0000 -0000 or Z
789
789
  Ae=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
790
790
  // any word (or two) characters or numbers including two/three word month in arabic.
791
791
  // includes scottish gaelic two word and hyphenated months
792
- Oe=/[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 Pe(e,t,n){ye[e]=M(t)?t:function(e,r){return e&&n?n:t}}function He(e,t){return a(ye,e)?ye[e](t._strict,t._locale):new RegExp(Ce(e))}
792
+ Oe=/[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 Pe(e,t,n){ge[e]=D(t)?t:function(e,r){return e&&n?n:t}}function He(e,t){return a(ge,e)?ge[e](t._strict,t._locale):new RegExp(Ce(e))}
793
793
  // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
794
- function Ce(e){return Be(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Be(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ye={};var Ne={};function Re(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),u(t)&&(i=function(e,n){n[t]=ue(e)}),r=e.length,n=0;n<r;n++)Ne[e[n]]=i}function Ye(e,t){Re(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Ue(e,t,n){null!=t&&a(Ne,e)&&Ne[e](t,n._a,n,e)}var Ge,je=0,Ve=1,We=2,ze=3,Ze=4,Xe=5,Ke=6,qe=7,Je=8;function Qe(e,t){return(e%t+t)%t}function et(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Qe(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}
794
+ function Ce(e){return Be(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Be(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ge={};var Ne={};function Re(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),u(t)&&(i=function(e,n){n[t]=ue(e)}),r=e.length,n=0;n<r;n++)Ne[e[n]]=i}function Ye(e,t){Re(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Ue(e,t,n){null!=t&&a(Ne,e)&&Ne[e](t,n._a,n,e)}var Ge,je=0,Ve=1,We=2,ze=3,Ze=4,Xe=5,Ke=6,qe=7,Je=8;function Qe(e,t){return(e%t+t)%t}function et(e,t){if(isNaN(e)||isNaN(t))return NaN;var n=Qe(t,12);return e+=(t-n)/12,1===n?le(e)?29:28:31-n%7%2}
795
795
  // FORMATTING
796
796
  Ge=Array.prototype.indexOf?Array.prototype.indexOf:function(e){
797
797
  // I know
@@ -837,7 +837,7 @@ ne("year","y"),
837
837
  // PRIORITIES
838
838
  se("year",1),
839
839
  // PARSING
840
- Pe("Y",Fe),Pe("YY",Ee,_e),Pe("YYYY",Le,we),Pe("YYYYY",De,ke),Pe("YYYYYY",De,ke),Re(["YYYYY","YYYYYY"],je),Re("YYYY",(function(e,t){t[je]=2===e.length?r.parseTwoDigitYear(e):ue(e)})),Re("YY",(function(e,t){t[je]=r.parseTwoDigitYear(e)})),Re("Y",(function(e,t){t[je]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return ue(e)+(ue(e)>68?1900:2e3)};
840
+ Pe("Y",Fe),Pe("YY",Ee,_e),Pe("YYYY",Le,we),Pe("YYYYY",Me,ke),Pe("YYYYYY",Me,ke),Re(["YYYYY","YYYYYY"],je),Re("YYYY",(function(e,t){t[je]=2===e.length?r.parseTwoDigitYear(e):ue(e)})),Re("YY",(function(e,t){t[je]=r.parseTwoDigitYear(e)})),Re("Y",(function(e,t){t[je]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return ue(e)+(ue(e)>68?1900:2e3)};
841
841
  // MOMENTS
842
842
  var yt=he("FullYear",!0);function bt(){return le(this.year())}function _t(e,t,n,r,i,o,s){
843
843
  // can't just apply() to create a date:
@@ -855,20 +855,20 @@ return e<100&&e>=0?(
855
855
  function wt(e,t,n){var// first-week day -- which january is always in the first week (4 for iso, 1 for other)
856
856
  r=7+t-n;return-(7+vt(e,0,r).getUTCDay()-t)%7+r-1}
857
857
  // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday
858
- function kt(e,t,n,r,i){var o,s,a=1+7*(t-1)+(7+n-r)%7+wt(e,r,i);return a<=0?s=gt(o=e-1)+a:a>gt(e)?(o=e+1,s=a-gt(e)):(o=e,s=a),{year:o,dayOfYear:s}}function Et(e,t,n){var r,i,o=wt(e.year(),t,n),s=Math.floor((e.dayOfYear()-o-1)/7)+1;return s<1?r=s+Tt(i=e.year()-1,t,n):s>Tt(e.year(),t,n)?(r=s-Tt(e.year(),t,n),i=e.year()+1):(i=e.year(),r=s),{week:r,year:i}}function Tt(e,t,n){var r=wt(e,t,n),i=wt(e+1,t,n);return(gt(e)-r+i)/7}
858
+ function kt(e,t,n,r,i){var o,s,a=1+7*(t-1)+(7+n-r)%7+wt(e,r,i);return a<=0?s=gt(o=e-1)+a:a>gt(e)?(o=e+1,s=a-gt(e)):(o=e,s=a),{year:o,dayOfYear:s}}function Et(e,t,n){var r,i,o=wt(e.year(),t,n),s=Math.floor((e.dayOfYear()-o-1)/7)+1;return s<1?r=s+St(i=e.year()-1,t,n):s>St(e.year(),t,n)?(r=s-St(e.year(),t,n),i=e.year()+1):(i=e.year(),r=s),{week:r,year:i}}function St(e,t,n){var r=wt(e,t,n),i=wt(e+1,t,n);return(gt(e)-r+i)/7}
859
859
  // FORMATTING
860
860
  // HELPERS
861
861
  // LOCALES
862
- function St(e){return Et(e,this._week.dow,this._week.doy).week}R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),
862
+ function Tt(e){return Et(e,this._week.dow,this._week.doy).week}R("w",["ww",2],"wo","week"),R("W",["WW",2],"Wo","isoWeek"),
863
863
  // ALIASES
864
864
  ne("week","w"),ne("isoWeek","W"),
865
865
  // PRIORITIES
866
866
  se("week",5),se("isoWeek",5),
867
867
  // PARSING
868
868
  Pe("w",Ee),Pe("ww",Ee,_e),Pe("W",Ee),Pe("WW",Ee,_e),Ye(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=ue(e)}));var xt={dow:0,// Sunday is the first day of the week.
869
- doy:6};function Lt(){return this._week.dow}function Dt(){return this._week.doy}
869
+ doy:6};function Lt(){return this._week.dow}function Mt(){return this._week.doy}
870
870
  // MOMENTS
871
- function Mt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ft(e){var t=Et(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}
871
+ function Dt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Ft(e){var t=Et(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}
872
872
  // FORMATTING
873
873
  // HELPERS
874
874
  function It(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function $t(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}
@@ -909,7 +909,7 @@ return"p"===(e+"").toLowerCase().charAt(0)}R("H",["HH",2],0,"hour"),R("h",["hh",
909
909
  // ALIASES
910
910
  ne("hour","h"),
911
911
  // PRIORITY
912
- se("hour",13),Pe("a",tn),Pe("A",tn),Pe("H",Ee),Pe("h",Ee),Pe("k",Ee),Pe("HH",Ee,_e),Pe("hh",Ee,_e),Pe("kk",Ee,_e),Pe("hmm",Te),Pe("hmmss",Se),Pe("Hmm",Te),Pe("Hmmss",Se),Re(["H","HH"],ze),Re(["k","kk"],(function(e,t,n){var r=ue(e);t[ze]=24===r?0:r})),Re(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Re(["h","hh"],(function(e,t,n){t[ze]=ue(e),g(n).bigHour=!0})),Re("hmm",(function(e,t,n){var r=e.length-2;t[ze]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r)),g(n).bigHour=!0})),Re("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[ze]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r,2)),t[Xe]=ue(e.substr(i)),g(n).bigHour=!0})),Re("Hmm",(function(e,t,n){var r=e.length-2;t[ze]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r))})),Re("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[ze]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r,2)),t[Xe]=ue(e.substr(i))}));var rn=/[ap]\.?m?\.?/i,
912
+ se("hour",13),Pe("a",tn),Pe("A",tn),Pe("H",Ee),Pe("h",Ee),Pe("k",Ee),Pe("HH",Ee,_e),Pe("hh",Ee,_e),Pe("kk",Ee,_e),Pe("hmm",Se),Pe("hmmss",Te),Pe("Hmm",Se),Pe("Hmmss",Te),Re(["H","HH"],ze),Re(["k","kk"],(function(e,t,n){var r=ue(e);t[ze]=24===r?0:r})),Re(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Re(["h","hh"],(function(e,t,n){t[ze]=ue(e),g(n).bigHour=!0})),Re("hmm",(function(e,t,n){var r=e.length-2;t[ze]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r)),g(n).bigHour=!0})),Re("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[ze]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r,2)),t[Xe]=ue(e.substr(i)),g(n).bigHour=!0})),Re("Hmm",(function(e,t,n){var r=e.length-2;t[ze]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r))})),Re("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[ze]=ue(e.substr(0,r)),t[Ze]=ue(e.substr(r,2)),t[Xe]=ue(e.substr(i))}));var rn=/[ap]\.?m?\.?/i,
913
913
  // Setting the hour should keep the time, because the user explicitly
914
914
  // specified which hour they want. So trying to maintain the same hour (in
915
915
  // a new timezone) makes sense. Adding/subtracting hours does not follow
@@ -926,7 +926,7 @@ break;t--}o++}return an}function pn(e){
926
926
  // Prevent names that look like filesystem paths, i.e contain '/' or '\'
927
927
  return null!=e.match("^[^/\\\\]*$")}function mn(t){var n=null;
928
928
  // TODO: Find a better way to register and load all the locales in Node
929
- if(void 0===cn[t]&&e&&e.exports&&pn(t))try{n=an._abbr,fe(),gn(n)}catch(e){
929
+ if(void 0===cn[t]&&e&&e.exports&&pn(t))try{n=an._abbr,ye(),gn(n)}catch(e){
930
930
  // mark as not found to avoid repeating expensive file require call causing high CPU
931
931
  // when trying to find en-US, en_US, en-us for every format call
932
932
  cn[t]=null;// null means not found
@@ -938,7 +938,7 @@ function gn(e,t){var n;return e&&((n=c(t)?_n(e):yn(e,t))?
938
938
  // moment.duration._locale = moment._locale = data;
939
939
  an=n:"undefined"!=typeof console&&console.warn&&
940
940
  //warn user if arguments are passed but the locale could not be set
941
- console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function yn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=cn[e])D("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=cn[e]._config;else if(null!=t.parentLocale)if(null!=cn[t.parentLocale])r=cn[t.parentLocale]._config;else{if(null==(n=mn(t.parentLocale)))return un[t.parentLocale]||(un[t.parentLocale]=[]),un[t.parentLocale].push({name:e,config:t}),null;r=n._config}return cn[e]=new $(I(r,t)),un[e]&&un[e].forEach((function(e){yn(e.name,e.config)})),
941
+ console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function yn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=cn[e])M("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=cn[e]._config;else if(null!=t.parentLocale)if(null!=cn[t.parentLocale])r=cn[t.parentLocale]._config;else{if(null==(n=mn(t.parentLocale)))return un[t.parentLocale]||(un[t.parentLocale]=[]),un[t.parentLocale].push({name:e,config:t}),null;r=n._config}return cn[e]=new $(I(r,t)),un[e]&&un[e].forEach((function(e){yn(e.name,e.config)})),
942
942
  // backwards compat for now: also set the locale
943
943
  // make sure we set the locale AFTER all child locales have been
944
944
  // created, so we won't end up with the child locale set.
@@ -963,21 +963,21 @@ function _n(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)re
963
963
  t=mn(e))return t;e=[e]}return fn(e)}function vn(){return x(cn)}function wn(e){var t,n=e._a;return n&&-2===g(e).overflow&&(t=n[Ve]<0||n[Ve]>11?Ve:n[We]<1||n[We]>et(n[je],n[Ve])?We:n[ze]<0||n[ze]>24||24===n[ze]&&(0!==n[Ze]||0!==n[Xe]||0!==n[Ke])?ze:n[Ze]<0||n[Ze]>59?Ze:n[Xe]<0||n[Xe]>59?Xe:n[Ke]<0||n[Ke]>999?Ke:-1,g(e)._overflowDayOfYear&&(t<je||t>We)&&(t=We),g(e)._overflowWeeks&&-1===t&&(t=qe),g(e)._overflowWeekday&&-1===t&&(t=Je),g(e).overflow=t),e}
964
964
  // iso 8601 regex
965
965
  // 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)
966
- var kn=/^\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)?)?$/,En=/^\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=/Z|[+-]\d\d(?::?\d\d)?/,Sn=[["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]],
966
+ var kn=/^\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)?)?$/,En=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,Sn=/Z|[+-]\d\d(?::?\d\d)?/,Tn=[["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]],
967
967
  // iso time formats and regexes
968
968
  xn=[["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/]],Ln=/^\/?Date\((-?\d+)/i,
969
969
  // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
970
- Dn=/^(?:(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}))$/,Mn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};
970
+ Mn=/^(?:(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}))$/,Dn={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};
971
971
  // date from iso format
972
- function Fn(e){var t,n,r,i,o,s,a=e._i,l=kn.exec(a)||En.exec(a),c=Sn.length,u=xn.length;if(l){for(g(e).iso=!0,t=0,n=c;t<n;t++)if(Sn[t][1].exec(l[1])){i=Sn[t][0],r=!1!==Sn[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=u;t<n;t++)if(xn[t][1].exec(l[3])){
972
+ function Fn(e){var t,n,r,i,o,s,a=e._i,l=kn.exec(a)||En.exec(a),c=Tn.length,u=xn.length;if(l){for(g(e).iso=!0,t=0,n=c;t<n;t++)if(Tn[t][1].exec(l[1])){i=Tn[t][0],r=!1!==Tn[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=u;t<n;t++)if(xn[t][1].exec(l[3])){
973
973
  // match[2] should be 'T' or space
974
- o=(l[2]||" ")+xn[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(l[4]){if(!Tn.exec(l[4]))return void(e._isValid=!1);s="Z"}e._f=i+(o||"")+(s||""),Un(e)}else e._isValid=!1}function In(e,t,n,r,i,o){var s=[$n(e),nt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&s.push(parseInt(o,10)),s}function $n(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function An(e){
974
+ o=(l[2]||" ")+xn[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(l[4]){if(!Sn.exec(l[4]))return void(e._isValid=!1);s="Z"}e._f=i+(o||"")+(s||""),Un(e)}else e._isValid=!1}function In(e,t,n,r,i,o){var s=[$n(e),nt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&s.push(parseInt(o,10)),s}function $n(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function An(e){
975
975
  // Remove comments and folding whitespace and replace multiple-spaces with a single space
976
- return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function On(e,t,n){return!e||Pt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Pn(e,t,n){if(e)return Mn[e];if(t)
976
+ return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function On(e,t,n){return!e||Pt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Pn(e,t,n){if(e)return Dn[e];if(t)
977
977
  // the only allowed military tz is Z
978
978
  return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}
979
979
  // date and time from ref 2822 format
980
- function Hn(e){var t,n=Dn.exec(An(e._i));if(n){if(t=In(n[4],n[3],n[2],n[5],n[6],n[7]),!On(n[1],t,e))return;e._a=t,e._tzm=Pn(n[8],n[9],n[10]),e._d=vt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}
980
+ function Hn(e){var t,n=Mn.exec(An(e._i));if(n){if(t=In(n[4],n[3],n[2],n[5],n[6],n[7]),!On(n[1],t,e))return;e._a=t,e._tzm=Pn(n[8],n[9],n[10]),e._d=vt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}
981
981
  // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
982
982
  function Cn(e){var t=Ln.exec(e._i);null===t?(Fn(e),!1===e._isValid&&(delete e._isValid,Hn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
983
983
  // Final attempt, use Input Fallback
@@ -1022,7 +1022,7 @@ i=t.d)<0||i>6)&&(l=!0):null!=t.e?(
1022
1022
  // local weekday -- counting starts from beginning of week
1023
1023
  i=t.e+o,(t.e<0||t.e>6)&&(l=!0)):
1024
1024
  // default to beginning of week
1025
- i=o),r<1||r>Tt(n,o,s)?g(e)._overflowWeeks=!0:null!=l?g(e)._overflowWeekday=!0:(a=kt(n,r,i,o,s),e._a[je]=a.year,e._dayOfYear=a.dayOfYear)}
1025
+ i=o),r<1||r>St(n,o,s)?g(e)._overflowWeeks=!0:null!=l?g(e)._overflowWeekday=!0:(a=kt(n,r,i,o,s),e._a[je]=a.year,e._dayOfYear=a.dayOfYear)}
1026
1026
  // constant that refers to the ISO standard
1027
1027
  // date from string and format string
1028
1028
  function Un(e){
@@ -1054,9 +1054,9 @@ t.add(1,"d"),t._nextDay=void 0),t}function zn(e){var t=e._i,n=e._f;return e._loc
1054
1054
  e._d=new Date(t):r.createFromInputFallback(e)}function Xn(e,t,n,r,i){var a={};return!0!==t&&!1!==t||(r=t,t=void 0),!0!==n&&!1!==n||(r=n,n=void 0),(s(e)&&l(e)||o(e)&&0===e.length)&&(e=void 0),
1055
1055
  // object construction must be done this way.
1056
1056
  // https://github.com/moment/moment/issues/1423
1057
- a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,Wn(a)}function Kn(e,t,n,r){return Xn(e,t,n,r,!1)}r.createFromInputFallback=S("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(){},
1057
+ a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,Wn(a)}function Kn(e,t,n,r){return Xn(e,t,n,r,!1)}r.createFromInputFallback=T("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(){},
1058
1058
  // constant that refers to the RFC 2822 form
1059
- r.RFC_2822=function(){};var qn=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Kn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:b()})),Jn=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Kn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:b()}));
1059
+ r.RFC_2822=function(){};var qn=T("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Kn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:b()})),Jn=T("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Kn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:b()}));
1060
1060
  // Pick a moment m from moments so that m[fn](other) is true for all
1061
1061
  // other. This relies on the function fn to be transitive.
1062
1062
 
@@ -1065,7 +1065,7 @@ r.RFC_2822=function(){};var qn=S("moment().min is deprecated, use moment.max ins
1065
1065
  function Qn(e,t){var n,r;if(1===t.length&&o(t[0])&&(t=t[0]),!t.length)return Kn();for(n=t[0],r=1;r<t.length;++r)t[r].isValid()&&!t[r][e](n)||(n=t[r]);return n}
1066
1066
  // TODO: Use [].sort instead?
1067
1067
  function er(){return Qn("isBefore",[].slice.call(arguments,0))}function tr(){return Qn("isAfter",[].slice.call(arguments,0))}var nr=function(){return Date.now?Date.now():+new Date},rr=["year","quarter","month","week","day","hour","minute","second","millisecond"];function ir(e){var t,n,r=!1,i=rr.length;for(t in e)if(a(e,t)&&(-1===Ge.call(rr,t)||null!=e[t]&&isNaN(e[t])))return!1;for(n=0;n<i;++n)if(e[rr[n]]){if(r)return!1;// only allow non-integers for smallest unit
1068
- parseFloat(e[rr[n]])!==ue(e[rr[n]])&&(r=!0)}return!0}function or(){return this._isValid}function sr(){return Mr(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,s=t.day||0,a=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=ir(t),
1068
+ parseFloat(e[rr[n]])!==ue(e[rr[n]])&&(r=!0)}return!0}function or(){return this._isValid}function sr(){return Dr(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,s=t.day||0,a=t.hour||0,l=t.minute||0,c=t.second||0,u=t.millisecond||0;this._isValid=ir(t),
1069
1069
  // representation for dateAddRemove
1070
1070
  this._milliseconds=+u+1e3*c+// 1000
1071
1071
  6e4*l+// 1000 * 60
@@ -1108,15 +1108,15 @@ return-Math.round(e._d.getTimezoneOffset())}
1108
1108
  // a second time. In case it wants us to change the offset again
1109
1109
  // _changeInProgress == true case, then we have to adjust, because
1110
1110
  // there is no such time in the given timezone.
1111
- function gr(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=fr($e,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?Or(this,Mr(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 yr(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 _r(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(mr(this),"m")),this}function vr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=fr(Ie,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function wr(e){return!!this.isValid()&&(e=e?Kn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function kr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Er(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=zn(t))._a?(e=t._isUTC?p(t._a):Kn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Tr(){return!!this.isValid()&&!this._isUTC}function Sr(){return!!this.isValid()&&this._isUTC}function xr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
1111
+ function gr(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=fr($e,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?Or(this,Dr(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 yr(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 _r(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(mr(this),"m")),this}function vr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=fr(Ie,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function wr(e){return!!this.isValid()&&(e=e?Kn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function kr(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Er(){if(!c(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=zn(t))._a?(e=t._isUTC?p(t._a):Kn(t._a),this._isDSTShifted=this.isValid()&&ur(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Sr(){return!!this.isValid()&&!this._isUTC}function Tr(){return!!this.isValid()&&this._isUTC}function xr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
1112
1112
  // ASP.NET json date format regex
1113
1113
  r.updateOffset=function(){};var Lr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
1114
1114
  // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
1115
1115
  // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere
1116
1116
  // and further modified to allow for strings containing both week and day
1117
- Dr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Mr(e,t){var n,r,i,o=e,
1117
+ Mr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Dr(e,t){var n,r,i,o=e,
1118
1118
  // matching against regexp is expensive, do it on demand
1119
- s=null;return lr(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(s=Lr.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:ue(s[We])*n,h:ue(s[ze])*n,m:ue(s[Ze])*n,s:ue(s[Xe])*n,ms:ue(cr(1e3*s[Ke]))*n}):(s=Dr.exec(e))?(n="-"===s[1]?-1:1,o={y:Fr(s[2],n),M:Fr(s[3],n),w:Fr(s[4],n),d:Fr(s[5],n),h:Fr(s[6],n),m:Fr(s[7],n),s:Fr(s[8],n)}):null==o?
1119
+ s=null;return lr(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:u(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(s=Lr.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:ue(s[We])*n,h:ue(s[ze])*n,m:ue(s[Ze])*n,s:ue(s[Xe])*n,ms:ue(cr(1e3*s[Ke]))*n}):(s=Mr.exec(e))?(n="-"===s[1]?-1:1,o={y:Fr(s[2],n),M:Fr(s[3],n),w:Fr(s[4],n),d:Fr(s[5],n),h:Fr(s[6],n),m:Fr(s[7],n),s:Fr(s[8],n)}):null==o?
1120
1120
  // checks for null or undefined
1121
1121
  o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=$r(Kn(o.from),Kn(o.to)),(o={}).ms=i.milliseconds,o.M=i.months),r=new ar(o),lr(e)&&a(e,"_locale")&&(r._locale=e._locale),lr(e)&&a(e,"_isValid")&&(r._isValid=e._isValid),r}function Fr(e,t){
1122
1122
  // We'd normally use ~~inp for this, but unfortunately it also
@@ -1128,14 +1128,14 @@ return(isNaN(n)?0:n)*t}function Ir(e,t){var n={};return n.months=t.month()-e.mon
1128
1128
  // TODO: remove 'name' arg after deprecation is removed
1129
1129
  function Ar(e,t){return function(n,r){var i;
1130
1130
  //invert the arguments, but complain about it
1131
- return null===r||isNaN(+r)||(D(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),Or(this,Mr(n,r),e),this}}function Or(e,t,n,i){var o=t._milliseconds,s=cr(t._days),a=cr(t._months);e.isValid()&&(i=null==i||i,a&&ut(e,de(e,"Month")+a*n),s&&pe(e,"Date",de(e,"Date")+s*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&r.updateOffset(e,s||a))}Mr.fn=ar.prototype,Mr.invalid=sr;var Pr=Ar(1,"add"),Hr=Ar(-1,"subtract");function Cr(e){return"string"==typeof e||e instanceof String}
1131
+ return null===r||isNaN(+r)||(M(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),Or(this,Dr(n,r),e),this}}function Or(e,t,n,i){var o=t._milliseconds,s=cr(t._days),a=cr(t._months);e.isValid()&&(i=null==i||i,a&&ut(e,de(e,"Month")+a*n),s&&fe(e,"Date",de(e,"Date")+s*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&r.updateOffset(e,s||a))}Dr.fn=ar.prototype,Dr.invalid=sr;var Pr=Ar(1,"add"),Hr=Ar(-1,"subtract");function Cr(e){return"string"==typeof e||e instanceof String}
1132
1132
  // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
1133
1133
  function Br(e){return E(e)||h(e)||Cr(e)||u(e)||Rr(e)||Nr(e)||null==e}function Nr(e){var t,n,r=s(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"],c=o.length;for(t=0;t<c;t+=1)n=o[t],i=i||a(e,n);return r&&i}function Rr(e){var t=o(e),n=!1;return t&&(n=0===e.filter((function(t){return!u(t)&&Cr(e)})).length),t&&n}function Yr(e){var t,n,r=s(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||a(e,n);return r&&i}function Ur(e,t){var n=e.diff(t,"days",!0);return n<-6?"sameElse":n<-1?"lastWeek":n<0?"lastDay":n<1?"sameDay":n<2?"nextDay":n<7?"nextWeek":"sameElse"}function Gr(e,t){
1134
1134
  // Support for single parameter, formats only overload to the calendar function
1135
1135
  1===arguments.length&&(arguments[0]?Br(arguments[0])?(e=arguments[0],t=void 0):Yr(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));
1136
1136
  // We want to compare the start of today, vs this.
1137
1137
  // Getting start-of-today depends on whether we're local/utc/offset or not.
1138
- var n=e||Kn(),i=pr(n,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",s=t&&(M(t[o])?t[o].call(this,n):t[o]);return this.format(s||this.localeData().calendar(o,this,Kn(n)))}function jr(){return new k(this)}function Vr(e,t){var n=E(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Wr(e,t){var n=E(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function zr(e,t,n,r){var i=E(e)?e:Kn(e),o=E(t)?t:Kn(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 Zr(e,t){var n,r=E(e)?e:Kn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Xr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Kr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function qr(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=pr(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=re(t)){case"year":o=Jr(this,r)/12;break;case"month":o=Jr(this,r);break;case"quarter":o=Jr(this,r)/3;break;case"second":o=(this-r)/1e3;break;// 1000
1138
+ var n=e||Kn(),i=pr(n,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",s=t&&(D(t[o])?t[o].call(this,n):t[o]);return this.format(s||this.localeData().calendar(o,this,Kn(n)))}function jr(){return new k(this)}function Vr(e,t){var n=E(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Wr(e,t){var n=E(e)?e:Kn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function zr(e,t,n,r){var i=E(e)?e:Kn(e),o=E(t)?t:Kn(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 Zr(e,t){var n,r=E(e)?e:Kn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Xr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Kr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function qr(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=pr(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=re(t)){case"year":o=Jr(this,r)/12;break;case"month":o=Jr(this,r);break;case"quarter":o=Jr(this,r)/3;break;case"second":o=(this-r)/1e3;break;// 1000
1139
1139
  case"minute":o=(this-r)/6e4;break;// 1000 * 60
1140
1140
  case"hour":o=(this-r)/36e5;break;// 1000 * 60 * 60
1141
1141
  case"day":o=(this-r-i)/864e5;break;// 1000 * 60 * 60 * 24, negate dst
@@ -1149,7 +1149,7 @@ var n=12*(t.year()-e.year())+(t.month()-e.month()),
1149
1149
  // b is in (anchor - 1 month, anchor + 1 month)
1150
1150
  r=e.clone().add(n,"months");
1151
1151
  //check for negative zero, return zero if negative zero
1152
- return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Qr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ei(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?G(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):M(Date.prototype.toISOString)?
1152
+ return-(n+(t-r<0?(t-r)/(r-e.clone().add(n-1,"months")):(t-r)/(e.clone().add(n+1,"months")-r)))||0}function Qr(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")}function ei(e){if(!this.isValid())return null;var t=!0!==e,n=t?this.clone().utc():this;return n.year()<0||n.year()>9999?G(n,t?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):D(Date.prototype.toISOString)?
1153
1153
  // native implementation is ~50x faster, use it when we can
1154
1154
  t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",G(n,"Z")):G(n,t?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")}
1155
1155
  /**
@@ -1157,19 +1157,19 @@ t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).t
1157
1157
  * also be evaluated to get a new moment which is the same
1158
1158
  *
1159
1159
  * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects
1160
- */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=G(this,e);return this.localeData().postformat(t)}function ri(e,t){return this.isValid()&&(E(e)&&e.isValid()||Kn(e).isValid())?Mr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ii(e){return this.from(Kn(),e)}function oi(e,t){return this.isValid()&&(E(e)&&e.isValid()||Kn(e).isValid())?Mr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function si(e){return this.to(Kn(),e)}
1160
+ */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=G(this,e);return this.localeData().postformat(t)}function ri(e,t){return this.isValid()&&(E(e)&&e.isValid()||Kn(e).isValid())?Dr({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function ii(e){return this.from(Kn(),e)}function oi(e,t){return this.isValid()&&(E(e)&&e.isValid()||Kn(e).isValid())?Dr({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function si(e){return this.to(Kn(),e)}
1161
1161
  // If passed a locale key, it will set the locale for this
1162
1162
  // instance. Otherwise, it will return the locale configuration
1163
1163
  // variables for this instance.
1164
- function ai(e){var t;return void 0===e?this._locale._abbr:(null!=(t=_n(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var li=S("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ci(){return this._locale}var ui=1e3,hi=60*ui,di=60*hi,fi=3506328*di;
1164
+ function ai(e){var t;return void 0===e?this._locale._abbr:(null!=(t=_n(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var li=T("moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.",(function(e){return void 0===e?this.localeData():this.locale(e)}));function ci(){return this._locale}var ui=1e3,hi=60*ui,di=60*hi,fi=3506328*di;
1165
1165
  // actual modulo - handles negative numbers (for dates before 1970):
1166
1166
  function pi(e,t){return(e%t+t)%t}function mi(e,t,n){
1167
1167
  // the date constructor remaps years 0-99 to 1900-1999
1168
1168
  return e<100&&e>=0?new Date(e+400,t,n)-fi:new Date(e,t,n).valueOf()}function gi(e,t,n){
1169
1169
  // Date.UTC remaps years 0-99 to 1900-1999
1170
- return e<100&&e>=0?Date.UTC(e+400,t,n)-fi:Date.UTC(e,t,n)}function yi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:mi,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=pi(t+(this._isUTC?0:this.utcOffset()*hi),di);break;case"minute":t=this._d.valueOf(),t-=pi(t,hi);break;case"second":t=this._d.valueOf(),t-=pi(t,ui)}return this._d.setTime(t),r.updateOffset(this,!0),this}function bi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:mi,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=di-pi(t+(this._isUTC?0:this.utcOffset()*hi),di)-1;break;case"minute":t=this._d.valueOf(),t+=hi-pi(t,hi)-1;break;case"second":t=this._d.valueOf(),t+=ui-pi(t,ui)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function _i(){return this._d.valueOf()-6e4*(this._offset||0)}function vi(){return Math.floor(this.valueOf()/1e3)}function wi(){return new Date(this.valueOf())}function ki(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Ei(){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 Ti(){
1170
+ return e<100&&e>=0?Date.UTC(e+400,t,n)-fi:Date.UTC(e,t,n)}function yi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:mi,e){case"year":t=n(this.year(),0,1);break;case"quarter":t=n(this.year(),this.month()-this.month()%3,1);break;case"month":t=n(this.year(),this.month(),1);break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday());break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1));break;case"day":case"date":t=n(this.year(),this.month(),this.date());break;case"hour":t=this._d.valueOf(),t-=pi(t+(this._isUTC?0:this.utcOffset()*hi),di);break;case"minute":t=this._d.valueOf(),t-=pi(t,hi);break;case"second":t=this._d.valueOf(),t-=pi(t,ui)}return this._d.setTime(t),r.updateOffset(this,!0),this}function bi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?gi:mi,e){case"year":t=n(this.year()+1,0,1)-1;break;case"quarter":t=n(this.year(),this.month()-this.month()%3+3,1)-1;break;case"month":t=n(this.year(),this.month()+1,1)-1;break;case"week":t=n(this.year(),this.month(),this.date()-this.weekday()+7)-1;break;case"isoWeek":t=n(this.year(),this.month(),this.date()-(this.isoWeekday()-1)+7)-1;break;case"day":case"date":t=n(this.year(),this.month(),this.date()+1)-1;break;case"hour":t=this._d.valueOf(),t+=di-pi(t+(this._isUTC?0:this.utcOffset()*hi),di)-1;break;case"minute":t=this._d.valueOf(),t+=hi-pi(t,hi)-1;break;case"second":t=this._d.valueOf(),t+=ui-pi(t,ui)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function _i(){return this._d.valueOf()-6e4*(this._offset||0)}function vi(){return Math.floor(this.valueOf()/1e3)}function wi(){return new Date(this.valueOf())}function ki(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Ei(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Si(){
1171
1171
  // new Date(NaN).toJSON() === null
1172
- return this.isValid()?this.toISOString():null}function Si(){return y(this)}function xi(){return f({},g(this))}function Li(){return g(this).overflow}function Di(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Mi(e,t){var n,i,o,s=this._eras||_n("en")._eras;for(n=0,i=s.length;n<i;++n)switch("string"==typeof s[n].since&&(
1172
+ return this.isValid()?this.toISOString():null}function Ti(){return y(this)}function xi(){return f({},g(this))}function Li(){return g(this).overflow}function Mi(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Di(e,t){var n,i,o,s=this._eras||_n("en")._eras;for(n=0,i=s.length;n<i;++n)switch("string"==typeof s[n].since&&(
1173
1173
  // truncate time
1174
1174
  o=r(s[n].since).startOf("day"),s[n].since=o.valueOf()),typeof s[n].until){case"undefined":s[n].until=1/0;break;case"string":
1175
1175
  // truncate time
@@ -1181,22 +1181,22 @@ n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e]
1181
1181
  // truncate time
1182
1182
  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 Pi(){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,
1183
1183
  // truncate time
1184
- 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 Hi(e){return a(this,"_erasNameRegex")||Gi.call(this),e?this._erasNameRegex:this._erasRegex}function Ci(e){return a(this,"_erasAbbrRegex")||Gi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Bi(e){return a(this,"_erasNarrowRegex")||Gi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ni(e,t){return t.erasAbbrRegex(e)}function Ri(e,t){return t.erasNameRegex(e)}function Yi(e,t){return t.erasNarrowRegex(e)}function Ui(e,t){return t._eraYearOrdinalRegex||Me}function Gi(){var e,t,n=[],r=[],i=[],o=[],s=this.eras();for(e=0,t=s.length;e<t;++e)r.push(Be(s[e].name)),n.push(Be(s[e].abbr)),i.push(Be(s[e].narrow)),o.push(Be(s[e].name)),o.push(Be(s[e].abbr)),o.push(Be(s[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")}
1184
+ 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 Hi(e){return a(this,"_erasNameRegex")||Gi.call(this),e?this._erasNameRegex:this._erasRegex}function Ci(e){return a(this,"_erasAbbrRegex")||Gi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Bi(e){return a(this,"_erasNarrowRegex")||Gi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ni(e,t){return t.erasAbbrRegex(e)}function Ri(e,t){return t.erasNameRegex(e)}function Yi(e,t){return t.erasNarrowRegex(e)}function Ui(e,t){return t._eraYearOrdinalRegex||De}function Gi(){var e,t,n=[],r=[],i=[],o=[],s=this.eras();for(e=0,t=s.length;e<t;++e)r.push(Be(s[e].name)),n.push(Be(s[e].abbr)),i.push(Be(s[e].narrow)),o.push(Be(s[e].name)),o.push(Be(s[e].abbr)),o.push(Be(s[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")}
1185
1185
  // FORMATTING
1186
1186
  function ji(e,t){R(0,[e,e.length],0,t)}
1187
1187
  // MOMENTS
1188
- function Vi(e){return qi.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Wi(e){return qi.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function zi(){return Tt(this.year(),1,4)}function Zi(){return Tt(this.isoWeekYear(),1,4)}function Xi(){var e=this.localeData()._week;return Tt(this.year(),e.dow,e.doy)}function Ki(){var e=this.localeData()._week;return Tt(this.weekYear(),e.dow,e.doy)}function qi(e,t,n,r,i){var o;return null==e?Et(this,r,i).year:(t>(o=Tt(e,r,i))&&(t=o),Ji.call(this,e,t,n,r,i))}function Ji(e,t,n,r,i){var o=kt(e,t,n,r,i),s=vt(o.year,0,o.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}
1188
+ function Vi(e){return qi.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Wi(e){return qi.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function zi(){return St(this.year(),1,4)}function Zi(){return St(this.isoWeekYear(),1,4)}function Xi(){var e=this.localeData()._week;return St(this.year(),e.dow,e.doy)}function Ki(){var e=this.localeData()._week;return St(this.weekYear(),e.dow,e.doy)}function qi(e,t,n,r,i){var o;return null==e?Et(this,r,i).year:(t>(o=St(e,r,i))&&(t=o),Ji.call(this,e,t,n,r,i))}function Ji(e,t,n,r,i){var o=kt(e,t,n,r,i),s=vt(o.year,0,o.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}
1189
1189
  // FORMATTING
1190
1190
  // MOMENTS
1191
1191
  function Qi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}
1192
1192
  // FORMATTING
1193
- R("N",0,0,"eraAbbr"),R("NN",0,0,"eraAbbr"),R("NNN",0,0,"eraAbbr"),R("NNNN",0,0,"eraName"),R("NNNNN",0,0,"eraNarrow"),R("y",["y",1],"yo","eraYear"),R("y",["yy",2],0,"eraYear"),R("y",["yyy",3],0,"eraYear"),R("y",["yyyy",4],0,"eraYear"),Pe("N",Ni),Pe("NN",Ni),Pe("NNN",Ni),Pe("NNNN",Ri),Pe("NNNNN",Yi),Re(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?g(n).era=i:g(n).invalidEra=e})),Pe("y",Me),Pe("yy",Me),Pe("yyy",Me),Pe("yyyy",Me),Pe("yo",Ui),Re(["y","yy","yyy","yyyy"],je),Re(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[je]=n._locale.eraYearOrdinalParse(e,i):t[je]=parseInt(e,10)})),R(0,["gg",2],0,(function(){return this.weekYear()%100})),R(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ji("gggg","weekYear"),ji("ggggg","weekYear"),ji("GGGG","isoWeekYear"),ji("GGGGG","isoWeekYear"),
1193
+ R("N",0,0,"eraAbbr"),R("NN",0,0,"eraAbbr"),R("NNN",0,0,"eraAbbr"),R("NNNN",0,0,"eraName"),R("NNNNN",0,0,"eraNarrow"),R("y",["y",1],"yo","eraYear"),R("y",["yy",2],0,"eraYear"),R("y",["yyy",3],0,"eraYear"),R("y",["yyyy",4],0,"eraYear"),Pe("N",Ni),Pe("NN",Ni),Pe("NNN",Ni),Pe("NNNN",Ri),Pe("NNNNN",Yi),Re(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?g(n).era=i:g(n).invalidEra=e})),Pe("y",De),Pe("yy",De),Pe("yyy",De),Pe("yyyy",De),Pe("yo",Ui),Re(["y","yy","yyy","yyyy"],je),Re(["yo"],(function(e,t,n,r){var i;n._locale._eraYearOrdinalRegex&&(i=e.match(n._locale._eraYearOrdinalRegex)),n._locale.eraYearOrdinalParse?t[je]=n._locale.eraYearOrdinalParse(e,i):t[je]=parseInt(e,10)})),R(0,["gg",2],0,(function(){return this.weekYear()%100})),R(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ji("gggg","weekYear"),ji("ggggg","weekYear"),ji("GGGG","isoWeekYear"),ji("GGGGG","isoWeekYear"),
1194
1194
  // ALIASES
1195
1195
  ne("weekYear","gg"),ne("isoWeekYear","GG"),
1196
1196
  // PRIORITY
1197
1197
  se("weekYear",1),se("isoWeekYear",1),
1198
1198
  // PARSING
1199
- Pe("G",Fe),Pe("g",Fe),Pe("GG",Ee,_e),Pe("gg",Ee,_e),Pe("GGGG",Le,we),Pe("gggg",Le,we),Pe("GGGGG",De,ke),Pe("ggggg",De,ke),Ye(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=ue(e)})),Ye(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),R("Q",0,"Qo","quarter"),
1199
+ Pe("G",Fe),Pe("g",Fe),Pe("GG",Ee,_e),Pe("gg",Ee,_e),Pe("GGGG",Le,we),Pe("gggg",Le,we),Pe("GGGGG",Me,ke),Pe("ggggg",Me,ke),Ye(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=ue(e)})),Ye(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),R("Q",0,"Qo","quarter"),
1200
1200
  // ALIASES
1201
1201
  ne("quarter","Q"),
1202
1202
  // PRIORITY
@@ -1250,11 +1250,11 @@ ne("millisecond","ms"),
1250
1250
  // PRIORITY
1251
1251
  se("millisecond",16),
1252
1252
  // PARSING
1253
- Pe("S",xe,be),Pe("SS",xe,_e),Pe("SSS",xe,ve),ro="SSSS";ro.length<=9;ro+="S")Pe(ro,Me);function so(e,t){t[Ke]=ue(1e3*("0."+e))}for(ro="S";ro.length<=9;ro+="S")Re(ro,so);
1253
+ Pe("S",xe,be),Pe("SS",xe,_e),Pe("SSS",xe,ve),ro="SSSS";ro.length<=9;ro+="S")Pe(ro,De);function so(e,t){t[Ke]=ue(1e3*("0."+e))}for(ro="S";ro.length<=9;ro+="S")Re(ro,so);
1254
1254
  // MOMENTS
1255
1255
  function ao(){return this._isUTC?"UTC":""}function lo(){return this._isUTC?"Coordinated Universal Time":""}io=he("Milliseconds",!1),
1256
1256
  // FORMATTING
1257
- R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var co=k.prototype;function uo(e){return Kn(1e3*e)}function ho(){return Kn.apply(null,arguments).parseZone()}function fo(e){return e}co.add=Pr,co.calendar=Gr,co.clone=jr,co.diff=qr,co.endOf=bi,co.format=ni,co.from=ri,co.fromNow=ii,co.to=oi,co.toNow=si,co.get=me,co.invalidAt=Li,co.isAfter=Vr,co.isBefore=Wr,co.isBetween=zr,co.isSame=Zr,co.isSameOrAfter=Xr,co.isSameOrBefore=Kr,co.isValid=Si,co.lang=li,co.locale=ai,co.localeData=ci,co.max=Jn,co.min=qn,co.parsingFlags=xi,co.set=ge,co.startOf=yi,co.subtract=Hr,co.toArray=ki,co.toObject=Ei,co.toDate=wi,co.toISOString=ei,co.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(co[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),co.toJSON=Ti,co.toString=Qr,co.unix=vi,co.valueOf=_i,co.creationData=Di,co.eraName=$i,co.eraNarrow=Ai,co.eraAbbr=Oi,co.eraYear=Pi,co.year=yt,co.isLeapYear=bt,co.weekYear=Vi,co.isoWeekYear=Wi,co.quarter=co.quarters=Qi,co.month=ht,co.daysInMonth=dt,co.week=co.weeks=Mt,co.isoWeek=co.isoWeeks=Ft,co.weeksInYear=Xi,co.weeksInWeekYear=Ki,co.isoWeeksInYear=zi,co.isoWeeksInISOWeekYear=Zi,co.date=eo,co.day=co.days=Vt,co.weekday=Wt,co.isoWeekday=zt,co.dayOfYear=to,co.hour=co.hours=on,co.minute=co.minutes=no,co.second=co.seconds=oo,co.millisecond=co.milliseconds=io,co.utcOffset=gr,co.utc=br,co.local=_r,co.parseZone=vr,co.hasAlignedHourOffset=wr,co.isDST=kr,co.isLocal=Tr,co.isUtcOffset=Sr,co.isUtc=xr,co.isUTC=xr,co.zoneAbbr=ao,co.zoneName=lo,co.dates=S("dates accessor is deprecated. Use date instead.",eo),co.months=S("months accessor is deprecated. Use month instead",ht),co.years=S("years accessor is deprecated. Use year instead",yt),co.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),co.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Er);var po=$.prototype;function mo(e,t,n,r){var i=_n(),o=p().set(r,t);return i[n](o,e)}function go(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return mo(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=mo(e,r,n,"month");return i}
1257
+ R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var co=k.prototype;function uo(e){return Kn(1e3*e)}function ho(){return Kn.apply(null,arguments).parseZone()}function fo(e){return e}co.add=Pr,co.calendar=Gr,co.clone=jr,co.diff=qr,co.endOf=bi,co.format=ni,co.from=ri,co.fromNow=ii,co.to=oi,co.toNow=si,co.get=pe,co.invalidAt=Li,co.isAfter=Vr,co.isBefore=Wr,co.isBetween=zr,co.isSame=Zr,co.isSameOrAfter=Xr,co.isSameOrBefore=Kr,co.isValid=Ti,co.lang=li,co.locale=ai,co.localeData=ci,co.max=Jn,co.min=qn,co.parsingFlags=xi,co.set=me,co.startOf=yi,co.subtract=Hr,co.toArray=ki,co.toObject=Ei,co.toDate=wi,co.toISOString=ei,co.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(co[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),co.toJSON=Si,co.toString=Qr,co.unix=vi,co.valueOf=_i,co.creationData=Mi,co.eraName=$i,co.eraNarrow=Ai,co.eraAbbr=Oi,co.eraYear=Pi,co.year=yt,co.isLeapYear=bt,co.weekYear=Vi,co.isoWeekYear=Wi,co.quarter=co.quarters=Qi,co.month=ht,co.daysInMonth=dt,co.week=co.weeks=Dt,co.isoWeek=co.isoWeeks=Ft,co.weeksInYear=Xi,co.weeksInWeekYear=Ki,co.isoWeeksInYear=zi,co.isoWeeksInISOWeekYear=Zi,co.date=eo,co.day=co.days=Vt,co.weekday=Wt,co.isoWeekday=zt,co.dayOfYear=to,co.hour=co.hours=on,co.minute=co.minutes=no,co.second=co.seconds=oo,co.millisecond=co.milliseconds=io,co.utcOffset=gr,co.utc=br,co.local=_r,co.parseZone=vr,co.hasAlignedHourOffset=wr,co.isDST=kr,co.isLocal=Sr,co.isUtcOffset=Tr,co.isUtc=xr,co.isUTC=xr,co.zoneAbbr=ao,co.zoneName=lo,co.dates=T("dates accessor is deprecated. Use date instead.",eo),co.months=T("months accessor is deprecated. Use month instead",ht),co.years=T("years accessor is deprecated. Use year instead",yt),co.zone=T("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yr),co.isDSTShifted=T("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Er);var po=$.prototype;function mo(e,t,n,r){var i=_n(),o=p().set(r,t);return i[n](o,e)}function go(e,t,n){if(u(e)&&(t=e,e=void 0),e=e||"",null!=t)return mo(e,t,n,"month");var r,i=[];for(r=0;r<12;r++)i[r]=mo(e,r,n,"month");return i}
1258
1258
  // ()
1259
1259
  // (5)
1260
1260
  // (fmt, 5)
@@ -1263,21 +1263,21 @@ R("z",0,0,"zoneAbbr"),R("zz",0,0,"zoneName");var co=k.prototype;function uo(e){r
1263
1263
  // (true, 5)
1264
1264
  // (true, fmt, 5)
1265
1265
  // (true, fmt)
1266
- function yo(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,o=_n(),s=e?o._week.dow:0,a=[];if(null!=n)return mo(t,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=mo(t,(i+s)%7,r,"day");return a}function bo(e,t){return go(e,t,"months")}function _o(e,t){return go(e,t,"monthsShort")}function vo(e,t,n){return yo(e,t,n,"weekdays")}function wo(e,t,n){return yo(e,t,n,"weekdaysShort")}function ko(e,t,n){return yo(e,t,n,"weekdaysMin")}po.calendar=O,po.longDateFormat=W,po.invalidDate=Z,po.ordinal=q,po.preparse=fo,po.postformat=fo,po.relativeTime=Q,po.pastFuture=ee,po.set=F,po.eras=Mi,po.erasParse=Fi,po.erasConvertYear=Ii,po.erasAbbrRegex=Ci,po.erasNameRegex=Hi,po.erasNarrowRegex=Bi,po.months=st,po.monthsShort=at,po.monthsParse=ct,po.monthsRegex=pt,po.monthsShortRegex=ft,po.week=St,po.firstDayOfYear=Dt,po.firstDayOfWeek=Lt,po.weekdays=Rt,po.weekdaysMin=Ut,po.weekdaysShort=Yt,po.weekdaysParse=jt,po.weekdaysRegex=Zt,po.weekdaysShortRegex=Xt,po.weekdaysMinRegex=Kt,po.isPM=nn,po.meridiem=sn,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ue(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
1266
+ function yo(e,t,n,r){"boolean"==typeof e?(u(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,u(t)&&(n=t,t=void 0),t=t||"");var i,o=_n(),s=e?o._week.dow:0,a=[];if(null!=n)return mo(t,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=mo(t,(i+s)%7,r,"day");return a}function bo(e,t){return go(e,t,"months")}function _o(e,t){return go(e,t,"monthsShort")}function vo(e,t,n){return yo(e,t,n,"weekdays")}function wo(e,t,n){return yo(e,t,n,"weekdaysShort")}function ko(e,t,n){return yo(e,t,n,"weekdaysMin")}po.calendar=O,po.longDateFormat=W,po.invalidDate=Z,po.ordinal=q,po.preparse=fo,po.postformat=fo,po.relativeTime=Q,po.pastFuture=ee,po.set=F,po.eras=Di,po.erasParse=Fi,po.erasConvertYear=Ii,po.erasAbbrRegex=Ci,po.erasNameRegex=Hi,po.erasNarrowRegex=Bi,po.months=st,po.monthsShort=at,po.monthsParse=ct,po.monthsRegex=pt,po.monthsShortRegex=ft,po.week=Tt,po.firstDayOfYear=Mt,po.firstDayOfWeek=Lt,po.weekdays=Rt,po.weekdaysMin=Ut,po.weekdaysShort=Yt,po.weekdaysParse=jt,po.weekdaysRegex=Zt,po.weekdaysShortRegex=Xt,po.weekdaysMinRegex=Kt,po.isPM=nn,po.meridiem=sn,gn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ue(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
1267
1267
  // Side effect imports
1268
- r.lang=S("moment.lang is deprecated. Use moment.locale instead.",gn),r.langData=S("moment.langData is deprecated. Use moment.localeData instead.",_n);var Eo=Math.abs;function To(){var e=this._data;return this._milliseconds=Eo(this._milliseconds),this._days=Eo(this._days),this._months=Eo(this._months),e.milliseconds=Eo(e.milliseconds),e.seconds=Eo(e.seconds),e.minutes=Eo(e.minutes),e.hours=Eo(e.hours),e.months=Eo(e.months),e.years=Eo(e.years),this}function So(e,t,n,r){var i=Mr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}
1268
+ r.lang=T("moment.lang is deprecated. Use moment.locale instead.",gn),r.langData=T("moment.langData is deprecated. Use moment.localeData instead.",_n);var Eo=Math.abs;function So(){var e=this._data;return this._milliseconds=Eo(this._milliseconds),this._days=Eo(this._days),this._months=Eo(this._months),e.milliseconds=Eo(e.milliseconds),e.seconds=Eo(e.seconds),e.minutes=Eo(e.minutes),e.hours=Eo(e.hours),e.months=Eo(e.months),e.years=Eo(e.years),this}function To(e,t,n,r){var i=Dr(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}
1269
1269
  // supports only 2.0-style add(1, 's') or add(duration)
1270
- function xo(e,t){return So(this,e,t,1)}
1270
+ function xo(e,t){return To(this,e,t,1)}
1271
1271
  // supports only 2.0-style subtract(1, 's') or subtract(duration)
1272
- function Lo(e,t){return So(this,e,t,-1)}function Do(e){return e<0?Math.floor(e):Math.ceil(e)}function Mo(){var e,t,n,r,i,o=this._milliseconds,s=this._days,a=this._months,l=this._data;
1272
+ function Lo(e,t){return To(this,e,t,-1)}function Mo(e){return e<0?Math.floor(e):Math.ceil(e)}function Do(){var e,t,n,r,i,o=this._milliseconds,s=this._days,a=this._months,l=this._data;
1273
1273
  // if we have a mix of positive and negative values, bubble down first
1274
1274
  // check: https://github.com/moment/moment/issues/2166
1275
- return o>=0&&s>=0&&a>=0||o<=0&&s<=0&&a<=0||(o+=864e5*Do(Io(a)+s),s=0,a=0),
1275
+ return o>=0&&s>=0&&a>=0||o<=0&&s<=0&&a<=0||(o+=864e5*Mo(Io(a)+s),s=0,a=0),
1276
1276
  // The following code bubbles up values, see the tests for
1277
1277
  // examples of what that means.
1278
1278
  l.milliseconds=o%1e3,e=ce(o/1e3),l.seconds=e%60,t=ce(e/60),l.minutes=t%60,n=ce(t/60),l.hours=n%24,s+=ce(n/24),a+=
1279
1279
  // convert days to months
1280
- i=ce(Fo(s)),s-=Do(Io(i)),
1280
+ i=ce(Fo(s)),s-=Mo(Io(i)),
1281
1281
  // 12 months -> 1 year
1282
1282
  r=ce(a/12),a%=12,l.days=s,l.months=a,l.years=r,this}function Fo(e){
1283
1283
  // 400 years have 146097 days (taking into account leap year rules)
@@ -1290,7 +1290,7 @@ t=this._days+Math.round(Io(this._months)),e){case"week":return t/7+r/6048e5;case
1290
1290
  // Math.floor prevents floating point math errors here
1291
1291
  case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}
1292
1292
  // TODO: Use this.as('ms')?
1293
- function Ao(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ue(this._months/12):NaN}function Oo(e){return function(){return this.as(e)}}var Po=Oo("ms"),Ho=Oo("s"),Co=Oo("m"),Bo=Oo("h"),No=Oo("d"),Ro=Oo("w"),Yo=Oo("M"),Uo=Oo("Q"),Go=Oo("y");function jo(){return Mr(this)}function Vo(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Wo(e){return function(){return this.isValid()?this._data[e]:NaN}}var zo=Wo("milliseconds"),Zo=Wo("seconds"),Xo=Wo("minutes"),Ko=Wo("hours"),qo=Wo("days"),Jo=Wo("months"),Qo=Wo("years");function es(){return ce(this.days()/7)}var ts=Math.round,ns={ss:44,// a few seconds to seconds
1293
+ function Ao(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ue(this._months/12):NaN}function Oo(e){return function(){return this.as(e)}}var Po=Oo("ms"),Ho=Oo("s"),Co=Oo("m"),Bo=Oo("h"),No=Oo("d"),Ro=Oo("w"),Yo=Oo("M"),Uo=Oo("Q"),Go=Oo("y");function jo(){return Dr(this)}function Vo(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Wo(e){return function(){return this.isValid()?this._data[e]:NaN}}var zo=Wo("milliseconds"),Zo=Wo("seconds"),Xo=Wo("minutes"),Ko=Wo("hours"),qo=Wo("days"),Jo=Wo("months"),Qo=Wo("years");function es(){return ce(this.days()/7)}var ts=Math.round,ns={ss:44,// a few seconds to seconds
1294
1294
  s:45,// seconds to minute
1295
1295
  m:45,// minutes to hour
1296
1296
  h:22,// hours to day
@@ -1298,7 +1298,7 @@ d:26,// days to month/week
1298
1298
  w:null,// weeks to month
1299
1299
  M:11};
1300
1300
  // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize
1301
- function rs(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function is(e,t,n,r){var i=Mr(e).abs(),o=ts(i.as("s")),s=ts(i.as("m")),a=ts(i.as("h")),l=ts(i.as("d")),c=ts(i.as("M")),u=ts(i.as("w")),h=ts(i.as("y")),d=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(d=d||u<=1&&["w"]||u<n.w&&["ww",u]),(d=d||c<=1&&["M"]||c<n.M&&["MM",c]||h<=1&&["y"]||["yy",h])[2]=t,d[3]=+e>0,d[4]=r,rs.apply(null,d)}
1301
+ function rs(e,t,n,r,i){return i.relativeTime(t||1,!!n,e,r)}function is(e,t,n,r){var i=Dr(e).abs(),o=ts(i.as("s")),s=ts(i.as("m")),a=ts(i.as("h")),l=ts(i.as("d")),c=ts(i.as("M")),u=ts(i.as("w")),h=ts(i.as("y")),d=o<=n.ss&&["s",o]||o<n.s&&["ss",o]||s<=1&&["m"]||s<n.m&&["mm",s]||a<=1&&["h"]||a<n.h&&["hh",a]||l<=1&&["d"]||l<n.d&&["dd",l];return null!=n.w&&(d=d||u<=1&&["w"]||u<n.w&&["ww",u]),(d=d||c<=1&&["M"]||c<n.M&&["MM",c]||h<=1&&["y"]||["yy",h])[2]=t,d[3]=+e>0,d[4]=r,rs.apply(null,d)}
1302
1302
  // This function allows you to set the rounding function for relative time strings
1303
1303
  function os(e){return void 0===e?ts:"function"==typeof e&&(ts=e,!0)}
1304
1304
  // This function allows you to set a threshold for relative time strings
@@ -1316,13 +1316,13 @@ e=ce(l/60),t=ce(e/60),l%=60,e%=60,
1316
1316
  // 12 months -> 1 year
1317
1317
  n=ce(u/12),u%=12,
1318
1318
  // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
1319
- r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",o=cs(this._months)!==cs(h)?"-":"",s=cs(this._days)!==cs(h)?"-":"",a=cs(this._milliseconds)!==cs(h)?"-":"",i+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?s+c+"D":"")+(t||e||l?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(l?a+r+"S":"")):"P0D"}var hs=ar.prototype;return hs.isValid=or,hs.abs=To,hs.add=xo,hs.subtract=Lo,hs.as=$o,hs.asMilliseconds=Po,hs.asSeconds=Ho,hs.asMinutes=Co,hs.asHours=Bo,hs.asDays=No,hs.asWeeks=Ro,hs.asMonths=Yo,hs.asQuarters=Uo,hs.asYears=Go,hs.valueOf=Ao,hs._bubble=Mo,hs.clone=jo,hs.get=Vo,hs.milliseconds=zo,hs.seconds=Zo,hs.minutes=Xo,hs.hours=Ko,hs.days=qo,hs.weeks=es,hs.months=Jo,hs.years=Qo,hs.humanize=as,hs.toISOString=us,hs.toString=us,hs.toJSON=us,hs.locale=ai,hs.localeData=ci,hs.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",us),hs.lang=li,
1319
+ r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",o=cs(this._months)!==cs(h)?"-":"",s=cs(this._days)!==cs(h)?"-":"",a=cs(this._milliseconds)!==cs(h)?"-":"",i+"P"+(n?o+n+"Y":"")+(u?o+u+"M":"")+(c?s+c+"D":"")+(t||e||l?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(l?a+r+"S":"")):"P0D"}var hs=ar.prototype;return hs.isValid=or,hs.abs=So,hs.add=xo,hs.subtract=Lo,hs.as=$o,hs.asMilliseconds=Po,hs.asSeconds=Ho,hs.asMinutes=Co,hs.asHours=Bo,hs.asDays=No,hs.asWeeks=Ro,hs.asMonths=Yo,hs.asQuarters=Uo,hs.asYears=Go,hs.valueOf=Ao,hs._bubble=Do,hs.clone=jo,hs.get=Vo,hs.milliseconds=zo,hs.seconds=Zo,hs.minutes=Xo,hs.hours=Ko,hs.days=qo,hs.weeks=es,hs.months=Jo,hs.years=Qo,hs.humanize=as,hs.toISOString=us,hs.toString=us,hs.toJSON=us,hs.locale=ai,hs.localeData=ci,hs.toIsoString=T("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",us),hs.lang=li,
1320
1320
  // FORMATTING
1321
1321
  R("X",0,0,"unix"),R("x",0,0,"valueOf"),
1322
1322
  // PARSING
1323
1323
  Pe("x",Fe),Pe("X",Ae),Re("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Re("x",(function(e,t,n){n._d=new Date(ue(e))})),
1324
1324
  //! moment.js
1325
- r.version="2.29.4",i(Kn),r.fn=co,r.min=er,r.max=tr,r.now=nr,r.utc=p,r.unix=uo,r.months=bo,r.isDate=h,r.locale=gn,r.invalid=b,r.duration=Mr,r.isMoment=E,r.weekdays=vo,r.parseZone=ho,r.localeData=_n,r.isDuration=lr,r.monthsShort=_o,r.weekdaysMin=ko,r.defineLocale=yn,r.updateLocale=bn,r.locales=vn,r.weekdaysShort=wo,r.normalizeUnits=re,r.relativeTimeRounding=os,r.relativeTimeThreshold=ss,r.calendarFormat=Ur,r.prototype=co,
1325
+ r.version="2.29.4",i(Kn),r.fn=co,r.min=er,r.max=tr,r.now=nr,r.utc=p,r.unix=uo,r.months=bo,r.isDate=h,r.locale=gn,r.invalid=b,r.duration=Dr,r.isMoment=E,r.weekdays=vo,r.parseZone=ho,r.localeData=_n,r.isDuration=lr,r.monthsShort=_o,r.weekdaysMin=ko,r.defineLocale=yn,r.updateLocale=bn,r.locales=vn,r.weekdaysShort=wo,r.normalizeUnits=re,r.relativeTimeRounding=os,r.relativeTimeThreshold=ss,r.calendarFormat=Ur,r.prototype=co,
1326
1326
  // currently HTML5 input type only supports 24-hour formats
1327
1327
  r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",// <input type="datetime-local" />
1328
1328
  DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",// <input type="datetime-local" step="1" />
@@ -1332,69 +1332,69 @@ TIME:"HH:mm",// <input type="time" />
1332
1332
  TIME_SECONDS:"HH:mm:ss",// <input type="time" step="1" />
1333
1333
  TIME_MS:"HH:mm:ss.SSS",// <input type="time" step="0.001" />
1334
1334
  WEEK:"GGGG-[W]WW",// <input type="week" />
1335
- MONTH:"YYYY-MM"},r}()}));function di(e,t){Vn(e,t)}const fi={en:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Hold button for 3 seconds to take 24-hour timeout"},de:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Button für 3 Sekunden drücken um eine 24-stündige Auszeit zu nehmen"},fr:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Hold button for 3 seconds to take 24-hour timeout"},ro:{timeText:"Ora",sessionTimer:"online de",panicButton:"Hold button for 3 seconds to take 24-hour timeout"},es:{timeText:"Hora",sessionTimer:"tiempo sesión",panicButton:"Dar clic durante 3 segundos para tomar un descanso de 24 horas"},pt:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Hold button for 3 seconds to take 24-hour timeout"},hr:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Držite gumb 3 sekunde kako biste aktivirali vremensko ograničenje od 24 sata"},sl:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Držite gumb 3 sekunde, da bi vzeli 24 urni premor"},pl:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Przytrzymaj przycisk przez 3 sekundy, aby uzyskać 24-godzinny limit czasu"}},{document:pi}=U;
1336
- /* src/CasinoFooterV2.svelte generated by Svelte v3.58.0 */function mi(e,t,n){const r=e.slice();return r[81]=t[n],r}function gi(e,t,n){const r=e.slice();return r[84]=t[n],r}function yi(e,t,n){const r=e.slice();return r[87]=t[n],r}
1335
+ MONTH:"YYYY-MM"},r}()}));function gi(e,t){Xn(e,t)}const yi={en:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Hold button for 3 seconds to take 24-hour timeout"},de:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Button für 3 Sekunden drücken um eine 24-stündige Auszeit zu nehmen"},fr:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Hold button for 3 seconds to take 24-hour timeout"},ro:{timeText:"Ora",sessionTimer:"online de",panicButton:"Hold button for 3 seconds to take 24-hour timeout"},es:{timeText:"Hora",sessionTimer:"tiempo sesión",panicButton:"Dar clic durante 3 segundos para tomar un descanso de 24 horas"},pt:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Hold button for 3 seconds to take 24-hour timeout"},hr:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Držite gumb 3 sekunde kako biste aktivirali vremensko ograničenje od 24 sata"},sl:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Držite gumb 3 sekunde, da bi vzeli 24 urni premor"},pl:{timeText:"Time",sessionTimer:"logged in for",panicButton:"Przytrzymaj przycisk przez 3 sekundy, aby uzyskać 24-godzinny limit czasu"}},{document:bi}=h;
1336
+ /* src/CasinoFooterV2.svelte generated by Svelte v3.59.2 */function _i(e,t,n){const r=e.slice();return r[81]=t[n],r}function vi(e,t,n){const r=e.slice();return r[84]=t[n],r}function wi(e,t,n){const r=e.slice();return r[87]=t[n],r}
1337
1337
  // (293:2) {#if headScript}
1338
- function bi(e){let t,n;return{c(){t=g("script"),l(t.src,n=/*licenseScriptSrc*/e[23])||k(t,"src",n)},m(e,n){f(e,t,n)},p(e,r){/*licenseScriptSrc*/8388608&r[0]&&!l(t.src,n=/*licenseScriptSrc*/e[23])&&k(t,"src",n)},d(e){e&&p(t)}}}
1338
+ function ki(e){let t,n;return{c(){t=g("script"),a(t.src,n=/*licenseScriptSrc*/e[23])||k(t,"src",n)},m(e,n){f(e,t,n)},p(e,r){/*licenseScriptSrc*/8388608&r[0]&&!a(t.src,n=/*licenseScriptSrc*/e[23])&&k(t,"src",n)},d(e){e&&p(t)}}}
1339
1339
  // (303:2) {:else}
1340
- function _i(e){let t,n,r,i,o,s,a,l,c,u,h,m,y=/*helpLinksRepeater*/e[13]&&ki(e),b=/*gameVendorsRepeater*/e[8]&&Si(e),v=/*paymentMethodsRepeater*/e[10]&&Li(e),w=/*panicbuttonenabled*/"true"===e[3]&&/*isLoggedIn*/e[25]&&Mi(e),E=/*licensesRepeater*/e[15]&&Fi(e),T=/*sponsorsRepeater*/e[12]&&Ai(e),S=/*socialLinksRepeater*/e[17]&&Hi(e),x=/*languageselectorenabled*/"true"===e[2]&&/*languagePackLoaded*/e[31]&&/*selectedLanguage*/e[26]&&Bi(e),L=/*copyright*/e[18]&&Yi(e);return{c(){t=g("div"),n=g("div"),y&&y.c(),i=_(),o=g("div"),b&&b.c(),s=_(),v&&v.c(),a=_(),w&&w.c(),l=_(),E&&E.c(),c=_(),T&&T.c(),u=_(),S&&S.c(),h=_(),x&&x.c(),m=_(),L&&L.c(),k(n,"class",r="FooterSide "+(/*isOnMobile*/e[33]&&/*isLoggedIn*/e[25]&&/*panicbuttonenabled*/"true"===e[3]?"FooterSideMobile":"")),k(o,"class","FooterGrid"),k(t,"class","Footer")},m(r,p){f(r,t,p),d(t,n),y&&y.m(n,null),d(t,i),d(t,o),b&&b.m(o,null),d(o,s),v&&v.m(o,null),d(o,a),w&&w.m(o,null),d(o,l),E&&E.m(o,null),d(o,c),T&&T.m(o,null),d(o,u),S&&S.m(o,null),d(o,h),x&&x.m(o,null),d(o,m),L&&L.m(o,null)
1341
- /*div2_binding*/,e[56](t)},p(e,t){/*helpLinksRepeater*/e[13]?y?y.p(e,t):(y=ki(e),y.c(),y.m(n,null)):y&&(y.d(1),y=null),/*isLoggedIn, panicbuttonenabled*/33554440&t[0]&&r!==(r="FooterSide "+(/*isOnMobile*/e[33]&&/*isLoggedIn*/e[25]&&/*panicbuttonenabled*/"true"===e[3]?"FooterSideMobile":""))&&k(n,"class",r),/*gameVendorsRepeater*/e[8]?b?b.p(e,t):(b=Si(e),b.c(),b.m(o,s)):b&&(b.d(1),b=null),/*paymentMethodsRepeater*/e[10]?v?v.p(e,t):(v=Li(e),v.c(),v.m(o,a)):v&&(v.d(1),v=null),/*panicbuttonenabled*/"true"===e[3]&&/*isLoggedIn*/e[25]?w?w.p(e,t):(w=Mi(e),w.c(),w.m(o,l)):w&&(w.d(1),w=null),/*licensesRepeater*/e[15]?E?E.p(e,t):(E=Fi(e),E.c(),E.m(o,c)):E&&(E.d(1),E=null),/*sponsorsRepeater*/e[12]?T?T.p(e,t):(T=Ai(e),T.c(),T.m(o,u)):T&&(T.d(1),T=null),/*socialLinksRepeater*/e[17]?S?S.p(e,t):(S=Hi(e),S.c(),S.m(o,h)):S&&(S.d(1),S=null),/*languageselectorenabled*/"true"===e[2]&&/*languagePackLoaded*/e[31]&&/*selectedLanguage*/e[26]?x?x.p(e,t):(x=Bi(e),x.c(),x.m(o,m)):x&&(x.d(1),x=null),/*copyright*/e[18]?L?L.p(e,t):(L=Yi(e),L.c(),L.m(o,null)):L&&(L.d(1),L=null)},d(n){n&&p(t),y&&y.d(),b&&b.d(),v&&v.d(),w&&w.d(),E&&E.d(),T&&T.d(),S&&S.d(),x&&x.d(),L&&L.d()
1340
+ function Ei(e){let t,n,r,i,o,s,a,l,c,u,h,m,y=/*helpLinksRepeater*/e[13]&&xi(e),b=/*gameVendorsRepeater*/e[8]&&Di(e),v=/*paymentMethodsRepeater*/e[10]&&Ii(e),w=/*panicbuttonenabled*/"true"===e[3]&&/*isLoggedIn*/e[25]&&Ai(e),E=/*licensesRepeater*/e[15]&&Oi(e),S=/*sponsorsRepeater*/e[12]&&Ci(e),T=/*socialLinksRepeater*/e[17]&&Ri(e),x=/*languageselectorenabled*/"true"===e[2]&&/*languagePackLoaded*/e[31]&&/*selectedLanguage*/e[26]&&Ui(e),L=/*copyright*/e[18]&&Vi(e);return{c(){t=g("div"),n=g("div"),y&&y.c(),i=_(),o=g("div"),b&&b.c(),s=_(),v&&v.c(),a=_(),w&&w.c(),l=_(),E&&E.c(),c=_(),S&&S.c(),u=_(),T&&T.c(),h=_(),x&&x.c(),m=_(),L&&L.c(),k(n,"class",r="FooterSide "+(/*isOnMobile*/e[33]&&/*isLoggedIn*/e[25]&&/*panicbuttonenabled*/"true"===e[3]?"FooterSideMobile":"")),k(o,"class","FooterGrid"),k(t,"class","Footer")},m(r,p){f(r,t,p),d(t,n),y&&y.m(n,null),d(t,i),d(t,o),b&&b.m(o,null),d(o,s),v&&v.m(o,null),d(o,a),w&&w.m(o,null),d(o,l),E&&E.m(o,null),d(o,c),S&&S.m(o,null),d(o,u),T&&T.m(o,null),d(o,h),x&&x.m(o,null),d(o,m),L&&L.m(o,null)
1341
+ /*div2_binding*/,e[56](t)},p(e,t){/*helpLinksRepeater*/e[13]?y?y.p(e,t):(y=xi(e),y.c(),y.m(n,null)):y&&(y.d(1),y=null),/*isLoggedIn, panicbuttonenabled*/33554440&t[0]&&r!==(r="FooterSide "+(/*isOnMobile*/e[33]&&/*isLoggedIn*/e[25]&&/*panicbuttonenabled*/"true"===e[3]?"FooterSideMobile":""))&&k(n,"class",r),/*gameVendorsRepeater*/e[8]?b?b.p(e,t):(b=Di(e),b.c(),b.m(o,s)):b&&(b.d(1),b=null),/*paymentMethodsRepeater*/e[10]?v?v.p(e,t):(v=Ii(e),v.c(),v.m(o,a)):v&&(v.d(1),v=null),/*panicbuttonenabled*/"true"===e[3]&&/*isLoggedIn*/e[25]?w?w.p(e,t):(w=Ai(e),w.c(),w.m(o,l)):w&&(w.d(1),w=null),/*licensesRepeater*/e[15]?E?E.p(e,t):(E=Oi(e),E.c(),E.m(o,c)):E&&(E.d(1),E=null),/*sponsorsRepeater*/e[12]?S?S.p(e,t):(S=Ci(e),S.c(),S.m(o,u)):S&&(S.d(1),S=null),/*socialLinksRepeater*/e[17]?T?T.p(e,t):(T=Ri(e),T.c(),T.m(o,h)):T&&(T.d(1),T=null),/*languageselectorenabled*/"true"===e[2]&&/*languagePackLoaded*/e[31]&&/*selectedLanguage*/e[26]?x?x.p(e,t):(x=Ui(e),x.c(),x.m(o,m)):x&&(x.d(1),x=null),/*copyright*/e[18]?L?L.p(e,t):(L=Vi(e),L.c(),L.m(o,null)):L&&(L.d(1),L=null)},d(n){n&&p(t),y&&y.d(),b&&b.d(),v&&v.d(),w&&w.d(),E&&E.d(),S&&S.d(),T&&T.d(),x&&x.d(),L&&L.d()
1342
1342
  /*div2_binding*/,e[56](null)}}}
1343
1343
  // (301:2) {#if isLoading}
1344
- function vi(t){let n;return{c(){n=g("p"),n.textContent="Loading ...",k(n,"class","SearchLoading")},m(e,t){f(e,n,t)},p:e,d(e){e&&p(n)}}}
1344
+ function Si(t){let n;return{c(){n=g("p"),n.textContent="Loading ...",k(n,"class","SearchLoading")},m(e,t){f(e,n,t)},p:e,d(e){e&&p(n)}}}
1345
1345
  // (298:0) {#if hasErrors}
1346
- function wi(t){let n;return{c(){n=g("p"),n.textContent="500 Error - Internal Server Error",k(n,"class","SearchLoading")},m(e,t){f(e,n,t)},p:e,d(e){e&&p(n)}}}
1346
+ function Ti(t){let n;return{c(){n=g("p"),n.textContent="500 Error - Internal Server Error",k(n,"class","SearchLoading")},m(e,t){f(e,n,t)},p:e,d(e){e&&p(n)}}}
1347
1347
  // (308:8) {#if helpLinksRepeater}
1348
- function ki(e){let t,n=/*helpLinksRepeater*/e[13],r=[];for(let t=0;t<n.length;t+=1)r[t]=Ti(yi(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=v()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);f(e,t,n)},p(e,i){if(/*clientstyling, helpLinksRepeater, baseurl, lang*/8211&i[0]){let o;for(n=/*helpLinksRepeater*/e[13],o=0;o<n.length;o+=1){const s=yi(e,n,o);r[o]?r[o].p(s,i):(r[o]=Ti(s),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){m(r,e),e&&p(t)}}}
1348
+ function xi(e){let t,n=/*helpLinksRepeater*/e[13],r=[];for(let t=0;t<n.length;t+=1)r[t]=Mi(wi(e,n,t));return{c(){for(let e=0;e<r.length;e+=1)r[e].c();t=v()},m(e,n){for(let t=0;t<r.length;t+=1)r[t]&&r[t].m(e,n);f(e,t,n)},p(e,i){if(/*clientstyling, helpLinksRepeater, baseurl, lang*/8211&i[0]){let o;for(n=/*helpLinksRepeater*/e[13],o=0;o<n.length;o+=1){const s=wi(e,n,o);r[o]?r[o].p(s,i):(r[o]=Mi(s),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){m(r,e),e&&p(t)}}}
1349
1349
  // (310:12) {#if category.key}
1350
- function Ei(e){let t,n,r=/*category*/e[87].key+"";return{c(){t=g("p"),n=b(r),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*helpLinksRepeater*/8192&t[0]&&r!==(r=/*category*/e[87].key+"")&&T(n,r)},d(e){e&&p(t)}}}
1350
+ function Li(e){let t,n,r=/*category*/e[87].key+"";return{c(){t=g("p"),n=b(r),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*helpLinksRepeater*/8192&t[0]&&r!==(r=/*category*/e[87].key+"")&&S(n,r)},d(e){e&&p(t)}}}
1351
1351
  // (309:10) {#each helpLinksRepeater as category}
1352
- function Ti(e){let t,n,r,i=/*category*/e[87].key&&Ei(e);return{c(){i&&i.c(),t=_(),n=g("casino-footer-section"),E(n,"helperflag","1"),E(n,"clientstyling",/*clientstyling*/e[0]),E(n,"category",r=/*category*/e[87].key),E(n,"displaycolumn","true"),E(n,"baseurl",/*baseurl*/e[4]),E(n,"lang",/*lang*/e[1]),E(n,"footertype","footersecondary")},m(e,r){i&&i.m(e,r),f(e,t,r),f(e,n,r)},p(e,o){/*category*/e[87].key?i?i.p(e,o):(i=Ei(e),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),/*clientstyling*/1&o[0]&&E(n,"clientstyling",/*clientstyling*/e[0]),/*helpLinksRepeater*/8192&o[0]&&r!==(r=/*category*/e[87].key)&&E(n,"category",r),/*baseurl*/16&o[0]&&E(n,"baseurl",/*baseurl*/e[4]),/*lang*/2&o[0]&&E(n,"lang",/*lang*/e[1])},d(e){i&&i.d(e),e&&p(t),e&&p(n)}}}
1352
+ function Mi(e){let t,n,r,i=/*category*/e[87].key&&Li(e);return{c(){i&&i.c(),t=_(),n=g("casino-footer-section"),E(n,"helperflag","1"),E(n,"clientstyling",/*clientstyling*/e[0]),E(n,"category",r=/*category*/e[87].key),E(n,"displaycolumn","true"),E(n,"baseurl",/*baseurl*/e[4]),E(n,"lang",/*lang*/e[1]),E(n,"footertype","footersecondary")},m(e,r){i&&i.m(e,r),f(e,t,r),f(e,n,r)},p(e,o){/*category*/e[87].key?i?i.p(e,o):(i=Li(e),i.c(),i.m(t.parentNode,t)):i&&(i.d(1),i=null),/*clientstyling*/1&o[0]&&E(n,"clientstyling",/*clientstyling*/e[0]),/*helpLinksRepeater*/8192&o[0]&&r!==(r=/*category*/e[87].key)&&E(n,"category",r),/*baseurl*/16&o[0]&&E(n,"baseurl",/*baseurl*/e[4]),/*lang*/2&o[0]&&E(n,"lang",/*lang*/e[1])},d(e){i&&i.d(e),e&&p(t),e&&p(n)}}}
1353
1353
  // (328:8) {#if gameVendorsRepeater}
1354
- function Si(e){let t,n,r,i,o=/*gameVendorsLinksTitle*/e[7]&&xi(e);return{c(){t=g("div"),n=g("div"),o&&o.c(),r=_(),i=g("casino-footer-section"),E(i,"vendorflag","1"),E(i,"clientstyling",/*clientstyling*/e[0]),E(i,"baseurl",/*baseurl*/e[4]),E(i,"lang",/*lang*/e[1]),E(i,"footertype","footersecondary"),k(t,"class","GridRow")},m(e,s){f(e,t,s),d(t,n),o&&o.m(n,null),d(n,r),d(n,i)},p(e,t){/*gameVendorsLinksTitle*/e[7]?o?o.p(e,t):(o=xi(e),o.c(),o.m(n,r)):o&&(o.d(1),o=null),/*clientstyling*/1&t[0]&&E(i,"clientstyling",/*clientstyling*/e[0]),/*baseurl*/16&t[0]&&E(i,"baseurl",/*baseurl*/e[4]),/*lang*/2&t[0]&&E(i,"lang",/*lang*/e[1])},d(e){e&&p(t),o&&o.d()}}}
1354
+ function Di(e){let t,n,r,i,o=/*gameVendorsLinksTitle*/e[7]&&Fi(e);return{c(){t=g("div"),n=g("div"),o&&o.c(),r=_(),i=g("casino-footer-section"),E(i,"vendorflag","1"),E(i,"clientstyling",/*clientstyling*/e[0]),E(i,"baseurl",/*baseurl*/e[4]),E(i,"lang",/*lang*/e[1]),E(i,"footertype","footersecondary"),k(t,"class","GridRow")},m(e,s){f(e,t,s),d(t,n),o&&o.m(n,null),d(n,r),d(n,i)},p(e,t){/*gameVendorsLinksTitle*/e[7]?o?o.p(e,t):(o=Fi(e),o.c(),o.m(n,r)):o&&(o.d(1),o=null),/*clientstyling*/1&t[0]&&E(i,"clientstyling",/*clientstyling*/e[0]),/*baseurl*/16&t[0]&&E(i,"baseurl",/*baseurl*/e[4]),/*lang*/2&t[0]&&E(i,"lang",/*lang*/e[1])},d(e){e&&p(t),o&&o.d()}}}
1355
1355
  // (331:14) {#if gameVendorsLinksTitle}
1356
- function xi(e){let t,n;return{c(){t=g("p"),n=b(/*gameVendorsLinksTitle*/e[7]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*gameVendorsLinksTitle*/128&t[0]&&T(n,/*gameVendorsLinksTitle*/e[7])},d(e){e&&p(t)}}}
1356
+ function Fi(e){let t,n;return{c(){t=g("p"),n=b(/*gameVendorsLinksTitle*/e[7]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*gameVendorsLinksTitle*/128&t[0]&&S(n,/*gameVendorsLinksTitle*/e[7])},d(e){e&&p(t)}}}
1357
1357
  // (346:6) {#if paymentMethodsRepeater}
1358
- function Li(e){let t,n,r,i,o=/*paymentLinksTitle*/e[9]&&Di(e);return{c(){t=g("div"),n=g("div"),o&&o.c(),r=_(),i=g("casino-footer-section"),E(i,"paymentflag","1"),E(i,"clientstyling",/*clientstyling*/e[0]),E(i,"baseurl",/*baseurl*/e[4]),E(i,"lang",/*lang*/e[1]),E(i,"footertype","footersecondary"),k(t,"class","GridRow")},m(e,s){f(e,t,s),d(t,n),o&&o.m(n,null),d(n,r),d(n,i)},p(e,t){/*paymentLinksTitle*/e[9]?o?o.p(e,t):(o=Di(e),o.c(),o.m(n,r)):o&&(o.d(1),o=null),/*clientstyling*/1&t[0]&&E(i,"clientstyling",/*clientstyling*/e[0]),/*baseurl*/16&t[0]&&E(i,"baseurl",/*baseurl*/e[4]),/*lang*/2&t[0]&&E(i,"lang",/*lang*/e[1])},d(e){e&&p(t),o&&o.d()}}}
1358
+ function Ii(e){let t,n,r,i,o=/*paymentLinksTitle*/e[9]&&$i(e);return{c(){t=g("div"),n=g("div"),o&&o.c(),r=_(),i=g("casino-footer-section"),E(i,"paymentflag","1"),E(i,"clientstyling",/*clientstyling*/e[0]),E(i,"baseurl",/*baseurl*/e[4]),E(i,"lang",/*lang*/e[1]),E(i,"footertype","footersecondary"),k(t,"class","GridRow")},m(e,s){f(e,t,s),d(t,n),o&&o.m(n,null),d(n,r),d(n,i)},p(e,t){/*paymentLinksTitle*/e[9]?o?o.p(e,t):(o=$i(e),o.c(),o.m(n,r)):o&&(o.d(1),o=null),/*clientstyling*/1&t[0]&&E(i,"clientstyling",/*clientstyling*/e[0]),/*baseurl*/16&t[0]&&E(i,"baseurl",/*baseurl*/e[4]),/*lang*/2&t[0]&&E(i,"lang",/*lang*/e[1])},d(e){e&&p(t),o&&o.d()}}}
1359
1359
  // (349:12) {#if paymentLinksTitle}
1360
- function Di(e){let t,n;return{c(){t=g("p"),n=b(/*paymentLinksTitle*/e[9]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*paymentLinksTitle*/512&t[0]&&T(n,/*paymentLinksTitle*/e[9])},d(e){e&&p(t)}}}
1360
+ function $i(e){let t,n;return{c(){t=g("p"),n=b(/*paymentLinksTitle*/e[9]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*paymentLinksTitle*/512&t[0]&&S(n,/*paymentLinksTitle*/e[9])},d(e){e&&p(t)}}}
1361
1361
  // (365:6) {#if panicbuttonenabled === "true" && isLoggedIn}
1362
- function Mi(e){let t;return{c(){t=g("panic-button"),E(t,"customtext",/*panicButtonCustomText*/e[32]),E(t,"alternativestyling","true"),E(t,"lang",/*lang*/e[1]),E(t,"clientstyling",/*clientstyling*/e[0])},m(e,n){f(e,t,n)},p(e,n){/*panicButtonCustomText*/2&n[1]&&E(t,"customtext",/*panicButtonCustomText*/e[32]),/*lang*/2&n[0]&&E(t,"lang",/*lang*/e[1]),/*clientstyling*/1&n[0]&&E(t,"clientstyling",/*clientstyling*/e[0])},d(e){e&&p(t)}}}
1362
+ function Ai(e){let t;return{c(){t=g("panic-button"),E(t,"customtext",/*panicButtonCustomText*/e[32]),E(t,"alternativestyling","true"),E(t,"lang",/*lang*/e[1]),E(t,"clientstyling",/*clientstyling*/e[0])},m(e,n){f(e,t,n)},p(e,n){/*panicButtonCustomText*/2&n[1]&&E(t,"customtext",/*panicButtonCustomText*/e[32]),/*lang*/2&n[0]&&E(t,"lang",/*lang*/e[1]),/*clientstyling*/1&n[0]&&E(t,"clientstyling",/*clientstyling*/e[0])},d(e){e&&p(t)}}}
1363
1363
  // (375:6) {#if licensesRepeater}
1364
- function Fi(e){let t,n,r,i,o,s,a=/*licensesLinksTitle*/e[14]&&Ii(e),l=/*licenseDesc*/e[19]&&$i(e);return{c(){t=g("div"),n=g("div"),a&&a.c(),r=_(),i=g("casino-footer-section"),o=_(),s=g("div"),l&&l.c(),E(i,"licenseflag","1"),E(i,"clientstyling",/*clientstyling*/e[0]),E(i,"baseurl",/*baseurl*/e[4]),E(i,"lang",/*lang*/e[1]),E(i,"footertype","footersecondary"),k(n,"class","LicenseLinks"),k(s,"class","LicenseDesc"),k(t,"class","GridRow")},m(e,c){f(e,t,c),d(t,n),a&&a.m(n,null),d(n,r),d(n,i),d(t,o),d(t,s),l&&l.m(s,null)},p(e,t){/*licensesLinksTitle*/e[14]?a?a.p(e,t):(a=Ii(e),a.c(),a.m(n,r)):a&&(a.d(1),a=null),/*clientstyling*/1&t[0]&&E(i,"clientstyling",/*clientstyling*/e[0]),/*baseurl*/16&t[0]&&E(i,"baseurl",/*baseurl*/e[4]),/*lang*/2&t[0]&&E(i,"lang",/*lang*/e[1]),/*licenseDesc*/e[19]?l?l.p(e,t):(l=$i(e),l.c(),l.m(s,null)):l&&(l.d(1),l=null)},d(e){e&&p(t),a&&a.d(),l&&l.d()}}}
1364
+ function Oi(e){let t,n,r,i,o,s,a=/*licensesLinksTitle*/e[14]&&Pi(e),l=/*licenseDesc*/e[19]&&Hi(e);return{c(){t=g("div"),n=g("div"),a&&a.c(),r=_(),i=g("casino-footer-section"),o=_(),s=g("div"),l&&l.c(),E(i,"licenseflag","1"),E(i,"clientstyling",/*clientstyling*/e[0]),E(i,"baseurl",/*baseurl*/e[4]),E(i,"lang",/*lang*/e[1]),E(i,"footertype","footersecondary"),k(n,"class","LicenseLinks"),k(s,"class","LicenseDesc"),k(t,"class","GridRow")},m(e,c){f(e,t,c),d(t,n),a&&a.m(n,null),d(n,r),d(n,i),d(t,o),d(t,s),l&&l.m(s,null)},p(e,t){/*licensesLinksTitle*/e[14]?a?a.p(e,t):(a=Pi(e),a.c(),a.m(n,r)):a&&(a.d(1),a=null),/*clientstyling*/1&t[0]&&E(i,"clientstyling",/*clientstyling*/e[0]),/*baseurl*/16&t[0]&&E(i,"baseurl",/*baseurl*/e[4]),/*lang*/2&t[0]&&E(i,"lang",/*lang*/e[1]),/*licenseDesc*/e[19]?l?l.p(e,t):(l=Hi(e),l.c(),l.m(s,null)):l&&(l.d(1),l=null)},d(e){e&&p(t),a&&a.d(),l&&l.d()}}}
1365
1365
  // (378:12) {#if licensesLinksTitle}
1366
- function Ii(e){let t,n;return{c(){t=g("p"),n=b(/*licensesLinksTitle*/e[14]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*licensesLinksTitle*/16384&t[0]&&T(n,/*licensesLinksTitle*/e[14])},d(e){e&&p(t)}}}
1366
+ function Pi(e){let t,n;return{c(){t=g("p"),n=b(/*licensesLinksTitle*/e[14]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*licensesLinksTitle*/16384&t[0]&&S(n,/*licensesLinksTitle*/e[14])},d(e){e&&p(t)}}}
1367
1367
  // (391:12) {#if licenseDesc}
1368
- function $i(e){let t,n,o,s,a,l,c;return{c(){t=g("div"),o=_(),s=g("div"),k(t,"class","DetailedLicenses"),k(s,"class","DetailedCustomLicenses")},m(r,i){f(r,t,i),f(r,o,i),f(r,s,i),l||(c=[h(n=/*setContent*/e[34].call(null,t,/*licenseDesc*/e[19])),h(a=/*setContent*/e[34].call(null,s,/*licenseScript*/e[24]))],l=!0)},p(e,t){n&&i(n.update)&&/*licenseDesc*/524288&t[0]&&n.update.call(null,/*licenseDesc*/e[19]),a&&i(a.update)&&/*licenseScript*/16777216&t[0]&&a.update.call(null,/*licenseScript*/e[24])},d(e){e&&p(t),e&&p(o),e&&p(s),l=!1,r(c)}}}
1368
+ function Hi(e){let t,n,o,s,a,l,c;return{c(){t=g("div"),o=_(),s=g("div"),k(t,"class","DetailedLicenses"),k(s,"class","DetailedCustomLicenses")},m(r,i){f(r,t,i),f(r,o,i),f(r,s,i),l||(c=[u(n=/*setContent*/e[34].call(null,t,/*licenseDesc*/e[19])),u(a=/*setContent*/e[34].call(null,s,/*licenseScript*/e[24]))],l=!0)},p(e,t){n&&i(n.update)&&/*licenseDesc*/524288&t[0]&&n.update.call(null,/*licenseDesc*/e[19]),a&&i(a.update)&&/*licenseScript*/16777216&t[0]&&a.update.call(null,/*licenseScript*/e[24])},d(e){e&&p(t),e&&p(o),e&&p(s),l=!1,r(c)}}}
1369
1369
  // (402:6) {#if sponsorsRepeater}
1370
- function Ai(e){let t,n=/*sponsorsRepeater*/e[12]&&Oi(e);return{c(){t=g("div"),n&&n.c(),k(t,"class","GridRow")},m(e,r){f(e,t,r),n&&n.m(t,null)},p(e,r){/*sponsorsRepeater*/e[12]?n?n.p(e,r):(n=Oi(e),n.c(),n.m(t,null)):n&&(n.d(1),n=null)},d(e){e&&p(t),n&&n.d()}}}
1370
+ function Ci(e){let t,n=/*sponsorsRepeater*/e[12]&&Bi(e);return{c(){t=g("div"),n&&n.c(),k(t,"class","GridRow")},m(e,r){f(e,t,r),n&&n.m(t,null)},p(e,r){/*sponsorsRepeater*/e[12]?n?n.p(e,r):(n=Bi(e),n.c(),n.m(t,null)):n&&(n.d(1),n=null)},d(e){e&&p(t),n&&n.d()}}}
1371
1371
  // (404:10) {#if sponsorsRepeater}
1372
- function Oi(e){let t,n,r,i=/*sponsorsLinksTitle*/e[11]&&Pi(e);return{c(){t=g("div"),i&&i.c(),n=_(),r=g("casino-footer-section"),E(r,"sponsorflag","1"),E(r,"clientstyling",/*clientstyling*/e[0]),E(r,"baseurl",/*baseurl*/e[4]),E(r,"lang",/*lang*/e[1]),E(r,"footertype","footersecondary")},m(e,o){f(e,t,o),i&&i.m(t,null),d(t,n),d(t,r)},p(e,o){/*sponsorsLinksTitle*/e[11]?i?i.p(e,o):(i=Pi(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),/*clientstyling*/1&o[0]&&E(r,"clientstyling",/*clientstyling*/e[0]),/*baseurl*/16&o[0]&&E(r,"baseurl",/*baseurl*/e[4]),/*lang*/2&o[0]&&E(r,"lang",/*lang*/e[1])},d(e){e&&p(t),i&&i.d()}}}
1372
+ function Bi(e){let t,n,r,i=/*sponsorsLinksTitle*/e[11]&&Ni(e);return{c(){t=g("div"),i&&i.c(),n=_(),r=g("casino-footer-section"),E(r,"sponsorflag","1"),E(r,"clientstyling",/*clientstyling*/e[0]),E(r,"baseurl",/*baseurl*/e[4]),E(r,"lang",/*lang*/e[1]),E(r,"footertype","footersecondary")},m(e,o){f(e,t,o),i&&i.m(t,null),d(t,n),d(t,r)},p(e,o){/*sponsorsLinksTitle*/e[11]?i?i.p(e,o):(i=Ni(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),/*clientstyling*/1&o[0]&&E(r,"clientstyling",/*clientstyling*/e[0]),/*baseurl*/16&o[0]&&E(r,"baseurl",/*baseurl*/e[4]),/*lang*/2&o[0]&&E(r,"lang",/*lang*/e[1])},d(e){e&&p(t),i&&i.d()}}}
1373
1373
  // (406:12) {#if sponsorsLinksTitle}
1374
- function Pi(e){let t,n;return{c(){t=g("p"),n=b(/*sponsorsLinksTitle*/e[11]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*sponsorsLinksTitle*/2048&t[0]&&T(n,/*sponsorsLinksTitle*/e[11])},d(e){e&&p(t)}}}
1374
+ function Ni(e){let t,n;return{c(){t=g("p"),n=b(/*sponsorsLinksTitle*/e[11]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*sponsorsLinksTitle*/2048&t[0]&&S(n,/*sponsorsLinksTitle*/e[11])},d(e){e&&p(t)}}}
1375
1375
  // (423:8) {#if socialLinksRepeater}
1376
- function Hi(e){let t,n,r,i=/*socialLinksTitle*/e[16]&&Ci(e);return{c(){t=g("div"),i&&i.c(),n=_(),r=g("casino-footer-section"),E(r,"socialflag","1"),E(r,"clientstyling",/*clientstyling*/e[0]),E(r,"baseurl",/*baseurl*/e[4]),E(r,"lang",/*lang*/e[1]),E(r,"footertype","footersecondary"),k(t,"class","GridRow")},m(e,o){f(e,t,o),i&&i.m(t,null),d(t,n),d(t,r)},p(e,o){/*socialLinksTitle*/e[16]?i?i.p(e,o):(i=Ci(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),/*clientstyling*/1&o[0]&&E(r,"clientstyling",/*clientstyling*/e[0]),/*baseurl*/16&o[0]&&E(r,"baseurl",/*baseurl*/e[4]),/*lang*/2&o[0]&&E(r,"lang",/*lang*/e[1])},d(e){e&&p(t),i&&i.d()}}}
1376
+ function Ri(e){let t,n,r,i=/*socialLinksTitle*/e[16]&&Yi(e);return{c(){t=g("div"),i&&i.c(),n=_(),r=g("casino-footer-section"),E(r,"socialflag","1"),E(r,"clientstyling",/*clientstyling*/e[0]),E(r,"baseurl",/*baseurl*/e[4]),E(r,"lang",/*lang*/e[1]),E(r,"footertype","footersecondary"),k(t,"class","GridRow")},m(e,o){f(e,t,o),i&&i.m(t,null),d(t,n),d(t,r)},p(e,o){/*socialLinksTitle*/e[16]?i?i.p(e,o):(i=Yi(e),i.c(),i.m(t,n)):i&&(i.d(1),i=null),/*clientstyling*/1&o[0]&&E(r,"clientstyling",/*clientstyling*/e[0]),/*baseurl*/16&o[0]&&E(r,"baseurl",/*baseurl*/e[4]),/*lang*/2&o[0]&&E(r,"lang",/*lang*/e[1])},d(e){e&&p(t),i&&i.d()}}}
1377
1377
  // (425:12) {#if socialLinksTitle}
1378
- function Ci(e){let t,n;return{c(){t=g("p"),n=b(/*socialLinksTitle*/e[16]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*socialLinksTitle*/65536&t[0]&&T(n,/*socialLinksTitle*/e[16])},d(e){e&&p(t)}}}
1378
+ function Yi(e){let t,n;return{c(){t=g("p"),n=b(/*socialLinksTitle*/e[16]),k(t,"class","FooterTitle")},m(e,r){f(e,t,r),d(t,n)},p(e,t){/*socialLinksTitle*/65536&t[0]&&S(n,/*socialLinksTitle*/e[16])},d(e){e&&p(t)}}}
1379
1379
  // (440:6) {#if (languageselectorenabled==="true" && languagePackLoaded && selectedLanguage)}
1380
- function Bi(e){let t,n,i,o,s,a,c,u,h,v,E,x,L,D,M,F,I,$=/*languagesArray*/e[27],A=[];for(let t=0;t<$.length;t+=1)A[t]=Ni(gi(e,$,t));let O=/*languages*/e[5],P=[];for(let t=0;t<O.length;t+=1)P[t]=Ri(mi(e,O,t));return{c(){t=g("div"),n=g("div"),i=g("select");for(let e=0;e<A.length;e+=1)A[e].c();o=_(),s=g("div"),a=g("div"),c=g("ul");for(let e=0;e<P.length;e+=1)P[e].c();u=_(),h=g("button"),v=g("img"),x=b(/*languageDisplayName*/e[29]),L=_(),D=y("svg"),M=y("path"),k(i,"class","Item ItemLanguage"),/*selectedLanguage*/void 0===e[26]&&H((()=>/*select_change_handler*/e[53].call(i))),k(c,"id","LanguageList"),k(a,"class","LanguageDrawer hidden"),k(v,"class","LanguageFlag"),l(v.src,E=/*currentLanguageFlag*/e[30])||k(v,"src",E),k(M,"opacity","0.4"),k(M,"d","M0.94 0L4.00067 3.05467L7.06 0L8 0.940667L4.00067 4.94133L0 0.940667L0.94 0Z"),k(M,"fill","black"),k(D,"width","8"),k(D,"height","5"),k(D,"viewBox","0 0 8 5"),k(D,"fill","none"),k(D,"xmlns","http://www.w3.org/2000/svg"),k(h,"class","DrawerButton"),h.value=/*selectedLanguage*/e[26],k(s,"class","LanguageSelectorOverlay"),k(n,"class","LanguageSelectorContainer"),k(t,"class","GridRow")},m(r,l){f(r,t,l),d(t,n),d(n,i);for(let e=0;e<A.length;e+=1)A[e]&&A[e].m(i,null);S(i,/*selectedLanguage*/e[26],!0),d(n,o),d(n,s),d(s,a),d(a,c);for(let e=0;e<P.length;e+=1)P[e]&&P[e].m(c,null);
1381
- /*div0_binding*/e[55](a),d(s,u),d(s,h),d(h,v),d(h,x),d(h,L),d(h,D),d(D,M),F||(I=[w(i,"change",/*select_change_handler*/e[53]),w(i,"change",/*change_handler*/e[54]),w(h,"click",/*toggleLanguageDrawer*/e[36])],F=!0)},p(e,t){if(/*languagesArray*/134217728&t[0]){let n;for($=/*languagesArray*/e[27],n=0;n<$.length;n+=1){const r=gi(e,$,n);A[n]?A[n].p(r,t):(A[n]=Ni(r),A[n].c(),A[n].m(i,null))}for(;n<A.length;n+=1)A[n].d(1);A.length=$.length}if(/*selectedLanguage, languagesArray*/201326592&t[0]&&S(i,/*selectedLanguage*/e[26]),/*languages*/32&t[0]|/*overlayOptionTrigger*/64&t[1]){let n;for(O=/*languages*/e[5],n=0;n<O.length;n+=1){const r=mi(e,O,n);P[n]?P[n].p(r,t):(P[n]=Ri(r),P[n].c(),P[n].m(c,null))}for(;n<P.length;n+=1)P[n].d(1);P.length=O.length}/*currentLanguageFlag*/1073741824&t[0]&&!l(v.src,E=/*currentLanguageFlag*/e[30])&&k(v,"src",E),/*languageDisplayName*/536870912&t[0]&&T(x,/*languageDisplayName*/e[29]),/*selectedLanguage, languagesArray*/201326592&t[0]&&(h.value=/*selectedLanguage*/e[26])},d(n){n&&p(t),m(A,n),m(P,n),
1380
+ function Ui(e){let t,n,i,o,s,l,c,u,h,v,E,x,L,M,D,F,I,$=/*languagesArray*/e[27],A=[];for(let t=0;t<$.length;t+=1)A[t]=Gi(vi(e,$,t));let O=/*languages*/e[5],P=[];for(let t=0;t<O.length;t+=1)P[t]=ji(_i(e,O,t));return{c(){t=g("div"),n=g("div"),i=g("select");for(let e=0;e<A.length;e+=1)A[e].c();o=_(),s=g("div"),l=g("div"),c=g("ul");for(let e=0;e<P.length;e+=1)P[e].c();u=_(),h=g("button"),v=g("img"),x=b(/*languageDisplayName*/e[29]),L=_(),M=y("svg"),D=y("path"),k(i,"class","Item ItemLanguage"),/*selectedLanguage*/void 0===e[26]&&C((()=>/*select_change_handler*/e[53].call(i))),k(c,"id","LanguageList"),k(l,"class","LanguageDrawer hidden"),k(v,"class","LanguageFlag"),a(v.src,E=/*currentLanguageFlag*/e[30])||k(v,"src",E),k(D,"opacity","0.4"),k(D,"d","M0.94 0L4.00067 3.05467L7.06 0L8 0.940667L4.00067 4.94133L0 0.940667L0.94 0Z"),k(D,"fill","black"),k(M,"width","8"),k(M,"height","5"),k(M,"viewBox","0 0 8 5"),k(M,"fill","none"),k(M,"xmlns","http://www.w3.org/2000/svg"),k(h,"class","DrawerButton"),h.value=/*selectedLanguage*/e[26],k(s,"class","LanguageSelectorOverlay"),k(n,"class","LanguageSelectorContainer"),k(t,"class","GridRow")},m(r,a){f(r,t,a),d(t,n),d(n,i);for(let e=0;e<A.length;e+=1)A[e]&&A[e].m(i,null);T(i,/*selectedLanguage*/e[26],!0),d(n,o),d(n,s),d(s,l),d(l,c);for(let e=0;e<P.length;e+=1)P[e]&&P[e].m(c,null);
1381
+ /*div0_binding*/e[55](l),d(s,u),d(s,h),d(h,v),d(h,x),d(h,L),d(h,M),d(M,D),F||(I=[w(i,"change",/*select_change_handler*/e[53]),w(i,"change",/*change_handler*/e[54]),w(h,"click",/*toggleLanguageDrawer*/e[36])],F=!0)},p(e,t){if(/*languagesArray*/134217728&t[0]){let n;for($=/*languagesArray*/e[27],n=0;n<$.length;n+=1){const r=vi(e,$,n);A[n]?A[n].p(r,t):(A[n]=Gi(r),A[n].c(),A[n].m(i,null))}for(;n<A.length;n+=1)A[n].d(1);A.length=$.length}if(/*selectedLanguage, languagesArray*/201326592&t[0]&&T(i,/*selectedLanguage*/e[26]),/*languages*/32&t[0]|/*overlayOptionTrigger*/64&t[1]){let n;for(O=/*languages*/e[5],n=0;n<O.length;n+=1){const r=_i(e,O,n);P[n]?P[n].p(r,t):(P[n]=ji(r),P[n].c(),P[n].m(c,null))}for(;n<P.length;n+=1)P[n].d(1);P.length=O.length}/*currentLanguageFlag*/1073741824&t[0]&&!a(v.src,E=/*currentLanguageFlag*/e[30])&&k(v,"src",E),/*languageDisplayName*/536870912&t[0]&&S(x,/*languageDisplayName*/e[29]),/*selectedLanguage, languagesArray*/201326592&t[0]&&(h.value=/*selectedLanguage*/e[26])},d(n){n&&p(t),m(A,n),m(P,n),
1382
1382
  /*div0_binding*/e[55](null),F=!1,r(I)}}}
1383
1383
  // (445:14) {#each languagesArray as operatorLanguage}
1384
- function Ni(e){let t,n,r,i=/*operatorLanguage*/e[84]+"";return{c(){t=g("option"),n=b(i),t.__value=r=/*operatorLanguage*/e[84],t.value=t.__value,t.selected=!0},m(e,r){f(e,t,r),d(t,n)},p(e,o){/*languagesArray*/134217728&o[0]&&i!==(i=/*operatorLanguage*/e[84]+"")&&T(n,i),/*languagesArray*/134217728&o[0]&&r!==(r=/*operatorLanguage*/e[84])&&(t.__value=r,t.value=t.__value)},d(e){e&&p(t)}}}
1384
+ function Gi(e){let t,n,r,i=/*operatorLanguage*/e[84]+"";return{c(){t=g("option"),n=b(i),t.__value=r=/*operatorLanguage*/e[84],t.value=t.__value,t.selected=!0},m(e,r){f(e,t,r),d(t,n)},p(e,o){/*languagesArray*/134217728&o[0]&&i!==(i=/*operatorLanguage*/e[84]+"")&&S(n,i),/*languagesArray*/134217728&o[0]&&r!==(r=/*operatorLanguage*/e[84])&&(t.__value=r,t.value=t.__value)},d(e){e&&p(t)}}}
1385
1385
  // (454:18) {#each languages as language}
1386
- function Ri(e){let t,n,r,i,o,s,a,c,u,h=/*language*/e[81].name+"";return{c(){t=g("li"),n=g("img"),i=g("a"),o=g("span"),s=b(h),k(n,"class","LanguageFlag"),l(n.src,r=/*language*/e[81].flag_icon_editable)||k(n,"src",r),k(i,"href","javascript:void(0)"),k(t,"class","OverlayLanguageOption"),k(t,"data-lang",a=/*language*/e[81].code)},m(r,a){f(r,t,a),d(t,n),d(t,i),d(i,o),d(o,s),c||(u=w(t,"click",/*overlayOptionTrigger*/e[37]),c=!0)},p(e,i){/*languages*/32&i[0]&&!l(n.src,r=/*language*/e[81].flag_icon_editable)&&k(n,"src",r),/*languages*/32&i[0]&&h!==(h=/*language*/e[81].name+"")&&T(s,h),/*languages*/32&i[0]&&a!==(a=/*language*/e[81].code)&&k(t,"data-lang",a)},d(e){e&&p(t),c=!1,u()}}}
1386
+ function ji(e){let t,n,r,i,o,s,l,c,u,h=/*language*/e[81].name+"";return{c(){t=g("li"),n=g("img"),i=g("a"),o=g("span"),s=b(h),k(n,"class","LanguageFlag"),a(n.src,r=/*language*/e[81].flag_icon_editable)||k(n,"src",r),k(i,"href","javascript:void(0)"),k(t,"class","OverlayLanguageOption"),k(t,"data-lang",l=/*language*/e[81].code)},m(r,a){f(r,t,a),d(t,n),d(t,i),d(i,o),d(o,s),c||(u=w(t,"click",/*overlayOptionTrigger*/e[37]),c=!0)},p(e,i){/*languages*/32&i[0]&&!a(n.src,r=/*language*/e[81].flag_icon_editable)&&k(n,"src",r),/*languages*/32&i[0]&&h!==(h=/*language*/e[81].name+"")&&S(s,h),/*languages*/32&i[0]&&l!==(l=/*language*/e[81].code)&&k(t,"data-lang",l)},d(e){e&&p(t),c=!1,u()}}}
1387
1387
  // (470:6) {#if copyright}
1388
- function Yi(e){let t,n,r,o;return{c(){t=g("div"),k(t,"class","CopyrightAreaRights CopyrightArea")},m(i,s){f(i,t,s),r||(o=h(n=/*setContent*/e[34].call(null,t,/*copyright*/e[18])),r=!0)},p(e,t){n&&i(n.update)&&/*copyright*/262144&t[0]&&n.update.call(null,/*copyright*/e[18])},d(e){e&&p(t),r=!1,o()}}}function Ui(t){let n,r,i,o=/*headScript*/t[22]&&bi(t);function s(e,t){/*hasErrors*/
1389
- return e[20]?wi:/*isLoading*/e[21]?vi:_i}let a=s(t),l=a(t);return{c(){o&&o.c(),n=v(),r=_(),l.c(),i=v(),this.c=e},m(e,t){o&&o.m(pi.head,null),d(pi.head,n),f(e,r,t),l.m(e,t),f(e,i,t)},p(e,t){/*headScript*/e[22]?o?o.p(e,t):(o=bi(e),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null),a===(a=s(e))&&l?l.p(e,t):(l.d(1),l=a(e),l&&(l.c(),l.m(i.parentNode,i)))},i:e,o:e,d(e){o&&o.d(e),p(n),e&&p(r),l.d(e),e&&p(i)}}}function Gi(e,t,n){let r;u(e,yr,(e=>n(68,r=e)));let i,o,s,a,l,c,h,{endpoint:d=""}=t,{lang:f="en"}=t,{env:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{translationurl:y=""}=t,{clockenabled:b=""}=t,{clocksecondsenabled:_=""}=t,{clockcustomformat:v=""}=t,{clocktext:w="Time:"}=t,{languageselectorenabled:k="true"}=t,{languageslist:E="en, ro"}=t,{languagedisplaytype:T="name"}=t,{session:S=""}=t,{userid:x=""}=t,{userendpoint:L=""}=t,{panicbuttonenabled:D="true"}=t,{sessiontimerenabled:F="true"}=t,{grouplink:$="true"}=t,{baseurl:A=""}=t,O=window.navigator.userAgent,P=(e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)))(O),H="",C=[],B="",N=[],R="",Y=[],U="",G=[],j="",V=[],W="",z=[],Z="",X="",K=!1,q=!1,J=!1,Q="",ee="",te=!1,ne="hr",re=[],ie=[],oe="",se="",ae=!1,le="",ce=document.createElement("p"),ue=document.createElement("p");!function({withLocale:e,translations:t}){or.subscribe((n=>{null==n&&(Un.set(t),or.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1388
+ function Vi(e){let t,n,r,o;return{c(){t=g("div"),k(t,"class","CopyrightAreaRights CopyrightArea")},m(i,s){f(i,t,s),r||(o=u(n=/*setContent*/e[34].call(null,t,/*copyright*/e[18])),r=!0)},p(e,t){n&&i(n.update)&&/*copyright*/262144&t[0]&&n.update.call(null,/*copyright*/e[18])},d(e){e&&p(t),r=!1,o()}}}function Wi(t){let n,r,i,o=/*headScript*/t[22]&&ki(t);function s(e,t){/*hasErrors*/
1389
+ return e[20]?Ti:/*isLoading*/e[21]?Si:Ei}let a=s(t),l=a(t);return{c(){o&&o.c(),n=v(),r=_(),l.c(),i=v(),this.c=e},m(e,t){o&&o.m(bi.head,null),d(bi.head,n),f(e,r,t),l.m(e,t),f(e,i,t)},p(e,t){/*headScript*/e[22]?o?o.p(e,t):(o=ki(e),o.c(),o.m(n.parentNode,n)):o&&(o.d(1),o=null),a===(a=s(e))&&l?l.p(e,t):(l.d(1),l=a(e),l&&(l.c(),l.m(i.parentNode,i)))},i:e,o:e,d(e){o&&o.d(e),p(n),e&&p(r),l.d(e),e&&p(i)}}}function zi(e,t,n){let r;c(e,wr,(e=>n(68,r=e)));let i,o,s,a,l,u,h,{endpoint:d=""}=t,{lang:f="en"}=t,{env:p=""}=t,{clientstyling:m=""}=t,{clientstylingurl:g=""}=t,{translationurl:y=""}=t,{clockenabled:b=""}=t,{clocksecondsenabled:_=""}=t,{clockcustomformat:v=""}=t,{clocktext:w="Time:"}=t,{languageselectorenabled:k="true"}=t,{languageslist:E="en, ro"}=t,{languagedisplaytype:S="name"}=t,{session:T=""}=t,{userid:x=""}=t,{userendpoint:L=""}=t,{panicbuttonenabled:M="true"}=t,{sessiontimerenabled:D="true"}=t,{grouplink:I="true"}=t,{baseurl:A=""}=t,O=window.navigator.userAgent,P=(e=>!!(e.toLowerCase().match(/android/i)||e.toLowerCase().match(/blackberry|bb/i)||e.toLowerCase().match(/iphone|ipad|ipod/i)||e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)))(O),H="",C=[],B="",N=[],R="",Y=[],U="",G=[],j="",V=[],W="",z=[],Z="",X="",K=!1,q=!1,J=!1,Q="",ee="",te=!1,ne="hr",re=[],ie=[],oe="",se="",ae=!1,le="",ce=document.createElement("p"),ue=document.createElement("p");!function({withLocale:e,translations:t}){cr.subscribe((n=>{null==n&&(Wn.set(t),cr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1390
1390
  /*dictionary.set(translations);
1391
- locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(fi).forEach((e=>{di(e,fi[e])}));let he=r("casinoFooter.panicButton");const de=()=>{(function(e,t){return new Promise(((n,r)=>{let i=new Headers;i.append("X-SessionID",t),pe(`${e}/player/session/player`,{method:"GET",headers:i}).then((e=>e.json())).then((e=>n(e))).catch((e=>r(e)))}))})(L,S).then((e=>{e.Guid,e.UserID,n(25,te=!0),fe(e)}),(e=>{n(25,te=!1),console.error("Error while checking the session - ",e)}))},fe=e=>{
1391
+ locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(yi).forEach((e=>{gi(e,yi[e])}));let he=r("casinoFooter.panicButton");const de=()=>{(function(e,t){return new Promise(((n,r)=>{let i=new Headers;i.append("X-SessionID",t),be(`${e}/player/session/player`,{method:"GET",headers:i}).then((e=>e.json())).then((e=>n(e))).catch((e=>r(e)))}))})(L,T).then((e=>{e.Guid,e.UserID,n(25,te=!0),fe(e)}),(e=>{n(25,te=!1),console.error("Error while checking the session - ",e)}))},fe=e=>{
1392
1392
  // using Date instead of moment because they recommend in their docs to stop using it for new projects
1393
- const t=new Date(e.Login),n=(new Date).getTimezoneOffset()/60;let i=(new Date).getTime()-t.getTime(),o=Math.floor(i/36e5)+n,s=Math.floor(i%36e5/6e4),a=Math.floor(i%6e4/1e3);c=setInterval((()=>{o=Math.floor(i/36e5)+n,s=Math.floor(i%36e5/6e4),a=Math.floor(i%6e4/1e3),le=`${o>9?o:"0"+o}:${s>9?s:"0"+s}:${a>9?a:"0"+a}`,ce.innerHTML=` ${r("sessionTimer")} ${le}`,i+=1e3}),1e3)},me=()=>{const e="false"!=v?v:`hh:mm${"true"===_?":ss":""} (UTC Z)`;o=hi().format(e),ue.innerHTML=` ${w} ${o}`},ge=()=>{window.postMessage({type:"LanguageChanged",selectedLanguage:ne},window.location.href)},ye=()=>{let e=!1;re.forEach(((t,r)=>{if(t.code==ne.toLowerCase()){let r="";switch(e=!0,n(30,se=t.flag_icon_editable),T){case"name":r=t.name;break;case"translatedName":r=t.translated_name;break;default:r=t.code}n(29,oe=r)}})),e||n(29,oe=ne)},be=()=>{var e;e=f,or.set(e),n(32,he=r("casinoFooter.panicButton"))};M((()=>()=>{clearInterval(l),clearInterval(c)}));return e.$$set=e=>{"endpoint"in e&&n(38,d=e.endpoint),"lang"in e&&n(1,f=e.lang),"env"in e&&n(39,p=e.env),"clientstyling"in e&&n(0,m=e.clientstyling),"clientstylingurl"in e&&n(40,g=e.clientstylingurl),"translationurl"in e&&n(41,y=e.translationurl),"clockenabled"in e&&n(42,b=e.clockenabled),"clocksecondsenabled"in e&&n(43,_=e.clocksecondsenabled),"clockcustomformat"in e&&n(44,v=e.clockcustomformat),"clocktext"in e&&n(45,w=e.clocktext),"languageselectorenabled"in e&&n(2,k=e.languageselectorenabled),"languageslist"in e&&n(46,E=e.languageslist),"languagedisplaytype"in e&&n(47,T=e.languagedisplaytype),"session"in e&&n(48,S=e.session),"userid"in e&&n(49,x=e.userid),"userendpoint"in e&&n(50,L=e.userendpoint),"panicbuttonenabled"in e&&n(3,D=e.panicbuttonenabled),"sessiontimerenabled"in e&&n(51,F=e.sessiontimerenabled),"grouplink"in e&&n(52,$=e.grouplink),"baseurl"in e&&n(4,A=e.baseurl)},e.$$.update=()=>{/*lang*/2&e.$$.dirty[0]&&f&&be(),/*languageslist*/32768&e.$$.dirty[1]&&E&&(n(27,ie=E.replace(/ /g,"").split(",")),n(27,ie=ie.map((e=>e.toUpperCase())))),/*session, userid, userendpoint*/917504&e.$$.dirty[1]&&S&&x&&L&&de(),/*lang*/2&e.$$.dirty[0]|/*endpoint, env*/384&e.$$.dirty[1]&&d&&f&&p&&(()=>{let e=new URL(`${d}/${f}/footer-raw-data`),t=br(O);e.searchParams.append("env",p),t&&("PC"===t?e.searchParams.append("device","dk"):e.searchParams.append("device","mtWeb")),"true"==$&&e.searchParams.append("helpLinks_groupby","helpLinkCategory"),n(21,q=!0),fetch(e.href).then((e=>e.json())).then((e=>{let t,r,o;n(21,q=!1),i=e,n(7,({gameVendorsLinksTitle:H,gameVendorsRepeater:C,paymentLinksTitle:B,paymentMethodsRepeater:N,sponsorsLinksTitle:R,sponsorsRepeater:Y,helpLinksTitle:U,helpLinksRepeater:G,licensesLinksTitle:j,licensesRepeater:V,socialLinksTitle:W,socialLinksRepeater:z,copyright:Z,licenseDesc:X,licenseHeadScriptSrc:t,licenseScriptBody:r,licenseEvent:o,language:re}=i),H,n(8,C),n(9,B),n(10,N),n(11,R),n(12,Y),n(13,G),n(14,j),n(15,V),n(16,W),n(17,z),n(18,Z),n(19,X),n(5,re)),re&&(n(31,ae=!0),ye()),(null==t?void 0:t.length)>0&&(n(22,J=!0),n(23,Q=t)),(null==r?void 0:r.length)>0&&n(24,ee=r),window.postMessage({type:o},window.location.href),window.postMessage({type:"FooterData",gameVendorsRepeater:C,paymentMethodsRepeater:N,sponsorsRepeater:Y,helpLinksRepeater:G,licensesRepeater:V,socialLinksRepeater:z},window.location.href)})).catch((e=>{n(20,K=!0),n(21,q=!1),console.error(e)}))})(),/*translationurl*/1024&e.$$.dirty[1]&&y&&fetch(y).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{di(t,e[t])}))})).catch((e=>{console.log(e)})),/*clockenabled, clocksecondsenabled, clockcustomformat*/14336&e.$$.dirty[1]&&"false"!==b&&_&&v&&me(),/*clockenabled, clocksecondsenabled*/6144&e.$$.dirty[1]&&"false"!==b&&_&&(s="true"==_?1e3:6e4)&&(l=setInterval((()=>{me()}),s)),/*lang, languages*/34&e.$$.dirty[0]&&f&&n(26,ne=f)&&re&&re.length>0&&ye(),/*clientstyling, customStylingContainer*/65&e.$$.dirty[0]&&m&&h&&(()=>{let e=document.createElement("style");e.innerHTML=m,h.appendChild(e)})(),/*customStylingContainer*/64&e.$$.dirty[0]|/*clientstylingurl*/512&e.$$.dirty[1]&&g&&h&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,
1393
+ const t=new Date(e.Login),n=(new Date).getTimezoneOffset()/60;let i=(new Date).getTime()-t.getTime(),o=Math.floor(i/36e5)+n,s=Math.floor(i%36e5/6e4),a=Math.floor(i%6e4/1e3);u=setInterval((()=>{o=Math.floor(i/36e5)+n,s=Math.floor(i%36e5/6e4),a=Math.floor(i%6e4/1e3),le=`${o>9?o:"0"+o}:${s>9?s:"0"+s}:${a>9?a:"0"+a}`,ce.innerHTML=` ${r("sessionTimer")} ${le}`,i+=1e3}),1e3)},pe=()=>{const e="false"!=v?v:`hh:mm${"true"===_?":ss":""} (UTC Z)`;o=mi().format(e),ue.innerHTML=` ${w} ${o}`},me=()=>{window.postMessage({type:"LanguageChanged",selectedLanguage:ne},window.location.href)},ge=()=>{let e=!1;re.forEach(((t,r)=>{if(t.code==ne.toLowerCase()){let r="";switch(e=!0,n(30,se=t.flag_icon_editable),S){case"name":r=t.name;break;case"translatedName":r=t.translated_name;break;default:r=t.code}n(29,oe=r)}})),e||n(29,oe=ne)},ye=()=>{var e;e=f,cr.set(e),n(32,he=r("casinoFooter.panicButton"))};F((()=>()=>{clearInterval(l),clearInterval(u)}));return e.$$set=e=>{"endpoint"in e&&n(38,d=e.endpoint),"lang"in e&&n(1,f=e.lang),"env"in e&&n(39,p=e.env),"clientstyling"in e&&n(0,m=e.clientstyling),"clientstylingurl"in e&&n(40,g=e.clientstylingurl),"translationurl"in e&&n(41,y=e.translationurl),"clockenabled"in e&&n(42,b=e.clockenabled),"clocksecondsenabled"in e&&n(43,_=e.clocksecondsenabled),"clockcustomformat"in e&&n(44,v=e.clockcustomformat),"clocktext"in e&&n(45,w=e.clocktext),"languageselectorenabled"in e&&n(2,k=e.languageselectorenabled),"languageslist"in e&&n(46,E=e.languageslist),"languagedisplaytype"in e&&n(47,S=e.languagedisplaytype),"session"in e&&n(48,T=e.session),"userid"in e&&n(49,x=e.userid),"userendpoint"in e&&n(50,L=e.userendpoint),"panicbuttonenabled"in e&&n(3,M=e.panicbuttonenabled),"sessiontimerenabled"in e&&n(51,D=e.sessiontimerenabled),"grouplink"in e&&n(52,I=e.grouplink),"baseurl"in e&&n(4,A=e.baseurl)},e.$$.update=()=>{/*lang*/2&e.$$.dirty[0]&&f&&ye(),/*languageslist*/32768&e.$$.dirty[1]&&E&&(n(27,ie=E.replace(/ /g,"").split(",")),n(27,ie=ie.map((e=>e.toUpperCase())))),/*session, userid, userendpoint*/917504&e.$$.dirty[1]&&T&&x&&L&&de(),/*lang*/2&e.$$.dirty[0]|/*endpoint, env*/384&e.$$.dirty[1]&&d&&f&&p&&(()=>{let e=new URL(`${d}/${f}/footer-raw-data`),t=kr(O);e.searchParams.append("env",p),t&&("PC"===t?e.searchParams.append("device","dk"):e.searchParams.append("device","mtWeb")),"true"==I&&e.searchParams.append("helpLinks_groupby","helpLinkCategory"),n(21,q=!0),fetch(e.href).then((e=>e.json())).then((e=>{let t,r,o;n(21,q=!1),i=e,n(7,({gameVendorsLinksTitle:H,gameVendorsRepeater:C,paymentLinksTitle:B,paymentMethodsRepeater:N,sponsorsLinksTitle:R,sponsorsRepeater:Y,helpLinksTitle:U,helpLinksRepeater:G,licensesLinksTitle:j,licensesRepeater:V,socialLinksTitle:W,socialLinksRepeater:z,copyright:Z,licenseDesc:X,licenseHeadScriptSrc:t,licenseScriptBody:r,licenseEvent:o,language:re}=i),H,n(8,C),n(9,B),n(10,N),n(11,R),n(12,Y),n(13,G),n(14,j),n(15,V),n(16,W),n(17,z),n(18,Z),n(19,X),n(5,re)),re&&(n(31,ae=!0),ge()),(null==t?void 0:t.length)>0&&(n(22,J=!0),n(23,Q=t)),(null==r?void 0:r.length)>0&&n(24,ee=r),window.postMessage({type:o},window.location.href),window.postMessage({type:"FooterData",gameVendorsRepeater:C,paymentMethodsRepeater:N,sponsorsRepeater:Y,helpLinksRepeater:G,licensesRepeater:V,socialLinksRepeater:z},window.location.href)})).catch((e=>{n(20,K=!0),n(21,q=!1),console.error(e)}))})(),/*translationurl*/1024&e.$$.dirty[1]&&y&&fetch(y).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{gi(t,e[t])}))})).catch((e=>{console.log(e)})),/*clockenabled, clocksecondsenabled, clockcustomformat*/14336&e.$$.dirty[1]&&"false"!==b&&_&&v&&pe(),/*clockenabled, clocksecondsenabled*/6144&e.$$.dirty[1]&&"false"!==b&&_&&(s="true"==_?1e3:6e4)&&(l=setInterval((()=>{pe()}),s)),/*lang, languages*/34&e.$$.dirty[0]&&f&&n(26,ne=f)&&re&&re.length>0&&ge(),/*clientstyling, customStylingContainer*/65&e.$$.dirty[0]&&m&&h&&(()=>{let e=document.createElement("style");e.innerHTML=m,h.appendChild(e)})(),/*customStylingContainer*/64&e.$$.dirty[0]|/*clientstylingurl*/512&e.$$.dirty[1]&&g&&h&&(()=>{let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,
1394
1394
  // after the first call is made for the custom styling file, save the css inside clientstyling in order to avoid multiple fetches inside subwidgets
1395
- n(0,m=m?m+e:e),setTimeout((()=>{h.appendChild(t)}),1)}))})()},[m,f,k,D,A,re,h,H,C,B,N,R,Y,G,j,V,W,z,Z,X,K,q,J,Q,ee,te,ne,ie,a,oe,se,ae,he,P,(e,t)=>{let n=document.createElement("div");n.innerHTML=t,e.append(n),
1395
+ n(0,m=m?m+e:e),setTimeout((()=>{h.appendChild(t)}),1)}))})()},[m,f,k,M,A,re,h,H,C,B,N,R,Y,G,j,V,W,z,Z,X,K,q,J,Q,ee,te,ne,ie,a,oe,se,ae,he,P,(e,t)=>{let n=document.createElement("div");n.innerHTML=t,e.append(n),
1396
1396
  //Add clock
1397
1397
  "true"===b&&e.classList.contains("DetailedLicenses")&&e.children[0].children[0].append(ue),
1398
1398
  //Add session timer
1399
- "true"==F&&e.classList.contains("DetailedLicenses")&&e.children[0].children[0].append(ce)},ge,()=>{a.classList.toggle("hidden")},e=>{let t=e.target.closest(".OverlayLanguageOption");n(26,ne=t.getAttribute("data-lang")),ge(),ye(),a.classList.toggle("hidden")},d,p,g,y,b,_,v,w,E,T,S,x,L,F,$,function(){ne=function(e){const t=e.querySelector(":checked");return t&&t.__value}(this),n(26,ne),n(1,f),n(5,re),n(27,ie)},()=>ge(),function(e){I[e?"unshift":"push"]((()=>{a=e,n(28,a)}))},function(e){I[e?"unshift":"push"]((()=>{h=e,n(6,h)}))}]}class ji extends W{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, Roboto, Helvetica}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);text-align:center}.Footer{position:relative;background-color:#E8E9EB;display:flex;padding:21px 12px;flex-direction:row}.FooterSideMobile{margin-top:44px}.FooterSide{justify-content:center;height:100%;display:flex;flex-direction:column;background-color:#E8E9EB}.FooterSide .FooterTitle{font-weight:500;font-size:12px;color:#111;text-transform:uppercase;margin:21px 12px}.FooterGrid{font-weight:400;height:100%;display:flex;max-width:1200px;margin:auto;background-color:#E8E9EB;flex-direction:column;align-items:center;justify-content:center}.FooterGrid .GridRow{display:flex;flex-flow:row wrap;width:100%;align-items:flex-start;justify-content:center;align-items:center;padding:20px 0;text-align:left;max-width:1100px}.FooterGrid .GridRow p{display:inline;font-family:"Roboto";font-style:normal;font-weight:300;font-size:12px;color:#111}.FooterGrid .GridRow .LicenseDesc{flex:1;max-width:575px;line-height:1.3;display:flex;flex-direction:column;align-items:flex-start}.FooterGrid .GridRow .LicenseDesc .DetailedLicenses{font-size:10px;color:var(--emfe-w-color-gray-150, #828282)}.FooterGrid .CopyrightAreaRights{margin-top:10px}.FooterGrid .CopyrightTextArea p,.FooterGrid .CopyrightArea p{margin:0;color:var(--emfe-w-color-gray-150, #828282);font-size:9px}@media only screen and (max-width: 768px){.Footer{display:flex;flex-direction:column}.FooterSide{position:relative;margin-left:14px;margin-top:66px}.FooterGrid{padding:0}.FooterGrid:last-child{padding-bottom:50px}.GridRow{border-bottom:1px solid rgba(0, 0, 0, 0.05);gap:15px}.GridRow:last-child{border:none}}.ItemLanguage{display:none}#LanguageList{padding:0;margin:0}.LanguageSelectorContainer{position:relative}.LanguageSelectorOverlay{position:relative;font-size:12px}.DrawerButton{height:30px;width:150px;background:inherit;color:inherit;border:none;padding:0;font:inherit;cursor:pointer;outline:inherit;display:flex;justify-content:space-evenly;align-items:center;border-radius:0px;border:0;position:relative}.LanguageDrawer{position:absolute;background:#E8E9EB;width:150px;bottom:30px;padding:6px 0;left:7px}.LanguageDrawer.hidden{display:none}.LanguageFlag{margin-right:8px;background:black;border-radius:50%;width:16px;height:16px}.OverlayLanguageOption{justify-content:center;list-style:none;position:relative;height:35px;padding:0;justify-content:space-between;display:flex;flex-direction:row}.OverlayLanguageOption img{position:absolute;z-index:0;cursor:pointer;top:6px;left:12px}.OverlayLanguageOption a{text-decoration:none;color:black;display:inline-block;width:150px}.OverlayLanguageOption a span{width:100%;display:flex;justify-content:center;margin:4px 0}',this.shadowRoot.appendChild(t),V(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},Gi,Ui,o,{endpoint:38,lang:1,env:39,clientstyling:0,clientstylingurl:40,translationurl:41,clockenabled:42,clocksecondsenabled:43,clockcustomformat:44,clocktext:45,languageselectorenabled:2,languageslist:46,languagedisplaytype:47,session:48,userid:49,userendpoint:50,panicbuttonenabled:3,sessiontimerenabled:51,grouplink:52,baseurl:4},null,[-1,-1,-1]),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["endpoint","lang","env","clientstyling","clientstylingurl","translationurl","clockenabled","clocksecondsenabled","clockcustomformat","clocktext","languageselectorenabled","languageslist","languagedisplaytype","session","userid","userendpoint","panicbuttonenabled","sessiontimerenabled","grouplink","baseurl"]}get endpoint(){return this.$$.ctx[38]}set endpoint(e){this.$$set({endpoint:e}),N()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),N()}get env(){return this.$$.ctx[39]}set env(e){this.$$set({env:e}),N()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[40]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),N()}get translationurl(){return this.$$.ctx[41]}set translationurl(e){this.$$set({translationurl:e}),N()}get clockenabled(){return this.$$.ctx[42]}set clockenabled(e){this.$$set({clockenabled:e}),N()}get clocksecondsenabled(){return this.$$.ctx[43]}set clocksecondsenabled(e){this.$$set({clocksecondsenabled:e}),N()}get clockcustomformat(){return this.$$.ctx[44]}set clockcustomformat(e){this.$$set({clockcustomformat:e}),N()}get clocktext(){return this.$$.ctx[45]}set clocktext(e){this.$$set({clocktext:e}),N()}get languageselectorenabled(){return this.$$.ctx[2]}set languageselectorenabled(e){this.$$set({languageselectorenabled:e}),N()}get languageslist(){return this.$$.ctx[46]}set languageslist(e){this.$$set({languageslist:e}),N()}get languagedisplaytype(){return this.$$.ctx[47]}set languagedisplaytype(e){this.$$set({languagedisplaytype:e}),N()}get session(){return this.$$.ctx[48]}set session(e){this.$$set({session:e}),N()}get userid(){return this.$$.ctx[49]}set userid(e){this.$$set({userid:e}),N()}get userendpoint(){return this.$$.ctx[50]}set userendpoint(e){this.$$set({userendpoint:e}),N()}get panicbuttonenabled(){return this.$$.ctx[3]}set panicbuttonenabled(e){this.$$set({panicbuttonenabled:e}),N()}get sessiontimerenabled(){return this.$$.ctx[51]}set sessiontimerenabled(e){this.$$set({sessiontimerenabled:e}),N()}get grouplink(){return this.$$.ctx[52]}set grouplink(e){this.$$set({grouplink:e}),N()}get baseurl(){return this.$$.ctx[4]}set baseurl(e){this.$$set({baseurl:e}),N()}}return!customElements.get("casino-footer-v2")&&customElements.define("casino-footer-v2",ji),ji}));
1399
+ "true"==D&&e.classList.contains("DetailedLicenses")&&e.children[0].children[0].append(ce)},me,()=>{a.classList.toggle("hidden")},e=>{let t=e.target.closest(".OverlayLanguageOption");n(26,ne=t.getAttribute("data-lang")),me(),ge(),a.classList.toggle("hidden")},d,p,g,y,b,_,v,w,E,S,T,x,L,D,I,function(){ne=function(e){const t=e.querySelector(":checked");return t&&t.__value}(this),n(26,ne),n(1,f),n(5,re),n(27,ie)},()=>me(),function(e){$[e?"unshift":"push"]((()=>{a=e,n(28,a)}))},function(e){$[e?"unshift":"push"]((()=>{h=e,n(6,h)}))}]}class Zi extends W{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:system-ui, -apple-system, Roboto, Helvetica}.SearchLoading{color:var(--emfe-w-color-white, #FFFFFF);text-align:center}.Footer{position:relative;background-color:#E8E9EB;display:flex;padding:21px 12px;flex-direction:row}.FooterSideMobile{margin-top:44px}.FooterSide{justify-content:center;height:100%;display:flex;flex-direction:column;background-color:#E8E9EB}.FooterSide .FooterTitle{font-weight:500;font-size:12px;color:#111;text-transform:uppercase;margin:21px 12px}.FooterGrid{font-weight:400;height:100%;display:flex;max-width:1200px;margin:auto;background-color:#E8E9EB;flex-direction:column;align-items:center;justify-content:center}.FooterGrid .GridRow{display:flex;flex-flow:row wrap;width:100%;align-items:flex-start;justify-content:center;align-items:center;padding:20px 0;text-align:left;max-width:1100px}.FooterGrid .GridRow p{display:inline;font-family:"Roboto";font-style:normal;font-weight:300;font-size:12px;color:#111}.FooterGrid .GridRow .LicenseDesc{flex:1;max-width:575px;line-height:1.3;display:flex;flex-direction:column;align-items:flex-start}.FooterGrid .GridRow .LicenseDesc .DetailedLicenses{font-size:10px;color:var(--emfe-w-color-gray-150, #828282)}.FooterGrid .CopyrightAreaRights{margin-top:10px}.FooterGrid .CopyrightTextArea p,.FooterGrid .CopyrightArea p{margin:0;color:var(--emfe-w-color-gray-150, #828282);font-size:9px}@media only screen and (max-width: 768px){.Footer{display:flex;flex-direction:column}.FooterSide{position:relative;margin-left:14px;margin-top:66px}.FooterGrid{padding:0}.FooterGrid:last-child{padding-bottom:50px}.GridRow{border-bottom:1px solid rgba(0, 0, 0, 0.05);gap:15px}.GridRow:last-child{border:none}}.ItemLanguage{display:none}#LanguageList{padding:0;margin:0}.LanguageSelectorContainer{position:relative}.LanguageSelectorOverlay{position:relative;font-size:12px}.DrawerButton{height:30px;width:150px;background:inherit;color:inherit;border:none;padding:0;font:inherit;cursor:pointer;outline:inherit;display:flex;justify-content:space-evenly;align-items:center;border-radius:0px;border:0;position:relative}.LanguageDrawer{position:absolute;background:#E8E9EB;width:150px;bottom:30px;padding:6px 0;left:7px}.LanguageDrawer.hidden{display:none}.LanguageFlag{margin-right:8px;background:black;border-radius:50%;width:16px;height:16px}.OverlayLanguageOption{justify-content:center;list-style:none;position:relative;height:35px;padding:0;justify-content:space-between;display:flex;flex-direction:row}.OverlayLanguageOption img{position:absolute;z-index:0;cursor:pointer;top:6px;left:12px}.OverlayLanguageOption a{text-decoration:none;color:black;display:inline-block;width:150px}.OverlayLanguageOption a span{width:100%;display:flex;justify-content:center;margin:4px 0}',this.shadowRoot.appendChild(t),V(this,{target:this.shadowRoot,props:L(this.attributes),customElement:!0},zi,Wi,o,{endpoint:38,lang:1,env:39,clientstyling:0,clientstylingurl:40,translationurl:41,clockenabled:42,clocksecondsenabled:43,clockcustomformat:44,clocktext:45,languageselectorenabled:2,languageslist:46,languagedisplaytype:47,session:48,userid:49,userendpoint:50,panicbuttonenabled:3,sessiontimerenabled:51,grouplink:52,baseurl:4},null,[-1,-1,-1]),e&&(e.target&&f(e.target,this,e.anchor),e.props&&(this.$set(e.props),R()))}static get observedAttributes(){return["endpoint","lang","env","clientstyling","clientstylingurl","translationurl","clockenabled","clocksecondsenabled","clockcustomformat","clocktext","languageselectorenabled","languageslist","languagedisplaytype","session","userid","userendpoint","panicbuttonenabled","sessiontimerenabled","grouplink","baseurl"]}get endpoint(){return this.$$.ctx[38]}set endpoint(e){this.$$set({endpoint:e}),R()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),R()}get env(){return this.$$.ctx[39]}set env(e){this.$$set({env:e}),R()}get clientstyling(){return this.$$.ctx[0]}set clientstyling(e){this.$$set({clientstyling:e}),R()}get clientstylingurl(){return this.$$.ctx[40]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),R()}get translationurl(){return this.$$.ctx[41]}set translationurl(e){this.$$set({translationurl:e}),R()}get clockenabled(){return this.$$.ctx[42]}set clockenabled(e){this.$$set({clockenabled:e}),R()}get clocksecondsenabled(){return this.$$.ctx[43]}set clocksecondsenabled(e){this.$$set({clocksecondsenabled:e}),R()}get clockcustomformat(){return this.$$.ctx[44]}set clockcustomformat(e){this.$$set({clockcustomformat:e}),R()}get clocktext(){return this.$$.ctx[45]}set clocktext(e){this.$$set({clocktext:e}),R()}get languageselectorenabled(){return this.$$.ctx[2]}set languageselectorenabled(e){this.$$set({languageselectorenabled:e}),R()}get languageslist(){return this.$$.ctx[46]}set languageslist(e){this.$$set({languageslist:e}),R()}get languagedisplaytype(){return this.$$.ctx[47]}set languagedisplaytype(e){this.$$set({languagedisplaytype:e}),R()}get session(){return this.$$.ctx[48]}set session(e){this.$$set({session:e}),R()}get userid(){return this.$$.ctx[49]}set userid(e){this.$$set({userid:e}),R()}get userendpoint(){return this.$$.ctx[50]}set userendpoint(e){this.$$set({userendpoint:e}),R()}get panicbuttonenabled(){return this.$$.ctx[3]}set panicbuttonenabled(e){this.$$set({panicbuttonenabled:e}),R()}get sessiontimerenabled(){return this.$$.ctx[51]}set sessiontimerenabled(e){this.$$set({sessiontimerenabled:e}),R()}get grouplink(){return this.$$.ctx[52]}set grouplink(e){this.$$set({grouplink:e}),R()}get baseurl(){return this.$$.ctx[4]}set baseurl(e){this.$$set({baseurl:e}),R()}}return!customElements.get("casino-footer-v2")&&customElements.define("casino-footer-v2",Zi),Zi}));
1400
1400
  //# sourceMappingURL=casino-footer-v2.js.map