@everymatrix/player-account-gaming-limits-popup-2 0.0.397 → 0.0.399

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}function a(e,t){e.appendChild(t)}function u(e,t,n){e.insertBefore(t,n||null)}function l(e){e.parentNode.removeChild(e)}function c(e){return document.createElement(e)}function h(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function p(e){return document.createTextNode(e)}function f(){return p(" ")}function m(e,t,n,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 d(e){return""===e?null:+e}function y(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function b(e,t){e.value=null==t?"":t}function E(e,t,n,r){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function v(e,t,n){e.classList[n?"add":"remove"](t)}function T(e){const t={};for(const n of e)t[n.name]=n.value;return t}let P;function B(e){P=e}const H=[],A=[],_=[],L=[],S=Promise.resolve();let w=!1;function I(e){_.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}function a(e,t){e.appendChild(t)}function u(e,t,n){e.insertBefore(t,n||null)}function l(e){e.parentNode.removeChild(e)}function c(e){return document.createElement(e)}function h(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}function p(e){return document.createTextNode(e)}function f(){return p(" ")}function m(e,t,n,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 d(e){return""===e?null:+e}function y(e,t){t=""+t,e.wholeText!==t&&(e.data=t)}function b(e,t){e.value=null==t?"":t}function E(e,t,n,r){null===n?e.style.removeProperty(t):e.style.setProperty(t,n,r?"important":"")}function v(e,t,n){e.classList[n?"add":"remove"](t)}function T(e){const t={};for(const n of e)t[n.name]=n.value;return t}let P;function B(e){P=e}const H=[],A=[],_=[],L=[],w=Promise.resolve();let S=!1;function I(e){_.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,22 +18,22 @@
18
18
  // callback called a second time; the seen_callbacks set, outside the flush()
19
19
  // function, guarantees this behavior.
20
20
  const C=new Set;let N=0;// Do *not* move this inside the flush() function
21
- function O(){const e=P;do{
21
+ function M(){const e=P;do{
22
22
  // first, call beforeUpdate functions
23
23
  // and update components
24
- for(;N<H.length;){const e=H[N];N++,B(e),M(e.$$)}for(B(null),H.length=0,N=0;A.length;)A.pop()();
24
+ for(;N<H.length;){const e=H[N];N++,B(e),O(e.$$)}for(B(null),H.length=0,N=0;A.length;)A.pop()();
25
25
  // then, once components are updated, call
26
26
  // afterUpdate functions. This may cause
27
27
  // subsequent updates...
28
28
  for(let e=0;e<_.length;e+=1){const t=_[e];C.has(t)||(
29
29
  // ...so guard against infinite loops
30
- C.add(t),t())}_.length=0}while(H.length);for(;L.length;)L.pop()();w=!1,C.clear(),B(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(I)}}const R=new Set;function D(e,t){-1===e.$$.dirty[0]&&(H.push(e),w||(w=!0,S.then(O)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function k(o,s,a,u,c,h,p,f=[-1]){const m=P;B(o);const g=o.$$={fragment:null,ctx:null,
30
+ C.add(t),t())}_.length=0}while(H.length);for(;L.length;)L.pop()();S=!1,C.clear(),B(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(I)}}const R=new Set;function k(e,t){-1===e.$$.dirty[0]&&(H.push(e),S||(S=!0,w.then(M)),e.$$.dirty.fill(0)),e.$$.dirty[t/31|0]|=1<<t%31}function D(o,s,a,u,c,h,p,f=[-1]){const m=P;B(o);const g=o.$$={fragment:null,ctx:null,
31
31
  // state
32
32
  props:h,update:e,not_equal:c,bound:n(),
33
33
  // lifecycle
34
34
  on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(s.context||(m?m.$$.context:[])),
35
35
  // everything else
36
- callbacks:n(),dirty:f,skip_bound:!1,root:s.target||m.$$.root};p&&p(g.root);let d=!1;if(g.ctx=a?a(o,s.props||{},((e,t,...n)=>{const r=n.length?n[0]:t;return g.ctx&&c(g.ctx[e],g.ctx[e]=r)&&(!g.skip_bound&&g.bound[e]&&g.bound[e](r),d&&D(o,e)),t})):[],g.update(),d=!0,r(g.before_update),
36
+ callbacks:n(),dirty:f,skip_bound:!1,root:s.target||m.$$.root};p&&p(g.root);let d=!1;if(g.ctx=a?a(o,s.props||{},((e,t,...n)=>{const r=n.length?n[0]:t;return g.ctx&&c(g.ctx[e],g.ctx[e]=r)&&(!g.skip_bound&&g.bound[e]&&g.bound[e](r),d&&k(o,e)),t})):[],g.update(),d=!0,r(g.before_update),
37
37
  // `false` as a special case of no DOM component
38
38
  g.fragment=!!u&&u(g.ctx),s.target){if(s.hydrate){const e=function(e){return Array.from(e.childNodes)}(s.target);
39
39
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
@@ -44,7 +44,7 @@ g.fragment&&g.fragment.c();s.intro&&((y=o.$$.fragment)&&y.i&&(R.delete(y),y.i(b)
44
44
  I((()=>{const n=u.map(t).filter(i);l?l.push(...n):
45
45
  // Edge case - component was destroyed immediately,
46
46
  // most likely as a result of a binding initialising
47
- r(n),e.$$.on_mount=[]})),c.forEach(I)}(o,s.target,s.anchor,s.customElement),O()}var y,b;B(m)}let U;"function"==typeof HTMLElement&&(U=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(i);
47
+ r(n),e.$$.on_mount=[]})),c.forEach(I)}(o,s.target,s.anchor,s.customElement),M()}var y,b;B(m)}let U;"function"==typeof HTMLElement&&(U=class extends HTMLElement{constructor(){super(),this.attachShadow({mode:"open"})}connectedCallback(){const{on_mount:e}=this.$$;this.$$.on_disconnect=e.map(t).filter(i);
48
48
  // @ts-ignore todo: improve typings
49
49
  for(const e in this.$$.slotted)
50
50
  // @ts-ignore todo: improve typings
@@ -67,10 +67,10 @@ const n=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return n.push(t),()=>{co
67
67
  function G(t,n=e){let r;const i=new Set;function s(e){if(o(t,e)&&(t=e,r)){// store is ready
68
68
  const e=!x.length;for(const e of i)e[1](),x.push(e,t);if(e){for(let e=0;e<x.length;e+=2)x[e][0](x[e+1]);x.length=0}}}return{set:s,update:function(e){s(e(t))},subscribe:function(o,a=e){const u=[o,a];return i.add(u),1===i.size&&(r=n(s)||e),o(t),()=>{i.delete(u),0===i.size&&(r(),r=null)}}}}function F(t,n,o){const a=!Array.isArray(t),u=a?[t]:t,l=n.length<2;return c=t=>{let o=!1;const c=[];let h=0,p=e;const f=()=>{if(h)return;p();const r=n(a?c[0]:c,t);l?t(r):p=i(r)?r:e},m=u.map(((e,t)=>s(e,(e=>{c[t]=e,h&=~(1<<t),o&&f()}),(()=>{h|=1<<t}))));return o=!0,f(),function(){r(m),p()}},{subscribe:G(o,c).subscribe};var c}var $=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===j}(e)}
69
69
  // see https://github.com/facebook/react/blob/b5ac963fb791d1298e7f396236383bc955f916c1/src/isomorphic/classic/element/ReactElement.js#L21-L25
70
- (e)};var j="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function V(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Y((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function X(e,t,n){return e.concat(t).map((function(e){return V(e,n)}))}function K(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function z(e,t){try{return t in e}catch(e){return!1}}
70
+ (e)};var j="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function V(e,t){return!1!==t.clone&&t.isMergeableObject(e)?Y((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function K(e,t,n){return e.concat(t).map((function(e){return V(e,n)}))}function X(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return e.propertyIsEnumerable(t)})):[]}(e))}function z(e,t){try{return t in e}catch(e){return!1}}
71
71
  // Protects from prototype poisoning and unexpected merging up the prototype chain.
72
- function W(e,t,n){var r={};return n.isMergeableObject(e)&&K(e).forEach((function(t){r[t]=V(e[t],n)})),K(t).forEach((function(i){(function(e,t){return z(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));// and also unsafe if they're nonenumerable.
73
- })(e,i)||(z(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return Y;var n=t.customMerge(e);return"function"==typeof n?n:Y}(i,n)(e[i],t[i],n):r[i]=V(t[i],n))})),r}function Y(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||X,n.isMergeableObject=n.isMergeableObject||$,
72
+ function W(e,t,n){var r={};return n.isMergeableObject(e)&&X(e).forEach((function(t){r[t]=V(e[t],n)})),X(t).forEach((function(i){(function(e,t){return z(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t));// and also unsafe if they're nonenumerable.
73
+ })(e,i)||(z(e,i)&&n.isMergeableObject(t[i])?r[i]=function(e,t){if(!t.customMerge)return Y;var n=t.customMerge(e);return"function"==typeof n?n:Y}(i,n)(e[i],t[i],n):r[i]=V(t[i],n))})),r}function Y(e,t,n){(n=n||{}).arrayMerge=n.arrayMerge||K,n.isMergeableObject=n.isMergeableObject||$,
74
74
  // cloneUnlessOtherwiseSpecified is added to `options` so that custom arrayMerge()
75
75
  // implementations can use it. The caller may not replace it.
76
76
  n.cloneUnlessOtherwiseSpecified=V;var r=Array.isArray(t);return r===Array.isArray(e)?r?n.arrayMerge(e,t,n):W(e,t,n):V(t,n)}Y.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return Y(e,n,t)}),{})};var Z=Y,q=function(e,t){return q=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},q(e,t)};function Q(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}q(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var J,ee,te,ne=function(){return ne=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var i in t=arguments[n])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},ne.apply(this,arguments)};function re(e,t,n){if(n||2===arguments.length)for(var r,i=0,o=t.length;i<o;i++)!r&&i in t||(r||(r=Array.prototype.slice.call(t,0,i)),r[i]=t[i]);return e.concat(r||Array.prototype.slice.call(t))}
@@ -248,7 +248,7 @@ return"*"===r?t.minimumFractionDigits=n.length:i&&"#"===i[0]?t.maximumFractionDi
248
248
  else if(ve.test(i.stem))t=ne(ne({},t),Be(i.stem));else{var s=He(i.stem);s&&(t=ne(ne({},t),s));var a=Ae(i.stem);a&&(t=ne(ne({},t),a))}}return t}
249
249
  // @generated from time-data-gen.ts
250
250
  // prettier-ignore
251
- var Se,we={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"]};
251
+ var we,Se={AX:["H"],BQ:["H"],CP:["H"],CZ:["H"],DK:["H"],FI:["H"],ID:["H"],IS:["H"],ML:["H"],NE:["H"],RU:["H"],SE:["H"],SJ:["H"],SK:["H"],AS:["h","H"],BT:["h","H"],DJ:["h","H"],ER:["h","H"],GH:["h","H"],IN:["h","H"],LS:["h","H"],PG:["h","H"],PW:["h","H"],SO:["h","H"],TO:["h","H"],VU:["h","H"],WS:["h","H"],"001":["H","h"],AL:["h","H","hB"],TD:["h","H","hB"],"ca-ES":["H","h","hB"],CF:["H","h","hB"],CM:["H","h","hB"],"fr-CA":["H","h","hB"],"gl-ES":["H","h","hB"],"it-CH":["H","h","hB"],"it-IT":["H","h","hB"],LU:["H","h","hB"],NP:["H","h","hB"],PF:["H","h","hB"],SC:["H","h","hB"],SM:["H","h","hB"],SN:["H","h","hB"],TF:["H","h","hB"],VA:["H","h","hB"],CY:["h","H","hb","hB"],GR:["h","H","hb","hB"],CO:["h","H","hB","hb"],DO:["h","H","hB","hb"],KP:["h","H","hB","hb"],KR:["h","H","hB","hb"],NA:["h","H","hB","hb"],PA:["h","H","hB","hb"],PR:["h","H","hB","hb"],VE:["h","H","hB","hb"],AC:["H","h","hb","hB"],AI:["H","h","hb","hB"],BW:["H","h","hb","hB"],BZ:["H","h","hb","hB"],CC:["H","h","hb","hB"],CK:["H","h","hb","hB"],CX:["H","h","hb","hB"],DG:["H","h","hb","hB"],FK:["H","h","hb","hB"],GB:["H","h","hb","hB"],GG:["H","h","hb","hB"],GI:["H","h","hb","hB"],IE:["H","h","hb","hB"],IM:["H","h","hb","hB"],IO:["H","h","hb","hB"],JE:["H","h","hb","hB"],LT:["H","h","hb","hB"],MK:["H","h","hb","hB"],MN:["H","h","hb","hB"],MS:["H","h","hb","hB"],NF:["H","h","hb","hB"],NG:["H","h","hb","hB"],NR:["H","h","hb","hB"],NU:["H","h","hb","hB"],PN:["H","h","hb","hB"],SH:["H","h","hb","hB"],SX:["H","h","hb","hB"],TA:["H","h","hb","hB"],ZA:["H","h","hb","hB"],"af-ZA":["H","h","hB","hb"],AR:["H","h","hB","hb"],CL:["H","h","hB","hb"],CR:["H","h","hB","hb"],CU:["H","h","hB","hb"],EA:["H","h","hB","hb"],"es-BO":["H","h","hB","hb"],"es-BR":["H","h","hB","hb"],"es-EC":["H","h","hB","hb"],"es-ES":["H","h","hB","hb"],"es-GQ":["H","h","hB","hb"],"es-PE":["H","h","hB","hb"],GT:["H","h","hB","hb"],HN:["H","h","hB","hb"],IC:["H","h","hB","hb"],KG:["H","h","hB","hb"],KM:["H","h","hB","hb"],LK:["H","h","hB","hb"],MA:["H","h","hB","hb"],MX:["H","h","hB","hb"],NI:["H","h","hB","hb"],PY:["H","h","hB","hb"],SV:["H","h","hB","hb"],UY:["H","h","hB","hb"],JP:["H","h","K"],AD:["H","hB"],AM:["H","hB"],AO:["H","hB"],AT:["H","hB"],AW:["H","hB"],BE:["H","hB"],BF:["H","hB"],BJ:["H","hB"],BL:["H","hB"],BR:["H","hB"],CG:["H","hB"],CI:["H","hB"],CV:["H","hB"],DE:["H","hB"],EE:["H","hB"],FR:["H","hB"],GA:["H","hB"],GF:["H","hB"],GN:["H","hB"],GP:["H","hB"],GW:["H","hB"],HR:["H","hB"],IL:["H","hB"],IT:["H","hB"],KZ:["H","hB"],MC:["H","hB"],MD:["H","hB"],MF:["H","hB"],MQ:["H","hB"],MZ:["H","hB"],NC:["H","hB"],NL:["H","hB"],PM:["H","hB"],PT:["H","hB"],RE:["H","hB"],RO:["H","hB"],SI:["H","hB"],SR:["H","hB"],ST:["H","hB"],TG:["H","hB"],TR:["H","hB"],WF:["H","hB"],YT:["H","hB"],BD:["h","hB","H"],PK:["h","hB","H"],AZ:["H","hB","h"],BA:["H","hB","h"],BG:["H","hB","h"],CH:["H","hB","h"],GE:["H","hB","h"],LI:["H","hB","h"],ME:["H","hB","h"],RS:["H","hB","h"],UA:["H","hB","h"],UZ:["H","hB","h"],XK:["H","hB","h"],AG:["h","hb","H","hB"],AU:["h","hb","H","hB"],BB:["h","hb","H","hB"],BM:["h","hb","H","hB"],BS:["h","hb","H","hB"],CA:["h","hb","H","hB"],DM:["h","hb","H","hB"],"en-001":["h","hb","H","hB"],FJ:["h","hb","H","hB"],FM:["h","hb","H","hB"],GD:["h","hb","H","hB"],GM:["h","hb","H","hB"],GU:["h","hb","H","hB"],GY:["h","hb","H","hB"],JM:["h","hb","H","hB"],KI:["h","hb","H","hB"],KN:["h","hb","H","hB"],KY:["h","hb","H","hB"],LC:["h","hb","H","hB"],LR:["h","hb","H","hB"],MH:["h","hb","H","hB"],MP:["h","hb","H","hB"],MW:["h","hb","H","hB"],NZ:["h","hb","H","hB"],SB:["h","hb","H","hB"],SG:["h","hb","H","hB"],SL:["h","hb","H","hB"],SS:["h","hb","H","hB"],SZ:["h","hb","H","hB"],TC:["h","hb","H","hB"],TT:["h","hb","H","hB"],UM:["h","hb","H","hB"],US:["h","hb","H","hB"],VC:["h","hb","H","hB"],VG:["h","hb","H","hB"],VI:["h","hb","H","hB"],ZM:["h","hb","H","hB"],BO:["H","hB","h","hb"],EC:["H","hB","h","hb"],ES:["H","hB","h","hb"],GQ:["H","hB","h","hb"],PE:["H","hB","h","hb"],AE:["h","hB","hb","H"],"ar-001":["h","hB","hb","H"],BH:["h","hB","hb","H"],DZ:["h","hB","hb","H"],EG:["h","hB","hb","H"],EH:["h","hB","hb","H"],HK:["h","hB","hb","H"],IQ:["h","hB","hb","H"],JO:["h","hB","hb","H"],KW:["h","hB","hb","H"],LB:["h","hB","hb","H"],LY:["h","hB","hb","H"],MO:["h","hB","hb","H"],MR:["h","hB","hb","H"],OM:["h","hB","hb","H"],PH:["h","hB","hb","H"],PS:["h","hB","hb","H"],QA:["h","hB","hb","H"],SA:["h","hB","hb","H"],SD:["h","hB","hb","H"],SY:["h","hB","hb","H"],TN:["h","hB","hb","H"],YE:["h","hB","hb","H"],AF:["H","hb","hB","h"],LA:["H","hb","hB","h"],CN:["H","hB","hb","h"],LV:["H","hB","hb","h"],TL:["H","hB","hb","h"],"zu-ZA":["H","hB","hb","h"],CD:["hB","H"],IR:["hB","H"],"hi-IN":["hB","h","H"],"kn-IN":["hB","h","H"],"ml-IN":["hB","h","H"],"te-IN":["hB","h","H"],KH:["hB","h","H","hb"],"ta-IN":["hB","h","hb","H"],BN:["hb","hB","h","H"],MY:["hb","hB","h","H"],ET:["hB","hb","h","H"],"gu-IN":["hB","hb","h","H"],"mr-IN":["hB","hb","h","H"],"pa-IN":["hB","hb","h","H"],TW:["hB","hb","h","H"],KE:["hB","hb","H","h"],MM:["hB","hb","H","h"],TZ:["hB","hb","H","h"],UG:["hB","hb","H","h"]};
252
252
  /**
253
253
  * Returns the best matching date time pattern if a date time skeleton
254
254
  * pattern is provided with a locale. Follows the Unicode specification:
@@ -269,23 +269,23 @@ e.hourCycles.length&&(
269
269
  // @ts-ignore
270
270
  t=e.hourCycles[0]),t)switch(t){case"h24":return"k";case"h23":return"H";case"h12":return"h";case"h11":return"K";default:throw new Error("Invalid hourCycle")}
271
271
  // TODO: Once hourCycle is fully supported remove the following with data generation
272
- var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(we[n||""]||we[r||""]||we["".concat(r,"-001")]||we["001"])[0]}var Ce=new RegExp("^".concat(ge.source,"*")),Ne=new RegExp("".concat(ge.source,"*$"));function Oe(e,t){return{start:e,end:t}}
272
+ var n,r=e.language;return"root"!==r&&(n=e.maximize().region),(Se[n||""]||Se[r||""]||Se["".concat(r,"-001")]||Se["001"])[0]}var Ce=new RegExp("^".concat(ge.source,"*")),Ne=new RegExp("".concat(ge.source,"*$"));function Me(e,t){return{start:e,end:t}}
273
273
  // #region Ponyfills
274
274
  // Consolidate these variables up top for easier toggling during debugging
275
- var Me=!!String.prototype.startsWith,Re=!!String.fromCodePoint,De=!!Object.fromEntries,ke=!!String.prototype.codePointAt,Ue=!!String.prototype.trimStart,xe=!!String.prototype.trimEnd,Ge=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Fe=!0;try{
275
+ var Oe=!!String.prototype.startsWith,Re=!!String.fromCodePoint,ke=!!Object.fromEntries,De=!!String.prototype.codePointAt,Ue=!!String.prototype.trimStart,xe=!!String.prototype.trimEnd,Ge=!!Number.isSafeInteger?Number.isSafeInteger:function(e){return"number"==typeof e&&isFinite(e)&&Math.floor(e)===e&&Math.abs(e)<=9007199254740991},Fe=!0;try{
276
276
  /**
277
277
  * legacy Edge or Xbox One browser
278
278
  * Unicode flag support: supported
279
279
  * Pattern_Syntax support: not supported
280
280
  * See https://github.com/formatjs/formatjs/issues/2822
281
281
  */
282
- Fe="a"===(null===(Se=Ye("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===Se?void 0:Se[0])}catch(e){Fe=!1}var $e,je=Me?// Native
282
+ Fe="a"===(null===(we=Ye("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu").exec("a"))||void 0===we?void 0:we[0])}catch(e){Fe=!1}var $e,je=Oe?// Native
283
283
  function(e,t,n){return e.startsWith(t,n)}:// For IE11
284
284
  function(e,t,n){return e.slice(n,n+t.length)===t},Ve=Re?String.fromCodePoint:// IE11
285
- 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=
285
+ 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},Ke=
286
286
  // native
287
- De?Object.fromEntries:// Ponyfill
288
- 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},Ke=ke?// Native
287
+ ke?Object.fromEntries:// Ponyfill
288
+ 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},Xe=De?// Native
289
289
  function(e,t){return e.codePointAt(t)}:// IE 11
290
290
  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}},ze=Ue?// Native
291
291
  function(e){return e.trimStart()}:// Ponyfill
@@ -299,7 +299,7 @@ if(Fe){
299
299
  // Native
300
300
  var Ze=Ye("([^\\p{White_Space}\\p{Pattern_Syntax}]*)","yu");$e=function(e,t){var n;return Ze.lastIndex=t,null!==(n=Ze.exec(e)[1])&&void 0!==n?n:""}}else
301
301
  // IE11
302
- $e=function(e,t){for(var n=[];;){var r=Ke(e,t);if(void 0===r||et(r)||tt(r))break;n.push(r),t+=r>=65536?2:1}return Ve.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(J.UNMATCHED_CLOSING_TAG,Oe(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===i&&!this.ignoreTag&&Qe(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:ee.pound,location:Oe(s,this.clonePosition())})}}}return{val:r,err:null}},
302
+ $e=function(e,t){for(var n=[];;){var r=Xe(e,t);if(void 0===r||et(r)||tt(r))break;n.push(r),t+=r>=65536?2:1}return Ve.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(J.UNMATCHED_CLOSING_TAG,Me(this.clonePosition(),this.clonePosition()))}if(60/* `<` */===i&&!this.ignoreTag&&Qe(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:ee.pound,location:Me(s,this.clonePosition())})}}}return{val:r,err:null}},
303
303
  /**
304
304
  * A tag name must start with an ASCII lower/upper case letter. The grammar is based on the
305
305
  * [custom element name][] except that a dash is NOT always mandatory and uppercase letters
@@ -321,14 +321,14 @@ $e=function(e,t){for(var n=[];;){var r=Ke(e,t);if(void 0===r||et(r)||tt(r))break
321
321
  e.prototype.parseTag=function(e,t){var n=this.clonePosition();this.bump();// `<`
322
322
  var r=this.parseTagName();if(this.bumpSpace(),this.bumpIf("/>"))
323
323
  // Self closing tag
324
- return{val:{type:ee.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();
324
+ return{val:{type:ee.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();
325
325
  // Expecting a close tag
326
- if(this.bumpIf("</")){if(this.isEOF()||!Qe(this.char()))return this.error(J.INVALID_TAG,Oe(s,this.clonePosition()));var a=this.clonePosition();return r!==this.parseTagName()?this.error(J.UNMATCHED_CLOSING_TAG,Oe(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ee.tag,value:r,children:o,location:Oe(n,this.clonePosition())},err:null}:this.error(J.INVALID_TAG,Oe(s,this.clonePosition())))}return this.error(J.UNCLOSED_TAG,Oe(n,this.clonePosition()))}return this.error(J.INVALID_TAG,Oe(n,this.clonePosition()))},
326
+ if(this.bumpIf("</")){if(this.isEOF()||!Qe(this.char()))return this.error(J.INVALID_TAG,Me(s,this.clonePosition()));var a=this.clonePosition();return r!==this.parseTagName()?this.error(J.UNMATCHED_CLOSING_TAG,Me(a,this.clonePosition())):(this.bumpSpace(),this.bumpIf(">")?{val:{type:ee.tag,value:r,children:o,location:Me(n,this.clonePosition())},err:null}:this.error(J.INVALID_TAG,Me(s,this.clonePosition())))}return this.error(J.UNCLOSED_TAG,Me(n,this.clonePosition()))}return this.error(J.INVALID_TAG,Me(n,this.clonePosition()))},
327
327
  /**
328
328
  * This method assumes that the caller has peeked ahead for the first tag character.
329
329
  */
330
330
  e.prototype.parseTagName=function(){var e=this.offset();// the first tag name character
331
- for(this.bump();!this.isEOF()&&Je(this.char());)this.bump();return this.message.slice(e,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:ee.literal,value:r,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(Qe(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
331
+ for(this.bump();!this.isEOF()&&Je(this.char());)this.bump();return this.message.slice(e,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:ee.literal,value:r,location:a},err:null}},e.prototype.tryParseLeftAngleBracket=function(){return this.isEOF()||60/* `<` */!==this.char()||!this.ignoreTag&&(Qe(e=this.peek()||0)||47===e)?null:(this.bump(),"<");var e;
332
332
  /** See `parseTag` function docs. */},
333
333
  /**
334
334
  * Starting with ICU 4.8, an ASCII apostrophe only starts quoted text if it immediately precedes
@@ -351,32 +351,32 @@ for(this.bump();!this.isEOF();){var n=this.char();if(39/* `'` */===n){if(39/* `'
351
351
  this.bump();break}t.push(39),
352
352
  // Bump one more time because we need to skip 2 characters.
353
353
  this.bump()}else t.push(n);this.bump()}return Ve.apply(void 0,t)},e.prototype.tryParseUnquoted=function(e,t){if(this.isEOF())return null;var n=this.char();return 60/* `<` */===n||123/* `{` */===n||35/* `#` */===n&&("plural"===t||"selectordinal"===t)||125/* `}` */===n&&e>0?null:(this.bump(),Ve(n))},e.prototype.parseArgument=function(e,t){var n=this.clonePosition();if(this.bump(),// `{`
354
- this.bumpSpace(),this.isEOF())return this.error(J.EXPECT_ARGUMENT_CLOSING_BRACE,Oe(n,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(J.EMPTY_ARGUMENT,Oe(n,this.clonePosition()));
354
+ this.bumpSpace(),this.isEOF())return this.error(J.EXPECT_ARGUMENT_CLOSING_BRACE,Me(n,this.clonePosition()));if(125/* `}` */===this.char())return this.bump(),this.error(J.EMPTY_ARGUMENT,Me(n,this.clonePosition()));
355
355
  // argument name
356
- var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(J.MALFORMED_ARGUMENT,Oe(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(J.EXPECT_ARGUMENT_CLOSING_BRACE,Oe(n,this.clonePosition()));switch(this.char()){
356
+ var r=this.parseIdentifierIfPossible().value;if(!r)return this.error(J.MALFORMED_ARGUMENT,Me(n,this.clonePosition()));if(this.bumpSpace(),this.isEOF())return this.error(J.EXPECT_ARGUMENT_CLOSING_BRACE,Me(n,this.clonePosition()));switch(this.char()){
357
357
  // Simple argument: `{name}`
358
358
  case 125/* `}` */:// `}`
359
359
  return this.bump(),{val:{type:ee.argument,
360
360
  // value does not include the opening and closing braces.
361
- value:r,location:Oe(n,this.clonePosition())},err:null};
361
+ value:r,location:Me(n,this.clonePosition())},err:null};
362
362
  // Argument with options: `{name, format, ...}`
363
363
  case 44/* `,` */:return this.bump(),// `,`
364
- this.bumpSpace(),this.isEOF()?this.error(J.EXPECT_ARGUMENT_CLOSING_BRACE,Oe(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(J.MALFORMED_ARGUMENT,Oe(n,this.clonePosition()))}},
364
+ this.bumpSpace(),this.isEOF()?this.error(J.EXPECT_ARGUMENT_CLOSING_BRACE,Me(n,this.clonePosition())):this.parseArgumentOptions(e,t,r,n);default:return this.error(J.MALFORMED_ARGUMENT,Me(n,this.clonePosition()))}},
365
365
  /**
366
366
  * Advance the parser until the end of the identifier, if it is currently on
367
367
  * an identifier character. Return an empty string otherwise.
368
368
  */
369
- e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=$e(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();
369
+ e.prototype.parseIdentifierIfPossible=function(){var e=this.clonePosition(),t=this.offset(),n=$e(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();
370
370
  // Parse this range:
371
371
  // {name, type, style}
372
372
  // ^---^
373
373
  switch(s){case"":
374
374
  // Expecting a style string number, date, time, plural, selectordinal, or select.
375
- return this.error(J.EXPECT_ARGUMENT_TYPE,Oe(o,a));case"number":case"date":case"time":
375
+ return this.error(J.EXPECT_ARGUMENT_TYPE,Me(o,a));case"number":case"date":case"time":
376
376
  // Parse this range:
377
377
  // {name, number, style}
378
378
  // ^-------^
379
- this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(f=We(y.val)).length)return this.error(J.EXPECT_ARGUMENT_STYLE,Oe(this.clonePosition(),this.clonePosition()));u={style:f,styleLocation:Oe(l,this.clonePosition())}}if((b=this.tryParseArgumentClose(r)).err)return b;var c=Oe(r,this.clonePosition());
379
+ this.bumpSpace();var u=null;if(this.bumpIf(",")){this.bumpSpace();var l=this.clonePosition();if((y=this.parseSimpleArgStyleIfPossible()).err)return y;if(0===(f=We(y.val)).length)return this.error(J.EXPECT_ARGUMENT_STYLE,Me(this.clonePosition(),this.clonePosition()));u={style:f,styleLocation:Me(l,this.clonePosition())}}if((b=this.tryParseArgumentClose(r)).err)return b;var c=Me(r,this.clonePosition());
380
380
  // Extract style or skeleton
381
381
  if(u&&je(null==u?void 0:u.style,"::",0)){
382
382
  // Skeleton starts with `::`.
@@ -390,25 +390,25 @@ return{val:{type:"number"===s?ee.number:"date"===s?ee.date:ee.time,value:n,locat
390
390
  // Parse this range:
391
391
  // {name, plural, options}
392
392
  // ^---------^
393
- var m=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(J.EXPECT_SELECT_ARGUMENT_OPTIONS,Oe(m,ne({},m)));this.bumpSpace();
393
+ var m=this.clonePosition();if(this.bumpSpace(),!this.bumpIf(","))return this.error(J.EXPECT_SELECT_ARGUMENT_OPTIONS,Me(m,ne({},m)));this.bumpSpace();
394
394
  // Parse offset:
395
395
  // {name, plural, offset:1, options}
396
396
  // ^-----^
397
397
  // or the first option:
398
398
  // {name, plural, one {...} other {...}}
399
399
  // ^--^
400
- var g=this.parseIdentifierIfPossible(),d=0;if("select"!==s&&"offset"===g.value){if(!this.bumpIf(":"))return this.error(J.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Oe(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(J.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,J.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;
400
+ var g=this.parseIdentifierIfPossible(),d=0;if("select"!==s&&"offset"===g.value){if(!this.bumpIf(":"))return this.error(J.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,Me(this.clonePosition(),this.clonePosition()));var y;if(this.bumpSpace(),(y=this.tryParseDecimalInteger(J.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE,J.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE)).err)return y;
401
401
  // Parse another identifier for option parsing
402
- this.bumpSpace(),g=this.parseIdentifierIfPossible(),d=y.val}var b,E=this.tryParsePluralOrSelectOptions(e,s,t,g);if(E.err)return E;if((b=this.tryParseArgumentClose(r)).err)return b;var v=Oe(r,this.clonePosition());return"select"===s?{val:{type:ee.select,value:n,options:Xe(E.val),location:v},err:null}:{val:{type:ee.plural,value:n,options:Xe(E.val),offset:d,pluralType:"plural"===s?"cardinal":"ordinal",location:v},err:null};default:return this.error(J.INVALID_ARGUMENT_TYPE,Oe(o,a))}},e.prototype.tryParseArgumentClose=function(e){
402
+ this.bumpSpace(),g=this.parseIdentifierIfPossible(),d=y.val}var b,E=this.tryParsePluralOrSelectOptions(e,s,t,g);if(E.err)return E;if((b=this.tryParseArgumentClose(r)).err)return b;var v=Me(r,this.clonePosition());return"select"===s?{val:{type:ee.select,value:n,options:Ke(E.val),location:v},err:null}:{val:{type:ee.plural,value:n,options:Ke(E.val),offset:d,pluralType:"plural"===s?"cardinal":"ordinal",location:v},err:null};default:return this.error(J.INVALID_ARGUMENT_TYPE,Me(o,a))}},e.prototype.tryParseArgumentClose=function(e){
403
403
  // Parse: {value, number, ::currency/GBP }
404
- return this.isEOF()||125/* `}` */!==this.char()?this.error(J.EXPECT_ARGUMENT_CLOSING_BRACE,Oe(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
404
+ return this.isEOF()||125/* `}` */!==this.char()?this.error(J.EXPECT_ARGUMENT_CLOSING_BRACE,Me(e,this.clonePosition())):(this.bump(),{val:!0,err:null})},
405
405
  /**
406
406
  * See: https://github.com/unicode-org/icu/blob/af7ed1f6d2298013dc303628438ec4abe1f16479/icu4c/source/common/messagepattern.cpp#L659
407
407
  */
408
408
  e.prototype.parseSimpleArgStyleIfPossible=function(){for(var e=0,t=this.clonePosition();!this.isEOF();){switch(this.char()){case 39/* `'` */:
409
409
  // Treat apostrophe as quoting but include it in the style part.
410
410
  // Find the end of the quoted literal text.
411
- this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(J.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");
411
+ this.bump();var n=this.clonePosition();if(!this.bumpUntil("'"))return this.error(J.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");
412
412
  // Parse the skeleton
413
413
  for(var t=e.split(be).filter((function(e){return e.length>0})),n=[],r=0,i=t;r<i.length;r++){var o=i[r].split("/");if(0===o.length)throw new Error("Invalid number skeleton");for(var s=o[0],a=o.slice(1),u=0,l=a;u<l.length;u++)if(0===l[u].length)throw new Error("Invalid number skeleton");n.push({stem:s,options:a})}return n}(e)}catch(e){return this.error(J.INVALID_NUMBER_SKELETON,t)}return{val:{type:te.number,tokens:n,location:t,parsedOptions:this.shouldParseSkeletons?Le(n):{}},err:null}},
414
414
  /**
@@ -427,24 +427,24 @@ e.prototype.tryParsePluralOrSelectOptions=function(e,t,n,r){
427
427
  // ^--^
428
428
  for(var i,o=!1,s=[],a=new Set,u=r.value,l=r.location;;){if(0===u.length){var c=this.clonePosition();if("select"===t||!this.bumpIf("="))break;
429
429
  // Try parse `={number}` selector
430
- var h=this.tryParseDecimalInteger(J.EXPECT_PLURAL_ARGUMENT_SELECTOR,J.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;l=Oe(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}
430
+ var h=this.tryParseDecimalInteger(J.EXPECT_PLURAL_ARGUMENT_SELECTOR,J.INVALID_PLURAL_ARGUMENT_SELECTOR);if(h.err)return h;l=Me(c,this.clonePosition()),u=this.message.slice(c.offset,this.offset())}
431
431
  // Duplicate selector clauses
432
432
  if(a.has(u))return this.error("select"===t?J.DUPLICATE_SELECT_ARGUMENT_SELECTOR:J.DUPLICATE_PLURAL_ARGUMENT_SELECTOR,l);"other"===u&&(o=!0),
433
433
  // Parse:
434
434
  // one {one apple}
435
435
  // ^----------^
436
- this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?J.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:J.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([u,{value:f.val,location:Oe(p,this.clonePosition())}]),
436
+ this.bumpSpace();var p=this.clonePosition();if(!this.bumpIf("{"))return this.error("select"===t?J.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT:J.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([u,{value:f.val,location:Me(p,this.clonePosition())}]),
437
437
  // Keep track of the existing selectors
438
438
  a.add(u),
439
439
  // Prep next selector clause.
440
- this.bumpSpace(),u=(i=this.parseIdentifierIfPossible()).value,l=i.location}return 0===s.length?this.error("select"===t?J.EXPECT_SELECT_ARGUMENT_SELECTOR:J.EXPECT_PLURAL_ARGUMENT_SELECTOR,Oe(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(J.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?Ge(o*=n)?{val:o,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){
440
+ this.bumpSpace(),u=(i=this.parseIdentifierIfPossible()).value,l=i.location}return 0===s.length?this.error("select"===t?J.EXPECT_SELECT_ARGUMENT_SELECTOR:J.EXPECT_PLURAL_ARGUMENT_SELECTOR,Me(this.clonePosition(),this.clonePosition())):this.requiresOtherClause&&!o?this.error(J.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?Ge(o*=n)?{val:o,err:null}:this.error(t,a):this.error(e,a)},e.prototype.offset=function(){return this.position.offset},e.prototype.isEOF=function(){return this.offset()===this.message.length},e.prototype.clonePosition=function(){
441
441
  // This is much faster than `Object.assign` or spread.
442
442
  return{offset:this.position.offset,line:this.position.line,column:this.position.column}},
443
443
  /**
444
444
  * Return the code point at the current position of the parser.
445
445
  * Throws if the index is out of bound.
446
446
  */
447
- e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Ke(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},
447
+ e.prototype.char=function(){var e=this.position.offset;if(e>=this.message.length)throw Error("out of bound");var t=Xe(this.message,e);if(void 0===t)throw Error("Offset ".concat(e," is at invalid UTF-16 code unit boundary"));return t},e.prototype.error=function(e,t){return{val:null,err:{kind:e,message:this.message,location:t}}},
448
448
  /** Bump the parser to the next UTF-16 code unit. */
449
449
  e.prototype.bump=function(){if(!this.isEOF()){var e=this.char();10/* '\n' */===e?(this.position.line+=1,this.position.column=1,this.position.offset+=1):(this.position.column+=1,
450
450
  // 0 ~ 0x10000 -> unicode BMP, otherwise skip the surrogate pair.
@@ -553,7 +553,7 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
553
553
  Copyright (c) 2014, Yahoo! Inc. All rights reserved.
554
554
  Copyrights licensed under the New BSD License.
555
555
  See the accompanying LICENSE file for terms.
556
- */const At={},_t=(e,t,n)=>n?(t in At||(At[t]={}),e in At[t]||(At[t][e]=n),n):n,Lt=(e,t)=>{if(null==t)return;if(t in At&&e in At[t])return At[t][e];const n=Xt(t);for(let r=0;r<n.length;r++){const i=Ct(n[r],e);if(i)return _t(e,t,i)}};let St;const wt=G({});function It(e){return e in St}function Ct(e,t){if(!It(e))return null;const n=function(e){return St[e]||null}(e);return function(e,t){if(null==t)return;if(t in e)return e[t];const n=t.split(".");let 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 Nt(e,...t){delete At[e],wt.update((n=>(n[e]=Z.all([n[e]||{},...t]),n)))}F([wt],(([e])=>Object.keys(e))),wt.subscribe((e=>St=e));const Ot={};function Mt(e){return Ot[e]}function Rt(e){return null!=e&&Xt(e).some((e=>{var t;return null===(t=Mt(e))||void 0===t?void 0:t.size}))}const Dt={};function kt(e){if(!Rt(e))return e in Dt?Dt[e]:Promise.resolve();const t=function(e){return Xt(e).map((e=>{const t=Mt(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return Dt[e]=Promise.all(t.map((([e,t])=>function(e,t){const n=Promise.all(t.map((t=>(function(e,t){Ot[e].delete(t),0===Ot[e].size&&delete Ot[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>Nt(e,...t)))}(e,t)))).then((()=>{if(Rt(e))return kt(e);delete Dt[e]})),Dt[e]}
556
+ */const At={},_t=(e,t,n)=>n?(t in At||(At[t]={}),e in At[t]||(At[t][e]=n),n):n,Lt=(e,t)=>{if(null==t)return;if(t in At&&e in At[t])return At[t][e];const n=Kt(t);for(let r=0;r<n.length;r++){const i=Ct(n[r],e);if(i)return _t(e,t,i)}};let wt;const St=G({});function It(e){return e in wt}function Ct(e,t){if(!It(e))return null;const n=function(e){return wt[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 Nt(e,...t){delete At[e],St.update((n=>(n[e]=Z.all([n[e]||{},...t]),n)))}F([St],(([e])=>Object.keys(e))),St.subscribe((e=>wt=e));const Mt={};function Ot(e){return Mt[e]}function Rt(e){return null!=e&&Kt(e).some((e=>{var t;return null===(t=Ot(e))||void 0===t?void 0:t.size}))}const kt={};function Dt(e){if(!Rt(e))return e in kt?kt[e]:Promise.resolve();const t=function(e){return Kt(e).map((e=>{const t=Ot(e);return[e,t?[...t]:[]]})).filter((([,e])=>e.length>0))}(e);return kt[e]=Promise.all(t.map((([e,t])=>function(e,t){const n=Promise.all(t.map((t=>(function(e,t){Mt[e].delete(t),0===Mt[e].size&&delete Mt[e]}(e,t),t().then((e=>e.default||e))))));return n.then((t=>Nt(e,...t)))}(e,t)))).then((()=>{if(Rt(e))return Dt(e);delete kt[e]})),kt[e]}
557
557
  /*! *****************************************************************************
558
558
  Copyright (c) Microsoft Corporation.
559
559
 
@@ -567,24 +567,26 @@ e.formats={number:{integer:{maximumFractionDigits:0},currency:{style:"currency"}
567
567
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
568
568
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
569
569
  PERFORMANCE OF THIS SOFTWARE.
570
- ***************************************************************************** */function Ut(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}const xt={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Gt(){return xt}const Ft=G(!1);let $t;const jt=G(null);function Vt(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function Xt(e,t=Gt().fallbackLocale){const n=Vt(e);return t?[...new Set([...n,...Vt(t)])]:n}function Kt(){return null!=$t?$t:void 0}jt.subscribe((e=>{$t=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const zt=Object.assign(Object.assign({},jt),{set:e=>{if(e&&function(e){if(null==e)return;const t=Xt(e);for(let e=0;e<t.length;e++){const n=t[e];if(It(n))return n}}(e)&&Rt(e)){const{loadingDelay:t}=Gt();let n;return"undefined"!=typeof window&&null!=Kt()&&t?n=window.setTimeout((()=>Ft.set(!0)),t):Ft.set(!0),kt(e).then((()=>{jt.set(e)})).finally((()=>{clearTimeout(n),Ft.set(!1)}))}return jt.set(e)}}),Wt=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}},Yt=(e,t)=>{const{formats:n}=Gt();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Zt=Wt((e=>{var{locale:t,format:n}=e,r=Ut(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=Yt("number",n)),new Intl.NumberFormat(t,r)})),qt=Wt((e=>{var{locale:t,format:n}=e,r=Ut(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=Yt("date",n):0===Object.keys(r).length&&(r=Yt("date","short")),new Intl.DateTimeFormat(t,r)})),Qt=Wt((e=>{var{locale:t,format:n}=e,r=Ut(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=Yt("time",n):0===Object.keys(r).length&&(r=Yt("time","short")),new Intl.DateTimeFormat(t,r)})),Jt=Wt(((e,t=Kt())=>new Ht(e,t,Gt().formats,{ignoreTag:Gt().ignoreTag}))),en=(e,t={})=>{var n,r,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:u=Kt(),default:l}=s;if(null==u)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Lt(e,u);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!==(o=null!==(i=null===(r=(n=Gt()).handleMissingMessage)||void 0===r?void 0:r.call(n,{locale:u,id:e,defaultValue:l}))&&void 0!==i?i:l)&&void 0!==o?o:e;if(!a)return c;let h=c;try{h=Jt(c,u).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},tn=(e,t)=>((e={})=>{var{locale:t=Kt()}=e,n=Ut(e,["locale"]);return Qt(Object.assign({locale:t},n))})(t).format(e),nn=(e,t)=>((e={})=>{var{locale:t=Kt()}=e,n=Ut(e,["locale"]);return qt(Object.assign({locale:t},n))})(t).format(e),rn=(e,t)=>((e={})=>{var{locale:t=Kt()}=e,n=Ut(e,["locale"]);return Zt(Object.assign({locale:t},n))})(t).format(e),on=(e,t=Kt())=>Lt(e,t),sn=F([zt,wt],(()=>en));F([zt],(()=>tn)),F([zt],(()=>nn)),F([zt],(()=>rn)),F([zt,wt],(()=>on));const an={en:{lugasPopup:{loading:"Loading, please wait...",setLimit:"Set a limit",setLimitDescription:"In Germany, you are legally required to set a monthly deposit limit. Therefore, we ask you to confirm your existing limit or set a new one in order to enjoy playing without restrictions.",lugasInfo1:"Any questions? Information about",lugasInfo2:"LUGAS",keepCurrentLimit:"KEEP THE CURRENT LIMIT",keepCurrentLimitButton:"NEW LIMIT",applyButton:"APPLY",depositPeriod:"Monthly deposit limit",TCpart1:'By clicking "Keep the current limit" or "Apply" I confirm that I have read and accept the ',TClink:"General Terms and Conditions",TCpart2:". Also note our ",PPlink:"Privacy Policy",depositLimit:"Deposit Limit set",successful:"Succesful!",successDescription:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycPart1:"We were able to set your monthly deposit limit to ",kycPart2:". 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."}},de:{lugasPopup:{loading:"Loading, please wait...",setLimit:"Set a limit",setLimitDescription:"In Germany, you are legally required to set a monthly deposit limit. Therefore, we ask you to confirm your existing limit or set a new one in order to enjoy playing without restrictions.",lugasInfo1:"Any questions? Information about",lugasInfo2:"LUGAS",keepCurrentLimit:"KEEP THE CURRENT LIMIT",keepCurrentLimitButton:"NEW LIMIT",applyButton:"APPLY",depositPeriod:"Monthly deposit limit",TCpart1:'By clicking "Keep the current limit" or "Apply" I confirm that I have read and accept the ',TClink:"General Terms and Conditions",TCpart2:". Also note our ",PPlink:"Privacy Policy",depositLimit:"Deposit Limit set",successful:"Succesful!",successDescription:"The deposit limit has been set successfully. You can manage your limits at any time in the account settings.",kycPart1:"We were able to set your monthly deposit limit to ",kycPart2:". 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."}}};
570
+ ***************************************************************************** */function Ut(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(r=Object.getOwnPropertySymbols(e);i<r.length;i++)t.indexOf(r[i])<0&&Object.prototype.propertyIsEnumerable.call(e,r[i])&&(n[r[i]]=e[r[i]])}return n}const xt={fallbackLocale:null,loadingDelay:200,formats:{number:{scientific:{notation:"scientific"},engineering:{notation:"engineering"},compactLong:{notation:"compact",compactDisplay:"long"},compactShort:{notation:"compact",compactDisplay:"short"}},date:{short:{month:"numeric",day:"numeric",year:"2-digit"},medium:{month:"short",day:"numeric",year:"numeric"},long:{month:"long",day:"numeric",year:"numeric"},full:{weekday:"long",month:"long",day:"numeric",year:"numeric"}},time:{short:{hour:"numeric",minute:"numeric"},medium:{hour:"numeric",minute:"numeric",second:"numeric"},long:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"},full:{hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}}},warnOnMissingMessages:!0,handleMissingMessage:void 0,ignoreTag:!0};function Gt(){return xt}const Ft=G(!1);let $t;const jt=G(null);function Vt(e){return e.split("-").map(((e,t,n)=>n.slice(0,t+1).join("-"))).reverse()}function Kt(e,t=Gt().fallbackLocale){const n=Vt(e);return t?[...new Set([...n,...Vt(t)])]:n}function Xt(){return null!=$t?$t:void 0}jt.subscribe((e=>{$t=null!=e?e:void 0,"undefined"!=typeof window&&null!=e&&document.documentElement.setAttribute("lang",e)}));const zt=Object.assign(Object.assign({},jt),{set:e=>{if(e&&function(e){if(null==e)return;const t=Kt(e);for(let e=0;e<t.length;e++){const n=t[e];if(It(n))return n}}(e)&&Rt(e)){const{loadingDelay:t}=Gt();let n;return"undefined"!=typeof window&&null!=Xt()&&t?n=window.setTimeout((()=>Ft.set(!0)),t):Ft.set(!0),Dt(e).then((()=>{jt.set(e)})).finally((()=>{clearTimeout(n),Ft.set(!1)}))}return jt.set(e)}}),Wt=e=>{const t=Object.create(null);return n=>{const r=JSON.stringify(n);return r in t?t[r]:t[r]=e(n)}},Yt=(e,t)=>{const{formats:n}=Gt();if(e in n&&t in n[e])return n[e][t];throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`)},Zt=Wt((e=>{var{locale:t,format:n}=e,r=Ut(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format numbers');return n&&(r=Yt("number",n)),new Intl.NumberFormat(t,r)})),qt=Wt((e=>{var{locale:t,format:n}=e,r=Ut(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format dates');return n?r=Yt("date",n):0===Object.keys(r).length&&(r=Yt("date","short")),new Intl.DateTimeFormat(t,r)})),Qt=Wt((e=>{var{locale:t,format:n}=e,r=Ut(e,["locale","format"]);if(null==t)throw new Error('[svelte-i18n] A "locale" must be set to format time values');return n?r=Yt("time",n):0===Object.keys(r).length&&(r=Yt("time","short")),new Intl.DateTimeFormat(t,r)})),Jt=Wt(((e,t=Xt())=>new Ht(e,t,Gt().formats,{ignoreTag:Gt().ignoreTag}))),en=(e,t={})=>{var n,r,i,o;let s=t;"object"==typeof e&&(s=e,e=s.id);const{values:a,locale:u=Xt(),default:l}=s;if(null==u)throw new Error("[svelte-i18n] Cannot format a message without first setting the initial locale.");let c=Lt(e,u);if(c){if("string"!=typeof c)return console.warn(`[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof c}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`),c}else c=null!==(o=null!==(i=null===(r=(n=Gt()).handleMissingMessage)||void 0===r?void 0:r.call(n,{locale:u,id:e,defaultValue:l}))&&void 0!==i?i:l)&&void 0!==o?o:e;if(!a)return c;let h=c;try{h=Jt(c,u).format(a)}catch(t){console.warn(`[svelte-i18n] Message "${e}" has syntax error:`,t.message)}return h},tn=(e,t)=>((e={})=>{var{locale:t=Xt()}=e,n=Ut(e,["locale"]);return Qt(Object.assign({locale:t},n))})(t).format(e),nn=(e,t)=>((e={})=>{var{locale:t=Xt()}=e,n=Ut(e,["locale"]);return qt(Object.assign({locale:t},n))})(t).format(e),rn=(e,t)=>((e={})=>{var{locale:t=Xt()}=e,n=Ut(e,["locale"]);return Zt(Object.assign({locale:t},n))})(t).format(e),on=(e,t=Xt())=>Lt(e,t),sn=F([zt,St],(()=>en));F([zt],(()=>tn)),F([zt],(()=>nn)),F([zt],(()=>rn)),F([zt,St],(()=>on));const an={en:{lugasPopup:{loading:"Loading, please wait...",setLimit:"Set a limit",setLimitDescription:"In Germany, you are legally required to set a monthly deposit limit. Therefore, we ask you to confirm your existing limit or set a new one in order to enjoy playing without restrictions.",lugasInfo1:"Any questions? Information about",lugasInfo2:"LUGAS",keepCurrentLimit:"KEEP THE CURRENT LIMIT",keepCurrentLimitButton:"NEW LIMIT",applyButton:"APPLY",depositPeriod:"Monthly deposit limit",TCpart1:'By clicking "Keep the current limit" or "Apply" I confirm that I have read and accept the ',TClink:"General Terms and Conditions",TCpart2:". Also note our ",PPlink:"Privacy Policy",depositLimit:"Deposit Limit set",successful:"Succesful!",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 economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment."}},de:{lugasPopup:{loading:"Loading, please wait...",setLimit:"Set a limit",setLimitDescription:"In Germany, you are legally required to set a monthly deposit limit. Therefore, we ask you to confirm your existing limit or set a new one in order to enjoy playing without restrictions.",lugasInfo1:"Any questions? Information about",lugasInfo2:"LUGAS",keepCurrentLimit:"KEEP THE CURRENT LIMIT",keepCurrentLimitButton:"NEW LIMIT",applyButton:"APPLY",depositPeriod:"Monthly deposit limit",TCpart1:'By clicking "Keep the current limit" or "Apply" I confirm that I have read and accept the ',TClink:"General Terms and Conditions",TCpart2:". Also note our ",PPlink:"Privacy Policy",depositLimit:"Deposit Limit set",successful:"Succesful!",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 economic capacity. Please upload your last payslip as well as a current bank statement, including the balance, that confirms that you received the payment."}}};
571
571
  /* src/PlayerAccountGamingLimitsPopup_2.svelte generated by Svelte v3.48.0 */function un(e){let t;function n(e,t){/*popupState*/
572
- return"initial"===e[9]?fn:/*popupState*/"successful"===e[9]?pn:/*popupState*/"kycNeeded"===e[9]?hn:/*popupState*/"error"===e[9]?cn:void 0}let r=n(e),i=r&&r(e);return{c(){t=c("div"),i&&i.c(),g(t,"class","InitialWrapper")},m(e,n){u(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&&l(t),i&&i.d()}}}
573
- // (102:6) {#if isLoading}
572
+ return"initial"===e[9]?mn:/*popupState*/"successful"===e[9]?fn:/*popupState*/"KYC"===e[9]?pn:/*popupState*/"KYC2"===e[9]?hn:/*popupState*/"error"===e[9]?cn:void 0}let r=n(e),i=r&&r(e);return{c(){t=c("div"),i&&i.c(),g(t,"class","InitialWrapper")},m(e,n){u(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&&l(t),i&&i.d()}}}
573
+ // (112:6) {#if isLoading}
574
574
  function ln(e){let t,n,r=/*$_*/e[11]("lugasPopup.loading")+"";return{c(){t=c("p"),n=p(r)},m(e,r){u(e,t,r),a(t,n)},p(e,t){/*$_*/2048&t[0]&&r!==(r=/*$_*/e[11]("lugasPopup.loading")+"")&&y(n,r)},d(e){e&&l(t)}}}
575
- // (175:41)
576
- function cn(e){let t,n,r,i,o,s,h,d,b,E,v,T,P=/*$_*/e[11]("lugasPopup.depositError")+"",B=/*$_*/e[11]("lugasPopup.errorDescription")+"",H=/*$_*/e[11]("lugasPopup.closeButton")+"";return{c(){t=c("p"),n=p(P),r=f(),i=c("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=f(),s=c("p"),h=p(B),d=f(),b=c("button"),E=p(H),g(t,"class","Title"),g(i,"class","ResultIconWrapper"),g(s,"class","Description CenterAlign"),g(b,"class","ConfirmButton SecondaryButtonStyle")},m(l,c){u(l,t,c),a(t,n),u(l,r,c),u(l,i,c),u(l,o,c),u(l,s,c),a(s,h),u(l,d,c),u(l,b,c),a(b,E),v||(T=m(b,"click",/*click_handler_8*/e[30]),v=!0)},p(e,t){/*$_*/2048&t[0]&&P!==(P=/*$_*/e[11]("lugasPopup.depositError")+"")&&y(n,P),/*$_*/2048&t[0]&&B!==(B=/*$_*/e[11]("lugasPopup.errorDescription")+"")&&y(h,B),/*$_*/2048&t[0]&&H!==(H=/*$_*/e[11]("lugasPopup.closeButton")+"")&&y(E,H)},d(e){e&&l(t),e&&l(r),e&&l(i),e&&l(o),e&&l(s),e&&l(d),e&&l(b),v=!1,T()}}}
577
- // (152:45)
578
- function hn(e){let t,n,i,o,s,d,b,v,T,P,B,H,A,_,L,S,w,I,C,N,O,M,R,D,k,U,x=/*$_*/e[11]("lugasPopup.depositLimit")+"",G=/*$_*/e[11]("lugasPopup.successful")+"",F=/*$_*/e[11]("lugasPopup.kycPart1")+"",$=/*$_*/e[11]("lugasPopup.kycPart2")+"",j=/*$_*/e[11]("lugasPopup.kycButton")+"",V=/*$_*/e[11]("lugasPopup.closeButton")+"";return{c(){t=c("p"),n=p(x),i=f(),o=c("div"),s=c("div"),d=h("svg"),b=h("g"),v=h("path"),T=f(),P=c("p"),B=p(G),H=f(),A=c("p"),_=p(F),L=p(/*legislatorLimitValue*/e[10]),S=f(),w=p(/*currency*/e[0]),I=p($),C=f(),N=c("button"),O=p(j),M=f(),R=c("button"),D=p(V),g(t,"class","Title"),g(v,"id","XMLID_6_"),g(v,"d","M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360\n c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55\n c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1\n h256.5v-82.1H429v366.5H429.9z"),g(b,"id","XMLID_1_"),g(d,"version","1.1"),g(d,"id","Layer_1"),g(d,"xmlns","http://www.w3.org/2000/svg"),g(d,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(d,"x","0px"),g(d,"y","0px"),g(d,"viewBox","0 0 512 512"),E(d,"enable-background","new 0 0 512 512"),g(d,"xml:space","preserve"),g(s,"class","ResultIconWrapper"),g(A,"class","Description CenterAlign"),g(o,"class","DescriptionWrapper"),g(N,"class","KycButton PrimaryButtonStyle"),g(R,"class","ConfirmButton SecondaryButtonStyle")},m(r,l){u(r,t,l),a(t,n),u(r,i,l),u(r,o,l),a(o,s),a(s,d),a(d,b),a(b,v),a(s,T),a(s,P),a(P,B),a(o,H),a(o,A),a(A,_),a(A,L),a(A,S),a(A,w),a(A,I),u(r,C,l),u(r,N,l),a(N,O),u(r,M,l),u(r,R,l),a(R,D),k||(U=[m(N,"click",/*click_handler_6*/e[28]),m(R,"click",/*click_handler_7*/e[29])],k=!0)},p(e,t){/*$_*/2048&t[0]&&x!==(x=/*$_*/e[11]("lugasPopup.depositLimit")+"")&&y(n,x),/*$_*/2048&t[0]&&G!==(G=/*$_*/e[11]("lugasPopup.successful")+"")&&y(B,G),/*$_*/2048&t[0]&&F!==(F=/*$_*/e[11]("lugasPopup.kycPart1")+"")&&y(_,F),/*legislatorLimitValue*/1024&t[0]&&y(L,/*legislatorLimitValue*/e[10]),/*currency*/1&t[0]&&y(w,/*currency*/e[0]),/*$_*/2048&t[0]&&$!==($=/*$_*/e[11]("lugasPopup.kycPart2")+"")&&y(I,$),/*$_*/2048&t[0]&&j!==(j=/*$_*/e[11]("lugasPopup.kycButton")+"")&&y(O,j),/*$_*/2048&t[0]&&V!==(V=/*$_*/e[11]("lugasPopup.closeButton")+"")&&y(D,V)},d(e){e&&l(t),e&&l(i),e&&l(o),e&&l(C),e&&l(N),e&&l(M),e&&l(R),k=!1,r(U)}}}
579
- // (135:46)
580
- function pn(e){let t,n,r,i,o,s,d,b,v,T,P,B,H,A,_,L,S,w,I,C,N,O=/*$_*/e[11]("lugasPopup.depositLimit")+"",M=/*$_*/e[11]("lugasPopup.successful")+"",R=/*$_*/e[11]("lugasPopup.successDescription")+"";return{c(){t=c("p"),n=p(O),r=f(),i=c("div"),o=c("div"),s=h("svg"),d=h("defs"),b=h("style"),v=p(".fil0 {fill:black;fill-rule:nonzero}\n "),T=h("g"),P=h("polygon"),B=f(),H=c("p"),A=p(M),_=f(),L=c("p"),S=p(R),w=f(),I=c("button"),I.textContent="OK",g(t,"class","Title"),g(b,"type","text/css"),g(P,"class","fil0"),g(P,"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"),E(s,"shape-rendering","geometricPrecision"),E(s,"text-rendering","geometricPrecision"),E(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(L,"class","Description CenterAlign"),g(i,"class","DescriptionWrapper"),g(I,"class","ConfirmButton PrimaryButtonStyle")},m(l,c){u(l,t,c),a(t,n),u(l,r,c),u(l,i,c),a(i,o),a(o,s),a(s,d),a(d,b),a(b,v),a(s,T),a(T,P),a(o,B),a(o,H),a(H,A),a(i,_),a(i,L),a(L,S),u(l,w,c),u(l,I,c),C||(N=m(I,"click",/*click_handler_5*/e[27]),C=!0)},p(e,t){/*$_*/2048&t[0]&&O!==(O=/*$_*/e[11]("lugasPopup.depositLimit")+"")&&y(n,O),/*$_*/2048&t[0]&&M!==(M=/*$_*/e[11]("lugasPopup.successful")+"")&&y(A,M),/*$_*/2048&t[0]&&R!==(R=/*$_*/e[11]("lugasPopup.successDescription")+"")&&y(S,R)},d(e){e&&l(t),e&&l(r),e&&l(i),e&&l(w),e&&l(I),C=!1,N()}}}
581
- // (106:8) {#if popupState === "initial"}
582
- function fn(e){let t,n,i,o,s,E,T,P,B,H,A,_,L,S,w,I,C,N,O,M,R,D,k,U,x,G,F,$,j,V,X,K,z,W,Y,Z,q,Q,J,ee,te,ne,re=/*$_*/e[11]("lugasPopup.setLimit")+"",ie=/*$_*/e[11]("lugasPopup.setLimitDescription")+"",oe=/*$_*/e[11]("lugasPopup.lugasInfo1")+"",se=/*$_*/e[11]("lugasPopup.lugasInfo2")+"",ae=/*$_*/e[11]("lugasPopup.keepCurrentLimit")+"",ue=/*$_*/e[11]("lugasPopup.keepCurrentLimitButton")+"",le=/*$_*/e[11]("lugasPopup.depositPeriod")+"",ce=/*$_*/e[11]("lugasPopup.applyButton")+"",he=/*$_*/e[11]("lugasPopup.TCpart1")+"",pe=/*$_*/e[11]("lugasPopup.TClink")+"",fe=/*$_*/e[11]("lugasPopup.TCpart2")+"",me=/*$_*/e[11]("lugasPopup.PPlink")+"";return{c(){t=c("p"),n=p(re),i=f(),o=c("p"),s=p(ie),E=f(),T=c("p"),P=p(oe),B=f(),H=c("a"),A=p(se),_=f(),L=c("button"),S=p(ae),w=f(),I=c("button"),C=p(ue),N=h("svg"),O=h("path"),M=h("path"),R=f(),D=c("div"),k=c("div"),U=c("span"),x=p(le),G=f(),F=c("div"),$=c("input"),j=f(),V=c("button"),X=p(ce),K=f(),z=c("p"),W=p(he),Y=c("a"),Z=p(pe),q=p(fe),Q=c("a"),J=p(me),ee=p("."),g(t,"class","Title"),g(o,"class","Description LeftAlign"),g(H,"href","#"),g(T,"class","AdditionalInformation"),g(L,"class","KeepCurrentButton PrimaryButtonStyle"),g(O,"d","M10.5 15l7.5 7.5 7.5-7.5z"),g(M,"d","M0 0h36v36h-36z"),g(M,"fill","none"),g(N,"class","ExpandArrow"),g(N,"xmlns","http://www.w3.org/2000/svg"),g(N,"width","36"),g(N,"height","36"),g(N,"viewBox","0 0 36 36"),g(N,"fill","#999"),v(N,"Extended",/*extended*/e[4]),g(I,"class","ExpandButton"),g(U,"class","DepositPeriodText"),g(k,"class","DepositTextSection"),g($,"type","number"),g($,"class","DepositInput"),g(V,"type","submit"),g(V,"class","SubmitDepositButton PrimaryButtonStyle"),V.disabled=!0,g(F,"class","DepositInputSection"),g(D,"class","SetLimitSection"),v(D,"Hidden",/*hidden*/e[3]),g(Y,"href","#"),g(Q,"href","#"),g(z,"class","TermsConditions")},m(r,l){u(r,t,l),a(t,n),u(r,i,l),u(r,o,l),a(o,s),u(r,E,l),u(r,T,l),a(T,P),a(T,B),a(T,H),a(H,A),u(r,_,l),u(r,L,l),a(L,S),u(r,w,l),u(r,I,l),a(I,C),a(I,N),a(N,O),a(N,M),
583
- /*svg_binding*/e[21](N),u(r,R,l),u(r,D,l),a(D,k),a(k,U),a(U,x),a(D,G),a(D,F),a(F,$),b($,/*inputAmount*/e[5]),a(F,j),a(F,V),a(V,X),
584
- /*button2_binding*/e[23](V),u(r,K,l),u(r,z,l),a(z,W),a(z,Y),a(Y,Z),a(z,q),a(z,Q),a(Q,J),a(z,ee),te||(ne=[m(H,"click",/*click_handler*/e[19]),m(L,"click",/*click_handler_1*/e[20]),m(I,"click",/*toggleNewLimitArea*/e[12]),m($,"input",/*input_input_handler*/e[22]),m($,"keyup",/*updateInputValue*/e[13]),m(V,"click",/*click_handler_2*/e[24]),m(Y,"click",/*click_handler_3*/e[25]),m(Q,"click",/*click_handler_4*/e[26])],te=!0)},p(e,t){/*$_*/2048&t[0]&&re!==(re=/*$_*/e[11]("lugasPopup.setLimit")+"")&&y(n,re),/*$_*/2048&t[0]&&ie!==(ie=/*$_*/e[11]("lugasPopup.setLimitDescription")+"")&&y(s,ie),/*$_*/2048&t[0]&&oe!==(oe=/*$_*/e[11]("lugasPopup.lugasInfo1")+"")&&y(P,oe),/*$_*/2048&t[0]&&se!==(se=/*$_*/e[11]("lugasPopup.lugasInfo2")+"")&&y(A,se),/*$_*/2048&t[0]&&ae!==(ae=/*$_*/e[11]("lugasPopup.keepCurrentLimit")+"")&&y(S,ae),/*$_*/2048&t[0]&&ue!==(ue=/*$_*/e[11]("lugasPopup.keepCurrentLimitButton")+"")&&y(C,ue),/*extended*/16&t[0]&&v(N,"Extended",/*extended*/e[4]),/*$_*/2048&t[0]&&le!==(le=/*$_*/e[11]("lugasPopup.depositPeriod")+"")&&y(x,le),/*inputAmount*/32&t[0]&&d($.value)!==/*inputAmount*/e[5]&&b($,/*inputAmount*/e[5]),/*$_*/2048&t[0]&&ce!==(ce=/*$_*/e[11]("lugasPopup.applyButton")+"")&&y(X,ce),/*hidden*/8&t[0]&&v(D,"Hidden",/*hidden*/e[3]),/*$_*/2048&t[0]&&he!==(he=/*$_*/e[11]("lugasPopup.TCpart1")+"")&&y(W,he),/*$_*/2048&t[0]&&pe!==(pe=/*$_*/e[11]("lugasPopup.TClink")+"")&&y(Z,pe),/*$_*/2048&t[0]&&fe!==(fe=/*$_*/e[11]("lugasPopup.TCpart2")+"")&&y(q,fe),/*$_*/2048&t[0]&&me!==(me=/*$_*/e[11]("lugasPopup.PPlink")+"")&&y(J,me)},d(n){n&&l(t),n&&l(i),n&&l(o),n&&l(E),n&&l(T),n&&l(_),n&&l(L),n&&l(w),n&&l(I)
585
- /*svg_binding*/,e[21](null),n&&l(R),n&&l(D)
586
- /*button2_binding*/,e[23](null),n&&l(K),n&&l(z),te=!1,r(ne)}}}function mn(t){let n,r,i,o,s;function h(e,t){/*isLoading*/
575
+ // (208:41)
576
+ function cn(e){let t,n,r,i,o,s,h,d,b,E,v,T,P=/*$_*/e[11]("lugasPopup.depositError")+"",B=/*$_*/e[11]("lugasPopup.errorDescription")+"",H=/*$_*/e[11]("lugasPopup.closeButton")+"";return{c(){t=c("p"),n=p(P),r=f(),i=c("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=f(),s=c("p"),h=p(B),d=f(),b=c("button"),E=p(H),g(t,"class","Title"),g(i,"class","ResultIconWrapper"),g(s,"class","Description CenterAlign"),g(b,"class","ConfirmButton SecondaryButtonStyle")},m(l,c){u(l,t,c),a(t,n),u(l,r,c),u(l,i,c),u(l,o,c),u(l,s,c),a(s,h),u(l,d,c),u(l,b,c),a(b,E),v||(T=m(b,"click",/*click_handler_10*/e[32]),v=!0)},p(e,t){/*$_*/2048&t[0]&&P!==(P=/*$_*/e[11]("lugasPopup.depositError")+"")&&y(n,P),/*$_*/2048&t[0]&&B!==(B=/*$_*/e[11]("lugasPopup.errorDescription")+"")&&y(h,B),/*$_*/2048&t[0]&&H!==(H=/*$_*/e[11]("lugasPopup.closeButton")+"")&&y(E,H)},d(e){e&&l(t),e&&l(r),e&&l(i),e&&l(o),e&&l(s),e&&l(d),e&&l(b),v=!1,T()}}}
577
+ // (185:40)
578
+ function hn(e){let t,n,i,o,s,d,b,v,T,P,B,H,A,_,L,w,S,I,C,N,M,O,R=/*$_*/e[11]("lugasPopup.docsRequired")+"",k=/*$_*/e[11]("lugasPopup.docsRequired")+"",D=/*$_*/e[11]("lugasPopup.kyc2")+"",U=/*$_*/e[11]("lugasPopup.kycButton")+"",x=/*$_*/e[11]("lugasPopup.closeButton")+"";return{c(){t=c("p"),n=p(R),i=f(),o=c("div"),s=c("div"),d=h("svg"),b=h("g"),v=h("path"),T=f(),P=c("p"),B=p(k),H=f(),A=c("p"),_=p(D),L=f(),w=c("button"),S=p(U),I=f(),C=c("button"),N=p(x),g(t,"class","Title"),g(v,"id","XMLID_6_"),g(v,"d","M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360\n c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55\n c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1\n h256.5v-82.1H429v366.5H429.9z"),g(b,"id","XMLID_1_"),g(d,"version","1.1"),g(d,"id","Layer_1"),g(d,"xmlns","http://www.w3.org/2000/svg"),g(d,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(d,"x","0px"),g(d,"y","0px"),g(d,"viewBox","0 0 512 512"),E(d,"enable-background","new 0 0 512 512"),g(d,"xml:space","preserve"),g(s,"class","ResultIconWrapper"),g(A,"class","Description CenterAlign"),g(o,"class","DescriptionWrapper"),g(w,"class","KycButton PrimaryButtonStyle"),g(C,"class","ConfirmButton SecondaryButtonStyle")},m(r,l){u(r,t,l),a(t,n),u(r,i,l),u(r,o,l),a(o,s),a(s,d),a(d,b),a(b,v),a(s,T),a(s,P),a(P,B),a(o,H),a(o,A),a(A,_),u(r,L,l),u(r,w,l),a(w,S),u(r,I,l),u(r,C,l),a(C,N),M||(O=[m(w,"click",/*click_handler_8*/e[30]),m(C,"click",/*click_handler_9*/e[31])],M=!0)},p(e,t){/*$_*/2048&t[0]&&R!==(R=/*$_*/e[11]("lugasPopup.docsRequired")+"")&&y(n,R),/*$_*/2048&t[0]&&k!==(k=/*$_*/e[11]("lugasPopup.docsRequired")+"")&&y(B,k),/*$_*/2048&t[0]&&D!==(D=/*$_*/e[11]("lugasPopup.kyc2")+"")&&y(_,D),/*$_*/2048&t[0]&&U!==(U=/*$_*/e[11]("lugasPopup.kycButton")+"")&&y(S,U),/*$_*/2048&t[0]&&x!==(x=/*$_*/e[11]("lugasPopup.closeButton")+"")&&y(N,x)},d(e){e&&l(t),e&&l(i),e&&l(o),e&&l(L),e&&l(w),e&&l(I),e&&l(C),M=!1,r(O)}}}
579
+ // (162:39)
580
+ function pn(e){let t,n,i,o,s,d,b,v,T,P,B,H,A,_,L,w,S,I,C,N,M,O,R,k,D,U,x=/*$_*/e[11]("lugasPopup.depositLimit")+"",G=/*$_*/e[11]("lugasPopup.successful")+"",F=/*$_*/e[11]("lugasPopup.kyc1Part1")+"",$=/*$_*/e[11]("lugasPopup.kyc1Part2")+"",j=/*$_*/e[11]("lugasPopup.kycButton")+"",V=/*$_*/e[11]("lugasPopup.closeButton")+"";return{c(){t=c("p"),n=p(x),i=f(),o=c("div"),s=c("div"),d=h("svg"),b=h("g"),v=h("path"),T=f(),P=c("p"),B=p(G),H=f(),A=c("p"),_=p(F),L=p(/*legislatorLimitValue*/e[10]),w=f(),S=p(/*currency*/e[0]),I=p($),C=f(),N=c("button"),M=p(j),O=f(),R=c("button"),k=p(V),g(t,"class","Title"),g(v,"id","XMLID_6_"),g(v,"d","M426.2,55h-99.8C318,23.3,290,0,255.5,0S193,23.3,184.7,55H84.9c-27,0-48.5,22.4-48.5,48.5v360\n c0,27,22.4,48.5,48.5,48.5h342.3c27,0,48.5-22.4,48.5-48.5v-360C475.6,76.5,453.2,55,426.2,55z M255.5,55\n c13.1,0,24.2,11.2,24.2,24.2s-11.2,24.2-24.2,24.2s-24.2-11.2-24.2-24.2S242.5,55,255.5,55z M429.9,467.2H81.1V100.7h45.7v82.1\n h256.5v-82.1H429v366.5H429.9z"),g(b,"id","XMLID_1_"),g(d,"version","1.1"),g(d,"id","Layer_1"),g(d,"xmlns","http://www.w3.org/2000/svg"),g(d,"xmlns:xlink","http://www.w3.org/1999/xlink"),g(d,"x","0px"),g(d,"y","0px"),g(d,"viewBox","0 0 512 512"),E(d,"enable-background","new 0 0 512 512"),g(d,"xml:space","preserve"),g(s,"class","ResultIconWrapper"),g(A,"class","Description CenterAlign"),g(o,"class","DescriptionWrapper"),g(N,"class","KycButton PrimaryButtonStyle"),g(R,"class","ConfirmButton SecondaryButtonStyle")},m(r,l){u(r,t,l),a(t,n),u(r,i,l),u(r,o,l),a(o,s),a(s,d),a(d,b),a(b,v),a(s,T),a(s,P),a(P,B),a(o,H),a(o,A),a(A,_),a(A,L),a(A,w),a(A,S),a(A,I),u(r,C,l),u(r,N,l),a(N,M),u(r,O,l),u(r,R,l),a(R,k),D||(U=[m(N,"click",/*click_handler_6*/e[28]),m(R,"click",/*click_handler_7*/e[29])],D=!0)},p(e,t){/*$_*/2048&t[0]&&x!==(x=/*$_*/e[11]("lugasPopup.depositLimit")+"")&&y(n,x),/*$_*/2048&t[0]&&G!==(G=/*$_*/e[11]("lugasPopup.successful")+"")&&y(B,G),/*$_*/2048&t[0]&&F!==(F=/*$_*/e[11]("lugasPopup.kyc1Part1")+"")&&y(_,F),/*legislatorLimitValue*/1024&t[0]&&y(L,/*legislatorLimitValue*/e[10]),/*currency*/1&t[0]&&y(S,/*currency*/e[0]),/*$_*/2048&t[0]&&$!==($=/*$_*/e[11]("lugasPopup.kyc1Part2")+"")&&y(I,$),/*$_*/2048&t[0]&&j!==(j=/*$_*/e[11]("lugasPopup.kycButton")+"")&&y(M,j),/*$_*/2048&t[0]&&V!==(V=/*$_*/e[11]("lugasPopup.closeButton")+"")&&y(k,V)},d(e){e&&l(t),e&&l(i),e&&l(o),e&&l(C),e&&l(N),e&&l(O),e&&l(R),D=!1,r(U)}}}
581
+ // (145:46)
582
+ function fn(e){let t,n,r,i,o,s,d,b,v,T,P,B,H,A,_,L,w,S,I,C,N,M=/*$_*/e[11]("lugasPopup.depositLimit")+"",O=/*$_*/e[11]("lugasPopup.successful")+"",R=/*$_*/e[11]("lugasPopup.successDescription")+"";return{c(){t=c("p"),n=p(M),r=f(),i=c("div"),o=c("div"),s=h("svg"),d=h("defs"),b=h("style"),v=p(".fil0 {fill:black;fill-rule:nonzero}\n "),T=h("g"),P=h("polygon"),B=f(),H=c("p"),A=p(O),_=f(),L=c("p"),w=p(R),S=f(),I=c("button"),I.textContent="OK",g(t,"class","Title"),g(b,"type","text/css"),g(P,"class","fil0"),g(P,"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"),E(s,"shape-rendering","geometricPrecision"),E(s,"text-rendering","geometricPrecision"),E(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(L,"class","Description CenterAlign"),g(i,"class","DescriptionWrapper"),g(I,"class","ConfirmButton PrimaryButtonStyle")},m(l,c){u(l,t,c),a(t,n),u(l,r,c),u(l,i,c),a(i,o),a(o,s),a(s,d),a(d,b),a(b,v),a(s,T),a(T,P),a(o,B),a(o,H),a(H,A),a(i,_),a(i,L),a(L,w),u(l,S,c),u(l,I,c),C||(N=m(I,"click",/*click_handler_5*/e[27]),C=!0)},p(e,t){/*$_*/2048&t[0]&&M!==(M=/*$_*/e[11]("lugasPopup.depositLimit")+"")&&y(n,M),/*$_*/2048&t[0]&&O!==(O=/*$_*/e[11]("lugasPopup.successful")+"")&&y(A,O),/*$_*/2048&t[0]&&R!==(R=/*$_*/e[11]("lugasPopup.successDescription")+"")&&y(w,R)},d(e){e&&l(t),e&&l(r),e&&l(i),e&&l(S),e&&l(I),C=!1,N()}}}
583
+ // (116:8) {#if popupState === "initial"}
584
+ function mn(e){let t,n,i,o,s,E,T,P,B,H,A,_,L,w,S,I,C,N,M,O,R,k,D,U,x,G,F,$,j,V,K,X,z,W,Y,Z,q,Q,J,ee,te,ne,re=/*$_*/e[11]("lugasPopup.setLimit")+"",ie=/*$_*/e[11]("lugasPopup.setLimitDescription")+"",oe=/*$_*/e[11]("lugasPopup.lugasInfo1")+"",se=/*$_*/e[11]("lugasPopup.lugasInfo2")+"",ae=/*$_*/e[11]("lugasPopup.keepCurrentLimit")+"",ue=/*$_*/e[11]("lugasPopup.keepCurrentLimitButton")+"",le=/*$_*/e[11]("lugasPopup.depositPeriod")+"",ce=/*$_*/e[11]("lugasPopup.applyButton")+"",he=/*$_*/e[11]("lugasPopup.TCpart1")+"",pe=/*$_*/e[11]("lugasPopup.TClink")+"",fe=/*$_*/e[11]("lugasPopup.TCpart2")+"",me=/*$_*/e[11]("lugasPopup.PPlink")+"";return{c(){t=c("p"),n=p(re),i=f(),o=c("p"),s=p(ie),E=f(),T=c("p"),P=p(oe),B=f(),H=c("a"),A=p(se),_=f(),L=c("button"),w=p(ae),S=f(),I=c("button"),C=p(ue),N=h("svg"),M=h("path"),O=h("path"),R=f(),k=c("div"),D=c("div"),U=c("span"),x=p(le),G=f(),F=c("div"),$=c("input"),j=f(),V=c("button"),K=p(ce),X=f(),z=c("p"),W=p(he),Y=c("a"),Z=p(pe),q=p(fe),Q=c("a"),J=p(me),ee=p("."),g(t,"class","Title"),g(o,"class","Description LeftAlign"),g(H,"href","#"),g(T,"class","AdditionalInformation"),g(L,"class","KeepCurrentButton PrimaryButtonStyle"),g(M,"d","M10.5 15l7.5 7.5 7.5-7.5z"),g(O,"d","M0 0h36v36h-36z"),g(O,"fill","none"),g(N,"class","ExpandArrow"),g(N,"xmlns","http://www.w3.org/2000/svg"),g(N,"width","36"),g(N,"height","36"),g(N,"viewBox","0 0 36 36"),g(N,"fill","#999"),v(N,"Extended",/*extended*/e[4]),g(I,"class","ExpandButton"),g(U,"class","DepositPeriodText"),g(D,"class","DepositTextSection"),g($,"type","number"),g($,"class","DepositInput"),g(V,"type","submit"),g(V,"class","SubmitDepositButton PrimaryButtonStyle"),V.disabled=!0,g(F,"class","DepositInputSection"),g(k,"class","SetLimitSection"),v(k,"Hidden",/*hidden*/e[3]),g(Y,"href","#"),g(Q,"href","#"),g(z,"class","TermsConditions")},m(r,l){u(r,t,l),a(t,n),u(r,i,l),u(r,o,l),a(o,s),u(r,E,l),u(r,T,l),a(T,P),a(T,B),a(T,H),a(H,A),u(r,_,l),u(r,L,l),a(L,w),u(r,S,l),u(r,I,l),a(I,C),a(I,N),a(N,M),a(N,O),
585
+ /*svg_binding*/e[21](N),u(r,R,l),u(r,k,l),a(k,D),a(D,U),a(U,x),a(k,G),a(k,F),a(F,$),b($,/*inputAmount*/e[5]),a(F,j),a(F,V),a(V,K),
586
+ /*button2_binding*/e[23](V),u(r,X,l),u(r,z,l),a(z,W),a(z,Y),a(Y,Z),a(z,q),a(z,Q),a(Q,J),a(z,ee),te||(ne=[m(H,"click",/*click_handler*/e[19]),m(L,"click",/*click_handler_1*/e[20]),m(I,"click",/*toggleNewLimitArea*/e[12]),m($,"input",/*input_input_handler*/e[22]),m($,"keyup",/*updateInputValue*/e[13]),m(V,"click",/*click_handler_2*/e[24]),m(Y,"click",/*click_handler_3*/e[25]),m(Q,"click",/*click_handler_4*/e[26])],te=!0)},p(e,t){/*$_*/2048&t[0]&&re!==(re=/*$_*/e[11]("lugasPopup.setLimit")+"")&&y(n,re),/*$_*/2048&t[0]&&ie!==(ie=/*$_*/e[11]("lugasPopup.setLimitDescription")+"")&&y(s,ie),/*$_*/2048&t[0]&&oe!==(oe=/*$_*/e[11]("lugasPopup.lugasInfo1")+"")&&y(P,oe),/*$_*/2048&t[0]&&se!==(se=/*$_*/e[11]("lugasPopup.lugasInfo2")+"")&&y(A,se),/*$_*/2048&t[0]&&ae!==(ae=/*$_*/e[11]("lugasPopup.keepCurrentLimit")+"")&&y(w,ae),/*$_*/2048&t[0]&&ue!==(ue=/*$_*/e[11]("lugasPopup.keepCurrentLimitButton")+"")&&y(C,ue),/*extended*/16&t[0]&&v(N,"Extended",/*extended*/e[4]),/*$_*/2048&t[0]&&le!==(le=/*$_*/e[11]("lugasPopup.depositPeriod")+"")&&y(x,le),/*inputAmount*/32&t[0]&&d($.value)!==/*inputAmount*/e[5]&&b($,/*inputAmount*/e[5]),/*$_*/2048&t[0]&&ce!==(ce=/*$_*/e[11]("lugasPopup.applyButton")+"")&&y(K,ce),/*hidden*/8&t[0]&&v(k,"Hidden",/*hidden*/e[3]),/*$_*/2048&t[0]&&he!==(he=/*$_*/e[11]("lugasPopup.TCpart1")+"")&&y(W,he),/*$_*/2048&t[0]&&pe!==(pe=/*$_*/e[11]("lugasPopup.TClink")+"")&&y(Z,pe),/*$_*/2048&t[0]&&fe!==(fe=/*$_*/e[11]("lugasPopup.TCpart2")+"")&&y(q,fe),/*$_*/2048&t[0]&&me!==(me=/*$_*/e[11]("lugasPopup.PPlink")+"")&&y(J,me)},d(n){n&&l(t),n&&l(i),n&&l(o),n&&l(E),n&&l(T),n&&l(_),n&&l(L),n&&l(S),n&&l(I)
587
+ /*svg_binding*/,e[21](null),n&&l(R),n&&l(k)
588
+ /*button2_binding*/,e[23](null),n&&l(X),n&&l(z),te=!1,r(ne)}}}function gn(t){let n,r,i,o,s;function h(e,t){/*isLoading*/
587
589
  return e[6]?ln:/*lang*/e[1]?un:void 0}let p=h(t),m=p&&p(t);return{c(){n=c("meta"),r=f(),i=c("div"),o=c("div"),s=c("div"),m&&m.c(),this.c=e,g(n,"name","viewport"),g(n,"content","width=device-width, initial-scale=1"),g(s,"class","ModalContainer"),g(o,"class","Overlay"),g(i,"class","player-account-gaming-limits-popup-2")},m(e,l){a(document.head,n),u(e,r,l),u(e,i,l),a(i,o),a(o,s),m&&m.m(s,null)
588
- /*div2_binding*/,t[31](i)},p(e,t){p===(p=h(e))&&m?m.p(e,t):(m&&m.d(1),m=p&&p(e),m&&(m.c(),m.m(s,null)))},i:e,o:e,d(e){l(n),e&&l(r),e&&l(i),m&&m.d()
589
- /*div2_binding*/,t[31](null)}}}function gn(e,t,n){let r;var i,o;i=sn,o=e=>n(11,r=e),e.$$.on_destroy.push(s(i,o));let a,u,l,c,h,{userid:p=""}=t,{session:f=""}=t,{endpoint:m=""}=t,{currency:g=""}=t,{lang:y=""}=t,b=!0,E=!1,v=!1,T="initial";Object.keys(an).forEach((e=>{!function(e,t){Nt(e,t)}(e,an[e])}));const P=e=>{switch(window.postMessage({type:e}),e){case"closePopup":case"uploadDocuments":c.parentNode.removeChild(c)}},B=e=>{const t=new URL(`/v1/player/${p}/limit/lugas`,m);let r={};n(6,v=!0),r="custom"===e?{amount:u}:{};let i={method:"POST",headers:{"X-SessionID":f,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(r)};fetch(t.href,i).then((e=>e.json())).then((e=>{H(e)})).catch((e=>{console.log(e)})).finally((()=>{n(6,v=!1)}))},H=e=>{e.hasOwnProperty("kycNeeded")?(n(9,T=e.kycNeeded?"kycNeeded":"successful"),n(10,h=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.operatorDepositLimitAmount))):n(9,T="error")},_=()=>{var e;e=y,zt.set(e)};return e.$$set=e=>{"userid"in e&&n(16,p=e.userid),"session"in e&&n(17,f=e.session),"endpoint"in e&&n(18,m=e.endpoint),"currency"in e&&n(0,g=e.currency),"lang"in e&&n(1,y=e.lang)},e.$$.update=()=>{/*lang*/2&e.$$.dirty[0]&&y&&_()},[g,y,a,b,E,u,v,l,c,T,h,r,()=>{n(4,E=!E),n(3,b=!b)},()=>{const e=999999999999999;u>e&&n(5,u=e);const t=u-Math.floor(u)==0;u>0&&t?l.removeAttribute("disabled"):l.setAttribute("disabled","true")},P,B,p,f,m,()=>P("lugasInformation"),()=>B("default"),function(e){A[e?"unshift":"push"]((()=>{a=e,n(2,a)}))},function(){u=d(this.value),n(5,u)},function(e){A[e?"unshift":"push"]((()=>{l=e,n(7,l)}))},()=>B("custom"),()=>P("termsConditions"),()=>P("privacyPolicy"),()=>P("closePopup"),()=>P("uploadDocuments"),()=>P("closePopup"),()=>P("closePopup"),function(e){A[e?"unshift":"push"]((()=>{c=e,n(8,c)}))}]}class dn extends U{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:'Roboto', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;outline:none;box-sizing:border-box}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-popup-2{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #000)}.Title{font-weight:800}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{color:#fff;background:#7ac317}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.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;background-color:rgba(0, 0, 0, 0.5);top:0;left:0;width:100vw;height:100vh;display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:19rem;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{font-size:0.7rem}.TermsConditions{font-size:0.6rem}.ExpandButton{font-size:0.8rem;background-color:#fff;border:0;padding:0;margin-top:-12px;color:#999;display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:#ccc;cursor:not-allowed;background:#fff;border:#ccc 1px solid}.Hidden{display:none}.Extended{transform:rotate(180deg)}</style>",k(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},gn,mn,o,{userid:16,session:17,endpoint:18,currency:0,lang:1},null,[-1,-1]),e&&(e.target&&u(e.target,this,e.anchor),e.props&&(this.$set(e.props),O()))}static get observedAttributes(){return["userid","session","endpoint","currency","lang"]}get userid(){return this.$$.ctx[16]}set userid(e){this.$$set({userid:e}),O()}get session(){return this.$$.ctx[17]}set session(e){this.$$set({session:e}),O()}get endpoint(){return this.$$.ctx[18]}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()}}return!customElements.get("player-account-gaming-limits-popup-2")&&customElements.define("player-account-gaming-limits-popup-2",dn),dn}));
590
+ /*div2_binding*/,t[33](i)},p(e,t){p===(p=h(e))&&m?m.p(e,t):(m&&m.d(1),m=p&&p(e),m&&(m.c(),m.m(s,null)))},i:e,o:e,d(e){l(n),e&&l(r),e&&l(i),m&&m.d()
591
+ /*div2_binding*/,t[33](null)}}}function dn(e,t,n){let r;var i,o;i=sn,o=e=>n(11,r=e),e.$$.on_destroy.push(s(i,o));let a,u,l,c,h,{userid:p=""}=t,{session:f=""}=t,{endpoint:m=""}=t,{currency:g=""}=t,{lang:y=""}=t,b=!0,E=!1,v=!1,T="initial";Object.keys(an).forEach((e=>{!function(e,t){Nt(e,t)}(e,an[e])}));const P=e=>{switch(window.postMessage({type:e}),e){case"closePopup":case"uploadDocuments":c.parentNode.removeChild(c)}},B=e=>{const t=new URL(`/v1/player/${p}/limit/lugas`,m);let r={};n(6,v=!0),r="custom"===e?{amount:u}:{};let i={method:"POST",headers:{"X-SessionID":f,"Content-Type":"application/json",Accept:"application/json"},body:JSON.stringify(r)};fetch(t.href,i).then((e=>e.json())).then((e=>{H(e)})).catch((e=>{console.log(e)})).finally((()=>{n(6,v=!1)}))},H=e=>{if(e.hasOwnProperty("kycNeeded"))switch(e.popup){case 1:n(9,T="KYC"),n(10,h=Intl.NumberFormat("en-US",{maximumFractionDigits:0}).format(e.operatorDepositLimitAmount));break;case 2:n(9,T="successful");break;case 3:n(9,T="KYC2")}else n(9,T="error")},_=()=>{var e;e=y,zt.set(e)};return e.$$set=e=>{"userid"in e&&n(16,p=e.userid),"session"in e&&n(17,f=e.session),"endpoint"in e&&n(18,m=e.endpoint),"currency"in e&&n(0,g=e.currency),"lang"in e&&n(1,y=e.lang)},e.$$.update=()=>{/*lang*/2&e.$$.dirty[0]&&y&&_()},[g,y,a,b,E,u,v,l,c,T,h,r,()=>{n(4,E=!E),n(3,b=!b)},()=>{const e=999999999999999;u>e&&n(5,u=e);const t=u-Math.floor(u)==0;u>0&&t?l.removeAttribute("disabled"):l.setAttribute("disabled","true")},P,B,p,f,m,()=>P("lugasInformation"),()=>B("default"),function(e){A[e?"unshift":"push"]((()=>{a=e,n(2,a)}))},function(){u=d(this.value),n(5,u)},function(e){A[e?"unshift":"push"]((()=>{l=e,n(7,l)}))},()=>B("custom"),()=>P("termsConditions"),()=>P("privacyPolicy"),()=>P("closePopup"),()=>P("uploadDocuments"),()=>P("closePopup"),()=>P("uploadDocuments"),()=>P("closePopup"),()=>P("closePopup"),function(e){A[e?"unshift":"push"]((()=>{c=e,n(8,c)}))}]}class yn extends U{constructor(e){super(),this.shadowRoot.innerHTML="<style>:host{font-family:'Roboto', system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';font-size:0.8rem}*,*::before,*::after{margin:0;padding:0;list-style:none;outline:none;box-sizing:border-box}input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}input[type=number]{-moz-appearance:textfield}.player-account-gaming-limits-popup-2{background:var(--emfe-w-color-black, #000000);color:var(--emfe-w-color-white, #000)}.Title{font-weight:800}button{display:block;font-size:0.75rem;padding:12px 0;border:0;border-radius:2px;cursor:pointer}button.PrimaryButtonStyle{color:#fff;background:#7ac317}button.SecondaryButtonStyle{border:1px solid #999;color:#666;background:#fff}.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;background-color:rgba(0, 0, 0, 0.5);top:0;left:0;width:100vw;height:100vh;display:flex;justify-content:center;align-items:center}.ModalContainer{position:fixed;top:30vh;width:19rem;height:auto;padding:18px 14px;background:#fff;border-radius:4px}.InitialWrapper{display:flex;flex-direction:column;gap:12px}.AdditionalInformation{font-size:0.7rem}.TermsConditions{font-size:0.6rem}.ExpandButton{font-size:0.8rem;background-color:#fff;border:0;padding:0;margin-top:-12px;color:#999;display:flex;justify-content:center;align-items:center;cursor:pointer}.ExpandButton svg{width:28px;height:auto;margin-left:-4px}.LeftAlign{text-align:left}.CenterAlign{text-align:center}.SetLimitSection{display:flex;flex-direction:column;gap:6px}.DepositTextSection{display:flex;justify-content:space-between}.DepositInputSection{height:32px;display:flex;gap:4px}.DepositInput{flex-grow:1;padding:0 6px}.SubmitDepositButton{flex-grow:1;font-size:0.75rem;padding:0}.SubmitDepositButton[disabled]{align-items:center;color:#ccc;cursor:not-allowed;background:#fff;border:#ccc 1px solid}.Hidden{display:none}.Extended{transform:rotate(180deg)}</style>",D(this,{target:this.shadowRoot,props:T(this.attributes),customElement:!0},dn,gn,o,{userid:16,session:17,endpoint:18,currency:0,lang:1},null,[-1,-1]),e&&(e.target&&u(e.target,this,e.anchor),e.props&&(this.$set(e.props),M()))}static get observedAttributes(){return["userid","session","endpoint","currency","lang"]}get userid(){return this.$$.ctx[16]}set userid(e){this.$$set({userid:e}),M()}get session(){return this.$$.ctx[17]}set session(e){this.$$set({session:e}),M()}get endpoint(){return this.$$.ctx[18]}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()}}return!customElements.get("player-account-gaming-limits-popup-2")&&customElements.define("player-account-gaming-limits-popup-2",yn),yn}));
590
592
  //# sourceMappingURL=player-account-gaming-limits-popup-2.js.map