@everymatrix/player-account-gaming-limits-page-2-gmcore 1.76.3 → 1.76.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,75 +1,75 @@
1
- var un = Object.defineProperty, ln = Object.defineProperties;
2
- var cn = Object.getOwnPropertyDescriptors;
3
- var Lt = Object.getOwnPropertySymbols;
4
- var hn = Object.prototype.hasOwnProperty, fn = Object.prototype.propertyIsEnumerable;
5
- var We = (e, t, i) => t in e ? un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, xt = (e, t) => {
1
+ var hr = Object.defineProperty, fr = Object.defineProperties;
2
+ var mr = Object.getOwnPropertyDescriptors;
3
+ var St = Object.getOwnPropertySymbols;
4
+ var pr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable;
5
+ var Xe = (e, t, i) => t in e ? hr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, Pt = (e, t) => {
6
6
  for (var i in t || (t = {}))
7
- hn.call(t, i) && We(e, i, t[i]);
8
- if (Lt)
9
- for (var i of Lt(t))
10
- fn.call(t, i) && We(e, i, t[i]);
7
+ pr.call(t, i) && Xe(e, i, t[i]);
8
+ if (St)
9
+ for (var i of St(t))
10
+ dr.call(t, i) && Xe(e, i, t[i]);
11
11
  return e;
12
- }, Tt = (e, t) => ln(e, cn(t));
13
- var V = (e, t, i) => (We(e, typeof t != "symbol" ? t + "" : t, i), i);
14
- var wt = (e, t, i) => new Promise((n, r) => {
12
+ }, At = (e, t) => fr(e, mr(t));
13
+ var V = (e, t, i) => (Xe(e, typeof t != "symbol" ? t + "" : t, i), i);
14
+ var Bt = (e, t, i) => new Promise((r, n) => {
15
15
  var o = (c) => {
16
16
  try {
17
17
  a(i.next(c));
18
18
  } catch (u) {
19
- r(u);
19
+ n(u);
20
20
  }
21
21
  }, s = (c) => {
22
22
  try {
23
23
  a(i.throw(c));
24
24
  } catch (u) {
25
- r(u);
25
+ n(u);
26
26
  }
27
- }, a = (c) => c.done ? n(c.value) : Promise.resolve(c.value).then(o, s);
27
+ }, a = (c) => c.done ? r(c.value) : Promise.resolve(c.value).then(o, s);
28
28
  a((i = i.apply(e, t)).next());
29
29
  });
30
- function U() {
30
+ function j() {
31
31
  }
32
- function li(e) {
32
+ function mi(e) {
33
33
  return e();
34
34
  }
35
- function St() {
35
+ function Nt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function ie(e) {
39
- e.forEach(li);
39
+ e.forEach(mi);
40
40
  }
41
- function pt(e) {
41
+ function vt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function ci(e, t) {
44
+ function pi(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function mn(e) {
47
+ function br(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function hi(e, ...t) {
50
+ function di(e, ...t) {
51
51
  if (e == null) {
52
- for (const n of t)
53
- n(void 0);
54
- return U;
52
+ for (const r of t)
53
+ r(void 0);
54
+ return j;
55
55
  }
56
56
  const i = e.subscribe(...t);
57
57
  return i.unsubscribe ? () => i.unsubscribe() : i;
58
58
  }
59
- function pn(e, t, i) {
60
- e.$$.on_destroy.push(hi(t, i));
59
+ function gr(e, t, i) {
60
+ e.$$.on_destroy.push(di(t, i));
61
61
  }
62
62
  function d(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function dn(e, t, i) {
66
- const n = bn(e);
67
- if (!n.getElementById(t)) {
68
- const r = v("style");
69
- r.id = t, r.textContent = i, gn(n, r);
65
+ function yr(e, t, i) {
66
+ const r = vr(e);
67
+ if (!r.getElementById(t)) {
68
+ const n = v("style");
69
+ n.id = t, n.textContent = i, _r(r, n);
70
70
  }
71
71
  }
72
- function bn(e) {
72
+ function vr(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,75 +79,75 @@ function bn(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function gn(e, t) {
82
+ function _r(e, t) {
83
83
  return d(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function N(e, t, i) {
89
+ function B(e, t, i) {
90
90
  e.insertBefore(t, i || null);
91
91
  }
92
- function B(e) {
92
+ function A(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function Ce(e, t) {
95
+ function De(e, t) {
96
96
  for (let i = 0; i < e.length; i += 1)
97
97
  e[i] && e[i].d(t);
98
98
  }
99
99
  function v(e) {
100
100
  return document.createElement(e);
101
101
  }
102
- function be(e) {
102
+ function de(e) {
103
103
  return document.createElementNS("http://www.w3.org/2000/svg", e);
104
104
  }
105
105
  function $(e) {
106
106
  return document.createTextNode(e);
107
107
  }
108
- function j() {
108
+ function U() {
109
109
  return $(" ");
110
110
  }
111
- function yn() {
111
+ function Er() {
112
112
  return $("");
113
113
  }
114
- function Y(e, t, i, n) {
115
- return e.addEventListener(t, i, n), () => e.removeEventListener(t, i, n);
114
+ function q(e, t, i, r) {
115
+ return e.addEventListener(t, i, r), () => e.removeEventListener(t, i, r);
116
116
  }
117
117
  function g(e, t, i) {
118
118
  i == null ? e.removeAttribute(t) : e.getAttribute(t) !== i && e.setAttribute(t, i);
119
119
  }
120
- function fi(e) {
120
+ function bi(e) {
121
121
  return e === "" ? null : +e;
122
122
  }
123
- function vn(e) {
123
+ function Lr(e) {
124
124
  return Array.from(e.childNodes);
125
125
  }
126
126
  function W(e, t) {
127
127
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
128
128
  t);
129
129
  }
130
- function ve(e, t) {
130
+ function ye(e, t) {
131
131
  e.value = t == null ? "" : t;
132
132
  }
133
- function Ve(e, t, i, n) {
133
+ function Ze(e, t, i, r) {
134
134
  i == null ? e.style.removeProperty(t) : e.style.setProperty(t, i, "");
135
135
  }
136
- function He(e, t, i) {
137
- for (let n = 0; n < e.options.length; n += 1) {
138
- const r = e.options[n];
139
- if (r.__value === t) {
140
- r.selected = !0;
136
+ function Ie(e, t, i) {
137
+ for (let r = 0; r < e.options.length; r += 1) {
138
+ const n = e.options[r];
139
+ if (n.__value === t) {
140
+ n.selected = !0;
141
141
  return;
142
142
  }
143
143
  }
144
144
  (!i || t !== void 0) && (e.selectedIndex = -1);
145
145
  }
146
- function Pt(e) {
146
+ function Ot(e) {
147
147
  const t = e.querySelector(":checked");
148
148
  return t && t.__value;
149
149
  }
150
- function _n(e) {
150
+ function xr(e) {
151
151
  const t = {};
152
152
  return e.childNodes.forEach(
153
153
  /** @param {Element} node */
@@ -156,98 +156,98 @@ function _n(e) {
156
156
  }
157
157
  ), t;
158
158
  }
159
- let _e;
160
- function ye(e) {
161
- _e = e;
159
+ let ve;
160
+ function ge(e) {
161
+ ve = e;
162
162
  }
163
- function En() {
164
- if (!_e)
163
+ function Tr() {
164
+ if (!ve)
165
165
  throw new Error("Function called outside component initialization");
166
- return _e;
166
+ return ve;
167
167
  }
168
- function Ln(e) {
169
- En().$$.on_mount.push(e);
168
+ function wr(e) {
169
+ Tr().$$.on_mount.push(e);
170
170
  }
171
- const se = [], Oe = [];
171
+ const se = [], He = [];
172
172
  let ae = [];
173
- const At = [], xn = /* @__PURE__ */ Promise.resolve();
174
- let et = !1;
175
- function Tn() {
176
- et || (et = !0, xn.then(X));
173
+ const It = [], Sr = /* @__PURE__ */ Promise.resolve();
174
+ let rt = !1;
175
+ function Pr() {
176
+ rt || (rt = !0, Sr.then(X));
177
177
  }
178
- function Ee(e) {
178
+ function _e(e) {
179
179
  ae.push(e);
180
180
  }
181
- const Xe = /* @__PURE__ */ new Set();
182
- let re = 0;
181
+ const Ye = /* @__PURE__ */ new Set();
182
+ let ne = 0;
183
183
  function X() {
184
- if (re !== 0)
184
+ if (ne !== 0)
185
185
  return;
186
- const e = _e;
186
+ const e = ve;
187
187
  do {
188
188
  try {
189
- for (; re < se.length; ) {
190
- const t = se[re];
191
- re++, ye(t), wn(t.$$);
189
+ for (; ne < se.length; ) {
190
+ const t = se[ne];
191
+ ne++, ge(t), Ar(t.$$);
192
192
  }
193
193
  } catch (t) {
194
- throw se.length = 0, re = 0, t;
194
+ throw se.length = 0, ne = 0, t;
195
195
  }
196
- for (ye(null), se.length = 0, re = 0; Oe.length; )
197
- Oe.pop()();
196
+ for (ge(null), se.length = 0, ne = 0; He.length; )
197
+ He.pop()();
198
198
  for (let t = 0; t < ae.length; t += 1) {
199
199
  const i = ae[t];
200
- Xe.has(i) || (Xe.add(i), i());
200
+ Ye.has(i) || (Ye.add(i), i());
201
201
  }
202
202
  ae.length = 0;
203
203
  } while (se.length);
204
- for (; At.length; )
205
- At.pop()();
206
- et = !1, Xe.clear(), ye(e);
204
+ for (; It.length; )
205
+ It.pop()();
206
+ rt = !1, Ye.clear(), ge(e);
207
207
  }
208
- function wn(e) {
208
+ function Ar(e) {
209
209
  if (e.fragment !== null) {
210
210
  e.update(), ie(e.before_update);
211
211
  const t = e.dirty;
212
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
212
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(_e);
213
213
  }
214
214
  }
215
- function Sn(e) {
215
+ function Br(e) {
216
216
  const t = [], i = [];
217
- ae.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : i.push(n)), i.forEach((n) => n()), ae = t;
217
+ ae.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : i.push(r)), i.forEach((r) => r()), ae = t;
218
218
  }
219
- const Pn = /* @__PURE__ */ new Set();
220
- function An(e, t) {
221
- e && e.i && (Pn.delete(e), e.i(t));
219
+ const Nr = /* @__PURE__ */ new Set();
220
+ function Or(e, t) {
221
+ e && e.i && (Nr.delete(e), e.i(t));
222
222
  }
223
223
  function te(e) {
224
224
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
225
225
  }
226
- function Bn(e, t, i) {
227
- const { fragment: n, after_update: r } = e.$$;
228
- n && n.m(t, i), Ee(() => {
229
- const o = e.$$.on_mount.map(li).filter(pt);
226
+ function Ir(e, t, i) {
227
+ const { fragment: r, after_update: n } = e.$$;
228
+ r && r.m(t, i), _e(() => {
229
+ const o = e.$$.on_mount.map(mi).filter(vt);
230
230
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
231
- }), r.forEach(Ee);
231
+ }), n.forEach(_e);
232
232
  }
233
- function Nn(e, t) {
233
+ function Hr(e, t) {
234
234
  const i = e.$$;
235
- i.fragment !== null && (Sn(i.after_update), ie(i.on_destroy), i.fragment && i.fragment.d(t), i.on_destroy = i.fragment = null, i.ctx = []);
235
+ i.fragment !== null && (Br(i.after_update), ie(i.on_destroy), i.fragment && i.fragment.d(t), i.on_destroy = i.fragment = null, i.ctx = []);
236
236
  }
237
- function In(e, t) {
238
- e.$$.dirty[0] === -1 && (se.push(e), Tn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
237
+ function Mr(e, t) {
238
+ e.$$.dirty[0] === -1 && (se.push(e), Pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
239
239
  }
240
- function Hn(e, t, i, n, r, o, s = null, a = [-1]) {
241
- const c = _e;
242
- ye(e);
240
+ function kr(e, t, i, r, n, o, s = null, a = [-1]) {
241
+ const c = ve;
242
+ ge(e);
243
243
  const u = e.$$ = {
244
244
  fragment: null,
245
245
  ctx: [],
246
246
  // state
247
247
  props: o,
248
- update: U,
249
- not_equal: r,
250
- bound: St(),
248
+ update: j,
249
+ not_equal: n,
250
+ bound: Nt(),
251
251
  // lifecycle
252
252
  on_mount: [],
253
253
  on_destroy: [],
@@ -256,29 +256,29 @@ function Hn(e, t, i, n, r, o, s = null, a = [-1]) {
256
256
  after_update: [],
257
257
  context: new Map(t.context || (c ? c.$$.context : [])),
258
258
  // everything else
259
- callbacks: St(),
259
+ callbacks: Nt(),
260
260
  dirty: a,
261
261
  skip_bound: !1,
262
262
  root: t.target || c.$$.root
263
263
  };
264
264
  s && s(u.root);
265
265
  let l = !1;
266
- if (u.ctx = i(e, t.props || {}, (h, m, ...f) => {
266
+ if (u.ctx = i ? i(e, t.props || {}, (h, m, ...f) => {
267
267
  const p = f.length ? f[0] : m;
268
- return u.ctx && r(u.ctx[h], u.ctx[h] = p) && (!u.skip_bound && u.bound[h] && u.bound[h](p), l && In(e, h)), m;
269
- }), u.update(), l = !0, ie(u.before_update), u.fragment = n(u.ctx), t.target) {
268
+ return u.ctx && n(u.ctx[h], u.ctx[h] = p) && (!u.skip_bound && u.bound[h] && u.bound[h](p), l && Mr(e, h)), m;
269
+ }) : [], u.update(), l = !0, ie(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
270
270
  if (t.hydrate) {
271
- const h = vn(t.target);
272
- u.fragment && u.fragment.l(h), h.forEach(B);
271
+ const h = Lr(t.target);
272
+ u.fragment && u.fragment.l(h), h.forEach(A);
273
273
  } else
274
274
  u.fragment && u.fragment.c();
275
- t.intro && An(e.$$.fragment), Bn(e, t.target, t.anchor), X();
275
+ t.intro && Or(e.$$.fragment), Ir(e, t.target, t.anchor), X();
276
276
  }
277
- ye(c);
277
+ ge(c);
278
278
  }
279
- let mi;
280
- typeof HTMLElement == "function" && (mi = class extends HTMLElement {
281
- constructor(t, i, n) {
279
+ let gi;
280
+ typeof HTMLElement == "function" && (gi = class extends HTMLElement {
281
+ constructor(t, i, r) {
282
282
  super();
283
283
  /** The Svelte component constructor */
284
284
  V(this, "$$ctor");
@@ -298,23 +298,23 @@ typeof HTMLElement == "function" && (mi = class extends HTMLElement {
298
298
  V(this, "$$l", {});
299
299
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
300
300
  V(this, "$$l_u", /* @__PURE__ */ new Map());
301
- this.$$ctor = t, this.$$s = i, n && this.attachShadow({ mode: "open" });
301
+ this.$$ctor = t, this.$$s = i, r && this.attachShadow({ mode: "open" });
302
302
  }
303
- addEventListener(t, i, n) {
303
+ addEventListener(t, i, r) {
304
304
  if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(i), this.$$c) {
305
- const r = this.$$c.$on(t, i);
306
- this.$$l_u.set(i, r);
305
+ const n = this.$$c.$on(t, i);
306
+ this.$$l_u.set(i, n);
307
307
  }
308
- super.addEventListener(t, i, n);
308
+ super.addEventListener(t, i, r);
309
309
  }
310
- removeEventListener(t, i, n) {
311
- if (super.removeEventListener(t, i, n), this.$$c) {
312
- const r = this.$$l_u.get(i);
313
- r && (r(), this.$$l_u.delete(i));
310
+ removeEventListener(t, i, r) {
311
+ if (super.removeEventListener(t, i, r), this.$$c) {
312
+ const n = this.$$l_u.get(i);
313
+ n && (n(), this.$$l_u.delete(i));
314
314
  }
315
315
  }
316
316
  connectedCallback() {
317
- return wt(this, null, function* () {
317
+ return Bt(this, null, function* () {
318
318
  if (this.$$cn = !0, !this.$$c) {
319
319
  let t = function(o) {
320
320
  return () => {
@@ -328,19 +328,19 @@ typeof HTMLElement == "function" && (mi = class extends HTMLElement {
328
328
  * @param {HTMLElement} [anchor]
329
329
  */
330
330
  m: function(u, l) {
331
- N(u, s, l);
331
+ B(u, s, l);
332
332
  },
333
333
  d: function(u) {
334
- u && B(s);
334
+ u && A(s);
335
335
  }
336
336
  };
337
337
  };
338
338
  };
339
339
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
340
340
  return;
341
- const i = {}, n = _n(this);
341
+ const i = {}, r = xr(this);
342
342
  for (const o of this.$$s)
343
- o in n && (i[o] = [t(o)]);
343
+ o in r && (i[o] = [t(o)]);
344
344
  for (const o of this.attributes) {
345
345
  const s = this.$$g_p(o.name);
346
346
  s in this.$$d || (this.$$d[s] = Ae(s, o.value, this.$$p_d, "toProp"));
@@ -349,14 +349,14 @@ typeof HTMLElement == "function" && (mi = class extends HTMLElement {
349
349
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
350
350
  this.$$c = new this.$$ctor({
351
351
  target: this.shadowRoot || this,
352
- props: Tt(xt({}, this.$$d), {
352
+ props: At(Pt({}, this.$$d), {
353
353
  $$slots: i,
354
354
  $$scope: {
355
355
  ctx: []
356
356
  }
357
357
  })
358
358
  });
359
- const r = () => {
359
+ const n = () => {
360
360
  this.$$r = !0;
361
361
  for (const o in this.$$p_d)
362
362
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
@@ -370,7 +370,7 @@ typeof HTMLElement == "function" && (mi = class extends HTMLElement {
370
370
  }
371
371
  this.$$r = !1;
372
372
  };
373
- this.$$c.$$.after_update.push(r), r();
373
+ this.$$c.$$.after_update.push(n), n();
374
374
  for (const o in this.$$l)
375
375
  for (const s of this.$$l[o]) {
376
376
  const a = this.$$c.$on(o, s);
@@ -382,9 +382,9 @@ typeof HTMLElement == "function" && (mi = class extends HTMLElement {
382
382
  }
383
383
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
384
384
  // and setting attributes through setAttribute etc, this is helpful
385
- attributeChangedCallback(t, i, n) {
386
- var r;
387
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ae(t, n, this.$$p_d, "toProp"), (r = this.$$c) == null || r.$set({ [t]: this.$$d[t] }));
385
+ attributeChangedCallback(t, i, r) {
386
+ var n;
387
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ae(t, r, this.$$p_d, "toProp"), (n = this.$$c) == null || n.$set({ [t]: this.$$d[t] }));
388
388
  }
389
389
  disconnectedCallback() {
390
390
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -397,13 +397,13 @@ typeof HTMLElement == "function" && (mi = class extends HTMLElement {
397
397
  ) || t;
398
398
  }
399
399
  });
400
- function Ae(e, t, i, n) {
400
+ function Ae(e, t, i, r) {
401
401
  var o;
402
- const r = (o = i[e]) == null ? void 0 : o.type;
403
- if (t = r === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !i[e])
402
+ const n = (o = i[e]) == null ? void 0 : o.type;
403
+ if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !i[e])
404
404
  return t;
405
- if (n === "toAttribute")
406
- switch (r) {
405
+ if (r === "toAttribute")
406
+ switch (n) {
407
407
  case "Object":
408
408
  case "Array":
409
409
  return t == null ? null : JSON.stringify(t);
@@ -415,7 +415,7 @@ function Ae(e, t, i, n) {
415
415
  return t;
416
416
  }
417
417
  else
418
- switch (r) {
418
+ switch (n) {
419
419
  case "Object":
420
420
  case "Array":
421
421
  return t && JSON.parse(t);
@@ -427,10 +427,10 @@ function Ae(e, t, i, n) {
427
427
  return t;
428
428
  }
429
429
  }
430
- function On(e, t, i, n, r, o) {
431
- let s = class extends mi {
430
+ function Cr(e, t, i, r, n, o) {
431
+ let s = class extends gi {
432
432
  constructor() {
433
- super(e, i, r), this.$$p_d = t;
433
+ super(e, i, n), this.$$p_d = t;
434
434
  }
435
435
  static get observedAttributes() {
436
436
  return Object.keys(t).map(
@@ -448,7 +448,7 @@ function On(e, t, i, n, r, o) {
448
448
  c = Ae(a, c, t), this.$$d[a] = c, (u = this.$$c) == null || u.$set({ [a]: c });
449
449
  }
450
450
  });
451
- }), n.forEach((a) => {
451
+ }), r.forEach((a) => {
452
452
  Object.defineProperty(s.prototype, a, {
453
453
  get() {
454
454
  var c;
@@ -458,7 +458,7 @@ function On(e, t, i, n, r, o) {
458
458
  }), e.element = /** @type {any} */
459
459
  s, s;
460
460
  }
461
- class Mn {
461
+ class Dr {
462
462
  constructor() {
463
463
  /**
464
464
  * ### PRIVATE API
@@ -479,7 +479,7 @@ class Mn {
479
479
  }
480
480
  /** @returns {void} */
481
481
  $destroy() {
482
- Nn(this, 1), this.$destroy = U;
482
+ Hr(this, 1), this.$destroy = j;
483
483
  }
484
484
  /**
485
485
  * @template {Extract<keyof Events, string>} K
@@ -488,12 +488,12 @@ class Mn {
488
488
  * @returns {() => void}
489
489
  */
490
490
  $on(t, i) {
491
- if (!pt(i))
492
- return U;
493
- const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
494
- return n.push(i), () => {
495
- const r = n.indexOf(i);
496
- r !== -1 && n.splice(r, 1);
491
+ if (!vt(i))
492
+ return j;
493
+ const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
494
+ return r.push(i), () => {
495
+ const n = r.indexOf(i);
496
+ n !== -1 && r.splice(n, 1);
497
497
  };
498
498
  }
499
499
  /**
@@ -501,11 +501,11 @@ class Mn {
501
501
  * @returns {void}
502
502
  */
503
503
  $set(t) {
504
- this.$$set && !mn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
504
+ this.$$set && !br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
505
505
  }
506
506
  }
507
- const kn = "4";
508
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kn);
507
+ const Rr = "4";
508
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Rr);
509
509
  const Z = {
510
510
  deposit: {
511
511
  title: "Deposit Limit",
@@ -532,18 +532,18 @@ const Z = {
532
532
  periods: ["Monthly"]
533
533
  }
534
534
  }, oe = [];
535
- function Cn(e, t) {
535
+ function jr(e, t) {
536
536
  return {
537
- subscribe: De(e, t).subscribe
537
+ subscribe: Re(e, t).subscribe
538
538
  };
539
539
  }
540
- function De(e, t = U) {
540
+ function Re(e, t = j) {
541
541
  let i;
542
- const n = /* @__PURE__ */ new Set();
543
- function r(a) {
544
- if (ci(e, a) && (e = a, i)) {
542
+ const r = /* @__PURE__ */ new Set();
543
+ function n(a) {
544
+ if (pi(e, a) && (e = a, i)) {
545
545
  const c = !oe.length;
546
- for (const u of n)
546
+ for (const u of r)
547
547
  u[1](), oe.push(u, e);
548
548
  if (c) {
549
549
  for (let u = 0; u < oe.length; u += 2)
@@ -553,33 +553,33 @@ function De(e, t = U) {
553
553
  }
554
554
  }
555
555
  function o(a) {
556
- r(a(e));
556
+ n(a(e));
557
557
  }
558
- function s(a, c = U) {
558
+ function s(a, c = j) {
559
559
  const u = [a, c];
560
- return n.add(u), n.size === 1 && (i = t(r, o) || U), a(e), () => {
561
- n.delete(u), n.size === 0 && i && (i(), i = null);
560
+ return r.add(u), r.size === 1 && (i = t(n, o) || j), a(e), () => {
561
+ r.delete(u), r.size === 0 && i && (i(), i = null);
562
562
  };
563
563
  }
564
- return { set: r, update: o, subscribe: s };
564
+ return { set: n, update: o, subscribe: s };
565
565
  }
566
- function me(e, t, i) {
567
- const n = !Array.isArray(e), r = n ? [e] : e;
568
- if (!r.every(Boolean))
566
+ function fe(e, t, i) {
567
+ const r = !Array.isArray(e), n = r ? [e] : e;
568
+ if (!n.every(Boolean))
569
569
  throw new Error("derived() expects stores as input, got a falsy value");
570
570
  const o = t.length < 2;
571
- return Cn(i, (s, a) => {
571
+ return jr(i, (s, a) => {
572
572
  let c = !1;
573
573
  const u = [];
574
- let l = 0, h = U;
574
+ let l = 0, h = j;
575
575
  const m = () => {
576
576
  if (l)
577
577
  return;
578
578
  h();
579
- const p = t(n ? u[0] : u, s, a);
580
- o ? s(p) : h = pt(p) ? p : U;
581
- }, f = r.map(
582
- (p, _) => hi(
579
+ const p = t(r ? u[0] : u, s, a);
580
+ o ? s(p) : h = vt(p) ? p : j;
581
+ }, f = n.map(
582
+ (p, _) => di(
583
583
  p,
584
584
  (R) => {
585
585
  u[_] = R, l &= ~(1 << _), c && m();
@@ -594,202 +594,153 @@ function me(e, t, i) {
594
594
  };
595
595
  });
596
596
  }
597
- function Dn(e) {
598
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
597
+ function Ur(e) {
598
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
599
599
  }
600
- var Rn = function(t) {
601
- return Un(t) && !jn(t);
600
+ var $r = function(t) {
601
+ return Fr(t) && !Gr(t);
602
602
  };
603
- function Un(e) {
603
+ function Fr(e) {
604
604
  return !!e && typeof e == "object";
605
605
  }
606
- function jn(e) {
606
+ function Gr(e) {
607
607
  var t = Object.prototype.toString.call(e);
608
- return t === "[object RegExp]" || t === "[object Date]" || Gn(e);
608
+ return t === "[object RegExp]" || t === "[object Date]" || Vr(e);
609
609
  }
610
- var $n = typeof Symbol == "function" && Symbol.for, Fn = $n ? Symbol.for("react.element") : 60103;
611
- function Gn(e) {
612
- return e.$$typeof === Fn;
610
+ var zr = typeof Symbol == "function" && Symbol.for, Wr = zr ? Symbol.for("react.element") : 60103;
611
+ function Vr(e) {
612
+ return e.$$typeof === Wr;
613
613
  }
614
- function zn(e) {
614
+ function Xr(e) {
615
615
  return Array.isArray(e) ? [] : {};
616
616
  }
617
- function Le(e, t) {
618
- return t.clone !== !1 && t.isMergeableObject(e) ? le(zn(e), e, t) : e;
617
+ function Ee(e, t) {
618
+ return t.clone !== !1 && t.isMergeableObject(e) ? ue(Xr(e), e, t) : e;
619
619
  }
620
- function Wn(e, t, i) {
621
- return e.concat(t).map(function(n) {
622
- return Le(n, i);
620
+ function Zr(e, t, i) {
621
+ return e.concat(t).map(function(r) {
622
+ return Ee(r, i);
623
623
  });
624
624
  }
625
- function Vn(e, t) {
625
+ function Yr(e, t) {
626
626
  if (!t.customMerge)
627
- return le;
627
+ return ue;
628
628
  var i = t.customMerge(e);
629
- return typeof i == "function" ? i : le;
629
+ return typeof i == "function" ? i : ue;
630
630
  }
631
- function Xn(e) {
631
+ function qr(e) {
632
632
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
633
633
  return Object.propertyIsEnumerable.call(e, t);
634
634
  }) : [];
635
635
  }
636
- function Bt(e) {
637
- return Object.keys(e).concat(Xn(e));
636
+ function Ht(e) {
637
+ return Object.keys(e).concat(qr(e));
638
638
  }
639
- function pi(e, t) {
639
+ function yi(e, t) {
640
640
  try {
641
641
  return t in e;
642
642
  } catch (i) {
643
643
  return !1;
644
644
  }
645
645
  }
646
- function Zn(e, t) {
647
- return pi(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
646
+ function Jr(e, t) {
647
+ return yi(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
648
648
  }
649
- function Yn(e, t, i) {
650
- var n = {};
651
- return i.isMergeableObject(e) && Bt(e).forEach(function(r) {
652
- n[r] = Le(e[r], i);
653
- }), Bt(t).forEach(function(r) {
654
- Zn(e, r) || (pi(e, r) && i.isMergeableObject(t[r]) ? n[r] = Vn(r, i)(e[r], t[r], i) : n[r] = Le(t[r], i));
655
- }), n;
649
+ function Qr(e, t, i) {
650
+ var r = {};
651
+ return i.isMergeableObject(e) && Ht(e).forEach(function(n) {
652
+ r[n] = Ee(e[n], i);
653
+ }), Ht(t).forEach(function(n) {
654
+ Jr(e, n) || (yi(e, n) && i.isMergeableObject(t[n]) ? r[n] = Yr(n, i)(e[n], t[n], i) : r[n] = Ee(t[n], i));
655
+ }), r;
656
656
  }
657
- function le(e, t, i) {
658
- i = i || {}, i.arrayMerge = i.arrayMerge || Wn, i.isMergeableObject = i.isMergeableObject || Rn, i.cloneUnlessOtherwiseSpecified = Le;
659
- var n = Array.isArray(t), r = Array.isArray(e), o = n === r;
660
- return o ? n ? i.arrayMerge(e, t, i) : Yn(e, t, i) : Le(t, i);
657
+ function ue(e, t, i) {
658
+ i = i || {}, i.arrayMerge = i.arrayMerge || Zr, i.isMergeableObject = i.isMergeableObject || $r, i.cloneUnlessOtherwiseSpecified = Ee;
659
+ var r = Array.isArray(t), n = Array.isArray(e), o = r === n;
660
+ return o ? r ? i.arrayMerge(e, t, i) : Qr(e, t, i) : Ee(t, i);
661
661
  }
662
- le.all = function(t, i) {
662
+ ue.all = function(t, i) {
663
663
  if (!Array.isArray(t))
664
664
  throw new Error("first argument should be an array");
665
- return t.reduce(function(n, r) {
666
- return le(n, r, i);
665
+ return t.reduce(function(r, n) {
666
+ return ue(r, n, i);
667
667
  }, {});
668
668
  };
669
- var qn = le, Jn = qn;
670
- const Qn = /* @__PURE__ */ Dn(Jn);
671
- /*! *****************************************************************************
672
- Copyright (c) Microsoft Corporation.
673
-
674
- Permission to use, copy, modify, and/or distribute this software for any
675
- purpose with or without fee is hereby granted.
676
-
677
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
678
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
679
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
680
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
681
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
682
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
683
- PERFORMANCE OF THIS SOFTWARE.
684
- ***************************************************************************** */
685
- var tt = function(e, t) {
686
- return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, n) {
687
- i.__proto__ = n;
688
- } || function(i, n) {
689
- for (var r in n)
690
- Object.prototype.hasOwnProperty.call(n, r) && (i[r] = n[r]);
691
- }, tt(e, t);
669
+ var Kr = ue, en = Kr;
670
+ const tn = /* @__PURE__ */ Ur(en);
671
+ var nt = function(e, t) {
672
+ return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
673
+ i.__proto__ = r;
674
+ } || function(i, r) {
675
+ for (var n in r)
676
+ Object.prototype.hasOwnProperty.call(r, n) && (i[n] = r[n]);
677
+ }, nt(e, t);
692
678
  };
693
- function Q(e, t) {
679
+ function je(e, t) {
694
680
  if (typeof t != "function" && t !== null)
695
681
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
696
- tt(e, t);
682
+ nt(e, t);
697
683
  function i() {
698
684
  this.constructor = e;
699
685
  }
700
686
  e.prototype = t === null ? Object.create(t) : (i.prototype = t.prototype, new i());
701
687
  }
702
- var S = function() {
703
- return S = Object.assign || function(t) {
704
- for (var i, n = 1, r = arguments.length; n < r; n++) {
705
- i = arguments[n];
688
+ var Y = function() {
689
+ return Y = Object.assign || function(t) {
690
+ for (var i, r = 1, n = arguments.length; r < n; r++) {
691
+ i = arguments[r];
706
692
  for (var o in i)
707
693
  Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
708
694
  }
709
695
  return t;
710
- }, S.apply(this, arguments);
696
+ }, Y.apply(this, arguments);
711
697
  };
712
- function Kn(e, t) {
698
+ function rn(e, t) {
713
699
  var i = {};
714
- for (var n in e)
715
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
700
+ for (var r in e)
701
+ Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (i[r] = e[r]);
716
702
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
717
- for (var r = 0, n = Object.getOwnPropertySymbols(e); r < n.length; r++)
718
- t.indexOf(n[r]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[r]) && (i[n[r]] = e[n[r]]);
703
+ for (var n = 0, r = Object.getOwnPropertySymbols(e); n < r.length; n++)
704
+ t.indexOf(r[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[n]) && (i[r[n]] = e[r[n]]);
719
705
  return i;
720
706
  }
721
- function it(e) {
722
- var t = typeof Symbol == "function" && Symbol.iterator, i = t && e[t], n = 0;
723
- if (i)
724
- return i.call(e);
725
- if (e && typeof e.length == "number")
726
- return {
727
- next: function() {
728
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
729
- }
730
- };
731
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
732
- }
733
- function nt(e, t) {
734
- var i = typeof Symbol == "function" && e[Symbol.iterator];
735
- if (!i)
736
- return e;
737
- var n = i.call(e), r, o = [], s;
738
- try {
739
- for (; (t === void 0 || t-- > 0) && !(r = n.next()).done; )
740
- o.push(r.value);
741
- } catch (a) {
742
- s = { error: a };
743
- } finally {
744
- try {
745
- r && !r.done && (i = n.return) && i.call(n);
746
- } finally {
747
- if (s)
748
- throw s.error;
749
- }
750
- }
751
- return o;
752
- }
753
- function ue(e, t, i) {
707
+ function qe(e, t, i) {
754
708
  if (i || arguments.length === 2)
755
- for (var n = 0, r = t.length, o; n < r; n++)
756
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
757
- return e.concat(o || t);
709
+ for (var r = 0, n = t.length, o; r < n; r++)
710
+ (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
711
+ return e.concat(o || Array.prototype.slice.call(t));
758
712
  }
759
- function Ze(e, t) {
760
- var i = t && t.cache ? t.cache : sr, n = t && t.serializer ? t.serializer : rr, r = t && t.strategy ? t.strategy : tr;
761
- return r(e, {
713
+ function Je(e, t) {
714
+ var i = t && t.cache ? t.cache : cn, r = t && t.serializer ? t.serializer : un, n = t && t.strategy ? t.strategy : sn;
715
+ return n(e, {
762
716
  cache: i,
763
- serializer: n
717
+ serializer: r
764
718
  });
765
719
  }
766
- function er(e) {
720
+ function nn(e) {
767
721
  return e == null || typeof e == "number" || typeof e == "boolean";
768
722
  }
769
- function di(e, t, i, n) {
770
- var r = er(n) ? n : i(n), o = t.get(r);
771
- return typeof o == "undefined" && (o = e.call(this, n), t.set(r, o)), o;
772
- }
773
- function bi(e, t, i) {
774
- var n = Array.prototype.slice.call(arguments, 3), r = i(n), o = t.get(r);
775
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(r, o)), o;
723
+ function on(e, t, i, r) {
724
+ var n = nn(r) ? r : i(r), o = t.get(n);
725
+ return typeof o == "undefined" && (o = e.call(this, r), t.set(n, o)), o;
776
726
  }
777
- function dt(e, t, i, n, r) {
778
- return i.bind(t, e, n, r);
727
+ function vi(e, t, i) {
728
+ var r = Array.prototype.slice.call(arguments, 3), n = i(r), o = t.get(n);
729
+ return typeof o == "undefined" && (o = e.apply(this, r), t.set(n, o)), o;
779
730
  }
780
- function tr(e, t) {
781
- var i = e.length === 1 ? di : bi;
782
- return dt(e, this, i, t.cache.create(), t.serializer);
731
+ function _i(e, t, i, r, n) {
732
+ return i.bind(t, e, r, n);
783
733
  }
784
- function ir(e, t) {
785
- return dt(e, this, bi, t.cache.create(), t.serializer);
734
+ function sn(e, t) {
735
+ var i = e.length === 1 ? on : vi;
736
+ return _i(e, this, i, t.cache.create(), t.serializer);
786
737
  }
787
- function nr(e, t) {
788
- return dt(e, this, di, t.cache.create(), t.serializer);
738
+ function an(e, t) {
739
+ return _i(e, this, vi, t.cache.create(), t.serializer);
789
740
  }
790
- var rr = function() {
741
+ var un = function() {
791
742
  return JSON.stringify(arguments);
792
- }, or = (
743
+ }, ln = (
793
744
  /** @class */
794
745
  function() {
795
746
  function e() {
@@ -801,69 +752,78 @@ var rr = function() {
801
752
  this.cache[t] = i;
802
753
  }, e;
803
754
  }()
804
- ), sr = {
755
+ ), cn = {
805
756
  create: function() {
806
- return new or();
757
+ return new ln();
807
758
  }
808
- }, Ye = {
809
- variadic: ir,
810
- monadic: nr
811
- }, x;
759
+ }, Qe = {
760
+ variadic: an
761
+ }, Me = function() {
762
+ return Me = Object.assign || function(t) {
763
+ for (var i, r = 1, n = arguments.length; r < n; r++) {
764
+ i = arguments[r];
765
+ for (var o in i)
766
+ Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
767
+ }
768
+ return t;
769
+ }, Me.apply(this, arguments);
770
+ };
771
+ var x;
812
772
  (function(e) {
813
773
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
814
774
  })(x || (x = {}));
815
- var O;
775
+ var I;
816
776
  (function(e) {
817
777
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
818
- })(O || (O = {}));
819
- var ce;
778
+ })(I || (I = {}));
779
+ var le;
820
780
  (function(e) {
821
781
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
822
- })(ce || (ce = {}));
823
- function Nt(e) {
824
- return e.type === O.literal;
782
+ })(le || (le = {}));
783
+ function Mt(e) {
784
+ return e.type === I.literal;
825
785
  }
826
- function ar(e) {
827
- return e.type === O.argument;
786
+ function hn(e) {
787
+ return e.type === I.argument;
828
788
  }
829
- function gi(e) {
830
- return e.type === O.number;
789
+ function Ei(e) {
790
+ return e.type === I.number;
831
791
  }
832
- function yi(e) {
833
- return e.type === O.date;
792
+ function Li(e) {
793
+ return e.type === I.date;
834
794
  }
835
- function vi(e) {
836
- return e.type === O.time;
795
+ function xi(e) {
796
+ return e.type === I.time;
837
797
  }
838
- function _i(e) {
839
- return e.type === O.select;
798
+ function Ti(e) {
799
+ return e.type === I.select;
840
800
  }
841
- function Ei(e) {
842
- return e.type === O.plural;
801
+ function wi(e) {
802
+ return e.type === I.plural;
843
803
  }
844
- function ur(e) {
845
- return e.type === O.pound;
804
+ function fn(e) {
805
+ return e.type === I.pound;
846
806
  }
847
- function Li(e) {
848
- return e.type === O.tag;
807
+ function Si(e) {
808
+ return e.type === I.tag;
849
809
  }
850
- function xi(e) {
851
- return !!(e && typeof e == "object" && e.type === ce.number);
810
+ function Pi(e) {
811
+ return !!(e && typeof e == "object" && e.type === le.number);
852
812
  }
853
- function rt(e) {
854
- return !!(e && typeof e == "object" && e.type === ce.dateTime);
813
+ function ot(e) {
814
+ return !!(e && typeof e == "object" && e.type === le.dateTime);
855
815
  }
856
- var Ti = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, lr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
857
- function cr(e) {
816
+ var Ai = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, mn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
817
+ function pn(e) {
858
818
  var t = {};
859
- return e.replace(lr, function(i) {
860
- var n = i.length;
819
+ return e.replace(mn, function(i) {
820
+ var r = i.length;
861
821
  switch (i[0]) {
862
822
  case "G":
863
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
823
+ t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
864
824
  break;
865
825
  case "y":
866
- t.year = n === 2 ? "2-digit" : "numeric";
826
+ t.year = r === 2 ? "2-digit" : "numeric";
867
827
  break;
868
828
  case "Y":
869
829
  case "u":
@@ -875,30 +835,30 @@ function cr(e) {
875
835
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
876
836
  case "M":
877
837
  case "L":
878
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
838
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
879
839
  break;
880
840
  case "w":
881
841
  case "W":
882
842
  throw new RangeError("`w/W` (week) patterns are not supported");
883
843
  case "d":
884
- t.day = ["numeric", "2-digit"][n - 1];
844
+ t.day = ["numeric", "2-digit"][r - 1];
885
845
  break;
886
846
  case "D":
887
847
  case "F":
888
848
  case "g":
889
849
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
890
850
  case "E":
891
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
851
+ t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
892
852
  break;
893
853
  case "e":
894
- if (n < 4)
854
+ if (r < 4)
895
855
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
896
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
856
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
897
857
  break;
898
858
  case "c":
899
- if (n < 4)
859
+ if (r < 4)
900
860
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
901
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
861
+ t.weekday = ["short", "long", "narrow", "short"][r - 4];
902
862
  break;
903
863
  case "a":
904
864
  t.hour12 = !0;
@@ -907,32 +867,32 @@ function cr(e) {
907
867
  case "B":
908
868
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
909
869
  case "h":
910
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
870
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
911
871
  break;
912
872
  case "H":
913
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
873
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
914
874
  break;
915
875
  case "K":
916
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
876
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
917
877
  break;
918
878
  case "k":
919
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
879
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
920
880
  break;
921
881
  case "j":
922
882
  case "J":
923
883
  case "C":
924
884
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
925
885
  case "m":
926
- t.minute = ["numeric", "2-digit"][n - 1];
886
+ t.minute = ["numeric", "2-digit"][r - 1];
927
887
  break;
928
888
  case "s":
929
- t.second = ["numeric", "2-digit"][n - 1];
889
+ t.second = ["numeric", "2-digit"][r - 1];
930
890
  break;
931
891
  case "S":
932
892
  case "A":
933
893
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
934
894
  case "z":
935
- t.timeZoneName = n < 4 ? "short" : "long";
895
+ t.timeZoneName = r < 4 ? "short" : "long";
936
896
  break;
937
897
  case "Z":
938
898
  case "O":
@@ -945,14 +905,24 @@ function cr(e) {
945
905
  return "";
946
906
  }), t;
947
907
  }
948
- var hr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
949
- function fr(e) {
908
+ var C = function() {
909
+ return C = Object.assign || function(t) {
910
+ for (var i, r = 1, n = arguments.length; r < n; r++) {
911
+ i = arguments[r];
912
+ for (var o in i)
913
+ Object.prototype.hasOwnProperty.call(i, o) && (t[o] = i[o]);
914
+ }
915
+ return t;
916
+ }, C.apply(this, arguments);
917
+ };
918
+ var dn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
919
+ function bn(e) {
950
920
  if (e.length === 0)
951
921
  throw new Error("Number skeleton cannot be empty");
952
- for (var t = e.split(hr).filter(function(m) {
922
+ for (var t = e.split(dn).filter(function(m) {
953
923
  return m.length > 0;
954
- }), i = [], n = 0, r = t; n < r.length; n++) {
955
- var o = r[n], s = o.split("/");
924
+ }), i = [], r = 0, n = t; r < n.length; r++) {
925
+ var o = n[r], s = o.split("/");
956
926
  if (s.length === 0)
957
927
  throw new Error("Invalid number skeleton");
958
928
  for (var a = s[0], c = s.slice(1), u = 0, l = c; u < l.length; u++) {
@@ -964,17 +934,17 @@ function fr(e) {
964
934
  }
965
935
  return i;
966
936
  }
967
- function mr(e) {
937
+ function gn(e) {
968
938
  return e.replace(/^(.*?)-/, "");
969
939
  }
970
- var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, wi = /^(@+)?(\+|#+)?[rs]?$/g, pr = /(\*)(0+)|(#+)(0+)|(0+)/g, Si = /^(0+)$/;
971
- function Ht(e) {
940
+ var kt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Bi = /^(@+)?(\+|#+)?[rs]?$/g, yn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ni = /^(0+)$/;
941
+ function Ct(e) {
972
942
  var t = {};
973
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(wi, function(i, n, r) {
974
- return typeof r != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : r === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof r == "string" ? r.length : 0)), "";
943
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Bi, function(i, r, n) {
944
+ return typeof n != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : n === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof n == "string" ? n.length : 0)), "";
975
945
  }), t;
976
946
  }
977
- function Pi(e) {
947
+ function Oi(e) {
978
948
  switch (e) {
979
949
  case "sign-auto":
980
950
  return {
@@ -1014,7 +984,7 @@ function Pi(e) {
1014
984
  };
1015
985
  }
1016
986
  }
1017
- function dr(e) {
987
+ function vn(e) {
1018
988
  var t;
1019
989
  if (e[0] === "E" && e[1] === "E" ? (t = {
1020
990
  notation: "engineering"
@@ -1022,20 +992,20 @@ function dr(e) {
1022
992
  notation: "scientific"
1023
993
  }, e = e.slice(1)), t) {
1024
994
  var i = e.slice(0, 2);
1025
- if (i === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : i === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Si.test(e))
995
+ if (i === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : i === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ni.test(e))
1026
996
  throw new Error("Malformed concise eng/scientific notation");
1027
997
  t.minimumIntegerDigits = e.length;
1028
998
  }
1029
999
  return t;
1030
1000
  }
1031
- function Ot(e) {
1032
- var t = {}, i = Pi(e);
1001
+ function Dt(e) {
1002
+ var t = {}, i = Oi(e);
1033
1003
  return i || t;
1034
1004
  }
1035
- function br(e) {
1036
- for (var t = {}, i = 0, n = e; i < n.length; i++) {
1037
- var r = n[i];
1038
- switch (r.stem) {
1005
+ function _n(e) {
1006
+ for (var t = {}, i = 0, r = e; i < r.length; i++) {
1007
+ var n = r[i];
1008
+ switch (n.stem) {
1039
1009
  case "percent":
1040
1010
  case "%":
1041
1011
  t.style = "percent";
@@ -1044,7 +1014,7 @@ function br(e) {
1044
1014
  t.style = "percent", t.scale = 100;
1045
1015
  continue;
1046
1016
  case "currency":
1047
- t.style = "currency", t.currency = r.options[0];
1017
+ t.style = "currency", t.currency = n.options[0];
1048
1018
  continue;
1049
1019
  case "group-off":
1050
1020
  case ",_":
@@ -1056,7 +1026,7 @@ function br(e) {
1056
1026
  continue;
1057
1027
  case "measure-unit":
1058
1028
  case "unit":
1059
- t.style = "unit", t.unit = mr(r.options[0]);
1029
+ t.style = "unit", t.unit = gn(n.options[0]);
1060
1030
  continue;
1061
1031
  case "compact-short":
1062
1032
  case "K":
@@ -1067,13 +1037,13 @@ function br(e) {
1067
1037
  t.notation = "compact", t.compactDisplay = "long";
1068
1038
  continue;
1069
1039
  case "scientific":
1070
- t = S(S(S({}, t), { notation: "scientific" }), r.options.reduce(function(c, u) {
1071
- return S(S({}, c), Ot(u));
1040
+ t = C(C(C({}, t), { notation: "scientific" }), n.options.reduce(function(c, u) {
1041
+ return C(C({}, c), Dt(u));
1072
1042
  }, {}));
1073
1043
  continue;
1074
1044
  case "engineering":
1075
- t = S(S(S({}, t), { notation: "engineering" }), r.options.reduce(function(c, u) {
1076
- return S(S({}, c), Ot(u));
1045
+ t = C(C(C({}, t), { notation: "engineering" }), n.options.reduce(function(c, u) {
1046
+ return C(C({}, c), Dt(u));
1077
1047
  }, {}));
1078
1048
  continue;
1079
1049
  case "notation-simple":
@@ -1092,7 +1062,7 @@ function br(e) {
1092
1062
  t.currencyDisplay = "symbol";
1093
1063
  continue;
1094
1064
  case "scale":
1095
- t.scale = parseFloat(r.options[0]);
1065
+ t.scale = parseFloat(n.options[0]);
1096
1066
  continue;
1097
1067
  case "rounding-mode-floor":
1098
1068
  t.roundingMode = "floor";
@@ -1116,9 +1086,9 @@ function br(e) {
1116
1086
  t.roundingMode = "halfExpand";
1117
1087
  continue;
1118
1088
  case "integer-width":
1119
- if (r.options.length > 1)
1089
+ if (n.options.length > 1)
1120
1090
  throw new RangeError("integer-width stems only accept a single optional option");
1121
- r.options[0].replace(pr, function(c, u, l, h, m, f) {
1091
+ n.options[0].replace(yn, function(c, u, l, h, m, f) {
1122
1092
  if (u)
1123
1093
  t.minimumIntegerDigits = l.length;
1124
1094
  else {
@@ -1131,28 +1101,28 @@ function br(e) {
1131
1101
  });
1132
1102
  continue;
1133
1103
  }
1134
- if (Si.test(r.stem)) {
1135
- t.minimumIntegerDigits = r.stem.length;
1104
+ if (Ni.test(n.stem)) {
1105
+ t.minimumIntegerDigits = n.stem.length;
1136
1106
  continue;
1137
1107
  }
1138
- if (It.test(r.stem)) {
1139
- if (r.options.length > 1)
1108
+ if (kt.test(n.stem)) {
1109
+ if (n.options.length > 1)
1140
1110
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1141
- r.stem.replace(It, function(c, u, l, h, m, f) {
1111
+ n.stem.replace(kt, function(c, u, l, h, m, f) {
1142
1112
  return l === "*" ? t.minimumFractionDigits = u.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : m && f ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + f.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1143
1113
  });
1144
- var o = r.options[0];
1145
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Ht(o)));
1114
+ var o = n.options[0];
1115
+ o === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = C(C({}, t), Ct(o)));
1146
1116
  continue;
1147
1117
  }
1148
- if (wi.test(r.stem)) {
1149
- t = S(S({}, t), Ht(r.stem));
1118
+ if (Bi.test(n.stem)) {
1119
+ t = C(C({}, t), Ct(n.stem));
1150
1120
  continue;
1151
1121
  }
1152
- var s = Pi(r.stem);
1153
- s && (t = S(S({}, t), s));
1154
- var a = dr(r.stem);
1155
- a && (t = S(S({}, t), a));
1122
+ var s = Oi(n.stem);
1123
+ s && (t = C(C({}, t), s));
1124
+ var a = vn(n.stem);
1125
+ a && (t = C(C({}, t), a));
1156
1126
  }
1157
1127
  return t;
1158
1128
  }
@@ -2571,23 +2541,23 @@ var Se = {
2571
2541
  "h"
2572
2542
  ]
2573
2543
  };
2574
- function gr(e, t) {
2575
- for (var i = "", n = 0; n < e.length; n++) {
2576
- var r = e.charAt(n);
2577
- if (r === "j") {
2578
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === r; )
2579
- o++, n++;
2580
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", u = yr(t);
2544
+ function En(e, t) {
2545
+ for (var i = "", r = 0; r < e.length; r++) {
2546
+ var n = e.charAt(r);
2547
+ if (n === "j") {
2548
+ for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === n; )
2549
+ o++, r++;
2550
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), c = "a", u = Ln(t);
2581
2551
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2582
2552
  i += c;
2583
2553
  for (; s-- > 0; )
2584
2554
  i = u + i;
2585
2555
  } else
2586
- r === "J" ? i += "H" : i += r;
2556
+ n === "J" ? i += "H" : i += n;
2587
2557
  }
2588
2558
  return i;
2589
2559
  }
2590
- function yr(e) {
2560
+ function Ln(e) {
2591
2561
  var t = e.hourCycle;
2592
2562
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2593
2563
  e.hourCycles && // @ts-ignore
@@ -2604,59 +2574,59 @@ function yr(e) {
2604
2574
  default:
2605
2575
  throw new Error("Invalid hourCycle");
2606
2576
  }
2607
- var i = e.language, n;
2608
- i !== "root" && (n = e.maximize().region);
2609
- var r = Se[n || ""] || Se[i || ""] || Se["".concat(i, "-001")] || Se["001"];
2610
- return r[0];
2577
+ var i = e.language, r;
2578
+ i !== "root" && (r = e.maximize().region);
2579
+ var n = Se[r || ""] || Se[i || ""] || Se["".concat(i, "-001")] || Se["001"];
2580
+ return n[0];
2611
2581
  }
2612
- var qe, vr = new RegExp("^".concat(Ti.source, "*")), _r = new RegExp("".concat(Ti.source, "*$"));
2582
+ var Ke, xn = new RegExp("^".concat(Ai.source, "*")), Tn = new RegExp("".concat(Ai.source, "*$"));
2613
2583
  function T(e, t) {
2614
2584
  return { start: e, end: t };
2615
2585
  }
2616
- var Er = !!String.prototype.startsWith && "_a".startsWith("a", 1), Lr = !!String.fromCodePoint, xr = !!Object.fromEntries, Tr = !!String.prototype.codePointAt, wr = !!String.prototype.trimStart, Sr = !!String.prototype.trimEnd, Pr = !!Number.isSafeInteger, Ar = Pr ? Number.isSafeInteger : function(e) {
2586
+ var wn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Sn = !!String.fromCodePoint, Pn = !!Object.fromEntries, An = !!String.prototype.codePointAt, Bn = !!String.prototype.trimStart, Nn = !!String.prototype.trimEnd, On = !!Number.isSafeInteger, In = On ? Number.isSafeInteger : function(e) {
2617
2587
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2618
- }, ot = !0;
2588
+ }, st = !0;
2619
2589
  try {
2620
- var Br = Bi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2621
- ot = ((qe = Br.exec("a")) === null || qe === void 0 ? void 0 : qe[0]) === "a";
2590
+ var Hn = Hi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2591
+ st = ((Ke = Hn.exec("a")) === null || Ke === void 0 ? void 0 : Ke[0]) === "a";
2622
2592
  } catch (e) {
2623
- ot = !1;
2593
+ st = !1;
2624
2594
  }
2625
- var Mt = Er ? (
2595
+ var Rt = wn ? (
2626
2596
  // Native
2627
- function(t, i, n) {
2628
- return t.startsWith(i, n);
2597
+ function(t, i, r) {
2598
+ return t.startsWith(i, r);
2629
2599
  }
2630
2600
  ) : (
2631
2601
  // For IE11
2632
- function(t, i, n) {
2633
- return t.slice(n, n + i.length) === i;
2602
+ function(t, i, r) {
2603
+ return t.slice(r, r + i.length) === i;
2634
2604
  }
2635
- ), st = Lr ? String.fromCodePoint : (
2605
+ ), at = Sn ? String.fromCodePoint : (
2636
2606
  // IE11
2637
2607
  function() {
2638
2608
  for (var t = [], i = 0; i < arguments.length; i++)
2639
2609
  t[i] = arguments[i];
2640
- for (var n = "", r = t.length, o = 0, s; r > o; ) {
2610
+ for (var r = "", n = t.length, o = 0, s; n > o; ) {
2641
2611
  if (s = t[o++], s > 1114111)
2642
2612
  throw RangeError(s + " is not a valid code point");
2643
- n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2613
+ r += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
2644
2614
  }
2645
- return n;
2615
+ return r;
2646
2616
  }
2647
- ), kt = (
2617
+ ), jt = (
2648
2618
  // native
2649
- xr ? Object.fromEntries : (
2619
+ Pn ? Object.fromEntries : (
2650
2620
  // Ponyfill
2651
2621
  function(t) {
2652
- for (var i = {}, n = 0, r = t; n < r.length; n++) {
2653
- var o = r[n], s = o[0], a = o[1];
2622
+ for (var i = {}, r = 0, n = t; r < n.length; r++) {
2623
+ var o = n[r], s = o[0], a = o[1];
2654
2624
  i[s] = a;
2655
2625
  }
2656
2626
  return i;
2657
2627
  }
2658
2628
  )
2659
- ), Ai = Tr ? (
2629
+ ), Ii = An ? (
2660
2630
  // Native
2661
2631
  function(t, i) {
2662
2632
  return t.codePointAt(i);
@@ -2664,13 +2634,13 @@ var Mt = Er ? (
2664
2634
  ) : (
2665
2635
  // IE 11
2666
2636
  function(t, i) {
2667
- var n = t.length;
2668
- if (!(i < 0 || i >= n)) {
2669
- var r = t.charCodeAt(i), o;
2670
- return r < 55296 || r > 56319 || i + 1 === n || (o = t.charCodeAt(i + 1)) < 56320 || o > 57343 ? r : (r - 55296 << 10) + (o - 56320) + 65536;
2637
+ var r = t.length;
2638
+ if (!(i < 0 || i >= r)) {
2639
+ var n = t.charCodeAt(i), o;
2640
+ return n < 55296 || n > 56319 || i + 1 === r || (o = t.charCodeAt(i + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
2671
2641
  }
2672
2642
  }
2673
- ), Nr = wr ? (
2643
+ ), Mn = Bn ? (
2674
2644
  // Native
2675
2645
  function(t) {
2676
2646
  return t.trimStart();
@@ -2678,9 +2648,9 @@ var Mt = Er ? (
2678
2648
  ) : (
2679
2649
  // Ponyfill
2680
2650
  function(t) {
2681
- return t.replace(vr, "");
2651
+ return t.replace(xn, "");
2682
2652
  }
2683
- ), Ir = Sr ? (
2653
+ ), kn = Nn ? (
2684
2654
  // Native
2685
2655
  function(t) {
2686
2656
  return t.trimEnd();
@@ -2688,32 +2658,32 @@ var Mt = Er ? (
2688
2658
  ) : (
2689
2659
  // Ponyfill
2690
2660
  function(t) {
2691
- return t.replace(_r, "");
2661
+ return t.replace(Tn, "");
2692
2662
  }
2693
2663
  );
2694
- function Bi(e, t) {
2664
+ function Hi(e, t) {
2695
2665
  return new RegExp(e, t);
2696
2666
  }
2697
- var at;
2698
- if (ot) {
2699
- var Ct = Bi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2700
- at = function(t, i) {
2701
- var n;
2702
- Ct.lastIndex = i;
2703
- var r = Ct.exec(t);
2704
- return (n = r[1]) !== null && n !== void 0 ? n : "";
2667
+ var ut;
2668
+ if (st) {
2669
+ var Ut = Hi("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2670
+ ut = function(t, i) {
2671
+ var r;
2672
+ Ut.lastIndex = i;
2673
+ var n = Ut.exec(t);
2674
+ return (r = n[1]) !== null && r !== void 0 ? r : "";
2705
2675
  };
2706
2676
  } else
2707
- at = function(t, i) {
2708
- for (var n = []; ; ) {
2709
- var r = Ai(t, i);
2710
- if (r === void 0 || Ni(r) || kr(r))
2677
+ ut = function(t, i) {
2678
+ for (var r = []; ; ) {
2679
+ var n = Ii(t, i);
2680
+ if (n === void 0 || Mi(n) || jn(n))
2711
2681
  break;
2712
- n.push(r), i += r >= 65536 ? 2 : 1;
2682
+ r.push(n), i += n >= 65536 ? 2 : 1;
2713
2683
  }
2714
- return st.apply(void 0, n);
2684
+ return at.apply(void 0, r);
2715
2685
  };
2716
- var Hr = (
2686
+ var Cn = (
2717
2687
  /** @class */
2718
2688
  function() {
2719
2689
  function e(t, i) {
@@ -2723,51 +2693,51 @@ var Hr = (
2723
2693
  if (this.offset() !== 0)
2724
2694
  throw Error("parser can only be used once");
2725
2695
  return this.parseMessage(0, "", !1);
2726
- }, e.prototype.parseMessage = function(t, i, n) {
2727
- for (var r = []; !this.isEOF(); ) {
2696
+ }, e.prototype.parseMessage = function(t, i, r) {
2697
+ for (var n = []; !this.isEOF(); ) {
2728
2698
  var o = this.char();
2729
2699
  if (o === 123) {
2730
- var s = this.parseArgument(t, n);
2700
+ var s = this.parseArgument(t, r);
2731
2701
  if (s.err)
2732
2702
  return s;
2733
- r.push(s.val);
2703
+ n.push(s.val);
2734
2704
  } else {
2735
2705
  if (o === 125 && t > 0)
2736
2706
  break;
2737
2707
  if (o === 35 && (i === "plural" || i === "selectordinal")) {
2738
2708
  var a = this.clonePosition();
2739
- this.bump(), r.push({
2740
- type: O.pound,
2709
+ this.bump(), n.push({
2710
+ type: I.pound,
2741
2711
  location: T(a, this.clonePosition())
2742
2712
  });
2743
2713
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2744
- if (n)
2714
+ if (r)
2745
2715
  break;
2746
2716
  return this.error(x.UNMATCHED_CLOSING_TAG, T(this.clonePosition(), this.clonePosition()));
2747
- } else if (o === 60 && !this.ignoreTag && ut(this.peek() || 0)) {
2717
+ } else if (o === 60 && !this.ignoreTag && lt(this.peek() || 0)) {
2748
2718
  var s = this.parseTag(t, i);
2749
2719
  if (s.err)
2750
2720
  return s;
2751
- r.push(s.val);
2721
+ n.push(s.val);
2752
2722
  } else {
2753
2723
  var s = this.parseLiteral(t, i);
2754
2724
  if (s.err)
2755
2725
  return s;
2756
- r.push(s.val);
2726
+ n.push(s.val);
2757
2727
  }
2758
2728
  }
2759
2729
  }
2760
- return { val: r, err: null };
2730
+ return { val: n, err: null };
2761
2731
  }, e.prototype.parseTag = function(t, i) {
2762
- var n = this.clonePosition();
2732
+ var r = this.clonePosition();
2763
2733
  this.bump();
2764
- var r = this.parseTagName();
2734
+ var n = this.parseTagName();
2765
2735
  if (this.bumpSpace(), this.bumpIf("/>"))
2766
2736
  return {
2767
2737
  val: {
2768
- type: O.literal,
2769
- value: "<".concat(r, "/>"),
2770
- location: T(n, this.clonePosition())
2738
+ type: I.literal,
2739
+ value: "<".concat(n, "/>"),
2740
+ location: T(r, this.clonePosition())
2771
2741
  },
2772
2742
  err: null
2773
2743
  };
@@ -2777,54 +2747,54 @@ var Hr = (
2777
2747
  return o;
2778
2748
  var s = o.val, a = this.clonePosition();
2779
2749
  if (this.bumpIf("</")) {
2780
- if (this.isEOF() || !ut(this.char()))
2750
+ if (this.isEOF() || !lt(this.char()))
2781
2751
  return this.error(x.INVALID_TAG, T(a, this.clonePosition()));
2782
2752
  var c = this.clonePosition(), u = this.parseTagName();
2783
- return r !== u ? this.error(x.UNMATCHED_CLOSING_TAG, T(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2753
+ return n !== u ? this.error(x.UNMATCHED_CLOSING_TAG, T(c, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2784
2754
  val: {
2785
- type: O.tag,
2786
- value: r,
2755
+ type: I.tag,
2756
+ value: n,
2787
2757
  children: s,
2788
- location: T(n, this.clonePosition())
2758
+ location: T(r, this.clonePosition())
2789
2759
  },
2790
2760
  err: null
2791
2761
  } : this.error(x.INVALID_TAG, T(a, this.clonePosition())));
2792
2762
  } else
2793
- return this.error(x.UNCLOSED_TAG, T(n, this.clonePosition()));
2763
+ return this.error(x.UNCLOSED_TAG, T(r, this.clonePosition()));
2794
2764
  } else
2795
- return this.error(x.INVALID_TAG, T(n, this.clonePosition()));
2765
+ return this.error(x.INVALID_TAG, T(r, this.clonePosition()));
2796
2766
  }, e.prototype.parseTagName = function() {
2797
2767
  var t = this.offset();
2798
- for (this.bump(); !this.isEOF() && Mr(this.char()); )
2768
+ for (this.bump(); !this.isEOF() && Rn(this.char()); )
2799
2769
  this.bump();
2800
2770
  return this.message.slice(t, this.offset());
2801
2771
  }, e.prototype.parseLiteral = function(t, i) {
2802
- for (var n = this.clonePosition(), r = ""; ; ) {
2772
+ for (var r = this.clonePosition(), n = ""; ; ) {
2803
2773
  var o = this.tryParseQuote(i);
2804
2774
  if (o) {
2805
- r += o;
2775
+ n += o;
2806
2776
  continue;
2807
2777
  }
2808
2778
  var s = this.tryParseUnquoted(t, i);
2809
2779
  if (s) {
2810
- r += s;
2780
+ n += s;
2811
2781
  continue;
2812
2782
  }
2813
2783
  var a = this.tryParseLeftAngleBracket();
2814
2784
  if (a) {
2815
- r += a;
2785
+ n += a;
2816
2786
  continue;
2817
2787
  }
2818
2788
  break;
2819
2789
  }
2820
- var c = T(n, this.clonePosition());
2790
+ var c = T(r, this.clonePosition());
2821
2791
  return {
2822
- val: { type: O.literal, value: r, location: c },
2792
+ val: { type: I.literal, value: n, location: c },
2823
2793
  err: null
2824
2794
  };
2825
2795
  }, e.prototype.tryParseLeftAngleBracket = function() {
2826
2796
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2827
- !Or(this.peek() || 0)) ? (this.bump(), "<") : null;
2797
+ !Dn(this.peek() || 0)) ? (this.bump(), "<") : null;
2828
2798
  }, e.prototype.tryParseQuote = function(t) {
2829
2799
  if (this.isEOF() || this.char() !== 39)
2830
2800
  return null;
@@ -2846,8 +2816,8 @@ var Hr = (
2846
2816
  this.bump();
2847
2817
  var i = [this.char()];
2848
2818
  for (this.bump(); !this.isEOF(); ) {
2849
- var n = this.char();
2850
- if (n === 39)
2819
+ var r = this.char();
2820
+ if (r === 39)
2851
2821
  if (this.peek() === 39)
2852
2822
  i.push(39), this.bump();
2853
2823
  else {
@@ -2855,48 +2825,48 @@ var Hr = (
2855
2825
  break;
2856
2826
  }
2857
2827
  else
2858
- i.push(n);
2828
+ i.push(r);
2859
2829
  this.bump();
2860
2830
  }
2861
- return st.apply(void 0, i);
2831
+ return at.apply(void 0, i);
2862
2832
  }, e.prototype.tryParseUnquoted = function(t, i) {
2863
2833
  if (this.isEOF())
2864
2834
  return null;
2865
- var n = this.char();
2866
- return n === 60 || n === 123 || n === 35 && (i === "plural" || i === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), st(n));
2835
+ var r = this.char();
2836
+ return r === 60 || r === 123 || r === 35 && (i === "plural" || i === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), at(r));
2867
2837
  }, e.prototype.parseArgument = function(t, i) {
2868
- var n = this.clonePosition();
2838
+ var r = this.clonePosition();
2869
2839
  if (this.bump(), this.bumpSpace(), this.isEOF())
2870
- return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
2840
+ return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, T(r, this.clonePosition()));
2871
2841
  if (this.char() === 125)
2872
- return this.bump(), this.error(x.EMPTY_ARGUMENT, T(n, this.clonePosition()));
2873
- var r = this.parseIdentifierIfPossible().value;
2874
- if (!r)
2875
- return this.error(x.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
2842
+ return this.bump(), this.error(x.EMPTY_ARGUMENT, T(r, this.clonePosition()));
2843
+ var n = this.parseIdentifierIfPossible().value;
2844
+ if (!n)
2845
+ return this.error(x.MALFORMED_ARGUMENT, T(r, this.clonePosition()));
2876
2846
  if (this.bumpSpace(), this.isEOF())
2877
- return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition()));
2847
+ return this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, T(r, this.clonePosition()));
2878
2848
  switch (this.char()) {
2879
2849
  case 125:
2880
2850
  return this.bump(), {
2881
2851
  val: {
2882
- type: O.argument,
2852
+ type: I.argument,
2883
2853
  // value does not include the opening and closing braces.
2884
- value: r,
2885
- location: T(n, this.clonePosition())
2854
+ value: n,
2855
+ location: T(r, this.clonePosition())
2886
2856
  },
2887
2857
  err: null
2888
2858
  };
2889
2859
  case 44:
2890
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, T(n, this.clonePosition())) : this.parseArgumentOptions(t, i, r, n);
2860
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, T(r, this.clonePosition())) : this.parseArgumentOptions(t, i, n, r);
2891
2861
  default:
2892
- return this.error(x.MALFORMED_ARGUMENT, T(n, this.clonePosition()));
2862
+ return this.error(x.MALFORMED_ARGUMENT, T(r, this.clonePosition()));
2893
2863
  }
2894
2864
  }, e.prototype.parseIdentifierIfPossible = function() {
2895
- var t = this.clonePosition(), i = this.offset(), n = at(this.message, i), r = i + n.length;
2896
- this.bumpTo(r);
2865
+ var t = this.clonePosition(), i = this.offset(), r = ut(this.message, i), n = i + r.length;
2866
+ this.bumpTo(n);
2897
2867
  var o = this.clonePosition(), s = T(t, o);
2898
- return { value: n, location: s };
2899
- }, e.prototype.parseArgumentOptions = function(t, i, n, r) {
2868
+ return { value: r, location: s };
2869
+ }, e.prototype.parseArgumentOptions = function(t, i, r, n) {
2900
2870
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, c = this.clonePosition();
2901
2871
  switch (a) {
2902
2872
  case "":
@@ -2911,45 +2881,45 @@ var Hr = (
2911
2881
  var l = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
2912
2882
  if (h.err)
2913
2883
  return h;
2914
- var m = Ir(h.val);
2884
+ var m = kn(h.val);
2915
2885
  if (m.length === 0)
2916
2886
  return this.error(x.EXPECT_ARGUMENT_STYLE, T(this.clonePosition(), this.clonePosition()));
2917
2887
  var f = T(l, this.clonePosition());
2918
2888
  u = { style: m, styleLocation: f };
2919
2889
  }
2920
- var p = this.tryParseArgumentClose(r);
2890
+ var p = this.tryParseArgumentClose(n);
2921
2891
  if (p.err)
2922
2892
  return p;
2923
- var _ = T(r, this.clonePosition());
2924
- if (u && Mt(u == null ? void 0 : u.style, "::", 0)) {
2925
- var R = Nr(u.style.slice(2));
2893
+ var _ = T(n, this.clonePosition());
2894
+ if (u && Rt(u == null ? void 0 : u.style, "::", 0)) {
2895
+ var R = Mn(u.style.slice(2));
2926
2896
  if (a === "number") {
2927
2897
  var h = this.parseNumberSkeletonFromString(R, u.styleLocation);
2928
2898
  return h.err ? h : {
2929
- val: { type: O.number, value: n, location: _, style: h.val },
2899
+ val: { type: I.number, value: r, location: _, style: h.val },
2930
2900
  err: null
2931
2901
  };
2932
2902
  } else {
2933
2903
  if (R.length === 0)
2934
2904
  return this.error(x.EXPECT_DATE_TIME_SKELETON, _);
2935
- var P = R;
2936
- this.locale && (P = gr(R, this.locale));
2905
+ var S = R;
2906
+ this.locale && (S = En(R, this.locale));
2937
2907
  var m = {
2938
- type: ce.dateTime,
2939
- pattern: P,
2908
+ type: le.dateTime,
2909
+ pattern: S,
2940
2910
  location: u.styleLocation,
2941
- parsedOptions: this.shouldParseSkeletons ? cr(P) : {}
2942
- }, L = a === "date" ? O.date : O.time;
2911
+ parsedOptions: this.shouldParseSkeletons ? pn(S) : {}
2912
+ }, L = a === "date" ? I.date : I.time;
2943
2913
  return {
2944
- val: { type: L, value: n, location: _, style: m },
2914
+ val: { type: L, value: r, location: _, style: m },
2945
2915
  err: null
2946
2916
  };
2947
2917
  }
2948
2918
  }
2949
2919
  return {
2950
2920
  val: {
2951
- type: a === "number" ? O.number : a === "date" ? O.date : O.time,
2952
- value: n,
2921
+ type: a === "number" ? I.number : a === "date" ? I.date : I.time,
2922
+ value: r,
2953
2923
  location: _,
2954
2924
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
2955
2925
  },
@@ -2961,39 +2931,39 @@ var Hr = (
2961
2931
  case "select": {
2962
2932
  var w = this.clonePosition();
2963
2933
  if (this.bumpSpace(), !this.bumpIf(","))
2964
- return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, T(w, S({}, w)));
2934
+ return this.error(x.EXPECT_SELECT_ARGUMENT_OPTIONS, T(w, Me({}, w)));
2965
2935
  this.bumpSpace();
2966
- var H = this.parseIdentifierIfPossible(), A = 0;
2967
- if (a !== "select" && H.value === "offset") {
2936
+ var O = this.parseIdentifierIfPossible(), P = 0;
2937
+ if (a !== "select" && O.value === "offset") {
2968
2938
  if (!this.bumpIf(":"))
2969
2939
  return this.error(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T(this.clonePosition(), this.clonePosition()));
2970
2940
  this.bumpSpace();
2971
2941
  var h = this.tryParseDecimalInteger(x.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2972
2942
  if (h.err)
2973
2943
  return h;
2974
- this.bumpSpace(), H = this.parseIdentifierIfPossible(), A = h.val;
2944
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), P = h.val;
2975
2945
  }
2976
- var M = this.tryParsePluralOrSelectOptions(t, a, i, H);
2977
- if (M.err)
2978
- return M;
2979
- var p = this.tryParseArgumentClose(r);
2946
+ var H = this.tryParsePluralOrSelectOptions(t, a, i, O);
2947
+ if (H.err)
2948
+ return H;
2949
+ var p = this.tryParseArgumentClose(n);
2980
2950
  if (p.err)
2981
2951
  return p;
2982
- var D = T(r, this.clonePosition());
2952
+ var D = T(n, this.clonePosition());
2983
2953
  return a === "select" ? {
2984
2954
  val: {
2985
- type: O.select,
2986
- value: n,
2987
- options: kt(M.val),
2955
+ type: I.select,
2956
+ value: r,
2957
+ options: jt(H.val),
2988
2958
  location: D
2989
2959
  },
2990
2960
  err: null
2991
2961
  } : {
2992
2962
  val: {
2993
- type: O.plural,
2994
- value: n,
2995
- options: kt(M.val),
2996
- offset: A,
2963
+ type: I.plural,
2964
+ value: r,
2965
+ options: jt(H.val),
2966
+ offset: P,
2997
2967
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2998
2968
  location: D
2999
2969
  },
@@ -3007,13 +2977,13 @@ var Hr = (
3007
2977
  return this.isEOF() || this.char() !== 125 ? this.error(x.EXPECT_ARGUMENT_CLOSING_BRACE, T(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3008
2978
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3009
2979
  for (var t = 0, i = this.clonePosition(); !this.isEOF(); ) {
3010
- var n = this.char();
3011
- switch (n) {
2980
+ var r = this.char();
2981
+ switch (r) {
3012
2982
  case 39: {
3013
2983
  this.bump();
3014
- var r = this.clonePosition();
2984
+ var n = this.clonePosition();
3015
2985
  if (!this.bumpUntil("'"))
3016
- return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, T(r, this.clonePosition()));
2986
+ return this.error(x.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, T(n, this.clonePosition()));
3017
2987
  this.bump();
3018
2988
  break;
3019
2989
  }
@@ -3041,23 +3011,23 @@ var Hr = (
3041
3011
  err: null
3042
3012
  };
3043
3013
  }, e.prototype.parseNumberSkeletonFromString = function(t, i) {
3044
- var n = [];
3014
+ var r = [];
3045
3015
  try {
3046
- n = fr(t);
3047
- } catch (r) {
3016
+ r = bn(t);
3017
+ } catch (n) {
3048
3018
  return this.error(x.INVALID_NUMBER_SKELETON, i);
3049
3019
  }
3050
3020
  return {
3051
3021
  val: {
3052
- type: ce.number,
3053
- tokens: n,
3022
+ type: le.number,
3023
+ tokens: r,
3054
3024
  location: i,
3055
- parsedOptions: this.shouldParseSkeletons ? br(n) : {}
3025
+ parsedOptions: this.shouldParseSkeletons ? _n(r) : {}
3056
3026
  },
3057
3027
  err: null
3058
3028
  };
3059
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, i, n, r) {
3060
- for (var o, s = !1, a = [], c = /* @__PURE__ */ new Set(), u = r.value, l = r.location; ; ) {
3029
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, i, r, n) {
3030
+ for (var o, s = !1, a = [], c = /* @__PURE__ */ new Set(), u = n.value, l = n.location; ; ) {
3061
3031
  if (u.length === 0) {
3062
3032
  var h = this.clonePosition();
3063
3033
  if (i !== "select" && this.bumpIf("=")) {
@@ -3074,7 +3044,7 @@ var Hr = (
3074
3044
  var f = this.clonePosition();
3075
3045
  if (!this.bumpIf("{"))
3076
3046
  return this.error(i === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : x.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, T(this.clonePosition(), this.clonePosition()));
3077
- var p = this.parseMessage(t + 1, i, n);
3047
+ var p = this.parseMessage(t + 1, i, r);
3078
3048
  if (p.err)
3079
3049
  return p;
3080
3050
  var _ = this.tryParseArgumentClose(f);
@@ -3090,8 +3060,8 @@ var Hr = (
3090
3060
  }
3091
3061
  return a.length === 0 ? this.error(i === "select" ? x.EXPECT_SELECT_ARGUMENT_SELECTOR : x.EXPECT_PLURAL_ARGUMENT_SELECTOR, T(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(x.MISSING_OTHER_CLAUSE, T(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3092
3062
  }, e.prototype.tryParseDecimalInteger = function(t, i) {
3093
- var n = 1, r = this.clonePosition();
3094
- this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3063
+ var r = 1, n = this.clonePosition();
3064
+ this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3095
3065
  for (var o = !1, s = 0; !this.isEOF(); ) {
3096
3066
  var a = this.char();
3097
3067
  if (a >= 48 && a <= 57)
@@ -3099,8 +3069,8 @@ var Hr = (
3099
3069
  else
3100
3070
  break;
3101
3071
  }
3102
- var c = T(r, this.clonePosition());
3103
- return o ? (s *= n, Ar(s) ? { val: s, err: null } : this.error(i, c)) : this.error(t, c);
3072
+ var c = T(n, this.clonePosition());
3073
+ return o ? (s *= r, In(s) ? { val: s, err: null } : this.error(i, c)) : this.error(t, c);
3104
3074
  }, e.prototype.offset = function() {
3105
3075
  return this.position.offset;
3106
3076
  }, e.prototype.isEOF = function() {
@@ -3115,7 +3085,7 @@ var Hr = (
3115
3085
  var t = this.position.offset;
3116
3086
  if (t >= this.message.length)
3117
3087
  throw Error("out of bound");
3118
- var i = Ai(this.message, t);
3088
+ var i = Ii(this.message, t);
3119
3089
  if (i === void 0)
3120
3090
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3121
3091
  return i;
@@ -3134,15 +3104,15 @@ var Hr = (
3134
3104
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3135
3105
  }
3136
3106
  }, e.prototype.bumpIf = function(t) {
3137
- if (Mt(this.message, t, this.offset())) {
3107
+ if (Rt(this.message, t, this.offset())) {
3138
3108
  for (var i = 0; i < t.length; i++)
3139
3109
  this.bump();
3140
3110
  return !0;
3141
3111
  }
3142
3112
  return !1;
3143
3113
  }, e.prototype.bumpUntil = function(t) {
3144
- var i = this.offset(), n = this.message.indexOf(t, i);
3145
- return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3114
+ var i = this.offset(), r = this.message.indexOf(t, i);
3115
+ return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3146
3116
  }, e.prototype.bumpTo = function(t) {
3147
3117
  if (this.offset() > t)
3148
3118
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
@@ -3156,107 +3126,107 @@ var Hr = (
3156
3126
  break;
3157
3127
  }
3158
3128
  }, e.prototype.bumpSpace = function() {
3159
- for (; !this.isEOF() && Ni(this.char()); )
3129
+ for (; !this.isEOF() && Mi(this.char()); )
3160
3130
  this.bump();
3161
3131
  }, e.prototype.peek = function() {
3162
3132
  if (this.isEOF())
3163
3133
  return null;
3164
- var t = this.char(), i = this.offset(), n = this.message.charCodeAt(i + (t >= 65536 ? 2 : 1));
3165
- return n != null ? n : null;
3134
+ var t = this.char(), i = this.offset(), r = this.message.charCodeAt(i + (t >= 65536 ? 2 : 1));
3135
+ return r != null ? r : null;
3166
3136
  }, e;
3167
3137
  }()
3168
3138
  );
3169
- function ut(e) {
3139
+ function lt(e) {
3170
3140
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3171
3141
  }
3172
- function Or(e) {
3173
- return ut(e) || e === 47;
3142
+ function Dn(e) {
3143
+ return lt(e) || e === 47;
3174
3144
  }
3175
- function Mr(e) {
3145
+ function Rn(e) {
3176
3146
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3177
3147
  }
3178
- function Ni(e) {
3148
+ function Mi(e) {
3179
3149
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3180
3150
  }
3181
- function kr(e) {
3151
+ function jn(e) {
3182
3152
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3183
3153
  }
3184
- function lt(e) {
3154
+ function ct(e) {
3185
3155
  e.forEach(function(t) {
3186
- if (delete t.location, _i(t) || Ei(t))
3156
+ if (delete t.location, Ti(t) || wi(t))
3187
3157
  for (var i in t.options)
3188
- delete t.options[i].location, lt(t.options[i].value);
3158
+ delete t.options[i].location, ct(t.options[i].value);
3189
3159
  else
3190
- gi(t) && xi(t.style) || (yi(t) || vi(t)) && rt(t.style) ? delete t.style.location : Li(t) && lt(t.children);
3160
+ Ei(t) && Pi(t.style) || (Li(t) || xi(t)) && ot(t.style) ? delete t.style.location : Si(t) && ct(t.children);
3191
3161
  });
3192
3162
  }
3193
- function Cr(e, t) {
3194
- t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3195
- var i = new Hr(e, t).parse();
3163
+ function Un(e, t) {
3164
+ t === void 0 && (t = {}), t = Me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3165
+ var i = new Cn(e, t).parse();
3196
3166
  if (i.err) {
3197
- var n = SyntaxError(x[i.err.kind]);
3198
- throw n.location = i.err.location, n.originalMessage = i.err.message, n;
3167
+ var r = SyntaxError(x[i.err.kind]);
3168
+ throw r.location = i.err.location, r.originalMessage = i.err.message, r;
3199
3169
  }
3200
- return t != null && t.captureLocation || lt(i.val), i.val;
3170
+ return t != null && t.captureLocation || ct(i.val), i.val;
3201
3171
  }
3202
- var he;
3172
+ var ce;
3203
3173
  (function(e) {
3204
3174
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3205
- })(he || (he = {}));
3206
- var Re = (
3175
+ })(ce || (ce = {}));
3176
+ var Ue = (
3207
3177
  /** @class */
3208
3178
  function(e) {
3209
- Q(t, e);
3210
- function t(i, n, r) {
3179
+ je(t, e);
3180
+ function t(i, r, n) {
3211
3181
  var o = e.call(this, i) || this;
3212
- return o.code = n, o.originalMessage = r, o;
3182
+ return o.code = r, o.originalMessage = n, o;
3213
3183
  }
3214
3184
  return t.prototype.toString = function() {
3215
3185
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3216
3186
  }, t;
3217
3187
  }(Error)
3218
- ), Dt = (
3188
+ ), $t = (
3219
3189
  /** @class */
3220
3190
  function(e) {
3221
- Q(t, e);
3222
- function t(i, n, r, o) {
3223
- return e.call(this, 'Invalid values for "'.concat(i, '": "').concat(n, '". Options are "').concat(Object.keys(r).join('", "'), '"'), he.INVALID_VALUE, o) || this;
3191
+ je(t, e);
3192
+ function t(i, r, n, o) {
3193
+ return e.call(this, 'Invalid values for "'.concat(i, '": "').concat(r, '". Options are "').concat(Object.keys(n).join('", "'), '"'), ce.INVALID_VALUE, o) || this;
3224
3194
  }
3225
3195
  return t;
3226
- }(Re)
3227
- ), Dr = (
3196
+ }(Ue)
3197
+ ), $n = (
3228
3198
  /** @class */
3229
3199
  function(e) {
3230
- Q(t, e);
3231
- function t(i, n, r) {
3232
- return e.call(this, 'Value for "'.concat(i, '" must be of type ').concat(n), he.INVALID_VALUE, r) || this;
3200
+ je(t, e);
3201
+ function t(i, r, n) {
3202
+ return e.call(this, 'Value for "'.concat(i, '" must be of type ').concat(r), ce.INVALID_VALUE, n) || this;
3233
3203
  }
3234
3204
  return t;
3235
- }(Re)
3236
- ), Rr = (
3205
+ }(Ue)
3206
+ ), Fn = (
3237
3207
  /** @class */
3238
3208
  function(e) {
3239
- Q(t, e);
3240
- function t(i, n) {
3241
- return e.call(this, 'The intl string context variable "'.concat(i, '" was not provided to the string "').concat(n, '"'), he.MISSING_VALUE, n) || this;
3209
+ je(t, e);
3210
+ function t(i, r) {
3211
+ return e.call(this, 'The intl string context variable "'.concat(i, '" was not provided to the string "').concat(r, '"'), ce.MISSING_VALUE, r) || this;
3242
3212
  }
3243
3213
  return t;
3244
- }(Re)
3214
+ }(Ue)
3245
3215
  ), z;
3246
3216
  (function(e) {
3247
3217
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3248
3218
  })(z || (z = {}));
3249
- function Ur(e) {
3219
+ function Gn(e) {
3250
3220
  return e.length < 2 ? e : e.reduce(function(t, i) {
3251
- var n = t[t.length - 1];
3252
- return !n || n.type !== z.literal || i.type !== z.literal ? t.push(i) : n.value += i.value, t;
3221
+ var r = t[t.length - 1];
3222
+ return !r || r.type !== z.literal || i.type !== z.literal ? t.push(i) : r.value += i.value, t;
3253
3223
  }, []);
3254
3224
  }
3255
- function jr(e) {
3225
+ function zn(e) {
3256
3226
  return typeof e == "function";
3257
3227
  }
3258
- function Be(e, t, i, n, r, o, s) {
3259
- if (e.length === 1 && Nt(e[0]))
3228
+ function Be(e, t, i, r, n, o, s) {
3229
+ if (e.length === 1 && Mt(e[0]))
3260
3230
  return [
3261
3231
  {
3262
3232
  type: z.literal,
@@ -3265,14 +3235,14 @@ function Be(e, t, i, n, r, o, s) {
3265
3235
  ];
3266
3236
  for (var a = [], c = 0, u = e; c < u.length; c++) {
3267
3237
  var l = u[c];
3268
- if (Nt(l)) {
3238
+ if (Mt(l)) {
3269
3239
  a.push({
3270
3240
  type: z.literal,
3271
3241
  value: l.value
3272
3242
  });
3273
3243
  continue;
3274
3244
  }
3275
- if (ur(l)) {
3245
+ if (fn(l)) {
3276
3246
  typeof o == "number" && a.push({
3277
3247
  type: z.literal,
3278
3248
  value: i.getNumberFormat(t).format(o)
@@ -3280,90 +3250,90 @@ function Be(e, t, i, n, r, o, s) {
3280
3250
  continue;
3281
3251
  }
3282
3252
  var h = l.value;
3283
- if (!(r && h in r))
3284
- throw new Rr(h, s);
3285
- var m = r[h];
3286
- if (ar(l)) {
3253
+ if (!(n && h in n))
3254
+ throw new Fn(h, s);
3255
+ var m = n[h];
3256
+ if (hn(l)) {
3287
3257
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3288
3258
  type: typeof m == "string" ? z.literal : z.object,
3289
3259
  value: m
3290
3260
  });
3291
3261
  continue;
3292
3262
  }
3293
- if (yi(l)) {
3294
- var f = typeof l.style == "string" ? n.date[l.style] : rt(l.style) ? l.style.parsedOptions : void 0;
3263
+ if (Li(l)) {
3264
+ var f = typeof l.style == "string" ? r.date[l.style] : ot(l.style) ? l.style.parsedOptions : void 0;
3295
3265
  a.push({
3296
3266
  type: z.literal,
3297
3267
  value: i.getDateTimeFormat(t, f).format(m)
3298
3268
  });
3299
3269
  continue;
3300
3270
  }
3301
- if (vi(l)) {
3302
- var f = typeof l.style == "string" ? n.time[l.style] : rt(l.style) ? l.style.parsedOptions : n.time.medium;
3271
+ if (xi(l)) {
3272
+ var f = typeof l.style == "string" ? r.time[l.style] : ot(l.style) ? l.style.parsedOptions : r.time.medium;
3303
3273
  a.push({
3304
3274
  type: z.literal,
3305
3275
  value: i.getDateTimeFormat(t, f).format(m)
3306
3276
  });
3307
3277
  continue;
3308
3278
  }
3309
- if (gi(l)) {
3310
- var f = typeof l.style == "string" ? n.number[l.style] : xi(l.style) ? l.style.parsedOptions : void 0;
3279
+ if (Ei(l)) {
3280
+ var f = typeof l.style == "string" ? r.number[l.style] : Pi(l.style) ? l.style.parsedOptions : void 0;
3311
3281
  f && f.scale && (m = m * (f.scale || 1)), a.push({
3312
3282
  type: z.literal,
3313
3283
  value: i.getNumberFormat(t, f).format(m)
3314
3284
  });
3315
3285
  continue;
3316
3286
  }
3317
- if (Li(l)) {
3318
- var p = l.children, _ = l.value, R = r[_];
3319
- if (!jr(R))
3320
- throw new Dr(_, "function", s);
3321
- var P = Be(p, t, i, n, r, o), L = R(P.map(function(A) {
3322
- return A.value;
3287
+ if (Si(l)) {
3288
+ var p = l.children, _ = l.value, R = n[_];
3289
+ if (!zn(R))
3290
+ throw new $n(_, "function", s);
3291
+ var S = Be(p, t, i, r, n, o), L = R(S.map(function(P) {
3292
+ return P.value;
3323
3293
  }));
3324
- Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(A) {
3294
+ Array.isArray(L) || (L = [L]), a.push.apply(a, L.map(function(P) {
3325
3295
  return {
3326
- type: typeof A == "string" ? z.literal : z.object,
3327
- value: A
3296
+ type: typeof P == "string" ? z.literal : z.object,
3297
+ value: P
3328
3298
  };
3329
3299
  }));
3330
3300
  }
3331
- if (_i(l)) {
3301
+ if (Ti(l)) {
3332
3302
  var w = l.options[m] || l.options.other;
3333
3303
  if (!w)
3334
- throw new Dt(l.value, m, Object.keys(l.options), s);
3335
- a.push.apply(a, Be(w.value, t, i, n, r));
3304
+ throw new $t(l.value, m, Object.keys(l.options), s);
3305
+ a.push.apply(a, Be(w.value, t, i, r, n));
3336
3306
  continue;
3337
3307
  }
3338
- if (Ei(l)) {
3308
+ if (wi(l)) {
3339
3309
  var w = l.options["=".concat(m)];
3340
3310
  if (!w) {
3341
3311
  if (!Intl.PluralRules)
3342
- throw new Re(`Intl.PluralRules is not available in this environment.
3312
+ throw new Ue(`Intl.PluralRules is not available in this environment.
3343
3313
  Try polyfilling it using "@formatjs/intl-pluralrules"
3344
- `, he.MISSING_INTL_API, s);
3345
- var H = i.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
3346
- w = l.options[H] || l.options.other;
3314
+ `, ce.MISSING_INTL_API, s);
3315
+ var O = i.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
3316
+ w = l.options[O] || l.options.other;
3347
3317
  }
3348
3318
  if (!w)
3349
- throw new Dt(l.value, m, Object.keys(l.options), s);
3350
- a.push.apply(a, Be(w.value, t, i, n, r, m - (l.offset || 0)));
3319
+ throw new $t(l.value, m, Object.keys(l.options), s);
3320
+ a.push.apply(a, Be(w.value, t, i, r, n, m - (l.offset || 0)));
3351
3321
  continue;
3352
3322
  }
3353
3323
  }
3354
- return Ur(a);
3324
+ return Gn(a);
3355
3325
  }
3356
- function $r(e, t) {
3357
- return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(i, n) {
3358
- return i[n] = S(S({}, e[n]), t[n] || {}), i;
3326
+ function Wn(e, t) {
3327
+ return t ? Y(Y(Y({}, e || {}), t || {}), Object.keys(e).reduce(function(i, r) {
3328
+ return i[r] = Y(Y({}, e[r]), t[r] || {}), i;
3359
3329
  }, {})) : e;
3360
3330
  }
3361
- function Fr(e, t) {
3362
- return t ? Object.keys(e).reduce(function(i, n) {
3363
- return i[n] = $r(e[n], t[n]), i;
3364
- }, S({}, e)) : e;
3331
+ function Vn(e, t) {
3332
+ return t ? Object.keys(e).reduce(function(i, r) {
3333
+ return i[r] = Wn(e[r], t[r]), i;
3334
+ }, Y({}, e)) : e;
3365
3335
  }
3366
- function Je(e) {
3336
+ function et(e) {
3367
3337
  return {
3368
3338
  create: function() {
3369
3339
  return {
@@ -3377,42 +3347,42 @@ function Je(e) {
3377
3347
  }
3378
3348
  };
3379
3349
  }
3380
- function Gr(e) {
3350
+ function Xn(e) {
3381
3351
  return e === void 0 && (e = {
3382
3352
  number: {},
3383
3353
  dateTime: {},
3384
3354
  pluralRules: {}
3385
3355
  }), {
3386
- getNumberFormat: Ze(function() {
3387
- for (var t, i = [], n = 0; n < arguments.length; n++)
3388
- i[n] = arguments[n];
3389
- return new ((t = Intl.NumberFormat).bind.apply(t, ue([void 0], i, !1)))();
3356
+ getNumberFormat: Je(function() {
3357
+ for (var t, i = [], r = 0; r < arguments.length; r++)
3358
+ i[r] = arguments[r];
3359
+ return new ((t = Intl.NumberFormat).bind.apply(t, qe([void 0], i, !1)))();
3390
3360
  }, {
3391
- cache: Je(e.number),
3392
- strategy: Ye.variadic
3361
+ cache: et(e.number),
3362
+ strategy: Qe.variadic
3393
3363
  }),
3394
- getDateTimeFormat: Ze(function() {
3395
- for (var t, i = [], n = 0; n < arguments.length; n++)
3396
- i[n] = arguments[n];
3397
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ue([void 0], i, !1)))();
3364
+ getDateTimeFormat: Je(function() {
3365
+ for (var t, i = [], r = 0; r < arguments.length; r++)
3366
+ i[r] = arguments[r];
3367
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, qe([void 0], i, !1)))();
3398
3368
  }, {
3399
- cache: Je(e.dateTime),
3400
- strategy: Ye.variadic
3369
+ cache: et(e.dateTime),
3370
+ strategy: Qe.variadic
3401
3371
  }),
3402
- getPluralRules: Ze(function() {
3403
- for (var t, i = [], n = 0; n < arguments.length; n++)
3404
- i[n] = arguments[n];
3405
- return new ((t = Intl.PluralRules).bind.apply(t, ue([void 0], i, !1)))();
3372
+ getPluralRules: Je(function() {
3373
+ for (var t, i = [], r = 0; r < arguments.length; r++)
3374
+ i[r] = arguments[r];
3375
+ return new ((t = Intl.PluralRules).bind.apply(t, qe([void 0], i, !1)))();
3406
3376
  }, {
3407
- cache: Je(e.pluralRules),
3408
- strategy: Ye.variadic
3377
+ cache: et(e.pluralRules),
3378
+ strategy: Qe.variadic
3409
3379
  })
3410
3380
  };
3411
3381
  }
3412
- var zr = (
3382
+ var Zn = (
3413
3383
  /** @class */
3414
3384
  function() {
3415
- function e(t, i, n, r) {
3385
+ function e(t, i, r, n) {
3416
3386
  i === void 0 && (i = e.defaultLocale);
3417
3387
  var o = this;
3418
3388
  if (this.formatterCache = {
@@ -3439,15 +3409,15 @@ var zr = (
3439
3409
  }, this.locales = i, this.resolvedLocale = e.resolveLocale(i), typeof t == "string") {
3440
3410
  if (this.message = t, !e.__parse)
3441
3411
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3442
- var s = r || {};
3412
+ var s = n || {};
3443
3413
  s.formatters;
3444
- var a = Kn(s, ["formatters"]);
3445
- this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
3414
+ var a = rn(s, ["formatters"]);
3415
+ this.ast = e.__parse(t, Y(Y({}, a), { locale: this.resolvedLocale }));
3446
3416
  } else
3447
3417
  this.ast = t;
3448
3418
  if (!Array.isArray(this.ast))
3449
3419
  throw new TypeError("A message must be provided as a String or AST.");
3450
- this.formats = Fr(e.formats, n), this.formatters = r && r.formatters || Gr(this.formatterCache);
3420
+ this.formats = Vn(e.formats, r), this.formatters = n && n.formatters || Xn(this.formatterCache);
3451
3421
  }
3452
3422
  return Object.defineProperty(e, "defaultLocale", {
3453
3423
  get: function() {
@@ -3460,7 +3430,7 @@ var zr = (
3460
3430
  var i = Intl.NumberFormat.supportedLocalesOf(t);
3461
3431
  return i.length > 0 ? new Intl.Locale(i[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3462
3432
  }
3463
- }, e.__parse = Cr, e.formats = {
3433
+ }, e.__parse = Un, e.formats = {
3464
3434
  number: {
3465
3435
  integer: {
3466
3436
  maximumFractionDigits: 0
@@ -3521,113 +3491,113 @@ var zr = (
3521
3491
  }, e;
3522
3492
  }()
3523
3493
  );
3524
- function Wr(e, t) {
3494
+ function Yn(e, t) {
3525
3495
  if (t == null)
3526
3496
  return;
3527
3497
  if (t in e)
3528
3498
  return e[t];
3529
3499
  const i = t.split(".");
3530
- let n = e;
3531
- for (let r = 0; r < i.length; r++)
3532
- if (typeof n == "object") {
3533
- if (r > 0) {
3534
- const o = i.slice(r, i.length).join(".");
3535
- if (o in n) {
3536
- n = n[o];
3500
+ let r = e;
3501
+ for (let n = 0; n < i.length; n++)
3502
+ if (typeof r == "object") {
3503
+ if (n > 0) {
3504
+ const o = i.slice(n, i.length).join(".");
3505
+ if (o in r) {
3506
+ r = r[o];
3537
3507
  break;
3538
3508
  }
3539
3509
  }
3540
- n = n[i[r]];
3510
+ r = r[i[n]];
3541
3511
  } else
3542
- n = void 0;
3543
- return n;
3512
+ r = void 0;
3513
+ return r;
3544
3514
  }
3545
- const ee = {}, Vr = (e, t, i) => i && (t in ee || (ee[t] = {}), e in ee[t] || (ee[t][e] = i), i), Ii = (e, t) => {
3515
+ const ee = {}, qn = (e, t, i) => i && (t in ee || (ee[t] = {}), e in ee[t] || (ee[t][e] = i), i), ki = (e, t) => {
3546
3516
  if (t == null)
3547
3517
  return;
3548
3518
  if (t in ee && e in ee[t])
3549
3519
  return ee[t][e];
3550
- const i = Ue(t);
3551
- for (let n = 0; n < i.length; n++) {
3552
- const r = i[n], o = Zr(r, e);
3520
+ const i = $e(t);
3521
+ for (let r = 0; r < i.length; r++) {
3522
+ const n = i[r], o = Qn(n, e);
3553
3523
  if (o)
3554
- return Vr(e, t, o);
3524
+ return qn(e, t, o);
3555
3525
  }
3556
3526
  };
3557
- let bt;
3558
- const Te = De({});
3559
- function Xr(e) {
3560
- return bt[e] || null;
3527
+ let _t;
3528
+ const xe = Re({});
3529
+ function Jn(e) {
3530
+ return _t[e] || null;
3561
3531
  }
3562
- function Hi(e) {
3563
- return e in bt;
3532
+ function Ci(e) {
3533
+ return e in _t;
3564
3534
  }
3565
- function Zr(e, t) {
3566
- if (!Hi(e))
3535
+ function Qn(e, t) {
3536
+ if (!Ci(e))
3567
3537
  return null;
3568
- const i = Xr(e);
3569
- return Wr(i, t);
3538
+ const i = Jn(e);
3539
+ return Yn(i, t);
3570
3540
  }
3571
- function Yr(e) {
3541
+ function Kn(e) {
3572
3542
  if (e == null)
3573
3543
  return;
3574
- const t = Ue(e);
3544
+ const t = $e(e);
3575
3545
  for (let i = 0; i < t.length; i++) {
3576
- const n = t[i];
3577
- if (Hi(n))
3578
- return n;
3546
+ const r = t[i];
3547
+ if (Ci(r))
3548
+ return r;
3579
3549
  }
3580
3550
  }
3581
- function Oi(e, ...t) {
3582
- delete ee[e], Te.update((i) => (i[e] = Qn.all([i[e] || {}, ...t]), i));
3551
+ function Di(e, ...t) {
3552
+ delete ee[e], xe.update((i) => (i[e] = tn.all([i[e] || {}, ...t]), i));
3583
3553
  }
3584
- me(
3585
- [Te],
3554
+ fe(
3555
+ [xe],
3586
3556
  ([e]) => Object.keys(e)
3587
3557
  );
3588
- Te.subscribe((e) => bt = e);
3558
+ xe.subscribe((e) => _t = e);
3589
3559
  const Ne = {};
3590
- function qr(e, t) {
3560
+ function eo(e, t) {
3591
3561
  Ne[e].delete(t), Ne[e].size === 0 && delete Ne[e];
3592
3562
  }
3593
- function Mi(e) {
3563
+ function Ri(e) {
3594
3564
  return Ne[e];
3595
3565
  }
3596
- function Jr(e) {
3597
- return Ue(e).map((t) => {
3598
- const i = Mi(t);
3566
+ function to(e) {
3567
+ return $e(e).map((t) => {
3568
+ const i = Ri(t);
3599
3569
  return [t, i ? [...i] : []];
3600
3570
  }).filter(([, t]) => t.length > 0);
3601
3571
  }
3602
- function ct(e) {
3603
- return e == null ? !1 : Ue(e).some(
3572
+ function ht(e) {
3573
+ return e == null ? !1 : $e(e).some(
3604
3574
  (t) => {
3605
3575
  var i;
3606
- return (i = Mi(t)) == null ? void 0 : i.size;
3576
+ return (i = Ri(t)) == null ? void 0 : i.size;
3607
3577
  }
3608
3578
  );
3609
3579
  }
3610
- function Qr(e, t) {
3580
+ function io(e, t) {
3611
3581
  return Promise.all(
3612
- t.map((n) => (qr(e, n), n().then((r) => r.default || r)))
3613
- ).then((n) => Oi(e, ...n));
3614
- }
3615
- const ge = {};
3616
- function ki(e) {
3617
- if (!ct(e))
3618
- return e in ge ? ge[e] : Promise.resolve();
3619
- const t = Jr(e);
3620
- return ge[e] = Promise.all(
3582
+ t.map((r) => (eo(e, r), r().then((n) => n.default || n)))
3583
+ ).then((r) => Di(e, ...r));
3584
+ }
3585
+ const be = {};
3586
+ function ji(e) {
3587
+ if (!ht(e))
3588
+ return e in be ? be[e] : Promise.resolve();
3589
+ const t = to(e);
3590
+ return be[e] = Promise.all(
3621
3591
  t.map(
3622
- ([i, n]) => Qr(i, n)
3592
+ ([i, r]) => io(i, r)
3623
3593
  )
3624
3594
  ).then(() => {
3625
- if (ct(e))
3626
- return ki(e);
3627
- delete ge[e];
3628
- }), ge[e];
3595
+ if (ht(e))
3596
+ return ji(e);
3597
+ delete be[e];
3598
+ }), be[e];
3629
3599
  }
3630
- const Kr = {
3600
+ const ro = {
3631
3601
  number: {
3632
3602
  scientific: { notation: "scientific" },
3633
3603
  engineering: { notation: "engineering" },
@@ -3656,150 +3626,150 @@ const Kr = {
3656
3626
  timeZoneName: "short"
3657
3627
  }
3658
3628
  }
3659
- }, eo = {
3629
+ }, no = {
3660
3630
  fallbackLocale: null,
3661
3631
  loadingDelay: 200,
3662
- formats: Kr,
3632
+ formats: ro,
3663
3633
  warnOnMissingMessages: !0,
3664
3634
  handleMissingMessage: void 0,
3665
3635
  ignoreTag: !0
3666
- }, to = eo;
3667
- function fe() {
3668
- return to;
3669
- }
3670
- const Qe = De(!1);
3671
- var io = Object.defineProperty, no = Object.defineProperties, ro = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, oo = Object.prototype.hasOwnProperty, so = Object.prototype.propertyIsEnumerable, Ut = (e, t, i) => t in e ? io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, ao = (e, t) => {
3672
- for (var i in t)
3673
- oo.call(t, i) && Ut(e, i, t[i]);
3674
- if (Rt)
3675
- for (var i of Rt(t))
3676
- so.call(t, i) && Ut(e, i, t[i]);
3636
+ }, oo = no;
3637
+ function he() {
3638
+ return oo;
3639
+ }
3640
+ const tt = Re(!1);
3641
+ var so = Object.defineProperty, ao = Object.defineProperties, uo = Object.getOwnPropertyDescriptors, Ft = Object.getOwnPropertySymbols, lo = Object.prototype.hasOwnProperty, co = Object.prototype.propertyIsEnumerable, Gt = (e, t, i) => t in e ? so(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, ho = (e, t) => {
3642
+ for (var i in t || (t = {}))
3643
+ lo.call(t, i) && Gt(e, i, t[i]);
3644
+ if (Ft)
3645
+ for (var i of Ft(t))
3646
+ co.call(t, i) && Gt(e, i, t[i]);
3677
3647
  return e;
3678
- }, uo = (e, t) => no(e, ro(t));
3679
- let ht;
3680
- const Me = De(null);
3681
- function jt(e) {
3682
- return e.split("-").map((t, i, n) => n.slice(0, i + 1).join("-")).reverse();
3648
+ }, fo = (e, t) => ao(e, uo(t));
3649
+ let ft;
3650
+ const ke = Re(null);
3651
+ function zt(e) {
3652
+ return e.split("-").map((t, i, r) => r.slice(0, i + 1).join("-")).reverse();
3683
3653
  }
3684
- function Ue(e, t = fe().fallbackLocale) {
3685
- const i = jt(e);
3686
- return t ? [.../* @__PURE__ */ new Set([...i, ...jt(t)])] : i;
3654
+ function $e(e, t = he().fallbackLocale) {
3655
+ const i = zt(e);
3656
+ return t ? [.../* @__PURE__ */ new Set([...i, ...zt(t)])] : i;
3687
3657
  }
3688
- function ne() {
3689
- return ht != null ? ht : void 0;
3658
+ function re() {
3659
+ return ft != null ? ft : void 0;
3690
3660
  }
3691
- Me.subscribe((e) => {
3692
- ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3661
+ ke.subscribe((e) => {
3662
+ ft = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3693
3663
  });
3694
- const lo = (e) => {
3695
- if (e && Yr(e) && ct(e)) {
3696
- const { loadingDelay: t } = fe();
3664
+ const mo = (e) => {
3665
+ if (e && Kn(e) && ht(e)) {
3666
+ const { loadingDelay: t } = he();
3697
3667
  let i;
3698
- return typeof window != "undefined" && ne() != null && t ? i = window.setTimeout(
3699
- () => Qe.set(!0),
3668
+ return typeof window != "undefined" && re() != null && t ? i = window.setTimeout(
3669
+ () => tt.set(!0),
3700
3670
  t
3701
- ) : Qe.set(!0), ki(e).then(() => {
3702
- Me.set(e);
3671
+ ) : tt.set(!0), ji(e).then(() => {
3672
+ ke.set(e);
3703
3673
  }).finally(() => {
3704
- clearTimeout(i), Qe.set(!1);
3674
+ clearTimeout(i), tt.set(!1);
3705
3675
  });
3706
3676
  }
3707
- return Me.set(e);
3708
- }, pe = uo(ao({}, Me), {
3709
- set: lo
3710
- }), je = (e) => {
3677
+ return ke.set(e);
3678
+ }, me = fo(ho({}, ke), {
3679
+ set: mo
3680
+ }), Fe = (e) => {
3711
3681
  const t = /* @__PURE__ */ Object.create(null);
3712
- return (n) => {
3713
- const r = JSON.stringify(n);
3714
- return r in t ? t[r] : t[r] = e(n);
3682
+ return (r) => {
3683
+ const n = JSON.stringify(r);
3684
+ return n in t ? t[n] : t[n] = e(r);
3715
3685
  };
3716
3686
  };
3717
- var co = Object.defineProperty, ke = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Di = Object.prototype.propertyIsEnumerable, $t = (e, t, i) => t in e ? co(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, gt = (e, t) => {
3687
+ var po = Object.defineProperty, Ce = Object.getOwnPropertySymbols, Ui = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, Wt = (e, t, i) => t in e ? po(e, t, { enumerable: !0, configurable: !0, writable: !0, value: i }) : e[t] = i, Et = (e, t) => {
3718
3688
  for (var i in t || (t = {}))
3719
- Ci.call(t, i) && $t(e, i, t[i]);
3720
- if (ke)
3721
- for (var i of ke(t))
3722
- Di.call(t, i) && $t(e, i, t[i]);
3689
+ Ui.call(t, i) && Wt(e, i, t[i]);
3690
+ if (Ce)
3691
+ for (var i of Ce(t))
3692
+ $i.call(t, i) && Wt(e, i, t[i]);
3723
3693
  return e;
3724
- }, de = (e, t) => {
3694
+ }, pe = (e, t) => {
3725
3695
  var i = {};
3726
- for (var n in e)
3727
- Ci.call(e, n) && t.indexOf(n) < 0 && (i[n] = e[n]);
3728
- if (e != null && ke)
3729
- for (var n of ke(e))
3730
- t.indexOf(n) < 0 && Di.call(e, n) && (i[n] = e[n]);
3696
+ for (var r in e)
3697
+ Ui.call(e, r) && t.indexOf(r) < 0 && (i[r] = e[r]);
3698
+ if (e != null && Ce)
3699
+ for (var r of Ce(e))
3700
+ t.indexOf(r) < 0 && $i.call(e, r) && (i[r] = e[r]);
3731
3701
  return i;
3732
3702
  };
3733
- const xe = (e, t) => {
3734
- const { formats: i } = fe();
3703
+ const Le = (e, t) => {
3704
+ const { formats: i } = he();
3735
3705
  if (e in i && t in i[e])
3736
3706
  return i[e][t];
3737
3707
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3738
- }, ho = je(
3708
+ }, bo = Fe(
3739
3709
  (e) => {
3740
- var t = e, { locale: i, format: n } = t, r = de(t, ["locale", "format"]);
3710
+ var t = e, { locale: i, format: r } = t, n = pe(t, ["locale", "format"]);
3741
3711
  if (i == null)
3742
3712
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3743
- return n && (r = xe("number", n)), new Intl.NumberFormat(i, r);
3713
+ return r && (n = Le("number", r)), new Intl.NumberFormat(i, n);
3744
3714
  }
3745
- ), fo = je(
3715
+ ), go = Fe(
3746
3716
  (e) => {
3747
- var t = e, { locale: i, format: n } = t, r = de(t, ["locale", "format"]);
3717
+ var t = e, { locale: i, format: r } = t, n = pe(t, ["locale", "format"]);
3748
3718
  if (i == null)
3749
3719
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3750
- return n ? r = xe("date", n) : Object.keys(r).length === 0 && (r = xe("date", "short")), new Intl.DateTimeFormat(i, r);
3720
+ return r ? n = Le("date", r) : Object.keys(n).length === 0 && (n = Le("date", "short")), new Intl.DateTimeFormat(i, n);
3751
3721
  }
3752
- ), mo = je(
3722
+ ), yo = Fe(
3753
3723
  (e) => {
3754
- var t = e, { locale: i, format: n } = t, r = de(t, ["locale", "format"]);
3724
+ var t = e, { locale: i, format: r } = t, n = pe(t, ["locale", "format"]);
3755
3725
  if (i == null)
3756
3726
  throw new Error(
3757
3727
  '[svelte-i18n] A "locale" must be set to format time values'
3758
3728
  );
3759
- return n ? r = xe("time", n) : Object.keys(r).length === 0 && (r = xe("time", "short")), new Intl.DateTimeFormat(i, r);
3729
+ return r ? n = Le("time", r) : Object.keys(n).length === 0 && (n = Le("time", "short")), new Intl.DateTimeFormat(i, n);
3760
3730
  }
3761
- ), po = (e = {}) => {
3731
+ ), vo = (e = {}) => {
3762
3732
  var t = e, {
3763
- locale: i = ne()
3764
- } = t, n = de(t, [
3733
+ locale: i = re()
3734
+ } = t, r = pe(t, [
3765
3735
  "locale"
3766
3736
  ]);
3767
- return ho(gt({ locale: i }, n));
3768
- }, bo = (e = {}) => {
3737
+ return bo(Et({ locale: i }, r));
3738
+ }, _o = (e = {}) => {
3769
3739
  var t = e, {
3770
- locale: i = ne()
3771
- } = t, n = de(t, [
3740
+ locale: i = re()
3741
+ } = t, r = pe(t, [
3772
3742
  "locale"
3773
3743
  ]);
3774
- return fo(gt({ locale: i }, n));
3775
- }, go = (e = {}) => {
3744
+ return go(Et({ locale: i }, r));
3745
+ }, Eo = (e = {}) => {
3776
3746
  var t = e, {
3777
- locale: i = ne()
3778
- } = t, n = de(t, [
3747
+ locale: i = re()
3748
+ } = t, r = pe(t, [
3779
3749
  "locale"
3780
3750
  ]);
3781
- return mo(gt({ locale: i }, n));
3782
- }, yo = je(
3751
+ return yo(Et({ locale: i }, r));
3752
+ }, Lo = Fe(
3783
3753
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3784
- (e, t = ne()) => new zr(e, t, fe().formats, {
3785
- ignoreTag: fe().ignoreTag
3754
+ (e, t = re()) => new Zn(e, t, he().formats, {
3755
+ ignoreTag: he().ignoreTag
3786
3756
  })
3787
- ), vo = (e, t = {}) => {
3788
- var i, n, r, o;
3757
+ ), xo = (e, t = {}) => {
3758
+ var i, r, n, o;
3789
3759
  let s = t;
3790
3760
  typeof e == "object" && (s = e, e = s.id);
3791
3761
  const {
3792
3762
  values: a,
3793
- locale: c = ne(),
3763
+ locale: c = re(),
3794
3764
  default: u
3795
3765
  } = s;
3796
3766
  if (c == null)
3797
3767
  throw new Error(
3798
3768
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3799
3769
  );
3800
- let l = Ii(e, c);
3770
+ let l = ki(e, c);
3801
3771
  if (!l)
3802
- l = (o = (r = (n = (i = fe()).handleMissingMessage) == null ? void 0 : n.call(i, { locale: c, id: e, defaultValue: u })) != null ? r : u) != null ? o : e;
3772
+ l = (o = (n = (r = (i = he()).handleMissingMessage) == null ? void 0 : r.call(i, { locale: c, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
3803
3773
  else if (typeof l != "string")
3804
3774
  return console.warn(
3805
3775
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3808,7 +3778,7 @@ const xe = (e, t) => {
3808
3778
  return l;
3809
3779
  let h = l;
3810
3780
  try {
3811
- h = yo(l, c).format(a);
3781
+ h = Lo(l, c).format(a);
3812
3782
  } catch (m) {
3813
3783
  m instanceof Error && console.warn(
3814
3784
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3816,18 +3786,18 @@ const xe = (e, t) => {
3816
3786
  );
3817
3787
  }
3818
3788
  return h;
3819
- }, _o = (e, t) => go(t).format(e), Eo = (e, t) => bo(t).format(e), Lo = (e, t) => po(t).format(e), xo = (e, t = ne()) => Ii(e, t), To = me([pe, Te], () => vo);
3820
- me([pe], () => _o);
3821
- me([pe], () => Eo);
3822
- me([pe], () => Lo);
3823
- me([pe, Te], () => xo);
3824
- function Ft(e, t) {
3825
- Oi(e, t);
3826
- }
3827
- function wo(e) {
3828
- pe.set(e);
3829
- }
3830
- const Gt = {
3789
+ }, To = (e, t) => Eo(t).format(e), wo = (e, t) => _o(t).format(e), So = (e, t) => vo(t).format(e), Po = (e, t = re()) => ki(e, t), Ao = fe([me, xe], () => xo);
3790
+ fe([me], () => To);
3791
+ fe([me], () => wo);
3792
+ fe([me], () => So);
3793
+ fe([me, xe], () => Po);
3794
+ function Vt(e, t) {
3795
+ Di(e, t);
3796
+ }
3797
+ function Bo(e) {
3798
+ me.set(e);
3799
+ }
3800
+ const Xt = {
3831
3801
  en: {
3832
3802
  loadingText: "Loading, please wait...",
3833
3803
  Monthly: "per month",
@@ -4280,43 +4250,112 @@ const Gt = {
4280
4250
  closeButton: "CLOSE"
4281
4251
  }
4282
4252
  };
4283
- function J(e) {
4253
+ /*! *****************************************************************************
4254
+ Copyright (c) Microsoft Corporation.
4255
+
4256
+ Permission to use, copy, modify, and/or distribute this software for any
4257
+ purpose with or without fee is hereby granted.
4258
+
4259
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
4260
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
4261
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
4262
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
4263
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
4264
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
4265
+ PERFORMANCE OF THIS SOFTWARE.
4266
+ ***************************************************************************** */
4267
+ var mt = function(e, t) {
4268
+ return mt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(i, r) {
4269
+ i.__proto__ = r;
4270
+ } || function(i, r) {
4271
+ for (var n in r)
4272
+ Object.prototype.hasOwnProperty.call(r, n) && (i[n] = r[n]);
4273
+ }, mt(e, t);
4274
+ };
4275
+ function Te(e, t) {
4276
+ if (typeof t != "function" && t !== null)
4277
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
4278
+ mt(e, t);
4279
+ function i() {
4280
+ this.constructor = e;
4281
+ }
4282
+ e.prototype = t === null ? Object.create(t) : (i.prototype = t.prototype, new i());
4283
+ }
4284
+ function pt(e) {
4285
+ var t = typeof Symbol == "function" && Symbol.iterator, i = t && e[t], r = 0;
4286
+ if (i)
4287
+ return i.call(e);
4288
+ if (e && typeof e.length == "number")
4289
+ return {
4290
+ next: function() {
4291
+ return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
4292
+ }
4293
+ };
4294
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
4295
+ }
4296
+ function dt(e, t) {
4297
+ var i = typeof Symbol == "function" && e[Symbol.iterator];
4298
+ if (!i)
4299
+ return e;
4300
+ var r = i.call(e), n, o = [], s;
4301
+ try {
4302
+ for (; (t === void 0 || t-- > 0) && !(n = r.next()).done; )
4303
+ o.push(n.value);
4304
+ } catch (a) {
4305
+ s = { error: a };
4306
+ } finally {
4307
+ try {
4308
+ n && !n.done && (i = r.return) && i.call(r);
4309
+ } finally {
4310
+ if (s)
4311
+ throw s.error;
4312
+ }
4313
+ }
4314
+ return o;
4315
+ }
4316
+ function bt(e, t, i) {
4317
+ if (arguments.length === 2)
4318
+ for (var r = 0, n = t.length, o; r < n; r++)
4319
+ (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
4320
+ return e.concat(o || t);
4321
+ }
4322
+ function Q(e) {
4284
4323
  return typeof e == "function";
4285
4324
  }
4286
- function Ri(e) {
4287
- var t = function(n) {
4288
- Error.call(n), n.stack = new Error().stack;
4325
+ function Fi(e) {
4326
+ var t = function(r) {
4327
+ Error.call(r), r.stack = new Error().stack;
4289
4328
  }, i = e(t);
4290
4329
  return i.prototype = Object.create(Error.prototype), i.prototype.constructor = i, i;
4291
4330
  }
4292
- var Ke = Ri(function(e) {
4331
+ var it = Fi(function(e) {
4293
4332
  return function(i) {
4294
4333
  e(this), this.message = i ? i.length + ` errors occurred during unsubscription:
4295
- ` + i.map(function(n, r) {
4296
- return r + 1 + ") " + n.toString();
4334
+ ` + i.map(function(r, n) {
4335
+ return n + 1 + ") " + r.toString();
4297
4336
  }).join(`
4298
4337
  `) : "", this.name = "UnsubscriptionError", this.errors = i;
4299
4338
  };
4300
4339
  });
4301
- function ft(e, t) {
4340
+ function gt(e, t) {
4302
4341
  if (e) {
4303
4342
  var i = e.indexOf(t);
4304
4343
  0 <= i && e.splice(i, 1);
4305
4344
  }
4306
4345
  }
4307
- var $e = function() {
4346
+ var Ge = function() {
4308
4347
  function e(t) {
4309
4348
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
4310
4349
  }
4311
4350
  return e.prototype.unsubscribe = function() {
4312
- var t, i, n, r, o;
4351
+ var t, i, r, n, o;
4313
4352
  if (!this.closed) {
4314
4353
  this.closed = !0;
4315
4354
  var s = this._parentage;
4316
4355
  if (s)
4317
4356
  if (this._parentage = null, Array.isArray(s))
4318
4357
  try {
4319
- for (var a = it(s), c = a.next(); !c.done; c = a.next()) {
4358
+ for (var a = pt(s), c = a.next(); !c.done; c = a.next()) {
4320
4359
  var u = c.value;
4321
4360
  u.remove(this);
4322
4361
  }
@@ -4333,43 +4372,43 @@ var $e = function() {
4333
4372
  else
4334
4373
  s.remove(this);
4335
4374
  var l = this.initialTeardown;
4336
- if (J(l))
4375
+ if (Q(l))
4337
4376
  try {
4338
4377
  l();
4339
4378
  } catch (_) {
4340
- o = _ instanceof Ke ? _.errors : [_];
4379
+ o = _ instanceof it ? _.errors : [_];
4341
4380
  }
4342
4381
  var h = this._finalizers;
4343
4382
  if (h) {
4344
4383
  this._finalizers = null;
4345
4384
  try {
4346
- for (var m = it(h), f = m.next(); !f.done; f = m.next()) {
4385
+ for (var m = pt(h), f = m.next(); !f.done; f = m.next()) {
4347
4386
  var p = f.value;
4348
4387
  try {
4349
- zt(p);
4388
+ Zt(p);
4350
4389
  } catch (_) {
4351
- o = o != null ? o : [], _ instanceof Ke ? o = ue(ue([], nt(o)), nt(_.errors)) : o.push(_);
4390
+ o = o != null ? o : [], _ instanceof it ? o = bt(bt([], dt(o)), dt(_.errors)) : o.push(_);
4352
4391
  }
4353
4392
  }
4354
4393
  } catch (_) {
4355
- n = { error: _ };
4394
+ r = { error: _ };
4356
4395
  } finally {
4357
4396
  try {
4358
- f && !f.done && (r = m.return) && r.call(m);
4397
+ f && !f.done && (n = m.return) && n.call(m);
4359
4398
  } finally {
4360
- if (n)
4361
- throw n.error;
4399
+ if (r)
4400
+ throw r.error;
4362
4401
  }
4363
4402
  }
4364
4403
  }
4365
4404
  if (o)
4366
- throw new Ke(o);
4405
+ throw new it(o);
4367
4406
  }
4368
4407
  }, e.prototype.add = function(t) {
4369
4408
  var i;
4370
4409
  if (t && t !== this)
4371
4410
  if (this.closed)
4372
- zt(t);
4411
+ Zt(t);
4373
4412
  else {
4374
4413
  if (t instanceof e) {
4375
4414
  if (t.closed || t._hasParent(this))
@@ -4386,56 +4425,52 @@ var $e = function() {
4386
4425
  this._parentage = Array.isArray(i) ? (i.push(t), i) : i ? [i, t] : t;
4387
4426
  }, e.prototype._removeParent = function(t) {
4388
4427
  var i = this._parentage;
4389
- i === t ? this._parentage = null : Array.isArray(i) && ft(i, t);
4428
+ i === t ? this._parentage = null : Array.isArray(i) && gt(i, t);
4390
4429
  }, e.prototype.remove = function(t) {
4391
4430
  var i = this._finalizers;
4392
- i && ft(i, t), t instanceof e && t._removeParent(this);
4431
+ i && gt(i, t), t instanceof e && t._removeParent(this);
4393
4432
  }, e.EMPTY = function() {
4394
4433
  var t = new e();
4395
4434
  return t.closed = !0, t;
4396
4435
  }(), e;
4397
- }(), Ui = $e.EMPTY;
4398
- function ji(e) {
4399
- return e instanceof $e || e && "closed" in e && J(e.remove) && J(e.add) && J(e.unsubscribe);
4436
+ }(), Gi = Ge.EMPTY;
4437
+ function zi(e) {
4438
+ return e instanceof Ge || e && "closed" in e && Q(e.remove) && Q(e.add) && Q(e.unsubscribe);
4400
4439
  }
4401
- function zt(e) {
4402
- J(e) ? e() : e.unsubscribe();
4403
- }
4404
- var So = {
4405
- onUnhandledError: null,
4406
- onStoppedNotification: null,
4407
- Promise: void 0,
4408
- useDeprecatedSynchronousErrorHandling: !1,
4409
- useDeprecatedNextContext: !1
4410
- }, Po = {
4440
+ function Zt(e) {
4441
+ Q(e) ? e() : e.unsubscribe();
4442
+ }
4443
+ var No = {
4444
+ Promise: void 0
4445
+ }, Oo = {
4411
4446
  setTimeout: function(e, t) {
4412
- for (var i = [], n = 2; n < arguments.length; n++)
4413
- i[n - 2] = arguments[n];
4414
- return setTimeout.apply(void 0, ue([e, t], nt(i)));
4447
+ for (var i = [], r = 2; r < arguments.length; r++)
4448
+ i[r - 2] = arguments[r];
4449
+ return setTimeout.apply(void 0, bt([e, t], dt(i)));
4415
4450
  },
4416
4451
  clearTimeout: function(e) {
4417
4452
  return clearTimeout(e);
4418
4453
  },
4419
4454
  delegate: void 0
4420
4455
  };
4421
- function Ao(e) {
4422
- Po.setTimeout(function() {
4456
+ function Io(e) {
4457
+ Oo.setTimeout(function() {
4423
4458
  throw e;
4424
4459
  });
4425
4460
  }
4426
- function Wt() {
4461
+ function Yt() {
4427
4462
  }
4428
- function Ie(e) {
4463
+ function Oe(e) {
4429
4464
  e();
4430
4465
  }
4431
- var $i = function(e) {
4432
- Q(t, e);
4466
+ var Wi = function(e) {
4467
+ Te(t, e);
4433
4468
  function t(i) {
4434
- var n = e.call(this) || this;
4435
- return n.isStopped = !1, i ? (n.destination = i, ji(i) && i.add(n)) : n.destination = Io, n;
4469
+ var r = e.call(this) || this;
4470
+ return r.isStopped = !1, i ? (r.destination = i, zi(i) && i.add(r)) : r.destination = ko, r;
4436
4471
  }
4437
- return t.create = function(i, n, r) {
4438
- return new mt(i, n, r);
4472
+ return t.create = function(i, r, n) {
4473
+ return new yt(i, r, n);
4439
4474
  }, t.prototype.next = function(i) {
4440
4475
  this.isStopped || this._next(i);
4441
4476
  }, t.prototype.error = function(i) {
@@ -4459,7 +4494,7 @@ var $i = function(e) {
4459
4494
  this.unsubscribe();
4460
4495
  }
4461
4496
  }, t;
4462
- }($e), Bo = function() {
4497
+ }(Ge), Ho = function() {
4463
4498
  function e(t) {
4464
4499
  this.partialObserver = t;
4465
4500
  }
@@ -4468,16 +4503,16 @@ var $i = function(e) {
4468
4503
  if (i.next)
4469
4504
  try {
4470
4505
  i.next(t);
4471
- } catch (n) {
4472
- Pe(n);
4506
+ } catch (r) {
4507
+ Pe(r);
4473
4508
  }
4474
4509
  }, e.prototype.error = function(t) {
4475
4510
  var i = this.partialObserver;
4476
4511
  if (i.error)
4477
4512
  try {
4478
4513
  i.error(t);
4479
- } catch (n) {
4480
- Pe(n);
4514
+ } catch (r) {
4515
+ Pe(r);
4481
4516
  }
4482
4517
  else
4483
4518
  Pe(t);
@@ -4490,54 +4525,54 @@ var $i = function(e) {
4490
4525
  Pe(i);
4491
4526
  }
4492
4527
  }, e;
4493
- }(), mt = function(e) {
4494
- Q(t, e);
4495
- function t(i, n, r) {
4528
+ }(), yt = function(e) {
4529
+ Te(t, e);
4530
+ function t(i, r, n) {
4496
4531
  var o = e.call(this) || this, s;
4497
- return J(i) || !i ? s = {
4532
+ return Q(i) || !i ? s = {
4498
4533
  next: i != null ? i : void 0,
4499
- error: n != null ? n : void 0,
4500
- complete: r != null ? r : void 0
4501
- } : s = i, o.destination = new Bo(s), o;
4534
+ error: r != null ? r : void 0,
4535
+ complete: n != null ? n : void 0
4536
+ } : s = i, o.destination = new Ho(s), o;
4502
4537
  }
4503
4538
  return t;
4504
- }($i);
4539
+ }(Wi);
4505
4540
  function Pe(e) {
4506
- Ao(e);
4541
+ Io(e);
4507
4542
  }
4508
- function No(e) {
4543
+ function Mo(e) {
4509
4544
  throw e;
4510
4545
  }
4511
- var Io = {
4546
+ var ko = {
4512
4547
  closed: !0,
4513
- next: Wt,
4514
- error: No,
4515
- complete: Wt
4516
- }, Ho = function() {
4548
+ next: Yt,
4549
+ error: Mo,
4550
+ complete: Yt
4551
+ }, Co = function() {
4517
4552
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4518
4553
  }();
4519
- function Oo(e) {
4554
+ function Do(e) {
4520
4555
  return e;
4521
4556
  }
4522
- function Mo(e) {
4523
- return e.length === 0 ? Oo : e.length === 1 ? e[0] : function(i) {
4524
- return e.reduce(function(n, r) {
4525
- return r(n);
4557
+ function Ro(e) {
4558
+ return e.length === 0 ? Do : e.length === 1 ? e[0] : function(i) {
4559
+ return e.reduce(function(r, n) {
4560
+ return n(r);
4526
4561
  }, i);
4527
4562
  };
4528
4563
  }
4529
- var Vt = function() {
4564
+ var qt = function() {
4530
4565
  function e(t) {
4531
4566
  t && (this._subscribe = t);
4532
4567
  }
4533
4568
  return e.prototype.lift = function(t) {
4534
4569
  var i = new e();
4535
4570
  return i.source = this, i.operator = t, i;
4536
- }, e.prototype.subscribe = function(t, i, n) {
4537
- var r = this, o = Co(t) ? t : new mt(t, i, n);
4538
- return Ie(function() {
4539
- var s = r, a = s.operator, c = s.source;
4540
- o.add(a ? a.call(o, c) : c ? r._subscribe(o) : r._trySubscribe(o));
4571
+ }, e.prototype.subscribe = function(t, i, r) {
4572
+ var n = this, o = Uo(t) ? t : new yt(t, i, r);
4573
+ return Oe(function() {
4574
+ var s = n, a = s.operator, c = s.source;
4575
+ o.add(a ? a.call(o, c) : c ? n._subscribe(o) : n._trySubscribe(o));
4541
4576
  }), o;
4542
4577
  }, e.prototype._trySubscribe = function(t) {
4543
4578
  try {
@@ -4546,9 +4581,9 @@ var Vt = function() {
4546
4581
  t.error(i);
4547
4582
  }
4548
4583
  }, e.prototype.forEach = function(t, i) {
4549
- var n = this;
4550
- return i = Xt(i), new i(function(r, o) {
4551
- var s = new mt({
4584
+ var r = this;
4585
+ return i = Jt(i), new i(function(n, o) {
4586
+ var s = new yt({
4552
4587
  next: function(a) {
4553
4588
  try {
4554
4589
  t(a);
@@ -4557,100 +4592,100 @@ var Vt = function() {
4557
4592
  }
4558
4593
  },
4559
4594
  error: o,
4560
- complete: r
4595
+ complete: n
4561
4596
  });
4562
- n.subscribe(s);
4597
+ r.subscribe(s);
4563
4598
  });
4564
4599
  }, e.prototype._subscribe = function(t) {
4565
4600
  var i;
4566
4601
  return (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(t);
4567
- }, e.prototype[Ho] = function() {
4602
+ }, e.prototype[Co] = function() {
4568
4603
  return this;
4569
4604
  }, e.prototype.pipe = function() {
4570
4605
  for (var t = [], i = 0; i < arguments.length; i++)
4571
4606
  t[i] = arguments[i];
4572
- return Mo(t)(this);
4607
+ return Ro(t)(this);
4573
4608
  }, e.prototype.toPromise = function(t) {
4574
4609
  var i = this;
4575
- return t = Xt(t), new t(function(n, r) {
4610
+ return t = Jt(t), new t(function(r, n) {
4576
4611
  var o;
4577
4612
  i.subscribe(function(s) {
4578
4613
  return o = s;
4579
4614
  }, function(s) {
4580
- return r(s);
4615
+ return n(s);
4581
4616
  }, function() {
4582
- return n(o);
4617
+ return r(o);
4583
4618
  });
4584
4619
  });
4585
4620
  }, e.create = function(t) {
4586
4621
  return new e(t);
4587
4622
  }, e;
4588
4623
  }();
4589
- function Xt(e) {
4624
+ function Jt(e) {
4590
4625
  var t;
4591
- return (t = e != null ? e : So.Promise) !== null && t !== void 0 ? t : Promise;
4626
+ return (t = e != null ? e : No.Promise) !== null && t !== void 0 ? t : Promise;
4592
4627
  }
4593
- function ko(e) {
4594
- return e && J(e.next) && J(e.error) && J(e.complete);
4628
+ function jo(e) {
4629
+ return e && Q(e.next) && Q(e.error) && Q(e.complete);
4595
4630
  }
4596
- function Co(e) {
4597
- return e && e instanceof $i || ko(e) && ji(e);
4631
+ function Uo(e) {
4632
+ return e && e instanceof Wi || jo(e) && zi(e);
4598
4633
  }
4599
- var Do = Ri(function(e) {
4634
+ var $o = Fi(function(e) {
4600
4635
  return function() {
4601
4636
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4602
4637
  };
4603
- }), Fi = function(e) {
4604
- Q(t, e);
4638
+ }), Vi = function(e) {
4639
+ Te(t, e);
4605
4640
  function t() {
4606
4641
  var i = e.call(this) || this;
4607
4642
  return i.closed = !1, i.currentObservers = null, i.observers = [], i.isStopped = !1, i.hasError = !1, i.thrownError = null, i;
4608
4643
  }
4609
4644
  return t.prototype.lift = function(i) {
4610
- var n = new Zt(this, this);
4611
- return n.operator = i, n;
4645
+ var r = new Qt(this, this);
4646
+ return r.operator = i, r;
4612
4647
  }, t.prototype._throwIfClosed = function() {
4613
4648
  if (this.closed)
4614
- throw new Do();
4649
+ throw new $o();
4615
4650
  }, t.prototype.next = function(i) {
4616
- var n = this;
4617
- Ie(function() {
4618
- var r, o;
4619
- if (n._throwIfClosed(), !n.isStopped) {
4620
- n.currentObservers || (n.currentObservers = Array.from(n.observers));
4651
+ var r = this;
4652
+ Oe(function() {
4653
+ var n, o;
4654
+ if (r._throwIfClosed(), !r.isStopped) {
4655
+ r.currentObservers || (r.currentObservers = Array.from(r.observers));
4621
4656
  try {
4622
- for (var s = it(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4657
+ for (var s = pt(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
4623
4658
  var c = a.value;
4624
4659
  c.next(i);
4625
4660
  }
4626
4661
  } catch (u) {
4627
- r = { error: u };
4662
+ n = { error: u };
4628
4663
  } finally {
4629
4664
  try {
4630
4665
  a && !a.done && (o = s.return) && o.call(s);
4631
4666
  } finally {
4632
- if (r)
4633
- throw r.error;
4667
+ if (n)
4668
+ throw n.error;
4634
4669
  }
4635
4670
  }
4636
4671
  }
4637
4672
  });
4638
4673
  }, t.prototype.error = function(i) {
4639
- var n = this;
4640
- Ie(function() {
4641
- if (n._throwIfClosed(), !n.isStopped) {
4642
- n.hasError = n.isStopped = !0, n.thrownError = i;
4643
- for (var r = n.observers; r.length; )
4644
- r.shift().error(i);
4674
+ var r = this;
4675
+ Oe(function() {
4676
+ if (r._throwIfClosed(), !r.isStopped) {
4677
+ r.hasError = r.isStopped = !0, r.thrownError = i;
4678
+ for (var n = r.observers; n.length; )
4679
+ n.shift().error(i);
4645
4680
  }
4646
4681
  });
4647
4682
  }, t.prototype.complete = function() {
4648
4683
  var i = this;
4649
- Ie(function() {
4684
+ Oe(function() {
4650
4685
  if (i._throwIfClosed(), !i.isStopped) {
4651
4686
  i.isStopped = !0;
4652
- for (var n = i.observers; n.length; )
4653
- n.shift().complete();
4687
+ for (var r = i.observers; r.length; )
4688
+ r.shift().complete();
4654
4689
  }
4655
4690
  });
4656
4691
  }, t.prototype.unsubscribe = function() {
@@ -4667,165 +4702,165 @@ var Do = Ri(function(e) {
4667
4702
  }, t.prototype._subscribe = function(i) {
4668
4703
  return this._throwIfClosed(), this._checkFinalizedStatuses(i), this._innerSubscribe(i);
4669
4704
  }, t.prototype._innerSubscribe = function(i) {
4670
- var n = this, r = this, o = r.hasError, s = r.isStopped, a = r.observers;
4671
- return o || s ? Ui : (this.currentObservers = null, a.push(i), new $e(function() {
4672
- n.currentObservers = null, ft(a, i);
4705
+ var r = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
4706
+ return o || s ? Gi : (this.currentObservers = null, a.push(i), new Ge(function() {
4707
+ r.currentObservers = null, gt(a, i);
4673
4708
  }));
4674
4709
  }, t.prototype._checkFinalizedStatuses = function(i) {
4675
- var n = this, r = n.hasError, o = n.thrownError, s = n.isStopped;
4676
- r ? i.error(o) : s && i.complete();
4710
+ var r = this, n = r.hasError, o = r.thrownError, s = r.isStopped;
4711
+ n ? i.error(o) : s && i.complete();
4677
4712
  }, t.prototype.asObservable = function() {
4678
- var i = new Vt();
4713
+ var i = new qt();
4679
4714
  return i.source = this, i;
4680
- }, t.create = function(i, n) {
4681
- return new Zt(i, n);
4715
+ }, t.create = function(i, r) {
4716
+ return new Qt(i, r);
4682
4717
  }, t;
4683
- }(Vt), Zt = function(e) {
4684
- Q(t, e);
4685
- function t(i, n) {
4686
- var r = e.call(this) || this;
4687
- return r.destination = i, r.source = n, r;
4718
+ }(qt), Qt = function(e) {
4719
+ Te(t, e);
4720
+ function t(i, r) {
4721
+ var n = e.call(this) || this;
4722
+ return n.destination = i, n.source = r, n;
4688
4723
  }
4689
4724
  return t.prototype.next = function(i) {
4690
- var n, r;
4691
- (r = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || r === void 0 || r.call(n, i);
4725
+ var r, n;
4726
+ (n = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || n === void 0 || n.call(r, i);
4692
4727
  }, t.prototype.error = function(i) {
4693
- var n, r;
4694
- (r = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || r === void 0 || r.call(n, i);
4728
+ var r, n;
4729
+ (n = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || n === void 0 || n.call(r, i);
4695
4730
  }, t.prototype.complete = function() {
4696
- var i, n;
4697
- (n = (i = this.destination) === null || i === void 0 ? void 0 : i.complete) === null || n === void 0 || n.call(i);
4731
+ var i, r;
4732
+ (r = (i = this.destination) === null || i === void 0 ? void 0 : i.complete) === null || r === void 0 || r.call(i);
4698
4733
  }, t.prototype._subscribe = function(i) {
4699
- var n, r;
4700
- return (r = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(i)) !== null && r !== void 0 ? r : Ui;
4734
+ var r, n;
4735
+ return (n = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(i)) !== null && n !== void 0 ? n : Gi;
4701
4736
  }, t;
4702
- }(Fi), Gi = {
4737
+ }(Vi), Xi = {
4703
4738
  now: function() {
4704
- return (Gi.delegate || Date).now();
4739
+ return (Xi.delegate || Date).now();
4705
4740
  },
4706
4741
  delegate: void 0
4707
- }, Ro = function(e) {
4708
- Q(t, e);
4709
- function t(i, n, r) {
4710
- i === void 0 && (i = 1 / 0), n === void 0 && (n = 1 / 0), r === void 0 && (r = Gi);
4742
+ }, Fo = function(e) {
4743
+ Te(t, e);
4744
+ function t(i, r, n) {
4745
+ i === void 0 && (i = 1 / 0), r === void 0 && (r = 1 / 0), n === void 0 && (n = Xi);
4711
4746
  var o = e.call(this) || this;
4712
- return o._bufferSize = i, o._windowTime = n, o._timestampProvider = r, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, i), o._windowTime = Math.max(1, n), o;
4747
+ return o._bufferSize = i, o._windowTime = r, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, i), o._windowTime = Math.max(1, r), o;
4713
4748
  }
4714
4749
  return t.prototype.next = function(i) {
4715
- var n = this, r = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, c = n._windowTime;
4716
- r || (o.push(i), !s && o.push(a.now() + c)), this._trimBuffer(), e.prototype.next.call(this, i);
4750
+ var r = this, n = r.isStopped, o = r._buffer, s = r._infiniteTimeWindow, a = r._timestampProvider, c = r._windowTime;
4751
+ n || (o.push(i), !s && o.push(a.now() + c)), this._trimBuffer(), e.prototype.next.call(this, i);
4717
4752
  }, t.prototype._subscribe = function(i) {
4718
4753
  this._throwIfClosed(), this._trimBuffer();
4719
- for (var n = this._innerSubscribe(i), r = this, o = r._infiniteTimeWindow, s = r._buffer, a = s.slice(), c = 0; c < a.length && !i.closed; c += o ? 1 : 2)
4754
+ for (var r = this._innerSubscribe(i), n = this, o = n._infiniteTimeWindow, s = n._buffer, a = s.slice(), c = 0; c < a.length && !i.closed; c += o ? 1 : 2)
4720
4755
  i.next(a[c]);
4721
- return this._checkFinalizedStatuses(i), n;
4756
+ return this._checkFinalizedStatuses(i), r;
4722
4757
  }, t.prototype._trimBuffer = function() {
4723
- var i = this, n = i._bufferSize, r = i._timestampProvider, o = i._buffer, s = i._infiniteTimeWindow, a = (s ? 1 : 2) * n;
4724
- if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4725
- for (var c = r.now(), u = 0, l = 1; l < o.length && o[l] <= c; l += 2)
4758
+ var i = this, r = i._bufferSize, n = i._timestampProvider, o = i._buffer, s = i._infiniteTimeWindow, a = (s ? 1 : 2) * r;
4759
+ if (r < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
4760
+ for (var c = n.now(), u = 0, l = 1; l < o.length && o[l] <= c; l += 2)
4726
4761
  u = l;
4727
4762
  u && o.splice(0, u + 1);
4728
4763
  }
4729
4764
  }, t;
4730
- }(Fi);
4731
- const Yt = [], qt = {}, Uo = (e, t = 0) => {
4732
- if (Yt.indexOf(e) == -1) {
4733
- const i = new Ro(t);
4734
- qt[e] = i, Yt.push(e);
4765
+ }(Vi);
4766
+ const Kt = [], ei = {}, Go = (e, t = 0) => {
4767
+ if (Kt.indexOf(e) == -1) {
4768
+ const i = new Fo(t);
4769
+ ei[e] = i, Kt.push(e);
4735
4770
  }
4736
- return qt[e];
4771
+ return ei[e];
4737
4772
  };
4738
- window.emWidgets = { topic: Uo };
4739
- const jo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4740
- function $o(e, t) {
4773
+ window.emWidgets = { topic: Go };
4774
+ const zo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4775
+ function Wo(e, t) {
4741
4776
  if (e) {
4742
4777
  const i = document.createElement("style");
4743
4778
  i.innerHTML = t, e.appendChild(i);
4744
4779
  }
4745
4780
  }
4746
- function Fo(e, t) {
4781
+ function Vo(e, t) {
4747
4782
  const i = new URL(t);
4748
- fetch(i.href).then((n) => n.text()).then((n) => {
4749
- const r = document.createElement("style");
4750
- r.innerHTML = n, e && e.appendChild(r);
4751
- }).catch((n) => {
4752
- console.error("There was an error while trying to load client styling from URL", n);
4783
+ fetch(i.href).then((r) => r.text()).then((r) => {
4784
+ const n = document.createElement("style");
4785
+ n.innerHTML = r, e && e.appendChild(n);
4786
+ }).catch((r) => {
4787
+ console.error("There was an error while trying to load client styling from URL", r);
4753
4788
  });
4754
4789
  }
4755
- function Go(e, t, i) {
4790
+ function Xo(e, t, i) {
4756
4791
  if (window.emMessageBus) {
4757
- const n = document.createElement("style");
4758
- window.emMessageBus.subscribe(t, (r) => {
4759
- n.innerHTML = r, e && e.appendChild(n);
4792
+ const r = document.createElement("style");
4793
+ window.emMessageBus.subscribe(t, (n) => {
4794
+ r.innerHTML = n, e && e.appendChild(r);
4760
4795
  });
4761
4796
  }
4762
4797
  }
4763
- function zo(e) {
4764
- dn(e, "svelte-1uoztsw", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}input:focus,input :focus-within,input :focus-visible,input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;cursor:pointer;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF)}select:focus,select :focus-within,select :focus-visible,select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}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-page-2-gmcore{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px}.LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitWrapper{background:var(--emw--color-white, #fff);font-size:1.3rem;border:1px solid var(--emw--color-gray-300, #58586B);padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:var(--emw--color-valid, var(--emw--color-green, #48952a));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper{font-size:1.3rem;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.PendingLimit{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.LimitTitle{font-size:1.5rem}.PopupOverlay{position:absolute;top:0;left:0;background-color:rgba(0, 0, 0, 0.5);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer{background:var(--emw--color-white, #FFFFFF);font-size:1rem;color:var(--emw--color-black, #000000);width:80vw;height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emw--color-white, #FFFFFF);font-size:1rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B);border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:var(--emw--color-gray-300, #58586B)}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}');
4798
+ function Zo(e) {
4799
+ yr(e, "svelte-1uoztsw", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}input{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF);color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}input:focus,input :focus-within,input :focus-visible,input :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}select{width:100%;height:38px;padding:8px 4px;padding-right:8px;margin:12px 0;border-radius:4px;box-shadow:none;font-size:1.4rem;min-height:3.5rem;cursor:pointer;color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A));border:1px solid var(--emw--color-gray-100, #E6E6E6);background:var(--emw--color-white, #FFFFFF)}select:focus,select :focus-within,select :focus-visible,select :visited{border:1px solid var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));box-shadow:0 0 0 1pt var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}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-page-2-gmcore{color:var(--emw--pam-contrast, var(--emw--color-contrast, #07072A))}.LimitsInteractionArea{display:flex;flex-direction:column;margin-top:12px}.LimitsInteractionArea.Desktop{width:320px;padding:0 12px}.LimitsList.Desktop{display:flex;justify-content:space-between;margin:0 auto}.LimitWrapper{background:var(--emw--color-white, #fff);font-size:1.3rem;border:1px solid var(--emw--color-gray-300, #58586B);padding:8px 12px;border-radius:4px}.LimitWrapper:not(:first-child){margin-top:12px}.LimitWrapper.Desktop{width:45%;margin:12px}.LimitSubmitButton,.ConfirmButton{background:var(--emw--color-valid, var(--emw--color-green, #48952a));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border:0;border-radius:2px;padding:12px;cursor:pointer}.LimitSubmitButton:disabled,.ConfirmButton:disabled{background:rgba(116, 180, 27, 0.322);cursor:not-allowed}.LimitDetails{padding:12px 0 12px 4px}.LimitDetails:not(:last-child){border-bottom:1px solid var(--emw--color-gray-50, #F9F8F8)}.LimitDetailsTextWrapper{font-size:1.3rem;color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.PendingLimit{color:var(--emw--pam-typography, var(--emw--color-contrast, #07072A))}.LimitTitle{font-size:1.5rem}.PopupOverlay{position:absolute;top:0;left:0;background-color:rgba(0, 0, 0, 0.5);height:100vh;width:100vw;display:flex;justify-content:center;align-items:center}.PopupContainer{background:var(--emw--color-white, #FFFFFF);font-size:1rem;color:var(--emw--color-black, #000000);width:80vw;height:350px;padding:12px;border-radius:4px;display:flex;flex-direction:column;justify-content:space-between}.PopupContainer.Desktop{width:30vw}.PopupTitleWrapper{display:flex;justify-content:space-between;font-size:1.3rem}.PopupTitleWrapper button{background:var(--emw--color-white, #FFFFFF);font-size:1rem;border:0;cursor:pointer}.DescriptionParagraph{text-align:center;font-size:1.3rem;padding:12px}.ResultIconWrapper{display:flex;flex-direction:column;align-items:center}.ResultIconWrapper svg{height:auto;width:60px;margin:12px}.ResultIconWrapper p{color:#666}.LimitDetails{display:flex;justify-content:space-between;align-items:center}.RemoveLimitButton{height:28px;font-size:0.7rem;background:var(--emw--color-white, #FFFFFF);color:var(--emw--color-gray-300, #58586B);border:1px solid var(--emw--color-gray-300, #58586B);border-radius:4px;padding:0 4px;cursor:pointer}.RemoveLimitButton:hover{background:var(--emw--color-gray-300, #58586B)}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}@-webkit-keyframes rotate{from{-webkit-transform:rotate(0deg)}to{-webkit-transform:rotate(360deg)}}.LoadingIndicator{width:100px;height:100px;margin:110px auto 0;border:solid 10px rgb(122, 195, 23);border-radius:50%;border-right-color:transparent;border-bottom-color:transparent;-webkit-transition:all 0.5s ease-in;-webkit-animation-name:rotate;-webkit-animation-duration:1s;-webkit-animation-iteration-count:infinite;-webkit-animation-timing-function:linear;transition:all 0.5s ease-in;animation-name:rotate;animation-duration:1s;animation-iteration-count:infinite;animation-timing-function:linear}');
4765
4800
  }
4766
- function Jt(e, t, i) {
4767
- const n = e.slice();
4768
- return n[50] = t[i], n;
4801
+ function ti(e, t, i) {
4802
+ const r = e.slice();
4803
+ return r[50] = t[i], r;
4769
4804
  }
4770
- function Qt(e, t, i) {
4771
- const n = e.slice();
4772
- return n[53] = t[i], n;
4805
+ function ii(e, t, i) {
4806
+ const r = e.slice();
4807
+ return r[53] = t[i], r;
4773
4808
  }
4774
- function Kt(e, t, i) {
4775
- const n = e.slice();
4776
- return n[53] = t[i], n;
4809
+ function ri(e, t, i) {
4810
+ const r = e.slice();
4811
+ return r[53] = t[i], r;
4777
4812
  }
4778
- function ei(e, t, i) {
4779
- const n = e.slice();
4780
- return n[58] = t[i], n;
4813
+ function ni(e, t, i) {
4814
+ const r = e.slice();
4815
+ return r[58] = t[i], r;
4781
4816
  }
4782
- function ti(e) {
4817
+ function oi(e) {
4783
4818
  let t, i;
4784
- function n(s, a) {
4819
+ function r(s, a) {
4785
4820
  return (
4786
4821
  /*popupReady*/
4787
- s[11] ? Wo : Vo
4822
+ s[11] ? Yo : qo
4788
4823
  );
4789
4824
  }
4790
- let r = n(e), o = r(e);
4825
+ let n = r(e), o = n(e);
4791
4826
  return {
4792
4827
  c() {
4793
4828
  t = v("div"), i = v("div"), o.c(), g(i, "class", "PopupContainer " + /*isDesktop*/
4794
4829
  (e[14] ? "Desktop" : "")), g(t, "class", "PopupOverlay");
4795
4830
  },
4796
4831
  m(s, a) {
4797
- N(s, t, a), d(t, i), o.m(i, null);
4832
+ B(s, t, a), d(t, i), o.m(i, null);
4798
4833
  },
4799
4834
  p(s, a) {
4800
- r === (r = n(s)) && o ? o.p(s, a) : (o.d(1), o = r(s), o && (o.c(), o.m(i, null)));
4835
+ n === (n = r(s)) && o ? o.p(s, a) : (o.d(1), o = n(s), o && (o.c(), o.m(i, null)));
4801
4836
  },
4802
4837
  d(s) {
4803
- s && B(t), o.d();
4838
+ s && A(t), o.d();
4804
4839
  }
4805
4840
  };
4806
4841
  }
4807
- function Wo(e) {
4808
- let t, i, n = (
4842
+ function Yo(e) {
4843
+ let t, i, r = (
4809
4844
  /*$_*/
4810
4845
  e[13]("popupTitle") + ""
4811
- ), r, o, s, a, c, u, l, h, m, f, p, _, R, P = !/*limitError*/
4812
- e[9] && ii(e);
4846
+ ), n, o, s, a, c, u, l, h, m, f, p, _, R, S = !/*limitError*/
4847
+ e[9] && si(e);
4813
4848
  return {
4814
4849
  c() {
4815
- t = v("div"), i = v("span"), r = $(n), o = j(), s = v("button"), s.textContent = "X", a = j(), c = v("div"), u = v("div"), P && P.c(), l = j(), h = v("p"), m = $(
4850
+ t = v("div"), i = v("span"), n = $(r), o = U(), s = v("button"), s.textContent = "X", a = U(), c = v("div"), u = v("div"), S && S.c(), l = U(), h = v("p"), m = $(
4816
4851
  /*popupContent*/
4817
4852
  e[12]
4818
- ), f = j(), p = v("button"), p.textContent = "OK", g(i, "class", "PopupTitle"), g(s, "class", "ClosePopup"), g(t, "class", "PopupTitleWrapper"), g(u, "class", "ResultIconWrapper"), g(h, "class", "DescriptionParagraph"), g(c, "class", "DescriptionWrapper"), g(p, "class", "ConfirmButton");
4853
+ ), f = U(), p = v("button"), p.textContent = "OK", g(i, "class", "PopupTitle"), g(s, "class", "ClosePopup"), g(t, "class", "PopupTitleWrapper"), g(u, "class", "ResultIconWrapper"), g(h, "class", "DescriptionParagraph"), g(c, "class", "DescriptionWrapper"), g(p, "class", "ConfirmButton");
4819
4854
  },
4820
4855
  m(L, w) {
4821
- N(L, t, w), d(t, i), d(i, r), d(t, o), d(t, s), N(L, a, w), N(L, c, w), d(c, u), P && P.m(u, null), d(c, l), d(c, h), d(h, m), N(L, f, w), N(L, p, w), _ || (R = [
4822
- Y(
4856
+ B(L, t, w), d(t, i), d(i, n), d(t, o), d(t, s), B(L, a, w), B(L, c, w), d(c, u), S && S.m(u, null), d(c, l), d(c, h), d(h, m), B(L, f, w), B(L, p, w), _ || (R = [
4857
+ q(
4823
4858
  s,
4824
4859
  "click",
4825
4860
  /*closePopup*/
4826
4861
  e[20]
4827
4862
  ),
4828
- Y(
4863
+ q(
4829
4864
  p,
4830
4865
  "click",
4831
4866
  /*closePopup*/
@@ -4835,9 +4870,9 @@ function Wo(e) {
4835
4870
  },
4836
4871
  p(L, w) {
4837
4872
  w[0] & /*$_*/
4838
- 8192 && n !== (n = /*$_*/
4839
- L[13]("popupTitle") + "") && W(r, n), /*limitError*/
4840
- L[9] ? P && (P.d(1), P = null) : P ? P.p(L, w) : (P = ii(L), P.c(), P.m(u, null)), w[0] & /*popupContent*/
4873
+ 8192 && r !== (r = /*$_*/
4874
+ L[13]("popupTitle") + "") && W(n, r), /*limitError*/
4875
+ L[9] ? S && (S.d(1), S = null) : S ? S.p(L, w) : (S = si(L), S.c(), S.m(u, null)), w[0] & /*popupContent*/
4841
4876
  4096 && W(
4842
4877
  m,
4843
4878
  /*popupContent*/
@@ -4845,37 +4880,37 @@ function Wo(e) {
4845
4880
  );
4846
4881
  },
4847
4882
  d(L) {
4848
- L && (B(t), B(a), B(c), B(f), B(p)), P && P.d(), _ = !1, ie(R);
4883
+ L && (A(t), A(a), A(c), A(f), A(p)), S && S.d(), _ = !1, ie(R);
4849
4884
  }
4850
4885
  };
4851
4886
  }
4852
- function Vo(e) {
4887
+ function qo(e) {
4853
4888
  let t;
4854
4889
  return {
4855
4890
  c() {
4856
4891
  t = v("div"), g(t, "class", "LoadingIndicator");
4857
4892
  },
4858
- m(i, n) {
4859
- N(i, t, n);
4893
+ m(i, r) {
4894
+ B(i, t, r);
4860
4895
  },
4861
- p: U,
4896
+ p: j,
4862
4897
  d(i) {
4863
- i && B(t);
4898
+ i && A(t);
4864
4899
  }
4865
4900
  };
4866
4901
  }
4867
- function ii(e) {
4868
- let t, i, n, r, o, s, a, c, u = (
4902
+ function si(e) {
4903
+ let t, i, r, n, o, s, a, c, u = (
4869
4904
  /*$_*/
4870
4905
  e[13]("popupSuccess") + ""
4871
4906
  ), l;
4872
4907
  return {
4873
4908
  c() {
4874
- t = be("svg"), i = be("defs"), n = be("style"), r = $(`.fil0 {fill:black;fill-rule:nonzero}
4875
- `), o = be("g"), s = be("polygon"), a = j(), c = v("p"), l = $(u), g(n, "type", "text/css"), g(s, "class", "fil0"), g(s, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "xmlns:xlink", "http://www.w3.org/1999/xlink"), g(t, "xml:space", "preserve"), g(t, "version", "1.1"), Ve(t, "shape-rendering", "geometricPrecision"), Ve(t, "text-rendering", "geometricPrecision"), Ve(t, "image-rendering", "optimizeQuality"), g(t, "viewBox", "0 0 90 69"), g(t, "x", "0px"), g(t, "y", "0px"), g(t, "fill-rule", "evenodd"), g(t, "clip-rule", "evenodd");
4909
+ t = de("svg"), i = de("defs"), r = de("style"), n = $(`.fil0 {fill:black;fill-rule:nonzero}
4910
+ `), o = de("g"), s = de("polygon"), a = U(), c = v("p"), l = $(u), g(r, "type", "text/css"), g(s, "class", "fil0"), g(s, "points", "0,38 10,25 36,47 78,0 90,11 37,69 "), g(t, "xmlns", "http://www.w3.org/2000/svg"), g(t, "xmlns:xlink", "http://www.w3.org/1999/xlink"), g(t, "xml:space", "preserve"), g(t, "version", "1.1"), Ze(t, "shape-rendering", "geometricPrecision"), Ze(t, "text-rendering", "geometricPrecision"), Ze(t, "image-rendering", "optimizeQuality"), g(t, "viewBox", "0 0 90 69"), g(t, "x", "0px"), g(t, "y", "0px"), g(t, "fill-rule", "evenodd"), g(t, "clip-rule", "evenodd");
4876
4911
  },
4877
4912
  m(h, m) {
4878
- N(h, t, m), d(t, i), d(i, n), d(n, r), d(t, o), d(o, s), N(h, a, m), N(h, c, m), d(c, l);
4913
+ B(h, t, m), d(t, i), d(i, r), d(r, n), d(t, o), d(o, s), B(h, a, m), B(h, c, m), d(c, l);
4879
4914
  },
4880
4915
  p(h, m) {
4881
4916
  m[0] & /*$_*/
@@ -4883,12 +4918,12 @@ function ii(e) {
4883
4918
  h[13]("popupSuccess") + "") && W(l, u);
4884
4919
  },
4885
4920
  d(h) {
4886
- h && (B(t), B(a), B(c));
4921
+ h && (A(t), A(a), A(c));
4887
4922
  }
4888
4923
  };
4889
4924
  }
4890
- function Xo(e) {
4891
- let t, i, n, r, o, s, a, c, u, l = (
4925
+ function Jo(e) {
4926
+ let t, i, r, n, o, s, a, c, u, l = (
4892
4927
  /*multiplePeriods*/
4893
4928
  e[6] ? `${/*$_*/
4894
4929
  e[13]("amount")}` : `${/*$_*/
@@ -4899,56 +4934,56 @@ function Xo(e) {
4899
4934
  ), h, m, f, p, _, R = (
4900
4935
  /*$_*/
4901
4936
  e[13]("setLimit") + ""
4902
- ), P, L, w, H = te(
4937
+ ), S, L, w, O = te(
4903
4938
  /*availableLimits*/
4904
4939
  e[15]
4905
- ), A = [];
4906
- for (let E = 0; E < H.length; E += 1)
4907
- A[E] = ri(Kt(e, H, E));
4908
- let M = (
4940
+ ), P = [];
4941
+ for (let E = 0; E < O.length; E += 1)
4942
+ P[E] = ui(ri(e, O, E));
4943
+ let H = (
4909
4944
  /*multipleLimits*/
4910
- e[5] && oi(e)
4945
+ e[5] && li(e)
4911
4946
  ), D = (
4912
4947
  /*multiplePeriods*/
4913
- e[6] && ai(e)
4948
+ e[6] && hi(e)
4914
4949
  );
4915
4950
  return {
4916
4951
  c() {
4917
- t = v("div"), i = v("div"), n = v("div");
4918
- for (let E = 0; E < A.length; E += 1)
4919
- A[E].c();
4920
- r = j(), o = v("form"), M && M.c(), s = j(), D && D.c(), a = j(), c = v("label"), u = v("span"), h = $(l), m = j(), f = v("input"), p = j(), _ = v("button"), P = $(R), g(n, "class", "LimitsList " + /*isDesktop*/
4952
+ t = v("div"), i = v("div"), r = v("div");
4953
+ for (let E = 0; E < P.length; E += 1)
4954
+ P[E].c();
4955
+ n = U(), o = v("form"), H && H.c(), s = U(), D && D.c(), a = U(), c = v("label"), u = v("span"), h = $(l), m = U(), f = v("input"), p = U(), _ = v("button"), S = $(R), g(r, "class", "LimitsList " + /*isDesktop*/
4921
4956
  (e[14] ? "Desktop" : "")), g(u, "class", "LimitInputText"), g(c, "class", "LimitAmountInputWrapper"), g(f, "type", "number"), g(f, "pattern", "[0-9]*"), g(_, "class", "LimitSubmitButton"), g(_, "type", "button"), _.disabled = !0, g(o, "class", "LimitsInteractionArea " + /*isDesktop*/
4922
4957
  (e[14] ? "Desktop" : "")), g(i, "class", "LimitsPageContainer"), g(t, "class", "player-account-gaming-limits-page-2-gmcore");
4923
4958
  },
4924
4959
  m(E, G) {
4925
- N(E, t, G), d(t, i), d(i, n);
4926
- for (let k = 0; k < A.length; k += 1)
4927
- A[k] && A[k].m(n, null);
4928
- d(i, r), d(i, o), M && M.m(o, null), d(o, s), D && D.m(o, null), d(o, a), d(o, c), d(c, u), d(u, h), d(o, m), d(o, f), ve(
4960
+ B(E, t, G), d(t, i), d(i, r);
4961
+ for (let M = 0; M < P.length; M += 1)
4962
+ P[M] && P[M].m(r, null);
4963
+ d(i, n), d(i, o), H && H.m(o, null), d(o, s), D && D.m(o, null), d(o, a), d(o, c), d(c, u), d(u, h), d(o, m), d(o, f), ye(
4929
4964
  f,
4930
4965
  /*inputAmount*/
4931
4966
  e[3]
4932
- ), d(o, p), d(o, _), d(_, P), e[35](_), L || (w = [
4933
- Y(
4967
+ ), d(o, p), d(o, _), d(_, S), e[35](_), L || (w = [
4968
+ q(
4934
4969
  f,
4935
4970
  "input",
4936
4971
  /*input_input_handler*/
4937
4972
  e[34]
4938
4973
  ),
4939
- Y(
4974
+ q(
4940
4975
  f,
4941
4976
  "keyup",
4942
4977
  /*updateInputValue*/
4943
4978
  e[18]
4944
4979
  ),
4945
- Y(
4980
+ q(
4946
4981
  _,
4947
4982
  "click",
4948
4983
  /*updateLimits*/
4949
4984
  e[17]
4950
4985
  ),
4951
- Y(
4986
+ q(
4952
4987
  o,
4953
4988
  "submit",
4954
4989
  /*updateLimits*/
@@ -4959,22 +4994,22 @@ function Xo(e) {
4959
4994
  p(E, G) {
4960
4995
  if (G[0] & /*isDesktop, availableLimits, removeLimit, $_*/
4961
4996
  581632) {
4962
- H = te(
4997
+ O = te(
4963
4998
  /*availableLimits*/
4964
4999
  E[15]
4965
5000
  );
4966
- let k;
4967
- for (k = 0; k < H.length; k += 1) {
4968
- const K = Kt(E, H, k);
4969
- A[k] ? A[k].p(K, G) : (A[k] = ri(K), A[k].c(), A[k].m(n, null));
5001
+ let M;
5002
+ for (M = 0; M < O.length; M += 1) {
5003
+ const K = ri(E, O, M);
5004
+ P[M] ? P[M].p(K, G) : (P[M] = ui(K), P[M].c(), P[M].m(r, null));
4970
5005
  }
4971
- for (; k < A.length; k += 1)
4972
- A[k].d(1);
4973
- A.length = H.length;
5006
+ for (; M < P.length; M += 1)
5007
+ P[M].d(1);
5008
+ P.length = O.length;
4974
5009
  }
4975
5010
  /*multipleLimits*/
4976
- E[5] ? M ? M.p(E, G) : (M = oi(E), M.c(), M.m(o, s)) : M && (M.d(1), M = null), /*multiplePeriods*/
4977
- E[6] ? D ? D.p(E, G) : (D = ai(E), D.c(), D.m(o, a)) : D && (D.d(1), D = null), G[0] & /*multiplePeriods, $_, selectedPeriod*/
5011
+ E[5] ? H ? H.p(E, G) : (H = li(E), H.c(), H.m(o, s)) : H && (H.d(1), H = null), /*multiplePeriods*/
5012
+ E[6] ? D ? D.p(E, G) : (D = hi(E), D.c(), D.m(o, a)) : D && (D.d(1), D = null), G[0] & /*multiplePeriods, $_, selectedPeriod*/
4978
5013
  8260 && l !== (l = /*multiplePeriods*/
4979
5014
  E[6] ? `${/*$_*/
4980
5015
  E[13]("amount")}` : `${/*$_*/
@@ -4982,172 +5017,172 @@ function Xo(e) {
4982
5017
  E[13](`gamingLimits.${/*selectedPeriod*/
4983
5018
  E[2]}`)} ${/*$_*/
4984
5019
  E[13]("limit")}`) && W(h, l), G[0] & /*inputAmount*/
4985
- 8 && fi(f.value) !== /*inputAmount*/
4986
- E[3] && ve(
5020
+ 8 && bi(f.value) !== /*inputAmount*/
5021
+ E[3] && ye(
4987
5022
  f,
4988
5023
  /*inputAmount*/
4989
5024
  E[3]
4990
5025
  ), G[0] & /*$_*/
4991
5026
  8192 && R !== (R = /*$_*/
4992
- E[13]("setLimit") + "") && W(P, R);
5027
+ E[13]("setLimit") + "") && W(S, R);
4993
5028
  },
4994
5029
  d(E) {
4995
- E && B(t), Ce(A, E), M && M.d(), D && D.d(), e[35](null), L = !1, ie(w);
5030
+ E && A(t), De(P, E), H && H.d(), D && D.d(), e[35](null), L = !1, ie(w);
4996
5031
  }
4997
5032
  };
4998
5033
  }
4999
- function Zo(e) {
5034
+ function Qo(e) {
5000
5035
  let t;
5001
5036
  return {
5002
5037
  c() {
5003
5038
  t = v("p"), t.textContent = "500 Server error";
5004
5039
  },
5005
- m(i, n) {
5006
- N(i, t, n);
5040
+ m(i, r) {
5041
+ B(i, t, r);
5007
5042
  },
5008
- p: U,
5043
+ p: j,
5009
5044
  d(i) {
5010
- i && B(t);
5045
+ i && A(t);
5011
5046
  }
5012
5047
  };
5013
5048
  }
5014
- function Yo(e) {
5015
- return { c: U, m: U, p: U, d: U };
5049
+ function Ko(e) {
5050
+ return { c: j, m: j, p: j, d: j };
5016
5051
  }
5017
- function qo(e) {
5052
+ function es(e) {
5018
5053
  let t;
5019
5054
  return {
5020
5055
  c() {
5021
5056
  t = v("div"), g(t, "class", "LoadingIndicator");
5022
5057
  },
5023
- m(i, n) {
5024
- N(i, t, n);
5058
+ m(i, r) {
5059
+ B(i, t, r);
5025
5060
  },
5026
- p: U,
5061
+ p: j,
5027
5062
  d(i) {
5028
- i && B(t);
5063
+ i && A(t);
5029
5064
  }
5030
5065
  };
5031
5066
  }
5032
- function Jo(e) {
5033
- let t, i, n, r = (
5067
+ function ts(e) {
5068
+ let t, i, r, n = (
5034
5069
  /*$_*/
5035
5070
  e[13]("noLimitText") + ""
5036
5071
  ), o;
5037
5072
  return {
5038
5073
  c() {
5039
- t = v("div"), i = v("div"), n = v("div"), o = $(r), g(n, "class", "LimitDetailsTextWrapper"), g(i, "class", "LimitDetailsWrapper"), g(t, "class", "LimitDetails");
5074
+ t = v("div"), i = v("div"), r = v("div"), o = $(n), g(r, "class", "LimitDetailsTextWrapper"), g(i, "class", "LimitDetailsWrapper"), g(t, "class", "LimitDetails");
5040
5075
  },
5041
5076
  m(s, a) {
5042
- N(s, t, a), d(t, i), d(i, n), d(n, o);
5077
+ B(s, t, a), d(t, i), d(i, r), d(r, o);
5043
5078
  },
5044
5079
  p(s, a) {
5045
5080
  a[0] & /*$_*/
5046
- 8192 && r !== (r = /*$_*/
5047
- s[13]("noLimitText") + "") && W(o, r);
5081
+ 8192 && n !== (n = /*$_*/
5082
+ s[13]("noLimitText") + "") && W(o, n);
5048
5083
  },
5049
5084
  d(s) {
5050
- s && B(t);
5085
+ s && A(t);
5051
5086
  }
5052
5087
  };
5053
5088
  }
5054
- function Qo(e) {
5089
+ function is(e) {
5055
5090
  let t, i = te(
5056
5091
  /*limit*/
5057
5092
  e[53].currentLimits
5058
- ), n = [];
5059
- for (let r = 0; r < i.length; r += 1)
5060
- n[r] = ni(ei(e, i, r));
5093
+ ), r = [];
5094
+ for (let n = 0; n < i.length; n += 1)
5095
+ r[n] = ai(ni(e, i, n));
5061
5096
  return {
5062
5097
  c() {
5063
- for (let r = 0; r < n.length; r += 1)
5064
- n[r].c();
5065
- t = yn();
5098
+ for (let n = 0; n < r.length; n += 1)
5099
+ r[n].c();
5100
+ t = Er();
5066
5101
  },
5067
- m(r, o) {
5068
- for (let s = 0; s < n.length; s += 1)
5069
- n[s] && n[s].m(r, o);
5070
- N(r, t, o);
5102
+ m(n, o) {
5103
+ for (let s = 0; s < r.length; s += 1)
5104
+ r[s] && r[s].m(n, o);
5105
+ B(n, t, o);
5071
5106
  },
5072
- p(r, o) {
5107
+ p(n, o) {
5073
5108
  if (o[0] & /*removeLimit, availableLimits, $_*/
5074
5109
  565248) {
5075
5110
  i = te(
5076
5111
  /*limit*/
5077
- r[53].currentLimits
5112
+ n[53].currentLimits
5078
5113
  );
5079
5114
  let s;
5080
5115
  for (s = 0; s < i.length; s += 1) {
5081
- const a = ei(r, i, s);
5082
- n[s] ? n[s].p(a, o) : (n[s] = ni(a), n[s].c(), n[s].m(t.parentNode, t));
5116
+ const a = ni(n, i, s);
5117
+ r[s] ? r[s].p(a, o) : (r[s] = ai(a), r[s].c(), r[s].m(t.parentNode, t));
5083
5118
  }
5084
- for (; s < n.length; s += 1)
5085
- n[s].d(1);
5086
- n.length = i.length;
5119
+ for (; s < r.length; s += 1)
5120
+ r[s].d(1);
5121
+ r.length = i.length;
5087
5122
  }
5088
5123
  },
5089
- d(r) {
5090
- r && B(t), Ce(n, r);
5124
+ d(n) {
5125
+ n && A(t), De(r, n);
5091
5126
  }
5092
5127
  };
5093
5128
  }
5094
- function Ko(e) {
5129
+ function rs(e) {
5095
5130
  let t, i = `${/*$_*/
5096
5131
  e[13]("removedLimitText")} ${/*currentLimit*/
5097
- e[58].expiryDate}`, n;
5132
+ e[58].expiryDate}`, r;
5098
5133
  return {
5099
5134
  c() {
5100
- t = v("div"), n = $(i), g(t, "class", "PendingLimit");
5135
+ t = v("div"), r = $(i), g(t, "class", "PendingLimit");
5101
5136
  },
5102
- m(r, o) {
5103
- N(r, t, o), d(t, n);
5137
+ m(n, o) {
5138
+ B(n, t, o), d(t, r);
5104
5139
  },
5105
- p(r, o) {
5140
+ p(n, o) {
5106
5141
  o[0] & /*$_*/
5107
5142
  8192 && i !== (i = `${/*$_*/
5108
- r[13]("removedLimitText")} ${/*currentLimit*/
5109
- r[58].expiryDate}`) && W(n, i);
5143
+ n[13]("removedLimitText")} ${/*currentLimit*/
5144
+ n[58].expiryDate}`) && W(r, i);
5110
5145
  },
5111
- d(r) {
5112
- r && B(t);
5146
+ d(n) {
5147
+ n && A(t);
5113
5148
  }
5114
5149
  };
5115
5150
  }
5116
- function es(e) {
5151
+ function ns(e) {
5117
5152
  let t, i = `${/*currentLimit*/
5118
5153
  e[58].updateAmount}${/*currentLimit*/
5119
5154
  e[58].currency} ${/*$_*/
5120
5155
  e[13](`gamingLimits.${/*currentLimit*/
5121
5156
  e[58].period}`)} ${/*$_*/
5122
5157
  e[13]("updateText")} ${/*currentLimit*/
5123
- e[58].expiryDate}`, n;
5158
+ e[58].expiryDate}`, r;
5124
5159
  return {
5125
5160
  c() {
5126
- t = v("div"), n = $(i), g(t, "class", "PendingLimit");
5161
+ t = v("div"), r = $(i), g(t, "class", "PendingLimit");
5127
5162
  },
5128
- m(r, o) {
5129
- N(r, t, o), d(t, n);
5163
+ m(n, o) {
5164
+ B(n, t, o), d(t, r);
5130
5165
  },
5131
- p(r, o) {
5166
+ p(n, o) {
5132
5167
  o[0] & /*$_*/
5133
5168
  8192 && i !== (i = `${/*currentLimit*/
5134
- r[58].updateAmount}${/*currentLimit*/
5135
- r[58].currency} ${/*$_*/
5136
- r[13](`gamingLimits.${/*currentLimit*/
5137
- r[58].period}`)} ${/*$_*/
5138
- r[13]("updateText")} ${/*currentLimit*/
5139
- r[58].expiryDate}`) && W(n, i);
5169
+ n[58].updateAmount}${/*currentLimit*/
5170
+ n[58].currency} ${/*$_*/
5171
+ n[13](`gamingLimits.${/*currentLimit*/
5172
+ n[58].period}`)} ${/*$_*/
5173
+ n[13]("updateText")} ${/*currentLimit*/
5174
+ n[58].expiryDate}`) && W(r, i);
5140
5175
  },
5141
- d(r) {
5142
- r && B(t);
5176
+ d(n) {
5177
+ n && A(t);
5143
5178
  }
5144
5179
  };
5145
5180
  }
5146
- function ts(e) {
5181
+ function os(e) {
5147
5182
  let t, i = (
5148
5183
  /*$_*/
5149
5184
  e[13]("gamingLimits.removeLimit") + ""
5150
- ), n, r, o;
5185
+ ), r, n, o;
5151
5186
  function s() {
5152
5187
  return (
5153
5188
  /*click_handler*/
@@ -5159,23 +5194,23 @@ function ts(e) {
5159
5194
  }
5160
5195
  return {
5161
5196
  c() {
5162
- t = v("button"), n = $(i), g(t, "class", "RemoveLimitButton");
5197
+ t = v("button"), r = $(i), g(t, "class", "RemoveLimitButton");
5163
5198
  },
5164
5199
  m(a, c) {
5165
- N(a, t, c), d(t, n), r || (o = Y(t, "click", s), r = !0);
5200
+ B(a, t, c), d(t, r), n || (o = q(t, "click", s), n = !0);
5166
5201
  },
5167
5202
  p(a, c) {
5168
5203
  e = a, c[0] & /*$_*/
5169
5204
  8192 && i !== (i = /*$_*/
5170
- e[13]("gamingLimits.removeLimit") + "") && W(n, i);
5205
+ e[13]("gamingLimits.removeLimit") + "") && W(r, i);
5171
5206
  },
5172
5207
  d(a) {
5173
- a && B(t), r = !1, o();
5208
+ a && A(t), n = !1, o();
5174
5209
  }
5175
5210
  };
5176
5211
  }
5177
- function ni(e) {
5178
- let t, i, n, r = `${/*currentLimit*/
5212
+ function ai(e) {
5213
+ let t, i, r, n = `${/*currentLimit*/
5179
5214
  e[58].amount}${/*currentLimit*/
5180
5215
  e[58].currency} ${/*$_*/
5181
5216
  e[13](`gamingLimits.${/*currentLimit*/
@@ -5186,106 +5221,106 @@ function ni(e) {
5186
5221
  f[58].isModified && /*currentLimit*/
5187
5222
  f[58].updateAmount != "-1"
5188
5223
  )
5189
- return es;
5224
+ return ns;
5190
5225
  if (
5191
5226
  /*currentLimit*/
5192
5227
  f[58].isModified
5193
5228
  )
5194
- return Ko;
5229
+ return rs;
5195
5230
  }
5196
5231
  let l = u(e), h = l && l(e), m = !/*currentLimit*/
5197
- e[58].isModified && ts(e);
5232
+ e[58].isModified && os(e);
5198
5233
  return {
5199
5234
  c() {
5200
- t = v("div"), i = v("div"), n = v("div"), o = $(r), s = j(), h && h.c(), a = j(), m && m.c(), c = j(), g(n, "class", "CurrentLimit"), g(i, "class", "LimitDetailsTextWrapper"), g(t, "class", "LimitDetails");
5235
+ t = v("div"), i = v("div"), r = v("div"), o = $(n), s = U(), h && h.c(), a = U(), m && m.c(), c = U(), g(r, "class", "CurrentLimit"), g(i, "class", "LimitDetailsTextWrapper"), g(t, "class", "LimitDetails");
5201
5236
  },
5202
5237
  m(f, p) {
5203
- N(f, t, p), d(t, i), d(i, n), d(n, o), d(i, s), h && h.m(i, null), d(t, a), m && m.m(t, null), d(t, c);
5238
+ B(f, t, p), d(t, i), d(i, r), d(r, o), d(i, s), h && h.m(i, null), d(t, a), m && m.m(t, null), d(t, c);
5204
5239
  },
5205
5240
  p(f, p) {
5206
5241
  p[0] & /*$_*/
5207
- 8192 && r !== (r = `${/*currentLimit*/
5242
+ 8192 && n !== (n = `${/*currentLimit*/
5208
5243
  f[58].amount}${/*currentLimit*/
5209
5244
  f[58].currency} ${/*$_*/
5210
5245
  f[13](`gamingLimits.${/*currentLimit*/
5211
- f[58].period}`)}`) && W(o, r), h && h.p(f, p), /*currentLimit*/
5246
+ f[58].period}`)}`) && W(o, n), h && h.p(f, p), /*currentLimit*/
5212
5247
  f[58].isModified || m.p(f, p);
5213
5248
  },
5214
5249
  d(f) {
5215
- f && B(t), h && h.d(), m && m.d();
5250
+ f && A(t), h && h.d(), m && m.d();
5216
5251
  }
5217
5252
  };
5218
5253
  }
5219
- function ri(e) {
5220
- let t, i, n = (
5254
+ function ui(e) {
5255
+ let t, i, r = (
5221
5256
  /*$_*/
5222
5257
  e[13](`gamingLimits.${/*limit*/
5223
5258
  e[53].value}`) + ""
5224
- ), r, o, s;
5259
+ ), n, o, s;
5225
5260
  function a(l, h) {
5226
5261
  return (
5227
5262
  /*limit*/
5228
- l[53].currentLimits.length > 0 ? Qo : Jo
5263
+ l[53].currentLimits.length > 0 ? is : ts
5229
5264
  );
5230
5265
  }
5231
5266
  let u = a(e)(e);
5232
5267
  return {
5233
5268
  c() {
5234
- t = v("div"), i = v("p"), r = $(n), o = j(), u.c(), s = j(), g(i, "class", "LimitTitle"), g(t, "class", "LimitWrapper " + /*isDesktop*/
5269
+ t = v("div"), i = v("p"), n = $(r), o = U(), u.c(), s = U(), g(i, "class", "LimitTitle"), g(t, "class", "LimitWrapper " + /*isDesktop*/
5235
5270
  (e[14] ? "Desktop" : ""));
5236
5271
  },
5237
5272
  m(l, h) {
5238
- N(l, t, h), d(t, i), d(i, r), d(t, o), u.m(t, null), d(t, s);
5273
+ B(l, t, h), d(t, i), d(i, n), d(t, o), u.m(t, null), d(t, s);
5239
5274
  },
5240
5275
  p(l, h) {
5241
5276
  h[0] & /*$_*/
5242
- 8192 && n !== (n = /*$_*/
5277
+ 8192 && r !== (r = /*$_*/
5243
5278
  l[13](`gamingLimits.${/*limit*/
5244
- l[53].value}`) + "") && W(r, n), u.p(l, h);
5279
+ l[53].value}`) + "") && W(n, r), u.p(l, h);
5245
5280
  },
5246
5281
  d(l) {
5247
- l && B(t), u.d();
5282
+ l && A(t), u.d();
5248
5283
  }
5249
5284
  };
5250
5285
  }
5251
- function oi(e) {
5252
- let t, i, n = (
5286
+ function li(e) {
5287
+ let t, i, r = (
5253
5288
  /*$_*/
5254
5289
  e[13]("limitType") + ""
5255
- ), r, o, s, a, c, u = te(
5290
+ ), n, o, s, a, c, u = te(
5256
5291
  /*availableLimits*/
5257
5292
  e[15]
5258
5293
  ), l = [];
5259
5294
  for (let h = 0; h < u.length; h += 1)
5260
- l[h] = si(Qt(e, u, h));
5295
+ l[h] = ci(ii(e, u, h));
5261
5296
  return {
5262
5297
  c() {
5263
- t = v("label"), i = v("span"), r = $(n), o = j(), s = v("select");
5298
+ t = v("label"), i = v("span"), n = $(r), o = U(), s = v("select");
5264
5299
  for (let h = 0; h < l.length; h += 1)
5265
5300
  l[h].c();
5266
5301
  g(i, "class", "LimitSelectText"), g(s, "name", ""), g(s, "id", ""), /*selectedLimit*/
5267
- e[1] === void 0 && Ee(() => (
5302
+ e[1] === void 0 && _e(() => (
5268
5303
  /*select_change_handler*/
5269
5304
  e[32].call(s)
5270
5305
  )), g(t, "class", "LimitTypeDropdownWrapper");
5271
5306
  },
5272
5307
  m(h, m) {
5273
- N(h, t, m), d(t, i), d(i, r), d(t, o), d(t, s);
5308
+ B(h, t, m), d(t, i), d(i, n), d(t, o), d(t, s);
5274
5309
  for (let f = 0; f < l.length; f += 1)
5275
5310
  l[f] && l[f].m(s, null);
5276
- He(
5311
+ Ie(
5277
5312
  s,
5278
5313
  /*selectedLimit*/
5279
5314
  e[1],
5280
5315
  !0
5281
5316
  ), a || (c = [
5282
- Y(
5317
+ q(
5283
5318
  s,
5284
5319
  "change",
5285
5320
  /*select_change_handler*/
5286
5321
  e[32]
5287
5322
  ),
5288
- Y(
5323
+ q(
5289
5324
  s,
5290
5325
  "change",
5291
5326
  /*updateLimitSelection*/
@@ -5295,8 +5330,8 @@ function oi(e) {
5295
5330
  },
5296
5331
  p(h, m) {
5297
5332
  if (m[0] & /*$_*/
5298
- 8192 && n !== (n = /*$_*/
5299
- h[13]("limitType") + "") && W(r, n), m[0] & /*availableLimits*/
5333
+ 8192 && r !== (r = /*$_*/
5334
+ h[13]("limitType") + "") && W(n, r), m[0] & /*availableLimits*/
5300
5335
  32768) {
5301
5336
  u = te(
5302
5337
  /*availableLimits*/
@@ -5304,75 +5339,75 @@ function oi(e) {
5304
5339
  );
5305
5340
  let f;
5306
5341
  for (f = 0; f < u.length; f += 1) {
5307
- const p = Qt(h, u, f);
5308
- l[f] ? l[f].p(p, m) : (l[f] = si(p), l[f].c(), l[f].m(s, null));
5342
+ const p = ii(h, u, f);
5343
+ l[f] ? l[f].p(p, m) : (l[f] = ci(p), l[f].c(), l[f].m(s, null));
5309
5344
  }
5310
5345
  for (; f < l.length; f += 1)
5311
5346
  l[f].d(1);
5312
5347
  l.length = u.length;
5313
5348
  }
5314
5349
  m[0] & /*selectedLimit, availableLimits*/
5315
- 32770 && He(
5350
+ 32770 && Ie(
5316
5351
  s,
5317
5352
  /*selectedLimit*/
5318
5353
  h[1]
5319
5354
  );
5320
5355
  },
5321
5356
  d(h) {
5322
- h && B(t), Ce(l, h), a = !1, ie(c);
5357
+ h && A(t), De(l, h), a = !1, ie(c);
5323
5358
  }
5324
5359
  };
5325
5360
  }
5326
- function si(e) {
5361
+ function ci(e) {
5327
5362
  let t, i = (
5328
5363
  /*limit*/
5329
5364
  e[53].title + ""
5330
- ), n;
5365
+ ), r;
5331
5366
  return {
5332
5367
  c() {
5333
- t = v("option"), n = $(i), t.__value = /*limit*/
5334
- e[53].value, ve(t, t.__value);
5368
+ t = v("option"), r = $(i), t.__value = /*limit*/
5369
+ e[53].value, ye(t, t.__value);
5335
5370
  },
5336
- m(r, o) {
5337
- N(r, t, o), d(t, n);
5371
+ m(n, o) {
5372
+ B(n, t, o), d(t, r);
5338
5373
  },
5339
- p: U,
5340
- d(r) {
5341
- r && B(t);
5374
+ p: j,
5375
+ d(n) {
5376
+ n && A(t);
5342
5377
  }
5343
5378
  };
5344
5379
  }
5345
- function ai(e) {
5346
- let t, i, n = (
5380
+ function hi(e) {
5381
+ let t, i, r = (
5347
5382
  /*$_*/
5348
5383
  e[13]("period") + ""
5349
- ), r, o, s, a, c, u = te(Z[
5384
+ ), n, o, s, a, c, u = te(Z[
5350
5385
  /*selectedLimit*/
5351
5386
  e[1]
5352
5387
  ].periods), l = [];
5353
5388
  for (let h = 0; h < u.length; h += 1)
5354
- l[h] = ui(Jt(e, u, h));
5389
+ l[h] = fi(ti(e, u, h));
5355
5390
  return {
5356
5391
  c() {
5357
- t = v("label"), i = v("span"), r = $(n), o = j(), s = v("select");
5392
+ t = v("label"), i = v("span"), n = $(r), o = U(), s = v("select");
5358
5393
  for (let h = 0; h < l.length; h += 1)
5359
5394
  l[h].c();
5360
5395
  g(i, "class", "PeriodSelectText"), g(t, "class", "LimitPeriodDropdownWrapper"), g(s, "name", ""), g(s, "id", ""), /*selectedPeriod*/
5361
- e[2] === void 0 && Ee(() => (
5396
+ e[2] === void 0 && _e(() => (
5362
5397
  /*select_change_handler_1*/
5363
5398
  e[33].call(s)
5364
5399
  ));
5365
5400
  },
5366
5401
  m(h, m) {
5367
- N(h, t, m), d(t, i), d(i, r), N(h, o, m), N(h, s, m);
5402
+ B(h, t, m), d(t, i), d(i, n), B(h, o, m), B(h, s, m);
5368
5403
  for (let f = 0; f < l.length; f += 1)
5369
5404
  l[f] && l[f].m(s, null);
5370
- He(
5405
+ Ie(
5371
5406
  s,
5372
5407
  /*selectedPeriod*/
5373
5408
  e[2],
5374
5409
  !0
5375
- ), a || (c = Y(
5410
+ ), a || (c = q(
5376
5411
  s,
5377
5412
  "change",
5378
5413
  /*select_change_handler_1*/
@@ -5381,8 +5416,8 @@ function ai(e) {
5381
5416
  },
5382
5417
  p(h, m) {
5383
5418
  if (m[0] & /*$_*/
5384
- 8192 && n !== (n = /*$_*/
5385
- h[13]("period") + "") && W(r, n), m[0] & /*selectedLimit, $_*/
5419
+ 8192 && r !== (r = /*$_*/
5420
+ h[13]("period") + "") && W(n, r), m[0] & /*selectedLimit, $_*/
5386
5421
  8194) {
5387
5422
  u = te(Z[
5388
5423
  /*selectedLimit*/
@@ -5390,115 +5425,115 @@ function ai(e) {
5390
5425
  ].periods);
5391
5426
  let f;
5392
5427
  for (f = 0; f < u.length; f += 1) {
5393
- const p = Jt(h, u, f);
5394
- l[f] ? l[f].p(p, m) : (l[f] = ui(p), l[f].c(), l[f].m(s, null));
5428
+ const p = ti(h, u, f);
5429
+ l[f] ? l[f].p(p, m) : (l[f] = fi(p), l[f].c(), l[f].m(s, null));
5395
5430
  }
5396
5431
  for (; f < l.length; f += 1)
5397
5432
  l[f].d(1);
5398
5433
  l.length = u.length;
5399
5434
  }
5400
5435
  m[0] & /*selectedPeriod, selectedLimit*/
5401
- 6 && He(
5436
+ 6 && Ie(
5402
5437
  s,
5403
5438
  /*selectedPeriod*/
5404
5439
  h[2]
5405
5440
  );
5406
5441
  },
5407
5442
  d(h) {
5408
- h && (B(t), B(o), B(s)), Ce(l, h), a = !1, c();
5443
+ h && (A(t), A(o), A(s)), De(l, h), a = !1, c();
5409
5444
  }
5410
5445
  };
5411
5446
  }
5412
- function ui(e) {
5447
+ function fi(e) {
5413
5448
  let t, i = (
5414
5449
  /*$_*/
5415
5450
  e[13](`gamingLimits.${/*period*/
5416
5451
  e[50]}`) + ""
5417
- ), n, r;
5452
+ ), r, n;
5418
5453
  return {
5419
5454
  c() {
5420
- t = v("option"), n = $(i), t.__value = r = /*period*/
5421
- e[50], ve(t, t.__value), t.selected = !0;
5455
+ t = v("option"), r = $(i), t.__value = n = /*period*/
5456
+ e[50], ye(t, t.__value), t.selected = !0;
5422
5457
  },
5423
5458
  m(o, s) {
5424
- N(o, t, s), d(t, n);
5459
+ B(o, t, s), d(t, r);
5425
5460
  },
5426
5461
  p(o, s) {
5427
5462
  s[0] & /*$_, selectedLimit*/
5428
5463
  8194 && i !== (i = /*$_*/
5429
5464
  o[13](`gamingLimits.${/*period*/
5430
- o[50]}`) + "") && W(n, i), s[0] & /*selectedLimit, availableLimits*/
5431
- 32770 && r !== (r = /*period*/
5432
- o[50]) && (t.__value = r, ve(t, t.__value));
5465
+ o[50]}`) + "") && W(r, i), s[0] & /*selectedLimit, availableLimits*/
5466
+ 32770 && n !== (n = /*period*/
5467
+ o[50]) && (t.__value = n, ye(t, t.__value));
5433
5468
  },
5434
5469
  d(o) {
5435
- o && B(t);
5470
+ o && A(t);
5436
5471
  }
5437
5472
  };
5438
5473
  }
5439
- function is(e) {
5440
- let t, i, n = (
5474
+ function ss(e) {
5475
+ let t, i, r = (
5441
5476
  /*popupVisible*/
5442
- e[10] && ti(e)
5477
+ e[10] && oi(e)
5443
5478
  );
5444
- function r(a, c) {
5479
+ function n(a, c) {
5445
5480
  return (
5446
5481
  /*isLoading*/
5447
5482
  a[7] && !/*popupVisible*/
5448
- a[10] ? qo : (
5483
+ a[10] ? es : (
5449
5484
  /*isLoading*/
5450
- a[7] ? Yo : (
5485
+ a[7] ? Ko : (
5451
5486
  /*fetchError*/
5452
- a[8] ? Zo : Xo
5487
+ a[8] ? Qo : Jo
5453
5488
  )
5454
5489
  )
5455
5490
  );
5456
5491
  }
5457
- let o = r(e), s = o(e);
5492
+ let o = n(e), s = o(e);
5458
5493
  return {
5459
5494
  c() {
5460
- t = v("div"), n && n.c(), i = j(), s.c();
5495
+ t = v("div"), r && r.c(), i = U(), s.c();
5461
5496
  },
5462
5497
  m(a, c) {
5463
- N(a, t, c), n && n.m(t, null), d(t, i), s.m(t, null), e[36](t);
5498
+ B(a, t, c), r && r.m(t, null), d(t, i), s.m(t, null), e[36](t);
5464
5499
  },
5465
5500
  p(a, c) {
5466
5501
  /*popupVisible*/
5467
- a[10] ? n ? n.p(a, c) : (n = ti(a), n.c(), n.m(t, i)) : n && (n.d(1), n = null), o === (o = r(a)) && s ? s.p(a, c) : (s.d(1), s = o(a), s && (s.c(), s.m(t, null)));
5502
+ a[10] ? r ? r.p(a, c) : (r = oi(a), r.c(), r.m(t, i)) : r && (r.d(1), r = null), o === (o = n(a)) && s ? s.p(a, c) : (s.d(1), s = o(a), s && (s.c(), s.m(t, null)));
5468
5503
  },
5469
- i: U,
5470
- o: U,
5504
+ i: j,
5505
+ o: j,
5471
5506
  d(a) {
5472
- a && B(t), n && n.d(), s.d(), e[36](null);
5507
+ a && A(t), r && r.d(), s.d(), e[36](null);
5473
5508
  }
5474
5509
  };
5475
5510
  }
5476
- function ns(e, t, i) {
5477
- let n;
5478
- pn(e, To, (b) => i(13, n = b));
5479
- let { lang: r = "en" } = t, { currency: o = "" } = t, { limits: s = "" } = t, { session: a = "" } = t, { userid: c = "" } = t, { endpoint: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: m = "" } = t, { mbsource: f } = t, p, _ = window.navigator.userAgent, R = !jo(_), P = [], L = "", w = "", H, A, M = !1, D = !1, E = !0, G = !1, k = !1, K = !1, Fe = !1, Ge = "", we;
5480
- const yt = { EUR: "€", RON: " lei" }, zi = {
5511
+ function as(e, t, i) {
5512
+ let r;
5513
+ gr(e, Ao, (b) => i(13, r = b));
5514
+ let { lang: n = "en" } = t, { currency: o = "" } = t, { limits: s = "" } = t, { session: a = "" } = t, { userid: c = "" } = t, { endpoint: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: m = "" } = t, { mbsource: f } = t, p, _ = window.navigator.userAgent, R = !zo(_), S = [], L = "", w = "", O, P, H = !1, D = !1, E = !0, G = !1, M = !1, K = !1, ze = !1, We = "", we;
5515
+ const Lt = { EUR: "€", RON: " lei" }, Zi = {
5481
5516
  updatePendingError: ["SYS_1037", "SYS_1142", "SYS_1140"]
5482
- }, Wi = () => {
5517
+ }, Yi = () => {
5483
5518
  fetch(m).then((y) => y.json()).then((y) => {
5484
- Object.keys(y).forEach((I) => {
5485
- Ft(I, y[I]);
5519
+ Object.keys(y).forEach((N) => {
5520
+ Vt(N, y[N]);
5486
5521
  });
5487
5522
  }).catch((y) => {
5488
5523
  console.log(y);
5489
5524
  });
5490
5525
  };
5491
- Object.keys(Gt).forEach((b) => {
5492
- Ft(b, Gt[b]);
5526
+ Object.keys(Xt).forEach((b) => {
5527
+ Vt(b, Xt[b]);
5493
5528
  });
5494
- const Vi = () => {
5529
+ const qi = () => {
5495
5530
  s.split(" ").forEach((y) => {
5496
- Z[y] ? P.push(Z[y]) : console.error(`Unknown limit: ${y}`);
5497
- }), i(1, L = P[0].value), i(2, w = Z[L].periods[0]), i(5, M = P.length > 1), i(6, D = Z[L].periods.length > 1);
5498
- }, Xi = () => {
5531
+ Z[y] ? S.push(Z[y]) : console.error(`Unknown limit: ${y}`);
5532
+ }), i(1, L = S[0].value), i(2, w = Z[L].periods[0]), i(5, H = S.length > 1), i(6, D = Z[L].periods.length > 1);
5533
+ }, Ji = () => {
5499
5534
  i(2, w = Z[L].periods[0]), i(6, D = Z[L].periods.length > 1);
5500
- }, Zi = () => {
5501
- if (!(H > 0))
5535
+ }, Qi = () => {
5536
+ if (!(O > 0))
5502
5537
  return;
5503
5538
  i(10, K = !0), i(7, E = !0);
5504
5539
  let b = new URL(`/v2/player/${c}/limits`, u);
@@ -5506,11 +5541,11 @@ function ns(e, t, i) {
5506
5541
  y[Z[L].callValue] = [
5507
5542
  {
5508
5543
  period: w,
5509
- amount: H,
5544
+ amount: O,
5510
5545
  currency: o
5511
5546
  }
5512
5547
  ];
5513
- let I = {
5548
+ let N = {
5514
5549
  method: "PUT",
5515
5550
  headers: {
5516
5551
  "X-SessionID": a,
@@ -5519,20 +5554,20 @@ function ns(e, t, i) {
5519
5554
  },
5520
5555
  body: JSON.stringify(y)
5521
5556
  };
5522
- fetch(b.href, I).then((C) => (C.status >= 300 && i(9, k = !0), C.json())).then((C) => {
5523
- ze(), k && Yi(C);
5524
- }).catch((C) => {
5525
- console.log(C), i(7, E = !1), i(8, G = !0);
5557
+ fetch(b.href, N).then((k) => (k.status >= 300 && i(9, M = !0), k.json())).then((k) => {
5558
+ Ve(), M && Ki(k);
5559
+ }).catch((k) => {
5560
+ console.log(k), i(7, E = !1), i(8, G = !0);
5526
5561
  });
5527
- }, Yi = (b) => {
5562
+ }, Ki = (b) => {
5528
5563
  const y = b.error.match(/errorCode:(.*)\)/)[1];
5529
5564
  console.error(`API response error: ${y}`);
5530
- let I;
5531
- for (const [C, F] of Object.entries(zi))
5532
- F.includes(y) && (I = n(`gamingLimits.${C}`));
5533
- I = I != null ? I : n("gamingLimits.genericError"), vt(y, I);
5534
- }, ze = () => {
5535
- let b = new URL(`/v2/player/${c}/limits`, u), y = !k, I = {
5565
+ let N;
5566
+ for (const [k, F] of Object.entries(Zi))
5567
+ F.includes(y) && (N = r(`gamingLimits.${k}`));
5568
+ N = N != null ? N : r("gamingLimits.genericError"), xt(y, N);
5569
+ }, Ve = () => {
5570
+ let b = new URL(`/v2/player/${c}/limits`, u), y = !M, N = {
5536
5571
  method: "GET",
5537
5572
  headers: {
5538
5573
  "X-SessionID": a,
@@ -5540,49 +5575,49 @@ function ns(e, t, i) {
5540
5575
  Accept: "application/json"
5541
5576
  }
5542
5577
  };
5543
- fetch(b.href, I).then((C) => {
5544
- if (C.status >= 300)
5578
+ fetch(b.href, N).then((k) => {
5579
+ if (k.status >= 300)
5545
5580
  throw i(7, E = !1), i(8, G = !0), new Error("There was an error fetching the limits");
5546
- return C.json();
5547
- }).then((C) => {
5548
- we = C, K && y && vt(), qi(we), i(7, E = !1), i(3, H = null);
5549
- }).catch((C) => {
5550
- console.log(C), i(7, E = !1), i(8, G = !0);
5581
+ return k.json();
5582
+ }).then((k) => {
5583
+ we = k, K && y && xt(), er(we), i(7, E = !1), i(3, O = null);
5584
+ }).catch((k) => {
5585
+ console.log(k), i(7, E = !1), i(8, G = !0);
5551
5586
  });
5552
- }, qi = (b) => {
5553
- P.forEach((y) => {
5554
- var I;
5555
- y.currentLimits = [], (I = b[Z[y.value].callValue]) == null || I.forEach((C, F) => {
5556
- var Et;
5557
- const q = b[Z[y.value].callValue][F];
5558
- y.currentLimits.push({}), y.currentLimits[F].limitType = y.value, y.currentLimits[F].amount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(q.amount), y.currentLimits[F].currency = (Et = yt[q.currency]) != null ? Et : q.currency, y.currentLimits[F].period = q.period, y.currentLimits[F].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(q.updateAmount), y.currentLimits[F].isModified = q.isModified, y.currentLimits[F].expiryDate = `${new Date(q.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`;
5559
- }), y.currentLimits = Ji(y.currentLimits);
5587
+ }, er = (b) => {
5588
+ S.forEach((y) => {
5589
+ var N;
5590
+ y.currentLimits = [], (N = b[Z[y.value].callValue]) == null || N.forEach((k, F) => {
5591
+ var wt;
5592
+ const J = b[Z[y.value].callValue][F];
5593
+ y.currentLimits.push({}), y.currentLimits[F].limitType = y.value, y.currentLimits[F].amount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(J.amount), y.currentLimits[F].currency = (wt = Lt[J.currency]) != null ? wt : J.currency, y.currentLimits[F].period = J.period, y.currentLimits[F].updateAmount = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(J.updateAmount), y.currentLimits[F].isModified = J.isModified, y.currentLimits[F].expiryDate = `${new Date(J.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)`;
5594
+ }), y.currentLimits = tr(y.currentLimits);
5560
5595
  });
5561
- }, Ji = (b) => {
5596
+ }, tr = (b) => {
5562
5597
  const y = { Daily: 0, Weekly: 1, Monthly: 2 };
5563
- return b.sort((I, C) => y[I.period] - y[C.period]), b;
5564
- }, Qi = () => {
5565
- H > 999999999999999 && i(3, H = 999999999999999);
5566
- const y = H - Math.floor(H) === 0;
5567
- H > 0 && y ? A.removeAttribute("disabled") : A.setAttribute("disabled", "true");
5568
- }, vt = (b, y) => {
5598
+ return b.sort((N, k) => y[N.period] - y[k.period]), b;
5599
+ }, ir = () => {
5600
+ O > 999999999999999 && i(3, O = 999999999999999);
5601
+ const y = O - Math.floor(O) === 0;
5602
+ O > 0 && y ? P.removeAttribute("disabled") : P.setAttribute("disabled", "true");
5603
+ }, xt = (b, y) => {
5569
5604
  if (b)
5570
- i(12, Ge = y);
5605
+ i(12, We = y);
5571
5606
  else if (we) {
5572
- const I = we[Z[L].callValue].filter((q) => q.period === w)[0], C = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(I.amount);
5573
- let F = n("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}", n(`gamingLimits.${L}`).toLowerCase()).replace("{updatedAmount}", C).replace("{currency}", yt[I.currency] || I.currency).replace("{selectedPeriod}", n(`gamingLimits.${w}`).toLowerCase());
5574
- i(12, Ge = I.isModified ? `${n("popupPendingUpdate")} ${new Date(I.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : F);
5607
+ const N = we[Z[L].callValue].filter((J) => J.period === w)[0], k = Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(N.amount);
5608
+ let F = r("gamingLimits.popupImmediateUpdate").replace("{selectedLimit}", r(`gamingLimits.${L}`).toLowerCase()).replace("{updatedAmount}", k).replace("{currency}", Lt[N.currency] || N.currency).replace("{selectedPeriod}", r(`gamingLimits.${w}`).toLowerCase());
5609
+ i(12, We = N.isModified ? `${r("popupPendingUpdate")} ${new Date(N.expiryDate).toLocaleDateString("en-de", { hour: "numeric", minute: "numeric" }).replaceAll("/", ".")} (GMT)` : F);
5575
5610
  } else
5576
5611
  console.error("Couldn't populate popupContent");
5577
- i(11, Fe = !0);
5578
- }, _t = (b) => {
5612
+ i(11, ze = !0);
5613
+ }, Tt = (b) => {
5579
5614
  const y = {
5580
5615
  wager: "wagering",
5581
5616
  loss: "loss",
5582
5617
  deposit: "deposit"
5583
5618
  };
5584
5619
  i(10, K = !0), i(7, E = !0);
5585
- let I = new URL(`/v2/player/${c}/limits/${y[b.limitType]}?periods=${b.period}`, u), C = {
5620
+ let N = new URL(`/v2/player/${c}/limits/${y[b.limitType]}?periods=${b.period}`, u), k = {
5586
5621
  method: "DELETE",
5587
5622
  headers: {
5588
5623
  "X-SessionID": a,
@@ -5590,72 +5625,72 @@ function ns(e, t, i) {
5590
5625
  Accept: "application/json"
5591
5626
  }
5592
5627
  };
5593
- fetch(I.href, C).then((F) => F.json()).then((F) => {
5594
- ze();
5628
+ fetch(N.href, k).then((F) => F.json()).then((F) => {
5629
+ Ve();
5595
5630
  }).catch((F) => {
5596
5631
  console.log(F), i(7, E = !1), i(8, G = !0);
5597
5632
  });
5598
- }, Ki = () => {
5599
- i(11, Fe = i(10, K = !1));
5600
- }, en = () => {
5601
- wo(r);
5633
+ }, rr = () => {
5634
+ i(11, ze = i(10, K = !1));
5635
+ }, nr = () => {
5636
+ Bo(n);
5602
5637
  };
5603
- Ln(() => () => {
5638
+ wr(() => () => {
5604
5639
  });
5605
- const tn = (b) => _t(b);
5606
- function nn() {
5607
- L = Pt(this), i(1, L), i(15, P);
5640
+ const or = (b) => Tt(b);
5641
+ function sr() {
5642
+ L = Ot(this), i(1, L), i(15, S);
5608
5643
  }
5609
- function rn() {
5610
- w = Pt(this), i(2, w), i(1, L);
5644
+ function ar() {
5645
+ w = Ot(this), i(2, w), i(1, L);
5611
5646
  }
5612
- function on() {
5613
- H = fi(this.value), i(3, H);
5647
+ function ur() {
5648
+ O = bi(this.value), i(3, O);
5614
5649
  }
5615
- function sn(b) {
5616
- Oe[b ? "unshift" : "push"](() => {
5617
- A = b, i(4, A);
5650
+ function lr(b) {
5651
+ He[b ? "unshift" : "push"](() => {
5652
+ P = b, i(4, P);
5618
5653
  });
5619
5654
  }
5620
- function an(b) {
5621
- Oe[b ? "unshift" : "push"](() => {
5655
+ function cr(b) {
5656
+ He[b ? "unshift" : "push"](() => {
5622
5657
  p = b, i(0, p);
5623
5658
  });
5624
5659
  }
5625
5660
  return e.$$set = (b) => {
5626
- "lang" in b && i(21, r = b.lang), "currency" in b && i(22, o = b.currency), "limits" in b && i(23, s = b.limits), "session" in b && i(24, a = b.session), "userid" in b && i(25, c = b.userid), "endpoint" in b && i(26, u = b.endpoint), "clientstyling" in b && i(27, l = b.clientstyling), "clientstylingurl" in b && i(28, h = b.clientstylingurl), "translationurl" in b && i(29, m = b.translationurl), "mbsource" in b && i(30, f = b.mbsource);
5661
+ "lang" in b && i(21, n = b.lang), "currency" in b && i(22, o = b.currency), "limits" in b && i(23, s = b.limits), "session" in b && i(24, a = b.session), "userid" in b && i(25, c = b.userid), "endpoint" in b && i(26, u = b.endpoint), "clientstyling" in b && i(27, l = b.clientstyling), "clientstylingurl" in b && i(28, h = b.clientstylingurl), "translationurl" in b && i(29, m = b.translationurl), "mbsource" in b && i(30, f = b.mbsource);
5627
5662
  }, e.$$.update = () => {
5628
5663
  e.$$.dirty[0] & /*limits*/
5629
- 8388608 && s && Vi(), e.$$.dirty[0] & /*lang*/
5630
- 2097152 && r && en(), e.$$.dirty[0] & /*userid, session, endpoint*/
5631
- 117440512 && c && a && u && ze(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5632
- 134217729 && l && p && $o(p, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5633
- 268435457 && h && p && Fo(p, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5634
- 1073741825 && f && p && Go(p, `${f}.Style`), e.$$.dirty[0] & /*translationurl*/
5635
- 536870912 && m && Wi();
5664
+ 8388608 && s && qi(), e.$$.dirty[0] & /*lang*/
5665
+ 2097152 && n && nr(), e.$$.dirty[0] & /*userid, session, endpoint*/
5666
+ 117440512 && c && a && u && Ve(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5667
+ 134217729 && l && p && Wo(p, l), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5668
+ 268435457 && h && p && Vo(p, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5669
+ 1073741825 && f && p && Xo(p, `${f}.Style`), e.$$.dirty[0] & /*translationurl*/
5670
+ 536870912 && m && Yi();
5636
5671
  }, [
5637
5672
  p,
5638
5673
  L,
5639
5674
  w,
5675
+ O,
5676
+ P,
5640
5677
  H,
5641
- A,
5642
- M,
5643
5678
  D,
5644
5679
  E,
5645
5680
  G,
5646
- k,
5681
+ M,
5647
5682
  K,
5648
- Fe,
5649
- Ge,
5650
- n,
5683
+ ze,
5684
+ We,
5685
+ r,
5651
5686
  R,
5652
- P,
5653
- Xi,
5654
- Zi,
5687
+ S,
5688
+ Ji,
5655
5689
  Qi,
5656
- _t,
5657
- Ki,
5658
- r,
5690
+ ir,
5691
+ Tt,
5692
+ rr,
5693
+ n,
5659
5694
  o,
5660
5695
  s,
5661
5696
  a,
@@ -5665,22 +5700,22 @@ function ns(e, t, i) {
5665
5700
  h,
5666
5701
  m,
5667
5702
  f,
5668
- tn,
5669
- nn,
5670
- rn,
5671
- on,
5672
- sn,
5673
- an
5703
+ or,
5704
+ sr,
5705
+ ar,
5706
+ ur,
5707
+ lr,
5708
+ cr
5674
5709
  ];
5675
5710
  }
5676
- class rs extends Mn {
5711
+ class us extends Dr {
5677
5712
  constructor(t) {
5678
- super(), Hn(
5713
+ super(), kr(
5679
5714
  this,
5680
5715
  t,
5681
- ns,
5682
- is,
5683
- ci,
5716
+ as,
5717
+ ss,
5718
+ pi,
5684
5719
  {
5685
5720
  lang: 21,
5686
5721
  currency: 22,
@@ -5693,7 +5728,7 @@ class rs extends Mn {
5693
5728
  translationurl: 29,
5694
5729
  mbsource: 30
5695
5730
  },
5696
- zo,
5731
+ Zo,
5697
5732
  [-1, -1]
5698
5733
  );
5699
5734
  }
@@ -5758,7 +5793,7 @@ class rs extends Mn {
5758
5793
  this.$$set({ mbsource: t }), X();
5759
5794
  }
5760
5795
  }
5761
- On(rs, { lang: {}, currency: {}, limits: {}, session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5796
+ Cr(us, { lang: {}, currency: {}, limits: {}, session: {}, userid: {}, endpoint: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
5762
5797
  export {
5763
- rs as default
5798
+ us as default
5764
5799
  };