@everymatrix/casino-integrated-game-page 1.13.7 → 1.13.8

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.
@@ -8,7 +8,7 @@
8
8
  *
9
9
  * https://svelte.dev/docs#run-time-svelte-onmount
10
10
  */
11
- function k(e){(function(){if(!h)throw new Error("Function called outside component initialization");return h})().$$.on_mount.push(e)}const D=[],x=[];let O=[];const B=[],P=Promise.resolve();let A=!1;function H(e){O.push(e)}
11
+ function k(e){(function(){if(!h)throw new Error("Function called outside component initialization");return h})().$$.on_mount.push(e)}const x=[],D=[];let O=[];const B=[],P=Promise.resolve();let A=!1;function H(e){O.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,29 +27,29 @@ function k(e){(function(){if(!h)throw new Error("Function called outside compone
27
27
  // 3. During afterUpdate, any updated components will NOT have their afterUpdate
28
28
  // callback called a second time; the seen_callbacks set, outside the flush()
29
29
  // function, guarantees this behavior.
30
- const N=new Set;let L=0;// Do *not* move this inside the flush() function
31
- function C(){
30
+ const N=new Set;let C=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!==L)return;const e=h;do{
35
+ if(0!==C)return;const e=h;do{
36
36
  // first, call beforeUpdate functions
37
37
  // and update components
38
- try{for(;L<D.length;){const e=D[L];L++,M(e),I(e.$$)}}catch(e){
38
+ try{for(;C<x.length;){const e=x[C];C++,M(e),R(e.$$)}}catch(e){
39
39
  // reset dirty state to not end up in a deadlocked state and then rethrow
40
- throw D.length=0,L=0,e}for(M(null),D.length=0,L=0;x.length;)x.pop()();
40
+ throw x.length=0,C=0,e}for(M(null),x.length=0,C=0;D.length;)D.pop()();
41
41
  // then, once components are updated, call
42
42
  // afterUpdate functions. This may cause
43
43
  // subsequent updates...
44
44
  for(let e=0;e<O.length;e+=1){const t=O[e];N.has(t)||(
45
45
  // ...so guard against infinite loops
46
- N.add(t),t())}O.length=0}while(D.length);for(;B.length;)B.pop()();A=!1,N.clear(),M(e)}function I(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(H)}}
46
+ N.add(t),t())}O.length=0}while(x.length);for(;B.length;)B.pop()();A=!1,N.clear(),M(e)}function R(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(H)}}
47
47
  /**
48
48
  * Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
49
- */const R=new Set;function F(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];O.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),O=t}(n.after_update),s(n.on_destroy),n.fragment&&n.fragment.d(t),
49
+ */const I=new Set;function F(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];O.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),O=t}(n.after_update),s(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 Y(e,t){-1===e.$$.dirty[0]&&(D.push(e),A||(A=!0,P.then(C)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function U(e,t,n,u,l,c,d,f=[-1]){const p=h;M(e);const y=e.$$={fragment:null,ctx:[],
52
+ n.on_destroy=n.fragment=null,n.ctx=[])}function Y(e,t){-1===e.$$.dirty[0]&&(x.push(e),A||(A=!0,P.then(L)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function U(e,t,n,u,l,c,d,f=[-1]){const p=h;M(e);const y=e.$$={fragment:null,ctx:[],
53
53
  // state
54
54
  props:c,update:r,not_equal:l,bound:o(),
55
55
  // lifecycle
@@ -61,7 +61,7 @@ y.fragment=!!u&&u(y.ctx),t.target){if(t.hydrate){const e=function(e){return Arra
61
61
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
62
62
  y.fragment&&y.fragment.l(e),e.forEach(m)}else
63
63
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
64
- y.fragment&&y.fragment.c();t.intro&&((v=e.$$.fragment)&&v.i&&(R.delete(v),v.i(_))),function(e,t,n,r){const{fragment:o,after_update:u}=e.$$;o&&o.m(t,n),r||
64
+ y.fragment&&y.fragment.c();t.intro&&((v=e.$$.fragment)&&v.i&&(I.delete(v),v.i(_))),function(e,t,n,r){const{fragment:o,after_update:u}=e.$$;o&&o.m(t,n),r||
65
65
  // onMount happens before the initial afterUpdate
66
66
  H((()=>{const t=e.$$.on_mount.map(i).filter(a);
67
67
  // if the component was destroyed immediately
@@ -70,15 +70,18 @@ H((()=>{const t=e.$$.on_mount.map(i).filter(a);
70
70
  e.$$.on_destroy?e.$$.on_destroy.push(...t):
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=[]})),u.forEach(H)}(e,t.target,t.anchor,t.customElement),C()}var v,_;M(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(i).filter(a);
73
+ s(t),e.$$.on_mount=[]})),u.forEach(H)}(e,t.target,t.anchor,t.customElement),L()}var v,_;M(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(i).filter(a);
74
74
  // @ts-ignore todo: improve typings
75
75
  for(const e in this.$$.slotted)
76
76
  // @ts-ignore todo: improve typings
77
77
  this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){s(this.$$.on_disconnect)}$destroy(){F(this,1),this.$destroy=r}$on(e,t){
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)}});var $="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==$&&$,j="URLSearchParams"in $,W="Symbol"in $&&"iterator"in Symbol,V="FileReader"in $&&"Blob"in $&&function(){try{return new Blob,!0}catch(e){return!1}}(),z="FormData"in $,Z="ArrayBuffer"in $;if(Z)var X=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],q=ArrayBuffer.isView||function(e){return e&&X.indexOf(Object.prototype.toString.call(e))>-1};function K(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function J(e){return"string"!=typeof e&&(e=String(e)),e}
79
+ if(!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 $="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||
81
+ // eslint-disable-next-line no-undef
82
+ "undefined"!=typeof global&&global||{},j="URLSearchParams"in $,W="Symbol"in $&&"iterator"in Symbol,V="FileReader"in $&&"Blob"in $&&function(){try{return new Blob,!0}catch(e){return!1}}(),z="FormData"in $,Z="ArrayBuffer"in $;if(Z)var X=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],q=ArrayBuffer.isView||function(e){return e&&X.indexOf(Object.prototype.toString.call(e))>-1};function K(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function J(e){return"string"!=typeof e&&(e=String(e)),e}
80
83
  // Build a destructive iterator for the value list
81
- function Q(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return W&&(t[Symbol.iterator]=function(){return t}),t}function ee(e){this.map={},e instanceof ee?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function te(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function ne(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function re(e){var t=new FileReader,n=ne(t);return t.readAsArrayBuffer(e),n}function ie(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function oe(){return this.bodyUsed=!1,this._initBody=function(e){var t;
84
+ function Q(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return W&&(t[Symbol.iterator]=function(){return t}),t}function ee(e){this.map={},e instanceof ee?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){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 te(e){if(!e._noBody)return e.bodyUsed?Promise.reject(new TypeError("Already read")):void(e.bodyUsed=!0)}function ne(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function re(e){var t=new FileReader,n=ne(t);return t.readAsArrayBuffer(e),n}function ie(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function oe(){return this.bodyUsed=!1,this._initBody=function(e){var t;
82
85
  /*
83
86
  fetch-mock wraps the Response object in an ES6 Proxy to
84
87
  provide useful test harness features such as flush. However, on
@@ -89,19 +92,20 @@ function Q(e){var t={next:function(){var t=e.shift();return{done:void 0===t,valu
89
92
  semantic of setting Request.bodyUsed in the constructor before
90
93
  _initBody is called.
91
94
  */
95
+ // eslint-disable-next-line no-self-assign
92
96
  this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:V&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:z&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:j&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():Z&&V&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=ie(e.buffer),
93
97
  // IE 10-11 can't handle a DataView body.
94
- this._bodyInit=new Blob([this._bodyArrayBuffer])):Z&&(ArrayBuffer.prototype.isPrototypeOf(e)||q(e))?this._bodyArrayBuffer=ie(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):j&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},V&&(this.blob=function(){var e=te(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=te(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(re)}),this.text=function(){var e,t,n,r=te(this);if(r)return r;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=ne(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),r=0;r<t.length;r++)n[r]=String.fromCharCode(t[r]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},z&&(this.formData=function(){return this.text().then(ue)}),this.json=function(){return this.text().then(JSON.parse)},this}
98
+ this._bodyInit=new Blob([this._bodyArrayBuffer])):Z&&(ArrayBuffer.prototype.isPrototypeOf(e)||q(e))?this._bodyArrayBuffer=ie(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):j&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},V&&(this.blob=function(){var e=te(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))}),this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=te(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}if(V)return this.blob().then(re);throw new Error("could not read as ArrayBuffer")},this.text=function(){var e,t,n,r,i,o=te(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=ne(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}
95
99
  // HTTP methods whose capitalization should be normalized
96
- ee.prototype.append=function(e,t){e=K(e),t=J(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},ee.prototype.delete=function(e){delete this.map[K(e)]},ee.prototype.get=function(e){return e=K(e),this.has(e)?this.map[e]:null},ee.prototype.has=function(e){return this.map.hasOwnProperty(K(e))},ee.prototype.set=function(e,t){this.map[K(e)]=J(t)},ee.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},ee.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),Q(e)},ee.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),Q(e)},ee.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),Q(e)},W&&(ee.prototype[Symbol.iterator]=ee.prototype.entries);var se=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function ae(e,t){if(!(this instanceof ae))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,i=(t=t||{}).body;if(e instanceof ae){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new ee(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new ee(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),se.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&i)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(i),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){
100
+ ee.prototype.append=function(e,t){e=K(e),t=J(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},ee.prototype.delete=function(e){delete this.map[K(e)]},ee.prototype.get=function(e){return e=K(e),this.has(e)?this.map[e]:null},ee.prototype.has=function(e){return this.map.hasOwnProperty(K(e))},ee.prototype.set=function(e,t){this.map[K(e)]=J(t)},ee.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},ee.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),Q(e)},ee.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),Q(e)},ee.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),Q(e)},W&&(ee.prototype[Symbol.iterator]=ee.prototype.entries);var se=["CONNECT","DELETE","GET","HEAD","OPTIONS","PATCH","POST","PUT","TRACE"];function ae(e,t){if(!(this instanceof ae))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,r,i=(t=t||{}).body;if(e instanceof ae){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new ee(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,i||null==e._bodyInit||(i=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new ee(t.headers)),this.method=(n=t.method||this.method||"GET",r=n.toUpperCase(),se.indexOf(r)>-1?r:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal||function(){if("AbortController"in $)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)){
97
101
  // Search for a '_' parameter in the query string
98
102
  var o=/([?&])_=[^&]*/;if(o.test(this.url))
99
103
  // If it already exists then set the value with the current time
100
- this.url=this.url.replace(o,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function 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 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.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new ee(t.headers),this.url=t.url||"",this._initBody(e)}ae.prototype.clone=function(){return new ae(this,{body:this._bodyInit})},oe.call(ae.prototype),oe.call(le.prototype),le.prototype.clone=function(){return new le(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new ee(this.headers),url:this.url})},le.error=function(){var e=new le(null,{status:0,statusText:""});return e.type="error",e};var he=[301,302,303,307,308];le.redirect=function(e,t){if(-1===he.indexOf(t))throw new RangeError("Invalid status code");return new le(null,{status:t,headers:{location:e}})};var ce=$.DOMException;try{new ce}catch(e){(ce=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),ce.prototype.constructor=ce}function de(e,t){return new Promise((function(n,r){var i=new ae(e,t);if(i.signal&&i.signal.aborted)return r(new ce("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}o.onload=function(){var e,t,r={status:o.status,statusText:o.statusText,headers:(e=o.getAllResponseHeaders()||"",t=new ee,
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 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.');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 ee(t.headers),this.url=t.url||"",this._initBody(e)}ae.prototype.clone=function(){return new ae(this,{body:this._bodyInit})},oe.call(ae.prototype),oe.call(le.prototype),le.prototype.clone=function(){return new le(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new ee(this.headers),url:this.url})},le.error=function(){var e=new le(null,{status:200,statusText:""});return e.status=0,e.type="error",e};var he=[301,302,303,307,308];le.redirect=function(e,t){if(-1===he.indexOf(t))throw new RangeError("Invalid status code");return new le(null,{status:t,headers:{location:e}})};var ce=$.DOMException;try{new ce}catch(e){(ce=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),ce.prototype.constructor=ce}function de(e,t){return new Promise((function(n,r){var i=new ae(e,t);if(i.signal&&i.signal.aborted)return r(new ce("Aborted","AbortError"));var o=new XMLHttpRequest;function s(){o.abort()}if(o.onload=function(){var e=o.getAllResponseHeaders(),t=o.getResponseHeader("set-cookie");t&&(e=e.replace(t,t.replace(/\r?\n/g,", ")));var r,i,s={status:o.status,statusText:o.statusText,headers:(r=e||"",i=new ee,
101
105
  // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill
102
106
  // https://github.com/github/fetch/issues/748
103
107
  // https://github.com/zloirock/core-js/issues/751
104
- e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),r=n.shift().trim();if(r){var i=n.join(":").trim();t.append(r,i)}})),t)};r.url="responseURL"in o?o.responseURL:r.headers.get("X-Request-URL");var i="response"in o?o.response:o.responseText;setTimeout((function(){n(new le(i,r))}),0)},o.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.onabort=function(){setTimeout((function(){r(new ce("Aborted","AbortError"))}),0)},o.open(i.method,function(e){try{return""===e&&$.location.href?$.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&&(V?o.responseType="blob":Z&&i.headers.get("Content-Type")&&-1!==i.headers.get("Content-Type").indexOf("application/octet-stream")&&(o.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof ee?i.headers.forEach((function(e,t){o.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){o.setRequestHeader(e,J(t.headers[e]))})),i.signal&&(i.signal.addEventListener("abort",s),o.onreadystatechange=function(){
108
+ r.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 t=e.split(":"),n=t.shift().trim();if(n){var r=t.join(":").trim();try{i.append(n,r)}catch(e){console.warn("Response "+e.message)}}})),i)};s.url="responseURL"in o?o.responseURL:s.headers.get("X-Request-URL");var a="response"in o?o.response:o.responseText;setTimeout((function(){n(new le(a,s))}),0)},o.onerror=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.ontimeout=function(){setTimeout((function(){r(new TypeError("Network request failed"))}),0)},o.onabort=function(){setTimeout((function(){r(new ce("Aborted","AbortError"))}),0)},o.open(i.method,function(e){try{return""===e&&$.location.href?$.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&&(V?o.responseType="blob":Z&&(o.responseType="arraybuffer")),t&&"object"==typeof t.headers&&!(t.headers instanceof ee||$.Headers&&t.headers instanceof $.Headers)){var a=[];Object.getOwnPropertyNames(t.headers).forEach((function(e){a.push(K(e)),o.setRequestHeader(e,J(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(){
105
109
  // DONE (success or failure)
106
110
  4===o.readyState&&i.signal.removeEventListener("abort",s)}),o.send(void 0===i._bodyInit?null:i._bodyInit)}))}de.polyfill=!0,$.fetch||($.fetch=de,$.Headers=ee,$.Request=ae,$.Response=le);"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function fe(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}
107
111
  // the whatwg-fetch polyfill installs the fetch() function
@@ -123,7 +127,7 @@ var pe=self.fetch.bind(self),me=function(e,t){return me=Object.setPrototypeOf||{
123
127
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
124
128
  PERFORMANCE OF THIS SOFTWARE.
125
129
  ***************************************************************************** */
126
- /* global Reflect, Promise, SuppressedError, Symbol */function ye(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}me(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ge(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 _e(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function be(e){return"function"==typeof e}function we(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var Ee=we((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function Se(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Te=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}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=ge(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 u=this.initialTeardown;if(be(u))try{u()}catch(e){i=e instanceof Ee?e.errors:[e]}var l=this._finalizers;if(l){this._finalizers=null;try{for(var h=ge(l),c=h.next();!c.done;c=h.next()){var d=c.value;try{De(d)}catch(e){i=null!=i?i:[],e instanceof Ee?i=_e(_e([],ve(i)),ve(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}}if(i)throw new Ee(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)&&Se(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Se(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}(),Me=Te.EMPTY;function ke(e){return e instanceof Te||e&&"closed"in e&&be(e.remove)&&be(e.add)&&be(e.unsubscribe)}function De(e){be(e)?e():e.unsubscribe()}var xe={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Oe={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Oe.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,_e([e,t],ve(n))):setTimeout.apply(void 0,_e([e,t],ve(n)))},clearTimeout:function(e){var t=Oe.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Be(){}var Pe=null;function Ae(e){if(xe.useDeprecatedSynchronousErrorHandling){var t=!Pe;if(t&&(Pe={errorThrown:!1,error:null}),e(),t){var n=Pe,r=n.errorThrown,i=n.error;if(Pe=null,r)throw i}}else e()}var He=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=Fe,n}return ye(t,e),t.create=function(e,t,n){return new Ie(e,t,n)},t.prototype.next=function(e){this.isStopped||this._next(e)},t.prototype.error=function(e){this.isStopped||(this.isStopped=!0,this._error(e))},t.prototype.complete=function(){this.isStopped||(this.isStopped=!0,this._complete())},t.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,e.prototype.unsubscribe.call(this),this.destination=null)},t.prototype._next=function(e){this.destination.next(e)},t.prototype._error=function(e){try{this.destination.error(e)}finally{this.unsubscribe()}},t.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},t}(Te),Ne=Function.prototype.bind;function Le(e,t){return Ne.call(e,t)}var Ce=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){Re(e)}},e.prototype.error=function(e){var t=this.partialObserver;if(t.error)try{t.error(e)}catch(e){Re(e)}else Re(e)},e.prototype.complete=function(){var e=this.partialObserver;if(e.complete)try{e.complete()}catch(e){Re(e)}},e}(),Ie=function(e){function t(t,n,r){var i,o,s=e.call(this)||this;be(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&xe.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&Le(t.next,o),error:t.error&&Le(t.error,o),complete:t.complete&&Le(t.complete,o)}):i=t;return s.destination=new Ce(i),s}return ye(t,e),t}(He);function Re(e){var t;t=e,Oe.setTimeout((function(){throw t}))}var Fe={closed:!0,next:Be,error:function(e){throw e},complete:Be},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 He||function(e){return e&&be(e.next)&&be(e.error)&&be(e.complete)}(r)&&ke(r)?e:new Ie(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=$e(t))((function(t,r){var i=new Ie({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=$e(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 $e(e){var t;return null!==(t=null!=e?e:xe.Promise)&&void 0!==t?t:Promise}var je=we((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),We=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 ye(t,e),t.prototype.lift=function(e){var t=new Ve(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new je},t.prototype.next=function(e){var t=this;Ae((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=ge(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?Me:(this.currentObservers=null,o.push(e),new Te((function(){t.currentObservers=null,Se(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 Ve(e,t)},t}(Ge),Ve=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return ye(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:Me},t}(We),ze={now:function(){return(ze.delegate||Date).now()},delegate:void 0},Ze=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=ze);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return ye(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,u=1;u<r.length&&r[u]<=s;u+=2)a=u;a&&r.splice(0,a+1)}},t}(We);let Xe=[],qe={};
130
+ /* global Reflect, Promise, SuppressedError, Symbol */function ye(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}me(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}function ge(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 _e(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}function be(e){return"function"==typeof e}function we(e){var t=e((function(e){Error.call(e),e.stack=(new Error).stack}));return t.prototype=Object.create(Error.prototype),t.prototype.constructor=t,t}"function"==typeof SuppressedError&&SuppressedError;var Ee=we((function(e){return function(t){e(this),this.message=t?t.length+" errors occurred during unsubscription:\n"+t.map((function(e,t){return t+1+") "+e.toString()})).join("\n "):"",this.name="UnsubscriptionError",this.errors=t}}));function Se(e,t){if(e){var n=e.indexOf(t);0<=n&&e.splice(n,1)}}var Te=function(){function e(e){this.initialTeardown=e,this.closed=!1,this._parentage=null,this._finalizers=null}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=ge(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 u=this.initialTeardown;if(be(u))try{u()}catch(e){i=e instanceof Ee?e.errors:[e]}var l=this._finalizers;if(l){this._finalizers=null;try{for(var h=ge(l),c=h.next();!c.done;c=h.next()){var d=c.value;try{xe(d)}catch(e){i=null!=i?i:[],e instanceof Ee?i=_e(_e([],ve(i)),ve(e.errors)):i.push(e)}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=h.return)&&r.call(h)}finally{if(n)throw n.error}}}if(i)throw new Ee(i)}},e.prototype.add=function(t){var n;if(t&&t!==this)if(this.closed)xe(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)&&Se(t,e)},e.prototype.remove=function(t){var n=this._finalizers;n&&Se(n,t),t instanceof e&&t._removeParent(this)},e.EMPTY=((t=new e).closed=!0,t),e}(),Me=Te.EMPTY;function ke(e){return e instanceof Te||e&&"closed"in e&&be(e.remove)&&be(e.add)&&be(e.unsubscribe)}function xe(e){be(e)?e():e.unsubscribe()}var De={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},Oe={setTimeout:function(e,t){for(var n=[],r=2;r<arguments.length;r++)n[r-2]=arguments[r];var i=Oe.delegate;return(null==i?void 0:i.setTimeout)?i.setTimeout.apply(i,_e([e,t],ve(n))):setTimeout.apply(void 0,_e([e,t],ve(n)))},clearTimeout:function(e){var t=Oe.delegate;return((null==t?void 0:t.clearTimeout)||clearTimeout)(e)},delegate:void 0};function Be(){}var Pe=null;function Ae(e){if(De.useDeprecatedSynchronousErrorHandling){var t=!Pe;if(t&&(Pe={errorThrown:!1,error:null}),e(),t){var n=Pe,r=n.errorThrown,i=n.error;if(Pe=null,r)throw i}}else e()}var He=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=Fe,n}return ye(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}(Te),Ne=Function.prototype.bind;function Ce(e,t){return Ne.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;be(t)||!t?i={next:null!=t?t:void 0,error:null!=n?n:void 0,complete:null!=r?r:void 0}:s&&De.useDeprecatedNextContext?((o=Object.create(t)).unsubscribe=function(){return s.unsubscribe()},i={next:t.next&&Ce(t.next,o),error:t.error&&Ce(t.error,o),complete:t.complete&&Ce(t.complete,o)}):i=t;return s.destination=new Le(i),s}return ye(t,e),t}(He);function Ie(e){var t;t=e,Oe.setTimeout((function(){throw t}))}var Fe={closed:!0,next:Be,error:function(e){throw e},complete:Be},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 He||function(e){return e&&be(e.next)&&be(e.error)&&be(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=$e(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=$e(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 $e(e){var t;return null!==(t=null!=e?e:De.Promise)&&void 0!==t?t:Promise}var je=we((function(e){return function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})),We=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 ye(t,e),t.prototype.lift=function(e){var t=new Ve(this,this);return t.operator=e,t},t.prototype._throwIfClosed=function(){if(this.closed)throw new je},t.prototype.next=function(e){var t=this;Ae((function(){var n,r;if(t._throwIfClosed(),!t.isStopped){t.currentObservers||(t.currentObservers=Array.from(t.observers));try{for(var i=ge(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?Me:(this.currentObservers=null,o.push(e),new Te((function(){t.currentObservers=null,Se(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 Ve(e,t)},t}(Ge),Ve=function(e){function t(t,n){var r=e.call(this)||this;return r.destination=t,r.source=n,r}return ye(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:Me},t}(We),ze={now:function(){return(ze.delegate||Date).now()},delegate:void 0},Ze=function(e){function t(t,n,r){void 0===t&&(t=1/0),void 0===n&&(n=1/0),void 0===r&&(r=ze);var i=e.call(this)||this;return i._bufferSize=t,i._windowTime=n,i._timestampProvider=r,i._buffer=[],i._infiniteTimeWindow=!0,i._infiniteTimeWindow=n===1/0,i._bufferSize=Math.max(1,t),i._windowTime=Math.max(1,n),i}return ye(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,u=1;u<r.length&&r[u]<=s;u+=2)a=u;a&&r.splice(0,a+1)}},t}(We);let Xe=[],qe={};
127
131
  /**
128
132
  * @name topic
129
133
  * @description A small wrapper over the rxjs to offer the topic method on top of it
@@ -259,7 +263,7 @@ e[e.pound=7]="pound",
259
263
  /**
260
264
  * XML-like tag
261
265
  */
262
- e[e.tag=8]="tag"}(dt||(dt={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(ft||(ft={}));var Dt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,xt=/(?:[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;
266
+ e[e.tag=8]="tag"}(dt||(dt={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(ft||(ft={}));var xt=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Dt=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
263
267
  /**
264
268
  * https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
265
269
  * Credit: https://github.com/caridy/intl-datetimeformat-pattern/blob/master/index.js
@@ -271,7 +275,7 @@ e[e.tag=8]="tag"}(dt||(dt={})),function(e){e[e.number=0]="number",e[e.dateTime=1
271
275
  * @public
272
276
  * @param skeleton skeleton string
273
277
  */
274
- function Ot(e){var t={};return e.replace(xt,(function(e){var n=e.length;switch(e[0]){
278
+ function Ot(e){var t={};return e.replace(Dt,(function(e){var n=e.length;switch(e[0]){
275
279
  // Era
276
280
  case"G":t.era=4===n?"long":5===n?"narrow":"short";break;
277
281
  // Year
@@ -305,14 +309,14 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
305
309
  case"x":// 1, 2, 3, 4: The ISO8601 varios formats
306
310
  throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}
307
311
  // @generated from regex-gen.ts
308
- var Bt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Pt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,At=/^(@+)?(\+|#+)?[rs]?$/g,Ht=/(\*)(0+)|(#+)(0+)|(0+)/g,Nt=/^(0+)$/;function Lt(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){
312
+ var Bt=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Pt=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,At=/^(@+)?(\+|#+)?[rs]?$/g,Ht=/(\*)(0+)|(#+)(0+)|(0+)/g,Nt=/^(0+)$/;function Ct(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){
309
313
  // @@@ case
310
- return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function Ct(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 It(e){
314
+ 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){
311
315
  // Engineering
312
- var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!Nt.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Rt(e){var t=Ct(e);return t||{}}
316
+ 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)),!Nt.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||{}}
313
317
  /**
314
318
  * https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options
315
- */function Ft(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=pt(pt(pt({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return pt(pt({},e),Rt(t))}),{}));continue;case"engineering":t=pt(pt(pt({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return pt(pt({},e),Rt(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
319
+ */function Ft(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=pt(pt(pt({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return pt(pt({},e),It(t))}),{}));continue;case"engineering":t=pt(pt(pt({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return pt(pt({},e),It(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
316
320
  // https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
317
321
  case"unit-width-narrow":t.currencyDisplay="narrowSymbol",t.unitDisplay="narrow";continue;case"unit-width-short":t.currencyDisplay="code",t.unitDisplay="short";continue;case"unit-width-full-name":t.currencyDisplay="name",t.unitDisplay="long";continue;case"unit-width-iso-code":t.currencyDisplay="symbol";continue;case"scale":t.scale=parseFloat(i.options[0]);continue;
318
322
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
@@ -326,9 +330,9 @@ if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept
326
330
  // .000* case (before ICU67 it was .000+)
327
331
  return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var o=i.options[0];
328
332
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#trailing-zero-display
329
- "w"===o?t=pt(pt({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=pt(pt({},t),Lt(o)))}
333
+ "w"===o?t=pt(pt({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=pt(pt({},t),Ct(o)))}
330
334
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
331
- else if(At.test(i.stem))t=pt(pt({},t),Lt(i.stem));else{var s=Ct(i.stem);s&&(t=pt(pt({},t),s));var a=It(i.stem);a&&(t=pt(pt({},t),a))}}return t}
335
+ else if(At.test(i.stem))t=pt(pt({},t),Ct(i.stem));else{var s=Lt(i.stem);s&&(t=pt(pt({},t),s));var a=Rt(i.stem);a&&(t=pt(pt({},t),a))}}return t}
332
336
  // @generated from time-data-gen.ts
333
337
  // prettier-ignore
334
338
  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"]};
@@ -352,7 +356,7 @@ e.hourCycles.length&&(
352
356
  // @ts-ignore
353
357
  t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}
354
358
  // TODO: Once hourCycle is fully supported remove the following with data generation
355
- var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(Ut[n||""]||Ut[r||""]||Ut["".concat(r,"-001")]||Ut["001"])[0]}var $t=new RegExp("^".concat(Dt.source,"*")),jt=new RegExp("".concat(Dt.source,"*$"));function Wt(e,t){return{start:e,end:t}}
359
+ var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(Ut[n||""]||Ut[r||""]||Ut["".concat(r,"-001")]||Ut["001"])[0]}var $t=new RegExp("^".concat(xt.source,"*")),jt=new RegExp("".concat(xt.source,"*$"));function Wt(e,t){return{start:e,end:t}}
356
360
  // #region Ponyfills
357
361
  // Consolidate these variables up top for easier toggling during debugging
358
362
  var Vt=!!String.prototype.startsWith,zt=!!String.fromCodePoint,Zt=!!Object.fromEntries,Xt=!!String.prototype.codePointAt,qt=!!String.prototype.trimStart,Kt=!!String.prototype.trimEnd,Jt=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Qt=!0;try{
@@ -594,49 +598,49 @@ e.MISSING_VALUE="MISSING_VALUE",
594
598
  // When value supplied is invalid
595
599
  e.INVALID_VALUE="INVALID_VALUE",
596
600
  // When we need specific Intl API but it's not available
597
- e.MISSING_INTL_API="MISSING_INTL_API"}(Tn||(Tn={}));var Dn,xn=/** @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}(xn),Bn=/** @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}(xn),Pn=/** @class */function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),Tn.MISSING_VALUE,n)||this}return ht(t,e),t}(xn);function An(e){return"function"==typeof e}
601
+ e.MISSING_INTL_API="MISSING_INTL_API"}(Tn||(Tn={}));var xn,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),Bn=/** @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),Pn=/** @class */function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),Tn.MISSING_VALUE,n)||this}return ht(t,e),t}(Dn);function An(e){return"function"==typeof e}
598
602
  // TODO(skeleton): add skeleton support
599
603
  function Hn(e,t,n,r,i,o,
600
604
  // For debugging
601
605
  s){
602
606
  // Hot path for straight simple msg translations
603
- if(1===e.length&&yt(e[0]))return[{type:Dn.literal,value:e[0].value}];for(var a=[],u=0,l=e;u<l.length;u++){var h=l[u];
607
+ if(1===e.length&&yt(e[0]))return[{type:xn.literal,value:e[0].value}];for(var a=[],u=0,l=e;u<l.length;u++){var h=l[u];
604
608
  // Exit early for string parts.
605
- if(yt(h))a.push({type:Dn.literal,value:h.value});else
609
+ if(yt(h))a.push({type:xn.literal,value:h.value});else
606
610
  // TODO: should this part be literal type?
607
611
  // Replace `#` in plural rules with the actual numeric value.
608
- if(St(h))"number"==typeof o&&a.push({type:Dn.literal,value:n.getNumberFormat(t).format(o)});else{var c=h.value;
612
+ if(St(h))"number"==typeof o&&a.push({type:xn.literal,value:n.getNumberFormat(t).format(o)});else{var c=h.value;
609
613
  // Enforce that all required values are provided by the caller.
610
- if(!i||!(c in i))throw new Pn(c,s);var d=i[c];if(gt(h))d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),a.push({type:"string"==typeof d?Dn.literal:Dn.object,value:d});else
614
+ if(!i||!(c in i))throw new Pn(c,s);var d=i[c];if(gt(h))d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),a.push({type:"string"==typeof d?xn.literal:xn.object,value:d});else
611
615
  // Recursively format plural and select parts' option — which can be a
612
616
  // nested pattern structure. The choosing of the option to use is
613
617
  // abstracted-by and delegated-to the part helper object.
614
- if(_t(h)){var f="string"==typeof h.style?r.date[h.style]:kt(h.style)?h.style.parsedOptions:void 0;a.push({type:Dn.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(bt(h)){f="string"==typeof h.style?r.time[h.style]:kt(h.style)?h.style.parsedOptions:r.time.medium;a.push({type:Dn.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(vt(h)){(f="string"==typeof h.style?r.number[h.style]:Mt(h.style)?h.style.parsedOptions:void 0)&&f.scale&&(d*=f.scale||1),a.push({type:Dn.literal,value:n.getNumberFormat(t,f).format(d)})}else{if(Tt(h)){var p=h.children,m=h.value,y=i[m];if(!An(y))throw new Bn(m,"function",s);var g=y(Hn(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?Dn.literal:Dn.object,value:e}})))}if(wt(h)){if(!(v=h.options[d]||h.options.other))throw new On(h.value,d,Object.keys(h.options),s);a.push.apply(a,Hn(v.value,t,n,r,i))}else if(Et(h)){var v;if(!(v=h.options["=".concat(d)])){if(!Intl.PluralRules)throw new xn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Tn.MISSING_INTL_API,s);var _=n.getPluralRules(t,{type:h.pluralType}).select(d-(h.offset||0));v=h.options[_]||h.options.other}if(!v)throw new On(h.value,d,Object.keys(h.options),s);a.push.apply(a,Hn(v.value,t,n,r,i,d-(h.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===Dn.literal&&t.type===Dn.literal?n.value+=t.value:e.push(t),e}),[])}(a)}
618
+ if(_t(h)){var f="string"==typeof h.style?r.date[h.style]:kt(h.style)?h.style.parsedOptions:void 0;a.push({type:xn.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(bt(h)){f="string"==typeof h.style?r.time[h.style]:kt(h.style)?h.style.parsedOptions:r.time.medium;a.push({type:xn.literal,value:n.getDateTimeFormat(t,f).format(d)})}else if(vt(h)){(f="string"==typeof h.style?r.number[h.style]:Mt(h.style)?h.style.parsedOptions:void 0)&&f.scale&&(d*=f.scale||1),a.push({type:xn.literal,value:n.getNumberFormat(t,f).format(d)})}else{if(Tt(h)){var p=h.children,m=h.value,y=i[m];if(!An(y))throw new Bn(m,"function",s);var g=y(Hn(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?xn.literal:xn.object,value:e}})))}if(wt(h)){if(!(v=h.options[d]||h.options.other))throw new On(h.value,d,Object.keys(h.options),s);a.push.apply(a,Hn(v.value,t,n,r,i))}else if(Et(h)){var v;if(!(v=h.options["=".concat(d)])){if(!Intl.PluralRules)throw new Dn('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',Tn.MISSING_INTL_API,s);var _=n.getPluralRules(t,{type:h.pluralType}).select(d-(h.offset||0));v=h.options[_]||h.options.other}if(!v)throw new On(h.value,d,Object.keys(h.options),s);a.push.apply(a,Hn(v.value,t,n,r,i,d-(h.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===xn.literal&&t.type===xn.literal?n.value+=t.value:e.push(t),e}),[])}(a)}
615
619
  /*
616
620
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
617
621
  Copyrights licensed under the New BSD License.
618
622
  See the accompanying LICENSE file for terms.
619
623
  */
620
624
  // -- MessageFormat --------------------------------------------------------
621
- function Nn(e,t){return t?Object.keys(e).reduce((function(n,r){var i,o;return n[r]=(i=e[r],(o=t[r])?pt(pt(pt({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=pt(pt({},i[t]),o[t]||{}),e}),{})):i),n}),pt({},e)):e}function Ln(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"}(Dn||(Dn={}));var Cn=/** @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);
625
+ function Nn(e,t){return t?Object.keys(e).reduce((function(n,r){var i,o;return n[r]=(i=e[r],(o=t[r])?pt(pt(pt({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=pt(pt({},i[t]),o[t]||{}),e}),{})):i),n}),pt({},e)):e}function Cn(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"}(xn||(xn={}));var Ln=/** @class */function(){function e(t,n,r,i){var o,s=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);
622
626
  // Hot path for straight simple msg translations
623
- if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===Dn.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 Hn(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},
627
+ if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===xn.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 Hn(s.ast,s.locales,s.formatters,s.formats,e,void 0,s.message)},this.resolvedOptions=function(){return{locale:s.resolvedLocale.toString()}},this.getAst=function(){return s.ast},
624
628
  // Defined first because it's used to build the format pattern.
625
629
  this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
626
630
  // Parse string messages into an AST.
627
631
  this.ast=e.__parse(t,{ignoreTag:null==i?void 0:i.ignoreTag,locale:this.resolvedLocale})}else this.ast=t;if(!Array.isArray(this.ast))throw new TypeError("A message must be provided as a String or AST.");
628
632
  // Creates a new object with the specified `formats` merged with the default
629
633
  // formats.
630
- this.formats=Nn(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,mt([void 0],t,!1)))}),{cache:Ln(o.number),strategy:kn.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,mt([void 0],t,!1)))}),{cache:Ln(o.dateTime),strategy:kn.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,mt([void 0],t,!1)))}),{cache:Ln(o.pluralRules),strategy:kn.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=yn,
634
+ this.formats=Nn(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,mt([void 0],t,!1)))}),{cache:Cn(o.number),strategy:kn.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,mt([void 0],t,!1)))}),{cache:Cn(o.dateTime),strategy:kn.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,mt([void 0],t,!1)))}),{cache:Cn(o.pluralRules),strategy:kn.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=yn,
631
635
  // Default format options used as the prototype of the `formats` provided to the
632
636
  // constructor. These are used when constructing the internal Intl.NumberFormat
633
637
  // and Intl.DateTimeFormat instances.
634
- e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}(),In=Cn;
638
+ 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}(),Rn=Ln;
635
639
  /*
636
640
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
637
641
  Copyrights licensed under the New BSD License.
638
642
  See the accompanying LICENSE file for terms.
639
- */const Rn={},Fn=(e,t,n)=>n?(t in Rn||(Rn[t]={}),e in Rn[t]||(Rn[t][e]=n),n):n,Yn=(e,t)=>{if(null==t)return;if(t in Rn&&e in Rn[t])return Rn[t][e];const n=rr(t);for(let r=0;r<n.length;r++){const i=jn(n[r],e);if(i)return Fn(e,t,i)}};let Un;const Gn=Je({});function $n(e){return e in Un}function jn(e,t){if(!$n(e))return null;const n=function(e){return Un[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(e>0){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(n,t)}function Wn(e,...t){delete Rn[e],Gn.update((n=>(n[e]=ut.all([n[e]||{},...t]),n)))}Qe([Gn],(([e])=>Object.keys(e))),Gn.subscribe((e=>Un=e));const Vn={};function zn(e){return Vn[e]}function Zn(e){return null!=e&&rr(e).some((e=>{var t;return null===(t=zn(e))||void 0===t?void 0:t.size}))}const Xn={};function qn(e){if(!Zn(e))return e in Xn?Xn[e]:Promise.resolve();const t=function(e){return rr(e).map((e=>{const t=zn(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Xn[e]=Promise.all(t.map((([e,t])=>function(e,t){const n=Promise.all(t.map((t=>(function(e,t){Vn[e].delete(t),0===Vn[e].size&&delete Vn[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>Wn(e,...t)))}(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=Je(!1);let er;const tr=Je(null);function nr(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function rr(e,t=Jn().fallbackLocale){const n=nr(e);return t?[...new Set([...n,...nr(t)])]:n}function ir(){return null!=er?er:void 0}tr.subscribe((e=>{er=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const or={...tr,set:e=>{if(e&&function(e){if(null==e)return;const t=rr(e);for(let e=0;e<t.length;e++){const n=t[e];if($n(n))return n}}(e)&&Zn(e)){const{loadingDelay:t}=Jn();let n;return"undefined"!=typeof window&&null!=ir()&&t?n=window.setTimeout((()=>Qn.set(!0)),t):Qn.set(!0),qn(e).then((()=>{tr.set(e)})).finally((()=>{clearTimeout(n),Qn.set(!1)}))}return tr.set(e)}},sr=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}},ar=(e,t)=>{const{formats:n}=Jn();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},ur=sr((({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(n=ar("number",t)),new Intl.NumberFormat(e,n)})),lr=sr((({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?n=ar("date",t):0===Object.keys(n).length&&(n=ar("date","short")),new Intl.DateTimeFormat(e,n)})),hr=sr((({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?n=ar("time",t):0===Object.keys(n).length&&(n=ar("time","short")),new Intl.DateTimeFormat(e,n)})),cr=sr(((e,t=ir())=>new In(e,t,Jn().formats,{ignoreTag:Jn().ignoreTag}))),dr=(e,t={})=>{var n,r,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:u=ir(),default:l}=s;if(null==u)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=Yn(e,u);if(h){if("string"!=typeof h)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h}else h=null!==(o=null!==(i=null===(r=(n=Jn()).handleMissingMessage)||void 0===r?void 0:r.call(n,{locale:u,id:e,defaultValue:l}))&&void 0!==i?i:l)&&void 0!==o?o:e;if(!a)return h;let c=h;try{c=cr(h,u).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c},fr=(e,t)=>(({locale:e=ir(),...t}={})=>hr({locale:e,...t}))(t).format(e),pr=(e,t)=>(({locale:e=ir(),...t}={})=>lr({locale:e,...t}))(t).format(e),mr=(e,t)=>(({locale:e=ir(),...t}={})=>ur({locale:e,...t}))(t).format(e),yr=(e,t=ir())=>Yn(e,t),gr=Qe([or,Gn],(()=>dr));Qe([or],(()=>fr)),Qe([or],(()=>pr)),Qe([or],(()=>mr)),Qe([or,Gn],(()=>yr)),window.emWidgets={topic:(e,t=0)=>{if(-1==Xe.indexOf(e)){let n=new Ze(t);qe[e]=n,Xe.push(e)}return qe[e]}};
643
+ */const In={},Fn=(e,t,n)=>n?(t in In||(In[t]={}),e in In[t]||(In[t][e]=n),n):n,Yn=(e,t)=>{if(null==t)return;if(t in In&&e in In[t])return In[t][e];const n=rr(t);for(let r=0;r<n.length;r++){const i=jn(n[r],e);if(i)return Fn(e,t,i)}};let Un;const Gn=Je({});function $n(e){return e in Un}function jn(e,t){if(!$n(e))return null;const n=function(e){return Un[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(e>0){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(n,t)}function Wn(e,...t){delete In[e],Gn.update((n=>(n[e]=ut.all([n[e]||{},...t]),n)))}Qe([Gn],(([e])=>Object.keys(e))),Gn.subscribe((e=>Un=e));const Vn={};function zn(e){return Vn[e]}function Zn(e){return null!=e&&rr(e).some((e=>{var t;return null===(t=zn(e))||void 0===t?void 0:t.size}))}const Xn={};function qn(e){if(!Zn(e))return e in Xn?Xn[e]:Promise.resolve();const t=function(e){return rr(e).map((e=>{const t=zn(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Xn[e]=Promise.all(t.map((([e,t])=>function(e,t){const n=Promise.all(t.map((t=>(function(e,t){Vn[e].delete(t),0===Vn[e].size&&delete Vn[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>Wn(e,...t)))}(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=Je(!1);let er;const tr=Je(null);function nr(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function rr(e,t=Jn().fallbackLocale){const n=nr(e);return t?[...new Set([...n,...nr(t)])]:n}function ir(){return null!=er?er:void 0}tr.subscribe((e=>{er=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const or={...tr,set:e=>{if(e&&function(e){if(null==e)return;const t=rr(e);for(let e=0;e<t.length;e++){const n=t[e];if($n(n))return n}}(e)&&Zn(e)){const{loadingDelay:t}=Jn();let n;return"undefined"!=typeof window&&null!=ir()&&t?n=window.setTimeout((()=>Qn.set(!0)),t):Qn.set(!0),qn(e).then((()=>{tr.set(e)})).finally((()=>{clearTimeout(n),Qn.set(!1)}))}return tr.set(e)}},sr=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}},ar=(e,t)=>{const{formats:n}=Jn();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},ur=sr((({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(n=ar("number",t)),new Intl.NumberFormat(e,n)})),lr=sr((({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?n=ar("date",t):0===Object.keys(n).length&&(n=ar("date","short")),new Intl.DateTimeFormat(e,n)})),hr=sr((({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?n=ar("time",t):0===Object.keys(n).length&&(n=ar("time","short")),new Intl.DateTimeFormat(e,n)})),cr=sr(((e,t=ir())=>new Rn(e,t,Jn().formats,{ignoreTag:Jn().ignoreTag}))),dr=(e,t={})=>{var n,r,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:u=ir(),default:l}=s;if(null==u)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let h=Yn(e,u);if(h){if("string"!=typeof h)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),h}else h=null!==(o=null!==(i=null===(r=(n=Jn()).handleMissingMessage)||void 0===r?void 0:r.call(n,{locale:u,id:e,defaultValue:l}))&&void 0!==i?i:l)&&void 0!==o?o:e;if(!a)return h;let c=h;try{c=cr(h,u).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return c},fr=(e,t)=>(({locale:e=ir(),...t}={})=>hr({locale:e,...t}))(t).format(e),pr=(e,t)=>(({locale:e=ir(),...t}={})=>lr({locale:e,...t}))(t).format(e),mr=(e,t)=>(({locale:e=ir(),...t}={})=>ur({locale:e,...t}))(t).format(e),yr=(e,t=ir())=>Yn(e,t),gr=Qe([or,Gn],(()=>dr));Qe([or],(()=>fr)),Qe([or],(()=>pr)),Qe([or],(()=>mr)),Qe([or,Gn],(()=>yr)),window.emWidgets={topic:(e,t=0)=>{if(-1==Xe.indexOf(e)){let n=new Ze(t);qe[e]=n,Xe.push(e)}return qe[e]}};
640
644
  /**
641
645
  * @name isMobile
642
646
  * @description A method that returns if the browser used to access the app is from a mobile device or not
@@ -668,20 +672,20 @@ n=Array.prototype.some?Array.prototype.some:function(e){var t,n=Object(this),r=n
668
672
  function E(e){w(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isValid()||(this._d=new Date(NaN)),
669
673
  // Prevent infinite loop in case updateOffset creates new moment
670
674
  // objects.
671
- !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,u=[],l=arguments.length;for(o=0;o<l;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];u.push(i)}T(e+"\nArguments: "+Array.prototype.slice.call(u).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var k,D={};function x(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),D[e]||(T(t),D[e]=!0)}function O(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function B(e){var t,n;for(n in e)a(e,n)&&(O(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,
675
+ !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,u=[],l=arguments.length;for(o=0;o<l;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];u.push(i)}T(e+"\nArguments: "+Array.prototype.slice.call(u).join("")+"\n"+(new Error).stack),n=!1}return t.apply(this,arguments)}),t)}var k,x={};function D(e,t){null!=r.deprecationHandler&&r.deprecationHandler(e,t),x[e]||(T(t),x[e]=!0)}function O(e){return"undefined"!=typeof Function&&e instanceof Function||"[object Function]"===Object.prototype.toString.call(e)}function B(e){var t,n;for(n in e)a(e,n)&&(O(t=e[n])?this[n]=t:this["_"+n]=t);this._config=e,
672
676
  // Lenient ordinal parsing accepts just a number in addition to
673
677
  // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.
674
678
  // TODO: Remove "ordinalParse" fallback in next major release.
675
679
  this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function P(e,t){var n,r=f({},e);for(n in t)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])&&(
676
680
  // make sure changes to properties don't modify parent config
677
- r[n]=f({},r[n]));return r}function A(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var H={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function N(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return O(r)?r.call(t,n):r}function L(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,I=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,R={},F={};
681
+ r[n]=f({},r[n]));return r}function A(e){null!=e&&this.set(e)}r.suppressDeprecationWarnings=!1,r.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,n=[];for(t in e)a(e,t)&&n.push(t);return n};var H={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function N(e,t,n){var r=this._calendar[e]||this._calendar.sameElse;return O(r)?r.call(t,n):r}function C(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 L=/(\[[^\[]*\])|(\\)?([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,R=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,I={},F={};
678
682
  // token: 'M'
679
683
  // padded: ['MM', 2]
680
684
  // ordinal: 'Mo'
681
685
  // callback: function () { this.month() + 1 }
682
- function Y(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(F[e]=i),t&&(F[t[0]]=function(){return L(i.apply(this,arguments),t[1],t[2])}),n&&(F[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function U(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function G(e){var t,n,r=e.match(C);for(t=0,n=r.length;t<n;t++)F[r[t]]?r[t]=F[r[t]]:r[t]=U(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}}
686
+ function Y(e,t,n,r){var i=r;"string"==typeof r&&(i=function(){return this[r]()}),e&&(F[e]=i),t&&(F[t[0]]=function(){return C(i.apply(this,arguments),t[1],t[2])}),n&&(F[n]=function(){return this.localeData().ordinal(i.apply(this,arguments),e)})}function U(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function G(e){var t,n,r=e.match(L);for(t=0,n=r.length;t<n;t++)F[r[t]]?r[t]=F[r[t]]:r[t]=U(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}}
683
687
  // format date using native date object
684
- function $(e,t){return e.isValid()?(t=j(t,e.localeData()),R[t]=R[t]||G(t),R[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(I.lastIndex=0;n>=0&&I.test(e);)e=e.replace(I,r),I.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 ue(e){return e%4==0&&e%100!=0||e%400==0}function le(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function he(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=le(t)),n}function ce(e,t){return function(n){return null!=n?(pe(this,e,n),r.updateOffset(this,t),this):de(this,e)}}function de(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(n=he(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}
688
+ function $(e,t){return e.isValid()?(t=j(t,e.localeData()),I[t]=I[t]||G(t),I[t](e)):e.localeData().invalidDate()}function j(e,t){var n=5;function r(e){return t.longDateFormat(e)||e}for(R.lastIndex=0;n>=0&&R.test(e);)e=e.replace(R,r),R.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(L).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 ue(e){return e%4==0&&e%100!=0||e%400==0}function le(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function he(e){var t=+e,n=0;return 0!==t&&isFinite(t)&&(n=le(t)),n}function ce(e,t){return function(n){return null!=n?(pe(this,e,n),r.updateOffset(this,t),this):de(this,e)}}function de(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function pe(e,t,n){e.isValid()&&!isNaN(n)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(n=he(n),e._d["set"+(e._isUTC?"UTC":"")+t](n,e.month(),et(n,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](n))}
685
689
  // MOMENTS
686
690
  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,ve=/\d/,// 0 - 9
687
691
  _e=/\d\d/,// 00 - 99
@@ -692,8 +696,8 @@ Se=/\d\d?/,// 0 - 99
692
696
  Te=/\d\d\d\d?/,// 999 - 9999
693
697
  Me=/\d\d\d\d\d\d?/,// 99999 - 999999
694
698
  ke=/\d{1,3}/,// 0 - 999
695
- De=/\d{1,4}/,// 0 - 9999
696
- xe=/[+-]?\d{1,6}/,// -999999 - 999999
699
+ xe=/\d{1,4}/,// 0 - 9999
700
+ De=/[+-]?\d{1,6}/,// -999999 - 999999
697
701
  Oe=/\d+/,// 0 - inf
698
702
  Be=/[+-]?\d+/,// -inf - inf
699
703
  Pe=/Z|[+-]\d\d:?\d\d/gi,// +00:00 -00:00 +0000 -0000 or Z
@@ -701,9 +705,9 @@ Ae=/Z|[+-]\d\d(?::?\d\d)?/gi,// +00 -00 +00:00 -00:00 +0000 -0000 or Z
701
705
  He=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
702
706
  // any word (or two) characters or numbers including two/three word month in arabic.
703
707
  // includes scottish gaelic two word and hyphenated months
704
- Ne=/[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 Le(e,t,n){ge[e]=O(t)?t:function(e,r){return e&&n?n:t}}function Ce(e,t){return a(ge,e)?ge[e](t._strict,t._locale):new RegExp(Ie(e))}
708
+ Ne=/[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 Ce(e,t,n){ge[e]=O(t)?t:function(e,r){return e&&n?n:t}}function Le(e,t){return a(ge,e)?ge[e](t._strict,t._locale):new RegExp(Re(e))}
705
709
  // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
706
- function Ie(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 Fe={};function Ye(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),h(t)&&(i=function(e,n){n[t]=he(e)}),r=e.length,n=0;n<r;n++)Fe[e[n]]=i}function Ue(e,t){Ye(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Ge(e,t,n){null!=t&&a(Fe,e)&&Fe[e](t,n._a,n,e)}var $e,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?ue(e)?29:28:31-n%7%2}
710
+ function Re(e){return Ie(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,n,r,i){return t||n||r||i})))}function Ie(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ge={};var Fe={};function Ye(e,t){var n,r,i=t;for("string"==typeof e&&(e=[e]),h(t)&&(i=function(e,n){n[t]=he(e)}),r=e.length,n=0;n<r;n++)Fe[e[n]]=i}function Ue(e,t){Ye(e,(function(e,n,r,i){r._w=r._w||{},t(e,r._w,r,i)}))}function Ge(e,t,n){null!=t&&a(Fe,e)&&Fe[e](t,n._a,n,e)}var $e,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?ue(e)?29:28:31-n%7%2}
707
711
  // FORMATTING
708
712
  $e=Array.prototype.indexOf?Array.prototype.indexOf:function(e){
709
713
  // I know
@@ -713,7 +717,7 @@ ne("month","M"),
713
717
  // PRIORITY
714
718
  se("month",8),
715
719
  // PARSING
716
- Le("M",Se),Le("MM",Se,_e),Le("MMM",(function(e,t){return t.monthsShortRegex(e)})),Le("MMMM",(function(e,t){return t.monthsRegex(e)})),Ye(["M","MM"],(function(e,t){t[We]=he(e)-1})),Ye(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);
720
+ Ce("M",Se),Ce("MM",Se,_e),Ce("MMM",(function(e,t){return t.monthsShortRegex(e)})),Ce("MMMM",(function(e,t){return t.monthsRegex(e)})),Ye(["M","MM"],(function(e,t){t[We]=he(e)-1})),Ye(["MMM","MMMM"],(function(e,t,n,r){var i=n._locale.monthsParse(e,r,n._strict);
717
721
  // if we didn't find a month name, mark the date as invalid.
718
722
  null!=i?t[We]=i:y(n).invalidMonth=e}));
719
723
  // LOCALES
@@ -738,18 +742,18 @@ if(!h(t=e.localeData().monthsParse(t)))return e;return n=Math.min(e.date(),et(e.
738
742
  n=p([2e3,t]),r.push(this.monthsShort(n,"")),i.push(this.months(n,"")),o.push(this.months(n,"")),o.push(this.monthsShort(n,""));
739
743
  // Sorting makes sure if one month (or abbr) is a prefix of another it
740
744
  // will match the longer piece.
741
- 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=0;t<24;t++)o[t]=Re(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}
745
+ for(r.sort(e),i.sort(e),o.sort(e),t=0;t<12;t++)r[t]=Ie(r[t]),i[t]=Ie(i[t]);for(t=0;t<24;t++)o[t]=Ie(o[t]);this._monthsRegex=new RegExp("^("+o.join("|")+")","i"),this._monthsShortRegex=this._monthsRegex,this._monthsStrictRegex=new RegExp("^("+i.join("|")+")","i"),this._monthsShortStrictRegex=new RegExp("^("+r.join("|")+")","i")}
742
746
  // FORMATTING
743
747
  // HELPERS
744
748
  function yt(e){return ue(e)?366:365}
745
749
  // HOOKS
746
- Y("Y",0,0,(function(){var e=this.year();return e<=9999?L(e,4):"+"+e})),Y(0,["YY",2],0,(function(){return this.year()%100})),Y(0,["YYYY",4],0,"year"),Y(0,["YYYYY",5],0,"year"),Y(0,["YYYYYY",6,!0],0,"year"),
750
+ Y("Y",0,0,(function(){var e=this.year();return e<=9999?C(e,4):"+"+e})),Y(0,["YY",2],0,(function(){return this.year()%100})),Y(0,["YYYY",4],0,"year"),Y(0,["YYYYY",5],0,"year"),Y(0,["YYYYYY",6,!0],0,"year"),
747
751
  // ALIASES
748
752
  ne("year","y"),
749
753
  // PRIORITIES
750
754
  se("year",1),
751
755
  // PARSING
752
- Le("Y",Be),Le("YY",Se,_e),Le("YYYY",De,we),Le("YYYYY",xe,Ee),Le("YYYYYY",xe,Ee),Ye(["YYYYY","YYYYYY"],je),Ye("YYYY",(function(e,t){t[je]=2===e.length?r.parseTwoDigitYear(e):he(e)})),Ye("YY",(function(e,t){t[je]=r.parseTwoDigitYear(e)})),Ye("Y",(function(e,t){t[je]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return he(e)+(he(e)>68?1900:2e3)};
756
+ Ce("Y",Be),Ce("YY",Se,_e),Ce("YYYY",xe,we),Ce("YYYYY",De,Ee),Ce("YYYYYY",De,Ee),Ye(["YYYYY","YYYYYY"],je),Ye("YYYY",(function(e,t){t[je]=2===e.length?r.parseTwoDigitYear(e):he(e)})),Ye("YY",(function(e,t){t[je]=r.parseTwoDigitYear(e)})),Ye("Y",(function(e,t){t[je]=parseInt(e,10)})),r.parseTwoDigitYear=function(e){return he(e)+(he(e)>68?1900:2e3)};
753
757
  // MOMENTS
754
758
  var gt=ce("FullYear",!0);function vt(){return ue(this.year())}function _t(e,t,n,r,i,o,s){
755
759
  // can't just apply() to create a date:
@@ -777,8 +781,8 @@ ne("week","w"),ne("isoWeek","W"),
777
781
  // PRIORITIES
778
782
  se("week",5),se("isoWeek",5),
779
783
  // PARSING
780
- Le("w",Se),Le("ww",Se,_e),Le("W",Se),Le("WW",Se,_e),Ue(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=he(e)}));var kt={dow:0,// Sunday is the first day of the week.
781
- doy:6};function Dt(){return this._week.dow}function xt(){return this._week.doy}
784
+ Ce("w",Se),Ce("ww",Se,_e),Ce("W",Se),Ce("WW",Se,_e),Ue(["w","ww","W","WW"],(function(e,t,n,r){t[r.substr(0,1)]=he(e)}));var kt={dow:0,// Sunday is the first day of the week.
785
+ doy:6};function xt(){return this._week.dow}function Dt(){return this._week.doy}
782
786
  // MOMENTS
783
787
  function Ot(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e-t),"d")}function Bt(e){var t=St(this,1,4).week;return null==e?t:this.add(7*(e-t),"d")}
784
788
  // FORMATTING
@@ -791,9 +795,9 @@ ne("day","d"),ne("weekday","e"),ne("isoWeekday","E"),
791
795
  // PRIORITY
792
796
  se("day",11),se("weekday",11),se("isoWeekday",11),
793
797
  // PARSING
794
- Le("d",Se),Le("e",Se),Le("E",Se),Le("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Le("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Le("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ue(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);
798
+ Ce("d",Se),Ce("e",Se),Ce("E",Se),Ce("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Ce("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Ce("dddd",(function(e,t){return t.weekdaysRegex(e)})),Ue(["dd","ddd","dddd"],(function(e,t,n,r){var i=n._locale.weekdaysParse(e,r,n._strict);
795
799
  // if we didn't get a weekday name, mark the date as invalid
796
- null!=i?t.d=i:y(n).invalidWeekday=e})),Ue(["d","e","E"],(function(e,t,n,r){t[r]=he(e)}));var Nt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Lt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Ct="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),It=Ne,Rt=Ne,Ft=Ne;function Yt(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ht(n,this._week.dow):e?n[e.day()]:n}function Ut(e){return!0===e?Ht(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Gt(e){return!0===e?Ht(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function $t(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=$e.call(this._weekdaysParse,s))?i:null:"ddd"===t?-1!==(i=$e.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=$e.call(this._minWeekdaysParse,s))?i:null:"dddd"===t?-1!==(i=$e.call(this._weekdaysParse,s))||-1!==(i=$e.call(this._shortWeekdaysParse,s))||-1!==(i=$e.call(this._minWeekdaysParse,s))?i:null:"ddd"===t?-1!==(i=$e.call(this._shortWeekdaysParse,s))||-1!==(i=$e.call(this._weekdaysParse,s))||-1!==(i=$e.call(this._minWeekdaysParse,s))?i:null:-1!==(i=$e.call(this._minWeekdaysParse,s))||-1!==(i=$e.call(this._weekdaysParse,s))||-1!==(i=$e.call(this._shortWeekdaysParse,s))?i:null}function jt(e,t,n){var r,i,o;if(this._weekdaysParseExact)return $t.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){
800
+ null!=i?t.d=i:y(n).invalidWeekday=e})),Ue(["d","e","E"],(function(e,t,n,r){t[r]=he(e)}));var Nt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Ct="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Lt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Rt=Ne,It=Ne,Ft=Ne;function Yt(e,t){var n=o(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ht(n,this._week.dow):e?n[e.day()]:n}function Ut(e){return!0===e?Ht(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Gt(e){return!0===e?Ht(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function $t(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=$e.call(this._weekdaysParse,s))?i:null:"ddd"===t?-1!==(i=$e.call(this._shortWeekdaysParse,s))?i:null:-1!==(i=$e.call(this._minWeekdaysParse,s))?i:null:"dddd"===t?-1!==(i=$e.call(this._weekdaysParse,s))||-1!==(i=$e.call(this._shortWeekdaysParse,s))||-1!==(i=$e.call(this._minWeekdaysParse,s))?i:null:"ddd"===t?-1!==(i=$e.call(this._shortWeekdaysParse,s))||-1!==(i=$e.call(this._weekdaysParse,s))||-1!==(i=$e.call(this._minWeekdaysParse,s))?i:null:-1!==(i=$e.call(this._minWeekdaysParse,s))||-1!==(i=$e.call(this._weekdaysParse,s))||-1!==(i=$e.call(this._shortWeekdaysParse,s))?i:null}function jt(e,t,n){var r,i,o;if(this._weekdaysParseExact)return $t.call(this,e,t,n);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),r=0;r<7;r++){
797
801
  // test the regex
798
802
  if(
799
803
  // make the regex if we don't have it already
@@ -803,9 +807,9 @@ function Wt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this
803
807
  // behaves the same as moment#day except
804
808
  // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
805
809
  // as a setter, sunday should belong to the previous week.
806
- if(null!=e){var t=At(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=It),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=Ft),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=[],u=[],l=[];for(t=0;t<7;t++)
810
+ if(null!=e){var t=At(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=Rt),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=It),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=Ft),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=[],u=[],l=[];for(t=0;t<7;t++)
807
811
  // make the regex if we don't have it already
808
- 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),u.push(o),l.push(r),l.push(i),l.push(o);
812
+ n=p([2e3,1]).day(t),r=Ie(this.weekdaysMin(n,"")),i=Ie(this.weekdaysShort(n,"")),o=Ie(this.weekdays(n,"")),s.push(r),a.push(i),u.push(o),l.push(r),l.push(i),l.push(o);
809
813
  // Sorting makes sure if one weekday (or abbr) is a prefix of another it
810
814
  // will match the longer piece.
811
815
  s.sort(e),a.sort(e),u.sort(e),l.sort(e),this._weekdaysRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+a.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}
@@ -817,16 +821,16 @@ function tn(e,t){return t._meridiemParse}
817
821
  function nn(e){
818
822
  // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
819
823
  // Using charAt should be more compatible.
820
- return"p"===(e+"").toLowerCase().charAt(0)}Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,Jt),Y("k",["kk",2],0,Qt),Y("hmm",0,0,(function(){return""+Jt.apply(this)+L(this.minutes(),2)})),Y("hmmss",0,0,(function(){return""+Jt.apply(this)+L(this.minutes(),2)+L(this.seconds(),2)})),Y("Hmm",0,0,(function(){return""+this.hours()+L(this.minutes(),2)})),Y("Hmmss",0,0,(function(){return""+this.hours()+L(this.minutes(),2)+L(this.seconds(),2)})),en("a",!0),en("A",!1),
824
+ return"p"===(e+"").toLowerCase().charAt(0)}Y("H",["HH",2],0,"hour"),Y("h",["hh",2],0,Jt),Y("k",["kk",2],0,Qt),Y("hmm",0,0,(function(){return""+Jt.apply(this)+C(this.minutes(),2)})),Y("hmmss",0,0,(function(){return""+Jt.apply(this)+C(this.minutes(),2)+C(this.seconds(),2)})),Y("Hmm",0,0,(function(){return""+this.hours()+C(this.minutes(),2)})),Y("Hmmss",0,0,(function(){return""+this.hours()+C(this.minutes(),2)+C(this.seconds(),2)})),en("a",!0),en("A",!1),
821
825
  // ALIASES
822
826
  ne("hour","h"),
823
827
  // PRIORITY
824
- se("hour",13),Le("a",tn),Le("A",tn),Le("H",Se),Le("h",Se),Le("k",Se),Le("HH",Se,_e),Le("hh",Se,_e),Le("kk",Se,_e),Le("hmm",Te),Le("hmmss",Me),Le("Hmm",Te),Le("Hmmss",Me),Ye(["H","HH"],ze),Ye(["k","kk"],(function(e,t,n){var r=he(e);t[ze]=24===r?0:r})),Ye(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Ye(["h","hh"],(function(e,t,n){t[ze]=he(e),y(n).bigHour=!0})),Ye("hmm",(function(e,t,n){var r=e.length-2;t[ze]=he(e.substr(0,r)),t[Ze]=he(e.substr(r)),y(n).bigHour=!0})),Ye("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[ze]=he(e.substr(0,r)),t[Ze]=he(e.substr(r,2)),t[Xe]=he(e.substr(i)),y(n).bigHour=!0})),Ye("Hmm",(function(e,t,n){var r=e.length-2;t[ze]=he(e.substr(0,r)),t[Ze]=he(e.substr(r))})),Ye("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[ze]=he(e.substr(0,r)),t[Ze]=he(e.substr(r,2)),t[Xe]=he(e.substr(i))}));var rn=/[ap]\.?m?\.?/i,
828
+ se("hour",13),Ce("a",tn),Ce("A",tn),Ce("H",Se),Ce("h",Se),Ce("k",Se),Ce("HH",Se,_e),Ce("hh",Se,_e),Ce("kk",Se,_e),Ce("hmm",Te),Ce("hmmss",Me),Ce("Hmm",Te),Ce("Hmmss",Me),Ye(["H","HH"],ze),Ye(["k","kk"],(function(e,t,n){var r=he(e);t[ze]=24===r?0:r})),Ye(["a","A"],(function(e,t,n){n._isPm=n._locale.isPM(e),n._meridiem=e})),Ye(["h","hh"],(function(e,t,n){t[ze]=he(e),y(n).bigHour=!0})),Ye("hmm",(function(e,t,n){var r=e.length-2;t[ze]=he(e.substr(0,r)),t[Ze]=he(e.substr(r)),y(n).bigHour=!0})),Ye("hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[ze]=he(e.substr(0,r)),t[Ze]=he(e.substr(r,2)),t[Xe]=he(e.substr(i)),y(n).bigHour=!0})),Ye("Hmm",(function(e,t,n){var r=e.length-2;t[ze]=he(e.substr(0,r)),t[Ze]=he(e.substr(r))})),Ye("Hmmss",(function(e,t,n){var r=e.length-4,i=e.length-2;t[ze]=he(e.substr(0,r)),t[Ze]=he(e.substr(r,2)),t[Xe]=he(e.substr(i))}));var rn=/[ap]\.?m?\.?/i,
825
829
  // Setting the hour should keep the time, because the user explicitly
826
830
  // specified which hour they want. So trying to maintain the same hour (in
827
831
  // a new timezone) makes sense. Adding/subtracting hours does not follow
828
832
  // this rule.
829
- on=ce("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,un={calendar:H,longDateFormat:W,invalidDate:z,ordinal:X,dayOfMonthOrdinalParse:q,relativeTime:J,months:tt,monthsShort:nt,week:kt,weekdays:Nt,weekdaysMin:Ct,weekdaysShort:Lt,meridiemParse:rn},ln={},hn={};
833
+ on=ce("Hours",!0);function sn(e,t,n){return e>11?n?"pm":"PM":n?"am":"AM"}var an,un={calendar:H,longDateFormat:W,invalidDate:z,ordinal:X,dayOfMonthOrdinalParse:q,relativeTime:J,months:tt,monthsShort:nt,week:kt,weekdays:Nt,weekdaysMin:Lt,weekdaysShort:Ct,meridiemParse:rn},ln={},hn={};
830
834
  // internal storage for locale config files
831
835
  function cn(e,t){var n,r=Math.min(e.length,t.length);for(n=0;n<r;n+=1)if(e[n]!==t[n])return n;return r}function dn(e){return e?e.toLowerCase().replace("_","-"):e}
832
836
  // pick the locale from the array
@@ -850,7 +854,7 @@ function yn(e,t){var n;return e&&((n=l(t)?_n(e):gn(e,t))?
850
854
  // moment.duration._locale = moment._locale = data;
851
855
  an=n:"undefined"!=typeof console&&console.warn&&
852
856
  //warn user if arguments are passed but the locale could not be set
853
- console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function gn(e,t){if(null!==t){var n,r=un;if(t.abbr=e,null!=ln[e])x("defineLocaleOverride","use moment.updateLocale(localeName, config) to change an existing locale. moment.defineLocale(localeName, config) should only be used for creating a new locale See http://momentjs.com/guides/#/warnings/define-locale/ for more info."),r=ln[e]._config;else if(null!=t.parentLocale)if(null!=ln[t.parentLocale])r=ln[t.parentLocale]._config;else{if(null==(n=mn(t.parentLocale)))return hn[t.parentLocale]||(hn[t.parentLocale]=[]),hn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ln[e]=new A(P(r,t)),hn[e]&&hn[e].forEach((function(e){gn(e.name,e.config)})),
857
+ console.warn("Locale "+e+" not found. Did you forget to load it?")),an._abbr}function gn(e,t){if(null!==t){var n,r=un;if(t.abbr=e,null!=ln[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=ln[e]._config;else if(null!=t.parentLocale)if(null!=ln[t.parentLocale])r=ln[t.parentLocale]._config;else{if(null==(n=mn(t.parentLocale)))return hn[t.parentLocale]||(hn[t.parentLocale]=[]),hn[t.parentLocale].push({name:e,config:t}),null;r=n._config}return ln[e]=new A(P(r,t)),hn[e]&&hn[e].forEach((function(e){gn(e.name,e.config)})),
854
858
  // backwards compat for now: also set the locale
855
859
  // make sure we set the locale AFTER all child locales have been
856
860
  // created, so we won't end up with the child locale set.
@@ -877,25 +881,25 @@ t=mn(e))return t;e=[e]}return fn(e)}function bn(){return k(ln)}function wn(e){va
877
881
  // 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)
878
882
  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]],
879
883
  // iso time formats and regexes
880
- kn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],Dn=/^\/?Date\((-?\d+)/i,
884
+ kn=[["HH:mm:ss.SSSS",/\d\d:\d\d:\d\d\.\d+/],["HH:mm:ss,SSSS",/\d\d:\d\d:\d\d,\d+/],["HH:mm:ss",/\d\d:\d\d:\d\d/],["HH:mm",/\d\d:\d\d/],["HHmmss.SSSS",/\d\d\d\d\d\d\.\d+/],["HHmmss,SSSS",/\d\d\d\d\d\d,\d+/],["HHmmss",/\d\d\d\d\d\d/],["HHmm",/\d\d\d\d/],["HH",/\d\d/]],xn=/^\/?Date\((-?\d+)/i,
881
885
  // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3
882
- xn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,On={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};
886
+ Dn=/^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\d{4}))$/,On={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};
883
887
  // date from iso format
884
888
  function Bn(e){var t,n,r,i,o,s,a=e._i,u=En.exec(a)||Sn.exec(a),l=Mn.length,h=kn.length;if(u){for(y(e).iso=!0,t=0,n=l;t<n;t++)if(Mn[t][1].exec(u[1])){i=Mn[t][0],r=!1!==Mn[t][2];break}if(null==i)return void(e._isValid=!1);if(u[3]){for(t=0,n=h;t<n;t++)if(kn[t][1].exec(u[3])){
885
889
  // match[2] should be 'T' or space
886
890
  o=(u[2]||" ")+kn[t][0];break}if(null==o)return void(e._isValid=!1)}if(!r&&null!=o)return void(e._isValid=!1);if(u[4]){if(!Tn.exec(u[4]))return void(e._isValid=!1);s="Z"}e._f=i+(o||"")+(s||""),Gn(e)}else e._isValid=!1}function Pn(e,t,n,r,i,o){var s=[An(e),nt.indexOf(t),parseInt(n,10),parseInt(r,10),parseInt(i,10)];return o&&s.push(parseInt(o,10)),s}function An(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Hn(e){
887
891
  // Remove comments and folding whitespace and replace multiple-spaces with a single space
888
- return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Nn(e,t,n){return!e||Lt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(y(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Ln(e,t,n){if(e)return On[e];if(t)
892
+ return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Nn(e,t,n){return!e||Ct.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(y(n).weekdayMismatch=!0,n._isValid=!1,!1)}function Cn(e,t,n){if(e)return On[e];if(t)
889
893
  // the only allowed military tz is Z
890
894
  return 0;var r=parseInt(n,10),i=r%100;return(r-i)/100*60+i}
891
895
  // date and time from ref 2822 format
892
- function Cn(e){var t,n=xn.exec(Hn(e._i));if(n){if(t=Pn(n[4],n[3],n[2],n[5],n[6],n[7]),!Nn(n[1],t,e))return;e._a=t,e._tzm=Ln(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}
896
+ function Ln(e){var t,n=Dn.exec(Hn(e._i));if(n){if(t=Pn(n[4],n[3],n[2],n[5],n[6],n[7]),!Nn(n[1],t,e))return;e._a=t,e._tzm=Cn(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}
893
897
  // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
894
- function In(e){var t=Dn.exec(e._i);null===t?(Bn(e),!1===e._isValid&&(delete e._isValid,Cn(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
898
+ function Rn(e){var t=xn.exec(e._i);null===t?(Bn(e),!1===e._isValid&&(delete e._isValid,Ln(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
895
899
  // Final attempt, use Input Fallback
896
900
  r.createFromInputFallback(e)))):e._d=new Date(+t[1])}
897
901
  // Pick the first defined of two or three arguments.
898
- function Rn(e,t,n){return null!=e?e:null!=t?t:n}function Fn(e){
902
+ function In(e,t,n){return null!=e?e:null!=t?t:n}function Fn(e){
899
903
  // hooks is actually the exported moment object
900
904
  var t=new Date(r.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.getUTCDate()]:[t.getFullYear(),t.getMonth(),t.getDate()]}
901
905
  // convert an array to a date.
@@ -912,7 +916,7 @@ for(r=Fn(e),
912
916
  //compute day of the year from weeks and weekdays
913
917
  e._w&&null==e._a[Ve]&&null==e._a[We]&&Un(e),
914
918
  //if the day of the year is set, figure out what it is
915
- 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];
919
+ null!=e._dayOfYear&&(o=In(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];
916
920
  // Zero out whatever was not defaulted, including time
917
921
  for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];
918
922
  // Check for 24:00:00.000
@@ -926,9 +930,9 @@ e._w&&void 0!==e._w.d&&e._w.d!==i&&(y(e).weekdayMismatch=!0)}}function Un(e){var
926
930
  // how we interpret now (local, utc, fixed offset). So create
927
931
  // a now version of current config (take local/utc/offset flags, and
928
932
  // create now).
929
- n=Rn(t.GG,e._a[je],St(qn(),1,4).year),r=Rn(t.W,1),((i=Rn(t.E,1))<1||i>7)&&(u=!0)):(o=e._locale._week.dow,s=e._locale._week.doy,l=St(qn(),o,s),n=Rn(t.gg,e._a[je],l.year),
933
+ n=In(t.GG,e._a[je],St(qn(),1,4).year),r=In(t.W,1),((i=In(t.E,1))<1||i>7)&&(u=!0)):(o=e._locale._week.dow,s=e._locale._week.doy,l=St(qn(),o,s),n=In(t.gg,e._a[je],l.year),
930
934
  // Default to current week.
931
- r=Rn(t.w,l.week),null!=t.d?((
935
+ r=In(t.w,l.week),null!=t.d?((
932
936
  // weekday -- low day numbers are considered next week
933
937
  i=t.d)<0||i>6)&&(u=!0):null!=t.e?(
934
938
  // local weekday -- counting starts from beginning of week
@@ -941,7 +945,7 @@ function Gn(e){
941
945
  // TODO: Move this to another part of the creation flow to prevent circular deps
942
946
  if(e._f!==r.ISO_8601)if(e._f!==r.RFC_2822){e._a=[],y(e).empty=!0;
943
947
  // This array is used to make a Date, either with `new Date` or `Date.UTC`
944
- var t,n,i,o,s,a,u,l=""+e._i,h=l.length,c=0;for(u=(i=j(e._f,e._locale).match(C)||[]).length,t=0;t<u;t++)o=i[t],(n=(l.match(Ce(o,e))||[])[0])&&((s=l.substr(0,l.indexOf(n))).length>0&&y(e).unusedInput.push(s),l=l.slice(l.indexOf(n)+n.length),c+=n.length),
948
+ var t,n,i,o,s,a,u,l=""+e._i,h=l.length,c=0;for(u=(i=j(e._f,e._locale).match(L)||[]).length,t=0;t<u;t++)o=i[t],(n=(l.match(Le(o,e))||[])[0])&&((s=l.substr(0,l.indexOf(n))).length>0&&y(e).unusedInput.push(s),l=l.slice(l.indexOf(n)+n.length),c+=n.length),
945
949
  // don't parse if it's not a known token
946
950
  F[o]?(n?y(e).empty=!1:y(e).unusedTokens.push(o),Ge(o,n,e)):e._strict&&!n&&y(e).unusedTokens.push(o);
947
951
  // add remaining unparsed input length to the string
@@ -951,7 +955,7 @@ e._a[ze]<=12&&!0===y(e).bigHour&&e._a[ze]>0&&(y(e).bigHour=void 0),y(e).parsedDa
951
955
  // handle meridiem
952
956
  e._a[ze]=$n(e._locale,e._a[ze],e._meridiem),null!==(
953
957
  // handle era
954
- a=y(e).era)&&(e._a[je]=e._locale.erasConvertYear(a,e._a[je])),Yn(e),wn(e)}else Cn(e);else Bn(e)}function $n(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(
958
+ a=y(e).era)&&(e._a[je]=e._locale.erasConvertYear(a,e._a[je])),Yn(e),wn(e)}else Ln(e);else Bn(e)}function $n(e,t,n){var r;return null==n?t:null!=e.meridiemHour?e.meridiemHour(t,n):null!=e.isPM?(
955
959
  // Fallback
956
960
  (r=e.isPM(n))&&t<12&&(t+=12),r||12!==t||(t=0),t):t}
957
961
  // date from string and array of format strings
@@ -961,7 +965,7 @@ o+=y(t).charsLeftOver,
961
965
  //or tokens
962
966
  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)})),Yn(e)}}function Vn(e){var t=new E(wn(zn(e)));return t._nextDay&&(
963
967
  // Adding is smart enough around DST
964
- t.add(1,"d"),t._nextDay=void 0),t}function zn(e){var t=e._i,n=e._f;return e._locale=e._locale||_n(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(wn(t)):(c(t)?e._d=t:o(n)?jn(e):n?Gn(e):Zn(e),g(e)||(e._d=null),e))}function Zn(e){var t=e._i;l(t)?e._d=new Date(r.now()):c(t)?e._d=new Date(t.valueOf()):"string"==typeof t?In(e):o(t)?(e._a=d(t.slice(0),(function(e){return parseInt(e,10)})),Yn(e)):s(t)?Wn(e):h(t)?
968
+ t.add(1,"d"),t._nextDay=void 0),t}function zn(e){var t=e._i,n=e._f;return e._locale=e._locale||_n(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(wn(t)):(c(t)?e._d=t:o(n)?jn(e):n?Gn(e):Zn(e),g(e)||(e._d=null),e))}function Zn(e){var t=e._i;l(t)?e._d=new Date(r.now()):c(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Rn(e):o(t)?(e._a=d(t.slice(0),(function(e){return parseInt(e,10)})),Yn(e)):s(t)?Wn(e):h(t)?
965
969
  // from milliseconds
966
970
  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)&&u(e)||o(e)&&0===e.length)&&(e=void 0),
967
971
  // object construction must be done this way.
@@ -992,9 +996,9 @@ this._months=+i+3*r+12*n,this._data={},this._locale=_n(),this._bubble()}function
992
996
  // compare two arrays, return the number of differences
993
997
  function hr(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&&he(e[r])!==he(t[r]))&&s++;return s+o}
994
998
  // FORMATTING
995
- function cr(e,t){Y(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+L(~~(e/60),2)+t+L(~~e%60,2)}))}cr("Z",":"),cr("ZZ",""),
999
+ function cr(e,t){Y(e,0,0,(function(){var e=this.utcOffset(),n="+";return e<0&&(e=-e,n="-"),n+C(~~(e/60),2)+t+C(~~e%60,2)}))}cr("Z",":"),cr("ZZ",""),
996
1000
  // PARSING
997
- Le("Z",Ae),Le("ZZ",Ae),Ye(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=fr(Ae,e)}));
1001
+ Ce("Z",Ae),Ce("ZZ",Ae),Ye(["Z","ZZ"],(function(e,t,n){n._useUTC=!0,n._tzm=fr(Ae,e)}));
998
1002
  // HELPERS
999
1003
  // timezone chunker
1000
1004
  // '+10:00' > ['10', '00']
@@ -1022,13 +1026,13 @@ return-Math.round(e._d.getTimezoneOffset())}
1022
1026
  // there is no such time in the given timezone.
1023
1027
  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(Ae,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?Nr(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 _r(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(Pe,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function wr(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(!l(this._isDSTShifted))return this._isDSTShifted;var e,t={};return w(t,this),(t=zn(t))._a?(e=t._isUTC?p(t._a):qn(t._a),this._isDSTShifted=this.isValid()&&hr(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 kr(){return!!this.isValid()&&this._isUTC&&0===this._offset}
1024
1028
  // ASP.NET json date format regex
1025
- r.updateOffset=function(){};var Dr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
1029
+ r.updateOffset=function(){};var xr=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
1026
1030
  // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
1027
1031
  // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere
1028
1032
  // and further modified to allow for strings containing both week and day
1029
- xr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Or(e,t){var n,r,i,o=e,
1033
+ Dr=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Or(e,t){var n,r,i,o=e,
1030
1034
  // matching against regexp is expensive, do it on demand
1031
- s=null;return ur(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:h(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(s=Dr.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:he(s[Ve])*n,h:he(s[ze])*n,m:he(s[Ze])*n,s:he(s[Xe])*n,ms:he(lr(1e3*s[qe]))*n}):(s=xr.exec(e))?(n="-"===s[1]?-1:1,o={y:Br(s[2],n),M:Br(s[3],n),w:Br(s[4],n),d:Br(s[5],n),h:Br(s[6],n),m:Br(s[7],n),s:Br(s[8],n)}):null==o?
1035
+ s=null;return ur(e)?o={ms:e._milliseconds,d:e._days,M:e._months}:h(e)||!isNaN(+e)?(o={},t?o[t]=+e:o.milliseconds=+e):(s=xr.exec(e))?(n="-"===s[1]?-1:1,o={y:0,d:he(s[Ve])*n,h:he(s[ze])*n,m:he(s[Ze])*n,s:he(s[Xe])*n,ms:he(lr(1e3*s[qe]))*n}):(s=Dr.exec(e))?(n="-"===s[1]?-1:1,o={y:Br(s[2],n),M:Br(s[3],n),w:Br(s[4],n),d:Br(s[5],n),h:Br(s[6],n),m:Br(s[7],n),s:Br(s[8],n)}):null==o?
1032
1036
  // checks for null or undefined
1033
1037
  o={}:"object"==typeof o&&("from"in o||"to"in o)&&(i=Ar(qn(o.from),qn(o.to)),(o={}).ms=i.milliseconds,o.M=i.months),r=new ar(o),ur(e)&&a(e,"_locale")&&(r._locale=e._locale),ur(e)&&a(e,"_isValid")&&(r._isValid=e._isValid),r}function Br(e,t){
1034
1038
  // We'd normally use ~~inp for this, but unfortunately it also
@@ -1040,11 +1044,11 @@ return(isNaN(n)?0:n)*t}function Pr(e,t){var n={};return n.months=t.month()-e.mon
1040
1044
  // TODO: remove 'name' arg after deprecation is removed
1041
1045
  function Hr(e,t){return function(n,r){var i;
1042
1046
  //invert the arguments, but complain about it
1043
- return null===r||isNaN(+r)||(x(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),Nr(this,Or(n,r),e),this}}function Nr(e,t,n,i){var o=t._milliseconds,s=lr(t._days),a=lr(t._months);e.isValid()&&(i=null==i||i,a&&ht(e,de(e,"Month")+a*n),s&&pe(e,"Date",de(e,"Date")+s*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&r.updateOffset(e,s||a))}Or.fn=ar.prototype,Or.invalid=sr;var Lr=Hr(1,"add"),Cr=Hr(-1,"subtract");function Ir(e){return"string"==typeof e||e instanceof String}
1047
+ 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),Nr(this,Or(n,r),e),this}}function Nr(e,t,n,i){var o=t._milliseconds,s=lr(t._days),a=lr(t._months);e.isValid()&&(i=null==i||i,a&&ht(e,de(e,"Month")+a*n),s&&pe(e,"Date",de(e,"Date")+s*n),o&&e._d.setTime(e._d.valueOf()+o*n),i&&r.updateOffset(e,s||a))}Or.fn=ar.prototype,Or.invalid=sr;var Cr=Hr(1,"add"),Lr=Hr(-1,"subtract");function Rr(e){return"string"==typeof e||e instanceof String}
1044
1048
  // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
1045
- function Rr(e){return S(e)||c(e)||Ir(e)||h(e)||Yr(e)||Fr(e)||null==e}function Fr(e){var t,n,r=s(e)&&!u(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"],l=o.length;for(t=0;t<l;t+=1)n=o[t],i=i||a(e,n);return r&&i}function Yr(e){var t=o(e),n=!1;return t&&(n=0===e.filter((function(t){return!h(t)&&Ir(e)})).length),t&&n}function Ur(e){var t,n,r=s(e)&&!u(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 Gr(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 $r(e,t){
1049
+ function Ir(e){return S(e)||c(e)||Rr(e)||h(e)||Yr(e)||Fr(e)||null==e}function Fr(e){var t,n,r=s(e)&&!u(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"],l=o.length;for(t=0;t<l;t+=1)n=o[t],i=i||a(e,n);return r&&i}function Yr(e){var t=o(e),n=!1;return t&&(n=0===e.filter((function(t){return!h(t)&&Rr(e)})).length),t&&n}function Ur(e){var t,n,r=s(e)&&!u(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 Gr(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 $r(e,t){
1046
1050
  // Support for single parameter, formats only overload to the calendar function
1047
- 1===arguments.length&&(arguments[0]?Rr(arguments[0])?(e=arguments[0],t=void 0):Ur(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));
1051
+ 1===arguments.length&&(arguments[0]?Ir(arguments[0])?(e=arguments[0],t=void 0):Ur(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));
1048
1052
  // We want to compare the start of today, vs this.
1049
1053
  // Getting start-of-today depends on whether we're local/utc/offset or not.
1050
1054
  var n=e||qn(),i=pr(n,this).startOf("day"),o=r.calendarFormat(this,i)||"sameElse",s=t&&(O(t[o])?t[o].call(this,n):t[o]);return this.format(s||this.localeData().calendar(o,this,qn(n)))}function jr(){return new E(this)}function Wr(e,t){var n=S(e)?e:qn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()>n.valueOf():n.valueOf()<this.clone().startOf(t).valueOf())}function Vr(e,t){var n=S(e)?e:qn(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()<n.valueOf():this.clone().endOf(t).valueOf()<n.valueOf())}function zr(e,t,n,r){var i=S(e)?e:qn(e),o=S(t)?t:qn(t);return!!(this.isValid()&&i.isValid()&&o.isValid())&&("("===(r=r||"()")[0]?this.isAfter(i,n):!this.isBefore(i,n))&&(")"===r[1]?this.isBefore(o,n):!this.isAfter(o,n))}function Zr(e,t){var n,r=S(e)?e:qn(e);return!(!this.isValid()||!r.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()===r.valueOf():(n=r.valueOf(),this.clone().startOf(t).valueOf()<=n&&n<=this.clone().endOf(t).valueOf()))}function Xr(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function qr(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Kr(e,t,n){var r,i,o;if(!this.isValid())return NaN;if(!(r=pr(e,this)).isValid())return NaN;switch(i=6e4*(r.utcOffset()-this.utcOffset()),t=re(t)){case"year":o=Jr(this,r)/12;break;case"month":o=Jr(this,r);break;case"quarter":o=Jr(this,r)/3;break;case"second":o=(this-r)/1e3;break;// 1000
@@ -1081,7 +1085,7 @@ return e<100&&e>=0?new Date(e+400,t,n)-fi:new Date(e,t,n).valueOf()}function yi(
1081
1085
  // Date.UTC remaps years 0-99 to 1900-1999
1082
1086
  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()*ci),di);break;case"minute":t=this._d.valueOf(),t-=pi(t,ci);break;case"second":t=this._d.valueOf(),t-=pi(t,hi)}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()*ci),di)-1;break;case"minute":t=this._d.valueOf(),t+=ci-pi(t,ci)-1;break;case"second":t=this._d.valueOf(),t+=hi-pi(t,hi)-1}return this._d.setTime(t),r.updateOffset(this,!0),this}function _i(){return this._d.valueOf()-6e4*(this._offset||0)}function bi(){return Math.floor(this.valueOf()/1e3)}function wi(){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(){
1083
1087
  // new Date(NaN).toJSON() === null
1084
- return this.isValid()?this.toISOString():null}function Mi(){return g(this)}function ki(){return f({},y(this))}function Di(){return y(this).overflow}function xi(){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||_n("en")._eras;for(n=0,i=s.length;n<i;++n)switch("string"==typeof s[n].since&&(
1088
+ return this.isValid()?this.toISOString():null}function Mi(){return g(this)}function ki(){return f({},y(this))}function xi(){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||_n("en")._eras;for(n=0,i=s.length;n<i;++n)switch("string"==typeof s[n].since&&(
1085
1089
  // truncate time
1086
1090
  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":
1087
1091
  // truncate time
@@ -1091,9 +1095,9 @@ n=this.clone().startOf("day").valueOf(),r[e].since<=n&&n<=r[e].until)return r[e]
1091
1095
  // truncate time
1092
1096
  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 Ni(){var e,t,n,r=this.localeData().eras();for(e=0,t=r.length;e<t;++e){if(
1093
1097
  // truncate time
1094
- 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 Li(){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,
1098
+ 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 Ci(){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,
1095
1099
  // truncate time
1096
- 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")||$i.call(this),e?this._erasNameRegex:this._erasRegex}function Ii(e){return a(this,"_erasAbbrRegex")||$i.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ri(e){return a(this,"_erasNarrowRegex")||$i.call(this),e?this._erasNarrowRegex:this._erasRegex}function Fi(e,t){return t.erasAbbrRegex(e)}function Yi(e,t){return t.erasNameRegex(e)}function Ui(e,t){return t.erasNarrowRegex(e)}function Gi(e,t){return t._eraYearOrdinalRegex||Oe}function $i(){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")}
1100
+ 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 Li(e){return a(this,"_erasNameRegex")||$i.call(this),e?this._erasNameRegex:this._erasRegex}function Ri(e){return a(this,"_erasAbbrRegex")||$i.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ii(e){return a(this,"_erasNarrowRegex")||$i.call(this),e?this._erasNarrowRegex:this._erasRegex}function Fi(e,t){return t.erasAbbrRegex(e)}function Yi(e,t){return t.erasNameRegex(e)}function Ui(e,t){return t.erasNarrowRegex(e)}function Gi(e,t){return t._eraYearOrdinalRegex||Oe}function $i(){var e,t,n=[],r=[],i=[],o=[],s=this.eras();for(e=0,t=s.length;e<t;++e)r.push(Ie(s[e].name)),n.push(Ie(s[e].abbr)),i.push(Ie(s[e].narrow)),o.push(Ie(s[e].name)),o.push(Ie(s[e].abbr)),o.push(Ie(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")}
1097
1101
  // FORMATTING
1098
1102
  function ji(e,t){Y(0,[e,e.length],0,t)}
1099
1103
  // MOMENTS
@@ -1102,25 +1106,25 @@ function Wi(e){return Ki.call(this,e,this.week(),this.weekday(),this.localeData(
1102
1106
  // MOMENTS
1103
1107
  function Qi(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}
1104
1108
  // FORMATTING
1105
- Y("N",0,0,"eraAbbr"),Y("NN",0,0,"eraAbbr"),Y("NNN",0,0,"eraAbbr"),Y("NNNN",0,0,"eraName"),Y("NNNNN",0,0,"eraNarrow"),Y("y",["y",1],"yo","eraYear"),Y("y",["yy",2],0,"eraYear"),Y("y",["yyy",3],0,"eraYear"),Y("y",["yyyy",4],0,"eraYear"),Le("N",Fi),Le("NN",Fi),Le("NNN",Fi),Le("NNNN",Yi),Le("NNNNN",Ui),Ye(["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})),Le("y",Oe),Le("yy",Oe),Le("yyy",Oe),Le("yyyy",Oe),Le("yo",Gi),Ye(["y","yy","yyy","yyyy"],je),Ye(["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)})),Y(0,["gg",2],0,(function(){return this.weekYear()%100})),Y(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ji("gggg","weekYear"),ji("ggggg","weekYear"),ji("GGGG","isoWeekYear"),ji("GGGGG","isoWeekYear"),
1109
+ Y("N",0,0,"eraAbbr"),Y("NN",0,0,"eraAbbr"),Y("NNN",0,0,"eraAbbr"),Y("NNNN",0,0,"eraName"),Y("NNNNN",0,0,"eraNarrow"),Y("y",["y",1],"yo","eraYear"),Y("y",["yy",2],0,"eraYear"),Y("y",["yyy",3],0,"eraYear"),Y("y",["yyyy",4],0,"eraYear"),Ce("N",Fi),Ce("NN",Fi),Ce("NNN",Fi),Ce("NNNN",Yi),Ce("NNNNN",Ui),Ye(["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})),Ce("y",Oe),Ce("yy",Oe),Ce("yyy",Oe),Ce("yyyy",Oe),Ce("yo",Gi),Ye(["y","yy","yyy","yyyy"],je),Ye(["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)})),Y(0,["gg",2],0,(function(){return this.weekYear()%100})),Y(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),ji("gggg","weekYear"),ji("ggggg","weekYear"),ji("GGGG","isoWeekYear"),ji("GGGGG","isoWeekYear"),
1106
1110
  // ALIASES
1107
1111
  ne("weekYear","gg"),ne("isoWeekYear","GG"),
1108
1112
  // PRIORITY
1109
1113
  se("weekYear",1),se("isoWeekYear",1),
1110
1114
  // PARSING
1111
- Le("G",Be),Le("g",Be),Le("GG",Se,_e),Le("gg",Se,_e),Le("GGGG",De,we),Le("gggg",De,we),Le("GGGGG",xe,Ee),Le("ggggg",xe,Ee),Ue(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=he(e)})),Ue(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),Y("Q",0,"Qo","quarter"),
1115
+ Ce("G",Be),Ce("g",Be),Ce("GG",Se,_e),Ce("gg",Se,_e),Ce("GGGG",xe,we),Ce("gggg",xe,we),Ce("GGGGG",De,Ee),Ce("ggggg",De,Ee),Ue(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,n,r){t[r.substr(0,2)]=he(e)})),Ue(["gg","GG"],(function(e,t,n,i){t[i]=r.parseTwoDigitYear(e)})),Y("Q",0,"Qo","quarter"),
1112
1116
  // ALIASES
1113
1117
  ne("quarter","Q"),
1114
1118
  // PRIORITY
1115
1119
  se("quarter",7),
1116
1120
  // PARSING
1117
- Le("Q",ve),Ye("Q",(function(e,t){t[We]=3*(he(e)-1)})),Y("D",["DD",2],"Do","date"),
1121
+ Ce("Q",ve),Ye("Q",(function(e,t){t[We]=3*(he(e)-1)})),Y("D",["DD",2],"Do","date"),
1118
1122
  // ALIASES
1119
1123
  ne("date","D"),
1120
1124
  // PRIORITY
1121
1125
  se("date",9),
1122
1126
  // PARSING
1123
- Le("D",Se),Le("DD",Se,_e),Le("Do",(function(e,t){
1127
+ Ce("D",Se),Ce("DD",Se,_e),Ce("Do",(function(e,t){
1124
1128
  // TODO: Remove "ordinalParse" fallback in next major release.
1125
1129
  return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ye(["D","DD"],Ve),Ye("Do",(function(e,t){t[Ve]=he(e.match(Se)[0])}));
1126
1130
  // MOMENTS
@@ -1136,13 +1140,13 @@ ne("dayOfYear","DDD"),
1136
1140
  // PRIORITY
1137
1141
  se("dayOfYear",4),
1138
1142
  // PARSING
1139
- Le("DDD",ke),Le("DDDD",be),Ye(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=he(e)})),Y("m",["mm",2],0,"minute"),
1143
+ Ce("DDD",ke),Ce("DDDD",be),Ye(["DDD","DDDD"],(function(e,t,n){n._dayOfYear=he(e)})),Y("m",["mm",2],0,"minute"),
1140
1144
  // ALIASES
1141
1145
  ne("minute","m"),
1142
1146
  // PRIORITY
1143
1147
  se("minute",14),
1144
1148
  // PARSING
1145
- Le("m",Se),Le("mm",Se,_e),Ye(["m","mm"],Ze);
1149
+ Ce("m",Se),Ce("mm",Se,_e),Ye(["m","mm"],Ze);
1146
1150
  // MOMENTS
1147
1151
  var no=ce("Minutes",!1);
1148
1152
  // FORMATTING
@@ -1152,7 +1156,7 @@ ne("second","s"),
1152
1156
  // PRIORITY
1153
1157
  se("second",15),
1154
1158
  // PARSING
1155
- Le("s",Se),Le("ss",Se,_e),Ye(["s","ss"],Xe);
1159
+ Ce("s",Se),Ce("ss",Se,_e),Ye(["s","ss"],Xe);
1156
1160
  // MOMENTS
1157
1161
  var ro,io,oo=ce("Seconds",!1);
1158
1162
  // FORMATTING
@@ -1162,11 +1166,11 @@ ne("millisecond","ms"),
1162
1166
  // PRIORITY
1163
1167
  se("millisecond",16),
1164
1168
  // PARSING
1165
- Le("S",ke,ve),Le("SS",ke,_e),Le("SSS",ke,be),ro="SSSS";ro.length<=9;ro+="S")Le(ro,Oe);function so(e,t){t[qe]=he(1e3*("0."+e))}for(ro="S";ro.length<=9;ro+="S")Ye(ro,so);
1169
+ Ce("S",ke,ve),Ce("SS",ke,_e),Ce("SSS",ke,be),ro="SSSS";ro.length<=9;ro+="S")Ce(ro,Oe);function so(e,t){t[qe]=he(1e3*("0."+e))}for(ro="S";ro.length<=9;ro+="S")Ye(ro,so);
1166
1170
  // MOMENTS
1167
1171
  function ao(){return this._isUTC?"UTC":""}function uo(){return this._isUTC?"Coordinated Universal Time":""}io=ce("Milliseconds",!1),
1168
1172
  // FORMATTING
1169
- Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var lo=E.prototype;function ho(e){return qn(1e3*e)}function co(){return qn.apply(null,arguments).parseZone()}function fo(e){return e}lo.add=Lr,lo.calendar=$r,lo.clone=jr,lo.diff=Kr,lo.endOf=vi,lo.format=ni,lo.from=ri,lo.fromNow=ii,lo.to=oi,lo.toNow=si,lo.get=me,lo.invalidAt=Di,lo.isAfter=Wr,lo.isBefore=Vr,lo.isBetween=zr,lo.isSame=Zr,lo.isSameOrAfter=Xr,lo.isSameOrBefore=qr,lo.isValid=Mi,lo.lang=ui,lo.locale=ai,lo.localeData=li,lo.max=Jn,lo.min=Kn,lo.parsingFlags=ki,lo.set=ye,lo.startOf=gi,lo.subtract=Cr,lo.toArray=Ei,lo.toObject=Si,lo.toDate=wi,lo.toISOString=ei,lo.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(lo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),lo.toJSON=Ti,lo.toString=Qr,lo.unix=bi,lo.valueOf=_i,lo.creationData=xi,lo.eraName=Ai,lo.eraNarrow=Hi,lo.eraAbbr=Ni,lo.eraYear=Li,lo.year=gt,lo.isLeapYear=vt,lo.weekYear=Wi,lo.isoWeekYear=Vi,lo.quarter=lo.quarters=Qi,lo.month=ct,lo.daysInMonth=dt,lo.week=lo.weeks=Ot,lo.isoWeek=lo.isoWeeks=Bt,lo.weeksInYear=Xi,lo.weeksInWeekYear=qi,lo.isoWeeksInYear=zi,lo.isoWeeksInISOWeekYear=Zi,lo.date=eo,lo.day=lo.days=Wt,lo.weekday=Vt,lo.isoWeekday=zt,lo.dayOfYear=to,lo.hour=lo.hours=on,lo.minute=lo.minutes=no,lo.second=lo.seconds=oo,lo.millisecond=lo.milliseconds=io,lo.utcOffset=yr,lo.utc=vr,lo.local=_r,lo.parseZone=br,lo.hasAlignedHourOffset=wr,lo.isDST=Er,lo.isLocal=Tr,lo.isUtcOffset=Mr,lo.isUtc=kr,lo.isUTC=kr,lo.zoneAbbr=ao,lo.zoneName=uo,lo.dates=M("dates accessor is deprecated. Use date instead.",eo),lo.months=M("months accessor is deprecated. Use month instead",ct),lo.years=M("years accessor is deprecated. Use year instead",gt),lo.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gr),lo.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sr);var po=A.prototype;function mo(e,t,n,r){var i=_n(),o=p().set(r,t);return i[n](o,e)}function yo(e,t,n){if(h(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}
1173
+ Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var lo=E.prototype;function ho(e){return qn(1e3*e)}function co(){return qn.apply(null,arguments).parseZone()}function fo(e){return e}lo.add=Cr,lo.calendar=$r,lo.clone=jr,lo.diff=Kr,lo.endOf=vi,lo.format=ni,lo.from=ri,lo.fromNow=ii,lo.to=oi,lo.toNow=si,lo.get=me,lo.invalidAt=xi,lo.isAfter=Wr,lo.isBefore=Vr,lo.isBetween=zr,lo.isSame=Zr,lo.isSameOrAfter=Xr,lo.isSameOrBefore=qr,lo.isValid=Mi,lo.lang=ui,lo.locale=ai,lo.localeData=li,lo.max=Jn,lo.min=Kn,lo.parsingFlags=ki,lo.set=ye,lo.startOf=gi,lo.subtract=Lr,lo.toArray=Ei,lo.toObject=Si,lo.toDate=wi,lo.toISOString=ei,lo.inspect=ti,"undefined"!=typeof Symbol&&null!=Symbol.for&&(lo[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),lo.toJSON=Ti,lo.toString=Qr,lo.unix=bi,lo.valueOf=_i,lo.creationData=Di,lo.eraName=Ai,lo.eraNarrow=Hi,lo.eraAbbr=Ni,lo.eraYear=Ci,lo.year=gt,lo.isLeapYear=vt,lo.weekYear=Wi,lo.isoWeekYear=Vi,lo.quarter=lo.quarters=Qi,lo.month=ct,lo.daysInMonth=dt,lo.week=lo.weeks=Ot,lo.isoWeek=lo.isoWeeks=Bt,lo.weeksInYear=Xi,lo.weeksInWeekYear=qi,lo.isoWeeksInYear=zi,lo.isoWeeksInISOWeekYear=Zi,lo.date=eo,lo.day=lo.days=Wt,lo.weekday=Vt,lo.isoWeekday=zt,lo.dayOfYear=to,lo.hour=lo.hours=on,lo.minute=lo.minutes=no,lo.second=lo.seconds=oo,lo.millisecond=lo.milliseconds=io,lo.utcOffset=yr,lo.utc=vr,lo.local=_r,lo.parseZone=br,lo.hasAlignedHourOffset=wr,lo.isDST=Er,lo.isLocal=Tr,lo.isUtcOffset=Mr,lo.isUtc=kr,lo.isUTC=kr,lo.zoneAbbr=ao,lo.zoneName=uo,lo.dates=M("dates accessor is deprecated. Use date instead.",eo),lo.months=M("months accessor is deprecated. Use month instead",ct),lo.years=M("years accessor is deprecated. Use year instead",gt),lo.zone=M("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",gr),lo.isDSTShifted=M("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",Sr);var po=A.prototype;function mo(e,t,n,r){var i=_n(),o=p().set(r,t);return i[n](o,e)}function yo(e,t,n){if(h(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}
1170
1174
  // ()
1171
1175
  // (5)
1172
1176
  // (fmt, 5)
@@ -1175,21 +1179,21 @@ Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var lo=E.prototype;function ho(e){r
1175
1179
  // (true, 5)
1176
1180
  // (true, fmt, 5)
1177
1181
  // (true, fmt)
1178
- function go(e,t,n,r){"boolean"==typeof e?(h(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,h(t)&&(n=t,t=void 0),t=t||"");var i,o=_n(),s=e?o._week.dow:0,a=[];if(null!=n)return mo(t,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=mo(t,(i+s)%7,r,"day");return a}function vo(e,t){return yo(e,t,"months")}function _o(e,t){return yo(e,t,"monthsShort")}function bo(e,t,n){return go(e,t,n,"weekdays")}function wo(e,t,n){return go(e,t,n,"weekdaysShort")}function Eo(e,t,n){return go(e,t,n,"weekdaysMin")}po.calendar=N,po.longDateFormat=V,po.invalidDate=Z,po.ordinal=K,po.preparse=fo,po.postformat=fo,po.relativeTime=Q,po.pastFuture=ee,po.set=B,po.eras=Oi,po.erasParse=Bi,po.erasConvertYear=Pi,po.erasAbbrRegex=Ii,po.erasNameRegex=Ci,po.erasNarrowRegex=Ri,po.months=st,po.monthsShort=at,po.monthsParse=lt,po.monthsRegex=pt,po.monthsShortRegex=ft,po.week=Mt,po.firstDayOfYear=xt,po.firstDayOfWeek=Dt,po.weekdays=Yt,po.weekdaysMin=Gt,po.weekdaysShort=Ut,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===he(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
1182
+ function go(e,t,n,r){"boolean"==typeof e?(h(t)&&(n=t,t=void 0),t=t||""):(n=t=e,e=!1,h(t)&&(n=t,t=void 0),t=t||"");var i,o=_n(),s=e?o._week.dow:0,a=[];if(null!=n)return mo(t,(n+s)%7,r,"day");for(i=0;i<7;i++)a[i]=mo(t,(i+s)%7,r,"day");return a}function vo(e,t){return yo(e,t,"months")}function _o(e,t){return yo(e,t,"monthsShort")}function bo(e,t,n){return go(e,t,n,"weekdays")}function wo(e,t,n){return go(e,t,n,"weekdaysShort")}function Eo(e,t,n){return go(e,t,n,"weekdaysMin")}po.calendar=N,po.longDateFormat=V,po.invalidDate=Z,po.ordinal=K,po.preparse=fo,po.postformat=fo,po.relativeTime=Q,po.pastFuture=ee,po.set=B,po.eras=Oi,po.erasParse=Bi,po.erasConvertYear=Pi,po.erasAbbrRegex=Ri,po.erasNameRegex=Li,po.erasNarrowRegex=Ii,po.months=st,po.monthsShort=at,po.monthsParse=lt,po.monthsRegex=pt,po.monthsShortRegex=ft,po.week=Mt,po.firstDayOfYear=Dt,po.firstDayOfWeek=xt,po.weekdays=Yt,po.weekdaysMin=Gt,po.weekdaysShort=Ut,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===he(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th")}}),
1179
1183
  // Side effect imports
1180
1184
  r.lang=M("moment.lang is deprecated. Use moment.locale instead.",yn),r.langData=M("moment.langData is deprecated. Use moment.localeData instead.",_n);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()}
1181
1185
  // supports only 2.0-style add(1, 's') or add(duration)
1182
1186
  function ko(e,t){return Mo(this,e,t,1)}
1183
1187
  // supports only 2.0-style subtract(1, 's') or subtract(duration)
1184
- function Do(e,t){return Mo(this,e,t,-1)}function xo(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,u=this._data;
1188
+ function xo(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,u=this._data;
1185
1189
  // if we have a mix of positive and negative values, bubble down first
1186
1190
  // check: https://github.com/moment/moment/issues/2166
1187
- return o>=0&&s>=0&&a>=0||o<=0&&s<=0&&a<=0||(o+=864e5*xo(Po(a)+s),s=0,a=0),
1191
+ return o>=0&&s>=0&&a>=0||o<=0&&s<=0&&a<=0||(o+=864e5*Do(Po(a)+s),s=0,a=0),
1188
1192
  // The following code bubbles up values, see the tests for
1189
1193
  // examples of what that means.
1190
1194
  u.milliseconds=o%1e3,e=le(o/1e3),u.seconds=e%60,t=le(e/60),u.minutes=t%60,n=le(t/60),u.hours=n%24,s+=le(n/24),a+=
1191
1195
  // convert days to months
1192
- i=le(Bo(s)),s-=xo(Po(i)),
1196
+ i=le(Bo(s)),s-=Do(Po(i)),
1193
1197
  // 12 months -> 1 year
1194
1198
  r=le(a/12),a%=12,u.days=s,u.months=a,u.years=r,this}function Bo(e){
1195
1199
  // 400 years have 146097 days (taking into account leap year rules)
@@ -1202,7 +1206,7 @@ t=this._days+Math.round(Po(this._months)),e){case"week":return t/7+r/6048e5;case
1202
1206
  // Math.floor prevents floating point math errors here
1203
1207
  case"millisecond":return Math.floor(864e5*t)+r;default:throw new Error("Unknown unit "+e)}}
1204
1208
  // TODO: Use this.as('ms')?
1205
- function Ho(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*he(this._months/12):NaN}function No(e){return function(){return this.as(e)}}var Lo=No("ms"),Co=No("s"),Io=No("m"),Ro=No("h"),Fo=No("d"),Yo=No("w"),Uo=No("M"),Go=No("Q"),$o=No("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 le(this.days()/7)}var ts=Math.round,ns={ss:44,// a few seconds to seconds
1209
+ function Ho(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*he(this._months/12):NaN}function No(e){return function(){return this.as(e)}}var Co=No("ms"),Lo=No("s"),Ro=No("m"),Io=No("h"),Fo=No("d"),Yo=No("w"),Uo=No("M"),Go=No("Q"),$o=No("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 le(this.days()/7)}var ts=Math.round,ns={ss:44,// a few seconds to seconds
1206
1210
  s:45,// seconds to minute
1207
1211
  m:45,// minutes to hour
1208
1212
  h:22,// hours to day
@@ -1228,11 +1232,11 @@ e=le(u/60),t=le(e/60),u%=60,e%=60,
1228
1232
  // 12 months -> 1 year
1229
1233
  n=le(h/12),h%=12,
1230
1234
  // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
1231
- r=u?u.toFixed(3).replace(/\.?0+$/,""):"",i=c<0?"-":"",o=ls(this._months)!==ls(c)?"-":"",s=ls(this._days)!==ls(c)?"-":"",a=ls(this._milliseconds)!==ls(c)?"-":"",i+"P"+(n?o+n+"Y":"")+(h?o+h+"M":"")+(l?s+l+"D":"")+(t||e||u?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(u?a+r+"S":"")):"P0D"}var cs=ar.prototype;return cs.isValid=or,cs.abs=To,cs.add=ko,cs.subtract=Do,cs.as=Ao,cs.asMilliseconds=Lo,cs.asSeconds=Co,cs.asMinutes=Io,cs.asHours=Ro,cs.asDays=Fo,cs.asWeeks=Yo,cs.asMonths=Uo,cs.asQuarters=Go,cs.asYears=$o,cs.valueOf=Ho,cs._bubble=Oo,cs.clone=jo,cs.get=Wo,cs.milliseconds=zo,cs.seconds=Zo,cs.minutes=Xo,cs.hours=qo,cs.days=Ko,cs.weeks=es,cs.months=Jo,cs.years=Qo,cs.humanize=as,cs.toISOString=hs,cs.toString=hs,cs.toJSON=hs,cs.locale=ai,cs.localeData=li,cs.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",hs),cs.lang=ui,
1235
+ r=u?u.toFixed(3).replace(/\.?0+$/,""):"",i=c<0?"-":"",o=ls(this._months)!==ls(c)?"-":"",s=ls(this._days)!==ls(c)?"-":"",a=ls(this._milliseconds)!==ls(c)?"-":"",i+"P"+(n?o+n+"Y":"")+(h?o+h+"M":"")+(l?s+l+"D":"")+(t||e||u?"T":"")+(t?a+t+"H":"")+(e?a+e+"M":"")+(u?a+r+"S":"")):"P0D"}var cs=ar.prototype;return cs.isValid=or,cs.abs=To,cs.add=ko,cs.subtract=xo,cs.as=Ao,cs.asMilliseconds=Co,cs.asSeconds=Lo,cs.asMinutes=Ro,cs.asHours=Io,cs.asDays=Fo,cs.asWeeks=Yo,cs.asMonths=Uo,cs.asQuarters=Go,cs.asYears=$o,cs.valueOf=Ho,cs._bubble=Oo,cs.clone=jo,cs.get=Wo,cs.milliseconds=zo,cs.seconds=Zo,cs.minutes=Xo,cs.hours=qo,cs.days=Ko,cs.weeks=es,cs.months=Jo,cs.years=Qo,cs.humanize=as,cs.toISOString=hs,cs.toString=hs,cs.toJSON=hs,cs.locale=ai,cs.localeData=li,cs.toIsoString=M("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",hs),cs.lang=ui,
1232
1236
  // FORMATTING
1233
1237
  Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),
1234
1238
  // PARSING
1235
- Le("x",Be),Le("X",He),Ye("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Ye("x",(function(e,t,n){n._d=new Date(he(e))})),
1239
+ Ce("x",Be),Ce("X",He),Ye("X",(function(e,t,n){n._d=new Date(1e3*parseFloat(e))})),Ye("x",(function(e,t,n){n._d=new Date(he(e))})),
1236
1240
  //! moment.js
1237
1241
  r.version="2.29.4",i(qn),r.fn=lo,r.min=er,r.max=tr,r.now=nr,r.utc=p,r.unix=ho,r.months=vo,r.isDate=c,r.locale=yn,r.invalid=v,r.duration=Or,r.isMoment=S,r.weekdays=bo,r.parseZone=co,r.localeData=_n,r.isDuration=ur,r.monthsShort=_o,r.weekdaysMin=Eo,r.defineLocale=gn,r.updateLocale=vn,r.locales=bn,r.weekdaysShort=wo,r.normalizeUnits=re,r.relativeTimeRounding=os,r.relativeTimeThreshold=ss,r.calendarFormat=Gr,r.prototype=lo,
1238
1242
  // currently HTML5 input type only supports 24-hour formats
@@ -1247,37 +1251,37 @@ WEEK:"GGGG-[W]WW",// <input type="week" />
1247
1251
  MONTH:"YYYY-MM"},r}()}));
1248
1252
  /* src/CasinoIntegratedGamePage.svelte generated by Svelte v3.59.2 */
1249
1253
  function Tr(e){let t;function n(e,t){/*isLoggedIn*/
1250
- return e[6]?xr:/*funMode*/e[11]?Dr:void 0}let r=n(e),i=r&&r(e);return{c(){t=y("div"),i&&i.c(),b(t,"class","CasinoIntegratedGamePage"),b(t,"part","CasinoIntegratedGamePage")},m(e,n){p(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&&m(t),i&&i.d()}}}
1254
+ return e[6]?Dr:/*funMode*/e[11]?xr:void 0}let r=n(e),i=r&&r(e);return{c(){t=y("div"),i&&i.c(),b(t,"class","CasinoIntegratedGamePage"),b(t,"part","CasinoIntegratedGamePage")},m(e,n){p(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&&m(t),i&&i.d()}}}
1251
1255
  // (353:4) {#if hasErrors}
1252
1256
  function Mr(e){let t;return{c(){t=y("p"),t.textContent="500 Error - Internal Server Error.",b(t,"class","SearchLoading"),b(t,"part","SearchLoading")},m(e,n){p(e,t,n)},p:r,d(e){e&&m(t)}}}
1253
1257
  // (350:2) {#if isLoading}
1254
1258
  function kr(e){let t;return{c(){t=y("p"),t.textContent="Loading, please wait ...",b(t,"class","SearchLoading"),b(t,"part","SearchLoading")},m(e,n){p(e,t,n)},p:r,d(e){e&&m(t)}}}
1255
1259
  // (392:10) {#if funMode}
1256
- function Dr(e){let t,n,r,i,o,a,u,l,h,d,T,M,k,D,x,O,B,P,A,H,N,L,C,I,R,F=/*$_*/e[22]("signIn")+"",Y=/*$_*/e[22]("register")+"";function U(e,t){/*isFullscreen*/
1257
- return e[17]?Br:Or}let G=U(e),$=G(e),j=/*gamebanneractive*/"true"==e[1]&&!/*isFullscreen*/e[17]&&Pr();return{c(){t=y("div"),n=y("button"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #D0046C);}</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=v(),i=y("p"),o=y("span"),a=g(/*time*/e[4]),u=v(),l=y("div"),h=v(),d=y("div"),T=y("div"),M=y("iframe"),D=v(),x=y("div"),O=y("div"),B=y("button"),P=g(F),A=v(),H=y("button"),N=g(Y),L=v(),$.c(),C=v(),j&&j.c(),b(n,"class","backButton"),b(n,"part","backButton"),b(i,"class","Time"),b(i,"part","Time"),b(t,"class","GamePageIntegratedTopSection"),b(t,"part","GamePageIntegratedTopSection"),b(M,"title","Games"),b(M,"class","GamesContainer"),b(M,"part","GamesContainer"),b(M,"aria-hidden","false"),c(M.src,k=/*game*/e[10].launchUrl)||b(M,"src",k),b(B,"class","LoginButton"),b(B,"part","LoginButton"),b(H,"class","RegisterButton"),b(H,"part","RegisterButton"),b(O,"class","ButtonsContainer ButtonsContainerFunMode"),b(O,"part","ButtonsContainer ButtonsContainerFunMode"),b(x,"class","BottomGame"),b(x,"part","BottomGame"),b(T,"id","IframeGame"),b(T,"part","IframeGame"),E(T,"width",/*isFullscreen*/e[17]?"100%":/*definitiveIframeWidth*/e[18]),E(T,"height",/*isFullscreen*/e[17]?"100%":/*definitiveIframeHeight*/e[19]),E(T,"max-width",/*isFullscreen*/e[17]||!/*isModal*/e[12]?"none":/*game*/e[10].width?Math.floor(/*game*/e[10].width)+"px":"1280px"),E(T,"max-height",/*isFullscreen*/e[17]||!/*isModal*/e[12]?"none":/*game*/e[10].height?Math.floor(/*game*/e[10].height)+100+"px":"720px"),b(d,"id","IframeContainer"),b(d,"part","IframeContainer"),S(d,"FullsScreenLayout",/*isFullscreen*/e[17])},m(s,c){p(s,t,c),f(t,n),f(t,r),f(t,i),f(i,o),f(o,a),
1260
+ function xr(e){let t,n,r,i,o,a,u,l,h,d,T,M,k,x,D,O,B,P,A,H,N,C,L,R,I,F=/*$_*/e[22]("signIn")+"",Y=/*$_*/e[22]("register")+"";function U(e,t){/*isFullscreen*/
1261
+ return e[17]?Br:Or}let G=U(e),$=G(e),j=/*gamebanneractive*/"true"==e[1]&&!/*isFullscreen*/e[17]&&Pr();return{c(){t=y("div"),n=y("button"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #D0046C);}</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=v(),i=y("p"),o=y("span"),a=g(/*time*/e[4]),u=v(),l=y("div"),h=v(),d=y("div"),T=y("div"),M=y("iframe"),x=v(),D=y("div"),O=y("div"),B=y("button"),P=g(F),A=v(),H=y("button"),N=g(Y),C=v(),$.c(),L=v(),j&&j.c(),b(n,"class","backButton"),b(n,"part","backButton"),b(i,"class","Time"),b(i,"part","Time"),b(t,"class","GamePageIntegratedTopSection"),b(t,"part","GamePageIntegratedTopSection"),b(M,"title","Games"),b(M,"class","GamesContainer"),b(M,"part","GamesContainer"),b(M,"aria-hidden","false"),c(M.src,k=/*game*/e[10].launchUrl)||b(M,"src",k),b(B,"class","LoginButton"),b(B,"part","LoginButton"),b(H,"class","RegisterButton"),b(H,"part","RegisterButton"),b(O,"class","ButtonsContainer ButtonsContainerFunMode"),b(O,"part","ButtonsContainer ButtonsContainerFunMode"),b(D,"class","BottomGame"),b(D,"part","BottomGame"),b(T,"id","IframeGame"),b(T,"part","IframeGame"),E(T,"width",/*isFullscreen*/e[17]?"100%":/*definitiveIframeWidth*/e[18]),E(T,"height",/*isFullscreen*/e[17]?"100%":/*definitiveIframeHeight*/e[19]),E(T,"max-width",/*isFullscreen*/e[17]||!/*isModal*/e[12]?"none":/*game*/e[10].width?Math.floor(/*game*/e[10].width)+"px":"1280px"),E(T,"max-height",/*isFullscreen*/e[17]||!/*isModal*/e[12]?"none":/*game*/e[10].height?Math.floor(/*game*/e[10].height)+100+"px":"720px"),b(d,"id","IframeContainer"),b(d,"part","IframeContainer"),S(d,"FullsScreenLayout",/*isFullscreen*/e[17])},m(s,c){p(s,t,c),f(t,n),f(t,r),f(t,i),f(i,o),f(o,a),
1258
1262
  /*p_binding_1*/e[57](i),f(t,u),f(t,l),p(s,h,c),p(s,d,c),f(d,T),f(T,M),
1259
- /*iframe_1_binding_1*/e[58](M),f(T,D),f(T,x),f(x,O),f(O,B),f(B,P),f(O,A),f(O,H),f(H,N),f(x,L),$.m(x,null),
1260
- /*div3_binding_1*/e[63](x),
1261
- /*div4_binding*/e[64](T),f(d,C),j&&j.m(d,null)
1262
- /*div5_binding*/,e[65](d),I||(R=[_(n,"click",/*click_handler_4*/e[56]),_(B,"click",/*click_handler_5*/e[59]),_(H,"click",/*click_handler_6*/e[60])],I=!0)},p(e,t){/*time*/16&t[0]&&w(a,/*time*/e[4]),/*game*/1024&t[0]&&!c(M.src,k=/*game*/e[10].launchUrl)&&b(M,"src",k),/*$_*/4194304&t[0]&&F!==(F=/*$_*/e[22]("signIn")+"")&&w(P,F),/*$_*/4194304&t[0]&&Y!==(Y=/*$_*/e[22]("register")+"")&&w(N,Y),G===(G=U(e))&&$?$.p(e,t):($.d(1),$=G(e),$&&($.c(),$.m(x,null))),/*isFullscreen, definitiveIframeWidth*/393216&t[0]&&E(T,"width",/*isFullscreen*/e[17]?"100%":/*definitiveIframeWidth*/e[18]),/*isFullscreen, definitiveIframeHeight*/655360&t[0]&&E(T,"height",/*isFullscreen*/e[17]?"100%":/*definitiveIframeHeight*/e[19]),/*isFullscreen, isModal, game*/136192&t[0]&&E(T,"max-width",/*isFullscreen*/e[17]||!/*isModal*/e[12]?"none":/*game*/e[10].width?Math.floor(/*game*/e[10].width)+"px":"1280px"),/*isFullscreen, isModal, game*/136192&t[0]&&E(T,"max-height",/*isFullscreen*/e[17]||!/*isModal*/e[12]?"none":/*game*/e[10].height?Math.floor(/*game*/e[10].height)+100+"px":"720px"),/*gamebanneractive*/"true"!=e[1]||/*isFullscreen*/e[17]?j&&(j.d(1),j=null):j||(j=Pr(),j.c(),j.m(d,null)),/*isFullscreen*/131072&t[0]&&S(d,"FullsScreenLayout",/*isFullscreen*/e[17])},d(n){n&&m(t)
1263
+ /*iframe_1_binding_1*/e[58](M),f(T,x),f(T,D),f(D,O),f(O,B),f(B,P),f(O,A),f(O,H),f(H,N),f(D,C),$.m(D,null),
1264
+ /*div3_binding_1*/e[63](D),
1265
+ /*div4_binding*/e[64](T),f(d,L),j&&j.m(d,null)
1266
+ /*div5_binding*/,e[65](d),R||(I=[_(n,"click",/*click_handler_4*/e[56]),_(B,"click",/*click_handler_5*/e[59]),_(H,"click",/*click_handler_6*/e[60])],R=!0)},p(e,t){/*time*/16&t[0]&&w(a,/*time*/e[4]),/*game*/1024&t[0]&&!c(M.src,k=/*game*/e[10].launchUrl)&&b(M,"src",k),/*$_*/4194304&t[0]&&F!==(F=/*$_*/e[22]("signIn")+"")&&w(P,F),/*$_*/4194304&t[0]&&Y!==(Y=/*$_*/e[22]("register")+"")&&w(N,Y),G===(G=U(e))&&$?$.p(e,t):($.d(1),$=G(e),$&&($.c(),$.m(D,null))),/*isFullscreen, definitiveIframeWidth*/393216&t[0]&&E(T,"width",/*isFullscreen*/e[17]?"100%":/*definitiveIframeWidth*/e[18]),/*isFullscreen, definitiveIframeHeight*/655360&t[0]&&E(T,"height",/*isFullscreen*/e[17]?"100%":/*definitiveIframeHeight*/e[19]),/*isFullscreen, isModal, game*/136192&t[0]&&E(T,"max-width",/*isFullscreen*/e[17]||!/*isModal*/e[12]?"none":/*game*/e[10].width?Math.floor(/*game*/e[10].width)+"px":"1280px"),/*isFullscreen, isModal, game*/136192&t[0]&&E(T,"max-height",/*isFullscreen*/e[17]||!/*isModal*/e[12]?"none":/*game*/e[10].height?Math.floor(/*game*/e[10].height)+100+"px":"720px"),/*gamebanneractive*/"true"!=e[1]||/*isFullscreen*/e[17]?j&&(j.d(1),j=null):j||(j=Pr(),j.c(),j.m(d,null)),/*isFullscreen*/131072&t[0]&&S(d,"FullsScreenLayout",/*isFullscreen*/e[17])},d(n){n&&m(t)
1263
1267
  /*p_binding_1*/,e[57](null),n&&m(h),n&&m(d)
1264
1268
  /*iframe_1_binding_1*/,e[58](null),$.d(),
1265
1269
  /*div3_binding_1*/e[63](null),
1266
1270
  /*div4_binding*/e[64](null),j&&j.d()
1267
- /*div5_binding*/,e[65](null),I=!1,s(R)}}}
1271
+ /*div5_binding*/,e[65](null),R=!1,s(I)}}}
1268
1272
  // (357:8) {#if isLoggedIn}
1269
- function xr(e){let t,n,r,i,o,a,u,l,h,d,T,M,k,D,x,O,B,P,A,H,N,L,C=/*$_*/e[22]("deposit")+"",I=/*haspanicbutton*/"true"===e[0]&&Ar(e);function R(e,t){/*isFullscreen*/
1270
- return e[17]?Nr:Hr}let F=R(e),Y=F(e),U=/*gamebanneractive*/"true"==e[1]&&!/*isFullscreen*/e[17]&&Lr();return{c(){t=y("div"),n=y("button"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #FFF);}</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=v(),i=y("p"),o=y("span"),a=g(/*time*/e[4]),u=v(),l=y("button"),h=g(C),d=v(),T=y("div"),M=y("div"),k=y("iframe"),B=v(),P=y("div"),I&&I.c(),A=v(),Y.c(),H=v(),U&&U.c(),b(n,"class","backButton"),b(n,"part","backButton"),b(i,"class","Time"),b(i,"part","Time"),b(l,"class","DepositButton"),b(l,"part","DepositButton"),b(t,"class","GamePageIntegratedTopSection"),b(t,"part","GamePageIntegratedTopSection"),b(k,"title","Games"),b(k,"id","IframeGame"),b(k,"class","GamesContainer"),b(k,"part","GamesContainer"),b(k,"aria-hidden","false"),c(k.src,D=/*game*/e[10].launchUrl)||b(k,"src",D),b(k,"width",x=/*gameContainerWidth*/e[14]+"px"),b(k,"height",O=/*gameContainerHeight*/e[15]+"px"),b(P,"class","BottomGame BottomGameLoggedin"),b(P,"part","BottomGame BottomGameLoggedin"),b(M,"id","IframeGame"),b(M,"part","IframeGame"),E(M,"width",/*isFullscreen*/e[17]?"100%":/*definitiveIframeWidth*/e[18]),E(M,"height",/*isFullscreen*/e[17]?"100%":/*definitiveIframeHeight*/e[19]),E(M,"max-width",/*isFullscreen*/e[17]?"none":/*game*/e[10].width?/*game*/e[10].width+"px":"1280px"),E(M,"max-height",/*isFullscreen*/e[17]?"none":/*game*/e[10].height?Math.floor(/*game*/e[10].height)+100+"px":"720px"),b(T,"id","IframeContainer"),b(T,"part","IframeContainer"),S(T,"FullsScreenLayout",/*isFullscreen*/e[17])},m(s,c){p(s,t,c),f(t,n),f(t,r),f(t,i),f(i,o),f(o,a),
1273
+ function Dr(e){let t,n,r,i,o,a,u,l,h,d,T,M,k,x,D,O,B,P,A,H,N,C,L=/*$_*/e[22]("deposit")+"",R=/*haspanicbutton*/"true"===e[0]&&Ar(e);function I(e,t){/*isFullscreen*/
1274
+ return e[17]?Nr:Hr}let F=I(e),Y=F(e),U=/*gamebanneractive*/"true"==e[1]&&!/*isFullscreen*/e[17]&&Cr();return{c(){t=y("div"),n=y("button"),n.innerHTML='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><defs><style>.a{fill:var(--emfe-w-color-primary, #FFF);}</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=v(),i=y("p"),o=y("span"),a=g(/*time*/e[4]),u=v(),l=y("button"),h=g(L),d=v(),T=y("div"),M=y("div"),k=y("iframe"),B=v(),P=y("div"),R&&R.c(),A=v(),Y.c(),H=v(),U&&U.c(),b(n,"class","backButton"),b(n,"part","backButton"),b(i,"class","Time"),b(i,"part","Time"),b(l,"class","DepositButton"),b(l,"part","DepositButton"),b(t,"class","GamePageIntegratedTopSection"),b(t,"part","GamePageIntegratedTopSection"),b(k,"title","Games"),b(k,"id","IframeGame"),b(k,"class","GamesContainer"),b(k,"part","GamesContainer"),b(k,"aria-hidden","false"),c(k.src,x=/*game*/e[10].launchUrl)||b(k,"src",x),b(k,"width",D=/*gameContainerWidth*/e[14]+"px"),b(k,"height",O=/*gameContainerHeight*/e[15]+"px"),b(P,"class","BottomGame BottomGameLoggedin"),b(P,"part","BottomGame BottomGameLoggedin"),b(M,"id","IframeGame"),b(M,"part","IframeGame"),E(M,"width",/*isFullscreen*/e[17]?"100%":/*definitiveIframeWidth*/e[18]),E(M,"height",/*isFullscreen*/e[17]?"100%":/*definitiveIframeHeight*/e[19]),E(M,"max-width",/*isFullscreen*/e[17]?"none":/*game*/e[10].width?/*game*/e[10].width+"px":"1280px"),E(M,"max-height",/*isFullscreen*/e[17]?"none":/*game*/e[10].height?Math.floor(/*game*/e[10].height)+100+"px":"720px"),b(T,"id","IframeContainer"),b(T,"part","IframeContainer"),S(T,"FullsScreenLayout",/*isFullscreen*/e[17])},m(s,c){p(s,t,c),f(t,n),f(t,r),f(t,i),f(i,o),f(o,a),
1271
1275
  /*p_binding*/e[47](i),f(t,u),f(t,l),f(l,h),p(s,d,c),p(s,T,c),f(T,M),f(M,k),
1272
- /*iframe_1_binding*/e[49](k),f(M,B),f(M,P),I&&I.m(P,null),f(P,A),Y.m(P,null),
1276
+ /*iframe_1_binding*/e[49](k),f(M,B),f(M,P),R&&R.m(P,null),f(P,A),Y.m(P,null),
1273
1277
  /*div1_binding*/e[53](P),
1274
1278
  /*div2_binding*/e[54](M),f(T,H),U&&U.m(T,null)
1275
- /*div3_binding*/,e[55](T),N||(L=[_(n,"click",/*click_handler*/e[46]),_(l,"click",/*click_handler_1*/e[48])],N=!0)},p(e,t){/*time*/16&t[0]&&w(a,/*time*/e[4]),/*$_*/4194304&t[0]&&C!==(C=/*$_*/e[22]("deposit")+"")&&w(h,C),/*game*/1024&t[0]&&!c(k.src,D=/*game*/e[10].launchUrl)&&b(k,"src",D),/*gameContainerWidth*/16384&t[0]&&x!==(x=/*gameContainerWidth*/e[14]+"px")&&b(k,"width",x),/*gameContainerHeight*/32768&t[0]&&O!==(O=/*gameContainerHeight*/e[15]+"px")&&b(k,"height",O),/*haspanicbutton*/"true"===e[0]?I?I.p(e,t):(I=Ar(e),I.c(),I.m(P,A)):I&&(I.d(1),I=null),F===(F=R(e))&&Y?Y.p(e,t):(Y.d(1),Y=F(e),Y&&(Y.c(),Y.m(P,null))),/*isFullscreen, definitiveIframeWidth*/393216&t[0]&&E(M,"width",/*isFullscreen*/e[17]?"100%":/*definitiveIframeWidth*/e[18]),/*isFullscreen, definitiveIframeHeight*/655360&t[0]&&E(M,"height",/*isFullscreen*/e[17]?"100%":/*definitiveIframeHeight*/e[19]),/*isFullscreen, game*/132096&t[0]&&E(M,"max-width",/*isFullscreen*/e[17]?"none":/*game*/e[10].width?/*game*/e[10].width+"px":"1280px"),/*isFullscreen, game*/132096&t[0]&&E(M,"max-height",/*isFullscreen*/e[17]?"none":/*game*/e[10].height?Math.floor(/*game*/e[10].height)+100+"px":"720px"),/*gamebanneractive*/"true"!=e[1]||/*isFullscreen*/e[17]?U&&(U.d(1),U=null):U||(U=Lr(),U.c(),U.m(T,null)),/*isFullscreen*/131072&t[0]&&S(T,"FullsScreenLayout",/*isFullscreen*/e[17])},d(n){n&&m(t)
1279
+ /*div3_binding*/,e[55](T),N||(C=[_(n,"click",/*click_handler*/e[46]),_(l,"click",/*click_handler_1*/e[48])],N=!0)},p(e,t){/*time*/16&t[0]&&w(a,/*time*/e[4]),/*$_*/4194304&t[0]&&L!==(L=/*$_*/e[22]("deposit")+"")&&w(h,L),/*game*/1024&t[0]&&!c(k.src,x=/*game*/e[10].launchUrl)&&b(k,"src",x),/*gameContainerWidth*/16384&t[0]&&D!==(D=/*gameContainerWidth*/e[14]+"px")&&b(k,"width",D),/*gameContainerHeight*/32768&t[0]&&O!==(O=/*gameContainerHeight*/e[15]+"px")&&b(k,"height",O),/*haspanicbutton*/"true"===e[0]?R?R.p(e,t):(R=Ar(e),R.c(),R.m(P,A)):R&&(R.d(1),R=null),F===(F=I(e))&&Y?Y.p(e,t):(Y.d(1),Y=F(e),Y&&(Y.c(),Y.m(P,null))),/*isFullscreen, definitiveIframeWidth*/393216&t[0]&&E(M,"width",/*isFullscreen*/e[17]?"100%":/*definitiveIframeWidth*/e[18]),/*isFullscreen, definitiveIframeHeight*/655360&t[0]&&E(M,"height",/*isFullscreen*/e[17]?"100%":/*definitiveIframeHeight*/e[19]),/*isFullscreen, game*/132096&t[0]&&E(M,"max-width",/*isFullscreen*/e[17]?"none":/*game*/e[10].width?/*game*/e[10].width+"px":"1280px"),/*isFullscreen, game*/132096&t[0]&&E(M,"max-height",/*isFullscreen*/e[17]?"none":/*game*/e[10].height?Math.floor(/*game*/e[10].height)+100+"px":"720px"),/*gamebanneractive*/"true"!=e[1]||/*isFullscreen*/e[17]?U&&(U.d(1),U=null):U||(U=Cr(),U.c(),U.m(T,null)),/*isFullscreen*/131072&t[0]&&S(T,"FullsScreenLayout",/*isFullscreen*/e[17])},d(n){n&&m(t)
1276
1280
  /*p_binding*/,e[47](null),n&&m(d),n&&m(T)
1277
- /*iframe_1_binding*/,e[49](null),I&&I.d(),Y.d(),
1281
+ /*iframe_1_binding*/,e[49](null),R&&R.d(),Y.d(),
1278
1282
  /*div1_binding*/e[53](null),
1279
1283
  /*div2_binding*/e[54](null),U&&U.d()
1280
- /*div3_binding*/,e[55](null),N=!1,s(L)}}}
1284
+ /*div3_binding*/,e[55](null),N=!1,s(C)}}}
1281
1285
  // (412:18) {:else}
1282
1286
  function Or(e){let t,n,i;return{c(){t=y("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>',b(t,"class","FullscreenButton"),b(t,"part","FullscreenButton")},m(r,o){p(r,t,o),n||(i=_(t,"click",/*click_handler_8*/e[62]),n=!0)},p:r,d(e){e&&m(t),n=!1,i()}}}
1283
1287
  // (408:18) {#if isFullscreen}
@@ -1293,10 +1297,10 @@ function Hr(e){let t,n,i;return{c(){t=y("button"),t.innerHTML='<svg xmlns="http:
1293
1297
  // (374:16) {#if isFullscreen}
1294
1298
  function Nr(e){let t,n,i;return{c(){t=y("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:#fff;" 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:#fff;" 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:#fff;" 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:#fff;" 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>',b(t,"class","FullscreenButton"),b(t,"part","FullscreenButton")},m(r,o){p(r,t,o),n||(i=_(t,"click",/*click_handler_2*/e[51]),n=!0)},p:r,d(e){e&&m(t),n=!1,i()}}}
1295
1299
  // (385:12) {#if gamebanneractive == 'true' && !isFullscreen}
1296
- function Lr(e){let t;return{c(){t=y("div"),t.innerHTML="<h3>Your banner here</h3>",b(t,"class","BannerSection"),b(t,"part","BannerSection")},m(e,n){p(e,t,n)},d(e){e&&m(t)}}}function Cr(e){let t;function n(e,t){/*isLoading*/
1300
+ function Cr(e){let t;return{c(){t=y("div"),t.innerHTML="<h3>Your banner here</h3>",b(t,"class","BannerSection"),b(t,"part","BannerSection")},m(e,n){p(e,t,n)},d(e){e&&m(t)}}}function Lr(e){let t;function n(e,t){/*isLoading*/
1297
1301
  return e[8]?kr:/*hasErrors*/e[7]?Mr:Tr}let i=n(e),o=i(e);return{c(){t=y("div"),o.c(),this.c=r},m(n,r){p(n,t,r),o.m(t,null),
1298
1302
  /*div_binding*/e[66](t)},p(e,r){i===(i=n(e))&&o?o.p(e,r):(o.d(1),o=i(e),o&&(o.c(),o.m(t,null)))},i:r,o:r,d(n){n&&m(t),o.d(),
1299
- /*div_binding*/e[66](null)}}}function Ir(e,t,n){let r;var i,o;i=gr,o=e=>n(22,r=e),e.$$.on_destroy.push(d(i,o));let s,a,u,l,h,c,f,p,m,y,g,v,_,b,w,E,S,{endpoint:T=""}=t,{lang:M=""}=t,{session:D=""}=t,{userid:O=""}=t,{clientstyling:B=""}=t,{clientstylingurl:P=""}=t,{translationurl:A=""}=t,{loginurl:H=""}=t,{registerurl:N=""}=t,{depositurl:L=""}=t,{loginevent:C=""}=t,{registerevent:I=""}=t,{depositevent:R=""}=t,{clockformat:F=""}=t,{haspanicbutton:Y="false"}=t,{playforfun:U="true"}=t,{checksession:G="true"}=t,{gamebanneractive:$="false"}=t,{gameid:j=""}=t,W=!1,V=!1,z=!0,Z=!1,X=0,q=!1,K=!1,J=!0,Q=!1,ee=window.navigator.userAgent;!function({withLocale:e,translations:t}){or.subscribe((n=>{null==n&&(Gn.set(t),or.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1303
+ /*div_binding*/e[66](null)}}}function Rr(e,t,n){let r;var i,o;i=gr,o=e=>n(22,r=e),e.$$.on_destroy.push(d(i,o));let s,a,u,l,h,c,f,p,m,y,g,v,_,b,w,E,S,{endpoint:T=""}=t,{lang:M=""}=t,{session:x=""}=t,{userid:O=""}=t,{clientstyling:B=""}=t,{clientstylingurl:P=""}=t,{translationurl:A=""}=t,{loginurl:H=""}=t,{registerurl:N=""}=t,{depositurl:C=""}=t,{loginevent:L=""}=t,{registerevent:R=""}=t,{depositevent:I=""}=t,{clockformat:F=""}=t,{haspanicbutton:Y="false"}=t,{playforfun:U="true"}=t,{checksession:G="true"}=t,{gamebanneractive:$="false"}=t,{gameid:j=""}=t,W=!1,V=!1,z=!0,Z=!1,X=0,q=!1,K=!1,J=!0,Q=!1,ee=window.navigator.userAgent;!function({withLocale:e,translations:t}){or.subscribe((n=>{null==n&&(Gn.set(t),or.set(e))}));// maybe we will need this to make sure that the i18n is set up only once
1300
1304
  /*dictionary.set(translations);
1301
1305
  locale.set(_locale);*/}({withLocale:"en",translations:{}});Object.keys(br).forEach((e=>{_r(e,br[e])}));
1302
1306
  // @TODO game typescript model type
@@ -1309,21 +1313,21 @@ p/r>m-E.clientHeight-S.clientHeight?(v=m-E.clientHeight-S.clientHeight,g=m*r):(g
1309
1313
  // sent to modal component a flag (detailsObtained) by witch to determine if a game is open
1310
1314
  window.postMessage({type:"GameStateOnResize",detailsObtained:q},window.location.href),
1311
1315
  // make sure that a game is open before trying to get the element properties
1312
- q&&f&&"PC"==vr(ee)&&re()},oe=()=>{C&&(window.postMessage({type:C,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),H&&(
1316
+ q&&f&&"PC"==vr(ee)&&re()},oe=()=>{L&&(window.postMessage({type:L,transition:"Login"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),H&&(
1313
1317
  // @ts-ignore
1314
1318
  window.location=H),
1315
1319
  //Analytics event
1316
- "function"==typeof gtag&&gtag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},se=()=>{I&&(window.postMessage({type:I,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),N&&(
1320
+ "function"==typeof gtag&&gtag("event","OpenLoginModal",{context:"GeneralPlayerRegisterForm"})},se=()=>{R&&(window.postMessage({type:R,transition:"Register"},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href)),N&&(
1317
1321
  // @ts-ignore
1318
1322
  window.location=N),
1319
1323
  //Analytics event
1320
- "function"==typeof gtag&&gtag("event","OpenRegisterModal",{context:"IntegratedGamePage"})},ae=()=>{R&&(window.postMessage({type:R},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href),
1324
+ "function"==typeof gtag&&gtag("event","OpenRegisterModal",{context:"IntegratedGamePage"})},ae=()=>{I&&(window.postMessage({type:I},window.location.href),window.postMessage({type:"ModalClosed"},window.location.href),
1321
1325
  //Analytics event
1322
- "function"==typeof gtag&&gtag("event","GoToDeposit",{context:"IntegratedGamePage"})),L&&(
1326
+ "function"==typeof gtag&&gtag("event","GoToDeposit",{context:"IntegratedGamePage"})),C&&(
1323
1327
  // @ts-ignore
1324
- window.location=L)};function ue(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!Q||le()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ue,!1),document.addEventListener("mozfullscreenchange",ue,!1),document.addEventListener("fullscreenchange",ue,!1),document.addEventListener("MSFullscreenChange",ue,!1));const le=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(Q?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen():f.requestFullscreen?f.requestFullscreen():f.webkitRequestFullscreen?f.webkitRequestFullscreen():f.mozRequestFullScreen?f.mozRequestFullScreen():f.msRequestFullscreen&&f.msRequestFullscreen()),n(17,Q=!Q)},he=setInterval((()=>{n(4,s=F?Sr().format(F):Sr().format("LTS"))}),100),ce=()=>{var e;e=M,or.set(e),(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)})(ee),n(8,z=!1)},de=()=>{"true"==G?function(e,t){return new Promise(((n,r)=>{let i=new Headers;i.append("X-SessionID",t),pe(`${e}/player/session/player`,{method:"GET",headers:i}).then((e=>e.json())).then((e=>n(e))).catch((e=>r(e)))}))}(T,D).then((e=>{u=e.Guid,e.UserID,n(6,W=!0)}),(e=>{n(6,W=!1),console.error("err on session",e)})):u=D},fe=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},me=e=>{X=0,h=setInterval((()=>{X+=1,n(9,Z=!0),X>=3&&clearInterval(h)}),1e3)},ye=e=>{X<3&&n(9,Z=!1),clearInterval(h)};k((()=>(window.addEventListener("resize",ie,!1),Er.isNative(ee),()=>{n(9,Z=!1),null==l||l.removeEventListener("mousedown",me),null==l||l.removeEventListener("touchstart",me),
1328
+ window.location=C)};function ue(){document.webkitIsFullScreen||document.mozFullScreen||document.msFullscreenElement||!Q||le()}document.addEventListener&&(document.addEventListener("webkitfullscreenchange",ue,!1),document.addEventListener("mozfullscreenchange",ue,!1),document.addEventListener("fullscreenchange",ue,!1),document.addEventListener("MSFullscreenChange",ue,!1));const le=()=>{(document.fullscreenEnabled||document.webkitFullscreenEnabled||document.mozFullScreenEnabled||document.msFullscreenEnabled)&&(Q?document.exitFullscreen?document.exitFullscreen():document.webkitExitFullscreen?document.webkitExitFullscreen():document.msExitFullscreen&&document.msExitFullscreen():f.requestFullscreen?f.requestFullscreen():f.webkitRequestFullscreen?f.webkitRequestFullscreen():f.mozRequestFullScreen?f.mozRequestFullScreen():f.msRequestFullscreen&&f.msRequestFullscreen()),n(17,Q=!Q)},he=setInterval((()=>{n(4,s=F?Sr().format(F):Sr().format("LTS"))}),100),ce=()=>{var e;e=M,or.set(e),(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)})(ee),n(8,z=!1)},de=()=>{"true"==G?function(e,t){return new Promise(((n,r)=>{let i=new Headers;i.append("X-SessionID",t),pe(`${e}/player/session/player`,{method:"GET",headers:i}).then((e=>e.json())).then((e=>n(e))).catch((e=>r(e)))}))}(T,x).then((e=>{u=e.Guid,e.UserID,n(6,W=!0)}),(e=>{n(6,W=!1),console.error("err on session",e)})):u=x},fe=()=>{window.postMessage({type:"GoToPreviousRoute"},window.location.href),window.postMessage({type:"DisableIntegratedGamePage"},window.location.href)},me=e=>{X=0,h=setInterval((()=>{X+=1,n(9,Z=!0),X>=3&&clearInterval(h)}),1e3)},ye=e=>{X<3&&n(9,Z=!1),clearInterval(h)};k((()=>(window.addEventListener("resize",ie,!1),Er.isNative(ee),()=>{n(9,Z=!1),null==l||l.removeEventListener("mousedown",me),null==l||l.removeEventListener("touchstart",me),
1325
1329
  // on mouseup stop interval count
1326
- null==l||l.removeEventListener("mouseup",ye),null==l||l.removeEventListener("touchend",ye),window.removeEventListener("resize",ie),clearInterval(he)})));return e.$$set=e=>{"endpoint"in e&&n(29,T=e.endpoint),"lang"in e&&n(30,M=e.lang),"session"in e&&n(31,D=e.session),"userid"in e&&n(32,O=e.userid),"clientstyling"in e&&n(33,B=e.clientstyling),"clientstylingurl"in e&&n(34,P=e.clientstylingurl),"translationurl"in e&&n(35,A=e.translationurl),"loginurl"in e&&n(36,H=e.loginurl),"registerurl"in e&&n(37,N=e.registerurl),"depositurl"in e&&n(38,L=e.depositurl),"loginevent"in e&&n(39,C=e.loginevent),"registerevent"in e&&n(40,I=e.registerevent),"depositevent"in e&&n(41,R=e.depositevent),"clockformat"in e&&n(42,F=e.clockformat),"haspanicbutton"in e&&n(0,Y=e.haspanicbutton),"playforfun"in e&&n(43,U=e.playforfun),"checksession"in e&&n(44,G=e.checksession),"gamebanneractive"in e&&n(1,$=e.gamebanneractive),"gameid"in e&&n(45,j=e.gameid)},e.$$.update=()=>{/*lang*/1073741824&e.$$.dirty[0]&&M&&ce(),/*endpoint, lang*/1610612736&e.$$.dirty[0]|/*gameid*/16384&e.$$.dirty[1]&&T&&j&&M&&te(j),/*endpoint*/536870912&e.$$.dirty[0]|/*session, userid*/3&e.$$.dirty[1]&&D&&O&&T&&de(),/*customStylingContainer*/8&e.$$.dirty[0]|/*clientstyling*/4&e.$$.dirty[1]&&B&&w&&(()=>{let e=document.createElement("style");e.innerHTML=B,w.appendChild(e)})(),/*customStylingContainer*/8&e.$$.dirty[0]|/*clientstylingurl*/8&e.$$.dirty[1]&&P&&w&&(()=>{let e=document.createElement("style");if(P){let t=new URL(P);fetch(t.href).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{w.appendChild(e)}),1)}))}})(),/*panicButton*/4&e.$$.dirty[0]&&l&&(null==l||l.addEventListener("mousedown",me,!1),null==l||l.addEventListener("touchstart",me,!1),
1330
+ null==l||l.removeEventListener("mouseup",ye),null==l||l.removeEventListener("touchend",ye),window.removeEventListener("resize",ie),clearInterval(he)})));return e.$$set=e=>{"endpoint"in e&&n(29,T=e.endpoint),"lang"in e&&n(30,M=e.lang),"session"in e&&n(31,x=e.session),"userid"in e&&n(32,O=e.userid),"clientstyling"in e&&n(33,B=e.clientstyling),"clientstylingurl"in e&&n(34,P=e.clientstylingurl),"translationurl"in e&&n(35,A=e.translationurl),"loginurl"in e&&n(36,H=e.loginurl),"registerurl"in e&&n(37,N=e.registerurl),"depositurl"in e&&n(38,C=e.depositurl),"loginevent"in e&&n(39,L=e.loginevent),"registerevent"in e&&n(40,R=e.registerevent),"depositevent"in e&&n(41,I=e.depositevent),"clockformat"in e&&n(42,F=e.clockformat),"haspanicbutton"in e&&n(0,Y=e.haspanicbutton),"playforfun"in e&&n(43,U=e.playforfun),"checksession"in e&&n(44,G=e.checksession),"gamebanneractive"in e&&n(1,$=e.gamebanneractive),"gameid"in e&&n(45,j=e.gameid)},e.$$.update=()=>{/*lang*/1073741824&e.$$.dirty[0]&&M&&ce(),/*endpoint, lang*/1610612736&e.$$.dirty[0]|/*gameid*/16384&e.$$.dirty[1]&&T&&j&&M&&te(j),/*endpoint*/536870912&e.$$.dirty[0]|/*session, userid*/3&e.$$.dirty[1]&&x&&O&&T&&de(),/*customStylingContainer*/8&e.$$.dirty[0]|/*clientstyling*/4&e.$$.dirty[1]&&B&&w&&(()=>{let e=document.createElement("style");e.innerHTML=B,w.appendChild(e)})(),/*customStylingContainer*/8&e.$$.dirty[0]|/*clientstylingurl*/8&e.$$.dirty[1]&&P&&w&&(()=>{let e=document.createElement("style");if(P){let t=new URL(P);fetch(t.href).then((e=>e.text())).then((t=>{e.innerHTML=t,setTimeout((()=>{w.appendChild(e)}),1)}))}})(),/*panicButton*/4&e.$$.dirty[0]&&l&&(null==l||l.addEventListener("mousedown",me,!1),null==l||l.addEventListener("touchstart",me,!1),
1327
1331
  // on mouseup stop interval count
1328
- null==l||l.addEventListener("mouseup",ye,!1),null==l||l.addEventListener("touchend",ye,!1)),/*translationurl*/16&e.$$.dirty[1]&&A&&fetch(A).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{_r(t,e[t])}))})).catch((e=>{console.log(e)}))},[Y,$,l,w,s,a,W,V,z,Z,c,K,J,f,p,m,y,Q,_,b,E,S,r,ee,oe,se,ae,le,fe,T,M,D,O,B,P,A,H,N,L,C,I,R,F,U,G,j,()=>fe(),function(e){x[e?"unshift":"push"]((()=>{S=e,n(21,S)}))},()=>ae(),function(e){x[e?"unshift":"push"]((()=>{a=e,n(5,a)}))},function(e){x[e?"unshift":"push"]((()=>{l=e,n(2,l)}))},()=>le(),()=>le(),function(e){x[e?"unshift":"push"]((()=>{E=e,n(20,E)}))},function(e){x[e?"unshift":"push"]((()=>{y=e,n(16,y)}))},function(e){x[e?"unshift":"push"]((()=>{f=e,n(13,f)}))},()=>fe(),function(e){x[e?"unshift":"push"]((()=>{S=e,n(21,S)}))},function(e){x[e?"unshift":"push"]((()=>{a=e,n(5,a)}))},()=>oe(),()=>se(),()=>le(),()=>le(),function(e){x[e?"unshift":"push"]((()=>{E=e,n(20,E)}))},function(e){x[e?"unshift":"push"]((()=>{y=e,n(16,y)}))},function(e){x[e?"unshift":"push"]((()=>{f=e,n(13,f)}))},function(e){x[e?"unshift":"push"]((()=>{w=e,n(3,w)}))}]}class Rr extends G{constructor(e){super();const t=document.createElement("style");t.textContent=".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-color-contrast, #07072A);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-color-primary, #FFF)}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-color-contrast, #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-color-green, #D0046C);color: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-color-primary, #D0046C);float:right}.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-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);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-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-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-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:#fff}",this.shadowRoot.appendChild(t),U(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},Ir,Cr,u,{endpoint:29,lang:30,session:31,userid:32,clientstyling:33,clientstylingurl:34,translationurl:35,loginurl:36,registerurl:37,depositurl:38,loginevent:39,registerevent:40,depositevent:41,clockformat:42,haspanicbutton:0,playforfun:43,checksession:44,gamebanneractive:1,gameid:45},null,[-1,-1,-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),C()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","gamebanneractive","gameid"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),C()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),C()}get session(){return this.$$.ctx[31]}set session(e){this.$$set({session:e}),C()}get userid(){return this.$$.ctx[32]}set userid(e){this.$$set({userid:e}),C()}get clientstyling(){return this.$$.ctx[33]}set clientstyling(e){this.$$set({clientstyling:e}),C()}get clientstylingurl(){return this.$$.ctx[34]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),C()}get translationurl(){return this.$$.ctx[35]}set translationurl(e){this.$$set({translationurl:e}),C()}get loginurl(){return this.$$.ctx[36]}set loginurl(e){this.$$set({loginurl:e}),C()}get registerurl(){return this.$$.ctx[37]}set registerurl(e){this.$$set({registerurl:e}),C()}get depositurl(){return this.$$.ctx[38]}set depositurl(e){this.$$set({depositurl:e}),C()}get loginevent(){return this.$$.ctx[39]}set loginevent(e){this.$$set({loginevent:e}),C()}get registerevent(){return this.$$.ctx[40]}set registerevent(e){this.$$set({registerevent:e}),C()}get depositevent(){return this.$$.ctx[41]}set depositevent(e){this.$$set({depositevent:e}),C()}get clockformat(){return this.$$.ctx[42]}set clockformat(e){this.$$set({clockformat:e}),C()}get haspanicbutton(){return this.$$.ctx[0]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),C()}get playforfun(){return this.$$.ctx[43]}set playforfun(e){this.$$set({playforfun:e}),C()}get checksession(){return this.$$.ctx[44]}set checksession(e){this.$$set({checksession:e}),C()}get gamebanneractive(){return this.$$.ctx[1]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),C()}get gameid(){return this.$$.ctx[45]}set gameid(e){this.$$set({gameid:e}),C()}}return!customElements.get("casino-integrated-game-page")&&customElements.define("casino-integrated-game-page",Rr),Rr}));
1332
+ null==l||l.addEventListener("mouseup",ye,!1),null==l||l.addEventListener("touchend",ye,!1)),/*translationurl*/16&e.$$.dirty[1]&&A&&fetch(A).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{_r(t,e[t])}))})).catch((e=>{console.log(e)}))},[Y,$,l,w,s,a,W,V,z,Z,c,K,J,f,p,m,y,Q,_,b,E,S,r,ee,oe,se,ae,le,fe,T,M,x,O,B,P,A,H,N,C,L,R,I,F,U,G,j,()=>fe(),function(e){D[e?"unshift":"push"]((()=>{S=e,n(21,S)}))},()=>ae(),function(e){D[e?"unshift":"push"]((()=>{a=e,n(5,a)}))},function(e){D[e?"unshift":"push"]((()=>{l=e,n(2,l)}))},()=>le(),()=>le(),function(e){D[e?"unshift":"push"]((()=>{E=e,n(20,E)}))},function(e){D[e?"unshift":"push"]((()=>{y=e,n(16,y)}))},function(e){D[e?"unshift":"push"]((()=>{f=e,n(13,f)}))},()=>fe(),function(e){D[e?"unshift":"push"]((()=>{S=e,n(21,S)}))},function(e){D[e?"unshift":"push"]((()=>{a=e,n(5,a)}))},()=>oe(),()=>se(),()=>le(),()=>le(),function(e){D[e?"unshift":"push"]((()=>{E=e,n(20,E)}))},function(e){D[e?"unshift":"push"]((()=>{y=e,n(16,y)}))},function(e){D[e?"unshift":"push"]((()=>{f=e,n(13,f)}))},function(e){D[e?"unshift":"push"]((()=>{w=e,n(3,w)}))}]}class Ir extends G{constructor(e){super();const t=document.createElement("style");t.textContent=".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-color-contrast, #07072A);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-color-primary, #FFF)}.BottomGame{padding:0 40px;min-height:92px;background-color:var(--emfe-w-color-contrast, #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-color-green, #D0046C);color: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-color-primary, #D0046C);float:right}.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-color-white, #FFFFFF);background-color:var(--emfe-w-color-primary, #D0046C);border-radius:5px;border:none;width:129px;height:60px}.LoginButton{color:var(--emfe-w-color-primary, #D0046C);background-color:var(--emfe-w-color-contrast, #07072A);border-radius:5px;border:1px solid var(--emfe-w-color-primary, #D0046C);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-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-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-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:#fff}",this.shadowRoot.appendChild(t),U(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},Rr,Lr,u,{endpoint:29,lang:30,session:31,userid:32,clientstyling:33,clientstylingurl:34,translationurl:35,loginurl:36,registerurl:37,depositurl:38,loginevent:39,registerevent:40,depositevent:41,clockformat:42,haspanicbutton:0,playforfun:43,checksession:44,gamebanneractive:1,gameid:45},null,[-1,-1,-1,-1]),e&&(e.target&&p(e.target,this,e.anchor),e.props&&(this.$set(e.props),L()))}static get observedAttributes(){return["endpoint","lang","session","userid","clientstyling","clientstylingurl","translationurl","loginurl","registerurl","depositurl","loginevent","registerevent","depositevent","clockformat","haspanicbutton","playforfun","checksession","gamebanneractive","gameid"]}get endpoint(){return this.$$.ctx[29]}set endpoint(e){this.$$set({endpoint:e}),L()}get lang(){return this.$$.ctx[30]}set lang(e){this.$$set({lang:e}),L()}get session(){return this.$$.ctx[31]}set session(e){this.$$set({session:e}),L()}get userid(){return this.$$.ctx[32]}set userid(e){this.$$set({userid:e}),L()}get clientstyling(){return this.$$.ctx[33]}set clientstyling(e){this.$$set({clientstyling:e}),L()}get clientstylingurl(){return this.$$.ctx[34]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),L()}get translationurl(){return this.$$.ctx[35]}set translationurl(e){this.$$set({translationurl:e}),L()}get loginurl(){return this.$$.ctx[36]}set loginurl(e){this.$$set({loginurl:e}),L()}get registerurl(){return this.$$.ctx[37]}set registerurl(e){this.$$set({registerurl:e}),L()}get depositurl(){return this.$$.ctx[38]}set depositurl(e){this.$$set({depositurl:e}),L()}get loginevent(){return this.$$.ctx[39]}set loginevent(e){this.$$set({loginevent:e}),L()}get registerevent(){return this.$$.ctx[40]}set registerevent(e){this.$$set({registerevent:e}),L()}get depositevent(){return this.$$.ctx[41]}set depositevent(e){this.$$set({depositevent:e}),L()}get clockformat(){return this.$$.ctx[42]}set clockformat(e){this.$$set({clockformat:e}),L()}get haspanicbutton(){return this.$$.ctx[0]}set haspanicbutton(e){this.$$set({haspanicbutton:e}),L()}get playforfun(){return this.$$.ctx[43]}set playforfun(e){this.$$set({playforfun:e}),L()}get checksession(){return this.$$.ctx[44]}set checksession(e){this.$$set({checksession:e}),L()}get gamebanneractive(){return this.$$.ctx[1]}set gamebanneractive(e){this.$$set({gamebanneractive:e}),L()}get gameid(){return this.$$.ctx[45]}set gameid(e){this.$$set({gameid:e}),L()}}return!customElements.get("casino-integrated-game-page")&&customElements.define("casino-integrated-game-page",Ir),Ir}));
1329
1333
  //# sourceMappingURL=casino-integrated-game-page.js.map