@everymatrix/casino-integrated-game-page 1.27.2 → 1.27.5

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(require("fs")):"function"==typeof define&&define.amd?define(["fs"],t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t(e.require$$0)}(this,(function(e){"use strict";function t(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var n=t(e);function r(){}function i(e){return e()}function o(){return Object.create(null)}function s(e){e.forEach(i)}function a(e){return"function"==typeof e}function l(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let u;function c(e,t){return u||(u=document.createElement("a")),u.href=t,e===u.href}function h(e,...t){if(null==e)return r;const n=e.subscribe(...t);return n.unsubscribe?()=>n.unsubscribe():n}function d(e,t,n){e.$$.on_destroy.push(h(t,n))}const f="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function p(e,t){e.appendChild(t)}function m(e,t,n){e.insertBefore(t,n||null)}function y(e){e.parentNode&&e.parentNode.removeChild(e)}function g(e){return document.createElement(e)}function v(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function w(e){return document.createTextNode(e)}function b(){return w(" ")}function _(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function E(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function S(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:E(e,t,n)}function T(e,t){t=""+t,e.data!==t&&(e.data=t)}function M(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function x(e,t,n){e.classList[n?"add":"remove"](t)}function k(e){const t={};for(const n of e)t[n.name]=n.value;return t}let D;function O(e){D=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 u(e,t,n){e.$$.on_destroy.push(l(t,n))}const c="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function h(e,t){e.appendChild(t)}function d(e,t,n){e.insertBefore(t,n||null)}function f(e){e.parentNode&&e.parentNode.removeChild(e)}function p(e){return document.createElement(e)}function m(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function y(e){return document.createTextNode(e)}function g(){return y(" ")}function b(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function v(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function w(e,t,n){t in e?e[t]="boolean"==typeof e[t]&&""===n||n:v(e,t,n)}function _(e,t){t=""+t,e.data!==t&&(e.data=t)}function E(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function S(e,t,n){e.classList[n?"add":"remove"](t)}function T(e){const t={};for(const n of e)t[n.name]=n.value;return t}let M;function x(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 P(e){(function(){if(!D)throw new Error("Function called outside component initialization");return D})().$$.on_mount.push(e)}const B=[],H=[];let F=[];const A=[],N=Promise.resolve();let C=!1;function L(e){F.push(e)}
11
+ function k(e){(function(){if(!M)throw new Error("Function called outside component initialization");return M})().$$.on_mount.push(e)}const D=[],O=[];let P=[];const H=[],F=Promise.resolve();let A=!1;function C(e){P.push(e)}
12
12
  // flush() calls callbacks in this order:
13
13
  // 1. All beforeUpdate callbacks, in order: parents before children
14
14
  // 2. All bind:this callbacks, in reverse order: children before parents.
@@ -27,61 +27,61 @@ function P(e){(function(){if(!D)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 R=new Set;let I=0;// Do *not* move this inside the flush() function
31
- function $(){
30
+ const B=new Set;let N=0;// Do *not* move this inside the flush() function
31
+ function L(){
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!==I)return;const e=D;do{
35
+ if(0!==N)return;const e=M;do{
36
36
  // first, call beforeUpdate functions
37
37
  // and update components
38
- try{for(;I<B.length;){const e=B[I];I++,O(e),Y(e.$$)}}catch(e){
38
+ try{for(;N<D.length;){const e=D[N];N++,x(e),R(e.$$)}}catch(e){
39
39
  // reset dirty state to not end up in a deadlocked state and then rethrow
40
- throw B.length=0,I=0,e}for(O(null),B.length=0,I=0;H.length;)H.pop()();
40
+ throw D.length=0,N=0,e}for(x(null),D.length=0,N=0;O.length;)O.pop()();
41
41
  // then, once components are updated, call
42
42
  // afterUpdate functions. This may cause
43
43
  // subsequent updates...
44
- for(let e=0;e<F.length;e+=1){const t=F[e];R.has(t)||(
44
+ for(let e=0;e<P.length;e+=1){const t=P[e];B.has(t)||(
45
45
  // ...so guard against infinite loops
46
- R.add(t),t())}F.length=0}while(B.length);for(;A.length;)A.pop()();C=!1,R.clear(),O(e)}function Y(e){if(null!==e.fragment){e.update(),s(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(L)}}
46
+ B.add(t),t())}P.length=0}while(D.length);for(;H.length;)H.pop()();A=!1,B.clear(),x(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(C)}}
47
47
  /**
48
48
  * Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
49
- */const U=new Set;function G(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];F.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),F=t}(n.after_update),s(n.on_destroy),n.fragment&&n.fragment.d(t),
49
+ */const I=new Set;function $(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];P.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),P=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]&&(B.push(e),C||(C=!0,N.then($)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function W(e,t,n,l,u,c,h,d=[-1]){const f=D;O(e);const p=e.$$={fragment:null,ctx:[],
52
+ n.on_destroy=n.fragment=null,n.ctx=[])}function Y(e,t){-1===e.$$.dirty[0]&&(D.push(e),A||(A=!0,F.then(L)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function U(o,s,a,l,u,c,h,d=[-1]){const p=M;x(o);const m=o.$$={fragment:null,ctx:[],
53
53
  // state
54
- props:c,update:r,not_equal:u,bound:o(),
54
+ props:c,update:e,not_equal:u,bound:n(),
55
55
  // lifecycle
56
- on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(t.context||(f?f.$$.context:[])),
56
+ on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(p?p.$$.context:[])),
57
57
  // everything else
58
- callbacks:o(),dirty:d,skip_bound:!1,root:t.target||f.$$.root};h&&h(p.root);let m=!1;if(p.ctx=n?n(e,t.props||{},((t,n,...r)=>{const i=r.length?r[0]:n;return p.ctx&&u(p.ctx[t],p.ctx[t]=i)&&(!p.skip_bound&&p.bound[t]&&p.bound[t](i),m&&j(e,t)),n})):[],p.update(),m=!0,s(p.before_update),
58
+ callbacks:n(),dirty:d,skip_bound:!1,root:s.target||p.$$.root};h&&h(m.root);let y=!1;if(m.ctx=a?a(o,s.props||{},((e,t,...n)=>{const r=n.length?n[0]:t;return m.ctx&&u(m.ctx[e],m.ctx[e]=r)&&(!m.skip_bound&&m.bound[e]&&m.bound[e](r),y&&Y(o,e)),t})):[],m.update(),y=!0,r(m.before_update),
59
59
  // `false` as a special case of no DOM component
60
- p.fragment=!!l&&l(p.ctx),t.target){if(t.hydrate){const e=function(e){return Array.from(e.childNodes)}(t.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
- p.fragment&&p.fragment.l(e),e.forEach(y)}else
62
+ m.fragment&&m.fragment.l(e),e.forEach(f)}else
63
63
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
64
- p.fragment&&p.fragment.c();t.intro&&((g=e.$$.fragment)&&g.i&&(U.delete(g),g.i(v))),function(e,t,n,r){const{fragment:o,after_update:l}=e.$$;o&&o.m(t,n),r||
64
+ m.fragment&&m.fragment.c();s.intro&&((g=o.$$.fragment)&&g.i&&(I.delete(g),g.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
- L((()=>{const t=e.$$.on_mount.map(i).filter(a);
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
- e.$$.on_destroy?e.$$.on_destroy.push(...t):
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
- s(t),e.$$.on_mount=[]})),l.forEach(L)}(e,t.target,t.anchor,t.customElement),$()}var g,v;O(f)}let V;"function"==typeof HTMLElement&&(V=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(i).filter(a);
73
+ r(n),e.$$.on_mount=[]})),l.forEach(C)}(o,s.target,s.anchor,s.customElement),L()}var g,b;x(p)}let G;"function"==typeof HTMLElement&&(G=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(i);
74
74
  // @ts-ignore todo: improve typings
75
75
  for(const e in this.$$.slotted)
76
76
  // @ts-ignore todo: improve typings
77
- this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){s(this.$$.on_disconnect)}$destroy(){G(this,1),this.$destroy=r}$on(e,t){
77
+ this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){r(this.$$.on_disconnect)}$destroy(){$(this,1),this.$destroy=e}$on(t,n){
78
78
  // TODO should this delegate to addEventListener?
79
- if(!a(t))return r;const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}})
80
- /* eslint-disable no-prototype-builtins */;var z="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||
79
+ if(!i(n))return e;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const e=r.indexOf(n);-1!==e&&r.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}})
80
+ /* eslint-disable no-prototype-builtins */;var j="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||
81
81
  // eslint-disable-next-line no-undef
82
- "undefined"!=typeof global&&global||{},Z="URLSearchParams"in z,X="Symbol"in z&&"iterator"in Symbol,q="FileReader"in z&&"Blob"in z&&function(){try{return new Blob,!0}catch(e){return!1}}(),K="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}
82
+ "undefined"!=typeof global&&global||{},W="URLSearchParams"in j,V="Symbol"in j&&"iterator"in Symbol,z="FileReader"in j&&"Blob"in j&&function(){try{return new Blob,!0}catch(e){return!1}}(),Z="FormData"in j,X="ArrayBuffer"in j;if(X)var q=["[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&&q.indexOf(Object.prototype.toString.call(e))>-1};function J(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 Q(e){return"string"!=typeof e&&(e=String(e)),e}
83
83
  // Build a destructive iterator for the value list
84
- 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){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function oe(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(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 ue(){return this.bodyUsed=!1,this._initBody=function(e){var t;
84
+ function ee(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return V&&(t[Symbol.iterator]=function(){return t}),t}function te(e){this.map={},e instanceof te?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){if(2!=e.length)throw new TypeError("Headers constructor: expected name/value pair to be length 2, found"+e.length);this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function ne(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function re(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function ie(e){var t=new FileReader,n=re(t);return t.readAsArrayBuffer(e),n}function oe(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function se(){return this.bodyUsed=!1,this._initBody=function(e){var t;
85
85
  /*
86
86
  fetch-mock wraps the Response object in an ES6 Proxy to
87
87
  provide useful test harness features such as flush. However, on
@@ -93,29 +93,29 @@ function re(e){var t={next:function(){var t=e.shift();return{done:void 0===t,val
93
93
  _initBody is called.
94
94
  */
95
95
  // eslint-disable-next-line no-self-assign
96
- this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:q&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:K&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:Z&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():J&&q&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=le(e.buffer),
96
+ this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:z&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:Z&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:W&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():X&&z&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=oe(e.buffer),
97
97
  // IE 10-11 can't handle a DataView body.
98
- this._bodyInit=new Blob([this._bodyArrayBuffer])):J&&(ArrayBuffer.prototype.isPrototypeOf(e)||ee(e))?this._bodyArrayBuffer=le(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):Z&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},q&&(this.blob=function(){var e=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))}if(q)return this.blob().then(ae);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r,i,o=oe(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=se(t),r=/charset=([A-Za-z0-9_-]+)/.exec(e.type),i=r?r[1]:"utf-8",t.readAsText(e,i),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},K&&(this.formData=function(){return this.text().then(de)}),this.json=function(){return this.text().then(JSON.parse)},this}
98
+ this._bodyInit=new Blob([this._bodyArrayBuffer])):X&&(ArrayBuffer.prototype.isPrototypeOf(e)||K(e))?this._bodyArrayBuffer=oe(e):this._bodyText=e=Object.prototype.toString.call(e):(this._noBody=!0,this._bodyText=""),this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):W&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},z&&(this.blob=function(){var e=ne(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=ne(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(z)return this.blob().then(ie);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r,i,o=ne(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=re(t),r=/charset=([A-Za-z0-9_-]+)/.exec(e.type),i=r?r[1]:"utf-8",t.readAsText(e,i),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},Z&&(this.formData=function(){return this.text().then(ue)}),this.json=function(){return this.text().then(JSON.parse)},this}
99
99
  // HTTP methods whose capitalization should be normalized
100
- 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 ce=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];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(),ce.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in z)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){
100
+ te.prototype.append=function(e,t){e=J(e),t=Q(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},te.prototype.delete=function(e){delete this.map[J(e)]},te.prototype.get=function(e){return e=J(e),this.has(e)?this.map[e]:null},te.prototype.has=function(e){return this.map.hasOwnProperty(J(e))},te.prototype.set=function(e,t){this.map[J(e)]=Q(t)},te.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},te.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),ee(e)},te.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),ee(e)},te.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),ee(e)},V&&(te.prototype[Symbol.iterator]=te.prototype.entries);var ae=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function le(e,t){if(!(this instanceof le))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 le){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new te(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 te(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),ae.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in j)return(new AbortController).signal}(),this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){
101
101
  // Search for a '_' parameter in the query string
102
102
  var o=/([?&])_=[^&]*/;if(o.test(this.url))
103
103
  // If it already exists then set the value with the current time
104
- 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.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new ie(t.headers),this.url=t.url||"",this._initBody(e)}he.prototype.clone=function(){return new he(this,{body:this._bodyInit})},ue.call(he.prototype),ue.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:200,statusText:""});return e.status=0,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 ye(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()}if(o.onload=function(){var e,t,r={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new ie,
104
+ this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function ue(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.');if(t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.status<200||this.status>599)throw new RangeError("Failed to construct 'Response': The status provided (0) is outside the range [200, 599].");this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new te(t.headers),this.url=t.url||"",this._initBody(e)}le.prototype.clone=function(){return new le(this,{body:this._bodyInit})},se.call(le.prototype),se.call(ce.prototype),ce.prototype.clone=function(){return new ce(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new te(this.headers),url:this.url})},ce.error=function(){var e=new ce(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var he=[301,302,303,307,308];ce.redirect=function(e,t){if(-1===he.indexOf(t))throw new RangeError("Invalid status code");return new ce(null,{status:t,headers:{location:e}})};var de=j.DOMException;try{new de}catch(e){(de=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),de.prototype.constructor=de}function fe(e,t){return new Promise((function(n,r){var i=new le(e,t);if(i.signal&&i.signal.aborted)return r(new de("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}if(o.onload=function(){var e,t,r={statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new te,
105
105
  // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill
106
106
  // https://github.com/github/fetch/issues/748
107
107
  // https://github.com/zloirock/core-js/issues/751
108
108
  e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();try{t.append(r,i)}catch(e){console.warn("Response "+e.message)}}})),t)};
109
109
  // This check if specifically for when a user fetches a file locally from the file system
110
110
  // Only if the status is out of a normal range
111
- i.url.startsWith("file://")&&(o.status<200||o.status>599)?r.status=200:r.status=o.status,r.url="responseURL"in o?o.responseURL:r.headers.get("X-Request-URL");var s="response"in o?o.response:o.responseText;setTimeout((function(){n(new fe(s,r))}),0)},o.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request timed out"))}),0)},o.onabort=function(){setTimeout((function(){r(new 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&&(q?o.responseType="blob":J&&(o.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof ie||z.Headers&&t.headers instanceof z.Headers)){var a=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){a.push(te(e)),o.setRequestHeader(e,ne(t.headers[e]))})),i.headers.forEach((function(e,t){-1===a.indexOf(t)&&o.setRequestHeader(t,e)}))}else i.headers.forEach((function(e,t){o.setRequestHeader(t,e)}));i.signal&&(i.signal.addEventListener("abort",s),o.onreadystatechange=function(){
111
+ i.url.startsWith("file://")&&(o.status<200||o.status>599)?r.status=200:r.status=o.status,r.url="responseURL"in o?o.responseURL:r.headers.get("X-Request-URL");var s="response"in o?o.response:o.responseText;setTimeout((function(){n(new ce(s,r))}),0)},o.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request timed out"))}),0)},o.onabort=function(){setTimeout((function(){r(new de("Aborted","AbortError"))}),0)},o.open(i.method,function(e){try{return""===e&&j.location.href?j.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?o.responseType="blob":X&&(o.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof te||j.Headers&&t.headers instanceof j.Headers)){var a=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){a.push(J(e)),o.setRequestHeader(e,Q(t.headers[e]))})),i.headers.forEach((function(e,t){-1===a.indexOf(t)&&o.setRequestHeader(t,e)}))}else i.headers.forEach((function(e,t){o.setRequestHeader(t,e)}));i.signal&&(i.signal.addEventListener("abort",s),o.onreadystatechange=function(){
112
112
  // DONE (success or failure)
113
- 4===o.readyState&&i.signal.removeEventListener("abort",s)}),o.send(void 0===i._bodyInit?null:i._bodyInit)}))}ye.polyfill=!0,z.fetch||(z.fetch=ye,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 ge(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}
113
+ 4===o.readyState&&i.signal.removeEventListener("abort",s)}),o.send(void 0===i._bodyInit?null:i._bodyInit)}))}fe.polyfill=!0,j.fetch||(j.fetch=fe,j.Headers=te,j.Request=le,j.Response=ce);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function pe(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}
114
114
  // the whatwg-fetch polyfill installs the fetch() function
115
115
  // on the global object (window or self)
116
116
 
117
117
  // Return that as the export for use in Webpack, Browserify etc.
118
- var ve=self.fetch.bind(self),we=function(e,t){return we=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])},we(e,t)};
118
+ var me=self.fetch.bind(self),ye=function(e,t){return ye=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},ye(e,t)};
119
119
  /******************************************************************************
120
120
  Copyright (c) Microsoft Corporation.
121
121
 
@@ -130,7 +130,7 @@ var ve=self.fetch.bind(self),we=function(e,t){return we=Object.setPrototypeOf||{
130
130
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
131
131
  PERFORMANCE OF THIS SOFTWARE.
132
132
  ***************************************************************************** */
133
- /* global Reflect, Promise, SuppressedError, Symbol */function be(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}we(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function _e(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 Ee(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 Se(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 Te(e){return"function"==typeof e}function Me(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=Me((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 ke(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var De=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}var t;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=_e(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(Te(l))try{l()}catch(e){i=e instanceof xe?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=_e(u),h=c.next();!h.done;h=c.next()){var d=h.value;try{Be(d)}catch(e){i=null!=i?i:[],e instanceof xe?i=Se(Se([],Ee(i)),Ee(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{h&&!h.done&&(r=c.return)&&r.call(c)}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)Be(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)&&ke(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&ke(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}(),Oe=De.EMPTY;function Pe(e){return e instanceof De||e&&"closed"in e&&Te(e.remove)&&Te(e.add)&&Te(e.unsubscribe)}function Be(e){Te(e)?e():e.unsubscribe()}var He={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Fe={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Fe.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,Se([e,t],Ee(n))):setTimeout.apply(void 0,Se([e,t],Ee(n)))},clearTimeout:function(e){var t=Fe.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Ae(){}var Ne=null;function Ce(e){if(He.useDeprecatedSynchronousErrorHandling){var t=!Ne;if(t&&(Ne={errorThrown:!1,error:null}),e(),t){var n=Ne,r=n.errorThrown,i=n.error;if(Ne=null,r)throw i}}else e()}var Le=function(e){function t(t){var n=e.call(this)||this;return n.isStopped=!1,t?(n.destination=t,Pe(t)&&t.add(n)):n.destination=Ge,n}return be(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}(De),Re=Function.prototype.bind;function Ie(e,t){return Re.call(e,t)}var $e=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;Te(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&He.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&Ie(t.next,o),error:t.error&&Ie(t.error,o),complete:t.complete&&Ie(t.complete,o)}):i=t;return s.destination=new $e(i),s}return be(t,e),t}(Le);function Ue(e){var t;t=e,Fe.setTimeout((function(){throw t}))}var Ge={closed:!0,next:Ae,error:function(e){throw e},complete:Ae},je="function"==typeof Symbol&&Symbol.observable||"@@observable";function We(e){return e}var Ve=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 Le||function(e){return e&&Te(e.next)&&Te(e.error)&&Te(e.complete)}(r)&&Pe(r)?e:new Ye(e,t,n);return Ce((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?We: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:He.Promise)&&void 0!==t?t:Promise}var Ze=Me((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 be(t,e),t.prototype.lift=function(e){var t=new qe(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;Ce((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=_e(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;Ce((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;Ce((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?Oe:(this.currentObservers=null,o.push(e),new De((function(){t.currentObservers=null,ke(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 Ve;return e.source=this,e},t.create=function(e,t){return new qe(e,t)},t}(Ve),qe=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return be(t,e),t.prototype.next=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.next)||void 0===n||n.call(t,e)},t.prototype.error=function(e){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.error)||void 0===n||n.call(t,e)},t.prototype.complete=function(){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.complete)||void 0===t||t.call(e)},t.prototype._subscribe=function(e){var t,n;return null!==(n=null===(t=this.source)||void 0===t?void 0:t.subscribe(e))&&void 0!==n?n:Oe},t}(Xe),Ke={now:function(){return(Ke.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=Ke);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return be(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={};
133
+ /* global Reflect, Promise, SuppressedError, Symbol */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}ye(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function be(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function ve(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 we(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 _e(e){return"function"==typeof e}function Ee(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var Se=Ee((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 Te(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}var t;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=be(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(_e(l))try{l()}catch(e){i=e instanceof Se?e.errors:[e]}var u=this._finalizers;if(u){this._finalizers=null;try{for(var c=be(u),h=c.next();!h.done;h=c.next()){var d=h.value;try{De(d)}catch(e){i=null!=i?i:[],e instanceof Se?i=we(we([],ve(i)),ve(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{h&&!h.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}if(i)throw new Se(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)De(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)&&Te(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Te(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}(),xe=Me.EMPTY;function ke(e){return e instanceof Me||e&&"closed"in e&&_e(e.remove)&&_e(e.add)&&_e(e.unsubscribe)}function De(e){_e(e)?e():e.unsubscribe()}var Oe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Pe={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Pe.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,we([e,t],ve(n))):setTimeout.apply(void 0,we([e,t],ve(n)))},clearTimeout:function(e){var t=Pe.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function He(){}var Fe=null;function Ae(e){if(Oe.useDeprecatedSynchronousErrorHandling){var t=!Fe;if(t&&(Fe={errorThrown:!1,error:null}),e(),t){var n=Fe,r=n.errorThrown,i=n.error;if(Fe=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,ke(t)&&t.add(n)):n.destination=$e,n}return ge(t,e),t.create=function(e,t,n){return new Re(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Me),Be=Function.prototype.bind;function Ne(e,t){return Be.call(e,t)}var Le=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){Ie(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Ie(e)}else Ie(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Ie(e)}},e}(),Re=function(e){function t(t,n,r){var i,o,s=e.call(this)||this;_e(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&Oe.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 Le(i),s}return ge(t,e),t}(Ce);function Ie(e){var t;t=e,Pe.setTimeout((function(){throw t}))}var $e={closed:!0,next:He,error:function(e){throw e},complete:He},Ye="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ue(e){return e}var Ge=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&&_e(e.next)&&_e(e.error)&&_e(e.complete)}(r)&&ke(r)?e:new Re(e,t,n);return Ae((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=je(t))((function(t,r){var i=new Re({next:function(t){try{e(t)}catch(e){r(e),i.unsubscribe()}},error:r,complete:t});n.subscribe(i)}))},e.prototype._subscribe=function(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)},e.prototype[Ye]=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?Ue: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=je(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 je(e){var t;return null!==(t=null!=e?e:Oe.Promise)&&void 0!==t?t:Promise}var We=Ee((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 ze(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new We},t.prototype.next=function(e){var t=this;Ae((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=be(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;Ae((function(){if(t._throwIfClosed(),!t.isStopped){t.hasError=t.isStopped=!0,t.thrownError=e;for(var n=t.observers;n.length;)n.shift().error(e)}}))},t.prototype.complete=function(){var e=this;Ae((function(){if(e._throwIfClosed(),!e.isStopped){e.isStopped=!0;for(var t=e.observers;t.length;)t.shift().complete()}}))},t.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(t.prototype,"observed",{get:function(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0},enumerable:!1,configurable:!0}),t.prototype._trySubscribe=function(t){return this._throwIfClosed(),e.prototype._trySubscribe.call(this,t)},t.prototype._subscribe=function(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)},t.prototype._innerSubscribe=function(e){var t=this,n=this,r=n.hasError,i=n.isStopped,o=n.observers;return r||i?xe:(this.currentObservers=null,o.push(e),new Me((function(){t.currentObservers=null,Te(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 Ge;return e.source=this,e},t.create=function(e,t){return new ze(e,t)},t}(Ge),ze=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:xe},t}(Ve),Ze={now:function(){return(Ze.delegate||Date).now()},delegate:void 0},Xe=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=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 qe=[],Ke={};
134
134
  /**
135
135
  * @name topic
136
136
  * @description A small wrapper over the rxjs to offer the topic method on top of it
@@ -138,36 +138,36 @@ var ve=self.fetch.bind(self),we=function(e,t){return we=Object.setPrototypeOf||{
138
138
  * @param step [String] How many values to be buffed for new subscribers - default 0
139
139
  * @returns ReplaySubject
140
140
  */
141
- const tt=[];
141
+ const Je=[];
142
142
  /**
143
143
  * Create a `Writable` store that allows both updating and reading by subscription.
144
144
  * @param {*=}value initial value
145
145
  * @param {StartStopNotifier=} start
146
146
  */
147
- function nt(e,t=r){let n;const i=new Set;function o(t){if(l(e,t)&&(e=t,n)){// store is ready
148
- const t=!tt.length;for(const t of i)t[1](),tt.push(t,e);if(t){for(let e=0;e<tt.length;e+=2)tt[e][0](tt[e+1]);tt.length=0}}}return{set:o,update:function(t){o(t(e))},subscribe:function(s,a=r){const l=[s,a];return i.add(l),1===i.size&&(n=t(o)||r),s(e),()=>{i.delete(l),0===i.size&&n&&(n(),n=null)}}}}function rt(e,t,n){const i=!Array.isArray(e),o=i?[e]:e,l=t.length<2;return u=e=>{let n=!1;const u=[];let c=0,d=r;const f=()=>{if(c)return;d();const n=t(i?u[0]:u,e);l?e(n):d=a(n)?n:r},p=o.map(((e,t)=>h(e,(e=>{u[t]=e,c&=~(1<<t),n&&f()}),(()=>{c|=1<<t}))));return n=!0,f(),function(){s(p),d(),
147
+ function Qe(t,n=e){let r;const i=new Set;function s(e){if(o(t,e)&&(t=e,r)){// store is ready
148
+ const e=!Je.length;for(const e of i)e[1](),Je.push(e,t);if(e){for(let e=0;e<Je.length;e+=2)Je[e][0](Je[e+1]);Je.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 et(t,n,o){const s=!Array.isArray(t),a=s?[t]:t,u=n.length<2;return c=t=>{let o=!1;const c=[];let h=0,d=e;const f=()=>{if(h)return;d();const r=n(s?c[0]:c,t);u?t(r):d=i(r)?r:e},p=a.map(((e,t)=>l(e,(e=>{c[t]=e,h&=~(1<<t),o&&f()}),(()=>{h|=1<<t}))));return o=!0,f(),function(){r(p),d(),
149
149
  // We need to set this to false because callbacks can still happen despite having unsubscribed:
150
150
  // Callbacks might already be placed in the queue which doesn't know it should no longer
151
151
  // invoke this derived store.
152
- n=!1}},{subscribe:nt(n,u).subscribe};
152
+ o=!1}},{subscribe:Qe(o,c).subscribe};
153
153
  /**
154
154
  * Creates a `Readable` store that allows reading by subscription.
155
155
  * @param value initial value
156
156
  * @param {StartStopNotifier} [start]
157
157
  */
158
- 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)}
158
+ var c}var tt=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===nt}(e)}
159
159
  // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
160
- (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 ut(e,t){try{return t in e}catch(e){return!1}}
160
+ (e)};var nt="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function rt(e,t){return!1!==t.clone&&t.isMergeableObject(e)?lt((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function it(e,t,n){return e.concat(t).map((function(e){return rt(e,n)}))}function ot(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 st(e,t){try{return t in e}catch(e){return!1}}
161
161
  // Protects from prototype poisoning and unexpected merging up the prototype chain.
162
- function ct(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 ut(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));// and also unsafe if they're nonenumerable.
163
- })(e,i)||(ut(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,
162
+ function at(e,t,n){var r={};return n.isMergeableObject(e)&&ot(e).forEach((function(t){r[t]=rt(e[t],n)})),ot(t).forEach((function(i){(function(e,t){return st(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));// and also unsafe if they're nonenumerable.
163
+ })(e,i)||(st(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return lt;var n=t.customMerge(e);return"function"==typeof n?n:lt}(i,n)(e[i],t[i],n):r[i]=rt(t[i],n))})),r}function lt(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||it,n.isMergeableObject=n.isMergeableObject||tt,
164
164
  // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
165
165
  // implementations can use it. The caller may not replace it.
166
- n.cloneUnlessOtherwiseSpecified=st;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):ct(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,yt,gt,vt=function(){return vt=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},vt.apply(this,arguments)};function wt(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))}
166
+ n.cloneUnlessOtherwiseSpecified=rt;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):at(e,t,n):rt(t,n)}lt.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return lt(e,n,t)}),{})};var ut=lt,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 ht(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}ct(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var dt,ft,pt,mt=function(){return mt=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},mt.apply(this,arguments)};function yt(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))}
167
167
  /**
168
168
  * Type Guards
169
169
  */
170
- function bt(e){return e.type===yt.literal}function _t(e){return e.type===yt.argument}function Et(e){return e.type===yt.number}function St(e){return e.type===yt.date}function Tt(e){return e.type===yt.time}function Mt(e){return e.type===yt.select}function xt(e){return e.type===yt.plural}function kt(e){return e.type===yt.pound}function Dt(e){return e.type===yt.tag}function Ot(e){return!(!e||"object"!=typeof e||e.type!==gt.number)}function Pt(e){return!(!e||"object"!=typeof e||e.type!==gt.dateTime)}
170
+ function gt(e){return e.type===ft.literal}function bt(e){return e.type===ft.argument}function vt(e){return e.type===ft.number}function wt(e){return e.type===ft.date}function _t(e){return e.type===ft.time}function Et(e){return e.type===ft.select}function St(e){return e.type===ft.plural}function Tt(e){return e.type===ft.pound}function Mt(e){return e.type===ft.tag}function xt(e){return!(!e||"object"!=typeof e||e.type!==pt.number)}function kt(e){return!(!e||"object"!=typeof e||e.type!==pt.dateTime)}
171
171
  // @generated from regex-gen.ts
172
172
  "function"==typeof SuppressedError&&SuppressedError,function(e){
173
173
  /** Argument is unclosed (e.g. `{0`) */
@@ -229,7 +229,7 @@ e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",
229
229
  /** The closing tag does not match the opening tag. (e.g. `<bold>foo</italic>`) */
230
230
  e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",
231
231
  /** The opening tag has unmatched closing tag. (e.g. `<bold>foo`) */
232
- e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(mt||(mt={})),function(e){
232
+ e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(dt||(dt={})),function(e){
233
233
  /**
234
234
  * Raw text
235
235
  */
@@ -266,7 +266,7 @@ e[e.pound=7]="pound",
266
266
  /**
267
267
  * XML-like tag
268
268
  */
269
- e[e.tag=8]="tag"}(yt||(yt={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(gt||(gt={}));var Bt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ht=/(?:[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;
269
+ e[e.tag=8]="tag"}(ft||(ft={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(pt||(pt={}));var Dt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ot=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
270
270
  /**
271
271
  * https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
272
272
  * Credit: https://github.com/caridy/intl-datetimeformat-pattern/blob/master/index.js
@@ -278,7 +278,7 @@ e[e.tag=8]="tag"}(yt||(yt={})),function(e){e[e.number=0]="number",e[e.dateTime=1
278
278
  * @public
279
279
  * @param skeleton skeleton string
280
280
  */
281
- function Ft(e){var t={};return e.replace(Ht,(function(e){var n=e.length;switch(e[0]){
281
+ function Pt(e){var t={};return e.replace(Ot,(function(e){var n=e.length;switch(e[0]){
282
282
  // Era
283
283
  case"G":t.era=4===n?"long":5===n?"narrow":"short";break;
284
284
  // Year
@@ -312,33 +312,33 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
312
312
  case"x":// 1, 2, 3, 4: The ISO8601 varios formats
313
313
  throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}
314
314
  // @generated from regex-gen.ts
315
- var At=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Nt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Ct=/^(@+)?(\+|#+)?[rs]?$/g,Lt=/(\*)(0+)|(#+)(0+)|(0+)/g,Rt=/^(0+)$/;function It(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Ct,(function(e,n,r){
315
+ var Ht=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Ft=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,At=/^(@+)?(\+|#+)?[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(At,(function(e,n,r){
316
316
  // @@@ case
317
- 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 $t(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){
317
+ 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 Lt(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function Rt(e){
318
318
  // Engineering
319
- 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)),!Rt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ut(e){var t=$t(e);return t||{}}
319
+ 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 It(e){var t=Lt(e);return t||{}}
320
320
  /**
321
321
  * https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options
322
- */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=vt(vt(vt({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return vt(vt({},e),Ut(t))}),{}));continue;case"engineering":t=vt(vt(vt({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return vt(vt({},e),Ut(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
322
+ */function $t(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=mt(mt(mt({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return mt(mt({},e),It(t))}),{}));continue;case"engineering":t=mt(mt(mt({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return mt(mt({},e),It(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
323
323
  // https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
324
324
  case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;
325
325
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
326
- case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(Lt,(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}
326
+ 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}
327
327
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
328
- if(Rt.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(Nt.test(i.stem)){
328
+ if(Bt.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(Ft.test(i.stem)){
329
329
  // Precision
330
330
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#fraction-precision
331
331
  // precision-integer case
332
- if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Nt,(function(e,n,r,i,o,s){
332
+ if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");i.stem.replace(Ft,(function(e,n,r,i,o,s){
333
333
  // .000* case (before ICU67 it was .000+)
334
334
  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];
335
335
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#trailing-zero-display
336
- "w"===o?t=vt(vt({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=vt(vt({},t),It(o)))}
336
+ "w"===o?t=mt(mt({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=mt(mt({},t),Nt(o)))}
337
337
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
338
- else if(Ct.test(i.stem))t=vt(vt({},t),It(i.stem));else{var s=$t(i.stem);s&&(t=vt(vt({},t),s));var a=Yt(i.stem);a&&(t=vt(vt({},t),a))}}return t}
338
+ else if(At.test(i.stem))t=mt(mt({},t),Nt(i.stem));else{var s=Lt(i.stem);s&&(t=mt(mt({},t),s));var a=Rt(i.stem);a&&(t=mt(mt({},t),a))}}return t}
339
339
  // @generated from time-data-gen.ts
340
340
  // prettier-ignore
341
- var jt,Wt={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"]};
341
+ var Yt,Ut={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"]};
342
342
  /**
343
343
  * Returns the best matching date time pattern if a date time skeleton
344
344
  * pattern is provided with a locale. Follows the Unicode specification:
@@ -351,7 +351,7 @@ var jt,Wt={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H
351
351
  * of the given `locale` to the corresponding time pattern.
352
352
  * @param locale
353
353
  */
354
- function Vt(e){var t=e.hourCycle;if(void 0===t&&
354
+ function Gt(e){var t=e.hourCycle;if(void 0===t&&
355
355
  // @ts-ignore hourCycle(s) is not identified yet
356
356
  e.hourCycles&&
357
357
  // @ts-ignore
@@ -359,37 +359,37 @@ e.hourCycles.length&&(
359
359
  // @ts-ignore
360
360
  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")}
361
361
  // TODO: Once hourCycle is fully supported remove the following with data generation
362
- var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(Wt[n||""]||Wt[r||""]||Wt["".concat(r,"-001")]||Wt["001"])[0]}var zt=new RegExp("^".concat(Bt.source,"*")),Zt=new RegExp("".concat(Bt.source,"*$"));function Xt(e,t){return{start:e,end:t}}
362
+ var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(Ut[n||""]||Ut[r||""]||Ut["".concat(r,"-001")]||Ut["001"])[0]}var jt=new RegExp("^".concat(Dt.source,"*")),Wt=new RegExp("".concat(Dt.source,"*$"));function Vt(e,t){return{start:e,end:t}}
363
363
  // #region Ponyfills
364
364
  // Consolidate these variables up top for easier toggling during debugging
365
- var qt=!!String.prototype.startsWith,Kt=!!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{
365
+ var zt=!!String.prototype.startsWith,Zt=!!String.fromCodePoint,Xt=!!Object.fromEntries,qt=!!String.prototype.codePointAt,Kt=!!String.prototype.trimStart,Jt=!!String.prototype.trimEnd,Qt=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},en=!0;try{
366
366
  /**
367
367
  * legacy Edge or Xbox One browser
368
368
  * Unicode flag support: supported
369
369
  * Pattern_Syntax support: not supported
370
370
  * See https://github.com/formatjs/formatjs/issues/2822
371
371
  */
372
- 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=qt?// Native
372
+ en="a"===(null===(Yt=un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Yt?void 0:Yt[0])}catch(e){en=!1}var tn,nn=zt?// Native
373
373
  function(e,t,n){return e.startsWith(t,n)}:// For IE11
374
- function(e,t,n){return e.slice(n,n+t.length)===t},an=Kt?String.fromCodePoint:// IE11
375
- 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=
374
+ function(e,t,n){return e.slice(n,n+t.length)===t},rn=Zt?String.fromCodePoint:// IE11
375
+ 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},on=
376
376
  // native
377
- Jt?Object.fromEntries:// Ponyfill
378
- 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},un=Qt?// Native
377
+ Xt?Object.fromEntries:// Ponyfill
378
+ 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},sn=qt?// Native
379
379
  function(e,t){return e.codePointAt(t)}:// IE 11
380
- 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}},cn=en?// Native
380
+ 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}},an=Kt?// Native
381
381
  function(e){return e.trimStart()}:// Ponyfill
382
- function(e){return e.replace(zt,"")},hn=tn?// Native
382
+ function(e){return e.replace(jt,"")},ln=Jt?// Native
383
383
  function(e){return e.trimEnd()}:// Ponyfill
384
- function(e){return e.replace(Zt,"")};
384
+ function(e){return e.replace(Wt,"")};
385
385
  // Prevent minifier to translate new RegExp to literal form that might cause syntax error on IE11.
386
- function dn(e,t){return new RegExp(e,t)}
386
+ function un(e,t){return new RegExp(e,t)}
387
387
  // #endregion
388
- if(rn){
388
+ if(en){
389
389
  // Native
390
- 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
390
+ var cn=un("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");tn=function(e,t){var n;return cn.lastIndex=t,null!==(n=cn.exec(e)[1])&&void 0!==n?n:""}}else
391
391
  // IE11
392
- on=function(e,t){for(var n=[];;){var r=un(e,t);if(void 0===r||yn(r)||gn(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:yt.pound,location:Xt(s,this.clonePosition())})}}}return{val:r,err:null}},
392
+ tn=function(e,t){for(var n=[];;){var r=sn(e,t);if(void 0===r||fn(r)||pn(r))break;n.push(r),t+=r>=65536?2:1}return rn.apply(void 0,n)};var hn=/** @class */function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var r=[];!this.isEOF();){var i=this.char();if(123/* `{` */===i){if((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(dt.UNMATCHED_CLOSING_TAG,Vt(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===i&&!this.ignoreTag&&dn(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:ft.pound,location:Vt(s,this.clonePosition())})}}}return{val:r,err:null}},
393
393
  /**
394
394
  * A tag name must start with an ASCII lower/upper case letter. The grammar is based on the
395
395
  * [custom element name][] except that a dash is NOT always mandatory and uppercase letters
@@ -411,14 +411,14 @@ on=function(e,t){for(var n=[];;){var r=un(e,t);if(void 0===r||yn(r)||gn(r))break
411
411
  e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();// `<`
412
412
  var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))
413
413
  // Self closing tag
414
- return{val:{type:yt.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();
414
+ return{val:{type:ft.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();
415
415
  // Expecting a close tag
416
- 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:yt.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()))},
416
+ if(this.bumpIf("</")){if(this.isEOF()||!dn(this.char()))return this.error(dt.INVALID_TAG,Vt(s,this.clonePosition()));var a=this.clonePosition();return r!==this.parseTagName()?this.error(dt.UNMATCHED_CLOSING_TAG,Vt(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ft.tag,value:r,children:o,location:Vt(n,this.clonePosition())},err:null}:this.error(dt.INVALID_TAG,Vt(s,this.clonePosition())))}return this.error(dt.UNCLOSED_TAG,Vt(n,this.clonePosition()))}return this.error(dt.INVALID_TAG,Vt(n,this.clonePosition()))},
417
417
  /**
418
418
  * This method assumes that the caller has peeked ahead for the first tag character.
419
419
  */
420
420
  e.prototype.parseTagName=function(){var e,t=this.offset();// the first tag name character
421
- for(this.bump();!this.isEOF()&&(45/* '-' */===(e=this.char())||46/* '.' */===e||e>=48&&e<=57/* 0..9 */||95/* '_' */===e||e>=97&&e<=122/** a..z */||e>=65&&e<=90/* A..Z */||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{var o=this.tryParseUnquoted(e,t);if(o)r+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var a=Xt(n,this.clonePosition());return{val:{type:yt.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;
421
+ for(this.bump();!this.isEOF()&&(45/* '-' */===(e=this.char())||46/* '.' */===e||e>=48&&e<=57/* 0..9 */||95/* '_' */===e||e>=97&&e<=122/** a..z */||e>=65&&e<=90/* A..Z */||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{var o=this.tryParseUnquoted(e,t);if(o)r+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var a=Vt(n,this.clonePosition());return{val:{type:ft.literal,value:r,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(dn(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
422
422
  /** See `parseTag` function docs. */},
423
423
  /**
424
424
  * Starting with ICU 4.8, an ASCII apostrophe only starts quoted text if it immediately precedes
@@ -440,67 +440,67 @@ for(this.bump();!this.isEOF();){var n=this.char();if(39/* `'` */===n){if(39/* `'
440
440
  // Optional closing apostrophe.
441
441
  this.bump();break}t.push(39),
442
442
  // Bump one more time because we need to skip 2 characters.
443
- 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(),// `{`
444
- 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()));
443
+ this.bump()}else t.push(n);this.bump()}return rn.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(),rn(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),// `{`
444
+ this.bumpSpace(),this.isEOF())return this.error(dt.EXPECT_ARGUMENT_CLOSING_BRACE,Vt(n,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(dt.EMPTY_ARGUMENT,Vt(n,this.clonePosition()));
445
445
  // argument name
446
- 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()){
446
+ var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(dt.MALFORMED_ARGUMENT,Vt(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(dt.EXPECT_ARGUMENT_CLOSING_BRACE,Vt(n,this.clonePosition()));switch(this.char()){
447
447
  // Simple argument: `{name}`
448
448
  case 125/* `}` */:// `}`
449
- return this.bump(),{val:{type:yt.argument,
449
+ return this.bump(),{val:{type:ft.argument,
450
450
  // value does not include the opening and closing braces.
451
- value:r,location:Xt(n,this.clonePosition())},err:null};
451
+ value:r,location:Vt(n,this.clonePosition())},err:null};
452
452
  // Argument with options: `{name, format, ...}`
453
453
  case 44/* `,` */:return this.bump(),// `,`
454
- 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()))}},
454
+ this.bumpSpace(),this.isEOF()?this.error(dt.EXPECT_ARGUMENT_CLOSING_BRACE,Vt(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(dt.MALFORMED_ARGUMENT,Vt(n,this.clonePosition()))}},
455
455
  /**
456
456
  * Advance the parser until the end of the identifier, if it is currently on
457
457
  * an identifier character. Return an empty string otherwise.
458
458
  */
459
- 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();
459
+ e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=tn(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();
460
460
  // Parse this range:
461
461
  // {name, type, style}
462
462
  // ^---^
463
463
  switch(s){case"":
464
464
  // Expecting a style string number, date, time, plural, selectordinal, or select.
465
- return this.error(mt.EXPECT_ARGUMENT_TYPE,Xt(o,a));case"number":case"date":case"time":
465
+ return this.error(dt.EXPECT_ARGUMENT_TYPE,Vt(o,a));case"number":case"date":case"time":
466
466
  // Parse this range:
467
467
  // {name, number, style}
468
468
  // ^-------^
469
- this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((g=this.parseSimpleArgStyleIfPossible()).err)return g;if(0===(f=hn(g.val)).length)return this.error(mt.EXPECT_ARGUMENT_STYLE,Xt(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:Xt(u,this.clonePosition())}}if((v=this.tryParseArgumentClose(r)).err)return v;var c=Xt(r,this.clonePosition());
469
+ this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((g=this.parseSimpleArgStyleIfPossible()).err)return g;if(0===(f=ln(g.val)).length)return this.error(dt.EXPECT_ARGUMENT_STYLE,Vt(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:Vt(u,this.clonePosition())}}if((b=this.tryParseArgumentClose(r)).err)return b;var c=Vt(r,this.clonePosition());
470
470
  // Extract style or skeleton
471
- if(l&&sn(null==l?void 0:l.style,"::",0)){
471
+ if(l&&nn(null==l?void 0:l.style,"::",0)){
472
472
  // Skeleton starts with `::`.
473
- var h=cn(l.style.slice(2));if("number"===s)return(g=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?g:{val:{type:yt.number,value:n,location:c,style:g.val},err:null};if(0===h.length)return this.error(mt.EXPECT_DATE_TIME_SKELETON,c);var d=h;
473
+ var h=an(l.style.slice(2));if("number"===s)return(g=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?g:{val:{type:ft.number,value:n,location:c,style:g.val},err:null};if(0===h.length)return this.error(dt.EXPECT_DATE_TIME_SKELETON,c);var d=h;
474
474
  // Get "best match" pattern only if locale is passed, if not, let it
475
475
  // pass as-is where `parseDateTimeSkeleton()` will throw an error
476
476
  // for unsupported patterns.
477
- 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=Vt(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:gt.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Ft(d):{}};return{val:{type:"date"===s?yt.date:yt.time,value:n,location:c,style:f},err:null}}
477
+ 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=Gt(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:pt.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Pt(d):{}};return{val:{type:"date"===s?ft.date:ft.time,value:n,location:c,style:f},err:null}}
478
478
  // Regular style or no style.
479
- return{val:{type:"number"===s?yt.number:"date"===s?yt.date:yt.time,value:n,location:c,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":
479
+ return{val:{type:"number"===s?ft.number:"date"===s?ft.date:ft.time,value:n,location:c,style:null!==(i=null==l?void 0:l.style)&&void 0!==i?i:null},err:null};case"plural":case"selectordinal":case"select":
480
480
  // Parse this range:
481
481
  // {name, plural, options}
482
482
  // ^---------^
483
- var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(mt.EXPECT_SELECT_ARGUMENT_OPTIONS,Xt(p,vt({},p)));this.bumpSpace();
483
+ var p=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(dt.EXPECT_SELECT_ARGUMENT_OPTIONS,Vt(p,mt({},p)));this.bumpSpace();
484
484
  // Parse offset:
485
485
  // {name, plural, offset:1, options}
486
486
  // ^-----^
487
487
  // or the first option:
488
488
  // {name, plural, one {...} other {...}}
489
489
  // ^--^
490
- var m=this.parseIdentifierIfPossible(),y=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 g;if(this.bumpSpace(),(g=this.tryParseDecimalInteger(mt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,mt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;
490
+ var m=this.parseIdentifierIfPossible(),y=0;if("select"!==s&&"offset"===m.value){if(!this.bumpIf(":"))return this.error(dt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Vt(this.clonePosition(),this.clonePosition()));var g;if(this.bumpSpace(),(g=this.tryParseDecimalInteger(dt.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,dt.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return g;
491
491
  // Parse another identifier for option parsing
492
- this.bumpSpace(),m=this.parseIdentifierIfPossible(),y=g.val}var v,w=this.tryParsePluralOrSelectOptions(e,s,t,m);if(w.err)return w;if((v=this.tryParseArgumentClose(r)).err)return v;var b=Xt(r,this.clonePosition());return"select"===s?{val:{type:yt.select,value:n,options:ln(w.val),location:b},err:null}:{val:{type:yt.plural,value:n,options:ln(w.val),offset:y,pluralType:"plural"===s?"cardinal":"ordinal",location:b},err:null};default:return this.error(mt.INVALID_ARGUMENT_TYPE,Xt(o,a))}},e.prototype.tryParseArgumentClose=function(e){
492
+ this.bumpSpace(),m=this.parseIdentifierIfPossible(),y=g.val}var b,v=this.tryParsePluralOrSelectOptions(e,s,t,m);if(v.err)return v;if((b=this.tryParseArgumentClose(r)).err)return b;var w=Vt(r,this.clonePosition());return"select"===s?{val:{type:ft.select,value:n,options:on(v.val),location:w},err:null}:{val:{type:ft.plural,value:n,options:on(v.val),offset:y,pluralType:"plural"===s?"cardinal":"ordinal",location:w},err:null};default:return this.error(dt.INVALID_ARGUMENT_TYPE,Vt(o,a))}},e.prototype.tryParseArgumentClose=function(e){
493
493
  // Parse: {value, number, ::currency/GBP }
494
- return this.isEOF()||125/* `}` */!==this.char()?this.error(mt.EXPECT_ARGUMENT_CLOSING_BRACE,Xt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
494
+ return this.isEOF()||125/* `}` */!==this.char()?this.error(dt.EXPECT_ARGUMENT_CLOSING_BRACE,Vt(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
495
495
  /**
496
496
  * See: https://github.com/unicode-org/icu/blob/af7ed1f6d2298013dc303628438ec4abe1f16479/icu4c/source/common/messagepattern.cpp#L659
497
497
  */
498
498
  e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39/* `'` */:
499
499
  // Treat apostrophe as quoting but include it in the style part.
500
500
  // Find the end of the quoted literal text.
501
- 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");
501
+ this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(dt.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Vt(n,this.clonePosition()));this.bump();break;case 123/* `{` */:e+=1,this.bump();break;case 125/* `}` */:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");
502
502
  // Parse the skeleton
503
- for(var t=[],n=0,r=e.split(At).filter((function(e){return e.length>0}));n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],s=i.slice(1),a=0,l=s;a<l.length;a++)if(0===l[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:s})}return t}(e)}catch(e){return this.error(mt.INVALID_NUMBER_SKELETON,t)}return{val:{type:gt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Gt(n):{}},err:null}},
503
+ for(var t=[],n=0,r=e.split(Ht).filter((function(e){return e.length>0}));n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],s=i.slice(1),a=0,l=s;a<l.length;a++)if(0===l[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:s})}return t}(e)}catch(e){return this.error(dt.INVALID_NUMBER_SKELETON,t)}return{val:{type:pt.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?$t(n):{}},err:null}},
504
504
  /**
505
505
  * @param nesting_level The current nesting level of messages.
506
506
  * This can be positive when parsing message fragment in select or plural argument options.
@@ -517,24 +517,24 @@ e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){
517
517
  // ^--^
518
518
  for(var i,o=!1,s=[],a=new Set,l=r.value,u=r.location;;){if(0===l.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;
519
519
  // Try parse `={number}` selector
520
- var h=this.tryParseDecimalInteger(mt.EXPECT_PLURAL_ARGUMENT_SELECTOR,mt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;u=Xt(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}
520
+ var h=this.tryParseDecimalInteger(dt.EXPECT_PLURAL_ARGUMENT_SELECTOR,dt.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;u=Vt(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}
521
521
  // Duplicate selector clauses
522
- if(a.has(l))return this.error("select"===t?mt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:mt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(o=!0),
522
+ if(a.has(l))return this.error("select"===t?dt.DUPLICATE_SELECT_ARGUMENT_SELECTOR:dt.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(o=!0),
523
523
  // Parse:
524
524
  // one {one apple}
525
525
  // ^----------^
526
- 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())}]),
526
+ this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?dt.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:dt.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())}]),
527
527
  // Keep track of the existing selectors
528
528
  a.add(l),
529
529
  // Prep next selector clause.
530
- this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,u=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(){
530
+ this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,u=i.location}return 0===s.length?this.error("select"===t?dt.EXPECT_SELECT_ARGUMENT_SELECTOR:dt.EXPECT_PLURAL_ARGUMENT_SELECTOR,Vt(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(dt.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?Qt(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(){
531
531
  // This is much faster than `Object.assign` or spread.
532
532
  return{offset:this.position.offset,line:this.position.line,column:this.position.column}},
533
533
  /**
534
534
  * Return the code point at the current position of the parser.
535
535
  * Throws if the index is out of bound.
536
536
  */
537
- e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=un(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}}},
537
+ e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=sn(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},
538
538
  /** Bump the parser to the next UTF-16 code unit. */
539
539
  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,
540
540
  // 0 ~ 0x10000 -> unicode BMP, otherwise skip the surrogate pair.
@@ -545,7 +545,7 @@ this.position.offset+=e<65536?1:2)}},
545
545
  * following the prefix and return true. Otherwise, don't bump the parser
546
546
  * and return false.
547
547
  */
548
- 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},
548
+ e.prototype.bumpIf=function(e){if(nn(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},
549
549
  /**
550
550
  * Bump the parser until the pattern character is found and return `true`.
551
551
  * Otherwise bump to the end of the file and return `false`.
@@ -557,7 +557,7 @@ e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t
557
557
  */
558
558
  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}},
559
559
  /** advance the parser through all whitespace to the next non-whitespace code unit. */
560
- e.prototype.bumpSpace=function(){for(;!this.isEOF()&&yn(this.char());)this.bump()},
560
+ e.prototype.bumpSpace=function(){for(;!this.isEOF()&&fn(this.char());)this.bump()},
561
561
  /**
562
562
  * Peek at the *next* Unicode codepoint in the input without advancing the parser.
563
563
  * If the input has been exhausted, then this returns null.
@@ -567,106 +567,102 @@ e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this
567
567
  * This check if codepoint is alphabet (lower & uppercase)
568
568
  * @param codepoint
569
569
  * @returns
570
- */function mn(e){return e>=97&&e<=122||e>=65&&e<=90}
570
+ */function dn(e){return e>=97&&e<=122||e>=65&&e<=90}
571
571
  /**
572
572
  * Code point equivalent of regex `\p{White_Space}`.
573
573
  * From: https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
574
574
  */
575
- function yn(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}
575
+ function fn(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}
576
576
  /**
577
577
  * Code point equivalent of regex `\p{Pattern_Syntax}`.
578
578
  * See https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
579
- */function gn(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 vn(e){e.forEach((function(e){if(delete e.location,Mt(e)||xt(e))for(var t in e.options)delete e.options[t].location,vn(e.options[t].value);else Et(e)&&Ot(e.style)||(St(e)||Tt(e))&&Pt(e.style)?delete e.style.location:Dt(e)&&vn(e.children)}))}function wn(e,t){void 0===t&&(t={}),t=vt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new pn(e,t).parse();if(n.err){var r=SyntaxError(mt[n.err.kind]);
579
+ */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,Et(e)||St(e))for(var t in e.options)delete e.options[t].location,mn(e.options[t].value);else vt(e)&&xt(e.style)||(wt(e)||_t(e))&&kt(e.style)?delete e.style.location:Mt(e)&&mn(e.children)}))}function yn(e,t){void 0===t&&(t={}),t=mt({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new hn(e,t).parse();if(n.err){var r=SyntaxError(dt[n.err.kind]);
580
580
  // @ts-expect-error Assign to error object
581
581
  throw r.location=n.err.location,
582
582
  // @ts-expect-error Assign to error object
583
- r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||vn(n.val),n.val}
583
+ r.originalMessage=n.err.message,r}return(null==t?void 0:t.captureLocation)||mn(n.val),n.val}
584
584
 
585
585
  // Main
586
586
 
587
- function bn(e,t){var n=t&&t.cache?t.cache:Dn,r=t&&t.serializer?t.serializer:Mn;return(t&&t.strategy?t.strategy:Tn)(e,{cache:n,serializer:r})}
587
+ function gn(e,t){var n=t&&t.cache?t.cache:Mn,r=t&&t.serializer?t.serializer:En;return(t&&t.strategy?t.strategy:_n)(e,{cache:n,serializer:r})}
588
588
 
589
589
  // Strategy
590
590
 
591
- function _n(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?_n:En,t.cache.create(),t.serializer)}
591
+ 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 vn(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 wn(e,t,n,r,i){return n.bind(t,e,r,i)}function _n(e,t){return wn(e,this,1===e.length?bn:vn,t.cache.create(),t.serializer)}
592
592
  // Serializer
593
- var Mn=function(){return JSON.stringify(arguments)};
593
+ var En=function(){return JSON.stringify(arguments)};
594
594
 
595
595
  // Cache
596
596
 
597
- function xn(){this.cache=Object.create(null)}xn.prototype.get=function(e){return this.cache[e]},xn.prototype.set=function(e,t){this.cache[e]=t};var kn,Dn={create:function(){
597
+ function Sn(){this.cache=Object.create(null)}Sn.prototype.get=function(e){return this.cache[e]},Sn.prototype.set=function(e,t){this.cache[e]=t};var Tn,Mn={create:function(){
598
598
  // @ts-ignore
599
- return new xn}},On={variadic:function(e,t){return Sn(e,this,En,t.cache.create(),t.serializer)},monadic:function(e,t){return Sn(e,this,_n,t.cache.create(),t.serializer)}};!function(e){
599
+ return new Sn}},xn={variadic:function(e,t){return wn(e,this,vn,t.cache.create(),t.serializer)},monadic:function(e,t){return wn(e,this,bn,t.cache.create(),t.serializer)}};!function(e){
600
600
  // When we have a placeholder but no value to format
601
601
  e.MISSING_VALUE="MISSING_VALUE",
602
602
  // When value supplied is invalid
603
603
  e.INVALID_VALUE="INVALID_VALUE",
604
604
  // When we need specific Intl API but it's not available
605
- e.MISSING_INTL_API="MISSING_INTL_API"}(kn||(kn={}));var Pn,Bn=/** @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),Hn=/** @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('", "'),'"'),kn.INVALID_VALUE,i)||this}return pt(t,e),t}(Bn),Fn=/** @class */function(e){function t(t,n,r){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),kn.INVALID_VALUE,r)||this}return pt(t,e),t}(Bn),An=/** @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,'"'),kn.MISSING_VALUE,n)||this}return pt(t,e),t}(Bn);function Nn(e){return"function"==typeof e}
605
+ e.MISSING_INTL_API="MISSING_INTL_API"}(Tn||(Tn={}));var kn,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 ht(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),On=/** @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 ht(t,e),t}(Dn),Pn=/** @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 ht(t,e),t}(Dn),Hn=/** @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 ht(t,e),t}(Dn);function Fn(e){return"function"==typeof e}
606
606
  // TODO(skeleton): add skeleton support
607
- function Cn(e,t,n,r,i,o,
607
+ function An(e,t,n,r,i,o,
608
608
  // For debugging
609
609
  s){
610
610
  // Hot path for straight simple msg translations
611
- if(1===e.length&&bt(e[0]))return[{type:Pn.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];
611
+ if(1===e.length&&gt(e[0]))return[{type:kn.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];
612
612
  // Exit early for string parts.
613
- if(bt(c))a.push({type:Pn.literal,value:c.value});else
613
+ if(gt(c))a.push({type:kn.literal,value:c.value});else
614
614
  // TODO: should this part be literal type?
615
615
  // Replace `#` in plural rules with the actual numeric value.
616
- if(kt(c))"number"==typeof o&&a.push({type:Pn.literal,value:n.getNumberFormat(t).format(o)});else{var h=c.value;
616
+ if(Tt(c))"number"==typeof o&&a.push({type:kn.literal,value:n.getNumberFormat(t).format(o)});else{var h=c.value;
617
617
  // Enforce that all required values are provided by the caller.
618
- if(!i||!(h in i))throw new An(h,s);var d=i[h];if(_t(c))d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),a.push({type:"string"==typeof d?Pn.literal:Pn.object,value:d});else
618
+ if(!i||!(h in i))throw new Hn(h,s);var d=i[h];if(bt(c))d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),a.push({type:"string"==typeof d?kn.literal:kn.object,value:d});else
619
619
  // Recursively format plural and select parts' option — which can be a
620
620
  // nested pattern structure. The choosing of the option to use is
621
621
  // abstracted-by and delegated-to the part helper object.
622
- if(St(c)){var f="string"==typeof c.style?r.date[c.style]:Pt(c.style)?c.style.parsedOptions:void 0;a.push({type:Pn.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(Tt(c)){f="string"==typeof c.style?r.time[c.style]:Pt(c.style)?c.style.parsedOptions:r.time.medium;a.push({type:Pn.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(Et(c)){(f="string"==typeof c.style?r.number[c.style]:Ot(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(d*=f.scale||1),a.push({type:Pn.literal,value:n.getNumberFormat(t,f).format(d)})}else{if(Dt(c)){var p=c.children,m=c.value,y=i[m];if(!Nn(y))throw new Fn(m,"function",s);var g=y(Cn(p,t,n,r,i,o).map((function(e){return e.value})));Array.isArray(g)||(g=[g]),a.push.apply(a,g.map((function(e){return{type:"string"==typeof e?Pn.literal:Pn.object,value:e}})))}if(Mt(c)){if(!(v=c.options[d]||c.options.other))throw new Hn(c.value,d,Object.keys(c.options),s);a.push.apply(a,Cn(v.value,t,n,r,i))}else if(xt(c)){var v;if(!(v=c.options["=".concat(d)])){if(!Intl.PluralRules)throw new Bn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',kn.MISSING_INTL_API,s);var w=n.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0));v=c.options[w]||c.options.other}if(!v)throw new Hn(c.value,d,Object.keys(c.options),s);a.push.apply(a,Cn(v.value,t,n,r,i,d-(c.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===Pn.literal&&t.type===Pn.literal?n.value+=t.value:e.push(t),e}),[])}(a)}
622
+ if(wt(c)){var f="string"==typeof c.style?r.date[c.style]:kt(c.style)?c.style.parsedOptions:void 0;a.push({type:kn.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(_t(c)){f="string"==typeof c.style?r.time[c.style]:kt(c.style)?c.style.parsedOptions:r.time.medium;a.push({type:kn.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(vt(c)){(f="string"==typeof c.style?r.number[c.style]:xt(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(d*=f.scale||1),a.push({type:kn.literal,value:n.getNumberFormat(t,f).format(d)})}else{if(Mt(c)){var p=c.children,m=c.value,y=i[m];if(!Fn(y))throw new Pn(m,"function",s);var g=y(An(p,t,n,r,i,o).map((function(e){return e.value})));Array.isArray(g)||(g=[g]),a.push.apply(a,g.map((function(e){return{type:"string"==typeof e?kn.literal:kn.object,value:e}})))}if(Et(c)){if(!(b=c.options[d]||c.options.other))throw new On(c.value,d,Object.keys(c.options),s);a.push.apply(a,An(b.value,t,n,r,i))}else if(St(c)){var b;if(!(b=c.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 v=n.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0));b=c.options[v]||c.options.other}if(!b)throw new On(c.value,d,Object.keys(c.options),s);a.push.apply(a,An(b.value,t,n,r,i,d-(c.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===kn.literal&&t.type===kn.literal?n.value+=t.value:e.push(t),e}),[])}(a)}
623
623
  /*
624
624
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
625
625
  Copyrights licensed under the New BSD License.
626
626
  See the accompanying LICENSE file for terms.
627
627
  */
628
628
  // -- MessageFormat --------------------------------------------------------
629
- function Ln(e,t){return t?Object.keys(e).reduce((function(n,r){var i,o;return n[r]=(i=e[r],(o=t[r])?vt(vt(vt({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=vt(vt({},i[t]),o[t]||{}),e}),{})):i),n}),vt({},e)):e}function Rn(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"}(Pn||(Pn={}));var In=/** @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);
629
+ function Cn(e,t){return t?Object.keys(e).reduce((function(n,r){var i,o;return n[r]=(i=e[r],(o=t[r])?mt(mt(mt({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=mt(mt({},i[t]),o[t]||{}),e}),{})):i),n}),mt({},e)):e}function Bn(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"}(kn||(kn={}));var Nn=/** @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);
630
630
  // Hot path for straight simple msg translations
631
- if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===Pn.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},
631
+ if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===kn.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},
632
632
  // Defined first because it's used to build the format pattern.
633
633
  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`");
634
634
  // Parse string messages into an AST.
635
635
  this.ast=e.__parse(t,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");
636
636
  // Creates a new object with the specified `formats` merged with the default
637
637
  // formats.
638
- this.formats=Ln(e.formats,r),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:bn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,wt([void 0],t,!1)))}),{cache:Rn(o.number),strategy:On.variadic}),getDateTimeFormat:bn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,wt([void 0],t,!1)))}),{cache:Rn(o.dateTime),strategy:On.variadic}),getPluralRules:bn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,wt([void 0],t,!1)))}),{cache:Rn(o.pluralRules),strategy:On.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=wn,
638
+ this.formats=Cn(e.formats,r),this.formatters=i&&i.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:gn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,yt([void 0],t,!1)))}),{cache:Bn(o.number),strategy:xn.variadic}),getDateTimeFormat:gn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,yt([void 0],t,!1)))}),{cache:Bn(o.dateTime),strategy:xn.variadic}),getPluralRules:gn((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,yt([void 0],t,!1)))}),{cache:Bn(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=yn,
639
639
  // Default format options used as the prototype of the `formats` provided to the
640
640
  // constructor. These are used when constructing the internal Intl.NumberFormat
641
641
  // and Intl.DateTimeFormat instances.
642
- e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();const $n={},Yn=(e,t,n)=>n?(t in $n||($n[t]={}),e in $n[t]||($n[t][e]=n),n):n,Un=(e,t)=>{if(null==t)return;if(t in $n&&e in $n[t])return $n[t][e];const n=fr(t);for(let r=0;r<n.length;r++){const i=Vn(n[r],e);if(i)return Yn(e,t,i)}};let Gn;const jn=nt({});function Wn(e){return e in Gn}function Vn(e,t){if(!Wn(e))return null;const n=function(e){return Gn[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(e>0){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(n,t)}function zn(e,...t){delete $n[e],jn.update((n=>(n[e]=dt.all([n[e]||{},...t]),n)))}rt([jn],(([e])=>Object.keys(e))),jn.subscribe((e=>Gn=e));const Zn={};function Xn(e){return Zn[e]}function qn(e){return null!=e&&fr(e).some((e=>{var t;return null==(t=Xn(e))?void 0:t.size}))}function Kn(e,t){const n=Promise.all(t.map((t=>(function(e,t){Zn[e].delete(t),0===Zn[e].size&&delete Zn[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>zn(e,...t)))}const Jn={};function Qn(e){if(!qn(e))return e in Jn?Jn[e]:Promise.resolve();const t=function(e){return fr(e).map((e=>{const t=Xn(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Jn[e]=Promise.all(t.map((([e,t])=>Kn(e,t)))).then((()=>{if(qn(e))return Qn(e);delete Jn[e]})),Jn[e]}const er={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 tr(){return er}const nr=nt(!1);var rr=Object.defineProperty,ir=Object.defineProperties,or=Object.getOwnPropertyDescriptors,sr=Object.getOwnPropertySymbols,ar=Object.prototype.hasOwnProperty,lr=Object.prototype.propertyIsEnumerable,ur=(e,t,n)=>t in e?rr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let cr;const hr=nt(null);function dr(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function fr(e,t=tr().fallbackLocale){const n=dr(e);return t?[...new Set([...n,...dr(t)])]:n}function pr(){return null!=cr?cr:void 0}hr.subscribe((e=>{cr=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const mr=(yr=((e,t)=>{for(var n in t||(t={}))ar.call(t,n)&&ur(e,n,t[n]);if(sr)for(var n of sr(t))lr.call(t,n)&&ur(e,n,t[n]);return e})({},hr),ir(yr,or({set:e=>{if(e&&function(e){if(null==e)return;const t=fr(e);for(let e=0;e<t.length;e++){const n=t[e];if(Wn(n))return n}}(e)&&qn(e)){const{loadingDelay:t}=tr();let n;return"undefined"!=typeof window&&null!=pr()&&t?n=window.setTimeout((()=>nr.set(!0)),t):nr.set(!0),Qn(e).then((()=>{hr.set(e)})).finally((()=>{clearTimeout(n),nr.set(!1)}))}return hr.set(e)}})));var yr;const gr=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var vr=Object.defineProperty,wr=Object.getOwnPropertySymbols,br=Object.prototype.hasOwnProperty,_r=Object.prototype.propertyIsEnumerable,Er=(e,t,n)=>t in e?vr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Sr=(e,t)=>{for(var n in t||(t={}))br.call(t,n)&&Er(e,n,t[n]);if(wr)for(var n of wr(t))_r.call(t,n)&&Er(e,n,t[n]);return e},Tr=(e,t)=>{var n={};for(var r in e)br.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&wr)for(var r of wr(e))t.indexOf(r)<0&&_r.call(e,r)&&(n[r]=e[r]);return n};const Mr=(e,t)=>{const{formats:n}=tr();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},xr=gr((e=>{var t=e,{locale:n,format:r}=t,i=Tr(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=Mr("number",r)),new Intl.NumberFormat(n,i)})),kr=gr((e=>{var t=e,{locale:n,format:r}=t,i=Tr(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=Mr("date",r):0===Object.keys(i).length&&(i=Mr("date","short")),new Intl.DateTimeFormat(n,i)})),Dr=gr((e=>{var t=e,{locale:n,format:r}=t,i=Tr(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=Mr("time",r):0===Object.keys(i).length&&(i=Mr("time","short")),new Intl.DateTimeFormat(n,i)})),Or=gr((
642
+ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();const Ln={},Rn=(e,t,n)=>n?(t in Ln||(Ln[t]={}),e in Ln[t]||(Ln[t][e]=n),n):n,In=(e,t)=>{if(null==t)return;if(t in Ln&&e in Ln[t])return Ln[t][e];const n=cr(t);for(let r=0;r<n.length;r++){const i=Gn(n[r],e);if(i)return Rn(e,t,i)}};let $n;const Yn=Qe({});function Un(e){return e in $n}function Gn(e,t){if(!Un(e))return null;const n=function(e){return $n[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 jn(e,...t){delete Ln[e],Yn.update((n=>(n[e]=ut.all([n[e]||{},...t]),n)))}et([Yn],(([e])=>Object.keys(e))),Yn.subscribe((e=>$n=e));const Wn={};function Vn(e){return Wn[e]}function zn(e){return null!=e&&cr(e).some((e=>{var t;return null==(t=Vn(e))?void 0:t.size}))}function Zn(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=>jn(e,...t)))}const Xn={};function qn(e){if(!zn(e))return e in Xn?Xn[e]:Promise.resolve();const t=function(e){return cr(e).map((e=>{const t=Vn(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Xn[e]=Promise.all(t.map((([e,t])=>Zn(e,t)))).then((()=>{if(zn(e))return qn(e);delete Xn[e]})),Xn[e]}const Kn={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 Kn}const Qn=Qe(!1);var er=Object.defineProperty,tr=Object.defineProperties,nr=Object.getOwnPropertyDescriptors,rr=Object.getOwnPropertySymbols,ir=Object.prototype.hasOwnProperty,or=Object.prototype.propertyIsEnumerable,sr=(e,t,n)=>t in e?er(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let ar;const lr=Qe(null);function ur(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function cr(e,t=Jn().fallbackLocale){const n=ur(e);return t?[...new Set([...n,...ur(t)])]:n}function hr(){return null!=ar?ar:void 0}lr.subscribe((e=>{ar=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const dr=(fr=((e,t)=>{for(var n in t||(t={}))ir.call(t,n)&&sr(e,n,t[n]);if(rr)for(var n of rr(t))or.call(t,n)&&sr(e,n,t[n]);return e})({},lr),tr(fr,nr({set:e=>{if(e&&function(e){if(null==e)return;const t=cr(e);for(let e=0;e<t.length;e++){const n=t[e];if(Un(n))return n}}(e)&&zn(e)){const{loadingDelay:t}=Jn();let n;return"undefined"!=typeof window&&null!=hr()&&t?n=window.setTimeout((()=>Qn.set(!0)),t):Qn.set(!0),qn(e).then((()=>{lr.set(e)})).finally((()=>{clearTimeout(n),Qn.set(!1)}))}return lr.set(e)}})));var fr;const pr=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var mr=Object.defineProperty,yr=Object.getOwnPropertySymbols,gr=Object.prototype.hasOwnProperty,br=Object.prototype.propertyIsEnumerable,vr=(e,t,n)=>t in e?mr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,wr=(e,t)=>{for(var n in t||(t={}))gr.call(t,n)&&vr(e,n,t[n]);if(yr)for(var n of yr(t))br.call(t,n)&&vr(e,n,t[n]);return e},_r=(e,t)=>{var n={};for(var r in e)gr.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&yr)for(var r of yr(e))t.indexOf(r)<0&&br.call(e,r)&&(n[r]=e[r]);return n};const Er=(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.`)},Sr=pr((e=>{var t=e,{locale:n,format:r}=t,i=_r(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=Er("number",r)),new Intl.NumberFormat(n,i)})),Tr=pr((e=>{var t=e,{locale:n,format:r}=t,i=_r(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=Er("date",r):0===Object.keys(i).length&&(i=Er("date","short")),new Intl.DateTimeFormat(n,i)})),Mr=pr((e=>{var t=e,{locale:n,format:r}=t,i=_r(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=Er("time",r):0===Object.keys(i).length&&(i=Er("time","short")),new Intl.DateTimeFormat(n,i)})),xr=pr((
643
643
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
644
- (e,t=pr())=>new In(e,t,tr().formats,{ignoreTag:tr().ignoreTag}))),Pr=(e,t={})=>{var n,r,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=pr(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Un(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(o=null!=(i=null==(r=(n=tr()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:u}))?i:u)?o:e;if(!a)return c;let h=c;try{h=Or(c,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},Br=(e,t)=>((e={})=>{var t=e,{locale:n=pr()}=t,r=Tr(t,["locale"]);return Dr(Sr({locale:n},r))})(t).format(e),Hr=(e,t)=>((e={})=>{var t=e,{locale:n=pr()}=t,r=Tr(t,["locale"]);return kr(Sr({locale:n},r))})(t).format(e),Fr=(e,t)=>((e={})=>{var t=e,{locale:n=pr()}=t,r=Tr(t,["locale"]);return xr(Sr({locale:n},r))})(t).format(e),Ar=(e,t=pr())=>Un(e,t),Nr=rt([mr,jn],(()=>Pr));rt([mr],(()=>Br)),rt([mr],(()=>Hr)),rt([mr],(()=>Fr)),rt([mr,jn],(()=>Ar)),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]}};
644
+ (e,t=hr())=>new Nn(e,t,Jn().formats,{ignoreTag:Jn().ignoreTag}))),kr=(e,t={})=>{var n,r,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=hr(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=In(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(o=null!=(i=null==(r=(n=Jn()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:u}))?i:u)?o:e;if(!a)return c;let h=c;try{h=xr(c,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},Dr=(e,t)=>((e={})=>{var t=e,{locale:n=hr()}=t,r=_r(t,["locale"]);return Mr(wr({locale:n},r))})(t).format(e),Or=(e,t)=>((e={})=>{var t=e,{locale:n=hr()}=t,r=_r(t,["locale"]);return Tr(wr({locale:n},r))})(t).format(e),Pr=(e,t)=>((e={})=>{var t=e,{locale:n=hr()}=t,r=_r(t,["locale"]);return Sr(wr({locale:n},r))})(t).format(e),Hr=(e,t=hr())=>In(e,t),Fr=et([dr,Yn],(()=>kr));et([dr],(()=>Dr)),et([dr],(()=>Or)),et([dr],(()=>Pr)),et([dr,Yn],(()=>Hr)),window.emWidgets={topic:(e,t=0)=>{if(-1==qe.indexOf(e)){let n=new Xe(t);Ke[e]=n,qe.push(e)}return Ke[e]}};
645
645
  /**
646
646
  * @name isMobile
647
647
  * @description A method that returns if the browser used to access the app is from a mobile device or not
648
648
  * @param {String} userAgent window.navigator.userAgent
649
649
  * @returns {Boolean} true or false
650
650
  */
651
- const Cr=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";
651
+ const Ar=e=>e.toLowerCase().match(/android/i)?"Android":e.toLowerCase().match(/iphone/i)?"iPhone":e.toLowerCase().match(/ipad|ipod/i)?"iPad":"PC";
652
652
  /**
653
653
  * @name getDevice
654
654
  * @description A method that returns the type of the device
655
655
  * @param {String} userAgent window.navigator.userAgent
656
656
  * @returns {String} Android/iPhone/iPad/PC
657
- */function Lr(e,t){zn(e,t)}const Rr={en:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},"zh-hk":{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始!",breakButton:"休息 1 天"},de:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"},it:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},fr:{signIn:"Connectez-vous",register:"Enregistre",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",breakButton:"Refroidissement de 24 heures"},es:{signIn:"Iniciar sesión",register:"REGÍSTRATE",deposit:"Deposita",playForFun:"Modo práctica",playNow:"Juega ahora!",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas"},tr:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},ru:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},ro:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},hr:{signIn:"Prijava",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započni sada!",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata"},hu:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},pl:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},pt:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Jogue agora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},sl:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},sr:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}};function Ir(e,t){zn(e,t)}const $r={en:{title:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{title:"訂金",loading:"加載請稍候…"},fr:{title:"Dépôt",loading:"Chargement, veuillez patienter ..."},ro:{title:"Depunere",loading:"Se încarcă..."},es:{title:"Deposita",loading:"Cargando ..."},pt:{title:"Depósito",loading:"Carregando, por favor espere ..."},hr:{title:"Uplata",loading:"Učitavanje"}};
657
+ */function Cr(e,t){jn(e,t)}const Br={en:{signIn:"Log in",register:"REGISTER",deposit:"Deposit",playForFun:"Play for fun",playNow:"Start now!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},"zh-hk":{signIn:"登錄",register:"登記",deposit:"訂金",playForFun:"玩得開心",playNow:"現在開始!",breakButton:"休息 1 天"},de:{signIn:"Einloggen",register:"REGISTRIEREN",deposit:"Einzahlung",playForFun:"Play for fun",playNow:"Jetzt beginnen!",breakButton:"Für 24 Std. Games Sofortpause, 3 Sekunden drücken"},it:{signIn:"Login",register:"REGISTRATI",deposit:"Deposito",playForFun:"Play for fun",playNow:"Inizia ora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},fr:{signIn:"Connectez-vous",register:"Enregistre",deposit:"Dépôt",playForFun:"Jouer pour le plaisir",playNow:"Commencez maintenant",breakButton:"Refroidissement de 24 heures"},es:{signIn:"Iniciar sesión",register:"REGÍSTRATE",deposit:"Deposita",playForFun:"Modo práctica",playNow:"Juega ahora!",breakButton:"Dar clic durante 3 segundos para bloquear instantaneamente tu cuenta por 24 horas"},tr:{signIn:"OTURUM AÇ",register:"KAYIT OL",deposit:"DEPOZİTO",playForFun:"EĞLENCE İÇİN OYNA",playNow:"ŞİMDİ OYNA",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},ru:{signIn:"АВТОРИЗОВАТЬСЯ",register:"ПОДПИСАТЬСЯ",deposit:"ДЕПОЗИТ",playForFun:"ИГРАЙТЕ ДЛЯ УДОВОЛЬСТВИЯ",playNow:"ИГРАТЬ СЕЙЧАС",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},ro:{signIn:"AUTENTIFICARE",register:"INREGISTRARE",deposit:"DEPOZITEAZA",playForFun:"JOACĂ PENTRU DISTRACTIE",playNow:"JOACĂ ACUM",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},hr:{signIn:"Prijava",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započni sada!",breakButton:"Držite gumb 3 sekunde za trenutno zaključavanje na 24 sata"},hu:{signIn:"Bejelentkezés",register:"REGISZTRÁCIÓ",deposit:"Befizetés",playForFun:"Play for fun",playNow:"Játsszon most!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},pl:{signIn:"Zaloguj się",register:"REJESTRACJA",deposit:"Wpłata",playForFun:"Graj dla zabawy",playNow:"Rozpocznij teraz!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},pt:{signIn:"Entrar",register:"REGISTRO",deposit:"Depósito",playForFun:"Jogue por diversão",playNow:"Jogue agora!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},sl:{signIn:"Prijavite se",register:"REGISTRACIJA",deposit:"Vplačilo",playForFun:"Igrajte za zabavo",playNow:"Začnite zdaj!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"},sr:{signIn:"Prijavi se",register:"REGISTRACIJA",deposit:"Uplata",playForFun:"Igraj za zabavu",playNow:"Započnite sada!",breakButton:"Hold button for 3 seconds to take 24-hours instant lock"}};function Nr(e,t){jn(e,t)}const Lr={en:{title:"Deposit",loading:"Loading, please wait ..."},"zh-hk":{title:"訂金",loading:"加載請稍候…"},fr:{title:"Dépôt",loading:"Chargement, veuillez patienter ..."},ro:{title:"Depunere",loading:"Se încarcă..."},es:{title:"Deposita",loading:"Cargando ..."},pt:{title:"Depósito",loading:"Carregando, por favor espere ..."},hr:{title:"Uplata",loading:"Učitavanje"}};
658
658
  /* ../player-deposit/src/PlayerDeposit.svelte generated by Svelte v3.59.2 */
659
659
  // (157:2) {:else}
660
- function Yr(e){let t,n,r;return{c(){t=g("div"),n=g("iframe"),c(n.src,r=/*iframeUrl*/e[3])||E(n,"src",r),E(n,"title","Deposit Iframe"),E(t,"class","DepositIframeWrapper")},m(e,r){m(e,t,r),p(t,n)},p(e,t){/*iframeUrl*/8&t&&!c(n.src,r=/*iframeUrl*/e[3])&&E(n,"src",r)},d(e){e&&y(t)}}}
660
+ function Rr(e){let t,n,r;return{c(){t=p("div"),n=p("iframe"),a(n.src,r=/*iframeUrl*/e[3])||v(n,"src",r),v(n,"title","Deposit Iframe"),v(t,"class","DepositIframeWrapper")},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*iframeUrl*/8&t&&!a(n.src,r=/*iframeUrl*/e[3])&&v(n,"src",r)},d(e){e&&f(t)}}}
661
661
  // (155:2) {#if isLoading}
662
- function Ur(e){let t,n,r=/*$_*/e[4]("loading")+"";return{c(){t=g("p"),n=w(r)},m(e,r){m(e,t,r),p(t,n)},p(e,t){/*$_*/16&t&&r!==(r=/*$_*/e[4]("loading")+"")&&T(n,r)},d(e){e&&y(t)}}}function Gr(e){let t,n,i,o,s,a=/*$_*/e[4]("title")+"",l=/*isMobile*/e[5]&&function(e){let t,n,r,i,o,s,a,l,u,c,h,d,f,S=/*$_*/e[4]("title")+"";return{c(){t=g("div"),n=v("svg"),r=v("defs"),i=v("style"),o=w(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"),s=v("g"),a=v("g"),l=v("path"),u=b(),c=g("h2"),h=w(S),E(l,"class","aaa"),E(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),E(l,"transform","translate(15 15) rotate(180)"),E(a,"transform","translate(20 158)"),E(s,"transform","translate(-20 -158)"),E(n,"xmlns","http://www.w3.org/2000/svg"),E(n,"width","15"),E(n,"height","15"),E(n,"viewBox","0 0 15 15"),E(c,"class","DepositTitleMobile"),E(t,"class","MenuReturnButton")},m(y,g){m(y,t,g),p(t,n),p(n,r),p(r,i),p(i,o),p(n,s),p(s,a),p(a,l),p(t,u),p(t,c),p(c,h),d||(f=_(t,"click",/*click_handler*/e[17]),d=!0)},p(e,t){/*$_*/16&t&&S!==(S=/*$_*/e[4]("title")+"")&&T(h,S)},d(e){e&&y(t),d=!1,f()}}}(e);function u(e,t){/*isLoading*/
663
- return e[1]?Ur:Yr}let c=u(e),h=c(e);return{c(){t=g("div"),l&&l.c(),n=b(),i=g("h2"),o=w(a),s=b(),h.c(),this.c=r,E(i,"class","DepositTitle "+(/*isMobile*/e[5]?"DepositTitleNone":"")),E(t,"class","DepositWrapper "+(/*isMobile*/e[5]?"DepositWrapperMobile":"")),M(t,"--dynamic-height",/*dynamicHeight*/e[2])},m(r,a){m(r,t,a),l&&l.m(t,null),p(t,n),p(t,i),p(i,o),p(t,s),h.m(t,null),
664
- /*div_binding*/e[18](t)},p(e,[n]){/*isMobile*/e[5]&&l.p(e,n),/*$_*/16&n&&a!==(a=/*$_*/e[4]("title")+"")&&T(o,a),c===(c=u(e))&&h?h.p(e,n):(h.d(1),h=c(e),h&&(h.c(),h.m(t,null))),/*dynamicHeight*/4&n&&M(t,"--dynamic-height",/*dynamicHeight*/e[2])},i:r,o:r,d(n){n&&y(t),l&&l.d(),h.d(),
665
- /*div_binding*/e[18](null)}}}function jr(e,t,n){let r;d(e,Nr,(e=>n(4,r=e)));let i,o,{endpoint:s=""}=t,{session:a=""}=t,{playerid:l=""}=t,{lang:u="en"}=t,{hasdefaultamount:c=""}=t,{clientstyling:h=""}=t,{clientstylingurl:f=""}=t,{translationurl:p=""}=t,{playercurrency:m=""}=t,{shortcashierenabled:y="false"}=t,g=window.navigator.userAgent,v="PC"!==Cr(g),w=!0,b=0,_="";Object.keys($r).forEach((e=>{Ir(e,$r[e])}));const E=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:v},window.location.href)},S=e=>{if(e.data){if("ProfileDetailsData"===e.data.type)n(7,m=e.data.profileDetails.currency);switch(e.data["MMFE:setQuickDepositHeight"]&&n(2,o=e.data["MMFE:setQuickDepositHeight"].toString()+"px"),"true"===e.data["MMFE:openFullCashier"]&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),e.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break;case"mm-wm-hc-init-deposit-quick":window.postMessage({type:"CloseShortCashier"},window.location.href)}}},T=()=>{var e;e=u,mr.set(e)};P((()=>(window.addEventListener("message",S,!1),()=>{window.removeEventListener("message",S)})));return e.$$set=e=>{"endpoint"in e&&n(8,s=e.endpoint),"session"in e&&n(9,a=e.session),"playerid"in e&&n(10,l=e.playerid),"lang"in e&&n(11,u=e.lang),"hasdefaultamount"in e&&n(12,c=e.hasdefaultamount),"clientstyling"in e&&n(13,h=e.clientstyling),"clientstylingurl"in e&&n(14,f=e.clientstylingurl),"translationurl"in e&&n(15,p=e.translationurl),"playercurrency"in e&&n(7,m=e.playercurrency),"shortcashierenabled"in e&&n(16,y=e.shortcashierenabled)},e.$$.update=()=>{/*lang*/2048&e.$$.dirty&&u&&T(),/*clientstylingurl, customStylingContainer*/16385&e.$$.dirty&&f&&i&&(()=>{let e=new URL(f),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{i.appendChild(t)}),1)}))})(),/*clientstyling, customStylingContainer*/8193&e.$$.dirty&&h&&i&&(()=>{let e=document.createElement("style");e.innerHTML=h,i.appendChild(e)})(),/*translationurl*/32768&e.$$.dirty&&p&&fetch(p).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Ir(t,e[t])}))})).catch((e=>{console.log(e)})),/*session, playerid, endpoint, playercurrency, lang, shortcashierenabled*/69504&e.$$.dirty&&a&&l&&s&&m&&u&&y&&(()=>{let e=new URL(`${s}/v1/player/${l}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(y&&e.searchParams.append("isShortCashier",y),c)switch(m){case"USD":b=.4;break;case"CDF":b=1e3}let t={method:"POST",headers:{"X-SessionId":a,currency:m||"EUR",amount:b,cashierMode:"Default",IsShortCashier:y,accept:"application/json"}};fetch(e.href,t).then((e=>e.json())).then((e=>{n(1,w=!1),n(3,_=e.CashierUrl)}),(e=>{console.error(e)}))})()},[i,w,o,_,r,v,E,m,s,a,l,u,c,h,f,p,y,()=>E(),function(e){H[e?"unshift":"push"]((()=>{i=e,n(0,i)}))}]}function Wr(){"undefined"==typeof window||window.cstmNativeBridge&&window.cstmNativeBridge.call}!customElements.get("player-deposit")&&customElements.define("player-deposit",class extends V{constructor(e){super();const t=document.createElement("style");t.textContent=".DepositWrapper{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.DepositTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-weight:400}.DepositTitleMobile{font-size:16px}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh}",this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:k(this.attributes),customElement:!0},jr,Gr,l,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,playercurrency:7,shortcashierenabled:16},null),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),$()))}static get observedAttributes(){return["endpoint","session","playerid","lang","hasdefaultamount","clientstyling","clientstylingurl","translationurl","playercurrency","shortcashierenabled"]}get endpoint(){return this.$$.ctx[8]}set endpoint(e){this.$$set({endpoint:e}),$()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),$()}get playerid(){return this.$$.ctx[10]}set playerid(e){this.$$set({playerid:e}),$()}get lang(){return this.$$.ctx[11]}set lang(e){this.$$set({lang:e}),$()}get hasdefaultamount(){return this.$$.ctx[12]}set hasdefaultamount(e){this.$$set({hasdefaultamount:e}),$()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(e){this.$$set({clientstyling:e}),$()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),$()}get translationurl(){return this.$$.ctx[15]}set translationurl(e){this.$$set({translationurl:e}),$()}get playercurrency(){return this.$$.ctx[7]}set playercurrency(e){this.$$set({playercurrency:e}),$()}get shortcashierenabled(){return this.$$.ctx[16]}set shortcashierenabled(e){this.$$set({shortcashierenabled:e}),$()}}),
666
- /* eslint-disable */
667
- window.cstmNativeBridge=window.cstmNativeBridge||{},window.cstmNativeBridge.eventListeners=window.cstmNativeBridge.eventListeners||{},window.cstmNativeBridge.registerEventListener=function(e,t){var n=window.cstmNativeBridge.EVENTS[e];if(n){if("function"==typeof t){var r=window.cstmNativeBridge.eventListeners[n];return window.cstmNativeBridge.eventListeners[n]=function(){delete window.cstmNativeBridge.eventListeners[n],r&&r.apply(this,arguments),t.apply(this,arguments)},!0}console.error("Native Bridge event listener is not provided")}else console.error("Native Bridge `"+e+"` event is not defined");return!1},window.cstmNativeBridge.EVENTS=window.cstmNativeBridge.EVENTS||{},window.cstmNativeBridge.METHODS=window.cstmNativeBridge.METHODS||{},window.cstmNativeBridge.call=function(e){var t=window.cstmNativeBridge[window.cstmNativeBridge.METHODS[e]];if("function"==typeof t){
668
- // copy everything except first param, which is the event.
669
- var n=Array.prototype.slice.call(arguments,1);return t.apply(this,n),!0}return console.error("Native Bridge `"+e+"` method is not defined"),!1};var Vr={getBridge:function(){try{return n.default.readFileSync(`${__dirname}/bridge.js`,"utf8")}catch(e){return console.error("Cannot load bridge script:",e),""}},isNative:function(e){return/(CustomNative:)(\\?|[\w.].+)/gi.exec(e.toLowerCase())},call:function(e,...t){try{return Wr(),window.cstmNativeBridge.call(e,...t)}catch(e){return console.error("Native Bridge not defined:",e),!1}},registerEventListener:function(e,t){try{return Wr(),window.cstmNativeBridge.registerEventListener(e,t)}catch(e){return console.error("Native Bridge not defined:",e),!1}}},zr=function(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return ge(null==t&&n.path)}},n.exports),n.exports}((function(e,t){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}
662
+ function Ir(e){let t,n,r=/*$_*/e[4]("loading")+"";return{c(){t=p("p"),n=y(r)},m(e,r){d(e,t,r),h(t,n)},p(e,t){/*$_*/16&t&&r!==(r=/*$_*/e[4]("loading")+"")&&_(n,r)},d(e){e&&f(t)}}}function $r(t){let n,r,i,o,s,a=/*$_*/t[4]("title")+"",l=/*isMobile*/t[5]&&function(e){let t,n,r,i,o,s,a,l,u,c,w,E,S,T=/*$_*/e[4]("title")+"";return{c(){t=p("div"),n=m("svg"),r=m("defs"),i=m("style"),o=y(".aaa{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));}"),s=m("g"),a=m("g"),l=m("path"),u=g(),c=p("h2"),w=y(T),v(l,"class","aaa"),v(l,"d","M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"),v(l,"transform","translate(15 15) rotate(180)"),v(a,"transform","translate(20 158)"),v(s,"transform","translate(-20 -158)"),v(n,"xmlns","http://www.w3.org/2000/svg"),v(n,"width","15"),v(n,"height","15"),v(n,"viewBox","0 0 15 15"),v(c,"class","DepositTitleMobile"),v(t,"class","MenuReturnButton")},m(f,p){d(f,t,p),h(t,n),h(n,r),h(r,i),h(i,o),h(n,s),h(s,a),h(a,l),h(t,u),h(t,c),h(c,w),E||(S=b(t,"click",/*click_handler*/e[17]),E=!0)},p(e,t){/*$_*/16&t&&T!==(T=/*$_*/e[4]("title")+"")&&_(w,T)},d(e){e&&f(t),E=!1,S()}}}(t);function u(e,t){/*isLoading*/
663
+ return e[1]?Ir:Rr}let c=u(t),w=c(t);return{c(){n=p("div"),l&&l.c(),r=g(),i=p("h2"),o=y(a),s=g(),w.c(),this.c=e,v(i,"class","DepositTitle "+(/*isMobile*/t[5]?"DepositTitleNone":"")),v(n,"class","DepositWrapper "+(/*isMobile*/t[5]?"DepositWrapperMobile":"")),E(n,"--dynamic-height",/*dynamicHeight*/t[2])},m(e,a){d(e,n,a),l&&l.m(n,null),h(n,r),h(n,i),h(i,o),h(n,s),w.m(n,null),
664
+ /*div_binding*/t[18](n)},p(e,[t]){/*isMobile*/e[5]&&l.p(e,t),/*$_*/16&t&&a!==(a=/*$_*/e[4]("title")+"")&&_(o,a),c===(c=u(e))&&w?w.p(e,t):(w.d(1),w=c(e),w&&(w.c(),w.m(n,null))),/*dynamicHeight*/4&t&&E(n,"--dynamic-height",/*dynamicHeight*/e[2])},i:e,o:e,d(e){e&&f(n),l&&l.d(),w.d(),
665
+ /*div_binding*/t[18](null)}}}function Yr(e,t,n){let r;u(e,Fr,(e=>n(4,r=e)));let i,o,{endpoint:s=""}=t,{session:a=""}=t,{playerid:l=""}=t,{lang:c="en"}=t,{hasdefaultamount:h=""}=t,{clientstyling:d=""}=t,{clientstylingurl:f=""}=t,{translationurl:p=""}=t,{playercurrency:m=""}=t,{shortcashierenabled:y="false"}=t,g=window.navigator.userAgent,b="PC"!==Ar(g),v=!0,w=0,_="";Object.keys(Lr).forEach((e=>{Nr(e,Lr[e])}));const E=()=>{window.postMessage({type:"GoToPreviousRoute",isMobile:b},window.location.href)},S=e=>{if(e.data){if("ProfileDetailsData"===e.data.type)n(7,m=e.data.profileDetails.currency);switch(e.data["MMFE:setQuickDepositHeight"]&&n(2,o=e.data["MMFE:setQuickDepositHeight"].toString()+"px"),"true"===e.data["MMFE:openFullCashier"]&&(window.postMessage({type:"GoToDeposit"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href)),e.data.redirect){case"mm-hc-casino":window.postMessage({type:"GoToCasino"},window.location.href);break;case"mm-hc-sports":window.postMessage({type:"GoToSports"},window.location.href);break;case"mm-hc-contact":window.postMessage({type:"GoToCustomerSupport"},window.location.href),window.postMessage({type:"CloseShortCashier"},window.location.href);break;case"mm-hc-back-to-merchant":window.postMessage({type:"GoToHomepage"},window.location.href);break;case"mm-wm-hc-init-deposit":window.postMessage({type:"RedirectWithdrawDepositCloseModal"},window.location.href);break;case"mm-wm-hc-init-deposit-quick":window.postMessage({type:"CloseShortCashier"},window.location.href)}}},T=()=>{var e;e=c,dr.set(e)};k((()=>(window.addEventListener("message",S,!1),()=>{window.removeEventListener("message",S)})));return e.$$set=e=>{"endpoint"in e&&n(8,s=e.endpoint),"session"in e&&n(9,a=e.session),"playerid"in e&&n(10,l=e.playerid),"lang"in e&&n(11,c=e.lang),"hasdefaultamount"in e&&n(12,h=e.hasdefaultamount),"clientstyling"in e&&n(13,d=e.clientstyling),"clientstylingurl"in e&&n(14,f=e.clientstylingurl),"translationurl"in e&&n(15,p=e.translationurl),"playercurrency"in e&&n(7,m=e.playercurrency),"shortcashierenabled"in e&&n(16,y=e.shortcashierenabled)},e.$$.update=()=>{/*lang*/2048&e.$$.dirty&&c&&T(),/*clientstylingurl, customStylingContainer*/16385&e.$$.dirty&&f&&i&&(()=>{let e=new URL(f),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{i.appendChild(t)}),1)}))})(),/*clientstyling, customStylingContainer*/8193&e.$$.dirty&&d&&i&&(()=>{let e=document.createElement("style");e.innerHTML=d,i.appendChild(e)})(),/*translationurl*/32768&e.$$.dirty&&p&&fetch(p).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Nr(t,e[t])}))})).catch((e=>{console.log(e)})),/*session, playerid, endpoint, playercurrency, lang, shortcashierenabled*/69504&e.$$.dirty&&a&&l&&s&&m&&c&&y&&(()=>{let e=new URL(`${s}/v1/player/${l}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);if(y&&e.searchParams.append("isShortCashier",y),h)switch(m){case"USD":w=.4;break;case"CDF":w=1e3}let t={method:"POST",headers:{"X-SessionId":a,currency:m||"EUR",amount:w,cashierMode:"Default",IsShortCashier:y,accept:"application/json"}};fetch(e.href,t).then((e=>e.json())).then((e=>{n(1,v=!1),n(3,_=e.CashierUrl)}),(e=>{console.error(e)}))})()},[i,v,o,_,r,b,E,m,s,a,l,c,h,d,f,p,y,()=>E(),function(e){O[e?"unshift":"push"]((()=>{i=e,n(0,i)}))}]}!customElements.get("player-deposit")&&customElements.define("player-deposit",class extends G{constructor(e){super();const t=document.createElement("style");t.textContent=".DepositWrapper{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C))}.DepositTitle{font-size:26px;color:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));font-weight:400}.DepositTitleMobile{font-size:16px}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh}",this.shadowRoot.appendChild(t),U(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},Yr,$r,o,{endpoint:8,session:9,playerid:10,lang:11,hasdefaultamount:12,clientstyling:13,clientstylingurl:14,translationurl:15,playercurrency:7,shortcashierenabled:16},null),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),L()))}static get observedAttributes(){return["endpoint","session","playerid","lang","hasdefaultamount","clientstyling","clientstylingurl","translationurl","playercurrency","shortcashierenabled"]}get endpoint(){return this.$$.ctx[8]}set endpoint(e){this.$$set({endpoint:e}),L()}get session(){return this.$$.ctx[9]}set session(e){this.$$set({session:e}),L()}get playerid(){return this.$$.ctx[10]}set playerid(e){this.$$set({playerid:e}),L()}get lang(){return this.$$.ctx[11]}set lang(e){this.$$set({lang:e}),L()}get hasdefaultamount(){return this.$$.ctx[12]}set hasdefaultamount(e){this.$$set({hasdefaultamount:e}),L()}get clientstyling(){return this.$$.ctx[13]}set clientstyling(e){this.$$set({clientstyling:e}),L()}get clientstylingurl(){return this.$$.ctx[14]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),L()}get translationurl(){return this.$$.ctx[15]}set translationurl(e){this.$$set({translationurl:e}),L()}get playercurrency(){return this.$$.ctx[7]}set playercurrency(e){this.$$set({playercurrency:e}),L()}get shortcashierenabled(){return this.$$.ctx[16]}set shortcashierenabled(e){this.$$set({shortcashierenabled:e}),L()}});var Ur=function(e,t,n){return e(n={path:t,exports:{},require:function(e,t){return pe(null==t&&n.path)}},n.exports),n.exports}((function(e,t){e.exports=function(){var t,n;function r(){return t.apply(null,arguments)}
670
666
  // This is done to register the method called with moment()
671
667
  // without creating circular dependencies.
672
668
  function i(e){t=e}function o(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){
@@ -674,32 +670,32 @@ function i(e){t=e}function o(e){return e instanceof Array||"[object Array]"===Ob
674
670
  // input != null
675
671
  return null!=e&&"[object Object]"===Object.prototype.toString.call(e)}function a(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function l(e){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(e).length;var t;for(t in e)if(a(e,t))return!1;return!0}function u(e){return void 0===e}function c(e){return"number"==typeof e||"[object Number]"===Object.prototype.toString.call(e)}function h(e){return e instanceof Date||"[object Date]"===Object.prototype.toString.call(e)}function d(e,t){var n,r=[],i=e.length;for(n=0;n<i;++n)r.push(t(e[n],n));return r}function f(e,t){for(var n in t)a(t,n)&&(e[n]=t[n]);return a(t,"toString")&&(e.toString=t.toString),a(t,"valueOf")&&(e.valueOf=t.valueOf),e}function p(e,t,n,r){return Xn(e,t,n,r,!0).utc()}function m(){
676
672
  // We need to deep clone this object.
677
- return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function y(e){return null==e._pf&&(e._pf=m()),e._pf}function g(e){if(null==e._isValid){var t=y(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function v(e){var t=p(NaN);return null!=e?f(y(t),e):y(t).userInvalidated=!0,t}
673
+ return{empty:!1,unusedTokens:[],unusedInput:[],overflow:-2,charsLeftOver:0,nullInput:!1,invalidEra:null,invalidMonth:null,invalidFormat:!1,userInvalidated:!1,iso:!1,parsedDateParts:[],era:null,meridiem:null,rfc2822:!1,weekdayMismatch:!1}}function y(e){return null==e._pf&&(e._pf=m()),e._pf}function g(e){if(null==e._isValid){var t=y(e),r=n.call(t.parsedDateParts,(function(e){return null!=e})),i=!isNaN(e._d.getTime())&&t.overflow<0&&!t.empty&&!t.invalidEra&&!t.invalidMonth&&!t.invalidWeekday&&!t.weekdayMismatch&&!t.nullInput&&!t.invalidFormat&&!t.userInvalidated&&(!t.meridiem||t.meridiem&&r);if(e._strict&&(i=i&&0===t.charsLeftOver&&0===t.unusedTokens.length&&void 0===t.bigHour),null!=Object.isFrozen&&Object.isFrozen(e))return i;e._isValid=i}return e._isValid}function b(e){var t=p(NaN);return null!=e?f(y(t),e):y(t).userInvalidated=!0,t}
678
674
  // Plugins that add properties should also add the key here (null value),
679
675
  // so we can properly clone ourselves.
680
- n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var w=r.momentProperties=[],b=!1;function _(e,t){var n,r,i,o=w.length;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=y(t)),u(t._locale)||(e._locale=t._locale),o>0)for(n=0;n<o;n++)u(i=t[r=w[n]])||(e[r]=i);return e}
676
+ n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n.length>>>0;for(t=0;t<r;t++)if(t in n&&e.call(this,n[t],t,n))return!0;return!1};var v=r.momentProperties=[],w=!1;function _(e,t){var n,r,i,o=v.length;if(u(t._isAMomentObject)||(e._isAMomentObject=t._isAMomentObject),u(t._i)||(e._i=t._i),u(t._f)||(e._f=t._f),u(t._l)||(e._l=t._l),u(t._strict)||(e._strict=t._strict),u(t._tzm)||(e._tzm=t._tzm),u(t._isUTC)||(e._isUTC=t._isUTC),u(t._offset)||(e._offset=t._offset),u(t._pf)||(e._pf=y(t)),u(t._locale)||(e._locale=t._locale),o>0)for(n=0;n<o;n++)u(i=t[r=v[n]])||(e[r]=i);return e}
681
677
  // Moment prototype object
682
678
  function E(e){_(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),
683
679
  // Prevent infinite loop in case updateOffset creates new moment
684
680
  // objects.
685
- !1===b&&(b=!0,r.updateOffset(this),b=!1)}function S(e){return e instanceof E||null!=e&&null!=e._isAMomentObject}function T(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function M(e,t){var n=!0;return f((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,o,s,l=[],u=arguments.length;for(o=0;o<u;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,k={};function D(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),k[e]||(T(t),k[e]=!0)}function O(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function P(e){var t,n;for(n in e)a(e,n)&&(O(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,
681
+ !1===w&&(w=!0,r.updateOffset(this),w=!1)}function S(e){return e instanceof E||null!=e&&null!=e._isAMomentObject}function T(e){!1===r.suppressDeprecationWarnings&&"undefined"!=typeof console&&console.warn&&console.warn("Deprecation warning: "+e)}function M(e,t){var n=!0;return f((function(){if(null!=r.deprecationHandler&&r.deprecationHandler(null,e),n){var i,o,s,l=[],u=arguments.length;for(o=0;o<u;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,k={};function D(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),k[e]||(T(t),k[e]=!0)}function O(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function P(e){var t,n;for(n in e)a(e,n)&&(O(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,
686
682
  // Lenient ordinal parsing accepts just a number in addition to
687
683
  // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
688
684
  // TODO: Remove "ordinalParse" fallback in next major release.
689
- this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function B(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])&&(
685
+ this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function H(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])&&(
690
686
  // make sure changes to properties don't modify parent config
691
- r[n]=f({},r[n]));return r}function H(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 F={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function A(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return O(r)?r.call(t,n):r}function N(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 C=/(\[[^\[]*\])|(\\)?([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,L=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,R={},I={};
687
+ r[n]=f({},r[n]));return r}function F(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 C(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return O(r)?r.call(t,n):r}function B(e,t,n){var r=""+Math.abs(e),i=t-r.length;return(e>=0?n?"+":"":"-")+Math.pow(10,Math.max(0,i)).toString().substr(1)+r}var N=/(\[[^\[]*\])|(\\)?([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,L=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,R={},I={};
692
688
  // token: 'M'
693
689
  // padded: ['MM', 2]
694
690
  // ordinal: 'Mo'
695
691
  // callback: function () { this.month() + 1 }
696
- function $(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(I[e]=i),t&&(I[t[0]]=function(){return N(i.apply(this,arguments),t[1],t[2])}),n&&(I[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(C);for(t=0,n=r.length;t<n;t++)I[r[t]]?r[t]=I[r[t]]:r[t]=Y(r[t]);return function(t){var i,o="";for(i=0;i<n;i++)o+=O(r[i])?r[i].call(t,e):r[i];return o}}
692
+ function $(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(I[e]=i),t&&(I[t[0]]=function(){return B(i.apply(this,arguments),t[1],t[2])}),n&&(I[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(N);for(t=0,n=r.length;t<n;t++)I[r[t]]?r[t]=I[r[t]]:r[t]=Y(r[t]);return function(t){var i,o="";for(i=0;i<n;i++)o+=O(r[i])?r[i].call(t,e):r[i];return o}}
697
693
  // format date using native date object
698
- function G(e,t){return e.isValid()?(t=j(t,e.localeData()),R[t]=R[t]||U(t),R[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(L.lastIndex=0;n>=0&&L.test(e);)e=e.replace(L,r),L.lastIndex=0,n-=1;return e}var W={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function V(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(C).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",q=/\d{1,2}/;function K(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 O(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return O(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 ue(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ce(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ue(t)),n}function 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=ce(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}
694
+ function G(e,t){return e.isValid()?(t=j(t,e.localeData()),R[t]=R[t]||U(t),R[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(L.lastIndex=0;n>=0&&L.test(e);)e=e.replace(L,r),L.lastIndex=0,n-=1;return e}var W={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function V(e){var t=this._longDateFormat[e],n=this._longDateFormat[e.toUpperCase()];return t||!n?t:(this._longDateFormat[e]=n.match(N).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",q=/\d{1,2}/;function K(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 O(i)?i(e,t,n,r):i.replace(/%d/i,e)}function ee(e,t){var n=this._relativeTime[e>0?"future":"past"];return O(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 ue(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function ce(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=ue(t)),n}function 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=ce(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}
699
695
  // MOMENTS
700
- function pe(e){return O(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(O(this[e=re(e)]))return this[e](t);return this}var ye,ve=/\d/,// 0 - 9
701
- we=/\d\d/,// 00 - 99
702
- be=/\d{3}/,// 000 - 999
696
+ function me(e){return O(this[e=re(e)])?this[e]():this}function ye(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(O(this[e=re(e)]))return this[e](t);return this}var ge,be=/\d/,// 0 - 9
697
+ ve=/\d\d/,// 00 - 99
698
+ we=/\d{3}/,// 000 - 999
703
699
  _e=/\d{4}/,// 0000 - 9999
704
700
  Ee=/[+-]?\d{6}/,// -999999 - 999999
705
701
  Se=/\d\d?/,// 0 - 99
@@ -710,14 +706,14 @@ ke=/\d{1,4}/,// 0 - 9999
710
706
  De=/[+-]?\d{1,6}/,// -999999 - 999999
711
707
  Oe=/\d+/,// 0 - inf
712
708
  Pe=/[+-]?\d+/,// -inf - inf
713
- Be=/Z|[+-]\d\d:?\d\d/gi,// +00:00 -00:00 +0000 -0000 or Z
714
- He=/Z|[+-]\d\d(?::?\d\d)?/gi,// +00 -00 +00:00 -00:00 +0000 -0000 or Z
715
- Fe=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
709
+ He=/Z|[+-]\d\d:?\d\d/gi,// +00:00 -00:00 +0000 -0000 or Z
710
+ Fe=/Z|[+-]\d\d(?::?\d\d)?/gi,// +00 -00 +00:00 -00:00 +0000 -0000 or Z
711
+ Ae=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
716
712
  // any word (or two) characters or numbers including two/three word month in arabic.
717
713
  // includes scottish gaelic two word and hyphenated months
718
- Ae=/[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 Ne(e,t,n){ye[e]=O(t)?t:function(e,r){return e&&n?n:t}}function Ce(e,t){return a(ye,e)?ye[e](t._strict,t._locale):new RegExp(Le(e))}
714
+ Ce=/[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 Be(e,t,n){ge[e]=O(t)?t:function(e,r){return e&&n?n:t}}function Ne(e,t){return a(ge,e)?ge[e](t._strict,t._locale):new RegExp(Le(e))}
719
715
  // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
720
- function Le(e){return Re(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Re(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ye={};var Ie={};function $e(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),c(t)&&(i=function(e,n){n[t]=ce(e)}),r=e.length,n=0;n<r;n++)Ie[e[n]]=i}function Ye(e,t){$e(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Ue(e,t,n){null!=t&&a(Ie,e)&&Ie[e](t,n._a,n,e)}var Ge,je=0,We=1,Ve=2,ze=3,Ze=4,Xe=5,qe=6,Ke=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}
716
+ function Le(e){return Re(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Re(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ge={};var Ie={};function $e(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),c(t)&&(i=function(e,n){n[t]=ce(e)}),r=e.length,n=0;n<r;n++)Ie[e[n]]=i}function Ye(e,t){$e(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Ue(e,t,n){null!=t&&a(Ie,e)&&Ie[e](t,n._a,n,e)}var Ge,je=0,We=1,Ve=2,ze=3,Ze=4,Xe=5,qe=6,Ke=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}
721
717
  // FORMATTING
722
718
  Ge=Array.prototype.indexOf?Array.prototype.indexOf:function(e){
723
719
  // I know
@@ -727,11 +723,11 @@ ne("month","M"),
727
723
  // PRIORITY
728
724
  se("month",8),
729
725
  // PARSING
730
- Ne("M",Se),Ne("MM",Se,we),Ne("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ne("MMMM",(function(e,t){return t.monthsRegex(e)})),$e(["M","MM"],(function(e,t){t[We]=ce(e)-1})),$e(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);
726
+ Be("M",Se),Be("MM",Se,ve),Be("MMM",(function(e,t){return t.monthsShortRegex(e)})),Be("MMMM",(function(e,t){return t.monthsRegex(e)})),$e(["M","MM"],(function(e,t){t[We]=ce(e)-1})),$e(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);
731
727
  // if we didn't find a month name, mark the date as invalid.
732
728
  null!=i?t[We]=i:y(n).invalidMonth=e}));
733
729
  // LOCALES
734
- var tt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,it=Ae,ot=Ae;function st(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||rt).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone}function at(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[rt.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function lt(e,t,n){var r,i,o,s=e.toLocaleLowerCase();if(!this._monthsParse)for(
730
+ var tt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),nt="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),rt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,it=Ce,ot=Ce;function st(e,t){return e?o(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||rt).test(t)?"format":"standalone"][e.month()]:o(this._months)?this._months:this._months.standalone}function at(e,t){return e?o(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[rt.test(t)?"format":"standalone"][e.month()]:o(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function lt(e,t,n){var r,i,o,s=e.toLocaleLowerCase();if(!this._monthsParse)for(
735
731
  // this is not used
736
732
  this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],r=0;r<12;++r)o=p([2e3,r]),this._shortMonthsParse[r]=this.monthsShort(o,"").toLocaleLowerCase(),this._longMonthsParse[r]=this.months(o,"").toLocaleLowerCase();return n?"MMM"===t?-1!==(i=Ge.call(this._shortMonthsParse,s))?i:null:-1!==(i=Ge.call(this._longMonthsParse,s))?i:null:"MMM"===t?-1!==(i=Ge.call(this._shortMonthsParse,s))||-1!==(i=Ge.call(this._longMonthsParse,s))?i:null:-1!==(i=Ge.call(this._longMonthsParse,s))||-1!==(i=Ge.call(this._shortMonthsParse,s))?i:null}function ut(e,t,n){var r,i,o;if(this._monthsParseExact)return lt.call(this,e,t,n);
737
733
  // TODO: add sorting
@@ -757,29 +753,29 @@ for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=Re(r[t]),i[t]=Re(i[t]);for(t
757
753
  // HELPERS
758
754
  function yt(e){return le(e)?366:365}
759
755
  // HOOKS
760
- $("Y",0,0,(function(){var e=this.year();return e<=9999?N(e,4):"+"+e})),$(0,["YY",2],0,(function(){return this.year()%100})),$(0,["YYYY",4],0,"year"),$(0,["YYYYY",5],0,"year"),$(0,["YYYYYY",6,!0],0,"year"),
756
+ $("Y",0,0,(function(){var e=this.year();return e<=9999?B(e,4):"+"+e})),$(0,["YY",2],0,(function(){return this.year()%100})),$(0,["YYYY",4],0,"year"),$(0,["YYYYY",5],0,"year"),$(0,["YYYYYY",6,!0],0,"year"),
761
757
  // ALIASES
762
758
  ne("year","y"),
763
759
  // PRIORITIES
764
760
  se("year",1),
765
761
  // PARSING
766
- Ne("Y",Pe),Ne("YY",Se,we),Ne("YYYY",ke,_e),Ne("YYYYY",De,Ee),Ne("YYYYYY",De,Ee),$e(["YYYYY","YYYYYY"],je),$e("YYYY",(function(e,t){t[je]=2===e.length?r.parseTwoDigitYear(e):ce(e)})),$e("YY",(function(e,t){t[je]=r.parseTwoDigitYear(e)})),$e("Y",(function(e,t){t[je]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return ce(e)+(ce(e)>68?1900:2e3)};
762
+ Be("Y",Pe),Be("YY",Se,ve),Be("YYYY",ke,_e),Be("YYYYY",De,Ee),Be("YYYYYY",De,Ee),$e(["YYYYY","YYYYYY"],je),$e("YYYY",(function(e,t){t[je]=2===e.length?r.parseTwoDigitYear(e):ce(e)})),$e("YY",(function(e,t){t[je]=r.parseTwoDigitYear(e)})),$e("Y",(function(e,t){t[je]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return ce(e)+(ce(e)>68?1900:2e3)};
767
763
  // MOMENTS
768
- var gt=he("FullYear",!0);function vt(){return le(this.year())}function wt(e,t,n,r,i,o,s){
764
+ var gt=he("FullYear",!0);function bt(){return le(this.year())}function vt(e,t,n,r,i,o,s){
769
765
  // can't just apply() to create a date:
770
766
  // https://stackoverflow.com/q/181348
771
767
  var a;
772
768
  // the date constructor remaps years 0-99 to 1900-1999
773
769
  return e<100&&e>=0?(
774
770
  // preserve leap years using a full 400 year cycle, then reset
775
- a=new Date(e+400,t,n,r,i,o,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,r,i,o,s),a}function bt(e){var t,n;
771
+ a=new Date(e+400,t,n,r,i,o,s),isFinite(a.getFullYear())&&a.setFullYear(e)):a=new Date(e,t,n,r,i,o,s),a}function wt(e){var t,n;
776
772
  // the Date.UTC function remaps years 0-99 to 1900-1999
777
773
  return e<100&&e>=0?(
778
774
  // preserve leap years using a full 400 year cycle, then reset
779
775
  (n=Array.prototype.slice.call(arguments))[0]=e+400,t=new Date(Date.UTC.apply(null,n)),isFinite(t.getUTCFullYear())&&t.setUTCFullYear(e)):t=new Date(Date.UTC.apply(null,arguments)),t}
780
776
  // start-of-first-week - start-of-year
781
777
  function _t(e,t,n){var// first-week day -- which january is always in the first week (4 for iso, 1 for other)
782
- r=7+t-n;return-(7+bt(e,0,r).getUTCDay()-t)%7+r-1}
778
+ r=7+t-n;return-(7+wt(e,0,r).getUTCDay()-t)%7+r-1}
783
779
  // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday
784
780
  function Et(e,t,n,r,i){var o,s,a=1+7*(t-1)+(7+n-r)%7+_t(e,r,i);return a<=0?s=yt(o=e-1)+a:a>yt(e)?(o=e+1,s=a-yt(e)):(o=e,s=a),{year:o,dayOfYear:s}}function St(e,t,n){var r,i,o=_t(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=_t(e,t,n),i=_t(e+1,t,n);return(yt(e)-r+i)/7}
785
781
  // FORMATTING
@@ -791,33 +787,33 @@ ne("week","w"),ne("isoWeek","W"),
791
787
  // PRIORITIES
792
788
  se("week",5),se("isoWeek",5),
793
789
  // PARSING
794
- Ne("w",Se),Ne("ww",Se,we),Ne("W",Se),Ne("WW",Se,we),Ye(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=ce(e)}));var xt={dow:0,// Sunday is the first day of the week.
790
+ Be("w",Se),Be("ww",Se,ve),Be("W",Se),Be("WW",Se,ve),Ye(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=ce(e)}));var xt={dow:0,// Sunday is the first day of the week.
795
791
  doy:6};function kt(){return this._week.dow}function Dt(){return this._week.doy}
796
792
  // MOMENTS
797
793
  function Ot(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Pt(e){var t=St(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}
798
794
  // FORMATTING
799
795
  // HELPERS
800
- function Bt(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Ht(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}
796
+ function Ht(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Ft(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}
801
797
  // LOCALES
802
- function Ft(e,t){return e.slice(t,7).concat(e.slice(0,t))}$("d",0,"do","day"),$("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),$("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),$("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),$("e",0,0,"weekday"),$("E",0,0,"isoWeekday"),
798
+ function At(e,t){return e.slice(t,7).concat(e.slice(0,t))}$("d",0,"do","day"),$("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),$("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),$("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),$("e",0,0,"weekday"),$("E",0,0,"isoWeekday"),
803
799
  // ALIASES
804
800
  ne("day","d"),ne("weekday","e"),ne("isoWeekday","E"),
805
801
  // PRIORITY
806
802
  se("day",11),se("weekday",11),se("isoWeekday",11),
807
803
  // PARSING
808
- Ne("d",Se),Ne("e",Se),Ne("E",Se),Ne("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ne("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ne("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ye(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);
804
+ Be("d",Se),Be("e",Se),Be("E",Se),Be("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Be("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Be("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ye(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);
809
805
  // if we didn't get a weekday name, mark the date as invalid
810
- null!=i?t.d=i:y(n).invalidWeekday=e})),Ye(["d","e","E"],(function(e,t,n,r){t[r]=ce(e)}));var At="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Nt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ct="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Lt=Ae,Rt=Ae,It=Ae;function $t(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ft(n,this._week.dow):e?n[e.day()]:n}function Yt(e){return!0===e?Ft(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ut(e){return!0===e?Ft(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Gt(e,t,n){var r,i,o,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ge.call(this._weekdaysParse,s))?i:null:"ddd"===t?-1!==(i=Ge.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=Ge.call(this._minWeekdaysParse,s))?i:null:"dddd"===t?-1!==(i=Ge.call(this._weekdaysParse,s))||-1!==(i=Ge.call(this._shortWeekdaysParse,s))||-1!==(i=Ge.call(this._minWeekdaysParse,s))?i:null:"ddd"===t?-1!==(i=Ge.call(this._shortWeekdaysParse,s))||-1!==(i=Ge.call(this._weekdaysParse,s))||-1!==(i=Ge.call(this._minWeekdaysParse,s))?i:null:-1!==(i=Ge.call(this._minWeekdaysParse,s))||-1!==(i=Ge.call(this._weekdaysParse,s))||-1!==(i=Ge.call(this._shortWeekdaysParse,s))?i:null}function jt(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Gt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){
806
+ null!=i?t.d=i:y(n).invalidWeekday=e})),Ye(["d","e","E"],(function(e,t,n,r){t[r]=ce(e)}));var Ct="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Bt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Nt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Lt=Ce,Rt=Ce,It=Ce;function $t(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?At(n,this._week.dow):e?n[e.day()]:n}function Yt(e){return!0===e?At(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Ut(e){return!0===e?At(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Gt(e,t,n){var r,i,o,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],r=0;r<7;++r)o=p([2e3,1]).day(r),this._minWeekdaysParse[r]=this.weekdaysMin(o,"").toLocaleLowerCase(),this._shortWeekdaysParse[r]=this.weekdaysShort(o,"").toLocaleLowerCase(),this._weekdaysParse[r]=this.weekdays(o,"").toLocaleLowerCase();return n?"dddd"===t?-1!==(i=Ge.call(this._weekdaysParse,s))?i:null:"ddd"===t?-1!==(i=Ge.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=Ge.call(this._minWeekdaysParse,s))?i:null:"dddd"===t?-1!==(i=Ge.call(this._weekdaysParse,s))||-1!==(i=Ge.call(this._shortWeekdaysParse,s))||-1!==(i=Ge.call(this._minWeekdaysParse,s))?i:null:"ddd"===t?-1!==(i=Ge.call(this._shortWeekdaysParse,s))||-1!==(i=Ge.call(this._weekdaysParse,s))||-1!==(i=Ge.call(this._minWeekdaysParse,s))?i:null:-1!==(i=Ge.call(this._minWeekdaysParse,s))||-1!==(i=Ge.call(this._weekdaysParse,s))||-1!==(i=Ge.call(this._shortWeekdaysParse,s))?i:null}function jt(e,t,n){var r,i,o;if(this._weekdaysParseExact)return Gt.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){
811
807
  // test the regex
812
808
  if(
813
809
  // make the regex if we don't have it already
814
810
  i=p([2e3,1]).day(r),n&&!this._fullWeekdaysParse[r]&&(this._fullWeekdaysParse[r]=new RegExp("^"+this.weekdays(i,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[r]=new RegExp("^"+this.weekdaysShort(i,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[r]=new RegExp("^"+this.weekdaysMin(i,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[r]||(o="^"+this.weekdays(i,"")+"|^"+this.weekdaysShort(i,"")+"|^"+this.weekdaysMin(i,""),this._weekdaysParse[r]=new RegExp(o.replace(".",""),"i")),n&&"dddd"===t&&this._fullWeekdaysParse[r].test(e))return r;if(n&&"ddd"===t&&this._shortWeekdaysParse[r].test(e))return r;if(n&&"dd"===t&&this._minWeekdaysParse[r].test(e))return r;if(!n&&this._weekdaysParse[r].test(e))return r}}
815
811
  // MOMENTS
816
- function Wt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Bt(e,this.localeData()),this.add(e-t,"d")):t}function Vt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function zt(e){if(!this.isValid())return null!=e?this:NaN;
812
+ function Wt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this._d.getUTCDay():this._d.getDay();return null!=e?(e=Ht(e,this.localeData()),this.add(e-t,"d")):t}function Vt(e){if(!this.isValid())return null!=e?this:NaN;var t=(this.day()+7-this.localeData()._week.dow)%7;return null==e?t:this.add(e-t,"d")}function zt(e){if(!this.isValid())return null!=e?this:NaN;
817
813
  // behaves the same as moment#day except
818
814
  // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
819
815
  // as a setter, sunday should belong to the previous week.
820
- if(null!=e){var t=Ht(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Zt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Lt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Xt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Rt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function qt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=It),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Kt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,s=[],a=[],l=[],u=[];for(t=0;t<7;t++)
816
+ if(null!=e){var t=Ft(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Zt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(a(this,"_weekdaysRegex")||(this._weekdaysRegex=Lt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Xt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(a(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Rt),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function qt(e){return this._weekdaysParseExact?(a(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(a(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=It),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Kt(){function e(e,t){return t.length-e.length}var t,n,r,i,o,s=[],a=[],l=[],u=[];for(t=0;t<7;t++)
821
817
  // make the regex if we don't have it already
822
818
  n=p([2e3,1]).day(t),r=Re(this.weekdaysMin(n,"")),i=Re(this.weekdaysShort(n,"")),o=Re(this.weekdays(n,"")),s.push(r),a.push(i),l.push(o),u.push(r),u.push(i),u.push(o);
823
819
  // Sorting makes sure if one weekday (or abbr) is a prefix of another it
@@ -831,16 +827,16 @@ function tn(e,t){return t._meridiemParse}
831
827
  function nn(e){
832
828
  // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
833
829
  // Using charAt should be more compatible.
834
- return"p"===(e+"").toLowerCase().charAt(0)}$("H",["HH",2],0,"hour"),$("h",["hh",2],0,Jt),$("k",["kk",2],0,Qt),$("hmm",0,0,(function(){return""+Jt.apply(this)+N(this.minutes(),2)})),$("hmmss",0,0,(function(){return""+Jt.apply(this)+N(this.minutes(),2)+N(this.seconds(),2)})),$("Hmm",0,0,(function(){return""+this.hours()+N(this.minutes(),2)})),$("Hmmss",0,0,(function(){return""+this.hours()+N(this.minutes(),2)+N(this.seconds(),2)})),en("a",!0),en("A",!1),
830
+ return"p"===(e+"").toLowerCase().charAt(0)}$("H",["HH",2],0,"hour"),$("h",["hh",2],0,Jt),$("k",["kk",2],0,Qt),$("hmm",0,0,(function(){return""+Jt.apply(this)+B(this.minutes(),2)})),$("hmmss",0,0,(function(){return""+Jt.apply(this)+B(this.minutes(),2)+B(this.seconds(),2)})),$("Hmm",0,0,(function(){return""+this.hours()+B(this.minutes(),2)})),$("Hmmss",0,0,(function(){return""+this.hours()+B(this.minutes(),2)+B(this.seconds(),2)})),en("a",!0),en("A",!1),
835
831
  // ALIASES
836
832
  ne("hour","h"),
837
833
  // PRIORITY
838
- se("hour",13),Ne("a",tn),Ne("A",tn),Ne("H",Se),Ne("h",Se),Ne("k",Se),Ne("HH",Se,we),Ne("hh",Se,we),Ne("kk",Se,we),Ne("hmm",Te),Ne("hmmss",Me),Ne("Hmm",Te),Ne("Hmmss",Me),$e(["H","HH"],ze),$e(["k","kk"],(function(e,t,n){var r=ce(e);t[ze]=24===r?0:r})),$e(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),$e(["h","hh"],(function(e,t,n){t[ze]=ce(e),y(n).bigHour=!0})),$e("hmm",(function(e,t,n){var r=e.length-2;t[ze]=ce(e.substr(0,r)),t[Ze]=ce(e.substr(r)),y(n).bigHour=!0})),$e("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[ze]=ce(e.substr(0,r)),t[Ze]=ce(e.substr(r,2)),t[Xe]=ce(e.substr(i)),y(n).bigHour=!0})),$e("Hmm",(function(e,t,n){var r=e.length-2;t[ze]=ce(e.substr(0,r)),t[Ze]=ce(e.substr(r))})),$e("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[ze]=ce(e.substr(0,r)),t[Ze]=ce(e.substr(r,2)),t[Xe]=ce(e.substr(i))}));var rn=/[ap]\.?m?\.?/i,
834
+ se("hour",13),Be("a",tn),Be("A",tn),Be("H",Se),Be("h",Se),Be("k",Se),Be("HH",Se,ve),Be("hh",Se,ve),Be("kk",Se,ve),Be("hmm",Te),Be("hmmss",Me),Be("Hmm",Te),Be("Hmmss",Me),$e(["H","HH"],ze),$e(["k","kk"],(function(e,t,n){var r=ce(e);t[ze]=24===r?0:r})),$e(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),$e(["h","hh"],(function(e,t,n){t[ze]=ce(e),y(n).bigHour=!0})),$e("hmm",(function(e,t,n){var r=e.length-2;t[ze]=ce(e.substr(0,r)),t[Ze]=ce(e.substr(r)),y(n).bigHour=!0})),$e("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[ze]=ce(e.substr(0,r)),t[Ze]=ce(e.substr(r,2)),t[Xe]=ce(e.substr(i)),y(n).bigHour=!0})),$e("Hmm",(function(e,t,n){var r=e.length-2;t[ze]=ce(e.substr(0,r)),t[Ze]=ce(e.substr(r))})),$e("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[ze]=ce(e.substr(0,r)),t[Ze]=ce(e.substr(r,2)),t[Xe]=ce(e.substr(i))}));var rn=/[ap]\.?m?\.?/i,
839
835
  // Setting the hour should keep the time, because the user explicitly
840
836
  // specified which hour they want. So trying to maintain the same hour (in
841
837
  // a new timezone) makes sense. Adding/subtracting hours does not follow
842
838
  // this rule.
843
- on=he("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,ln={calendar:F,longDateFormat:W,invalidDate:z,ordinal:X,dayOfMonthOrdinalParse:q,relativeTime:J,months:tt,monthsShort:nt,week:xt,weekdays:At,weekdaysMin:Ct,weekdaysShort:Nt,meridiemParse:rn},un={},cn={};
839
+ on=he("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,ln={calendar:A,longDateFormat:W,invalidDate:z,ordinal:X,dayOfMonthOrdinalParse:q,relativeTime:J,months:tt,monthsShort:nt,week:xt,weekdays:Ct,weekdaysMin:Nt,weekdaysShort:Bt,meridiemParse:rn},un={},cn={};
844
840
  // internal storage for locale config files
845
841
  function hn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function dn(e){return e?e.toLowerCase().replace("_","-"):e}
846
842
  // pick the locale from the array
@@ -852,7 +848,7 @@ break;t--}o++}return an}function pn(e){
852
848
  // Prevent names that look like filesystem paths, i.e contain '/' or '\'
853
849
  return null!=e.match("^[^/\\\\]*$")}function mn(t){var n=null;
854
850
  // TODO: Find a better way to register and load all the locales in Node
855
- if(void 0===un[t]&&e&&e.exports&&pn(t))try{n=an._abbr,ge(),yn(n)}catch(e){
851
+ if(void 0===un[t]&&e&&e.exports&&pn(t))try{n=an._abbr,pe(),yn(n)}catch(e){
856
852
  // mark as not found to avoid repeating expensive file require call causing high CPU
857
853
  // when trying to find en-US, en_US, en-us for every format call
858
854
  un[t]=null;// null means not found
@@ -860,33 +856,33 @@ un[t]=null;// null means not found
860
856
  // This function will load locale and then set the global locale. If
861
857
  // no arguments are passed in, it will simply return the current global
862
858
  // locale key.
863
- function yn(e,t){var n;return e&&((n=u(t)?wn(e):gn(e,t))?
859
+ function yn(e,t){var n;return e&&((n=u(t)?vn(e):gn(e,t))?
864
860
  // moment.duration._locale = moment._locale = data;
865
861
  an=n:"undefined"!=typeof console&&console.warn&&
866
862
  //warn user if arguments are passed but the locale could not be set
867
- console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function gn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=un[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=un[e]._config;else if(null!=t.parentLocale)if(null!=un[t.parentLocale])r=un[t.parentLocale]._config;else{if(null==(n=mn(t.parentLocale)))return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return un[e]=new H(B(r,t)),cn[e]&&cn[e].forEach((function(e){gn(e.name,e.config)})),
863
+ console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function gn(e,t){if(null!==t){var n,r=ln;if(t.abbr=e,null!=un[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=un[e]._config;else if(null!=t.parentLocale)if(null!=un[t.parentLocale])r=un[t.parentLocale]._config;else{if(null==(n=mn(t.parentLocale)))return cn[t.parentLocale]||(cn[t.parentLocale]=[]),cn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return un[e]=new F(H(r,t)),cn[e]&&cn[e].forEach((function(e){gn(e.name,e.config)})),
868
864
  // backwards compat for now: also set the locale
869
865
  // make sure we set the locale AFTER all child locales have been
870
866
  // created, so we won't end up with the child locale set.
871
867
  yn(e),un[e]}
872
868
  // useful for testing
873
- return delete un[e],null}function vn(e,t){if(null!=t){var n,r,i=ln;null!=un[e]&&null!=un[e].parentLocale?
869
+ return delete un[e],null}function bn(e,t){if(null!=t){var n,r,i=ln;null!=un[e]&&null!=un[e].parentLocale?
874
870
  // Update existing child locale in-place to avoid memory-leaks
875
- un[e].set(B(un[e]._config,t)):(
871
+ un[e].set(H(un[e]._config,t)):(
876
872
  // MERGE
877
- null!=(r=mn(e))&&(i=r._config),t=B(i,t),null==r&&(
873
+ null!=(r=mn(e))&&(i=r._config),t=H(i,t),null==r&&(
878
874
  // updateLocale is called for creating a new locale
879
875
  // Set abbr so it will have a name (getters return
880
876
  // undefined otherwise).
881
- t.abbr=e),(n=new H(t)).parentLocale=un[e],un[e]=n),
877
+ t.abbr=e),(n=new F(t)).parentLocale=un[e],un[e]=n),
882
878
  // backwards compat for now: also set the locale
883
879
  yn(e)}else
884
880
  // pass null for config to unupdate, useful for tests
885
881
  null!=un[e]&&(null!=un[e].parentLocale?(un[e]=un[e].parentLocale,e===yn()&&yn(e)):null!=un[e]&&delete un[e]);return un[e]}
886
882
  // returns locale data
887
- function wn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return an;if(!o(e)){if(
883
+ function vn(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return an;if(!o(e)){if(
888
884
  //short-circuit everything else
889
- t=mn(e))return t;e=[e]}return fn(e)}function bn(){return x(un)}function _n(e){var t,n=e._a;return n&&-2===y(e).overflow&&(t=n[We]<0||n[We]>11?We:n[Ve]<1||n[Ve]>et(n[je],n[We])?Ve:n[ze]<0||n[ze]>24||24===n[ze]&&(0!==n[Ze]||0!==n[Xe]||0!==n[qe])?ze:n[Ze]<0||n[Ze]>59?Ze:n[Xe]<0||n[Xe]>59?Xe:n[qe]<0||n[qe]>999?qe:-1,y(e)._overflowDayOfYear&&(t<je||t>Ve)&&(t=Ve),y(e)._overflowWeeks&&-1===t&&(t=Ke),y(e)._overflowWeekday&&-1===t&&(t=Je),y(e).overflow=t),e}
885
+ t=mn(e))return t;e=[e]}return fn(e)}function wn(){return x(un)}function _n(e){var t,n=e._a;return n&&-2===y(e).overflow&&(t=n[We]<0||n[We]>11?We:n[Ve]<1||n[Ve]>et(n[je],n[We])?Ve:n[ze]<0||n[ze]>24||24===n[ze]&&(0!==n[Ze]||0!==n[Xe]||0!==n[qe])?ze:n[Ze]<0||n[Ze]>59?Ze:n[Xe]<0||n[Xe]>59?Xe:n[qe]<0||n[qe]>999?qe:-1,y(e)._overflowDayOfYear&&(t<je||t>Ve)&&(t=Ve),y(e)._overflowWeeks&&-1===t&&(t=Ke),y(e)._overflowWeekday&&-1===t&&(t=Je),y(e).overflow=t),e}
890
886
  // iso 8601 regex
891
887
  // 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)
892
888
  var 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=/^\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)?/,Mn=[["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]],
@@ -897,15 +893,15 @@ Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|J
897
893
  // date from iso format
898
894
  function Pn(e){var t,n,r,i,o,s,a=e._i,l=En.exec(a)||Sn.exec(a),u=Mn.length,c=xn.length;if(l){for(y(e).iso=!0,t=0,n=u;t<n;t++)if(Mn[t][1].exec(l[1])){i=Mn[t][0],r=!1!==Mn[t][2];break}if(null==i)return void(e._isValid=!1);if(l[3]){for(t=0,n=c;t<n;t++)if(xn[t][1].exec(l[3])){
899
895
  // match[2] should be 'T' or space
900
- 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 Bn(e,t,n,r,i,o){var s=[Hn(e),nt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&s.push(parseInt(o,10)),s}function Hn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Fn(e){
896
+ 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 Hn(e,t,n,r,i,o){var s=[Fn(e),nt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&s.push(parseInt(o,10)),s}function Fn(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function An(e){
901
897
  // Remove comments and folding whitespace and replace multiple-spaces with a single space
902
- return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function An(e,t,n){return!e||Nt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(y(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Nn(e,t,n){if(e)return On[e];if(t)
898
+ return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Cn(e,t,n){return!e||Bt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(y(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Bn(e,t,n){if(e)return On[e];if(t)
903
899
  // the only allowed military tz is Z
904
900
  return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}
905
901
  // date and time from ref 2822 format
906
- function Cn(e){var t,n=Dn.exec(Fn(e._i));if(n){if(t=Bn(n[4],n[3],n[2],n[5],n[6],n[7]),!An(n[1],t,e))return;e._a=t,e._tzm=Nn(n[8],n[9],n[10]),e._d=bt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}
902
+ function Nn(e){var t,n=Dn.exec(An(e._i));if(n){if(t=Hn(n[4],n[3],n[2],n[5],n[6],n[7]),!Cn(n[1],t,e))return;e._a=t,e._tzm=Bn(n[8],n[9],n[10]),e._d=wt.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),y(e).rfc2822=!0}else e._isValid=!1}
907
903
  // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
908
- function Ln(e){var t=kn.exec(e._i);null===t?(Pn(e),!1===e._isValid&&(delete e._isValid,Cn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
904
+ function Ln(e){var t=kn.exec(e._i);null===t?(Pn(e),!1===e._isValid&&(delete e._isValid,Nn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
909
905
  // Final attempt, use Input Fallback
910
906
  r.createFromInputFallback(e)))):e._d=new Date(+t[1])}
911
907
  // Pick the first defined of two or three arguments.
@@ -926,11 +922,11 @@ for(r=In(e),
926
922
  //compute day of the year from weeks and weekdays
927
923
  e._w&&null==e._a[Ve]&&null==e._a[We]&&Yn(e),
928
924
  //if the day of the year is set, figure out what it is
929
- null!=e._dayOfYear&&(o=Rn(e._a[je],r[je]),(e._dayOfYear>yt(o)||0===e._dayOfYear)&&(y(e)._overflowDayOfYear=!0),n=bt(o,0,e._dayOfYear),e._a[We]=n.getUTCMonth(),e._a[Ve]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];
925
+ null!=e._dayOfYear&&(o=Rn(e._a[je],r[je]),(e._dayOfYear>yt(o)||0===e._dayOfYear)&&(y(e)._overflowDayOfYear=!0),n=wt(o,0,e._dayOfYear),e._a[We]=n.getUTCMonth(),e._a[Ve]=n.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=r[t];
930
926
  // Zero out whatever was not defaulted, including time
931
927
  for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];
932
928
  // Check for 24:00:00.000
933
- 24===e._a[ze]&&0===e._a[Ze]&&0===e._a[Xe]&&0===e._a[qe]&&(e._nextDay=!0,e._a[ze]=0),e._d=(e._useUTC?bt:wt).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),
929
+ 24===e._a[ze]&&0===e._a[Ze]&&0===e._a[Xe]&&0===e._a[qe]&&(e._nextDay=!0,e._a[ze]=0),e._d=(e._useUTC?wt:vt).apply(null,s),i=e._useUTC?e._d.getUTCDay():e._d.getDay(),
934
930
  // Apply timezone offset from input. The actual utcOffset can be changed
935
931
  // with parseZone.
936
932
  null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[ze]=24),
@@ -955,7 +951,7 @@ function Un(e){
955
951
  // TODO: Move this to another part of the creation flow to prevent circular deps
956
952
  if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],y(e).empty=!0;
957
953
  // This array is used to make a Date, either with `new Date` or `Date.UTC`
958
- var t,n,i,o,s,a,l,u=""+e._i,c=u.length,h=0;for(l=(i=j(e._f,e._locale).match(C)||[]).length,t=0;t<l;t++)o=i[t],(n=(u.match(Ce(o,e))||[])[0])&&((s=u.substr(0,u.indexOf(n))).length>0&&y(e).unusedInput.push(s),u=u.slice(u.indexOf(n)+n.length),h+=n.length),
954
+ var t,n,i,o,s,a,l,u=""+e._i,c=u.length,h=0;for(l=(i=j(e._f,e._locale).match(N)||[]).length,t=0;t<l;t++)o=i[t],(n=(u.match(Ne(o,e))||[])[0])&&((s=u.substr(0,u.indexOf(n))).length>0&&y(e).unusedInput.push(s),u=u.slice(u.indexOf(n)+n.length),h+=n.length),
959
955
  // don't parse if it's not a known token
960
956
  I[o]?(n?y(e).empty=!1:y(e).unusedTokens.push(o),Ue(o,n,e)):e._strict&&!n&&y(e).unusedTokens.push(o);
961
957
  // add remaining unparsed input length to the string
@@ -965,7 +961,7 @@ e._a[ze]<=12&&!0===y(e).bigHour&&e._a[ze]>0&&(y(e).bigHour=void 0),y(e).parsedDa
965
961
  // handle meridiem
966
962
  e._a[ze]=Gn(e._locale,e._a[ze],e._meridiem),null!==(
967
963
  // handle era
968
- a=y(e).era)&&(e._a[je]=e._locale.erasConvertYear(a,e._a[je])),$n(e),_n(e)}else Cn(e);else Pn(e)}function Gn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(
964
+ a=y(e).era)&&(e._a[je]=e._locale.erasConvertYear(a,e._a[je])),$n(e),_n(e)}else Nn(e);else Pn(e)}function Gn(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(
969
965
  // Fallback
970
966
  (r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}
971
967
  // date from string and array of format strings
@@ -975,14 +971,14 @@ o+=y(t).charsLeftOver,
975
971
  //or tokens
976
972
  o+=10*y(t).unusedTokens.length,y(t).score=o,a?o<r&&(r=o,n=t):(null==r||o<r||s)&&(r=o,n=t,s&&(a=!0));f(e,n||t)}function Wn(e){if(!e._d){var t=ie(e._i),n=void 0===t.day?t.date:t.day;e._a=d([t.year,t.month,n,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),$n(e)}}function Vn(e){var t=new E(_n(zn(e)));return t._nextDay&&(
977
973
  // Adding is smart enough around DST
978
- t.add(1,"d"),t._nextDay=void 0),t}function zn(e){var t=e._i,n=e._f;return e._locale=e._locale||wn(e._l),null===t||void 0===n&&""===t?v({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),S(t)?new E(_n(t)):(h(t)?e._d=t:o(n)?jn(e):n?Un(e):Zn(e),g(e)||(e._d=null),e))}function Zn(e){var t=e._i;u(t)?e._d=new Date(r.now()):h(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Ln(e):o(t)?(e._a=d(t.slice(0),(function(e){return parseInt(e,10)})),$n(e)):s(t)?Wn(e):c(t)?
974
+ t.add(1,"d"),t._nextDay=void 0),t}function zn(e){var t=e._i,n=e._f;return e._locale=e._locale||vn(e._l),null===t||void 0===n&&""===t?b({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),S(t)?new E(_n(t)):(h(t)?e._d=t:o(n)?jn(e):n?Un(e):Zn(e),g(e)||(e._d=null),e))}function Zn(e){var t=e._i;u(t)?e._d=new Date(r.now()):h(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Ln(e):o(t)?(e._a=d(t.slice(0),(function(e){return parseInt(e,10)})),$n(e)):s(t)?Wn(e):c(t)?
979
975
  // from milliseconds
980
976
  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),
981
977
  // object construction must be done this way.
982
978
  // https://github.com/moment/moment/issues/1423
983
979
  a._isAMomentObject=!0,a._useUTC=a._isUTC=i,a._l=n,a._i=e,a._f=t,a._strict=r,Vn(a)}function qn(e,t,n,r){return Xn(e,t,n,r,!1)}r.createFromInputFallback=M("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(){},
984
980
  // constant that refers to the RFC 2822 form
985
- r.RFC_2822=function(){};var Kn=M("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=qn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:v()})),Jn=M("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=qn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:v()}));
981
+ r.RFC_2822=function(){};var Kn=M("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=qn.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:b()})),Jn=M("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=qn.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:b()}));
986
982
  // Pick a moment m from moments so that m[fn](other) is true for all
987
983
  // other. This relies on the function fn to be transitive.
988
984
 
@@ -1002,13 +998,13 @@ this._days=+s+7*o,
1002
998
  // It is impossible to translate months into days without knowing
1003
999
  // which months you are are talking about, so we have to store
1004
1000
  // it separately.
1005
- this._months=+i+3*r+12*n,this._data={},this._locale=wn(),this._bubble()}function lr(e){return e instanceof ar}function ur(e){return e<0?-1*Math.round(-1*e):Math.round(e)}
1001
+ this._months=+i+3*r+12*n,this._data={},this._locale=vn(),this._bubble()}function lr(e){return e instanceof ar}function ur(e){return e<0?-1*Math.round(-1*e):Math.round(e)}
1006
1002
  // compare two arrays, return the number of differences
1007
1003
  function cr(e,t,n){var r,i=Math.min(e.length,t.length),o=Math.abs(e.length-t.length),s=0;for(r=0;r<i;r++)(n&&e[r]!==t[r]||!n&&ce(e[r])!==ce(t[r]))&&s++;return s+o}
1008
1004
  // FORMATTING
1009
- function hr(e,t){$(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+N(~~(e/60),2)+t+N(~~e%60,2)}))}hr("Z",":"),hr("ZZ",""),
1005
+ function hr(e,t){$(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+B(~~(e/60),2)+t+B(~~e%60,2)}))}hr("Z",":"),hr("ZZ",""),
1010
1006
  // PARSING
1011
- Ne("Z",He),Ne("ZZ",He),$e(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=fr(He,e)}));
1007
+ Be("Z",Fe),Be("ZZ",Fe),$e(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=fr(Fe,e)}));
1012
1008
  // HELPERS
1013
1009
  // timezone chunker
1014
1010
  // '+10:00' > ['10', '00']
@@ -1034,7 +1030,7 @@ return-Math.round(e._d.getTimezoneOffset())}
1034
1030
  // a second time. In case it wants us to change the offset again
1035
1031
  // _changeInProgress == true case, then we have to adjust, because
1036
1032
  // there is no such time in the given timezone.
1037
- function yr(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(He,e)))return this}else Math.abs(e)<16&&!n&&(e*=60);return!this._isUTC&&t&&(i=mr(this)),this._offset=e,this._isUTC=!0,null!=i&&this.add(i,"m"),o!==e&&(!t||this._changeInProgress?Ar(this,Or(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:mr(this)}function gr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function vr(e){return this.utcOffset(0,e)}function wr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(mr(this),"m")),this}function br(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=fr(Be,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function _r(e){return!!this.isValid()&&(e=e?qn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function Er(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Sr(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return _(t,this),(t=zn(t))._a?(e=t._isUTC?p(t._a):qn(t._a),this._isDSTShifted=this.isValid()&&cr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Tr(){return!!this.isValid()&&!this._isUTC}function Mr(){return!!this.isValid()&&this._isUTC}function xr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
1033
+ function yr(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(Fe,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?Cr(this,Or(e-o,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,r.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?o:mr(this)}function gr(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function br(e){return this.utcOffset(0,e)}function vr(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(mr(this),"m")),this}function wr(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=fr(He,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function _r(e){return!!this.isValid()&&(e=e?qn(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function Er(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function Sr(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return _(t,this),(t=zn(t))._a?(e=t._isUTC?p(t._a):qn(t._a),this._isDSTShifted=this.isValid()&&cr(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Tr(){return!!this.isValid()&&!this._isUTC}function Mr(){return!!this.isValid()&&this._isUTC}function xr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
1038
1034
  // ASP.NET json date format regex
1039
1035
  r.updateOffset=function(){};var kr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
1040
1036
  // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
@@ -1044,17 +1040,17 @@ Dr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:(
1044
1040
  // matching against regexp is expensive, do it on demand
1045
1041
  s=null;return lr(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(s=kr.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:ce(s[Ve])*n,h:ce(s[ze])*n,m:ce(s[Ze])*n,s:ce(s[Xe])*n,ms:ce(ur(1e3*s[qe]))*n}):(s=Dr.exec(e))?(n="-"===s[1]?-1:1,o={y:Pr(s[2],n),M:Pr(s[3],n),w:Pr(s[4],n),d:Pr(s[5],n),h:Pr(s[6],n),m:Pr(s[7],n),s:Pr(s[8],n)}):null==o?
1046
1042
  // checks for null or undefined
1047
- o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Hr(qn(o.from),qn(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 Pr(e,t){
1043
+ o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Fr(qn(o.from),qn(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 Pr(e,t){
1048
1044
  // We'd normally use ~~inp for this, but unfortunately it also
1049
1045
  // converts floats to ints.
1050
1046
  // inp may be undefined, so careful calling replace on it.
1051
1047
  var n=e&&parseFloat(e.replace(",","."));
1052
1048
  // apply sign while we're at it
1053
- return(isNaN(n)?0:n)*t}function Br(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Hr(e,t){var n;return e.isValid()&&t.isValid()?(t=pr(t,e),e.isBefore(t)?n=Br(e,t):((n=Br(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}
1049
+ return(isNaN(n)?0:n)*t}function Hr(e,t){var n={};return n.months=t.month()-e.month()+12*(t.year()-e.year()),e.clone().add(n.months,"M").isAfter(t)&&--n.months,n.milliseconds=+t-+e.clone().add(n.months,"M"),n}function Fr(e,t){var n;return e.isValid()&&t.isValid()?(t=pr(t,e),e.isBefore(t)?n=Hr(e,t):((n=Hr(t,e)).milliseconds=-n.milliseconds,n.months=-n.months),n):{milliseconds:0,months:0}}
1054
1050
  // TODO: remove 'name' arg after deprecation is removed
1055
- function Fr(e,t){return function(n,r){var i;
1051
+ function Ar(e,t){return function(n,r){var i;
1056
1052
  //invert the arguments, but complain about it
1057
- 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),Ar(this,Or(n,r),e),this}}function Ar(e,t,n,i){var o=t._milliseconds,s=ur(t._days),a=ur(t._months);e.isValid()&&(i=null==i||i,a&&ct(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))}Or.fn=ar.prototype,Or.invalid=sr;var Nr=Fr(1,"add"),Cr=Fr(-1,"subtract");function Lr(e){return"string"==typeof e||e instanceof String}
1053
+ 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),Cr(this,Or(n,r),e),this}}function Cr(e,t,n,i){var o=t._milliseconds,s=ur(t._days),a=ur(t._months);e.isValid()&&(i=null==i||i,a&&ct(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))}Or.fn=ar.prototype,Or.invalid=sr;var Br=Ar(1,"add"),Nr=Ar(-1,"subtract");function Lr(e){return"string"==typeof e||e instanceof String}
1058
1054
  // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
1059
1055
  function Rr(e){return S(e)||h(e)||Lr(e)||c(e)||$r(e)||Ir(e)||null==e}function Ir(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"],u=o.length;for(t=0;t<u;t+=1)n=o[t],i=i||a(e,n);return r&&i}function $r(e){var t=o(e),n=!1;return t&&(n=0===e.filter((function(t){return!c(t)&&Lr(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){
1060
1056
  // Support for single parameter, formats only overload to the calendar function
@@ -1087,54 +1083,54 @@ t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).t
1087
1083
  // If passed a locale key, it will set the locale for this
1088
1084
  // instance. Otherwise, it will return the locale configuration
1089
1085
  // variables for this instance.
1090
- function ai(e){var t;return void 0===e?this._locale._abbr:(null!=(t=wn(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var li=M("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 ui(){return this._locale}var ci=1e3,hi=60*ci,di=60*hi,fi=3506328*di;
1086
+ function ai(e){var t;return void 0===e?this._locale._abbr:(null!=(t=vn(e))&&(this._locale=t),this)}r.defaultFormat="YYYY-MM-DDTHH:mm:ssZ",r.defaultFormatUtc="YYYY-MM-DDTHH:mm:ss[Z]";var li=M("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 ui(){return this._locale}var ci=1e3,hi=60*ci,di=60*hi,fi=3506328*di;
1091
1087
  // actual modulo - handles negative numbers (for dates before 1970):
1092
1088
  function pi(e,t){return(e%t+t)%t}function mi(e,t,n){
1093
1089
  // the date constructor remaps years 0-99 to 1900-1999
1094
1090
  return e<100&&e>=0?new Date(e+400,t,n)-fi:new Date(e,t,n).valueOf()}function yi(e,t,n){
1095
1091
  // Date.UTC remaps years 0-99 to 1900-1999
1096
- return e<100&&e>=0?Date.UTC(e+400,t,n)-fi:Date.UTC(e,t,n)}function gi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?yi: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,ci)}return this._d.setTime(t),r.updateOffset(this,!0),this}function vi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?yi: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+=ci-pi(t,ci)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function wi(){return this._d.valueOf()-6e4*(this._offset||0)}function bi(){return Math.floor(this.valueOf()/1e3)}function _i(){return new Date(this.valueOf())}function Ei(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Si(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Ti(){
1092
+ return e<100&&e>=0?Date.UTC(e+400,t,n)-fi:Date.UTC(e,t,n)}function gi(e){var t,n;if(void 0===(e=re(e))||"millisecond"===e||!this.isValid())return this;switch(n=this._isUTC?yi: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,ci)}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?yi: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+=ci-pi(t,ci)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function vi(){return this._d.valueOf()-6e4*(this._offset||0)}function wi(){return Math.floor(this.valueOf()/1e3)}function _i(){return new Date(this.valueOf())}function Ei(){var e=this;return[e.year(),e.month(),e.date(),e.hour(),e.minute(),e.second(),e.millisecond()]}function Si(){var e=this;return{years:e.year(),months:e.month(),date:e.date(),hours:e.hours(),minutes:e.minutes(),seconds:e.seconds(),milliseconds:e.milliseconds()}}function Ti(){
1097
1093
  // new Date(NaN).toJSON() === null
1098
- return this.isValid()?this.toISOString():null}function Mi(){return g(this)}function xi(){return f({},y(this))}function ki(){return y(this).overflow}function Di(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Oi(e,t){var n,i,o,s=this._eras||wn("en")._eras;for(n=0,i=s.length;n<i;++n)switch("string"==typeof s[n].since&&(
1094
+ return this.isValid()?this.toISOString():null}function Mi(){return g(this)}function xi(){return f({},y(this))}function ki(){return y(this).overflow}function Di(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}}function Oi(e,t){var n,i,o,s=this._eras||vn("en")._eras;for(n=0,i=s.length;n<i;++n)switch("string"==typeof s[n].since&&(
1099
1095
  // truncate time
1100
1096
  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":
1101
1097
  // truncate time
1102
- o=r(s[n].until).startOf("day").valueOf(),s[n].until=o.valueOf()}return s}function Pi(e,t,n){var r,i,o,s,a,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(o=l[r].name.toUpperCase(),s=l[r].abbr.toUpperCase(),a=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(a===e)return l[r]}else if([o,s,a].indexOf(e)>=0)return l[r]}function Bi(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function Hi(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1098
+ o=r(s[n].until).startOf("day").valueOf(),s[n].until=o.valueOf()}return s}function Pi(e,t,n){var r,i,o,s,a,l=this.eras();for(e=e.toUpperCase(),r=0,i=l.length;r<i;++r)if(o=l[r].name.toUpperCase(),s=l[r].abbr.toUpperCase(),a=l[r].narrow.toUpperCase(),n)switch(t){case"N":case"NN":case"NNN":if(s===e)return l[r];break;case"NNNN":if(o===e)return l[r];break;case"NNNNN":if(a===e)return l[r]}else if([o,s,a].indexOf(e)>=0)return l[r]}function Hi(e,t){var n=e.since<=e.until?1:-1;return void 0===t?r(e.since).year():r(e.since).year()+(t-e.offset)*n}function Fi(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1103
1099
  // truncate time
1104
- n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function Fi(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1100
+ n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].name;if(r[e].until<=n&&n<=r[e].since)return r[e].name}return""}function Ai(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1105
1101
  // truncate time
1106
- n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Ai(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1102
+ n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].narrow;if(r[e].until<=n&&n<=r[e].since)return r[e].narrow}return""}function Ci(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1107
1103
  // truncate time
1108
- 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 Ni(){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,
1104
+ n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e].abbr;if(r[e].until<=n&&n<=r[e].since)return r[e].abbr}return""}function Bi(){var e,t,n,i,o=this.localeData().eras();for(e=0,t=o.length;e<t;++e)if(n=o[e].since<=o[e].until?1:-1,
1109
1105
  // truncate time
1110
- 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 Ci(e){return a(this,"_erasNameRegex")||Gi.call(this),e?this._erasNameRegex:this._erasRegex}function Li(e){return a(this,"_erasAbbrRegex")||Gi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ri(e){return a(this,"_erasNarrowRegex")||Gi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ii(e,t){return t.erasAbbrRegex(e)}function $i(e,t){return t.erasNameRegex(e)}function Yi(e,t){return t.erasNarrowRegex(e)}function Ui(e,t){return t._eraYearOrdinalRegex||Oe}function Gi(){var e,t,n=[],r=[],i=[],o=[],s=this.eras();for(e=0,t=s.length;e<t;++e)r.push(Re(s[e].name)),n.push(Re(s[e].abbr)),i.push(Re(s[e].narrow)),o.push(Re(s[e].name)),o.push(Re(s[e].abbr)),o.push(Re(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")}
1106
+ 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 Ni(e){return a(this,"_erasNameRegex")||Gi.call(this),e?this._erasNameRegex:this._erasRegex}function Li(e){return a(this,"_erasAbbrRegex")||Gi.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ri(e){return a(this,"_erasNarrowRegex")||Gi.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ii(e,t){return t.erasAbbrRegex(e)}function $i(e,t){return t.erasNameRegex(e)}function Yi(e,t){return t.erasNarrowRegex(e)}function Ui(e,t){return t._eraYearOrdinalRegex||Oe}function Gi(){var e,t,n=[],r=[],i=[],o=[],s=this.eras();for(e=0,t=s.length;e<t;++e)r.push(Re(s[e].name)),n.push(Re(s[e].abbr)),i.push(Re(s[e].narrow)),o.push(Re(s[e].name)),o.push(Re(s[e].abbr)),o.push(Re(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")}
1111
1107
  // FORMATTING
1112
1108
  function ji(e,t){$(0,[e,e.length],0,t)}
1113
1109
  // MOMENTS
1114
- function Wi(e){return Ki.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Vi(e){return Ki.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function 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 qi(){var e=this.localeData()._week;return Tt(this.weekYear(),e.dow,e.doy)}function Ki(e,t,n,r,i){var o;return null==e?St(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=Et(e,t,n,r,i),s=bt(o.year,0,o.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}
1110
+ function Wi(e){return Ki.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Vi(e){return Ki.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function 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 qi(){var e=this.localeData()._week;return Tt(this.weekYear(),e.dow,e.doy)}function Ki(e,t,n,r,i){var o;return null==e?St(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=Et(e,t,n,r,i),s=wt(o.year,0,o.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}
1115
1111
  // FORMATTING
1116
1112
  // MOMENTS
1117
1113
  function Qi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}
1118
1114
  // FORMATTING
1119
- $("N",0,0,"eraAbbr"),$("NN",0,0,"eraAbbr"),$("NNN",0,0,"eraAbbr"),$("NNNN",0,0,"eraName"),$("NNNNN",0,0,"eraNarrow"),$("y",["y",1],"yo","eraYear"),$("y",["yy",2],0,"eraYear"),$("y",["yyy",3],0,"eraYear"),$("y",["yyyy",4],0,"eraYear"),Ne("N",Ii),Ne("NN",Ii),Ne("NNN",Ii),Ne("NNNN",$i),Ne("NNNNN",Yi),$e(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?y(n).era=i:y(n).invalidEra=e})),Ne("y",Oe),Ne("yy",Oe),Ne("yyy",Oe),Ne("yyyy",Oe),Ne("yo",Ui),$e(["y","yy","yyy","yyyy"],je),$e(["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)})),$(0,["gg",2],0,(function(){return this.weekYear()%100})),$(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ji("gggg","weekYear"),ji("ggggg","weekYear"),ji("GGGG","isoWeekYear"),ji("GGGGG","isoWeekYear"),
1115
+ $("N",0,0,"eraAbbr"),$("NN",0,0,"eraAbbr"),$("NNN",0,0,"eraAbbr"),$("NNNN",0,0,"eraName"),$("NNNNN",0,0,"eraNarrow"),$("y",["y",1],"yo","eraYear"),$("y",["yy",2],0,"eraYear"),$("y",["yyy",3],0,"eraYear"),$("y",["yyyy",4],0,"eraYear"),Be("N",Ii),Be("NN",Ii),Be("NNN",Ii),Be("NNNN",$i),Be("NNNNN",Yi),$e(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,n,r){var i=n._locale.erasParse(e,r,n._strict);i?y(n).era=i:y(n).invalidEra=e})),Be("y",Oe),Be("yy",Oe),Be("yyy",Oe),Be("yyyy",Oe),Be("yo",Ui),$e(["y","yy","yyy","yyyy"],je),$e(["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)})),$(0,["gg",2],0,(function(){return this.weekYear()%100})),$(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ji("gggg","weekYear"),ji("ggggg","weekYear"),ji("GGGG","isoWeekYear"),ji("GGGGG","isoWeekYear"),
1120
1116
  // ALIASES
1121
1117
  ne("weekYear","gg"),ne("isoWeekYear","GG"),
1122
1118
  // PRIORITY
1123
1119
  se("weekYear",1),se("isoWeekYear",1),
1124
1120
  // PARSING
1125
- Ne("G",Pe),Ne("g",Pe),Ne("GG",Se,we),Ne("gg",Se,we),Ne("GGGG",ke,_e),Ne("gggg",ke,_e),Ne("GGGGG",De,Ee),Ne("ggggg",De,Ee),Ye(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=ce(e)})),Ye(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),$("Q",0,"Qo","quarter"),
1121
+ Be("G",Pe),Be("g",Pe),Be("GG",Se,ve),Be("gg",Se,ve),Be("GGGG",ke,_e),Be("gggg",ke,_e),Be("GGGGG",De,Ee),Be("ggggg",De,Ee),Ye(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=ce(e)})),Ye(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),$("Q",0,"Qo","quarter"),
1126
1122
  // ALIASES
1127
1123
  ne("quarter","Q"),
1128
1124
  // PRIORITY
1129
1125
  se("quarter",7),
1130
1126
  // PARSING
1131
- Ne("Q",ve),$e("Q",(function(e,t){t[We]=3*(ce(e)-1)})),$("D",["DD",2],"Do","date"),
1127
+ Be("Q",be),$e("Q",(function(e,t){t[We]=3*(ce(e)-1)})),$("D",["DD",2],"Do","date"),
1132
1128
  // ALIASES
1133
1129
  ne("date","D"),
1134
1130
  // PRIORITY
1135
1131
  se("date",9),
1136
1132
  // PARSING
1137
- Ne("D",Se),Ne("DD",Se,we),Ne("Do",(function(e,t){
1133
+ Be("D",Se),Be("DD",Se,ve),Be("Do",(function(e,t){
1138
1134
  // TODO: Remove "ordinalParse" fallback in next major release.
1139
1135
  return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),$e(["D","DD"],Ve),$e("Do",(function(e,t){t[Ve]=ce(e.match(Se)[0])}));
1140
1136
  // MOMENTS
@@ -1150,13 +1146,13 @@ ne("dayOfYear","DDD"),
1150
1146
  // PRIORITY
1151
1147
  se("dayOfYear",4),
1152
1148
  // PARSING
1153
- Ne("DDD",xe),Ne("DDDD",be),$e(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ce(e)})),$("m",["mm",2],0,"minute"),
1149
+ Be("DDD",xe),Be("DDDD",we),$e(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=ce(e)})),$("m",["mm",2],0,"minute"),
1154
1150
  // ALIASES
1155
1151
  ne("minute","m"),
1156
1152
  // PRIORITY
1157
1153
  se("minute",14),
1158
1154
  // PARSING
1159
- Ne("m",Se),Ne("mm",Se,we),$e(["m","mm"],Ze);
1155
+ Be("m",Se),Be("mm",Se,ve),$e(["m","mm"],Ze);
1160
1156
  // MOMENTS
1161
1157
  var no=he("Minutes",!1);
1162
1158
  // FORMATTING
@@ -1166,7 +1162,7 @@ ne("second","s"),
1166
1162
  // PRIORITY
1167
1163
  se("second",15),
1168
1164
  // PARSING
1169
- Ne("s",Se),Ne("ss",Se,we),$e(["s","ss"],Xe);
1165
+ Be("s",Se),Be("ss",Se,ve),$e(["s","ss"],Xe);
1170
1166
  // MOMENTS
1171
1167
  var ro,io,oo=he("Seconds",!1);
1172
1168
  // FORMATTING
@@ -1176,11 +1172,11 @@ ne("millisecond","ms"),
1176
1172
  // PRIORITY
1177
1173
  se("millisecond",16),
1178
1174
  // PARSING
1179
- Ne("S",xe,ve),Ne("SS",xe,we),Ne("SSS",xe,be),ro="SSSS";ro.length<=9;ro+="S")Ne(ro,Oe);function so(e,t){t[qe]=ce(1e3*("0."+e))}for(ro="S";ro.length<=9;ro+="S")$e(ro,so);
1175
+ Be("S",xe,be),Be("SS",xe,ve),Be("SSS",xe,we),ro="SSSS";ro.length<=9;ro+="S")Be(ro,Oe);function so(e,t){t[qe]=ce(1e3*("0."+e))}for(ro="S";ro.length<=9;ro+="S")$e(ro,so);
1180
1176
  // MOMENTS
1181
1177
  function ao(){return this._isUTC?"UTC":""}function lo(){return this._isUTC?"Coordinated Universal Time":""}io=he("Milliseconds",!1),
1182
1178
  // FORMATTING
1183
- $("z",0,0,"zoneAbbr"),$("zz",0,0,"zoneName");var uo=E.prototype;function co(e){return qn(1e3*e)}function ho(){return qn.apply(null,arguments).parseZone()}function fo(e){return e}uo.add=Nr,uo.calendar=Gr,uo.clone=jr,uo.diff=Kr,uo.endOf=vi,uo.format=ni,uo.from=ri,uo.fromNow=ii,uo.to=oi,uo.toNow=si,uo.get=pe,uo.invalidAt=ki,uo.isAfter=Wr,uo.isBefore=Vr,uo.isBetween=zr,uo.isSame=Zr,uo.isSameOrAfter=Xr,uo.isSameOrBefore=qr,uo.isValid=Mi,uo.lang=li,uo.locale=ai,uo.localeData=ui,uo.max=Jn,uo.min=Kn,uo.parsingFlags=xi,uo.set=me,uo.startOf=gi,uo.subtract=Cr,uo.toArray=Ei,uo.toObject=Si,uo.toDate=_i,uo.toISOString=ei,uo.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(uo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),uo.toJSON=Ti,uo.toString=Qr,uo.unix=bi,uo.valueOf=wi,uo.creationData=Di,uo.eraName=Hi,uo.eraNarrow=Fi,uo.eraAbbr=Ai,uo.eraYear=Ni,uo.year=gt,uo.isLeapYear=vt,uo.weekYear=Wi,uo.isoWeekYear=Vi,uo.quarter=uo.quarters=Qi,uo.month=ht,uo.daysInMonth=dt,uo.week=uo.weeks=Ot,uo.isoWeek=uo.isoWeeks=Pt,uo.weeksInYear=Xi,uo.weeksInWeekYear=qi,uo.isoWeeksInYear=zi,uo.isoWeeksInISOWeekYear=Zi,uo.date=eo,uo.day=uo.days=Wt,uo.weekday=Vt,uo.isoWeekday=zt,uo.dayOfYear=to,uo.hour=uo.hours=on,uo.minute=uo.minutes=no,uo.second=uo.seconds=oo,uo.millisecond=uo.milliseconds=io,uo.utcOffset=yr,uo.utc=vr,uo.local=wr,uo.parseZone=br,uo.hasAlignedHourOffset=_r,uo.isDST=Er,uo.isLocal=Tr,uo.isUtcOffset=Mr,uo.isUtc=xr,uo.isUTC=xr,uo.zoneAbbr=ao,uo.zoneName=lo,uo.dates=M("dates accessor is deprecated. Use date instead.",eo),uo.months=M("months accessor is deprecated. Use month instead",ht),uo.years=M("years accessor is deprecated. Use year instead",gt),uo.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gr),uo.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sr);var po=H.prototype;function mo(e,t,n,r){var i=wn(),o=p().set(r,t);return i[n](o,e)}function yo(e,t,n){if(c(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}
1179
+ $("z",0,0,"zoneAbbr"),$("zz",0,0,"zoneName");var uo=E.prototype;function co(e){return qn(1e3*e)}function ho(){return qn.apply(null,arguments).parseZone()}function fo(e){return e}uo.add=Br,uo.calendar=Gr,uo.clone=jr,uo.diff=Kr,uo.endOf=bi,uo.format=ni,uo.from=ri,uo.fromNow=ii,uo.to=oi,uo.toNow=si,uo.get=me,uo.invalidAt=ki,uo.isAfter=Wr,uo.isBefore=Vr,uo.isBetween=zr,uo.isSame=Zr,uo.isSameOrAfter=Xr,uo.isSameOrBefore=qr,uo.isValid=Mi,uo.lang=li,uo.locale=ai,uo.localeData=ui,uo.max=Jn,uo.min=Kn,uo.parsingFlags=xi,uo.set=ye,uo.startOf=gi,uo.subtract=Nr,uo.toArray=Ei,uo.toObject=Si,uo.toDate=_i,uo.toISOString=ei,uo.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(uo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),uo.toJSON=Ti,uo.toString=Qr,uo.unix=wi,uo.valueOf=vi,uo.creationData=Di,uo.eraName=Fi,uo.eraNarrow=Ai,uo.eraAbbr=Ci,uo.eraYear=Bi,uo.year=gt,uo.isLeapYear=bt,uo.weekYear=Wi,uo.isoWeekYear=Vi,uo.quarter=uo.quarters=Qi,uo.month=ht,uo.daysInMonth=dt,uo.week=uo.weeks=Ot,uo.isoWeek=uo.isoWeeks=Pt,uo.weeksInYear=Xi,uo.weeksInWeekYear=qi,uo.isoWeeksInYear=zi,uo.isoWeeksInISOWeekYear=Zi,uo.date=eo,uo.day=uo.days=Wt,uo.weekday=Vt,uo.isoWeekday=zt,uo.dayOfYear=to,uo.hour=uo.hours=on,uo.minute=uo.minutes=no,uo.second=uo.seconds=oo,uo.millisecond=uo.milliseconds=io,uo.utcOffset=yr,uo.utc=br,uo.local=vr,uo.parseZone=wr,uo.hasAlignedHourOffset=_r,uo.isDST=Er,uo.isLocal=Tr,uo.isUtcOffset=Mr,uo.isUtc=xr,uo.isUTC=xr,uo.zoneAbbr=ao,uo.zoneName=lo,uo.dates=M("dates accessor is deprecated. Use date instead.",eo),uo.months=M("months accessor is deprecated. Use month instead",ht),uo.years=M("years accessor is deprecated. Use year instead",gt),uo.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gr),uo.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sr);var po=F.prototype;function mo(e,t,n,r){var i=vn(),o=p().set(r,t);return i[n](o,e)}function yo(e,t,n){if(c(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}
1184
1180
  // ()
1185
1181
  // (5)
1186
1182
  // (fmt, 5)
@@ -1189,34 +1185,34 @@ $("z",0,0,"zoneAbbr"),$("zz",0,0,"zoneName");var uo=E.prototype;function co(e){r
1189
1185
  // (true, 5)
1190
1186
  // (true, fmt, 5)
1191
1187
  // (true, fmt)
1192
- function go(e,t,n,r){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var i,o=wn(),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 vo(e,t){return yo(e,t,"months")}function wo(e,t){return yo(e,t,"monthsShort")}function bo(e,t,n){return go(e,t,n,"weekdays")}function _o(e,t,n){return go(e,t,n,"weekdaysShort")}function Eo(e,t,n){return go(e,t,n,"weekdaysMin")}po.calendar=A,po.longDateFormat=V,po.invalidDate=Z,po.ordinal=K,po.preparse=fo,po.postformat=fo,po.relativeTime=Q,po.pastFuture=ee,po.set=P,po.eras=Oi,po.erasParse=Pi,po.erasConvertYear=Bi,po.erasAbbrRegex=Li,po.erasNameRegex=Ci,po.erasNarrowRegex=Ri,po.months=st,po.monthsShort=at,po.monthsParse=ut,po.monthsRegex=pt,po.monthsShortRegex=ft,po.week=Mt,po.firstDayOfYear=Dt,po.firstDayOfWeek=kt,po.weekdays=$t,po.weekdaysMin=Ut,po.weekdaysShort=Yt,po.weekdaysParse=jt,po.weekdaysRegex=Zt,po.weekdaysShortRegex=Xt,po.weekdaysMinRegex=qt,po.isPM=nn,po.meridiem=sn,yn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ce(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
1188
+ function go(e,t,n,r){"boolean"==typeof e?(c(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,c(t)&&(n=t,t=void 0),t=t||"");var i,o=vn(),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 yo(e,t,"months")}function vo(e,t){return yo(e,t,"monthsShort")}function wo(e,t,n){return go(e,t,n,"weekdays")}function _o(e,t,n){return go(e,t,n,"weekdaysShort")}function Eo(e,t,n){return go(e,t,n,"weekdaysMin")}po.calendar=C,po.longDateFormat=V,po.invalidDate=Z,po.ordinal=K,po.preparse=fo,po.postformat=fo,po.relativeTime=Q,po.pastFuture=ee,po.set=P,po.eras=Oi,po.erasParse=Pi,po.erasConvertYear=Hi,po.erasAbbrRegex=Li,po.erasNameRegex=Ni,po.erasNarrowRegex=Ri,po.months=st,po.monthsShort=at,po.monthsParse=ut,po.monthsRegex=pt,po.monthsShortRegex=ft,po.week=Mt,po.firstDayOfYear=Dt,po.firstDayOfWeek=kt,po.weekdays=$t,po.weekdaysMin=Ut,po.weekdaysShort=Yt,po.weekdaysParse=jt,po.weekdaysRegex=Zt,po.weekdaysShortRegex=Xt,po.weekdaysMinRegex=qt,po.isPM=nn,po.meridiem=sn,yn("en",{eras:[{since:"0001-01-01",until:1/0,offset:1,name:"Anno Domini",narrow:"AD",abbr:"AD"},{since:"0000-12-31",until:-1/0,offset:1,name:"Before Christ",narrow:"BC",abbr:"BC"}],dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10;return e+(1===ce(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
1193
1189
  // Side effect imports
1194
- r.lang=M("moment.lang is deprecated. Use moment.locale instead.",yn),r.langData=M("moment.langData is deprecated. Use moment.localeData instead.",wn);var So=Math.abs;function To(){var e=this._data;return this._milliseconds=So(this._milliseconds),this._days=So(this._days),this._months=So(this._months),e.milliseconds=So(e.milliseconds),e.seconds=So(e.seconds),e.minutes=So(e.minutes),e.hours=So(e.hours),e.months=So(e.months),e.years=So(e.years),this}function Mo(e,t,n,r){var i=Or(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}
1190
+ r.lang=M("moment.lang is deprecated. Use moment.locale instead.",yn),r.langData=M("moment.langData is deprecated. Use moment.localeData instead.",vn);var So=Math.abs;function To(){var e=this._data;return this._milliseconds=So(this._milliseconds),this._days=So(this._days),this._months=So(this._months),e.milliseconds=So(e.milliseconds),e.seconds=So(e.seconds),e.minutes=So(e.minutes),e.hours=So(e.hours),e.months=So(e.months),e.years=So(e.years),this}function Mo(e,t,n,r){var i=Or(t,n);return e._milliseconds+=r*i._milliseconds,e._days+=r*i._days,e._months+=r*i._months,e._bubble()}
1195
1191
  // supports only 2.0-style add(1, 's') or add(duration)
1196
1192
  function xo(e,t){return Mo(this,e,t,1)}
1197
1193
  // supports only 2.0-style subtract(1, 's') or subtract(duration)
1198
1194
  function ko(e,t){return Mo(this,e,t,-1)}function Do(e){return e<0?Math.floor(e):Math.ceil(e)}function Oo(){var e,t,n,r,i,o=this._milliseconds,s=this._days,a=this._months,l=this._data;
1199
1195
  // if we have a mix of positive and negative values, bubble down first
1200
1196
  // check: https://github.com/moment/moment/issues/2166
1201
- return o>=0&&s>=0&&a>=0||o<=0&&s<=0&&a<=0||(o+=864e5*Do(Bo(a)+s),s=0,a=0),
1197
+ return o>=0&&s>=0&&a>=0||o<=0&&s<=0&&a<=0||(o+=864e5*Do(Ho(a)+s),s=0,a=0),
1202
1198
  // The following code bubbles up values, see the tests for
1203
1199
  // examples of what that means.
1204
1200
  l.milliseconds=o%1e3,e=ue(o/1e3),l.seconds=e%60,t=ue(e/60),l.minutes=t%60,n=ue(t/60),l.hours=n%24,s+=ue(n/24),a+=
1205
1201
  // convert days to months
1206
- i=ue(Po(s)),s-=Do(Bo(i)),
1202
+ i=ue(Po(s)),s-=Do(Ho(i)),
1207
1203
  // 12 months -> 1 year
1208
1204
  r=ue(a/12),a%=12,l.days=s,l.months=a,l.years=r,this}function Po(e){
1209
1205
  // 400 years have 146097 days (taking into account leap year rules)
1210
1206
  // 400 years have 12 months === 4800
1211
- return 4800*e/146097}function Bo(e){
1207
+ return 4800*e/146097}function Ho(e){
1212
1208
  // the reverse of daysToMonths
1213
- return 146097*e/4800}function Ho(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=re(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Po(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(
1209
+ return 146097*e/4800}function Fo(e){if(!this.isValid())return NaN;var t,n,r=this._milliseconds;if("month"===(e=re(e))||"quarter"===e||"year"===e)switch(t=this._days+r/864e5,n=this._months+Po(t),e){case"month":return n;case"quarter":return n/3;case"year":return n/12}else switch(
1214
1210
  // handle milliseconds separately because of floating point math errors (issue #1867)
1215
- t=this._days+Math.round(Bo(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;
1211
+ t=this._days+Math.round(Ho(this._months)),e){case"week":return t/7+r/6048e5;case"day":return t+r/864e5;case"hour":return 24*t+r/36e5;case"minute":return 1440*t+r/6e4;case"second":return 86400*t+r/1e3;
1216
1212
  // Math.floor prevents floating point math errors here
1217
1213
  case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}
1218
1214
  // TODO: Use this.as('ms')?
1219
- function Fo(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ce(this._months/12):NaN}function Ao(e){return function(){return this.as(e)}}var No=Ao("ms"),Co=Ao("s"),Lo=Ao("m"),Ro=Ao("h"),Io=Ao("d"),$o=Ao("w"),Yo=Ao("M"),Uo=Ao("Q"),Go=Ao("y");function jo(){return Or(this)}function Wo(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Vo(e){return function(){return this.isValid()?this._data[e]:NaN}}var zo=Vo("milliseconds"),Zo=Vo("seconds"),Xo=Vo("minutes"),qo=Vo("hours"),Ko=Vo("days"),Jo=Vo("months"),Qo=Vo("years");function es(){return ue(this.days()/7)}var ts=Math.round,ns={ss:44,// a few seconds to seconds
1215
+ function Ao(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*ce(this._months/12):NaN}function Co(e){return function(){return this.as(e)}}var Bo=Co("ms"),No=Co("s"),Lo=Co("m"),Ro=Co("h"),Io=Co("d"),$o=Co("w"),Yo=Co("M"),Uo=Co("Q"),Go=Co("y");function jo(){return Or(this)}function Wo(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function Vo(e){return function(){return this.isValid()?this._data[e]:NaN}}var zo=Vo("milliseconds"),Zo=Vo("seconds"),Xo=Vo("minutes"),qo=Vo("hours"),Ko=Vo("days"),Jo=Vo("months"),Qo=Vo("years");function es(){return ue(this.days()/7)}var ts=Math.round,ns={ss:44,// a few seconds to seconds
1220
1216
  s:45,// seconds to minute
1221
1217
  m:45,// minutes to hour
1222
1218
  h:22,// hours to day
@@ -1242,13 +1238,13 @@ e=ue(l/60),t=ue(e/60),l%=60,e%=60,
1242
1238
  // 12 months -> 1 year
1243
1239
  n=ue(c/12),c%=12,
1244
1240
  // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
1245
- r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",o=us(this._months)!==us(h)?"-":"",s=us(this._days)!==us(h)?"-":"",a=us(this._milliseconds)!==us(h)?"-":"",i+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(u?s+u+"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=ko,hs.as=Ho,hs.asMilliseconds=No,hs.asSeconds=Co,hs.asMinutes=Lo,hs.asHours=Ro,hs.asDays=Io,hs.asWeeks=$o,hs.asMonths=Yo,hs.asQuarters=Uo,hs.asYears=Go,hs.valueOf=Fo,hs._bubble=Oo,hs.clone=jo,hs.get=Wo,hs.milliseconds=zo,hs.seconds=Zo,hs.minutes=Xo,hs.hours=qo,hs.days=Ko,hs.weeks=es,hs.months=Jo,hs.years=Qo,hs.humanize=as,hs.toISOString=cs,hs.toString=cs,hs.toJSON=cs,hs.locale=ai,hs.localeData=ui,hs.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",cs),hs.lang=li,
1241
+ r=l?l.toFixed(3).replace(/\.?0+$/,""):"",i=h<0?"-":"",o=us(this._months)!==us(h)?"-":"",s=us(this._days)!==us(h)?"-":"",a=us(this._milliseconds)!==us(h)?"-":"",i+"P"+(n?o+n+"Y":"")+(c?o+c+"M":"")+(u?s+u+"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=ko,hs.as=Fo,hs.asMilliseconds=Bo,hs.asSeconds=No,hs.asMinutes=Lo,hs.asHours=Ro,hs.asDays=Io,hs.asWeeks=$o,hs.asMonths=Yo,hs.asQuarters=Uo,hs.asYears=Go,hs.valueOf=Ao,hs._bubble=Oo,hs.clone=jo,hs.get=Wo,hs.milliseconds=zo,hs.seconds=Zo,hs.minutes=Xo,hs.hours=qo,hs.days=Ko,hs.weeks=es,hs.months=Jo,hs.years=Qo,hs.humanize=as,hs.toISOString=cs,hs.toString=cs,hs.toJSON=cs,hs.locale=ai,hs.localeData=ui,hs.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",cs),hs.lang=li,
1246
1242
  // FORMATTING
1247
1243
  $("X",0,0,"unix"),$("x",0,0,"valueOf"),
1248
1244
  // PARSING
1249
- Ne("x",Pe),Ne("X",Fe),$e("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),$e("x",(function(e,t,n){n._d=new Date(ce(e))})),
1245
+ Be("x",Pe),Be("X",Ae),$e("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),$e("x",(function(e,t,n){n._d=new Date(ce(e))})),
1250
1246
  //! moment.js
1251
- r.version="2.29.4",i(qn),r.fn=uo,r.min=er,r.max=tr,r.now=nr,r.utc=p,r.unix=co,r.months=vo,r.isDate=h,r.locale=yn,r.invalid=v,r.duration=Or,r.isMoment=S,r.weekdays=bo,r.parseZone=ho,r.localeData=wn,r.isDuration=lr,r.monthsShort=wo,r.weekdaysMin=Eo,r.defineLocale=gn,r.updateLocale=vn,r.locales=bn,r.weekdaysShort=_o,r.normalizeUnits=re,r.relativeTimeRounding=os,r.relativeTimeThreshold=ss,r.calendarFormat=Ur,r.prototype=uo,
1247
+ r.version="2.29.4",i(qn),r.fn=uo,r.min=er,r.max=tr,r.now=nr,r.utc=p,r.unix=co,r.months=bo,r.isDate=h,r.locale=yn,r.invalid=b,r.duration=Or,r.isMoment=S,r.weekdays=wo,r.parseZone=ho,r.localeData=vn,r.isDuration=lr,r.monthsShort=vo,r.weekdaysMin=Eo,r.defineLocale=gn,r.updateLocale=bn,r.locales=wn,r.weekdaysShort=_o,r.normalizeUnits=re,r.relativeTimeRounding=os,r.relativeTimeThreshold=ss,r.calendarFormat=Ur,r.prototype=uo,
1252
1248
  // currently HTML5 input type only supports 24-hour formats
1253
1249
  r.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",// <input type="datetime-local" />
1254
1250
  DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",// <input type="datetime-local" step="1" />
@@ -1259,92 +1255,91 @@ TIME_SECONDS:"HH:mm:ss",// <input type="time" step="1" />
1259
1255
  TIME_MS:"HH:mm:ss.SSS",// <input type="time" step="0.001" />
1260
1256
  WEEK:"GGGG-[W]WW",// <input type="week" />
1261
1257
  MONTH:"YYYY-MM"},r}()}));
1262
- /* src/CasinoIntegratedGamePage.svelte generated by Svelte v3.59.2 */
1263
- const{document:Zr}=f;function Xr(e){let t;function n(e,t){/*isLoggedIn*/
1264
- return e[25]?Qr:/*funMode*/e[30]?Jr:void 0}let r=n(e),i=r&&r(e);return{c(){t=g("div"),i&&i.c(),E(t,"class","CasinoIntegratedGamePage")},m(e,n){m(e,t,n),i&&i.m(t,null)},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,null)))},d(e){e&&y(t),i&&i.d()}}}
1265
- // (392:4) {#if hasErrors}
1266
- function qr(e){let t;return{c(){t=g("p"),t.textContent="500 Error - Internal Server Error.",E(t,"class","SearchLoading")},m(e,n){m(e,t,n)},p:r,d(e){e&&y(t)}}}
1267
- // (389:2) {#if isLoading}
1268
- function Kr(e){let t;return{c(){t=g("p"),t.textContent="Loading, please wait ...",E(t,"class","SearchLoading")},m(e,n){m(e,t,n)},p:r,d(e){e&&y(t)}}}
1269
- // (476:10) {#if funMode}
1270
- function Jr(e){let t,n,r,i,o,a,l,u,h,d,f,v,S,k,D,O,P,B,H,F,A,N,C,L,R,I=/*$_*/e[43]("signIn")+"",$=/*$_*/e[43]("register")+"";function Y(e,t){/*isFullscreen*/
1271
- return e[36]?ti:ei}let U=Y(e),G=U(e),j=/*gamebanneractive*/"true"==e[12]&&!/*isFullscreen*/e[36]&&ni();return{c(){t=g("div"),n=g("button"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',r=b(),i=g("p"),o=g("span"),a=w(/*time*/e[23]),l=b(),u=g("div"),h=b(),d=g("div"),f=g("div"),v=g("iframe"),k=b(),D=g("div"),O=g("div"),P=g("button"),B=w(I),H=b(),F=g("button"),A=w($),N=b(),G.c(),C=b(),j&&j.c(),E(n,"class","backButton"),E(i,"class","Time"),E(t,"class","GamePageIntegratedTopSection"),E(v,"title","Games"),E(v,"class","GamesContainer"),E(v,"aria-hidden","false"),c(v.src,S=/*game*/e[29].launchUrl)||E(v,"src",S),E(P,"class","LoginButton"),E(F,"class","RegisterButton"),E(O,"class","ButtonsContainer ButtonsContainerFunMode"),E(D,"class","BottomGame"),E(f,"id","IframeGame"),M(f,"width",/*isFullscreen*/e[36]?"100%":/*definitiveIframeWidth*/e[37]),M(f,"height",/*isFullscreen*/e[36]?"100%":/*definitiveIframeHeight*/e[38]),M(f,"max-width",/*isFullscreen*/e[36]||!/*isModal*/e[31]?"none":/*game*/e[29].width?Math.floor(/*game*/e[29].width)+"px":"1280px"),M(f,"max-height",/*isFullscreen*/e[36]||!/*isModal*/e[31]?"none":/*game*/e[29].height?Math.floor(/*game*/e[29].height)+100+"px":"720px"),E(d,"id","IframeContainer"),x(d,"FullsScreenLayout",/*isFullscreen*/e[36])},m(s,c){m(s,t,c),p(t,n),p(t,r),p(t,i),p(i,o),p(o,a),
1272
- /*p_binding_1*/e[74](i),p(t,l),p(t,u),m(s,h,c),m(s,d,c),p(d,f),p(f,v),
1273
- /*iframe_1_binding_1*/e[75](v),p(f,k),p(f,D),p(D,O),p(O,P),p(P,B),p(O,H),p(O,F),p(F,A),p(D,N),G.m(D,null),
1258
+ /* src/CasinoIntegratedGamePage.svelte generated by Svelte v3.59.2 */const{document:Gr}=c;function jr(e){let t;function n(e,t){/*isLoggedIn*/
1259
+ return e[25]?Zr:/*funMode*/e[30]?zr:void 0}let r=n(e),i=r&&r(e);return{c(){t=p("div"),i&&i.c(),v(t,"class","CasinoIntegratedGamePage")},m(e,n){d(e,t,n),i&&i.m(t,null)},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,null)))},d(e){e&&f(t),i&&i.d()}}}
1260
+ // (388:4) {#if hasErrors}
1261
+ function Wr(t){let n;return{c(){n=p("p"),n.textContent="500 Error - Internal Server Error.",v(n,"class","SearchLoading")},m(e,t){d(e,n,t)},p:e,d(e){e&&f(n)}}}
1262
+ // (385:2) {#if isLoading}
1263
+ function Vr(t){let n;return{c(){n=p("p"),n.textContent="Loading, please wait ...",v(n,"class","SearchLoading")},m(e,t){d(e,n,t)},p:e,d(e){e&&f(n)}}}
1264
+ // (472:10) {#if funMode}
1265
+ function zr(e){let t,n,i,o,s,l,u,c,m,w,T,M,x,k,D,O,P,H,F,A,C,B,N,L,R,I=/*$_*/e[43]("signIn")+"",$=/*$_*/e[43]("register")+"";function Y(e,t){/*isFullscreen*/
1266
+ return e[36]?qr:Xr}let U=Y(e),G=U(e),j=/*gamebanneractive*/"true"==e[12]&&!/*isFullscreen*/e[36]&&Kr();return{c(){t=p("div"),n=p("button"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',i=g(),o=p("p"),s=p("span"),l=y(/*time*/e[23]),u=g(),c=p("div"),m=g(),w=p("div"),T=p("div"),M=p("iframe"),k=g(),D=p("div"),O=p("div"),P=p("button"),H=y(I),F=g(),A=p("button"),C=y($),B=g(),G.c(),N=g(),j&&j.c(),v(n,"class","backButton"),v(o,"class","Time"),v(t,"class","GamePageIntegratedTopSection"),v(M,"title","Games"),v(M,"class","GamesContainer"),v(M,"aria-hidden","false"),a(M.src,x=/*game*/e[29].launchUrl)||v(M,"src",x),v(P,"class","LoginButton"),v(A,"class","RegisterButton"),v(O,"class","ButtonsContainer ButtonsContainerFunMode"),v(D,"class","BottomGame"),v(T,"id","IframeGame"),E(T,"width",/*isFullscreen*/e[36]?"100%":/*definitiveIframeWidth*/e[37]),E(T,"height",/*isFullscreen*/e[36]?"100%":/*definitiveIframeHeight*/e[38]),E(T,"max-width",/*isFullscreen*/e[36]||!/*isModal*/e[31]?"none":/*game*/e[29].width?Math.floor(/*game*/e[29].width)+"px":"1280px"),E(T,"max-height",/*isFullscreen*/e[36]||!/*isModal*/e[31]?"none":/*game*/e[29].height?Math.floor(/*game*/e[29].height)+100+"px":"720px"),v(w,"id","IframeContainer"),S(w,"FullsScreenLayout",/*isFullscreen*/e[36])},m(r,a){d(r,t,a),h(t,n),h(t,i),h(t,o),h(o,s),h(s,l),
1267
+ /*p_binding_1*/e[74](o),h(t,u),h(t,c),d(r,m,a),d(r,w,a),h(w,T),h(T,M),
1268
+ /*iframe_1_binding_1*/e[75](M),h(T,k),h(T,D),h(D,O),h(O,P),h(P,H),h(O,F),h(O,A),h(A,C),h(D,B),G.m(D,null),
1274
1269
  /*div3_binding_1*/e[80](D),
1275
- /*div4_binding_1*/e[81](f),p(d,C),j&&j.m(d,null)
1276
- /*div5_binding*/,e[82](d),L||(R=[_(n,"click",/*click_handler_6*/e[73]),_(P,"click",/*click_handler_7*/e[76]),_(F,"click",/*click_handler_8*/e[77])],L=!0)},p(e,t){/*time*/8388608&t[0]&&T(a,/*time*/e[23]),/*game*/536870912&t[0]&&!c(v.src,S=/*game*/e[29].launchUrl)&&E(v,"src",S),/*$_*/4096&t[1]&&I!==(I=/*$_*/e[43]("signIn")+"")&&T(B,I),/*$_*/4096&t[1]&&$!==($=/*$_*/e[43]("register")+"")&&T(A,$),U===(U=Y(e))&&G?G.p(e,t):(G.d(1),G=U(e),G&&(G.c(),G.m(D,null))),/*isFullscreen, definitiveIframeWidth*/96&t[1]&&M(f,"width",/*isFullscreen*/e[36]?"100%":/*definitiveIframeWidth*/e[37]),/*isFullscreen, definitiveIframeHeight*/160&t[1]&&M(f,"height",/*isFullscreen*/e[36]?"100%":/*definitiveIframeHeight*/e[38]),/*game*/536870912&t[0]|/*isFullscreen, isModal*/33&t[1]&&M(f,"max-width",/*isFullscreen*/e[36]||!/*isModal*/e[31]?"none":/*game*/e[29].width?Math.floor(/*game*/e[29].width)+"px":"1280px"),/*game*/536870912&t[0]|/*isFullscreen, isModal*/33&t[1]&&M(f,"max-height",/*isFullscreen*/e[36]||!/*isModal*/e[31]?"none":/*game*/e[29].height?Math.floor(/*game*/e[29].height)+100+"px":"720px"),/*gamebanneractive*/"true"!=e[12]||/*isFullscreen*/e[36]?j&&(j.d(1),j=null):j||(j=ni(),j.c(),j.m(d,null)),/*isFullscreen*/32&t[1]&&x(d,"FullsScreenLayout",/*isFullscreen*/e[36])},d(n){n&&y(t)
1277
- /*p_binding_1*/,e[74](null),n&&y(h),n&&y(d)
1270
+ /*div4_binding_1*/e[81](T),h(w,N),j&&j.m(w,null)
1271
+ /*div5_binding*/,e[82](w),L||(R=[b(n,"click",/*click_handler_6*/e[73]),b(P,"click",/*click_handler_7*/e[76]),b(A,"click",/*click_handler_8*/e[77])],L=!0)},p(e,t){/*time*/8388608&t[0]&&_(l,/*time*/e[23]),/*game*/536870912&t[0]&&!a(M.src,x=/*game*/e[29].launchUrl)&&v(M,"src",x),/*$_*/4096&t[1]&&I!==(I=/*$_*/e[43]("signIn")+"")&&_(H,I),/*$_*/4096&t[1]&&$!==($=/*$_*/e[43]("register")+"")&&_(C,$),U===(U=Y(e))&&G?G.p(e,t):(G.d(1),G=U(e),G&&(G.c(),G.m(D,null))),/*isFullscreen, definitiveIframeWidth*/96&t[1]&&E(T,"width",/*isFullscreen*/e[36]?"100%":/*definitiveIframeWidth*/e[37]),/*isFullscreen, definitiveIframeHeight*/160&t[1]&&E(T,"height",/*isFullscreen*/e[36]?"100%":/*definitiveIframeHeight*/e[38]),/*game*/536870912&t[0]|/*isFullscreen, isModal*/33&t[1]&&E(T,"max-width",/*isFullscreen*/e[36]||!/*isModal*/e[31]?"none":/*game*/e[29].width?Math.floor(/*game*/e[29].width)+"px":"1280px"),/*game*/536870912&t[0]|/*isFullscreen, isModal*/33&t[1]&&E(T,"max-height",/*isFullscreen*/e[36]||!/*isModal*/e[31]?"none":/*game*/e[29].height?Math.floor(/*game*/e[29].height)+100+"px":"720px"),/*gamebanneractive*/"true"!=e[12]||/*isFullscreen*/e[36]?j&&(j.d(1),j=null):j||(j=Kr(),j.c(),j.m(w,null)),/*isFullscreen*/32&t[1]&&S(w,"FullsScreenLayout",/*isFullscreen*/e[36])},d(n){n&&f(t)
1272
+ /*p_binding_1*/,e[74](null),n&&f(m),n&&f(w)
1278
1273
  /*iframe_1_binding_1*/,e[75](null),G.d(),
1279
1274
  /*div3_binding_1*/e[80](null),
1280
1275
  /*div4_binding_1*/e[81](null),j&&j.d()
1281
- /*div5_binding*/,e[82](null),L=!1,s(R)}}}
1282
- // (396:8) {#if isLoggedIn}
1283
- function Qr(e){let t,n,r,i,o,a,l,u,h,d,f,v,S,k,D,O,P,B,H,F,A,N,C,L=/*$_*/e[43]("deposit")+"",R=/*shortCashierActivated*/e[42]&&ri(e),I=/*haspanicbutton*/"true"===e[11]&&si(e);function $(e,t){/*isFullscreen*/
1284
- return e[36]?li:ai}let Y=$(e),U=Y(e),G=/*gamebanneractive*/"true"==e[12]&&!/*isFullscreen*/e[36]&&ui();return{c(){t=g("div"),n=g("button"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',r=b(),i=g("p"),o=g("span"),a=w(/*time*/e[23]),l=b(),u=g("div"),h=w(L),d=b(),R&&R.c(),f=b(),v=g("div"),S=g("div"),k=g("iframe"),B=b(),H=g("div"),I&&I.c(),F=b(),U.c(),A=b(),G&&G.c(),E(n,"class","backButton"),E(i,"class","Time"),E(u,"class","DepositButton"),E(t,"class","GamePageIntegratedTopSection"),E(k,"title","Games"),E(k,"id","IframeGame"),E(k,"class","GamesContainer"),E(k,"aria-hidden","false"),c(k.src,D=/*game*/e[29].launchUrl)||E(k,"src",D),E(k,"width",O=/*gameContainerWidth*/e[33]+"px"),E(k,"height",P=/*gameContainerHeight*/e[34]+"px"),E(H,"class","BottomGame BottomGameLoggedin"),E(S,"id","IframeGame"),M(S,"width",/*isFullscreen*/e[36]?"100%":/*definitiveIframeWidth*/e[37]),M(S,"height",/*isFullscreen*/e[36]?"100%":/*definitiveIframeHeight*/e[38]),M(S,"max-width",/*isFullscreen*/e[36]?"none":/*game*/e[29].width?/*game*/e[29].width+"px":"1280px"),M(S,"max-height",/*isFullscreen*/e[36]?"none":/*game*/e[29].height?Math.floor(/*game*/e[29].height)+100+"px":"720px"),E(v,"id","IframeContainer"),x(v,"FullsScreenLayout",/*isFullscreen*/e[36])},m(s,c){m(s,t,c),p(t,n),p(t,r),p(t,i),p(i,o),p(o,a),
1285
- /*p_binding*/e[62](i),p(t,l),p(t,u),p(u,h),p(t,d),R&&R.m(t,null),m(s,f,c),m(s,v,c),p(v,S),p(S,k),
1286
- /*iframe_1_binding*/e[66](k),p(S,B),p(S,H),I&&I.m(H,null),p(H,F),U.m(H,null),
1287
- /*div2_binding*/e[70](H),
1288
- /*div3_binding*/e[71](S),p(v,A),G&&G.m(v,null)
1289
- /*div4_binding*/,e[72](v),N||(C=[_(n,"click",/*click_handler*/e[61]),_(u,"click",/*click_handler_1*/e[63])],N=!0)},p(e,n){/*time*/8388608&n[0]&&T(a,/*time*/e[23]),/*$_*/4096&n[1]&&L!==(L=/*$_*/e[43]("deposit")+"")&&T(h,L),/*shortCashierActivated*/e[42]?R?R.p(e,n):(R=ri(e),R.c(),R.m(t,null)):R&&(R.d(1),R=null),/*game*/536870912&n[0]&&!c(k.src,D=/*game*/e[29].launchUrl)&&E(k,"src",D),/*gameContainerWidth*/4&n[1]&&O!==(O=/*gameContainerWidth*/e[33]+"px")&&E(k,"width",O),/*gameContainerHeight*/8&n[1]&&P!==(P=/*gameContainerHeight*/e[34]+"px")&&E(k,"height",P),/*haspanicbutton*/"true"===e[11]?I?I.p(e,n):(I=si(e),I.c(),I.m(H,F)):I&&(I.d(1),I=null),Y===(Y=$(e))&&U?U.p(e,n):(U.d(1),U=Y(e),U&&(U.c(),U.m(H,null))),/*isFullscreen, definitiveIframeWidth*/96&n[1]&&M(S,"width",/*isFullscreen*/e[36]?"100%":/*definitiveIframeWidth*/e[37]),/*isFullscreen, definitiveIframeHeight*/160&n[1]&&M(S,"height",/*isFullscreen*/e[36]?"100%":/*definitiveIframeHeight*/e[38]),/*game*/536870912&n[0]|/*isFullscreen*/32&n[1]&&M(S,"max-width",/*isFullscreen*/e[36]?"none":/*game*/e[29].width?/*game*/e[29].width+"px":"1280px"),/*game*/536870912&n[0]|/*isFullscreen*/32&n[1]&&M(S,"max-height",/*isFullscreen*/e[36]?"none":/*game*/e[29].height?Math.floor(/*game*/e[29].height)+100+"px":"720px"),/*gamebanneractive*/"true"!=e[12]||/*isFullscreen*/e[36]?G&&(G.d(1),G=null):G||(G=ui(),G.c(),G.m(v,null)),/*isFullscreen*/32&n[1]&&x(v,"FullsScreenLayout",/*isFullscreen*/e[36])},d(n){n&&y(t)
1290
- /*p_binding*/,e[62](null),R&&R.d(),n&&y(f),n&&y(v)
1276
+ /*div5_binding*/,e[82](null),L=!1,r(R)}}}
1277
+ // (392:8) {#if isLoggedIn}
1278
+ function Zr(e){let t,n,i,o,s,l,u,c,m,w,T,M,x,k,D,O,P,H,F,A,C,B,N,L=/*$_*/e[43]("deposit")+"",R=/*shortCashierActivated*/e[42]&&Jr(e),I=/*haspanicbutton*/"true"===e[11]&&ti(e);function $(e,t){/*isFullscreen*/
1279
+ return e[36]?ri:ni}let Y=$(e),U=Y(e),G=/*gamebanneractive*/"true"==e[12]&&!/*isFullscreen*/e[36]&&ii();return{c(){t=p("div"),n=p("button"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));}</style></defs><path class="a" d="M12,0,9.818,2.182l8.26,8.26H0v3.117H18.078l-8.26,8.26L12,24,24,12Z" transform="translate(24 24) rotate(180)"></path></svg>',i=g(),o=p("p"),s=p("span"),l=y(/*time*/e[23]),u=g(),c=p("div"),m=y(L),w=g(),R&&R.c(),T=g(),M=p("div"),x=p("div"),k=p("iframe"),H=g(),F=p("div"),I&&I.c(),A=g(),U.c(),C=g(),G&&G.c(),v(n,"class","backButton"),v(o,"class","Time"),v(c,"class","DepositButton"),v(t,"class","GamePageIntegratedTopSection"),v(k,"title","Games"),v(k,"id","IframeGame"),v(k,"class","GamesContainer"),v(k,"aria-hidden","false"),a(k.src,D=/*game*/e[29].launchUrl)||v(k,"src",D),v(k,"width",O=/*gameContainerWidth*/e[33]+"px"),v(k,"height",P=/*gameContainerHeight*/e[34]+"px"),v(F,"class","BottomGame BottomGameLoggedin"),v(x,"id","IframeGame"),E(x,"width",/*isFullscreen*/e[36]?"100%":/*definitiveIframeWidth*/e[37]),E(x,"height",/*isFullscreen*/e[36]?"100%":/*definitiveIframeHeight*/e[38]),E(x,"max-width",/*isFullscreen*/e[36]?"none":/*game*/e[29].width?/*game*/e[29].width+"px":"1280px"),E(x,"max-height",/*isFullscreen*/e[36]?"none":/*game*/e[29].height?Math.floor(/*game*/e[29].height)+100+"px":"720px"),v(M,"id","IframeContainer"),S(M,"FullsScreenLayout",/*isFullscreen*/e[36])},m(r,a){d(r,t,a),h(t,n),h(t,i),h(t,o),h(o,s),h(s,l),
1280
+ /*p_binding*/e[62](o),h(t,u),h(t,c),h(c,m),h(t,w),R&&R.m(t,null),d(r,T,a),d(r,M,a),h(M,x),h(x,k),
1281
+ /*iframe_1_binding*/e[66](k),h(x,H),h(x,F),I&&I.m(F,null),h(F,A),U.m(F,null),
1282
+ /*div2_binding*/e[70](F),
1283
+ /*div3_binding*/e[71](x),h(M,C),G&&G.m(M,null)
1284
+ /*div4_binding*/,e[72](M),B||(N=[b(n,"click",/*click_handler*/e[61]),b(c,"click",/*click_handler_1*/e[63])],B=!0)},p(e,n){/*time*/8388608&n[0]&&_(l,/*time*/e[23]),/*$_*/4096&n[1]&&L!==(L=/*$_*/e[43]("deposit")+"")&&_(m,L),/*shortCashierActivated*/e[42]?R?R.p(e,n):(R=Jr(e),R.c(),R.m(t,null)):R&&(R.d(1),R=null),/*game*/536870912&n[0]&&!a(k.src,D=/*game*/e[29].launchUrl)&&v(k,"src",D),/*gameContainerWidth*/4&n[1]&&O!==(O=/*gameContainerWidth*/e[33]+"px")&&v(k,"width",O),/*gameContainerHeight*/8&n[1]&&P!==(P=/*gameContainerHeight*/e[34]+"px")&&v(k,"height",P),/*haspanicbutton*/"true"===e[11]?I?I.p(e,n):(I=ti(e),I.c(),I.m(F,A)):I&&(I.d(1),I=null),Y===(Y=$(e))&&U?U.p(e,n):(U.d(1),U=Y(e),U&&(U.c(),U.m(F,null))),/*isFullscreen, definitiveIframeWidth*/96&n[1]&&E(x,"width",/*isFullscreen*/e[36]?"100%":/*definitiveIframeWidth*/e[37]),/*isFullscreen, definitiveIframeHeight*/160&n[1]&&E(x,"height",/*isFullscreen*/e[36]?"100%":/*definitiveIframeHeight*/e[38]),/*game*/536870912&n[0]|/*isFullscreen*/32&n[1]&&E(x,"max-width",/*isFullscreen*/e[36]?"none":/*game*/e[29].width?/*game*/e[29].width+"px":"1280px"),/*game*/536870912&n[0]|/*isFullscreen*/32&n[1]&&E(x,"max-height",/*isFullscreen*/e[36]?"none":/*game*/e[29].height?Math.floor(/*game*/e[29].height)+100+"px":"720px"),/*gamebanneractive*/"true"!=e[12]||/*isFullscreen*/e[36]?G&&(G.d(1),G=null):G||(G=ii(),G.c(),G.m(M,null)),/*isFullscreen*/32&n[1]&&S(M,"FullsScreenLayout",/*isFullscreen*/e[36])},d(n){n&&f(t)
1285
+ /*p_binding*/,e[62](null),R&&R.d(),n&&f(T),n&&f(M)
1291
1286
  /*iframe_1_binding*/,e[66](null),I&&I.d(),U.d(),
1292
1287
  /*div2_binding*/e[70](null),
1293
1288
  /*div3_binding*/e[71](null),G&&G.d()
1294
- /*div4_binding*/,e[72](null),N=!1,s(C)}}}
1295
- // (496:18) {:else}
1296
- function ei(e){let t,n,i;return{c(){t=g("button"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',E(t,"class","FullscreenButton"),E(t,"part","FullscreenButton")},m(r,o){m(r,t,o),n||(i=_(t,"click",/*click_handler_10*/e[79]),n=!0)},p:r,d(e){e&&y(t),n=!1,i()}}}
1297
- // (492:18) {#if isFullscreen}
1298
- function ti(e){let t,n,i;return{c(){t=g("button"),t.innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',E(t,"class","FullscreenButton")},m(r,o){m(r,t,o),n||(i=_(t,"click",/*click_handler_9*/e[78]),n=!0)},p:r,d(e){e&&y(t),n=!1,i()}}}
1299
- // (503:14) {#if gamebanneractive == 'true' && !isFullscreen}
1300
- function ni(e){let t;return{c(){t=g("div"),t.innerHTML="<h3>Your banner here</h3>",E(t,"class","BannerSection")},m(e,n){m(e,t,n)},d(e){e&&y(t)}}}
1301
- // (403:12) {#if shortCashierActivated}
1302
- function ri(e){let t,n,r,i,o,a,l,u;function c(e,t){/*gmversion*/
1303
- return"gmcore"===e[6]?oi:ii}let h=c(e),d=h(e);return{c(){t=g("div"),n=b(),r=g("div"),i=g("div"),o=g("div"),o.innerHTML='<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><line x1="2" y1="2" x2="18" y2="18" stroke="black" stroke-width="2"></line><line x1="18" y1="2" x2="2" y2="18" stroke="black" stroke-width="2"></line></svg>',a=b(),d.c(),E(t,"class","ShortCashierWindow"),E(o,"class","ClosePopUpButtonShortCashier"),E(i,"class","ShortCashierContainerMobile"),E(r,"class","ShortCashierContainerWrapperMobile")},m(s,c){m(s,t,c),m(s,n,c),m(s,r,c),p(r,i),p(i,o),p(i,a),d.m(i,null),l||(u=[_(t,"click",/*click_handler_2*/e[64]),_(o,"click",/*click_handler_3*/e[65])],l=!0)},p(e,t){h===(h=c(e))&&d?d.p(e,t):(d.d(1),d=h(e),d&&(d.c(),d.m(i,null)))},d(e){e&&y(t),e&&y(n),e&&y(r),d.d(),l=!1,s(u)}}}
1304
- // (425:18) {:else}
1305
- function ii(e){let t,n,r,i,o,s,a,l,u,c;return{c(){t=g("user-deposit-withdrawal"),S(t,"endpoint",/*endpoint*/e[0]),S(t,"type","deposit"),S(t,"channel",n=/*mobileView*/e[39]?"Mobile":"Desktop"),S(t,"is-short-cashier",/*shortcashierenabled*/e[8]),S(t,"language",/*lang*/e[1]),S(t,"product-type",/*producttype*/e[13]),S(t,"user-id",/*userid*/e[3]),S(t,"session",/*session*/e[2]),S(t,"success-url",r="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*successurl*/e[14]),S(t,"cancel-url",i="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*cancelurl*/e[16]),S(t,"fail-url",o="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*failurl*/e[15]),S(t,"sports-url",s="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*sportsurl*/e[17]),S(t,"casino-url",a="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*casinourl*/e[18]),S(t,"contact-url",l="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*contacturl*/e[19]),S(t,"home-url",u="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*homeurl*/e[20]),S(t,"deposit-url",c="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*depositurl*/e[7])},m(e,n){m(e,t,n)},p(e,h){/*endpoint*/1&h[0]&&S(t,"endpoint",/*endpoint*/e[0]),/*mobileView*/256&h[1]&&n!==(n=/*mobileView*/e[39]?"Mobile":"Desktop")&&S(t,"channel",n),/*shortcashierenabled*/256&h[0]&&S(t,"is-short-cashier",/*shortcashierenabled*/e[8]),/*lang*/2&h[0]&&S(t,"language",/*lang*/e[1]),/*producttype*/8192&h[0]&&S(t,"product-type",/*producttype*/e[13]),/*userid*/8&h[0]&&S(t,"user-id",/*userid*/e[3]),/*session*/4&h[0]&&S(t,"session",/*session*/e[2]),/*lang, successurl*/16386&h[0]&&r!==(r="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*successurl*/e[14])&&S(t,"success-url",r),/*lang, cancelurl*/65538&h[0]&&i!==(i="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*cancelurl*/e[16])&&S(t,"cancel-url",i),/*lang, failurl*/32770&h[0]&&o!==(o="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*failurl*/e[15])&&S(t,"fail-url",o),/*lang, sportsurl*/131074&h[0]&&s!==(s="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*sportsurl*/e[17])&&S(t,"sports-url",s),/*lang, casinourl*/262146&h[0]&&a!==(a="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*casinourl*/e[18])&&S(t,"casino-url",a),/*lang, contacturl*/524290&h[0]&&l!==(l="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*contacturl*/e[19])&&S(t,"contact-url",l),/*lang, homeurl*/1048578&h[0]&&u!==(u="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*homeurl*/e[20])&&S(t,"home-url",u),/*lang, depositurl*/130&h[0]&&c!==(c="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*depositurl*/e[7])&&S(t,"deposit-url",c)},d(e){e&&y(t)}}}
1306
- // (413:18) {#if gmversion === 'gmcore'}
1307
- function oi(e){let t;return{c(){t=g("player-deposit"),S(t,"endpoint",/*endpoint*/e[0]),S(t,"session",/*session*/e[2]),S(t,"playerid",/*userid*/e[3]),S(t,"lang",/*lang*/e[1]),S(t,"hasdefaultamount",/*hasdefaultamount*/e[9]),S(t,"playercurrency",/*playercurrency*/e[10]),S(t,"shortcashierenabled",/*shortcashierenabled*/e[8]),S(t,"clientstyling",/*clientstyling*/e[4]),S(t,"clientstylingurl",/*clientstylingurl*/e[5])},m(e,n){m(e,t,n)},p(e,n){/*endpoint*/1&n[0]&&S(t,"endpoint",/*endpoint*/e[0]),/*session*/4&n[0]&&S(t,"session",/*session*/e[2]),/*userid*/8&n[0]&&S(t,"playerid",/*userid*/e[3]),/*lang*/2&n[0]&&S(t,"lang",/*lang*/e[1]),/*hasdefaultamount*/512&n[0]&&S(t,"hasdefaultamount",/*hasdefaultamount*/e[9]),/*playercurrency*/1024&n[0]&&S(t,"playercurrency",/*playercurrency*/e[10]),/*shortcashierenabled*/256&n[0]&&S(t,"shortcashierenabled",/*shortcashierenabled*/e[8]),/*clientstyling*/16&n[0]&&S(t,"clientstyling",/*clientstyling*/e[4]),/*clientstylingurl*/32&n[0]&&S(t,"clientstylingurl",/*clientstylingurl*/e[5])},d(e){e&&y(t)}}}
1308
- // (453:16) {#if haspanicbutton === "true"}
1309
- function si(e){let t,n,r,i=/*$_*/e[43]("breakButton")+"";return{c(){t=g("div"),n=g("button"),r=w(i),E(n,"class","PanicButton "+("PC"!==Cr(/*userAgent*/e[44])?"PanicButtonMobile":"")),E(n,"part","PanicButton "+("PC"!==Cr(/*userAgent*/e[44])?"PanicButtonMobile":"")),x(n,"PanicButtonAnimation",/*panicLoading*/e[28]),E(t,"class","PanicSection")},m(i,o){m(i,t,o),p(t,n),p(n,r),
1310
- /*button_binding*/e[67](n)},p(e,t){/*$_*/4096&t[1]&&i!==(i=/*$_*/e[43]("breakButton")+"")&&T(r,i),/*panicLoading*/268435456&t[0]&&x(n,"PanicButtonAnimation",/*panicLoading*/e[28])},d(n){n&&y(t)
1289
+ /*div4_binding*/,e[72](null),B=!1,r(N)}}}
1290
+ // (492:18) {:else}
1291
+ function Xr(t){let n,r,i;return{c(){n=p("button"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',v(n,"class","FullscreenButton"),v(n,"part","FullscreenButton")},m(e,o){d(e,n,o),r||(i=b(n,"click",/*click_handler_10*/t[79]),r=!0)},p:e,d(e){e&&f(n),r=!1,i()}}}
1292
+ // (488:18) {#if isFullscreen}
1293
+ function qr(t){let n,r,i;return{c(){n=p("button"),n.innerHTML='<svg width="24" height="24" viewBox="0 0 31 31"><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',v(n,"class","FullscreenButton")},m(e,o){d(e,n,o),r||(i=b(n,"click",/*click_handler_9*/t[78]),r=!0)},p:e,d(e){e&&f(n),r=!1,i()}}}
1294
+ // (499:14) {#if gamebanneractive == 'true' && !isFullscreen}
1295
+ function Kr(e){let t;return{c(){t=p("div"),t.innerHTML="<h3>Your banner here</h3>",v(t,"class","BannerSection")},m(e,n){d(e,t,n)},d(e){e&&f(t)}}}
1296
+ // (399:12) {#if shortCashierActivated}
1297
+ function Jr(e){let t,n,i,o,s,a,l,u;function c(e,t){/*gmversion*/
1298
+ return"gmcore"===e[6]?ei:Qr}let m=c(e),y=m(e);return{c(){t=p("div"),n=g(),i=p("div"),o=p("div"),s=p("div"),s.innerHTML='<svg width="20" height="20" xmlns="http://www.w3.org/2000/svg"><line x1="2" y1="2" x2="18" y2="18" stroke="black" stroke-width="2"></line><line x1="18" y1="2" x2="2" y2="18" stroke="black" stroke-width="2"></line></svg>',a=g(),y.c(),v(t,"class","ShortCashierWindow"),v(s,"class","ClosePopUpButtonShortCashier"),v(o,"class","ShortCashierContainerMobile"),v(i,"class","ShortCashierContainerWrapperMobile")},m(r,c){d(r,t,c),d(r,n,c),d(r,i,c),h(i,o),h(o,s),h(o,a),y.m(o,null),l||(u=[b(t,"click",/*click_handler_2*/e[64]),b(s,"click",/*click_handler_3*/e[65])],l=!0)},p(e,t){m===(m=c(e))&&y?y.p(e,t):(y.d(1),y=m(e),y&&(y.c(),y.m(o,null)))},d(e){e&&f(t),e&&f(n),e&&f(i),y.d(),l=!1,r(u)}}}
1299
+ // (421:18) {:else}
1300
+ function Qr(e){let t,n,r,i,o,s,a,l,u,c;return{c(){t=p("user-deposit-withdrawal"),w(t,"endpoint",/*endpoint*/e[0]),w(t,"type","deposit"),w(t,"channel",n=/*mobileView*/e[39]?"Mobile":"Desktop"),w(t,"is-short-cashier",/*shortcashierenabled*/e[8]),w(t,"language",/*lang*/e[1]),w(t,"product-type",/*producttype*/e[13]),w(t,"user-id",/*userid*/e[3]),w(t,"session",/*session*/e[2]),w(t,"success-url",r="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*successurl*/e[14]),w(t,"cancel-url",i="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*cancelurl*/e[16]),w(t,"fail-url",o="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*failurl*/e[15]),w(t,"sports-url",s="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*sportsurl*/e[17]),w(t,"casino-url",a="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*casinourl*/e[18]),w(t,"contact-url",l="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*contacturl*/e[19]),w(t,"home-url",u="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*homeurl*/e[20]),w(t,"deposit-url",c="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*depositurl*/e[7])},m(e,n){d(e,t,n)},p(e,h){/*endpoint*/1&h[0]&&w(t,"endpoint",/*endpoint*/e[0]),/*mobileView*/256&h[1]&&n!==(n=/*mobileView*/e[39]?"Mobile":"Desktop")&&w(t,"channel",n),/*shortcashierenabled*/256&h[0]&&w(t,"is-short-cashier",/*shortcashierenabled*/e[8]),/*lang*/2&h[0]&&w(t,"language",/*lang*/e[1]),/*producttype*/8192&h[0]&&w(t,"product-type",/*producttype*/e[13]),/*userid*/8&h[0]&&w(t,"user-id",/*userid*/e[3]),/*session*/4&h[0]&&w(t,"session",/*session*/e[2]),/*lang, successurl*/16386&h[0]&&r!==(r="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*successurl*/e[14])&&w(t,"success-url",r),/*lang, cancelurl*/65538&h[0]&&i!==(i="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*cancelurl*/e[16])&&w(t,"cancel-url",i),/*lang, failurl*/32770&h[0]&&o!==(o="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*failurl*/e[15])&&w(t,"fail-url",o),/*lang, sportsurl*/131074&h[0]&&s!==(s="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*sportsurl*/e[17])&&w(t,"sports-url",s),/*lang, casinourl*/262146&h[0]&&a!==(a="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*casinourl*/e[18])&&w(t,"casino-url",a),/*lang, contacturl*/524290&h[0]&&l!==(l="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*contacturl*/e[19])&&w(t,"contact-url",l),/*lang, homeurl*/1048578&h[0]&&u!==(u="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*homeurl*/e[20])&&w(t,"home-url",u),/*lang, depositurl*/130&h[0]&&c!==(c="https://"+window.location.hostname+"/"+/*lang*/e[1]+/*depositurl*/e[7])&&w(t,"deposit-url",c)},d(e){e&&f(t)}}}
1301
+ // (409:18) {#if gmversion === 'gmcore'}
1302
+ function ei(e){let t;return{c(){t=p("player-deposit"),w(t,"endpoint",/*endpoint*/e[0]),w(t,"session",/*session*/e[2]),w(t,"playerid",/*userid*/e[3]),w(t,"lang",/*lang*/e[1]),w(t,"hasdefaultamount",/*hasdefaultamount*/e[9]),w(t,"playercurrency",/*playercurrency*/e[10]),w(t,"shortcashierenabled",/*shortcashierenabled*/e[8]),w(t,"clientstyling",/*clientstyling*/e[4]),w(t,"clientstylingurl",/*clientstylingurl*/e[5])},m(e,n){d(e,t,n)},p(e,n){/*endpoint*/1&n[0]&&w(t,"endpoint",/*endpoint*/e[0]),/*session*/4&n[0]&&w(t,"session",/*session*/e[2]),/*userid*/8&n[0]&&w(t,"playerid",/*userid*/e[3]),/*lang*/2&n[0]&&w(t,"lang",/*lang*/e[1]),/*hasdefaultamount*/512&n[0]&&w(t,"hasdefaultamount",/*hasdefaultamount*/e[9]),/*playercurrency*/1024&n[0]&&w(t,"playercurrency",/*playercurrency*/e[10]),/*shortcashierenabled*/256&n[0]&&w(t,"shortcashierenabled",/*shortcashierenabled*/e[8]),/*clientstyling*/16&n[0]&&w(t,"clientstyling",/*clientstyling*/e[4]),/*clientstylingurl*/32&n[0]&&w(t,"clientstylingurl",/*clientstylingurl*/e[5])},d(e){e&&f(t)}}}
1303
+ // (449:16) {#if haspanicbutton === "true"}
1304
+ function ti(e){let t,n,r,i=/*$_*/e[43]("breakButton")+"";return{c(){t=p("div"),n=p("button"),r=y(i),v(n,"class","PanicButton "+("PC"!==Ar(/*userAgent*/e[44])?"PanicButtonMobile":"")),v(n,"part","PanicButton "+("PC"!==Ar(/*userAgent*/e[44])?"PanicButtonMobile":"")),S(n,"PanicButtonAnimation",/*panicLoading*/e[28]),v(t,"class","PanicSection")},m(i,o){d(i,t,o),h(t,n),h(n,r),
1305
+ /*button_binding*/e[67](n)},p(e,t){/*$_*/4096&t[1]&&i!==(i=/*$_*/e[43]("breakButton")+"")&&_(r,i),/*panicLoading*/268435456&t[0]&&S(n,"PanicButtonAnimation",/*panicLoading*/e[28])},d(n){n&&f(t)
1311
1306
  /*button_binding*/,e[67](null)}}}
1312
- // (462:16) {:else}
1313
- function ai(e){let t,n,i;return{c(){t=g("button"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',E(t,"class","FullscreenButton")},m(r,o){m(r,t,o),n||(i=_(t,"click",/*click_handler_5*/e[69]),n=!0)},p:r,d(e){e&&y(t),n=!1,i()}}}
1314
- // (458:16) {#if isFullscreen}
1315
- function li(e){let t,n,i;return{c(){t=g("button"),t.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',E(t,"class","FullscreenButton")},m(r,o){m(r,t,o),n||(i=_(t,"click",/*click_handler_4*/e[68]),n=!0)},p:r,d(e){e&&y(t),n=!1,i()}}}
1316
- // (469:12) {#if gamebanneractive == 'true' && !isFullscreen}
1317
- function ui(e){let t;return{c(){t=g("div"),t.innerHTML="<h3>Your banner here</h3>",E(t,"class","BannerSection")},m(e,n){m(e,t,n)},d(e){e&&y(t)}}}function ci(e){let t,n,i,o;function s(e,t){/*isLoading*/
1318
- return e[27]?Kr:/*hasErrors*/e[26]?qr:Xr}let a=s(e),l=a(e);return{c(){t=g("script"),i=b(),o=g("div"),l.c(),this.c=r,E(t,"type","module"),c(t.src,n="https://unpkg.com/@everymatrix/user-deposit-withdrawal")||E(t,"src","https://unpkg.com/@everymatrix/user-deposit-withdrawal")},m(n,r){p(Zr.head,t),m(n,i,r),m(n,o,r),l.m(o,null),
1319
- /*div_binding*/e[83](o)},p(e,t){a===(a=s(e))&&l?l.p(e,t):(l.d(1),l=a(e),l&&(l.c(),l.m(o,null)))},i:r,o:r,d(n){y(t),n&&y(i),n&&y(o),l.d(),
1320
- /*div_binding*/e[83](null)}}}function hi(e,t,n){let r;d(e,Nr,(e=>n(43,r=e)));let i,o,s,a,l,u,c,h,f,p,m,y,g,v,w,b,_,{endpoint:E=""}=t,{lang:S=""}=t,{session:T=""}=t,{userid:M=""}=t,{clientstyling:x=""}=t,{clientstylingurl:k=""}=t,{translationurl:D=""}=t,{gmversion:O=""}=t,{loginurl:B=""}=t,{registerurl:F=""}=t,{depositurl:A=""}=t,{loginevent:N=""}=t,{registerevent:C=""}=t,{depositevent:L=""}=t,{shortcashierenabled:R="false"}=t,{hasdefaultamount:I=""}=t,{playercurrency:$=""}=t,{clockformat:Y=""}=t,{haspanicbutton:U="false"}=t,{playforfun:G="true"}=t,{checksession:j="true"}=t,{gamebanneractive:W="false"}=t,{gameid:V=""}=t,z=!1,Z=!1,X=!0,q=!1,K=0,J=!1,Q=!1,ee=!0,te=!1,ne=window.navigator.userAgent,re=!1,ie=!1,{producttype:oe=""}=t,{successurl:se=""}=t,{failurl:ae=""}=t,{cancelurl:le=""}=t,{sportsurl:ue=""}=t,{casinourl:ce=""}=t,{contacturl:he=""}=t,{homeurl:de=""}=t;!function({withLocale:e,translations:t}){mr.subscribe((n=>{null==n&&(jn.set(t),mr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1307
+ // (458:16) {:else}
1308
+ function ni(t){let n,r,i;return{c(){n=p("button"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M21.414 18.586l2.586-2.586v8h-8l2.586-2.586-5.172-5.172 2.828-2.828 5.172 5.172zm-13.656-8l2.828-2.828-5.172-5.172 2.586-2.586h-8v8l2.586-2.586 5.172 5.172zm10.828-8l-2.586-2.586h8v8l-2.586-2.586-5.172 5.172-2.828-2.828 5.172-5.172zm-8 13.656l-2.828-2.828-5.172 5.172-2.586-2.586v8h8l-2.586-2.586 5.172-5.172z"></path></svg>',v(n,"class","FullscreenButton")},m(e,o){d(e,n,o),r||(i=b(n,"click",/*click_handler_5*/t[69]),r=!0)},p:e,d(e){e&&f(n),r=!1,i()}}}
1309
+ // (454:16) {#if isFullscreen}
1310
+ function ri(t){let n,r,i;return{c(){n=p("button"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24" viewBox="0 0 31 31"><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="24.586,27.414 29.172,32 32,29.172 27.414,24.586 32,20 20,20 20,32 \t\t\t"></polygon><polygon style="fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,12 12,12 12,0 7.414,4.586 2.875,0.043 0.047,2.871 4.586,7.414 \t\t\t"></polygon><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="0,29.172 2.828,32 7.414,27.414 12,32 12,20 0,20 4.586,24.586 \t\t\t"></polygon><polygon style="fill: var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));" points="20,12 32,12 27.414,7.414 31.961,2.871 29.133,0.043 24.586,4.586 20,0 \t\t\t"></polygon></svg>',v(n,"class","FullscreenButton")},m(e,o){d(e,n,o),r||(i=b(n,"click",/*click_handler_4*/t[68]),r=!0)},p:e,d(e){e&&f(n),r=!1,i()}}}
1311
+ // (465:12) {#if gamebanneractive == 'true' && !isFullscreen}
1312
+ function ii(e){let t;return{c(){t=p("div"),t.innerHTML="<h3>Your banner here</h3>",v(t,"class","BannerSection")},m(e,n){d(e,t,n)},d(e){e&&f(t)}}}function oi(t){let n,r,i,o;function s(e,t){/*isLoading*/
1313
+ return e[27]?Vr:/*hasErrors*/e[26]?Wr:jr}let l=s(t),u=l(t);return{c(){n=p("script"),i=g(),o=p("div"),u.c(),this.c=e,v(n,"type","module"),a(n.src,r="https://unpkg.com/@everymatrix/user-deposit-withdrawal")||v(n,"src","https://unpkg.com/@everymatrix/user-deposit-withdrawal")},m(e,r){h(Gr.head,n),d(e,i,r),d(e,o,r),u.m(o,null),
1314
+ /*div_binding*/t[83](o)},p(e,t){l===(l=s(e))&&u?u.p(e,t):(u.d(1),u=l(e),u&&(u.c(),u.m(o,null)))},i:e,o:e,d(e){f(n),e&&f(i),e&&f(o),u.d(),
1315
+ /*div_binding*/t[83](null)}}}function si(e,t,n){let r;u(e,Fr,(e=>n(43,r=e)));let i,o,s,a,l,c,h,d,f,p,m,y,g,b,v,w,_,{endpoint:E=""}=t,{lang:S=""}=t,{session:T=""}=t,{userid:M=""}=t,{clientstyling:x=""}=t,{clientstylingurl:D=""}=t,{translationurl:P=""}=t,{gmversion:H=""}=t,{loginurl:F=""}=t,{registerurl:A=""}=t,{depositurl:C=""}=t,{loginevent:B=""}=t,{registerevent:N=""}=t,{depositevent:L=""}=t,{shortcashierenabled:R="false"}=t,{hasdefaultamount:I=""}=t,{playercurrency:$=""}=t,{clockformat:Y=""}=t,{haspanicbutton:U="false"}=t,{playforfun:G="true"}=t,{checksession:j="true"}=t,{gamebanneractive:W="false"}=t,{gameid:V=""}=t,z=!1,Z=!1,X=!0,q=!1,K=0,J=!1,Q=!1,ee=!0,te=!1,ne=window.navigator.userAgent,re=!1,ie=!1,{producttype:oe=""}=t,{successurl:se=""}=t,{failurl:ae=""}=t,{cancelurl:le=""}=t,{sportsurl:ue=""}=t,{casinourl:ce=""}=t,{contacturl:he=""}=t,{homeurl:de=""}=t;!function({withLocale:e,translations:t}){dr.subscribe((n=>{null==n&&(Yn.set(t),dr.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1321
1316
  /*dictionary.set(translations);
1322
- locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(Rr).forEach((e=>{Lr(e,Rr[e])}));
1317
+ locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(Br).forEach((e=>{Cr(e,Br[e])}));
1323
1318
  // @TODO game typescript model type
1324
- const fe=(e,t)=>{let r=new URL(`${E}/v1/casino/games/${e}`);r.searchParams.append("language",S),r.searchParams.append("expand","vendor"),n(31,ee=t||!1),fetch(r.href).then((e=>e.json())).then((e=>{n(29,u=(e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",S),
1319
+ const fe=(e,t)=>{let r=new URL(`${E}/v1/casino/games/${e}`);r.searchParams.append("language",S),r.searchParams.append("expand","vendor"),n(31,ee=t||!1),fetch(r.href).then((e=>e.json())).then((e=>{n(29,c=(e=>{let t=new URL(e.launchUrl);return t.searchParams.append("language",S),
1325
1320
  // @TODO wtf? session check or go home
1326
1321
  // Maybe we should check if the session is valid, somehow?
1327
- s&&s.length>0&&(n(25,z=!0),t.searchParams.append("_sid",s),t.searchParams.append("funMode","false")),e.launchUrl=t,w.scrollIntoView(),e})(e[0])),u.launchUrl&&(J=!0,n(30,Q="true"==G&&u.hasFunMode),"true"==G&&u.hasAnonymousFunMode)}),(e=>{console.error("There was an error",e),n(26,Z=!0)})).then((()=>{c&&(me(),ee||pe())}))},pe=()=>{n(37,g=u.width),n(38,v=u.height),m=u.width,y=u.height},me=()=>{let e=getComputedStyle(c),t=getComputedStyle(p);n(33,h=parseInt(e.width.slice(0,-2))),n(34,f=parseInt(e.height.slice(0,-2)));const r=u.width/(u.height+100);m=parseInt(t.width),y=parseInt(t.height),
1322
+ s&&s.length>0&&(n(25,z=!0),t.searchParams.append("_sid",s),t.searchParams.append("funMode","false")),e.launchUrl=t,v.scrollIntoView(),e})(e[0])),c.launchUrl&&(J=!0,n(30,Q="true"==G&&c.hasFunMode),"true"==G&&c.hasAnonymousFunMode)}),(e=>{console.error("There was an error",e),n(26,Z=!0)})).then((()=>{h&&(ye(),ee||pe())}))},pe=()=>{n(37,g=c.width),n(38,b=c.height),m=c.width,y=c.height},ye=()=>{let e=getComputedStyle(h),t=getComputedStyle(p);n(33,d=parseInt(e.width.slice(0,-2))),n(34,f=parseInt(e.height.slice(0,-2)));const r=c.width/(c.height+100);m=parseInt(t.width),y=parseInt(t.height),
1328
1323
  // resize logic for maintaining game ratio when resizing
1329
- h/r>f-b.clientHeight-_.clientHeight?(y=f-b.clientHeight-_.clientHeight,m=f*r):(m=h,y=h/r),n(37,g=m?Math.floor(m)+"px":"1280px"),n(38,v=y?Math.floor(y)+"px":"720px")},ye=()=>{
1324
+ d/r>f-w.clientHeight-_.clientHeight?(y=f-w.clientHeight-_.clientHeight,m=f*r):(m=d,y=d/r),n(37,g=m?Math.floor(m)+"px":"1280px"),n(38,b=y?Math.floor(y)+"px":"720px")},ge=()=>{
1330
1325
  // sent to modal component a flag (detailsObtained) by witch to determine if a game is open
1331
1326
  window.postMessage({type:"GameStateOnResize",detailsObtained:J},window.location.href),
1332
1327
  // make sure that a game is open before trying to get the element properties
1333
- J&&c&&"PC"==Cr(ne)&&me()},ge=()=>{N&&(window.postMessage({type:N,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),B&&(
1328
+ J&&h&&"PC"==Ar(ne)&&ye()},be=()=>{B&&(window.postMessage({type:B,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),F&&(
1334
1329
  // @ts-ignore
1335
- window.location=B),
1330
+ window.location=F),
1336
1331
  //Analytics event
1337
- "function"==typeof gtag&&gtag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},we=()=>{C&&(window.postMessage({type:C,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),F&&(
1332
+ "function"==typeof gtag&&gtag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},ve=()=>{N&&(window.postMessage({type:N,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),A&&(
1338
1333
  // @ts-ignore
1339
- window.location=F),
1334
+ window.location=A),
1340
1335
  //Analytics event
1341
- "function"==typeof gtag&&gtag("event","OpenRegisterModal",{context:"IntegratedGamePage"})},be=()=>{R?(n(42,ie=!0),window.postMessage({type:"DisableScroll"},window.location.href)):L&&(window.postMessage({type:L},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href),
1336
+ "function"==typeof gtag&&gtag("event","OpenRegisterModal",{context:"IntegratedGamePage"})},we=()=>{R?(n(42,ie=!0),window.postMessage({type:"DisableScroll"},window.location.href)):L&&(window.postMessage({type:L},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href),
1342
1337
  //Analytics event
1343
- "function"==typeof gtag&&gtag("event","GoToDeposit",{context:"IntegratedGamePage"})),A&&!R&&(
1338
+ "function"==typeof gtag&&gtag("event","GoToDeposit",{context:"IntegratedGamePage"})),C&&!R&&(
1344
1339
  // @ts-ignore
1345
- window.location=A)},_e=e=>{n(42,ie=!1),window.postMessage({type:"EnableScroll"},window.location.href),null==e||e.stopPropagation()},Ee=e=>{if(e.data&&"CloseShortCashier"===e.data.type)_e()};function Se(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!te||Te()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Se,!1),document.addEventListener("mozfullscreenchange",Se,!1),document.addEventListener("fullscreenchange",Se,!1),document.addEventListener("MSFullscreenChange",Se,!1));const Te=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(te?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen():c.requestFullscreen?c.requestFullscreen():c.webkitRequestFullscreen?c.webkitRequestFullscreen():c.mozRequestFullScreen?c.mozRequestFullScreen():c.msRequestFullscreen&&c.msRequestFullscreen()),n(36,te=!te)},Me=setInterval((()=>{n(23,i=Y?zr().format(Y):zr().format("LTS"))}),100),xe=()=>{var e;e=S,mr.set(e),n(39,re=(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)))(ne)),n(27,X=!1)},ke=()=>{"true"==j?function(e,t){return new Promise(((n,r)=>{let i=new Headers;i.append("X-SessionID",t),ve(`${e}/v1/player/session/player`,{method:"GET",headers:i}).then((e=>e.json())).then((e=>n(e))).catch((e=>r(e)))}))}(E,T).then((e=>{s=e.Guid,e.UserID,n(25,z=!0)}),(e=>{n(25,z=!1),console.error("err on session",e)})):s=T},De=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},Oe=e=>{K=0,l=setInterval((()=>{K+=1,n(28,q=!0),K>=3&&clearInterval(l)}),1e3)},Pe=e=>{K<3&&n(28,q=!1),clearInterval(l)};P((()=>(window.addEventListener("message",Ee,!1),window.addEventListener("resize",ye,!1),Vr.isNative(ne),()=>{n(28,q=!1),null==a||a.removeEventListener("mousedown",Oe),null==a||a.removeEventListener("touchstart",Oe),
1340
+ window.location=C)},_e=e=>{n(42,ie=!1),window.postMessage({type:"EnableScroll"},window.location.href),null==e||e.stopPropagation()},Ee=e=>{if(e.data&&"CloseShortCashier"===e.data.type)_e()};function Se(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!te||Te()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",Se,!1),document.addEventListener("mozfullscreenchange",Se,!1),document.addEventListener("fullscreenchange",Se,!1),document.addEventListener("MSFullscreenChange",Se,!1));const Te=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(te?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen():h.requestFullscreen?h.requestFullscreen():h.webkitRequestFullscreen?h.webkitRequestFullscreen():h.mozRequestFullScreen?h.mozRequestFullScreen():h.msRequestFullscreen&&h.msRequestFullscreen()),n(36,te=!te)},Me=setInterval((()=>{n(23,i=Y?Ur().format(Y):Ur().format("LTS"))}),100),xe=()=>{var e;e=S,dr.set(e),n(39,re=(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)))(ne)),n(27,X=!1)},ke=()=>{"true"==j?function(e,t){return new Promise(((n,r)=>{let i=new Headers;i.append("X-SessionID",t),me(`${e}/v1/player/session/player`,{method:"GET",headers:i}).then((e=>e.json())).then((e=>n(e))).catch((e=>r(e)))}))}(E,T).then((e=>{s=e.Guid,e.UserID,n(25,z=!0)}),(e=>{n(25,z=!1),console.error("err on session",e)})):s=T},De=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},Oe=e=>{K=0,l=setInterval((()=>{K+=1,n(28,q=!0),K>=3&&clearInterval(l)}),1e3)},Pe=e=>{K<3&&n(28,q=!1),clearInterval(l)};k((()=>(window.addEventListener("message",Ee,!1),window.addEventListener("resize",ge,!1),()=>{n(28,q=!1),null==a||a.removeEventListener("mousedown",Oe),null==a||a.removeEventListener("touchstart",Oe),
1346
1341
  // on mouseup stop interval count
1347
- null==a||a.removeEventListener("mouseup",Pe),null==a||a.removeEventListener("touchend",Pe),window.removeEventListener("message",Ee),window.removeEventListener("resize",ye),clearInterval(Me)})));return e.$$set=e=>{"endpoint"in e&&n(0,E=e.endpoint),"lang"in e&&n(1,S=e.lang),"session"in e&&n(2,T=e.session),"userid"in e&&n(3,M=e.userid),"clientstyling"in e&&n(4,x=e.clientstyling),"clientstylingurl"in e&&n(5,k=e.clientstylingurl),"translationurl"in e&&n(51,D=e.translationurl),"gmversion"in e&&n(6,O=e.gmversion),"loginurl"in e&&n(52,B=e.loginurl),"registerurl"in e&&n(53,F=e.registerurl),"depositurl"in e&&n(7,A=e.depositurl),"loginevent"in e&&n(54,N=e.loginevent),"registerevent"in e&&n(55,C=e.registerevent),"depositevent"in e&&n(56,L=e.depositevent),"shortcashierenabled"in e&&n(8,R=e.shortcashierenabled),"hasdefaultamount"in e&&n(9,I=e.hasdefaultamount),"playercurrency"in e&&n(10,$=e.playercurrency),"clockformat"in e&&n(57,Y=e.clockformat),"haspanicbutton"in e&&n(11,U=e.haspanicbutton),"playforfun"in e&&n(58,G=e.playforfun),"checksession"in e&&n(59,j=e.checksession),"gamebanneractive"in e&&n(12,W=e.gamebanneractive),"gameid"in e&&n(60,V=e.gameid),"producttype"in e&&n(13,oe=e.producttype),"successurl"in e&&n(14,se=e.successurl),"failurl"in e&&n(15,ae=e.failurl),"cancelurl"in e&&n(16,le=e.cancelurl),"sportsurl"in e&&n(17,ue=e.sportsurl),"casinourl"in e&&n(18,ce=e.casinourl),"contacturl"in e&&n(19,he=e.contacturl),"homeurl"in e&&n(20,de=e.homeurl)},e.$$.update=()=>{/*lang*/2&e.$$.dirty[0]&&S&&xe(),/*endpoint, lang*/3&e.$$.dirty[0]|/*gameid*/536870912&e.$$.dirty[1]&&E&&V&&S&&fe(V),/*session, userid, endpoint*/13&e.$$.dirty[0]&&T&&M&&E&&ke(),/*clientstyling, customStylingContainer*/4194320&e.$$.dirty[0]&&x&&w&&(()=>{let e=document.createElement("style");e.innerHTML=x,w.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/4194336&e.$$.dirty[0]&&k&&w&&(()=>{let e=document.createElement("style");if(k){let t=new URL(k);fetch(t.href).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{w.appendChild(e)}),1)}))}})(),/*panicButton*/2097152&e.$$.dirty[0]&&a&&(null==a||a.addEventListener("mousedown",Oe,!1),null==a||a.addEventListener("touchstart",Oe,!1),
1342
+ null==a||a.removeEventListener("mouseup",Pe),null==a||a.removeEventListener("touchend",Pe),window.removeEventListener("message",Ee),window.removeEventListener("resize",ge),clearInterval(Me)})));return e.$$set=e=>{"endpoint"in e&&n(0,E=e.endpoint),"lang"in e&&n(1,S=e.lang),"session"in e&&n(2,T=e.session),"userid"in e&&n(3,M=e.userid),"clientstyling"in e&&n(4,x=e.clientstyling),"clientstylingurl"in e&&n(5,D=e.clientstylingurl),"translationurl"in e&&n(51,P=e.translationurl),"gmversion"in e&&n(6,H=e.gmversion),"loginurl"in e&&n(52,F=e.loginurl),"registerurl"in e&&n(53,A=e.registerurl),"depositurl"in e&&n(7,C=e.depositurl),"loginevent"in e&&n(54,B=e.loginevent),"registerevent"in e&&n(55,N=e.registerevent),"depositevent"in e&&n(56,L=e.depositevent),"shortcashierenabled"in e&&n(8,R=e.shortcashierenabled),"hasdefaultamount"in e&&n(9,I=e.hasdefaultamount),"playercurrency"in e&&n(10,$=e.playercurrency),"clockformat"in e&&n(57,Y=e.clockformat),"haspanicbutton"in e&&n(11,U=e.haspanicbutton),"playforfun"in e&&n(58,G=e.playforfun),"checksession"in e&&n(59,j=e.checksession),"gamebanneractive"in e&&n(12,W=e.gamebanneractive),"gameid"in e&&n(60,V=e.gameid),"producttype"in e&&n(13,oe=e.producttype),"successurl"in e&&n(14,se=e.successurl),"failurl"in e&&n(15,ae=e.failurl),"cancelurl"in e&&n(16,le=e.cancelurl),"sportsurl"in e&&n(17,ue=e.sportsurl),"casinourl"in e&&n(18,ce=e.casinourl),"contacturl"in e&&n(19,he=e.contacturl),"homeurl"in e&&n(20,de=e.homeurl)},e.$$.update=()=>{/*lang*/2&e.$$.dirty[0]&&S&&xe(),/*endpoint, lang*/3&e.$$.dirty[0]|/*gameid*/536870912&e.$$.dirty[1]&&E&&V&&S&&fe(V),/*session, userid, endpoint*/13&e.$$.dirty[0]&&T&&M&&E&&ke(),/*clientstyling, customStylingContainer*/4194320&e.$$.dirty[0]&&x&&v&&(()=>{let e=document.createElement("style");e.innerHTML=x,v.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/4194336&e.$$.dirty[0]&&D&&v&&(()=>{let e=document.createElement("style");if(D){let t=new URL(D);fetch(t.href).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{v.appendChild(e)}),1)}))}})(),/*panicButton*/2097152&e.$$.dirty[0]&&a&&(null==a||a.addEventListener("mousedown",Oe,!1),null==a||a.addEventListener("touchstart",Oe,!1),
1348
1343
  // on mouseup stop interval count
1349
- null==a||a.addEventListener("mouseup",Pe,!1),null==a||a.addEventListener("touchend",Pe,!1)),/*translationurl*/1048576&e.$$.dirty[1]&&D&&fetch(D).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Lr(t,e[t])}))})).catch((e=>{console.log(e)}))},[E,S,T,M,x,k,O,A,R,I,$,U,W,oe,se,ae,le,ue,ce,he,de,a,w,i,o,z,Z,X,q,u,Q,ee,c,h,f,p,te,g,v,re,b,_,ie,r,ne,ge,we,be,_e,Te,De,D,B,F,N,C,L,Y,G,j,V,()=>De(),function(e){H[e?"unshift":"push"]((()=>{_=e,n(41,_)}))},()=>be(),e=>_e(e),e=>_e(e),function(e){H[e?"unshift":"push"]((()=>{o=e,n(24,o)}))},function(e){H[e?"unshift":"push"]((()=>{a=e,n(21,a)}))},()=>Te(),()=>Te(),function(e){H[e?"unshift":"push"]((()=>{b=e,n(40,b)}))},function(e){H[e?"unshift":"push"]((()=>{p=e,n(35,p)}))},function(e){H[e?"unshift":"push"]((()=>{c=e,n(32,c)}))},()=>De(),function(e){H[e?"unshift":"push"]((()=>{_=e,n(41,_)}))},function(e){H[e?"unshift":"push"]((()=>{o=e,n(24,o)}))},()=>ge(),()=>we(),()=>Te(),()=>Te(),function(e){H[e?"unshift":"push"]((()=>{b=e,n(40,b)}))},function(e){H[e?"unshift":"push"]((()=>{p=e,n(35,p)}))},function(e){H[e?"unshift":"push"]((()=>{c=e,n(32,c)}))},function(e){H[e?"unshift":"push"]((()=>{w=e,n(22,w)}))}]}class di extends V{constructor(e){super();const t=document.createElement("style");t.textContent='.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}@keyframes ModalBounce{0%{opacity:0;transform:translateY(20px)}50%{transform:translateY(-6px);opacity:0.8}100%{transform:translateY(0);opacity:1}}.ShortCashierWindow{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}.ShortCashierContainerWrapperMobile{position:relative;animation:ModalBounce 0.5s forwards;z-index:17}.ShortCashierContainerMobile{background-color:var(--emfe-w-color-white, #FFFFFF);position:absolute;width:80vw;top:32px;left:50%;transform:translateX(-100%);padding:10px;box-shadow:0px 30px 30px var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.ShortCashierContainerMobile:before{content:"";background:var(--emfe-w-color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:78%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.ClosePopUpButtonShortCashier{margin-left:auto;cursor:pointer}.ClosePopUpButtonShortCashier svg{position:absolute;top:10px;right:10px}.CasinoIntegratedGamePage{display:flex;flex-direction:column;height:100vh}.GamePageIntegratedTopSection{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:60px;padding:0 40px}@media(max-width: 768px){.GamePageIntegratedTopSection{padding:0 10px}}.backButton{background:transparent;display:inline-flex;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer}.backButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));display:flex;justify-content:space-between;align-items:center}@media(max-width: 768px){.BottomGame{padding:0 10px}}.DepositButton{border:none;padding:12px 20px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border-radius:5px;cursor:pointer}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));float:right}.FullscreenButton svg{fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}.ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.ButtonsContainer.ButtonsContainerFunMode{margin-right:15px}.ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-contrast, var(--emfe-w-color-background, #07072A));border-radius:5px;border:1px solid var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));width:129px;height:60px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:100%}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-direction:column}#IframeGame{width:100%;height:100%;display:flex;flex-direction:column}.FullsScreenLayout{position:fixed;top:0;left:0;bottom:0;right:0;width:100%;height:100%;z-index:9999;overflow:auto;background:#000}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;line-height:18px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:80% !important;height:60px;color:var(--emfe-w-button-typography, 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:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.BannerSection{width:100%;height:150px;background:repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);display:flex;justify-content:center;align-items:center}.BannerSection h3{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}',this.shadowRoot.appendChild(t),W(this,{target:this.shadowRoot,props:k(this.attributes),customElement:!0},hi,ci,l,{endpoint:0,lang:1,session:2,userid:3,clientstyling:4,clientstylingurl:5,translationurl:51,gmversion:6,loginurl:52,registerurl:53,depositurl:7,loginevent:54,registerevent:55,depositevent:56,shortcashierenabled:8,hasdefaultamount:9,playercurrency:10,clockformat:57,haspanicbutton:11,playforfun:58,checksession:59,gamebanneractive:12,gameid:60,producttype:13,successurl:14,failurl:15,cancelurl:16,sportsurl:17,casinourl:18,contacturl:19,homeurl:20},null,[-1,-1,-1,-1]),e&&(e.target&&m(e.target,this,e.anchor),e.props&&(this.$set(e.props),$()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","gmversion","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","shortcashierenabled","hasdefaultamount","playercurrency","clockformat","haspanicbutton","playforfun","checksession","gamebanneractive","gameid","producttype","successurl","failurl","cancelurl","sportsurl","casinourl","contacturl","homeurl"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),$()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),$()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),$()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),$()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),$()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),$()}get translationurl(){return this.$$.ctx[51]}set translationurl(e){this.$$set({translationurl:e}),$()}get gmversion(){return this.$$.ctx[6]}set gmversion(e){this.$$set({gmversion:e}),$()}get loginurl(){return this.$$.ctx[52]}set loginurl(e){this.$$set({loginurl:e}),$()}get registerurl(){return this.$$.ctx[53]}set registerurl(e){this.$$set({registerurl:e}),$()}get depositurl(){return this.$$.ctx[7]}set depositurl(e){this.$$set({depositurl:e}),$()}get loginevent(){return this.$$.ctx[54]}set loginevent(e){this.$$set({loginevent:e}),$()}get registerevent(){return this.$$.ctx[55]}set registerevent(e){this.$$set({registerevent:e}),$()}get depositevent(){return this.$$.ctx[56]}set depositevent(e){this.$$set({depositevent:e}),$()}get shortcashierenabled(){return this.$$.ctx[8]}set shortcashierenabled(e){this.$$set({shortcashierenabled:e}),$()}get hasdefaultamount(){return this.$$.ctx[9]}set hasdefaultamount(e){this.$$set({hasdefaultamount:e}),$()}get playercurrency(){return this.$$.ctx[10]}set playercurrency(e){this.$$set({playercurrency:e}),$()}get clockformat(){return this.$$.ctx[57]}set clockformat(e){this.$$set({clockformat:e}),$()}get haspanicbutton(){return this.$$.ctx[11]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),$()}get playforfun(){return this.$$.ctx[58]}set playforfun(e){this.$$set({playforfun:e}),$()}get checksession(){return this.$$.ctx[59]}set checksession(e){this.$$set({checksession:e}),$()}get gamebanneractive(){return this.$$.ctx[12]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),$()}get gameid(){return this.$$.ctx[60]}set gameid(e){this.$$set({gameid:e}),$()}get producttype(){return this.$$.ctx[13]}set producttype(e){this.$$set({producttype:e}),$()}get successurl(){return this.$$.ctx[14]}set successurl(e){this.$$set({successurl:e}),$()}get failurl(){return this.$$.ctx[15]}set failurl(e){this.$$set({failurl:e}),$()}get cancelurl(){return this.$$.ctx[16]}set cancelurl(e){this.$$set({cancelurl:e}),$()}get sportsurl(){return this.$$.ctx[17]}set sportsurl(e){this.$$set({sportsurl:e}),$()}get casinourl(){return this.$$.ctx[18]}set casinourl(e){this.$$set({casinourl:e}),$()}get contacturl(){return this.$$.ctx[19]}set contacturl(e){this.$$set({contacturl:e}),$()}get homeurl(){return this.$$.ctx[20]}set homeurl(e){this.$$set({homeurl:e}),$()}}return!customElements.get("casino-integrated-game-page")&&customElements.define("casino-integrated-game-page",di),di}));
1344
+ null==a||a.addEventListener("mouseup",Pe,!1),null==a||a.addEventListener("touchend",Pe,!1)),/*translationurl*/1048576&e.$$.dirty[1]&&P&&fetch(P).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Cr(t,e[t])}))})).catch((e=>{console.log(e)}))},[E,S,T,M,x,D,H,C,R,I,$,U,W,oe,se,ae,le,ue,ce,he,de,a,v,i,o,z,Z,X,q,c,Q,ee,h,d,f,p,te,g,b,re,w,_,ie,r,ne,be,ve,we,_e,Te,De,P,F,A,B,N,L,Y,G,j,V,()=>De(),function(e){O[e?"unshift":"push"]((()=>{_=e,n(41,_)}))},()=>we(),e=>_e(e),e=>_e(e),function(e){O[e?"unshift":"push"]((()=>{o=e,n(24,o)}))},function(e){O[e?"unshift":"push"]((()=>{a=e,n(21,a)}))},()=>Te(),()=>Te(),function(e){O[e?"unshift":"push"]((()=>{w=e,n(40,w)}))},function(e){O[e?"unshift":"push"]((()=>{p=e,n(35,p)}))},function(e){O[e?"unshift":"push"]((()=>{h=e,n(32,h)}))},()=>De(),function(e){O[e?"unshift":"push"]((()=>{_=e,n(41,_)}))},function(e){O[e?"unshift":"push"]((()=>{o=e,n(24,o)}))},()=>be(),()=>ve(),()=>Te(),()=>Te(),function(e){O[e?"unshift":"push"]((()=>{w=e,n(40,w)}))},function(e){O[e?"unshift":"push"]((()=>{p=e,n(35,p)}))},function(e){O[e?"unshift":"push"]((()=>{h=e,n(32,h)}))},function(e){O[e?"unshift":"push"]((()=>{v=e,n(22,v)}))}]}class ai extends G{constructor(e){super();const t=document.createElement("style");t.textContent='.SearchLoading{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}@keyframes ModalBounce{0%{opacity:0;transform:translateY(20px)}50%{transform:translateY(-6px);opacity:0.8}100%{transform:translateY(0);opacity:1}}.ShortCashierWindow{background-color:rgba(0, 0, 0, 0.7);position:fixed;top:0;bottom:0;left:0;right:0;z-index:16}.ShortCashierContainerWrapperMobile{position:relative;animation:ModalBounce 0.5s forwards;z-index:17}.ShortCashierContainerMobile{background-color:var(--emfe-w-color-white, #FFFFFF);position:absolute;width:80vw;top:32px;left:50%;transform:translateX(-100%);padding:10px;box-shadow:0px 30px 30px var(--emfe-w-header-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;z-index:17;box-shadow:0px 5px 20px 0px #191919}.ShortCashierContainerMobile:before{content:"";background:var(--emfe-w-color-white, #FFFFFF);clip-path:polygon(50% 0, 0% 100%, 100% 100%);position:absolute;top:-8px;left:78%;width:25px;height:10px;transform:translateX(-50%);z-index:1}.ClosePopUpButtonShortCashier{margin-left:auto;cursor:pointer}.ClosePopUpButtonShortCashier svg{position:absolute;top:10px;right:10px}.CasinoIntegratedGamePage{display:flex;flex-direction:column;height:100vh}.GamePageIntegratedTopSection{display:flex;flex-direction:row;justify-content:space-between;align-items:center;height:60px;padding:0 40px}@media(max-width: 768px){.GamePageIntegratedTopSection{padding:0 10px}}.backButton{background:transparent;display:inline-flex;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));height:15px;border-radius:5px;border:none;background:transparent;padding:0;text-transform:uppercase;font-size:22px;cursor:pointer}.backButton svg{width:20px;height:20px;margin-right:24px;fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-casino-color-bg, var(--emfe-w-color-background, #07072A));display:flex;justify-content:space-between;align-items:center}@media(max-width: 768px){.BottomGame{padding:0 10px}}.DepositButton{border:none;padding:12px 20px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));border-radius:5px;cursor:pointer}.FullscreenButton{border-radius:5px;border:none;width:60px;height:60px;background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));float:right}.FullscreenButton svg{fill:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}.ButtonsContainer{width:275px;display:flex;flex-direction:row;justify-content:space-between}.ButtonsContainer.ButtonsContainerFunMode{margin-right:15px}.ButtonsContainer button{cursor:pointer}.RegisterButton{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-color-primary, var(--emfe-w-color-primary, #D0046C));border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));background-color:var(--emfe-w-casino-contrast, var(--emfe-w-color-background, #07072A));border-radius:5px;border:1px solid var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));width:129px;height:60px}.GamesContainer{width:100%;height:100%;max-width:calc(100% - 4px);max-height:100%}.Time{height:20px;margin:0;display:flex;align-items:center;justify-content:center}svg{fill:var(--emfe-w-color-white, #FFFFFF)}p{color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF))}#IframeContainer{height:100%;width:100%;display:flex;align-items:center;justify-content:flex-start;flex-direction:column}#IframeGame{width:100%;height:100%;display:flex;flex-direction:column}.FullsScreenLayout{position:fixed;top:0;left:0;bottom:0;right:0;width:100%;height:100%;z-index:9999;overflow:auto;background:#000}.FullsScreenLayout .GamesContainer{width:100% !important;height:calc(100% - 100px) !important}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicButton{border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:280px;height:60px;line-height:18px;color:var(--emfe-w-button-typography, var(--emfe-w-color-white, #FFFFFF));cursor:pointer}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-primary, #D0046C);width:80% !important;height:60px;color:var(--emfe-w-button-typography, 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:var(--emfe-w-color-primary, #D0046C);width:280px;color:#fff;-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.BannerSection{width:100%;height:150px;background:repeating-linear-gradient(45deg, #606dbc, #606dbc 10px, #465298 10px, #465298 20px);display:flex;justify-content:center;align-items:center}.BannerSection h3{color:var(--emfe-w-casino-typography, var(--emfe-w-color-white, #FFFFFF))}',this.shadowRoot.appendChild(t),U(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},si,oi,o,{endpoint:0,lang:1,session:2,userid:3,clientstyling:4,clientstylingurl:5,translationurl:51,gmversion:6,loginurl:52,registerurl:53,depositurl:7,loginevent:54,registerevent:55,depositevent:56,shortcashierenabled:8,hasdefaultamount:9,playercurrency:10,clockformat:57,haspanicbutton:11,playforfun:58,checksession:59,gamebanneractive:12,gameid:60,producttype:13,successurl:14,failurl:15,cancelurl:16,sportsurl:17,casinourl:18,contacturl:19,homeurl:20},null,[-1,-1,-1,-1]),e&&(e.target&&d(e.target,this,e.anchor),e.props&&(this.$set(e.props),L()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","gmversion","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","shortcashierenabled","hasdefaultamount","playercurrency","clockformat","haspanicbutton","playforfun","checksession","gamebanneractive","gameid","producttype","successurl","failurl","cancelurl","sportsurl","casinourl","contacturl","homeurl"]}get endpoint(){return this.$$.ctx[0]}set endpoint(e){this.$$set({endpoint:e}),L()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),L()}get session(){return this.$$.ctx[2]}set session(e){this.$$set({session:e}),L()}get userid(){return this.$$.ctx[3]}set userid(e){this.$$set({userid:e}),L()}get clientstyling(){return this.$$.ctx[4]}set clientstyling(e){this.$$set({clientstyling:e}),L()}get clientstylingurl(){return this.$$.ctx[5]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),L()}get translationurl(){return this.$$.ctx[51]}set translationurl(e){this.$$set({translationurl:e}),L()}get gmversion(){return this.$$.ctx[6]}set gmversion(e){this.$$set({gmversion:e}),L()}get loginurl(){return this.$$.ctx[52]}set loginurl(e){this.$$set({loginurl:e}),L()}get registerurl(){return this.$$.ctx[53]}set registerurl(e){this.$$set({registerurl:e}),L()}get depositurl(){return this.$$.ctx[7]}set depositurl(e){this.$$set({depositurl:e}),L()}get loginevent(){return this.$$.ctx[54]}set loginevent(e){this.$$set({loginevent:e}),L()}get registerevent(){return this.$$.ctx[55]}set registerevent(e){this.$$set({registerevent:e}),L()}get depositevent(){return this.$$.ctx[56]}set depositevent(e){this.$$set({depositevent:e}),L()}get shortcashierenabled(){return this.$$.ctx[8]}set shortcashierenabled(e){this.$$set({shortcashierenabled:e}),L()}get hasdefaultamount(){return this.$$.ctx[9]}set hasdefaultamount(e){this.$$set({hasdefaultamount:e}),L()}get playercurrency(){return this.$$.ctx[10]}set playercurrency(e){this.$$set({playercurrency:e}),L()}get clockformat(){return this.$$.ctx[57]}set clockformat(e){this.$$set({clockformat:e}),L()}get haspanicbutton(){return this.$$.ctx[11]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),L()}get playforfun(){return this.$$.ctx[58]}set playforfun(e){this.$$set({playforfun:e}),L()}get checksession(){return this.$$.ctx[59]}set checksession(e){this.$$set({checksession:e}),L()}get gamebanneractive(){return this.$$.ctx[12]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),L()}get gameid(){return this.$$.ctx[60]}set gameid(e){this.$$set({gameid:e}),L()}get producttype(){return this.$$.ctx[13]}set producttype(e){this.$$set({producttype:e}),L()}get successurl(){return this.$$.ctx[14]}set successurl(e){this.$$set({successurl:e}),L()}get failurl(){return this.$$.ctx[15]}set failurl(e){this.$$set({failurl:e}),L()}get cancelurl(){return this.$$.ctx[16]}set cancelurl(e){this.$$set({cancelurl:e}),L()}get sportsurl(){return this.$$.ctx[17]}set sportsurl(e){this.$$set({sportsurl:e}),L()}get casinourl(){return this.$$.ctx[18]}set casinourl(e){this.$$set({casinourl:e}),L()}get contacturl(){return this.$$.ctx[19]}set contacturl(e){this.$$set({contacturl:e}),L()}get homeurl(){return this.$$.ctx[20]}set homeurl(e){this.$$set({homeurl:e}),L()}}return!customElements.get("casino-integrated-game-page")&&customElements.define("casino-integrated-game-page",ai),ai}));
1350
1345
  //# sourceMappingURL=casino-integrated-game-page.js.map