@everymatrix/player-rglimits 1.29.3 → 1.29.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,6 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function i(){return Object.create(null)}function n(e){e.forEach(t)}function r(e){return"function"==typeof e}function a(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let s,o;function l(t,...i){if(null==t)return e;const n=t.subscribe(...i);return n.unsubscribe?()=>n.unsubscribe():n}function u(e,t){e.appendChild(t)}function c(e,t,i){e.insertBefore(t,i||null)}function h(e){e.parentNode&&e.parentNode.removeChild(e)}function d(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function m(e){return document.createElement(e)}function f(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function p(e){return document.createTextNode(e)}function g(){return p(" ")}function y(e,t,i,n){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i,n)}function b(e,t,i){null==i?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function v(e,t,i){t in e?e[t]="boolean"==typeof e[t]&&""===i||i:b(e,t,i)}function _(e,t){t=""+t,e.data!==t&&(e.data=t)}function L(e,t,i,n){null==i?e.style.removeProperty(t):e.style.setProperty(t,i,n?"important":"")}function w(e,t,i){for(let i=0;i<e.options.length;i+=1){const n=e.options[i];if(n.__value===t)return void(n.selected=!0)}i&&void 0===t||(e.selectedIndex=-1)}function E(e){const t=e.querySelector(":checked");return t&&t.__value}function T(e){const t={};for(const i of e)t[i.name]=i.value;return t}function S(e){o=e}
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function i(){return Object.create(null)}function n(e){e.forEach(t)}function r(e){return"function"==typeof e}function a(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}let s,o;function l(t,...i){if(null==t)return e;const n=t.subscribe(...i);return n.unsubscribe?()=>n.unsubscribe():n}function u(e,t){e.appendChild(t)}function c(e,t,i){e.insertBefore(t,i||null)}function h(e){e.parentNode&&e.parentNode.removeChild(e)}function d(e,t){for(let i=0;i<e.length;i+=1)e[i]&&e[i].d(t)}function m(e){return document.createElement(e)}function f(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function p(e){return document.createTextNode(e)}function g(){return p(" ")}function y(e,t,i,n){return e.addEventListener(t,i,n),()=>e.removeEventListener(t,i,n)}function b(e){return function(t){
2
+ // @ts-ignore
3
+ return t.stopPropagation(),e.call(this,t)}}function v(e,t,i){null==i?e.removeAttribute(t):e.getAttribute(t)!==i&&e.setAttribute(t,i)}function _(e,t,i){t in e?e[t]="boolean"==typeof e[t]&&""===i||i:v(e,t,i)}function L(e,t){t=""+t,e.data!==t&&(e.data=t)}function w(e,t,i,n){null==i?e.style.removeProperty(t):e.style.setProperty(t,i,n?"important":"")}function E(e,t,i){for(let i=0;i<e.options.length;i+=1){const n=e.options[i];if(n.__value===t)return void(n.selected=!0)}i&&void 0===t||(e.selectedIndex=-1)}function T(e){const t=e.querySelector(":checked");return t&&t.__value}function S(e){const t={};for(const i of e)t[i.name]=i.value;return t}function k(e){o=e}
2
4
  /**
3
5
  * The `onMount` function schedules a callback to run as soon as the component has been mounted to the DOM.
4
6
  * It must be called during the component's initialisation (but doesn't need to live *inside* the component;
@@ -8,7 +10,7 @@
8
10
  *
9
11
  * https://svelte.dev/docs#run-time-svelte-onmount
10
12
  */
11
- function k(e){(function(){if(!o)throw new Error("Function called outside component initialization");return o})().$$.on_mount.push(e)}const M=[],D=[];let P=[];const A=[],H=Promise.resolve();let C=!1;function O(e){P.push(e)}
13
+ function M(e){(function(){if(!o)throw new Error("Function called outside component initialization");return o})().$$.on_mount.push(e)}const D=[],P=[];let A=[];const H=[],C=Promise.resolve();let O=!1;function x(e){A.push(e)}
12
14
  // flush() calls callbacks in this order:
13
15
  // 1. All beforeUpdate callbacks, in order: parents before children
14
16
  // 2. All bind:this callbacks, in reverse order: children before parents.
@@ -27,56 +29,56 @@ function k(e){(function(){if(!o)throw new Error("Function called outside compone
27
29
  // 3. During afterUpdate, any updated components will NOT have their afterUpdate
28
30
  // callback called a second time; the seen_callbacks set, outside the flush()
29
31
  // function, guarantees this behavior.
30
- const N=new Set;let R=0;// Do *not* move this inside the flush() function
31
- function x(){
32
+ const R=new Set;let N=0;// Do *not* move this inside the flush() function
33
+ function B(){
32
34
  // Do not reenter flush while dirty components are updated, as this can
33
35
  // result in an infinite loop. Instead, let the inner flush handle it.
34
36
  // Reentrancy is ok afterwards for bindings etc.
35
- if(0!==R)return;const e=o;do{
37
+ if(0!==N)return;const e=o;do{
36
38
  // first, call beforeUpdate functions
37
39
  // and update components
38
- try{for(;R<M.length;){const e=M[R];R++,S(e),B(e.$$)}}catch(e){
40
+ try{for(;N<D.length;){const e=D[N];N++,k(e),U(e.$$)}}catch(e){
39
41
  // reset dirty state to not end up in a deadlocked state and then rethrow
40
- throw M.length=0,R=0,e}for(S(null),M.length=0,R=0;D.length;)D.pop()();
42
+ throw D.length=0,N=0,e}for(k(null),D.length=0,N=0;P.length;)P.pop()();
41
43
  // then, once components are updated, call
42
44
  // afterUpdate functions. This may cause
43
45
  // subsequent updates...
44
- for(let e=0;e<P.length;e+=1){const t=P[e];N.has(t)||(
46
+ for(let e=0;e<A.length;e+=1){const t=A[e];R.has(t)||(
45
47
  // ...so guard against infinite loops
46
- N.add(t),t())}P.length=0}while(M.length);for(;A.length;)A.pop()();C=!1,N.clear(),S(e)}function B(e){if(null!==e.fragment){e.update(),n(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(O)}}
48
+ R.add(t),t())}A.length=0}while(D.length);for(;H.length;)H.pop()();O=!1,R.clear(),k(e)}function U(e){if(null!==e.fragment){e.update(),n(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(x)}}
47
49
  /**
48
50
  * Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
49
- */const U=new Set;function Y(e,t){const i=e.$$;null!==i.fragment&&(!function(e){const t=[],i=[];P.forEach((n=>-1===e.indexOf(n)?t.push(n):i.push(n))),i.forEach((e=>e())),P=t}(i.after_update),n(i.on_destroy),i.fragment&&i.fragment.d(t),
51
+ */const I=new Set;function Y(e,t){const i=e.$$;null!==i.fragment&&(!function(e){const t=[],i=[];A.forEach((n=>-1===e.indexOf(n)?t.push(n):i.push(n))),i.forEach((e=>e())),A=t}(i.after_update),n(i.on_destroy),i.fragment&&i.fragment.d(t),
50
52
  // TODO null out other refs, including component.$$ (but need to
51
53
  // preserve final state?)
52
- i.on_destroy=i.fragment=null,i.ctx=[])}function I(e,t){-1===e.$$.dirty[0]&&(M.push(e),C||(C=!0,H.then(x)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function j(a,s,l,u,c,d,m,f=[-1]){const p=o;S(a);const g=a.$$={fragment:null,ctx:[],
54
+ i.on_destroy=i.fragment=null,i.ctx=[])}function j(e,t){-1===e.$$.dirty[0]&&(D.push(e),O||(O=!0,C.then(B)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function G(a,s,l,u,c,d,m,f=[-1]){const p=o;k(a);const g=a.$$={fragment:null,ctx:[],
53
55
  // state
54
56
  props:d,update:e,not_equal:c,bound:i(),
55
57
  // lifecycle
56
58
  on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(p?p.$$.context:[])),
57
59
  // everything else
58
- callbacks:i(),dirty:f,skip_bound:!1,root:s.target||p.$$.root};m&&m(g.root);let y=!1;if(g.ctx=l?l(a,s.props||{},((e,t,...i)=>{const n=i.length?i[0]:t;return g.ctx&&c(g.ctx[e],g.ctx[e]=n)&&(!g.skip_bound&&g.bound[e]&&g.bound[e](n),y&&I(a,e)),t})):[],g.update(),y=!0,n(g.before_update),
60
+ callbacks:i(),dirty:f,skip_bound:!1,root:s.target||p.$$.root};m&&m(g.root);let y=!1;if(g.ctx=l?l(a,s.props||{},((e,t,...i)=>{const n=i.length?i[0]:t;return g.ctx&&c(g.ctx[e],g.ctx[e]=n)&&(!g.skip_bound&&g.bound[e]&&g.bound[e](n),y&&j(a,e)),t})):[],g.update(),y=!0,n(g.before_update),
59
61
  // `false` as a special case of no DOM component
60
62
  g.fragment=!!u&&u(g.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);
61
63
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
62
64
  g.fragment&&g.fragment.l(e),e.forEach(h)}else
63
65
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
64
- g.fragment&&g.fragment.c();s.intro&&((b=a.$$.fragment)&&b.i&&(U.delete(b),b.i(v))),function(e,i,a,s){const{fragment:o,after_update:l}=e.$$;o&&o.m(i,a),s||
66
+ g.fragment&&g.fragment.c();s.intro&&((b=a.$$.fragment)&&b.i&&(I.delete(b),b.i(v))),function(e,i,a,s){const{fragment:o,after_update:l}=e.$$;o&&o.m(i,a),s||
65
67
  // onMount happens before the initial afterUpdate
66
- O((()=>{const i=e.$$.on_mount.map(t).filter(r);
68
+ x((()=>{const i=e.$$.on_mount.map(t).filter(r);
67
69
  // if the component was destroyed immediately
68
70
  // it will update the `$$.on_destroy` reference to `null`.
69
71
  // the destructured on_destroy may still reference to the old array
70
72
  e.$$.on_destroy?e.$$.on_destroy.push(...i):
71
73
  // Edge case - component was destroyed immediately,
72
74
  // most likely as a result of a binding initialising
73
- n(i),e.$$.on_mount=[]})),l.forEach(O)}(a,s.target,s.anchor,s.customElement),x()}var b,v;S(p)}let G;"function"==typeof HTMLElement&&(G=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(r);
75
+ n(i),e.$$.on_mount=[]})),l.forEach(x)}(a,s.target,s.anchor,s.customElement),B()}var b,v;k(p)}let $;"function"==typeof HTMLElement&&($=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(r);
74
76
  // @ts-ignore todo: improve typings
75
77
  for(const e in this.$$.slotted)
76
78
  // @ts-ignore todo: improve typings
77
79
  this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,i){this[e]=i}disconnectedCallback(){n(this.$$.on_disconnect)}$destroy(){Y(this,1),this.$destroy=e}$on(t,i){
78
80
  // TODO should this delegate to addEventListener?
79
- if(!r(i))return e;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(i),()=>{const e=n.indexOf(i);-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)}});"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function F(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var $=function(e,t,i){return e(i={path:t,exports:{},require:function(e,t){return F(null==t&&i.path)}},i.exports),i.exports}((function(e,t){e.exports=function(){var t,i;function n(){return t.apply(null,arguments)}
81
+ if(!r(i))return e;const n=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return n.push(i),()=>{const e=n.indexOf(i);-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)}});"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function F(){throw new Error("Dynamic requires are not currently supported by @rollup/plugin-commonjs")}var z=function(e,t,i){return e(i={path:t,exports:{},require:function(e,t){return F(null==t&&i.path)}},i.exports),i.exports}((function(e,t){e.exports=function(){var t,i;function n(){return t.apply(null,arguments)}
80
82
  // This is done to register the method called with moment()
81
83
  // without creating circular dependencies.
82
84
  function r(e){t=e}function a(e){return e instanceof Array||"[object Array]"===Object.prototype.toString.call(e)}function s(e){
@@ -98,14 +100,14 @@ function w(e){L(this,e),this._d=new Date(null!=e._d?e._d.getTime():NaN),this.isV
98
100
  // TODO: Remove "ordinalParse" fallback in next major release.
99
101
  this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)}function H(e,t){var i,n=m({},e);for(i in t)o(t,i)&&(s(e[i])&&s(t[i])?(n[i]={},m(n[i],e[i]),m(n[i],t[i])):null!=t[i]?n[i]=t[i]:delete n[i]);for(i in e)o(e,i)&&!o(t,i)&&s(e[i])&&(
100
102
  // make sure changes to properties don't modify parent config
101
- n[i]=m({},n[i]));return n}function C(e){null!=e&&this.set(e)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,i=[];for(t in e)o(e,t)&&i.push(t);return i};var O={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,i){var n=this._calendar[e]||this._calendar.sameElse;return P(n)?n.call(t,i):n}function R(e,t,i){var n=""+Math.abs(e),r=t-n.length;return(e>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+n}var x=/(\[[^\[]*\])|(\\)?([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,B=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,U={},Y={};
103
+ n[i]=m({},n[i]));return n}function C(e){null!=e&&this.set(e)}n.suppressDeprecationWarnings=!1,n.deprecationHandler=null,k=Object.keys?Object.keys:function(e){var t,i=[];for(t in e)o(e,t)&&i.push(t);return i};var O={sameDay:"[Today at] LT",nextDay:"[Tomorrow at] LT",nextWeek:"dddd [at] LT",lastDay:"[Yesterday at] LT",lastWeek:"[Last] dddd [at] LT",sameElse:"L"};function x(e,t,i){var n=this._calendar[e]||this._calendar.sameElse;return P(n)?n.call(t,i):n}function R(e,t,i){var n=""+Math.abs(e),r=t-n.length;return(e>=0?i?"+":"":"-")+Math.pow(10,Math.max(0,r)).toString().substr(1)+n}var N=/(\[[^\[]*\])|(\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,B=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,U={},I={};
102
104
  // token: 'M'
103
105
  // padded: ['MM', 2]
104
106
  // ordinal: 'Mo'
105
107
  // callback: function () { this.month() + 1 }
106
- function I(e,t,i,n){var r=n;"string"==typeof n&&(r=function(){return this[n]()}),e&&(Y[e]=r),t&&(Y[t[0]]=function(){return R(r.apply(this,arguments),t[1],t[2])}),i&&(Y[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function j(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function G(e){var t,i,n=e.match(x);for(t=0,i=n.length;t<i;t++)Y[n[t]]?n[t]=Y[n[t]]:n[t]=j(n[t]);return function(t){var r,a="";for(r=0;r<i;r++)a+=P(n[r])?n[r].call(t,e):n[r];return a}}
108
+ function Y(e,t,i,n){var r=n;"string"==typeof n&&(r=function(){return this[n]()}),e&&(I[e]=r),t&&(I[t[0]]=function(){return R(r.apply(this,arguments),t[1],t[2])}),i&&(I[i]=function(){return this.localeData().ordinal(r.apply(this,arguments),e)})}function j(e){return e.match(/\[[\s\S]/)?e.replace(/^\[|\]$/g,""):e.replace(/\\/g,"")}function G(e){var t,i,n=e.match(N);for(t=0,i=n.length;t<i;t++)I[n[t]]?n[t]=I[n[t]]:n[t]=j(n[t]);return function(t){var r,a="";for(r=0;r<i;r++)a+=P(n[r])?n[r].call(t,e):n[r];return a}}
107
109
  // format date using native date object
108
- function $(e,t){return e.isValid()?(t=z(t,e.localeData()),U[t]=U[t]||G(t),U[t](e)):e.localeData().invalidDate()}function z(e,t){var i=5;function n(e){return t.longDateFormat(e)||e}for(B.lastIndex=0;i>=0&&B.test(e);)e=e.replace(B,n),B.lastIndex=0,i-=1;return e}var V={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function W(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.match(x).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 X(){return this._invalidDate}var K="%d",q=/\d{1,2}/;function J(e){return this._ordinal.replace("%d",e)}var Q={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 ee(e,t,i,n){var r=this._relativeTime[i];return P(r)?r(e,t,i,n):r.replace(/%d/i,e)}function te(e,t){var i=this._relativeTime[e>0?"future":"past"];return P(i)?i(t):i.replace(/%s/i,t)}var ie={};function ne(e,t){var i=e.toLowerCase();ie[i]=ie[i+"s"]=ie[t]=e}function re(e){return"string"==typeof e?ie[e]||ie[e.toLowerCase()]:void 0}function ae(e){var t,i,n={};for(i in e)o(e,i)&&(t=re(i))&&(n[t]=e[i]);return n}var se={};function oe(e,t){se[e]=t}function le(e){var t,i=[];for(t in e)o(e,t)&&i.push({unit:t,priority:se[t]});return i.sort((function(e,t){return e.priority-t.priority})),i}function ue(e){return e%4==0&&e%100!=0||e%400==0}function ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function he(e){var t=+e,i=0;return 0!==t&&isFinite(t)&&(i=ce(t)),i}function de(e,t){return function(i){return null!=i?(fe(this,e,i),n.updateOffset(this,t),this):me(this,e)}}function me(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,i){e.isValid()&&!isNaN(i)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(i=he(i),e._d["set"+(e._isUTC?"UTC":"")+t](i,e.month(),et(i,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](i))}
110
+ function $(e,t){return e.isValid()?(t=z(t,e.localeData()),U[t]=U[t]||G(t),U[t](e)):e.localeData().invalidDate()}function z(e,t){var i=5;function n(e){return t.longDateFormat(e)||e}for(B.lastIndex=0;i>=0&&B.test(e);)e=e.replace(B,n),B.lastIndex=0,i-=1;return e}var V={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"};function W(e){var t=this._longDateFormat[e],i=this._longDateFormat[e.toUpperCase()];return t||!i?t:(this._longDateFormat[e]=i.match(N).map((function(e){return"MMMM"===e||"MM"===e||"DD"===e||"dddd"===e?e.slice(1):e})).join(""),this._longDateFormat[e])}var Z="Invalid date";function q(){return this._invalidDate}var X="%d",K=/\d{1,2}/;function J(e){return this._ordinal.replace("%d",e)}var Q={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 ee(e,t,i,n){var r=this._relativeTime[i];return P(r)?r(e,t,i,n):r.replace(/%d/i,e)}function te(e,t){var i=this._relativeTime[e>0?"future":"past"];return P(i)?i(t):i.replace(/%s/i,t)}var ie={};function ne(e,t){var i=e.toLowerCase();ie[i]=ie[i+"s"]=ie[t]=e}function re(e){return"string"==typeof e?ie[e]||ie[e.toLowerCase()]:void 0}function ae(e){var t,i,n={};for(i in e)o(e,i)&&(t=re(i))&&(n[t]=e[i]);return n}var se={};function oe(e,t){se[e]=t}function le(e){var t,i=[];for(t in e)o(e,t)&&i.push({unit:t,priority:se[t]});return i.sort((function(e,t){return e.priority-t.priority})),i}function ue(e){return e%4==0&&e%100!=0||e%400==0}function ce(e){return e<0?Math.ceil(e)||0:Math.floor(e)}function he(e){var t=+e,i=0;return 0!==t&&isFinite(t)&&(i=ce(t)),i}function de(e,t){return function(i){return null!=i?(fe(this,e,i),n.updateOffset(this,t),this):me(this,e)}}function me(e,t){return e.isValid()?e._d["get"+(e._isUTC?"UTC":"")+t]():NaN}function fe(e,t,i){e.isValid()&&!isNaN(i)&&("FullYear"===t&&ue(e.year())&&1===e.month()&&29===e.date()?(i=he(i),e._d["set"+(e._isUTC?"UTC":"")+t](i,e.month(),et(i,e.month()))):e._d["set"+(e._isUTC?"UTC":"")+t](i))}
109
111
  // MOMENTS
110
112
  function pe(e){return P(this[e=re(e)])?this[e]():this}function ge(e,t){if("object"==typeof e){var i,n=le(e=ae(e)),r=n.length;for(i=0;i<r;i++)this[n[i].unit](e[n[i].unit])}else if(P(this[e=re(e)]))return this[e](t);return this}var ye,be=/\d/,// 0 - 9
111
113
  ve=/\d\d/,// 00 - 99
@@ -125,25 +127,25 @@ Ce=/Z|[+-]\d\d(?::?\d\d)?/gi,// +00 -00 +00:00 -00:00 +0000 -0000 or Z
125
127
  Oe=/[+-]?\d+(\.\d{1,3})?/,// 123456789 123456789.123
126
128
  // any word (or two) characters or numbers including two/three word month in arabic.
127
129
  // includes scottish gaelic two word and hyphenated months
128
- 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 Re(e,t,i){ye[e]=P(t)?t:function(e,n){return e&&i?i:t}}function xe(e,t){return o(ye,e)?ye[e](t._strict,t._locale):new RegExp(Be(e))}
130
+ xe=/[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 Re(e,t,i){ye[e]=P(t)?t:function(e,n){return e&&i?i:t}}function Ne(e,t){return o(ye,e)?ye[e](t._strict,t._locale):new RegExp(Be(e))}
129
131
  // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript
130
- function Be(e){return Ue(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,i,n,r){return t||i||n||r})))}function Ue(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ye={};var Ye={};function Ie(e,t){var i,n,r=t;for("string"==typeof e&&(e=[e]),c(t)&&(r=function(e,i){i[t]=he(e)}),n=e.length,i=0;i<n;i++)Ye[e[i]]=r}function je(e,t){Ie(e,(function(e,i,n,r){n._w=n._w||{},t(e,n._w,n,r)}))}function Ge(e,t,i){null!=t&&o(Ye,e)&&Ye[e](t,i._a,i,e)}var Fe,$e=0,ze=1,Ve=2,We=3,Ze=4,Xe=5,Ke=6,qe=7,Je=8;function Qe(e,t){return(e%t+t)%t}function et(e,t){if(isNaN(e)||isNaN(t))return NaN;var i=Qe(t,12);return e+=(t-i)/12,1===i?ue(e)?29:28:31-i%7%2}
132
+ function Be(e){return Ue(e.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,(function(e,t,i,n,r){return t||i||n||r})))}function Ue(e){return e.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}ye={};var Ie={};function Ye(e,t){var i,n,r=t;for("string"==typeof e&&(e=[e]),c(t)&&(r=function(e,i){i[t]=he(e)}),n=e.length,i=0;i<n;i++)Ie[e[i]]=r}function je(e,t){Ye(e,(function(e,i,n,r){n._w=n._w||{},t(e,n._w,n,r)}))}function Ge(e,t,i){null!=t&&o(Ie,e)&&Ie[e](t,i._a,i,e)}var $e,Fe=0,ze=1,Ve=2,We=3,Ze=4,qe=5,Xe=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 i=Qe(t,12);return e+=(t-i)/12,1===i?ue(e)?29:28:31-i%7%2}
131
133
  // FORMATTING
132
- Fe=Array.prototype.indexOf?Array.prototype.indexOf:function(e){
134
+ $e=Array.prototype.indexOf?Array.prototype.indexOf:function(e){
133
135
  // I know
134
- var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},I("M",["MM",2],"Mo",(function(){return this.month()+1})),I("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),I("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),
136
+ var t;for(t=0;t<this.length;++t)if(this[t]===e)return t;return-1},Y("M",["MM",2],"Mo",(function(){return this.month()+1})),Y("MMM",0,0,(function(e){return this.localeData().monthsShort(this,e)})),Y("MMMM",0,0,(function(e){return this.localeData().months(this,e)})),
135
137
  // ALIASES
136
138
  ne("month","M"),
137
139
  // PRIORITY
138
140
  oe("month",8),
139
141
  // PARSING
140
- Re("M",Ee),Re("MM",Ee,ve),Re("MMM",(function(e,t){return t.monthsShortRegex(e)})),Re("MMMM",(function(e,t){return t.monthsRegex(e)})),Ie(["M","MM"],(function(e,t){t[ze]=he(e)-1})),Ie(["MMM","MMMM"],(function(e,t,i,n){var r=i._locale.monthsParse(e,n,i._strict);
142
+ Re("M",Ee),Re("MM",Ee,ve),Re("MMM",(function(e,t){return t.monthsShortRegex(e)})),Re("MMMM",(function(e,t){return t.monthsRegex(e)})),Ye(["M","MM"],(function(e,t){t[ze]=he(e)-1})),Ye(["MMM","MMMM"],(function(e,t,i,n){var r=i._locale.monthsParse(e,n,i._strict);
141
143
  // if we didn't find a month name, mark the date as invalid.
142
144
  null!=r?t[ze]=r:g(i).invalidMonth=e}));
143
145
  // LOCALES
144
- var tt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),it="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),nt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,rt=Ne,at=Ne;function st(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||nt).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone}function ot(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[nt.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function lt(e,t,i){var n,r,a,s=e.toLocaleLowerCase();if(!this._monthsParse)for(
146
+ var tt="January_February_March_April_May_June_July_August_September_October_November_December".split("_"),it="Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec".split("_"),nt=/D[oD]?(\[[^\[\]]*\]|\s)+MMMM?/,rt=xe,at=xe;function st(e,t){return e?a(this._months)?this._months[e.month()]:this._months[(this._months.isFormat||nt).test(t)?"format":"standalone"][e.month()]:a(this._months)?this._months:this._months.standalone}function ot(e,t){return e?a(this._monthsShort)?this._monthsShort[e.month()]:this._monthsShort[nt.test(t)?"format":"standalone"][e.month()]:a(this._monthsShort)?this._monthsShort:this._monthsShort.standalone}function lt(e,t,i){var n,r,a,s=e.toLocaleLowerCase();if(!this._monthsParse)for(
145
147
  // this is not used
146
- this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)a=f([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(a,"").toLocaleLowerCase();return i?"MMM"===t?-1!==(r=Fe.call(this._shortMonthsParse,s))?r:null:-1!==(r=Fe.call(this._longMonthsParse,s))?r:null:"MMM"===t?-1!==(r=Fe.call(this._shortMonthsParse,s))||-1!==(r=Fe.call(this._longMonthsParse,s))?r:null:-1!==(r=Fe.call(this._longMonthsParse,s))||-1!==(r=Fe.call(this._shortMonthsParse,s))?r:null}function ut(e,t,i){var n,r,a;if(this._monthsParseExact)return lt.call(this,e,t,i);
148
+ this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[],n=0;n<12;++n)a=f([2e3,n]),this._shortMonthsParse[n]=this.monthsShort(a,"").toLocaleLowerCase(),this._longMonthsParse[n]=this.months(a,"").toLocaleLowerCase();return i?"MMM"===t?-1!==(r=$e.call(this._shortMonthsParse,s))?r:null:-1!==(r=$e.call(this._longMonthsParse,s))?r:null:"MMM"===t?-1!==(r=$e.call(this._shortMonthsParse,s))||-1!==(r=$e.call(this._longMonthsParse,s))?r:null:-1!==(r=$e.call(this._longMonthsParse,s))||-1!==(r=$e.call(this._shortMonthsParse,s))?r:null}function ut(e,t,i){var n,r,a;if(this._monthsParseExact)return lt.call(this,e,t,i);
147
149
  // TODO: add sorting
148
150
  // Sorting makes sure if one month (or abbr) is a prefix of another
149
151
  // see sorting in computeMonthsParse
@@ -167,13 +169,13 @@ for(n.sort(e),r.sort(e),a.sort(e),t=0;t<12;t++)n[t]=Ue(n[t]),r[t]=Ue(r[t]);for(t
167
169
  // HELPERS
168
170
  function gt(e){return ue(e)?366:365}
169
171
  // HOOKS
170
- I("Y",0,0,(function(){var e=this.year();return e<=9999?R(e,4):"+"+e})),I(0,["YY",2],0,(function(){return this.year()%100})),I(0,["YYYY",4],0,"year"),I(0,["YYYYY",5],0,"year"),I(0,["YYYYYY",6,!0],0,"year"),
172
+ Y("Y",0,0,(function(){var e=this.year();return e<=9999?R(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"),
171
173
  // ALIASES
172
174
  ne("year","y"),
173
175
  // PRIORITIES
174
176
  oe("year",1),
175
177
  // PARSING
176
- Re("Y",Ae),Re("YY",Ee,ve),Re("YYYY",Me,Le),Re("YYYYY",De,we),Re("YYYYYY",De,we),Ie(["YYYYY","YYYYYY"],$e),Ie("YYYY",(function(e,t){t[$e]=2===e.length?n.parseTwoDigitYear(e):he(e)})),Ie("YY",(function(e,t){t[$e]=n.parseTwoDigitYear(e)})),Ie("Y",(function(e,t){t[$e]=parseInt(e,10)})),n.parseTwoDigitYear=function(e){return he(e)+(he(e)>68?1900:2e3)};
178
+ Re("Y",Ae),Re("YY",Ee,ve),Re("YYYY",Me,Le),Re("YYYYY",De,we),Re("YYYYYY",De,we),Ye(["YYYYY","YYYYYY"],Fe),Ye("YYYY",(function(e,t){t[Fe]=2===e.length?n.parseTwoDigitYear(e):he(e)})),Ye("YY",(function(e,t){t[Fe]=n.parseTwoDigitYear(e)})),Ye("Y",(function(e,t){t[Fe]=parseInt(e,10)})),n.parseTwoDigitYear=function(e){return he(e)+(he(e)>68?1900:2e3)};
177
179
  // MOMENTS
178
180
  var yt=de("FullYear",!0);function bt(){return ue(this.year())}function vt(e,t,i,n,r,a,s){
179
181
  // can't just apply() to create a date:
@@ -195,7 +197,7 @@ function wt(e,t,i,n,r){var a,s,o=1+7*(t-1)+(7+i-n)%7+Lt(e,n,r);return o<=0?s=gt(
195
197
  // FORMATTING
196
198
  // HELPERS
197
199
  // LOCALES
198
- function St(e){return Et(e,this._week.dow,this._week.doy).week}I("w",["ww",2],"wo","week"),I("W",["WW",2],"Wo","isoWeek"),
200
+ function St(e){return Et(e,this._week.dow,this._week.doy).week}Y("w",["ww",2],"wo","week"),Y("W",["WW",2],"Wo","isoWeek"),
199
201
  // ALIASES
200
202
  ne("week","w"),ne("isoWeek","W"),
201
203
  // PRIORITIES
@@ -209,7 +211,7 @@ function Pt(e){var t=this.localeData().week(this);return null==e?t:this.add(7*(e
209
211
  // HELPERS
210
212
  function Ht(e,t){return"string"!=typeof e?e:isNaN(e)?"number"==typeof(e=t.weekdaysParse(e))?e:null:parseInt(e,10)}function Ct(e,t){return"string"==typeof e?t.weekdaysParse(e)%7||7:isNaN(e)?null:e}
211
213
  // LOCALES
212
- function Ot(e,t){return e.slice(t,7).concat(e.slice(0,t))}I("d",0,"do","day"),I("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),I("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),I("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),I("e",0,0,"weekday"),I("E",0,0,"isoWeekday"),
214
+ function Ot(e,t){return e.slice(t,7).concat(e.slice(0,t))}Y("d",0,"do","day"),Y("dd",0,0,(function(e){return this.localeData().weekdaysMin(this,e)})),Y("ddd",0,0,(function(e){return this.localeData().weekdaysShort(this,e)})),Y("dddd",0,0,(function(e){return this.localeData().weekdays(this,e)})),Y("e",0,0,"weekday"),Y("E",0,0,"isoWeekday"),
213
215
  // ALIASES
214
216
  ne("day","d"),ne("weekday","e"),ne("isoWeekday","E"),
215
217
  // PRIORITY
@@ -217,7 +219,7 @@ oe("day",11),oe("weekday",11),oe("isoWeekday",11),
217
219
  // PARSING
218
220
  Re("d",Ee),Re("e",Ee),Re("E",Ee),Re("dd",(function(e,t){return t.weekdaysMinRegex(e)})),Re("ddd",(function(e,t){return t.weekdaysShortRegex(e)})),Re("dddd",(function(e,t){return t.weekdaysRegex(e)})),je(["dd","ddd","dddd"],(function(e,t,i,n){var r=i._locale.weekdaysParse(e,n,i._strict);
219
221
  // if we didn't get a weekday name, mark the date as invalid
220
- null!=r?t.d=r:g(i).invalidWeekday=e})),je(["d","e","E"],(function(e,t,i,n){t[n]=he(e)}));var Nt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Rt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),xt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Bt=Ne,Ut=Ne,Yt=Ne;function It(e,t){var i=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ot(i,this._week.dow):e?i[e.day()]:i}function jt(e){return!0===e?Ot(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Gt(e){return!0===e?Ot(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function Ft(e,t,i){var n,r,a,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=f([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(a,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(r=Fe.call(this._weekdaysParse,s))?r:null:"ddd"===t?-1!==(r=Fe.call(this._shortWeekdaysParse,s))?r:null:-1!==(r=Fe.call(this._minWeekdaysParse,s))?r:null:"dddd"===t?-1!==(r=Fe.call(this._weekdaysParse,s))||-1!==(r=Fe.call(this._shortWeekdaysParse,s))||-1!==(r=Fe.call(this._minWeekdaysParse,s))?r:null:"ddd"===t?-1!==(r=Fe.call(this._shortWeekdaysParse,s))||-1!==(r=Fe.call(this._weekdaysParse,s))||-1!==(r=Fe.call(this._minWeekdaysParse,s))?r:null:-1!==(r=Fe.call(this._minWeekdaysParse,s))||-1!==(r=Fe.call(this._weekdaysParse,s))||-1!==(r=Fe.call(this._shortWeekdaysParse,s))?r:null}function $t(e,t,i){var n,r,a;if(this._weekdaysParseExact)return Ft.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){
222
+ null!=r?t.d=r:g(i).invalidWeekday=e})),je(["d","e","E"],(function(e,t,i,n){t[n]=he(e)}));var xt="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),Rt="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),Nt="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Bt=xe,Ut=xe,It=xe;function Yt(e,t){var i=a(this._weekdays)?this._weekdays:this._weekdays[e&&!0!==e&&this._weekdays.isFormat.test(t)?"format":"standalone"];return!0===e?Ot(i,this._week.dow):e?i[e.day()]:i}function jt(e){return!0===e?Ot(this._weekdaysShort,this._week.dow):e?this._weekdaysShort[e.day()]:this._weekdaysShort}function Gt(e){return!0===e?Ot(this._weekdaysMin,this._week.dow):e?this._weekdaysMin[e.day()]:this._weekdaysMin}function $t(e,t,i){var n,r,a,s=e.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],n=0;n<7;++n)a=f([2e3,1]).day(n),this._minWeekdaysParse[n]=this.weekdaysMin(a,"").toLocaleLowerCase(),this._shortWeekdaysParse[n]=this.weekdaysShort(a,"").toLocaleLowerCase(),this._weekdaysParse[n]=this.weekdays(a,"").toLocaleLowerCase();return i?"dddd"===t?-1!==(r=$e.call(this._weekdaysParse,s))?r:null:"ddd"===t?-1!==(r=$e.call(this._shortWeekdaysParse,s))?r:null:-1!==(r=$e.call(this._minWeekdaysParse,s))?r:null:"dddd"===t?-1!==(r=$e.call(this._weekdaysParse,s))||-1!==(r=$e.call(this._shortWeekdaysParse,s))||-1!==(r=$e.call(this._minWeekdaysParse,s))?r:null:"ddd"===t?-1!==(r=$e.call(this._shortWeekdaysParse,s))||-1!==(r=$e.call(this._weekdaysParse,s))||-1!==(r=$e.call(this._minWeekdaysParse,s))?r:null:-1!==(r=$e.call(this._minWeekdaysParse,s))||-1!==(r=$e.call(this._weekdaysParse,s))||-1!==(r=$e.call(this._shortWeekdaysParse,s))?r:null}function Ft(e,t,i){var n,r,a;if(this._weekdaysParseExact)return $t.call(this,e,t,i);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),n=0;n<7;n++){
221
223
  // test the regex
222
224
  if(
223
225
  // make the regex if we don't have it already
@@ -227,30 +229,30 @@ function zt(e){if(!this.isValid())return null!=e?this:NaN;var t=this._isUTC?this
227
229
  // behaves the same as moment#day except
228
230
  // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)
229
231
  // as a setter, sunday should belong to the previous week.
230
- if(null!=e){var t=Ct(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Zt(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=Bt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function Xt(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ut),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Kt(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||qt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=Yt),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function qt(){function e(e,t){return t.length-e.length}var t,i,n,r,a,s=[],o=[],l=[],u=[];for(t=0;t<7;t++)
232
+ if(null!=e){var t=Ct(e,this.localeData());return this.day(this.day()%7?t:t-7)}return this.day()||7}function Zt(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysStrictRegex:this._weekdaysRegex):(o(this,"_weekdaysRegex")||(this._weekdaysRegex=Bt),this._weekdaysStrictRegex&&e?this._weekdaysStrictRegex:this._weekdaysRegex)}function qt(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(o(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=Ut),this._weekdaysShortStrictRegex&&e?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)}function Xt(e){return this._weekdaysParseExact?(o(this,"_weekdaysRegex")||Kt.call(this),e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(o(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=It),this._weekdaysMinStrictRegex&&e?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)}function Kt(){function e(e,t){return t.length-e.length}var t,i,n,r,a,s=[],o=[],l=[],u=[];for(t=0;t<7;t++)
231
233
  // make the regex if we don't have it already
232
234
  i=f([2e3,1]).day(t),n=Ue(this.weekdaysMin(i,"")),r=Ue(this.weekdaysShort(i,"")),a=Ue(this.weekdays(i,"")),s.push(n),o.push(r),l.push(a),u.push(n),u.push(r),u.push(a);
233
235
  // Sorting makes sure if one weekday (or abbr) is a prefix of another it
234
236
  // will match the longer piece.
235
237
  s.sort(e),o.sort(e),l.sort(e),u.sort(e),this._weekdaysRegex=new RegExp("^("+u.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+l.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+o.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+s.join("|")+")","i")}
236
238
  // FORMATTING
237
- function Jt(){return this.hours()%12||12}function Qt(){return this.hours()||24}function ei(e,t){I(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}
239
+ function Jt(){return this.hours()%12||12}function Qt(){return this.hours()||24}function ei(e,t){Y(e,0,0,(function(){return this.localeData().meridiem(this.hours(),this.minutes(),t)}))}
238
240
  // PARSING
239
241
  function ti(e,t){return t._meridiemParse}
240
242
  // LOCALES
241
243
  function ii(e){
242
244
  // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays
243
245
  // Using charAt should be more compatible.
244
- return"p"===(e+"").toLowerCase().charAt(0)}I("H",["HH",2],0,"hour"),I("h",["hh",2],0,Jt),I("k",["kk",2],0,Qt),I("hmm",0,0,(function(){return""+Jt.apply(this)+R(this.minutes(),2)})),I("hmmss",0,0,(function(){return""+Jt.apply(this)+R(this.minutes(),2)+R(this.seconds(),2)})),I("Hmm",0,0,(function(){return""+this.hours()+R(this.minutes(),2)})),I("Hmmss",0,0,(function(){return""+this.hours()+R(this.minutes(),2)+R(this.seconds(),2)})),ei("a",!0),ei("A",!1),
246
+ 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)+R(this.minutes(),2)})),Y("hmmss",0,0,(function(){return""+Jt.apply(this)+R(this.minutes(),2)+R(this.seconds(),2)})),Y("Hmm",0,0,(function(){return""+this.hours()+R(this.minutes(),2)})),Y("Hmmss",0,0,(function(){return""+this.hours()+R(this.minutes(),2)+R(this.seconds(),2)})),ei("a",!0),ei("A",!1),
245
247
  // ALIASES
246
248
  ne("hour","h"),
247
249
  // PRIORITY
248
- oe("hour",13),Re("a",ti),Re("A",ti),Re("H",Ee),Re("h",Ee),Re("k",Ee),Re("HH",Ee,ve),Re("hh",Ee,ve),Re("kk",Ee,ve),Re("hmm",Te),Re("hmmss",Se),Re("Hmm",Te),Re("Hmmss",Se),Ie(["H","HH"],We),Ie(["k","kk"],(function(e,t,i){var n=he(e);t[We]=24===n?0:n})),Ie(["a","A"],(function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e})),Ie(["h","hh"],(function(e,t,i){t[We]=he(e),g(i).bigHour=!0})),Ie("hmm",(function(e,t,i){var n=e.length-2;t[We]=he(e.substr(0,n)),t[Ze]=he(e.substr(n)),g(i).bigHour=!0})),Ie("hmmss",(function(e,t,i){var n=e.length-4,r=e.length-2;t[We]=he(e.substr(0,n)),t[Ze]=he(e.substr(n,2)),t[Xe]=he(e.substr(r)),g(i).bigHour=!0})),Ie("Hmm",(function(e,t,i){var n=e.length-2;t[We]=he(e.substr(0,n)),t[Ze]=he(e.substr(n))})),Ie("Hmmss",(function(e,t,i){var n=e.length-4,r=e.length-2;t[We]=he(e.substr(0,n)),t[Ze]=he(e.substr(n,2)),t[Xe]=he(e.substr(r))}));var ni=/[ap]\.?m?\.?/i,
250
+ oe("hour",13),Re("a",ti),Re("A",ti),Re("H",Ee),Re("h",Ee),Re("k",Ee),Re("HH",Ee,ve),Re("hh",Ee,ve),Re("kk",Ee,ve),Re("hmm",Te),Re("hmmss",Se),Re("Hmm",Te),Re("Hmmss",Se),Ye(["H","HH"],We),Ye(["k","kk"],(function(e,t,i){var n=he(e);t[We]=24===n?0:n})),Ye(["a","A"],(function(e,t,i){i._isPm=i._locale.isPM(e),i._meridiem=e})),Ye(["h","hh"],(function(e,t,i){t[We]=he(e),g(i).bigHour=!0})),Ye("hmm",(function(e,t,i){var n=e.length-2;t[We]=he(e.substr(0,n)),t[Ze]=he(e.substr(n)),g(i).bigHour=!0})),Ye("hmmss",(function(e,t,i){var n=e.length-4,r=e.length-2;t[We]=he(e.substr(0,n)),t[Ze]=he(e.substr(n,2)),t[qe]=he(e.substr(r)),g(i).bigHour=!0})),Ye("Hmm",(function(e,t,i){var n=e.length-2;t[We]=he(e.substr(0,n)),t[Ze]=he(e.substr(n))})),Ye("Hmmss",(function(e,t,i){var n=e.length-4,r=e.length-2;t[We]=he(e.substr(0,n)),t[Ze]=he(e.substr(n,2)),t[qe]=he(e.substr(r))}));var ni=/[ap]\.?m?\.?/i,
249
251
  // Setting the hour should keep the time, because the user explicitly
250
252
  // specified which hour they want. So trying to maintain the same hour (in
251
253
  // a new timezone) makes sense. Adding/subtracting hours does not follow
252
254
  // this rule.
253
- ri=de("Hours",!0);function ai(e,t,i){return e>11?i?"pm":"PM":i?"am":"AM"}var si,oi={calendar:O,longDateFormat:V,invalidDate:Z,ordinal:K,dayOfMonthOrdinalParse:q,relativeTime:Q,months:tt,monthsShort:it,week:kt,weekdays:Nt,weekdaysMin:xt,weekdaysShort:Rt,meridiemParse:ni},li={},ui={};
255
+ ri=de("Hours",!0);function ai(e,t,i){return e>11?i?"pm":"PM":i?"am":"AM"}var si,oi={calendar:O,longDateFormat:V,invalidDate:Z,ordinal:X,dayOfMonthOrdinalParse:K,relativeTime:Q,months:tt,monthsShort:it,week:kt,weekdays:xt,weekdaysMin:Nt,weekdaysShort:Rt,meridiemParse:ni},li={},ui={};
254
256
  // internal storage for locale config files
255
257
  function ci(e,t){var i,n=Math.min(e.length,t.length);for(i=0;i<n;i+=1)if(e[i]!==t[i])return i;return n}function hi(e){return e?e.toLowerCase().replace("_","-"):e}
256
258
  // pick the locale from the array
@@ -296,7 +298,7 @@ null!=li[e]&&(null!=li[e].parentLocale?(li[e]=li[e].parentLocale,e===pi()&&pi(e)
296
298
  // returns locale data
297
299
  function bi(e){var t;if(e&&e._locale&&e._locale._abbr&&(e=e._locale._abbr),!e)return si;if(!a(e)){if(
298
300
  //short-circuit everything else
299
- t=fi(e))return t;e=[e]}return di(e)}function vi(){return k(li)}function _i(e){var t,i=e._a;return i&&-2===g(e).overflow&&(t=i[ze]<0||i[ze]>11?ze:i[Ve]<1||i[Ve]>et(i[$e],i[ze])?Ve:i[We]<0||i[We]>24||24===i[We]&&(0!==i[Ze]||0!==i[Xe]||0!==i[Ke])?We:i[Ze]<0||i[Ze]>59?Ze:i[Xe]<0||i[Xe]>59?Xe:i[Ke]<0||i[Ke]>999?Ke:-1,g(e)._overflowDayOfYear&&(t<$e||t>Ve)&&(t=Ve),g(e)._overflowWeeks&&-1===t&&(t=qe),g(e)._overflowWeekday&&-1===t&&(t=Je),g(e).overflow=t),e}
301
+ t=fi(e))return t;e=[e]}return di(e)}function vi(){return k(li)}function _i(e){var t,i=e._a;return i&&-2===g(e).overflow&&(t=i[ze]<0||i[ze]>11?ze:i[Ve]<1||i[Ve]>et(i[Fe],i[ze])?Ve:i[We]<0||i[We]>24||24===i[We]&&(0!==i[Ze]||0!==i[qe]||0!==i[Xe])?We:i[Ze]<0||i[Ze]>59?Ze:i[qe]<0||i[qe]>59?qe:i[Xe]<0||i[Xe]>999?Xe:-1,g(e)._overflowDayOfYear&&(t<Fe||t>Ve)&&(t=Ve),g(e)._overflowWeeks&&-1===t&&(t=Ke),g(e)._overflowWeekday&&-1===t&&(t=Je),g(e).overflow=t),e}
300
302
  // iso 8601 regex
301
303
  // 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)
302
304
  var Li=/^\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)?)?$/,wi=/^\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)?)?$/,Ei=/Z|[+-]\d\d(?::?\d\d)?/,Ti=[["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]],
@@ -309,13 +311,13 @@ function Pi(e){var t,i,n,r,a,s,o=e._i,l=Li.exec(o)||wi.exec(o),u=Ti.length,c=Si.
309
311
  // match[2] should be 'T' or space
310
312
  a=(l[2]||" ")+Si[t][0];break}if(null==a)return void(e._isValid=!1)}if(!n&&null!=a)return void(e._isValid=!1);if(l[4]){if(!Ei.exec(l[4]))return void(e._isValid=!1);s="Z"}e._f=r+(a||"")+(s||""),ji(e)}else e._isValid=!1}function Ai(e,t,i,n,r,a){var s=[Hi(e),it.indexOf(t),parseInt(i,10),parseInt(n,10),parseInt(r,10)];return a&&s.push(parseInt(a,10)),s}function Hi(e){var t=parseInt(e,10);return t<=49?2e3+t:t<=999?1900+t:t}function Ci(e){
311
313
  // Remove comments and folding whitespace and replace multiple-spaces with a single space
312
- return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Oi(e,t,i){return!e||Rt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(i).weekdayMismatch=!0,i._isValid=!1,!1)}function Ni(e,t,i){if(e)return Di[e];if(t)
314
+ return e.replace(/\([^()]*\)|[\n\t]/g," ").replace(/(\s\s+)/g," ").replace(/^\s\s*/,"").replace(/\s\s*$/,"")}function Oi(e,t,i){return!e||Rt.indexOf(e)===new Date(t[0],t[1],t[2]).getDay()||(g(i).weekdayMismatch=!0,i._isValid=!1,!1)}function xi(e,t,i){if(e)return Di[e];if(t)
313
315
  // the only allowed military tz is Z
314
316
  return 0;var n=parseInt(i,10),r=n%100;return(n-r)/100*60+r}
315
317
  // date and time from ref 2822 format
316
- function Ri(e){var t,i=Mi.exec(Ci(e._i));if(i){if(t=Ai(i[4],i[3],i[2],i[5],i[6],i[7]),!Oi(i[1],t,e))return;e._a=t,e._tzm=Ni(i[8],i[9],i[10]),e._d=_t.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}
318
+ function Ri(e){var t,i=Mi.exec(Ci(e._i));if(i){if(t=Ai(i[4],i[3],i[2],i[5],i[6],i[7]),!Oi(i[1],t,e))return;e._a=t,e._tzm=xi(i[8],i[9],i[10]),e._d=_t.apply(null,e._a),e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),g(e).rfc2822=!0}else e._isValid=!1}
317
319
  // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict
318
- function xi(e){var t=ki.exec(e._i);null===t?(Pi(e),!1===e._isValid&&(delete e._isValid,Ri(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
320
+ function Ni(e){var t=ki.exec(e._i);null===t?(Pi(e),!1===e._isValid&&(delete e._isValid,Ri(e),!1===e._isValid&&(delete e._isValid,e._strict?e._isValid=!1:
319
321
  // Final attempt, use Input Fallback
320
322
  n.createFromInputFallback(e)))):e._d=new Date(+t[1])}
321
323
  // Pick the first defined of two or three arguments.
@@ -326,7 +328,7 @@ var t=new Date(n.now());return e._useUTC?[t.getUTCFullYear(),t.getUTCMonth(),t.g
326
328
  // the array should mirror the parameters below
327
329
  // note: all values past the year are optional and will default to the lowest possible value.
328
330
  // [year, month, day , hour, minute, second, millisecond]
329
- function Yi(e){var t,i,n,r,a,s=[];if(!e._d){
331
+ function Ii(e){var t,i,n,r,a,s=[];if(!e._d){
330
332
  // Default to current date.
331
333
  // * if no year, month, day of month are given, default to today
332
334
  // * if day of month is given, default month and year
@@ -334,23 +336,23 @@ function Yi(e){var t,i,n,r,a,s=[];if(!e._d){
334
336
  // * if year is given, don't default anything
335
337
  for(n=Ui(e),
336
338
  //compute day of the year from weeks and weekdays
337
- e._w&&null==e._a[Ve]&&null==e._a[ze]&&Ii(e),
339
+ e._w&&null==e._a[Ve]&&null==e._a[ze]&&Yi(e),
338
340
  //if the day of the year is set, figure out what it is
339
- null!=e._dayOfYear&&(a=Bi(e._a[$e],n[$e]),(e._dayOfYear>gt(a)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),i=_t(a,0,e._dayOfYear),e._a[ze]=i.getUTCMonth(),e._a[Ve]=i.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=n[t];
341
+ null!=e._dayOfYear&&(a=Bi(e._a[Fe],n[Fe]),(e._dayOfYear>gt(a)||0===e._dayOfYear)&&(g(e)._overflowDayOfYear=!0),i=_t(a,0,e._dayOfYear),e._a[ze]=i.getUTCMonth(),e._a[Ve]=i.getUTCDate()),t=0;t<3&&null==e._a[t];++t)e._a[t]=s[t]=n[t];
340
342
  // Zero out whatever was not defaulted, including time
341
343
  for(;t<7;t++)e._a[t]=s[t]=null==e._a[t]?2===t?1:0:e._a[t];
342
344
  // Check for 24:00:00.000
343
- 24===e._a[We]&&0===e._a[Ze]&&0===e._a[Xe]&&0===e._a[Ke]&&(e._nextDay=!0,e._a[We]=0),e._d=(e._useUTC?_t:vt).apply(null,s),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),
345
+ 24===e._a[We]&&0===e._a[Ze]&&0===e._a[qe]&&0===e._a[Xe]&&(e._nextDay=!0,e._a[We]=0),e._d=(e._useUTC?_t:vt).apply(null,s),r=e._useUTC?e._d.getUTCDay():e._d.getDay(),
344
346
  // Apply timezone offset from input. The actual utcOffset can be changed
345
347
  // with parseZone.
346
348
  null!=e._tzm&&e._d.setUTCMinutes(e._d.getUTCMinutes()-e._tzm),e._nextDay&&(e._a[We]=24),
347
349
  // check for mismatching day of week
348
- e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function Ii(e){var t,i,n,r,a,s,o,l,u;null!=(t=e._w).GG||null!=t.W||null!=t.E?(a=1,s=4,
350
+ e._w&&void 0!==e._w.d&&e._w.d!==r&&(g(e).weekdayMismatch=!0)}}function Yi(e){var t,i,n,r,a,s,o,l,u;null!=(t=e._w).GG||null!=t.W||null!=t.E?(a=1,s=4,
349
351
  // TODO: We need to take the current isoWeekYear, but that depends on
350
352
  // how we interpret now (local, utc, fixed offset). So create
351
353
  // a now version of current config (take local/utc/offset flags, and
352
354
  // create now).
353
- i=Bi(t.GG,e._a[$e],Et(Xi(),1,4).year),n=Bi(t.W,1),((r=Bi(t.E,1))<1||r>7)&&(l=!0)):(a=e._locale._week.dow,s=e._locale._week.doy,u=Et(Xi(),a,s),i=Bi(t.gg,e._a[$e],u.year),
355
+ i=Bi(t.GG,e._a[Fe],Et(qi(),1,4).year),n=Bi(t.W,1),((r=Bi(t.E,1))<1||r>7)&&(l=!0)):(a=e._locale._week.dow,s=e._locale._week.doy,u=Et(qi(),a,s),i=Bi(t.gg,e._a[Fe],u.year),
354
356
  // Default to current week.
355
357
  n=Bi(t.w,u.week),null!=t.d?((
356
358
  // weekday -- low day numbers are considered next week
@@ -358,16 +360,16 @@ r=t.d)<0||r>6)&&(l=!0):null!=t.e?(
358
360
  // local weekday -- counting starts from beginning of week
359
361
  r=t.e+a,(t.e<0||t.e>6)&&(l=!0)):
360
362
  // default to beginning of week
361
- r=a),n<1||n>Tt(i,a,s)?g(e)._overflowWeeks=!0:null!=l?g(e)._overflowWeekday=!0:(o=wt(i,n,r,a,s),e._a[$e]=o.year,e._dayOfYear=o.dayOfYear)}
363
+ r=a),n<1||n>Tt(i,a,s)?g(e)._overflowWeeks=!0:null!=l?g(e)._overflowWeekday=!0:(o=wt(i,n,r,a,s),e._a[Fe]=o.year,e._dayOfYear=o.dayOfYear)}
362
364
  // constant that refers to the ISO standard
363
365
  // date from string and format string
364
366
  function ji(e){
365
367
  // TODO: Move this to another part of the creation flow to prevent circular deps
366
368
  if(e._f!==n.ISO_8601)if(e._f!==n.RFC_2822){e._a=[],g(e).empty=!0;
367
369
  // This array is used to make a Date, either with `new Date` or `Date.UTC`
368
- var t,i,r,a,s,o,l,u=""+e._i,c=u.length,h=0;for(l=(r=z(e._f,e._locale).match(x)||[]).length,t=0;t<l;t++)a=r[t],(i=(u.match(xe(a,e))||[])[0])&&((s=u.substr(0,u.indexOf(i))).length>0&&g(e).unusedInput.push(s),u=u.slice(u.indexOf(i)+i.length),h+=i.length),
370
+ var t,i,r,a,s,o,l,u=""+e._i,c=u.length,h=0;for(l=(r=z(e._f,e._locale).match(N)||[]).length,t=0;t<l;t++)a=r[t],(i=(u.match(Ne(a,e))||[])[0])&&((s=u.substr(0,u.indexOf(i))).length>0&&g(e).unusedInput.push(s),u=u.slice(u.indexOf(i)+i.length),h+=i.length),
369
371
  // don't parse if it's not a known token
370
- Y[a]?(i?g(e).empty=!1:g(e).unusedTokens.push(a),Ge(a,i,e)):e._strict&&!i&&g(e).unusedTokens.push(a);
372
+ I[a]?(i?g(e).empty=!1:g(e).unusedTokens.push(a),Ge(a,i,e)):e._strict&&!i&&g(e).unusedTokens.push(a);
371
373
  // add remaining unparsed input length to the string
372
374
  g(e).charsLeftOver=c-h,u.length>0&&g(e).unusedInput.push(u),
373
375
  // clear _12h flag if hour is <= 12
@@ -375,32 +377,32 @@ e._a[We]<=12&&!0===g(e).bigHour&&e._a[We]>0&&(g(e).bigHour=void 0),g(e).parsedDa
375
377
  // handle meridiem
376
378
  e._a[We]=Gi(e._locale,e._a[We],e._meridiem),null!==(
377
379
  // handle era
378
- o=g(e).era)&&(e._a[$e]=e._locale.erasConvertYear(o,e._a[$e])),Yi(e),_i(e)}else Ri(e);else Pi(e)}function Gi(e,t,i){var n;return null==i?t:null!=e.meridiemHour?e.meridiemHour(t,i):null!=e.isPM?(
380
+ o=g(e).era)&&(e._a[Fe]=e._locale.erasConvertYear(o,e._a[Fe])),Ii(e),_i(e)}else Ri(e);else Pi(e)}function Gi(e,t,i){var n;return null==i?t:null!=e.meridiemHour?e.meridiemHour(t,i):null!=e.isPM?(
379
381
  // Fallback
380
382
  (n=e.isPM(i))&&t<12&&(t+=12),n||12!==t||(t=0),t):t}
381
383
  // date from string and array of format strings
382
- function Fi(e){var t,i,n,r,a,s,o=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<l;r++)a=0,s=!1,t=L({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],ji(t),y(t)&&(s=!0),
384
+ function $i(e){var t,i,n,r,a,s,o=!1,l=e._f.length;if(0===l)return g(e).invalidFormat=!0,void(e._d=new Date(NaN));for(r=0;r<l;r++)a=0,s=!1,t=L({},e),null!=e._useUTC&&(t._useUTC=e._useUTC),t._f=e._f[r],ji(t),y(t)&&(s=!0),
383
385
  // if there is any input that was not parsed add a penalty for that format
384
386
  a+=g(t).charsLeftOver,
385
387
  //or tokens
386
- a+=10*g(t).unusedTokens.length,g(t).score=a,o?a<n&&(n=a,i=t):(null==n||a<n||s)&&(n=a,i=t,s&&(o=!0));m(e,i||t)}function $i(e){if(!e._d){var t=ae(e._i),i=void 0===t.day?t.date:t.day;e._a=d([t.year,t.month,i,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Yi(e)}}function zi(e){var t=new w(_i(Vi(e)));return t._nextDay&&(
388
+ a+=10*g(t).unusedTokens.length,g(t).score=a,o?a<n&&(n=a,i=t):(null==n||a<n||s)&&(n=a,i=t,s&&(o=!0));m(e,i||t)}function Fi(e){if(!e._d){var t=ae(e._i),i=void 0===t.day?t.date:t.day;e._a=d([t.year,t.month,i,t.hour,t.minute,t.second,t.millisecond],(function(e){return e&&parseInt(e,10)})),Ii(e)}}function zi(e){var t=new w(_i(Vi(e)));return t._nextDay&&(
387
389
  // Adding is smart enough around DST
388
- t.add(1,"d"),t._nextDay=void 0),t}function Vi(e){var t=e._i,i=e._f;return e._locale=e._locale||bi(e._l),null===t||void 0===i&&""===t?b({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),E(t)?new w(_i(t)):(h(t)?e._d=t:a(i)?Fi(e):i?ji(e):Wi(e),y(e)||(e._d=null),e))}function Wi(e){var t=e._i;u(t)?e._d=new Date(n.now()):h(t)?e._d=new Date(t.valueOf()):"string"==typeof t?xi(e):a(t)?(e._a=d(t.slice(0),(function(e){return parseInt(e,10)})),Yi(e)):s(t)?$i(e):c(t)?
390
+ t.add(1,"d"),t._nextDay=void 0),t}function Vi(e){var t=e._i,i=e._f;return e._locale=e._locale||bi(e._l),null===t||void 0===i&&""===t?b({nullInput:!0}):("string"==typeof t&&(e._i=t=e._locale.preparse(t)),E(t)?new w(_i(t)):(h(t)?e._d=t:a(i)?$i(e):i?ji(e):Wi(e),y(e)||(e._d=null),e))}function Wi(e){var t=e._i;u(t)?e._d=new Date(n.now()):h(t)?e._d=new Date(t.valueOf()):"string"==typeof t?Ni(e):a(t)?(e._a=d(t.slice(0),(function(e){return parseInt(e,10)})),Ii(e)):s(t)?Fi(e):c(t)?
389
391
  // from milliseconds
390
392
  e._d=new Date(t):n.createFromInputFallback(e)}function Zi(e,t,i,n,r){var o={};return!0!==t&&!1!==t||(n=t,t=void 0),!0!==i&&!1!==i||(n=i,i=void 0),(s(e)&&l(e)||a(e)&&0===e.length)&&(e=void 0),
391
393
  // object construction must be done this way.
392
394
  // https://github.com/moment/moment/issues/1423
393
- o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=i,o._i=e,o._f=t,o._strict=n,zi(o)}function Xi(e,t,i,n){return Zi(e,t,i,n,!1)}n.createFromInputFallback=S("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),n.ISO_8601=function(){},
395
+ o._isAMomentObject=!0,o._useUTC=o._isUTC=r,o._l=i,o._i=e,o._f=t,o._strict=n,zi(o)}function qi(e,t,i,n){return Zi(e,t,i,n,!1)}n.createFromInputFallback=S("value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",(function(e){e._d=new Date(e._i+(e._useUTC?" UTC":""))})),n.ISO_8601=function(){},
394
396
  // constant that refers to the RFC 2822 form
395
- n.RFC_2822=function(){};var Ki=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Xi.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:b()})),qi=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=Xi.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:b()}));
397
+ n.RFC_2822=function(){};var Xi=S("moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=qi.apply(null,arguments);return this.isValid()&&e.isValid()?e<this?this:e:b()})),Ki=S("moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/",(function(){var e=qi.apply(null,arguments);return this.isValid()&&e.isValid()?e>this?this:e:b()}));
396
398
  // Pick a moment m from moments so that m[fn](other) is true for all
397
399
  // other. This relies on the function fn to be transitive.
398
400
 
399
401
  // moments should either be an array of moment objects or an array, whose
400
402
  // first element is an array of moment objects.
401
- function Ji(e,t){var i,n;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return Xi();for(i=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](i)||(i=t[n]);return i}
403
+ function Ji(e,t){var i,n;if(1===t.length&&a(t[0])&&(t=t[0]),!t.length)return qi();for(i=t[0],n=1;n<t.length;++n)t[n].isValid()&&!t[n][e](i)||(i=t[n]);return i}
402
404
  // TODO: Use [].sort instead?
403
- function Qi(){return Ji("isBefore",[].slice.call(arguments,0))}function en(){return Ji("isAfter",[].slice.call(arguments,0))}var tn=function(){return Date.now?Date.now():+new Date},nn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function rn(e){var t,i,n=!1,r=nn.length;for(t in e)if(o(e,t)&&(-1===Fe.call(nn,t)||null!=e[t]&&isNaN(e[t])))return!1;for(i=0;i<r;++i)if(e[nn[i]]){if(n)return!1;// only allow non-integers for smallest unit
405
+ function Qi(){return Ji("isBefore",[].slice.call(arguments,0))}function en(){return Ji("isAfter",[].slice.call(arguments,0))}var tn=function(){return Date.now?Date.now():+new Date},nn=["year","quarter","month","week","day","hour","minute","second","millisecond"];function rn(e){var t,i,n=!1,r=nn.length;for(t in e)if(o(e,t)&&(-1===$e.call(nn,t)||null!=e[t]&&isNaN(e[t])))return!1;for(i=0;i<r;++i)if(e[nn[i]]){if(n)return!1;// only allow non-integers for smallest unit
404
406
  parseFloat(e[nn[i]])!==he(e[nn[i]])&&(n=!0)}return!0}function an(){return this._isValid}function sn(){return Pn(NaN)}function on(e){var t=ae(e),i=t.year||0,n=t.quarter||0,r=t.month||0,a=t.week||t.isoWeek||0,s=t.day||0,o=t.hour||0,l=t.minute||0,u=t.second||0,c=t.millisecond||0;this._isValid=rn(t),
405
407
  // representation for dateAddRemove
406
408
  this._milliseconds=+c+1e3*u+// 1000
@@ -416,18 +418,18 @@ this._months=+r+3*n+12*i,this._data={},this._locale=bi(),this._bubble()}function
416
418
  // compare two arrays, return the number of differences
417
419
  function cn(e,t,i){var n,r=Math.min(e.length,t.length),a=Math.abs(e.length-t.length),s=0;for(n=0;n<r;n++)(i&&e[n]!==t[n]||!i&&he(e[n])!==he(t[n]))&&s++;return s+a}
418
420
  // FORMATTING
419
- function hn(e,t){I(e,0,0,(function(){var e=this.utcOffset(),i="+";return e<0&&(e=-e,i="-"),i+R(~~(e/60),2)+t+R(~~e%60,2)}))}hn("Z",":"),hn("ZZ",""),
421
+ function hn(e,t){Y(e,0,0,(function(){var e=this.utcOffset(),i="+";return e<0&&(e=-e,i="-"),i+R(~~(e/60),2)+t+R(~~e%60,2)}))}hn("Z",":"),hn("ZZ",""),
420
422
  // PARSING
421
- Re("Z",Ce),Re("ZZ",Ce),Ie(["Z","ZZ"],(function(e,t,i){i._useUTC=!0,i._tzm=mn(Ce,e)}));
423
+ Re("Z",Ce),Re("ZZ",Ce),Ye(["Z","ZZ"],(function(e,t,i){i._useUTC=!0,i._tzm=mn(Ce,e)}));
422
424
  // HELPERS
423
425
  // timezone chunker
424
426
  // '+10:00' > ['10', '00']
425
427
  // '-1530' > ['-15', '30']
426
428
  var dn=/([\+\-]|\d\d)/gi;function mn(e,t){var i,n,r=(t||"").match(e);return null===r?null:0===(n=60*(i=((r[r.length-1]||[])+"").match(dn)||["-",0,0])[1]+he(i[2]))?0:"+"===i[0]?n:-n}
427
429
  // Return a moment from input, that is local/utc/zone equivalent to model.
428
- function fn(e,t){var i,r;return t._isUTC?(i=t.clone(),r=(E(e)||h(e)?e.valueOf():Xi(e).valueOf())-i.valueOf(),
430
+ function fn(e,t){var i,r;return t._isUTC?(i=t.clone(),r=(E(e)||h(e)?e.valueOf():qi(e).valueOf())-i.valueOf(),
429
431
  // Use low-level api, because this fn is low-level api.
430
- i._d.setTime(i._d.valueOf()+r),n.updateOffset(i,!1),i):Xi(e).local()}function pn(e){
432
+ i._d.setTime(i._d.valueOf()+r),n.updateOffset(i,!1),i):qi(e).local()}function pn(e){
431
433
  // On Firefox.24 Date#getTimezoneOffset returns a floating point.
432
434
  // https://github.com/moment/moment/pull/1871
433
435
  return-Math.round(e._d.getTimezoneOffset())}
@@ -444,7 +446,7 @@ return-Math.round(e._d.getTimezoneOffset())}
444
446
  // a second time. In case it wants us to change the offset again
445
447
  // _changeInProgress == true case, then we have to adjust, because
446
448
  // there is no such time in the given timezone.
447
- function gn(e,t,i){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=mn(Ce,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(r=pn(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==e&&(!t||this._changeInProgress?Nn(this,Pn(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:pn(this)}function yn(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function bn(e){return this.utcOffset(0,e)}function vn(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(pn(this),"m")),this}function _n(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=mn(He,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Ln(e){return!!this.isValid()&&(e=e?Xi(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function wn(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function En(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return L(t,this),(t=Vi(t))._a?(e=t._isUTC?f(t._a):Xi(t._a),this._isDSTShifted=this.isValid()&&cn(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Tn(){return!!this.isValid()&&!this._isUTC}function Sn(){return!!this.isValid()&&this._isUTC}function kn(){return!!this.isValid()&&this._isUTC&&0===this._offset}
449
+ function gn(e,t,i){var r,a=this._offset||0;if(!this.isValid())return null!=e?this:NaN;if(null!=e){if("string"==typeof e){if(null===(e=mn(Ce,e)))return this}else Math.abs(e)<16&&!i&&(e*=60);return!this._isUTC&&t&&(r=pn(this)),this._offset=e,this._isUTC=!0,null!=r&&this.add(r,"m"),a!==e&&(!t||this._changeInProgress?xn(this,Pn(e-a,"m"),1,!1):this._changeInProgress||(this._changeInProgress=!0,n.updateOffset(this,!0),this._changeInProgress=null)),this}return this._isUTC?a:pn(this)}function yn(e,t){return null!=e?("string"!=typeof e&&(e=-e),this.utcOffset(e,t),this):-this.utcOffset()}function bn(e){return this.utcOffset(0,e)}function vn(e){return this._isUTC&&(this.utcOffset(0,e),this._isUTC=!1,e&&this.subtract(pn(this),"m")),this}function _n(){if(null!=this._tzm)this.utcOffset(this._tzm,!1,!0);else if("string"==typeof this._i){var e=mn(He,this._i);null!=e?this.utcOffset(e):this.utcOffset(0,!0)}return this}function Ln(e){return!!this.isValid()&&(e=e?qi(e).utcOffset():0,(this.utcOffset()-e)%60==0)}function wn(){return this.utcOffset()>this.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()}function En(){if(!u(this._isDSTShifted))return this._isDSTShifted;var e,t={};return L(t,this),(t=Vi(t))._a?(e=t._isUTC?f(t._a):qi(t._a),this._isDSTShifted=this.isValid()&&cn(t._a,e.toArray())>0):this._isDSTShifted=!1,this._isDSTShifted}function Tn(){return!!this.isValid()&&!this._isUTC}function Sn(){return!!this.isValid()&&this._isUTC}function kn(){return!!this.isValid()&&this._isUTC&&0===this._offset}
448
450
  // ASP.NET json date format regex
449
451
  n.updateOffset=function(){};var Mn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\.\d*)?)?$/,
450
452
  // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html
@@ -452,9 +454,9 @@ n.updateOffset=function(){};var Mn=/^(-|\+)?(?:(\d*)[. ])?(\d+):(\d+)(?::(\d+)(\
452
454
  // and further modified to allow for strings containing both week and day
453
455
  Dn=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;function Pn(e,t){var i,n,r,a=e,
454
456
  // matching against regexp is expensive, do it on demand
455
- s=null;return ln(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(s=Mn.exec(e))?(i="-"===s[1]?-1:1,a={y:0,d:he(s[Ve])*i,h:he(s[We])*i,m:he(s[Ze])*i,s:he(s[Xe])*i,ms:he(un(1e3*s[Ke]))*i}):(s=Dn.exec(e))?(i="-"===s[1]?-1:1,a={y:An(s[2],i),M:An(s[3],i),w:An(s[4],i),d:An(s[5],i),h:An(s[6],i),m:An(s[7],i),s:An(s[8],i)}):null==a?
457
+ s=null;return ln(e)?a={ms:e._milliseconds,d:e._days,M:e._months}:c(e)||!isNaN(+e)?(a={},t?a[t]=+e:a.milliseconds=+e):(s=Mn.exec(e))?(i="-"===s[1]?-1:1,a={y:0,d:he(s[Ve])*i,h:he(s[We])*i,m:he(s[Ze])*i,s:he(s[qe])*i,ms:he(un(1e3*s[Xe]))*i}):(s=Dn.exec(e))?(i="-"===s[1]?-1:1,a={y:An(s[2],i),M:An(s[3],i),w:An(s[4],i),d:An(s[5],i),h:An(s[6],i),m:An(s[7],i),s:An(s[8],i)}):null==a?
456
458
  // checks for null or undefined
457
- a={}:"object"==typeof a&&("from"in a||"to"in a)&&(r=Cn(Xi(a.from),Xi(a.to)),(a={}).ms=r.milliseconds,a.M=r.months),n=new on(a),ln(e)&&o(e,"_locale")&&(n._locale=e._locale),ln(e)&&o(e,"_isValid")&&(n._isValid=e._isValid),n}function An(e,t){
459
+ a={}:"object"==typeof a&&("from"in a||"to"in a)&&(r=Cn(qi(a.from),qi(a.to)),(a={}).ms=r.milliseconds,a.M=r.months),n=new on(a),ln(e)&&o(e,"_locale")&&(n._locale=e._locale),ln(e)&&o(e,"_isValid")&&(n._isValid=e._isValid),n}function An(e,t){
458
460
  // We'd normally use ~~inp for this, but unfortunately it also
459
461
  // converts floats to ints.
460
462
  // inp may be undefined, so careful calling replace on it.
@@ -464,14 +466,14 @@ return(isNaN(i)?0:i)*t}function Hn(e,t){var i={};return i.months=t.month()-e.mon
464
466
  // TODO: remove 'name' arg after deprecation is removed
465
467
  function On(e,t){return function(i,n){var r;
466
468
  //invert the arguments, but complain about it
467
- return null===n||isNaN(+n)||(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."),r=i,i=n,n=r),Nn(this,Pn(i,n),e),this}}function Nn(e,t,i,r){var a=t._milliseconds,s=un(t._days),o=un(t._months);e.isValid()&&(r=null==r||r,o&&ct(e,me(e,"Month")+o*i),s&&fe(e,"Date",me(e,"Date")+s*i),a&&e._d.setTime(e._d.valueOf()+a*i),r&&n.updateOffset(e,s||o))}Pn.fn=on.prototype,Pn.invalid=sn;var Rn=On(1,"add"),xn=On(-1,"subtract");function Bn(e){return"string"==typeof e||e instanceof String}
469
+ return null===n||isNaN(+n)||(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."),r=i,i=n,n=r),xn(this,Pn(i,n),e),this}}function xn(e,t,i,r){var a=t._milliseconds,s=un(t._days),o=un(t._months);e.isValid()&&(r=null==r||r,o&&ct(e,me(e,"Month")+o*i),s&&fe(e,"Date",me(e,"Date")+s*i),a&&e._d.setTime(e._d.valueOf()+a*i),r&&n.updateOffset(e,s||o))}Pn.fn=on.prototype,Pn.invalid=sn;var Rn=On(1,"add"),Nn=On(-1,"subtract");function Bn(e){return"string"==typeof e||e instanceof String}
468
470
  // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined
469
- function Un(e){return E(e)||h(e)||Bn(e)||c(e)||In(e)||Yn(e)||null==e}function Yn(e){var t,i,n=s(e)&&!l(e),r=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],u=a.length;for(t=0;t<u;t+=1)i=a[t],r=r||o(e,i);return n&&r}function In(e){var t=a(e),i=!1;return t&&(i=0===e.filter((function(t){return!c(t)&&Bn(e)})).length),t&&i}function jn(e){var t,i,n=s(e)&&!l(e),r=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<a.length;t+=1)i=a[t],r=r||o(e,i);return n&&r}function Gn(e,t){var i=e.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"}function Fn(e,t){
471
+ function Un(e){return E(e)||h(e)||Bn(e)||c(e)||Yn(e)||In(e)||null==e}function In(e){var t,i,n=s(e)&&!l(e),r=!1,a=["years","year","y","months","month","M","days","day","d","dates","date","D","hours","hour","h","minutes","minute","m","seconds","second","s","milliseconds","millisecond","ms"],u=a.length;for(t=0;t<u;t+=1)i=a[t],r=r||o(e,i);return n&&r}function Yn(e){var t=a(e),i=!1;return t&&(i=0===e.filter((function(t){return!c(t)&&Bn(e)})).length),t&&i}function jn(e){var t,i,n=s(e)&&!l(e),r=!1,a=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(t=0;t<a.length;t+=1)i=a[t],r=r||o(e,i);return n&&r}function Gn(e,t){var i=e.diff(t,"days",!0);return i<-6?"sameElse":i<-1?"lastWeek":i<0?"lastDay":i<1?"sameDay":i<2?"nextDay":i<7?"nextWeek":"sameElse"}function $n(e,t){
470
472
  // Support for single parameter, formats only overload to the calendar function
471
473
  1===arguments.length&&(arguments[0]?Un(arguments[0])?(e=arguments[0],t=void 0):jn(arguments[0])&&(t=arguments[0],e=void 0):(e=void 0,t=void 0));
472
474
  // We want to compare the start of today, vs this.
473
475
  // Getting start-of-today depends on whether we're local/utc/offset or not.
474
- var i=e||Xi(),r=fn(i,this).startOf("day"),a=n.calendarFormat(this,r)||"sameElse",s=t&&(P(t[a])?t[a].call(this,i):t[a]);return this.format(s||this.localeData().calendar(a,this,Xi(i)))}function $n(){return new w(this)}function zn(e,t){var i=E(e)?e:Xi(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(t).valueOf())}function Vn(e,t){var i=E(e)?e:Xi(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(t).valueOf()<i.valueOf())}function Wn(e,t,i,n){var r=E(e)?e:Xi(e),a=E(t)?t:Xi(t);return!!(this.isValid()&&r.isValid()&&a.isValid())&&("("===(n=n||"()")[0]?this.isAfter(r,i):!this.isBefore(r,i))&&(")"===n[1]?this.isBefore(a,i):!this.isAfter(a,i))}function Zn(e,t){var i,n=E(e)?e:Xi(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(t).valueOf()<=i&&i<=this.clone().endOf(t).valueOf()))}function Xn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Kn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function qn(e,t,i){var n,r,a;if(!this.isValid())return NaN;if(!(n=fn(e,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),t=re(t)){case"year":a=Jn(this,n)/12;break;case"month":a=Jn(this,n);break;case"quarter":a=Jn(this,n)/3;break;case"second":a=(this-n)/1e3;break;// 1000
476
+ var i=e||qi(),r=fn(i,this).startOf("day"),a=n.calendarFormat(this,r)||"sameElse",s=t&&(P(t[a])?t[a].call(this,i):t[a]);return this.format(s||this.localeData().calendar(a,this,qi(i)))}function Fn(){return new w(this)}function zn(e,t){var i=E(e)?e:qi(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()>i.valueOf():i.valueOf()<this.clone().startOf(t).valueOf())}function Vn(e,t){var i=E(e)?e:qi(e);return!(!this.isValid()||!i.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()<i.valueOf():this.clone().endOf(t).valueOf()<i.valueOf())}function Wn(e,t,i,n){var r=E(e)?e:qi(e),a=E(t)?t:qi(t);return!!(this.isValid()&&r.isValid()&&a.isValid())&&("("===(n=n||"()")[0]?this.isAfter(r,i):!this.isBefore(r,i))&&(")"===n[1]?this.isBefore(a,i):!this.isAfter(a,i))}function Zn(e,t){var i,n=E(e)?e:qi(e);return!(!this.isValid()||!n.isValid())&&("millisecond"===(t=re(t)||"millisecond")?this.valueOf()===n.valueOf():(i=n.valueOf(),this.clone().startOf(t).valueOf()<=i&&i<=this.clone().endOf(t).valueOf()))}function qn(e,t){return this.isSame(e,t)||this.isAfter(e,t)}function Xn(e,t){return this.isSame(e,t)||this.isBefore(e,t)}function Kn(e,t,i){var n,r,a;if(!this.isValid())return NaN;if(!(n=fn(e,this)).isValid())return NaN;switch(r=6e4*(n.utcOffset()-this.utcOffset()),t=re(t)){case"year":a=Jn(this,n)/12;break;case"month":a=Jn(this,n);break;case"quarter":a=Jn(this,n)/3;break;case"second":a=(this-n)/1e3;break;// 1000
475
477
  case"minute":a=(this-n)/6e4;break;// 1000 * 60
476
478
  case"hour":a=(this-n)/36e5;break;// 1000 * 60 * 60
477
479
  case"day":a=(this-n-r)/864e5;break;// 1000 * 60 * 60 * 24, negate dst
@@ -493,7 +495,7 @@ t?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).t
493
495
  * also be evaluated to get a new moment which is the same
494
496
  *
495
497
  * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects
496
- */function tr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,i,n,r="moment",a="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",n=a+'[")]',this.format(e+t+i+n)}function ir(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=$(this,e);return this.localeData().postformat(t)}function nr(e,t){return this.isValid()&&(E(e)&&e.isValid()||Xi(e).isValid())?Pn({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function rr(e){return this.from(Xi(),e)}function ar(e,t){return this.isValid()&&(E(e)&&e.isValid()||Xi(e).isValid())?Pn({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function sr(e){return this.to(Xi(),e)}
498
+ */function tr(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var e,t,i,n,r="moment",a="";return this.isLocal()||(r=0===this.utcOffset()?"moment.utc":"moment.parseZone",a="Z"),e="["+r+'("]',t=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",i="-MM-DD[T]HH:mm:ss.SSS",n=a+'[")]',this.format(e+t+i+n)}function ir(e){e||(e=this.isUtc()?n.defaultFormatUtc:n.defaultFormat);var t=$(this,e);return this.localeData().postformat(t)}function nr(e,t){return this.isValid()&&(E(e)&&e.isValid()||qi(e).isValid())?Pn({to:this,from:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function rr(e){return this.from(qi(),e)}function ar(e,t){return this.isValid()&&(E(e)&&e.isValid()||qi(e).isValid())?Pn({from:this,to:e}).locale(this.locale()).humanize(!t):this.localeData().invalidDate()}function sr(e){return this.to(qi(),e)}
497
499
  // If passed a locale key, it will set the locale for this
498
500
  // instance. Otherwise, it will return the locale configuration
499
501
  // variables for this instance.
@@ -513,32 +515,32 @@ a=n(s[i].until).startOf("day").valueOf(),s[i].until=a.valueOf()}return s}functio
513
515
  // truncate time
514
516
  i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].name;if(n[e].until<=i&&i<=n[e].since)return n[e].name}return""}function Or(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(
515
517
  // truncate time
516
- i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].narrow;if(n[e].until<=i&&i<=n[e].since)return n[e].narrow}return""}function Nr(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(
518
+ i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].narrow;if(n[e].until<=i&&i<=n[e].since)return n[e].narrow}return""}function xr(){var e,t,i,n=this.localeData().eras();for(e=0,t=n.length;e<t;++e){if(
517
519
  // truncate time
518
520
  i=this.clone().startOf("day").valueOf(),n[e].since<=i&&i<=n[e].until)return n[e].abbr;if(n[e].until<=i&&i<=n[e].since)return n[e].abbr}return""}function Rr(){var e,t,i,r,a=this.localeData().eras();for(e=0,t=a.length;e<t;++e)if(i=a[e].since<=a[e].until?1:-1,
519
521
  // truncate time
520
- r=this.clone().startOf("day").valueOf(),a[e].since<=r&&r<=a[e].until||a[e].until<=r&&r<=a[e].since)return(this.year()-n(a[e].since).year())*i+a[e].offset;return this.year()}function xr(e){return o(this,"_erasNameRegex")||Fr.call(this),e?this._erasNameRegex:this._erasRegex}function Br(e){return o(this,"_erasAbbrRegex")||Fr.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ur(e){return o(this,"_erasNarrowRegex")||Fr.call(this),e?this._erasNarrowRegex:this._erasRegex}function Yr(e,t){return t.erasAbbrRegex(e)}function Ir(e,t){return t.erasNameRegex(e)}function jr(e,t){return t.erasNarrowRegex(e)}function Gr(e,t){return t._eraYearOrdinalRegex||Pe}function Fr(){var e,t,i=[],n=[],r=[],a=[],s=this.eras();for(e=0,t=s.length;e<t;++e)n.push(Ue(s[e].name)),i.push(Ue(s[e].abbr)),r.push(Ue(s[e].narrow)),a.push(Ue(s[e].name)),a.push(Ue(s[e].abbr)),a.push(Ue(s[e].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+n.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}
522
+ r=this.clone().startOf("day").valueOf(),a[e].since<=r&&r<=a[e].until||a[e].until<=r&&r<=a[e].since)return(this.year()-n(a[e].since).year())*i+a[e].offset;return this.year()}function Nr(e){return o(this,"_erasNameRegex")||$r.call(this),e?this._erasNameRegex:this._erasRegex}function Br(e){return o(this,"_erasAbbrRegex")||$r.call(this),e?this._erasAbbrRegex:this._erasRegex}function Ur(e){return o(this,"_erasNarrowRegex")||$r.call(this),e?this._erasNarrowRegex:this._erasRegex}function Ir(e,t){return t.erasAbbrRegex(e)}function Yr(e,t){return t.erasNameRegex(e)}function jr(e,t){return t.erasNarrowRegex(e)}function Gr(e,t){return t._eraYearOrdinalRegex||Pe}function $r(){var e,t,i=[],n=[],r=[],a=[],s=this.eras();for(e=0,t=s.length;e<t;++e)n.push(Ue(s[e].name)),i.push(Ue(s[e].abbr)),r.push(Ue(s[e].narrow)),a.push(Ue(s[e].name)),a.push(Ue(s[e].abbr)),a.push(Ue(s[e].narrow));this._erasRegex=new RegExp("^("+a.join("|")+")","i"),this._erasNameRegex=new RegExp("^("+n.join("|")+")","i"),this._erasAbbrRegex=new RegExp("^("+i.join("|")+")","i"),this._erasNarrowRegex=new RegExp("^("+r.join("|")+")","i")}
521
523
  // FORMATTING
522
- function $r(e,t){I(0,[e,e.length],0,t)}
524
+ function Fr(e,t){Y(0,[e,e.length],0,t)}
523
525
  // MOMENTS
524
- function zr(e){return qr.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Vr(e){return qr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Wr(){return Tt(this.year(),1,4)}function Zr(){return Tt(this.isoWeekYear(),1,4)}function Xr(){var e=this.localeData()._week;return Tt(this.year(),e.dow,e.doy)}function Kr(){var e=this.localeData()._week;return Tt(this.weekYear(),e.dow,e.doy)}function qr(e,t,i,n,r){var a;return null==e?Et(this,n,r).year:(t>(a=Tt(e,n,r))&&(t=a),Jr.call(this,e,t,i,n,r))}function Jr(e,t,i,n,r){var a=wt(e,t,i,n,r),s=_t(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}
526
+ function zr(e){return Kr.call(this,e,this.week(),this.weekday(),this.localeData()._week.dow,this.localeData()._week.doy)}function Vr(e){return Kr.call(this,e,this.isoWeek(),this.isoWeekday(),1,4)}function Wr(){return Tt(this.year(),1,4)}function Zr(){return Tt(this.isoWeekYear(),1,4)}function qr(){var e=this.localeData()._week;return Tt(this.year(),e.dow,e.doy)}function Xr(){var e=this.localeData()._week;return Tt(this.weekYear(),e.dow,e.doy)}function Kr(e,t,i,n,r){var a;return null==e?Et(this,n,r).year:(t>(a=Tt(e,n,r))&&(t=a),Jr.call(this,e,t,i,n,r))}function Jr(e,t,i,n,r){var a=wt(e,t,i,n,r),s=_t(a.year,0,a.dayOfYear);return this.year(s.getUTCFullYear()),this.month(s.getUTCMonth()),this.date(s.getUTCDate()),this}
525
527
  // FORMATTING
526
528
  // MOMENTS
527
529
  function Qr(e){return null==e?Math.ceil((this.month()+1)/3):this.month(3*(e-1)+this.month()%3)}
528
530
  // FORMATTING
529
- I("N",0,0,"eraAbbr"),I("NN",0,0,"eraAbbr"),I("NNN",0,0,"eraAbbr"),I("NNNN",0,0,"eraName"),I("NNNNN",0,0,"eraNarrow"),I("y",["y",1],"yo","eraYear"),I("y",["yy",2],0,"eraYear"),I("y",["yyy",3],0,"eraYear"),I("y",["yyyy",4],0,"eraYear"),Re("N",Yr),Re("NN",Yr),Re("NNN",Yr),Re("NNNN",Ir),Re("NNNNN",jr),Ie(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,i,n){var r=i._locale.erasParse(e,n,i._strict);r?g(i).era=r:g(i).invalidEra=e})),Re("y",Pe),Re("yy",Pe),Re("yyy",Pe),Re("yyyy",Pe),Re("yo",Gr),Ie(["y","yy","yyy","yyyy"],$e),Ie(["yo"],(function(e,t,i,n){var r;i._locale._eraYearOrdinalRegex&&(r=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[$e]=i._locale.eraYearOrdinalParse(e,r):t[$e]=parseInt(e,10)})),I(0,["gg",2],0,(function(){return this.weekYear()%100})),I(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),$r("gggg","weekYear"),$r("ggggg","weekYear"),$r("GGGG","isoWeekYear"),$r("GGGGG","isoWeekYear"),
531
+ 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"),Re("N",Ir),Re("NN",Ir),Re("NNN",Ir),Re("NNNN",Yr),Re("NNNNN",jr),Ye(["N","NN","NNN","NNNN","NNNNN"],(function(e,t,i,n){var r=i._locale.erasParse(e,n,i._strict);r?g(i).era=r:g(i).invalidEra=e})),Re("y",Pe),Re("yy",Pe),Re("yyy",Pe),Re("yyyy",Pe),Re("yo",Gr),Ye(["y","yy","yyy","yyyy"],Fe),Ye(["yo"],(function(e,t,i,n){var r;i._locale._eraYearOrdinalRegex&&(r=e.match(i._locale._eraYearOrdinalRegex)),i._locale.eraYearOrdinalParse?t[Fe]=i._locale.eraYearOrdinalParse(e,r):t[Fe]=parseInt(e,10)})),Y(0,["gg",2],0,(function(){return this.weekYear()%100})),Y(0,["GG",2],0,(function(){return this.isoWeekYear()%100})),Fr("gggg","weekYear"),Fr("ggggg","weekYear"),Fr("GGGG","isoWeekYear"),Fr("GGGGG","isoWeekYear"),
530
532
  // ALIASES
531
533
  ne("weekYear","gg"),ne("isoWeekYear","GG"),
532
534
  // PRIORITY
533
535
  oe("weekYear",1),oe("isoWeekYear",1),
534
536
  // PARSING
535
- Re("G",Ae),Re("g",Ae),Re("GG",Ee,ve),Re("gg",Ee,ve),Re("GGGG",Me,Le),Re("gggg",Me,Le),Re("GGGGG",De,we),Re("ggggg",De,we),je(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,i,n){t[n.substr(0,2)]=he(e)})),je(["gg","GG"],(function(e,t,i,r){t[r]=n.parseTwoDigitYear(e)})),I("Q",0,"Qo","quarter"),
537
+ Re("G",Ae),Re("g",Ae),Re("GG",Ee,ve),Re("gg",Ee,ve),Re("GGGG",Me,Le),Re("gggg",Me,Le),Re("GGGGG",De,we),Re("ggggg",De,we),je(["gggg","ggggg","GGGG","GGGGG"],(function(e,t,i,n){t[n.substr(0,2)]=he(e)})),je(["gg","GG"],(function(e,t,i,r){t[r]=n.parseTwoDigitYear(e)})),Y("Q",0,"Qo","quarter"),
536
538
  // ALIASES
537
539
  ne("quarter","Q"),
538
540
  // PRIORITY
539
541
  oe("quarter",7),
540
542
  // PARSING
541
- Re("Q",be),Ie("Q",(function(e,t){t[ze]=3*(he(e)-1)})),I("D",["DD",2],"Do","date"),
543
+ Re("Q",be),Ye("Q",(function(e,t){t[ze]=3*(he(e)-1)})),Y("D",["DD",2],"Do","date"),
542
544
  // ALIASES
543
545
  ne("date","D"),
544
546
  // PRIORITY
@@ -546,7 +548,7 @@ oe("date",9),
546
548
  // PARSING
547
549
  Re("D",Ee),Re("DD",Ee,ve),Re("Do",(function(e,t){
548
550
  // TODO: Remove "ordinalParse" fallback in next major release.
549
- return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ie(["D","DD"],Ve),Ie("Do",(function(e,t){t[Ve]=he(e.match(Ee)[0])}));
551
+ return e?t._dayOfMonthOrdinalParse||t._ordinalParse:t._dayOfMonthOrdinalParseLenient})),Ye(["D","DD"],Ve),Ye("Do",(function(e,t){t[Ve]=he(e.match(Ee)[0])}));
550
552
  // MOMENTS
551
553
  var ea=de("Date",!0);
552
554
  // FORMATTING
@@ -554,43 +556,43 @@ var ea=de("Date",!0);
554
556
  // MOMENTS
555
557
  function ta(e){var t=Math.round((this.clone().startOf("day")-this.clone().startOf("year"))/864e5)+1;return null==e?t:this.add(e-t,"d")}
556
558
  // FORMATTING
557
- I("DDD",["DDDD",3],"DDDo","dayOfYear"),
559
+ Y("DDD",["DDDD",3],"DDDo","dayOfYear"),
558
560
  // ALIASES
559
561
  ne("dayOfYear","DDD"),
560
562
  // PRIORITY
561
563
  oe("dayOfYear",4),
562
564
  // PARSING
563
- Re("DDD",ke),Re("DDDD",_e),Ie(["DDD","DDDD"],(function(e,t,i){i._dayOfYear=he(e)})),I("m",["mm",2],0,"minute"),
565
+ Re("DDD",ke),Re("DDDD",_e),Ye(["DDD","DDDD"],(function(e,t,i){i._dayOfYear=he(e)})),Y("m",["mm",2],0,"minute"),
564
566
  // ALIASES
565
567
  ne("minute","m"),
566
568
  // PRIORITY
567
569
  oe("minute",14),
568
570
  // PARSING
569
- Re("m",Ee),Re("mm",Ee,ve),Ie(["m","mm"],Ze);
571
+ Re("m",Ee),Re("mm",Ee,ve),Ye(["m","mm"],Ze);
570
572
  // MOMENTS
571
573
  var ia=de("Minutes",!1);
572
574
  // FORMATTING
573
- I("s",["ss",2],0,"second"),
575
+ Y("s",["ss",2],0,"second"),
574
576
  // ALIASES
575
577
  ne("second","s"),
576
578
  // PRIORITY
577
579
  oe("second",15),
578
580
  // PARSING
579
- Re("s",Ee),Re("ss",Ee,ve),Ie(["s","ss"],Xe);
581
+ Re("s",Ee),Re("ss",Ee,ve),Ye(["s","ss"],qe);
580
582
  // MOMENTS
581
583
  var na,ra,aa=de("Seconds",!1);
582
584
  // FORMATTING
583
- for(I("S",0,0,(function(){return~~(this.millisecond()/100)})),I(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),I(0,["SSS",3],0,"millisecond"),I(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),I(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),I(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),I(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),I(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),I(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),
585
+ for(Y("S",0,0,(function(){return~~(this.millisecond()/100)})),Y(0,["SS",2],0,(function(){return~~(this.millisecond()/10)})),Y(0,["SSS",3],0,"millisecond"),Y(0,["SSSS",4],0,(function(){return 10*this.millisecond()})),Y(0,["SSSSS",5],0,(function(){return 100*this.millisecond()})),Y(0,["SSSSSS",6],0,(function(){return 1e3*this.millisecond()})),Y(0,["SSSSSSS",7],0,(function(){return 1e4*this.millisecond()})),Y(0,["SSSSSSSS",8],0,(function(){return 1e5*this.millisecond()})),Y(0,["SSSSSSSSS",9],0,(function(){return 1e6*this.millisecond()})),
584
586
  // ALIASES
585
587
  ne("millisecond","ms"),
586
588
  // PRIORITY
587
589
  oe("millisecond",16),
588
590
  // PARSING
589
- Re("S",ke,be),Re("SS",ke,ve),Re("SSS",ke,_e),na="SSSS";na.length<=9;na+="S")Re(na,Pe);function sa(e,t){t[Ke]=he(1e3*("0."+e))}for(na="S";na.length<=9;na+="S")Ie(na,sa);
591
+ Re("S",ke,be),Re("SS",ke,ve),Re("SSS",ke,_e),na="SSSS";na.length<=9;na+="S")Re(na,Pe);function sa(e,t){t[Xe]=he(1e3*("0."+e))}for(na="S";na.length<=9;na+="S")Ye(na,sa);
590
592
  // MOMENTS
591
593
  function oa(){return this._isUTC?"UTC":""}function la(){return this._isUTC?"Coordinated Universal Time":""}ra=de("Milliseconds",!1),
592
594
  // FORMATTING
593
- I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");var ua=w.prototype;function ca(e){return Xi(1e3*e)}function ha(){return Xi.apply(null,arguments).parseZone()}function da(e){return e}ua.add=Rn,ua.calendar=Fn,ua.clone=$n,ua.diff=qn,ua.endOf=br,ua.format=ir,ua.from=nr,ua.fromNow=rr,ua.to=ar,ua.toNow=sr,ua.get=pe,ua.invalidAt=Mr,ua.isAfter=zn,ua.isBefore=Vn,ua.isBetween=Wn,ua.isSame=Zn,ua.isSameOrAfter=Xn,ua.isSameOrBefore=Kn,ua.isValid=Sr,ua.lang=lr,ua.locale=or,ua.localeData=ur,ua.max=qi,ua.min=Ki,ua.parsingFlags=kr,ua.set=ge,ua.startOf=yr,ua.subtract=xn,ua.toArray=wr,ua.toObject=Er,ua.toDate=Lr,ua.toISOString=er,ua.inspect=tr,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ua[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ua.toJSON=Tr,ua.toString=Qn,ua.unix=_r,ua.valueOf=vr,ua.creationData=Dr,ua.eraName=Cr,ua.eraNarrow=Or,ua.eraAbbr=Nr,ua.eraYear=Rr,ua.year=yt,ua.isLeapYear=bt,ua.weekYear=zr,ua.isoWeekYear=Vr,ua.quarter=ua.quarters=Qr,ua.month=ht,ua.daysInMonth=dt,ua.week=ua.weeks=Pt,ua.isoWeek=ua.isoWeeks=At,ua.weeksInYear=Xr,ua.weeksInWeekYear=Kr,ua.isoWeeksInYear=Wr,ua.isoWeeksInISOWeekYear=Zr,ua.date=ea,ua.day=ua.days=zt,ua.weekday=Vt,ua.isoWeekday=Wt,ua.dayOfYear=ta,ua.hour=ua.hours=ri,ua.minute=ua.minutes=ia,ua.second=ua.seconds=aa,ua.millisecond=ua.milliseconds=ra,ua.utcOffset=gn,ua.utc=bn,ua.local=vn,ua.parseZone=_n,ua.hasAlignedHourOffset=Ln,ua.isDST=wn,ua.isLocal=Tn,ua.isUtcOffset=Sn,ua.isUtc=kn,ua.isUTC=kn,ua.zoneAbbr=oa,ua.zoneName=la,ua.dates=S("dates accessor is deprecated. Use date instead.",ea),ua.months=S("months accessor is deprecated. Use month instead",ht),ua.years=S("years accessor is deprecated. Use year instead",yt),ua.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yn),ua.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",En);var ma=C.prototype;function fa(e,t,i,n){var r=bi(),a=f().set(n,t);return r[i](a,e)}function pa(e,t,i){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return fa(e,t,i,"month");var n,r=[];for(n=0;n<12;n++)r[n]=fa(e,n,i,"month");return r}
595
+ Y("z",0,0,"zoneAbbr"),Y("zz",0,0,"zoneName");var ua=w.prototype;function ca(e){return qi(1e3*e)}function ha(){return qi.apply(null,arguments).parseZone()}function da(e){return e}ua.add=Rn,ua.calendar=$n,ua.clone=Fn,ua.diff=Kn,ua.endOf=br,ua.format=ir,ua.from=nr,ua.fromNow=rr,ua.to=ar,ua.toNow=sr,ua.get=pe,ua.invalidAt=Mr,ua.isAfter=zn,ua.isBefore=Vn,ua.isBetween=Wn,ua.isSame=Zn,ua.isSameOrAfter=qn,ua.isSameOrBefore=Xn,ua.isValid=Sr,ua.lang=lr,ua.locale=or,ua.localeData=ur,ua.max=Ki,ua.min=Xi,ua.parsingFlags=kr,ua.set=ge,ua.startOf=yr,ua.subtract=Nn,ua.toArray=wr,ua.toObject=Er,ua.toDate=Lr,ua.toISOString=er,ua.inspect=tr,"undefined"!=typeof Symbol&&null!=Symbol.for&&(ua[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),ua.toJSON=Tr,ua.toString=Qn,ua.unix=_r,ua.valueOf=vr,ua.creationData=Dr,ua.eraName=Cr,ua.eraNarrow=Or,ua.eraAbbr=xr,ua.eraYear=Rr,ua.year=yt,ua.isLeapYear=bt,ua.weekYear=zr,ua.isoWeekYear=Vr,ua.quarter=ua.quarters=Qr,ua.month=ht,ua.daysInMonth=dt,ua.week=ua.weeks=Pt,ua.isoWeek=ua.isoWeeks=At,ua.weeksInYear=qr,ua.weeksInWeekYear=Xr,ua.isoWeeksInYear=Wr,ua.isoWeeksInISOWeekYear=Zr,ua.date=ea,ua.day=ua.days=zt,ua.weekday=Vt,ua.isoWeekday=Wt,ua.dayOfYear=ta,ua.hour=ua.hours=ri,ua.minute=ua.minutes=ia,ua.second=ua.seconds=aa,ua.millisecond=ua.milliseconds=ra,ua.utcOffset=gn,ua.utc=bn,ua.local=vn,ua.parseZone=_n,ua.hasAlignedHourOffset=Ln,ua.isDST=wn,ua.isLocal=Tn,ua.isUtcOffset=Sn,ua.isUtc=kn,ua.isUTC=kn,ua.zoneAbbr=oa,ua.zoneName=la,ua.dates=S("dates accessor is deprecated. Use date instead.",ea),ua.months=S("months accessor is deprecated. Use month instead",ht),ua.years=S("years accessor is deprecated. Use year instead",yt),ua.zone=S("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",yn),ua.isDSTShifted=S("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",En);var ma=C.prototype;function fa(e,t,i,n){var r=bi(),a=f().set(n,t);return r[i](a,e)}function pa(e,t,i){if(c(e)&&(t=e,e=void 0),e=e||"",null!=t)return fa(e,t,i,"month");var n,r=[];for(n=0;n<12;n++)r[n]=fa(e,n,i,"month");return r}
594
596
  // ()
595
597
  // (5)
596
598
  // (fmt, 5)
@@ -599,7 +601,7 @@ I("z",0,0,"zoneAbbr"),I("zz",0,0,"zoneName");var ua=w.prototype;function ca(e){r
599
601
  // (true, 5)
600
602
  // (true, fmt, 5)
601
603
  // (true, fmt)
602
- function ga(e,t,i,n){"boolean"==typeof e?(c(t)&&(i=t,t=void 0),t=t||""):(i=t=e,e=!1,c(t)&&(i=t,t=void 0),t=t||"");var r,a=bi(),s=e?a._week.dow:0,o=[];if(null!=i)return fa(t,(i+s)%7,n,"day");for(r=0;r<7;r++)o[r]=fa(t,(r+s)%7,n,"day");return o}function ya(e,t){return pa(e,t,"months")}function ba(e,t){return pa(e,t,"monthsShort")}function va(e,t,i){return ga(e,t,i,"weekdays")}function _a(e,t,i){return ga(e,t,i,"weekdaysShort")}function La(e,t,i){return ga(e,t,i,"weekdaysMin")}ma.calendar=N,ma.longDateFormat=W,ma.invalidDate=X,ma.ordinal=J,ma.preparse=da,ma.postformat=da,ma.relativeTime=ee,ma.pastFuture=te,ma.set=A,ma.eras=Pr,ma.erasParse=Ar,ma.erasConvertYear=Hr,ma.erasAbbrRegex=Br,ma.erasNameRegex=xr,ma.erasNarrowRegex=Ur,ma.months=st,ma.monthsShort=ot,ma.monthsParse=ut,ma.monthsRegex=ft,ma.monthsShortRegex=mt,ma.week=St,ma.firstDayOfYear=Dt,ma.firstDayOfWeek=Mt,ma.weekdays=It,ma.weekdaysMin=Gt,ma.weekdaysShort=jt,ma.weekdaysParse=$t,ma.weekdaysRegex=Zt,ma.weekdaysShortRegex=Xt,ma.weekdaysMinRegex=Kt,ma.isPM=ii,ma.meridiem=ai,pi("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")}}),
604
+ function ga(e,t,i,n){"boolean"==typeof e?(c(t)&&(i=t,t=void 0),t=t||""):(i=t=e,e=!1,c(t)&&(i=t,t=void 0),t=t||"");var r,a=bi(),s=e?a._week.dow:0,o=[];if(null!=i)return fa(t,(i+s)%7,n,"day");for(r=0;r<7;r++)o[r]=fa(t,(r+s)%7,n,"day");return o}function ya(e,t){return pa(e,t,"months")}function ba(e,t){return pa(e,t,"monthsShort")}function va(e,t,i){return ga(e,t,i,"weekdays")}function _a(e,t,i){return ga(e,t,i,"weekdaysShort")}function La(e,t,i){return ga(e,t,i,"weekdaysMin")}ma.calendar=x,ma.longDateFormat=W,ma.invalidDate=q,ma.ordinal=J,ma.preparse=da,ma.postformat=da,ma.relativeTime=ee,ma.pastFuture=te,ma.set=A,ma.eras=Pr,ma.erasParse=Ar,ma.erasConvertYear=Hr,ma.erasAbbrRegex=Br,ma.erasNameRegex=Nr,ma.erasNarrowRegex=Ur,ma.months=st,ma.monthsShort=ot,ma.monthsParse=ut,ma.monthsRegex=ft,ma.monthsShortRegex=mt,ma.week=St,ma.firstDayOfYear=Dt,ma.firstDayOfWeek=Mt,ma.weekdays=Yt,ma.weekdaysMin=Gt,ma.weekdaysShort=jt,ma.weekdaysParse=Ft,ma.weekdaysRegex=Zt,ma.weekdaysShortRegex=qt,ma.weekdaysMinRegex=Xt,ma.isPM=ii,ma.meridiem=ai,pi("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")}}),
603
605
  // Side effect imports
604
606
  n.lang=S("moment.lang is deprecated. Use moment.locale instead.",pi),n.langData=S("moment.langData is deprecated. Use moment.localeData instead.",bi);var wa=Math.abs;function Ea(){var e=this._data;return this._milliseconds=wa(this._milliseconds),this._days=wa(this._days),this._months=wa(this._months),e.milliseconds=wa(e.milliseconds),e.seconds=wa(e.seconds),e.minutes=wa(e.minutes),e.hours=wa(e.hours),e.months=wa(e.months),e.years=wa(e.years),this}function Ta(e,t,i,n){var r=Pn(t,i);return e._milliseconds+=n*r._milliseconds,e._days+=n*r._days,e._months+=n*r._months,e._bubble()}
605
607
  // supports only 2.0-style add(1, 's') or add(duration)
@@ -626,7 +628,7 @@ t=this._days+Math.round(Aa(this._months)),e){case"week":return t/7+n/6048e5;case
626
628
  // Math.floor prevents floating point math errors here
627
629
  case"millisecond":return Math.floor(864e5*t)+n;default:throw new Error("Unknown unit "+e)}}
628
630
  // TODO: Use this.as('ms')?
629
- function Ca(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*he(this._months/12):NaN}function Oa(e){return function(){return this.as(e)}}var Na=Oa("ms"),Ra=Oa("s"),xa=Oa("m"),Ba=Oa("h"),Ua=Oa("d"),Ya=Oa("w"),Ia=Oa("M"),ja=Oa("Q"),Ga=Oa("y");function Fa(){return Pn(this)}function $a(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function za(e){return function(){return this.isValid()?this._data[e]:NaN}}var Va=za("milliseconds"),Wa=za("seconds"),Za=za("minutes"),Xa=za("hours"),Ka=za("days"),qa=za("months"),Ja=za("years");function Qa(){return ce(this.days()/7)}var es=Math.round,ts={ss:44,// a few seconds to seconds
631
+ function Ca(){return this.isValid()?this._milliseconds+864e5*this._days+this._months%12*2592e6+31536e6*he(this._months/12):NaN}function Oa(e){return function(){return this.as(e)}}var xa=Oa("ms"),Ra=Oa("s"),Na=Oa("m"),Ba=Oa("h"),Ua=Oa("d"),Ia=Oa("w"),Ya=Oa("M"),ja=Oa("Q"),Ga=Oa("y");function $a(){return Pn(this)}function Fa(e){return e=re(e),this.isValid()?this[e+"s"]():NaN}function za(e){return function(){return this.isValid()?this._data[e]:NaN}}var Va=za("milliseconds"),Wa=za("seconds"),Za=za("minutes"),qa=za("hours"),Xa=za("days"),Ka=za("months"),Ja=za("years");function Qa(){return ce(this.days()/7)}var es=Math.round,ts={ss:44,// a few seconds to seconds
630
632
  s:45,// seconds to minute
631
633
  m:45,// minutes to hour
632
634
  h:22,// hours to day
@@ -652,13 +654,13 @@ e=ce(l/60),t=ce(e/60),l%=60,e%=60,
652
654
  // 12 months -> 1 year
653
655
  i=ce(c/12),c%=12,
654
656
  // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js
655
- n=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=h<0?"-":"",a=ls(this._months)!==ls(h)?"-":"",s=ls(this._days)!==ls(h)?"-":"",o=ls(this._milliseconds)!==ls(h)?"-":"",r+"P"+(i?a+i+"Y":"")+(c?a+c+"M":"")+(u?s+u+"D":"")+(t||e||l?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(l?o+n+"S":"")):"P0D"}var cs=on.prototype;return cs.isValid=an,cs.abs=Ea,cs.add=Sa,cs.subtract=ka,cs.as=Ha,cs.asMilliseconds=Na,cs.asSeconds=Ra,cs.asMinutes=xa,cs.asHours=Ba,cs.asDays=Ua,cs.asWeeks=Ya,cs.asMonths=Ia,cs.asQuarters=ja,cs.asYears=Ga,cs.valueOf=Ca,cs._bubble=Da,cs.clone=Fa,cs.get=$a,cs.milliseconds=Va,cs.seconds=Wa,cs.minutes=Za,cs.hours=Xa,cs.days=Ka,cs.weeks=Qa,cs.months=qa,cs.years=Ja,cs.humanize=ss,cs.toISOString=us,cs.toString=us,cs.toJSON=us,cs.locale=or,cs.localeData=ur,cs.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",us),cs.lang=lr,
657
+ n=l?l.toFixed(3).replace(/\.?0+$/,""):"",r=h<0?"-":"",a=ls(this._months)!==ls(h)?"-":"",s=ls(this._days)!==ls(h)?"-":"",o=ls(this._milliseconds)!==ls(h)?"-":"",r+"P"+(i?a+i+"Y":"")+(c?a+c+"M":"")+(u?s+u+"D":"")+(t||e||l?"T":"")+(t?o+t+"H":"")+(e?o+e+"M":"")+(l?o+n+"S":"")):"P0D"}var cs=on.prototype;return cs.isValid=an,cs.abs=Ea,cs.add=Sa,cs.subtract=ka,cs.as=Ha,cs.asMilliseconds=xa,cs.asSeconds=Ra,cs.asMinutes=Na,cs.asHours=Ba,cs.asDays=Ua,cs.asWeeks=Ia,cs.asMonths=Ya,cs.asQuarters=ja,cs.asYears=Ga,cs.valueOf=Ca,cs._bubble=Da,cs.clone=$a,cs.get=Fa,cs.milliseconds=Va,cs.seconds=Wa,cs.minutes=Za,cs.hours=qa,cs.days=Xa,cs.weeks=Qa,cs.months=Ka,cs.years=Ja,cs.humanize=ss,cs.toISOString=us,cs.toString=us,cs.toJSON=us,cs.locale=or,cs.localeData=ur,cs.toIsoString=S("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",us),cs.lang=lr,
656
658
  // FORMATTING
657
- I("X",0,0,"unix"),I("x",0,0,"valueOf"),
659
+ Y("X",0,0,"unix"),Y("x",0,0,"valueOf"),
658
660
  // PARSING
659
- Re("x",Ae),Re("X",Oe),Ie("X",(function(e,t,i){i._d=new Date(1e3*parseFloat(e))})),Ie("x",(function(e,t,i){i._d=new Date(he(e))})),
661
+ Re("x",Ae),Re("X",Oe),Ye("X",(function(e,t,i){i._d=new Date(1e3*parseFloat(e))})),Ye("x",(function(e,t,i){i._d=new Date(he(e))})),
660
662
  //! moment.js
661
- n.version="2.29.4",r(Xi),n.fn=ua,n.min=Qi,n.max=en,n.now=tn,n.utc=f,n.unix=ca,n.months=ya,n.isDate=h,n.locale=pi,n.invalid=b,n.duration=Pn,n.isMoment=E,n.weekdays=va,n.parseZone=ha,n.localeData=bi,n.isDuration=ln,n.monthsShort=ba,n.weekdaysMin=La,n.defineLocale=gi,n.updateLocale=yi,n.locales=vi,n.weekdaysShort=_a,n.normalizeUnits=re,n.relativeTimeRounding=rs,n.relativeTimeThreshold=as,n.calendarFormat=Gn,n.prototype=ua,
663
+ n.version="2.29.4",r(qi),n.fn=ua,n.min=Qi,n.max=en,n.now=tn,n.utc=f,n.unix=ca,n.months=ya,n.isDate=h,n.locale=pi,n.invalid=b,n.duration=Pn,n.isMoment=E,n.weekdays=va,n.parseZone=ha,n.localeData=bi,n.isDuration=ln,n.monthsShort=ba,n.weekdaysMin=La,n.defineLocale=gi,n.updateLocale=yi,n.locales=vi,n.weekdaysShort=_a,n.normalizeUnits=re,n.relativeTimeRounding=rs,n.relativeTimeThreshold=as,n.calendarFormat=Gn,n.prototype=ua,
662
664
  // currently HTML5 input type only supports 24-hour formats
663
665
  n.HTML5_FMT={DATETIME_LOCAL:"YYYY-MM-DDTHH:mm",// <input type="datetime-local" />
664
666
  DATETIME_LOCAL_SECONDS:"YYYY-MM-DDTHH:mm:ss",// <input type="datetime-local" step="1" />
@@ -668,7 +670,7 @@ TIME:"HH:mm",// <input type="time" />
668
670
  TIME_SECONDS:"HH:mm:ss",// <input type="time" step="1" />
669
671
  TIME_MS:"HH:mm:ss.SSS",// <input type="time" step="0.001" />
670
672
  WEEK:"GGGG-[W]WW",// <input type="week" />
671
- MONTH:"YYYY-MM"},n}()}));const z=[];
673
+ MONTH:"YYYY-MM"},n}()}));const V=[];
672
674
  /**
673
675
  * Creates a `Readable` store that allows reading by subscription.
674
676
  * @param value initial value
@@ -679,24 +681,24 @@ MONTH:"YYYY-MM"},n}()}));const z=[];
679
681
  * @param {*=}value initial value
680
682
  * @param {StartStopNotifier=} start
681
683
  */
682
- function V(t,i=e){let n;const r=new Set;function s(e){if(a(t,e)&&(t=e,n)){// store is ready
683
- const e=!z.length;for(const e of r)e[1](),z.push(e,t);if(e){for(let e=0;e<z.length;e+=2)z[e][0](z[e+1]);z.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(a,o=e){const l=[a,o];return r.add(l),1===r.size&&(n=i(s)||e),a(t),()=>{r.delete(l),0===r.size&&n&&(n(),n=null)}}}}function W(t,i,a){const s=!Array.isArray(t),o=s?[t]:t,u=i.length<2;return c=t=>{let a=!1;const c=[];let h=0,d=e;const m=()=>{if(h)return;d();const n=i(s?c[0]:c,t);u?t(n):d=r(n)?n:e},f=o.map(((e,t)=>l(e,(e=>{c[t]=e,h&=~(1<<t),a&&m()}),(()=>{h|=1<<t}))));return a=!0,m(),function(){n(f),d(),
684
+ function W(t,i=e){let n;const r=new Set;function s(e){if(a(t,e)&&(t=e,n)){// store is ready
685
+ const e=!V.length;for(const e of r)e[1](),V.push(e,t);if(e){for(let e=0;e<V.length;e+=2)V[e][0](V[e+1]);V.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(a,o=e){const l=[a,o];return r.add(l),1===r.size&&(n=i(s)||e),a(t),()=>{r.delete(l),0===r.size&&n&&(n(),n=null)}}}}function Z(t,i,a){const s=!Array.isArray(t),o=s?[t]:t,u=i.length<2;return c=t=>{let a=!1;const c=[];let h=0,d=e;const m=()=>{if(h)return;d();const n=i(s?c[0]:c,t);u?t(n):d=r(n)?n:e},f=o.map(((e,t)=>l(e,(e=>{c[t]=e,h&=~(1<<t),a&&m()}),(()=>{h|=1<<t}))));return a=!0,m(),function(){n(f),d(),
684
686
  // We need to set this to false because callbacks can still happen despite having unsubscribed:
685
687
  // Callbacks might already be placed in the queue which doesn't know it should no longer
686
688
  // invoke this derived store.
687
- a=!1}},{subscribe:V(a,c).subscribe};var c}var Z=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===X}(e)}
689
+ a=!1}},{subscribe:W(a,c).subscribe};var c}var q=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===X}(e)}
688
690
  // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
689
- (e)};var X="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function K(e,t){return!1!==t.clone&&t.isMergeableObject(e)?te((i=e,Array.isArray(i)?[]:{}),e,t):e;var i}function q(e,t,i){return e.concat(t).map((function(e){return K(e,i)}))}function J(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function Q(e,t){try{return t in e}catch(e){return!1}}
691
+ (e)};var X="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function K(e,t){return!1!==t.clone&&t.isMergeableObject(e)?ie((i=e,Array.isArray(i)?[]:{}),e,t):e;var i}function J(e,t,i){return e.concat(t).map((function(e){return K(e,i)}))}function Q(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function ee(e,t){try{return t in e}catch(e){return!1}}
690
692
  // Protects from prototype poisoning and unexpected merging up the prototype chain.
691
- function ee(e,t,i){var n={};return i.isMergeableObject(e)&&J(e).forEach((function(t){n[t]=K(e[t],i)})),J(t).forEach((function(r){(function(e,t){return Q(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));// and also unsafe if they're nonenumerable.
692
- })(e,r)||(Q(e,r)&&i.isMergeableObject(t[r])?n[r]=function(e,t){if(!t.customMerge)return te;var i=t.customMerge(e);return"function"==typeof i?i:te}(r,i)(e[r],t[r],i):n[r]=K(t[r],i))})),n}function te(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||q,i.isMergeableObject=i.isMergeableObject||Z,
693
+ function te(e,t,i){var n={};return i.isMergeableObject(e)&&Q(e).forEach((function(t){n[t]=K(e[t],i)})),Q(t).forEach((function(r){(function(e,t){return ee(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));// and also unsafe if they're nonenumerable.
694
+ })(e,r)||(ee(e,r)&&i.isMergeableObject(t[r])?n[r]=function(e,t){if(!t.customMerge)return ie;var i=t.customMerge(e);return"function"==typeof i?i:ie}(r,i)(e[r],t[r],i):n[r]=K(t[r],i))})),n}function ie(e,t,i){(i=i||{}).arrayMerge=i.arrayMerge||J,i.isMergeableObject=i.isMergeableObject||q,
693
695
  // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
694
696
  // implementations can use it. The caller may not replace it.
695
- i.cloneUnlessOtherwiseSpecified=K;var n=Array.isArray(t);return n===Array.isArray(e)?n?i.arrayMerge(e,t,i):ee(e,t,i):K(t,i)}te.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,i){return te(e,i,t)}),{})};var ie=te,ne=function(e,t){return ne=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},ne(e,t)};function re(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}ne(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var ae,se,oe,le=function(){return le=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},le.apply(this,arguments)};function ue(e,t,i){if(i||2===arguments.length)for(var n,r=0,a=t.length;r<a;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}
697
+ i.cloneUnlessOtherwiseSpecified=K;var n=Array.isArray(t);return n===Array.isArray(e)?n?i.arrayMerge(e,t,i):te(e,t,i):K(t,i)}ie.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,i){return ie(e,i,t)}),{})};var ne=ie,re=function(e,t){return re=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i])},re(e,t)};function ae(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function i(){this.constructor=e}re(e,t),e.prototype=null===t?Object.create(t):(i.prototype=t.prototype,new i)}var se,oe,le,ue=function(){return ue=Object.assign||function(e){for(var t,i=1,n=arguments.length;i<n;i++)for(var r in t=arguments[i])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},ue.apply(this,arguments)};function ce(e,t,i){if(i||2===arguments.length)for(var n,r=0,a=t.length;r<a;r++)!n&&r in t||(n||(n=Array.prototype.slice.call(t,0,r)),n[r]=t[r]);return e.concat(n||Array.prototype.slice.call(t))}
696
698
  /**
697
699
  * Type Guards
698
700
  */
699
- function ce(e){return e.type===se.literal}function he(e){return e.type===se.argument}function de(e){return e.type===se.number}function me(e){return e.type===se.date}function fe(e){return e.type===se.time}function pe(e){return e.type===se.select}function ge(e){return e.type===se.plural}function ye(e){return e.type===se.pound}function be(e){return e.type===se.tag}function ve(e){return!(!e||"object"!=typeof e||e.type!==oe.number)}function _e(e){return!(!e||"object"!=typeof e||e.type!==oe.dateTime)}
701
+ function he(e){return e.type===oe.literal}function de(e){return e.type===oe.argument}function me(e){return e.type===oe.number}function fe(e){return e.type===oe.date}function pe(e){return e.type===oe.time}function ge(e){return e.type===oe.select}function ye(e){return e.type===oe.plural}function be(e){return e.type===oe.pound}function ve(e){return e.type===oe.tag}function _e(e){return!(!e||"object"!=typeof e||e.type!==le.number)}function Le(e){return!(!e||"object"!=typeof e||e.type!==le.dateTime)}
700
702
  // @generated from regex-gen.ts
701
703
  "function"==typeof SuppressedError&&SuppressedError,function(e){
702
704
  /** Argument is unclosed (e.g. `{0`) */
@@ -758,7 +760,7 @@ e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",
758
760
  /** The closing tag does not match the opening tag. (e.g. `<bold>foo</italic>`) */
759
761
  e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",
760
762
  /** The opening tag has unmatched closing tag. (e.g. `<bold>foo`) */
761
- e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(ae||(ae={})),function(e){
763
+ e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(se||(se={})),function(e){
762
764
  /**
763
765
  * Raw text
764
766
  */
@@ -795,7 +797,7 @@ e[e.pound=7]="pound",
795
797
  /**
796
798
  * XML-like tag
797
799
  */
798
- e[e.tag=8]="tag"}(se||(se={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(oe||(oe={}));var Le=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,we=/(?:[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;
800
+ e[e.tag=8]="tag"}(oe||(oe={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(le||(le={}));var we=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,Ee=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
799
801
  /**
800
802
  * https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
801
803
  * Credit: https://github.com/caridy/intl-datetimeformat-pattern/blob/master/index.js
@@ -807,7 +809,7 @@ e[e.tag=8]="tag"}(se||(se={})),function(e){e[e.number=0]="number",e[e.dateTime=1
807
809
  * @public
808
810
  * @param skeleton skeleton string
809
811
  */
810
- function Ee(e){var t={};return e.replace(we,(function(e){var i=e.length;switch(e[0]){
812
+ function Te(e){var t={};return e.replace(Ee,(function(e){var i=e.length;switch(e[0]){
811
813
  // Era
812
814
  case"G":t.era=4===i?"long":5===i?"narrow":"short";break;
813
815
  // Year
@@ -841,33 +843,33 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
841
843
  case"x":// 1, 2, 3, 4: The ISO8601 varios formats
842
844
  throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}
843
845
  // @generated from regex-gen.ts
844
- var Te=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Se=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,ke=/^(@+)?(\+|#+)?[rs]?$/g,Me=/(\*)(0+)|(#+)(0+)|(0+)/g,De=/^(0+)$/;function Pe(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(ke,(function(e,i,n){
846
+ var Se=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var ke=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Me=/^(@+)?(\+|#+)?[rs]?$/g,De=/(\*)(0+)|(#+)(0+)|(0+)/g,Pe=/^(0+)$/;function Ae(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Me,(function(e,i,n){
845
847
  // @@@ case
846
- return"string"!=typeof n?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):"+"===n?t.minimumSignificantDigits=i.length:"#"===i[0]?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+("string"==typeof n?n.length:0)),""})),t}function Ae(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 He(e){
848
+ return"string"!=typeof n?(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length):"+"===n?t.minimumSignificantDigits=i.length:"#"===i[0]?t.maximumSignificantDigits=i.length:(t.minimumSignificantDigits=i.length,t.maximumSignificantDigits=i.length+("string"==typeof n?n.length:0)),""})),t}function He(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 Ce(e){
847
849
  // Engineering
848
- 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 i=e.slice(0,2);if("+!"===i?(t.signDisplay="always",e=e.slice(2)):"+?"===i&&(t.signDisplay="exceptZero",e=e.slice(2)),!De.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ce(e){var t=Ae(e);return t||{}}
850
+ 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 i=e.slice(0,2);if("+!"===i?(t.signDisplay="always",e=e.slice(2)):"+?"===i&&(t.signDisplay="exceptZero",e=e.slice(2)),!Pe.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Oe(e){var t=He(e);return t||{}}
849
851
  /**
850
852
  * https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options
851
- */function Oe(e){for(var t={},i=0,n=e;i<n.length;i++){var r=n[i];switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.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=r.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=le(le(le({},t),{notation:"scientific"}),r.options.reduce((function(e,t){return le(le({},e),Ce(t))}),{}));continue;case"engineering":t=le(le(le({},t),{notation:"engineering"}),r.options.reduce((function(e,t){return le(le({},e),Ce(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
853
+ */function xe(e){for(var t={},i=0,n=e;i<n.length;i++){var r=n[i];switch(r.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=r.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=r.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=ue(ue(ue({},t),{notation:"scientific"}),r.options.reduce((function(e,t){return ue(ue({},e),Oe(t))}),{}));continue;case"engineering":t=ue(ue(ue({},t),{notation:"engineering"}),r.options.reduce((function(e,t){return ue(ue({},e),Oe(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
852
854
  // https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
853
855
  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(r.options[0]);continue;
854
856
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
855
- case"integer-width":if(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(Me,(function(e,i,n,r,a,s){if(i)t.minimumIntegerDigits=n.length;else{if(r&&a)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}
857
+ case"integer-width":if(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(De,(function(e,i,n,r,a,s){if(i)t.minimumIntegerDigits=n.length;else{if(r&&a)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}
856
858
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
857
- if(De.test(r.stem))t.minimumIntegerDigits=r.stem.length;else if(Se.test(r.stem)){
859
+ if(Pe.test(r.stem))t.minimumIntegerDigits=r.stem.length;else if(ke.test(r.stem)){
858
860
  // Precision
859
861
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#fraction-precision
860
862
  // precision-integer case
861
- if(r.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(Se,(function(e,i,n,r,a,s){
863
+ if(r.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(ke,(function(e,i,n,r,a,s){
862
864
  // .000* case (before ICU67 it was .000+)
863
865
  return"*"===n?t.minimumFractionDigits=i.length:r&&"#"===r[0]?t.maximumFractionDigits=r.length:a&&s?(t.minimumFractionDigits=a.length,t.maximumFractionDigits=a.length+s.length):(t.minimumFractionDigits=i.length,t.maximumFractionDigits=i.length),""}));var a=r.options[0];
864
866
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#trailing-zero-display
865
- "w"===a?t=le(le({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=le(le({},t),Pe(a)))}
867
+ "w"===a?t=ue(ue({},t),{trailingZeroDisplay:"stripIfInteger"}):a&&(t=ue(ue({},t),Ae(a)))}
866
868
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
867
- else if(ke.test(r.stem))t=le(le({},t),Pe(r.stem));else{var s=Ae(r.stem);s&&(t=le(le({},t),s));var o=He(r.stem);o&&(t=le(le({},t),o))}}return t}
869
+ else if(Me.test(r.stem))t=ue(ue({},t),Ae(r.stem));else{var s=He(r.stem);s&&(t=ue(ue({},t),s));var o=Ce(r.stem);o&&(t=ue(ue({},t),o))}}return t}
868
870
  // @generated from time-data-gen.ts
869
871
  // prettier-ignore
870
- var Ne,Re={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"]};
872
+ var Re,Ne={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"]};
871
873
  /**
872
874
  * Returns the best matching date time pattern if a date time skeleton
873
875
  * pattern is provided with a locale. Follows the Unicode specification:
@@ -880,7 +882,7 @@ var Ne,Re={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H
880
882
  * of the given `locale` to the corresponding time pattern.
881
883
  * @param locale
882
884
  */
883
- function xe(e){var t=e.hourCycle;if(void 0===t&&
885
+ function Be(e){var t=e.hourCycle;if(void 0===t&&
884
886
  // @ts-ignore hourCycle(s) is not identified yet
885
887
  e.hourCycles&&
886
888
  // @ts-ignore
@@ -888,37 +890,37 @@ e.hourCycles.length&&(
888
890
  // @ts-ignore
889
891
  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")}
890
892
  // TODO: Once hourCycle is fully supported remove the following with data generation
891
- var i,n=e.language;return"root"!==n&&(i=e.maximize().region),(Re[i||""]||Re[n||""]||Re["".concat(n,"-001")]||Re["001"])[0]}var Be=new RegExp("^".concat(Le.source,"*")),Ue=new RegExp("".concat(Le.source,"*$"));function Ye(e,t){return{start:e,end:t}}
893
+ var i,n=e.language;return"root"!==n&&(i=e.maximize().region),(Ne[i||""]||Ne[n||""]||Ne["".concat(n,"-001")]||Ne["001"])[0]}var Ue=new RegExp("^".concat(we.source,"*")),Ie=new RegExp("".concat(we.source,"*$"));function Ye(e,t){return{start:e,end:t}}
892
894
  // #region Ponyfills
893
895
  // Consolidate these variables up top for easier toggling during debugging
894
- var Ie=!!String.prototype.startsWith,je=!!String.fromCodePoint,Ge=!!Object.fromEntries,Fe=!!String.prototype.codePointAt,$e=!!String.prototype.trimStart,ze=!!String.prototype.trimEnd,Ve=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},We=!0;try{
896
+ var je=!!String.prototype.startsWith,Ge=!!String.fromCodePoint,$e=!!Object.fromEntries,Fe=!!String.prototype.codePointAt,ze=!!String.prototype.trimStart,Ve=!!String.prototype.trimEnd,We=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Ze=!0;try{
895
897
  /**
896
898
  * legacy Edge or Xbox One browser
897
899
  * Unicode flag support: supported
898
900
  * Pattern_Syntax support: not supported
899
901
  * See https://github.com/formatjs/formatjs/issues/2822
900
902
  */
901
- We="a"===(null===(Ne=tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Ne?void 0:Ne[0])}catch(e){We=!1}var Ze,Xe=Ie?// Native
903
+ Ze="a"===(null===(Re=it("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Re?void 0:Re[0])}catch(e){Ze=!1}var qe,Xe=je?// Native
902
904
  function(e,t,i){return e.startsWith(t,i)}:// For IE11
903
- function(e,t,i){return e.slice(i,i+t.length)===t},Ke=je?String.fromCodePoint:// IE11
904
- function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,n="",r=e.length,a=0;r>a;){if((i=e[a++])>1114111)throw RangeError(i+" is not a valid code point");n+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return n},qe=
905
+ function(e,t,i){return e.slice(i,i+t.length)===t},Ke=Ge?String.fromCodePoint:// IE11
906
+ function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var i,n="",r=e.length,a=0;r>a;){if((i=e[a++])>1114111)throw RangeError(i+" is not a valid code point");n+=i<65536?String.fromCharCode(i):String.fromCharCode(55296+((i-=65536)>>10),i%1024+56320)}return n},Je=
905
907
  // native
906
- Ge?Object.fromEntries:// Ponyfill
907
- function(e){for(var t={},i=0,n=e;i<n.length;i++){var r=n[i],a=r[0],s=r[1];t[a]=s}return t},Je=Fe?// Native
908
+ $e?Object.fromEntries:// Ponyfill
909
+ function(e){for(var t={},i=0,n=e;i<n.length;i++){var r=n[i],a=r[0],s=r[1];t[a]=s}return t},Qe=Fe?// Native
908
910
  function(e,t){return e.codePointAt(t)}:// IE 11
909
- function(e,t){var i=e.length;if(!(t<0||t>=i)){var n,r=e.charCodeAt(t);return r<55296||r>56319||t+1===i||(n=e.charCodeAt(t+1))<56320||n>57343?r:n-56320+(r-55296<<10)+65536}},Qe=$e?// Native
911
+ function(e,t){var i=e.length;if(!(t<0||t>=i)){var n,r=e.charCodeAt(t);return r<55296||r>56319||t+1===i||(n=e.charCodeAt(t+1))<56320||n>57343?r:n-56320+(r-55296<<10)+65536}},et=ze?// Native
910
912
  function(e){return e.trimStart()}:// Ponyfill
911
- function(e){return e.replace(Be,"")},et=ze?// Native
913
+ function(e){return e.replace(Ue,"")},tt=Ve?// Native
912
914
  function(e){return e.trimEnd()}:// Ponyfill
913
- function(e){return e.replace(Ue,"")};
915
+ function(e){return e.replace(Ie,"")};
914
916
  // Prevent minifier to translate new RegExp to literal form that might cause syntax error on IE11.
915
- function tt(e,t){return new RegExp(e,t)}
917
+ function it(e,t){return new RegExp(e,t)}
916
918
  // #endregion
917
- if(We){
919
+ if(Ze){
918
920
  // Native
919
- var it=tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Ze=function(e,t){var i;return it.lastIndex=t,null!==(i=it.exec(e)[1])&&void 0!==i?i:""}}else
921
+ var nt=it("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");qe=function(e,t){var i;return nt.lastIndex=t,null!==(i=nt.exec(e)[1])&&void 0!==i?i:""}}else
920
922
  // IE11
921
- Ze=function(e,t){for(var i=[];;){var n=Je(e,t);if(void 0===n||at(n)||st(n))break;i.push(n),t+=n>=65536?2:1}return Ke.apply(void 0,i)};var nt=/** @class */function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,i){for(var n=[];!this.isEOF();){var r=this.char();if(123/* `{` */===r){if((a=this.parseArgument(e,i)).err)return a;n.push(a.val)}else{if(125/* `}` */===r&&e>0)break;if(35/* `#` */!==r||"plural"!==t&&"selectordinal"!==t){if(60/* `<` */===r&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(ae.UNMATCHED_CLOSING_TAG,Ye(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===r&&!this.ignoreTag&&rt(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;n.push(a.val)}else{var a;if((a=this.parseLiteral(e,t)).err)return a;n.push(a.val)}}else{var s=this.clonePosition();this.bump(),n.push({type:se.pound,location:Ye(s,this.clonePosition())})}}}return{val:n,err:null}},
923
+ qe=function(e,t){for(var i=[];;){var n=Qe(e,t);if(void 0===n||st(n)||ot(n))break;i.push(n),t+=n>=65536?2:1}return Ke.apply(void 0,i)};var rt=/** @class */function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,i){for(var n=[];!this.isEOF();){var r=this.char();if(123/* `{` */===r){if((a=this.parseArgument(e,i)).err)return a;n.push(a.val)}else{if(125/* `}` */===r&&e>0)break;if(35/* `#` */!==r||"plural"!==t&&"selectordinal"!==t){if(60/* `<` */===r&&!this.ignoreTag&&47===this.peek()){if(i)break;return this.error(se.UNMATCHED_CLOSING_TAG,Ye(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===r&&!this.ignoreTag&&at(this.peek()||0)){if((a=this.parseTag(e,t)).err)return a;n.push(a.val)}else{var a;if((a=this.parseLiteral(e,t)).err)return a;n.push(a.val)}}else{var s=this.clonePosition();this.bump(),n.push({type:oe.pound,location:Ye(s,this.clonePosition())})}}}return{val:n,err:null}},
922
924
  /**
923
925
  * A tag name must start with an ASCII lower/upper case letter. The grammar is based on the
924
926
  * [custom element name][] except that a dash is NOT always mandatory and uppercase letters
@@ -940,14 +942,14 @@ Ze=function(e,t){for(var i=[];;){var n=Je(e,t);if(void 0===n||at(n)||st(n))break
940
942
  e.prototype.parseTag=function(e,t){var i=this.clonePosition();this.bump();// `<`
941
943
  var n=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))
942
944
  // Self closing tag
943
- return{val:{type:se.literal,value:"<".concat(n,"/>"),location:Ye(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(e+1,t,!0);if(r.err)return r;var a=r.val,s=this.clonePosition();
945
+ return{val:{type:oe.literal,value:"<".concat(n,"/>"),location:Ye(i,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(e+1,t,!0);if(r.err)return r;var a=r.val,s=this.clonePosition();
944
946
  // Expecting a close tag
945
- if(this.bumpIf("</")){if(this.isEOF()||!rt(this.char()))return this.error(ae.INVALID_TAG,Ye(s,this.clonePosition()));var o=this.clonePosition();return n!==this.parseTagName()?this.error(ae.UNMATCHED_CLOSING_TAG,Ye(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:se.tag,value:n,children:a,location:Ye(i,this.clonePosition())},err:null}:this.error(ae.INVALID_TAG,Ye(s,this.clonePosition())))}return this.error(ae.UNCLOSED_TAG,Ye(i,this.clonePosition()))}return this.error(ae.INVALID_TAG,Ye(i,this.clonePosition()))},
947
+ if(this.bumpIf("</")){if(this.isEOF()||!at(this.char()))return this.error(se.INVALID_TAG,Ye(s,this.clonePosition()));var o=this.clonePosition();return n!==this.parseTagName()?this.error(se.UNMATCHED_CLOSING_TAG,Ye(o,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:oe.tag,value:n,children:a,location:Ye(i,this.clonePosition())},err:null}:this.error(se.INVALID_TAG,Ye(s,this.clonePosition())))}return this.error(se.UNCLOSED_TAG,Ye(i,this.clonePosition()))}return this.error(se.INVALID_TAG,Ye(i,this.clonePosition()))},
946
948
  /**
947
949
  * This method assumes that the caller has peeked ahead for the first tag character.
948
950
  */
949
951
  e.prototype.parseTagName=function(){var e,t=this.offset();// the first tag name character
950
- for(this.bump();!this.isEOF()&&(45/* '-' */===(e=this.char())||46/* '.' */===e||e>=48&&e<=57/* 0..9 */||95/* '_' */===e||e>=97&&e<=122/** a..z */||e>=65&&e<=90/* A..Z */||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var i=this.clonePosition(),n="";;){var r=this.tryParseQuote(t);if(r)n+=r;else{var a=this.tryParseUnquoted(e,t);if(a)n+=a;else{var s=this.tryParseLeftAngleBracket();if(!s)break;n+=s}}}var o=Ye(i,this.clonePosition());return{val:{type:se.literal,value:n,location:o},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(rt(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
952
+ for(this.bump();!this.isEOF()&&(45/* '-' */===(e=this.char())||46/* '.' */===e||e>=48&&e<=57/* 0..9 */||95/* '_' */===e||e>=97&&e<=122/** a..z */||e>=65&&e<=90/* A..Z */||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var i=this.clonePosition(),n="";;){var r=this.tryParseQuote(t);if(r)n+=r;else{var a=this.tryParseUnquoted(e,t);if(a)n+=a;else{var s=this.tryParseLeftAngleBracket();if(!s)break;n+=s}}}var o=Ye(i,this.clonePosition());return{val:{type:oe.literal,value:n,location:o},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(at(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
951
953
  /** See `parseTag` function docs. */},
952
954
  /**
953
955
  * Starting with ICU 4.8, an ASCII apostrophe only starts quoted text if it immediately precedes
@@ -970,66 +972,66 @@ for(this.bump();!this.isEOF();){var i=this.char();if(39/* `'` */===i){if(39/* `'
970
972
  this.bump();break}t.push(39),
971
973
  // Bump one more time because we need to skip 2 characters.
972
974
  this.bump()}else t.push(i);this.bump()}return Ke.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var i=this.char();return 60/* `<` */===i||123/* `{` */===i||35/* `#` */===i&&("plural"===t||"selectordinal"===t)||125/* `}` */===i&&e>0?null:(this.bump(),Ke(i))},e.prototype.parseArgument=function(e,t){var i=this.clonePosition();if(this.bump(),// `{`
973
- this.bumpSpace(),this.isEOF())return this.error(ae.EXPECT_ARGUMENT_CLOSING_BRACE,Ye(i,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(ae.EMPTY_ARGUMENT,Ye(i,this.clonePosition()));
975
+ this.bumpSpace(),this.isEOF())return this.error(se.EXPECT_ARGUMENT_CLOSING_BRACE,Ye(i,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(se.EMPTY_ARGUMENT,Ye(i,this.clonePosition()));
974
976
  // argument name
975
- var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(ae.MALFORMED_ARGUMENT,Ye(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ae.EXPECT_ARGUMENT_CLOSING_BRACE,Ye(i,this.clonePosition()));switch(this.char()){
977
+ var n=this.parseIdentifierIfPossible().value;if(!n)return this.error(se.MALFORMED_ARGUMENT,Ye(i,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(se.EXPECT_ARGUMENT_CLOSING_BRACE,Ye(i,this.clonePosition()));switch(this.char()){
976
978
  // Simple argument: `{name}`
977
979
  case 125/* `}` */:// `}`
978
- return this.bump(),{val:{type:se.argument,
980
+ return this.bump(),{val:{type:oe.argument,
979
981
  // value does not include the opening and closing braces.
980
982
  value:n,location:Ye(i,this.clonePosition())},err:null};
981
983
  // Argument with options: `{name, format, ...}`
982
984
  case 44/* `,` */:return this.bump(),// `,`
983
- this.bumpSpace(),this.isEOF()?this.error(ae.EXPECT_ARGUMENT_CLOSING_BRACE,Ye(i,this.clonePosition())):this.parseArgumentOptions(e,t,n,i);default:return this.error(ae.MALFORMED_ARGUMENT,Ye(i,this.clonePosition()))}},
985
+ this.bumpSpace(),this.isEOF()?this.error(se.EXPECT_ARGUMENT_CLOSING_BRACE,Ye(i,this.clonePosition())):this.parseArgumentOptions(e,t,n,i);default:return this.error(se.MALFORMED_ARGUMENT,Ye(i,this.clonePosition()))}},
984
986
  /**
985
987
  * Advance the parser until the end of the identifier, if it is currently on
986
988
  * an identifier character. Return an empty string otherwise.
987
989
  */
988
- e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=Ze(this.message,t),n=t+i.length;return this.bumpTo(n),{value:i,location:Ye(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,i,n){var r,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,o=this.clonePosition();
990
+ e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),i=qe(this.message,t),n=t+i.length;return this.bumpTo(n),{value:i,location:Ye(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,i,n){var r,a=this.clonePosition(),s=this.parseIdentifierIfPossible().value,o=this.clonePosition();
989
991
  // Parse this range:
990
992
  // {name, type, style}
991
993
  // ^---^
992
994
  switch(s){case"":
993
995
  // Expecting a style string number, date, time, plural, selectordinal, or select.
994
- return this.error(ae.EXPECT_ARGUMENT_TYPE,Ye(a,o));case"number":case"date":case"time":
996
+ return this.error(se.EXPECT_ARGUMENT_TYPE,Ye(a,o));case"number":case"date":case"time":
995
997
  // Parse this range:
996
998
  // {name, number, style}
997
999
  // ^-------^
998
- this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(m=et(y.val)).length)return this.error(ae.EXPECT_ARGUMENT_STYLE,Ye(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:Ye(u,this.clonePosition())}}if((b=this.tryParseArgumentClose(n)).err)return b;var c=Ye(n,this.clonePosition());
1000
+ this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(m=tt(y.val)).length)return this.error(se.EXPECT_ARGUMENT_STYLE,Ye(this.clonePosition(),this.clonePosition()));l={style:m,styleLocation:Ye(u,this.clonePosition())}}if((b=this.tryParseArgumentClose(n)).err)return b;var c=Ye(n,this.clonePosition());
999
1001
  // Extract style or skeleton
1000
1002
  if(l&&Xe(null==l?void 0:l.style,"::",0)){
1001
1003
  // Skeleton starts with `::`.
1002
- var h=Qe(l.style.slice(2));if("number"===s)return(y=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?y:{val:{type:se.number,value:i,location:c,style:y.val},err:null};if(0===h.length)return this.error(ae.EXPECT_DATE_TIME_SKELETON,c);var d=h;
1004
+ var h=et(l.style.slice(2));if("number"===s)return(y=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?y:{val:{type:oe.number,value:i,location:c,style:y.val},err:null};if(0===h.length)return this.error(se.EXPECT_DATE_TIME_SKELETON,c);var d=h;
1003
1005
  // Get "best match" pattern only if locale is passed, if not, let it
1004
1006
  // pass as-is where `parseDateTimeSkeleton()` will throw an error
1005
1007
  // for unsupported patterns.
1006
- this.locale&&(d=function(e,t){for(var i="",n=0;n<e.length;n++){var r=e.charAt(n);if("j"===r){for(var a=0;n+1<e.length&&e.charAt(n+1)===r;)a++,n++;var s=1+(1&a),o=a<2?1:3+(a>>1),l=xe(t);for("H"!=l&&"k"!=l||(o=0);o-- >0;)i+="a";for(;s-- >0;)i=l+i}else i+="J"===r?"H":r}return i}(h,this.locale));var m={type:oe.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Ee(d):{}};return{val:{type:"date"===s?se.date:se.time,value:i,location:c,style:m},err:null}}
1008
+ this.locale&&(d=function(e,t){for(var i="",n=0;n<e.length;n++){var r=e.charAt(n);if("j"===r){for(var a=0;n+1<e.length&&e.charAt(n+1)===r;)a++,n++;var s=1+(1&a),o=a<2?1:3+(a>>1),l=Be(t);for("H"!=l&&"k"!=l||(o=0);o-- >0;)i+="a";for(;s-- >0;)i=l+i}else i+="J"===r?"H":r}return i}(h,this.locale));var m={type:le.dateTime,pattern:d,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?Te(d):{}};return{val:{type:"date"===s?oe.date:oe.time,value:i,location:c,style:m},err:null}}
1007
1009
  // Regular style or no style.
1008
- return{val:{type:"number"===s?se.number:"date"===s?se.date:se.time,value:i,location:c,style:null!==(r=null==l?void 0:l.style)&&void 0!==r?r:null},err:null};case"plural":case"selectordinal":case"select":
1010
+ return{val:{type:"number"===s?oe.number:"date"===s?oe.date:oe.time,value:i,location:c,style:null!==(r=null==l?void 0:l.style)&&void 0!==r?r:null},err:null};case"plural":case"selectordinal":case"select":
1009
1011
  // Parse this range:
1010
1012
  // {name, plural, options}
1011
1013
  // ^---------^
1012
- var f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ae.EXPECT_SELECT_ARGUMENT_OPTIONS,Ye(f,le({},f)));this.bumpSpace();
1014
+ var f=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(se.EXPECT_SELECT_ARGUMENT_OPTIONS,Ye(f,ue({},f)));this.bumpSpace();
1013
1015
  // Parse offset:
1014
1016
  // {name, plural, offset:1, options}
1015
1017
  // ^-----^
1016
1018
  // or the first option:
1017
1019
  // {name, plural, one {...} other {...}}
1018
1020
  // ^--^
1019
- var p=this.parseIdentifierIfPossible(),g=0;if("select"!==s&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(ae.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ye(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(ae.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ae.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;
1021
+ var p=this.parseIdentifierIfPossible(),g=0;if("select"!==s&&"offset"===p.value){if(!this.bumpIf(":"))return this.error(se.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Ye(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(se.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,se.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;
1020
1022
  // Parse another identifier for option parsing
1021
- this.bumpSpace(),p=this.parseIdentifierIfPossible(),g=y.val}var b,v=this.tryParsePluralOrSelectOptions(e,s,t,p);if(v.err)return v;if((b=this.tryParseArgumentClose(n)).err)return b;var _=Ye(n,this.clonePosition());return"select"===s?{val:{type:se.select,value:i,options:qe(v.val),location:_},err:null}:{val:{type:se.plural,value:i,options:qe(v.val),offset:g,pluralType:"plural"===s?"cardinal":"ordinal",location:_},err:null};default:return this.error(ae.INVALID_ARGUMENT_TYPE,Ye(a,o))}},e.prototype.tryParseArgumentClose=function(e){
1023
+ this.bumpSpace(),p=this.parseIdentifierIfPossible(),g=y.val}var b,v=this.tryParsePluralOrSelectOptions(e,s,t,p);if(v.err)return v;if((b=this.tryParseArgumentClose(n)).err)return b;var _=Ye(n,this.clonePosition());return"select"===s?{val:{type:oe.select,value:i,options:Je(v.val),location:_},err:null}:{val:{type:oe.plural,value:i,options:Je(v.val),offset:g,pluralType:"plural"===s?"cardinal":"ordinal",location:_},err:null};default:return this.error(se.INVALID_ARGUMENT_TYPE,Ye(a,o))}},e.prototype.tryParseArgumentClose=function(e){
1022
1024
  // Parse: {value, number, ::currency/GBP }
1023
- return this.isEOF()||125/* `}` */!==this.char()?this.error(ae.EXPECT_ARGUMENT_CLOSING_BRACE,Ye(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
1025
+ return this.isEOF()||125/* `}` */!==this.char()?this.error(se.EXPECT_ARGUMENT_CLOSING_BRACE,Ye(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
1024
1026
  /**
1025
1027
  * See: https://github.com/unicode-org/icu/blob/af7ed1f6d2298013dc303628438ec4abe1f16479/icu4c/source/common/messagepattern.cpp#L659
1026
1028
  */
1027
1029
  e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39/* `'` */:
1028
1030
  // Treat apostrophe as quoting but include it in the style part.
1029
1031
  // Find the end of the quoted literal text.
1030
- this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ae.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Ye(i,this.clonePosition()));this.bump();break;case 123/* `{` */:e+=1,this.bump();break;case 125/* `}` */:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var i=[];try{i=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");
1032
+ this.bump();var i=this.clonePosition();if(!this.bumpUntil("'"))return this.error(se.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Ye(i,this.clonePosition()));this.bump();break;case 123/* `{` */:e+=1,this.bump();break;case 125/* `}` */:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var i=[];try{i=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");
1031
1033
  // Parse the skeleton
1032
- for(var t=[],i=0,n=e.split(Te).filter((function(e){return e.length>0}));i<n.length;i++){var r=n[i].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var a=r[0],s=r.slice(1),o=0,l=s;o<l.length;o++)if(0===l[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:s})}return t}(e)}catch(e){return this.error(ae.INVALID_NUMBER_SKELETON,t)}return{val:{type:oe.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?Oe(i):{}},err:null}},
1034
+ for(var t=[],i=0,n=e.split(Se).filter((function(e){return e.length>0}));i<n.length;i++){var r=n[i].split("/");if(0===r.length)throw new Error("Invalid number skeleton");for(var a=r[0],s=r.slice(1),o=0,l=s;o<l.length;o++)if(0===l[o].length)throw new Error("Invalid number skeleton");t.push({stem:a,options:s})}return t}(e)}catch(e){return this.error(se.INVALID_NUMBER_SKELETON,t)}return{val:{type:le.number,tokens:i,location:t,parsedOptions:this.shouldParseSkeletons?xe(i):{}},err:null}},
1033
1035
  /**
1034
1036
  * @param nesting_level The current nesting level of messages.
1035
1037
  * This can be positive when parsing message fragment in select or plural argument options.
@@ -1046,24 +1048,24 @@ e.prototype.tryParsePluralOrSelectOptions=function(e,t,i,n){
1046
1048
  // ^--^
1047
1049
  for(var r,a=!1,s=[],o=new Set,l=n.value,u=n.location;;){if(0===l.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;
1048
1050
  // Try parse `={number}` selector
1049
- var h=this.tryParseDecimalInteger(ae.EXPECT_PLURAL_ARGUMENT_SELECTOR,ae.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;u=Ye(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}
1051
+ var h=this.tryParseDecimalInteger(se.EXPECT_PLURAL_ARGUMENT_SELECTOR,se.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;u=Ye(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}
1050
1052
  // Duplicate selector clauses
1051
- if(o.has(l))return this.error("select"===t?ae.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ae.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(a=!0),
1053
+ if(o.has(l))return this.error("select"===t?se.DUPLICATE_SELECT_ARGUMENT_SELECTOR:se.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(a=!0),
1052
1054
  // Parse:
1053
1055
  // one {one apple}
1054
1056
  // ^----------^
1055
- this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ae.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ae.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Ye(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,i);if(m.err)return m;var f=this.tryParseArgumentClose(d);if(f.err)return f;s.push([l,{value:m.val,location:Ye(d,this.clonePosition())}]),
1057
+ this.bumpSpace();var d=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?se.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:se.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Ye(this.clonePosition(),this.clonePosition()));var m=this.parseMessage(e+1,t,i);if(m.err)return m;var f=this.tryParseArgumentClose(d);if(f.err)return f;s.push([l,{value:m.val,location:Ye(d,this.clonePosition())}]),
1056
1058
  // Keep track of the existing selectors
1057
1059
  o.add(l),
1058
1060
  // Prep next selector clause.
1059
- this.bumpSpace(),l=(r=this.parseIdentifierIfPossible()).value,u=r.location}return 0===s.length?this.error("select"===t?ae.EXPECT_SELECT_ARGUMENT_SELECTOR:ae.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ye(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(ae.MISSING_OTHER_CLAUSE,Ye(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var r=!1,a=0;!this.isEOF();){var s=this.char();if(!(s>=48/* `0` */&&s<=57/* `9` */))break;r=!0,a=10*a+(s-48),this.bump()}var o=Ye(n,this.clonePosition());return r?Ve(a*=i)?{val:a,err:null}:this.error(t,o):this.error(e,o)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){
1061
+ this.bumpSpace(),l=(r=this.parseIdentifierIfPossible()).value,u=r.location}return 0===s.length?this.error("select"===t?se.EXPECT_SELECT_ARGUMENT_SELECTOR:se.EXPECT_PLURAL_ARGUMENT_SELECTOR,Ye(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!a?this.error(se.MISSING_OTHER_CLAUSE,Ye(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var i=1,n=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(i=-1);for(var r=!1,a=0;!this.isEOF();){var s=this.char();if(!(s>=48/* `0` */&&s<=57/* `9` */))break;r=!0,a=10*a+(s-48),this.bump()}var o=Ye(n,this.clonePosition());return r?We(a*=i)?{val:a,err:null}:this.error(t,o):this.error(e,o)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){
1060
1062
  // This is much faster than `Object.assign` or spread.
1061
1063
  return{offset:this.position.offset,line:this.position.line,column:this.position.column}},
1062
1064
  /**
1063
1065
  * Return the code point at the current position of the parser.
1064
1066
  * Throws if the index is out of bound.
1065
1067
  */
1066
- e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Je(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},
1068
+ e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Qe(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},
1067
1069
  /** Bump the parser to the next UTF-16 code unit. */
1068
1070
  e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10/* '\n' */===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,
1069
1071
  // 0 ~ 0x10000 -> unicode BMP, otherwise skip the surrogate pair.
@@ -1086,7 +1088,7 @@ e.prototype.bumpUntil=function(e){var t=this.offset(),i=this.message.indexOf(e,t
1086
1088
  */
1087
1089
  e.prototype.bumpTo=function(e){if(this.offset()>e)throw Error("targetOffset ".concat(e," must be greater than or equal to the current offset ").concat(this.offset()));for(e=Math.min(e,this.message.length);;){var t=this.offset();if(t===e)break;if(t>e)throw Error("targetOffset ".concat(e," is at invalid UTF-16 code unit boundary"));if(this.bump(),this.isEOF())break}},
1088
1090
  /** advance the parser through all whitespace to the next non-whitespace code unit. */
1089
- e.prototype.bumpSpace=function(){for(;!this.isEOF()&&at(this.char());)this.bump()},
1091
+ e.prototype.bumpSpace=function(){for(;!this.isEOF()&&st(this.char());)this.bump()},
1090
1092
  /**
1091
1093
  * Peek at the *next* Unicode codepoint in the input without advancing the parser.
1092
1094
  * If the input has been exhausted, then this returns null.
@@ -1096,163 +1098,175 @@ e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this
1096
1098
  * This check if codepoint is alphabet (lower & uppercase)
1097
1099
  * @param codepoint
1098
1100
  * @returns
1099
- */function rt(e){return e>=97&&e<=122||e>=65&&e<=90}
1101
+ */function at(e){return e>=97&&e<=122||e>=65&&e<=90}
1100
1102
  /**
1101
1103
  * Code point equivalent of regex `\p{White_Space}`.
1102
1104
  * From: https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
1103
1105
  */
1104
- function at(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}
1106
+ function st(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}
1105
1107
  /**
1106
1108
  * Code point equivalent of regex `\p{Pattern_Syntax}`.
1107
1109
  * See https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
1108
- */function st(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function ot(e){e.forEach((function(e){if(delete e.location,pe(e)||ge(e))for(var t in e.options)delete e.options[t].location,ot(e.options[t].value);else de(e)&&ve(e.style)||(me(e)||fe(e))&&_e(e.style)?delete e.style.location:be(e)&&ot(e.children)}))}function lt(e,t){void 0===t&&(t={}),t=le({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new nt(e,t).parse();if(i.err){var n=SyntaxError(ae[i.err.kind]);
1110
+ */function ot(e){return e>=33&&e<=35||36===e||e>=37&&e<=39||40===e||41===e||42===e||43===e||44===e||45===e||e>=46&&e<=47||e>=58&&e<=59||e>=60&&e<=62||e>=63&&e<=64||91===e||92===e||93===e||94===e||96===e||123===e||124===e||125===e||126===e||161===e||e>=162&&e<=165||166===e||167===e||169===e||171===e||172===e||174===e||176===e||177===e||182===e||187===e||191===e||215===e||247===e||e>=8208&&e<=8213||e>=8214&&e<=8215||8216===e||8217===e||8218===e||e>=8219&&e<=8220||8221===e||8222===e||8223===e||e>=8224&&e<=8231||e>=8240&&e<=8248||8249===e||8250===e||e>=8251&&e<=8254||e>=8257&&e<=8259||8260===e||8261===e||8262===e||e>=8263&&e<=8273||8274===e||8275===e||e>=8277&&e<=8286||e>=8592&&e<=8596||e>=8597&&e<=8601||e>=8602&&e<=8603||e>=8604&&e<=8607||8608===e||e>=8609&&e<=8610||8611===e||e>=8612&&e<=8613||8614===e||e>=8615&&e<=8621||8622===e||e>=8623&&e<=8653||e>=8654&&e<=8655||e>=8656&&e<=8657||8658===e||8659===e||8660===e||e>=8661&&e<=8691||e>=8692&&e<=8959||e>=8960&&e<=8967||8968===e||8969===e||8970===e||8971===e||e>=8972&&e<=8991||e>=8992&&e<=8993||e>=8994&&e<=9e3||9001===e||9002===e||e>=9003&&e<=9083||9084===e||e>=9085&&e<=9114||e>=9115&&e<=9139||e>=9140&&e<=9179||e>=9180&&e<=9185||e>=9186&&e<=9254||e>=9255&&e<=9279||e>=9280&&e<=9290||e>=9291&&e<=9311||e>=9472&&e<=9654||9655===e||e>=9656&&e<=9664||9665===e||e>=9666&&e<=9719||e>=9720&&e<=9727||e>=9728&&e<=9838||9839===e||e>=9840&&e<=10087||10088===e||10089===e||10090===e||10091===e||10092===e||10093===e||10094===e||10095===e||10096===e||10097===e||10098===e||10099===e||10100===e||10101===e||e>=10132&&e<=10175||e>=10176&&e<=10180||10181===e||10182===e||e>=10183&&e<=10213||10214===e||10215===e||10216===e||10217===e||10218===e||10219===e||10220===e||10221===e||10222===e||10223===e||e>=10224&&e<=10239||e>=10240&&e<=10495||e>=10496&&e<=10626||10627===e||10628===e||10629===e||10630===e||10631===e||10632===e||10633===e||10634===e||10635===e||10636===e||10637===e||10638===e||10639===e||10640===e||10641===e||10642===e||10643===e||10644===e||10645===e||10646===e||10647===e||10648===e||e>=10649&&e<=10711||10712===e||10713===e||10714===e||10715===e||e>=10716&&e<=10747||10748===e||10749===e||e>=10750&&e<=11007||e>=11008&&e<=11055||e>=11056&&e<=11076||e>=11077&&e<=11078||e>=11079&&e<=11084||e>=11085&&e<=11123||e>=11124&&e<=11125||e>=11126&&e<=11157||11158===e||e>=11159&&e<=11263||e>=11776&&e<=11777||11778===e||11779===e||11780===e||11781===e||e>=11782&&e<=11784||11785===e||11786===e||11787===e||11788===e||11789===e||e>=11790&&e<=11798||11799===e||e>=11800&&e<=11801||11802===e||11803===e||11804===e||11805===e||e>=11806&&e<=11807||11808===e||11809===e||11810===e||11811===e||11812===e||11813===e||11814===e||11815===e||11816===e||11817===e||e>=11818&&e<=11822||11823===e||e>=11824&&e<=11833||e>=11834&&e<=11835||e>=11836&&e<=11839||11840===e||11841===e||11842===e||e>=11843&&e<=11855||e>=11856&&e<=11857||11858===e||e>=11859&&e<=11903||e>=12289&&e<=12291||12296===e||12297===e||12298===e||12299===e||12300===e||12301===e||12302===e||12303===e||12304===e||12305===e||e>=12306&&e<=12307||12308===e||12309===e||12310===e||12311===e||12312===e||12313===e||12314===e||12315===e||12316===e||12317===e||e>=12318&&e<=12319||12320===e||12336===e||64830===e||64831===e||e>=65093&&e<=65094}function lt(e){e.forEach((function(e){if(delete e.location,ge(e)||ye(e))for(var t in e.options)delete e.options[t].location,lt(e.options[t].value);else me(e)&&_e(e.style)||(fe(e)||pe(e))&&Le(e.style)?delete e.style.location:ve(e)&&lt(e.children)}))}function ut(e,t){void 0===t&&(t={}),t=ue({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var i=new rt(e,t).parse();if(i.err){var n=SyntaxError(se[i.err.kind]);
1109
1111
  // @ts-expect-error Assign to error object
1110
1112
  throw n.location=i.err.location,
1111
1113
  // @ts-expect-error Assign to error object
1112
- n.originalMessage=i.err.message,n}return(null==t?void 0:t.captureLocation)||ot(i.val),i.val}
1114
+ n.originalMessage=i.err.message,n}return(null==t?void 0:t.captureLocation)||lt(i.val),i.val}
1113
1115
 
1114
1116
  // Main
1115
1117
 
1116
- function ut(e,t){var i=t&&t.cache?t.cache:yt,n=t&&t.serializer?t.serializer:ft;return(t&&t.strategy?t.strategy:mt)(e,{cache:i,serializer:n})}
1118
+ function ct(e,t){var i=t&&t.cache?t.cache:bt,n=t&&t.serializer?t.serializer:pt;return(t&&t.strategy?t.strategy:ft)(e,{cache:i,serializer:n})}
1117
1119
 
1118
1120
  // Strategy
1119
1121
 
1120
- function ct(e,t,i,n){var r,a=null==(r=n)||"number"==typeof r||"boolean"==typeof r?n:i(n),s=t.get(a);return void 0===s&&(s=e.call(this,n),t.set(a,s)),s}function ht(e,t,i){var n=Array.prototype.slice.call(arguments,3),r=i(n),a=t.get(r);return void 0===a&&(a=e.apply(this,n),t.set(r,a)),a}function dt(e,t,i,n,r){return i.bind(t,e,n,r)}function mt(e,t){return dt(e,this,1===e.length?ct:ht,t.cache.create(),t.serializer)}
1122
+ function ht(e,t,i,n){var r,a=null==(r=n)||"number"==typeof r||"boolean"==typeof r?n:i(n),s=t.get(a);return void 0===s&&(s=e.call(this,n),t.set(a,s)),s}function dt(e,t,i){var n=Array.prototype.slice.call(arguments,3),r=i(n),a=t.get(r);return void 0===a&&(a=e.apply(this,n),t.set(r,a)),a}function mt(e,t,i,n,r){return i.bind(t,e,n,r)}function ft(e,t){return mt(e,this,1===e.length?ht:dt,t.cache.create(),t.serializer)}
1121
1123
  // Serializer
1122
- var ft=function(){return JSON.stringify(arguments)};
1124
+ var pt=function(){return JSON.stringify(arguments)};
1123
1125
 
1124
1126
  // Cache
1125
1127
 
1126
- function pt(){this.cache=Object.create(null)}pt.prototype.get=function(e){return this.cache[e]},pt.prototype.set=function(e,t){this.cache[e]=t};var gt,yt={create:function(){
1128
+ function gt(){this.cache=Object.create(null)}gt.prototype.get=function(e){return this.cache[e]},gt.prototype.set=function(e,t){this.cache[e]=t};var yt,bt={create:function(){
1127
1129
  // @ts-ignore
1128
- return new pt}},bt={variadic:function(e,t){return dt(e,this,ht,t.cache.create(),t.serializer)},monadic:function(e,t){return dt(e,this,ct,t.cache.create(),t.serializer)}};!function(e){
1130
+ return new gt}},vt={variadic:function(e,t){return mt(e,this,dt,t.cache.create(),t.serializer)},monadic:function(e,t){return mt(e,this,ht,t.cache.create(),t.serializer)}};!function(e){
1129
1131
  // When we have a placeholder but no value to format
1130
1132
  e.MISSING_VALUE="MISSING_VALUE",
1131
1133
  // When value supplied is invalid
1132
1134
  e.INVALID_VALUE="INVALID_VALUE",
1133
1135
  // When we need specific Intl API but it's not available
1134
- e.MISSING_INTL_API="MISSING_INTL_API"}(gt||(gt={}));var vt,_t=/** @class */function(e){function t(t,i,n){var r=e.call(this,t)||this;return r.code=i,r.originalMessage=n,r}return re(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),Lt=/** @class */function(e){function t(t,i,n,r){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(i,'". Options are "').concat(Object.keys(n).join('", "'),'"'),gt.INVALID_VALUE,r)||this}return re(t,e),t}(_t),wt=/** @class */function(e){function t(t,i,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(i),gt.INVALID_VALUE,n)||this}return re(t,e),t}(_t),Et=/** @class */function(e){function t(t,i){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(i,'"'),gt.MISSING_VALUE,i)||this}return re(t,e),t}(_t);function Tt(e){return"function"==typeof e}
1136
+ e.MISSING_INTL_API="MISSING_INTL_API"}(yt||(yt={}));var _t,Lt=/** @class */function(e){function t(t,i,n){var r=e.call(this,t)||this;return r.code=i,r.originalMessage=n,r}return ae(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),wt=/** @class */function(e){function t(t,i,n,r){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(i,'". Options are "').concat(Object.keys(n).join('", "'),'"'),yt.INVALID_VALUE,r)||this}return ae(t,e),t}(Lt),Et=/** @class */function(e){function t(t,i,n){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(i),yt.INVALID_VALUE,n)||this}return ae(t,e),t}(Lt),Tt=/** @class */function(e){function t(t,i){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(i,'"'),yt.MISSING_VALUE,i)||this}return ae(t,e),t}(Lt);function St(e){return"function"==typeof e}
1135
1137
  // TODO(skeleton): add skeleton support
1136
- function St(e,t,i,n,r,a,
1138
+ function kt(e,t,i,n,r,a,
1137
1139
  // For debugging
1138
1140
  s){
1139
1141
  // Hot path for straight simple msg translations
1140
- if(1===e.length&&ce(e[0]))return[{type:vt.literal,value:e[0].value}];for(var o=[],l=0,u=e;l<u.length;l++){var c=u[l];
1142
+ if(1===e.length&&he(e[0]))return[{type:_t.literal,value:e[0].value}];for(var o=[],l=0,u=e;l<u.length;l++){var c=u[l];
1141
1143
  // Exit early for string parts.
1142
- if(ce(c))o.push({type:vt.literal,value:c.value});else
1144
+ if(he(c))o.push({type:_t.literal,value:c.value});else
1143
1145
  // TODO: should this part be literal type?
1144
1146
  // Replace `#` in plural rules with the actual numeric value.
1145
- if(ye(c))"number"==typeof a&&o.push({type:vt.literal,value:i.getNumberFormat(t).format(a)});else{var h=c.value;
1147
+ if(be(c))"number"==typeof a&&o.push({type:_t.literal,value:i.getNumberFormat(t).format(a)});else{var h=c.value;
1146
1148
  // Enforce that all required values are provided by the caller.
1147
- if(!r||!(h in r))throw new Et(h,s);var d=r[h];if(he(c))d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),o.push({type:"string"==typeof d?vt.literal:vt.object,value:d});else
1149
+ if(!r||!(h in r))throw new Tt(h,s);var d=r[h];if(de(c))d&&"string"!=typeof d&&"number"!=typeof d||(d="string"==typeof d||"number"==typeof d?String(d):""),o.push({type:"string"==typeof d?_t.literal:_t.object,value:d});else
1148
1150
  // Recursively format plural and select parts' option — which can be a
1149
1151
  // nested pattern structure. The choosing of the option to use is
1150
1152
  // abstracted-by and delegated-to the part helper object.
1151
- if(me(c)){var m="string"==typeof c.style?n.date[c.style]:_e(c.style)?c.style.parsedOptions:void 0;o.push({type:vt.literal,value:i.getDateTimeFormat(t,m).format(d)})}else if(fe(c)){m="string"==typeof c.style?n.time[c.style]:_e(c.style)?c.style.parsedOptions:n.time.medium;o.push({type:vt.literal,value:i.getDateTimeFormat(t,m).format(d)})}else if(de(c)){(m="string"==typeof c.style?n.number[c.style]:ve(c.style)?c.style.parsedOptions:void 0)&&m.scale&&(d*=m.scale||1),o.push({type:vt.literal,value:i.getNumberFormat(t,m).format(d)})}else{if(be(c)){var f=c.children,p=c.value,g=r[p];if(!Tt(g))throw new wt(p,"function",s);var y=g(St(f,t,i,n,r,a).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),o.push.apply(o,y.map((function(e){return{type:"string"==typeof e?vt.literal:vt.object,value:e}})))}if(pe(c)){if(!(b=c.options[d]||c.options.other))throw new Lt(c.value,d,Object.keys(c.options),s);o.push.apply(o,St(b.value,t,i,n,r))}else if(ge(c)){var b;if(!(b=c.options["=".concat(d)])){if(!Intl.PluralRules)throw new _t('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',gt.MISSING_INTL_API,s);var v=i.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0));b=c.options[v]||c.options.other}if(!b)throw new Lt(c.value,d,Object.keys(c.options),s);o.push.apply(o,St(b.value,t,i,n,r,d-(c.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var i=e[e.length-1];return i&&i.type===vt.literal&&t.type===vt.literal?i.value+=t.value:e.push(t),e}),[])}(o)}
1153
+ if(fe(c)){var m="string"==typeof c.style?n.date[c.style]:Le(c.style)?c.style.parsedOptions:void 0;o.push({type:_t.literal,value:i.getDateTimeFormat(t,m).format(d)})}else if(pe(c)){m="string"==typeof c.style?n.time[c.style]:Le(c.style)?c.style.parsedOptions:n.time.medium;o.push({type:_t.literal,value:i.getDateTimeFormat(t,m).format(d)})}else if(me(c)){(m="string"==typeof c.style?n.number[c.style]:_e(c.style)?c.style.parsedOptions:void 0)&&m.scale&&(d*=m.scale||1),o.push({type:_t.literal,value:i.getNumberFormat(t,m).format(d)})}else{if(ve(c)){var f=c.children,p=c.value,g=r[p];if(!St(g))throw new Et(p,"function",s);var y=g(kt(f,t,i,n,r,a).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),o.push.apply(o,y.map((function(e){return{type:"string"==typeof e?_t.literal:_t.object,value:e}})))}if(ge(c)){if(!(b=c.options[d]||c.options.other))throw new wt(c.value,d,Object.keys(c.options),s);o.push.apply(o,kt(b.value,t,i,n,r))}else if(ye(c)){var b;if(!(b=c.options["=".concat(d)])){if(!Intl.PluralRules)throw new Lt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',yt.MISSING_INTL_API,s);var v=i.getPluralRules(t,{type:c.pluralType}).select(d-(c.offset||0));b=c.options[v]||c.options.other}if(!b)throw new wt(c.value,d,Object.keys(c.options),s);o.push.apply(o,kt(b.value,t,i,n,r,d-(c.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var i=e[e.length-1];return i&&i.type===_t.literal&&t.type===_t.literal?i.value+=t.value:e.push(t),e}),[])}(o)}
1152
1154
  /*
1153
1155
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
1154
1156
  Copyrights licensed under the New BSD License.
1155
1157
  See the accompanying LICENSE file for terms.
1156
1158
  */
1157
1159
  // -- MessageFormat --------------------------------------------------------
1158
- function kt(e,t){return t?Object.keys(e).reduce((function(i,n){var r,a;return i[n]=(r=e[n],(a=t[n])?le(le(le({},r||{}),a||{}),Object.keys(r).reduce((function(e,t){return e[t]=le(le({},r[t]),a[t]||{}),e}),{})):r),i}),le({},e)):e}function Mt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(vt||(vt={}));var Dt=/** @class */function(){function e(t,i,n,r){var a,s=this;if(void 0===i&&(i=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);
1160
+ function Mt(e,t){return t?Object.keys(e).reduce((function(i,n){var r,a;return i[n]=(r=e[n],(a=t[n])?ue(ue(ue({},r||{}),a||{}),Object.keys(r).reduce((function(e,t){return e[t]=ue(ue({},r[t]),a[t]||{}),e}),{})):r),i}),ue({},e)):e}function Dt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,i){e[t]=i}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(_t||(_t={}));var Pt=/** @class */function(){function e(t,i,n,r){var a,s=this;if(void 0===i&&(i=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);
1159
1161
  // Hot path for straight simple msg translations
1160
- if(1===t.length)return t[0].value;var i=t.reduce((function(e,t){return e.length&&t.type===vt.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return i.length<=1?i[0]||"":i},this.formatToParts=function(e){return St(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},
1162
+ if(1===t.length)return t[0].value;var i=t.reduce((function(e,t){return e.length&&t.type===_t.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return i.length<=1?i[0]||"":i},this.formatToParts=function(e){return kt(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},
1161
1163
  // Defined first because it's used to build the format pattern.
1162
1164
  this.locales=i,this.resolvedLocale=e.resolveLocale(i),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
1163
1165
  // Parse string messages into an AST.
1164
1166
  this.ast=e.__parse(t,{ignoreTag:null==r?void 0:r.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.");
1165
1167
  // Creates a new object with the specified `formats` merged with the default
1166
1168
  // formats.
1167
- this.formats=kt(e.formats,n),this.formatters=r&&r.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ut((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,ue([void 0],t,!1)))}),{cache:Mt(a.number),strategy:bt.variadic}),getDateTimeFormat:ut((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,ue([void 0],t,!1)))}),{cache:Mt(a.dateTime),strategy:bt.variadic}),getPluralRules:ut((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,ue([void 0],t,!1)))}),{cache:Mt(a.pluralRules),strategy:bt.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=lt,
1169
+ this.formats=Mt(e.formats,n),this.formatters=r&&r.formatters||(void 0===(a=this.formatterCache)&&(a={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ct((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.NumberFormat).bind.apply(e,ce([void 0],t,!1)))}),{cache:Dt(a.number),strategy:vt.variadic}),getDateTimeFormat:ct((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.DateTimeFormat).bind.apply(e,ce([void 0],t,!1)))}),{cache:Dt(a.dateTime),strategy:vt.variadic}),getPluralRules:ct((function(){for(var e,t=[],i=0;i<arguments.length;i++)t[i]=arguments[i];return new((e=Intl.PluralRules).bind.apply(e,ce([void 0],t,!1)))}),{cache:Dt(a.pluralRules),strategy:vt.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=ut,
1168
1170
  // Default format options used as the prototype of the `formats` provided to the
1169
1171
  // constructor. These are used when constructing the internal Intl.NumberFormat
1170
1172
  // and Intl.DateTimeFormat instances.
1171
- e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();const Pt={},At=(e,t,i)=>i?(t in Pt||(Pt[t]={}),e in Pt[t]||(Pt[t][e]=i),i):i,Ht=(e,t)=>{if(null==t)return;if(t in Pt&&e in Pt[t])return Pt[t][e];const i=ii(t);for(let n=0;n<i.length;n++){const r=Rt(i[n],e);if(r)return At(e,t,r)}};let Ct;const Ot=V({});function Nt(e){return e in Ct}function Rt(e,t){if(!Nt(e))return null;const i=function(e){return Ct[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const i=t.split(".");let n=e;for(let e=0;e<i.length;e++)if("object"==typeof n){if(e>0){const t=i.slice(e,i.length).join(".");if(t in n){n=n[t];break}}n=n[i[e]]}else n=void 0;return n}(i,t)}function xt(e,...t){delete Pt[e],Ot.update((i=>(i[e]=ie.all([i[e]||{},...t]),i)))}W([Ot],(([e])=>Object.keys(e))),Ot.subscribe((e=>Ct=e));const Bt={};function Ut(e){return Bt[e]}function Yt(e){return null!=e&&ii(e).some((e=>{var t;return null==(t=Ut(e))?void 0:t.size}))}function It(e,t){const i=Promise.all(t.map((t=>(function(e,t){Bt[e].delete(t),0===Bt[e].size&&delete Bt[e]}(e,t),t().then((e=>e.default||e))))));return i.then((t=>xt(e,...t)))}const jt={};function Gt(e){if(!Yt(e))return e in jt?jt[e]:Promise.resolve();const t=function(e){return ii(e).map((e=>{const t=Ut(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return jt[e]=Promise.all(t.map((([e,t])=>It(e,t)))).then((()=>{if(Yt(e))return Gt(e);delete jt[e]})),jt[e]}const Ft={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 $t(){return Ft}const zt=V(!1);var Vt=Object.defineProperty,Wt=Object.defineProperties,Zt=Object.getOwnPropertyDescriptors,Xt=Object.getOwnPropertySymbols,Kt=Object.prototype.hasOwnProperty,qt=Object.prototype.propertyIsEnumerable,Jt=(e,t,i)=>t in e?Vt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;let Qt;const ei=V(null);function ti(e){return e.split("-").map(((e,t,i)=>i.slice(0,t+1).join("-"))).reverse()}function ii(e,t=$t().fallbackLocale){const i=ti(e);return t?[...new Set([...i,...ti(t)])]:i}function ni(){return null!=Qt?Qt:void 0}ei.subscribe((e=>{Qt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const ri=(ai=((e,t)=>{for(var i in t||(t={}))Kt.call(t,i)&&Jt(e,i,t[i]);if(Xt)for(var i of Xt(t))qt.call(t,i)&&Jt(e,i,t[i]);return e})({},ei),Wt(ai,Zt({set:e=>{if(e&&function(e){if(null==e)return;const t=ii(e);for(let e=0;e<t.length;e++){const i=t[e];if(Nt(i))return i}}(e)&&Yt(e)){const{loadingDelay:t}=$t();let i;return"undefined"!=typeof window&&null!=ni()&&t?i=window.setTimeout((()=>zt.set(!0)),t):zt.set(!0),Gt(e).then((()=>{ei.set(e)})).finally((()=>{clearTimeout(i),zt.set(!1)}))}return ei.set(e)}})));var ai;const si=e=>{const t=Object.create(null);return i=>{const n=JSON.stringify(i);return n in t?t[n]:t[n]=e(i)}};var oi=Object.defineProperty,li=Object.getOwnPropertySymbols,ui=Object.prototype.hasOwnProperty,ci=Object.prototype.propertyIsEnumerable,hi=(e,t,i)=>t in e?oi(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,di=(e,t)=>{for(var i in t||(t={}))ui.call(t,i)&&hi(e,i,t[i]);if(li)for(var i of li(t))ci.call(t,i)&&hi(e,i,t[i]);return e},mi=(e,t)=>{var i={};for(var n in e)ui.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&li)for(var n of li(e))t.indexOf(n)<0&&ci.call(e,n)&&(i[n]=e[n]);return i};const fi=(e,t)=>{const{formats:i}=$t();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},pi=si((e=>{var t=e,{locale:i,format:n}=t,r=mi(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=fi("number",n)),new Intl.NumberFormat(i,r)})),gi=si((e=>{var t=e,{locale:i,format:n}=t,r=mi(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=fi("date",n):0===Object.keys(r).length&&(r=fi("date","short")),new Intl.DateTimeFormat(i,r)})),yi=si((e=>{var t=e,{locale:i,format:n}=t,r=mi(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=fi("time",n):0===Object.keys(r).length&&(r=fi("time","short")),new Intl.DateTimeFormat(i,r)})),bi=si((
1173
+ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();const At={},Ht=(e,t,i)=>i?(t in At||(At[t]={}),e in At[t]||(At[t][e]=i),i):i,Ct=(e,t)=>{if(null==t)return;if(t in At&&e in At[t])return At[t][e];const i=ni(t);for(let n=0;n<i.length;n++){const r=Nt(i[n],e);if(r)return Ht(e,t,r)}};let Ot;const xt=W({});function Rt(e){return e in Ot}function Nt(e,t){if(!Rt(e))return null;const i=function(e){return Ot[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const i=t.split(".");let n=e;for(let e=0;e<i.length;e++)if("object"==typeof n){if(e>0){const t=i.slice(e,i.length).join(".");if(t in n){n=n[t];break}}n=n[i[e]]}else n=void 0;return n}(i,t)}function Bt(e,...t){delete At[e],xt.update((i=>(i[e]=ne.all([i[e]||{},...t]),i)))}Z([xt],(([e])=>Object.keys(e))),xt.subscribe((e=>Ot=e));const Ut={};function It(e){return Ut[e]}function Yt(e){return null!=e&&ni(e).some((e=>{var t;return null==(t=It(e))?void 0:t.size}))}function jt(e,t){const i=Promise.all(t.map((t=>(function(e,t){Ut[e].delete(t),0===Ut[e].size&&delete Ut[e]}(e,t),t().then((e=>e.default||e))))));return i.then((t=>Bt(e,...t)))}const Gt={};function $t(e){if(!Yt(e))return e in Gt?Gt[e]:Promise.resolve();const t=function(e){return ni(e).map((e=>{const t=It(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Gt[e]=Promise.all(t.map((([e,t])=>jt(e,t)))).then((()=>{if(Yt(e))return $t(e);delete Gt[e]})),Gt[e]}const Ft={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function zt(){return Ft}const Vt=W(!1);var Wt=Object.defineProperty,Zt=Object.defineProperties,qt=Object.getOwnPropertyDescriptors,Xt=Object.getOwnPropertySymbols,Kt=Object.prototype.hasOwnProperty,Jt=Object.prototype.propertyIsEnumerable,Qt=(e,t,i)=>t in e?Wt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i;let ei;const ti=W(null);function ii(e){return e.split("-").map(((e,t,i)=>i.slice(0,t+1).join("-"))).reverse()}function ni(e,t=zt().fallbackLocale){const i=ii(e);return t?[...new Set([...i,...ii(t)])]:i}function ri(){return null!=ei?ei:void 0}ti.subscribe((e=>{ei=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const ai=(si=((e,t)=>{for(var i in t||(t={}))Kt.call(t,i)&&Qt(e,i,t[i]);if(Xt)for(var i of Xt(t))Jt.call(t,i)&&Qt(e,i,t[i]);return e})({},ti),Zt(si,qt({set:e=>{if(e&&function(e){if(null==e)return;const t=ni(e);for(let e=0;e<t.length;e++){const i=t[e];if(Rt(i))return i}}(e)&&Yt(e)){const{loadingDelay:t}=zt();let i;return"undefined"!=typeof window&&null!=ri()&&t?i=window.setTimeout((()=>Vt.set(!0)),t):Vt.set(!0),$t(e).then((()=>{ti.set(e)})).finally((()=>{clearTimeout(i),Vt.set(!1)}))}return ti.set(e)}})));var si;const oi=e=>{const t=Object.create(null);return i=>{const n=JSON.stringify(i);return n in t?t[n]:t[n]=e(i)}};var li=Object.defineProperty,ui=Object.getOwnPropertySymbols,ci=Object.prototype.hasOwnProperty,hi=Object.prototype.propertyIsEnumerable,di=(e,t,i)=>t in e?li(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i,mi=(e,t)=>{for(var i in t||(t={}))ci.call(t,i)&&di(e,i,t[i]);if(ui)for(var i of ui(t))hi.call(t,i)&&di(e,i,t[i]);return e},fi=(e,t)=>{var i={};for(var n in e)ci.call(e,n)&&t.indexOf(n)<0&&(i[n]=e[n]);if(null!=e&&ui)for(var n of ui(e))t.indexOf(n)<0&&hi.call(e,n)&&(i[n]=e[n]);return i};const pi=(e,t)=>{const{formats:i}=zt();if(e in i&&t in i[e])return i[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},gi=oi((e=>{var t=e,{locale:i,format:n}=t,r=fi(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=pi("number",n)),new Intl.NumberFormat(i,r)})),yi=oi((e=>{var t=e,{locale:i,format:n}=t,r=fi(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=pi("date",n):0===Object.keys(r).length&&(r=pi("date","short")),new Intl.DateTimeFormat(i,r)})),bi=oi((e=>{var t=e,{locale:i,format:n}=t,r=fi(t,["locale","format"]);if(null==i)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=pi("time",n):0===Object.keys(r).length&&(r=pi("time","short")),new Intl.DateTimeFormat(i,r)})),vi=oi((
1172
1174
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
1173
- (e,t=ni())=>new Dt(e,t,$t().formats,{ignoreTag:$t().ignoreTag}))),vi=(e,t={})=>{var i,n,r,a;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:o,locale:l=ni(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ht(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(a=null!=(r=null==(n=(i=$t()).handleMissingMessage)?void 0:n.call(i,{locale:l,id:e,defaultValue:u}))?r:u)?a:e;if(!o)return c;let h=c;try{h=bi(c,l).format(o)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},_i=(e,t)=>((e={})=>{var t=e,{locale:i=ni()}=t,n=mi(t,["locale"]);return yi(di({locale:i},n))})(t).format(e),Li=(e,t)=>((e={})=>{var t=e,{locale:i=ni()}=t,n=mi(t,["locale"]);return gi(di({locale:i},n))})(t).format(e),wi=(e,t)=>((e={})=>{var t=e,{locale:i=ni()}=t,n=mi(t,["locale"]);return pi(di({locale:i},n))})(t).format(e),Ei=(e,t=ni())=>Ht(e,t),Ti=W([ri,Ot],(()=>vi));function Si(e,t){xt(e,t)}W([ri],(()=>_i)),W([ri],(()=>Li)),W([ri],(()=>wi)),W([ri,Ot],(()=>Ei));const ki={en:{noLimitToDisplay:"The user has not set a limit...",depositLimitHeader:"Deposit limit",lossLimitHeader:"Loss limit",wageringLimitHeader:"Wagering limit",spentAmount:"Spent amount",remainingAmount:"Remaining amount",limitPeriod:"Limit period",displayedProduct:"Product",futureLimit:"Future limit",additionalLink1:"Last deposit transaction details",additionalLink2:"Transactions in period",limitRemoved:"This limit has been removed and is valid until",limitUpdated:"This limit will be applied beginning with",changeLimitLabel:"Period",futureAmount:"Future amount",limitTypeLabel:"Limit type",fetchLimitDefError:"Failed to fetch limit definitions.",fetchLimitBalanceError:"Failed to fetch limit balance.",invalidUrl:"Failed to construct 'URL': Invalid URL",startLabel:"Start",resetLabel:"Reset",infoLabel:"Info",walletLabel:"Wallet",walletsLabel:"Wallets"},"zh-hk":{noLimitToDisplay:"使用者尚未設定限額...",depositLimitHeader:"存款限額",lossLimitHeader:"損失限額",wageringLimitHeader:"押注限額",spentAmount:"花費金額",remainingAmount:"剩餘金額",limitPeriod:"限制期限",displayedProduct:"產品",futureLimit:"未來限額",additionalLink1:"最後存款交易詳情",additionalLink2:"期間交易",limitRemoved:"此限額已移除,有效期至",limitUpdated:"此限額將自以下日期開始生效",changeLimitLabel:"期限",futureAmount:"未來金額",limitTypeLabel:"限額類型",fetchLimitDefError:"無法獲取限額定義。",fetchLimitBalanceError:"無法獲取限額餘額。",invalidUrl:"無法構建 'URL':URL 無效",startLabel:"開始",resetLabel:"重設",infoLabel:"信息",walletLabel:"錢包",walletsLabel:"錢包"},de:{noLimitToDisplay:"Der Benutzer hat kein Limit festgelegt...",depositLimitHeader:"Einzahlungslimit",lossLimitHeader:"Verlustgrenze",wageringLimitHeader:"Wetteinsatzgrenze",spentAmount:"Ausgegebener Betrag",remainingAmount:"Verbleibender Betrag",limitPeriod:"Begrenzungszeitraum",displayedProduct:"Produkt",futureLimit:"Zukünftiges Limit",additionalLink1:"Details zur letzten Einzahlungstransaktion",additionalLink2:"Transaktionen im Zeitraum",limitRemoved:"Dieses Limit wurde entfernt und ist gültig bis",limitUpdated:"Dieses Limit wird ab dem folgenden Datum angewendet",changeLimitLabel:"Zeitraum",futureAmount:"Zukünftiger Betrag",limitTypeLabel:"Limit Typ",fetchLimitDefError:"Fehler beim Abrufen von Limitdefinitionen.",fetchLimitBalanceError:"Fehler beim Abrufen des Limitbetrags.",invalidUrl:"Fehler beim Erstellen der URL: Ungültige URL",startLabel:"Start",resetLabel:"Zurücksetzen",infoLabel:"Info",walletLabel:"Brieftasche",walletsLabel:"Brieftaschen"},it:{noLimitToDisplay:"L'utente non ha impostato un limite...",depositLimitHeader:"Limite di deposito",lossLimitHeader:"Limite di perdita",wageringLimitHeader:"Limite di scommessa",spentAmount:"Importo speso",remainingAmount:"Importo residuo",limitPeriod:"Periodo limite",displayedProduct:"Prodotto",futureLimit:"Limite futuro",additionalLink1:"Dettagli della transazione dell'ultimo deposito",additionalLink2:"Deposito nel periodo",limitRemoved:"Questo limite è stato rimosso ed è valido fino a",limitUpdated:"Questo limite sarà applicato a partire da",changeLimitLabel:"Cambia limite",futureAmount:"Importo futuro",limitTypeLabel:"Tipo di limite",fetchLimitDefError:"Impossibile recuperare le definizioni di limite.",fetchLimitBalanceError:"Impossibile recuperare il saldo limite.",invalidUrl:"Impossibile costruire l'URL: URL non valido",startLabel:"Inizio",resetLabel:"Ripristina",infoLabel:"Info",walletLabel:"Portafoglio",walletsLabel:"Portafogli"},fr:{noLimitToDisplay:"L'utilisateur n'a pas fixé de limite...",depositLimitHeader:"Limite de dépôt",lossLimitHeader:"Limite de perte",wageringLimitHeader:"Limite de mise",spentAmount:"Montant dépensé",remainingAmount:"Montant restant",limitPeriod:"Délai limite",displayedProduct:"Produit",futureLimit:"Limite future",additionalLink1:"Détails de la transaction du dernier dépôt",additionalLink2:"Dépôt en période",limitRemoved:"Cette limite a été supprimée et est valide jusqu'à",limitUpdated:"Cette limite sera appliquée à partir de",changeLimitLabel:"Changer de limite",futureAmount:"Montant futur",limitTypeLabel:"Type de limite",fetchLimitDefError:"Échec du téléchargement des définitions de limite.",fetchLimitBalanceError:"Échec du téléchargement du solde limite.",invalidUrl:"Échec de la construction de 'URL' : URL non valide",startLabel:"Démarrer",resetLabel:"Réinitialiser",infoLabel:"Info",walletLabel:"Portefeuille",walletsLabel:"Portefeuilles"},es:{noLimitToDisplay:"El usuario no ha establecido un límite...",depositLimitHeader:"Límite de depósito",lossLimitHeader:"Límite de pérdida",wageringLimitHeader:"Límite de apuesta",spentAmount:"Monto gastado",remainingAmount:"Monto restante",limitPeriod:"Período de límite",displayedProduct:"Producto",futureLimit:"Límite futuro",additionalLink1:"Detalles de la última transacción de depósito",additionalLink2:"Depósito en el período",limitRemoved:"Este límite ha sido eliminado y es válido hasta",limitUpdated:"Este límite se aplicará a partir de",changeLimitLabel:"Cambiar límite",futureAmount:"Monto futuro",limitTypeLabel:"Tipo de límite",fetchLimitDefError:"Error al obtener definiciones de límite.",fetchLimitBalanceError:"Error al obtener el saldo del límite.",invalidUrl:"Error al construir 'URL': URL inválida",startLabel:"Comienzo",resetLabel:"Reiniciar",infoLabel:"Información",walletLabel:"Cartera",walletsLabel:"Carteras"},el:{noLimitToDisplay:"Ο χρήστης δεν έχει ορίσει όριο...",depositLimitHeader:"Όριο κατάθεσης",lossLimitHeader:"Όριο απώλειας",wageringLimitHeader:"Όριο στοίχημα",spentAmount:"Ποσό που έχει δαπανηθεί",remainingAmount:"Υπόλοιπο ποσό",limitPeriod:"Περίοδος ορίου",displayedProduct:"Προϊόν",futureLimit:"Μελλοντικό όριο",additionalLink1:"Λεπτομέρειες της τελευταίας συναλλαγής κατάθεσης",additionalLink2:"Καταθέσεις κατά την περίοδο",limitRemoved:"Αυτό το όριο έχει καταργηθεί και είναι έγκυρο μέχρι",limitUpdated:"Αυτό το όριο θα εφαρμοστεί από",changeLimitLabel:"Αλλαγή ορίου",futureAmount:"Μελλοντικό ποσό",limitTypeLabel:"Τύπος ορίου",fetchLimitDefError:"Αποτυχία λήψης ορισμών ορίου.",fetchLimitBalanceError:"Αποτυχία λήψης υπολοίπου ορίου.",invalidUrl:"Αποτυχία κατασκευής 'URL': Μη έγκυρη διεύθυνση URL",startLabel:"Έναρξη",resetLabel:"Επαναφορά",infoLabel:"Πληροφορίες",walletLabel:"Πορτοφόλι",walletsLabel:"Πορτοφόλια"},tr:{noLimitToDisplay:"Kullanıcı bir sınırlama belirlemedi...",depositLimitHeader:"Yatırım limiti",lossLimitHeader:"Kayıp limiti",wageringLimitHeader:"Bahis limiti",spentAmount:"Harcamış miktar",remainingAmount:"Kalan miktar",limitPeriod:"Limit süresi",displayedProduct:"Ürün",futureLimit:"Gelecek limit",additionalLink1:"Son yatırım işlemi detayları",additionalLink2:"Dönemdeki işlemler",limitRemoved:"Bu limit kaldırıldı ve geçerli",limitUpdated:"Bu limit aşağıdaki tarihte uygulanacaktır",changeLimitLabel:"Dönem",futureAmount:"Gelecek miktar",limitTypeLabel:"Limit türü",fetchLimitDefError:"Limit tanımları alınamadı.",fetchLimitBalanceError:"Limit bakiyesi alınamadı.",invalidUrl:"'URL' oluşturulamadı: Geçersiz URL",startLabel:"Başlangıç",resetLabel:"Sıfırla",infoLabel:"Bilgi",walletLabel:"Cüzdan",walletsLabel:"Cüzdanlar"},ru:{noLimitToDisplay:"Пользователь не установил лимит...",depositLimitHeader:"Лимит депозита",lossLimitHeader:"Лимит потерь",wageringLimitHeader:"Лимит ставок",spentAmount:"Потраченная сумма",remainingAmount:"Оставшаяся сумма",limitPeriod:"Период лимита",displayedProduct:"Продукт",futureLimit:"Будущий лимит",additionalLink1:"Детали последней транзакции депозита",additionalLink2:"Транзакции за период",limitRemoved:"Этот лимит был удален и действует до",limitUpdated:"Этот лимит будет применен с",changeLimitLabel:"Изменить лимит",futureAmount:"Будущая сумма",limitTypeLabel:"Тип лимита",fetchLimitDefError:"Не удалось получить определения лимита.",fetchLimitBalanceError:"Не удалось получить баланс лимита.",invalidUrl:"Не удалось построить 'URL': Недопустимый URL",startLabel:"Начало",resetLabel:"Сброс",infoLabel:"Информация",walletLabel:"Кошелек",walletsLabel:"Кошельки"},ro:{noLimitToDisplay:"Utilizatorul nu a setat nicio limită...",depositLimitHeader:"Limită de depunere",lossLimitHeader:"Limită de pierdere",wageringLimitHeader:"Limită de pariere",spentAmount:"Suma cheltuită",remainingAmount:"Suma rămasă",limitPeriod:"Perioadă limită",displayedProduct:"Produs",futureLimit:"Limită viitoare",additionalLink1:"Detalii ultima tranzacție de depunere",additionalLink2:"Tranzacții în perioadă",limitRemoved:"Această limită a fost eliminată și este validă până la",limitUpdated:"Această limită va fi aplicată începând cu",changeLimitLabel:"Schimbă limita",futureAmount:"Suma viitoare",limitTypeLabel:"Tipul limitei",fetchLimitDefError:"Eșec la preluarea definițiilor de limită.",fetchLimitBalanceError:"Eșec la preluarea balanței limitelor.",invalidUrl:"Eșec la construirea 'URL-ului': URL invalid",startLabel:"Start",resetLabel:"Resetare",infoLabel:"Info",walletLabel:"Portofel",walletsLabel:"Portofele"},hr:{noLimitToDisplay:"Korisnik nije postavio limit...",depositLimitHeader:"Limit uplate",lossLimitHeader:"Limit gubitka",wageringLimitHeader:"Limit klađenja",spentAmount:"Potrošeni iznos",remainingAmount:"Preostali iznos",limitPeriod:"Period limita",displayedProduct:"Proizvod",futureLimit:"Budući limit",additionalLink1:"Detalji posljednje transakcije uplate",additionalLink2:"Transakcije u periodu",limitRemoved:"Ovaj limit je uklonjen i važi do",limitUpdated:"Ovaj limit će biti primijenjen počevši od",changeLimitLabel:"Promijeni limit",futureAmount:"Budući iznos",limitTypeLabel:"Vrsta limita",fetchLimitDefError:"Nije uspjelo preuzimanje definicija limita.",fetchLimitBalanceError:"Nije uspjelo preuzimanje stanja limita.",invalidUrl:"Nije uspjelo konstruiranje 'URL'-a: Nevaljan URL",startLabel:"Početak",resetLabel:"Resetiraj",infoLabel:"Informacije",walletLabel:"Novčanik",walletsLabel:"Novčanici"},hu:{noLimitToDisplay:"A felhasználó nem állított be korlátot...",depositLimitHeader:"Befizetési limit",lossLimitHeader:"Veszteségkorlát",wageringLimitHeader:"Tétlimit",spentAmount:"Elköltött összeg",remainingAmount:"Fennmaradó összeg",limitPeriod:"Korlát időtartama",displayedProduct:"Termék",futureLimit:"Jövőbeli limit",additionalLink1:"Legutóbbi befizetési tranzakció részletei",additionalLink2:"Tranzakciók időszakban",limitRemoved:"Ez a korlát eltávolításra került és érvényes",limitUpdated:"Ez a korlát alkalmazásra kerül a következőtől",changeLimitLabel:"Korlát módosítása",futureAmount:"Jövőbeli összeg",limitTypeLabel:"Korlát típusa",fetchLimitDefError:"Nem sikerült letölteni a korlát definíciókat.",fetchLimitBalanceError:"Nem sikerült letölteni a korlát egyenlegét.",invalidUrl:"Nem sikerült létrehozni az 'URL'-t: Érvénytelen URL",startLabel:"Indítás",resetLabel:"Visszaállítás",infoLabel:"Információ",walletLabel:"Pénztárca",walletsLabel:"Pénztárcák"},pl:{noLimitToDisplay:"Użytkownik nie ustawił limitu...",depositLimitHeader:"Limit depozytu",lossLimitHeader:"Limit strat",wageringLimitHeader:"Limit zakładów",spentAmount:"Wydana kwota",remainingAmount:"Pozostała kwota",limitPeriod:"Okres limitu",displayedProduct:"Produkt",futureLimit:"Przyszły limit",additionalLink1:"Szczegóły ostatniej transakcji depozytowej",additionalLink2:"Transakcje w okresie",limitRemoved:"Ten limit został usunięty i jest ważny do",limitUpdated:"Ten limit będzie obowiązywać począwszy od",changeLimitLabel:"Zmień limit",futureAmount:"Przyszła kwota",limitTypeLabel:"Typ limitu",fetchLimitDefError:"Nie udało się pobrać definicji limitu.",fetchLimitBalanceError:"Nie udało się pobrać salda limitu.",invalidUrl:"Nie udało się skonstruować 'URL': Nieprawidłowy URL",startLabel:"Start",resetLabel:"Resetuj",infoLabel:"Informacje",walletLabel:"Portfel",walletsLabel:"Portfele"},pt:{noLimitToDisplay:"O usuário não definiu um limite...",depositLimitHeader:"Limite de depósito",lossLimitHeader:"Limite de perdas",wageringLimitHeader:"Limite de apostas",spentAmount:"Valor gasto",remainingAmount:"Valor restante",limitPeriod:"Período do limite",displayedProduct:"Produto",futureLimit:"Limite futuro",additionalLink1:"Detalhes da última transação de depósito",additionalLink2:"Transações no período",limitRemoved:"Este limite foi removido e é válido até",limitUpdated:"Este limite será aplicado a partir de",changeLimitLabel:"Alterar limite",futureAmount:"Valor futuro",limitTypeLabel:"Tipo de limite",fetchLimitDefError:"Falha ao buscar definições de limite.",fetchLimitBalanceError:"Falha ao buscar saldo do limite.",invalidUrl:"Falha ao construir 'URL': URL inválida",startLabel:"Iniciar",resetLabel:"Redefinir",infoLabel:"Informação",walletLabel:"Carteira",walletsLabel:"Carteiras"},sl:{noLimitToDisplay:"Uporabnik ni določil omejitve...",depositLimitHeader:"Omejitev pologa",lossLimitHeader:"Omejitev izgub",wageringLimitHeader:"Omejitev stav",spentAmount:"Porabljen znesek",remainingAmount:"Preostali znesek",limitPeriod:"Obdobje omejitve",displayedProduct:"Izdelek",futureLimit:"Prihodnja omejitev",additionalLink1:"Podrobnosti zadnje transakcije pologa",additionalLink2:"Transakcije v obdobju",limitRemoved:"Ta omejitev je bila odstranjena in velja do",limitUpdated:"Ta omejitev bo veljavna od",changeLimitLabel:"Spremeni omejitev",futureAmount:"Prihodnji znesek",limitTypeLabel:"Vrsta omejitve",fetchLimitDefError:"Pridobivanje definicij omejitev ni uspelo.",fetchLimitBalanceError:"Pridobivanje stanja omejitev ni uspelo.",invalidUrl:"Izgradnja 'URL'-ja ni uspela: Neveljaven URL",startLabel:"Začni",resetLabel:"Ponastavi",infoLabel:"Informacije",walletLabel:"Denarnica",walletsLabel:"Denarnice"},sr:{noLimitToDisplay:"Korisnik nije postavio limit...",depositLimitHeader:"Limit depozita",lossLimitHeader:"Limit gubitka",wageringLimitHeader:"Limit klađenja",spentAmount:"Potrošeni iznos",remainingAmount:"Preostali iznos",limitPeriod:"Period limita",displayedProduct:"Proizvod",futureLimit:"Budući limit",additionalLink1:"Detalji poslednje transakcije depozita",additionalLink2:"Transakcije u periodu",limitRemoved:"Ovaj limit je uklonjen i važi do",limitUpdated:"Ovaj limit će se primeniti počevši od",changeLimitLabel:"Promeni limit",futureAmount:"Budući iznos",limitTypeLabel:"Vrsta limita",fetchLimitDefError:"Neuspeh u dobavljanju definicija limita.",fetchLimitBalanceError:"Neuspeh u dobavljanju stanja limita.",invalidUrl:"Neuspeh u konstrukciji 'URL'-a: Neispravan URL",startLabel:"Početak",resetLabel:"Resetuj",infoLabel:"Informacije",walletLabel:"Novčanik",walletsLabel:"Novčanici"},"es-mx":{noLimitToDisplay:"El usuario no ha establecido un límite...",depositLimitHeader:"Límite de depósito",lossLimitHeader:"Límite de pérdida",wageringLimitHeader:"Límite de apuesta",spentAmount:"Monto gastado",remainingAmount:"Monto restante",limitPeriod:"Período de límite",displayedProduct:"Producto",futureLimit:"Límite futuro",additionalLink1:"Detalles de la última transacción de depósito",additionalLink2:"Transacciones en el período",limitRemoved:"Este límite ha sido eliminado y es válido hasta",limitUpdated:"Este límite se aplicará a partir de",changeLimitLabel:"Cambiar límite",futureAmount:"Monto futuro",limitTypeLabel:"Tipo de límite",fetchLimitDefError:"Error al obtener definiciones de límite.",fetchLimitBalanceError:"Error al obtener el saldo del límite.",invalidUrl:"Error al construir 'URL': URL inválida",startLabel:"Inicio",resetLabel:"Reiniciar",infoLabel:"Información",walletLabel:"Cartera",walletsLabel:"Carteras"},"pt-br":{noLimitToDisplay:"O usuário não definiu um limite...",depositLimitHeader:"Limite de depósito",lossLimitHeader:"Limite de perda",wageringLimitHeader:"Limite de apostas",spentAmount:"Valor gasto",remainingAmount:"Valor restante",limitPeriod:"Período de limite",displayedProduct:"Produto",futureLimit:"Limite futuro",additionalLink1:"Detalhes da última transação de depósito",additionalLink2:"Transações no período",limitRemoved:"Este limite foi removido e é válido até",limitUpdated:"Este limite será aplicado a partir de",changeLimitLabel:"Alterar limite",futureAmount:"Valor futuro",limitTypeLabel:"Tipo de limite",fetchLimitDefError:"Falha ao buscar definições de limite.",fetchLimitBalanceError:"Falha ao buscar saldo do limite.",invalidUrl:"Falha ao construir 'URL': URL inválida",startLabel:"Iniciar",resetLabel:"Redefinir",infoLabel:"Informação",walletLabel:"Carteira",walletsLabel:"Carteiras"}};var Mi="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 386 193' fill='none'%3e %3cpath d='M4 193a189 189 0 0 1 379 0' stroke='url(%23a)' stroke-width='6' stroke-dasharray='2 2'/%3e %3cpath d='M49 193a144 144 0 1 1 288 0' stroke='%23C4C4C4' stroke-width='30' stroke-dasharray='2 2'/%3e %3cdefs%3e%3clinearGradient id='a' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3e%3cstop offset='0%25'/%3e%3cstop offset='100%25' stop-opacity='.2'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
1174
- /* src/images/caret-select.svg.svelte generated by Svelte v3.59.2 */function Di(t){let i,n;return{c(){i=f("svg"),n=f("path"),this.c=e,b(n,"d","M13 14L0.250001 27.8564L0.250002 0.143593L13 14Z"),b(i,"width","13"),b(i,"height","28"),b(i,"viewBox","0 0 13 28"),b(i,"fill","currentColor"),b(i,"xmlns","http://www.w3.org/2000/svg")},m(e,t){c(e,i,t),u(i,n)},p:e,i:e,o:e,d(e){e&&h(i)}}}
1175
+ (e,t=ri())=>new Pt(e,t,zt().formats,{ignoreTag:zt().ignoreTag}))),_i=(e,t={})=>{var i,n,r,a;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:o,locale:l=ri(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Ct(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!=(a=null!=(r=null==(n=(i=zt()).handleMissingMessage)?void 0:n.call(i,{locale:l,id:e,defaultValue:u}))?r:u)?a:e;if(!o)return c;let h=c;try{h=vi(c,l).format(o)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},Li=(e,t)=>((e={})=>{var t=e,{locale:i=ri()}=t,n=fi(t,["locale"]);return bi(mi({locale:i},n))})(t).format(e),wi=(e,t)=>((e={})=>{var t=e,{locale:i=ri()}=t,n=fi(t,["locale"]);return yi(mi({locale:i},n))})(t).format(e),Ei=(e,t)=>((e={})=>{var t=e,{locale:i=ri()}=t,n=fi(t,["locale"]);return gi(mi({locale:i},n))})(t).format(e),Ti=(e,t=ri())=>Ct(e,t),Si=Z([ai,xt],(()=>_i));function ki(e,t){Bt(e,t)}Z([ai],(()=>Li)),Z([ai],(()=>wi)),Z([ai],(()=>Ei)),Z([ai,xt],(()=>Ti));const Mi={en:{noLimitToDisplay:"The user has not set a limit...",depositLimitHeader:"Deposit limit",lossLimitHeader:"Loss limit",wageringLimitHeader:"Wagering limit",spentAmount:"Spent amount",remainingAmount:"Remaining amount",limitPeriod:"Limit period",displayedProduct:"Product",futureLimit:"Future limit",additionalLink1:"Last deposit transaction details",additionalLink2:"Transactions in period",limitRemoved:"This limit has been removed and is valid until",limitUpdated:"This limit will be applied beginning with",changeLimitLabel:"Period",futureAmount:"Future amount",limitTypeLabel:"Limit type",fetchLimitDefError:"Failed to fetch limit definitions.",fetchLimitBalanceError:"Failed to fetch limit balance.",invalidUrl:"Failed to construct 'URL': Invalid URL",startLabel:"Start",resetLabel:"Reset",infoLabel:"Info",walletLabel:"Wallet",walletsLabel:"Wallets",editLimitTitle:"Edit Limit",deleteLimitTitle:"Delete limit",cancelScheduleTitle:"Cancel schedule"},"zh-hk":{noLimitToDisplay:"使用者尚未設定限額...",depositLimitHeader:"存款限額",lossLimitHeader:"損失限額",wageringLimitHeader:"押注限額",spentAmount:"花費金額",remainingAmount:"剩餘金額",limitPeriod:"限制期限",displayedProduct:"產品",futureLimit:"未來限額",additionalLink1:"最後存款交易詳情",additionalLink2:"期間交易",limitRemoved:"此限額已移除,有效期至",limitUpdated:"此限額將自以下日期開始生效",changeLimitLabel:"期限",futureAmount:"未來金額",limitTypeLabel:"限額類型",fetchLimitDefError:"無法獲取限額定義。",fetchLimitBalanceError:"無法獲取限額餘額。",invalidUrl:"無法構建 'URL':URL 無效",startLabel:"開始",resetLabel:"重設",infoLabel:"信息",walletLabel:"錢包",walletsLabel:"錢包",editLimitTitle:"編輯限制",deleteLimitTitle:"刪除限制",cancelScheduleTitle:"取消行程"},de:{noLimitToDisplay:"Der Benutzer hat kein Limit festgelegt...",depositLimitHeader:"Einzahlungslimit",lossLimitHeader:"Verlustgrenze",wageringLimitHeader:"Wetteinsatzgrenze",spentAmount:"Ausgegebener Betrag",remainingAmount:"Verbleibender Betrag",limitPeriod:"Begrenzungszeitraum",displayedProduct:"Produkt",futureLimit:"Zukünftiges Limit",additionalLink1:"Details zur letzten Einzahlungstransaktion",additionalLink2:"Transaktionen im Zeitraum",limitRemoved:"Dieses Limit wurde entfernt und ist gültig bis",limitUpdated:"Dieses Limit wird ab dem folgenden Datum angewendet",changeLimitLabel:"Zeitraum",futureAmount:"Zukünftiger Betrag",limitTypeLabel:"Limit Typ",fetchLimitDefError:"Fehler beim Abrufen von Limitdefinitionen.",fetchLimitBalanceError:"Fehler beim Abrufen des Limitbetrags.",invalidUrl:"Fehler beim Erstellen der URL: Ungültige URL",startLabel:"Start",resetLabel:"Zurücksetzen",infoLabel:"Info",walletLabel:"Brieftasche",walletsLabel:"Brieftaschen",editLimitTitle:"Limit bearbeiten",deleteLimitTitle:"Limit löschen",cancelScheduleTitle:"Zeitplan abbrechen"},it:{noLimitToDisplay:"L'utente non ha impostato un limite...",depositLimitHeader:"Limite di deposito",lossLimitHeader:"Limite di perdita",wageringLimitHeader:"Limite di scommessa",spentAmount:"Importo speso",remainingAmount:"Importo residuo",limitPeriod:"Periodo limite",displayedProduct:"Prodotto",futureLimit:"Limite futuro",additionalLink1:"Dettagli della transazione dell'ultimo deposito",additionalLink2:"Deposito nel periodo",limitRemoved:"Questo limite è stato rimosso ed è valido fino a",limitUpdated:"Questo limite sarà applicato a partire da",changeLimitLabel:"Cambia limite",futureAmount:"Importo futuro",limitTypeLabel:"Tipo di limite",fetchLimitDefError:"Impossibile recuperare le definizioni di limite.",fetchLimitBalanceError:"Impossibile recuperare il saldo limite.",invalidUrl:"Impossibile costruire l'URL: URL non valido",startLabel:"Inizio",resetLabel:"Ripristina",infoLabel:"Info",walletLabel:"Portafoglio",walletsLabel:"Portafogli",editLimitTitle:"Modifica limite",deleteLimitTitle:"Elimina limite",cancelScheduleTitle:"Annulla pianificazione"},fr:{noLimitToDisplay:"L'utilisateur n'a pas fixé de limite...",depositLimitHeader:"Limite de dépôt",lossLimitHeader:"Limite de perte",wageringLimitHeader:"Limite de mise",spentAmount:"Montant dépensé",remainingAmount:"Montant restant",limitPeriod:"Délai limite",displayedProduct:"Produit",futureLimit:"Limite future",additionalLink1:"Détails de la transaction du dernier dépôt",additionalLink2:"Dépôt en période",limitRemoved:"Cette limite a été supprimée et est valide jusqu'à",limitUpdated:"Cette limite sera appliquée à partir de",changeLimitLabel:"Changer de limite",futureAmount:"Montant futur",limitTypeLabel:"Type de limite",fetchLimitDefError:"Échec du téléchargement des définitions de limite.",fetchLimitBalanceError:"Échec du téléchargement du solde limite.",invalidUrl:"Échec de la construction de 'URL' : URL non valide",startLabel:"Démarrer",resetLabel:"Réinitialiser",infoLabel:"Info",walletLabel:"Portefeuille",walletsLabel:"Portefeuilles",editLimitTitle:"Modifier la limite",deleteLimitTitle:"Supprimer la limite",cancelScheduleTitle:"Annuler le planning"},es:{noLimitToDisplay:"El usuario no ha establecido un límite...",depositLimitHeader:"Límite de depósito",lossLimitHeader:"Límite de pérdida",wageringLimitHeader:"Límite de apuesta",spentAmount:"Monto gastado",remainingAmount:"Monto restante",limitPeriod:"Período de límite",displayedProduct:"Producto",futureLimit:"Límite futuro",additionalLink1:"Detalles de la última transacción de depósito",additionalLink2:"Depósito en el período",limitRemoved:"Este límite ha sido eliminado y es válido hasta",limitUpdated:"Este límite se aplicará a partir de",changeLimitLabel:"Cambiar límite",futureAmount:"Monto futuro",limitTypeLabel:"Tipo de límite",fetchLimitDefError:"Error al obtener definiciones de límite.",fetchLimitBalanceError:"Error al obtener el saldo del límite.",invalidUrl:"Error al construir 'URL': URL inválida",startLabel:"Comienzo",resetLabel:"Reiniciar",infoLabel:"Información",walletLabel:"Cartera",walletsLabel:"Carteras",editLimitTitle:"Editar límite",deleteLimitTitle:"Eliminar límite",cancelScheduleTitle:"Cancelar programación"},el:{noLimitToDisplay:"Ο χρήστης δεν έχει ορίσει όριο...",depositLimitHeader:"Όριο κατάθεσης",lossLimitHeader:"Όριο απώλειας",wageringLimitHeader:"Όριο στοίχημα",spentAmount:"Ποσό που έχει δαπανηθεί",remainingAmount:"Υπόλοιπο ποσό",limitPeriod:"Περίοδος ορίου",displayedProduct:"Προϊόν",futureLimit:"Μελλοντικό όριο",additionalLink1:"Λεπτομέρειες της τελευταίας συναλλαγής κατάθεσης",additionalLink2:"Καταθέσεις κατά την περίοδο",limitRemoved:"Αυτό το όριο έχει καταργηθεί και είναι έγκυρο μέχρι",limitUpdated:"Αυτό το όριο θα εφαρμοστεί από",changeLimitLabel:"Αλλαγή ορίου",futureAmount:"Μελλοντικό ποσό",limitTypeLabel:"Τύπος ορίου",fetchLimitDefError:"Αποτυχία λήψης ορισμών ορίου.",fetchLimitBalanceError:"Αποτυχία λήψης υπολοίπου ορίου.",invalidUrl:"Αποτυχία κατασκευής 'URL': Μη έγκυρη διεύθυνση URL",startLabel:"Έναρξη",resetLabel:"Επαναφορά",infoLabel:"Πληροφορίες",walletLabel:"Πορτοφόλι",walletsLabel:"Πορτοφόλια",editLimitTitle:"Επεξεργασία ορίου",deleteLimitTitle:"Διαγραφή ορίου",cancelScheduleTitle:"Ακύρωση προγράμματος"},tr:{noLimitToDisplay:"Kullanıcı bir sınırlama belirlemedi...",depositLimitHeader:"Yatırım limiti",lossLimitHeader:"Kayıp limiti",wageringLimitHeader:"Bahis limiti",spentAmount:"Harcamış miktar",remainingAmount:"Kalan miktar",limitPeriod:"Limit süresi",displayedProduct:"Ürün",futureLimit:"Gelecek limit",additionalLink1:"Son yatırım işlemi detayları",additionalLink2:"Dönemdeki işlemler",limitRemoved:"Bu limit kaldırıldı ve geçerli",limitUpdated:"Bu limit aşağıdaki tarihte uygulanacaktır",changeLimitLabel:"Dönem",futureAmount:"Gelecek miktar",limitTypeLabel:"Limit türü",fetchLimitDefError:"Limit tanımları alınamadı.",fetchLimitBalanceError:"Limit bakiyesi alınamadı.",invalidUrl:"'URL' oluşturulamadı: Geçersiz URL",startLabel:"Başlangıç",resetLabel:"Sıfırla",infoLabel:"Bilgi",walletLabel:"Cüzdan",walletsLabel:"Cüzdanlar",editLimitTitle:"Sınırı Düzenle",deleteLimitTitle:"Sınırı sil",cancelScheduleTitle:"Programı iptal et"},ru:{noLimitToDisplay:"Пользователь не установил лимит...",depositLimitHeader:"Лимит депозита",lossLimitHeader:"Лимит потерь",wageringLimitHeader:"Лимит ставок",spentAmount:"Потраченная сумма",remainingAmount:"Оставшаяся сумма",limitPeriod:"Период лимита",displayedProduct:"Продукт",futureLimit:"Будущий лимит",additionalLink1:"Детали последней транзакции депозита",additionalLink2:"Транзакции за период",limitRemoved:"Этот лимит был удален и действует до",limitUpdated:"Этот лимит будет применен с",changeLimitLabel:"Изменить лимит",futureAmount:"Будущая сумма",limitTypeLabel:"Тип лимита",fetchLimitDefError:"Не удалось получить определения лимита.",fetchLimitBalanceError:"Не удалось получить баланс лимита.",invalidUrl:"Не удалось построить 'URL': Недопустимый URL",startLabel:"Начало",resetLabel:"Сброс",infoLabel:"Информация",walletLabel:"Кошелек",walletsLabel:"Кошельки",editLimitTitle:"Изменить лимит",deleteLimitTitle:"Удалить лимит",cancelScheduleTitle:"Отменить расписание"},ro:{noLimitToDisplay:"Utilizatorul nu a setat nicio limită...",depositLimitHeader:"Limită de depunere",lossLimitHeader:"Limită de pierdere",wageringLimitHeader:"Limită de pariere",spentAmount:"Suma cheltuită",remainingAmount:"Suma rămasă",limitPeriod:"Perioadă limită",displayedProduct:"Produs",futureLimit:"Limită viitoare",additionalLink1:"Detalii ultima tranzacție de depunere",additionalLink2:"Tranzacții în perioadă",limitRemoved:"Această limită a fost eliminată și este validă până la",limitUpdated:"Această limită va fi aplicată începând cu",changeLimitLabel:"Schimbă limita",futureAmount:"Suma viitoare",limitTypeLabel:"Tipul limitei",fetchLimitDefError:"Eșec la preluarea definițiilor de limită.",fetchLimitBalanceError:"Eșec la preluarea balanței limitelor.",invalidUrl:"Eșec la construirea 'URL-ului': URL invalid",startLabel:"Start",resetLabel:"Resetare",infoLabel:"Info",walletLabel:"Portofel",walletsLabel:"Portofele",editLimitTitle:"Editați limita",deleteLimitTitle:"Ștergeți limita",cancelScheduleTitle:"Anulați programul"},hr:{noLimitToDisplay:"Korisnik nije postavio limit...",depositLimitHeader:"Limit uplate",lossLimitHeader:"Limit gubitka",wageringLimitHeader:"Limit klađenja",spentAmount:"Potrošeni iznos",remainingAmount:"Preostali iznos",limitPeriod:"Period limita",displayedProduct:"Proizvod",futureLimit:"Budući limit",additionalLink1:"Detalji posljednje transakcije uplate",additionalLink2:"Transakcije u periodu",limitRemoved:"Ovaj limit je uklonjen i važi do",limitUpdated:"Ovaj limit će biti primijenjen počevši od",changeLimitLabel:"Promijeni limit",futureAmount:"Budući iznos",limitTypeLabel:"Vrsta limita",fetchLimitDefError:"Nije uspjelo preuzimanje definicija limita.",fetchLimitBalanceError:"Nije uspjelo preuzimanje stanja limita.",invalidUrl:"Nije uspjelo konstruiranje 'URL'-a: Nevaljan URL",startLabel:"Početak",resetLabel:"Resetiraj",infoLabel:"Informacije",walletLabel:"Novčanik",walletsLabel:"Novčanici",editLimitTitle:"Uredi ograničenje",deleteLimitTitle:"Ograničenje brisanja",cancelScheduleTitle:"Otkaži raspored"},hu:{noLimitToDisplay:"A felhasználó nem állított be korlátot...",depositLimitHeader:"Befizetési limit",lossLimitHeader:"Veszteségkorlát",wageringLimitHeader:"Tétlimit",spentAmount:"Elköltött összeg",remainingAmount:"Fennmaradó összeg",limitPeriod:"Korlát időtartama",displayedProduct:"Termék",futureLimit:"Jövőbeli limit",additionalLink1:"Legutóbbi befizetési tranzakció részletei",additionalLink2:"Tranzakciók időszakban",limitRemoved:"Ez a korlát eltávolításra került és érvényes",limitUpdated:"Ez a korlát alkalmazásra kerül a következőtől",changeLimitLabel:"Korlát módosítása",futureAmount:"Jövőbeli összeg",limitTypeLabel:"Korlát típusa",fetchLimitDefError:"Nem sikerült letölteni a korlát definíciókat.",fetchLimitBalanceError:"Nem sikerült letölteni a korlát egyenlegét.",invalidUrl:"Nem sikerült létrehozni az 'URL'-t: Érvénytelen URL",startLabel:"Indítás",resetLabel:"Visszaállítás",infoLabel:"Információ",walletLabel:"Pénztárca",walletsLabel:"Pénztárcák",editLimitTitle:"Korlát szerkesztése",deleteLimitTitle:"Korlát törlése",cancelScheduleTitle:"Ütemezés törlése"},pl:{noLimitToDisplay:"Użytkownik nie ustawił limitu...",depositLimitHeader:"Limit depozytu",lossLimitHeader:"Limit strat",wageringLimitHeader:"Limit zakładów",spentAmount:"Wydana kwota",remainingAmount:"Pozostała kwota",limitPeriod:"Okres limitu",displayedProduct:"Produkt",futureLimit:"Przyszły limit",additionalLink1:"Szczegóły ostatniej transakcji depozytowej",additionalLink2:"Transakcje w okresie",limitRemoved:"Ten limit został usunięty i jest ważny do",limitUpdated:"Ten limit będzie obowiązywać począwszy od",changeLimitLabel:"Zmień limit",futureAmount:"Przyszła kwota",limitTypeLabel:"Typ limitu",fetchLimitDefError:"Nie udało się pobrać definicji limitu.",fetchLimitBalanceError:"Nie udało się pobrać salda limitu.",invalidUrl:"Nie udało się skonstruować 'URL': Nieprawidłowy URL",startLabel:"Start",resetLabel:"Resetuj",infoLabel:"Informacje",walletLabel:"Portfel",walletsLabel:"Portfele",editLimitTitle:"Limit edycji",deleteLimitTitle:"Usuń limit",cancelScheduleTitle:"Anuluj harmonogram"},pt:{noLimitToDisplay:"O usuário não definiu um limite...",depositLimitHeader:"Limite de depósito",lossLimitHeader:"Limite de perdas",wageringLimitHeader:"Limite de apostas",spentAmount:"Valor gasto",remainingAmount:"Valor restante",limitPeriod:"Período do limite",displayedProduct:"Produto",futureLimit:"Limite futuro",additionalLink1:"Detalhes da última transação de depósito",additionalLink2:"Transações no período",limitRemoved:"Este limite foi removido e é válido até",limitUpdated:"Este limite será aplicado a partir de",changeLimitLabel:"Alterar limite",futureAmount:"Valor futuro",limitTypeLabel:"Tipo de limite",fetchLimitDefError:"Falha ao buscar definições de limite.",fetchLimitBalanceError:"Falha ao buscar saldo do limite.",invalidUrl:"Falha ao construir 'URL': URL inválida",startLabel:"Iniciar",resetLabel:"Redefinir",infoLabel:"Informação",walletLabel:"Carteira",walletsLabel:"Carteiras",editLimitTitle:"Editar Limite",deleteLimitTitle:"Excluir limite",cancelScheduleTitle:"Cancelar agendamento"},sl:{noLimitToDisplay:"Uporabnik ni določil omejitve...",depositLimitHeader:"Omejitev pologa",lossLimitHeader:"Omejitev izgub",wageringLimitHeader:"Omejitev stav",spentAmount:"Porabljen znesek",remainingAmount:"Preostali znesek",limitPeriod:"Obdobje omejitve",displayedProduct:"Izdelek",futureLimit:"Prihodnja omejitev",additionalLink1:"Podrobnosti zadnje transakcije pologa",additionalLink2:"Transakcije v obdobju",limitRemoved:"Ta omejitev je bila odstranjena in velja do",limitUpdated:"Ta omejitev bo veljavna od",changeLimitLabel:"Spremeni omejitev",futureAmount:"Prihodnji znesek",limitTypeLabel:"Vrsta omejitve",fetchLimitDefError:"Pridobivanje definicij omejitev ni uspelo.",fetchLimitBalanceError:"Pridobivanje stanja omejitev ni uspelo.",invalidUrl:"Izgradnja 'URL'-ja ni uspela: Neveljaven URL",startLabel:"Začni",resetLabel:"Ponastavi",infoLabel:"Informacije",walletLabel:"Denarnica",walletsLabel:"Denarnice",editLimitTitle:"Uredi omejitev",deleteLimitTitle:"Omejitev brisanja",cancelScheduleTitle:"Prekliči razpored"},sr:{noLimitToDisplay:"Korisnik nije postavio limit...",depositLimitHeader:"Limit depozita",lossLimitHeader:"Limit gubitka",wageringLimitHeader:"Limit klađenja",spentAmount:"Potrošeni iznos",remainingAmount:"Preostali iznos",limitPeriod:"Period limita",displayedProduct:"Proizvod",futureLimit:"Budući limit",additionalLink1:"Detalji poslednje transakcije depozita",additionalLink2:"Transakcije u periodu",limitRemoved:"Ovaj limit je uklonjen i važi do",limitUpdated:"Ovaj limit će se primeniti počevši od",changeLimitLabel:"Promeni limit",futureAmount:"Budući iznos",limitTypeLabel:"Vrsta limita",fetchLimitDefError:"Neuspeh u dobavljanju definicija limita.",fetchLimitBalanceError:"Neuspeh u dobavljanju stanja limita.",invalidUrl:"Neuspeh u konstrukciji 'URL'-a: Neispravan URL",startLabel:"Početak",resetLabel:"Resetuj",infoLabel:"Informacije",walletLabel:"Novčanik",walletsLabel:"Novčanici",editLimitTitle:"Ograničenje uređivanja",deleteLimitTitle:"Izbriši ograničenje",cancelScheduleTitle:"Otkaži raspored"},"es-mx":{noLimitToDisplay:"El usuario no ha establecido un límite...",depositLimitHeader:"Límite de depósito",lossLimitHeader:"Límite de pérdida",wageringLimitHeader:"Límite de apuesta",spentAmount:"Monto gastado",remainingAmount:"Monto restante",limitPeriod:"Período de límite",displayedProduct:"Producto",futureLimit:"Límite futuro",additionalLink1:"Detalles de la última transacción de depósito",additionalLink2:"Transacciones en el período",limitRemoved:"Este límite ha sido eliminado y es válido hasta",limitUpdated:"Este límite se aplicará a partir de",changeLimitLabel:"Cambiar límite",futureAmount:"Monto futuro",limitTypeLabel:"Tipo de límite",fetchLimitDefError:"Error al obtener definiciones de límite.",fetchLimitBalanceError:"Error al obtener el saldo del límite.",invalidUrl:"Error al construir 'URL': URL inválida",startLabel:"Inicio",resetLabel:"Reiniciar",infoLabel:"Información",walletLabel:"Cartera",walletsLabel:"Carteras",editLimitTitle:"Editar límite",deleteLimitTitle:"Eliminar límite",cancelScheduleTitle:"Cancelar programación"},"pt-br":{noLimitToDisplay:"O usuário não definiu um limite...",depositLimitHeader:"Limite de depósito",lossLimitHeader:"Limite de perda",wageringLimitHeader:"Limite de apostas",spentAmount:"Valor gasto",remainingAmount:"Valor restante",limitPeriod:"Período de limite",displayedProduct:"Produto",futureLimit:"Limite futuro",additionalLink1:"Detalhes da última transação de depósito",additionalLink2:"Transações no período",limitRemoved:"Este limite foi removido e é válido até",limitUpdated:"Este limite será aplicado a partir de",changeLimitLabel:"Alterar limite",futureAmount:"Valor futuro",limitTypeLabel:"Tipo de limite",fetchLimitDefError:"Falha ao buscar definições de limite.",fetchLimitBalanceError:"Falha ao buscar saldo do limite.",invalidUrl:"Falha ao construir 'URL': URL inválida",startLabel:"Iniciar",resetLabel:"Redefinir",infoLabel:"Informação",walletLabel:"Carteira",walletsLabel:"Carteiras",editLimitTitle:"Editar Limite",deleteLimitTitle:"Excluir limite",cancelScheduleTitle:"Cancelar agendamento"}};var Di="data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 386 193' fill='none'%3e %3cpath d='M4 193a189 189 0 0 1 379 0' stroke='url(%23a)' stroke-width='6' stroke-dasharray='2 2'/%3e %3cpath d='M49 193a144 144 0 1 1 288 0' stroke='%23C4C4C4' stroke-width='30' stroke-dasharray='2 2'/%3e %3cdefs%3e%3clinearGradient id='a' x1='0%25' y1='0%25' x2='100%25' y2='100%25'%3e%3cstop offset='0%25'/%3e%3cstop offset='100%25' stop-opacity='.2'/%3e%3c/linearGradient%3e%3c/defs%3e%3c/svg%3e";
1176
+ /* src/images/caret-select.svg.svelte generated by Svelte v3.59.2 */function Pi(t){let i,n;return{c(){i=f("svg"),n=f("path"),this.c=e,v(n,"d","M13 14L0.250001 27.8564L0.250002 0.143593L13 14Z"),v(i,"width","13"),v(i,"height","28"),v(i,"viewBox","0 0 13 28"),v(i,"fill","currentColor"),v(i,"xmlns","http://www.w3.org/2000/svg")},m(e,t){c(e,i,t),u(i,n)},p:e,i:e,o:e,d(e){e&&h(i)}}}
1175
1177
  /* src/images/fa-caret-right.svg.svelte generated by Svelte v3.59.2 */
1176
- function Pi(t){let i,n;return{c(){i=f("svg"),n=f("path"),this.c=e,b(n,"fill","currentColor"),b(n,"d","M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z"),b(i,"xmlns","http://www.w3.org/2000/svg"),b(i,"height","12"),b(i,"width","6"),b(i,"viewBox","0 0 256 512")},m(e,t){c(e,i,t),u(i,n)},p:e,i:e,o:e,d(e){e&&h(i)}}}customElements.define("caret-select",class extends G{constructor(e){super(),j(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},null,Di,a,{},null),e&&e.target&&c(e.target,this,e.anchor)}});
1178
+ function Ai(t){let i,n;return{c(){i=f("svg"),n=f("path"),this.c=e,v(n,"fill","currentColor"),v(n,"d","M246.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-128-128c-9.2-9.2-22.9-11.9-34.9-6.9s-19.8 16.6-19.8 29.6l0 256c0 12.9 7.8 24.6 19.8 29.6s25.7 2.2 34.9-6.9l128-128z"),v(i,"xmlns","http://www.w3.org/2000/svg"),v(i,"height","12"),v(i,"width","6"),v(i,"viewBox","0 0 256 512")},m(e,t){c(e,i,t),u(i,n)},p:e,i:e,o:e,d(e){e&&h(i)}}}customElements.define("caret-select",class extends ${constructor(e){super(),G(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},null,Pi,a,{},null),e&&e.target&&c(e.target,this,e.anchor)}});
1177
1179
  /* src/images/curency.svg.svelte generated by Svelte v3.59.2 */
1178
- function Ai(t){let i,n;return{c(){i=f("svg"),n=f("path"),this.c=e,b(n,"d","M12.375 25.3977C10.7746 25.3977 9.27367 25.09 7.87216 24.4744C6.47064 23.8494 5.23485 22.9782 4.16477 21.8608C3.10417 20.7434 2.27557 19.4413 1.67898 17.9545C1.08239 16.4678 0.784091 14.858 0.784091 13.125C0.784091 11.392 1.08239 9.78693 1.67898 8.30966C2.27557 6.82292 3.10417 5.52557 4.16477 4.41761C5.23485 3.30966 6.47064 2.44792 7.87216 1.83239C9.27367 1.21686 10.7746 0.90909 12.375 0.90909C13.9848 0.90909 15.4905 1.21686 16.892 1.83239C18.303 2.44792 19.5388 3.30966 20.5994 4.41761C21.6695 5.52557 22.5076 6.82292 23.1136 8.30966C23.7197 9.78693 24.0227 11.392 24.0227 13.125C24.0227 14.858 23.7197 16.4678 23.1136 17.9545C22.5076 19.4413 21.6695 20.7434 20.5994 21.8608C19.5388 22.9782 18.303 23.8494 16.892 24.4744C15.4905 25.09 13.9848 25.3977 12.375 25.3977ZM12.375 22.2727C13.5398 22.2727 14.6288 22.036 15.642 21.5625C16.6648 21.0795 17.5597 20.4167 18.3267 19.5739C19.0938 18.7311 19.6951 17.7604 20.1307 16.6619C20.5663 15.554 20.7841 14.375 20.7841 13.125C20.7841 11.4394 20.4053 9.9053 19.6477 8.52273C18.8996 7.14015 17.8864 6.03693 16.608 5.21307C15.339 4.3892 13.928 3.97727 12.375 3.97727C10.822 3.97727 9.40152 4.3892 8.11364 5.21307C6.83523 6.03693 5.8125 7.14015 5.04545 8.52273C4.28788 9.9053 3.90909 11.4394 3.90909 13.125C3.90909 14.7917 4.28788 16.321 5.04545 17.7131C5.8125 19.0956 6.83523 20.2036 8.11364 21.0369C9.40152 21.8608 10.822 22.2727 12.375 22.2727ZM20.6136 6.93182L18.3409 4.54545L22.2614 0.511363L24.5909 2.89773L20.6136 6.93182ZM22.2614 25.2841L18.3409 21.25L20.6136 18.9205L24.5909 22.8977L22.2614 25.2841ZM2.60227 25.2841L0.329545 22.8977L4.25 18.9205L6.57955 21.25L2.60227 25.2841ZM4.25 6.93182L0.329545 2.89773L2.60227 0.511363L6.57955 4.54545L4.25 6.93182Z"),b(i,"width","18"),b(i,"viewBox","0 0 25 26"),b(i,"fill","currentColor"),b(i,"xmlns","http://www.w3.org/2000/svg")},m(e,t){c(e,i,t),u(i,n)},p:e,i:e,o:e,d(e){e&&h(i)}}}customElements.define("caret-right",class extends G{constructor(e){super(),j(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},null,Pi,a,{},null),e&&e.target&&c(e.target,this,e.anchor)}});
1180
+ function Hi(t){let i,n;return{c(){i=f("svg"),n=f("path"),this.c=e,v(n,"d","M12.375 25.3977C10.7746 25.3977 9.27367 25.09 7.87216 24.4744C6.47064 23.8494 5.23485 22.9782 4.16477 21.8608C3.10417 20.7434 2.27557 19.4413 1.67898 17.9545C1.08239 16.4678 0.784091 14.858 0.784091 13.125C0.784091 11.392 1.08239 9.78693 1.67898 8.30966C2.27557 6.82292 3.10417 5.52557 4.16477 4.41761C5.23485 3.30966 6.47064 2.44792 7.87216 1.83239C9.27367 1.21686 10.7746 0.90909 12.375 0.90909C13.9848 0.90909 15.4905 1.21686 16.892 1.83239C18.303 2.44792 19.5388 3.30966 20.5994 4.41761C21.6695 5.52557 22.5076 6.82292 23.1136 8.30966C23.7197 9.78693 24.0227 11.392 24.0227 13.125C24.0227 14.858 23.7197 16.4678 23.1136 17.9545C22.5076 19.4413 21.6695 20.7434 20.5994 21.8608C19.5388 22.9782 18.303 23.8494 16.892 24.4744C15.4905 25.09 13.9848 25.3977 12.375 25.3977ZM12.375 22.2727C13.5398 22.2727 14.6288 22.036 15.642 21.5625C16.6648 21.0795 17.5597 20.4167 18.3267 19.5739C19.0938 18.7311 19.6951 17.7604 20.1307 16.6619C20.5663 15.554 20.7841 14.375 20.7841 13.125C20.7841 11.4394 20.4053 9.9053 19.6477 8.52273C18.8996 7.14015 17.8864 6.03693 16.608 5.21307C15.339 4.3892 13.928 3.97727 12.375 3.97727C10.822 3.97727 9.40152 4.3892 8.11364 5.21307C6.83523 6.03693 5.8125 7.14015 5.04545 8.52273C4.28788 9.9053 3.90909 11.4394 3.90909 13.125C3.90909 14.7917 4.28788 16.321 5.04545 17.7131C5.8125 19.0956 6.83523 20.2036 8.11364 21.0369C9.40152 21.8608 10.822 22.2727 12.375 22.2727ZM20.6136 6.93182L18.3409 4.54545L22.2614 0.511363L24.5909 2.89773L20.6136 6.93182ZM22.2614 25.2841L18.3409 21.25L20.6136 18.9205L24.5909 22.8977L22.2614 25.2841ZM2.60227 25.2841L0.329545 22.8977L4.25 18.9205L6.57955 21.25L2.60227 25.2841ZM4.25 6.93182L0.329545 2.89773L2.60227 0.511363L6.57955 4.54545L4.25 6.93182Z"),v(i,"width","18"),v(i,"viewBox","0 0 25 26"),v(i,"fill","currentColor"),v(i,"xmlns","http://www.w3.org/2000/svg")},m(e,t){c(e,i,t),u(i,n)},p:e,i:e,o:e,d(e){e&&h(i)}}}customElements.define("caret-right",class extends ${constructor(e){super(),G(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},null,Ai,a,{},null),e&&e.target&&c(e.target,this,e.anchor)}});
1181
+ /* src/images/fa-calendar-times-o.svg.svelte generated by Svelte v3.59.2 */
1182
+ function Ci(t){let i,n;return{c(){i=f("svg"),n=f("path"),this.c=e,v(n,"fill","currentColor"),v(n,"d","m1111 1385l-46 46q-9 9-22 9t-23-9l-188-189l-188 189q-10 9-23 9t-22-9l-46-46q-9-9-9-22t9-23l189-188l-189-188q-9-10-9-23t9-22l46-46q9-9 22-9t23 9l188 188l188-188q10-9 23-9t22 9l46 46q9 9 9 22t-9 23l-188 188l188 188q9 10 9 23t-9 22m-983 279h1408V640H128zM512 448V160q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v288q0 14 9 23t23 9h64q14 0 23-9t9-23m768 0V160q0-14-9-23t-23-9h-64q-14 0-23 9t-9 23v288q0 14 9 23t23 9h64q14 0 23-9t9-23m384-64v1280q0 52-38 90t-90 38H128q-52 0-90-38t-38-90V384q0-52 38-90t90-38h128v-96q0-66 47-113T416 0h64q66 0 113 47t47 113v96h384v-96q0-66 47-113t113-47h64q66 0 113 47t47 113v96h128q52 0 90 38t38 90"),v(i,"xmlns","http://www.w3.org/2000/svg"),v(i,"width","0.93em"),v(i,"height","1em"),v(i,"viewBox","0 0 1664 1792")},m(e,t){c(e,i,t),u(i,n)},p:e,i:e,o:e,d(e){e&&h(i)}}}customElements.define("currency-icon",class extends ${constructor(e){super(),G(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},null,Hi,a,{},null),e&&e.target&&c(e.target,this,e.anchor)}});
1183
+ /* src/images/fa-pencil.svg.svelte generated by Svelte v3.59.2 */
1184
+ function Oi(t){let i,n;return{c(){i=f("svg"),n=f("path"),this.c=e,v(n,"fill","currentColor"),v(n,"d","m363 1408l91-91l-235-235l-91 91v107h128v128zm523-928q0-22-22-22q-10 0-17 7l-542 542q-7 7-7 17q0 22 22 22q10 0 17-7l542-542q7-7 7-17m-54-192l416 416l-832 832H0v-416zm683 96q0 53-37 90l-166 166l-416-416l166-165q36-38 90-38q53 0 91 38l235 234q37 39 37 91"),v(i,"xmlns","http://www.w3.org/2000/svg"),v(i,"width","1em"),v(i,"height","1em"),v(i,"viewBox","0 0 1536 1536")},m(e,t){c(e,i,t),u(i,n)},p:e,i:e,o:e,d(e){e&&h(i)}}}customElements.define("calendar-times-icon",class extends ${constructor(e){super(),G(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},null,Ci,a,{},null),e&&e.target&&c(e.target,this,e.anchor)}});
1185
+ /* src/images/fa-times.svg.svelte generated by Svelte v3.59.2 */
1186
+ function xi(t){let i,n;return{c(){i=f("svg"),n=f("path"),this.c=e,v(n,"fill","currentColor"),v(n,"d","M1202 1066q0 40-28 68l-136 136q-28 28-68 28t-68-28L608 976l-294 294q-28 28-68 28t-68-28L42 1134q-28-28-28-68t28-68l294-294L42 410q-28-28-28-68t28-68l136-136q28-28 68-28t68 28l294 294l294-294q28-28 68-28t68 28l136 136q28 28 28 68t-28 68L880 704l294 294q28 28 28 68"),v(i,"xmlns","http://www.w3.org/2000/svg"),v(i,"width","0.93em"),v(i,"height","1em"),v(i,"viewBox","0 0 1216 1312")},m(e,t){c(e,i,t),u(i,n)},p:e,i:e,o:e,d(e){e&&h(i)}}}customElements.define("pencil-icon",class extends ${constructor(e){super(),G(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},null,Oi,a,{},null),e&&e.target&&c(e.target,this,e.anchor)}});
1179
1187
  /* ../general-animation-loading/src/GeneralAnimationLoading.svelte generated by Svelte v3.59.2 */
1180
- function Hi(t){let i;return{c(){i=m("div"),i.innerHTML='<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>',this.c=e},m(e,n){c(e,i,n),
1188
+ function Ri(t){let i;return{c(){i=m("div"),i.innerHTML='<section class="LoaderContainer" part="LoaderContainer"><div class="lds-ellipsis"><div></div><div></div><div></div><div></div></div></section>',this.c=e},m(e,n){c(e,i,n),
1181
1189
  /*div5_binding*/t[3](i)},p:e,i:e,o:e,d(e){e&&h(i)
1182
- /*div5_binding*/,t[3](null)}}}function Ci(e,t,i){let n,{clientstyling:r=""}=t,{clientstylingurl:a=""}=t;return e.$$set=e=>{"clientstyling"in e&&i(1,r=e.clientstyling),"clientstylingurl"in e&&i(2,a=e.clientstylingurl)},e.$$.update=()=>{/*clientstyling, customStylingContainer*/3&e.$$.dirty&&r&&n&&(()=>{let e=document.createElement("style");e.innerHTML=r,n.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/5&e.$$.dirty&&a&&n&&(()=>{let e=new URL(a),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{n.appendChild(t)}),1),setTimeout((()=>{}),500)}))})()},[n,r,a,function(e){D[e?"unshift":"push"]((()=>{n=e,i(0,n)}))}]}customElements.define("currency-icon",class extends G{constructor(e){super(),j(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},null,Ai,a,{},null),e&&e.target&&c(e.target,this,e.anchor)}});
1190
+ /*div5_binding*/,t[3](null)}}}function Ni(e,t,i){let n,{clientstyling:r=""}=t,{clientstylingurl:a=""}=t;return e.$$set=e=>{"clientstyling"in e&&i(1,r=e.clientstyling),"clientstylingurl"in e&&i(2,a=e.clientstylingurl)},e.$$.update=()=>{/*clientstyling, customStylingContainer*/3&e.$$.dirty&&r&&n&&(()=>{let e=document.createElement("style");e.innerHTML=r,n.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/5&e.$$.dirty&&a&&n&&(()=>{let e=new URL(a),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{n.appendChild(t)}),1),setTimeout((()=>{}),500)}))})()},[n,r,a,function(e){P[e?"unshift":"push"]((()=>{n=e,i(0,n)}))}]}customElements.define("cancel-limit-icon",class extends ${constructor(e){super(),G(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},null,xi,a,{},null),e&&e.target&&c(e.target,this,e.anchor)}});
1183
1191
  /* src/PlayerRglimits.svelte generated by Svelte v3.59.2 */
1184
- function Oi(e,t,i){const n=e.slice();return n[58]=t[i],n}function Ni(e,t,i){const n=e.slice();return n[58]=t[i],n}function Ri(e,t,i){const n=e.slice();return n[63]=t[i],n}
1185
- // (470:4) {:else}
1186
- function xi(e){let t,i,n,r,a,s,o,l,d,f,y=/*getWidgetTitle*/e[23](/*selectedLimitType*/e[15])+"";function v(e,t){/*isLoading*/
1187
- return e[7]?Ii:Yi}let L=v(e),w=L(e),E=/*limitPeriodList*/e[12].length>0&&Ki(e),T=/*limitTypeList*/e[13].length>0&&Ji(e);function S(e,t){/*isGaugeLoading*/
1188
- return e[8]?tn:en}let k=S(e),M=k(e);return{c(){t=m("div"),i=m("h2"),n=m("currency-icon"),r=p(y),a=g(),w.c(),s=g(),o=m("div"),l=m("div"),E&&E.c(),d=g(),T&&T.c(),f=g(),M.c(),b(i,"class","LimitTypeHeader"),b(t,"class","ContentLeft"),b(l,"class","WidgetControls"),b(o,"class","ContentRight")},m(e,h){c(e,t,h),u(t,i),u(i,n),u(i,r),u(t,a),w.m(t,null),c(e,s,h),c(e,o,h),u(o,l),E&&E.m(l,null),u(l,d),T&&T.m(l,null),u(o,f),M.m(o,null)},p(e,i){/*selectedLimitType*/32768&i[0]&&y!==(y=/*getWidgetTitle*/e[23](/*selectedLimitType*/e[15])+"")&&_(r,y),L===(L=v(e))&&w?w.p(e,i):(w.d(1),w=L(e),w&&(w.c(),w.m(t,null))),/*limitPeriodList*/e[12].length>0?E?E.p(e,i):(E=Ki(e),E.c(),E.m(l,d)):E&&(E.d(1),E=null),/*limitTypeList*/e[13].length>0?T?T.p(e,i):(T=Ji(e),T.c(),T.m(l,null)):T&&(T.d(1),T=null),k===(k=S(e))&&M?M.p(e,i):(M.d(1),M=k(e),M&&(M.c(),M.m(o,null)))},d(e){e&&h(t),w.d(),e&&h(s),e&&h(o),E&&E.d(),T&&T.d(),M.d()}}}
1189
- // (466:27)
1190
- function Bi(e){let t,i,n;return{c(){t=m("div"),i=m("strong"),n=p(/*errorMessage*/e[19]),b(i,"class","ErrorMessage"),b(t,"class","ContainerCenter")},m(e,r){c(e,t,r),u(t,i),u(i,n)},p(e,t){/*errorMessage*/524288&t[0]&&_(n,/*errorMessage*/e[19])},d(e){e&&h(t)}}}
1191
- // (462:4) {#if noLimitToDisplay}
1192
- function Ui(e){let t,i,n,r=/*$_*/e[20]("noLimitToDisplay")+"";return{c(){t=m("div"),i=m("p"),n=p(r),b(t,"class","ContainerCenter")},m(e,r){c(e,t,r),u(t,i),u(i,n)},p(e,t){/*$_*/1048576&t[0]&&r!==(r=/*$_*/e[20]("noLimitToDisplay")+"")&&_(n,r)},d(e){e&&h(t)}}}
1193
- // (475:8) {:else}
1194
- function Yi(e){let t,i,n,r,a,s,o,l,f,y,v,L,w,E,T,S,k,M,D,P,A,H,C,O,N,R,x,B,U,Y,I,j,G,F,$,z,V,W,Z,X,K,q,J,Q,ee,te,ie,ne,re,ae,se,oe,le,ue,ce,he,de,me,fe,pe,ge,ye,be,ve,_e,Le,we,Ee,Te=/*selectedProduct*/"All"===e[16]?`${/*selectedProduct*/e[16]} ${/*$_*/e[20]("walletsLabel")}`:`${/*selectedProduct*/e[16]} ${/*$_*/e[20]("walletLabel")}`,Se=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].totalAmount)+"",ke=/*displayedLimit*/e[11].limitCurrency+"",Me=/*$_*/e[20]("spentAmount")+"",De=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].spentAmount)+"",Pe=/*displayedLimit*/e[11].limitCurrency+"",Ae=/*$_*/e[20]("remainingAmount")+"",He=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].remainingAmount)+"",Ce=/*displayedLimit*/e[11].limitCurrency+"",Oe=/*$_*/e[20]("startLabel")+"",Ne=/*dateToReadableString*/e[22](/*displayedLimit*/e[11].from)+"",Re=/*$_*/e[20]("resetLabel")+"",xe=/*dateToReadableString*/e[22](/*displayedLimit*/e[11].to)+"",Be=/*productList*/e[17].length>1&&ji(e),Ue=/*productList*/e[17],Ye=[];for(let t=0;t<Ue.length;t+=1)Ye[t]=Gi(Ri(e,Ue,t));let Ie=/*displayedLimit*/!0===e[11].formattedSchedule.isUpdated&&Fi(e),je=/*displayedLimit*/(!0===e[11].formattedSchedule.isRemoved||/*displayedLimit*/!0===e[11].formattedSchedule.isUpdated)&&$i(e),Ge=/*sessiontype*/"admin"===e[0]&&Wi(e);return{c(){t=m("div"),i=m("div"),n=m("span"),r=p(Te),a=g(),s=m("span"),o=p(Se),l=g(),f=m("span"),y=p(ke),L=g(),Be&&Be.c(),w=g(),E=m("div");for(let e=0;e<Ye.length;e+=1)Ye[e].c();S=g(),k=m("div"),M=m("div"),D=m("div"),P=p(Me),A=p(":"),H=g(),C=m("div"),O=m("span"),N=m("caret-right"),R=g(),x=p(De),B=g(),U=p(Pe),Y=g(),I=m("div"),j=m("div"),G=p(Ae),F=p(":"),$=g(),z=m("div"),V=m("span"),W=m("caret-right"),Z=g(),X=p(He),K=g(),q=p(Ce),J=g(),Ie&&Ie.c(),Q=g(),ee=m("div"),te=m("div"),ie=p(Oe),ne=p(":"),re=g(),ae=m("div"),se=m("span"),oe=m("caret-right"),le=g(),ue=p(Ne),ce=g(),he=m("div"),de=m("div"),me=p(Re),fe=p(":"),pe=g(),ge=m("div"),ye=m("span"),be=m("caret-right"),ve=g(),_e=p(xe),Le=g(),je&&je.c(),we=g(),Ge&&Ge.c(),Ee=p(""),b(n,"class","SelectedProduct"),b(f,"class","Currency"),b(s,"class","TotalAmount"),b(s,"title",v=`${/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].totalAmount)} ${/*displayedLimit*/e[11].limitCurrency}`),b(i,"class","DisplayContainer"),b(E,"class",T="ProductsDropdown "+(/*showDropdown*/e[10]?"Show":"")),b(t,"class","ProductSelector"),b(D,"class","Col"),b(C,"class","Col"),b(M,"class","Row"),b(j,"class","Col"),b(z,"class","Col"),b(I,"class","Row"),b(te,"class","Col"),b(ae,"class","Col"),b(ee,"class","Row"),b(de,"class","Col"),b(ge,"class","Col"),b(he,"class","Row"),b(k,"class","DetailsContainer Entries")},m(e,h){c(e,t,h),u(t,i),u(i,n),u(n,r),u(i,a),u(i,s),u(s,o),u(s,l),u(s,f),u(f,y),u(i,L),Be&&Be.m(i,null),u(t,w),u(t,E);for(let e=0;e<Ye.length;e+=1)Ye[e]&&Ye[e].m(E,null);c(e,S,h),c(e,k,h),u(k,M),u(M,D),u(D,P),u(D,A),u(M,H),u(M,C),u(C,O),u(O,N),u(O,R),u(O,x),u(O,B),u(O,U),u(k,Y),u(k,I),u(I,j),u(j,G),u(j,F),u(I,$),u(I,z),u(z,V),u(V,W),u(V,Z),u(V,X),u(V,K),u(V,q),u(k,J),Ie&&Ie.m(k,null),u(k,Q),u(k,ee),u(ee,te),u(te,ie),u(te,ne),u(ee,re),u(ee,ae),u(ae,se),u(se,oe),u(se,le),u(se,ue),u(k,ce),u(k,he),u(he,de),u(de,me),u(de,fe),u(he,pe),u(he,ge),u(ge,ye),u(ye,be),u(ye,ve),u(ye,_e),c(e,Le,h),je&&je.m(e,h),c(e,we,h),Ge&&Ge.m(e,h),c(e,Ee,h)},p(e,t){if(/*selectedProduct, $_*/1114112&t[0]&&Te!==(Te=/*selectedProduct*/"All"===e[16]?`${/*selectedProduct*/e[16]} ${/*$_*/e[20]("walletsLabel")}`:`${/*selectedProduct*/e[16]} ${/*$_*/e[20]("walletLabel")}`)&&_(r,Te),/*displayedLimit*/2048&t[0]&&Se!==(Se=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].totalAmount)+"")&&_(o,Se),/*displayedLimit*/2048&t[0]&&ke!==(ke=/*displayedLimit*/e[11].limitCurrency+"")&&_(y,ke),/*displayedLimit*/2048&t[0]&&v!==(v=`${/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].totalAmount)} ${/*displayedLimit*/e[11].limitCurrency}`)&&b(s,"title",v),/*productList*/e[17].length>1?Be?Be.p(e,t):(Be=ji(e),Be.c(),Be.m(i,null)):Be&&(Be.d(1),Be=null),/*handleProductChange, productList, $_*/34734080&t[0]){let i;for(Ue=/*productList*/e[17],i=0;i<Ue.length;i+=1){const n=Ri(e,Ue,i);Ye[i]?Ye[i].p(n,t):(Ye[i]=Gi(n),Ye[i].c(),Ye[i].m(E,null))}for(;i<Ye.length;i+=1)Ye[i].d(1);Ye.length=Ue.length}/*showDropdown*/1024&t[0]&&T!==(T="ProductsDropdown "+(/*showDropdown*/e[10]?"Show":""))&&b(E,"class",T),/*$_*/1048576&t[0]&&Me!==(Me=/*$_*/e[20]("spentAmount")+"")&&_(P,Me),/*displayedLimit*/2048&t[0]&&De!==(De=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].spentAmount)+"")&&_(x,De),/*displayedLimit*/2048&t[0]&&Pe!==(Pe=/*displayedLimit*/e[11].limitCurrency+"")&&_(U,Pe),/*$_*/1048576&t[0]&&Ae!==(Ae=/*$_*/e[20]("remainingAmount")+"")&&_(G,Ae),/*displayedLimit*/2048&t[0]&&He!==(He=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].remainingAmount)+"")&&_(X,He),/*displayedLimit*/2048&t[0]&&Ce!==(Ce=/*displayedLimit*/e[11].limitCurrency+"")&&_(q,Ce),/*displayedLimit*/!0===e[11].formattedSchedule.isUpdated?Ie?Ie.p(e,t):(Ie=Fi(e),Ie.c(),Ie.m(k,Q)):Ie&&(Ie.d(1),Ie=null),/*$_*/1048576&t[0]&&Oe!==(Oe=/*$_*/e[20]("startLabel")+"")&&_(ie,Oe),/*displayedLimit*/2048&t[0]&&Ne!==(Ne=/*dateToReadableString*/e[22](/*displayedLimit*/e[11].from)+"")&&_(ue,Ne),/*$_*/1048576&t[0]&&Re!==(Re=/*$_*/e[20]("resetLabel")+"")&&_(me,Re),/*displayedLimit*/2048&t[0]&&xe!==(xe=/*dateToReadableString*/e[22](/*displayedLimit*/e[11].to)+"")&&_(_e,xe),/*displayedLimit*/!0===e[11].formattedSchedule.isRemoved||/*displayedLimit*/!0===e[11].formattedSchedule.isUpdated?je?je.p(e,t):(je=$i(e),je.c(),je.m(we.parentNode,we)):je&&(je.d(1),je=null),/*sessiontype*/"admin"===e[0]?Ge?Ge.p(e,t):(Ge=Wi(e),Ge.c(),Ge.m(Ee.parentNode,Ee)):Ge&&(Ge.d(1),Ge=null)},d(e){e&&h(t),Be&&Be.d(),d(Ye,e),e&&h(S),e&&h(k),Ie&&Ie.d(),e&&h(Le),je&&je.d(e),e&&h(we),Ge&&Ge.d(e),e&&h(Ee)}}}
1195
- // (473:8) {#if isLoading}
1196
- function Ii(e){let t;return{c(){t=m("general-animation-loading"),v(t,"clientstyling",/*clientstyling*/e[3]),v(t,"clientstylingurl",/*clientstylingurl*/e[4])},m(e,i){c(e,t,i)},p(e,i){/*clientstyling*/8&i[0]&&v(t,"clientstyling",/*clientstyling*/e[3]),/*clientstylingurl*/16&i[0]&&v(t,"clientstylingurl",/*clientstylingurl*/e[4])},d(e){e&&h(t)}}}
1197
- // (480:14) {#if productList.length > 1}
1198
- function ji(e){let t,i,n,r,a;return{c(){t=m("button"),i=m("caret-select"),b(t,"class",n="DropdownToggle "+(/*showDropdown*/e[10]?"Active":""))},m(n,s){var o;c(n,t,s),u(t,i),r||(a=y(t,"click",(o=/*click_handler*/e[37],function(e){
1199
- // @ts-ignore
1200
- return e.stopPropagation(),o.call(this,e)})),r=!0)},p(e,i){/*showDropdown*/1024&i[0]&&n!==(n="DropdownToggle "+(/*showDropdown*/e[10]?"Active":""))&&b(t,"class",n)},d(e){e&&h(t),r=!1,a()}}}
1201
- // (487:14) {#each productList as product}
1202
- function Gi(e){let t,i,n,r,a,s=/*product*/"All"===e[63]?`${/*product*/e[63]} ${/*$_*/e[20]("walletsLabel")}`:`${/*product*/e[63]} ${/*$_*/e[20]("walletLabel")}`;function o(){/*click_handler_1*/
1203
- return e[38](/*product*/e[63])}return{c(){t=m("button"),i=p(s),n=g()},m(e,s){c(e,t,s),u(t,i),u(t,n),r||(a=y(t,"click",o),r=!0)},p(t,n){e=t,/*productList, $_*/1179648&n[0]&&s!==(s=/*product*/"All"===e[63]?`${/*product*/e[63]} ${/*$_*/e[20]("walletsLabel")}`:`${/*product*/e[63]} ${/*$_*/e[20]("walletLabel")}`)&&_(i,s)},d(e){e&&h(t),r=!1,a()}}}
1204
- // (503:12) {#if displayedLimit.formattedSchedule.isUpdated === true}
1205
- function Fi(e){let t,i,n,r,a,s,o,l,d,f,y,v,L=/*$_*/e[20]("futureAmount")+"",w=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].formattedSchedule.updateAmount)+"",E=/*displayedLimit*/e[11].limitCurrency+"";return{c(){t=m("div"),i=m("div"),n=p(L),r=p(":"),a=g(),s=m("div"),o=m("span"),l=m("caret-right"),d=g(),f=p(w),y=g(),v=p(E),b(i,"class","Col"),b(s,"class","Col"),b(t,"class","Row")},m(e,h){c(e,t,h),u(t,i),u(i,n),u(i,r),u(t,a),u(t,s),u(s,o),u(o,l),u(o,d),u(o,f),u(o,y),u(o,v)},p(e,t){/*$_*/1048576&t[0]&&L!==(L=/*$_*/e[20]("futureAmount")+"")&&_(n,L),/*displayedLimit*/2048&t[0]&&w!==(w=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].formattedSchedule.updateAmount)+"")&&_(f,w),/*displayedLimit*/2048&t[0]&&E!==(E=/*displayedLimit*/e[11].limitCurrency+"")&&_(v,E)},d(e){e&&h(t)}}}
1206
- // (518:10) {#if displayedLimit.formattedSchedule.isRemoved === true || displayedLimit.formattedSchedule.isUpdated === true }
1207
- function $i(e){let t,i,n=/*displayedLimit*/!0===e[11].formattedSchedule.isRemoved&&zi(e),r=/*displayedLimit*/!0===e[11].formattedSchedule.isUpdated&&Vi(e);return{c(){t=m("div"),n&&n.c(),i=g(),r&&r.c(),b(t,"class","ExtraInfoContainer")},m(e,a){c(e,t,a),n&&n.m(t,null),u(t,i),r&&r.m(t,null)},p(e,a){/*displayedLimit*/!0===e[11].formattedSchedule.isRemoved?n?n.p(e,a):(n=zi(e),n.c(),n.m(t,i)):n&&(n.d(1),n=null),/*displayedLimit*/!0===e[11].formattedSchedule.isUpdated?r?r.p(e,a):(r=Vi(e),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(e){e&&h(t),n&&n.d(),r&&r.d()}}}
1208
- // (520:14) {#if displayedLimit.formattedSchedule.isRemoved === true}
1209
- function zi(e){let t,i,n,r,a=/*$_*/e[20]("limitRemoved")+"",s=/*displayedLimit*/e[11].formattedSchedule.expiresString+"";return{c(){t=m("span"),i=p(a),n=p(": "),r=p(s)},m(e,a){c(e,t,a),u(t,i),u(t,n),u(t,r)},p(e,t){/*$_*/1048576&t[0]&&a!==(a=/*$_*/e[20]("limitRemoved")+"")&&_(i,a),/*displayedLimit*/2048&t[0]&&s!==(s=/*displayedLimit*/e[11].formattedSchedule.expiresString+"")&&_(r,s)},d(e){e&&h(t)}}}
1210
- // (523:14) {#if displayedLimit.formattedSchedule.isUpdated === true}
1211
- function Vi(e){let t,i,n,r,a=/*$_*/e[20]("limitUpdated")+"",s=/*displayedLimit*/e[11].formattedSchedule.expiresString+"";return{c(){t=m("span"),i=p(a),n=p(": "),r=p(s)},m(e,a){c(e,t,a),u(t,i),u(t,n),u(t,r)},p(e,t){/*$_*/1048576&t[0]&&a!==(a=/*$_*/e[20]("limitUpdated")+"")&&_(i,a),/*displayedLimit*/2048&t[0]&&s!==(s=/*displayedLimit*/e[11].formattedSchedule.expiresString+"")&&_(r,s)},d(e){e&&h(t)}}}
1212
- // (528:10) {#if sessiontype === 'admin'}
1213
- function Wi(e){let t;function i(e,t){/*transdetailsurl*/
1214
- return e[1]?Xi:/*transactionspageurl*/e[2]?Zi:void 0}let n=i(e),r=n&&n(e);return{c(){t=m("div"),r&&r.c(),b(t,"class","UsefulLinksSection")},m(e,i){c(e,t,i),r&&r.m(t,null)},p(e,a){n===(n=i(e))&&r?r.p(e,a):(r&&r.d(1),r=n&&n(e),r&&(r.c(),r.m(t,null)))},d(e){e&&h(t),r&&r.d()}}}
1215
- // (532:44)
1216
- function Zi(e){let t,i,n=/*$_*/e[20]("additionalLink2")+"";return{c(){t=m("a"),i=p(n),b(t,"href",/*getTransactionsUrl*/e[28]()),b(t,"target","_blank")},m(e,n){c(e,t,n),u(t,i)},p(e,t){/*$_*/1048576&t[0]&&n!==(n=/*$_*/e[20]("additionalLink2")+"")&&_(i,n)},d(e){e&&h(t)}}}
1217
- // (530:14) {#if transdetailsurl}
1218
- function Xi(e){let t,i,n=/*$_*/e[20]("additionalLink1")+"";return{c(){t=m("a"),i=p(n),b(t,"href",/*transdetailsurl*/e[1]),b(t,"target","_blank")},m(e,n){c(e,t,n),u(t,i)},p(e,r){/*$_*/1048576&r[0]&&n!==(n=/*$_*/e[20]("additionalLink1")+"")&&_(i,n),/*transdetailsurl*/2&r[0]&&b(t,"href",/*transdetailsurl*/e[1])},d(e){e&&h(t)}}}
1219
- // (541:10) {#if limitPeriodList.length > 0}
1220
- function Ki(e){let t,i,r,a,s,o,l,f,v=/*$_*/e[20]("changeLimitLabel")+"",L=/*limitPeriodList*/e[12],E=[];for(let t=0;t<L.length;t+=1)E[t]=qi(Ni(e,L,t));return{c(){t=m("div"),i=m("label"),r=p(v),a=p(":"),s=g(),o=m("select");for(let e=0;e<E.length;e+=1)E[e].c();b(i,"for","LimitPeriod"),b(o,"id","LimitPeriod"),/*selectedLimitPeriod*/void 0===e[14]&&O((()=>/*select_change_handler*/e[39].call(o))),b(t,"class","ControlContainer")},m(n,h){c(n,t,h),u(t,i),u(i,r),u(i,a),u(t,s),u(t,o);for(let e=0;e<E.length;e+=1)E[e]&&E[e].m(o,null);w(o,/*selectedLimitPeriod*/e[14],!0),l||(f=[y(o,"change",/*select_change_handler*/e[39]),y(o,"change",/*handlePeriodChange*/e[24])],l=!0)},p(e,t){if(/*$_*/1048576&t[0]&&v!==(v=/*$_*/e[20]("changeLimitLabel")+"")&&_(r,v),/*limitPeriodList*/4096&t[0]){let i;for(L=/*limitPeriodList*/e[12],i=0;i<L.length;i+=1){const n=Ni(e,L,i);E[i]?E[i].p(n,t):(E[i]=qi(n),E[i].c(),E[i].m(o,null))}for(;i<E.length;i+=1)E[i].d(1);E.length=L.length}/*selectedLimitPeriod, limitPeriodList*/20480&t[0]&&w(o,/*selectedLimitPeriod*/e[14])},d(e){e&&h(t),d(E,e),l=!1,n(f)}}}
1221
- // (545:16) {#each limitPeriodList as value}
1222
- function qi(e){let t,i,n,r,a=/*value*/e[58]+"";return{c(){t=m("option"),i=p(a),n=g(),t.__value=r=/*value*/e[58],t.value=t.__value},m(e,r){c(e,t,r),u(t,i),u(t,n)},p(e,n){/*limitPeriodList*/4096&n[0]&&a!==(a=/*value*/e[58]+"")&&_(i,a),/*limitPeriodList*/4096&n[0]&&r!==(r=/*value*/e[58])&&(t.__value=r,t.value=t.__value)},d(e){e&&h(t)}}}
1223
- // (553:10) {#if limitTypeList.length > 0}
1224
- function Ji(e){let t,i,r,a,s,o,l,f,v=/*$_*/e[20]("limitTypeLabel")+"",L=/*limitTypeList*/e[13],E=[];for(let t=0;t<L.length;t+=1)E[t]=Qi(Oi(e,L,t));return{c(){t=m("div"),i=m("label"),r=p(v),a=p(":"),s=g(),o=m("select");for(let e=0;e<E.length;e+=1)E[e].c();b(i,"for","LimitType"),b(o,"id","LimitType"),/*selectedLimitType*/void 0===e[15]&&O((()=>/*select_change_handler_1*/e[40].call(o))),b(t,"class","ControlContainer")},m(n,h){c(n,t,h),u(t,i),u(i,r),u(i,a),u(t,s),u(t,o);for(let e=0;e<E.length;e+=1)E[e]&&E[e].m(o,null);w(o,/*selectedLimitType*/e[15],!0),l||(f=[y(o,"change",/*select_change_handler_1*/e[40]),y(o,"change",/*getLimitBalance*/e[21])],l=!0)},p(e,t){if(/*$_*/1048576&t[0]&&v!==(v=/*$_*/e[20]("limitTypeLabel")+"")&&_(r,v),/*limitTypeList*/8192&t[0]){let i;for(L=/*limitTypeList*/e[13],i=0;i<L.length;i+=1){const n=Oi(e,L,i);E[i]?E[i].p(n,t):(E[i]=Qi(n),E[i].c(),E[i].m(o,null))}for(;i<E.length;i+=1)E[i].d(1);E.length=L.length}/*selectedLimitType, limitTypeList*/40960&t[0]&&w(o,/*selectedLimitType*/e[15])},d(e){e&&h(t),d(E,e),l=!1,n(f)}}}
1225
- // (557:16) {#each limitTypeList as value}
1226
- function Qi(e){let t,i,n,r,a=/*value*/e[58]+"";return{c(){t=m("option"),i=p(a),n=g(),t.__value=r=/*value*/e[58],t.value=t.__value},m(e,r){c(e,t,r),u(t,i),u(t,n)},p(e,n){/*limitTypeList*/8192&n[0]&&a!==(a=/*value*/e[58]+"")&&_(i,a),/*limitTypeList*/8192&n[0]&&r!==(r=/*value*/e[58])&&(t.__value=r,t.value=t.__value)},d(e){e&&h(t)}}}
1227
- // (568:8) {:else}
1228
- function en(e){let t,i,n,r,a,o,l,d,f,y,v,w,E,T,S,k,M,D,P,A,H,C,O,N,R,x,B,U,Y,I,j=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].spentAmount)+"",G=/*displayedLimit*/e[11].limitCurrency+"",F=/*displayedLimit*/e[11].limitCurrency+"",$=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].totalAmount)+"",z=/*displayedLimit*/e[11].limitCurrency+"";return{c(){var u,c;t=m("div"),i=m("div"),n=m("img"),a=g(),o=m("div"),l=g(),d=m("div"),f=p(j),y=g(),v=p(G),E=g(),T=m("div"),S=g(),k=m("div"),M=g(),D=m("div"),P=m("div"),A=m("strong"),A.textContent="0",H=g(),C=m("span"),O=p(F),N=g(),R=m("div"),x=m("strong"),B=p($),U=g(),Y=m("span"),I=p(z),b(n,"class","Archbg"),u=n.src,c=r=Mi,s||(s=document.createElement("a")),s.href=c,u!==s.href&&b(n,"src",r),b(n,"alt","arch"),b(o,"class","GaugeFill"),L(o,"--p",/*gaugeValue*/e[18]+"deg"),b(d,"class","GaugeCover"),b(d,"title",w=`${/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].spentAmount)} ${/*displayedLimit*/e[11].limitCurrency}`),b(T,"class","GaugeNeedleCover"),b(k,"class","GaugeNeedle"),L(k,"--transform-needle-value","rotate("+(/*gaugeValue*/e[18]-90)+"deg)"),b(i,"class","GaugeBody"),b(A,"class","MinContent"),b(C,"class","MinContentCurrency"),b(P,"class","Min"),b(x,"class","MaxContent"),b(Y,"class","MaxContentCurrency"),b(R,"class","Max"),b(D,"class","MinMaxContainer"),b(t,"class","Gauge")},m(e,r){c(e,t,r),u(t,i),u(i,n),u(i,a),u(i,o),u(i,l),u(i,d),u(d,f),u(d,y),u(d,v),u(i,E),u(i,T),u(i,S),u(i,k),u(t,M),u(t,D),u(D,P),u(P,A),u(P,H),u(P,C),u(C,O),u(D,N),u(D,R),u(R,x),u(x,B),u(R,U),u(R,Y),u(Y,I)},p(e,t){/*gaugeValue*/262144&t[0]&&L(o,"--p",/*gaugeValue*/e[18]+"deg"),/*displayedLimit*/2048&t[0]&&j!==(j=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].spentAmount)+"")&&_(f,j),/*displayedLimit*/2048&t[0]&&G!==(G=/*displayedLimit*/e[11].limitCurrency+"")&&_(v,G),/*displayedLimit*/2048&t[0]&&w!==(w=`${/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].spentAmount)} ${/*displayedLimit*/e[11].limitCurrency}`)&&b(d,"title",w),/*gaugeValue*/262144&t[0]&&L(k,"--transform-needle-value","rotate("+(/*gaugeValue*/e[18]-90)+"deg)"),/*displayedLimit*/2048&t[0]&&F!==(F=/*displayedLimit*/e[11].limitCurrency+"")&&_(O,F),/*displayedLimit*/2048&t[0]&&$!==($=/*formatWithSeparator*/e[27](/*displayedLimit*/e[11].totalAmount)+"")&&_(B,$),/*displayedLimit*/2048&t[0]&&z!==(z=/*displayedLimit*/e[11].limitCurrency+"")&&_(I,z)},d(e){e&&h(t)}}}
1229
- // (566:8) {#if isGaugeLoading}
1230
- function tn(e){let t;return{c(){t=m("general-animation-loading"),v(t,"clientstyling",/*clientstyling*/e[3]),v(t,"clientstylingurl",/*clientstylingurl*/e[4])},m(e,i){c(e,t,i)},p(e,i){/*clientstyling*/8&i[0]&&v(t,"clientstyling",/*clientstyling*/e[3]),/*clientstylingurl*/16&i[0]&&v(t,"clientstylingurl",/*clientstylingurl*/e[4])},d(e){e&&h(t)}}}function nn(t){let i,n,r;function a(e,t){/*noLimitToDisplay*/
1231
- return e[9]?Ui:/*errorMessage*/e[19]?Bi:xi}let s=a(t),o=s(t);return{c(){i=m("div"),n=m("div"),o.c(),this.c=e,b(n,"class","LimitsContainer"),b(i,"class",r=/*displayNone*/t[6]?"DisplayNone":"")},m(e,r){c(e,i,r),u(i,n),o.m(n,null),
1232
- /*div0_binding*/t[41](n)},p(e,t){s===(s=a(e))&&o?o.p(e,t):(o.d(1),o=s(e),o&&(o.c(),o.m(n,null))),/*displayNone*/64&t[0]&&r!==(r=/*displayNone*/e[6]?"DisplayNone":"")&&b(i,"class",r)},i:e,o:e,d(e){e&&h(i),o.d(),
1233
- /*div0_binding*/t[41](null)}}}function rn(e,t,i){let n;var r,a;r=Ti,a=e=>i(20,n=e),e.$$.on_destroy.push(l(r,a));let s,o,{session:u=""}=t,{sessiontype:c=""}=t,{userid:h=""}=t,{endpoint:d=""}=t,{transdetailsurl:m=""}=t,{transactionspageurl:f=""}=t,{clientstyling:p=""}=t,{clientstylingurl:g=""}=t,{lang:y="en"}=t,{translationurl:b=""}=t,{datetimeformat:v=""}=t,_=!1,L=!1,w=!1,T="",S="",M=!0,P=!0,A=!1,H={totalAmount:null,spentAmount:"",limitCurrency:"EUR",remainingAmount:"",limitPeriod:"",limitProducts:"",from:"",to:""},C=[],O=[],N="",R="",x="",B=[],U=[],Y=0,I="";Object.keys(ki).forEach((e=>{Si(e,ki[e])})),
1192
+ function Bi(e,t,i){const n=e.slice();return n[68]=t[i],n}function Ui(e,t,i){const n=e.slice();return n[68]=t[i],n}function Ii(e,t,i){const n=e.slice();return n[73]=t[i],n}
1193
+ // (528:4) {:else}
1194
+ function Yi(e){let t,i,n,r,a,s,o,l,d,f,y,b=/*getWidgetTitle*/e[26](/*selectedLimitType*/e[18])+"";function _(e,t){/*isLoading*/
1195
+ return e[10]?Fi:$i}let w=_(e),E=w(e),T=/*limitPeriodList*/e[15].length>0&&en(e),S=/*limitTypeList*/e[16].length>0&&nn(e),k=/*limitTypeList*/e[16].length>0&&/*sessiontype*/"admin"===e[0]&&/*displayedLimit*/e[14]&&an(e);function M(e,t){/*isGaugeLoading*/
1196
+ return e[11]?cn:un}let D=M(e),P=D(e);return{c(){t=m("div"),i=m("h2"),n=m("currency-icon"),r=p(b),a=g(),E.c(),s=g(),o=m("div"),l=m("div"),T&&T.c(),d=g(),S&&S.c(),f=g(),k&&k.c(),y=g(),P.c(),v(i,"class","LimitTypeHeader"),v(t,"class","ContentLeft"),v(l,"class","WidgetControls"),v(o,"class","ContentRight")},m(e,h){c(e,t,h),u(t,i),u(i,n),u(i,r),u(t,a),E.m(t,null),c(e,s,h),c(e,o,h),u(o,l),T&&T.m(l,null),u(l,d),S&&S.m(l,null),u(l,f),k&&k.m(l,null),u(o,y),P.m(o,null)},p(e,i){/*selectedLimitType*/262144&i[0]&&b!==(b=/*getWidgetTitle*/e[26](/*selectedLimitType*/e[18])+"")&&L(r,b),w===(w=_(e))&&E?E.p(e,i):(E.d(1),E=w(e),E&&(E.c(),E.m(t,null))),/*limitPeriodList*/e[15].length>0?T?T.p(e,i):(T=en(e),T.c(),T.m(l,d)):T&&(T.d(1),T=null),/*limitTypeList*/e[16].length>0?S?S.p(e,i):(S=nn(e),S.c(),S.m(l,f)):S&&(S.d(1),S=null),/*limitTypeList*/e[16].length>0&&/*sessiontype*/"admin"===e[0]&&/*displayedLimit*/e[14]?k?k.p(e,i):(k=an(e),k.c(),k.m(l,null)):k&&(k.d(1),k=null),D===(D=M(e))&&P?P.p(e,i):(P.d(1),P=D(e),P&&(P.c(),P.m(o,null)))},d(e){e&&h(t),E.d(),e&&h(s),e&&h(o),T&&T.d(),S&&S.d(),k&&k.d(),P.d()}}}
1197
+ // (524:27)
1198
+ function ji(e){let t,i,n;return{c(){t=m("div"),i=m("strong"),n=p(/*errorMessage*/e[22]),v(i,"class","ErrorMessage"),v(t,"class","ContainerCenter")},m(e,r){c(e,t,r),u(t,i),u(i,n)},p(e,t){/*errorMessage*/4194304&t[0]&&L(n,/*errorMessage*/e[22])},d(e){e&&h(t)}}}
1199
+ // (520:4) {#if noLimitToDisplay}
1200
+ function Gi(e){let t,i,n,r=/*$_*/e[23]("noLimitToDisplay")+"";return{c(){t=m("div"),i=m("p"),n=p(r),v(t,"class","ContainerCenter")},m(e,r){c(e,t,r),u(t,i),u(i,n)},p(e,t){/*$_*/8388608&t[0]&&r!==(r=/*$_*/e[23]("noLimitToDisplay")+"")&&L(n,r)},d(e){e&&h(t)}}}
1201
+ // (533:8) {:else}
1202
+ function $i(e){let t,i,n,r,a,s,o,l,f,y,b,_,w,E,T,S,k,M,D,P,A,H,C,O,x,R,N,B,U,I,Y,j,G,$,F,z,V,W,Z,q,X,K,J,Q,ee,te,ie,ne,re,ae,se,oe,le,ue,ce,he,de,me,fe,pe,ge,ye,be,ve,_e,Le,we,Ee,Te=/*selectedProduct*/"All"===e[19]?`${/*selectedProduct*/e[19]} ${/*$_*/e[23]("walletsLabel")}`:`${/*selectedProduct*/e[19]} ${/*$_*/e[23]("walletLabel")}`,Se=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].totalAmount)+"",ke=/*displayedLimit*/e[14].limitCurrency+"",Me=/*$_*/e[23]("spentAmount")+"",De=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].spentAmount)+"",Pe=/*displayedLimit*/e[14].limitCurrency+"",Ae=/*$_*/e[23]("remainingAmount")+"",He=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].remainingAmount)+"",Ce=/*displayedLimit*/e[14].limitCurrency+"",Oe=/*$_*/e[23]("startLabel")+"",xe=/*dateToReadableString*/e[25](/*displayedLimit*/e[14].from)+"",Re=/*$_*/e[23]("resetLabel")+"",Ne=/*dateToReadableString*/e[25](/*displayedLimit*/e[14].to)+"",Be=/*productList*/e[20].length>1&&zi(e),Ue=/*productList*/e[20],Ie=[];for(let t=0;t<Ue.length;t+=1)Ie[t]=Vi(Ii(e,Ue,t));let Ye=/*displayedLimit*/!0===e[14].formattedSchedule.isUpdated&&Wi(e),je=/*displayedLimit*/(!0===e[14].formattedSchedule.isRemoved||/*displayedLimit*/!0===e[14].formattedSchedule.isUpdated)&&Zi(e),Ge=/*sessiontype*/"admin"===e[0]&&Ki(e);return{c(){t=m("div"),i=m("div"),n=m("span"),r=p(Te),a=g(),s=m("span"),o=p(Se),l=g(),f=m("span"),y=p(ke),_=g(),Be&&Be.c(),w=g(),E=m("div");for(let e=0;e<Ie.length;e+=1)Ie[e].c();S=g(),k=m("div"),M=m("div"),D=m("div"),P=p(Me),A=p(":"),H=g(),C=m("div"),O=m("span"),x=m("caret-right"),R=g(),N=p(De),B=g(),U=p(Pe),I=g(),Y=m("div"),j=m("div"),G=p(Ae),$=p(":"),F=g(),z=m("div"),V=m("span"),W=m("caret-right"),Z=g(),q=p(He),X=g(),K=p(Ce),J=g(),Ye&&Ye.c(),Q=g(),ee=m("div"),te=m("div"),ie=p(Oe),ne=p(":"),re=g(),ae=m("div"),se=m("span"),oe=m("caret-right"),le=g(),ue=p(xe),ce=g(),he=m("div"),de=m("div"),me=p(Re),fe=p(":"),pe=g(),ge=m("div"),ye=m("span"),be=m("caret-right"),ve=g(),_e=p(Ne),Le=g(),je&&je.c(),we=g(),Ge&&Ge.c(),Ee=p(""),v(n,"class","SelectedProduct"),v(f,"class","Currency"),v(s,"class","TotalAmount"),v(s,"title",b=`${/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].totalAmount)} ${/*displayedLimit*/e[14].limitCurrency}`),v(i,"class","DisplayContainer"),v(E,"class",T="ProductsDropdown "+(/*showDropdown*/e[13]?"Show":"")),v(t,"class","ProductSelector"),v(D,"class","Col"),v(C,"class","Col"),v(M,"class","Row"),v(j,"class","Col"),v(z,"class","Col"),v(Y,"class","Row"),v(te,"class","Col"),v(ae,"class","Col"),v(ee,"class","Row"),v(de,"class","Col"),v(ge,"class","Col"),v(he,"class","Row"),v(k,"class","DetailsContainer Entries")},m(e,h){c(e,t,h),u(t,i),u(i,n),u(n,r),u(i,a),u(i,s),u(s,o),u(s,l),u(s,f),u(f,y),u(i,_),Be&&Be.m(i,null),u(t,w),u(t,E);for(let e=0;e<Ie.length;e+=1)Ie[e]&&Ie[e].m(E,null);c(e,S,h),c(e,k,h),u(k,M),u(M,D),u(D,P),u(D,A),u(M,H),u(M,C),u(C,O),u(O,x),u(O,R),u(O,N),u(O,B),u(O,U),u(k,I),u(k,Y),u(Y,j),u(j,G),u(j,$),u(Y,F),u(Y,z),u(z,V),u(V,W),u(V,Z),u(V,q),u(V,X),u(V,K),u(k,J),Ye&&Ye.m(k,null),u(k,Q),u(k,ee),u(ee,te),u(te,ie),u(te,ne),u(ee,re),u(ee,ae),u(ae,se),u(se,oe),u(se,le),u(se,ue),u(k,ce),u(k,he),u(he,de),u(de,me),u(de,fe),u(he,pe),u(he,ge),u(ge,ye),u(ye,be),u(ye,ve),u(ye,_e),c(e,Le,h),je&&je.m(e,h),c(e,we,h),Ge&&Ge.m(e,h),c(e,Ee,h)},p(e,t){if(/*selectedProduct, $_*/8912896&t[0]&&Te!==(Te=/*selectedProduct*/"All"===e[19]?`${/*selectedProduct*/e[19]} ${/*$_*/e[23]("walletsLabel")}`:`${/*selectedProduct*/e[19]} ${/*$_*/e[23]("walletLabel")}`)&&L(r,Te),/*displayedLimit*/16384&t[0]&&Se!==(Se=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].totalAmount)+"")&&L(o,Se),/*displayedLimit*/16384&t[0]&&ke!==(ke=/*displayedLimit*/e[14].limitCurrency+"")&&L(y,ke),/*displayedLimit*/16384&t[0]&&b!==(b=`${/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].totalAmount)} ${/*displayedLimit*/e[14].limitCurrency}`)&&v(s,"title",b),/*productList*/e[20].length>1?Be?Be.p(e,t):(Be=zi(e),Be.c(),Be.m(i,null)):Be&&(Be.d(1),Be=null),/*handleProductChange, productList, $_*/277872640&t[0]){let i;for(Ue=/*productList*/e[20],i=0;i<Ue.length;i+=1){const n=Ii(e,Ue,i);Ie[i]?Ie[i].p(n,t):(Ie[i]=Vi(n),Ie[i].c(),Ie[i].m(E,null))}for(;i<Ie.length;i+=1)Ie[i].d(1);Ie.length=Ue.length}/*showDropdown*/8192&t[0]&&T!==(T="ProductsDropdown "+(/*showDropdown*/e[13]?"Show":""))&&v(E,"class",T),/*$_*/8388608&t[0]&&Me!==(Me=/*$_*/e[23]("spentAmount")+"")&&L(P,Me),/*displayedLimit*/16384&t[0]&&De!==(De=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].spentAmount)+"")&&L(N,De),/*displayedLimit*/16384&t[0]&&Pe!==(Pe=/*displayedLimit*/e[14].limitCurrency+"")&&L(U,Pe),/*$_*/8388608&t[0]&&Ae!==(Ae=/*$_*/e[23]("remainingAmount")+"")&&L(G,Ae),/*displayedLimit*/16384&t[0]&&He!==(He=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].remainingAmount)+"")&&L(q,He),/*displayedLimit*/16384&t[0]&&Ce!==(Ce=/*displayedLimit*/e[14].limitCurrency+"")&&L(K,Ce),/*displayedLimit*/!0===e[14].formattedSchedule.isUpdated?Ye?Ye.p(e,t):(Ye=Wi(e),Ye.c(),Ye.m(k,Q)):Ye&&(Ye.d(1),Ye=null),/*$_*/8388608&t[0]&&Oe!==(Oe=/*$_*/e[23]("startLabel")+"")&&L(ie,Oe),/*displayedLimit*/16384&t[0]&&xe!==(xe=/*dateToReadableString*/e[25](/*displayedLimit*/e[14].from)+"")&&L(ue,xe),/*$_*/8388608&t[0]&&Re!==(Re=/*$_*/e[23]("resetLabel")+"")&&L(me,Re),/*displayedLimit*/16384&t[0]&&Ne!==(Ne=/*dateToReadableString*/e[25](/*displayedLimit*/e[14].to)+"")&&L(_e,Ne),/*displayedLimit*/!0===e[14].formattedSchedule.isRemoved||/*displayedLimit*/!0===e[14].formattedSchedule.isUpdated?je?je.p(e,t):(je=Zi(e),je.c(),je.m(we.parentNode,we)):je&&(je.d(1),je=null),/*sessiontype*/"admin"===e[0]?Ge?Ge.p(e,t):(Ge=Ki(e),Ge.c(),Ge.m(Ee.parentNode,Ee)):Ge&&(Ge.d(1),Ge=null)},d(e){e&&h(t),Be&&Be.d(),d(Ie,e),e&&h(S),e&&h(k),Ye&&Ye.d(),e&&h(Le),je&&je.d(e),e&&h(we),Ge&&Ge.d(e),e&&h(Ee)}}}
1203
+ // (531:8) {#if isLoading}
1204
+ function Fi(e){let t;return{c(){t=m("general-animation-loading"),_(t,"clientstyling",/*clientstyling*/e[3]),_(t,"clientstylingurl",/*clientstylingurl*/e[4])},m(e,i){c(e,t,i)},p(e,i){/*clientstyling*/8&i[0]&&_(t,"clientstyling",/*clientstyling*/e[3]),/*clientstylingurl*/16&i[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[4])},d(e){e&&h(t)}}}
1205
+ // (538:14) {#if productList.length > 1}
1206
+ function zi(e){let t,i,n,r,a;return{c(){t=m("button"),i=m("caret-select"),v(t,"class",n="DropdownToggle "+(/*showDropdown*/e[13]?"Active":""))},m(n,s){c(n,t,s),u(t,i),r||(a=y(t,"click",b(/*click_handler*/e[43])),r=!0)},p(e,i){/*showDropdown*/8192&i[0]&&n!==(n="DropdownToggle "+(/*showDropdown*/e[13]?"Active":""))&&v(t,"class",n)},d(e){e&&h(t),r=!1,a()}}}
1207
+ // (545:14) {#each productList as product}
1208
+ function Vi(e){let t,i,n,r,a,s=/*product*/"All"===e[73]?`${/*product*/e[73]} ${/*$_*/e[23]("walletsLabel")}`:`${/*product*/e[73]} ${/*$_*/e[23]("walletLabel")}`;function o(){/*click_handler_1*/
1209
+ return e[44](/*product*/e[73])}return{c(){t=m("button"),i=p(s),n=g()},m(e,s){c(e,t,s),u(t,i),u(t,n),r||(a=y(t,"click",o),r=!0)},p(t,n){e=t,/*productList, $_*/9437184&n[0]&&s!==(s=/*product*/"All"===e[73]?`${/*product*/e[73]} ${/*$_*/e[23]("walletsLabel")}`:`${/*product*/e[73]} ${/*$_*/e[23]("walletLabel")}`)&&L(i,s)},d(e){e&&h(t),r=!1,a()}}}
1210
+ // (561:12) {#if displayedLimit.formattedSchedule.isUpdated === true}
1211
+ function Wi(e){let t,i,n,r,a,s,o,l,d,f,y,b,_=/*$_*/e[23]("futureAmount")+"",w=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].formattedSchedule.updateAmount)+"",E=/*displayedLimit*/e[14].limitCurrency+"";return{c(){t=m("div"),i=m("div"),n=p(_),r=p(":"),a=g(),s=m("div"),o=m("span"),l=m("caret-right"),d=g(),f=p(w),y=g(),b=p(E),v(i,"class","Col"),v(s,"class","Col"),v(t,"class","Row")},m(e,h){c(e,t,h),u(t,i),u(i,n),u(i,r),u(t,a),u(t,s),u(s,o),u(o,l),u(o,d),u(o,f),u(o,y),u(o,b)},p(e,t){/*$_*/8388608&t[0]&&_!==(_=/*$_*/e[23]("futureAmount")+"")&&L(n,_),/*displayedLimit*/16384&t[0]&&w!==(w=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].formattedSchedule.updateAmount)+"")&&L(f,w),/*displayedLimit*/16384&t[0]&&E!==(E=/*displayedLimit*/e[14].limitCurrency+"")&&L(b,E)},d(e){e&&h(t)}}}
1212
+ // (576:10) {#if displayedLimit.formattedSchedule.isRemoved === true || displayedLimit.formattedSchedule.isUpdated === true }
1213
+ function Zi(e){let t,i,n=/*displayedLimit*/!0===e[14].formattedSchedule.isRemoved&&qi(e),r=/*displayedLimit*/!0===e[14].formattedSchedule.isUpdated&&Xi(e);return{c(){t=m("div"),n&&n.c(),i=g(),r&&r.c(),v(t,"class","ExtraInfoContainer")},m(e,a){c(e,t,a),n&&n.m(t,null),u(t,i),r&&r.m(t,null)},p(e,a){/*displayedLimit*/!0===e[14].formattedSchedule.isRemoved?n?n.p(e,a):(n=qi(e),n.c(),n.m(t,i)):n&&(n.d(1),n=null),/*displayedLimit*/!0===e[14].formattedSchedule.isUpdated?r?r.p(e,a):(r=Xi(e),r.c(),r.m(t,null)):r&&(r.d(1),r=null)},d(e){e&&h(t),n&&n.d(),r&&r.d()}}}
1214
+ // (578:14) {#if displayedLimit.formattedSchedule.isRemoved === true}
1215
+ function qi(e){let t,i,n,r,a=/*$_*/e[23]("limitRemoved")+"",s=/*displayedLimit*/e[14].formattedSchedule.expiresString+"";return{c(){t=m("span"),i=p(a),n=p(": "),r=p(s)},m(e,a){c(e,t,a),u(t,i),u(t,n),u(t,r)},p(e,t){/*$_*/8388608&t[0]&&a!==(a=/*$_*/e[23]("limitRemoved")+"")&&L(i,a),/*displayedLimit*/16384&t[0]&&s!==(s=/*displayedLimit*/e[14].formattedSchedule.expiresString+"")&&L(r,s)},d(e){e&&h(t)}}}
1216
+ // (581:14) {#if displayedLimit.formattedSchedule.isUpdated === true}
1217
+ function Xi(e){let t,i,n,r,a=/*$_*/e[23]("limitUpdated")+"",s=/*displayedLimit*/e[14].formattedSchedule.expiresString+"";return{c(){t=m("span"),i=p(a),n=p(": "),r=p(s)},m(e,a){c(e,t,a),u(t,i),u(t,n),u(t,r)},p(e,t){/*$_*/8388608&t[0]&&a!==(a=/*$_*/e[23]("limitUpdated")+"")&&L(i,a),/*displayedLimit*/16384&t[0]&&s!==(s=/*displayedLimit*/e[14].formattedSchedule.expiresString+"")&&L(r,s)},d(e){e&&h(t)}}}
1218
+ // (586:10) {#if sessiontype === 'admin'}
1219
+ function Ki(e){let t;function i(e,t){/*transdetailsurl*/
1220
+ return e[1]?Qi:/*transactionspageurl*/e[2]?Ji:void 0}let n=i(e),r=n&&n(e);return{c(){t=m("div"),r&&r.c(),v(t,"class","UsefulLinksSection")},m(e,i){c(e,t,i),r&&r.m(t,null)},p(e,a){n===(n=i(e))&&r?r.p(e,a):(r&&r.d(1),r=n&&n(e),r&&(r.c(),r.m(t,null)))},d(e){e&&h(t),r&&r.d()}}}
1221
+ // (590:44)
1222
+ function Ji(e){let t,i,n=/*$_*/e[23]("additionalLink2")+"";return{c(){t=m("a"),i=p(n),v(t,"href",/*getTransactionsUrl*/e[31]()),v(t,"target","_blank")},m(e,n){c(e,t,n),u(t,i)},p(e,t){/*$_*/8388608&t[0]&&n!==(n=/*$_*/e[23]("additionalLink2")+"")&&L(i,n)},d(e){e&&h(t)}}}
1223
+ // (588:14) {#if transdetailsurl}
1224
+ function Qi(e){let t,i,n=/*$_*/e[23]("additionalLink1")+"";return{c(){t=m("a"),i=p(n),v(t,"href",/*transdetailsurl*/e[1]),v(t,"target","_blank")},m(e,n){c(e,t,n),u(t,i)},p(e,r){/*$_*/8388608&r[0]&&n!==(n=/*$_*/e[23]("additionalLink1")+"")&&L(i,n),/*transdetailsurl*/2&r[0]&&v(t,"href",/*transdetailsurl*/e[1])},d(e){e&&h(t)}}}
1225
+ // (599:10) {#if limitPeriodList.length > 0}
1226
+ function en(e){let t,i,r,a,s,o,l,f,b=/*$_*/e[23]("changeLimitLabel")+"",_=/*limitPeriodList*/e[15],w=[];for(let t=0;t<_.length;t+=1)w[t]=tn(Ui(e,_,t));return{c(){t=m("div"),i=m("label"),r=p(b),a=p(":"),s=g(),o=m("select");for(let e=0;e<w.length;e+=1)w[e].c();v(i,"for","LimitPeriod"),v(o,"id","LimitPeriod"),/*selectedLimitPeriod*/void 0===e[17]&&x((()=>/*select_change_handler*/e[45].call(o))),v(t,"class","ControlContainer")},m(n,h){c(n,t,h),u(t,i),u(i,r),u(i,a),u(t,s),u(t,o);for(let e=0;e<w.length;e+=1)w[e]&&w[e].m(o,null);E(o,/*selectedLimitPeriod*/e[17],!0),l||(f=[y(o,"change",/*select_change_handler*/e[45]),y(o,"change",/*handlePeriodChange*/e[27])],l=!0)},p(e,t){if(/*$_*/8388608&t[0]&&b!==(b=/*$_*/e[23]("changeLimitLabel")+"")&&L(r,b),/*limitPeriodList*/32768&t[0]){let i;for(_=/*limitPeriodList*/e[15],i=0;i<_.length;i+=1){const n=Ui(e,_,i);w[i]?w[i].p(n,t):(w[i]=tn(n),w[i].c(),w[i].m(o,null))}for(;i<w.length;i+=1)w[i].d(1);w.length=_.length}/*selectedLimitPeriod, limitPeriodList*/163840&t[0]&&E(o,/*selectedLimitPeriod*/e[17])},d(e){e&&h(t),d(w,e),l=!1,n(f)}}}
1227
+ // (603:16) {#each limitPeriodList as value}
1228
+ function tn(e){let t,i,n,r,a=/*value*/e[68]+"";return{c(){t=m("option"),i=p(a),n=g(),t.__value=r=/*value*/e[68],t.value=t.__value},m(e,r){c(e,t,r),u(t,i),u(t,n)},p(e,n){/*limitPeriodList*/32768&n[0]&&a!==(a=/*value*/e[68]+"")&&L(i,a),/*limitPeriodList*/32768&n[0]&&r!==(r=/*value*/e[68])&&(t.__value=r,t.value=t.__value)},d(e){e&&h(t)}}}
1229
+ // (611:10) {#if limitTypeList.length > 0}
1230
+ function nn(e){let t,i,r,a,s,o,l,f,b=/*$_*/e[23]("limitTypeLabel")+"",_=/*limitTypeList*/e[16],w=[];for(let t=0;t<_.length;t+=1)w[t]=rn(Bi(e,_,t));return{c(){t=m("div"),i=m("label"),r=p(b),a=p(":"),s=g(),o=m("select");for(let e=0;e<w.length;e+=1)w[e].c();v(i,"for","LimitType"),v(o,"id","LimitType"),/*selectedLimitType*/void 0===e[18]&&x((()=>/*select_change_handler_1*/e[46].call(o))),v(t,"class","ControlContainer")},m(n,h){c(n,t,h),u(t,i),u(i,r),u(i,a),u(t,s),u(t,o);for(let e=0;e<w.length;e+=1)w[e]&&w[e].m(o,null);E(o,/*selectedLimitType*/e[18],!0),l||(f=[y(o,"change",/*select_change_handler_1*/e[46]),y(o,"change",/*getLimitBalance*/e[24])],l=!0)},p(e,t){if(/*$_*/8388608&t[0]&&b!==(b=/*$_*/e[23]("limitTypeLabel")+"")&&L(r,b),/*limitTypeList*/65536&t[0]){let i;for(_=/*limitTypeList*/e[16],i=0;i<_.length;i+=1){const n=Bi(e,_,i);w[i]?w[i].p(n,t):(w[i]=rn(n),w[i].c(),w[i].m(o,null))}for(;i<w.length;i+=1)w[i].d(1);w.length=_.length}/*selectedLimitType, limitTypeList*/327680&t[0]&&E(o,/*selectedLimitType*/e[18])},d(e){e&&h(t),d(w,e),l=!1,n(f)}}}
1231
+ // (615:16) {#each limitTypeList as value}
1232
+ function rn(e){let t,i,n,r,a=/*value*/e[68]+"";return{c(){t=m("option"),i=p(a),n=g(),t.__value=r=/*value*/e[68],t.value=t.__value},m(e,r){c(e,t,r),u(t,i),u(t,n)},p(e,n){/*limitTypeList*/65536&n[0]&&a!==(a=/*value*/e[68]+"")&&L(i,a),/*limitTypeList*/65536&n[0]&&r!==(r=/*value*/e[68])&&(t.__value=r,t.value=t.__value)},d(e){e&&h(t)}}}
1233
+ // (623:10) {#if limitTypeList.length > 0 && sessiontype === 'admin' && displayedLimit}
1234
+ function an(e){let t,i,n,r=/*editlimitaction*/"true"===e[5]&&sn(e),a=/*deletelimitaction*/"true"===e[6]&&on(e),s=/*cancelimitscheduleaction*/"true"===e[7]&&/*displayedLimit*/e[14].formattedSchedule&&/*displayedLimit*/!0===e[14].formattedSchedule.isRemoved&&ln(e);return{c(){t=m("div"),r&&r.c(),i=g(),a&&a.c(),n=g(),s&&s.c(),v(t,"class","ControlContainer")},m(e,o){c(e,t,o),r&&r.m(t,null),u(t,i),a&&a.m(t,null),u(t,n),s&&s.m(t,null)},p(e,o){/*editlimitaction*/"true"===e[5]?r?r.p(e,o):(r=sn(e),r.c(),r.m(t,i)):r&&(r.d(1),r=null),/*deletelimitaction*/"true"===e[6]?a?a.p(e,o):(a=on(e),a.c(),a.m(t,n)):a&&(a.d(1),a=null),/*cancelimitscheduleaction*/"true"===e[7]&&/*displayedLimit*/e[14].formattedSchedule&&/*displayedLimit*/!0===e[14].formattedSchedule.isRemoved?s?s.p(e,o):(s=ln(e),s.c(),s.m(t,null)):s&&(s.d(1),s=null)},d(e){e&&h(t),r&&r.d(),a&&a.d(),s&&s.d()}}}
1235
+ // (625:14) {#if editlimitaction === 'true'}
1236
+ function sn(e){let t,i,n,r,a;return{c(){t=m("button"),i=m("pencil-icon"),v(t,"class","ActionButton"),v(t,"title",n=/*$_*/e[23]("editLimitTitle"))},m(n,s){c(n,t,s),u(t,i),r||(a=y(t,"click",b(/*click_handler_2*/e[47])),r=!0)},p(e,i){/*$_*/8388608&i[0]&&n!==(n=/*$_*/e[23]("editLimitTitle"))&&v(t,"title",n)},d(e){e&&h(t),r=!1,a()}}}
1237
+ // (630:14) {#if deletelimitaction === 'true'}
1238
+ function on(e){let t,i,n,r,a;return{c(){t=m("button"),i=m("cancel-limit-icon"),v(t,"class","ActionButton"),v(t,"title",n=/*$_*/e[23]("deleteLimitTitle"))},m(n,s){c(n,t,s),u(t,i),r||(a=y(t,"click",b(/*click_handler_3*/e[48])),r=!0)},p(e,i){/*$_*/8388608&i[0]&&n!==(n=/*$_*/e[23]("deleteLimitTitle"))&&v(t,"title",n)},d(e){e&&h(t),r=!1,a()}}}
1239
+ // (635:14) {#if cancelimitscheduleaction === 'true' && displayedLimit.formattedSchedule && displayedLimit.formattedSchedule.isRemoved === true}
1240
+ function ln(e){let t,i,n,r,a;return{c(){t=m("button"),i=m("calendar-times-icon"),v(t,"class","ActionButton"),v(t,"title",n=/*$_*/e[23]("cancelScheduleTitle"))},m(n,s){c(n,t,s),u(t,i),r||(a=y(t,"click",b(/*click_handler_4*/e[49])),r=!0)},p(e,i){/*$_*/8388608&i[0]&&n!==(n=/*$_*/e[23]("cancelScheduleTitle"))&&v(t,"title",n)},d(e){e&&h(t),r=!1,a()}}}
1241
+ // (645:8) {:else}
1242
+ function un(e){let t,i,n,r,a,o,l,d,f,y,b,_,E,T,S,k,M,D,P,A,H,C,O,x,R,N,B,U,I,Y,j=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].spentAmount)+"",G=/*displayedLimit*/e[14].limitCurrency+"",$=/*displayedLimit*/e[14].limitCurrency+"",F=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].totalAmount)+"",z=/*displayedLimit*/e[14].limitCurrency+"";return{c(){var u,c;t=m("div"),i=m("div"),n=m("img"),a=g(),o=m("div"),l=g(),d=m("div"),f=p(j),y=g(),b=p(G),E=g(),T=m("div"),S=g(),k=m("div"),M=g(),D=m("div"),P=m("div"),A=m("strong"),A.textContent="0",H=g(),C=m("span"),O=p($),x=g(),R=m("div"),N=m("strong"),B=p(F),U=g(),I=m("span"),Y=p(z),v(n,"class","Archbg"),u=n.src,c=r=Di,s||(s=document.createElement("a")),s.href=c,u!==s.href&&v(n,"src",r),v(n,"alt","arch"),v(o,"class","GaugeFill"),w(o,"--p",/*gaugeValue*/e[21]+"deg"),v(d,"class","GaugeCover"),v(d,"title",_=`${/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].spentAmount)} ${/*displayedLimit*/e[14].limitCurrency}`),v(T,"class","GaugeNeedleCover"),v(k,"class","GaugeNeedle"),w(k,"--transform-needle-value","rotate("+(/*gaugeValue*/e[21]-90)+"deg)"),v(i,"class","GaugeBody"),v(A,"class","MinContent"),v(C,"class","MinContentCurrency"),v(P,"class","Min"),v(N,"class","MaxContent"),v(I,"class","MaxContentCurrency"),v(R,"class","Max"),v(D,"class","MinMaxContainer"),v(t,"class","Gauge")},m(e,r){c(e,t,r),u(t,i),u(i,n),u(i,a),u(i,o),u(i,l),u(i,d),u(d,f),u(d,y),u(d,b),u(i,E),u(i,T),u(i,S),u(i,k),u(t,M),u(t,D),u(D,P),u(P,A),u(P,H),u(P,C),u(C,O),u(D,x),u(D,R),u(R,N),u(N,B),u(R,U),u(R,I),u(I,Y)},p(e,t){/*gaugeValue*/2097152&t[0]&&w(o,"--p",/*gaugeValue*/e[21]+"deg"),/*displayedLimit*/16384&t[0]&&j!==(j=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].spentAmount)+"")&&L(f,j),/*displayedLimit*/16384&t[0]&&G!==(G=/*displayedLimit*/e[14].limitCurrency+"")&&L(b,G),/*displayedLimit*/16384&t[0]&&_!==(_=`${/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].spentAmount)} ${/*displayedLimit*/e[14].limitCurrency}`)&&v(d,"title",_),/*gaugeValue*/2097152&t[0]&&w(k,"--transform-needle-value","rotate("+(/*gaugeValue*/e[21]-90)+"deg)"),/*displayedLimit*/16384&t[0]&&$!==($=/*displayedLimit*/e[14].limitCurrency+"")&&L(O,$),/*displayedLimit*/16384&t[0]&&F!==(F=/*formatWithSeparator*/e[30](/*displayedLimit*/e[14].totalAmount)+"")&&L(B,F),/*displayedLimit*/16384&t[0]&&z!==(z=/*displayedLimit*/e[14].limitCurrency+"")&&L(Y,z)},d(e){e&&h(t)}}}
1243
+ // (643:8) {#if isGaugeLoading}
1244
+ function cn(e){let t;return{c(){t=m("general-animation-loading"),_(t,"clientstyling",/*clientstyling*/e[3]),_(t,"clientstylingurl",/*clientstylingurl*/e[4])},m(e,i){c(e,t,i)},p(e,i){/*clientstyling*/8&i[0]&&_(t,"clientstyling",/*clientstyling*/e[3]),/*clientstylingurl*/16&i[0]&&_(t,"clientstylingurl",/*clientstylingurl*/e[4])},d(e){e&&h(t)}}}function hn(t){let i,n,r;function a(e,t){/*noLimitToDisplay*/
1245
+ return e[12]?Gi:/*errorMessage*/e[22]?ji:Yi}let s=a(t),o=s(t);return{c(){i=m("div"),n=m("div"),o.c(),this.c=e,v(n,"class","LimitsContainer"),v(i,"class",r=/*displayNone*/t[9]?"DisplayNone":"")},m(e,r){c(e,i,r),u(i,n),o.m(n,null),
1246
+ /*div0_binding*/t[50](n)},p(e,t){s===(s=a(e))&&o?o.p(e,t):(o.d(1),o=s(e),o&&(o.c(),o.m(n,null))),/*displayNone*/512&t[0]&&r!==(r=/*displayNone*/e[9]?"DisplayNone":"")&&v(i,"class",r)},i:e,o:e,d(e){e&&h(i),o.d(),
1247
+ /*div0_binding*/t[50](null)}}}function dn(e,t,i){let n;var r,a;r=Si,a=e=>i(23,n=e),e.$$.on_destroy.push(l(r,a));let s,o,{session:u=""}=t,{sessiontype:c=""}=t,{userid:h=""}=t,{endpoint:d=""}=t,{transdetailsurl:m=""}=t,{transactionspageurl:f=""}=t,{clientstyling:p=""}=t,{clientstylingurl:g=""}=t,{lang:y="en"}=t,{translationurl:b=""}=t,{datetimeformat:v=""}=t,{editlimitaction:_=""}=t,{deletelimitaction:L=""}=t,{cancelimitscheduleaction:w=""}=t,E=!1,S=!1,k=!1,D="",A="",H=!0,C=!0,O=!1,x={id:"",totalAmount:null,spentAmount:"",limitCurrency:"EUR",remainingAmount:"",limitPeriod:"",limitProducts:"",from:"",to:""},R=[],N=[],B="",U="",I="",Y=[],j=[],G=0,$="";Object.keys(Mi).forEach((e=>{ki(e,Mi[e])})),
1234
1248
  /**
1235
1249
  * Sets the isMounted flag after a short delay when the component is first rendered.
1236
1250
  */
1237
- k((()=>{setTimeout((()=>{i(35,L=!0)}),50);
1251
+ M((()=>{setTimeout((()=>{i(41,S=!0)}),50);
1238
1252
  // Define the function to handle clicks outside the dropdown
1239
1253
  const e=e=>{
1240
1254
  // Check if the click is outside the .ProductsDropdown
1241
1255
  e.target.closest(".ProductsDropdown")||
1242
1256
  // Close the dropdown
1243
- i(10,A=!1)};
1257
+ i(13,O=!1)};
1244
1258
  // Add event listener to window for clicks
1245
1259
  // Cleanup function to remove event listener when component is unmounted
1246
1260
  return window.addEventListener("click",e),()=>{window.removeEventListener("click",e)}}));
1247
1261
  /**
1248
1262
  * Sets the session information upon login.
1249
1263
  */
1250
- const j=e=>{i(19,I=e)},G=async()=>{i(10,A=!1);try{if(B=await F(),0===B.length)return i(7,M=!1),void i(9,o=!0);i(12,C=[...new Set(B.map((e=>e.period)))]),i(17,U=z(B[0].period)),U.includes(x)||i(16,x=U[0]),V(B[0])}catch(e){return i(7,M=!1),void j(n("fetchLimitBalanceError"))}},F=async()=>{try{const e=new URL(`${d}/v1/player/${S}/limits/monetary/`),t={method:"GET",headers:{"X-SessionId":T,"X-Session-Type":c}},r=await fetch(e,t);if(!r.ok)throw new Error(n("fetchLimitDefError"));const a=await r.json(),s=["Deposit","Loss","Wagering"],o=a.limits.map((e=>e.type));i(13,O=Array.from(new Set(o)).filter((e=>s.includes(e)))),R||i(15,R=O[0]);const l=a.limits.filter((e=>e.type===R));return l.length>0?l:[]}catch(e){const t=e instanceof TypeError?n("invalidUrl"):e.message;j(t)}},z=e=>{const t=B.filter((t=>t.period===e)),i=[];return t.forEach((e=>{e.products.forEach((e=>{-1===i.indexOf(e)&&i.push(e)}))})),i},V=async e=>{try{i(7,M=!0);const t=new URL(`${d}/v1/player/${S}/limits/monetary/balance`);t.searchParams.append("limitDefinitionId",e.id);const r={method:"GET",headers:{"X-SessionId":T,"X-Session-Type":c}},a=await fetch(t,r);if(!a.ok)throw new Error(n("fetchLimitBalanceError"));const s=await a.json();W(s.limitBalances[0],e)}catch(e){const t=e instanceof TypeError?n("invalidUrl"):e.message;j(t)}finally{i(7,M=!1)}},W=(e,t)=>{i(14,N=e.limitPeriod),i(16,x=e.limitProducts[0]);const n=Z(t.id,t.schedules);i(11,H={totalAmount:e.limitAmount,spentAmount:e.spentBalance.amount.toFixed(2),limitCurrency:e.limitCurrency,remainingAmount:(e.limitAmount-e.spentBalance.amount).toFixed(2),limitPeriod:e.limitPeriod,limitProducts:x,from:e.from,to:e.to}),n&&i(11,H.formattedSchedule=n,H),K(H)},Z=(e,t)=>{const i=t.find((t=>t.playerLimitId===e));return i?{updateAmount:i.updateAmount,expires:i.applyAt,expiresString:X(i.applyAt),id:i.id,isRemoved:i.updateAmount<1,isUpdated:i.updateAmount>0}:{updateAmount:"",expires:"",expiresString:"",id:"",isRemoved:!1,isUpdated:!1}},X=e=>$(e).utc(!0).format(v||"DD/MM/YYYY HH:mm:ss"),K=e=>{const t=180/e.totalAmount*parseFloat(e.spentAmount),n=setInterval((()=>{Math.abs(Y-t)<1.5?(i(18,Y=t),clearInterval(n)):i(18,Y+=Y<t?1.5:-1.5),
1264
+ const F=e=>{i(22,$=e)},V=async()=>{i(13,O=!1);try{if(Y=await W(),0===Y.length)return i(10,H=!1),void i(12,o=!0);i(15,R=[...new Set(Y.map((e=>e.period)))]),i(20,j=Z(Y[0].period)),j.includes(I)||i(19,I=j[0]),q(Y[0])}catch(e){return i(10,H=!1),void F(n("fetchLimitBalanceError"))}},W=async()=>{try{const e=new URL(`${d}/v1/player/${A}/limits/monetary/`),t={method:"GET",headers:{"X-SessionId":D,"X-Session-Type":c}},r=await fetch(e,t);if(!r.ok)throw new Error(n("fetchLimitDefError"));const a=await r.json(),s=["Deposit","Loss","Wagering"],o=a.limits.map((e=>e.type));i(16,N=Array.from(new Set(o)).filter((e=>s.includes(e)))),U||i(18,U=N[0]);const l=a.limits.filter((e=>e.type===U));return l.length>0?l:[]}catch(e){const t=e instanceof TypeError?n("invalidUrl"):e.message;F(t)}},Z=e=>{const t=Y.filter((t=>t.period===e)),i=[];return t.forEach((e=>{e.products.forEach((e=>{-1===i.indexOf(e)&&i.push(e)}))})),i},q=async e=>{try{i(10,H=!0);const t=new URL(`${d}/v1/player/${A}/limits/monetary/balance`);t.searchParams.append("limitDefinitionId",e.id);const r={method:"GET",headers:{"X-SessionId":D,"X-Session-Type":c}},a=await fetch(t,r);if(!a.ok)throw new Error(n("fetchLimitBalanceError"));const s=await a.json();X(s.limitBalances[0],e)}catch(e){const t=e instanceof TypeError?n("invalidUrl"):e.message;F(t)}finally{i(10,H=!1)}},X=(e,t)=>{i(17,B=e.limitPeriod),i(19,I=e.limitProducts[0]);const n=K(t.id,t.schedules);i(14,x={id:t.id,totalAmount:e.limitAmount,spentAmount:e.spentBalance.amount.toFixed(2),limitCurrency:e.limitCurrency,remainingAmount:(e.limitAmount-e.spentBalance.amount).toFixed(2),limitPeriod:e.limitPeriod,limitProducts:I,from:e.from,to:e.to}),n&&i(14,x.formattedSchedule=n,x),Q(x)},K=(e,t)=>{const i=t.find((t=>t.playerLimitId===e));return i?{updateAmount:i.updateAmount,expires:i.applyAt,expiresString:J(i.applyAt),id:i.id,isRemoved:i.updateAmount<1,isUpdated:i.updateAmount>0}:{updateAmount:"",expires:"",expiresString:"",id:"",isRemoved:!1,isUpdated:!1}},J=e=>z(e).utc(!0).format(v||"DD/MM/YYYY HH:mm:ss"),Q=e=>{const t=180/e.totalAmount*parseFloat(e.spentAmount),n=setInterval((()=>{Math.abs(G-t)<1.5?(i(21,G=t),clearInterval(n)):i(21,G+=G<t?1.5:-1.5),
1251
1265
  // Boundary checks to ensure gaugeValue stays within [0, 180]
1252
- i(18,Y=Math.min(180,Math.max(0,Y))),Y===t&&clearInterval(n)}));i(8,P=!1)},q=e=>{const t=B.find((t=>t.period===N&&t.products.includes(e)));i(11,H.limitProducts=e,H),i(10,A=!1),t&&V(t)},J=()=>{var e;e=y,ri.set(e)},Q=()=>{i(10,A=!A)},ee=(e,t)=>new Date(e.getTime()-24*t*60*60*1e3);
1266
+ i(21,G=Math.min(180,Math.max(0,G))),G===t&&clearInterval(n)}));i(11,C=!1)},ee=e=>{const t=Y.find((t=>t.period===B&&t.products.includes(e)));i(14,x.limitProducts=e,x),i(13,O=!1),t&&q(t)},te=()=>{var e;e=y,ai.set(e)},ie=()=>{i(13,O=!O)},ne=(e,t)=>new Date(e.getTime()-24*t*60*60*1e3),re=()=>{window.postMessage({type:"RGW:EditLimit",payload:{id:x.id}},window.location.href)},ae=()=>{window.postMessage({type:"RGW:DeleteLimit",payload:{id:x.id}},window.location.href)},se=()=>{x&&x.formattedSchedule&&window.postMessage({type:"RGW:CancelLimitSchedule",payload:{limitId:x.id,scheduleId:x.formattedSchedule.id}},window.location.href)};
1253
1267
  /**
1254
1268
  * Handles errors by updating the error message.
1255
1269
  *
1256
1270
  * @param error - The error message to be handled.
1257
- */return e.$$set=e=>{"session"in e&&i(29,u=e.session),"sessiontype"in e&&i(0,c=e.sessiontype),"userid"in e&&i(30,h=e.userid),"endpoint"in e&&i(31,d=e.endpoint),"transdetailsurl"in e&&i(1,m=e.transdetailsurl),"transactionspageurl"in e&&i(2,f=e.transactionspageurl),"clientstyling"in e&&i(3,p=e.clientstyling),"clientstylingurl"in e&&i(4,g=e.clientstylingurl),"lang"in e&&i(32,y=e.lang),"translationurl"in e&&i(33,b=e.translationurl),"datetimeformat"in e&&i(34,v=e.datetimeformat)},e.$$.update=()=>{/*session, userid*/1610612736&e.$$.dirty[0]|/*isMounted*/16&e.$$.dirty[1]&&L&&u&&h&&(i(36,w=!0),T=u,S=h),/*isMounted, isLoggedIn*/48&e.$$.dirty[1]&&L&&w&&G(),/*clientstyling, customStylingContainer*/40&e.$$.dirty[0]&&p&&s&&(()=>{let e=document.createElement("style");e.innerHTML=p,s.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/48&e.$$.dirty[0]&&g&&s&&(()=>{try{i(6,_=!0);let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{s.appendChild(t)}),1),setTimeout((()=>{i(6,_=!1)}),500)}))}catch(e){const t=e instanceof TypeError?n("invalidUrl"):e.message;j(t)}})(),/*lang*/2&e.$$.dirty[1]&&y&&J(),/*translationurl*/4&e.$$.dirty[1]&&b&&(()=>{let e=new URL(b);fetch(e.href).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{Si(t,e[t])}))})).catch((e=>{console.log(e)}))})()},[c,m,f,p,g,s,_,M,P,o,A,H,C,O,N,R,x,U,Y,I,n,G,X,e=>{switch(e){case"Deposit":return n("depositLimitHeader");case"Loss":return n("lossLimitHeader");case"Wagering":return n("wageringLimitHeader");default:return""}},e=>{const t=e.currentTarget;i(14,N=t.value),i(17,U=z(N)),i(10,A=!1),U.includes(x)||i(16,x=U[0]);const n=B.find((e=>e.period===N&&e.products.includes(x)));n&&V(n)},q,Q,e=>e.toString().replace(/\B(?<!\.\d*)(?=(\d{3})+(?!\d))/g," "),()=>{try{const e=f,t="Deposit"===R?"payment-transactions":"gaming-transactions",i={Daily:1,Weekly:7,Monthly:30},n=ee(new Date(H.to),i[N]),r=new URL(`${e}/gammatrix/gmwi/${t}`);switch(r.searchParams.append("transStatuses","2"),r.searchParams.append("startTime",n.toISOString()),r.searchParams.append("endTime",(new Date).toISOString()),r.searchParams.append("dateOption","Select custom dates"),r.searchParams.append("userId",h),R){case"Deposit":r.searchParams.append("transTypes","1");break;case"Wagering":r.searchParams.append("transTypes","12");break;case"Loss":r.searchParams.append("transTypes","8")}return r.toString()}catch(e){const t=e instanceof TypeError?n("invalidUrl"):e.message;j(t)}},u,h,d,y,b,v,L,w,()=>Q(),e=>q(e),function(){N=E(this),i(14,N),i(12,C)},function(){R=E(this),i(15,R),i(13,O)},function(e){D[e?"unshift":"push"]((()=>{s=e,i(5,s)}))}]}!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",class extends G{constructor(e){super();const t=document.createElement("style");t.textContent=".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}",this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},Ci,Hi,a,{clientstyling:1,clientstylingurl:2},null),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),x()))}static get observedAttributes(){return["clientstyling","clientstylingurl"]}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),x()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),x()}});class an extends G{constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.DisplayNone{display:none}.ContainerCenter{width:100%;display:flex;justify-content:center;align-items:center;min-height:219px}.ErrorMessage{margin:0 15px;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.LimitsContainer{display:flex;width:100%;max-width:700px;min-height:150px;border:1px solid var(--emw--color-primary, #307fe2);border-radius:20px;overflow:hidden;box-shadow:14px 26px 19.7px 0px var(--emw--color-gray-150, #76768B);gap:25px;padding:25px}.ContentLeft{line-height:20px;flex:1}.LimitTypeHeader{display:flex;align-items:center;color:var(--emw--color-gray-150, #76768B);margin-bottom:20px;gap:5px}.DetailsContainer{margin-bottom:15px;display:inline}.DetailsContainer span{font-weight:700}caret-right{color:var(--emw--color-primary, #307fe2)}.ContentRight{min-width:300px;display:flex;justify-content:center;flex-direction:column}.ExtraInfoContainer{padding:1rem 0;color:var(--emfe-w-color-red, #ed0909)}.UsefulLinksSection{padding-top:5px}.UsefulLinksSection a{color:var(--emw--color-primary, #307fe2);text-decoration:underline}.WidgetControls{display:flex;width:100%;justify-content:end;gap:20px}.ControlContainer label{display:block;width:100%;font-size:12px;font-weight:bold;margin-bottom:5px}.Gauge{width:100%;font-family:"Roboto", sans-serif;color:black;margin:1rem 0;flex:1;align-content:center}.GaugeBody{width:100%;position:relative;text-align:center;padding:23px;padding-bottom:0}.Archbg{position:absolute;right:0;bottom:0}.GaugeFill{--p:0deg;--b:25px;border-radius:500px 500px 0 0;background:var(--emw--gauge-fill-bg, var(--emw--color-primary, #307fe2));mask:radial-gradient(farthest-side at bottom, transparent calc(100% - var(--b) - 1px), #fff calc(100% - var(--b))), linear-gradient(var(--p), #fff 50%, transparent 0) top/100% 200%;-webkit-mask:radial-gradient(farthest-side at bottom, transparent calc(100% - var(--b) - 1px), #fff calc(100% - var(--b))), linear-gradient(var(--p), #fff 50%, transparent 0) top/100% 200%;mask-composite:intersect;-webkit-mask-composite:destination-in}.GaugeFill::before{content:"";display:block;padding-top:50%}.GaugeCover{position:absolute;left:50%;transform:translateX(-50%);top:50%;font-size:large;white-space:nowrap;width:130px;max-width:200px;overflow-x:auto;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.GaugeNeedle{width:0.2rem;height:3.5rem;background:linear-gradient(0deg, #000000 0, #000000 55%, #c5c5c5 55%, #c5c5c5 90%, #000000 90%, #000000 100%);display:inline-block;left:49.5%;position:absolute;bottom:0.1rem;transform:var(--transform-needle-value);transform-origin:bottom}.GaugeNeedleCover{width:60px;height:30px;border-radius:150px 150px 0 0;background:var(--emw--color-black, #000000);background:radial-gradient(circle at 50% 100%, var(--emw--color-black, #000000) 0%, var(--emw--color-black, #000000) 25%, #fff 25%, #fff 40%, var(--emw--color-primary, #307fe2) 40%);position:absolute;bottom:0;left:50%;border:4px solid var(--emw--color-white, #FFFFFF);border-bottom:0;transform:translateX(-50%)}.MinMaxContainer{display:flex;justify-content:space-between;margin-top:10px}.ProductSelector{position:relative;margin-bottom:20px}.DisplayContainer{border:1px solid var(--emw--color-primary, #307fe2);background-color:#f5f5f5;border-radius:13px;box-shadow:4px 4px 4px 0px rgba(0, 0, 0, 0.25);padding:9px;display:flex;align-items:center;justify-content:space-between;color:var(--emw--color-contrast, #07072A);gap:5px;margin-top:20px}.SelectedProduct{font-weight:700;text-align:center;width:70px;color:var(--emw--color-gray-150, #76768B)}.TotalAmount{font-size:36px;align-items:baseline;gap:5px;overflow-x:auto;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none;line-height:normal;justify-content:center;white-space:nowrap;max-width:188px;flex:1;text-align:center}.TotalAmount .Currency{font-size:24px}.TotalAmount::-webkit-scrollbar{display:none}.ProductsDropdown{display:none;position:absolute;background-color:#F5F5F5;width:100%;box-shadow:0 8px 16px 0 rgba(0, 0, 0, 0.2);z-index:1;border:1px solid var(--emw--color-primary, #307fe2)}.ProductsDropdown.Show{display:block}.ProductsDropdown button{background-color:transparent;border:none;outline:none;cursor:pointer;padding:10px;width:100%;text-align:left;font-weight:700}.ProductsDropdown button:hover{background-color:var(--emw--color-primary, #307fe2);color:#fff}.DropdownToggle{width:35px;height:35px;display:flex;justify-content:center;align-items:center;background:none;border:none;cursor:pointer;color:var(--emw--color-primary, #307fe2);line-height:0}.DropdownToggle.Active{transform:rotate(90deg)}.Row{display:flex}.Col{flex:1}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},rn,nn,a,{session:29,sessiontype:0,userid:30,endpoint:31,transdetailsurl:1,transactionspageurl:2,clientstyling:3,clientstylingurl:4,lang:32,translationurl:33,datetimeformat:34},null,[-1,-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),x()))}static get observedAttributes(){return["session","sessiontype","userid","endpoint","transdetailsurl","transactionspageurl","clientstyling","clientstylingurl","lang","translationurl","datetimeformat"]}get session(){return this.$$.ctx[29]}set session(e){this.$$set({session:e}),x()}get sessiontype(){return this.$$.ctx[0]}set sessiontype(e){this.$$set({sessiontype:e}),x()}get userid(){return this.$$.ctx[30]}set userid(e){this.$$set({userid:e}),x()}get endpoint(){return this.$$.ctx[31]}set endpoint(e){this.$$set({endpoint:e}),x()}get transdetailsurl(){return this.$$.ctx[1]}set transdetailsurl(e){this.$$set({transdetailsurl:e}),x()}get transactionspageurl(){return this.$$.ctx[2]}set transactionspageurl(e){this.$$set({transactionspageurl:e}),x()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),x()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),x()}get lang(){return this.$$.ctx[32]}set lang(e){this.$$set({lang:e}),x()}get translationurl(){return this.$$.ctx[33]}set translationurl(e){this.$$set({translationurl:e}),x()}get datetimeformat(){return this.$$.ctx[34]}set datetimeformat(e){this.$$set({datetimeformat:e}),x()}}return!customElements.get("player-rglimits")&&customElements.define("player-rglimits",an),an}));
1271
+ */return e.$$set=e=>{"session"in e&&i(35,u=e.session),"sessiontype"in e&&i(0,c=e.sessiontype),"userid"in e&&i(36,h=e.userid),"endpoint"in e&&i(37,d=e.endpoint),"transdetailsurl"in e&&i(1,m=e.transdetailsurl),"transactionspageurl"in e&&i(2,f=e.transactionspageurl),"clientstyling"in e&&i(3,p=e.clientstyling),"clientstylingurl"in e&&i(4,g=e.clientstylingurl),"lang"in e&&i(38,y=e.lang),"translationurl"in e&&i(39,b=e.translationurl),"datetimeformat"in e&&i(40,v=e.datetimeformat),"editlimitaction"in e&&i(5,_=e.editlimitaction),"deletelimitaction"in e&&i(6,L=e.deletelimitaction),"cancelimitscheduleaction"in e&&i(7,w=e.cancelimitscheduleaction)},e.$$.update=()=>{/*isMounted, session, userid*/1072&e.$$.dirty[1]&&S&&u&&h&&(i(42,k=!0),D=u,A=h),/*isMounted, isLoggedIn*/3072&e.$$.dirty[1]&&S&&k&&V(),/*isMounted, isLoggedIn*/3072&e.$$.dirty[1]&&S&&k&&window.addEventListener("message",(e=>{"RGW:RefreshLimits"===e.data.type&&V()})),/*clientstyling, customStylingContainer*/264&e.$$.dirty[0]&&p&&s&&(()=>{let e=document.createElement("style");e.innerHTML=p,s.appendChild(e)})(),/*clientstylingurl, customStylingContainer*/272&e.$$.dirty[0]&&g&&s&&(()=>{try{i(9,E=!0);let e=new URL(g),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{s.appendChild(t)}),1),setTimeout((()=>{i(9,E=!1)}),500)}))}catch(e){const t=e instanceof TypeError?n("invalidUrl"):e.message;F(t)}})(),/*lang*/128&e.$$.dirty[1]&&y&&te(),/*translationurl*/256&e.$$.dirty[1]&&b&&(()=>{let e=new URL(b);fetch(e.href).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{ki(t,e[t])}))})).catch((e=>{console.log(e)}))})()},[c,m,f,p,g,_,L,w,s,E,H,C,o,O,x,R,N,B,U,I,j,G,$,n,V,J,e=>{switch(e){case"Deposit":return n("depositLimitHeader");case"Loss":return n("lossLimitHeader");case"Wagering":return n("wageringLimitHeader");default:return""}},e=>{const t=e.currentTarget;i(17,B=t.value),i(20,j=Z(B)),i(13,O=!1),j.includes(I)||i(19,I=j[0]);const n=Y.find((e=>e.period===B&&e.products.includes(I)));n&&q(n)},ee,ie,e=>e.toString().replace(/\B(?<!\.\d*)(?=(\d{3})+(?!\d))/g," "),()=>{try{const e=f,t="Deposit"===U?"payment-transactions":"gaming-transactions",i={Daily:1,Weekly:7,Monthly:30},n=ne(new Date(x.to),i[B]),r=new URL(`${e}/gammatrix/gmwi/${t}`);switch(r.searchParams.append("transStatuses","2"),r.searchParams.append("startTime",n.toISOString()),r.searchParams.append("endTime",(new Date).toISOString()),r.searchParams.append("dateOption","Select custom dates"),r.searchParams.append("userId",h),U){case"Deposit":r.searchParams.append("transTypes","1");break;case"Wagering":r.searchParams.append("transTypes","12");break;case"Loss":r.searchParams.append("transTypes","8")}return r.toString()}catch(e){const t=e instanceof TypeError?n("invalidUrl"):e.message;F(t)}},re,ae,se,u,h,d,y,b,v,S,k,()=>ie(),e=>ee(e),function(){B=T(this),i(17,B),i(15,R)},function(){U=T(this),i(18,U),i(16,N)},()=>re(),()=>ae(),()=>se(),function(e){P[e?"unshift":"push"]((()=>{s=e,i(8,s)}))}]}!customElements.get("general-animation-loading")&&customElements.define("general-animation-loading",class extends ${constructor(e){super();const t=document.createElement("style");t.textContent=".LoaderContainer{display:flex;justify-content:center}.lds-ellipsis{display:inline-block;position:relative;width:80px;height:80px}.lds-ellipsis div{position:absolute;top:33px;width:13px;height:13px;border-radius:50%;background:#d1d1d1;animation-timing-function:cubic-bezier(0, 1, 1, 0)}.lds-ellipsis div:nth-child(1){left:8px;animation:lds-ellipsis1 0.6s infinite}.lds-ellipsis div:nth-child(2){left:8px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(3){left:32px;animation:lds-ellipsis2 0.6s infinite}.lds-ellipsis div:nth-child(4){left:56px;animation:lds-ellipsis3 0.6s infinite}@keyframes lds-ellipsis1{0%{transform:scale(0)}100%{transform:scale(1)}}@keyframes lds-ellipsis3{0%{transform:scale(1)}100%{transform:scale(0)}}@keyframes lds-ellipsis2{0%{transform:translate(0, 0)}100%{transform:translate(24px, 0)}}",this.shadowRoot.appendChild(t),G(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},Ni,Ri,a,{clientstyling:1,clientstylingurl:2},null),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["clientstyling","clientstylingurl"]}get clientstyling(){return this.$$.ctx[1]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[2]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}});class mn extends ${constructor(e){super();const t=document.createElement("style");t.textContent='*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.DisplayNone{display:none}.ContainerCenter{width:100%;display:flex;justify-content:center;align-items:center;min-height:219px}.ErrorMessage{margin:0 15px;font-size:12px;color:var(--emw--color-error, var(--emw--color-red, #ed0909))}.LimitsContainer{display:flex;width:100%;max-width:700px;min-height:150px;border:1px solid var(--emw--color-primary, #307fe2);border-radius:20px;overflow:hidden;box-shadow:14px 26px 19.7px 0px var(--emw--color-gray-150, #76768B);gap:25px;padding:25px}.ContentLeft{line-height:20px;flex:1}.LimitTypeHeader{display:flex;align-items:center;color:var(--emw--color-gray-150, #76768B);margin-bottom:20px;gap:5px}.DetailsContainer{margin-bottom:15px;display:inline}.DetailsContainer span{font-weight:700}caret-right{color:var(--emw--color-primary, #307fe2)}.ContentRight{min-width:300px;display:flex;justify-content:center;flex-direction:column}.ExtraInfoContainer{padding:1rem 0;color:var(--emfe-w-color-red, #ed0909)}.UsefulLinksSection{padding-top:5px}.UsefulLinksSection a{color:var(--emw--color-primary, #307fe2);text-decoration:underline}.WidgetControls{display:flex;width:100%;justify-content:end;gap:20px}.ControlContainer label{display:block;width:100%;font-size:12px;font-weight:bold;margin-bottom:5px}.ControlContainer button{padding:5px;border:1px solid #07072A;border-radius:5px;width:25px;cursor:pointer;display:flex;flex-direction:column;margin-bottom:4px}.Gauge{width:100%;font-family:"Roboto", sans-serif;color:black;margin:1rem 0;flex:1;align-content:center}.GaugeBody{width:100%;position:relative;text-align:center;padding:23px;padding-bottom:0}.Archbg{position:absolute;right:0;bottom:0}.GaugeFill{--p:0deg;--b:25px;border-radius:500px 500px 0 0;background:var(--emw--gauge-fill-bg, var(--emw--color-primary, #307fe2));mask:radial-gradient(farthest-side at bottom, transparent calc(100% - var(--b) - 1px), #fff calc(100% - var(--b))), linear-gradient(var(--p), #fff 50%, transparent 0) top/100% 200%;-webkit-mask:radial-gradient(farthest-side at bottom, transparent calc(100% - var(--b) - 1px), #fff calc(100% - var(--b))), linear-gradient(var(--p), #fff 50%, transparent 0) top/100% 200%;mask-composite:intersect;-webkit-mask-composite:destination-in}.GaugeFill::before{content:"";display:block;padding-top:50%}.GaugeCover{position:absolute;left:50%;transform:translateX(-50%);top:50%;font-size:large;white-space:nowrap;width:130px;max-width:200px;overflow-x:auto;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none}.GaugeNeedle{width:0.2rem;height:3.5rem;background:linear-gradient(0deg, #000000 0, #000000 55%, #c5c5c5 55%, #c5c5c5 90%, #000000 90%, #000000 100%);display:inline-block;left:49.5%;position:absolute;bottom:0.1rem;transform:var(--transform-needle-value);transform-origin:bottom}.GaugeNeedleCover{width:60px;height:30px;border-radius:150px 150px 0 0;background:var(--emw--color-black, #000000);background:radial-gradient(circle at 50% 100%, var(--emw--color-black, #000000) 0%, var(--emw--color-black, #000000) 25%, #fff 25%, #fff 40%, var(--emw--color-primary, #307fe2) 40%);position:absolute;bottom:0;left:50%;border:4px solid var(--emw--color-white, #FFFFFF);border-bottom:0;transform:translateX(-50%)}.MinMaxContainer{display:flex;justify-content:space-between;margin-top:10px}.ProductSelector{position:relative;margin-bottom:20px}.DisplayContainer{border:1px solid var(--emw--color-primary, #307fe2);background-color:#f5f5f5;border-radius:13px;box-shadow:4px 4px 4px 0px rgba(0, 0, 0, 0.25);padding:9px;display:flex;align-items:center;justify-content:space-between;color:var(--emw--color-contrast, #07072A);gap:5px;margin-top:20px}.SelectedProduct{font-weight:700;text-align:center;width:70px;color:var(--emw--color-gray-150, #76768B)}.TotalAmount{font-size:36px;align-items:baseline;gap:5px;overflow-x:auto;overflow-y:hidden;-ms-overflow-style:none;scrollbar-width:none;line-height:normal;justify-content:center;white-space:nowrap;max-width:188px;flex:1;text-align:center}.TotalAmount .Currency{font-size:24px}.TotalAmount::-webkit-scrollbar{display:none}.ProductsDropdown{display:none;position:absolute;background-color:#F5F5F5;width:100%;box-shadow:0 8px 16px 0 rgba(0, 0, 0, 0.2);z-index:1;border:1px solid var(--emw--color-primary, #307fe2)}.ProductsDropdown.Show{display:block}.ProductsDropdown button{background-color:transparent;border:none;outline:none;cursor:pointer;padding:10px;width:100%;text-align:left;font-weight:700}.ProductsDropdown button:hover{background-color:var(--emw--color-primary, #307fe2);color:#fff}.DropdownToggle{width:35px;height:35px;display:flex;justify-content:center;align-items:center;background:none;border:none;cursor:pointer;color:var(--emw--color-primary, #307fe2);line-height:0}.DropdownToggle.Active{transform:rotate(90deg)}.Row{display:flex}.Col{flex:1}',this.shadowRoot.appendChild(t),G(this,{target:this.shadowRoot,props:S(this.attributes),customElement:!0},dn,hn,a,{session:35,sessiontype:0,userid:36,endpoint:37,transdetailsurl:1,transactionspageurl:2,clientstyling:3,clientstylingurl:4,lang:38,translationurl:39,datetimeformat:40,editlimitaction:5,deletelimitaction:6,cancelimitscheduleaction:7},null,[-1,-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),B()))}static get observedAttributes(){return["session","sessiontype","userid","endpoint","transdetailsurl","transactionspageurl","clientstyling","clientstylingurl","lang","translationurl","datetimeformat","editlimitaction","deletelimitaction","cancelimitscheduleaction"]}get session(){return this.$$.ctx[35]}set session(e){this.$$set({session:e}),B()}get sessiontype(){return this.$$.ctx[0]}set sessiontype(e){this.$$set({sessiontype:e}),B()}get userid(){return this.$$.ctx[36]}set userid(e){this.$$set({userid:e}),B()}get endpoint(){return this.$$.ctx[37]}set endpoint(e){this.$$set({endpoint:e}),B()}get transdetailsurl(){return this.$$.ctx[1]}set transdetailsurl(e){this.$$set({transdetailsurl:e}),B()}get transactionspageurl(){return this.$$.ctx[2]}set transactionspageurl(e){this.$$set({transactionspageurl:e}),B()}get clientstyling(){return this.$$.ctx[3]}set clientstyling(e){this.$$set({clientstyling:e}),B()}get clientstylingurl(){return this.$$.ctx[4]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),B()}get lang(){return this.$$.ctx[38]}set lang(e){this.$$set({lang:e}),B()}get translationurl(){return this.$$.ctx[39]}set translationurl(e){this.$$set({translationurl:e}),B()}get datetimeformat(){return this.$$.ctx[40]}set datetimeformat(e){this.$$set({datetimeformat:e}),B()}get editlimitaction(){return this.$$.ctx[5]}set editlimitaction(e){this.$$set({editlimitaction:e}),B()}get deletelimitaction(){return this.$$.ctx[6]}set deletelimitaction(e){this.$$set({deletelimitaction:e}),B()}get cancelimitscheduleaction(){return this.$$.ctx[7]}set cancelimitscheduleaction(e){this.$$set({cancelimitscheduleaction:e}),B()}}return!customElements.get("player-rglimits")&&customElements.define("player-rglimits",mn),mn}));
1258
1272
  //# sourceMappingURL=player-rglimits.js.map