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

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