@everymatrix/player-account-gaming-limits-popup-2 1.24.7 → 1.26.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- !function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):(e="undefined"!=typeof globalThis?globalThis:e||self).app=t()}(this,(function(){"use strict";function e(){}function t(e){return e()}function n(){return Object.create(null)}function r(e){e.forEach(t)}function i(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function s(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}const a="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function l(e,t){e.appendChild(t)}function c(e,t,n){e.insertBefore(t,n||null)}function u(e){e.parentNode&&e.parentNode.removeChild(e)}function h(e){return document.createElement(e)}function p(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function f(e){return document.createTextNode(e)}function m(){return f(" ")}function d(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function g(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function y(e){return""===e?null:+e}function b(e,t){t=""+t,e.data!==t&&(e.data=t)}function E(e,t){e.value=null==t?"":t}function v(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function T(e,t,n){e.classList[n?"add":"remove"](t)}function B(e){const t={};for(const n of e)t[n.name]=n.value;return t}let w;function L(e){w=e}const P=[],H=[];let A=[];const k=[],_=Promise.resolve();let S=!1;function C(e){A.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 r(e){e.forEach(t)}function i(e){return"function"==typeof e}function o(e,t){return e!=e?t==t:e!==t||e&&"object"==typeof e||"function"==typeof e}function s(t,...n){if(null==t)return e;const r=t.subscribe(...n);return r.unsubscribe?()=>r.unsubscribe():r}const a="undefined"!=typeof window?window:"undefined"!=typeof globalThis?globalThis:global;function l(e,t){e.appendChild(t)}function c(e,t,n){e.insertBefore(t,n||null)}function u(e){e.parentNode&&e.parentNode.removeChild(e)}function h(e){return document.createElement(e)}function p(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function f(e){return document.createTextNode(e)}function m(){return f(" ")}function d(e,t,n,r){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)}function g(e,t,n){null==n?e.removeAttribute(t):e.getAttribute(t)!==n&&e.setAttribute(t,n)}function y(e){return""===e?null:+e}function b(e,t){t=""+t,e.data!==t&&(e.data=t)}function E(e,t){e.value=null==t?"":t}function v(e,t,n,r){null==n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function T(e,t,n){e.classList[n?"add":"remove"](t)}function B(e){const t={};for(const n of e)t[n.name]=n.value;return t}let w;function P(e){w=e}const L=[],A=[];let H=[];const _=[],S=Promise.resolve();let k=!1;function C(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,40 +18,40 @@
18
18
  // callback called a second time; the seen_callbacks set, outside the flush()
19
19
  // function, guarantees this behavior.
20
20
  const I=new Set;let N=0;// Do *not* move this inside the flush() function
21
- function M(){
21
+ function O(){
22
22
  // Do not reenter flush while dirty components are updated, as this can
23
23
  // result in an infinite loop. Instead, let the inner flush handle it.
24
24
  // Reentrancy is ok afterwards for bindings etc.
25
25
  if(0!==N)return;const e=w;do{
26
26
  // first, call beforeUpdate functions
27
27
  // and update components
28
- try{for(;N<P.length;){const e=P[N];N++,L(e),O(e.$$)}}catch(e){
28
+ try{for(;N<L.length;){const e=L[N];N++,P(e),M(e.$$)}}catch(e){
29
29
  // reset dirty state to not end up in a deadlocked state and then rethrow
30
- throw P.length=0,N=0,e}for(L(null),P.length=0,N=0;H.length;)H.pop()();
30
+ throw L.length=0,N=0,e}for(P(null),L.length=0,N=0;A.length;)A.pop()();
31
31
  // then, once components are updated, call
32
32
  // afterUpdate functions. This may cause
33
33
  // subsequent updates...
34
- for(let e=0;e<A.length;e+=1){const t=A[e];I.has(t)||(
34
+ for(let e=0;e<H.length;e+=1){const t=H[e];I.has(t)||(
35
35
  // ...so guard against infinite loops
36
- I.add(t),t())}A.length=0}while(P.length);for(;k.length;)k.pop()();S=!1,I.clear(),L(e)}function O(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(C)}}
36
+ I.add(t),t())}H.length=0}while(L.length);for(;_.length;)_.pop()();k=!1,I.clear(),P(e)}function M(e){if(null!==e.fragment){e.update(),r(e.before_update);const t=e.dirty;e.dirty=[-1],e.fragment&&e.fragment.p(e.ctx,t),e.after_update.forEach(C)}}
37
37
  /**
38
38
  * Useful for example to execute remaining `afterUpdate` callbacks before executing `destroy`.
39
- */const D=new Set;function R(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];A.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),A=t}(n.after_update),r(n.on_destroy),n.fragment&&n.fragment.d(t),
39
+ */const R=new Set;function D(e,t){const n=e.$$;null!==n.fragment&&(!function(e){const t=[],n=[];H.forEach((r=>-1===e.indexOf(r)?t.push(r):n.push(r))),n.forEach((e=>e())),H=t}(n.after_update),r(n.on_destroy),n.fragment&&n.fragment.d(t),
40
40
  // TODO null out other refs, including component.$$ (but need to
41
41
  // preserve final state?)
42
- n.on_destroy=n.fragment=null,n.ctx=[])}function j(e,t){-1===e.$$.dirty[0]&&(P.push(e),S||(S=!0,_.then(M)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function U(o,s,a,l,c,h,p,f=[-1]){const m=w;L(o);const d=o.$$={fragment:null,ctx:[],
42
+ n.on_destroy=n.fragment=null,n.ctx=[])}function U(e,t){-1===e.$$.dirty[0]&&(L.push(e),k||(k=!0,S.then(O)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function x(o,s,a,l,c,h,p,f=[-1]){const m=w;P(o);const d=o.$$={fragment:null,ctx:[],
43
43
  // state
44
44
  props:h,update:e,not_equal:c,bound:n(),
45
45
  // lifecycle
46
46
  on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(m?m.$$.context:[])),
47
47
  // everything else
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 r=n.length?n[0]:t;return d.ctx&&c(d.ctx[e],d.ctx[e]=r)&&(!d.skip_bound&&d.bound[e]&&d.bound[e](r),g&&j(o,e)),t})):[],d.update(),g=!0,r(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 r=n.length?n[0]:t;return d.ctx&&c(d.ctx[e],d.ctx[e]=r)&&(!d.skip_bound&&d.bound[e]&&d.bound[e](r),g&&U(o,e)),t})):[],d.update(),g=!0,r(d.before_update),
49
49
  // `false` as a special case of no DOM component
50
50
  d.fragment=!!l&&l(d.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);
51
51
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
52
52
  d.fragment&&d.fragment.l(e),e.forEach(u)}else
53
53
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
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:l}=e.$$;a&&a.m(n,o),s||
54
+ d.fragment&&d.fragment.c();s.intro&&((y=o.$$.fragment)&&y.i&&(R.delete(y),y.i(b))),function(e,n,o,s){const{fragment:a,after_update:l}=e.$$;a&&a.m(n,o),s||
55
55
  // onMount happens before the initial afterUpdate
56
56
  C((()=>{const n=e.$$.on_mount.map(t).filter(i);
57
57
  // if the component was destroyed immediately
@@ -60,11 +60,11 @@ C((()=>{const n=e.$$.on_mount.map(t).filter(i);
60
60
  e.$$.on_destroy?e.$$.on_destroy.push(...n):
61
61
  // Edge case - component was destroyed immediately,
62
62
  // most likely as a result of a binding initialising
63
- r(n),e.$$.on_mount=[]})),l.forEach(C)}(o,s.target,s.anchor,s.customElement),M()}var y,b;L(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(i);
63
+ r(n),e.$$.on_mount=[]})),l.forEach(C)}(o,s.target,s.anchor,s.customElement),O()}var y,b;P(m)}let j;"function"==typeof HTMLElement&&(j=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(i);
64
64
  // @ts-ignore todo: improve typings
65
65
  for(const e in this.$$.slotted)
66
66
  // @ts-ignore todo: improve typings
67
- this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){r(this.$$.on_disconnect)}$destroy(){R(this,1),this.$destroy=e}$on(t,n){
67
+ this.appendChild(this.$$.slotted[e])}attributeChangedCallback(e,t,n){this[e]=n}disconnectedCallback(){r(this.$$.on_disconnect)}$destroy(){D(this,1),this.$destroy=e}$on(t,n){
68
68
  // TODO should this delegate to addEventListener?
69
69
  if(!i(n))return e;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return r.push(n),()=>{const e=r.indexOf(n);-1!==e&&r.splice(e,1)}}$set(e){var t;this.$$set&&(t=e,0!==Object.keys(t).length)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}});const G=[];
70
70
  /**
@@ -77,12 +77,12 @@ if(!i(n))return e;const r=this.$$.callbacks[t]||(this.$$.callbacks[t]=[]);return
77
77
  * @param {*=}value initial value
78
78
  * @param {StartStopNotifier=} start
79
79
  */
80
- function z(t,n=e){let r;const i=new Set;function s(e){if(o(t,e)&&(t=e,r)){// store is ready
81
- const e=!G.length;for(const e of i)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 l=[o,a];return i.add(l),1===i.size&&(r=n(s)||e),o(t),()=>{i.delete(l),0===i.size&&r&&(r(),r=null)}}}}function $(t,n,o){const a=!Array.isArray(t),l=a?[t]:t,c=n.length<2;return u=t=>{let o=!1;const u=[];let h=0,p=e;const f=()=>{if(h)return;p();const r=n(a?u[0]:u,t);c?t(r):p=i(r)?r:e},m=l.map(((e,t)=>s(e,(e=>{u[t]=e,h&=~(1<<t),o&&f()}),(()=>{h|=1<<t}))));return o=!0,f(),function(){r(m),p(),
80
+ function $(t,n=e){let r;const i=new Set;function s(e){if(o(t,e)&&(t=e,r)){// store is ready
81
+ const e=!G.length;for(const e of i)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 l=[o,a];return i.add(l),1===i.size&&(r=n(s)||e),o(t),()=>{i.delete(l),0===i.size&&r&&(r(),r=null)}}}}function z(t,n,o){const a=!Array.isArray(t),l=a?[t]:t,c=n.length<2;return u=t=>{let o=!1;const u=[];let h=0,p=e;const f=()=>{if(h)return;p();const r=n(a?u[0]:u,t);c?t(r):p=i(r)?r:e},m=l.map(((e,t)=>s(e,(e=>{u[t]=e,h&=~(1<<t),o&&f()}),(()=>{h|=1<<t}))));return o=!0,f(),function(){r(m),p(),
82
82
  // We need to set this to false because callbacks can still happen despite having unsubscribed:
83
83
  // Callbacks might already be placed in the queue which doesn't know it should no longer
84
84
  // invoke this derived store.
85
- o=!1}},{subscribe:z(o,u).subscribe};var u}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)}
85
+ o=!1}},{subscribe:$(o,u).subscribe};var u}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)}
86
86
  // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
87
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}}
88
88
  // Protects from prototype poisoning and unexpected merging up the prototype chain.
@@ -239,20 +239,20 @@ case"X":// 1, 2, 3, 4: The ISO8601 varios formats
239
239
  case"x":// 1, 2, 3, 4: The ISO8601 varios formats
240
240
  throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead")}return""})),t}
241
241
  // @generated from regex-gen.ts
242
- var ve=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Te=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Be=/^(@+)?(\+|#+)?[rs]?$/g,we=/(\*)(0+)|(#+)(0+)|(0+)/g,Le=/^(0+)$/;function Pe(e){var t={};return"r"===e[e.length-1]?t.roundingPriority="morePrecision":"s"===e[e.length-1]&&(t.roundingPriority="lessPrecision"),e.replace(Be,(function(e,n,r){
242
+ var ve=/[\t-\r \x85\u200E\u200F\u2028\u2029]/i;var Te=/^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g,Be=/^(@+)?(\+|#+)?[rs]?$/g,we=/(\*)(0+)|(#+)(0+)|(0+)/g,Pe=/^(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(Be,(function(e,n,r){
243
243
  // @@@ case
244
- return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function 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){
244
+ return"string"!=typeof r?(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length):"+"===r?t.minimumSignificantDigits=n.length:"#"===n[0]?t.maximumSignificantDigits=n.length:(t.minimumSignificantDigits=n.length,t.maximumSignificantDigits=n.length+("string"==typeof r?r.length:0)),""})),t}function Ae(e){switch(e){case"sign-auto":return{signDisplay:"auto"};case"sign-accounting":case"()":return{currencySign:"accounting"};case"sign-always":case"+!":return{signDisplay:"always"};case"sign-accounting-always":case"()!":return{signDisplay:"always",currencySign:"accounting"};case"sign-except-zero":case"+?":return{signDisplay:"exceptZero"};case"sign-accounting-except-zero":case"()?":return{signDisplay:"exceptZero",currencySign:"accounting"};case"sign-never":case"+_":return{signDisplay:"never"}}}function He(e){
245
245
  // Engineering
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)),!Le.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||{}}
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)),!Pe.test(e))throw new Error("Malformed concise eng/scientific notation");t.minimumIntegerDigits=e.length}return t}function _e(e){var t=Ae(e);return t||{}}
247
247
  /**
248
248
  * https://github.com/unicode-org/icu/blob/master/docs/userguide/format_parse/numbers/skeletons.md#skeleton-stems-and-options
249
- */function _e(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=ie(ie(ie({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return ie(ie({},e),ke(t))}),{}));continue;case"engineering":t=ie(ie(ie({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return ie(ie({},e),ke(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
249
+ */function Se(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n];switch(i.stem){case"percent":case"%":t.style="percent";continue;case"%x100":t.style="percent",t.scale=100;continue;case"currency":t.style="currency",t.currency=i.options[0];continue;case"group-off":case",_":t.useGrouping=!1;continue;case"precision-integer":case".":t.maximumFractionDigits=0;continue;case"measure-unit":case"unit":t.style="unit",t.unit=i.options[0].replace(/^(.*?)-/,"");continue;case"compact-short":case"K":t.notation="compact",t.compactDisplay="short";continue;case"compact-long":case"KK":t.notation="compact",t.compactDisplay="long";continue;case"scientific":t=ie(ie(ie({},t),{notation:"scientific"}),i.options.reduce((function(e,t){return ie(ie({},e),_e(t))}),{}));continue;case"engineering":t=ie(ie(ie({},t),{notation:"engineering"}),i.options.reduce((function(e,t){return ie(ie({},e),_e(t))}),{}));continue;case"notation-simple":t.notation="standard";continue;
250
250
  // https://github.com/unicode-org/icu/blob/master/icu4c/source/i18n/unicode/unumberformatter.h
251
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(i.options[0]);continue;
252
252
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
253
253
  case"integer-width":if(i.options.length>1)throw new RangeError("integer-width stems only accept a single optional option");i.options[0].replace(we,(function(e,n,r,i,o,s){if(n)t.minimumIntegerDigits=r.length;else{if(i&&o)throw new Error("We currently do not support maximum integer digits");if(s)throw new Error("We currently do not support exact integer digits")}return""}));continue}
254
254
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#integer-width
255
- if(Le.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(Te.test(i.stem)){
255
+ if(Pe.test(i.stem))t.minimumIntegerDigits=i.stem.length;else if(Te.test(i.stem)){
256
256
  // Precision
257
257
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#fraction-precision
258
258
  // precision-integer case
@@ -260,12 +260,12 @@ if(i.options.length>1)throw new RangeError("Fraction-precision stems only accept
260
260
  // .000* case (before ICU67 it was .000+)
261
261
  return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDigits=i.length:o&&s?(t.minimumFractionDigits=o.length,t.maximumFractionDigits=o.length+s.length):(t.minimumFractionDigits=n.length,t.maximumFractionDigits=n.length),""}));var o=i.options[0];
262
262
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#trailing-zero-display
263
- "w"===o?t=ie(ie({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=ie(ie({},t),Pe(o)))}
263
+ "w"===o?t=ie(ie({},t),{trailingZeroDisplay:"stripIfInteger"}):o&&(t=ie(ie({},t),Le(o)))}
264
264
  // https://unicode-org.github.io/icu/userguide/format_parse/numbers/skeletons.html#significant-digits-precision
265
- else if(Be.test(i.stem))t=ie(ie({},t),Pe(i.stem));else{var s=He(i.stem);s&&(t=ie(ie({},t),s));var a=Ae(i.stem);a&&(t=ie(ie({},t),a))}}return t}
265
+ else if(Be.test(i.stem))t=ie(ie({},t),Le(i.stem));else{var s=Ae(i.stem);s&&(t=ie(ie({},t),s));var a=He(i.stem);a&&(t=ie(ie({},t),a))}}return t}
266
266
  // @generated from time-data-gen.ts
267
267
  // prettier-ignore
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"]};
268
+ var ke,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"]};
269
269
  /**
270
270
  * Returns the best matching date time pattern if a date time skeleton
271
271
  * pattern is provided with a locale. Follows the Unicode specification:
@@ -286,37 +286,37 @@ e.hourCycles.length&&(
286
286
  // @ts-ignore
287
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")}
288
288
  // TODO: Once hourCycle is fully supported remove the following with data generation
289
- var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(Ce[n||""]||Ce[r||""]||Ce["".concat(r,"-001")]||Ce["001"])[0]}var Ne=new RegExp("^".concat(ye.source,"*")),Me=new RegExp("".concat(ye.source,"*$"));function Oe(e,t){return{start:e,end:t}}
289
+ var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(Ce[n||""]||Ce[r||""]||Ce["".concat(r,"-001")]||Ce["001"])[0]}var Ne=new RegExp("^".concat(ye.source,"*")),Oe=new RegExp("".concat(ye.source,"*$"));function Me(e,t){return{start:e,end:t}}
290
290
  // #region Ponyfills
291
291
  // Consolidate these variables up top for easier toggling during debugging
292
- var De=!!String.prototype.startsWith,Re=!!String.fromCodePoint,je=!!Object.fromEntries,Ue=!!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{
292
+ var Re=!!String.prototype.startsWith,De=!!String.fromCodePoint,Ue=!!Object.fromEntries,xe=!!String.prototype.codePointAt,je=!!String.prototype.trimStart,Ge=!!String.prototype.trimEnd,$e=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},ze=!0;try{
293
293
  /**
294
294
  * legacy Edge or Xbox One browser
295
295
  * Unicode flag support: supported
296
296
  * Pattern_Syntax support: not supported
297
297
  * See https://github.com/formatjs/formatjs/issues/2822
298
298
  */
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=De?// Native
299
+ ze="a"===(null===(ke=qe("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===ke?void 0:ke[0])}catch(e){ze=!1}var Fe,Ve=Re?// Native
300
300
  function(e,t,n){return e.startsWith(t,n)}:// For IE11
301
- function(e,t,n){return e.slice(n,n+t.length)===t},Ke=Re?String.fromCodePoint:// IE11
301
+ function(e,t,n){return e.slice(n,n+t.length)===t},Ke=De?String.fromCodePoint:// IE11
302
302
  function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];for(var n,r="",i=e.length,o=0;i>o;){if((n=e[o++])>1114111)throw RangeError(n+" is not a valid code point");r+=n<65536?String.fromCharCode(n):String.fromCharCode(55296+((n-=65536)>>10),n%1024+56320)}return r},Xe=
303
303
  // native
304
- je?Object.fromEntries:// Ponyfill
305
- function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],s=i[1];t[o]=s}return t},Ze=Ue?// Native
304
+ Ue?Object.fromEntries:// Ponyfill
305
+ function(e){for(var t={},n=0,r=e;n<r.length;n++){var i=r[n],o=i[0],s=i[1];t[o]=s}return t},Ze=xe?// Native
306
306
  function(e,t){return e.codePointAt(t)}:// IE 11
307
- function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:r-56320+(i-55296<<10)+65536}},We=xe?// Native
307
+ function(e,t){var n=e.length;if(!(t<0||t>=n)){var r,i=e.charCodeAt(t);return i<55296||i>56319||t+1===n||(r=e.charCodeAt(t+1))<56320||r>57343?i:r-56320+(i-55296<<10)+65536}},We=je?// Native
308
308
  function(e){return e.trimStart()}:// Ponyfill
309
309
  function(e){return e.replace(Ne,"")},Ye=Ge?// Native
310
310
  function(e){return e.trimEnd()}:// Ponyfill
311
- function(e){return e.replace(Me,"")};
311
+ function(e){return e.replace(Oe,"")};
312
312
  // Prevent minifier to translate new RegExp to literal form that might cause syntax error on IE11.
313
313
  function qe(e,t){return new RegExp(e,t)}
314
314
  // #endregion
315
- if($e){
315
+ if(ze){
316
316
  // Native
317
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
318
318
  // IE11
319
- Fe=function(e,t){for(var n=[];;){var r=Ze(e,t);if(void 0===r||tt(r)||nt(r))break;n.push(r),t+=r>=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 r=[];!this.isEOF();){var i=this.char();if(123/* `{` */===i){if((o=this.parseArgument(e,n)).err)return o;r.push(o.val)}else{if(125/* `}` */===i&&e>0)break;if(35/* `#` */!==i||"plural"!==t&&"selectordinal"!==t){if(60/* `<` */===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(te.UNMATCHED_CLOSING_TAG,Oe(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===i&&!this.ignoreTag&&et(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;r.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;r.push(o.val)}}else{var s=this.clonePosition();this.bump(),r.push({type:ne.pound,location:Oe(s,this.clonePosition())})}}}return{val:r,err:null}},
319
+ Fe=function(e,t){for(var n=[];;){var r=Ze(e,t);if(void 0===r||tt(r)||nt(r))break;n.push(r),t+=r>=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 r=[];!this.isEOF();){var i=this.char();if(123/* `{` */===i){if((o=this.parseArgument(e,n)).err)return o;r.push(o.val)}else{if(125/* `}` */===i&&e>0)break;if(35/* `#` */!==i||"plural"!==t&&"selectordinal"!==t){if(60/* `<` */===i&&!this.ignoreTag&&47===this.peek()){if(n)break;return this.error(te.UNMATCHED_CLOSING_TAG,Me(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===i&&!this.ignoreTag&&et(this.peek()||0)){if((o=this.parseTag(e,t)).err)return o;r.push(o.val)}else{var o;if((o=this.parseLiteral(e,t)).err)return o;r.push(o.val)}}else{var s=this.clonePosition();this.bump(),r.push({type:ne.pound,location:Me(s,this.clonePosition())})}}}return{val:r,err:null}},
320
320
  /**
321
321
  * A tag name must start with an ASCII lower/upper case letter. The grammar is based on the
322
322
  * [custom element name][] except that a dash is NOT always mandatory and uppercase letters
@@ -338,14 +338,14 @@ Fe=function(e,t){for(var n=[];;){var r=Ze(e,t);if(void 0===r||tt(r)||nt(r))break
338
338
  e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();// `<`
339
339
  var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))
340
340
  // Self closing tag
341
- return{val:{type:ne.literal,value:"<".concat(r,"/>"),location:Oe(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,s=this.clonePosition();
341
+ return{val:{type:ne.literal,value:"<".concat(r,"/>"),location:Me(n,this.clonePosition())},err:null};if(this.bumpIf(">")){var i=this.parseMessage(e+1,t,!0);if(i.err)return i;var o=i.val,s=this.clonePosition();
342
342
  // Expecting a close tag
343
- if(this.bumpIf("</")){if(this.isEOF()||!et(this.char()))return this.error(te.INVALID_TAG,Oe(s,this.clonePosition()));var a=this.clonePosition();return r!==this.parseTagName()?this.error(te.UNMATCHED_CLOSING_TAG,Oe(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ne.tag,value:r,children:o,location:Oe(n,this.clonePosition())},err:null}:this.error(te.INVALID_TAG,Oe(s,this.clonePosition())))}return this.error(te.UNCLOSED_TAG,Oe(n,this.clonePosition()))}return this.error(te.INVALID_TAG,Oe(n,this.clonePosition()))},
343
+ if(this.bumpIf("</")){if(this.isEOF()||!et(this.char()))return this.error(te.INVALID_TAG,Me(s,this.clonePosition()));var a=this.clonePosition();return r!==this.parseTagName()?this.error(te.UNMATCHED_CLOSING_TAG,Me(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ne.tag,value:r,children:o,location:Me(n,this.clonePosition())},err:null}:this.error(te.INVALID_TAG,Me(s,this.clonePosition())))}return this.error(te.UNCLOSED_TAG,Me(n,this.clonePosition()))}return this.error(te.INVALID_TAG,Me(n,this.clonePosition()))},
344
344
  /**
345
345
  * This method assumes that the caller has peeked ahead for the first tag character.
346
346
  */
347
347
  e.prototype.parseTagName=function(){var e,t=this.offset();// the first tag name character
348
- for(this.bump();!this.isEOF()&&(45/* '-' */===(e=this.char())||46/* '.' */===e||e>=48&&e<=57/* 0..9 */||95/* '_' */===e||e>=97&&e<=122/** a..z */||e>=65&&e<=90/* A..Z */||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{var o=this.tryParseUnquoted(e,t);if(o)r+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var a=Oe(n,this.clonePosition());return{val:{type:ne.literal,value:r,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;
348
+ for(this.bump();!this.isEOF()&&(45/* '-' */===(e=this.char())||46/* '.' */===e||e>=48&&e<=57/* 0..9 */||95/* '_' */===e||e>=97&&e<=122/** a..z */||e>=65&&e<=90/* A..Z */||183==e||e>=192&&e<=214||e>=216&&e<=246||e>=248&&e<=893||e>=895&&e<=8191||e>=8204&&e<=8205||e>=8255&&e<=8256||e>=8304&&e<=8591||e>=11264&&e<=12271||e>=12289&&e<=55295||e>=63744&&e<=64975||e>=65008&&e<=65533||e>=65536&&e<=983039);)this.bump();return this.message.slice(t,this.offset())},e.prototype.parseLiteral=function(e,t){for(var n=this.clonePosition(),r="";;){var i=this.tryParseQuote(t);if(i)r+=i;else{var o=this.tryParseUnquoted(e,t);if(o)r+=o;else{var s=this.tryParseLeftAngleBracket();if(!s)break;r+=s}}}var a=Me(n,this.clonePosition());return{val:{type:ne.literal,value:r,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;
349
349
  /** See `parseTag` function docs. */},
350
350
  /**
351
351
  * Starting with ICU 4.8, an ASCII apostrophe only starts quoted text if it immediately precedes
@@ -368,32 +368,32 @@ for(this.bump();!this.isEOF();){var n=this.char();if(39/* `'` */===n){if(39/* `'
368
368
  this.bump();break}t.push(39),
369
369
  // Bump one more time because we need to skip 2 characters.
370
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,Oe(n,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(te.EMPTY_ARGUMENT,Oe(n,this.clonePosition()));
371
+ this.bumpSpace(),this.isEOF())return this.error(te.EXPECT_ARGUMENT_CLOSING_BRACE,Me(n,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(te.EMPTY_ARGUMENT,Me(n,this.clonePosition()));
372
372
  // argument name
373
- var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(te.MALFORMED_ARGUMENT,Oe(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(te.EXPECT_ARGUMENT_CLOSING_BRACE,Oe(n,this.clonePosition()));switch(this.char()){
373
+ var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(te.MALFORMED_ARGUMENT,Me(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(te.EXPECT_ARGUMENT_CLOSING_BRACE,Me(n,this.clonePosition()));switch(this.char()){
374
374
  // Simple argument: `{name}`
375
375
  case 125/* `}` */:// `}`
376
376
  return this.bump(),{val:{type:ne.argument,
377
377
  // value does not include the opening and closing braces.
378
- value:r,location:Oe(n,this.clonePosition())},err:null};
378
+ value:r,location:Me(n,this.clonePosition())},err:null};
379
379
  // Argument with options: `{name, format, ...}`
380
380
  case 44/* `,` */:return this.bump(),// `,`
381
- this.bumpSpace(),this.isEOF()?this.error(te.EXPECT_ARGUMENT_CLOSING_BRACE,Oe(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(te.MALFORMED_ARGUMENT,Oe(n,this.clonePosition()))}},
381
+ this.bumpSpace(),this.isEOF()?this.error(te.EXPECT_ARGUMENT_CLOSING_BRACE,Me(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(te.MALFORMED_ARGUMENT,Me(n,this.clonePosition()))}},
382
382
  /**
383
383
  * Advance the parser until the end of the identifier, if it is currently on
384
384
  * an identifier character. Return an empty string otherwise.
385
385
  */
386
- e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=Fe(this.message,t),r=t+n.length;return this.bumpTo(r),{value:n,location:Oe(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,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),r=t+n.length;return this.bumpTo(r),{value:n,location:Me(e,this.clonePosition())}},e.prototype.parseArgumentOptions=function(e,t,n,r){var i,o=this.clonePosition(),s=this.parseIdentifierIfPossible().value,a=this.clonePosition();
387
387
  // Parse this range:
388
388
  // {name, type, style}
389
389
  // ^---^
390
390
  switch(s){case"":
391
391
  // Expecting a style string number, date, time, plural, selectordinal, or select.
392
- return this.error(te.EXPECT_ARGUMENT_TYPE,Oe(o,a));case"number":case"date":case"time":
392
+ return this.error(te.EXPECT_ARGUMENT_TYPE,Me(o,a));case"number":case"date":case"time":
393
393
  // Parse this range:
394
394
  // {name, number, style}
395
395
  // ^-------^
396
- this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(f=Ye(y.val)).length)return this.error(te.EXPECT_ARGUMENT_STYLE,Oe(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:Oe(c,this.clonePosition())}}if((b=this.tryParseArgumentClose(r)).err)return b;var u=Oe(r,this.clonePosition());
396
+ this.bumpSpace();var l=null;if(this.bumpIf(",")){this.bumpSpace();var c=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(f=Ye(y.val)).length)return this.error(te.EXPECT_ARGUMENT_STYLE,Me(this.clonePosition(),this.clonePosition()));l={style:f,styleLocation:Me(c,this.clonePosition())}}if((b=this.tryParseArgumentClose(r)).err)return b;var u=Me(r,this.clonePosition());
397
397
  // Extract style or skeleton
398
398
  if(l&&Ve(null==l?void 0:l.style,"::",0)){
399
399
  // Skeleton starts with `::`.
@@ -407,27 +407,27 @@ return{val:{type:"number"===s?ne.number:"date"===s?ne.date:ne.time,value:n,locat
407
407
  // Parse this range:
408
408
  // {name, plural, options}
409
409
  // ^---------^
410
- var m=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(te.EXPECT_SELECT_ARGUMENT_OPTIONS,Oe(m,ie({},m)));this.bumpSpace();
410
+ var m=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(te.EXPECT_SELECT_ARGUMENT_OPTIONS,Me(m,ie({},m)));this.bumpSpace();
411
411
  // Parse offset:
412
412
  // {name, plural, offset:1, options}
413
413
  // ^-----^
414
414
  // or the first option:
415
415
  // {name, plural, one {...} other {...}}
416
416
  // ^--^
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,Oe(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;
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,Me(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;
418
418
  // Parse another identifier for option parsing
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(r)).err)return b;var v=Oe(r,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,Oe(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(r)).err)return b;var v=Me(r,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,Me(o,a))}},e.prototype.tryParseArgumentClose=function(e){
420
420
  // Parse: {value, number, ::currency/GBP }
421
- return this.isEOF()||125/* `}` */!==this.char()?this.error(te.EXPECT_ARGUMENT_CLOSING_BRACE,Oe(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
421
+ return this.isEOF()||125/* `}` */!==this.char()?this.error(te.EXPECT_ARGUMENT_CLOSING_BRACE,Me(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
422
422
  /**
423
423
  * See: https://github.com/unicode-org/icu/blob/af7ed1f6d2298013dc303628438ec4abe1f16479/icu4c/source/common/messagepattern.cpp#L659
424
424
  */
425
425
  e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39/* `'` */:
426
426
  // Treat apostrophe as quoting but include it in the style part.
427
427
  // Find the end of the quoted literal text.
428
- this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(te.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE,Oe(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,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");
429
429
  // Parse the skeleton
430
- for(var t=[],n=0,r=e.split(ve).filter((function(e){return e.length>0}));n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],s=i.slice(1),a=0,l=s;a<l.length;a++)if(0===l[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:s})}return t}(e)}catch(e){return this.error(te.INVALID_NUMBER_SKELETON,t)}return{val:{type:re.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?_e(n):{}},err:null}},
430
+ for(var t=[],n=0,r=e.split(ve).filter((function(e){return e.length>0}));n<r.length;n++){var i=r[n].split("/");if(0===i.length)throw new Error("Invalid number skeleton");for(var o=i[0],s=i.slice(1),a=0,l=s;a<l.length;a++)if(0===l[a].length)throw new Error("Invalid number skeleton");t.push({stem:o,options:s})}return t}(e)}catch(e){return this.error(te.INVALID_NUMBER_SKELETON,t)}return{val:{type:re.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Se(n):{}},err:null}},
431
431
  /**
432
432
  * @param nesting_level The current nesting level of messages.
433
433
  * This can be positive when parsing message fragment in select or plural argument options.
@@ -444,17 +444,17 @@ e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){
444
444
  // ^--^
445
445
  for(var i,o=!1,s=[],a=new Set,l=r.value,c=r.location;;){if(0===l.length){var u=this.clonePosition();if("select"===t||!this.bumpIf("="))break;
446
446
  // Try parse `={number}` selector
447
- var h=this.tryParseDecimalInteger(te.EXPECT_PLURAL_ARGUMENT_SELECTOR,te.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;c=Oe(u,this.clonePosition()),l=this.message.slice(u.offset,this.offset())}
447
+ var h=this.tryParseDecimalInteger(te.EXPECT_PLURAL_ARGUMENT_SELECTOR,te.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;c=Me(u,this.clonePosition()),l=this.message.slice(u.offset,this.offset())}
448
448
  // Duplicate selector clauses
449
449
  if(a.has(l))return this.error("select"===t?te.DUPLICATE_SELECT_ARGUMENT_SELECTOR:te.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,c);"other"===l&&(o=!0),
450
450
  // Parse:
451
451
  // one {one apple}
452
452
  // ^----------^
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,Oe(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:Oe(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,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())}]),
454
454
  // Keep track of the existing selectors
455
455
  a.add(l),
456
456
  // Prep next selector clause.
457
- this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===s.length?this.error("select"===t?te.EXPECT_SELECT_ARGUMENT_SELECTOR:te.EXPECT_PLURAL_ARGUMENT_SELECTOR,Oe(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(te.MISSING_OTHER_CLAUSE,Oe(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48/* `0` */&&s<=57/* `9` */))break;i=!0,o=10*o+(s-48),this.bump()}var a=Oe(r,this.clonePosition());return i?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(){
457
+ this.bumpSpace(),l=(i=this.parseIdentifierIfPossible()).value,c=i.location}return 0===s.length?this.error("select"===t?te.EXPECT_SELECT_ARGUMENT_SELECTOR:te.EXPECT_PLURAL_ARGUMENT_SELECTOR,Me(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(te.MISSING_OTHER_CLAUSE,Me(this.clonePosition(),this.clonePosition())):{val:s,err:null}},e.prototype.tryParseDecimalInteger=function(e,t){var n=1,r=this.clonePosition();this.bumpIf("+")||this.bumpIf("-")&&(n=-1);for(var i=!1,o=0;!this.isEOF();){var s=this.char();if(!(s>=48/* `0` */&&s<=57/* `9` */))break;i=!0,o=10*o+(s-48),this.bump()}var a=Me(r,this.clonePosition());return i?$e(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(){
458
458
  // This is much faster than `Object.assign` or spread.
459
459
  return{offset:this.position.offset,line:this.position.line,column:this.position.column}},
460
460
  /**
@@ -553,7 +553,7 @@ if(ce(u)){var f="string"==typeof u.style?r.date[u.style]:ge(u.style)?u.style.par
553
553
  See the accompanying LICENSE file for terms.
554
554
  */
555
555
  // -- MessageFormat --------------------------------------------------------
556
- function Bt(e,t){return t?Object.keys(e).reduce((function(n,r){var i,o;return n[r]=(i=e[r],(o=t[r])?ie(ie(ie({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=ie(ie({},i[t]),o[t]||{}),e}),{})):i),n}),ie({},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"}(dt||(dt={}));var Lt=/** @class */function(){function e(t,n,r,i){var o,s=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);
556
+ function Bt(e,t){return t?Object.keys(e).reduce((function(n,r){var i,o;return n[r]=(i=e[r],(o=t[r])?ie(ie(ie({},i||{}),o||{}),Object.keys(i).reduce((function(e,t){return e[t]=ie(ie({},i[t]),o[t]||{}),e}),{})):i),n}),ie({},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"}(dt||(dt={}));var Pt=/** @class */function(){function e(t,n,r,i){var o,s=this;if(void 0===n&&(n=e.defaultLocale),this.formatterCache={number:{},dateTime:{},pluralRules:{}},this.format=function(e){var t=s.formatToParts(e);
557
557
  // Hot path for straight simple msg translations
558
558
  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 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},
559
559
  // Defined first because it's used to build the format pattern.
@@ -566,30 +566,30 @@ this.formats=Bt(e.formats,r),this.formatters=i&&i.formatters||(void 0===(o=this.
566
566
  // Default format options used as the prototype of the `formats` provided to the
567
567
  // constructor. These are used when constructing the internal Intl.NumberFormat
568
568
  // and Intl.DateTimeFormat instances.
569
- e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();const Pt={},Ht=(e,t,n)=>n?(t in Pt||(Pt[t]={}),e in Pt[t]||(Pt[t][e]=n),n):n,At=(e,t)=>{if(null==t)return;if(t in Pt&&e in Pt[t])return Pt[t][e];const n=Jt(t);for(let r=0;r<n.length;r++){const i=Ct(n[r],e);if(i)return Ht(e,t,i)}};let kt;const _t=z({});function St(e){return e in kt}function Ct(e,t){if(!St(e))return null;const n=function(e){return kt[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(e>0){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(n,t)}function It(e,...t){delete Pt[e],_t.update((n=>(n[e]=J.all([n[e]||{},...t]),n)))}$([_t],(([e])=>Object.keys(e))),_t.subscribe((e=>kt=e));const Nt={};function Mt(e){return Nt[e]}function Ot(e){return null!=e&&Jt(e).some((e=>{var t;return null==(t=Mt(e))?void 0:t.size}))}function Dt(e,t){const n=Promise.all(t.map((t=>(function(e,t){Nt[e].delete(t),0===Nt[e].size&&delete Nt[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>It(e,...t)))}const Rt={};function jt(e){if(!Ot(e))return e in Rt?Rt[e]:Promise.resolve();const t=function(e){return Jt(e).map((e=>{const t=Mt(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Rt[e]=Promise.all(t.map((([e,t])=>Dt(e,t)))).then((()=>{if(Ot(e))return jt(e);delete Rt[e]})),Rt[e]}const Ut={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 xt(){return Ut}const Gt=z(!1);var zt=Object.defineProperty,$t=Object.defineProperties,Ft=Object.getOwnPropertyDescriptors,Vt=Object.getOwnPropertySymbols,Kt=Object.prototype.hasOwnProperty,Xt=Object.prototype.propertyIsEnumerable,Zt=(e,t,n)=>t in e?zt(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let Wt;const Yt=z(null);function qt(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function Jt(e,t=xt().fallbackLocale){const n=qt(e);return t?[...new Set([...n,...qt(t)])]:n}function Qt(){return null!=Wt?Wt:void 0}Yt.subscribe((e=>{Wt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const en=(tn=((e,t)=>{for(var n in t||(t={}))Kt.call(t,n)&&Zt(e,n,t[n]);if(Vt)for(var n of Vt(t))Xt.call(t,n)&&Zt(e,n,t[n]);return e})({},Yt),$t(tn,Ft({set:e=>{if(e&&function(e){if(null==e)return;const t=Jt(e);for(let e=0;e<t.length;e++){const n=t[e];if(St(n))return n}}(e)&&Ot(e)){const{loadingDelay:t}=xt();let n;return"undefined"!=typeof window&&null!=Qt()&&t?n=window.setTimeout((()=>Gt.set(!0)),t):Gt.set(!0),jt(e).then((()=>{Yt.set(e)})).finally((()=>{clearTimeout(n),Gt.set(!1)}))}return Yt.set(e)}})));var tn;const nn=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var rn=Object.defineProperty,on=Object.getOwnPropertySymbols,sn=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,ln=(e,t,n)=>t in e?rn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,cn=(e,t)=>{for(var n in t||(t={}))sn.call(t,n)&&ln(e,n,t[n]);if(on)for(var n of on(t))an.call(t,n)&&ln(e,n,t[n]);return e},un=(e,t)=>{var n={};for(var r in e)sn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&on)for(var r of on(e))t.indexOf(r)<0&&an.call(e,r)&&(n[r]=e[r]);return n};const hn=(e,t)=>{const{formats:n}=xt();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},pn=nn((e=>{var t=e,{locale:n,format:r}=t,i=un(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=hn("number",r)),new Intl.NumberFormat(n,i)})),fn=nn((e=>{var t=e,{locale:n,format:r}=t,i=un(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=hn("date",r):0===Object.keys(i).length&&(i=hn("date","short")),new Intl.DateTimeFormat(n,i)})),mn=nn((e=>{var t=e,{locale:n,format:r}=t,i=un(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=hn("time",r):0===Object.keys(i).length&&(i=hn("time","short")),new Intl.DateTimeFormat(n,i)})),dn=nn((
569
+ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"},percent:{style:"percent"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},e}();const Lt={},At=(e,t,n)=>n?(t in Lt||(Lt[t]={}),e in Lt[t]||(Lt[t][e]=n),n):n,Ht=(e,t)=>{if(null==t)return;if(t in Lt&&e in Lt[t])return Lt[t][e];const n=Jt(t);for(let r=0;r<n.length;r++){const i=Ct(n[r],e);if(i)return At(e,t,i)}};let _t;const St=$({});function kt(e){return e in _t}function Ct(e,t){if(!kt(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 r=e;for(let e=0;e<n.length;e++)if("object"==typeof r){if(e>0){const t=n.slice(e,n.length).join(".");if(t in r){r=r[t];break}}r=r[n[e]]}else r=void 0;return r}(n,t)}function It(e,...t){delete Lt[e],St.update((n=>(n[e]=J.all([n[e]||{},...t]),n)))}z([St],(([e])=>Object.keys(e))),St.subscribe((e=>_t=e));const Nt={};function Ot(e){return Nt[e]}function Mt(e){return null!=e&&Jt(e).some((e=>{var t;return null==(t=Ot(e))?void 0:t.size}))}function Rt(e,t){const n=Promise.all(t.map((t=>(function(e,t){Nt[e].delete(t),0===Nt[e].size&&delete Nt[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>It(e,...t)))}const Dt={};function Ut(e){if(!Mt(e))return e in Dt?Dt[e]:Promise.resolve();const t=function(e){return Jt(e).map((e=>{const t=Ot(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Dt[e]=Promise.all(t.map((([e,t])=>Rt(e,t)))).then((()=>{if(Mt(e))return Ut(e);delete Dt[e]})),Dt[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 jt(){return xt}const Gt=$(!1);var $t=Object.defineProperty,zt=Object.defineProperties,Ft=Object.getOwnPropertyDescriptors,Vt=Object.getOwnPropertySymbols,Kt=Object.prototype.hasOwnProperty,Xt=Object.prototype.propertyIsEnumerable,Zt=(e,t,n)=>t in e?$t(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;let Wt;const Yt=$(null);function qt(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function Jt(e,t=jt().fallbackLocale){const n=qt(e);return t?[...new Set([...n,...qt(t)])]:n}function Qt(){return null!=Wt?Wt:void 0}Yt.subscribe((e=>{Wt=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const en=(tn=((e,t)=>{for(var n in t||(t={}))Kt.call(t,n)&&Zt(e,n,t[n]);if(Vt)for(var n of Vt(t))Xt.call(t,n)&&Zt(e,n,t[n]);return e})({},Yt),zt(tn,Ft({set:e=>{if(e&&function(e){if(null==e)return;const t=Jt(e);for(let e=0;e<t.length;e++){const n=t[e];if(kt(n))return n}}(e)&&Mt(e)){const{loadingDelay:t}=jt();let n;return"undefined"!=typeof window&&null!=Qt()&&t?n=window.setTimeout((()=>Gt.set(!0)),t):Gt.set(!0),Ut(e).then((()=>{Yt.set(e)})).finally((()=>{clearTimeout(n),Gt.set(!1)}))}return Yt.set(e)}})));var tn;const nn=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}};var rn=Object.defineProperty,on=Object.getOwnPropertySymbols,sn=Object.prototype.hasOwnProperty,an=Object.prototype.propertyIsEnumerable,ln=(e,t,n)=>t in e?rn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,cn=(e,t)=>{for(var n in t||(t={}))sn.call(t,n)&&ln(e,n,t[n]);if(on)for(var n of on(t))an.call(t,n)&&ln(e,n,t[n]);return e},un=(e,t)=>{var n={};for(var r in e)sn.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&on)for(var r of on(e))t.indexOf(r)<0&&an.call(e,r)&&(n[r]=e[r]);return n};const hn=(e,t)=>{const{formats:n}=jt();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},pn=nn((e=>{var t=e,{locale:n,format:r}=t,i=un(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return r&&(i=hn("number",r)),new Intl.NumberFormat(n,i)})),fn=nn((e=>{var t=e,{locale:n,format:r}=t,i=un(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return r?i=hn("date",r):0===Object.keys(i).length&&(i=hn("date","short")),new Intl.DateTimeFormat(n,i)})),mn=nn((e=>{var t=e,{locale:n,format:r}=t,i=un(t,["locale","format"]);if(null==n)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return r?i=hn("time",r):0===Object.keys(i).length&&(i=hn("time","short")),new Intl.DateTimeFormat(n,i)})),dn=nn((
570
570
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
571
- (e,t=Qt())=>new Lt(e,t,xt().formats,{ignoreTag:xt().ignoreTag}))),gn=(e,t={})=>{var n,r,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=Qt(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=At(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!=(o=null!=(i=null==(r=(n=xt()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))?i:c)?o:e;if(!a)return u;let h=u;try{h=dn(u,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},yn=(e,t)=>((e={})=>{var t=e,{locale:n=Qt()}=t,r=un(t,["locale"]);return mn(cn({locale:n},r))})(t).format(e),bn=(e,t)=>((e={})=>{var t=e,{locale:n=Qt()}=t,r=un(t,["locale"]);return fn(cn({locale:n},r))})(t).format(e),En=(e,t)=>((e={})=>{var t=e,{locale:n=Qt()}=t,r=un(t,["locale"]);return pn(cn({locale:n},r))})(t).format(e),vn=(e,t=Qt())=>At(e,t),Tn=$([en,_t],(()=>gn));function Bn(e,t){It(e,t)}$([en],(()=>yn)),$([en],(()=>bn)),$([en],(()=>En)),$([en,_t],(()=>vn));const wn={en:{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:{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:{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:{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:{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:{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:Ln}=a;
572
- /* src/PlayerAccountGamingLimitsPopup_2.svelte generated by Svelte v3.59.2 */function Pn(e){let t;function n(e,t){/*popupState*/
573
- return"initial"===e[10]?Cn:/*popupState*/"successful"===e[10]?Sn:/*popupState*/"KYC"===e[10]?_n:/*popupState*/"KYC2"===e[10]?kn:/*popupState*/"error"===e[10]?An:void 0}let r=n(e),i=r&&r(e);return{c(){t=h("div"),i&&i.c(),g(t,"class","InitialWrapper")},m(e,n){c(e,t,n),i&&i.m(t,null)},p(e,o){r===(r=n(e))&&i?i.p(e,o):(i&&i.d(1),i=r&&r(e),i&&(i.c(),i.m(t,null)))},d(e){e&&u(t),i&&i.d()}}}
571
+ (e,t=Qt())=>new Pt(e,t,jt().formats,{ignoreTag:jt().ignoreTag}))),gn=(e,t={})=>{var n,r,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:l=Qt(),default:c}=s;if(null==l)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let u=Ht(e,l);if(u){if("string"!=typeof u)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),u}else u=null!=(o=null!=(i=null==(r=(n=jt()).handleMissingMessage)?void 0:r.call(n,{locale:l,id:e,defaultValue:c}))?i:c)?o:e;if(!a)return u;let h=u;try{h=dn(u,l).format(a)}catch(t){t instanceof Error&&console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},yn=(e,t)=>((e={})=>{var t=e,{locale:n=Qt()}=t,r=un(t,["locale"]);return mn(cn({locale:n},r))})(t).format(e),bn=(e,t)=>((e={})=>{var t=e,{locale:n=Qt()}=t,r=un(t,["locale"]);return fn(cn({locale:n},r))})(t).format(e),En=(e,t)=>((e={})=>{var t=e,{locale:n=Qt()}=t,r=un(t,["locale"]);return pn(cn({locale:n},r))})(t).format(e),vn=(e,t=Qt())=>Ht(e,t),Tn=z([en,St],(()=>gn));function Bn(e,t){It(e,t)}z([en],(()=>yn)),z([en],(()=>bn)),z([en],(()=>En)),z([en,St],(()=>vn));const wn={en:{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:{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:{loading:"Učitavanje",setLimit:"Postavite ograničenje",setLimitDescription:"U Njemačkoj",lugasInfo1:"Ima li pitanja? Informacije o",lugasInfo2:"LUGAS",keepCurrentLimit:"ZADRŽITE TRENUTNO OGRANIČENJE",keepCurrentLimitButton:"NOVO OGRANIČENJE",applyButton:"PRIMJENI",depositPeriod:"Mjesečno ograničenje uplate",TCpart1:'Klikom na "Zadrži trenutno ograničenje" ili "Primijeni" potvrđujem da sam pročitao i prihvaćam',TClink:"Opći uvjeti poslovanja",TCpart2:"Također imajte na umu našu",PPlink:"Politiku privatnosti",depositLimit:"Postavljeno ograničenje uplate",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:"Uspjeli smo postaviti vaše mjesečno ograničenje uplate na",kyc1Part2:"Kako bi povećali ograničenje na željeni iznos",kycButton:"UČITAJ DOKUMENTE",closeButton:"ZATVORI",depositError:"Pogreška ažuriranja ograničenja uplate",errorDescription:"Trenutačno nismo mogli postaviti vaše ograničenje",docsRequired:"Potrebni dokumenti!",kyc2:"Za odabrano ograničenje"},sl:{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:{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:{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:Pn}=a;
572
+ /* src/PlayerAccountGamingLimitsPopup_2.svelte generated by Svelte v3.59.2 */function Ln(e){let t;function n(e,t){/*popupState*/
573
+ return"initial"===e[10]?Cn:/*popupState*/"successful"===e[10]?kn:/*popupState*/"KYC"===e[10]?Sn:/*popupState*/"KYC2"===e[10]?_n:/*popupState*/"error"===e[10]?Hn:void 0}let r=n(e),i=r&&r(e);return{c(){t=h("div"),i&&i.c(),g(t,"class","InitialWrapper")},m(e,n){c(e,t,n),i&&i.m(t,null)},p(e,o){r===(r=n(e))&&i?i.p(e,o):(i&&i.d(1),i=r&&r(e),i&&(i.c(),i.m(t,null)))},d(e){e&&u(t),i&&i.d()}}}
574
574
  // (146:8) {#if isLoading}
575
- function Hn(e){let t,n,r=/*$_*/e[12]("loading")+"";return{c(){t=h("p"),n=f(r)},m(e,r){c(e,t,r),l(t,n)},p(e,t){/*$_*/4096&t[0]&&r!==(r=/*$_*/e[12]("loading")+"")&&b(n,r)},d(e){e&&u(t)}}}
575
+ function An(e){let t,n,r=/*$_*/e[12]("loading")+"";return{c(){t=h("p"),n=f(r)},m(e,r){c(e,t,r),l(t,n)},p(e,t){/*$_*/4096&t[0]&&r!==(r=/*$_*/e[12]("loading")+"")&&b(n,r)},d(e){e&&u(t)}}}
576
576
  // (242:43)
577
- function An(e){let t,n,r,i,o,s,a,p,y,E,v,T,B=/*$_*/e[12]("depositError")+"",w=/*$_*/e[12]("errorDescription")+"",L=/*$_*/e[12]("closeButton")+"";return{c(){t=h("p"),n=f(B),r=m(),i=h("div"),i.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=m(),s=h("p"),a=f(w),p=m(),y=h("button"),E=f(L),g(t,"class","Title"),g(i,"class","ResultIconWrapper"),g(s,"class","Description CenterAlign"),g(y,"class","ConfirmButton SecondaryButtonStyle")},m(u,h){c(u,t,h),l(t,n),c(u,r,h),c(u,i,h),c(u,o,h),c(u,s,h),l(s,a),c(u,p,h),c(u,y,h),l(y,E),v||(T=d(y,"click",/*click_handler_10*/e[36]),v=!0)},p(e,t){/*$_*/4096&t[0]&&B!==(B=/*$_*/e[12]("depositError")+"")&&b(n,B),/*$_*/4096&t[0]&&w!==(w=/*$_*/e[12]("errorDescription")+"")&&b(a,w),/*$_*/4096&t[0]&&L!==(L=/*$_*/e[12]("closeButton")+"")&&b(E,L)},d(e){e&&u(t),e&&u(r),e&&u(i),e&&u(o),e&&u(s),e&&u(p),e&&u(y),v=!1,T()}}}
577
+ function Hn(e){let t,n,r,i,o,s,a,p,y,E,v,T,B=/*$_*/e[12]("depositError")+"",w=/*$_*/e[12]("errorDescription")+"",P=/*$_*/e[12]("closeButton")+"";return{c(){t=h("p"),n=f(B),r=m(),i=h("div"),i.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=m(),s=h("p"),a=f(w),p=m(),y=h("button"),E=f(P),g(t,"class","Title"),g(i,"class","ResultIconWrapper"),g(s,"class","Description CenterAlign"),g(y,"class","ConfirmButton SecondaryButtonStyle")},m(u,h){c(u,t,h),l(t,n),c(u,r,h),c(u,i,h),c(u,o,h),c(u,s,h),l(s,a),c(u,p,h),c(u,y,h),l(y,E),v||(T=d(y,"click",/*click_handler_10*/e[36]),v=!0)},p(e,t){/*$_*/4096&t[0]&&B!==(B=/*$_*/e[12]("depositError")+"")&&b(n,B),/*$_*/4096&t[0]&&w!==(w=/*$_*/e[12]("errorDescription")+"")&&b(a,w),/*$_*/4096&t[0]&&P!==(P=/*$_*/e[12]("closeButton")+"")&&b(E,P)},d(e){e&&u(t),e&&u(r),e&&u(i),e&&u(o),e&&u(s),e&&u(p),e&&u(y),v=!1,T()}}}
578
578
  // (219:42)
579
- function kn(e){let t,n,i,o,s,a,y,E,T,B,w,L,P,H,A,k,_,S,C,I,N,M,O=/*$_*/e[12]("docsRequired")+"",D=/*$_*/e[12]("docsRequired")+"",R=/*$_*/e[12]("kyc2")+"",j=/*$_*/e[12]("kycButton")+"",U=/*$_*/e[12]("closeButton")+"";return{c(){t=h("p"),n=f(O),i=m(),o=h("div"),s=h("div"),a=p("svg"),y=p("g"),E=p("path"),T=m(),B=h("p"),w=f(D),L=m(),P=h("p"),H=f(R),A=m(),k=h("button"),_=f(j),S=m(),C=h("button"),I=f(U),g(t,"class","Title"),g(E,"id","XMLID_6_"),g(E,"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"),g(y,"id","XMLID_1_"),g(a,"version","1.1"),g(a,"id","Layer_1"),g(a,"xmlns","http://www.w3.org/2000/svg"),g(a,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(a,"x","0px"),g(a,"y","0px"),g(a,"viewBox","0 0 512 512"),v(a,"enable-background","new 0 0 512 512"),g(a,"xml:space","preserve"),g(s,"class","ResultIconWrapper"),g(P,"class","Description CenterAlign"),g(o,"class","DescriptionWrapper"),g(k,"class","KycButton PrimaryButtonStyle"),g(C,"class","ConfirmButton SecondaryButtonStyle")},m(r,u){c(r,t,u),l(t,n),c(r,i,u),c(r,o,u),l(o,s),l(s,a),l(a,y),l(y,E),l(s,T),l(s,B),l(B,w),l(o,L),l(o,P),l(P,H),c(r,A,u),c(r,k,u),l(k,_),c(r,S,u),c(r,C,u),l(C,I),N||(M=[d(k,"click",/*click_handler_8*/e[34]),d(C,"click",/*click_handler_9*/e[35])],N=!0)},p(e,t){/*$_*/4096&t[0]&&O!==(O=/*$_*/e[12]("docsRequired")+"")&&b(n,O),/*$_*/4096&t[0]&&D!==(D=/*$_*/e[12]("docsRequired")+"")&&b(w,D),/*$_*/4096&t[0]&&R!==(R=/*$_*/e[12]("kyc2")+"")&&b(H,R),/*$_*/4096&t[0]&&j!==(j=/*$_*/e[12]("kycButton")+"")&&b(_,j),/*$_*/4096&t[0]&&U!==(U=/*$_*/e[12]("closeButton")+"")&&b(I,U)},d(e){e&&u(t),e&&u(i),e&&u(o),e&&u(A),e&&u(k),e&&u(S),e&&u(C),N=!1,r(M)}}}
579
+ function _n(e){let t,n,i,o,s,a,y,E,T,B,w,P,L,A,H,_,S,k,C,I,N,O,M=/*$_*/e[12]("docsRequired")+"",R=/*$_*/e[12]("docsRequired")+"",D=/*$_*/e[12]("kyc2")+"",U=/*$_*/e[12]("kycButton")+"",x=/*$_*/e[12]("closeButton")+"";return{c(){t=h("p"),n=f(M),i=m(),o=h("div"),s=h("div"),a=p("svg"),y=p("g"),E=p("path"),T=m(),B=h("p"),w=f(R),P=m(),L=h("p"),A=f(D),H=m(),_=h("button"),S=f(U),k=m(),C=h("button"),I=f(x),g(t,"class","Title"),g(E,"id","XMLID_6_"),g(E,"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"),g(y,"id","XMLID_1_"),g(a,"version","1.1"),g(a,"id","Layer_1"),g(a,"xmlns","http://www.w3.org/2000/svg"),g(a,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(a,"x","0px"),g(a,"y","0px"),g(a,"viewBox","0 0 512 512"),v(a,"enable-background","new 0 0 512 512"),g(a,"xml:space","preserve"),g(s,"class","ResultIconWrapper"),g(L,"class","Description CenterAlign"),g(o,"class","DescriptionWrapper"),g(_,"class","KycButton PrimaryButtonStyle"),g(C,"class","ConfirmButton SecondaryButtonStyle")},m(r,u){c(r,t,u),l(t,n),c(r,i,u),c(r,o,u),l(o,s),l(s,a),l(a,y),l(y,E),l(s,T),l(s,B),l(B,w),l(o,P),l(o,L),l(L,A),c(r,H,u),c(r,_,u),l(_,S),c(r,k,u),c(r,C,u),l(C,I),N||(O=[d(_,"click",/*click_handler_8*/e[34]),d(C,"click",/*click_handler_9*/e[35])],N=!0)},p(e,t){/*$_*/4096&t[0]&&M!==(M=/*$_*/e[12]("docsRequired")+"")&&b(n,M),/*$_*/4096&t[0]&&R!==(R=/*$_*/e[12]("docsRequired")+"")&&b(w,R),/*$_*/4096&t[0]&&D!==(D=/*$_*/e[12]("kyc2")+"")&&b(A,D),/*$_*/4096&t[0]&&U!==(U=/*$_*/e[12]("kycButton")+"")&&b(S,U),/*$_*/4096&t[0]&&x!==(x=/*$_*/e[12]("closeButton")+"")&&b(I,x)},d(e){e&&u(t),e&&u(i),e&&u(o),e&&u(H),e&&u(_),e&&u(k),e&&u(C),N=!1,r(O)}}}
580
580
  // (196:41)
581
- function _n(e){let t,n,i,o,s,a,y,E,T,B,w,L,P,H,A,k,_,S,C,I,N,M,O,D,R,j,U=/*$_*/e[12]("depositLimit")+"",x=/*$_*/e[12]("successful")+"",G=/*$_*/e[12]("kyc1Part1")+"",z=/*$_*/e[12]("kyc1Part2")+"",$=/*$_*/e[12]("kycButton")+"",F=/*$_*/e[12]("closeButton")+"";return{c(){t=h("p"),n=f(U),i=m(),o=h("div"),s=h("div"),a=p("svg"),y=p("g"),E=p("path"),T=m(),B=h("p"),w=f(x),L=m(),P=h("p"),H=f(G),A=f(/*legislatorLimitValue*/e[11]),k=m(),_=f(/*currency*/e[0]),S=f(z),C=m(),I=h("button"),N=f($),M=m(),O=h("button"),D=f(F),g(t,"class","Title"),g(E,"id","XMLID_6_"),g(E,"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"),g(y,"id","XMLID_1_"),g(a,"version","1.1"),g(a,"id","Layer_1"),g(a,"xmlns","http://www.w3.org/2000/svg"),g(a,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(a,"x","0px"),g(a,"y","0px"),g(a,"viewBox","0 0 512 512"),v(a,"enable-background","new 0 0 512 512"),g(a,"xml:space","preserve"),g(s,"class","ResultIconWrapper"),g(P,"class","Description CenterAlign"),g(o,"class","DescriptionWrapper"),g(I,"class","KycButton PrimaryButtonStyle"),g(O,"class","ConfirmButton SecondaryButtonStyle")},m(r,u){c(r,t,u),l(t,n),c(r,i,u),c(r,o,u),l(o,s),l(s,a),l(a,y),l(y,E),l(s,T),l(s,B),l(B,w),l(o,L),l(o,P),l(P,H),l(P,A),l(P,k),l(P,_),l(P,S),c(r,C,u),c(r,I,u),l(I,N),c(r,M,u),c(r,O,u),l(O,D),R||(j=[d(I,"click",/*click_handler_6*/e[32]),d(O,"click",/*click_handler_7*/e[33])],R=!0)},p(e,t){/*$_*/4096&t[0]&&U!==(U=/*$_*/e[12]("depositLimit")+"")&&b(n,U),/*$_*/4096&t[0]&&x!==(x=/*$_*/e[12]("successful")+"")&&b(w,x),/*$_*/4096&t[0]&&G!==(G=/*$_*/e[12]("kyc1Part1")+"")&&b(H,G),/*legislatorLimitValue*/2048&t[0]&&b(A,/*legislatorLimitValue*/e[11]),/*currency*/1&t[0]&&b(_,/*currency*/e[0]),/*$_*/4096&t[0]&&z!==(z=/*$_*/e[12]("kyc1Part2")+"")&&b(S,z),/*$_*/4096&t[0]&&$!==($=/*$_*/e[12]("kycButton")+"")&&b(N,$),/*$_*/4096&t[0]&&F!==(F=/*$_*/e[12]("closeButton")+"")&&b(D,F)},d(e){e&&u(t),e&&u(i),e&&u(o),e&&u(C),e&&u(I),e&&u(M),e&&u(O),R=!1,r(j)}}}
581
+ function Sn(e){let t,n,i,o,s,a,y,E,T,B,w,P,L,A,H,_,S,k,C,I,N,O,M,R,D,U,x=/*$_*/e[12]("depositLimit")+"",j=/*$_*/e[12]("successful")+"",G=/*$_*/e[12]("kyc1Part1")+"",$=/*$_*/e[12]("kyc1Part2")+"",z=/*$_*/e[12]("kycButton")+"",F=/*$_*/e[12]("closeButton")+"";return{c(){t=h("p"),n=f(x),i=m(),o=h("div"),s=h("div"),a=p("svg"),y=p("g"),E=p("path"),T=m(),B=h("p"),w=f(j),P=m(),L=h("p"),A=f(G),H=f(/*legislatorLimitValue*/e[11]),_=m(),S=f(/*currency*/e[0]),k=f($),C=m(),I=h("button"),N=f(z),O=m(),M=h("button"),R=f(F),g(t,"class","Title"),g(E,"id","XMLID_6_"),g(E,"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"),g(y,"id","XMLID_1_"),g(a,"version","1.1"),g(a,"id","Layer_1"),g(a,"xmlns","http://www.w3.org/2000/svg"),g(a,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(a,"x","0px"),g(a,"y","0px"),g(a,"viewBox","0 0 512 512"),v(a,"enable-background","new 0 0 512 512"),g(a,"xml:space","preserve"),g(s,"class","ResultIconWrapper"),g(L,"class","Description CenterAlign"),g(o,"class","DescriptionWrapper"),g(I,"class","KycButton PrimaryButtonStyle"),g(M,"class","ConfirmButton SecondaryButtonStyle")},m(r,u){c(r,t,u),l(t,n),c(r,i,u),c(r,o,u),l(o,s),l(s,a),l(a,y),l(y,E),l(s,T),l(s,B),l(B,w),l(o,P),l(o,L),l(L,A),l(L,H),l(L,_),l(L,S),l(L,k),c(r,C,u),c(r,I,u),l(I,N),c(r,O,u),c(r,M,u),l(M,R),D||(U=[d(I,"click",/*click_handler_6*/e[32]),d(M,"click",/*click_handler_7*/e[33])],D=!0)},p(e,t){/*$_*/4096&t[0]&&x!==(x=/*$_*/e[12]("depositLimit")+"")&&b(n,x),/*$_*/4096&t[0]&&j!==(j=/*$_*/e[12]("successful")+"")&&b(w,j),/*$_*/4096&t[0]&&G!==(G=/*$_*/e[12]("kyc1Part1")+"")&&b(A,G),/*legislatorLimitValue*/2048&t[0]&&b(H,/*legislatorLimitValue*/e[11]),/*currency*/1&t[0]&&b(S,/*currency*/e[0]),/*$_*/4096&t[0]&&$!==($=/*$_*/e[12]("kyc1Part2")+"")&&b(k,$),/*$_*/4096&t[0]&&z!==(z=/*$_*/e[12]("kycButton")+"")&&b(N,z),/*$_*/4096&t[0]&&F!==(F=/*$_*/e[12]("closeButton")+"")&&b(R,F)},d(e){e&&u(t),e&&u(i),e&&u(o),e&&u(C),e&&u(I),e&&u(O),e&&u(M),D=!1,r(U)}}}
582
582
  // (179:48)
583
- function Sn(e){let t,n,r,i,o,s,a,y,E,T,B,w,L,P,H,A,k,_,S,C,I,N=/*$_*/e[12]("depositLimit")+"",M=/*$_*/e[12]("successful")+"",O=/*$_*/e[12]("successDescription")+"";return{c(){t=h("p"),n=f(N),r=m(),i=h("div"),o=h("div"),s=p("svg"),a=p("defs"),y=p("style"),E=f(".fil0 {fill:black;fill-rule:nonzero}\n "),T=p("g"),B=p("polygon"),w=m(),L=h("p"),P=f(M),H=m(),A=h("p"),k=f(O),_=m(),S=h("button"),S.textContent="OK",g(t,"class","Title"),g(y,"type","text/css"),g(B,"class","fil0"),g(B,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),g(s,"xmlns","http://www.w3.org/2000/svg"),g(s,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(s,"xml:space","preserve"),g(s,"version","1.1"),v(s,"shape-rendering","geometricPrecision"),v(s,"text-rendering","geometricPrecision"),v(s,"image-rendering","optimizeQuality"),g(s,"viewBox","0 0 90 69"),g(s,"x","0px"),g(s,"y","0px"),g(s,"fill-rule","evenodd"),g(s,"clip-rule","evenodd"),g(o,"class","ResultIconWrapper"),g(A,"class","Description CenterAlign"),g(i,"class","DescriptionWrapper"),g(S,"class","ConfirmButton PrimaryButtonStyle")},m(u,h){c(u,t,h),l(t,n),c(u,r,h),c(u,i,h),l(i,o),l(o,s),l(s,a),l(a,y),l(y,E),l(s,T),l(T,B),l(o,w),l(o,L),l(L,P),l(i,H),l(i,A),l(A,k),c(u,_,h),c(u,S,h),C||(I=d(S,"click",/*click_handler_5*/e[31]),C=!0)},p(e,t){/*$_*/4096&t[0]&&N!==(N=/*$_*/e[12]("depositLimit")+"")&&b(n,N),/*$_*/4096&t[0]&&M!==(M=/*$_*/e[12]("successful")+"")&&b(P,M),/*$_*/4096&t[0]&&O!==(O=/*$_*/e[12]("successDescription")+"")&&b(k,O)},d(e){e&&u(t),e&&u(r),e&&u(i),e&&u(_),e&&u(S),C=!1,I()}}}
583
+ function kn(e){let t,n,r,i,o,s,a,y,E,T,B,w,P,L,A,H,_,S,k,C,I,N=/*$_*/e[12]("depositLimit")+"",O=/*$_*/e[12]("successful")+"",M=/*$_*/e[12]("successDescription")+"";return{c(){t=h("p"),n=f(N),r=m(),i=h("div"),o=h("div"),s=p("svg"),a=p("defs"),y=p("style"),E=f(".fil0 {fill:black;fill-rule:nonzero}\n "),T=p("g"),B=p("polygon"),w=m(),P=h("p"),L=f(O),A=m(),H=h("p"),_=f(M),S=m(),k=h("button"),k.textContent="OK",g(t,"class","Title"),g(y,"type","text/css"),g(B,"class","fil0"),g(B,"points","0,38 10,25 36,47 78,0 90,11 37,69 "),g(s,"xmlns","http://www.w3.org/2000/svg"),g(s,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(s,"xml:space","preserve"),g(s,"version","1.1"),v(s,"shape-rendering","geometricPrecision"),v(s,"text-rendering","geometricPrecision"),v(s,"image-rendering","optimizeQuality"),g(s,"viewBox","0 0 90 69"),g(s,"x","0px"),g(s,"y","0px"),g(s,"fill-rule","evenodd"),g(s,"clip-rule","evenodd"),g(o,"class","ResultIconWrapper"),g(H,"class","Description CenterAlign"),g(i,"class","DescriptionWrapper"),g(k,"class","ConfirmButton PrimaryButtonStyle")},m(u,h){c(u,t,h),l(t,n),c(u,r,h),c(u,i,h),l(i,o),l(o,s),l(s,a),l(a,y),l(y,E),l(s,T),l(T,B),l(o,w),l(o,P),l(P,L),l(i,A),l(i,H),l(H,_),c(u,S,h),c(u,k,h),C||(I=d(k,"click",/*click_handler_5*/e[31]),C=!0)},p(e,t){/*$_*/4096&t[0]&&N!==(N=/*$_*/e[12]("depositLimit")+"")&&b(n,N),/*$_*/4096&t[0]&&O!==(O=/*$_*/e[12]("successful")+"")&&b(L,O),/*$_*/4096&t[0]&&M!==(M=/*$_*/e[12]("successDescription")+"")&&b(_,M)},d(e){e&&u(t),e&&u(r),e&&u(i),e&&u(S),e&&u(k),C=!1,I()}}}
584
584
  // (150:10) {#if popupState === "initial"}
585
- function Cn(e){let t,n,i,o,s,a,v,B,w,L,P,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,re,ie,oe=/*$_*/e[12]("setLimit")+"",se=/*$_*/e[12]("setLimitDescription")+"",ae=/*$_*/e[12]("lugasInfo1")+"",le=/*$_*/e[12]("lugasInfo2")+"",ce=/*$_*/e[12]("keepCurrentLimit")+"",ue=/*$_*/e[12]("keepCurrentLimitButton")+"",he=/*$_*/e[12]("depositPeriod")+"",pe=/*$_*/e[12]("applyButton")+"",fe=/*$_*/e[12]("TCpart1")+"",me=/*$_*/e[12]("TClink")+"",de=/*$_*/e[12]("TCpart2")+"",ge=/*$_*/e[12]("PPlink")+"";return{c(){t=h("p"),n=f(oe),i=m(),o=h("p"),s=f(se),a=m(),v=h("p"),B=f(ae),w=m(),L=h("button"),P=f(le),H=m(),A=h("button"),k=f(ce),_=m(),S=h("button"),C=f(ue),I=p("svg"),N=p("path"),M=p("path"),O=m(),D=h("div"),R=h("div"),j=h("span"),U=f(he),x=m(),G=h("div"),z=h("input"),$=m(),F=h("button"),V=f(pe),K=m(),X=h("p"),Z=f(fe),W=h("button"),Y=f(me),q=m(),J=f(de),Q=m(),ee=h("button"),te=f(ge),ne=f("."),g(t,"class","Title"),g(o,"class","Description LeftAlign"),g(L,"class","LinkButton"),g(v,"class","AdditionalInformation"),g(A,"class","KeepCurrentButton PrimaryButtonStyle"),g(N,"d","M10.5 15l7.5 7.5 7.5-7.5z"),g(M,"d","M0 0h36v36h-36z"),g(M,"fill","none"),g(I,"class","ExpandArrow"),g(I,"xmlns","http://www.w3.org/2000/svg"),g(I,"width","36"),g(I,"height","36"),g(I,"viewBox","0 0 36 36"),g(I,"fill","#999"),T(I,"Extended",/*extended*/e[5]),g(S,"class","ExpandButton"),g(j,"class","DepositPeriodText"),g(R,"class","DepositTextSection"),g(z,"type","number"),g(z,"class","DepositInput"),g(F,"type","submit"),g(F,"class","SubmitDepositButton PrimaryButtonStyle"),F.disabled=!0,g(G,"class","DepositInputSection"),g(D,"class","SetLimitSection"),T(D,"Hidden",/*hidden*/e[4]),g(W,"class","LinkButton"),g(ee,"class","LinkButton"),g(X,"class","TermsConditions")},m(r,u){c(r,t,u),l(t,n),c(r,i,u),c(r,o,u),l(o,s),c(r,a,u),c(r,v,u),l(v,B),l(v,w),l(v,L),l(L,P),c(r,H,u),c(r,A,u),l(A,k),c(r,_,u),c(r,S,u),l(S,C),l(S,I),l(I,N),l(I,M),
586
- /*svg_binding*/e[25](I),c(r,O,u),c(r,D,u),l(D,R),l(R,j),l(j,U),l(D,x),l(D,G),l(G,z),E(z,/*inputAmount*/e[6]),l(G,$),l(G,F),l(F,V),
587
- /*button3_binding*/e[27](F),c(r,K,u),c(r,X,u),l(X,Z),l(X,W),l(W,Y),l(X,q),l(X,J),l(X,Q),l(X,ee),l(ee,te),l(X,ne),re||(ie=[d(L,"click",/*click_handler*/e[23]),d(A,"click",/*click_handler_1*/e[24]),d(S,"click",/*toggleNewLimitArea*/e[13]),d(z,"input",/*input_input_handler*/e[26]),d(z,"keyup",/*updateInputValue*/e[14]),d(F,"click",/*click_handler_2*/e[28]),d(W,"click",/*click_handler_3*/e[29]),d(ee,"click",/*click_handler_4*/e[30])],re=!0)},p(e,t){/*$_*/4096&t[0]&&oe!==(oe=/*$_*/e[12]("setLimit")+"")&&b(n,oe),/*$_*/4096&t[0]&&se!==(se=/*$_*/e[12]("setLimitDescription")+"")&&b(s,se),/*$_*/4096&t[0]&&ae!==(ae=/*$_*/e[12]("lugasInfo1")+"")&&b(B,ae),/*$_*/4096&t[0]&&le!==(le=/*$_*/e[12]("lugasInfo2")+"")&&b(P,le),/*$_*/4096&t[0]&&ce!==(ce=/*$_*/e[12]("keepCurrentLimit")+"")&&b(k,ce),/*$_*/4096&t[0]&&ue!==(ue=/*$_*/e[12]("keepCurrentLimitButton")+"")&&b(C,ue),/*extended*/32&t[0]&&T(I,"Extended",/*extended*/e[5]),/*$_*/4096&t[0]&&he!==(he=/*$_*/e[12]("depositPeriod")+"")&&b(U,he),/*inputAmount*/64&t[0]&&y(z.value)!==/*inputAmount*/e[6]&&E(z,/*inputAmount*/e[6]),/*$_*/4096&t[0]&&pe!==(pe=/*$_*/e[12]("applyButton")+"")&&b(V,pe),/*hidden*/16&t[0]&&T(D,"Hidden",/*hidden*/e[4]),/*$_*/4096&t[0]&&fe!==(fe=/*$_*/e[12]("TCpart1")+"")&&b(Z,fe),/*$_*/4096&t[0]&&me!==(me=/*$_*/e[12]("TClink")+"")&&b(Y,me),/*$_*/4096&t[0]&&de!==(de=/*$_*/e[12]("TCpart2")+"")&&b(J,de),/*$_*/4096&t[0]&&ge!==(ge=/*$_*/e[12]("PPlink")+"")&&b(te,ge)},d(n){n&&u(t),n&&u(i),n&&u(o),n&&u(a),n&&u(v),n&&u(H),n&&u(A),n&&u(_),n&&u(S)
588
- /*svg_binding*/,e[25](null),n&&u(O),n&&u(D)
585
+ function Cn(e){let t,n,i,o,s,a,v,B,w,P,L,A,H,_,S,k,C,I,N,O,M,R,D,U,x,j,G,$,z,F,V,K,X,Z,W,Y,q,J,Q,ee,te,ne,re,ie,oe=/*$_*/e[12]("setLimit")+"",se=/*$_*/e[12]("setLimitDescription")+"",ae=/*$_*/e[12]("lugasInfo1")+"",le=/*$_*/e[12]("lugasInfo2")+"",ce=/*$_*/e[12]("keepCurrentLimit")+"",ue=/*$_*/e[12]("keepCurrentLimitButton")+"",he=/*$_*/e[12]("depositPeriod")+"",pe=/*$_*/e[12]("applyButton")+"",fe=/*$_*/e[12]("TCpart1")+"",me=/*$_*/e[12]("TClink")+"",de=/*$_*/e[12]("TCpart2")+"",ge=/*$_*/e[12]("PPlink")+"";return{c(){t=h("p"),n=f(oe),i=m(),o=h("p"),s=f(se),a=m(),v=h("p"),B=f(ae),w=m(),P=h("button"),L=f(le),A=m(),H=h("button"),_=f(ce),S=m(),k=h("button"),C=f(ue),I=p("svg"),N=p("path"),O=p("path"),M=m(),R=h("div"),D=h("div"),U=h("span"),x=f(he),j=m(),G=h("div"),$=h("input"),z=m(),F=h("button"),V=f(pe),K=m(),X=h("p"),Z=f(fe),W=h("button"),Y=f(me),q=m(),J=f(de),Q=m(),ee=h("button"),te=f(ge),ne=f("."),g(t,"class","Title"),g(o,"class","Description LeftAlign"),g(P,"class","LinkButton"),g(v,"class","AdditionalInformation"),g(H,"class","KeepCurrentButton PrimaryButtonStyle"),g(N,"d","M10.5 15l7.5 7.5 7.5-7.5z"),g(O,"d","M0 0h36v36h-36z"),g(O,"fill","none"),g(I,"class","ExpandArrow"),g(I,"xmlns","http://www.w3.org/2000/svg"),g(I,"width","36"),g(I,"height","36"),g(I,"viewBox","0 0 36 36"),g(I,"fill","#999"),T(I,"Extended",/*extended*/e[5]),g(k,"class","ExpandButton"),g(U,"class","DepositPeriodText"),g(D,"class","DepositTextSection"),g($,"type","number"),g($,"class","DepositInput"),g(F,"type","submit"),g(F,"class","SubmitDepositButton PrimaryButtonStyle"),F.disabled=!0,g(G,"class","DepositInputSection"),g(R,"class","SetLimitSection"),T(R,"Hidden",/*hidden*/e[4]),g(W,"class","LinkButton"),g(ee,"class","LinkButton"),g(X,"class","TermsConditions")},m(r,u){c(r,t,u),l(t,n),c(r,i,u),c(r,o,u),l(o,s),c(r,a,u),c(r,v,u),l(v,B),l(v,w),l(v,P),l(P,L),c(r,A,u),c(r,H,u),l(H,_),c(r,S,u),c(r,k,u),l(k,C),l(k,I),l(I,N),l(I,O),
586
+ /*svg_binding*/e[25](I),c(r,M,u),c(r,R,u),l(R,D),l(D,U),l(U,x),l(R,j),l(R,G),l(G,$),E($,/*inputAmount*/e[6]),l(G,z),l(G,F),l(F,V),
587
+ /*button3_binding*/e[27](F),c(r,K,u),c(r,X,u),l(X,Z),l(X,W),l(W,Y),l(X,q),l(X,J),l(X,Q),l(X,ee),l(ee,te),l(X,ne),re||(ie=[d(P,"click",/*click_handler*/e[23]),d(H,"click",/*click_handler_1*/e[24]),d(k,"click",/*toggleNewLimitArea*/e[13]),d($,"input",/*input_input_handler*/e[26]),d($,"keyup",/*updateInputValue*/e[14]),d(F,"click",/*click_handler_2*/e[28]),d(W,"click",/*click_handler_3*/e[29]),d(ee,"click",/*click_handler_4*/e[30])],re=!0)},p(e,t){/*$_*/4096&t[0]&&oe!==(oe=/*$_*/e[12]("setLimit")+"")&&b(n,oe),/*$_*/4096&t[0]&&se!==(se=/*$_*/e[12]("setLimitDescription")+"")&&b(s,se),/*$_*/4096&t[0]&&ae!==(ae=/*$_*/e[12]("lugasInfo1")+"")&&b(B,ae),/*$_*/4096&t[0]&&le!==(le=/*$_*/e[12]("lugasInfo2")+"")&&b(L,le),/*$_*/4096&t[0]&&ce!==(ce=/*$_*/e[12]("keepCurrentLimit")+"")&&b(_,ce),/*$_*/4096&t[0]&&ue!==(ue=/*$_*/e[12]("keepCurrentLimitButton")+"")&&b(C,ue),/*extended*/32&t[0]&&T(I,"Extended",/*extended*/e[5]),/*$_*/4096&t[0]&&he!==(he=/*$_*/e[12]("depositPeriod")+"")&&b(x,he),/*inputAmount*/64&t[0]&&y($.value)!==/*inputAmount*/e[6]&&E($,/*inputAmount*/e[6]),/*$_*/4096&t[0]&&pe!==(pe=/*$_*/e[12]("applyButton")+"")&&b(V,pe),/*hidden*/16&t[0]&&T(R,"Hidden",/*hidden*/e[4]),/*$_*/4096&t[0]&&fe!==(fe=/*$_*/e[12]("TCpart1")+"")&&b(Z,fe),/*$_*/4096&t[0]&&me!==(me=/*$_*/e[12]("TClink")+"")&&b(Y,me),/*$_*/4096&t[0]&&de!==(de=/*$_*/e[12]("TCpart2")+"")&&b(J,de),/*$_*/4096&t[0]&&ge!==(ge=/*$_*/e[12]("PPlink")+"")&&b(te,ge)},d(n){n&&u(t),n&&u(i),n&&u(o),n&&u(a),n&&u(v),n&&u(A),n&&u(H),n&&u(S),n&&u(k)
588
+ /*svg_binding*/,e[25](null),n&&u(M),n&&u(R)
589
589
  /*button3_binding*/,e[27](null),n&&u(K),n&&u(X),re=!1,r(ie)}}}function In(t){let n,r,i,o,s,a;function p(e,t){/*isLoading*/
590
- return e[7]?Hn:/*lang*/e[1]?Pn:void 0}let f=p(t),d=f&&f(t);return{c(){n=h("meta"),r=m(),i=h("div"),o=h("div"),s=h("div"),a=h("div"),d&&d.c(),this.c=e,g(n,"name","viewport"),g(n,"content","width=device-width, initial-scale=1"),g(a,"class","ModalContainer"),g(s,"class","Overlay"),g(o,"class","player-account-gaming-limits-popup-2")},m(e,u){l(Ln.head,n),c(e,r,u),c(e,i,u),l(i,o),l(o,s),l(s,a),d&&d.m(a,null)
590
+ return e[7]?An:/*lang*/e[1]?Ln:void 0}let f=p(t),d=f&&f(t);return{c(){n=h("meta"),r=m(),i=h("div"),o=h("div"),s=h("div"),a=h("div"),d&&d.c(),this.c=e,g(n,"name","viewport"),g(n,"content","width=device-width, initial-scale=1"),g(a,"class","ModalContainer"),g(s,"class","Overlay"),g(o,"class","player-account-gaming-limits-popup-2")},m(e,u){l(Pn.head,n),c(e,r,u),c(e,i,u),l(i,o),l(o,s),l(s,a),d&&d.m(a,null)
591
591
  /*div2_binding*/,t[37](o),
592
592
  /*div3_binding*/t[38](i)},p(e,t){f===(f=p(e))&&d?d.p(e,t):(d&&d.d(1),d=f&&f(e),d&&(d.c(),d.m(a,null)))},i:e,o:e,d(e){u(n),e&&u(r),e&&u(i),d&&d.d()
593
593
  /*div2_binding*/,t[37](null),
594
- /*div3_binding*/t[38](null)}}}function Nn(e,t,n){let r;var i,o;i=Tn,o=e=>n(12,r=e),e.$$.on_destroy.push(s(i,o));let a,l,c,u,h,p,{userid:f=""}=t,{session:m=""}=t,{endpoint:d=""}=t,{currency:g=""}=t,{lang:b=""}=t,{translationurl:E=""}=t,{clientstyling:v=""}=t,{clientstylingurl:T=""}=t,B=!0,w=!1,L=!1,P="initial";Object.keys(wn).forEach((e=>{Bn(e,wn[e])}));const A=e=>{switch(window.postMessage({type:e},window.location.href),e){case"closePopup":case"uploadDocuments":h.parentNode.removeChild(h)}},k=e=>{const t=new URL(`/v1/player/${f}/limit/lugas`,d);let r={};n(7,L=!0),r="custom"===e?{amount:c}:{};let i={method:"POST",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(r)};fetch(t.href,i).then((e=>e.json())).then((e=>{_(e)})).catch((e=>{console.log(e)})).finally((()=>{n(7,L=!1)}))},_=e=>{if(e.hasOwnProperty("kycNeeded"))switch(e.popup){case 1:n(10,P="KYC"),n(11,p=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.operatorDepositLimitAmount));break;case 2:n(10,P="successful");break;case 3:n(10,P="KYC2")}else n(10,P="error")},S=()=>{var e;e=b,en.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,g=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,T=e.clientstylingurl)},e.$$.update=()=>{/*lang*/2&e.$$.dirty[0]&&b&&S(),/*clientstylingurl, customStylingContainer*/4194308&e.$$.dirty[0]&&T&&a&&(()=>{let e=new URL(T),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=>{Bn(t,e[t])}))})).catch((e=>{console.log(e)}))},[g,b,a,l,B,w,c,L,u,h,P,p,r,()=>{n(5,w=!w),n(4,B=!B)},()=>{const e=999999999999999;c>e&&n(6,c=e);const t=c-Math.floor(c)==0;c>0&&t?u.removeAttribute("disabled"):u.setAttribute("disabled","true")},A,k,f,m,d,E,v,T,()=>A("lugasInformation"),()=>k("default"),function(e){H[e?"unshift":"push"]((()=>{l=e,n(3,l)}))},function(){c=y(this.value),n(6,c)},function(e){H[e?"unshift":"push"]((()=>{u=e,n(8,u)}))},()=>k("custom"),()=>A("termsConditions"),()=>A("privacyPolicy"),()=>A("closePopup"),()=>A("uploadDocuments"),()=>A("closePopup"),()=>A("uploadDocuments"),()=>A("closePopup"),()=>A("closePopup"),function(e){H[e?"unshift":"push"]((()=>{h=e,n(9,h)}))},function(e){H[e?"unshift":"push"]((()=>{a=e,n(2,a)}))}]}class Mn 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:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));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:var(--emfe-w-color-white, #FFFFFF);border:0;padding:0;margin-top:-10px;color:var(--emfe-w-color-black, #000000);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:var(--emfe-w-color-gray-100, #E6E6E6);cursor:not-allowed;background:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-300, #58586B)}.Hidden{display:none}.Extended{transform:rotate(180deg)}',this.shadowRoot.appendChild(t),U(this,{target:this.shadowRoot,props:B(this.attributes),customElement:!0},Nn,In,o,{userid:17,session:18,endpoint:19,currency:0,lang:1,translationurl:20,clientstyling:21,clientstylingurl:22},null,[-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),M()))}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}),M()}get session(){return this.$$.ctx[18]}set session(e){this.$$set({session:e}),M()}get endpoint(){return this.$$.ctx[19]}set endpoint(e){this.$$set({endpoint:e}),M()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),M()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),M()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),M()}get clientstyling(){return this.$$.ctx[21]}set clientstyling(e){this.$$set({clientstyling:e}),M()}get clientstylingurl(){return this.$$.ctx[22]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),M()}}return!customElements.get("player-account-gaming-limits-popup-2")&&customElements.define("player-account-gaming-limits-popup-2",Mn),Mn}));
594
+ /*div3_binding*/t[38](null)}}}function Nn(e,t,n){let r;var i,o;i=Tn,o=e=>n(12,r=e),e.$$.on_destroy.push(s(i,o));let a,l,c,u,h,p,{userid:f=""}=t,{session:m=""}=t,{endpoint:d=""}=t,{currency:g=""}=t,{lang:b=""}=t,{translationurl:E=""}=t,{clientstyling:v=""}=t,{clientstylingurl:T=""}=t,B=!0,w=!1,P=!1,L="initial";Object.keys(wn).forEach((e=>{Bn(e,wn[e])}));const H=e=>{switch(window.postMessage({type:e},window.location.href),e){case"closePopup":case"uploadDocuments":h.parentNode.removeChild(h)}},_=e=>{const t=new URL(`/v1/player/${f}/limit/lugas`,d);let r={};n(7,P=!0),r="custom"===e?{amount:c}:{};let i={method:"POST",headers:{"X-SessionID":m,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(r)};fetch(t.href,i).then((e=>e.json())).then((e=>{S(e)})).catch((e=>{console.log(e)})).finally((()=>{n(7,P=!1)}))},S=e=>{if(e.hasOwnProperty("kycNeeded"))switch(e.popup){case 1:n(10,L="KYC"),n(11,p=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.operatorDepositLimitAmount));break;case 2:n(10,L="successful");break;case 3:n(10,L="KYC2")}else n(10,L="error")},k=()=>{var e;e=b,en.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,g=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,T=e.clientstylingurl)},e.$$.update=()=>{/*lang*/2&e.$$.dirty[0]&&b&&k(),/*clientstylingurl, customStylingContainer*/4194308&e.$$.dirty[0]&&T&&a&&(()=>{let e=new URL(T),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=>{Bn(t,e[t])}))})).catch((e=>{console.log(e)}))},[g,b,a,l,B,w,c,P,u,h,L,p,r,()=>{n(5,w=!w),n(4,B=!B)},()=>{const e=999999999999999;c>e&&n(6,c=e);const t=c-Math.floor(c)==0;c>0&&t?u.removeAttribute("disabled"):u.setAttribute("disabled","true")},H,_,f,m,d,E,v,T,()=>H("lugasInformation"),()=>_("default"),function(e){A[e?"unshift":"push"]((()=>{l=e,n(3,l)}))},function(){c=y(this.value),n(6,c)},function(e){A[e?"unshift":"push"]((()=>{u=e,n(8,u)}))},()=>_("custom"),()=>H("termsConditions"),()=>H("privacyPolicy"),()=>H("closePopup"),()=>H("uploadDocuments"),()=>H("closePopup"),()=>H("uploadDocuments"),()=>H("closePopup"),()=>H("closePopup"),function(e){A[e?"unshift":"push"]((()=>{h=e,n(9,h)}))},function(e){A[e?"unshift":"push"]((()=>{a=e,n(2,a)}))}]}class On extends j{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:var(--emfe-w-pam-color-primary, var(--emfe-w-color-primary, #D0046C));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:var(--emfe-w-color-white, #FFFFFF);border:0;padding:0;margin-top:-10px;color:var(--emfe-w-color-black, #000000);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:var(--emfe-w-color-gray-100, #E6E6E6);cursor:not-allowed;background:var(--emfe-w-color-white, #FFFFFF);border:1px solid var(--emfe-w-color-gray-300, #58586B)}.Hidden{display:none}.Extended{transform:rotate(180deg)}',this.shadowRoot.appendChild(t),x(this,{target:this.shadowRoot,props:B(this.attributes),customElement:!0},Nn,In,o,{userid:17,session:18,endpoint:19,currency:0,lang:1,translationurl:20,clientstyling:21,clientstylingurl:22},null,[-1,-1]),e&&(e.target&&c(e.target,this,e.anchor),e.props&&(this.$set(e.props),O()))}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}),O()}get session(){return this.$$.ctx[18]}set session(e){this.$$set({session:e}),O()}get endpoint(){return this.$$.ctx[19]}set endpoint(e){this.$$set({endpoint:e}),O()}get currency(){return this.$$.ctx[0]}set currency(e){this.$$set({currency:e}),O()}get lang(){return this.$$.ctx[1]}set lang(e){this.$$set({lang:e}),O()}get translationurl(){return this.$$.ctx[20]}set translationurl(e){this.$$set({translationurl:e}),O()}get clientstyling(){return this.$$.ctx[21]}set clientstyling(e){this.$$set({clientstyling:e}),O()}get clientstylingurl(){return this.$$.ctx[22]}set clientstylingurl(e){this.$$set({clientstylingurl:e}),O()}}return!customElements.get("player-account-gaming-limits-popup-2")&&customElements.define("player-account-gaming-limits-popup-2",On),On}));
595
595
  //# sourceMappingURL=player-account-gaming-limits-popup-2.js.map