@everymatrix/player-account-gaming-limits-wrapper-2-nd 1.54.11 → 1.55.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,82 +1,82 @@
1
- var Dr = Object.defineProperty, zr = Object.defineProperties;
2
- var $r = Object.getOwnPropertyDescriptors;
3
- var ct = Object.getOwnPropertySymbols;
4
- var Ur = Object.prototype.hasOwnProperty, Gr = Object.prototype.propertyIsEnumerable;
5
- var Me = (e, t, r) => t in e ? Dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ye = (e, t) => {
1
+ var Gr = Object.defineProperty, Fr = Object.defineProperties;
2
+ var jr = Object.getOwnPropertyDescriptors;
3
+ var pt = Object.getOwnPropertySymbols;
4
+ var kr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable;
5
+ var Me = (e, t, r) => t in e ? Gr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ye = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Ur.call(t, r) && Me(e, r, t[r]);
8
- if (ct)
9
- for (var r of ct(t))
10
- Gr.call(t, r) && Me(e, r, t[r]);
7
+ kr.call(t, r) && Me(e, r, t[r]);
8
+ if (pt)
9
+ for (var r of pt(t))
10
+ Vr.call(t, r) && Me(e, r, t[r]);
11
11
  return e;
12
- }, ft = (e, t) => zr(e, $r(t));
12
+ }, dt = (e, t) => Fr(e, jr(t));
13
13
  var M = (e, t, r) => Me(e, typeof t != "symbol" ? t + "" : t, r);
14
- var mt = (e, t, r) => new Promise((i, n) => {
14
+ var yt = (e, t, r) => new Promise((i, n) => {
15
15
  var o = (l) => {
16
16
  try {
17
- a(r.next(l));
17
+ s(r.next(l));
18
18
  } catch (u) {
19
19
  n(u);
20
20
  }
21
- }, s = (l) => {
21
+ }, a = (l) => {
22
22
  try {
23
- a(r.throw(l));
23
+ s(r.throw(l));
24
24
  } catch (u) {
25
25
  n(u);
26
26
  }
27
- }, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(o, s);
28
- a((r = r.apply(e, t)).next());
27
+ }, s = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(o, a);
28
+ s((r = r.apply(e, t)).next());
29
29
  });
30
- function C() {
30
+ function O() {
31
31
  }
32
- function Gt(e) {
32
+ function kt(e) {
33
33
  return e();
34
34
  }
35
- function pt() {
35
+ function bt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
38
  function fe(e) {
39
- e.forEach(Gt);
39
+ e.forEach(kt);
40
40
  }
41
- function at(e) {
41
+ function ut(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Ft(e, t) {
44
+ function Vt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function Fr(e) {
47
+ function Wr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function jt(e, ...t) {
50
+ function Wt(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const i of t)
53
53
  i(void 0);
54
- return C;
54
+ return O;
55
55
  }
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function jr(e, t, r) {
60
- e.$$.on_destroy.push(jt(t, r));
59
+ function Xr(e, t, r) {
60
+ e.$$.on_destroy.push(Wt(t, r));
61
61
  }
62
- function dt(e) {
62
+ function gt(e) {
63
63
  return e == null ? "" : e;
64
64
  }
65
- const Po = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
65
+ const Co = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
66
66
  // @ts-ignore Node typings have this
67
67
  global
68
68
  );
69
69
  function L(e, t) {
70
70
  e.appendChild(t);
71
71
  }
72
- function kr(e, t, r) {
73
- const i = Vr(e);
72
+ function Zr(e, t, r) {
73
+ const i = Qr(e);
74
74
  if (!i.getElementById(t)) {
75
- const n = P("style");
76
- n.id = t, n.textContent = r, Wr(i, n);
75
+ const n = H("style");
76
+ n.id = t, n.textContent = r, Yr(i, n);
77
77
  }
78
78
  }
79
- function Vr(e) {
79
+ function Qr(e) {
80
80
  if (!e) return document;
81
81
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
82
82
  return t && /** @type {ShadowRoot} */
@@ -85,7 +85,7 @@ function Vr(e) {
85
85
  t
86
86
  ) : e.ownerDocument;
87
87
  }
88
- function Wr(e, t) {
88
+ function Yr(e, t) {
89
89
  return L(
90
90
  /** @type {Document} */
91
91
  e.head || e,
@@ -98,11 +98,11 @@ function W(e, t, r) {
98
98
  function k(e) {
99
99
  e.parentNode && e.parentNode.removeChild(e);
100
100
  }
101
- function Xr(e, t) {
101
+ function Jr(e, t) {
102
102
  for (let r = 0; r < e.length; r += 1)
103
103
  e[r] && e[r].d(t);
104
104
  }
105
- function P(e) {
105
+ function H(e) {
106
106
  return document.createElement(e);
107
107
  }
108
108
  function Re(e) {
@@ -111,39 +111,39 @@ function Re(e) {
111
111
  function R(e) {
112
112
  return document.createTextNode(e);
113
113
  }
114
- function Ve() {
114
+ function We() {
115
115
  return R(" ");
116
116
  }
117
- function Ho() {
117
+ function Oo() {
118
118
  return R("");
119
119
  }
120
- function Zr(e, t, r, i) {
120
+ function qr(e, t, r, i) {
121
121
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
122
122
  }
123
123
  function x(e, t, r) {
124
124
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
125
125
  }
126
- function Bo(e, t, r) {
126
+ function Io(e, t, r) {
127
127
  const i = t.toLowerCase();
128
128
  i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : x(e, t, r);
129
129
  }
130
- function Oo(e) {
130
+ function No(e) {
131
131
  return e === "" ? null : +e;
132
132
  }
133
- function Qr(e) {
133
+ function Kr(e) {
134
134
  return Array.from(e.childNodes);
135
135
  }
136
136
  function j(e, t) {
137
137
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
138
138
  t);
139
139
  }
140
- function Co(e, t) {
140
+ function Mo(e, t) {
141
141
  e.value = t == null ? "" : t;
142
142
  }
143
- function Yr(e, t, r, i) {
143
+ function ei(e, t, r, i) {
144
144
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
145
145
  }
146
- function Io(e, t, r) {
146
+ function Ro(e, t, r) {
147
147
  for (let i = 0; i < e.options.length; i += 1) {
148
148
  const n = e.options[i];
149
149
  if (n.__value === t) {
@@ -153,14 +153,14 @@ function Io(e, t, r) {
153
153
  }
154
154
  (!r || t !== void 0) && (e.selectedIndex = -1);
155
155
  }
156
- function No(e) {
156
+ function Do(e) {
157
157
  const t = e.querySelector(":checked");
158
158
  return t && t.__value;
159
159
  }
160
160
  function be(e, t, r) {
161
161
  e.classList.toggle(t, !!r);
162
162
  }
163
- function Jr(e) {
163
+ function ti(e) {
164
164
  const t = {};
165
165
  return e.childNodes.forEach(
166
166
  /** @param {Element} node */
@@ -173,21 +173,21 @@ let le;
173
173
  function ue(e) {
174
174
  le = e;
175
175
  }
176
- function qr() {
176
+ function ri() {
177
177
  if (!le) throw new Error("Function called outside component initialization");
178
178
  return le;
179
179
  }
180
- function Kr(e) {
181
- qr().$$.on_mount.push(e);
180
+ function ii(e) {
181
+ ri().$$.on_mount.push(e);
182
182
  }
183
183
  const Y = [], Le = [];
184
184
  let J = [];
185
- const yt = [], ei = /* @__PURE__ */ Promise.resolve();
186
- let We = !1;
187
- function ti() {
188
- We || (We = !0, ei.then(I));
185
+ const vt = [], ni = /* @__PURE__ */ Promise.resolve();
186
+ let Xe = !1;
187
+ function oi() {
188
+ Xe || (Xe = !0, ni.then(I));
189
189
  }
190
- function Xe(e) {
190
+ function Ze(e) {
191
191
  J.push(e);
192
192
  }
193
193
  const De = /* @__PURE__ */ new Set();
@@ -200,7 +200,7 @@ function I() {
200
200
  try {
201
201
  for (; Z < Y.length; ) {
202
202
  const t = Y[Z];
203
- Z++, ue(t), ri(t.$$);
203
+ Z++, ue(t), si(t.$$);
204
204
  }
205
205
  } catch (t) {
206
206
  throw Y.length = 0, Z = 0, t;
@@ -212,43 +212,43 @@ function I() {
212
212
  }
213
213
  J.length = 0;
214
214
  } while (Y.length);
215
- for (; yt.length; )
216
- yt.pop()();
217
- We = !1, De.clear(), ue(e);
215
+ for (; vt.length; )
216
+ vt.pop()();
217
+ Xe = !1, De.clear(), ue(e);
218
218
  }
219
- function ri(e) {
219
+ function si(e) {
220
220
  if (e.fragment !== null) {
221
221
  e.update(), fe(e.before_update);
222
222
  const t = e.dirty;
223
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
223
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
224
224
  }
225
225
  }
226
- function ii(e) {
226
+ function ai(e) {
227
227
  const t = [], r = [];
228
228
  J.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), J = t;
229
229
  }
230
- const ni = /* @__PURE__ */ new Set();
231
- function oi(e, t) {
232
- e && e.i && (ni.delete(e), e.i(t));
230
+ const ui = /* @__PURE__ */ new Set();
231
+ function li(e, t) {
232
+ e && e.i && (ui.delete(e), e.i(t));
233
233
  }
234
- function bt(e) {
234
+ function _t(e) {
235
235
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
236
236
  }
237
- function si(e, t, r) {
237
+ function hi(e, t, r) {
238
238
  const { fragment: i, after_update: n } = e.$$;
239
- i && i.m(t, r), Xe(() => {
240
- const o = e.$$.on_mount.map(Gt).filter(at);
239
+ i && i.m(t, r), Ze(() => {
240
+ const o = e.$$.on_mount.map(kt).filter(ut);
241
241
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : fe(o), e.$$.on_mount = [];
242
- }), n.forEach(Xe);
242
+ }), n.forEach(Ze);
243
243
  }
244
- function ai(e, t) {
244
+ function ci(e, t) {
245
245
  const r = e.$$;
246
- r.fragment !== null && (ii(r.after_update), fe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
246
+ r.fragment !== null && (ai(r.after_update), fe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
247
247
  }
248
- function ui(e, t) {
249
- e.$$.dirty[0] === -1 && (Y.push(e), ti(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
248
+ function fi(e, t) {
249
+ e.$$.dirty[0] === -1 && (Y.push(e), oi(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
250
250
  }
251
- function li(e, t, r, i, n, o, s = null, a = [-1]) {
251
+ function mi(e, t, r, i, n, o, a = null, s = [-1]) {
252
252
  const l = le;
253
253
  ue(e);
254
254
  const u = e.$$ = {
@@ -256,9 +256,9 @@ function li(e, t, r, i, n, o, s = null, a = [-1]) {
256
256
  ctx: [],
257
257
  // state
258
258
  props: o,
259
- update: C,
259
+ update: O,
260
260
  not_equal: n,
261
- bound: pt(),
261
+ bound: bt(),
262
262
  // lifecycle
263
263
  on_mount: [],
264
264
  on_destroy: [],
@@ -267,28 +267,28 @@ function li(e, t, r, i, n, o, s = null, a = [-1]) {
267
267
  after_update: [],
268
268
  context: new Map(t.context || (l ? l.$$.context : [])),
269
269
  // everything else
270
- callbacks: pt(),
271
- dirty: a,
270
+ callbacks: bt(),
271
+ dirty: s,
272
272
  skip_bound: !1,
273
273
  root: t.target || l.$$.root
274
274
  };
275
- s && s(u.root);
275
+ a && a(u.root);
276
276
  let h = !1;
277
277
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
278
278
  const y = p.length ? p[0] : f;
279
- return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && ui(e, c)), f;
279
+ return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && fi(e, c)), f;
280
280
  }) : [], u.update(), h = !0, fe(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
281
281
  if (t.hydrate) {
282
- const c = Qr(t.target);
282
+ const c = Kr(t.target);
283
283
  u.fragment && u.fragment.l(c), c.forEach(k);
284
284
  } else
285
285
  u.fragment && u.fragment.c();
286
- t.intro && oi(e.$$.fragment), si(e, t.target, t.anchor), I();
286
+ t.intro && li(e.$$.fragment), hi(e, t.target, t.anchor), I();
287
287
  }
288
288
  ue(l);
289
289
  }
290
- let kt;
291
- typeof HTMLElement == "function" && (kt = class extends HTMLElement {
290
+ let Xt;
291
+ typeof HTMLElement == "function" && (Xt = class extends HTMLElement {
292
292
  constructor(t, r, i) {
293
293
  super();
294
294
  /** The Svelte component constructor */
@@ -325,42 +325,42 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
325
325
  }
326
326
  }
327
327
  connectedCallback() {
328
- return mt(this, null, function* () {
328
+ return yt(this, null, function* () {
329
329
  if (this.$$cn = !0, !this.$$c) {
330
330
  let t = function(o) {
331
331
  return () => {
332
- let s;
332
+ let a;
333
333
  return {
334
334
  c: function() {
335
- s = P("slot"), o !== "default" && x(s, "name", o);
335
+ a = H("slot"), o !== "default" && x(a, "name", o);
336
336
  },
337
337
  /**
338
338
  * @param {HTMLElement} target
339
339
  * @param {HTMLElement} [anchor]
340
340
  */
341
341
  m: function(u, h) {
342
- W(u, s, h);
342
+ W(u, a, h);
343
343
  },
344
344
  d: function(u) {
345
- u && k(s);
345
+ u && k(a);
346
346
  }
347
347
  };
348
348
  };
349
349
  };
350
350
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
351
351
  return;
352
- const r = {}, i = Jr(this);
352
+ const r = {}, i = ti(this);
353
353
  for (const o of this.$$s)
354
354
  o in i && (r[o] = [t(o)]);
355
355
  for (const o of this.attributes) {
356
- const s = this.$$g_p(o.name);
357
- s in this.$$d || (this.$$d[s] = _e(s, o.value, this.$$p_d, "toProp"));
356
+ const a = this.$$g_p(o.name);
357
+ a in this.$$d || (this.$$d[a] = _e(a, o.value, this.$$p_d, "toProp"));
358
358
  }
359
359
  for (const o in this.$$p_d)
360
360
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
361
361
  this.$$c = new this.$$ctor({
362
362
  target: this.shadowRoot || this,
363
- props: ft(ye({}, this.$$d), {
363
+ props: dt(ye({}, this.$$d), {
364
364
  $$slots: r,
365
365
  $$scope: {
366
366
  ctx: []
@@ -371,21 +371,21 @@ typeof HTMLElement == "function" && (kt = class extends HTMLElement {
371
371
  this.$$r = !0;
372
372
  for (const o in this.$$p_d)
373
373
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
374
- const s = _e(
374
+ const a = _e(
375
375
  o,
376
376
  this.$$d[o],
377
377
  this.$$p_d,
378
378
  "toAttribute"
379
379
  );
380
- s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
380
+ a == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, a);
381
381
  }
382
382
  this.$$r = !1;
383
383
  };
384
384
  this.$$c.$$.after_update.push(n), n();
385
385
  for (const o in this.$$l)
386
- for (const s of this.$$l[o]) {
387
- const a = this.$$c.$on(o, s);
388
- this.$$l_u.set(s, a);
386
+ for (const a of this.$$l[o]) {
387
+ const s = this.$$c.$on(o, a);
388
+ this.$$l_u.set(a, s);
389
389
  }
390
390
  this.$$l = {};
391
391
  }
@@ -438,38 +438,38 @@ function _e(e, t, r, i) {
438
438
  return t;
439
439
  }
440
440
  }
441
- function hi(e, t, r, i, n, o) {
442
- let s = class extends kt {
441
+ function pi(e, t, r, i, n, o) {
442
+ let a = class extends Xt {
443
443
  constructor() {
444
444
  super(e, r, n), this.$$p_d = t;
445
445
  }
446
446
  static get observedAttributes() {
447
447
  return Object.keys(t).map(
448
- (a) => (t[a].attribute || a).toLowerCase()
448
+ (s) => (t[s].attribute || s).toLowerCase()
449
449
  );
450
450
  }
451
451
  };
452
- return Object.keys(t).forEach((a) => {
453
- Object.defineProperty(s.prototype, a, {
452
+ return Object.keys(t).forEach((s) => {
453
+ Object.defineProperty(a.prototype, s, {
454
454
  get() {
455
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
455
+ return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
456
456
  },
457
457
  set(l) {
458
458
  var u;
459
- l = _e(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
459
+ l = _e(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
460
460
  }
461
461
  });
462
- }), i.forEach((a) => {
463
- Object.defineProperty(s.prototype, a, {
462
+ }), i.forEach((s) => {
463
+ Object.defineProperty(a.prototype, s, {
464
464
  get() {
465
465
  var l;
466
- return (l = this.$$c) == null ? void 0 : l[a];
466
+ return (l = this.$$c) == null ? void 0 : l[s];
467
467
  }
468
468
  });
469
469
  }), e.element = /** @type {any} */
470
- s, s;
470
+ a, a;
471
471
  }
472
- class ci {
472
+ class di {
473
473
  constructor() {
474
474
  /**
475
475
  * ### PRIVATE API
@@ -490,7 +490,7 @@ class ci {
490
490
  }
491
491
  /** @returns {void} */
492
492
  $destroy() {
493
- ai(this, 1), this.$destroy = C;
493
+ ci(this, 1), this.$destroy = O;
494
494
  }
495
495
  /**
496
496
  * @template {Extract<keyof Events, string>} K
@@ -499,8 +499,8 @@ class ci {
499
499
  * @returns {() => void}
500
500
  */
501
501
  $on(t, r) {
502
- if (!at(r))
503
- return C;
502
+ if (!ut(r))
503
+ return O;
504
504
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
505
505
  return i.push(r), () => {
506
506
  const n = i.indexOf(r);
@@ -512,22 +512,22 @@ class ci {
512
512
  * @returns {void}
513
513
  */
514
514
  $set(t) {
515
- this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
515
+ this.$$set && !Wr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
516
516
  }
517
517
  }
518
- const fi = "4";
519
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fi);
520
- var Ze = function(e, t) {
521
- return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
518
+ const yi = "4";
519
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(yi);
520
+ var Qe = function(e, t) {
521
+ return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
522
522
  r.__proto__ = i;
523
523
  } || function(r, i) {
524
524
  for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
525
- }, Ze(e, t);
525
+ }, Qe(e, t);
526
526
  };
527
527
  function G(e, t) {
528
528
  if (typeof t != "function" && t !== null)
529
529
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
530
- Ze(e, t);
530
+ Qe(e, t);
531
531
  function r() {
532
532
  this.constructor = e;
533
533
  }
@@ -542,7 +542,7 @@ var E = function() {
542
542
  return t;
543
543
  }, E.apply(this, arguments);
544
544
  };
545
- function mi(e, t) {
545
+ function bi(e, t) {
546
546
  var r = {};
547
547
  for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
548
548
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -550,7 +550,7 @@ function mi(e, t) {
550
550
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
551
551
  return r;
552
552
  }
553
- function Qe(e) {
553
+ function Ye(e) {
554
554
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
555
555
  if (r) return r.call(e);
556
556
  if (e && typeof e.length == "number") return {
@@ -560,19 +560,19 @@ function Qe(e) {
560
560
  };
561
561
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
562
562
  }
563
- function Ye(e, t) {
563
+ function Je(e, t) {
564
564
  var r = typeof Symbol == "function" && e[Symbol.iterator];
565
565
  if (!r) return e;
566
- var i = r.call(e), n, o = [], s;
566
+ var i = r.call(e), n, o = [], a;
567
567
  try {
568
568
  for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; ) o.push(n.value);
569
- } catch (a) {
570
- s = { error: a };
569
+ } catch (s) {
570
+ a = { error: s };
571
571
  } finally {
572
572
  try {
573
573
  n && !n.done && (r = i.return) && r.call(i);
574
574
  } finally {
575
- if (s) throw s.error;
575
+ if (a) throw a.error;
576
576
  }
577
577
  }
578
578
  return o;
@@ -585,13 +585,13 @@ function q(e, t, r) {
585
585
  function U(e) {
586
586
  return typeof e == "function";
587
587
  }
588
- function Vt(e) {
588
+ function Zt(e) {
589
589
  var t = function(i) {
590
590
  Error.call(i), i.stack = new Error().stack;
591
591
  }, r = e(t);
592
592
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
593
593
  }
594
- var ze = Vt(function(e) {
594
+ var ze = Zt(function(e) {
595
595
  return function(r) {
596
596
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
597
597
  ` + r.map(function(i, n) {
@@ -600,7 +600,7 @@ var ze = Vt(function(e) {
600
600
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
601
601
  };
602
602
  });
603
- function Je(e, t) {
603
+ function qe(e, t) {
604
604
  if (e) {
605
605
  var r = e.indexOf(t);
606
606
  0 <= r && e.splice(r, 1);
@@ -614,11 +614,11 @@ var Ae = function() {
614
614
  var t, r, i, n, o;
615
615
  if (!this.closed) {
616
616
  this.closed = !0;
617
- var s = this._parentage;
618
- if (s)
619
- if (this._parentage = null, Array.isArray(s))
617
+ var a = this._parentage;
618
+ if (a)
619
+ if (this._parentage = null, Array.isArray(a))
620
620
  try {
621
- for (var a = Qe(s), l = a.next(); !l.done; l = a.next()) {
621
+ for (var s = Ye(a), l = s.next(); !l.done; l = s.next()) {
622
622
  var u = l.value;
623
623
  u.remove(this);
624
624
  }
@@ -626,13 +626,13 @@ var Ae = function() {
626
626
  t = { error: d };
627
627
  } finally {
628
628
  try {
629
- l && !l.done && (r = a.return) && r.call(a);
629
+ l && !l.done && (r = s.return) && r.call(s);
630
630
  } finally {
631
631
  if (t) throw t.error;
632
632
  }
633
633
  }
634
634
  else
635
- s.remove(this);
635
+ a.remove(this);
636
636
  var h = this.initialTeardown;
637
637
  if (U(h))
638
638
  try {
@@ -644,12 +644,12 @@ var Ae = function() {
644
644
  if (c) {
645
645
  this._finalizers = null;
646
646
  try {
647
- for (var f = Qe(c), p = f.next(); !p.done; p = f.next()) {
647
+ for (var f = Ye(c), p = f.next(); !p.done; p = f.next()) {
648
648
  var y = p.value;
649
649
  try {
650
- vt(y);
650
+ Et(y);
651
651
  } catch (d) {
652
- o = o != null ? o : [], d instanceof ze ? o = q(q([], Ye(o)), Ye(d.errors)) : o.push(d);
652
+ o = o != null ? o : [], d instanceof ze ? o = q(q([], Je(o)), Je(d.errors)) : o.push(d);
653
653
  }
654
654
  }
655
655
  } catch (d) {
@@ -669,7 +669,7 @@ var Ae = function() {
669
669
  var r;
670
670
  if (t && t !== this)
671
671
  if (this.closed)
672
- vt(t);
672
+ Et(t);
673
673
  else {
674
674
  if (t instanceof e) {
675
675
  if (t.closed || t._hasParent(this))
@@ -686,52 +686,56 @@ var Ae = function() {
686
686
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
687
687
  }, e.prototype._removeParent = function(t) {
688
688
  var r = this._parentage;
689
- r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
689
+ r === t ? this._parentage = null : Array.isArray(r) && qe(r, t);
690
690
  }, e.prototype.remove = function(t) {
691
691
  var r = this._finalizers;
692
- r && Je(r, t), t instanceof e && t._removeParent(this);
692
+ r && qe(r, t), t instanceof e && t._removeParent(this);
693
693
  }, e.EMPTY = function() {
694
694
  var t = new e();
695
695
  return t.closed = !0, t;
696
696
  }(), e;
697
- }(), Wt = Ae.EMPTY;
698
- function Xt(e) {
697
+ }(), Qt = Ae.EMPTY;
698
+ function Yt(e) {
699
699
  return e instanceof Ae || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
700
700
  }
701
- function vt(e) {
701
+ function Et(e) {
702
702
  U(e) ? e() : e.unsubscribe();
703
703
  }
704
- var pi = {
705
- Promise: void 0
706
- }, di = {
704
+ var Jt = {
705
+ onUnhandledError: null,
706
+ onStoppedNotification: null,
707
+ Promise: void 0,
708
+ useDeprecatedSynchronousErrorHandling: !1,
709
+ useDeprecatedNextContext: !1
710
+ }, gi = {
707
711
  setTimeout: function(e, t) {
708
712
  for (var r = [], i = 2; i < arguments.length; i++)
709
713
  r[i - 2] = arguments[i];
710
- return setTimeout.apply(void 0, q([e, t], Ye(r)));
714
+ return setTimeout.apply(void 0, q([e, t], Je(r)));
711
715
  },
712
716
  clearTimeout: function(e) {
713
717
  return clearTimeout(e);
714
718
  },
715
719
  delegate: void 0
716
720
  };
717
- function yi(e) {
718
- di.setTimeout(function() {
721
+ function vi(e) {
722
+ gi.setTimeout(function() {
719
723
  throw e;
720
724
  });
721
725
  }
722
- function gt() {
726
+ function xt() {
723
727
  }
724
728
  function Ee(e) {
725
729
  e();
726
730
  }
727
- var Zt = function(e) {
731
+ var qt = function(e) {
728
732
  G(t, e);
729
733
  function t(r) {
730
734
  var i = e.call(this) || this;
731
- return i.isStopped = !1, r ? (i.destination = r, Xt(r) && r.add(i)) : i.destination = gi, i;
735
+ return i.isStopped = !1, r ? (i.destination = r, Yt(r) && r.add(i)) : i.destination = Ti, i;
732
736
  }
733
737
  return t.create = function(r, i, n) {
734
- return new qe(r, i, n);
738
+ return new Ke(r, i, n);
735
739
  }, t.prototype.next = function(r) {
736
740
  this.isStopped || this._next(r);
737
741
  }, t.prototype.error = function(r) {
@@ -755,7 +759,11 @@ var Zt = function(e) {
755
759
  this.unsubscribe();
756
760
  }
757
761
  }, t;
758
- }(Ae), bi = function() {
762
+ }(Ae), _i = Function.prototype.bind;
763
+ function $e(e, t) {
764
+ return _i.call(e, t);
765
+ }
766
+ var Ei = function() {
759
767
  function e(t) {
760
768
  this.partialObserver = t;
761
769
  }
@@ -765,7 +773,7 @@ var Zt = function(e) {
765
773
  try {
766
774
  r.next(t);
767
775
  } catch (i) {
768
- ve(i);
776
+ ge(i);
769
777
  }
770
778
  }, e.prototype.error = function(t) {
771
779
  var r = this.partialObserver;
@@ -773,56 +781,68 @@ var Zt = function(e) {
773
781
  try {
774
782
  r.error(t);
775
783
  } catch (i) {
776
- ve(i);
784
+ ge(i);
777
785
  }
778
786
  else
779
- ve(t);
787
+ ge(t);
780
788
  }, e.prototype.complete = function() {
781
789
  var t = this.partialObserver;
782
790
  if (t.complete)
783
791
  try {
784
792
  t.complete();
785
793
  } catch (r) {
786
- ve(r);
794
+ ge(r);
787
795
  }
788
796
  }, e;
789
- }(), qe = function(e) {
797
+ }(), Ke = function(e) {
790
798
  G(t, e);
791
799
  function t(r, i, n) {
792
- var o = e.call(this) || this, s;
793
- return U(r) || !r ? s = {
794
- next: r != null ? r : void 0,
795
- error: i != null ? i : void 0,
796
- complete: n != null ? n : void 0
797
- } : s = r, o.destination = new bi(s), o;
800
+ var o = e.call(this) || this, a;
801
+ if (U(r) || !r)
802
+ a = {
803
+ next: r != null ? r : void 0,
804
+ error: i != null ? i : void 0,
805
+ complete: n != null ? n : void 0
806
+ };
807
+ else {
808
+ var s;
809
+ o && Jt.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
810
+ return o.unsubscribe();
811
+ }, a = {
812
+ next: r.next && $e(r.next, s),
813
+ error: r.error && $e(r.error, s),
814
+ complete: r.complete && $e(r.complete, s)
815
+ }) : a = r;
816
+ }
817
+ return o.destination = new Ei(a), o;
798
818
  }
799
819
  return t;
800
- }(Zt);
801
- function ve(e) {
802
- yi(e);
820
+ }(qt);
821
+ function ge(e) {
822
+ vi(e);
803
823
  }
804
- function vi(e) {
824
+ function xi(e) {
805
825
  throw e;
806
826
  }
807
- var gi = {
827
+ var Ti = {
808
828
  closed: !0,
809
- next: gt,
810
- error: vi,
811
- complete: gt
812
- }, _i = function() {
829
+ next: xt,
830
+ error: xi,
831
+ complete: xt
832
+ }, Li = function() {
813
833
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
814
834
  }();
815
- function Ei(e) {
835
+ function Si(e) {
816
836
  return e;
817
837
  }
818
- function xi(e) {
819
- return e.length === 0 ? Ei : e.length === 1 ? e[0] : function(r) {
838
+ function wi(e) {
839
+ return e.length === 0 ? Si : e.length === 1 ? e[0] : function(r) {
820
840
  return e.reduce(function(i, n) {
821
841
  return n(i);
822
842
  }, r);
823
843
  };
824
844
  }
825
- var _t = function() {
845
+ var Tt = function() {
826
846
  function e(t) {
827
847
  t && (this._subscribe = t);
828
848
  }
@@ -830,10 +850,10 @@ var _t = function() {
830
850
  var r = new e();
831
851
  return r.source = this, r.operator = t, r;
832
852
  }, e.prototype.subscribe = function(t, r, i) {
833
- var n = this, o = Li(t) ? t : new qe(t, r, i);
853
+ var n = this, o = Hi(t) ? t : new Ke(t, r, i);
834
854
  return Ee(function() {
835
- var s = n, a = s.operator, l = s.source;
836
- o.add(a ? a.call(o, l) : l ? n._subscribe(o) : n._trySubscribe(o));
855
+ var a = n, s = a.operator, l = a.source;
856
+ o.add(s ? s.call(o, l) : l ? n._subscribe(o) : n._trySubscribe(o));
837
857
  }), o;
838
858
  }, e.prototype._trySubscribe = function(t) {
839
859
  try {
@@ -843,37 +863,37 @@ var _t = function() {
843
863
  }
844
864
  }, e.prototype.forEach = function(t, r) {
845
865
  var i = this;
846
- return r = Et(r), new r(function(n, o) {
847
- var s = new qe({
848
- next: function(a) {
866
+ return r = Lt(r), new r(function(n, o) {
867
+ var a = new Ke({
868
+ next: function(s) {
849
869
  try {
850
- t(a);
870
+ t(s);
851
871
  } catch (l) {
852
- o(l), s.unsubscribe();
872
+ o(l), a.unsubscribe();
853
873
  }
854
874
  },
855
875
  error: o,
856
876
  complete: n
857
877
  });
858
- i.subscribe(s);
878
+ i.subscribe(a);
859
879
  });
860
880
  }, e.prototype._subscribe = function(t) {
861
881
  var r;
862
882
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
863
- }, e.prototype[_i] = function() {
883
+ }, e.prototype[Li] = function() {
864
884
  return this;
865
885
  }, e.prototype.pipe = function() {
866
886
  for (var t = [], r = 0; r < arguments.length; r++)
867
887
  t[r] = arguments[r];
868
- return xi(t)(this);
888
+ return wi(t)(this);
869
889
  }, e.prototype.toPromise = function(t) {
870
890
  var r = this;
871
- return t = Et(t), new t(function(i, n) {
891
+ return t = Lt(t), new t(function(i, n) {
872
892
  var o;
873
- r.subscribe(function(s) {
874
- return o = s;
875
- }, function(s) {
876
- return n(s);
893
+ r.subscribe(function(a) {
894
+ return o = a;
895
+ }, function(a) {
896
+ return n(a);
877
897
  }, function() {
878
898
  return i(o);
879
899
  });
@@ -882,32 +902,32 @@ var _t = function() {
882
902
  return new e(t);
883
903
  }, e;
884
904
  }();
885
- function Et(e) {
905
+ function Lt(e) {
886
906
  var t;
887
- return (t = e != null ? e : pi.Promise) !== null && t !== void 0 ? t : Promise;
907
+ return (t = e != null ? e : Jt.Promise) !== null && t !== void 0 ? t : Promise;
888
908
  }
889
- function Ti(e) {
909
+ function Ai(e) {
890
910
  return e && U(e.next) && U(e.error) && U(e.complete);
891
911
  }
892
- function Li(e) {
893
- return e && e instanceof Zt || Ti(e) && Xt(e);
912
+ function Hi(e) {
913
+ return e && e instanceof qt || Ai(e) && Yt(e);
894
914
  }
895
- var Si = Vt(function(e) {
915
+ var Pi = Zt(function(e) {
896
916
  return function() {
897
917
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
898
918
  };
899
- }), Qt = function(e) {
919
+ }), Kt = function(e) {
900
920
  G(t, e);
901
921
  function t() {
902
922
  var r = e.call(this) || this;
903
923
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
904
924
  }
905
925
  return t.prototype.lift = function(r) {
906
- var i = new xt(this, this);
926
+ var i = new St(this, this);
907
927
  return i.operator = r, i;
908
928
  }, t.prototype._throwIfClosed = function() {
909
929
  if (this.closed)
910
- throw new Si();
930
+ throw new Pi();
911
931
  }, t.prototype.next = function(r) {
912
932
  var i = this;
913
933
  Ee(function() {
@@ -915,15 +935,15 @@ var Si = Vt(function(e) {
915
935
  if (i._throwIfClosed(), !i.isStopped) {
916
936
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
917
937
  try {
918
- for (var s = Qe(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
919
- var l = a.value;
938
+ for (var a = Ye(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
939
+ var l = s.value;
920
940
  l.next(r);
921
941
  }
922
942
  } catch (u) {
923
943
  n = { error: u };
924
944
  } finally {
925
945
  try {
926
- a && !a.done && (o = s.return) && o.call(s);
946
+ s && !s.done && (o = a.return) && o.call(a);
927
947
  } finally {
928
948
  if (n) throw n.error;
929
949
  }
@@ -962,20 +982,20 @@ var Si = Vt(function(e) {
962
982
  }, t.prototype._subscribe = function(r) {
963
983
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
964
984
  }, t.prototype._innerSubscribe = function(r) {
965
- var i = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
966
- return o || s ? Wt : (this.currentObservers = null, a.push(r), new Ae(function() {
967
- i.currentObservers = null, Je(a, r);
985
+ var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
986
+ return o || a ? Qt : (this.currentObservers = null, s.push(r), new Ae(function() {
987
+ i.currentObservers = null, qe(s, r);
968
988
  }));
969
989
  }, t.prototype._checkFinalizedStatuses = function(r) {
970
- var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
971
- n ? r.error(o) : s && r.complete();
990
+ var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
991
+ n ? r.error(o) : a && r.complete();
972
992
  }, t.prototype.asObservable = function() {
973
- var r = new _t();
993
+ var r = new Tt();
974
994
  return r.source = this, r;
975
995
  }, t.create = function(r, i) {
976
- return new xt(r, i);
996
+ return new St(r, i);
977
997
  }, t;
978
- }(_t), xt = function(e) {
998
+ }(Tt), St = function(e) {
979
999
  G(t, e);
980
1000
  function t(r, i) {
981
1001
  var n = e.call(this) || this;
@@ -992,54 +1012,54 @@ var Si = Vt(function(e) {
992
1012
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
993
1013
  }, t.prototype._subscribe = function(r) {
994
1014
  var i, n;
995
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Wt;
1015
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Qt;
996
1016
  }, t;
997
- }(Qt), Yt = {
1017
+ }(Kt), er = {
998
1018
  now: function() {
999
- return (Yt.delegate || Date).now();
1019
+ return (er.delegate || Date).now();
1000
1020
  },
1001
1021
  delegate: void 0
1002
- }, wi = function(e) {
1022
+ }, Bi = function(e) {
1003
1023
  G(t, e);
1004
1024
  function t(r, i, n) {
1005
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Yt);
1025
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = er);
1006
1026
  var o = e.call(this) || this;
1007
1027
  return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
1008
1028
  }
1009
1029
  return t.prototype.next = function(r) {
1010
- var i = this, n = i.isStopped, o = i._buffer, s = i._infiniteTimeWindow, a = i._timestampProvider, l = i._windowTime;
1011
- n || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1030
+ var i = this, n = i.isStopped, o = i._buffer, a = i._infiniteTimeWindow, s = i._timestampProvider, l = i._windowTime;
1031
+ n || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1012
1032
  }, t.prototype._subscribe = function(r) {
1013
1033
  this._throwIfClosed(), this._trimBuffer();
1014
- for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow, s = n._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
1015
- r.next(a[l]);
1034
+ for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow, a = n._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
1035
+ r.next(s[l]);
1016
1036
  return this._checkFinalizedStatuses(r), i;
1017
1037
  }, t.prototype._trimBuffer = function() {
1018
- var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * i;
1019
- if (i < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1038
+ var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * i;
1039
+ if (i < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1020
1040
  for (var l = n.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1021
1041
  u = h;
1022
1042
  u && o.splice(0, u + 1);
1023
1043
  }
1024
1044
  }, t;
1025
- }(Qt);
1026
- const Tt = [], Lt = {}, Ai = (e, t = 0) => {
1027
- if (Tt.indexOf(e) == -1) {
1028
- const r = new wi(t);
1029
- Lt[e] = r, Tt.push(e);
1045
+ }(Kt);
1046
+ const wt = [], At = {}, Ci = (e, t = 0) => {
1047
+ if (wt.indexOf(e) == -1) {
1048
+ const r = new Bi(t);
1049
+ At[e] = r, wt.push(e);
1030
1050
  }
1031
- return Lt[e];
1051
+ return At[e];
1032
1052
  }, Q = [];
1033
- function Pi(e, t) {
1053
+ function Oi(e, t) {
1034
1054
  return {
1035
- subscribe: Pe(e, t).subscribe
1055
+ subscribe: He(e, t).subscribe
1036
1056
  };
1037
1057
  }
1038
- function Pe(e, t = C) {
1058
+ function He(e, t = O) {
1039
1059
  let r;
1040
1060
  const i = /* @__PURE__ */ new Set();
1041
- function n(a) {
1042
- if (Ft(e, a) && (e = a, r)) {
1061
+ function n(s) {
1062
+ if (Vt(e, s) && (e = s, r)) {
1043
1063
  const l = !Q.length;
1044
1064
  for (const u of i)
1045
1065
  u[1](), Q.push(u, e);
@@ -1050,37 +1070,37 @@ function Pe(e, t = C) {
1050
1070
  }
1051
1071
  }
1052
1072
  }
1053
- function o(a) {
1054
- n(a(e));
1073
+ function o(s) {
1074
+ n(s(e));
1055
1075
  }
1056
- function s(a, l = C) {
1057
- const u = [a, l];
1058
- return i.add(u), i.size === 1 && (r = t(n, o) || C), a(e), () => {
1076
+ function a(s, l = O) {
1077
+ const u = [s, l];
1078
+ return i.add(u), i.size === 1 && (r = t(n, o) || O), s(e), () => {
1059
1079
  i.delete(u), i.size === 0 && r && (r(), r = null);
1060
1080
  };
1061
1081
  }
1062
- return { set: n, update: o, subscribe: s };
1082
+ return { set: n, update: o, subscribe: a };
1063
1083
  }
1064
1084
  function ie(e, t, r) {
1065
1085
  const i = !Array.isArray(e), n = i ? [e] : e;
1066
1086
  if (!n.every(Boolean))
1067
1087
  throw new Error("derived() expects stores as input, got a falsy value");
1068
1088
  const o = t.length < 2;
1069
- return Pi(r, (s, a) => {
1089
+ return Oi(r, (a, s) => {
1070
1090
  let l = !1;
1071
1091
  const u = [];
1072
- let h = 0, c = C;
1092
+ let h = 0, c = O;
1073
1093
  const f = () => {
1074
1094
  if (h)
1075
1095
  return;
1076
1096
  c();
1077
- const y = t(i ? u[0] : u, s, a);
1078
- o ? s(y) : c = at(y) ? y : C;
1097
+ const y = t(i ? u[0] : u, a, s);
1098
+ o ? a(y) : c = ut(y) ? y : O;
1079
1099
  }, p = n.map(
1080
- (y, d) => jt(
1100
+ (y, d) => Wt(
1081
1101
  y,
1082
- (v) => {
1083
- u[d] = v, h &= ~(1 << d), l && f();
1102
+ (g) => {
1103
+ u[d] = g, h &= ~(1 << d), l && f();
1084
1104
  },
1085
1105
  () => {
1086
1106
  h |= 1 << d;
@@ -1092,70 +1112,70 @@ function ie(e, t, r) {
1092
1112
  };
1093
1113
  });
1094
1114
  }
1095
- function Hi(e) {
1115
+ function Ii(e) {
1096
1116
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1097
1117
  }
1098
- var Bi = function(t) {
1099
- return Oi(t) && !Ci(t);
1118
+ var Ni = function(t) {
1119
+ return Mi(t) && !Ri(t);
1100
1120
  };
1101
- function Oi(e) {
1121
+ function Mi(e) {
1102
1122
  return !!e && typeof e == "object";
1103
1123
  }
1104
- function Ci(e) {
1124
+ function Ri(e) {
1105
1125
  var t = Object.prototype.toString.call(e);
1106
- return t === "[object RegExp]" || t === "[object Date]" || Mi(e);
1126
+ return t === "[object RegExp]" || t === "[object Date]" || $i(e);
1107
1127
  }
1108
- var Ii = typeof Symbol == "function" && Symbol.for, Ni = Ii ? Symbol.for("react.element") : 60103;
1109
- function Mi(e) {
1110
- return e.$$typeof === Ni;
1128
+ var Di = typeof Symbol == "function" && Symbol.for, zi = Di ? Symbol.for("react.element") : 60103;
1129
+ function $i(e) {
1130
+ return e.$$typeof === zi;
1111
1131
  }
1112
- function Ri(e) {
1132
+ function Ui(e) {
1113
1133
  return Array.isArray(e) ? [] : {};
1114
1134
  }
1115
1135
  function he(e, t) {
1116
- return t.clone !== !1 && t.isMergeableObject(e) ? K(Ri(e), e, t) : e;
1136
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(Ui(e), e, t) : e;
1117
1137
  }
1118
- function Di(e, t, r) {
1138
+ function Gi(e, t, r) {
1119
1139
  return e.concat(t).map(function(i) {
1120
1140
  return he(i, r);
1121
1141
  });
1122
1142
  }
1123
- function zi(e, t) {
1143
+ function Fi(e, t) {
1124
1144
  if (!t.customMerge)
1125
1145
  return K;
1126
1146
  var r = t.customMerge(e);
1127
1147
  return typeof r == "function" ? r : K;
1128
1148
  }
1129
- function $i(e) {
1149
+ function ji(e) {
1130
1150
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1131
1151
  return Object.propertyIsEnumerable.call(e, t);
1132
1152
  }) : [];
1133
1153
  }
1134
- function St(e) {
1135
- return Object.keys(e).concat($i(e));
1154
+ function Ht(e) {
1155
+ return Object.keys(e).concat(ji(e));
1136
1156
  }
1137
- function Jt(e, t) {
1157
+ function tr(e, t) {
1138
1158
  try {
1139
1159
  return t in e;
1140
1160
  } catch (r) {
1141
1161
  return !1;
1142
1162
  }
1143
1163
  }
1144
- function Ui(e, t) {
1145
- return Jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1164
+ function ki(e, t) {
1165
+ return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1146
1166
  }
1147
- function Gi(e, t, r) {
1167
+ function Vi(e, t, r) {
1148
1168
  var i = {};
1149
- return r.isMergeableObject(e) && St(e).forEach(function(n) {
1169
+ return r.isMergeableObject(e) && Ht(e).forEach(function(n) {
1150
1170
  i[n] = he(e[n], r);
1151
- }), St(t).forEach(function(n) {
1152
- Ui(e, n) || (Jt(e, n) && r.isMergeableObject(t[n]) ? i[n] = zi(n, r)(e[n], t[n], r) : i[n] = he(t[n], r));
1171
+ }), Ht(t).forEach(function(n) {
1172
+ ki(e, n) || (tr(e, n) && r.isMergeableObject(t[n]) ? i[n] = Fi(n, r)(e[n], t[n], r) : i[n] = he(t[n], r));
1153
1173
  }), i;
1154
1174
  }
1155
1175
  function K(e, t, r) {
1156
- r = r || {}, r.arrayMerge = r.arrayMerge || Di, r.isMergeableObject = r.isMergeableObject || Bi, r.cloneUnlessOtherwiseSpecified = he;
1176
+ r = r || {}, r.arrayMerge = r.arrayMerge || Gi, r.isMergeableObject = r.isMergeableObject || Ni, r.cloneUnlessOtherwiseSpecified = he;
1157
1177
  var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
1158
- return o ? i ? r.arrayMerge(e, t, r) : Gi(e, t, r) : he(t, r);
1178
+ return o ? i ? r.arrayMerge(e, t, r) : Vi(e, t, r) : he(t, r);
1159
1179
  }
1160
1180
  K.all = function(t, r) {
1161
1181
  if (!Array.isArray(t))
@@ -1164,56 +1184,58 @@ K.all = function(t, r) {
1164
1184
  return K(i, n, r);
1165
1185
  }, {});
1166
1186
  };
1167
- var Fi = K, ji = Fi;
1168
- const ki = /* @__PURE__ */ Hi(ji);
1169
- function $e(e, t) {
1170
- var r = t && t.cache ? t.cache : Ji, i = t && t.serializer ? t.serializer : Qi, n = t && t.strategy ? t.strategy : Xi;
1187
+ var Wi = K, Xi = Wi;
1188
+ const Zi = /* @__PURE__ */ Ii(Xi);
1189
+ function Ue(e, t) {
1190
+ var r = t && t.cache ? t.cache : en, i = t && t.serializer ? t.serializer : Ki, n = t && t.strategy ? t.strategy : Yi;
1171
1191
  return n(e, {
1172
1192
  cache: r,
1173
1193
  serializer: i
1174
1194
  });
1175
1195
  }
1176
- function Vi(e) {
1196
+ function Qi(e) {
1177
1197
  return e == null || typeof e == "number" || typeof e == "boolean";
1178
1198
  }
1179
- function Wi(e, t, r, i) {
1180
- var n = Vi(i) ? i : r(i), o = t.get(n);
1199
+ function rr(e, t, r, i) {
1200
+ var n = Qi(i) ? i : r(i), o = t.get(n);
1181
1201
  return typeof o == "undefined" && (o = e.call(this, i), t.set(n, o)), o;
1182
1202
  }
1183
- function qt(e, t, r) {
1203
+ function ir(e, t, r) {
1184
1204
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
1185
1205
  return typeof o == "undefined" && (o = e.apply(this, i), t.set(n, o)), o;
1186
1206
  }
1187
- function Kt(e, t, r, i, n) {
1207
+ function lt(e, t, r, i, n) {
1188
1208
  return r.bind(t, e, i, n);
1189
1209
  }
1190
- function Xi(e, t) {
1191
- var r = e.length === 1 ? Wi : qt;
1192
- return Kt(e, this, r, t.cache.create(), t.serializer);
1210
+ function Yi(e, t) {
1211
+ var r = e.length === 1 ? rr : ir;
1212
+ return lt(e, this, r, t.cache.create(), t.serializer);
1213
+ }
1214
+ function Ji(e, t) {
1215
+ return lt(e, this, ir, t.cache.create(), t.serializer);
1193
1216
  }
1194
- function Zi(e, t) {
1195
- return Kt(e, this, qt, t.cache.create(), t.serializer);
1217
+ function qi(e, t) {
1218
+ return lt(e, this, rr, t.cache.create(), t.serializer);
1196
1219
  }
1197
- var Qi = function() {
1220
+ var Ki = function() {
1198
1221
  return JSON.stringify(arguments);
1199
- }, Yi = (
1200
- /** @class */
1201
- function() {
1202
- function e() {
1203
- this.cache = /* @__PURE__ */ Object.create(null);
1204
- }
1205
- return e.prototype.get = function(t) {
1206
- return this.cache[t];
1207
- }, e.prototype.set = function(t, r) {
1208
- this.cache[t] = r;
1209
- }, e;
1210
- }()
1211
- ), Ji = {
1222
+ };
1223
+ function ht() {
1224
+ this.cache = /* @__PURE__ */ Object.create(null);
1225
+ }
1226
+ ht.prototype.get = function(e) {
1227
+ return this.cache[e];
1228
+ };
1229
+ ht.prototype.set = function(e, t) {
1230
+ this.cache[e] = t;
1231
+ };
1232
+ var en = {
1212
1233
  create: function() {
1213
- return new Yi();
1234
+ return new ht();
1214
1235
  }
1215
- }, Ue = {
1216
- variadic: Zi
1236
+ }, Ge = {
1237
+ variadic: Ji,
1238
+ monadic: qi
1217
1239
  }, b;
1218
1240
  (function(e) {
1219
1241
  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";
@@ -1226,43 +1248,43 @@ var ee;
1226
1248
  (function(e) {
1227
1249
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1228
1250
  })(ee || (ee = {}));
1229
- function wt(e) {
1251
+ function Pt(e) {
1230
1252
  return e.type === S.literal;
1231
1253
  }
1232
- function qi(e) {
1254
+ function tn(e) {
1233
1255
  return e.type === S.argument;
1234
1256
  }
1235
- function er(e) {
1257
+ function nr(e) {
1236
1258
  return e.type === S.number;
1237
1259
  }
1238
- function tr(e) {
1260
+ function or(e) {
1239
1261
  return e.type === S.date;
1240
1262
  }
1241
- function rr(e) {
1263
+ function sr(e) {
1242
1264
  return e.type === S.time;
1243
1265
  }
1244
- function ir(e) {
1266
+ function ar(e) {
1245
1267
  return e.type === S.select;
1246
1268
  }
1247
- function nr(e) {
1269
+ function ur(e) {
1248
1270
  return e.type === S.plural;
1249
1271
  }
1250
- function Ki(e) {
1272
+ function rn(e) {
1251
1273
  return e.type === S.pound;
1252
1274
  }
1253
- function or(e) {
1275
+ function lr(e) {
1254
1276
  return e.type === S.tag;
1255
1277
  }
1256
- function sr(e) {
1278
+ function hr(e) {
1257
1279
  return !!(e && typeof e == "object" && e.type === ee.number);
1258
1280
  }
1259
- function Ke(e) {
1281
+ function et(e) {
1260
1282
  return !!(e && typeof e == "object" && e.type === ee.dateTime);
1261
1283
  }
1262
- var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, en = /(?:[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;
1263
- function tn(e) {
1284
+ var cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, nn = /(?:[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;
1285
+ function on(e) {
1264
1286
  var t = {};
1265
- return e.replace(en, function(r) {
1287
+ return e.replace(nn, function(r) {
1266
1288
  var i = r.length;
1267
1289
  switch (r[0]) {
1268
1290
  case "G":
@@ -1351,36 +1373,36 @@ function tn(e) {
1351
1373
  return "";
1352
1374
  }), t;
1353
1375
  }
1354
- var rn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1355
- function nn(e) {
1376
+ var sn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1377
+ function an(e) {
1356
1378
  if (e.length === 0)
1357
1379
  throw new Error("Number skeleton cannot be empty");
1358
- for (var t = e.split(rn).filter(function(f) {
1380
+ for (var t = e.split(sn).filter(function(f) {
1359
1381
  return f.length > 0;
1360
1382
  }), r = [], i = 0, n = t; i < n.length; i++) {
1361
- var o = n[i], s = o.split("/");
1362
- if (s.length === 0)
1383
+ var o = n[i], a = o.split("/");
1384
+ if (a.length === 0)
1363
1385
  throw new Error("Invalid number skeleton");
1364
- for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1386
+ for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1365
1387
  var c = h[u];
1366
1388
  if (c.length === 0)
1367
1389
  throw new Error("Invalid number skeleton");
1368
1390
  }
1369
- r.push({ stem: a, options: l });
1391
+ r.push({ stem: s, options: l });
1370
1392
  }
1371
1393
  return r;
1372
1394
  }
1373
- function on(e) {
1395
+ function un(e) {
1374
1396
  return e.replace(/^(.*?)-/, "");
1375
1397
  }
1376
- var At = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, sn = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
1377
- function Pt(e) {
1398
+ var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, ln = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
1399
+ function Ct(e) {
1378
1400
  var t = {};
1379
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, i, n) {
1401
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, i, n) {
1380
1402
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
1381
1403
  }), t;
1382
1404
  }
1383
- function hr(e) {
1405
+ function pr(e) {
1384
1406
  switch (e) {
1385
1407
  case "sign-auto":
1386
1408
  return {
@@ -1420,7 +1442,7 @@ function hr(e) {
1420
1442
  };
1421
1443
  }
1422
1444
  }
1423
- function an(e) {
1445
+ function hn(e) {
1424
1446
  var t;
1425
1447
  if (e[0] === "E" && e[1] === "E" ? (t = {
1426
1448
  notation: "engineering"
@@ -1428,17 +1450,17 @@ function an(e) {
1428
1450
  notation: "scientific"
1429
1451
  }, e = e.slice(1)), t) {
1430
1452
  var r = e.slice(0, 2);
1431
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
1453
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
1432
1454
  throw new Error("Malformed concise eng/scientific notation");
1433
1455
  t.minimumIntegerDigits = e.length;
1434
1456
  }
1435
1457
  return t;
1436
1458
  }
1437
- function Ht(e) {
1438
- var t = {}, r = hr(e);
1459
+ function Ot(e) {
1460
+ var t = {}, r = pr(e);
1439
1461
  return r || t;
1440
1462
  }
1441
- function un(e) {
1463
+ function cn(e) {
1442
1464
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
1443
1465
  var n = i[r];
1444
1466
  switch (n.stem) {
@@ -1462,7 +1484,7 @@ function un(e) {
1462
1484
  continue;
1463
1485
  case "measure-unit":
1464
1486
  case "unit":
1465
- t.style = "unit", t.unit = on(n.options[0]);
1487
+ t.style = "unit", t.unit = un(n.options[0]);
1466
1488
  continue;
1467
1489
  case "compact-short":
1468
1490
  case "K":
@@ -1474,12 +1496,12 @@ function un(e) {
1474
1496
  continue;
1475
1497
  case "scientific":
1476
1498
  t = E(E(E({}, t), { notation: "scientific" }), n.options.reduce(function(l, u) {
1477
- return E(E({}, l), Ht(u));
1499
+ return E(E({}, l), Ot(u));
1478
1500
  }, {}));
1479
1501
  continue;
1480
1502
  case "engineering":
1481
1503
  t = E(E(E({}, t), { notation: "engineering" }), n.options.reduce(function(l, u) {
1482
- return E(E({}, l), Ht(u));
1504
+ return E(E({}, l), Ot(u));
1483
1505
  }, {}));
1484
1506
  continue;
1485
1507
  case "notation-simple":
@@ -1524,7 +1546,7 @@ function un(e) {
1524
1546
  case "integer-width":
1525
1547
  if (n.options.length > 1)
1526
1548
  throw new RangeError("integer-width stems only accept a single optional option");
1527
- n.options[0].replace(sn, function(l, u, h, c, f, p) {
1549
+ n.options[0].replace(ln, function(l, u, h, c, f, p) {
1528
1550
  if (u)
1529
1551
  t.minimumIntegerDigits = h.length;
1530
1552
  else {
@@ -1537,32 +1559,32 @@ function un(e) {
1537
1559
  });
1538
1560
  continue;
1539
1561
  }
1540
- if (lr.test(n.stem)) {
1562
+ if (mr.test(n.stem)) {
1541
1563
  t.minimumIntegerDigits = n.stem.length;
1542
1564
  continue;
1543
1565
  }
1544
- if (At.test(n.stem)) {
1566
+ if (Bt.test(n.stem)) {
1545
1567
  if (n.options.length > 1)
1546
1568
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1547
- n.stem.replace(At, function(l, u, h, c, f, p) {
1569
+ n.stem.replace(Bt, function(l, u, h, c, f, p) {
1548
1570
  return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1549
1571
  });
1550
1572
  var o = n.options[0];
1551
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Pt(o)));
1573
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), Ct(o)));
1552
1574
  continue;
1553
1575
  }
1554
- if (ur.test(n.stem)) {
1555
- t = E(E({}, t), Pt(n.stem));
1576
+ if (fr.test(n.stem)) {
1577
+ t = E(E({}, t), Ct(n.stem));
1556
1578
  continue;
1557
1579
  }
1558
- var s = hr(n.stem);
1559
- s && (t = E(E({}, t), s));
1560
- var a = an(n.stem);
1580
+ var a = pr(n.stem);
1561
1581
  a && (t = E(E({}, t), a));
1582
+ var s = hn(n.stem);
1583
+ s && (t = E(E({}, t), s));
1562
1584
  }
1563
1585
  return t;
1564
1586
  }
1565
- var ge = {
1587
+ var ve = {
1566
1588
  "001": [
1567
1589
  "H",
1568
1590
  "h"
@@ -2977,22 +2999,22 @@ var ge = {
2977
2999
  "h"
2978
3000
  ]
2979
3001
  };
2980
- function ln(e, t) {
3002
+ function fn(e, t) {
2981
3003
  for (var r = "", i = 0; i < e.length; i++) {
2982
3004
  var n = e.charAt(i);
2983
3005
  if (n === "j") {
2984
3006
  for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2985
3007
  o++, i++;
2986
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = hn(t);
2987
- for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3008
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = mn(t);
3009
+ for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2988
3010
  r += l;
2989
- for (; s-- > 0; )
3011
+ for (; a-- > 0; )
2990
3012
  r = u + r;
2991
3013
  } else n === "J" ? r += "H" : r += n;
2992
3014
  }
2993
3015
  return r;
2994
3016
  }
2995
- function hn(e) {
3017
+ function mn(e) {
2996
3018
  var t = e.hourCycle;
2997
3019
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2998
3020
  e.hourCycles && // @ts-ignore
@@ -3011,23 +3033,23 @@ function hn(e) {
3011
3033
  }
3012
3034
  var r = e.language, i;
3013
3035
  r !== "root" && (i = e.maximize().region);
3014
- var n = ge[i || ""] || ge[r || ""] || ge["".concat(r, "-001")] || ge["001"];
3036
+ var n = ve[i || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
3015
3037
  return n[0];
3016
3038
  }
3017
- var Ge, cn = new RegExp("^".concat(ar.source, "*")), fn = new RegExp("".concat(ar.source, "*$"));
3018
- function g(e, t) {
3039
+ var Fe, pn = new RegExp("^".concat(cr.source, "*")), dn = new RegExp("".concat(cr.source, "*$"));
3040
+ function v(e, t) {
3019
3041
  return { start: e, end: t };
3020
3042
  }
3021
- var mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), pn = !!String.fromCodePoint, dn = !!Object.fromEntries, yn = !!String.prototype.codePointAt, bn = !!String.prototype.trimStart, vn = !!String.prototype.trimEnd, gn = !!Number.isSafeInteger, _n = gn ? Number.isSafeInteger : function(e) {
3043
+ var yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), bn = !!String.fromCodePoint, gn = !!Object.fromEntries, vn = !!String.prototype.codePointAt, _n = !!String.prototype.trimStart, En = !!String.prototype.trimEnd, xn = !!Number.isSafeInteger, Tn = xn ? Number.isSafeInteger : function(e) {
3022
3044
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3023
- }, et = !0;
3045
+ }, tt = !0;
3024
3046
  try {
3025
- var En = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3026
- et = ((Ge = En.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3047
+ var Ln = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3048
+ tt = ((Fe = Ln.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
3027
3049
  } catch (e) {
3028
- et = !1;
3050
+ tt = !1;
3029
3051
  }
3030
- var Bt = mn ? (
3052
+ var It = yn ? (
3031
3053
  // Native
3032
3054
  function(t, r, i) {
3033
3055
  return t.startsWith(r, i);
@@ -3037,31 +3059,31 @@ var Bt = mn ? (
3037
3059
  function(t, r, i) {
3038
3060
  return t.slice(i, i + r.length) === r;
3039
3061
  }
3040
- ), tt = pn ? String.fromCodePoint : (
3062
+ ), rt = bn ? String.fromCodePoint : (
3041
3063
  // IE11
3042
3064
  function() {
3043
3065
  for (var t = [], r = 0; r < arguments.length; r++)
3044
3066
  t[r] = arguments[r];
3045
- for (var i = "", n = t.length, o = 0, s; n > o; ) {
3046
- if (s = t[o++], s > 1114111)
3047
- throw RangeError(s + " is not a valid code point");
3048
- i += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3067
+ for (var i = "", n = t.length, o = 0, a; n > o; ) {
3068
+ if (a = t[o++], a > 1114111)
3069
+ throw RangeError(a + " is not a valid code point");
3070
+ i += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3049
3071
  }
3050
3072
  return i;
3051
3073
  }
3052
- ), Ot = (
3074
+ ), Nt = (
3053
3075
  // native
3054
- dn ? Object.fromEntries : (
3076
+ gn ? Object.fromEntries : (
3055
3077
  // Ponyfill
3056
3078
  function(t) {
3057
3079
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
3058
- var o = n[i], s = o[0], a = o[1];
3059
- r[s] = a;
3080
+ var o = n[i], a = o[0], s = o[1];
3081
+ r[a] = s;
3060
3082
  }
3061
3083
  return r;
3062
3084
  }
3063
3085
  )
3064
- ), cr = yn ? (
3086
+ ), dr = vn ? (
3065
3087
  // Native
3066
3088
  function(t, r) {
3067
3089
  return t.codePointAt(r);
@@ -3075,7 +3097,7 @@ var Bt = mn ? (
3075
3097
  return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
3076
3098
  }
3077
3099
  }
3078
- ), xn = bn ? (
3100
+ ), Sn = _n ? (
3079
3101
  // Native
3080
3102
  function(t) {
3081
3103
  return t.trimStart();
@@ -3083,9 +3105,9 @@ var Bt = mn ? (
3083
3105
  ) : (
3084
3106
  // Ponyfill
3085
3107
  function(t) {
3086
- return t.replace(cn, "");
3108
+ return t.replace(pn, "");
3087
3109
  }
3088
- ), Tn = vn ? (
3110
+ ), wn = En ? (
3089
3111
  // Native
3090
3112
  function(t) {
3091
3113
  return t.trimEnd();
@@ -3093,32 +3115,32 @@ var Bt = mn ? (
3093
3115
  ) : (
3094
3116
  // Ponyfill
3095
3117
  function(t) {
3096
- return t.replace(fn, "");
3118
+ return t.replace(dn, "");
3097
3119
  }
3098
3120
  );
3099
- function fr(e, t) {
3121
+ function yr(e, t) {
3100
3122
  return new RegExp(e, t);
3101
3123
  }
3102
- var rt;
3103
- if (et) {
3104
- var Ct = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3105
- rt = function(t, r) {
3124
+ var it;
3125
+ if (tt) {
3126
+ var Mt = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3127
+ it = function(t, r) {
3106
3128
  var i;
3107
- Ct.lastIndex = r;
3108
- var n = Ct.exec(t);
3129
+ Mt.lastIndex = r;
3130
+ var n = Mt.exec(t);
3109
3131
  return (i = n[1]) !== null && i !== void 0 ? i : "";
3110
3132
  };
3111
3133
  } else
3112
- rt = function(t, r) {
3134
+ it = function(t, r) {
3113
3135
  for (var i = []; ; ) {
3114
- var n = cr(t, r);
3115
- if (n === void 0 || mr(n) || An(n))
3136
+ var n = dr(t, r);
3137
+ if (n === void 0 || br(n) || Bn(n))
3116
3138
  break;
3117
3139
  i.push(n), r += n >= 65536 ? 2 : 1;
3118
3140
  }
3119
- return tt.apply(void 0, i);
3141
+ return rt.apply(void 0, i);
3120
3142
  };
3121
- var Ln = (
3143
+ var An = (
3122
3144
  /** @class */
3123
3145
  function() {
3124
3146
  function e(t, r) {
@@ -3132,33 +3154,33 @@ var Ln = (
3132
3154
  for (var n = []; !this.isEOF(); ) {
3133
3155
  var o = this.char();
3134
3156
  if (o === 123) {
3135
- var s = this.parseArgument(t, i);
3136
- if (s.err)
3137
- return s;
3138
- n.push(s.val);
3157
+ var a = this.parseArgument(t, i);
3158
+ if (a.err)
3159
+ return a;
3160
+ n.push(a.val);
3139
3161
  } else {
3140
3162
  if (o === 125 && t > 0)
3141
3163
  break;
3142
3164
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3143
- var a = this.clonePosition();
3165
+ var s = this.clonePosition();
3144
3166
  this.bump(), n.push({
3145
3167
  type: S.pound,
3146
- location: g(a, this.clonePosition())
3168
+ location: v(s, this.clonePosition())
3147
3169
  });
3148
3170
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3149
3171
  if (i)
3150
3172
  break;
3151
- return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3152
- } else if (o === 60 && !this.ignoreTag && it(this.peek() || 0)) {
3153
- var s = this.parseTag(t, r);
3154
- if (s.err)
3155
- return s;
3156
- n.push(s.val);
3173
+ return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3174
+ } else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
3175
+ var a = this.parseTag(t, r);
3176
+ if (a.err)
3177
+ return a;
3178
+ n.push(a.val);
3157
3179
  } else {
3158
- var s = this.parseLiteral(t, r);
3159
- if (s.err)
3160
- return s;
3161
- n.push(s.val);
3180
+ var a = this.parseLiteral(t, r);
3181
+ if (a.err)
3182
+ return a;
3183
+ n.push(a.val);
3162
3184
  }
3163
3185
  }
3164
3186
  }
@@ -3172,7 +3194,7 @@ var Ln = (
3172
3194
  val: {
3173
3195
  type: S.literal,
3174
3196
  value: "<".concat(n, "/>"),
3175
- location: g(i, this.clonePosition())
3197
+ location: v(i, this.clonePosition())
3176
3198
  },
3177
3199
  err: null
3178
3200
  };
@@ -3180,27 +3202,27 @@ var Ln = (
3180
3202
  var o = this.parseMessage(t + 1, r, !0);
3181
3203
  if (o.err)
3182
3204
  return o;
3183
- var s = o.val, a = this.clonePosition();
3205
+ var a = o.val, s = this.clonePosition();
3184
3206
  if (this.bumpIf("</")) {
3185
- if (this.isEOF() || !it(this.char()))
3186
- return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3207
+ if (this.isEOF() || !nt(this.char()))
3208
+ return this.error(b.INVALID_TAG, v(s, this.clonePosition()));
3187
3209
  var l = this.clonePosition(), u = this.parseTagName();
3188
- return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3210
+ return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3189
3211
  val: {
3190
3212
  type: S.tag,
3191
3213
  value: n,
3192
- children: s,
3193
- location: g(i, this.clonePosition())
3214
+ children: a,
3215
+ location: v(i, this.clonePosition())
3194
3216
  },
3195
3217
  err: null
3196
- } : this.error(b.INVALID_TAG, g(a, this.clonePosition())));
3218
+ } : this.error(b.INVALID_TAG, v(s, this.clonePosition())));
3197
3219
  } else
3198
- return this.error(b.UNCLOSED_TAG, g(i, this.clonePosition()));
3220
+ return this.error(b.UNCLOSED_TAG, v(i, this.clonePosition()));
3199
3221
  } else
3200
- return this.error(b.INVALID_TAG, g(i, this.clonePosition()));
3222
+ return this.error(b.INVALID_TAG, v(i, this.clonePosition()));
3201
3223
  }, e.prototype.parseTagName = function() {
3202
3224
  var t = this.offset();
3203
- for (this.bump(); !this.isEOF() && wn(this.char()); )
3225
+ for (this.bump(); !this.isEOF() && Pn(this.char()); )
3204
3226
  this.bump();
3205
3227
  return this.message.slice(t, this.offset());
3206
3228
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3210,26 +3232,26 @@ var Ln = (
3210
3232
  n += o;
3211
3233
  continue;
3212
3234
  }
3213
- var s = this.tryParseUnquoted(t, r);
3214
- if (s) {
3215
- n += s;
3216
- continue;
3217
- }
3218
- var a = this.tryParseLeftAngleBracket();
3235
+ var a = this.tryParseUnquoted(t, r);
3219
3236
  if (a) {
3220
3237
  n += a;
3221
3238
  continue;
3222
3239
  }
3240
+ var s = this.tryParseLeftAngleBracket();
3241
+ if (s) {
3242
+ n += s;
3243
+ continue;
3244
+ }
3223
3245
  break;
3224
3246
  }
3225
- var l = g(i, this.clonePosition());
3247
+ var l = v(i, this.clonePosition());
3226
3248
  return {
3227
3249
  val: { type: S.literal, value: n, location: l },
3228
3250
  err: null
3229
3251
  };
3230
3252
  }, e.prototype.tryParseLeftAngleBracket = function() {
3231
3253
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3232
- !Sn(this.peek() || 0)) ? (this.bump(), "<") : null;
3254
+ !Hn(this.peek() || 0)) ? (this.bump(), "<") : null;
3233
3255
  }, e.prototype.tryParseQuote = function(t) {
3234
3256
  if (this.isEOF() || this.char() !== 39)
3235
3257
  return null;
@@ -3263,23 +3285,23 @@ var Ln = (
3263
3285
  r.push(i);
3264
3286
  this.bump();
3265
3287
  }
3266
- return tt.apply(void 0, r);
3288
+ return rt.apply(void 0, r);
3267
3289
  }, e.prototype.tryParseUnquoted = function(t, r) {
3268
3290
  if (this.isEOF())
3269
3291
  return null;
3270
3292
  var i = this.char();
3271
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), tt(i));
3293
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), rt(i));
3272
3294
  }, e.prototype.parseArgument = function(t, r) {
3273
3295
  var i = this.clonePosition();
3274
3296
  if (this.bump(), this.bumpSpace(), this.isEOF())
3275
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(i, this.clonePosition()));
3297
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(i, this.clonePosition()));
3276
3298
  if (this.char() === 125)
3277
- return this.bump(), this.error(b.EMPTY_ARGUMENT, g(i, this.clonePosition()));
3299
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, v(i, this.clonePosition()));
3278
3300
  var n = this.parseIdentifierIfPossible().value;
3279
3301
  if (!n)
3280
- return this.error(b.MALFORMED_ARGUMENT, g(i, this.clonePosition()));
3302
+ return this.error(b.MALFORMED_ARGUMENT, v(i, this.clonePosition()));
3281
3303
  if (this.bumpSpace(), this.isEOF())
3282
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(i, this.clonePosition()));
3304
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(i, this.clonePosition()));
3283
3305
  switch (this.char()) {
3284
3306
  case 125:
3285
3307
  return this.bump(), {
@@ -3287,25 +3309,25 @@ var Ln = (
3287
3309
  type: S.argument,
3288
3310
  // value does not include the opening and closing braces.
3289
3311
  value: n,
3290
- location: g(i, this.clonePosition())
3312
+ location: v(i, this.clonePosition())
3291
3313
  },
3292
3314
  err: null
3293
3315
  };
3294
3316
  case 44:
3295
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
3317
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
3296
3318
  default:
3297
- return this.error(b.MALFORMED_ARGUMENT, g(i, this.clonePosition()));
3319
+ return this.error(b.MALFORMED_ARGUMENT, v(i, this.clonePosition()));
3298
3320
  }
3299
3321
  }, e.prototype.parseIdentifierIfPossible = function() {
3300
- var t = this.clonePosition(), r = this.offset(), i = rt(this.message, r), n = r + i.length;
3322
+ var t = this.clonePosition(), r = this.offset(), i = it(this.message, r), n = r + i.length;
3301
3323
  this.bumpTo(n);
3302
- var o = this.clonePosition(), s = g(t, o);
3303
- return { value: i, location: s };
3324
+ var o = this.clonePosition(), a = v(t, o);
3325
+ return { value: i, location: a };
3304
3326
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
3305
- var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3306
- switch (a) {
3327
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3328
+ switch (s) {
3307
3329
  case "":
3308
- return this.error(b.EXPECT_ARGUMENT_TYPE, g(s, l));
3330
+ return this.error(b.EXPECT_ARGUMENT_TYPE, v(a, l));
3309
3331
  case "number":
3310
3332
  case "date":
3311
3333
  case "time": {
@@ -3316,35 +3338,35 @@ var Ln = (
3316
3338
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3317
3339
  if (c.err)
3318
3340
  return c;
3319
- var f = Tn(c.val);
3341
+ var f = wn(c.val);
3320
3342
  if (f.length === 0)
3321
- return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3322
- var p = g(h, this.clonePosition());
3343
+ return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3344
+ var p = v(h, this.clonePosition());
3323
3345
  u = { style: f, styleLocation: p };
3324
3346
  }
3325
3347
  var y = this.tryParseArgumentClose(n);
3326
3348
  if (y.err)
3327
3349
  return y;
3328
- var d = g(n, this.clonePosition());
3329
- if (u && Bt(u == null ? void 0 : u.style, "::", 0)) {
3330
- var v = xn(u.style.slice(2));
3331
- if (a === "number") {
3332
- var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
3350
+ var d = v(n, this.clonePosition());
3351
+ if (u && It(u == null ? void 0 : u.style, "::", 0)) {
3352
+ var g = Sn(u.style.slice(2));
3353
+ if (s === "number") {
3354
+ var c = this.parseNumberSkeletonFromString(g, u.styleLocation);
3333
3355
  return c.err ? c : {
3334
3356
  val: { type: S.number, value: i, location: d, style: c.val },
3335
3357
  err: null
3336
3358
  };
3337
3359
  } else {
3338
- if (v.length === 0)
3360
+ if (g.length === 0)
3339
3361
  return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3340
- var w = v;
3341
- this.locale && (w = ln(v, this.locale));
3362
+ var w = g;
3363
+ this.locale && (w = fn(g, this.locale));
3342
3364
  var f = {
3343
3365
  type: ee.dateTime,
3344
3366
  pattern: w,
3345
3367
  location: u.styleLocation,
3346
- parsedOptions: this.shouldParseSkeletons ? tn(w) : {}
3347
- }, _ = a === "date" ? S.date : S.time;
3368
+ parsedOptions: this.shouldParseSkeletons ? on(w) : {}
3369
+ }, _ = s === "date" ? S.date : S.time;
3348
3370
  return {
3349
3371
  val: { type: _, value: i, location: d, style: f },
3350
3372
  err: null
@@ -3353,7 +3375,7 @@ var Ln = (
3353
3375
  }
3354
3376
  return {
3355
3377
  val: {
3356
- type: a === "number" ? S.number : a === "date" ? S.date : S.time,
3378
+ type: s === "number" ? S.number : s === "date" ? S.date : S.time,
3357
3379
  value: i,
3358
3380
  location: d,
3359
3381
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -3364,32 +3386,32 @@ var Ln = (
3364
3386
  case "plural":
3365
3387
  case "selectordinal":
3366
3388
  case "select": {
3367
- var H = this.clonePosition();
3389
+ var P = this.clonePosition();
3368
3390
  if (this.bumpSpace(), !this.bumpIf(","))
3369
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(H, E({}, H)));
3391
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(P, E({}, P)));
3370
3392
  this.bumpSpace();
3371
3393
  var D = this.parseIdentifierIfPossible(), N = 0;
3372
- if (a !== "select" && D.value === "offset") {
3394
+ if (s !== "select" && D.value === "offset") {
3373
3395
  if (!this.bumpIf(":"))
3374
- return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3396
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3375
3397
  this.bumpSpace();
3376
3398
  var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3377
3399
  if (c.err)
3378
3400
  return c;
3379
3401
  this.bumpSpace(), D = this.parseIdentifierIfPossible(), N = c.val;
3380
3402
  }
3381
- var z = this.tryParsePluralOrSelectOptions(t, a, r, D);
3403
+ var z = this.tryParsePluralOrSelectOptions(t, s, r, D);
3382
3404
  if (z.err)
3383
3405
  return z;
3384
3406
  var y = this.tryParseArgumentClose(n);
3385
3407
  if (y.err)
3386
3408
  return y;
3387
- var V = g(n, this.clonePosition());
3388
- return a === "select" ? {
3409
+ var V = v(n, this.clonePosition());
3410
+ return s === "select" ? {
3389
3411
  val: {
3390
3412
  type: S.select,
3391
3413
  value: i,
3392
- options: Ot(z.val),
3414
+ options: Nt(z.val),
3393
3415
  location: V
3394
3416
  },
3395
3417
  err: null
@@ -3397,19 +3419,19 @@ var Ln = (
3397
3419
  val: {
3398
3420
  type: S.plural,
3399
3421
  value: i,
3400
- options: Ot(z.val),
3422
+ options: Nt(z.val),
3401
3423
  offset: N,
3402
- pluralType: a === "plural" ? "cardinal" : "ordinal",
3424
+ pluralType: s === "plural" ? "cardinal" : "ordinal",
3403
3425
  location: V
3404
3426
  },
3405
3427
  err: null
3406
3428
  };
3407
3429
  }
3408
3430
  default:
3409
- return this.error(b.INVALID_ARGUMENT_TYPE, g(s, l));
3431
+ return this.error(b.INVALID_ARGUMENT_TYPE, v(a, l));
3410
3432
  }
3411
3433
  }, e.prototype.tryParseArgumentClose = function(t) {
3412
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3434
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3413
3435
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3414
3436
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3415
3437
  var i = this.char();
@@ -3418,7 +3440,7 @@ var Ln = (
3418
3440
  this.bump();
3419
3441
  var n = this.clonePosition();
3420
3442
  if (!this.bumpUntil("'"))
3421
- return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(n, this.clonePosition()));
3443
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(n, this.clonePosition()));
3422
3444
  this.bump();
3423
3445
  break;
3424
3446
  }
@@ -3448,7 +3470,7 @@ var Ln = (
3448
3470
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3449
3471
  var i = [];
3450
3472
  try {
3451
- i = nn(t);
3473
+ i = an(t);
3452
3474
  } catch (n) {
3453
3475
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3454
3476
  }
@@ -3457,55 +3479,55 @@ var Ln = (
3457
3479
  type: ee.number,
3458
3480
  tokens: i,
3459
3481
  location: r,
3460
- parsedOptions: this.shouldParseSkeletons ? un(i) : {}
3482
+ parsedOptions: this.shouldParseSkeletons ? cn(i) : {}
3461
3483
  },
3462
3484
  err: null
3463
3485
  };
3464
3486
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
3465
- for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
3487
+ for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
3466
3488
  if (u.length === 0) {
3467
3489
  var c = this.clonePosition();
3468
3490
  if (r !== "select" && this.bumpIf("=")) {
3469
3491
  var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3470
3492
  if (f.err)
3471
3493
  return f;
3472
- h = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3494
+ h = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3473
3495
  } else
3474
3496
  break;
3475
3497
  }
3476
3498
  if (l.has(u))
3477
3499
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3478
- u === "other" && (s = !0), this.bumpSpace();
3500
+ u === "other" && (a = !0), this.bumpSpace();
3479
3501
  var p = this.clonePosition();
3480
3502
  if (!this.bumpIf("{"))
3481
- return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3503
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3482
3504
  var y = this.parseMessage(t + 1, r, i);
3483
3505
  if (y.err)
3484
3506
  return y;
3485
3507
  var d = this.tryParseArgumentClose(p);
3486
3508
  if (d.err)
3487
3509
  return d;
3488
- a.push([
3510
+ s.push([
3489
3511
  u,
3490
3512
  {
3491
3513
  value: y.val,
3492
- location: g(p, this.clonePosition())
3514
+ location: v(p, this.clonePosition())
3493
3515
  }
3494
3516
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3495
3517
  }
3496
- return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3518
+ return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3497
3519
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3498
3520
  var i = 1, n = this.clonePosition();
3499
3521
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
3500
- for (var o = !1, s = 0; !this.isEOF(); ) {
3501
- var a = this.char();
3502
- if (a >= 48 && a <= 57)
3503
- o = !0, s = s * 10 + (a - 48), this.bump();
3522
+ for (var o = !1, a = 0; !this.isEOF(); ) {
3523
+ var s = this.char();
3524
+ if (s >= 48 && s <= 57)
3525
+ o = !0, a = a * 10 + (s - 48), this.bump();
3504
3526
  else
3505
3527
  break;
3506
3528
  }
3507
- var l = g(n, this.clonePosition());
3508
- return o ? (s *= i, _n(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3529
+ var l = v(n, this.clonePosition());
3530
+ return o ? (a *= i, Tn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3509
3531
  }, e.prototype.offset = function() {
3510
3532
  return this.position.offset;
3511
3533
  }, e.prototype.isEOF = function() {
@@ -3520,7 +3542,7 @@ var Ln = (
3520
3542
  var t = this.position.offset;
3521
3543
  if (t >= this.message.length)
3522
3544
  throw Error("out of bound");
3523
- var r = cr(this.message, t);
3545
+ var r = dr(this.message, t);
3524
3546
  if (r === void 0)
3525
3547
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3526
3548
  return r;
@@ -3539,7 +3561,7 @@ var Ln = (
3539
3561
  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);
3540
3562
  }
3541
3563
  }, e.prototype.bumpIf = function(t) {
3542
- if (Bt(this.message, t, this.offset())) {
3564
+ if (It(this.message, t, this.offset())) {
3543
3565
  for (var r = 0; r < t.length; r++)
3544
3566
  this.bump();
3545
3567
  return !0;
@@ -3561,7 +3583,7 @@ var Ln = (
3561
3583
  break;
3562
3584
  }
3563
3585
  }, e.prototype.bumpSpace = function() {
3564
- for (; !this.isEOF() && mr(this.char()); )
3586
+ for (; !this.isEOF() && br(this.char()); )
3565
3587
  this.bump();
3566
3588
  }, e.prototype.peek = function() {
3567
3589
  if (this.isEOF())
@@ -3571,43 +3593,43 @@ var Ln = (
3571
3593
  }, e;
3572
3594
  }()
3573
3595
  );
3574
- function it(e) {
3596
+ function nt(e) {
3575
3597
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3576
3598
  }
3577
- function Sn(e) {
3578
- return it(e) || e === 47;
3599
+ function Hn(e) {
3600
+ return nt(e) || e === 47;
3579
3601
  }
3580
- function wn(e) {
3602
+ function Pn(e) {
3581
3603
  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;
3582
3604
  }
3583
- function mr(e) {
3605
+ function br(e) {
3584
3606
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3585
3607
  }
3586
- function An(e) {
3608
+ function Bn(e) {
3587
3609
  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;
3588
3610
  }
3589
- function nt(e) {
3611
+ function ot(e) {
3590
3612
  e.forEach(function(t) {
3591
- if (delete t.location, ir(t) || nr(t))
3613
+ if (delete t.location, ar(t) || ur(t))
3592
3614
  for (var r in t.options)
3593
- delete t.options[r].location, nt(t.options[r].value);
3594
- else er(t) && sr(t.style) || (tr(t) || rr(t)) && Ke(t.style) ? delete t.style.location : or(t) && nt(t.children);
3615
+ delete t.options[r].location, ot(t.options[r].value);
3616
+ else nr(t) && hr(t.style) || (or(t) || sr(t)) && et(t.style) ? delete t.style.location : lr(t) && ot(t.children);
3595
3617
  });
3596
3618
  }
3597
- function Pn(e, t) {
3619
+ function Cn(e, t) {
3598
3620
  t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3599
- var r = new Ln(e, t).parse();
3621
+ var r = new An(e, t).parse();
3600
3622
  if (r.err) {
3601
3623
  var i = SyntaxError(b[r.err.kind]);
3602
3624
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3603
3625
  }
3604
- return t != null && t.captureLocation || nt(r.val), r.val;
3626
+ return t != null && t.captureLocation || ot(r.val), r.val;
3605
3627
  }
3606
3628
  var te;
3607
3629
  (function(e) {
3608
3630
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3609
3631
  })(te || (te = {}));
3610
- var He = (
3632
+ var Pe = (
3611
3633
  /** @class */
3612
3634
  function(e) {
3613
3635
  G(t, e);
@@ -3619,7 +3641,7 @@ var He = (
3619
3641
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3620
3642
  }, t;
3621
3643
  }(Error)
3622
- ), It = (
3644
+ ), Rt = (
3623
3645
  /** @class */
3624
3646
  function(e) {
3625
3647
  G(t, e);
@@ -3627,8 +3649,8 @@ var He = (
3627
3649
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3628
3650
  }
3629
3651
  return t;
3630
- }(He)
3631
- ), Hn = (
3652
+ }(Pe)
3653
+ ), On = (
3632
3654
  /** @class */
3633
3655
  function(e) {
3634
3656
  G(t, e);
@@ -3636,8 +3658,8 @@ var He = (
3636
3658
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), te.INVALID_VALUE, n) || this;
3637
3659
  }
3638
3660
  return t;
3639
- }(He)
3640
- ), Bn = (
3661
+ }(Pe)
3662
+ ), In = (
3641
3663
  /** @class */
3642
3664
  function(e) {
3643
3665
  G(t, e);
@@ -3645,129 +3667,129 @@ var He = (
3645
3667
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), te.MISSING_VALUE, i) || this;
3646
3668
  }
3647
3669
  return t;
3648
- }(He)
3649
- ), O;
3670
+ }(Pe)
3671
+ ), C;
3650
3672
  (function(e) {
3651
3673
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3652
- })(O || (O = {}));
3653
- function On(e) {
3674
+ })(C || (C = {}));
3675
+ function Nn(e) {
3654
3676
  return e.length < 2 ? e : e.reduce(function(t, r) {
3655
3677
  var i = t[t.length - 1];
3656
- return !i || i.type !== O.literal || r.type !== O.literal ? t.push(r) : i.value += r.value, t;
3678
+ return !i || i.type !== C.literal || r.type !== C.literal ? t.push(r) : i.value += r.value, t;
3657
3679
  }, []);
3658
3680
  }
3659
- function Cn(e) {
3681
+ function Mn(e) {
3660
3682
  return typeof e == "function";
3661
3683
  }
3662
- function xe(e, t, r, i, n, o, s) {
3663
- if (e.length === 1 && wt(e[0]))
3684
+ function xe(e, t, r, i, n, o, a) {
3685
+ if (e.length === 1 && Pt(e[0]))
3664
3686
  return [
3665
3687
  {
3666
- type: O.literal,
3688
+ type: C.literal,
3667
3689
  value: e[0].value
3668
3690
  }
3669
3691
  ];
3670
- for (var a = [], l = 0, u = e; l < u.length; l++) {
3692
+ for (var s = [], l = 0, u = e; l < u.length; l++) {
3671
3693
  var h = u[l];
3672
- if (wt(h)) {
3673
- a.push({
3674
- type: O.literal,
3694
+ if (Pt(h)) {
3695
+ s.push({
3696
+ type: C.literal,
3675
3697
  value: h.value
3676
3698
  });
3677
3699
  continue;
3678
3700
  }
3679
- if (Ki(h)) {
3680
- typeof o == "number" && a.push({
3681
- type: O.literal,
3701
+ if (rn(h)) {
3702
+ typeof o == "number" && s.push({
3703
+ type: C.literal,
3682
3704
  value: r.getNumberFormat(t).format(o)
3683
3705
  });
3684
3706
  continue;
3685
3707
  }
3686
3708
  var c = h.value;
3687
3709
  if (!(n && c in n))
3688
- throw new Bn(c, s);
3710
+ throw new In(c, a);
3689
3711
  var f = n[c];
3690
- if (qi(h)) {
3691
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3692
- type: typeof f == "string" ? O.literal : O.object,
3712
+ if (tn(h)) {
3713
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3714
+ type: typeof f == "string" ? C.literal : C.object,
3693
3715
  value: f
3694
3716
  });
3695
3717
  continue;
3696
3718
  }
3697
- if (tr(h)) {
3698
- var p = typeof h.style == "string" ? i.date[h.style] : Ke(h.style) ? h.style.parsedOptions : void 0;
3699
- a.push({
3700
- type: O.literal,
3719
+ if (or(h)) {
3720
+ var p = typeof h.style == "string" ? i.date[h.style] : et(h.style) ? h.style.parsedOptions : void 0;
3721
+ s.push({
3722
+ type: C.literal,
3701
3723
  value: r.getDateTimeFormat(t, p).format(f)
3702
3724
  });
3703
3725
  continue;
3704
3726
  }
3705
- if (rr(h)) {
3706
- var p = typeof h.style == "string" ? i.time[h.style] : Ke(h.style) ? h.style.parsedOptions : i.time.medium;
3707
- a.push({
3708
- type: O.literal,
3727
+ if (sr(h)) {
3728
+ var p = typeof h.style == "string" ? i.time[h.style] : et(h.style) ? h.style.parsedOptions : i.time.medium;
3729
+ s.push({
3730
+ type: C.literal,
3709
3731
  value: r.getDateTimeFormat(t, p).format(f)
3710
3732
  });
3711
3733
  continue;
3712
3734
  }
3713
- if (er(h)) {
3714
- var p = typeof h.style == "string" ? i.number[h.style] : sr(h.style) ? h.style.parsedOptions : void 0;
3715
- p && p.scale && (f = f * (p.scale || 1)), a.push({
3716
- type: O.literal,
3735
+ if (nr(h)) {
3736
+ var p = typeof h.style == "string" ? i.number[h.style] : hr(h.style) ? h.style.parsedOptions : void 0;
3737
+ p && p.scale && (f = f * (p.scale || 1)), s.push({
3738
+ type: C.literal,
3717
3739
  value: r.getNumberFormat(t, p).format(f)
3718
3740
  });
3719
3741
  continue;
3720
3742
  }
3721
- if (or(h)) {
3722
- var y = h.children, d = h.value, v = n[d];
3723
- if (!Cn(v))
3724
- throw new Hn(d, "function", s);
3725
- var w = xe(y, t, r, i, n, o), _ = v(w.map(function(N) {
3743
+ if (lr(h)) {
3744
+ var y = h.children, d = h.value, g = n[d];
3745
+ if (!Mn(g))
3746
+ throw new On(d, "function", a);
3747
+ var w = xe(y, t, r, i, n, o), _ = g(w.map(function(N) {
3726
3748
  return N.value;
3727
3749
  }));
3728
- Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(N) {
3750
+ Array.isArray(_) || (_ = [_]), s.push.apply(s, _.map(function(N) {
3729
3751
  return {
3730
- type: typeof N == "string" ? O.literal : O.object,
3752
+ type: typeof N == "string" ? C.literal : C.object,
3731
3753
  value: N
3732
3754
  };
3733
3755
  }));
3734
3756
  }
3735
- if (ir(h)) {
3736
- var H = h.options[f] || h.options.other;
3737
- if (!H)
3738
- throw new It(h.value, f, Object.keys(h.options), s);
3739
- a.push.apply(a, xe(H.value, t, r, i, n));
3757
+ if (ar(h)) {
3758
+ var P = h.options[f] || h.options.other;
3759
+ if (!P)
3760
+ throw new Rt(h.value, f, Object.keys(h.options), a);
3761
+ s.push.apply(s, xe(P.value, t, r, i, n));
3740
3762
  continue;
3741
3763
  }
3742
- if (nr(h)) {
3743
- var H = h.options["=".concat(f)];
3744
- if (!H) {
3764
+ if (ur(h)) {
3765
+ var P = h.options["=".concat(f)];
3766
+ if (!P) {
3745
3767
  if (!Intl.PluralRules)
3746
- throw new He(`Intl.PluralRules is not available in this environment.
3768
+ throw new Pe(`Intl.PluralRules is not available in this environment.
3747
3769
  Try polyfilling it using "@formatjs/intl-pluralrules"
3748
- `, te.MISSING_INTL_API, s);
3770
+ `, te.MISSING_INTL_API, a);
3749
3771
  var D = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3750
- H = h.options[D] || h.options.other;
3772
+ P = h.options[D] || h.options.other;
3751
3773
  }
3752
- if (!H)
3753
- throw new It(h.value, f, Object.keys(h.options), s);
3754
- a.push.apply(a, xe(H.value, t, r, i, n, f - (h.offset || 0)));
3774
+ if (!P)
3775
+ throw new Rt(h.value, f, Object.keys(h.options), a);
3776
+ s.push.apply(s, xe(P.value, t, r, i, n, f - (h.offset || 0)));
3755
3777
  continue;
3756
3778
  }
3757
3779
  }
3758
- return On(a);
3780
+ return Nn(s);
3759
3781
  }
3760
- function In(e, t) {
3782
+ function Rn(e, t) {
3761
3783
  return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3762
3784
  return r[i] = E(E({}, e[i]), t[i] || {}), r;
3763
3785
  }, {})) : e;
3764
3786
  }
3765
- function Nn(e, t) {
3787
+ function Dn(e, t) {
3766
3788
  return t ? Object.keys(e).reduce(function(r, i) {
3767
- return r[i] = In(e[i], t[i]), r;
3789
+ return r[i] = Rn(e[i], t[i]), r;
3768
3790
  }, E({}, e)) : e;
3769
3791
  }
3770
- function Fe(e) {
3792
+ function je(e) {
3771
3793
  return {
3772
3794
  create: function() {
3773
3795
  return {
@@ -3781,39 +3803,39 @@ function Fe(e) {
3781
3803
  }
3782
3804
  };
3783
3805
  }
3784
- function Mn(e) {
3806
+ function zn(e) {
3785
3807
  return e === void 0 && (e = {
3786
3808
  number: {},
3787
3809
  dateTime: {},
3788
3810
  pluralRules: {}
3789
3811
  }), {
3790
- getNumberFormat: $e(function() {
3812
+ getNumberFormat: Ue(function() {
3791
3813
  for (var t, r = [], i = 0; i < arguments.length; i++)
3792
3814
  r[i] = arguments[i];
3793
3815
  return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
3794
3816
  }, {
3795
- cache: Fe(e.number),
3796
- strategy: Ue.variadic
3817
+ cache: je(e.number),
3818
+ strategy: Ge.variadic
3797
3819
  }),
3798
- getDateTimeFormat: $e(function() {
3820
+ getDateTimeFormat: Ue(function() {
3799
3821
  for (var t, r = [], i = 0; i < arguments.length; i++)
3800
3822
  r[i] = arguments[i];
3801
3823
  return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
3802
3824
  }, {
3803
- cache: Fe(e.dateTime),
3804
- strategy: Ue.variadic
3825
+ cache: je(e.dateTime),
3826
+ strategy: Ge.variadic
3805
3827
  }),
3806
- getPluralRules: $e(function() {
3828
+ getPluralRules: Ue(function() {
3807
3829
  for (var t, r = [], i = 0; i < arguments.length; i++)
3808
3830
  r[i] = arguments[i];
3809
3831
  return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
3810
3832
  }, {
3811
- cache: Fe(e.pluralRules),
3812
- strategy: Ue.variadic
3833
+ cache: je(e.pluralRules),
3834
+ strategy: Ge.variadic
3813
3835
  })
3814
3836
  };
3815
3837
  }
3816
- var Rn = (
3838
+ var $n = (
3817
3839
  /** @class */
3818
3840
  function() {
3819
3841
  function e(t, r, i, n) {
@@ -3828,7 +3850,7 @@ var Rn = (
3828
3850
  if (u.length === 1)
3829
3851
  return u[0].value;
3830
3852
  var h = u.reduce(function(c, f) {
3831
- return !c.length || f.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3853
+ return !c.length || f.type !== C.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3832
3854
  }, []);
3833
3855
  return h.length <= 1 ? h[0] || "" : h;
3834
3856
  }, this.formatToParts = function(l) {
@@ -3843,15 +3865,15 @@ var Rn = (
3843
3865
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3844
3866
  if (this.message = t, !e.__parse)
3845
3867
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3846
- var s = n || {};
3847
- s.formatters;
3848
- var a = mi(s, ["formatters"]);
3849
- this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3868
+ var a = n || {};
3869
+ a.formatters;
3870
+ var s = bi(a, ["formatters"]);
3871
+ this.ast = e.__parse(t, E(E({}, s), { locale: this.resolvedLocale }));
3850
3872
  } else
3851
3873
  this.ast = t;
3852
3874
  if (!Array.isArray(this.ast))
3853
3875
  throw new TypeError("A message must be provided as a String or AST.");
3854
- this.formats = Nn(e.formats, i), this.formatters = n && n.formatters || Mn(this.formatterCache);
3876
+ this.formats = Dn(e.formats, i), this.formatters = n && n.formatters || zn(this.formatterCache);
3855
3877
  }
3856
3878
  return Object.defineProperty(e, "defaultLocale", {
3857
3879
  get: function() {
@@ -3864,7 +3886,7 @@ var Rn = (
3864
3886
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3865
3887
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3866
3888
  }
3867
- }, e.__parse = Pn, e.formats = {
3889
+ }, e.__parse = Cn, e.formats = {
3868
3890
  number: {
3869
3891
  integer: {
3870
3892
  maximumFractionDigits: 0
@@ -3925,7 +3947,7 @@ var Rn = (
3925
3947
  }, e;
3926
3948
  }()
3927
3949
  );
3928
- function Dn(e, t) {
3950
+ function Un(e, t) {
3929
3951
  if (t == null)
3930
3952
  return;
3931
3953
  if (t in e)
@@ -3946,92 +3968,92 @@ function Dn(e, t) {
3946
3968
  i = void 0;
3947
3969
  return i;
3948
3970
  }
3949
- const F = {}, zn = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), pr = (e, t) => {
3971
+ const F = {}, Gn = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), gr = (e, t) => {
3950
3972
  if (t == null)
3951
3973
  return;
3952
3974
  if (t in F && e in F[t])
3953
3975
  return F[t][e];
3954
3976
  const r = Be(t);
3955
3977
  for (let i = 0; i < r.length; i++) {
3956
- const n = r[i], o = Un(n, e);
3978
+ const n = r[i], o = jn(n, e);
3957
3979
  if (o)
3958
- return zn(e, t, o);
3980
+ return Gn(e, t, o);
3959
3981
  }
3960
3982
  };
3961
- let ut;
3962
- const me = Pe({});
3963
- function $n(e) {
3964
- return ut[e] || null;
3983
+ let ct;
3984
+ const me = He({});
3985
+ function Fn(e) {
3986
+ return ct[e] || null;
3965
3987
  }
3966
- function dr(e) {
3967
- return e in ut;
3988
+ function vr(e) {
3989
+ return e in ct;
3968
3990
  }
3969
- function Un(e, t) {
3970
- if (!dr(e))
3991
+ function jn(e, t) {
3992
+ if (!vr(e))
3971
3993
  return null;
3972
- const r = $n(e);
3973
- return Dn(r, t);
3994
+ const r = Fn(e);
3995
+ return Un(r, t);
3974
3996
  }
3975
- function Gn(e) {
3997
+ function kn(e) {
3976
3998
  if (e == null)
3977
3999
  return;
3978
4000
  const t = Be(e);
3979
4001
  for (let r = 0; r < t.length; r++) {
3980
4002
  const i = t[r];
3981
- if (dr(i))
4003
+ if (vr(i))
3982
4004
  return i;
3983
4005
  }
3984
4006
  }
3985
- function yr(e, ...t) {
3986
- delete F[e], me.update((r) => (r[e] = ki.all([r[e] || {}, ...t]), r));
4007
+ function _r(e, ...t) {
4008
+ delete F[e], me.update((r) => (r[e] = Zi.all([r[e] || {}, ...t]), r));
3987
4009
  }
3988
4010
  ie(
3989
4011
  [me],
3990
4012
  ([e]) => Object.keys(e)
3991
4013
  );
3992
- me.subscribe((e) => ut = e);
4014
+ me.subscribe((e) => ct = e);
3993
4015
  const Te = {};
3994
- function Fn(e, t) {
4016
+ function Vn(e, t) {
3995
4017
  Te[e].delete(t), Te[e].size === 0 && delete Te[e];
3996
4018
  }
3997
- function br(e) {
4019
+ function Er(e) {
3998
4020
  return Te[e];
3999
4021
  }
4000
- function jn(e) {
4022
+ function Wn(e) {
4001
4023
  return Be(e).map((t) => {
4002
- const r = br(t);
4024
+ const r = Er(t);
4003
4025
  return [t, r ? [...r] : []];
4004
4026
  }).filter(([, t]) => t.length > 0);
4005
4027
  }
4006
- function ot(e) {
4028
+ function st(e) {
4007
4029
  return e == null ? !1 : Be(e).some(
4008
4030
  (t) => {
4009
4031
  var r;
4010
- return (r = br(t)) == null ? void 0 : r.size;
4032
+ return (r = Er(t)) == null ? void 0 : r.size;
4011
4033
  }
4012
4034
  );
4013
4035
  }
4014
- function kn(e, t) {
4036
+ function Xn(e, t) {
4015
4037
  return Promise.all(
4016
- t.map((i) => (Fn(e, i), i().then((n) => n.default || n)))
4017
- ).then((i) => yr(e, ...i));
4038
+ t.map((i) => (Vn(e, i), i().then((n) => n.default || n)))
4039
+ ).then((i) => _r(e, ...i));
4018
4040
  }
4019
4041
  const ae = {};
4020
- function vr(e) {
4021
- if (!ot(e))
4042
+ function xr(e) {
4043
+ if (!st(e))
4022
4044
  return e in ae ? ae[e] : Promise.resolve();
4023
- const t = jn(e);
4045
+ const t = Wn(e);
4024
4046
  return ae[e] = Promise.all(
4025
4047
  t.map(
4026
- ([r, i]) => kn(r, i)
4048
+ ([r, i]) => Xn(r, i)
4027
4049
  )
4028
4050
  ).then(() => {
4029
- if (ot(e))
4030
- return vr(e);
4051
+ if (st(e))
4052
+ return xr(e);
4031
4053
  delete ae[e];
4032
4054
  }), ae[e];
4033
4055
  }
4034
- const Vn = {
4056
+ const Zn = {
4035
4057
  number: {
4036
4058
  scientific: { notation: "scientific" },
4037
4059
  engineering: { notation: "engineering" },
@@ -4060,78 +4082,78 @@ const Vn = {
4060
4082
  timeZoneName: "short"
4061
4083
  }
4062
4084
  }
4063
- }, Wn = {
4085
+ }, Qn = {
4064
4086
  fallbackLocale: null,
4065
4087
  loadingDelay: 200,
4066
- formats: Vn,
4088
+ formats: Zn,
4067
4089
  warnOnMissingMessages: !0,
4068
4090
  handleMissingMessage: void 0,
4069
4091
  ignoreTag: !0
4070
- }, Xn = Wn;
4092
+ }, Yn = Qn;
4071
4093
  function re() {
4072
- return Xn;
4094
+ return Yn;
4073
4095
  }
4074
- const je = Pe(!1);
4075
- var Zn = Object.defineProperty, Qn = Object.defineProperties, Yn = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, qn = Object.prototype.propertyIsEnumerable, Mt = (e, t, r) => t in e ? Zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Kn = (e, t) => {
4096
+ const ke = He(!1);
4097
+ var Jn = Object.defineProperty, qn = Object.defineProperties, Kn = Object.getOwnPropertyDescriptors, Dt = Object.getOwnPropertySymbols, eo = Object.prototype.hasOwnProperty, to = Object.prototype.propertyIsEnumerable, zt = (e, t, r) => t in e ? Jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ro = (e, t) => {
4076
4098
  for (var r in t || (t = {}))
4077
- Jn.call(t, r) && Mt(e, r, t[r]);
4078
- if (Nt)
4079
- for (var r of Nt(t))
4080
- qn.call(t, r) && Mt(e, r, t[r]);
4099
+ eo.call(t, r) && zt(e, r, t[r]);
4100
+ if (Dt)
4101
+ for (var r of Dt(t))
4102
+ to.call(t, r) && zt(e, r, t[r]);
4081
4103
  return e;
4082
- }, eo = (e, t) => Qn(e, Yn(t));
4083
- let st;
4084
- const Se = Pe(null);
4085
- function Rt(e) {
4104
+ }, io = (e, t) => qn(e, Kn(t));
4105
+ let at;
4106
+ const Se = He(null);
4107
+ function $t(e) {
4086
4108
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
4087
4109
  }
4088
4110
  function Be(e, t = re().fallbackLocale) {
4089
- const r = Rt(e);
4090
- return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
4111
+ const r = $t(e);
4112
+ return t ? [.../* @__PURE__ */ new Set([...r, ...$t(t)])] : r;
4091
4113
  }
4092
4114
  function X() {
4093
- return st != null ? st : void 0;
4115
+ return at != null ? at : void 0;
4094
4116
  }
4095
4117
  Se.subscribe((e) => {
4096
- st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4118
+ at = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4097
4119
  });
4098
- const to = (e) => {
4099
- if (e && Gn(e) && ot(e)) {
4120
+ const no = (e) => {
4121
+ if (e && kn(e) && st(e)) {
4100
4122
  const { loadingDelay: t } = re();
4101
4123
  let r;
4102
4124
  return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
4103
- () => je.set(!0),
4125
+ () => ke.set(!0),
4104
4126
  t
4105
- ) : je.set(!0), vr(e).then(() => {
4127
+ ) : ke.set(!0), xr(e).then(() => {
4106
4128
  Se.set(e);
4107
4129
  }).finally(() => {
4108
- clearTimeout(r), je.set(!1);
4130
+ clearTimeout(r), ke.set(!1);
4109
4131
  });
4110
4132
  }
4111
4133
  return Se.set(e);
4112
- }, ne = eo(Kn({}, Se), {
4113
- set: to
4114
- }), Oe = (e) => {
4134
+ }, ne = io(ro({}, Se), {
4135
+ set: no
4136
+ }), Ce = (e) => {
4115
4137
  const t = /* @__PURE__ */ Object.create(null);
4116
4138
  return (i) => {
4117
4139
  const n = JSON.stringify(i);
4118
4140
  return n in t ? t[n] : t[n] = e(i);
4119
4141
  };
4120
4142
  };
4121
- var ro = Object.defineProperty, we = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? ro(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
4143
+ var oo = Object.defineProperty, we = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Lr = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
4122
4144
  for (var r in t || (t = {}))
4123
- gr.call(t, r) && Dt(e, r, t[r]);
4145
+ Tr.call(t, r) && Ut(e, r, t[r]);
4124
4146
  if (we)
4125
4147
  for (var r of we(t))
4126
- _r.call(t, r) && Dt(e, r, t[r]);
4148
+ Lr.call(t, r) && Ut(e, r, t[r]);
4127
4149
  return e;
4128
4150
  }, oe = (e, t) => {
4129
4151
  var r = {};
4130
4152
  for (var i in e)
4131
- gr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4153
+ Tr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4132
4154
  if (e != null && we)
4133
4155
  for (var i of we(e))
4134
- t.indexOf(i) < 0 && _r.call(e, i) && (r[i] = e[i]);
4156
+ t.indexOf(i) < 0 && Lr.call(e, i) && (r[i] = e[i]);
4135
4157
  return r;
4136
4158
  };
4137
4159
  const ce = (e, t) => {
@@ -4139,21 +4161,21 @@ const ce = (e, t) => {
4139
4161
  if (e in r && t in r[e])
4140
4162
  return r[e][t];
4141
4163
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4142
- }, io = Oe(
4164
+ }, so = Ce(
4143
4165
  (e) => {
4144
4166
  var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
4145
4167
  if (r == null)
4146
4168
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4147
4169
  return i && (n = ce("number", i)), new Intl.NumberFormat(r, n);
4148
4170
  }
4149
- ), no = Oe(
4171
+ ), ao = Ce(
4150
4172
  (e) => {
4151
4173
  var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
4152
4174
  if (r == null)
4153
4175
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4154
4176
  return i ? n = ce("date", i) : Object.keys(n).length === 0 && (n = ce("date", "short")), new Intl.DateTimeFormat(r, n);
4155
4177
  }
4156
- ), oo = Oe(
4178
+ ), uo = Ce(
4157
4179
  (e) => {
4158
4180
  var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
4159
4181
  if (r == null)
@@ -4162,57 +4184,57 @@ const ce = (e, t) => {
4162
4184
  );
4163
4185
  return i ? n = ce("time", i) : Object.keys(n).length === 0 && (n = ce("time", "short")), new Intl.DateTimeFormat(r, n);
4164
4186
  }
4165
- ), so = (e = {}) => {
4187
+ ), lo = (e = {}) => {
4166
4188
  var t = e, {
4167
4189
  locale: r = X()
4168
4190
  } = t, i = oe(t, [
4169
4191
  "locale"
4170
4192
  ]);
4171
- return io(lt({ locale: r }, i));
4172
- }, ao = (e = {}) => {
4193
+ return so(ft({ locale: r }, i));
4194
+ }, ho = (e = {}) => {
4173
4195
  var t = e, {
4174
4196
  locale: r = X()
4175
4197
  } = t, i = oe(t, [
4176
4198
  "locale"
4177
4199
  ]);
4178
- return no(lt({ locale: r }, i));
4179
- }, uo = (e = {}) => {
4200
+ return ao(ft({ locale: r }, i));
4201
+ }, co = (e = {}) => {
4180
4202
  var t = e, {
4181
4203
  locale: r = X()
4182
4204
  } = t, i = oe(t, [
4183
4205
  "locale"
4184
4206
  ]);
4185
- return oo(lt({ locale: r }, i));
4186
- }, lo = Oe(
4207
+ return uo(ft({ locale: r }, i));
4208
+ }, fo = Ce(
4187
4209
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4188
- (e, t = X()) => new Rn(e, t, re().formats, {
4210
+ (e, t = X()) => new $n(e, t, re().formats, {
4189
4211
  ignoreTag: re().ignoreTag
4190
4212
  })
4191
- ), ho = (e, t = {}) => {
4213
+ ), mo = (e, t = {}) => {
4192
4214
  var r, i, n, o;
4193
- let s = t;
4194
- typeof e == "object" && (s = e, e = s.id);
4215
+ let a = t;
4216
+ typeof e == "object" && (a = e, e = a.id);
4195
4217
  const {
4196
- values: a,
4218
+ values: s,
4197
4219
  locale: l = X(),
4198
4220
  default: u
4199
- } = s;
4221
+ } = a;
4200
4222
  if (l == null)
4201
4223
  throw new Error(
4202
4224
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4203
4225
  );
4204
- let h = pr(e, l);
4226
+ let h = gr(e, l);
4205
4227
  if (!h)
4206
4228
  h = (o = (n = (i = (r = re()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: l, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
4207
4229
  else if (typeof h != "string")
4208
4230
  return console.warn(
4209
4231
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4210
4232
  ), h;
4211
- if (!a)
4233
+ if (!s)
4212
4234
  return h;
4213
4235
  let c = h;
4214
4236
  try {
4215
- c = lo(h, l).format(a);
4237
+ c = fo(h, l).format(s);
4216
4238
  } catch (f) {
4217
4239
  f instanceof Error && console.warn(
4218
4240
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4220,20 +4242,20 @@ const ce = (e, t) => {
4220
4242
  );
4221
4243
  }
4222
4244
  return c;
4223
- }, co = (e, t) => uo(t).format(e), fo = (e, t) => ao(t).format(e), mo = (e, t) => so(t).format(e), po = (e, t = X()) => pr(e, t), yo = ie([ne, me], () => ho);
4224
- ie([ne], () => co);
4225
- ie([ne], () => fo);
4226
- ie([ne], () => mo);
4227
- ie([ne, me], () => po);
4228
- window.emWidgets = { topic: Ai };
4229
- const bo = (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)), Mo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4230
- function zt(e, t) {
4231
- yr(e, t);
4232
- }
4233
- function vo(e) {
4245
+ }, po = (e, t) => co(t).format(e), yo = (e, t) => ho(t).format(e), bo = (e, t) => lo(t).format(e), go = (e, t = X()) => gr(e, t), vo = ie([ne, me], () => mo);
4246
+ ie([ne], () => po);
4247
+ ie([ne], () => yo);
4248
+ ie([ne], () => bo);
4249
+ ie([ne, me], () => go);
4250
+ window.emWidgets = { topic: Ci };
4251
+ const _o = (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)), zo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4252
+ function Gt(e, t) {
4253
+ _r(e, t);
4254
+ }
4255
+ function Eo(e) {
4234
4256
  ne.set(e);
4235
4257
  }
4236
- const ke = {
4258
+ const Ve = {
4237
4259
  en: {
4238
4260
  expandLimits: "Limit history",
4239
4261
  daily: "per day",
@@ -4464,31 +4486,31 @@ const ke = {
4464
4486
  historyLimitTypeLoss: "Kayıp Limiti"
4465
4487
  }
4466
4488
  };
4467
- function go(e) {
4468
- kr(e, "svelte-16zv8bz", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-16zv8bz.svelte-16zv8bz,.svelte-16zv8bz.svelte-16zv8bz::before,.svelte-16zv8bz.svelte-16zv8bz::after{color:var(--emw--color-typography-contrast, #444444);margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-16zv8bz.svelte-16zv8bz{color:var(--emw--color-white, #FFFFFF)}button.svelte-16zv8bz.svelte-16zv8bz{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-16zv8bz.svelte-16zv8bz{display:flex;align-items:center;margin-right:-14px;background:transparent;border:none;color:var(--emw--color-primary, #22B04E);font-size:var(--emw--font-size-large, 20px);text-transform:capitalize;font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.Mobile.svelte-16zv8bz.svelte-16zv8bz{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-16zv8bz svg.svelte-16zv8bz{width:40px;height:auto;margin-left:-4px}.extended.svelte-16zv8bz.svelte-16zv8bz{transform:rotate(180deg)}.HistoryWrapper.svelte-16zv8bz.svelte-16zv8bz{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea.svelte-16zv8bz{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 20px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea .LimitType.svelte-16zv8bz{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea.Mobile.svelte-16zv8bz{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-16zv8bz.svelte-16zv8bz{display:none}.HistoryRow.svelte-16zv8bz.svelte-16zv8bz{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-16zv8bz.svelte-16zv8bz{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-16zv8bz.svelte-16zv8bz{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-16zv8bz.svelte-16zv8bz{animation:svelte-16zv8bz-animateEntry 0.7s ease-in}@keyframes svelte-16zv8bz-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4489
+ function xo(e) {
4490
+ Zr(e, "svelte-16zv8bz", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-16zv8bz.svelte-16zv8bz,.svelte-16zv8bz.svelte-16zv8bz::before,.svelte-16zv8bz.svelte-16zv8bz::after{color:var(--emw--color-typography-contrast, #444444);margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-16zv8bz.svelte-16zv8bz{color:var(--emw--color-white, #FFFFFF)}button.svelte-16zv8bz.svelte-16zv8bz{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-16zv8bz.svelte-16zv8bz{display:flex;align-items:center;margin-right:-14px;background:transparent;border:none;color:var(--emw--color-primary, #22B04E);font-size:var(--emw--font-size-large, 20px);text-transform:capitalize;font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.Mobile.svelte-16zv8bz.svelte-16zv8bz{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-16zv8bz svg.svelte-16zv8bz{width:40px;height:auto;margin-left:-4px}.extended.svelte-16zv8bz.svelte-16zv8bz{transform:rotate(180deg)}.HistoryWrapper.svelte-16zv8bz.svelte-16zv8bz{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea.svelte-16zv8bz{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 20px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea .LimitType.svelte-16zv8bz{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea.Mobile.svelte-16zv8bz{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-16zv8bz.svelte-16zv8bz{display:none}.HistoryRow.svelte-16zv8bz.svelte-16zv8bz{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-16zv8bz.svelte-16zv8bz{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-16zv8bz.svelte-16zv8bz{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-16zv8bz.svelte-16zv8bz{animation:svelte-16zv8bz-animateEntry 0.7s ease-in}@keyframes svelte-16zv8bz-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4469
4491
  }
4470
- function $t(e, t, r) {
4492
+ function Ft(e, t, r) {
4471
4493
  const i = e.slice();
4472
4494
  return i[38] = t[r], i[39] = t, i[40] = r, i;
4473
4495
  }
4474
- function _o(e) {
4496
+ function To(e) {
4475
4497
  let t, r, i, n = (
4476
4498
  /*$_*/
4477
4499
  e[9]("expandLimits") + ""
4478
- ), o, s, a, l, u, h, c, f, p, y = bt(
4500
+ ), o, a, s, l, u, h, c, f, p, y = _t(
4479
4501
  /*lazyShowedHistoryArray*/
4480
4502
  e[7]
4481
4503
  ), d = [];
4482
- for (let v = 0; v < y.length; v += 1)
4483
- d[v] = Ut($t(e, y, v));
4504
+ for (let g = 0; g < y.length; g += 1)
4505
+ d[g] = jt(Ft(e, y, g));
4484
4506
  return {
4485
4507
  c() {
4486
- t = P("div"), r = P("div"), i = P("button"), o = R(n), s = Ve(), a = Re("svg"), l = Re("path"), u = Re("path"), h = Ve(), c = P("div");
4487
- for (let v = 0; v < d.length; v += 1)
4488
- d[v].c();
4489
- x(l, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), x(l, "class", "svelte-16zv8bz"), x(u, "d", "M0 0h36v36h-36z"), x(u, "fill", "none"), x(u, "class", "svelte-16zv8bz"), x(a, "class", "ExpandArrow " + (/*isDesktop*/
4490
- e[10] ? "" : "Mobile") + " svelte-16zv8bz"), x(a, "xmlns", "http://www.w3.org/2000/svg"), x(a, "width", "36"), x(a, "height", "36"), x(a, "viewBox", "0 0 36 36"), Yr(a, "fill", "var(--emw--color-primary, #22B04E)"), be(
4491
- a,
4508
+ t = H("div"), r = H("div"), i = H("button"), o = R(n), a = We(), s = Re("svg"), l = Re("path"), u = Re("path"), h = We(), c = H("div");
4509
+ for (let g = 0; g < d.length; g += 1)
4510
+ d[g].c();
4511
+ x(l, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), x(l, "class", "svelte-16zv8bz"), x(u, "d", "M0 0h36v36h-36z"), x(u, "fill", "none"), x(u, "class", "svelte-16zv8bz"), x(s, "class", "ExpandArrow " + (/*isDesktop*/
4512
+ e[10] ? "" : "Mobile") + " svelte-16zv8bz"), x(s, "xmlns", "http://www.w3.org/2000/svg"), x(s, "width", "36"), x(s, "height", "36"), x(s, "viewBox", "0 0 36 36"), ei(s, "fill", "var(--emw--color-primary, #22B04E)"), be(
4513
+ s,
4492
4514
  "extended",
4493
4515
  /*extended*/
4494
4516
  e[8]
@@ -4501,36 +4523,36 @@ function _o(e) {
4501
4523
  e[5]
4502
4524
  ), x(r, "class", "HistoryWrapper svelte-16zv8bz"), x(t, "class", "player-account-gaming-limits-history-2 svelte-16zv8bz");
4503
4525
  },
4504
- m(v, w) {
4505
- W(v, t, w), L(t, r), L(r, i), L(i, o), L(i, s), L(i, a), L(a, l), L(a, u), L(r, h), L(r, c);
4526
+ m(g, w) {
4527
+ W(g, t, w), L(t, r), L(r, i), L(i, o), L(i, a), L(i, s), L(s, l), L(s, u), L(r, h), L(r, c);
4506
4528
  for (let _ = 0; _ < d.length; _ += 1)
4507
4529
  d[_] && d[_].m(c, null);
4508
- f || (p = Zr(
4530
+ f || (p = qr(
4509
4531
  i,
4510
4532
  "click",
4511
4533
  /*toggleHistoryDisplayArea*/
4512
4534
  e[11]
4513
4535
  ), f = !0);
4514
4536
  },
4515
- p(v, w) {
4537
+ p(g, w) {
4516
4538
  if (w[0] & /*$_*/
4517
4539
  512 && n !== (n = /*$_*/
4518
- v[9]("expandLimits") + "") && j(o, n), w[0] & /*extended*/
4540
+ g[9]("expandLimits") + "") && j(o, n), w[0] & /*extended*/
4519
4541
  256 && be(
4520
- a,
4542
+ s,
4521
4543
  "extended",
4522
4544
  /*extended*/
4523
- v[8]
4545
+ g[8]
4524
4546
  ), w[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4525
4547
  650) {
4526
- y = bt(
4548
+ y = _t(
4527
4549
  /*lazyShowedHistoryArray*/
4528
- v[7]
4550
+ g[7]
4529
4551
  );
4530
4552
  let _;
4531
4553
  for (_ = 0; _ < y.length; _ += 1) {
4532
- const H = $t(v, y, _);
4533
- d[_] ? d[_].p(H, w) : (d[_] = Ut(H), d[_].c(), d[_].m(c, null));
4554
+ const P = Ft(g, y, _);
4555
+ d[_] ? d[_].p(P, w) : (d[_] = jt(P), d[_].c(), d[_].m(c, null));
4534
4556
  }
4535
4557
  for (; _ < d.length; _ += 1)
4536
4558
  d[_].d(1);
@@ -4541,18 +4563,18 @@ function _o(e) {
4541
4563
  c,
4542
4564
  "hidden",
4543
4565
  /*hidden*/
4544
- v[5]
4566
+ g[5]
4545
4567
  );
4546
4568
  },
4547
- d(v) {
4548
- v && k(t), Xr(d, v), f = !1, p();
4569
+ d(g) {
4570
+ g && k(t), Jr(d, g), f = !1, p();
4549
4571
  }
4550
4572
  };
4551
4573
  }
4552
- function Eo(e) {
4553
- return { c: C, m: C, p: C, d: C };
4574
+ function Lo(e) {
4575
+ return { c: O, m: O, p: O, d: O };
4554
4576
  }
4555
- function xo(e) {
4577
+ function So(e) {
4556
4578
  let t, r = (
4557
4579
  /*lang*/
4558
4580
  (e[0] ? (
@@ -4562,7 +4584,7 @@ function xo(e) {
4562
4584
  ), i;
4563
4585
  return {
4564
4586
  c() {
4565
- t = P("p"), i = R(r), x(t, "class", "svelte-16zv8bz");
4587
+ t = H("p"), i = R(r), x(t, "class", "svelte-16zv8bz");
4566
4588
  },
4567
4589
  m(n, o) {
4568
4590
  W(n, t, o), L(t, i);
@@ -4580,11 +4602,11 @@ function xo(e) {
4580
4602
  }
4581
4603
  };
4582
4604
  }
4583
- function To(e) {
4605
+ function wo(e) {
4584
4606
  let t, r, i, n = (
4585
4607
  /*history*/
4586
4608
  e[38].type + ""
4587
- ), o, s, a = (
4609
+ ), o, a, s = (
4588
4610
  /*history*/
4589
4611
  e[38].amount + ""
4590
4612
  ), l, u, h = (
@@ -4593,17 +4615,17 @@ function To(e) {
4593
4615
  ), c;
4594
4616
  return {
4595
4617
  c() {
4596
- t = P("div"), r = P("span"), i = P("span"), o = R(n), s = P("span"), l = R(a), u = P("span"), c = R(h), x(i, "class", "LimitType svelte-16zv8bz"), x(s, "class", "LimitAmountPeriod svelte-16zv8bz"), x(r, "class", "GeneralLimitInformation svelte-16zv8bz"), x(u, "class", "DateLimitInformation svelte-16zv8bz"), x(t, "class", "HistoryRow svelte-16zv8bz");
4618
+ t = H("div"), r = H("span"), i = H("span"), o = R(n), a = H("span"), l = R(s), u = H("span"), c = R(h), x(i, "class", "LimitType svelte-16zv8bz"), x(a, "class", "LimitAmountPeriod svelte-16zv8bz"), x(r, "class", "GeneralLimitInformation svelte-16zv8bz"), x(u, "class", "DateLimitInformation svelte-16zv8bz"), x(t, "class", "HistoryRow svelte-16zv8bz");
4597
4619
  },
4598
4620
  m(f, p) {
4599
- W(f, t, p), L(t, r), L(r, i), L(i, o), L(r, s), L(s, l), L(t, u), L(u, c);
4621
+ W(f, t, p), L(t, r), L(r, i), L(i, o), L(r, a), L(a, l), L(t, u), L(u, c);
4600
4622
  },
4601
4623
  p(f, p) {
4602
4624
  p[0] & /*lazyShowedHistoryArray*/
4603
4625
  128 && n !== (n = /*history*/
4604
4626
  f[38].type + "") && j(o, n), p[0] & /*lazyShowedHistoryArray*/
4605
- 128 && a !== (a = /*history*/
4606
- f[38].amount + "") && j(l, a), p[0] & /*lazyShowedHistoryArray*/
4627
+ 128 && s !== (s = /*history*/
4628
+ f[38].amount + "") && j(l, s), p[0] & /*lazyShowedHistoryArray*/
4607
4629
  128 && h !== (h = /*history*/
4608
4630
  f[38].date + "") && j(c, h);
4609
4631
  },
@@ -4612,11 +4634,11 @@ function To(e) {
4612
4634
  }
4613
4635
  };
4614
4636
  }
4615
- function Lo(e) {
4637
+ function Ao(e) {
4616
4638
  let t, r, i, n = (
4617
4639
  /*history*/
4618
4640
  e[38].type + ""
4619
- ), o, s, a = (
4641
+ ), o, a, s = (
4620
4642
  /*$_*/
4621
4643
  e[9]("limitRemoved") + ""
4622
4644
  ), l, u, h = (
@@ -4625,17 +4647,17 @@ function Lo(e) {
4625
4647
  ), c;
4626
4648
  return {
4627
4649
  c() {
4628
- t = P("div"), r = P("span"), i = P("span"), o = R(n), s = P("span"), l = R(a), u = P("span"), c = R(h), x(i, "class", "LimitType svelte-16zv8bz"), x(s, "class", "LimitAmountPeriod svelte-16zv8bz"), x(r, "class", "GeneralLimitInformation svelte-16zv8bz"), x(u, "class", "DateLimitInformation svelte-16zv8bz"), x(t, "class", "HistoryRow svelte-16zv8bz");
4650
+ t = H("div"), r = H("span"), i = H("span"), o = R(n), a = H("span"), l = R(s), u = H("span"), c = R(h), x(i, "class", "LimitType svelte-16zv8bz"), x(a, "class", "LimitAmountPeriod svelte-16zv8bz"), x(r, "class", "GeneralLimitInformation svelte-16zv8bz"), x(u, "class", "DateLimitInformation svelte-16zv8bz"), x(t, "class", "HistoryRow svelte-16zv8bz");
4629
4651
  },
4630
4652
  m(f, p) {
4631
- W(f, t, p), L(t, r), L(r, i), L(i, o), L(r, s), L(s, l), L(t, u), L(u, c);
4653
+ W(f, t, p), L(t, r), L(r, i), L(i, o), L(r, a), L(a, l), L(t, u), L(u, c);
4632
4654
  },
4633
4655
  p(f, p) {
4634
4656
  p[0] & /*lazyShowedHistoryArray*/
4635
4657
  128 && n !== (n = /*history*/
4636
4658
  f[38].type + "") && j(o, n), p[0] & /*$_*/
4637
- 512 && a !== (a = /*$_*/
4638
- f[9]("limitRemoved") + "") && j(l, a), p[0] & /*lazyShowedHistoryArray*/
4659
+ 512 && s !== (s = /*$_*/
4660
+ f[9]("limitRemoved") + "") && j(l, s), p[0] & /*lazyShowedHistoryArray*/
4639
4661
  128 && h !== (h = /*history*/
4640
4662
  f[38].date + "") && j(c, h);
4641
4663
  },
@@ -4644,7 +4666,7 @@ function Lo(e) {
4644
4666
  }
4645
4667
  };
4646
4668
  }
4647
- function Ut(e) {
4669
+ function jt(e) {
4648
4670
  let t, r, i, n = (
4649
4671
  /*index*/
4650
4672
  e[40]
@@ -4652,10 +4674,10 @@ function Ut(e) {
4652
4674
  function o(h, c) {
4653
4675
  return (
4654
4676
  /*history*/
4655
- h[38].removed ? Lo : To
4677
+ h[38].removed ? Ao : wo
4656
4678
  );
4657
4679
  }
4658
- let s = o(e), a = s(e);
4680
+ let a = o(e), s = a(e);
4659
4681
  const l = () => (
4660
4682
  /*div_binding*/
4661
4683
  e[21](t, n)
@@ -4665,18 +4687,18 @@ function Ut(e) {
4665
4687
  );
4666
4688
  return {
4667
4689
  c() {
4668
- t = P("div"), a.c(), r = Ve(), x(t, "class", i = dt(
4690
+ t = H("div"), s.c(), r = We(), x(t, "class", i = gt(
4669
4691
  /*index*/
4670
4692
  e[40] > +/*numberofentries*/
4671
4693
  e[1] ? "LimitContainer" : ""
4672
4694
  ) + " svelte-16zv8bz");
4673
4695
  },
4674
4696
  m(h, c) {
4675
- W(h, t, c), a.m(t, null), L(t, r), l();
4697
+ W(h, t, c), s.m(t, null), L(t, r), l();
4676
4698
  },
4677
4699
  p(h, c) {
4678
- e = h, s === (s = o(e)) && a ? a.p(e, c) : (a.d(1), a = s(e), a && (a.c(), a.m(t, r))), c[0] & /*numberofentries*/
4679
- 2 && i !== (i = dt(
4700
+ e = h, a === (a = o(e)) && s ? s.p(e, c) : (s.d(1), s = a(e), s && (s.c(), s.m(t, r))), c[0] & /*numberofentries*/
4701
+ 2 && i !== (i = gt(
4680
4702
  /*index*/
4681
4703
  e[40] > +/*numberofentries*/
4682
4704
  e[1] ? "LimitContainer" : ""
@@ -4685,57 +4707,57 @@ function Ut(e) {
4685
4707
  e[40], l());
4686
4708
  },
4687
4709
  d(h) {
4688
- h && k(t), a.d(), u();
4710
+ h && k(t), s.d(), u();
4689
4711
  }
4690
4712
  };
4691
4713
  }
4692
- function So(e) {
4714
+ function Ho(e) {
4693
4715
  let t;
4694
- function r(o, s) {
4716
+ function r(o, a) {
4695
4717
  return (
4696
4718
  /*hasErrors*/
4697
- o[6] ? xo : (
4719
+ o[6] ? So : (
4698
4720
  /*isLoading*/
4699
- o[4] ? Eo : _o
4721
+ o[4] ? Lo : To
4700
4722
  )
4701
4723
  );
4702
4724
  }
4703
4725
  let i = r(e), n = i(e);
4704
4726
  return {
4705
4727
  c() {
4706
- t = P("div"), n.c(), x(t, "class", "svelte-16zv8bz");
4728
+ t = H("div"), n.c(), x(t, "class", "svelte-16zv8bz");
4707
4729
  },
4708
- m(o, s) {
4709
- W(o, t, s), n.m(t, null), e[22](t);
4730
+ m(o, a) {
4731
+ W(o, t, a), n.m(t, null), e[22](t);
4710
4732
  },
4711
- p(o, s) {
4712
- i === (i = r(o)) && n ? n.p(o, s) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
4733
+ p(o, a) {
4734
+ i === (i = r(o)) && n ? n.p(o, a) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
4713
4735
  },
4714
- i: C,
4715
- o: C,
4736
+ i: O,
4737
+ o: O,
4716
4738
  d(o) {
4717
4739
  o && k(t), n.d(), e[22](null);
4718
4740
  }
4719
4741
  };
4720
4742
  }
4721
- function wo(e, t, r) {
4743
+ function Po(e, t, r) {
4722
4744
  let i;
4723
- jr(e, yo, (m) => r(9, i = m));
4724
- let n = window.navigator.userAgent, o = !bo(n), { lang: s = "" } = t, { userid: a = "" } = t, { session: l = "" } = t, { endpoint: u = "" } = t, { apiversion: h = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: v = "" } = t, w, _ = new Array(), H = parseInt(c, 10), D = !1, N = !0, z = [], V = [], pe = !0, Ce = !1, se = { EUR: "€", RON: "lei", TRY: "₺" };
4725
- const xr = () => {
4726
- fetch(v).then((T) => T.json()).then((T) => {
4745
+ Xr(e, vo, (m) => r(9, i = m));
4746
+ let n = window.navigator.userAgent, o = !_o(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: l = "" } = t, { endpoint: u = "" } = t, { apiversion: h = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: g = "" } = t, w, _ = new Array(), P = parseInt(c, 10), D = !1, N = !0, z = [], V = [], pe = !0, Oe = !1, se = { EUR: "€", RON: "lei", TRY: "₺" };
4747
+ const wr = () => {
4748
+ fetch(g).then((T) => T.json()).then((T) => {
4727
4749
  Object.keys(T).forEach((B) => {
4728
- zt(B, T[B]);
4750
+ Gt(B, T[B]);
4729
4751
  });
4730
4752
  }).catch((T) => {
4731
4753
  console.log(T);
4732
4754
  });
4733
4755
  };
4734
- Object.keys(ke).forEach((m) => {
4735
- zt(m, ke[m]);
4756
+ Object.keys(Ve).forEach((m) => {
4757
+ Gt(m, Ve[m]);
4736
4758
  });
4737
- const Tr = () => {
4738
- let m = h === "gmcore" ? `/v2/player/${a}/transactions/limit` : `/v1/player/${a}/limits/monetary/history`, T = new URL(m, u);
4759
+ const Ar = () => {
4760
+ let m = h === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, T = new URL(m, u);
4739
4761
  T.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), T.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), T.searchParams.append("limit", "10000");
4740
4762
  let B = {
4741
4763
  method: "GET",
@@ -4747,14 +4769,14 @@ function wo(e, t, r) {
4747
4769
  return A.json();
4748
4770
  }).then(
4749
4771
  (A) => {
4750
- A.length && (z = Lr(A), r(7, V = z.slice(0, H))), r(4, N = !1);
4772
+ A.length && (z = Hr(A), r(7, V = z.slice(0, P))), r(4, N = !1);
4751
4773
  },
4752
4774
  (A) => {
4753
4775
  console.error("There was an error", A), r(6, D = !0);
4754
4776
  }
4755
4777
  );
4756
- }, Lr = (m) => {
4757
- const T = !!ke[s];
4778
+ }, Hr = (m) => {
4779
+ const T = !!Ve[a];
4758
4780
  return m.map((A) => {
4759
4781
  let $ = {
4760
4782
  amount: "",
@@ -4764,44 +4786,44 @@ function wo(e, t, r) {
4764
4786
  type: "",
4765
4787
  removed: !1
4766
4788
  };
4767
- return $.amount = Sr(A), $.currency = T ? se[A.limitCurrencyCode] : A.limitCurrencyCode, $.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), $.period = i(`${A.limitPeriod.toLowerCase()}`), $.type = h === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), $.removed = A.limitAmount === -1, $;
4789
+ return $.amount = Pr(A), $.currency = T ? se[A.limitCurrencyCode] : A.limitCurrencyCode, $.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), $.period = i(`${A.limitPeriod.toLowerCase()}`), $.type = h === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), $.removed = A.limitAmount === -1, $;
4768
4790
  });
4769
- }, Sr = (m) => {
4791
+ }, Pr = (m) => {
4770
4792
  let T = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4771
4793
  if (!p) {
4772
- let Rr = se[m.limitCurrencyCode] || m.limitCurrencyCode;
4773
- return `${T}${Rr}`;
4794
+ let Ur = se[m.limitCurrencyCode] || m.limitCurrencyCode;
4795
+ return `${T}${Ur}`;
4774
4796
  }
4775
4797
  typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
4776
4798
  const B = T.match(/\{(\d+)decimals\}/), A = B ? parseInt(B[1], 10) : 2, $ = B ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4777
4799
  let de = parseFloat(m.limitAmount).toFixed(A);
4778
- const [Nr, Ie] = p.includes(".") ? [",", "."] : [".", ","];
4779
- let [Ne, Mr] = de.split(".");
4780
- return Ne = Ne.replace(/\B(?=(\d{3})+(?!\d))/g, Nr), de = `${Ne}${Ie}${Mr}`, T = T.replace("{currency}", se[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", de.split(Ie)[0]).replace(
4800
+ const [zr, Ie] = p.includes(".") ? [",", "."] : [".", ","];
4801
+ let [Ne, $r] = de.split(".");
4802
+ return Ne = Ne.replace(/\B(?=(\d{3})+(?!\d))/g, zr), de = `${Ne}${Ie}${$r}`, T = T.replace("{currency}", se[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", de.split(Ie)[0]).replace(
4781
4803
  $,
4782
4804
  de.split(Ie)[1]
4783
4805
  ), T;
4784
- }, wr = () => {
4785
- r(5, pe = !pe), r(8, Ce = !Ce);
4806
+ }, Br = () => {
4807
+ r(5, pe = !pe), r(8, Oe = !Oe);
4786
4808
  };
4787
- let ht = new IntersectionObserver((m) => {
4809
+ let mt = new IntersectionObserver((m) => {
4788
4810
  m.forEach((T) => {
4789
- T.isIntersecting && (H += parseInt(c, 10) || 10, V.length < z.length && r(7, V = z.slice(0, H)));
4811
+ T.isIntersecting && (P += parseInt(c, 10) || 10, V.length < z.length && r(7, V = z.slice(0, P)));
4790
4812
  });
4791
4813
  });
4792
- const Ar = () => {
4793
- ht.observe(_[_.length - 1]);
4794
- }, Pr = () => {
4814
+ const Cr = () => {
4815
+ mt.observe(_[_.length - 1]);
4816
+ }, Or = () => {
4795
4817
  if (!f) return;
4796
4818
  let m = {};
4797
4819
  f.split(",").forEach((T) => {
4798
4820
  let B = T.split(":");
4799
4821
  m[B[0].trim()] = B[1].trim();
4800
4822
  }), se = ye(ye({}, se), m);
4801
- }, Hr = () => {
4823
+ }, Ir = () => {
4802
4824
  let m = document.createElement("style");
4803
4825
  m.innerHTML = y, w.appendChild(m);
4804
- }, Br = () => {
4826
+ }, Nr = () => {
4805
4827
  let m = new URL(d), T = document.createElement("style");
4806
4828
  fetch(m.href).then((B) => B.text()).then((B) => {
4807
4829
  T.innerHTML = B, w && (setTimeout(
@@ -4815,35 +4837,35 @@ function wo(e, t, r) {
4815
4837
  500
4816
4838
  ));
4817
4839
  });
4818
- }, Or = () => {
4819
- vo(s);
4840
+ }, Mr = () => {
4841
+ Eo(a);
4820
4842
  };
4821
- Kr(() => () => {
4822
- ht.unobserve(_[_.length - 1]);
4843
+ ii(() => () => {
4844
+ mt.unobserve(_[_.length - 1]);
4823
4845
  });
4824
- function Cr(m, T) {
4846
+ function Rr(m, T) {
4825
4847
  Le[m ? "unshift" : "push"](() => {
4826
4848
  _[T] = m, r(3, _);
4827
4849
  });
4828
4850
  }
4829
- function Ir(m) {
4851
+ function Dr(m) {
4830
4852
  Le[m ? "unshift" : "push"](() => {
4831
4853
  w = m, r(2, w);
4832
4854
  });
4833
4855
  }
4834
4856
  return e.$$set = (m) => {
4835
- "lang" in m && r(0, s = m.lang), "userid" in m && r(12, a = m.userid), "session" in m && r(13, l = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, h = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "translationurl" in m && r(20, v = m.translationurl);
4857
+ "lang" in m && r(0, a = m.lang), "userid" in m && r(12, s = m.userid), "session" in m && r(13, l = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, h = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "translationurl" in m && r(20, g = m.translationurl);
4836
4858
  }, e.$$.update = () => {
4837
4859
  e.$$.dirty[0] & /*customcurrencysymbols*/
4838
- 65536 && f && Pr(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4839
- 61440 && u && a && l && h && Tr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4840
- 56 && _[0] && !N && !pe && Ar(), e.$$.dirty[0] & /*lang*/
4841
- 1 && s && Or(), e.$$.dirty[0] & /*clientstylingurl*/
4842
- 524288 && d && Br(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4843
- 262148 && y && w && Hr(), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4844
- 1048580 && v && w && xr();
4860
+ 65536 && f && Or(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4861
+ 61440 && u && s && l && h && Ar(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4862
+ 56 && _[0] && !N && !pe && Cr(), e.$$.dirty[0] & /*lang*/
4863
+ 1 && a && Mr(), e.$$.dirty[0] & /*clientstylingurl*/
4864
+ 524288 && d && Nr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4865
+ 262148 && y && w && Ir(), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4866
+ 1048580 && g && w && wr();
4845
4867
  }, [
4846
- s,
4868
+ a,
4847
4869
  c,
4848
4870
  w,
4849
4871
  _,
@@ -4851,11 +4873,11 @@ function wo(e, t, r) {
4851
4873
  pe,
4852
4874
  D,
4853
4875
  V,
4854
- Ce,
4876
+ Oe,
4855
4877
  i,
4856
4878
  o,
4857
- wr,
4858
- a,
4879
+ Br,
4880
+ s,
4859
4881
  l,
4860
4882
  u,
4861
4883
  h,
@@ -4863,19 +4885,19 @@ function wo(e, t, r) {
4863
4885
  p,
4864
4886
  y,
4865
4887
  d,
4866
- v,
4867
- Cr,
4868
- Ir
4888
+ g,
4889
+ Rr,
4890
+ Dr
4869
4891
  ];
4870
4892
  }
4871
- class Er extends ci {
4893
+ class Sr extends di {
4872
4894
  constructor(t) {
4873
- super(), li(
4895
+ super(), mi(
4874
4896
  this,
4875
4897
  t,
4876
- wo,
4877
- So,
4878
- Ft,
4898
+ Po,
4899
+ Ho,
4900
+ Vt,
4879
4901
  {
4880
4902
  lang: 0,
4881
4903
  userid: 12,
@@ -4889,7 +4911,7 @@ class Er extends ci {
4889
4911
  clientstylingurl: 19,
4890
4912
  translationurl: 20
4891
4913
  },
4892
- go,
4914
+ xo,
4893
4915
  [-1, -1]
4894
4916
  );
4895
4917
  }
@@ -4960,49 +4982,49 @@ class Er extends ci {
4960
4982
  this.$$set({ translationurl: t }), I();
4961
4983
  }
4962
4984
  }
4963
- hi(Er, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4964
- const Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4985
+ pi(Sr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4986
+ const $o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4965
4987
  __proto__: null,
4966
- default: Er
4988
+ default: Sr
4967
4989
  }, Symbol.toStringTag, { value: "Module" }));
4968
4990
  export {
4969
4991
  ne as $,
4970
- Xe as A,
4971
- Re as B,
4972
- Yr as C,
4973
- Po as D,
4974
- hi as E,
4975
- yo as F,
4992
+ fe as A,
4993
+ Ze as B,
4994
+ Ro as C,
4995
+ vo as D,
4996
+ Re as E,
4997
+ ei as F,
4976
4998
  me as G,
4977
- Mo as H,
4978
- Kr as I,
4979
- Bo as J,
4980
- Ro as P,
4981
- ci as S,
4982
- yr as a,
4983
- kr as b,
4984
- L as c,
4985
- k as d,
4986
- W as e,
4999
+ zo as H,
5000
+ ii as I,
5001
+ Io as J,
5002
+ $o as P,
5003
+ di as S,
5004
+ _r as a,
5005
+ Zr as b,
5006
+ pi as c,
5007
+ We as d,
5008
+ H as e,
4987
5009
  I as f,
4988
- P as g,
4989
- Ve as h,
4990
- li as i,
4991
- x as j,
4992
- jr as k,
4993
- bo as l,
4994
- No as m,
4995
- C as n,
4996
- Le as o,
4997
- bt as p,
4998
- Xr as q,
4999
- fe as r,
5000
- Ft as s,
5001
- Oo as t,
5002
- j as u,
5003
- Co as v,
5004
- Zr as w,
5005
- R as x,
5006
- Ho as y,
5007
- Io as z
5010
+ x as g,
5011
+ L as h,
5012
+ mi as i,
5013
+ W as j,
5014
+ k,
5015
+ Xr as l,
5016
+ _o as m,
5017
+ O as n,
5018
+ Co as o,
5019
+ Do as p,
5020
+ Le as q,
5021
+ R as r,
5022
+ Vt as s,
5023
+ No as t,
5024
+ Oo as u,
5025
+ qr as v,
5026
+ j as w,
5027
+ _t as x,
5028
+ Mo as y,
5029
+ Jr as z
5008
5030
  };