@everymatrix/player-account-gaming-limits-popup-2 1.9.0 → 1.9.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function i(e){e.forEach(t)}function r(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function s(t,...n){if(null==t)return e;const i=t.subscribe(...n);return i.unsubscribe?()=>i.unsubscribe():i}function a(e,t){e.appendChild(t)}function l(e,t,n){e.insertBefore(t,n||null)}function u(e){e.parentNode.removeChild(e)}function c(e){return document.createElement(e)}function h(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function p(e){return document.createTextNode(e)}function f(){return p(" ")}function m(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function d(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function g(e){return""===e?null:+e}function y(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function b(e,t){e.value=null==t?"":t}function E(e,t,n,i){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,i?"important":"")}function v(e,t,n){e.classList[n?"add":"remove"](t)}function P(e){const t={};for(const n of e)t[n.name]=n.value;return t}let T;function B(e){T=e}const w=[],L=[],H=[],A=[],k=Promise.resolve();let _=!1;function S(e){H.push(e)}
1
+ !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function i(e){e.forEach(t)}function r(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function s(t,...n){if(null==t)return e;const i=t.subscribe(...n);return i.unsubscribe?()=>i.unsubscribe():i}function a(e,t){e.appendChild(t)}function u(e,t,n){e.insertBefore(t,n||null)}function l(e){e.parentNode&&e.parentNode.removeChild(e)}function c(e){return document.createElement(e)}function h(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function p(e){return document.createTextNode(e)}function f(){return p(" ")}function m(e,t,n,i){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n,i)}function d(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function g(e){return""===e?null:+e}function y(e,t){t=""+t,e.data!==t&&(e.data=t)}function b(e,t){e.value=null==t?"":t}function E(e,t,n,i){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,i?"important":"")}function v(e,t,n){e.classList[n?"add":"remove"](t)}function P(e){const t={};for(const n of e)t[n.name]=n.value;return t}let T;function B(e){T=e}const w=[],L=[];let H=[];const A=[],k=Promise.resolve();let _=!1;function S(e){H.push(e)}
2
2
  // flush() calls callbacks in this order:
3
3
  // 1. All beforeUpdate callbacks, in order: parents before children
4
4
  // 2. All bind:this callbacks, in reverse order: children before parents.
@@ -18,42 +18,55 @@
18
18
  // callback called a second time; the seen_callbacks set, outside the flush()
19
19
  // function, guarantees this behavior.
20
20
  const C=new Set;let I=0;// Do *not* move this inside the flush() function
21
- function N(){const e=T;do{
21
+ function N(){
22
+ // Do not reenter flush while dirty components are updated, as this can
23
+ // result in an infinite loop. Instead, let the inner flush handle it.
24
+ // Reentrancy is ok afterwards for bindings etc.
25
+ if(0!==I)return;const e=T;do{
22
26
  // first, call beforeUpdate functions
23
27
  // and update components
24
- for(;I<w.length;){const e=w[I];I++,B(e),M(e.$$)}for(B(null),w.length=0,I=0;L.length;)L.pop()();
28
+ try{for(;I<w.length;){const e=w[I];I++,B(e),M(e.$$)}}catch(e){
29
+ // reset dirty state to not end up in a deadlocked state and then rethrow
30
+ throw w.length=0,I=0,e}for(B(null),w.length=0,I=0;L.length;)L.pop()();
25
31
  // then, once components are updated, call
26
32
  // afterUpdate functions. This may cause
27
33
  // subsequent updates...
28
34
  for(let e=0;e<H.length;e+=1){const t=H[e];C.has(t)||(
29
35
  // ...so guard against infinite loops
30
- C.add(t),t())}H.length=0}while(w.length);for(;A.length;)A.pop()();_=!1,C.clear(),B(e)}function M(e){if(null!==e.fragment){e.update(),i(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(S)}}const O=new Set;const D="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function R(e,t){-1===e.$$.dirty[0]&&(w.push(e),_||(_=!0,k.then(N)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function j(o,s,a,l,c,h,p,f=[-1]){const m=T;B(o);const d=o.$$={fragment:null,ctx:null,
36
+ C.add(t),t())}H.length=0}while(w.length);for(;A.length;)A.pop()();_=!1,C.clear(),B(e)}function M(e){if(null!==e.fragment){e.update(),i(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(S)}}
37
+ /**
38
+ * Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
39
+ */const D=new Set;const R="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function O(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];H.forEach((i=>-1===e.indexOf(i)?t.push(i):n.push(i))),n.forEach((e=>e())),H=t}(n.after_update),i(n.on_destroy),n.fragment&&n.fragment.d(t),
40
+ // TODO null out other refs, including component.$$ (but need to
41
+ // preserve final state?)
42
+ n.on_destroy=n.fragment=null,n.ctx=[])}function U(e,t){-1===e.$$.dirty[0]&&(w.push(e),_||(_=!0,k.then(N)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function j(o,s,a,u,c,h,p,f=[-1]){const m=T;B(o);const d=o.$$={fragment:null,ctx:[],
31
43
  // state
32
44
  props:h,update:e,not_equal:c,bound:n(),
33
45
  // lifecycle
34
46
  on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(m?m.$$.context:[])),
35
47
  // everything else
36
- callbacks:n(),dirty:f,skip_bound:!1,root:s.target||m.$$.root};p&&p(d.root);let g=!1;if(d.ctx=a?a(o,s.props||{},((e,t,...n)=>{const i=n.length?n[0]:t;return d.ctx&&c(d.ctx[e],d.ctx[e]=i)&&(!d.skip_bound&&d.bound[e]&&d.bound[e](i),g&&R(o,e)),t})):[],d.update(),g=!0,i(d.before_update),
48
+ callbacks:n(),dirty:f,skip_bound:!1,root:s.target||m.$$.root};p&&p(d.root);let g=!1;if(d.ctx=a?a(o,s.props||{},((e,t,...n)=>{const i=n.length?n[0]:t;return d.ctx&&c(d.ctx[e],d.ctx[e]=i)&&(!d.skip_bound&&d.bound[e]&&d.bound[e](i),g&&U(o,e)),t})):[],d.update(),g=!0,i(d.before_update),
37
49
  // `false` as a special case of no DOM component
38
- d.fragment=!!l&&l(d.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);
50
+ d.fragment=!!u&&u(d.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);
39
51
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
40
- d.fragment&&d.fragment.l(e),e.forEach(u)}else
52
+ d.fragment&&d.fragment.l(e),e.forEach(l)}else
41
53
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
42
- d.fragment&&d.fragment.c();s.intro&&((y=o.$$.fragment)&&y.i&&(O.delete(y),y.i(b))),function(e,n,o,s){const{fragment:a,on_mount:l,on_destroy:u,after_update:c}=e.$$;a&&a.m(n,o),s||
54
+ d.fragment&&d.fragment.c();s.intro&&((y=o.$$.fragment)&&y.i&&(D.delete(y),y.i(b))),function(e,n,o,s){const{fragment:a,after_update:u}=e.$$;a&&a.m(n,o),s||
43
55
  // onMount happens before the initial afterUpdate
44
- S((()=>{const n=l.map(t).filter(r);u?u.push(...n):
56
+ S((()=>{const n=e.$$.on_mount.map(t).filter(r);
57
+ // if the component was destroyed immediately
58
+ // it will update the `$$.on_destroy` reference to `null`.
59
+ // the destructured on_destroy may still reference to the old array
60
+ e.$$.on_destroy?e.$$.on_destroy.push(...n):
45
61
  // Edge case - component was destroyed immediately,
46
62
  // most likely as a result of a binding initialising
47
- i(n),e.$$.on_mount=[]})),c.forEach(S)}(o,s.target,s.anchor,s.customElement),N()}var y,b;B(m)}let U;"function"==typeof HTMLElement&&(U=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(r);
63
+ i(n),e.$$.on_mount=[]})),u.forEach(S)}(o,s.target,s.anchor,s.customElement),N()}var y,b;B(m)}let x;"function"==typeof HTMLElement&&(x=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(r);
48
64
  // @ts-ignore todo: improve typings
49
65
  for(const e in this.$$.slotted)
50
66
  // @ts-ignore todo: improve typings
51
- this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){i(this.$$.on_disconnect)}$destroy(){!function(e,t){const n=e.$$;null!==n.fragment&&(i(n.on_destroy),n.fragment&&n.fragment.d(t),
52
- // TODO null out other refs, including component.$$ (but need to
53
- // preserve final state?)
54
- n.on_destroy=n.fragment=null,n.ctx=[])}(this,1),this.$destroy=e}$on(e,t){
67
+ this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){i(this.$$.on_disconnect)}$destroy(){O(this,1),this.$destroy=e}$on(t,n){
55
68
  // TODO should this delegate to addEventListener?
56
- const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});const x=[];
69
+ if(!r(n))return e;const i=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return i.push(n),()=>{const e=i.indexOf(n);-1!==e&&i.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});const G=[];
57
70
  /**
58
71
  * Creates a `Readable` store that allows reading by subscription.
59
72
  * @param value initial value
@@ -64,20 +77,24 @@ const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{co
64
77
  * @param {*=}value initial value
65
78
  * @param {StartStopNotifier=}start start and stop notifications for subscriptions
66
79
  */
67
- function G(t,n=e){let i;const r=new Set;function s(e){if(o(t,e)&&(t=e,i)){// store is ready
68
- const e=!x.length;for(const e of r)e[1](),x.push(e,t);if(e){for(let e=0;e<x.length;e+=2)x[e][0](x[e+1]);x.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const l=[o,a];return r.add(l),1===r.size&&(i=n(s)||e),o(t),()=>{r.delete(l),0===r.size&&(i(),i=null)}}}}function z(t,n,o){const a=!Array.isArray(t),l=a?[t]:t,u=n.length<2;return c=t=>{let o=!1;const c=[];let h=0,p=e;const f=()=>{if(h)return;p();const i=n(a?c[0]:c,t);u?t(i):p=r(i)?i:e},m=l.map(((e,t)=>s(e,(e=>{c[t]=e,h&=~(1<<t),o&&f()}),(()=>{h|=1<<t}))));return o=!0,f(),function(){i(m),p()}},{subscribe:G(o,c).subscribe};var c}var $=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===F}(e)}
80
+ function z(t,n=e){let i;const r=new Set;function s(e){if(o(t,e)&&(t=e,i)){// store is ready
81
+ const e=!G.length;for(const e of r)e[1](),G.push(e,t);if(e){for(let e=0;e<G.length;e+=2)G[e][0](G[e+1]);G.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const u=[o,a];return r.add(u),1===r.size&&(i=n(s)||e),o(t),()=>{r.delete(u),0===r.size&&i&&(i(),i=null)}}}}function $(t,n,o){const a=!Array.isArray(t),u=a?[t]:t,l=n.length<2;return c=t=>{let o=!1;const c=[];let h=0,p=e;const f=()=>{if(h)return;p();const i=n(a?c[0]:c,t);l?t(i):p=r(i)?i:e},m=u.map(((e,t)=>s(e,(e=>{c[t]=e,h&=~(1<<t),o&&f()}),(()=>{h|=1<<t}))));return o=!0,f(),function(){i(m),p(),
82
+ // We need to set this to false because callbacks can still happen despite having unsubscribed:
83
+ // Callbacks might already be placed in the queue which doesn't know it should no longer
84
+ // invoke this derived store.
85
+ o=!1}},{subscribe:z(o,c).subscribe};var c}var F=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===V}(e)}
69
86
  // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
70
- (e)};var F="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function V(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Y((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function K(e,t,n){return e.concat(t).map((function(e){return V(e,n)}))}function X(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function Z(e,t){try{return t in e}catch(e){return!1}}
87
+ (e)};var V="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function K(e,t){return!1!==t.clone&&t.isMergeableObject(e)?q((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function X(e,t,n){return e.concat(t).map((function(e){return K(e,n)}))}function Z(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 W(e,t){try{return t in e}catch(e){return!1}}
71
88
  // Protects from prototype poisoning and unexpected merging up the prototype chain.
72
- function W(e,t,n){var i={};return n.isMergeableObject(e)&&X(e).forEach((function(t){i[t]=V(e[t],n)})),X(t).forEach((function(r){(function(e,t){return Z(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));// and also unsafe if they're nonenumerable.
73
- })(e,r)||(Z(e,r)&&n.isMergeableObject(t[r])?i[r]=function(e,t){if(!t.customMerge)return Y;var n=t.customMerge(e);return"function"==typeof n?n:Y}(r,n)(e[r],t[r],n):i[r]=V(t[r],n))})),i}function Y(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||K,n.isMergeableObject=n.isMergeableObject||$,
89
+ function Y(e,t,n){var i={};return n.isMergeableObject(e)&&Z(e).forEach((function(t){i[t]=K(e[t],n)})),Z(t).forEach((function(r){(function(e,t){return W(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));// and also unsafe if they're nonenumerable.
90
+ })(e,r)||(W(e,r)&&n.isMergeableObject(t[r])?i[r]=function(e,t){if(!t.customMerge)return q;var n=t.customMerge(e);return"function"==typeof n?n:q}(r,n)(e[r],t[r],n):i[r]=K(t[r],n))})),i}function q(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||X,n.isMergeableObject=n.isMergeableObject||F,
74
91
  // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
75
92
  // implementations can use it. The caller may not replace it.
76
- n.cloneUnlessOtherwiseSpecified=V;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):W(e,t,n):V(t,n)}Y.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return Y(e,n,t)}),{})};var q=Y,J=function(e,t){return J=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},J(e,t)};function Q(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}J(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var ee,te,ne,ie=function(){return ie=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},ie.apply(this,arguments)};function re(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}
93
+ n.cloneUnlessOtherwiseSpecified=K;var i=Array.isArray(t);return i===Array.isArray(e)?i?n.arrayMerge(e,t,n):Y(e,t,n):K(t,n)}q.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return q(e,n,t)}),{})};var J=q,Q=function(e,t){return Q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},Q(e,t)};function ee(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}Q(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var te,ne,ie,re=function(){return re=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},re.apply(this,arguments)};function oe(e,t,n){if(n||2===arguments.length)for(var i,r=0,o=t.length;r<o;r++)!i&&r in t||(i||(i=Array.prototype.slice.call(t,0,r)),i[r]=t[r]);return e.concat(i||Array.prototype.slice.call(t))}
77
94
  /**
78
95
  * Type Guards
79
96
  */
80
- function oe(e){return e.type===te.literal}function se(e){return e.type===te.argument}function ae(e){return e.type===te.number}function le(e){return e.type===te.date}function ue(e){return e.type===te.time}function ce(e){return e.type===te.select}function he(e){return e.type===te.plural}function pe(e){return e.type===te.pound}function fe(e){return e.type===te.tag}function me(e){return!(!e||"object"!=typeof e||e.type!==ne.number)}function de(e){return!(!e||"object"!=typeof e||e.type!==ne.dateTime)}
97
+ function se(e){return e.type===ne.literal}function ae(e){return e.type===ne.argument}function ue(e){return e.type===ne.number}function le(e){return e.type===ne.date}function ce(e){return e.type===ne.time}function he(e){return e.type===ne.select}function pe(e){return e.type===ne.plural}function fe(e){return e.type===ne.pound}function me(e){return e.type===ne.tag}function de(e){return!(!e||"object"!=typeof e||e.type!==ie.number)}function ge(e){return!(!e||"object"!=typeof e||e.type!==ie.dateTime)}
81
98
  // @generated from regex-gen.ts
82
99
  !function(e){
83
100
  /** Argument is unclosed (e.g. `{0`) */
@@ -139,7 +156,7 @@ e[e.INVALID_TAG_NAME=25]="INVALID_TAG_NAME",
139
156
  /** The closing tag does not match the opening tag. (e.g. `<bold>foo</italic>`) */
140
157
  e[e.UNMATCHED_CLOSING_TAG=26]="UNMATCHED_CLOSING_TAG",
141
158
  /** The opening tag has unmatched closing tag. (e.g. `<bold>foo`) */
142
- e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(ee||(ee={})),function(e){
159
+ e[e.UNCLOSED_TAG=27]="UNCLOSED_TAG"}(te||(te={})),function(e){
143
160
  /**
144
161
  * Raw text
145
162
  */
@@ -176,7 +193,7 @@ e[e.pound=7]="pound",
176
193
  /**
177
194
  * XML-like tag
178
195
  */
179
- e[e.tag=8]="tag"}(te||(te={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(ne||(ne={}));var ge=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,ye=/(?:[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;
196
+ e[e.tag=8]="tag"}(ne||(ne={})),function(e){e[e.number=0]="number",e[e.dateTime=1]="dateTime"}(ie||(ie={}));var ye=/[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/,be=/(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
180
197
  /**
181
198
  * https://unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table
182
199
  * Credit: https://github.com/caridy/intl-datetimeformat-pattern/blob/master/index.js
@@ -188,7 +205,7 @@ e[e.tag=8]="tag"}(te||(te={})),function(e){e[e.number=0]="number",e[e.dateTime=1
188
205
  * @public
189
206
  * @param skeleton skeleton string
190
207
  */
191
- function be(e){var t={};return e.replace(ye,(function(e){var n=e.length;switch(e[0]){
208
+ function Ee(e){var t={};return e.replace(be,(function(e){var n=e.length;switch(e[0]){
192
209
  // Era
193
210
  case"G":t.era=4===n?"long":5===n?"narrow":"short";break;
194
211
  // Year
@@ -222,33 +239,33 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
222
239
  case"x":// 1, 2, 3, 4: The ISO8601 varios formats
223
240
  throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}
224
241
  // @generated from regex-gen.ts
225
- var Ee=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var ve=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Pe=/^(@+)?(\+|#+)?[rs]?$/g,Te=/(\*)(0+)|(#+)(0+)|(0+)/g,Be=/^(0+)$/;function we(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Pe,(function(e,n,i){
242
+ var ve=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Pe=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Te=/^(@+)?(\+|#+)?[rs]?$/g,Be=/(\*)(0+)|(#+)(0+)|(0+)/g,we=/^(0+)$/;function Le(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Te,(function(e,n,i){
226
243
  // @@@ case
227
- return"string"!=typeof i?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===i?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof i?i.length:0)),""})),t}function Le(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){
244
+ return"string"!=typeof i?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===i?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof i?i.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 Ae(e){
228
245
  // Engineering
229
- var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!Be.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function Ae(e){var t=Le(e);return t||{}}
246
+ var t;if("E"===e[0]&&"E"===e[1]?(t={notation:"engineering"},e=e.slice(2)):"E"===e[0]&&(t={notation:"scientific"},e=e.slice(1)),t){var n=e.slice(0,2);if("+!"===n?(t.signDisplay="always",e=e.slice(2)):"+?"===n&&(t.signDisplay="exceptZero",e=e.slice(2)),!we.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function ke(e){var t=He(e);return t||{}}
230
247
  /**
231
248
  * https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options
232
- */function ke(e){for(var t={},n=0,i=e;n<i.length;n++){var r=i[n];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=ie(ie(ie({},t),{notation:"scientific"}),r.options.reduce((function(e,t){return ie(ie({},e),Ae(t))}),{}));continue;case"engineering":t=ie(ie(ie({},t),{notation:"engineering"}),r.options.reduce((function(e,t){return ie(ie({},e),Ae(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
249
+ */function _e(e){for(var t={},n=0,i=e;n<i.length;n++){var r=i[n];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=re(re(re({},t),{notation:"scientific"}),r.options.reduce((function(e,t){return re(re({},e),ke(t))}),{}));continue;case"engineering":t=re(re(re({},t),{notation:"engineering"}),r.options.reduce((function(e,t){return re(re({},e),ke(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
233
250
  // https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
234
251
  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;
235
252
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
236
- case"integer-width":if(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(Te,(function(e,n,i,r,o,s){if(n)t.minimumIntegerDigits=i.length;else{if(r&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}
253
+ case"integer-width":if(r.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");r.options[0].replace(Be,(function(e,n,i,r,o,s){if(n)t.minimumIntegerDigits=i.length;else{if(r&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}
237
254
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
238
- if(Be.test(r.stem))t.minimumIntegerDigits=r.stem.length;else if(ve.test(r.stem)){
255
+ if(we.test(r.stem))t.minimumIntegerDigits=r.stem.length;else if(Pe.test(r.stem)){
239
256
  // Precision
240
257
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#fraction-precision
241
258
  // precision-integer case
242
- if(r.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(ve,(function(e,n,i,r,o,s){
259
+ if(r.options.length>1)throw new RangeError("Fraction-precision stems only accept a single optional option");r.stem.replace(Pe,(function(e,n,i,r,o,s){
243
260
  // .000* case (before ICU67 it was .000+)
244
261
  return"*"===i?t.minimumFractionDigits=n.length:r&&"#"===r[0]?t.maximumFractionDigits=r.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var o=r.options[0];
245
262
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#trailing-zero-display
246
- "w"===o?t=ie(ie({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=ie(ie({},t),we(o)))}
263
+ "w"===o?t=re(re({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=re(re({},t),Le(o)))}
247
264
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
248
- else if(Pe.test(r.stem))t=ie(ie({},t),we(r.stem));else{var s=Le(r.stem);s&&(t=ie(ie({},t),s));var a=He(r.stem);a&&(t=ie(ie({},t),a))}}return t}
265
+ else if(Te.test(r.stem))t=re(re({},t),Le(r.stem));else{var s=He(r.stem);s&&(t=re(re({},t),s));var a=Ae(r.stem);a&&(t=re(re({},t),a))}}return t}
249
266
  // @generated from time-data-gen.ts
250
267
  // prettier-ignore
251
- var _e,Se={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"]};
268
+ var Se,Ce={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"]};
252
269
  /**
253
270
  * Returns the best matching date time pattern if a date time skeleton
254
271
  * pattern is provided with a locale. Follows the Unicode specification:
@@ -261,7 +278,7 @@ var _e,Se={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H
261
278
  * of the given `locale` to the corresponding time pattern.
262
279
  * @param locale
263
280
  */
264
- function Ce(e){var t=e.hourCycle;if(void 0===t&&
281
+ function Ie(e){var t=e.hourCycle;if(void 0===t&&
265
282
  // @ts-ignore hourCycle(s) is not identified yet
266
283
  e.hourCycles&&
267
284
  // @ts-ignore
@@ -269,37 +286,37 @@ e.hourCycles.length&&(
269
286
  // @ts-ignore
270
287
  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")}
271
288
  // TODO: Once hourCycle is fully supported remove the following with data generation
272
- var n,i=e.language;return"root"!==i&&(n=e.maximize().region),(Se[n||""]||Se[i||""]||Se["".concat(i,"-001")]||Se["001"])[0]}var Ie=new RegExp("^".concat(ge.source,"*")),Ne=new RegExp("".concat(ge.source,"*$"));function Me(e,t){return{start:e,end:t}}
289
+ var n,i=e.language;return"root"!==i&&(n=e.maximize().region),(Ce[n||""]||Ce[i||""]||Ce["".concat(i,"-001")]||Ce["001"])[0]}var Ne=new RegExp("^".concat(ye.source,"*")),Me=new RegExp("".concat(ye.source,"*$"));function De(e,t){return{start:e,end:t}}
273
290
  // #region Ponyfills
274
291
  // Consolidate these variables up top for easier toggling during debugging
275
- var Oe=!!String.prototype.startsWith,De=!!String.fromCodePoint,Re=!!Object.fromEntries,je=!!String.prototype.codePointAt,Ue=!!String.prototype.trimStart,xe=!!String.prototype.trimEnd,Ge=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ze=!0;try{
292
+ var Re=!!String.prototype.startsWith,Oe=!!String.fromCodePoint,Ue=!!Object.fromEntries,je=!!String.prototype.codePointAt,xe=!!String.prototype.trimStart,Ge=!!String.prototype.trimEnd,ze=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},$e=!0;try{
276
293
  /**
277
294
  * legacy Edge or Xbox One browser
278
295
  * Unicode flag support: supported
279
296
  * Pattern_Syntax support: not supported
280
297
  * See https://github.com/formatjs/formatjs/issues/2822
281
298
  */
282
- ze="a"===(null===(_e=Ye("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===_e?void 0:_e[0])}catch(e){ze=!1}var $e,Fe=Oe?// Native
299
+ $e="a"===(null===(Se=qe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Se?void 0:Se[0])}catch(e){$e=!1}var Fe,Ve=Re?// Native
283
300
  function(e,t,n){return e.startsWith(t,n)}:// For IE11
284
- function(e,t,n){return e.slice(n,n+t.length)===t},Ve=De?String.fromCodePoint:// IE11
285
- function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,i="",r=e.length,o=0;r>o;){if((n=e[o++])>1114111)throw RangeError(n+" is not a valid code point");i+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return i},Ke=
301
+ function(e,t,n){return e.slice(n,n+t.length)===t},Ke=Oe?String.fromCodePoint:// IE11
302
+ function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,i="",r=e.length,o=0;r>o;){if((n=e[o++])>1114111)throw RangeError(n+" is not a valid code point");i+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return i},Xe=
286
303
  // native
287
- Re?Object.fromEntries:// Ponyfill
288
- function(e){for(var t={},n=0,i=e;n<i.length;n++){var r=i[n],o=r[0],s=r[1];t[o]=s}return t},Xe=je?// Native
304
+ Ue?Object.fromEntries:// Ponyfill
305
+ function(e){for(var t={},n=0,i=e;n<i.length;n++){var r=i[n],o=r[0],s=r[1];t[o]=s}return t},Ze=je?// Native
289
306
  function(e,t){return e.codePointAt(t)}:// IE 11
290
- function(e,t){var n=e.length;if(!(t<0||t>=n)){var i,r=e.charCodeAt(t);return r<55296||r>56319||t+1===n||(i=e.charCodeAt(t+1))<56320||i>57343?r:i-56320+(r-55296<<10)+65536}},Ze=Ue?// Native
307
+ function(e,t){var n=e.length;if(!(t<0||t>=n)){var i,r=e.charCodeAt(t);return r<55296||r>56319||t+1===n||(i=e.charCodeAt(t+1))<56320||i>57343?r:i-56320+(r-55296<<10)+65536}},We=xe?// Native
291
308
  function(e){return e.trimStart()}:// Ponyfill
292
- function(e){return e.replace(Ie,"")},We=xe?// Native
309
+ function(e){return e.replace(Ne,"")},Ye=Ge?// Native
293
310
  function(e){return e.trimEnd()}:// Ponyfill
294
- function(e){return e.replace(Ne,"")};
311
+ function(e){return e.replace(Me,"")};
295
312
  // Prevent minifier to translate new RegExp to literal form that might cause syntax error on IE11.
296
- function Ye(e,t){return new RegExp(e,t)}
313
+ function qe(e,t){return new RegExp(e,t)}
297
314
  // #endregion
298
- if(ze){
315
+ if($e){
299
316
  // Native
300
- var qe=Ye("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");$e=function(e,t){var n;return qe.lastIndex=t,null!==(n=qe.exec(e)[1])&&void 0!==n?n:""}}else
317
+ var Je=qe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");Fe=function(e,t){var n;return Je.lastIndex=t,null!==(n=Je.exec(e)[1])&&void 0!==n?n:""}}else
301
318
  // IE11
302
- $e=function(e,t){for(var n=[];;){var i=Xe(e,t);if(void 0===i||tt(i)||nt(i))break;n.push(i),t+=i>=65536?2:1}return Ve.apply(void 0,n)};var Je=/** @class */function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var i=[];!this.isEOF();){var r=this.char();if(123/* `{` */===r){if((o=this.parseArgument(e,n)).err)return o;i.push(o.val)}else{if(125/* `}` */===r&&e>0)break;if(35/* `#` */!==r||"plural"!==t&&"selectordinal"!==t){if(60/* `<` */===r&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(ee.UNMATCHED_CLOSING_TAG,Me(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===r&&!this.ignoreTag&&Qe(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;i.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;i.push(o.val)}}else{var s=this.clonePosition();this.bump(),i.push({type:te.pound,location:Me(s,this.clonePosition())})}}}return{val:i,err:null}},
319
+ Fe=function(e,t){for(var n=[];;){var i=Ze(e,t);if(void 0===i||nt(i)||it(i))break;n.push(i),t+=i>=65536?2:1}return Ke.apply(void 0,n)};var Qe=/** @class */function(){function e(e,t){void 0===t&&(t={}),this.message=e,this.position={offset:0,line:1,column:1},this.ignoreTag=!!t.ignoreTag,this.locale=t.locale,this.requiresOtherClause=!!t.requiresOtherClause,this.shouldParseSkeletons=!!t.shouldParseSkeletons}return e.prototype.parse=function(){if(0!==this.offset())throw Error("parser can only be used once");return this.parseMessage(0,"",!1)},e.prototype.parseMessage=function(e,t,n){for(var i=[];!this.isEOF();){var r=this.char();if(123/* `{` */===r){if((o=this.parseArgument(e,n)).err)return o;i.push(o.val)}else{if(125/* `}` */===r&&e>0)break;if(35/* `#` */!==r||"plural"!==t&&"selectordinal"!==t){if(60/* `<` */===r&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(te.UNMATCHED_CLOSING_TAG,De(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===r&&!this.ignoreTag&&et(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;i.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;i.push(o.val)}}else{var s=this.clonePosition();this.bump(),i.push({type:ne.pound,location:De(s,this.clonePosition())})}}}return{val:i,err:null}},
303
320
  /**
304
321
  * A tag name must start with an ASCII lower/upper case letter. The grammar is based on the
305
322
  * [custom element name][] except that a dash is NOT always mandatory and uppercase letters
@@ -321,14 +338,14 @@ $e=function(e,t){for(var n=[];;){var i=Xe(e,t);if(void 0===i||tt(i)||nt(i))break
321
338
  e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();// `<`
322
339
  var i=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))
323
340
  // Self closing tag
324
- return{val:{type:te.literal,value:"<".concat(i,"/>"),location:Me(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(e+1,t,!0);if(r.err)return r;var o=r.val,s=this.clonePosition();
341
+ return{val:{type:ne.literal,value:"<".concat(i,"/>"),location:De(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var r=this.parseMessage(e+1,t,!0);if(r.err)return r;var o=r.val,s=this.clonePosition();
325
342
  // Expecting a close tag
326
- if(this.bumpIf("</")){if(this.isEOF()||!Qe(this.char()))return this.error(ee.INVALID_TAG,Me(s,this.clonePosition()));var a=this.clonePosition();return i!==this.parseTagName()?this.error(ee.UNMATCHED_CLOSING_TAG,Me(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:te.tag,value:i,children:o,location:Me(n,this.clonePosition())},err:null}:this.error(ee.INVALID_TAG,Me(s,this.clonePosition())))}return this.error(ee.UNCLOSED_TAG,Me(n,this.clonePosition()))}return this.error(ee.INVALID_TAG,Me(n,this.clonePosition()))},
343
+ if(this.bumpIf("</")){if(this.isEOF()||!et(this.char()))return this.error(te.INVALID_TAG,De(s,this.clonePosition()));var a=this.clonePosition();return i!==this.parseTagName()?this.error(te.UNMATCHED_CLOSING_TAG,De(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ne.tag,value:i,children:o,location:De(n,this.clonePosition())},err:null}:this.error(te.INVALID_TAG,De(s,this.clonePosition())))}return this.error(te.UNCLOSED_TAG,De(n,this.clonePosition()))}return this.error(te.INVALID_TAG,De(n,this.clonePosition()))},
327
344
  /**
328
345
  * This method assumes that the caller has peeked ahead for the first tag character.
329
346
  */
330
347
  e.prototype.parseTagName=function(){var e=this.offset();// the first tag name character
331
- for(this.bump();!this.isEOF()&&et(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),i="";;){var r=this.tryParseQuote(t);if(r)i+=r;else{var o=this.tryParseUnquoted(e,t);if(o)i+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;i+=s}}}var a=Me(n,this.clonePosition());return{val:{type:te.literal,value:i,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(Qe(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
348
+ for(this.bump();!this.isEOF()&&tt(this.char());)this.bump();return this.message.slice(e,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),i="";;){var r=this.tryParseQuote(t);if(r)i+=r;else{var o=this.tryParseUnquoted(e,t);if(o)i+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;i+=s}}}var a=De(n,this.clonePosition());return{val:{type:ne.literal,value:i,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(et(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
332
349
  /** See `parseTag` function docs. */},
333
350
  /**
334
351
  * Starting with ICU 4.8, an ASCII apostrophe only starts quoted text if it immediately precedes
@@ -350,67 +367,67 @@ for(this.bump();!this.isEOF();){var n=this.char();if(39/* `'` */===n){if(39/* `'
350
367
  // Optional closing apostrophe.
351
368
  this.bump();break}t.push(39),
352
369
  // Bump one more time because we need to skip 2 characters.
353
- this.bump()}else t.push(n);this.bump()}return Ve.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60/* `<` */===n||123/* `{` */===n||35/* `#` */===n&&("plural"===t||"selectordinal"===t)||125/* `}` */===n&&e>0?null:(this.bump(),Ve(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),// `{`
354
- this.bumpSpace(),this.isEOF())return this.error(ee.EXPECT_ARGUMENT_CLOSING_BRACE,Me(n,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(ee.EMPTY_ARGUMENT,Me(n,this.clonePosition()));
370
+ this.bump()}else t.push(n);this.bump()}return Ke.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60/* `<` */===n||123/* `{` */===n||35/* `#` */===n&&("plural"===t||"selectordinal"===t)||125/* `}` */===n&&e>0?null:(this.bump(),Ke(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),// `{`
371
+ this.bumpSpace(),this.isEOF())return this.error(te.EXPECT_ARGUMENT_CLOSING_BRACE,De(n,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(te.EMPTY_ARGUMENT,De(n,this.clonePosition()));
355
372
  // argument name
356
- var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(ee.MALFORMED_ARGUMENT,Me(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(ee.EXPECT_ARGUMENT_CLOSING_BRACE,Me(n,this.clonePosition()));switch(this.char()){
373
+ var i=this.parseIdentifierIfPossible().value;if(!i)return this.error(te.MALFORMED_ARGUMENT,De(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(te.EXPECT_ARGUMENT_CLOSING_BRACE,De(n,this.clonePosition()));switch(this.char()){
357
374
  // Simple argument: `{name}`
358
375
  case 125/* `}` */:// `}`
359
- return this.bump(),{val:{type:te.argument,
376
+ return this.bump(),{val:{type:ne.argument,
360
377
  // value does not include the opening and closing braces.
361
- value:i,location:Me(n,this.clonePosition())},err:null};
378
+ value:i,location:De(n,this.clonePosition())},err:null};
362
379
  // Argument with options: `{name, format, ...}`
363
380
  case 44/* `,` */:return this.bump(),// `,`
364
- this.bumpSpace(),this.isEOF()?this.error(ee.EXPECT_ARGUMENT_CLOSING_BRACE,Me(n,this.clonePosition())):this.parseArgumentOptions(e,t,i,n);default:return this.error(ee.MALFORMED_ARGUMENT,Me(n,this.clonePosition()))}},
381
+ this.bumpSpace(),this.isEOF()?this.error(te.EXPECT_ARGUMENT_CLOSING_BRACE,De(n,this.clonePosition())):this.parseArgumentOptions(e,t,i,n);default:return this.error(te.MALFORMED_ARGUMENT,De(n,this.clonePosition()))}},
365
382
  /**
366
383
  * Advance the parser until the end of the identifier, if it is currently on
367
384
  * an identifier character. Return an empty string otherwise.
368
385
  */
369
- e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=$e(this.message,t),i=t+n.length;return this.bumpTo(i),{value:n,location:Me(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,i){var r,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();
386
+ e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Fe(this.message,t),i=t+n.length;return this.bumpTo(i),{value:n,location:De(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,i){var r,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();
370
387
  // Parse this range:
371
388
  // {name, type, style}
372
389
  // ^---^
373
390
  switch(s){case"":
374
391
  // Expecting a style string number, date, time, plural, selectordinal, or select.
375
- return this.error(ee.EXPECT_ARGUMENT_TYPE,Me(o,a));case"number":case"date":case"time":
392
+ return this.error(te.EXPECT_ARGUMENT_TYPE,De(o,a));case"number":case"date":case"time":
376
393
  // Parse this range:
377
394
  // {name, number, style}
378
395
  // ^-------^
379
- this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var u=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(f=We(y.val)).length)return this.error(ee.EXPECT_ARGUMENT_STYLE,Me(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:Me(u,this.clonePosition())}}if((b=this.tryParseArgumentClose(i)).err)return b;var c=Me(i,this.clonePosition());
396
+ this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(f=Ye(y.val)).length)return this.error(te.EXPECT_ARGUMENT_STYLE,De(this.clonePosition(),this.clonePosition()));u={style:f,styleLocation:De(l,this.clonePosition())}}if((b=this.tryParseArgumentClose(i)).err)return b;var c=De(i,this.clonePosition());
380
397
  // Extract style or skeleton
381
- if(l&&Fe(null==l?void 0:l.style,"::",0)){
398
+ if(u&&Ve(null==u?void 0:u.style,"::",0)){
382
399
  // Skeleton starts with `::`.
383
- var h=Ze(l.style.slice(2));if("number"===s)return(y=this.parseNumberSkeletonFromString(h,l.styleLocation)).err?y:{val:{type:te.number,value:n,location:c,style:y.val},err:null};if(0===h.length)return this.error(ee.EXPECT_DATE_TIME_SKELETON,c);var p=h;
400
+ var h=We(u.style.slice(2));if("number"===s)return(y=this.parseNumberSkeletonFromString(h,u.styleLocation)).err?y:{val:{type:ne.number,value:n,location:c,style:y.val},err:null};if(0===h.length)return this.error(te.EXPECT_DATE_TIME_SKELETON,c);var p=h;
384
401
  // Get "best match" pattern only if locale is passed, if not, let it
385
402
  // pass as-is where `parseDateTimeSkeleton()` will throw an error
386
403
  // for unsupported patterns.
387
- this.locale&&(p=function(e,t){for(var n="",i=0;i<e.length;i++){var r=e.charAt(i);if("j"===r){for(var o=0;i+1<e.length&&e.charAt(i+1)===r;)o++,i++;var s=1+(1&o),a=o<2?1:3+(o>>1),l=Ce(t);for("H"!=l&&"k"!=l||(a=0);a-- >0;)n+="a";for(;s-- >0;)n=l+n}else n+="J"===r?"H":r}return n}(h,this.locale));var f={type:ne.dateTime,pattern:p,location:l.styleLocation,parsedOptions:this.shouldParseSkeletons?be(p):{}};return{val:{type:"date"===s?te.date:te.time,value:n,location:c,style:f},err:null}}
404
+ this.locale&&(p=function(e,t){for(var n="",i=0;i<e.length;i++){var r=e.charAt(i);if("j"===r){for(var o=0;i+1<e.length&&e.charAt(i+1)===r;)o++,i++;var s=1+(1&o),a=o<2?1:3+(o>>1),u=Ie(t);for("H"!=u&&"k"!=u||(a=0);a-- >0;)n+="a";for(;s-- >0;)n=u+n}else n+="J"===r?"H":r}return n}(h,this.locale));var f={type:ie.dateTime,pattern:p,location:u.styleLocation,parsedOptions:this.shouldParseSkeletons?Ee(p):{}};return{val:{type:"date"===s?ne.date:ne.time,value:n,location:c,style:f},err:null}}
388
405
  // Regular style or no style.
389
- return{val:{type:"number"===s?te.number:"date"===s?te.date:te.time,value:n,location:c,style:null!==(r=null==l?void 0:l.style)&&void 0!==r?r:null},err:null};case"plural":case"selectordinal":case"select":
406
+ return{val:{type:"number"===s?ne.number:"date"===s?ne.date:ne.time,value:n,location:c,style:null!==(r=null==u?void 0:u.style)&&void 0!==r?r:null},err:null};case"plural":case"selectordinal":case"select":
390
407
  // Parse this range:
391
408
  // {name, plural, options}
392
409
  // ^---------^
393
- var m=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(ee.EXPECT_SELECT_ARGUMENT_OPTIONS,Me(m,ie({},m)));this.bumpSpace();
410
+ var m=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(te.EXPECT_SELECT_ARGUMENT_OPTIONS,De(m,re({},m)));this.bumpSpace();
394
411
  // Parse offset:
395
412
  // {name, plural, offset:1, options}
396
413
  // ^-----^
397
414
  // or the first option:
398
415
  // {name, plural, one {...} other {...}}
399
416
  // ^--^
400
- var d=this.parseIdentifierIfPossible(),g=0;if("select"!==s&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(ee.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Me(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(ee.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,ee.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;
417
+ var d=this.parseIdentifierIfPossible(),g=0;if("select"!==s&&"offset"===d.value){if(!this.bumpIf(":"))return this.error(te.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,De(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(te.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,te.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;
401
418
  // Parse another identifier for option parsing
402
- this.bumpSpace(),d=this.parseIdentifierIfPossible(),g=y.val}var b,E=this.tryParsePluralOrSelectOptions(e,s,t,d);if(E.err)return E;if((b=this.tryParseArgumentClose(i)).err)return b;var v=Me(i,this.clonePosition());return"select"===s?{val:{type:te.select,value:n,options:Ke(E.val),location:v},err:null}:{val:{type:te.plural,value:n,options:Ke(E.val),offset:g,pluralType:"plural"===s?"cardinal":"ordinal",location:v},err:null};default:return this.error(ee.INVALID_ARGUMENT_TYPE,Me(o,a))}},e.prototype.tryParseArgumentClose=function(e){
419
+ this.bumpSpace(),d=this.parseIdentifierIfPossible(),g=y.val}var b,E=this.tryParsePluralOrSelectOptions(e,s,t,d);if(E.err)return E;if((b=this.tryParseArgumentClose(i)).err)return b;var v=De(i,this.clonePosition());return"select"===s?{val:{type:ne.select,value:n,options:Xe(E.val),location:v},err:null}:{val:{type:ne.plural,value:n,options:Xe(E.val),offset:g,pluralType:"plural"===s?"cardinal":"ordinal",location:v},err:null};default:return this.error(te.INVALID_ARGUMENT_TYPE,De(o,a))}},e.prototype.tryParseArgumentClose=function(e){
403
420
  // Parse: {value, number, ::currency/GBP }
404
- return this.isEOF()||125/* `}` */!==this.char()?this.error(ee.EXPECT_ARGUMENT_CLOSING_BRACE,Me(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
421
+ return this.isEOF()||125/* `}` */!==this.char()?this.error(te.EXPECT_ARGUMENT_CLOSING_BRACE,De(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
405
422
  /**
406
423
  * See: https://github.com/unicode-org/icu/blob/af7ed1f6d2298013dc303628438ec4abe1f16479/icu4c/source/common/messagepattern.cpp#L659
407
424
  */
408
425
  e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39/* `'` */:
409
426
  // Treat apostrophe as quoting but include it in the style part.
410
427
  // Find the end of the quoted literal text.
411
- this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(ee.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Me(n,this.clonePosition()));this.bump();break;case 123/* `{` */:e+=1,this.bump();break;case 125/* `}` */:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");
428
+ this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(te.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,De(n,this.clonePosition()));this.bump();break;case 123/* `{` */:e+=1,this.bump();break;case 125/* `}` */:if(!(e>0))return{val:this.message.slice(t.offset,this.offset()),err:null};e-=1;break;default:this.bump()}}return{val:this.message.slice(t.offset,this.offset()),err:null}},e.prototype.parseNumberSkeletonFromString=function(e,t){var n=[];try{n=function(e){if(0===e.length)throw new Error("Number skeleton cannot be empty");
412
429
  // Parse the skeleton
413
- for(var t=e.split(Ee).filter((function(e){return e.length>0})),n=[],i=0,r=t;i<r.length;i++){var o=r[i].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var s=o[0],a=o.slice(1),l=0,u=a;l<u.length;l++)if(0===u[l].length)throw new Error("Invalid number skeleton");n.push({stem:s,options:a})}return n}(e)}catch(e){return this.error(ee.INVALID_NUMBER_SKELETON,t)}return{val:{type:ne.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?ke(n):{}},err:null}},
430
+ for(var t=e.split(ve).filter((function(e){return e.length>0})),n=[],i=0,r=t;i<r.length;i++){var o=r[i].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var s=o[0],a=o.slice(1),u=0,l=a;u<l.length;u++)if(0===l[u].length)throw new Error("Invalid number skeleton");n.push({stem:s,options:a})}return n}(e)}catch(e){return this.error(te.INVALID_NUMBER_SKELETON,t)}return{val:{type:ie.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?_e(n):{}},err:null}},
414
431
  /**
415
432
  * @param nesting_level The current nesting level of messages.
416
433
  * This can be positive when parsing message fragment in select or plural argument options.
@@ -425,26 +442,26 @@ e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,i){
425
442
  // Parse:
426
443
  // one {one apple}
427
444
  // ^--^
428
- for(var r,o=!1,s=[],a=new Set,l=i.value,u=i.location;;){if(0===l.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;
445
+ for(var r,o=!1,s=[],a=new Set,u=i.value,l=i.location;;){if(0===u.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;
429
446
  // Try parse `={number}` selector
430
- var h=this.tryParseDecimalInteger(ee.EXPECT_PLURAL_ARGUMENT_SELECTOR,ee.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;u=Me(c,this.clonePosition()),l=this.message.slice(c.offset,this.offset())}
447
+ var h=this.tryParseDecimalInteger(te.EXPECT_PLURAL_ARGUMENT_SELECTOR,te.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;l=De(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}
431
448
  // Duplicate selector clauses
432
- if(a.has(l))return this.error("select"===t?ee.DUPLICATE_SELECT_ARGUMENT_SELECTOR:ee.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,u);"other"===l&&(o=!0),
449
+ if(a.has(u))return this.error("select"===t?te.DUPLICATE_SELECT_ARGUMENT_SELECTOR:te.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===u&&(o=!0),
433
450
  // Parse:
434
451
  // one {one apple}
435
452
  // ^----------^
436
- this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?ee.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:ee.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,Me(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(e+1,t,n);if(f.err)return f;var m=this.tryParseArgumentClose(p);if(m.err)return m;s.push([l,{value:f.val,location:Me(p,this.clonePosition())}]),
453
+ this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?te.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:te.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT,De(this.clonePosition(),this.clonePosition()));var f=this.parseMessage(e+1,t,n);if(f.err)return f;var m=this.tryParseArgumentClose(p);if(m.err)return m;s.push([u,{value:f.val,location:De(p,this.clonePosition())}]),
437
454
  // Keep track of the existing selectors
438
- a.add(l),
455
+ a.add(u),
439
456
  // Prep next selector clause.
440
- this.bumpSpace(),l=(r=this.parseIdentifierIfPossible()).value,u=r.location}return 0===s.length?this.error("select"===t?ee.EXPECT_SELECT_ARGUMENT_SELECTOR:ee.EXPECT_PLURAL_ARGUMENT_SELECTOR,Me(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(ee.MISSING_OTHER_CLAUSE,Me(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var r=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48/* `0` */&&s<=57/* `9` */))break;r=!0,o=10*o+(s-48),this.bump()}var a=Me(i,this.clonePosition());return r?Ge(o*=n)?{val:o,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){
457
+ this.bumpSpace(),u=(r=this.parseIdentifierIfPossible()).value,l=r.location}return 0===s.length?this.error("select"===t?te.EXPECT_SELECT_ARGUMENT_SELECTOR:te.EXPECT_PLURAL_ARGUMENT_SELECTOR,De(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(te.MISSING_OTHER_CLAUSE,De(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,i=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var r=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48/* `0` */&&s<=57/* `9` */))break;r=!0,o=10*o+(s-48),this.bump()}var a=De(i,this.clonePosition());return r?ze(o*=n)?{val:o,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){
441
458
  // This is much faster than `Object.assign` or spread.
442
459
  return{offset:this.position.offset,line:this.position.line,column:this.position.column}},
443
460
  /**
444
461
  * Return the code point at the current position of the parser.
445
462
  * Throws if the index is out of bound.
446
463
  */
447
- e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Xe(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}}},
464
+ e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Ze(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}}},
448
465
  /** Bump the parser to the next UTF-16 code unit. */
449
466
  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,
450
467
  // 0 ~ 0x10000 -> unicode BMP, otherwise skip the surrogate pair.
@@ -455,7 +472,7 @@ this.position.offset+=e<65536?1:2)}},
455
472
  * following the prefix and return true. Otherwise, don't bump the parser
456
473
  * and return false.
457
474
  */
458
- e.prototype.bumpIf=function(e){if(Fe(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},
475
+ e.prototype.bumpIf=function(e){if(Ve(this.message,e,this.offset())){for(var t=0;t<e.length;t++)this.bump();return!0}return!1},
459
476
  /**
460
477
  * Bump the parser until the pattern character is found and return `true`.
461
478
  * Otherwise bump to the end of the file and return `false`.
@@ -467,7 +484,7 @@ e.prototype.bumpUntil=function(e){var t=this.offset(),n=this.message.indexOf(e,t
467
484
  */
468
485
  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}},
469
486
  /** advance the parser through all whitespace to the next non-whitespace code unit. */
470
- e.prototype.bumpSpace=function(){for(;!this.isEOF()&&tt(this.char());)this.bump()},
487
+ e.prototype.bumpSpace=function(){for(;!this.isEOF()&&nt(this.char());)this.bump()},
471
488
  /**
472
489
  * Peek at the *next* Unicode codepoint in the input without advancing the parser.
473
490
  * If the input has been exhausted, then this returns null.
@@ -477,118 +494,104 @@ e.prototype.peek=function(){if(this.isEOF())return null;var e=this.char(),t=this
477
494
  * This check if codepoint is alphabet (lower & uppercase)
478
495
  * @param codepoint
479
496
  * @returns
480
- */function Qe(e){return e>=97&&e<=122||e>=65&&e<=90}function et(e){return 45/* '-' */===e||46/* '.' */===e||e>=48&&e<=57/* 0..9 */||95/* '_' */===e||e>=97&&e<=122/** a..z */||e>=65&&e<=90/* A..Z */||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}
497
+ */function et(e){return e>=97&&e<=122||e>=65&&e<=90}function tt(e){return 45/* '-' */===e||46/* '.' */===e||e>=48&&e<=57/* 0..9 */||95/* '_' */===e||e>=97&&e<=122/** a..z */||e>=65&&e<=90/* A..Z */||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039}
481
498
  /**
482
499
  * Code point equivalent of regex `\p{White_Space}`.
483
500
  * From: https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
484
- */function tt(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}
501
+ */function nt(e){return e>=9&&e<=13||32===e||133===e||e>=8206&&e<=8207||8232===e||8233===e}
485
502
  /**
486
503
  * Code point equivalent of regex `\p{Pattern_Syntax}`.
487
504
  * See https://www.unicode.org/Public/UCD/latest/ucd/PropList.txt
488
- */function nt(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 it(e){e.forEach((function(e){if(delete e.location,ce(e)||he(e))for(var t in e.options)delete e.options[t].location,it(e.options[t].value);else ae(e)&&me(e.style)||(le(e)||ue(e))&&de(e.style)?delete e.style.location:fe(e)&&it(e.children)}))}function rt(e,t){void 0===t&&(t={}),t=ie({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Je(e,t).parse();if(n.err){var i=SyntaxError(ee[n.err.kind]);
505
+ */function it(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 rt(e){e.forEach((function(e){if(delete e.location,he(e)||pe(e))for(var t in e.options)delete e.options[t].location,rt(e.options[t].value);else ue(e)&&de(e.style)||(le(e)||ce(e))&&ge(e.style)?delete e.style.location:me(e)&&rt(e.children)}))}function ot(e,t){void 0===t&&(t={}),t=re({shouldParseSkeletons:!0,requiresOtherClause:!0},t);var n=new Qe(e,t).parse();if(n.err){var i=SyntaxError(te[n.err.kind]);
489
506
  // @ts-expect-error Assign to error object
490
507
  throw i.location=n.err.location,
491
508
  // @ts-expect-error Assign to error object
492
- i.originalMessage=n.err.message,i}return(null==t?void 0:t.captureLocation)||it(n.val),n.val}
509
+ i.originalMessage=n.err.message,i}return(null==t?void 0:t.captureLocation)||rt(n.val),n.val}
493
510
 
494
511
  // Main
495
512
 
496
- function ot(e,t){var n=t&&t.cache?t.cache:ft,i=t&&t.serializer?t.serializer:ct;return(t&&t.strategy?t.strategy:ut)(e,{cache:n,serializer:i})}
513
+ function st(e,t){var n=t&&t.cache?t.cache:mt,i=t&&t.serializer?t.serializer:ht;return(t&&t.strategy?t.strategy:ct)(e,{cache:n,serializer:i})}
497
514
 
498
515
  // Strategy
499
516
 
500
- function st(e,t,n,i){var r,o=null==(r=i)||"number"==typeof r||"boolean"==typeof r?i:n(i),s=t.get(o);return void 0===s&&(s=e.call(this,i),t.set(o,s)),s}function at(e,t,n){var i=Array.prototype.slice.call(arguments,3),r=n(i),o=t.get(r);return void 0===o&&(o=e.apply(this,i),t.set(r,o)),o}function lt(e,t,n,i,r){return n.bind(t,e,i,r)}function ut(e,t){return lt(e,this,1===e.length?st:at,t.cache.create(),t.serializer)}
517
+ function at(e,t,n,i){var r,o=null==(r=i)||"number"==typeof r||"boolean"==typeof r?i:n(i),s=t.get(o);return void 0===s&&(s=e.call(this,i),t.set(o,s)),s}function ut(e,t,n){var i=Array.prototype.slice.call(arguments,3),r=n(i),o=t.get(r);return void 0===o&&(o=e.apply(this,i),t.set(r,o)),o}function lt(e,t,n,i,r){return n.bind(t,e,i,r)}function ct(e,t){return lt(e,this,1===e.length?at:ut,t.cache.create(),t.serializer)}
501
518
  // Serializer
502
- var ct=function(){return JSON.stringify(arguments)};
519
+ var ht=function(){return JSON.stringify(arguments)};
503
520
 
504
521
  // Cache
505
522
 
506
- function ht(){this.cache=Object.create(null)}ht.prototype.get=function(e){return this.cache[e]},ht.prototype.set=function(e,t){this.cache[e]=t};var pt,ft={create:function(){
523
+ 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 ft,mt={create:function(){
507
524
  // @ts-ignore
508
- return new ht}},mt={variadic:function(e,t){return lt(e,this,at,t.cache.create(),t.serializer)},monadic:function(e,t){return lt(e,this,st,t.cache.create(),t.serializer)}};!function(e){
525
+ return new pt}},dt={variadic:function(e,t){return lt(e,this,ut,t.cache.create(),t.serializer)},monadic:function(e,t){return lt(e,this,at,t.cache.create(),t.serializer)}};!function(e){
509
526
  // When we have a placeholder but no value to format
510
527
  e.MISSING_VALUE="MISSING_VALUE",
511
528
  // When value supplied is invalid
512
529
  e.INVALID_VALUE="INVALID_VALUE",
513
530
  // When we need specific Intl API but it's not available
514
- e.MISSING_INTL_API="MISSING_INTL_API"}(pt||(pt={}));var dt,gt=/** @class */function(e){function t(t,n,i){var r=e.call(this,t)||this;return r.code=n,r.originalMessage=i,r}return Q(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),yt=/** @class */function(e){function t(t,n,i,r){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),pt.INVALID_VALUE,r)||this}return Q(t,e),t}(gt),bt=/** @class */function(e){function t(t,n,i){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),pt.INVALID_VALUE,i)||this}return Q(t,e),t}(gt),Et=/** @class */function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),pt.MISSING_VALUE,n)||this}return Q(t,e),t}(gt);function vt(e){return"function"==typeof e}
531
+ e.MISSING_INTL_API="MISSING_INTL_API"}(ft||(ft={}));var gt,yt=/** @class */function(e){function t(t,n,i){var r=e.call(this,t)||this;return r.code=n,r.originalMessage=i,r}return ee(t,e),t.prototype.toString=function(){return"[formatjs Error: ".concat(this.code,"] ").concat(this.message)},t}(Error),bt=/** @class */function(e){function t(t,n,i,r){return e.call(this,'Invalid values for "'.concat(t,'": "').concat(n,'". Options are "').concat(Object.keys(i).join('", "'),'"'),ft.INVALID_VALUE,r)||this}return ee(t,e),t}(yt),Et=/** @class */function(e){function t(t,n,i){return e.call(this,'Value for "'.concat(t,'" must be of type ').concat(n),ft.INVALID_VALUE,i)||this}return ee(t,e),t}(yt),vt=/** @class */function(e){function t(t,n){return e.call(this,'The intl string context variable "'.concat(t,'" was not provided to the string "').concat(n,'"'),ft.MISSING_VALUE,n)||this}return ee(t,e),t}(yt);function Pt(e){return"function"==typeof e}
515
532
  // TODO(skeleton): add skeleton support
516
- function Pt(e,t,n,i,r,o,
533
+ function Tt(e,t,n,i,r,o,
517
534
  // For debugging
518
535
  s){
519
536
  // Hot path for straight simple msg translations
520
- if(1===e.length&&oe(e[0]))return[{type:dt.literal,value:e[0].value}];for(var a=[],l=0,u=e;l<u.length;l++){var c=u[l];
537
+ if(1===e.length&&se(e[0]))return[{type:gt.literal,value:e[0].value}];for(var a=[],u=0,l=e;u<l.length;u++){var c=l[u];
521
538
  // Exit early for string parts.
522
- if(oe(c))a.push({type:dt.literal,value:c.value});else
539
+ if(se(c))a.push({type:gt.literal,value:c.value});else
523
540
  // TODO: should this part be literal type?
524
541
  // Replace `#` in plural rules with the actual numeric value.
525
- if(pe(c))"number"==typeof o&&a.push({type:dt.literal,value:n.getNumberFormat(t).format(o)});else{var h=c.value;
542
+ if(fe(c))"number"==typeof o&&a.push({type:gt.literal,value:n.getNumberFormat(t).format(o)});else{var h=c.value;
526
543
  // Enforce that all required values are provided by the caller.
527
- if(!r||!(h in r))throw new Et(h,s);var p=r[h];if(se(c))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),a.push({type:"string"==typeof p?dt.literal:dt.object,value:p});else
544
+ if(!r||!(h in r))throw new vt(h,s);var p=r[h];if(ae(c))p&&"string"!=typeof p&&"number"!=typeof p||(p="string"==typeof p||"number"==typeof p?String(p):""),a.push({type:"string"==typeof p?gt.literal:gt.object,value:p});else
528
545
  // Recursively format plural and select parts' option — which can be a
529
546
  // nested pattern structure. The choosing of the option to use is
530
547
  // abstracted-by and delegated-to the part helper object.
531
- if(le(c)){var f="string"==typeof c.style?i.date[c.style]:de(c.style)?c.style.parsedOptions:void 0;a.push({type:dt.literal,value:n.getDateTimeFormat(t,f).format(p)})}else if(ue(c)){f="string"==typeof c.style?i.time[c.style]:de(c.style)?c.style.parsedOptions:i.time.medium;a.push({type:dt.literal,value:n.getDateTimeFormat(t,f).format(p)})}else if(ae(c)){(f="string"==typeof c.style?i.number[c.style]:me(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(p*=f.scale||1),a.push({type:dt.literal,value:n.getNumberFormat(t,f).format(p)})}else{if(fe(c)){var m=c.children,d=c.value,g=r[d];if(!vt(g))throw new bt(d,"function",s);var y=g(Pt(m,t,n,i,r,o).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),a.push.apply(a,y.map((function(e){return{type:"string"==typeof e?dt.literal:dt.object,value:e}})))}if(ce(c)){if(!(b=c.options[p]||c.options.other))throw new yt(c.value,p,Object.keys(c.options),s);a.push.apply(a,Pt(b.value,t,n,i,r))}else if(he(c)){var b;if(!(b=c.options["=".concat(p)])){if(!Intl.PluralRules)throw new gt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',pt.MISSING_INTL_API,s);var E=n.getPluralRules(t,{type:c.pluralType}).select(p-(c.offset||0));b=c.options[E]||c.options.other}if(!b)throw new yt(c.value,p,Object.keys(c.options),s);a.push.apply(a,Pt(b.value,t,n,i,r,p-(c.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===dt.literal&&t.type===dt.literal?n.value+=t.value:e.push(t),e}),[])}(a)}
548
+ if(le(c)){var f="string"==typeof c.style?i.date[c.style]:ge(c.style)?c.style.parsedOptions:void 0;a.push({type:gt.literal,value:n.getDateTimeFormat(t,f).format(p)})}else if(ce(c)){f="string"==typeof c.style?i.time[c.style]:ge(c.style)?c.style.parsedOptions:i.time.medium;a.push({type:gt.literal,value:n.getDateTimeFormat(t,f).format(p)})}else if(ue(c)){(f="string"==typeof c.style?i.number[c.style]:de(c.style)?c.style.parsedOptions:void 0)&&f.scale&&(p*=f.scale||1),a.push({type:gt.literal,value:n.getNumberFormat(t,f).format(p)})}else{if(me(c)){var m=c.children,d=c.value,g=r[d];if(!Pt(g))throw new Et(d,"function",s);var y=g(Tt(m,t,n,i,r,o).map((function(e){return e.value})));Array.isArray(y)||(y=[y]),a.push.apply(a,y.map((function(e){return{type:"string"==typeof e?gt.literal:gt.object,value:e}})))}if(he(c)){if(!(b=c.options[p]||c.options.other))throw new bt(c.value,p,Object.keys(c.options),s);a.push.apply(a,Tt(b.value,t,n,i,r))}else if(pe(c)){var b;if(!(b=c.options["=".concat(p)])){if(!Intl.PluralRules)throw new yt('Intl.PluralRules is not available in this environment.\nTry polyfilling it using "@formatjs/intl-pluralrules"\n',ft.MISSING_INTL_API,s);var E=n.getPluralRules(t,{type:c.pluralType}).select(p-(c.offset||0));b=c.options[E]||c.options.other}if(!b)throw new bt(c.value,p,Object.keys(c.options),s);a.push.apply(a,Tt(b.value,t,n,i,r,p-(c.offset||0)))}else;}}}return function(e){return e.length<2?e:e.reduce((function(e,t){var n=e[e.length-1];return n&&n.type===gt.literal&&t.type===gt.literal?n.value+=t.value:e.push(t),e}),[])}(a)}
532
549
  /*
533
550
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
534
551
  Copyrights licensed under the New BSD License.
535
552
  See the accompanying LICENSE file for terms.
536
553
  */
537
554
  // -- MessageFormat --------------------------------------------------------
538
- function Tt(e,t){return t?Object.keys(e).reduce((function(n,i){var r,o;return n[i]=(r=e[i],(o=t[i])?ie(ie(ie({},r||{}),o||{}),Object.keys(r).reduce((function(e,t){return e[t]=ie(ie({},r[t]),o[t]||{}),e}),{})):r),n}),ie({},e)):e}function Bt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(dt||(dt={}));var wt=/** @class */function(){function e(t,n,i,r){var o,s=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);
555
+ function Bt(e,t){return t?Object.keys(e).reduce((function(n,i){var r,o;return n[i]=(r=e[i],(o=t[i])?re(re(re({},r||{}),o||{}),Object.keys(r).reduce((function(e,t){return e[t]=re(re({},r[t]),o[t]||{}),e}),{})):r),n}),re({},e)):e}function wt(e){return{create:function(){return{get:function(t){return e[t]},set:function(t,n){e[t]=n}}}}}!function(e){e[e.literal=0]="literal",e[e.object=1]="object"}(gt||(gt={}));var Lt=/** @class */function(){function e(t,n,i,r){var o,s=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);
539
556
  // Hot path for straight simple msg translations
540
- if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===dt.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return Pt(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},
557
+ if(1===t.length)return t[0].value;var n=t.reduce((function(e,t){return e.length&&t.type===gt.literal&&"string"==typeof e[e.length-1]?e[e.length-1]+=t.value:e.push(t.value),e}),[]);return n.length<=1?n[0]||"":n},this.formatToParts=function(e){return Tt(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},
541
558
  // Defined first because it's used to build the format pattern.
542
559
  this.locales=n,this.resolvedLocale=e.resolveLocale(n),"string"==typeof t){if(this.message=t,!e.__parse)throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
543
560
  // Parse string messages into an AST.
544
561
  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.");
545
562
  // Creates a new object with the specified `formats` merged with the default
546
563
  // formats.
547
- this.formats=Tt(e.formats,i),this.formatters=r&&r.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:ot((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,re([void 0],t,!1)))}),{cache:Bt(o.number),strategy:mt.variadic}),getDateTimeFormat:ot((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,re([void 0],t,!1)))}),{cache:Bt(o.dateTime),strategy:mt.variadic}),getPluralRules:ot((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,re([void 0],t,!1)))}),{cache:Bt(o.pluralRules),strategy:mt.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=rt,
564
+ this.formats=Bt(e.formats,i),this.formatters=r&&r.formatters||(void 0===(o=this.formatterCache)&&(o={number:{},dateTime:{},pluralRules:{}}),{getNumberFormat:st((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.NumberFormat).bind.apply(e,oe([void 0],t,!1)))}),{cache:wt(o.number),strategy:dt.variadic}),getDateTimeFormat:st((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.DateTimeFormat).bind.apply(e,oe([void 0],t,!1)))}),{cache:wt(o.dateTime),strategy:dt.variadic}),getPluralRules:st((function(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new((e=Intl.PluralRules).bind.apply(e,oe([void 0],t,!1)))}),{cache:wt(o.pluralRules),strategy:dt.variadic})})}return Object.defineProperty(e,"defaultLocale",{get:function(){return e.memoizedDefaultLocale||(e.memoizedDefaultLocale=(new Intl.NumberFormat).resolvedOptions().locale),e.memoizedDefaultLocale},enumerable:!1,configurable:!0}),e.memoizedDefaultLocale=null,e.resolveLocale=function(e){var t=Intl.NumberFormat.supportedLocalesOf(e);return t.length>0?new Intl.Locale(t[0]):new Intl.Locale("string"==typeof e?e:e[0])},e.__parse=ot,
548
565
  // Default format options used as the prototype of the `formats` provided to the
549
566
  // constructor. These are used when constructing the internal Intl.NumberFormat
550
567
  // and Intl.DateTimeFormat instances.
551
- 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}(),Lt=wt;
568
+ 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}(),Ht=Lt;
552
569
  /*
553
570
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
554
571
  Copyrights licensed under the New BSD License.
555
572
  See the accompanying LICENSE file for terms.
556
- */const Ht={},At=(e,t,n)=>n?(t in Ht||(Ht[t]={}),e in Ht[t]||(Ht[t][e]=n),n):n,kt=(e,t)=>{if(null==t)return;if(t in Ht&&e in Ht[t])return Ht[t][e];const n=Kt(t);for(let i=0;i<n.length;i++){const r=It(n[i],e);if(r)return At(e,t,r)}};let _t;const St=G({});function Ct(e){return e in _t}function It(e,t){if(!Ct(e))return null;const n=function(e){return _t[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let i=e;for(let e=0;e<n.length;e++)if("object"==typeof i){if(e>0){const t=n.slice(e,n.length).join(".");if(t in i){i=i[t];break}}i=i[n[e]]}else i=void 0;return i}(n,t)}function Nt(e,...t){delete Ht[e],St.update((n=>(n[e]=q.all([n[e]||{},...t]),n)))}z([St],(([e])=>Object.keys(e))),St.subscribe((e=>_t=e));const Mt={};function Ot(e){return Mt[e]}function Dt(e){return null!=e&&Kt(e).some((e=>{var t;return null===(t=Ot(e))||void 0===t?void 0:t.size}))}const Rt={};function jt(e){if(!Dt(e))return e in Rt?Rt[e]:Promise.resolve();const t=function(e){return Kt(e).map((e=>{const t=Ot(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Rt[e]=Promise.all(t.map((([e,t])=>function(e,t){const n=Promise.all(t.map((t=>(function(e,t){Mt[e].delete(t),0===Mt[e].size&&delete Mt[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>Nt(e,...t)))}(e,t)))).then((()=>{if(Dt(e))return jt(e);delete Rt[e]})),Rt[e]}
557
- /*! *****************************************************************************
558
- Copyright (c) Microsoft Corporation.
559
-
560
- Permission to use, copy, modify, and/or distribute this software for any
561
- purpose with or without fee is hereby granted.
562
-
563
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
564
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
565
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
566
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
567
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
568
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
569
- PERFORMANCE OF THIS SOFTWARE.
570
- ***************************************************************************** */function Ut(e,t){var n={};for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.indexOf(i)<0&&(n[i]=e[i]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var r=0;for(i=Object.getOwnPropertySymbols(e);r<i.length;r++)t.indexOf(i[r])<0&&Object.prototype.propertyIsEnumerable.call(e,i[r])&&(n[i[r]]=e[i[r]])}return n}const xt={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 Gt(){return xt}const zt=G(!1);let $t;const Ft=G(null);function Vt(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function Kt(e,t=Gt().fallbackLocale){const n=Vt(e);return t?[...new Set([...n,...Vt(t)])]:n}function Xt(){return null!=$t?$t:void 0}Ft.subscribe((e=>{$t=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const Zt=Object.assign(Object.assign({},Ft),{set:e=>{if(e&&function(e){if(null==e)return;const t=Kt(e);for(let e=0;e<t.length;e++){const n=t[e];if(Ct(n))return n}}(e)&&Dt(e)){const{loadingDelay:t}=Gt();let n;return"undefined"!=typeof window&&null!=Xt()&&t?n=window.setTimeout((()=>zt.set(!0)),t):zt.set(!0),jt(e).then((()=>{Ft.set(e)})).finally((()=>{clearTimeout(n),zt.set(!1)}))}return Ft.set(e)}}),Wt=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}},Yt=(e,t)=>{const{formats:n}=Gt();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},qt=Wt((e=>{var{locale:t,format:n}=e,i=Ut(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(i=Yt("number",n)),new Intl.NumberFormat(t,i)})),Jt=Wt((e=>{var{locale:t,format:n}=e,i=Ut(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?i=Yt("date",n):0===Object.keys(i).length&&(i=Yt("date","short")),new Intl.DateTimeFormat(t,i)})),Qt=Wt((e=>{var{locale:t,format:n}=e,i=Ut(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?i=Yt("time",n):0===Object.keys(i).length&&(i=Yt("time","short")),new Intl.DateTimeFormat(t,i)})),en=Wt(((e,t=Xt())=>new Lt(e,t,Gt().formats,{ignoreTag:Gt().ignoreTag}))),tn=(e,t={})=>{var n,i,r,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=Xt(),default:u}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=kt(e,l);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!==(o=null!==(r=null===(i=(n=Gt()).handleMissingMessage)||void 0===i?void 0:i.call(n,{locale:l,id:e,defaultValue:u}))&&void 0!==r?r:u)&&void 0!==o?o:e;if(!a)return c;let h=c;try{h=en(c,l).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},nn=(e,t)=>((e={})=>{var{locale:t=Xt()}=e,n=Ut(e,["locale"]);return Qt(Object.assign({locale:t},n))})(t).format(e),rn=(e,t)=>((e={})=>{var{locale:t=Xt()}=e,n=Ut(e,["locale"]);return Jt(Object.assign({locale:t},n))})(t).format(e),on=(e,t)=>((e={})=>{var{locale:t=Xt()}=e,n=Ut(e,["locale"]);return qt(Object.assign({locale:t},n))})(t).format(e),sn=(e,t=Xt())=>kt(e,t),an=z([Zt,St],(()=>tn));function ln(e,t){Nt(e,t)}z([Zt],(()=>nn)),z([Zt],(()=>rn)),z([Zt],(()=>on)),z([Zt,St],(()=>sn));const un={en:{lugasPopup:{loading:"Loading, please wait...",setLimit:"Set a limit",setLimitDescription:"In Germany, you are legally required to set a monthly deposit limit. Therefore, we ask you to confirm your existing limit or set a new one in order to enjoy playing without restrictions.",lugasInfo1:"Any questions? Information about",lugasInfo2:"LUGAS",keepCurrentLimit:"KEEP THE CURRENT LIMIT",keepCurrentLimitButton:"NEW LIMIT",applyButton:"APPLY",depositPeriod:"Monthly deposit limit",TCpart1:'By clicking "Keep the current limit" or "Apply" I confirm that I have read and accept the ',TClink:"General Terms and Conditions",TCpart2:"Also note our",PPlink:"Privacy Policy",depositLimit:"Deposit Limit set",successful:"Successful!",successDescription:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kyc1Part1:"We were able to set your monthly deposit limit to ",kyc1Part2:"In order to increase the limit to the desired amount, we ask you to provide us with the relevant information. This information can be submitted in the document upload.",kycButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",depositError:"Deposit Limit update error",errorDescription:"We were unable to set your limit at this time, due to a server error. Please try again later.",docsRequired:"Documents required!",kyc2:"For the selected limit, we require documents that show your financial situation. Please upload your last payslip as well as a current bank statement, that shows the account balance as well as that you received the salary payment."}},de:{lugasPopup:{loading:"Lädt ...",setLimit:"Legen Sie ein Grenzwert fest",setLimitDescription:"In Deutschland müssen Sie gesetzlich ein monatliches Einlagenlimit festlegen.",lugasInfo1:"Fragen? Informationen zu",lugasInfo2:"LUGAS",keepCurrentLimit:"Aktuelles Limit beibehalten",keepCurrentLimitButton:"Neue Grenze",applyButton:"Anwenden",depositPeriod:"Monatliche Einzahlungslimit",TCpart1:'Durch Klicken auf "das aktuelle Grenzwert halten" oder "anwenden", bestätige ich, dass ich die ',TClink:"Allgemeine Geschäftsbedingungen",TCpart2:"Beachten Sie auch unsere",PPlink:"Datenschutz-Bestimmungen",depositLimit:"Erfolgreich",successful:"Erfolgreich",successDescription:"Einzahlungslimit erfolgreich festgelegt. Sie können Ihre Grenzen jederzeit in den Kontoeinstellungen verwalten.",kyc1Part1:"Wir konnten Ihr monatliches Einzahlungslimit auf ",kyc1Part2:"Um das Limit auf den gewünschten Betrag zu erhöhen, bitten wir, uns relevante Informationen zur Verfügung zu stellen. Diese Informationen können im Dokumenten-Upload eingereicht werden.",kycButton:"Dokumente hochladen",closeButton:"Schließen",depositError:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",errorDescription:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",docsRequired:"Documents required!",kyc2:"Für das gewählte Limit benötigen wir Dokumente, aus denen Ihre finanzielle Situation hervorgeht. Bitte laden Sie Ihre letzte Gehaltsabrechnung sowie einen aktuellen Kontoauszug, auf dem Kontostand sowie Gehaltseingang ersichtlich sind, hoch."}},hr:{lugasPopup:{loading:"Učitavanje...",setLimit:"Postavite ograničenje",setLimitDescription:"U Njemačkoj ste iz zakonskih razloga dužni postaviti mjesečno ograničenje uplate.",lugasInfo1:"Ima li pitanja? Informacije o",lugasInfo2:"LUGAS",keepCurrentLimit:"Zadrži trenutno ograničenje",keepCurrentLimitButton:"Novo ograničenje",applyButton:"Primijeni",depositPeriod:"Mjesečno ograničenje uplate",TCpart1:"Klikom na “Zadrži trenutno ograničenje” ili “Postavi“, potvrđujem da sam pročitao i prihvatio ",TClink:"Opća pravila i uvjeti",TCpart2:"Molimo također obratite pozornost na našu",PPlink:"Izjava o privatnosti",depositLimit:"Uspješno",successful:"Uspješno",successDescription:"Ograničenje uplate je uspješno postavljeno. Svojim ograničenjima možete upravljati u bilo kojem trenutku u postavkama računa.",kyc1Part1:"Vaše mjesečno ograničenje uplate bilo je moguće postaviti na 10,000 eura.",kyc1Part2:"Kako bismo povećali ograničenje na željeni iznos, molimo Vas da nam pošaljete potrebne podatke. Te podatke možete poslati putem opcije učitavanja dokumenata.",kycButton:"Učitajte dokumente",closeButton:"Zatvori",depositError:"Došlo je do pogreške. Molimo pokušajte ponovno.",errorDescription:"Došlo je do pogreške. Molimo pokušajte ponovno.",docsRequired:"Documents required!",kyc2:"Za odabrano ograničenje, potrebni su nam dokumenti koji pokazuju Vaš financijski kapacitet. Molimo učitajte svoj najnoviji ispis plaće, kao i najnoviji ispis bankovnog račun koji potvrđuje primitak te plaće."}},sl:{lugasPopup:{loading:"Nalaga...",setLimit:"Določi limit",setLimitDescription:"V Nemčiji je zakonsko predpisano, da določite mesečni vplačilni limit.",lugasInfo1:"Vprašanja? Informacije o",lugasInfo2:"LUGAS",keepCurrentLimit:"Ohranite obstoječi limit",keepCurrentLimitButton:"Novi limit",applyButton:"Uporabi",depositPeriod:"Mesečni vplačilni limit",TCpart1:"S klikom na „ohranite obstoječi limit“ ali „prevzem“ potrjujem, da sem prebral-a ",TClink:"Splošna pravila in pogoji",TCpart2:"Preverite tudi na naš ",PPlink:"Pravila o zasebnosti",depositLimit:"Uspešno",successful:"Uspešno",successDescription:"Vplačilni limit je bil uspešno postavljen. Limiti se lahko kadar koli prilagodijo v nastavitvah stavnega računa.",kyc1Part1:"Mesečni vplačilni limit smo lahko nastavili na ",kyc1Part2:"Da bi povečali limit na želeni znesek, prosimo, da nam posredujete relevantne informacije. Te informacije lahko naložite pod prenos dokumentov.",kycButton:"Naložite dokumenteS",closeButton:"Zapri",depositError:"Nekaj ​​je šlo narobe. Prosim poskusite ponovno.",errorDescription:"Nekaj ​​je šlo narobe. Prosim poskusite ponovno.",docsRequired:"Documents required!",kyc2:"Za izbrani limit, potrebujemo dokumente, ki prikazujejo vašo ekonomsko stanje. Prosimo naložite vašo zadnjo plačilno listo in zadnji bančni izpisek, vključno s prikazom dobroimetja, ki prikazuje, da ste prejeli plačilo."}},pl:{lugasPopup:{loading:"Ładowanie...",setLimit:"Ustaw limit",setLimitDescription:"W Niemczech istnieje prawny obowiązek ustalenia miesięcznego limitu wpłat.",lugasInfo1:"Jakieś pytania? Informacja o",lugasInfo2:"LUGAS",keepCurrentLimit:"Zachowaj obecny limit",keepCurrentLimitButton:"Nowy limit",applyButton:"Zastosuj",depositPeriod:"Miesięczny limit wpłat",TCpart1:'Klikając na "Zachowaj obecny limit" lub "Zastosuj", potwierdzam, że przeczytałem i akceptuję ',TClink:"Ogólne warunki handlowe",TCpart2:"Zapoznaj się również z naszą ",PPlink:"Polityka prywatności",depositLimit:"Zakończone powodzeniem",successful:"Zakończone powodzeniem",successDescription:"Limit wpłat ustawiony pomyślnie. Możesz zarządzać limitami w dowolnym momencie w ustawieniach konta.",kyc1Part1:"Udało nam się ustawić Twój miesięczny limit wpłat na ",kyc1Part2:"Aby zwiększyć limit żądanej kwoty, prosimy o podanie nam odpowiednich informacji. Informacje te można przesłać w przesyłaniu dokumentu.",kycButton:"Wczytywanie dokumentów",closeButton:"zamknij",depositError:"Coś poszło nie tak. Proszę spróbuj ponownie.",errorDescription:"Coś poszło nie tak. Proszę spróbuj ponownie.",docsRequired:"Documents required!",kyc2:"Do wybranego limitu potrzebujemy dokumentów potwierdzających Państwa sytuację finansową. Prosimy o przesłanie ostatniego odcinka wypłaty oraz aktualnego wyciągu bankowego, na którym widnieje stan konta i przychodzące wynagrodzenie."}},es:{lugasPopup:{loading:"Cargando...",setLimit:"Establece un límite",setLimitDescription:"En Alemania",lugasInfo1:"Alguna pregunta? Información sobre",lugasInfo2:"LUGAS",keepCurrentLimit:"MANTENER LÍMITE ACTUAL",keepCurrentLimitButton:"NUEVO LÍMITE",applyButton:"APLICAR",depositPeriod:"Límite Mensual de depósitos",TCpart1:'Dando clic en "Mantener límite actual" o "Aplicar" yo confirmo que he leido y aceptado los',TClink:"Términos y Condiciones Generales",TCpart2:"También note nuestra",PPlink:"Politica de Privacidad",depositLimit:"Límite de depósito establecido",successful:"Exitoso!",successDescription:"El límite de depósito se ha establecido con éxito. Puede administrar sus límites en cualquier momento en la confirguración de la cuenta.",kyc1Part1:"Pudimos estabelecer tu límite de deposito mensual en",kyc1Part2:"Para aumentar el límite a la cantidad deseada",kycButton:"SUBIR DOCUMENTOS / ADJUNTAR DOCUMENTOS",closeButton:"CERRAR",depositError:"Error en actualización de límite de depósito",errorDescription:"No pudimos actualizar tu límite en este momento.",docsRequired:"Documentos requeridos!",kyc2:"Para el límite seleccionado."}}},{document:cn}=D;
571
- /* src/PlayerAccountGamingLimitsPopup_2.svelte generated by Svelte v3.48.0 */function hn(e){let t;function n(e,t){/*popupState*/
572
- return"initial"===e[10]?yn:/*popupState*/"successful"===e[10]?gn:/*popupState*/"KYC"===e[10]?dn:/*popupState*/"KYC2"===e[10]?mn:/*popupState*/"error"===e[10]?fn:void 0}let i=n(e),r=i&&i(e);return{c(){t=c("div"),r&&r.c(),d(t,"class","InitialWrapper")},m(e,n){l(e,t,n),r&&r.m(t,null)},p(e,o){i===(i=n(e))&&r?r.p(e,o):(r&&r.d(1),r=i&&i(e),r&&(r.c(),r.m(t,null)))},d(e){e&&u(t),r&&r.d()}}}
573
+ */const At={},kt=(e,t,n)=>n?(t in At||(At[t]={}),e in At[t]||(At[t][e]=n),n):n,_t=(e,t)=>{if(null==t)return;if(t in At&&e in At[t])return At[t][e];const n=Kt(t);for(let i=0;i<n.length;i++){const r=Nt(n[i],e);if(r)return kt(e,t,r)}};let St;const Ct=z({});function It(e){return e in St}function Nt(e,t){if(!It(e))return null;const n=function(e){return St[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let i=e;for(let e=0;e<n.length;e++)if("object"==typeof i){if(e>0){const t=n.slice(e,n.length).join(".");if(t in i){i=i[t];break}}i=i[n[e]]}else i=void 0;return i}(n,t)}function Mt(e,...t){delete At[e],Ct.update((n=>(n[e]=J.all([n[e]||{},...t]),n)))}$([Ct],(([e])=>Object.keys(e))),Ct.subscribe((e=>St=e));const Dt={};function Rt(e){return Dt[e]}function Ot(e){return null!=e&&Kt(e).some((e=>{var t;return null===(t=Rt(e))||void 0===t?void 0:t.size}))}const Ut={};function jt(e){if(!Ot(e))return e in Ut?Ut[e]:Promise.resolve();const t=function(e){return Kt(e).map((e=>{const t=Rt(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Ut[e]=Promise.all(t.map((([e,t])=>function(e,t){const n=Promise.all(t.map((t=>(function(e,t){Dt[e].delete(t),0===Dt[e].size&&delete Dt[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>Mt(e,...t)))}(e,t)))).then((()=>{if(Ot(e))return jt(e);delete Ut[e]})),Ut[e]}const xt={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 Gt(){return xt}const zt=z(!1);let $t;const Ft=z(null);function Vt(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function Kt(e,t=Gt().fallbackLocale){const n=Vt(e);return t?[...new Set([...n,...Vt(t)])]:n}function Xt(){return null!=$t?$t:void 0}Ft.subscribe((e=>{$t=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const Zt={...Ft,set:e=>{if(e&&function(e){if(null==e)return;const t=Kt(e);for(let e=0;e<t.length;e++){const n=t[e];if(It(n))return n}}(e)&&Ot(e)){const{loadingDelay:t}=Gt();let n;return"undefined"!=typeof window&&null!=Xt()&&t?n=window.setTimeout((()=>zt.set(!0)),t):zt.set(!0),jt(e).then((()=>{Ft.set(e)})).finally((()=>{clearTimeout(n),zt.set(!1)}))}return Ft.set(e)}},Wt=e=>{const t=Object.create(null);return n=>{const i=JSON.stringify(n);return i in t?t[i]:t[i]=e(n)}},Yt=(e,t)=>{const{formats:n}=Gt();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},qt=Wt((({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return t&&(n=Yt("number",t)),new Intl.NumberFormat(e,n)})),Jt=Wt((({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return t?n=Yt("date",t):0===Object.keys(n).length&&(n=Yt("date","short")),new Intl.DateTimeFormat(e,n)})),Qt=Wt((({locale:e,format:t,...n})=>{if(null==e)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return t?n=Yt("time",t):0===Object.keys(n).length&&(n=Yt("time","short")),new Intl.DateTimeFormat(e,n)})),en=Wt(((e,t=Xt())=>new Ht(e,t,Gt().formats,{ignoreTag:Gt().ignoreTag}))),tn=(e,t={})=>{var n,i,r,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:u=Xt(),default:l}=s;if(null==u)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=_t(e,u);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!==(o=null!==(r=null===(i=(n=Gt()).handleMissingMessage)||void 0===i?void 0:i.call(n,{locale:u,id:e,defaultValue:l}))&&void 0!==r?r:l)&&void 0!==o?o:e;if(!a)return c;let h=c;try{h=en(c,u).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},nn=(e,t)=>(({locale:e=Xt(),...t}={})=>Qt({locale:e,...t}))(t).format(e),rn=(e,t)=>(({locale:e=Xt(),...t}={})=>Jt({locale:e,...t}))(t).format(e),on=(e,t)=>(({locale:e=Xt(),...t}={})=>qt({locale:e,...t}))(t).format(e),sn=(e,t=Xt())=>_t(e,t),an=$([Zt,Ct],(()=>tn));function un(e,t){Mt(e,t)}$([Zt],(()=>nn)),$([Zt],(()=>rn)),$([Zt],(()=>on)),$([Zt,Ct],(()=>sn));const ln={en:{lugasPopup:{loading:"Loading, please wait...",setLimit:"Set a limit",setLimitDescription:"In Germany, you are legally required to set a monthly deposit limit. Therefore, we ask you to confirm your existing limit or set a new one in order to enjoy playing without restrictions.",lugasInfo1:"Any questions? Information about",lugasInfo2:"LUGAS",keepCurrentLimit:"KEEP THE CURRENT LIMIT",keepCurrentLimitButton:"NEW LIMIT",applyButton:"APPLY",depositPeriod:"Monthly deposit limit",TCpart1:'By clicking "Keep the current limit" or "Apply" I confirm that I have read and accept the ',TClink:"General Terms and Conditions",TCpart2:"Also note our",PPlink:"Privacy Policy",depositLimit:"Deposit Limit set",successful:"Successful!",successDescription:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kyc1Part1:"We were able to set your monthly deposit limit to ",kyc1Part2:"In order to increase the limit to the desired amount, we ask you to provide us with the relevant information. This information can be submitted in the document upload.",kycButton:"UPLOAD DOCUMENTS",closeButton:"CLOSE",depositError:"Deposit Limit update error",errorDescription:"We were unable to set your limit at this time, due to a server error. Please try again later.",docsRequired:"Documents required!",kyc2:"For the selected limit, we require documents that show your financial situation. Please upload your last payslip as well as a current bank statement, that shows the account balance as well as that you received the salary payment."}},de:{lugasPopup:{loading:"Lädt ...",setLimit:"Legen Sie ein Grenzwert fest",setLimitDescription:"In Deutschland müssen Sie gesetzlich ein monatliches Einlagenlimit festlegen.",lugasInfo1:"Fragen? Informationen zu",lugasInfo2:"LUGAS",keepCurrentLimit:"Aktuelles Limit beibehalten",keepCurrentLimitButton:"Neue Grenze",applyButton:"Anwenden",depositPeriod:"Monatliche Einzahlungslimit",TCpart1:'Durch Klicken auf "das aktuelle Grenzwert halten" oder "anwenden", bestätige ich, dass ich die ',TClink:"Allgemeine Geschäftsbedingungen",TCpart2:"Beachten Sie auch unsere",PPlink:"Datenschutz-Bestimmungen",depositLimit:"Erfolgreich",successful:"Erfolgreich",successDescription:"Einzahlungslimit erfolgreich festgelegt. Sie können Ihre Grenzen jederzeit in den Kontoeinstellungen verwalten.",kyc1Part1:"Wir konnten Ihr monatliches Einzahlungslimit auf ",kyc1Part2:"Um das Limit auf den gewünschten Betrag zu erhöhen, bitten wir, uns relevante Informationen zur Verfügung zu stellen. Diese Informationen können im Dokumenten-Upload eingereicht werden.",kycButton:"Dokumente hochladen",closeButton:"Schließen",depositError:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",errorDescription:"Etwas ist schiefgelaufen. Bitte nochmal versuchen!",docsRequired:"Documents required!",kyc2:"Für das gewählte Limit benötigen wir Dokumente, aus denen Ihre finanzielle Situation hervorgeht. Bitte laden Sie Ihre letzte Gehaltsabrechnung sowie einen aktuellen Kontoauszug, auf dem Kontostand sowie Gehaltseingang ersichtlich sind, hoch."}},hr:{lugasPopup:{loading:"Učitavanje...",setLimit:"Postavite ograničenje",setLimitDescription:"U Njemačkoj ste iz zakonskih razloga dužni postaviti mjesečno ograničenje uplate.",lugasInfo1:"Ima li pitanja? Informacije o",lugasInfo2:"LUGAS",keepCurrentLimit:"Zadrži trenutno ograničenje",keepCurrentLimitButton:"Novo ograničenje",applyButton:"Primijeni",depositPeriod:"Mjesečno ograničenje uplate",TCpart1:"Klikom na “Zadrži trenutno ograničenje” ili “Postavi“, potvrđujem da sam pročitao i prihvatio ",TClink:"Opća pravila i uvjeti",TCpart2:"Molimo također obratite pozornost na našu",PPlink:"Izjava o privatnosti",depositLimit:"Uspješno",successful:"Uspješno",successDescription:"Ograničenje uplate je uspješno postavljeno. Svojim ograničenjima možete upravljati u bilo kojem trenutku u postavkama računa.",kyc1Part1:"Vaše mjesečno ograničenje uplate bilo je moguće postaviti na 10,000 eura.",kyc1Part2:"Kako bismo povećali ograničenje na željeni iznos, molimo Vas da nam pošaljete potrebne podatke. Te podatke možete poslati putem opcije učitavanja dokumenata.",kycButton:"Učitajte dokumente",closeButton:"Zatvori",depositError:"Došlo je do pogreške. Molimo pokušajte ponovno.",errorDescription:"Došlo je do pogreške. Molimo pokušajte ponovno.",docsRequired:"Documents required!",kyc2:"Za odabrano ograničenje, potrebni su nam dokumenti koji pokazuju Vaš financijski kapacitet. Molimo učitajte svoj najnoviji ispis plaće, kao i najnoviji ispis bankovnog račun koji potvrđuje primitak te plaće."}},sl:{lugasPopup:{loading:"Nalaga...",setLimit:"Določi limit",setLimitDescription:"V Nemčiji je zakonsko predpisano, da določite mesečni vplačilni limit.",lugasInfo1:"Vprašanja? Informacije o",lugasInfo2:"LUGAS",keepCurrentLimit:"Ohranite obstoječi limit",keepCurrentLimitButton:"Novi limit",applyButton:"Uporabi",depositPeriod:"Mesečni vplačilni limit",TCpart1:"S klikom na „ohranite obstoječi limit“ ali „prevzem“ potrjujem, da sem prebral-a ",TClink:"Splošna pravila in pogoji",TCpart2:"Preverite tudi na naš ",PPlink:"Pravila o zasebnosti",depositLimit:"Uspešno",successful:"Uspešno",successDescription:"Vplačilni limit je bil uspešno postavljen. Limiti se lahko kadar koli prilagodijo v nastavitvah stavnega računa.",kyc1Part1:"Mesečni vplačilni limit smo lahko nastavili na ",kyc1Part2:"Da bi povečali limit na želeni znesek, prosimo, da nam posredujete relevantne informacije. Te informacije lahko naložite pod prenos dokumentov.",kycButton:"Naložite dokumenteS",closeButton:"Zapri",depositError:"Nekaj ​​je šlo narobe. Prosim poskusite ponovno.",errorDescription:"Nekaj ​​je šlo narobe. Prosim poskusite ponovno.",docsRequired:"Documents required!",kyc2:"Za izbrani limit, potrebujemo dokumente, ki prikazujejo vašo ekonomsko stanje. Prosimo naložite vašo zadnjo plačilno listo in zadnji bančni izpisek, vključno s prikazom dobroimetja, ki prikazuje, da ste prejeli plačilo."}},pl:{lugasPopup:{loading:"Ładowanie...",setLimit:"Ustaw limit",setLimitDescription:"W Niemczech istnieje prawny obowiązek ustalenia miesięcznego limitu wpłat.",lugasInfo1:"Jakieś pytania? Informacja o",lugasInfo2:"LUGAS",keepCurrentLimit:"Zachowaj obecny limit",keepCurrentLimitButton:"Nowy limit",applyButton:"Zastosuj",depositPeriod:"Miesięczny limit wpłat",TCpart1:'Klikając na "Zachowaj obecny limit" lub "Zastosuj", potwierdzam, że przeczytałem i akceptuję ',TClink:"Ogólne warunki handlowe",TCpart2:"Zapoznaj się również z naszą ",PPlink:"Polityka prywatności",depositLimit:"Zakończone powodzeniem",successful:"Zakończone powodzeniem",successDescription:"Limit wpłat ustawiony pomyślnie. Możesz zarządzać limitami w dowolnym momencie w ustawieniach konta.",kyc1Part1:"Udało nam się ustawić Twój miesięczny limit wpłat na ",kyc1Part2:"Aby zwiększyć limit żądanej kwoty, prosimy o podanie nam odpowiednich informacji. Informacje te można przesłać w przesyłaniu dokumentu.",kycButton:"Wczytywanie dokumentów",closeButton:"zamknij",depositError:"Coś poszło nie tak. Proszę spróbuj ponownie.",errorDescription:"Coś poszło nie tak. Proszę spróbuj ponownie.",docsRequired:"Documents required!",kyc2:"Do wybranego limitu potrzebujemy dokumentów potwierdzających Państwa sytuację finansową. Prosimy o przesłanie ostatniego odcinka wypłaty oraz aktualnego wyciągu bankowego, na którym widnieje stan konta i przychodzące wynagrodzenie."}},es:{lugasPopup:{loading:"Cargando...",setLimit:"Establece un límite",setLimitDescription:"En Alemania",lugasInfo1:"Alguna pregunta? Información sobre",lugasInfo2:"LUGAS",keepCurrentLimit:"MANTENER LÍMITE ACTUAL",keepCurrentLimitButton:"NUEVO LÍMITE",applyButton:"APLICAR",depositPeriod:"Límite Mensual de depósitos",TCpart1:'Dando clic en "Mantener límite actual" o "Aplicar" yo confirmo que he leido y aceptado los',TClink:"Términos y Condiciones Generales",TCpart2:"También note nuestra",PPlink:"Politica de Privacidad",depositLimit:"Límite de depósito establecido",successful:"Exitoso!",successDescription:"El límite de depósito se ha establecido con éxito. Puede administrar sus límites en cualquier momento en la confirguración de la cuenta.",kyc1Part1:"Pudimos estabelecer tu límite de deposito mensual en",kyc1Part2:"Para aumentar el límite a la cantidad deseada",kycButton:"SUBIR DOCUMENTOS / ADJUNTAR DOCUMENTOS",closeButton:"CERRAR",depositError:"Error en actualización de límite de depósito",errorDescription:"No pudimos actualizar tu límite en este momento.",docsRequired:"Documentos requeridos!",kyc2:"Para el límite seleccionado."}}},{document:cn}=R;
574
+ /* src/PlayerAccountGamingLimitsPopup_2.svelte generated by Svelte v3.58.0 */function hn(e){let t;function n(e,t){/*popupState*/
575
+ return"initial"===e[10]?yn:/*popupState*/"successful"===e[10]?gn:/*popupState*/"KYC"===e[10]?dn:/*popupState*/"KYC2"===e[10]?mn:/*popupState*/"error"===e[10]?fn:void 0}let i=n(e),r=i&&i(e);return{c(){t=c("div"),r&&r.c(),d(t,"class","InitialWrapper")},m(e,n){u(e,t,n),r&&r.m(t,null)},p(e,o){i===(i=n(e))&&r?r.p(e,o):(r&&r.d(1),r=i&&i(e),r&&(r.c(),r.m(t,null)))},d(e){e&&l(t),r&&r.d()}}}
573
576
  // (146:8) {#if isLoading}
574
- function pn(e){let t,n,i=/*$_*/e[12]("lugasPopup.loading")+"";return{c(){t=c("p"),n=p(i)},m(e,i){l(e,t,i),a(t,n)},p(e,t){/*$_*/4096&t[0]&&i!==(i=/*$_*/e[12]("lugasPopup.loading")+"")&&y(n,i)},d(e){e&&u(t)}}}
577
+ function pn(e){let t,n,i=/*$_*/e[12]("lugasPopup.loading")+"";return{c(){t=c("p"),n=p(i)},m(e,i){u(e,t,i),a(t,n)},p(e,t){/*$_*/4096&t[0]&&i!==(i=/*$_*/e[12]("lugasPopup.loading")+"")&&y(n,i)},d(e){e&&l(t)}}}
575
578
  // (242:43)
576
- function fn(e){let t,n,i,r,o,s,h,g,b,E,v,P,T=/*$_*/e[12]("lugasPopup.depositError")+"",B=/*$_*/e[12]("lugasPopup.errorDescription")+"",w=/*$_*/e[12]("lugasPopup.closeButton")+"";return{c(){t=c("p"),n=p(T),i=f(),r=c("div"),r.innerHTML='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve"><metadata>Svg Vector Icons : http://www.onlinewebfonts.com/icon </metadata><g><path d="M500,100.9c220,0,399.1,179,399.1,399.1S720.1,899.1,500,899.1c-220.1,0-399.1-179-399.1-399.1C100.9,279.9,279.9,100.9,500,100.9 M500,10C229.4,10,10,229.4,10,500c0,270.6,219.4,490,490,490c270.6,0,490-219.4,490-490C990,229.4,770.6,10,500,10L500,10z"></path><path d="M658.7,734.5L272.2,348l75-75l386.4,386.4L658.7,734.5z"></path><path d="M347.2,734.5l-75-75L658.7,273l75,75L347.2,734.5z"></path></g></svg>',o=f(),s=c("p"),h=p(B),g=f(),b=c("button"),E=p(w),d(t,"class","Title"),d(r,"class","ResultIconWrapper"),d(s,"class","Description CenterAlign"),d(b,"class","ConfirmButton SecondaryButtonStyle")},m(u,c){l(u,t,c),a(t,n),l(u,i,c),l(u,r,c),l(u,o,c),l(u,s,c),a(s,h),l(u,g,c),l(u,b,c),a(b,E),v||(P=m(b,"click",/*click_handler_10*/e[36]),v=!0)},p(e,t){/*$_*/4096&t[0]&&T!==(T=/*$_*/e[12]("lugasPopup.depositError")+"")&&y(n,T),/*$_*/4096&t[0]&&B!==(B=/*$_*/e[12]("lugasPopup.errorDescription")+"")&&y(h,B),/*$_*/4096&t[0]&&w!==(w=/*$_*/e[12]("lugasPopup.closeButton")+"")&&y(E,w)},d(e){e&&u(t),e&&u(i),e&&u(r),e&&u(o),e&&u(s),e&&u(g),e&&u(b),v=!1,P()}}}
579
+ function fn(e){let t,n,i,r,o,s,h,g,b,E,v,P,T=/*$_*/e[12]("lugasPopup.depositError")+"",B=/*$_*/e[12]("lugasPopup.errorDescription")+"",w=/*$_*/e[12]("lugasPopup.closeButton")+"";return{c(){t=c("p"),n=p(T),i=f(),r=c("div"),r.innerHTML='<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 1000 1000" enable-background="new 0 0 1000 1000" xml:space="preserve"><metadata>Svg Vector Icons : http://www.onlinewebfonts.com/icon </metadata><g><path d="M500,100.9c220,0,399.1,179,399.1,399.1S720.1,899.1,500,899.1c-220.1,0-399.1-179-399.1-399.1C100.9,279.9,279.9,100.9,500,100.9 M500,10C229.4,10,10,229.4,10,500c0,270.6,219.4,490,490,490c270.6,0,490-219.4,490-490C990,229.4,770.6,10,500,10L500,10z"></path><path d="M658.7,734.5L272.2,348l75-75l386.4,386.4L658.7,734.5z"></path><path d="M347.2,734.5l-75-75L658.7,273l75,75L347.2,734.5z"></path></g></svg>',o=f(),s=c("p"),h=p(B),g=f(),b=c("button"),E=p(w),d(t,"class","Title"),d(r,"class","ResultIconWrapper"),d(s,"class","Description CenterAlign"),d(b,"class","ConfirmButton SecondaryButtonStyle")},m(l,c){u(l,t,c),a(t,n),u(l,i,c),u(l,r,c),u(l,o,c),u(l,s,c),a(s,h),u(l,g,c),u(l,b,c),a(b,E),v||(P=m(b,"click",/*click_handler_10*/e[36]),v=!0)},p(e,t){/*$_*/4096&t[0]&&T!==(T=/*$_*/e[12]("lugasPopup.depositError")+"")&&y(n,T),/*$_*/4096&t[0]&&B!==(B=/*$_*/e[12]("lugasPopup.errorDescription")+"")&&y(h,B),/*$_*/4096&t[0]&&w!==(w=/*$_*/e[12]("lugasPopup.closeButton")+"")&&y(E,w)},d(e){e&&l(t),e&&l(i),e&&l(r),e&&l(o),e&&l(s),e&&l(g),e&&l(b),v=!1,P()}}}
577
580
  // (219:42)
578
- function mn(e){let t,n,r,o,s,g,b,v,P,T,B,w,L,H,A,k,_,S,C,I,N,M,O=/*$_*/e[12]("lugasPopup.docsRequired")+"",D=/*$_*/e[12]("lugasPopup.docsRequired")+"",R=/*$_*/e[12]("lugasPopup.kyc2")+"",j=/*$_*/e[12]("lugasPopup.kycButton")+"",U=/*$_*/e[12]("lugasPopup.closeButton")+"";return{c(){t=c("p"),n=p(O),r=f(),o=c("div"),s=c("div"),g=h("svg"),b=h("g"),v=h("path"),P=f(),T=c("p"),B=p(D),w=f(),L=c("p"),H=p(R),A=f(),k=c("button"),_=p(j),S=f(),C=c("button"),I=p(U),d(t,"class","Title"),d(v,"id","XMLID_6_"),d(v,"d","M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360\n c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55\n c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1\n h256.5v-82.1H429v366.5H429.9z"),d(b,"id","XMLID_1_"),d(g,"version","1.1"),d(g,"id","Layer_1"),d(g,"xmlns","http://www.w3.org/2000/svg"),d(g,"xmlns:xlink","http://www.w3.org/1999/xlink"),d(g,"x","0px"),d(g,"y","0px"),d(g,"viewBox","0 0 512 512"),E(g,"enable-background","new 0 0 512 512"),d(g,"xml:space","preserve"),d(s,"class","ResultIconWrapper"),d(L,"class","Description CenterAlign"),d(o,"class","DescriptionWrapper"),d(k,"class","KycButton PrimaryButtonStyle"),d(C,"class","ConfirmButton SecondaryButtonStyle")},m(i,u){l(i,t,u),a(t,n),l(i,r,u),l(i,o,u),a(o,s),a(s,g),a(g,b),a(b,v),a(s,P),a(s,T),a(T,B),a(o,w),a(o,L),a(L,H),l(i,A,u),l(i,k,u),a(k,_),l(i,S,u),l(i,C,u),a(C,I),N||(M=[m(k,"click",/*click_handler_8*/e[34]),m(C,"click",/*click_handler_9*/e[35])],N=!0)},p(e,t){/*$_*/4096&t[0]&&O!==(O=/*$_*/e[12]("lugasPopup.docsRequired")+"")&&y(n,O),/*$_*/4096&t[0]&&D!==(D=/*$_*/e[12]("lugasPopup.docsRequired")+"")&&y(B,D),/*$_*/4096&t[0]&&R!==(R=/*$_*/e[12]("lugasPopup.kyc2")+"")&&y(H,R),/*$_*/4096&t[0]&&j!==(j=/*$_*/e[12]("lugasPopup.kycButton")+"")&&y(_,j),/*$_*/4096&t[0]&&U!==(U=/*$_*/e[12]("lugasPopup.closeButton")+"")&&y(I,U)},d(e){e&&u(t),e&&u(r),e&&u(o),e&&u(A),e&&u(k),e&&u(S),e&&u(C),N=!1,i(M)}}}
581
+ function mn(e){let t,n,r,o,s,g,b,v,P,T,B,w,L,H,A,k,_,S,C,I,N,M,D=/*$_*/e[12]("lugasPopup.docsRequired")+"",R=/*$_*/e[12]("lugasPopup.docsRequired")+"",O=/*$_*/e[12]("lugasPopup.kyc2")+"",U=/*$_*/e[12]("lugasPopup.kycButton")+"",j=/*$_*/e[12]("lugasPopup.closeButton")+"";return{c(){t=c("p"),n=p(D),r=f(),o=c("div"),s=c("div"),g=h("svg"),b=h("g"),v=h("path"),P=f(),T=c("p"),B=p(R),w=f(),L=c("p"),H=p(O),A=f(),k=c("button"),_=p(U),S=f(),C=c("button"),I=p(j),d(t,"class","Title"),d(v,"id","XMLID_6_"),d(v,"d","M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360\n c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55\n c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1\n h256.5v-82.1H429v366.5H429.9z"),d(b,"id","XMLID_1_"),d(g,"version","1.1"),d(g,"id","Layer_1"),d(g,"xmlns","http://www.w3.org/2000/svg"),d(g,"xmlns:xlink","http://www.w3.org/1999/xlink"),d(g,"x","0px"),d(g,"y","0px"),d(g,"viewBox","0 0 512 512"),E(g,"enable-background","new 0 0 512 512"),d(g,"xml:space","preserve"),d(s,"class","ResultIconWrapper"),d(L,"class","Description CenterAlign"),d(o,"class","DescriptionWrapper"),d(k,"class","KycButton PrimaryButtonStyle"),d(C,"class","ConfirmButton SecondaryButtonStyle")},m(i,l){u(i,t,l),a(t,n),u(i,r,l),u(i,o,l),a(o,s),a(s,g),a(g,b),a(b,v),a(s,P),a(s,T),a(T,B),a(o,w),a(o,L),a(L,H),u(i,A,l),u(i,k,l),a(k,_),u(i,S,l),u(i,C,l),a(C,I),N||(M=[m(k,"click",/*click_handler_8*/e[34]),m(C,"click",/*click_handler_9*/e[35])],N=!0)},p(e,t){/*$_*/4096&t[0]&&D!==(D=/*$_*/e[12]("lugasPopup.docsRequired")+"")&&y(n,D),/*$_*/4096&t[0]&&R!==(R=/*$_*/e[12]("lugasPopup.docsRequired")+"")&&y(B,R),/*$_*/4096&t[0]&&O!==(O=/*$_*/e[12]("lugasPopup.kyc2")+"")&&y(H,O),/*$_*/4096&t[0]&&U!==(U=/*$_*/e[12]("lugasPopup.kycButton")+"")&&y(_,U),/*$_*/4096&t[0]&&j!==(j=/*$_*/e[12]("lugasPopup.closeButton")+"")&&y(I,j)},d(e){e&&l(t),e&&l(r),e&&l(o),e&&l(A),e&&l(k),e&&l(S),e&&l(C),N=!1,i(M)}}}
579
582
  // (196:41)
580
- function dn(e){let t,n,r,o,s,g,b,v,P,T,B,w,L,H,A,k,_,S,C,I,N,M,O,D,R,j,U=/*$_*/e[12]("lugasPopup.depositLimit")+"",x=/*$_*/e[12]("lugasPopup.successful")+"",G=/*$_*/e[12]("lugasPopup.kyc1Part1")+"",z=/*$_*/e[12]("lugasPopup.kyc1Part2")+"",$=/*$_*/e[12]("lugasPopup.kycButton")+"",F=/*$_*/e[12]("lugasPopup.closeButton")+"";return{c(){t=c("p"),n=p(U),r=f(),o=c("div"),s=c("div"),g=h("svg"),b=h("g"),v=h("path"),P=f(),T=c("p"),B=p(x),w=f(),L=c("p"),H=p(G),A=p(/*legislatorLimitValue*/e[11]),k=f(),_=p(/*currency*/e[0]),S=p(z),C=f(),I=c("button"),N=p($),M=f(),O=c("button"),D=p(F),d(t,"class","Title"),d(v,"id","XMLID_6_"),d(v,"d","M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360\n c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55\n c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1\n h256.5v-82.1H429v366.5H429.9z"),d(b,"id","XMLID_1_"),d(g,"version","1.1"),d(g,"id","Layer_1"),d(g,"xmlns","http://www.w3.org/2000/svg"),d(g,"xmlns:xlink","http://www.w3.org/1999/xlink"),d(g,"x","0px"),d(g,"y","0px"),d(g,"viewBox","0 0 512 512"),E(g,"enable-background","new 0 0 512 512"),d(g,"xml:space","preserve"),d(s,"class","ResultIconWrapper"),d(L,"class","Description CenterAlign"),d(o,"class","DescriptionWrapper"),d(I,"class","KycButton PrimaryButtonStyle"),d(O,"class","ConfirmButton SecondaryButtonStyle")},m(i,u){l(i,t,u),a(t,n),l(i,r,u),l(i,o,u),a(o,s),a(s,g),a(g,b),a(b,v),a(s,P),a(s,T),a(T,B),a(o,w),a(o,L),a(L,H),a(L,A),a(L,k),a(L,_),a(L,S),l(i,C,u),l(i,I,u),a(I,N),l(i,M,u),l(i,O,u),a(O,D),R||(j=[m(I,"click",/*click_handler_6*/e[32]),m(O,"click",/*click_handler_7*/e[33])],R=!0)},p(e,t){/*$_*/4096&t[0]&&U!==(U=/*$_*/e[12]("lugasPopup.depositLimit")+"")&&y(n,U),/*$_*/4096&t[0]&&x!==(x=/*$_*/e[12]("lugasPopup.successful")+"")&&y(B,x),/*$_*/4096&t[0]&&G!==(G=/*$_*/e[12]("lugasPopup.kyc1Part1")+"")&&y(H,G),/*legislatorLimitValue*/2048&t[0]&&y(A,/*legislatorLimitValue*/e[11]),/*currency*/1&t[0]&&y(_,/*currency*/e[0]),/*$_*/4096&t[0]&&z!==(z=/*$_*/e[12]("lugasPopup.kyc1Part2")+"")&&y(S,z),/*$_*/4096&t[0]&&$!==($=/*$_*/e[12]("lugasPopup.kycButton")+"")&&y(N,$),/*$_*/4096&t[0]&&F!==(F=/*$_*/e[12]("lugasPopup.closeButton")+"")&&y(D,F)},d(e){e&&u(t),e&&u(r),e&&u(o),e&&u(C),e&&u(I),e&&u(M),e&&u(O),R=!1,i(j)}}}
583
+ function dn(e){let t,n,r,o,s,g,b,v,P,T,B,w,L,H,A,k,_,S,C,I,N,M,D,R,O,U,j=/*$_*/e[12]("lugasPopup.depositLimit")+"",x=/*$_*/e[12]("lugasPopup.successful")+"",G=/*$_*/e[12]("lugasPopup.kyc1Part1")+"",z=/*$_*/e[12]("lugasPopup.kyc1Part2")+"",$=/*$_*/e[12]("lugasPopup.kycButton")+"",F=/*$_*/e[12]("lugasPopup.closeButton")+"";return{c(){t=c("p"),n=p(j),r=f(),o=c("div"),s=c("div"),g=h("svg"),b=h("g"),v=h("path"),P=f(),T=c("p"),B=p(x),w=f(),L=c("p"),H=p(G),A=p(/*legislatorLimitValue*/e[11]),k=f(),_=p(/*currency*/e[0]),S=p(z),C=f(),I=c("button"),N=p($),M=f(),D=c("button"),R=p(F),d(t,"class","Title"),d(v,"id","XMLID_6_"),d(v,"d","M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360\n c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55\n c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1\n h256.5v-82.1H429v366.5H429.9z"),d(b,"id","XMLID_1_"),d(g,"version","1.1"),d(g,"id","Layer_1"),d(g,"xmlns","http://www.w3.org/2000/svg"),d(g,"xmlns:xlink","http://www.w3.org/1999/xlink"),d(g,"x","0px"),d(g,"y","0px"),d(g,"viewBox","0 0 512 512"),E(g,"enable-background","new 0 0 512 512"),d(g,"xml:space","preserve"),d(s,"class","ResultIconWrapper"),d(L,"class","Description CenterAlign"),d(o,"class","DescriptionWrapper"),d(I,"class","KycButton PrimaryButtonStyle"),d(D,"class","ConfirmButton SecondaryButtonStyle")},m(i,l){u(i,t,l),a(t,n),u(i,r,l),u(i,o,l),a(o,s),a(s,g),a(g,b),a(b,v),a(s,P),a(s,T),a(T,B),a(o,w),a(o,L),a(L,H),a(L,A),a(L,k),a(L,_),a(L,S),u(i,C,l),u(i,I,l),a(I,N),u(i,M,l),u(i,D,l),a(D,R),O||(U=[m(I,"click",/*click_handler_6*/e[32]),m(D,"click",/*click_handler_7*/e[33])],O=!0)},p(e,t){/*$_*/4096&t[0]&&j!==(j=/*$_*/e[12]("lugasPopup.depositLimit")+"")&&y(n,j),/*$_*/4096&t[0]&&x!==(x=/*$_*/e[12]("lugasPopup.successful")+"")&&y(B,x),/*$_*/4096&t[0]&&G!==(G=/*$_*/e[12]("lugasPopup.kyc1Part1")+"")&&y(H,G),/*legislatorLimitValue*/2048&t[0]&&y(A,/*legislatorLimitValue*/e[11]),/*currency*/1&t[0]&&y(_,/*currency*/e[0]),/*$_*/4096&t[0]&&z!==(z=/*$_*/e[12]("lugasPopup.kyc1Part2")+"")&&y(S,z),/*$_*/4096&t[0]&&$!==($=/*$_*/e[12]("lugasPopup.kycButton")+"")&&y(N,$),/*$_*/4096&t[0]&&F!==(F=/*$_*/e[12]("lugasPopup.closeButton")+"")&&y(R,F)},d(e){e&&l(t),e&&l(r),e&&l(o),e&&l(C),e&&l(I),e&&l(M),e&&l(D),O=!1,i(U)}}}
581
584
  // (179:48)
582
- function gn(e){let t,n,i,r,o,s,g,b,v,P,T,B,w,L,H,A,k,_,S,C,I,N=/*$_*/e[12]("lugasPopup.depositLimit")+"",M=/*$_*/e[12]("lugasPopup.successful")+"",O=/*$_*/e[12]("lugasPopup.successDescription")+"";return{c(){t=c("p"),n=p(N),i=f(),r=c("div"),o=c("div"),s=h("svg"),g=h("defs"),b=h("style"),v=p(".fil0 {fill:black;fill-rule:nonzero}\n "),P=h("g"),T=h("polygon"),B=f(),w=c("p"),L=p(M),H=f(),A=c("p"),k=p(O),_=f(),S=c("button"),S.textContent="OK",d(t,"class","Title"),d(b,"type","text/css"),d(T,"class","fil0"),d(T,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),d(s,"xmlns","http://www.w3.org/2000/svg"),d(s,"xmlns:xlink","http://www.w3.org/1999/xlink"),d(s,"xml:space","preserve"),d(s,"version","1.1"),E(s,"shape-rendering","geometricPrecision"),E(s,"text-rendering","geometricPrecision"),E(s,"image-rendering","optimizeQuality"),d(s,"viewBox","0 0 90 69"),d(s,"x","0px"),d(s,"y","0px"),d(s,"fill-rule","evenodd"),d(s,"clip-rule","evenodd"),d(o,"class","ResultIconWrapper"),d(A,"class","Description CenterAlign"),d(r,"class","DescriptionWrapper"),d(S,"class","ConfirmButton PrimaryButtonStyle")},m(u,c){l(u,t,c),a(t,n),l(u,i,c),l(u,r,c),a(r,o),a(o,s),a(s,g),a(g,b),a(b,v),a(s,P),a(P,T),a(o,B),a(o,w),a(w,L),a(r,H),a(r,A),a(A,k),l(u,_,c),l(u,S,c),C||(I=m(S,"click",/*click_handler_5*/e[31]),C=!0)},p(e,t){/*$_*/4096&t[0]&&N!==(N=/*$_*/e[12]("lugasPopup.depositLimit")+"")&&y(n,N),/*$_*/4096&t[0]&&M!==(M=/*$_*/e[12]("lugasPopup.successful")+"")&&y(L,M),/*$_*/4096&t[0]&&O!==(O=/*$_*/e[12]("lugasPopup.successDescription")+"")&&y(k,O)},d(e){e&&u(t),e&&u(i),e&&u(r),e&&u(_),e&&u(S),C=!1,I()}}}
585
+ function gn(e){let t,n,i,r,o,s,g,b,v,P,T,B,w,L,H,A,k,_,S,C,I,N=/*$_*/e[12]("lugasPopup.depositLimit")+"",M=/*$_*/e[12]("lugasPopup.successful")+"",D=/*$_*/e[12]("lugasPopup.successDescription")+"";return{c(){t=c("p"),n=p(N),i=f(),r=c("div"),o=c("div"),s=h("svg"),g=h("defs"),b=h("style"),v=p(".fil0 {fill:black;fill-rule:nonzero}\n "),P=h("g"),T=h("polygon"),B=f(),w=c("p"),L=p(M),H=f(),A=c("p"),k=p(D),_=f(),S=c("button"),S.textContent="OK",d(t,"class","Title"),d(b,"type","text/css"),d(T,"class","fil0"),d(T,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),d(s,"xmlns","http://www.w3.org/2000/svg"),d(s,"xmlns:xlink","http://www.w3.org/1999/xlink"),d(s,"xml:space","preserve"),d(s,"version","1.1"),E(s,"shape-rendering","geometricPrecision"),E(s,"text-rendering","geometricPrecision"),E(s,"image-rendering","optimizeQuality"),d(s,"viewBox","0 0 90 69"),d(s,"x","0px"),d(s,"y","0px"),d(s,"fill-rule","evenodd"),d(s,"clip-rule","evenodd"),d(o,"class","ResultIconWrapper"),d(A,"class","Description CenterAlign"),d(r,"class","DescriptionWrapper"),d(S,"class","ConfirmButton PrimaryButtonStyle")},m(l,c){u(l,t,c),a(t,n),u(l,i,c),u(l,r,c),a(r,o),a(o,s),a(s,g),a(g,b),a(b,v),a(s,P),a(P,T),a(o,B),a(o,w),a(w,L),a(r,H),a(r,A),a(A,k),u(l,_,c),u(l,S,c),C||(I=m(S,"click",/*click_handler_5*/e[31]),C=!0)},p(e,t){/*$_*/4096&t[0]&&N!==(N=/*$_*/e[12]("lugasPopup.depositLimit")+"")&&y(n,N),/*$_*/4096&t[0]&&M!==(M=/*$_*/e[12]("lugasPopup.successful")+"")&&y(L,M),/*$_*/4096&t[0]&&D!==(D=/*$_*/e[12]("lugasPopup.successDescription")+"")&&y(k,D)},d(e){e&&l(t),e&&l(i),e&&l(r),e&&l(_),e&&l(S),C=!1,I()}}}
583
586
  // (150:10) {#if popupState === "initial"}
584
- function yn(e){let t,n,r,o,s,E,P,T,B,w,L,H,A,k,_,S,C,I,N,M,O,D,R,j,U,x,G,z,$,F,V,K,X,Z,W,Y,q,J,Q,ee,te,ne,ie,re,oe=/*$_*/e[12]("lugasPopup.setLimit")+"",se=/*$_*/e[12]("lugasPopup.setLimitDescription")+"",ae=/*$_*/e[12]("lugasPopup.lugasInfo1")+"",le=/*$_*/e[12]("lugasPopup.lugasInfo2")+"",ue=/*$_*/e[12]("lugasPopup.keepCurrentLimit")+"",ce=/*$_*/e[12]("lugasPopup.keepCurrentLimitButton")+"",he=/*$_*/e[12]("lugasPopup.depositPeriod")+"",pe=/*$_*/e[12]("lugasPopup.applyButton")+"",fe=/*$_*/e[12]("lugasPopup.TCpart1")+"",me=/*$_*/e[12]("lugasPopup.TClink")+"",de=/*$_*/e[12]("lugasPopup.TCpart2")+"",ge=/*$_*/e[12]("lugasPopup.PPlink")+"";return{c(){t=c("p"),n=p(oe),r=f(),o=c("p"),s=p(se),E=f(),P=c("p"),T=p(ae),B=f(),w=c("button"),L=p(le),H=f(),A=c("button"),k=p(ue),_=f(),S=c("button"),C=p(ce),I=h("svg"),N=h("path"),M=h("path"),O=f(),D=c("div"),R=c("div"),j=c("span"),U=p(he),x=f(),G=c("div"),z=c("input"),$=f(),F=c("button"),V=p(pe),K=f(),X=c("p"),Z=p(fe),W=c("button"),Y=p(me),q=f(),J=p(de),Q=f(),ee=c("button"),te=p(ge),ne=p("."),d(t,"class","Title"),d(o,"class","Description LeftAlign"),d(w,"class","LinkButton"),d(P,"class","AdditionalInformation"),d(A,"class","KeepCurrentButton PrimaryButtonStyle"),d(N,"d","M10.5 15l7.5 7.5 7.5-7.5z"),d(M,"d","M0 0h36v36h-36z"),d(M,"fill","none"),d(I,"class","ExpandArrow"),d(I,"xmlns","http://www.w3.org/2000/svg"),d(I,"width","36"),d(I,"height","36"),d(I,"viewBox","0 0 36 36"),d(I,"fill","#999"),v(I,"Extended",/*extended*/e[5]),d(S,"class","ExpandButton"),d(j,"class","DepositPeriodText"),d(R,"class","DepositTextSection"),d(z,"type","number"),d(z,"class","DepositInput"),d(F,"type","submit"),d(F,"class","SubmitDepositButton PrimaryButtonStyle"),F.disabled=!0,d(G,"class","DepositInputSection"),d(D,"class","SetLimitSection"),v(D,"Hidden",/*hidden*/e[4]),d(W,"class","LinkButton"),d(ee,"class","LinkButton"),d(X,"class","TermsConditions")},m(i,u){l(i,t,u),a(t,n),l(i,r,u),l(i,o,u),a(o,s),l(i,E,u),l(i,P,u),a(P,T),a(P,B),a(P,w),a(w,L),l(i,H,u),l(i,A,u),a(A,k),l(i,_,u),l(i,S,u),a(S,C),a(S,I),a(I,N),a(I,M),
585
- /*svg_binding*/e[25](I),l(i,O,u),l(i,D,u),a(D,R),a(R,j),a(j,U),a(D,x),a(D,G),a(G,z),b(z,/*inputAmount*/e[6]),a(G,$),a(G,F),a(F,V),
586
- /*button3_binding*/e[27](F),l(i,K,u),l(i,X,u),a(X,Z),a(X,W),a(W,Y),a(X,q),a(X,J),a(X,Q),a(X,ee),a(ee,te),a(X,ne),ie||(re=[m(w,"click",/*click_handler*/e[23]),m(A,"click",/*click_handler_1*/e[24]),m(S,"click",/*toggleNewLimitArea*/e[13]),m(z,"input",/*input_input_handler*/e[26]),m(z,"keyup",/*updateInputValue*/e[14]),m(F,"click",/*click_handler_2*/e[28]),m(W,"click",/*click_handler_3*/e[29]),m(ee,"click",/*click_handler_4*/e[30])],ie=!0)},p(e,t){/*$_*/4096&t[0]&&oe!==(oe=/*$_*/e[12]("lugasPopup.setLimit")+"")&&y(n,oe),/*$_*/4096&t[0]&&se!==(se=/*$_*/e[12]("lugasPopup.setLimitDescription")+"")&&y(s,se),/*$_*/4096&t[0]&&ae!==(ae=/*$_*/e[12]("lugasPopup.lugasInfo1")+"")&&y(T,ae),/*$_*/4096&t[0]&&le!==(le=/*$_*/e[12]("lugasPopup.lugasInfo2")+"")&&y(L,le),/*$_*/4096&t[0]&&ue!==(ue=/*$_*/e[12]("lugasPopup.keepCurrentLimit")+"")&&y(k,ue),/*$_*/4096&t[0]&&ce!==(ce=/*$_*/e[12]("lugasPopup.keepCurrentLimitButton")+"")&&y(C,ce),/*extended*/32&t[0]&&v(I,"Extended",/*extended*/e[5]),/*$_*/4096&t[0]&&he!==(he=/*$_*/e[12]("lugasPopup.depositPeriod")+"")&&y(U,he),/*inputAmount*/64&t[0]&&g(z.value)!==/*inputAmount*/e[6]&&b(z,/*inputAmount*/e[6]),/*$_*/4096&t[0]&&pe!==(pe=/*$_*/e[12]("lugasPopup.applyButton")+"")&&y(V,pe),/*hidden*/16&t[0]&&v(D,"Hidden",/*hidden*/e[4]),/*$_*/4096&t[0]&&fe!==(fe=/*$_*/e[12]("lugasPopup.TCpart1")+"")&&y(Z,fe),/*$_*/4096&t[0]&&me!==(me=/*$_*/e[12]("lugasPopup.TClink")+"")&&y(Y,me),/*$_*/4096&t[0]&&de!==(de=/*$_*/e[12]("lugasPopup.TCpart2")+"")&&y(J,de),/*$_*/4096&t[0]&&ge!==(ge=/*$_*/e[12]("lugasPopup.PPlink")+"")&&y(te,ge)},d(n){n&&u(t),n&&u(r),n&&u(o),n&&u(E),n&&u(P),n&&u(H),n&&u(A),n&&u(_),n&&u(S)
587
- /*svg_binding*/,e[25](null),n&&u(O),n&&u(D)
588
- /*button3_binding*/,e[27](null),n&&u(K),n&&u(X),ie=!1,i(re)}}}function bn(t){let n,i,r,o,s,h;function p(e,t){/*isLoading*/
589
- return e[7]?pn:/*lang*/e[1]?hn:void 0}let m=p(t),g=m&&m(t);return{c(){n=c("meta"),i=f(),r=c("div"),o=c("div"),s=c("div"),h=c("div"),g&&g.c(),this.c=e,d(n,"name","viewport"),d(n,"content","width=device-width, initial-scale=1"),d(h,"class","ModalContainer"),d(s,"class","Overlay"),d(o,"class","player-account-gaming-limits-popup-2")},m(e,u){a(cn.head,n),l(e,i,u),l(e,r,u),a(r,o),a(o,s),a(s,h),g&&g.m(h,null)
587
+ function yn(e){let t,n,r,o,s,E,P,T,B,w,L,H,A,k,_,S,C,I,N,M,D,R,O,U,j,x,G,z,$,F,V,K,X,Z,W,Y,q,J,Q,ee,te,ne,ie,re,oe=/*$_*/e[12]("lugasPopup.setLimit")+"",se=/*$_*/e[12]("lugasPopup.setLimitDescription")+"",ae=/*$_*/e[12]("lugasPopup.lugasInfo1")+"",ue=/*$_*/e[12]("lugasPopup.lugasInfo2")+"",le=/*$_*/e[12]("lugasPopup.keepCurrentLimit")+"",ce=/*$_*/e[12]("lugasPopup.keepCurrentLimitButton")+"",he=/*$_*/e[12]("lugasPopup.depositPeriod")+"",pe=/*$_*/e[12]("lugasPopup.applyButton")+"",fe=/*$_*/e[12]("lugasPopup.TCpart1")+"",me=/*$_*/e[12]("lugasPopup.TClink")+"",de=/*$_*/e[12]("lugasPopup.TCpart2")+"",ge=/*$_*/e[12]("lugasPopup.PPlink")+"";return{c(){t=c("p"),n=p(oe),r=f(),o=c("p"),s=p(se),E=f(),P=c("p"),T=p(ae),B=f(),w=c("button"),L=p(ue),H=f(),A=c("button"),k=p(le),_=f(),S=c("button"),C=p(ce),I=h("svg"),N=h("path"),M=h("path"),D=f(),R=c("div"),O=c("div"),U=c("span"),j=p(he),x=f(),G=c("div"),z=c("input"),$=f(),F=c("button"),V=p(pe),K=f(),X=c("p"),Z=p(fe),W=c("button"),Y=p(me),q=f(),J=p(de),Q=f(),ee=c("button"),te=p(ge),ne=p("."),d(t,"class","Title"),d(o,"class","Description LeftAlign"),d(w,"class","LinkButton"),d(P,"class","AdditionalInformation"),d(A,"class","KeepCurrentButton PrimaryButtonStyle"),d(N,"d","M10.5 15l7.5 7.5 7.5-7.5z"),d(M,"d","M0 0h36v36h-36z"),d(M,"fill","none"),d(I,"class","ExpandArrow"),d(I,"xmlns","http://www.w3.org/2000/svg"),d(I,"width","36"),d(I,"height","36"),d(I,"viewBox","0 0 36 36"),d(I,"fill","#999"),v(I,"Extended",/*extended*/e[5]),d(S,"class","ExpandButton"),d(U,"class","DepositPeriodText"),d(O,"class","DepositTextSection"),d(z,"type","number"),d(z,"class","DepositInput"),d(F,"type","submit"),d(F,"class","SubmitDepositButton PrimaryButtonStyle"),F.disabled=!0,d(G,"class","DepositInputSection"),d(R,"class","SetLimitSection"),v(R,"Hidden",/*hidden*/e[4]),d(W,"class","LinkButton"),d(ee,"class","LinkButton"),d(X,"class","TermsConditions")},m(i,l){u(i,t,l),a(t,n),u(i,r,l),u(i,o,l),a(o,s),u(i,E,l),u(i,P,l),a(P,T),a(P,B),a(P,w),a(w,L),u(i,H,l),u(i,A,l),a(A,k),u(i,_,l),u(i,S,l),a(S,C),a(S,I),a(I,N),a(I,M),
588
+ /*svg_binding*/e[25](I),u(i,D,l),u(i,R,l),a(R,O),a(O,U),a(U,j),a(R,x),a(R,G),a(G,z),b(z,/*inputAmount*/e[6]),a(G,$),a(G,F),a(F,V),
589
+ /*button3_binding*/e[27](F),u(i,K,l),u(i,X,l),a(X,Z),a(X,W),a(W,Y),a(X,q),a(X,J),a(X,Q),a(X,ee),a(ee,te),a(X,ne),ie||(re=[m(w,"click",/*click_handler*/e[23]),m(A,"click",/*click_handler_1*/e[24]),m(S,"click",/*toggleNewLimitArea*/e[13]),m(z,"input",/*input_input_handler*/e[26]),m(z,"keyup",/*updateInputValue*/e[14]),m(F,"click",/*click_handler_2*/e[28]),m(W,"click",/*click_handler_3*/e[29]),m(ee,"click",/*click_handler_4*/e[30])],ie=!0)},p(e,t){/*$_*/4096&t[0]&&oe!==(oe=/*$_*/e[12]("lugasPopup.setLimit")+"")&&y(n,oe),/*$_*/4096&t[0]&&se!==(se=/*$_*/e[12]("lugasPopup.setLimitDescription")+"")&&y(s,se),/*$_*/4096&t[0]&&ae!==(ae=/*$_*/e[12]("lugasPopup.lugasInfo1")+"")&&y(T,ae),/*$_*/4096&t[0]&&ue!==(ue=/*$_*/e[12]("lugasPopup.lugasInfo2")+"")&&y(L,ue),/*$_*/4096&t[0]&&le!==(le=/*$_*/e[12]("lugasPopup.keepCurrentLimit")+"")&&y(k,le),/*$_*/4096&t[0]&&ce!==(ce=/*$_*/e[12]("lugasPopup.keepCurrentLimitButton")+"")&&y(C,ce),/*extended*/32&t[0]&&v(I,"Extended",/*extended*/e[5]),/*$_*/4096&t[0]&&he!==(he=/*$_*/e[12]("lugasPopup.depositPeriod")+"")&&y(j,he),/*inputAmount*/64&t[0]&&g(z.value)!==/*inputAmount*/e[6]&&b(z,/*inputAmount*/e[6]),/*$_*/4096&t[0]&&pe!==(pe=/*$_*/e[12]("lugasPopup.applyButton")+"")&&y(V,pe),/*hidden*/16&t[0]&&v(R,"Hidden",/*hidden*/e[4]),/*$_*/4096&t[0]&&fe!==(fe=/*$_*/e[12]("lugasPopup.TCpart1")+"")&&y(Z,fe),/*$_*/4096&t[0]&&me!==(me=/*$_*/e[12]("lugasPopup.TClink")+"")&&y(Y,me),/*$_*/4096&t[0]&&de!==(de=/*$_*/e[12]("lugasPopup.TCpart2")+"")&&y(J,de),/*$_*/4096&t[0]&&ge!==(ge=/*$_*/e[12]("lugasPopup.PPlink")+"")&&y(te,ge)},d(n){n&&l(t),n&&l(r),n&&l(o),n&&l(E),n&&l(P),n&&l(H),n&&l(A),n&&l(_),n&&l(S)
590
+ /*svg_binding*/,e[25](null),n&&l(D),n&&l(R)
591
+ /*button3_binding*/,e[27](null),n&&l(K),n&&l(X),ie=!1,i(re)}}}function bn(t){let n,i,r,o,s,h;function p(e,t){/*isLoading*/
592
+ return e[7]?pn:/*lang*/e[1]?hn:void 0}let m=p(t),g=m&&m(t);return{c(){n=c("meta"),i=f(),r=c("div"),o=c("div"),s=c("div"),h=c("div"),g&&g.c(),this.c=e,d(n,"name","viewport"),d(n,"content","width=device-width, initial-scale=1"),d(h,"class","ModalContainer"),d(s,"class","Overlay"),d(o,"class","player-account-gaming-limits-popup-2")},m(e,l){a(cn.head,n),u(e,i,l),u(e,r,l),a(r,o),a(o,s),a(s,h),g&&g.m(h,null)
590
593
  /*div2_binding*/,t[37](o),
591
- /*div3_binding*/t[38](r)},p(e,t){m===(m=p(e))&&g?g.p(e,t):(g&&g.d(1),g=m&&m(e),g&&(g.c(),g.m(h,null)))},i:e,o:e,d(e){u(n),e&&u(i),e&&u(r),g&&g.d()
594
+ /*div3_binding*/t[38](r)},p(e,t){m===(m=p(e))&&g?g.p(e,t):(g&&g.d(1),g=m&&m(e),g&&(g.c(),g.m(h,null)))},i:e,o:e,d(e){l(n),e&&l(i),e&&l(r),g&&g.d()
592
595
  /*div2_binding*/,t[37](null),
593
- /*div3_binding*/t[38](null)}}}function En(e,t,n){let i;var r,o;r=an,o=e=>n(12,i=e),e.$$.on_destroy.push(s(r,o));let a,l,u,c,h,p,{userid:f=""}=t,{session:m=""}=t,{endpoint:d=""}=t,{currency:y=""}=t,{lang:b=""}=t,{translationurl:E=""}=t,{clientstyling:v=""}=t,{clientstylingurl:P=""}=t,T=!0,B=!1,w=!1,H="initial";Object.keys(un).forEach((e=>{ln(e,un[e])}));const A=e=>{switch(window.postMessage({type:e}),e){case"closePopup":case"uploadDocuments":h.parentNode.removeChild(h)}},k=e=>{const t=new URL(`/v1/player/${f}/limit/lugas`,d);let i={};n(7,w=!0),i="custom"===e?{amount:u}:{};let r={method:"POST",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(i)};fetch(t.href,r).then((e=>e.json())).then((e=>{_(e)})).catch((e=>{console.log(e)})).finally((()=>{n(7,w=!1)}))},_=e=>{if(e.hasOwnProperty("kycNeeded"))switch(e.popup){case 1:n(10,H="KYC"),n(11,p=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.operatorDepositLimitAmount));break;case 2:n(10,H="successful");break;case 3:n(10,H="KYC2")}else n(10,H="error")},S=()=>{var e;e=b,Zt.set(e)};return e.$$set=e=>{"userid"in e&&n(17,f=e.userid),"session"in e&&n(18,m=e.session),"endpoint"in e&&n(19,d=e.endpoint),"currency"in e&&n(0,y=e.currency),"lang"in e&&n(1,b=e.lang),"translationurl"in e&&n(20,E=e.translationurl),"clientstyling"in e&&n(21,v=e.clientstyling),"clientstylingurl"in e&&n(22,P=e.clientstylingurl)},e.$$.update=()=>{/*lang*/2&e.$$.dirty[0]&&b&&S(),/*clientstylingurl, customStylingContainer*/4194308&e.$$.dirty[0]&&P&&a&&(()=>{let e=new URL(P),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{a.appendChild(t)}),1)}))})(),/*clientstyling, customStylingContainer*/2097156&e.$$.dirty[0]&&v&&a&&(()=>{let e=document.createElement("style");e.innerHTML=v,a.appendChild(e)})(),/*translationurl*/1048576&e.$$.dirty[0]&&E&&fetch(E).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{ln(t,e[t])}))})).catch((e=>{console.log(e)}))},[y,b,a,l,T,B,u,w,c,h,H,p,i,()=>{n(5,B=!B),n(4,T=!T)},()=>{const e=999999999999999;u>e&&n(6,u=e);const t=u-Math.floor(u)==0;u>0&&t?c.removeAttribute("disabled"):c.setAttribute("disabled","true")},A,k,f,m,d,E,v,P,()=>A("lugasInformation"),()=>k("default"),function(e){L[e?"unshift":"push"]((()=>{l=e,n(3,l)}))},function(){u=g(this.value),n(6,u)},function(e){L[e?"unshift":"push"]((()=>{c=e,n(8,c)}))},()=>k("custom"),()=>A("termsConditions"),()=>A("privacyPolicy"),()=>A("closePopup"),()=>A("uploadDocuments"),()=>A("closePopup"),()=>A("uploadDocuments"),()=>A("closePopup"),()=>A("closePopup"),function(e){L[e?"unshift":"push"]((()=>{h=e,n(9,h)}))},function(e){L[e?"unshift":"push"]((()=>{a=e,n(2,a)}))}]}class vn extends U{constructor(e){super(),this.shadowRoot.innerHTML='<style>:host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;outline:none;box-sizing:border-box}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-popup-2{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #000)}.Title{font-weight:800;font-size:18px}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{font-size:14px;color:#fff;background:rgb(122, 195, 23)}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.LinkButton{display:inline;padding:0;color:#3366CC;text-decoration:underline;background-color:rgba(0, 0, 0, 0)}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center;margin:12px 0}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.Overlay{position:absolute;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:320px;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{margin:10px 0;font-size:14px}.TermsConditions{font-size:12px}.ExpandButton{font-size:14px;background-color:#fff;border:0;padding:0;margin-top:-10px;color:#999;display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left;font-size:16px}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:#ccc;cursor:not-allowed;background:#fff;border:#ccc 1px solid}.Hidden{display:none}.Extended{transform:rotate(180deg)}</style>',j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},En,bn,o,{userid:17,session:18,endpoint:19,currency:0,lang:1,translationurl:20,clientstyling:21,clientstylingurl:22},null,[-1,-1]),e&&(e.target&&l(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["userid","session","endpoint","currency","lang","translationurl","clientstyling","clientstylingurl"]}get userid(){return this.$$.ctx[17]}set userid(e){this.$$set({userid:e}),N()}get session(){return this.$$.ctx[18]}set session(e){this.$$set({session:e}),N()}get endpoint(){return this.$$.ctx[19]}set endpoint(e){this.$$set({endpoint:e}),N()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),N()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),N()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),N()}get clientstyling(){return this.$$.ctx[21]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[22]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),N()}}return!customElements.get("player-account-gaming-limits-popup-2")&&customElements.define("player-account-gaming-limits-popup-2",vn),vn}));
596
+ /*div3_binding*/t[38](null)}}}function En(e,t,n){let i;var r,o;r=an,o=e=>n(12,i=e),e.$$.on_destroy.push(s(r,o));let a,u,l,c,h,p,{userid:f=""}=t,{session:m=""}=t,{endpoint:d=""}=t,{currency:y=""}=t,{lang:b=""}=t,{translationurl:E=""}=t,{clientstyling:v=""}=t,{clientstylingurl:P=""}=t,T=!0,B=!1,w=!1,H="initial";Object.keys(ln).forEach((e=>{un(e,ln[e])}));const A=e=>{switch(window.postMessage({type:e}),e){case"closePopup":case"uploadDocuments":h.parentNode.removeChild(h)}},k=e=>{const t=new URL(`/v1/player/${f}/limit/lugas`,d);let i={};n(7,w=!0),i="custom"===e?{amount:l}:{};let r={method:"POST",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(i)};fetch(t.href,r).then((e=>e.json())).then((e=>{_(e)})).catch((e=>{console.log(e)})).finally((()=>{n(7,w=!1)}))},_=e=>{if(e.hasOwnProperty("kycNeeded"))switch(e.popup){case 1:n(10,H="KYC"),n(11,p=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.operatorDepositLimitAmount));break;case 2:n(10,H="successful");break;case 3:n(10,H="KYC2")}else n(10,H="error")},S=()=>{var e;e=b,Zt.set(e)};return e.$$set=e=>{"userid"in e&&n(17,f=e.userid),"session"in e&&n(18,m=e.session),"endpoint"in e&&n(19,d=e.endpoint),"currency"in e&&n(0,y=e.currency),"lang"in e&&n(1,b=e.lang),"translationurl"in e&&n(20,E=e.translationurl),"clientstyling"in e&&n(21,v=e.clientstyling),"clientstylingurl"in e&&n(22,P=e.clientstylingurl)},e.$$.update=()=>{/*lang*/2&e.$$.dirty[0]&&b&&S(),/*clientstylingurl, customStylingContainer*/4194308&e.$$.dirty[0]&&P&&a&&(()=>{let e=new URL(P),t=document.createElement("style");fetch(e.href).then((e=>e.text())).then((e=>{t.innerHTML=e,setTimeout((()=>{a.appendChild(t)}),1)}))})(),/*clientstyling, customStylingContainer*/2097156&e.$$.dirty[0]&&v&&a&&(()=>{let e=document.createElement("style");e.innerHTML=v,a.appendChild(e)})(),/*translationurl*/1048576&e.$$.dirty[0]&&E&&fetch(E).then((e=>e.json())).then((e=>{Object.keys(e).forEach((t=>{un(t,e[t])}))})).catch((e=>{console.log(e)}))},[y,b,a,u,T,B,l,w,c,h,H,p,i,()=>{n(5,B=!B),n(4,T=!T)},()=>{const e=999999999999999;l>e&&n(6,l=e);const t=l-Math.floor(l)==0;l>0&&t?c.removeAttribute("disabled"):c.setAttribute("disabled","true")},A,k,f,m,d,E,v,P,()=>A("lugasInformation"),()=>k("default"),function(e){L[e?"unshift":"push"]((()=>{u=e,n(3,u)}))},function(){l=g(this.value),n(6,l)},function(e){L[e?"unshift":"push"]((()=>{c=e,n(8,c)}))},()=>k("custom"),()=>A("termsConditions"),()=>A("privacyPolicy"),()=>A("closePopup"),()=>A("uploadDocuments"),()=>A("closePopup"),()=>A("uploadDocuments"),()=>A("closePopup"),()=>A("closePopup"),function(e){L[e?"unshift":"push"]((()=>{h=e,n(9,h)}))},function(e){L[e?"unshift":"push"]((()=>{a=e,n(2,a)}))}]}class vn extends x{constructor(e){super();const t=document.createElement("style");t.textContent=':host{font-family:"Roboto", system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;outline:none;box-sizing:border-box}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-popup-2{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #000)}.Title{font-weight:800;font-size:18px}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{font-size:14px;color:#fff;background:rgb(122, 195, 23)}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.LinkButton{display:inline;padding:0;color:#3366CC;text-decoration:underline;background-color:rgba(0, 0, 0, 0)}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center;margin:12px 0}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.Overlay{position:absolute;top:0;left:0;width:100vw;height:100vh;background-color:rgba(0, 0, 0, 0.5);display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:320px;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{margin:10px 0;font-size:14px}.TermsConditions{font-size:12px}.ExpandButton{font-size:14px;background-color:#fff;border:0;padding:0;margin-top:-10px;color:#999;display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left;font-size:16px}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:#ccc;cursor:not-allowed;background:#fff;border:#ccc 1px solid}.Hidden{display:none}.Extended{transform:rotate(180deg)}',this.shadowRoot.appendChild(t),j(this,{target:this.shadowRoot,props:P(this.attributes),customElement:!0},En,bn,o,{userid:17,session:18,endpoint:19,currency:0,lang:1,translationurl:20,clientstyling:21,clientstylingurl:22},null,[-1,-1]),e&&(e.target&&u(e.target,this,e.anchor),e.props&&(this.$set(e.props),N()))}static get observedAttributes(){return["userid","session","endpoint","currency","lang","translationurl","clientstyling","clientstylingurl"]}get userid(){return this.$$.ctx[17]}set userid(e){this.$$set({userid:e}),N()}get session(){return this.$$.ctx[18]}set session(e){this.$$set({session:e}),N()}get endpoint(){return this.$$.ctx[19]}set endpoint(e){this.$$set({endpoint:e}),N()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),N()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),N()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),N()}get clientstyling(){return this.$$.ctx[21]}set clientstyling(e){this.$$set({clientstyling:e}),N()}get clientstylingurl(){return this.$$.ctx[22]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),N()}}return!customElements.get("player-account-gaming-limits-popup-2")&&customElements.define("player-account-gaming-limits-popup-2",vn),vn}));
594
597
  //# sourceMappingURL=player-account-gaming-limits-popup-2.js.map