@everymatrix/player-account-gaming-limits-history-2-nd 1.76.3 → 1.76.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Rr = Object.defineProperty, Dr = Object.defineProperties;
2
- var $r = Object.getOwnPropertyDescriptors;
3
- var mt = Object.getOwnPropertySymbols;
4
- var Ur = Object.prototype.hasOwnProperty, Gr = Object.prototype.propertyIsEnumerable;
5
- var Re = (e, t, r) => t in e ? Rr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, be = (e, t) => {
1
+ var Gr = Object.defineProperty, Fr = Object.defineProperties;
2
+ var jr = Object.getOwnPropertyDescriptors;
3
+ var gt = Object.getOwnPropertySymbols;
4
+ var kr = Object.prototype.hasOwnProperty, Vr = Object.prototype.propertyIsEnumerable;
5
+ var $e = (e, t, r) => t in e ? Gr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ge = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Ur.call(t, r) && Re(e, r, t[r]);
8
- if (mt)
9
- for (var r of mt(t))
10
- Gr.call(t, r) && Re(e, r, t[r]);
7
+ kr.call(t, r) && $e(e, r, t[r]);
8
+ if (gt)
9
+ for (var r of gt(t))
10
+ Vr.call(t, r) && $e(e, r, t[r]);
11
11
  return e;
12
- }, pt = (e, t) => Dr(e, $r(t));
13
- var N = (e, t, r) => (Re(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var dt = (e, t, r) => new Promise((i, n) => {
12
+ }, bt = (e, t) => Fr(e, jr(t));
13
+ var N = (e, t, r) => ($e(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var vt = (e, t, r) => new Promise((i, n) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -29,25 +29,25 @@ var dt = (e, t, r) => new Promise((i, n) => {
29
29
  });
30
30
  function O() {
31
31
  }
32
- function kt(e) {
32
+ function Xt(e) {
33
33
  return e();
34
34
  }
35
- function yt() {
35
+ function _t() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function fe(e) {
39
- e.forEach(kt);
38
+ function ce(e) {
39
+ e.forEach(Xt);
40
40
  }
41
- function ut(e) {
41
+ function mt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Vt(e, t) {
44
+ function Zt(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 Wt(e, ...t) {
50
+ function Qt(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const i of t)
53
53
  i(void 0);
@@ -56,23 +56,23 @@ function Wt(e, ...t) {
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(Wt(t, r));
59
+ function zr(e, t, r) {
60
+ e.$$.on_destroy.push(Qt(t, r));
61
61
  }
62
- function bt(e) {
62
+ function Et(e) {
63
63
  return e == null ? "" : e;
64
64
  }
65
- function w(e, t) {
65
+ function x(e, t) {
66
66
  e.appendChild(t);
67
67
  }
68
- function kr(e, t, r) {
69
- const i = Vr(e);
68
+ function Xr(e, t, r) {
69
+ const i = Zr(e);
70
70
  if (!i.getElementById(t)) {
71
- const n = A("style");
72
- n.id = t, n.textContent = r, Wr(i, n);
71
+ const n = H("style");
72
+ n.id = t, n.textContent = r, Qr(i, n);
73
73
  }
74
74
  }
75
- function Vr(e) {
75
+ function Zr(e) {
76
76
  if (!e)
77
77
  return document;
78
78
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -82,8 +82,8 @@ function Vr(e) {
82
82
  t
83
83
  ) : e.ownerDocument;
84
84
  }
85
- function Wr(e, t) {
86
- return w(
85
+ function Qr(e, t) {
86
+ return x(
87
87
  /** @type {Document} */
88
88
  e.head || e,
89
89
  t
@@ -95,42 +95,42 @@ function z(e, t, r) {
95
95
  function V(e) {
96
96
  e.parentNode && e.parentNode.removeChild(e);
97
97
  }
98
- function zr(e, t) {
98
+ function Yr(e, t) {
99
99
  for (let r = 0; r < e.length; r += 1)
100
100
  e[r] && e[r].d(t);
101
101
  }
102
- function A(e) {
102
+ function H(e) {
103
103
  return document.createElement(e);
104
104
  }
105
- function De(e) {
105
+ function Ue(e) {
106
106
  return document.createElementNS("http://www.w3.org/2000/svg", e);
107
107
  }
108
- function U(e) {
108
+ function G(e) {
109
109
  return document.createTextNode(e);
110
110
  }
111
- function ze() {
112
- return U(" ");
111
+ function Qe() {
112
+ return G(" ");
113
113
  }
114
- function Xr(e, t, r, i) {
114
+ function Jr(e, t, r, i) {
115
115
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
116
116
  }
117
- function _(e, t, r) {
117
+ function E(e, t, r) {
118
118
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
119
119
  }
120
- function Zr(e) {
120
+ function qr(e) {
121
121
  return Array.from(e.childNodes);
122
122
  }
123
123
  function k(e, t) {
124
124
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
125
125
  t);
126
126
  }
127
- function Qr(e, t, r, i) {
127
+ function Kr(e, t, r, i) {
128
128
  e.style.setProperty(t, r, "");
129
129
  }
130
- function ge(e, t, r) {
130
+ function be(e, t, r) {
131
131
  e.classList.toggle(t, !!r);
132
132
  }
133
- function Yr(e) {
133
+ function ei(e) {
134
134
  const t = {};
135
135
  return e.childNodes.forEach(
136
136
  /** @param {Element} node */
@@ -139,90 +139,90 @@ function Yr(e) {
139
139
  }
140
140
  ), t;
141
141
  }
142
- let le;
143
- function ue(e) {
144
- le = e;
142
+ let ue;
143
+ function ae(e) {
144
+ ue = e;
145
145
  }
146
- function Jr() {
147
- if (!le)
146
+ function ti() {
147
+ if (!ue)
148
148
  throw new Error("Function called outside component initialization");
149
- return le;
149
+ return ue;
150
150
  }
151
- function qr(e) {
152
- Jr().$$.on_mount.push(e);
151
+ function ri(e) {
152
+ ti().$$.on_mount.push(e);
153
153
  }
154
- const Y = [], Le = [];
154
+ const Y = [], Se = [];
155
155
  let J = [];
156
- const gt = [], Kr = /* @__PURE__ */ Promise.resolve();
157
- let Xe = !1;
158
- function ei() {
159
- Xe || (Xe = !0, Kr.then(C));
156
+ const xt = [], ii = /* @__PURE__ */ Promise.resolve();
157
+ let Ye = !1;
158
+ function ni() {
159
+ Ye || (Ye = !0, ii.then(C));
160
160
  }
161
- function Ze(e) {
161
+ function Je(e) {
162
162
  J.push(e);
163
163
  }
164
- const $e = /* @__PURE__ */ new Set();
164
+ const Ge = /* @__PURE__ */ new Set();
165
165
  let Z = 0;
166
166
  function C() {
167
167
  if (Z !== 0)
168
168
  return;
169
- const e = le;
169
+ const e = ue;
170
170
  do {
171
171
  try {
172
172
  for (; Z < Y.length; ) {
173
173
  const t = Y[Z];
174
- Z++, ue(t), ti(t.$$);
174
+ Z++, ae(t), oi(t.$$);
175
175
  }
176
176
  } catch (t) {
177
177
  throw Y.length = 0, Z = 0, t;
178
178
  }
179
- for (ue(null), Y.length = 0, Z = 0; Le.length; )
180
- Le.pop()();
179
+ for (ae(null), Y.length = 0, Z = 0; Se.length; )
180
+ Se.pop()();
181
181
  for (let t = 0; t < J.length; t += 1) {
182
182
  const r = J[t];
183
- $e.has(r) || ($e.add(r), r());
183
+ Ge.has(r) || (Ge.add(r), r());
184
184
  }
185
185
  J.length = 0;
186
186
  } while (Y.length);
187
- for (; gt.length; )
188
- gt.pop()();
189
- Xe = !1, $e.clear(), ue(e);
187
+ for (; xt.length; )
188
+ xt.pop()();
189
+ Ye = !1, Ge.clear(), ae(e);
190
190
  }
191
- function ti(e) {
191
+ function oi(e) {
192
192
  if (e.fragment !== null) {
193
- e.update(), fe(e.before_update);
193
+ e.update(), ce(e.before_update);
194
194
  const t = e.dirty;
195
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ze);
195
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Je);
196
196
  }
197
197
  }
198
- function ri(e) {
198
+ function si(e) {
199
199
  const t = [], r = [];
200
200
  J.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), J = t;
201
201
  }
202
- const ii = /* @__PURE__ */ new Set();
203
- function ni(e, t) {
204
- e && e.i && (ii.delete(e), e.i(t));
202
+ const ai = /* @__PURE__ */ new Set();
203
+ function ui(e, t) {
204
+ e && e.i && (ai.delete(e), e.i(t));
205
205
  }
206
- function vt(e) {
206
+ function wt(e) {
207
207
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
208
208
  }
209
- function oi(e, t, r) {
209
+ function li(e, t, r) {
210
210
  const { fragment: i, after_update: n } = e.$$;
211
- i && i.m(t, r), Ze(() => {
212
- const o = e.$$.on_mount.map(kt).filter(ut);
213
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : fe(o), e.$$.on_mount = [];
214
- }), n.forEach(Ze);
211
+ i && i.m(t, r), Je(() => {
212
+ const o = e.$$.on_mount.map(Xt).filter(mt);
213
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ce(o), e.$$.on_mount = [];
214
+ }), n.forEach(Je);
215
215
  }
216
- function si(e, t) {
216
+ function hi(e, t) {
217
217
  const r = e.$$;
218
- r.fragment !== null && (ri(r.after_update), fe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
218
+ r.fragment !== null && (si(r.after_update), ce(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
219
219
  }
220
- function ai(e, t) {
221
- e.$$.dirty[0] === -1 && (Y.push(e), ei(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
220
+ function ci(e, t) {
221
+ e.$$.dirty[0] === -1 && (Y.push(e), ni(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
222
222
  }
223
- function ui(e, t, r, i, n, o, s = null, a = [-1]) {
224
- const l = le;
225
- ue(e);
223
+ function fi(e, t, r, i, n, o, s = null, a = [-1]) {
224
+ const l = ue;
225
+ ae(e);
226
226
  const u = e.$$ = {
227
227
  fragment: null,
228
228
  ctx: [],
@@ -230,7 +230,7 @@ function ui(e, t, r, i, n, o, s = null, a = [-1]) {
230
230
  props: o,
231
231
  update: O,
232
232
  not_equal: n,
233
- bound: yt(),
233
+ bound: _t(),
234
234
  // lifecycle
235
235
  on_mount: [],
236
236
  on_destroy: [],
@@ -239,28 +239,28 @@ function ui(e, t, r, i, n, o, s = null, a = [-1]) {
239
239
  after_update: [],
240
240
  context: new Map(t.context || (l ? l.$$.context : [])),
241
241
  // everything else
242
- callbacks: yt(),
242
+ callbacks: _t(),
243
243
  dirty: a,
244
244
  skip_bound: !1,
245
245
  root: t.target || l.$$.root
246
246
  };
247
247
  s && s(u.root);
248
248
  let h = !1;
249
- if (u.ctx = r(e, t.props || {}, (c, f, ...p) => {
249
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
250
250
  const y = p.length ? p[0] : f;
251
- return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && ai(e, c)), f;
252
- }), u.update(), h = !0, fe(u.before_update), u.fragment = i(u.ctx), t.target) {
251
+ return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && ci(e, c)), f;
252
+ }) : [], u.update(), h = !0, ce(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
253
253
  if (t.hydrate) {
254
- const c = Zr(t.target);
254
+ const c = qr(t.target);
255
255
  u.fragment && u.fragment.l(c), c.forEach(V);
256
256
  } else
257
257
  u.fragment && u.fragment.c();
258
- t.intro && ni(e.$$.fragment), oi(e, t.target, t.anchor), C();
258
+ t.intro && ui(e.$$.fragment), li(e, t.target, t.anchor), C();
259
259
  }
260
- ue(l);
260
+ ae(l);
261
261
  }
262
- let zt;
263
- typeof HTMLElement == "function" && (zt = class extends HTMLElement {
262
+ let Yt;
263
+ typeof HTMLElement == "function" && (Yt = class extends HTMLElement {
264
264
  constructor(t, r, i) {
265
265
  super();
266
266
  /** The Svelte component constructor */
@@ -297,14 +297,14 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
297
297
  }
298
298
  }
299
299
  connectedCallback() {
300
- return dt(this, null, function* () {
300
+ return vt(this, null, function* () {
301
301
  if (this.$$cn = !0, !this.$$c) {
302
302
  let t = function(o) {
303
303
  return () => {
304
304
  let s;
305
305
  return {
306
306
  c: function() {
307
- s = A("slot"), o !== "default" && _(s, "name", o);
307
+ s = H("slot"), o !== "default" && E(s, "name", o);
308
308
  },
309
309
  /**
310
310
  * @param {HTMLElement} target
@@ -321,7 +321,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
321
321
  };
322
322
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
323
323
  return;
324
- const r = {}, i = Yr(this);
324
+ const r = {}, i = ei(this);
325
325
  for (const o of this.$$s)
326
326
  o in i && (r[o] = [t(o)]);
327
327
  for (const o of this.attributes) {
@@ -332,7 +332,7 @@ typeof HTMLElement == "function" && (zt = class extends HTMLElement {
332
332
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
333
333
  this.$$c = new this.$$ctor({
334
334
  target: this.shadowRoot || this,
335
- props: pt(be({}, this.$$d), {
335
+ props: bt(ge({}, this.$$d), {
336
336
  $$slots: r,
337
337
  $$scope: {
338
338
  ctx: []
@@ -410,8 +410,8 @@ function Ee(e, t, r, i) {
410
410
  return t;
411
411
  }
412
412
  }
413
- function li(e, t, r, i, n, o) {
414
- let s = class extends zt {
413
+ function mi(e, t, r, i, n, o) {
414
+ let s = class extends Yt {
415
415
  constructor() {
416
416
  super(e, r, n), this.$$p_d = t;
417
417
  }
@@ -441,7 +441,7 @@ function li(e, t, r, i, n, o) {
441
441
  }), e.element = /** @type {any} */
442
442
  s, s;
443
443
  }
444
- class hi {
444
+ class pi {
445
445
  constructor() {
446
446
  /**
447
447
  * ### PRIVATE API
@@ -462,7 +462,7 @@ class hi {
462
462
  }
463
463
  /** @returns {void} */
464
464
  $destroy() {
465
- si(this, 1), this.$destroy = O;
465
+ hi(this, 1), this.$destroy = O;
466
466
  }
467
467
  /**
468
468
  * @template {Extract<keyof Events, string>} K
@@ -471,7 +471,7 @@ class hi {
471
471
  * @returns {() => void}
472
472
  */
473
473
  $on(t, r) {
474
- if (!ut(r))
474
+ if (!mt(r))
475
475
  return O;
476
476
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
477
477
  return i.push(r), () => {
@@ -484,22 +484,22 @@ class hi {
484
484
  * @returns {void}
485
485
  */
486
486
  $set(t) {
487
- this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
487
+ this.$$set && !Wr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
488
488
  }
489
489
  }
490
- const ci = "4";
491
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ci);
490
+ const di = "4";
491
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(di);
492
492
  const Q = [];
493
- function fi(e, t) {
493
+ function yi(e, t) {
494
494
  return {
495
- subscribe: Ae(e, t).subscribe
495
+ subscribe: Pe(e, t).subscribe
496
496
  };
497
497
  }
498
- function Ae(e, t = O) {
498
+ function Pe(e, t = O) {
499
499
  let r;
500
500
  const i = /* @__PURE__ */ new Set();
501
501
  function n(a) {
502
- if (Vt(e, a) && (e = a, r)) {
502
+ if (Zt(e, a) && (e = a, r)) {
503
503
  const l = !Q.length;
504
504
  for (const u of i)
505
505
  u[1](), Q.push(u, e);
@@ -521,12 +521,12 @@ function Ae(e, t = O) {
521
521
  }
522
522
  return { set: n, update: o, subscribe: s };
523
523
  }
524
- function ie(e, t, r) {
524
+ function re(e, t, r) {
525
525
  const i = !Array.isArray(e), n = i ? [e] : e;
526
526
  if (!n.every(Boolean))
527
527
  throw new Error("derived() expects stores as input, got a falsy value");
528
528
  const o = t.length < 2;
529
- return fi(r, (s, a) => {
529
+ return yi(r, (s, a) => {
530
530
  let l = !1;
531
531
  const u = [];
532
532
  let h = 0, c = O;
@@ -535,9 +535,9 @@ function ie(e, t, r) {
535
535
  return;
536
536
  c();
537
537
  const y = t(i ? u[0] : u, s, a);
538
- o ? s(y) : c = ut(y) ? y : O;
538
+ o ? s(y) : c = mt(y) ? y : O;
539
539
  }, p = n.map(
540
- (y, d) => Wt(
540
+ (y, d) => Qt(
541
541
  y,
542
542
  (v) => {
543
543
  u[d] = v, h &= ~(1 << d), l && f();
@@ -548,126 +548,112 @@ function ie(e, t, r) {
548
548
  )
549
549
  );
550
550
  return l = !0, f(), function() {
551
- fe(p), c(), l = !1;
551
+ ce(p), c(), l = !1;
552
552
  };
553
553
  });
554
554
  }
555
- function mi(e) {
556
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
555
+ function gi(e) {
556
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
557
557
  }
558
- var pi = function(t) {
559
- return di(t) && !yi(t);
558
+ var bi = function(t) {
559
+ return vi(t) && !_i(t);
560
560
  };
561
- function di(e) {
561
+ function vi(e) {
562
562
  return !!e && typeof e == "object";
563
563
  }
564
- function yi(e) {
564
+ function _i(e) {
565
565
  var t = Object.prototype.toString.call(e);
566
- return t === "[object RegExp]" || t === "[object Date]" || vi(e);
566
+ return t === "[object RegExp]" || t === "[object Date]" || wi(e);
567
567
  }
568
- var bi = typeof Symbol == "function" && Symbol.for, gi = bi ? Symbol.for("react.element") : 60103;
569
- function vi(e) {
570
- return e.$$typeof === gi;
568
+ var Ei = typeof Symbol == "function" && Symbol.for, xi = Ei ? Symbol.for("react.element") : 60103;
569
+ function wi(e) {
570
+ return e.$$typeof === xi;
571
571
  }
572
- function xi(e) {
572
+ function Ti(e) {
573
573
  return Array.isArray(e) ? [] : {};
574
574
  }
575
- function he(e, t) {
576
- return t.clone !== !1 && t.isMergeableObject(e) ? K(xi(e), e, t) : e;
575
+ function le(e, t) {
576
+ return t.clone !== !1 && t.isMergeableObject(e) ? q(Ti(e), e, t) : e;
577
577
  }
578
- function Ei(e, t, r) {
578
+ function Si(e, t, r) {
579
579
  return e.concat(t).map(function(i) {
580
- return he(i, r);
580
+ return le(i, r);
581
581
  });
582
582
  }
583
- function _i(e, t) {
583
+ function Li(e, t) {
584
584
  if (!t.customMerge)
585
- return K;
585
+ return q;
586
586
  var r = t.customMerge(e);
587
- return typeof r == "function" ? r : K;
587
+ return typeof r == "function" ? r : q;
588
588
  }
589
- function wi(e) {
589
+ function Ai(e) {
590
590
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
591
591
  return Object.propertyIsEnumerable.call(e, t);
592
592
  }) : [];
593
593
  }
594
- function xt(e) {
595
- return Object.keys(e).concat(wi(e));
594
+ function Tt(e) {
595
+ return Object.keys(e).concat(Ai(e));
596
596
  }
597
- function Xt(e, t) {
597
+ function Jt(e, t) {
598
598
  try {
599
599
  return t in e;
600
600
  } catch (r) {
601
601
  return !1;
602
602
  }
603
603
  }
604
- function Ti(e, t) {
605
- return Xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
604
+ function Hi(e, t) {
605
+ return Jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
606
606
  }
607
- function Li(e, t, r) {
607
+ function Pi(e, t, r) {
608
608
  var i = {};
609
- return r.isMergeableObject(e) && xt(e).forEach(function(n) {
610
- i[n] = he(e[n], r);
611
- }), xt(t).forEach(function(n) {
612
- Ti(e, n) || (Xt(e, n) && r.isMergeableObject(t[n]) ? i[n] = _i(n, r)(e[n], t[n], r) : i[n] = he(t[n], r));
609
+ return r.isMergeableObject(e) && Tt(e).forEach(function(n) {
610
+ i[n] = le(e[n], r);
611
+ }), Tt(t).forEach(function(n) {
612
+ Hi(e, n) || (Jt(e, n) && r.isMergeableObject(t[n]) ? i[n] = Li(n, r)(e[n], t[n], r) : i[n] = le(t[n], r));
613
613
  }), i;
614
614
  }
615
- function K(e, t, r) {
616
- r = r || {}, r.arrayMerge = r.arrayMerge || Ei, r.isMergeableObject = r.isMergeableObject || pi, r.cloneUnlessOtherwiseSpecified = he;
615
+ function q(e, t, r) {
616
+ r = r || {}, r.arrayMerge = r.arrayMerge || Si, r.isMergeableObject = r.isMergeableObject || bi, r.cloneUnlessOtherwiseSpecified = le;
617
617
  var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
618
- return o ? i ? r.arrayMerge(e, t, r) : Li(e, t, r) : he(t, r);
618
+ return o ? i ? r.arrayMerge(e, t, r) : Pi(e, t, r) : le(t, r);
619
619
  }
620
- K.all = function(t, r) {
620
+ q.all = function(t, r) {
621
621
  if (!Array.isArray(t))
622
622
  throw new Error("first argument should be an array");
623
623
  return t.reduce(function(i, n) {
624
- return K(i, n, r);
624
+ return q(i, n, r);
625
625
  }, {});
626
626
  };
627
- var Si = K, Hi = Si;
628
- const Ai = /* @__PURE__ */ mi(Hi);
629
- /*! *****************************************************************************
630
- Copyright (c) Microsoft Corporation.
631
-
632
- Permission to use, copy, modify, and/or distribute this software for any
633
- purpose with or without fee is hereby granted.
634
-
635
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
636
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
637
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
638
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
639
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
640
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
641
- PERFORMANCE OF THIS SOFTWARE.
642
- ***************************************************************************** */
643
- var Qe = function(e, t) {
644
- return Qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
627
+ var Bi = q, Oi = Bi;
628
+ const Ci = /* @__PURE__ */ gi(Oi);
629
+ var qe = function(e, t) {
630
+ return qe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
645
631
  r.__proto__ = i;
646
632
  } || function(r, i) {
647
633
  for (var n in i)
648
634
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
649
- }, Qe(e, t);
635
+ }, qe(e, t);
650
636
  };
651
- function F(e, t) {
637
+ function Be(e, t) {
652
638
  if (typeof t != "function" && t !== null)
653
639
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
654
- Qe(e, t);
640
+ qe(e, t);
655
641
  function r() {
656
642
  this.constructor = e;
657
643
  }
658
644
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
659
645
  }
660
- var E = function() {
661
- return E = Object.assign || function(t) {
646
+ var R = function() {
647
+ return R = Object.assign || function(t) {
662
648
  for (var r, i = 1, n = arguments.length; i < n; i++) {
663
649
  r = arguments[i];
664
650
  for (var o in r)
665
651
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
666
652
  }
667
653
  return t;
668
- }, E.apply(this, arguments);
654
+ }, R.apply(this, arguments);
669
655
  };
670
- function Pi(e, t) {
656
+ function Ii(e, t) {
671
657
  var r = {};
672
658
  for (var i in e)
673
659
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -676,78 +662,43 @@ function Pi(e, t) {
676
662
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
677
663
  return r;
678
664
  }
679
- function Ye(e) {
680
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
681
- if (r)
682
- return r.call(e);
683
- if (e && typeof e.length == "number")
684
- return {
685
- next: function() {
686
- return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
687
- }
688
- };
689
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
690
- }
691
- function Je(e, t) {
692
- var r = typeof Symbol == "function" && e[Symbol.iterator];
693
- if (!r)
694
- return e;
695
- var i = r.call(e), n, o = [], s;
696
- try {
697
- for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
698
- o.push(n.value);
699
- } catch (a) {
700
- s = { error: a };
701
- } finally {
702
- try {
703
- n && !n.done && (r = i.return) && r.call(i);
704
- } finally {
705
- if (s)
706
- throw s.error;
707
- }
708
- }
709
- return o;
710
- }
711
- function q(e, t, r) {
665
+ function Fe(e, t, r) {
712
666
  if (r || arguments.length === 2)
713
667
  for (var i = 0, n = t.length, o; i < n; i++)
714
668
  (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
715
- return e.concat(o || t);
669
+ return e.concat(o || Array.prototype.slice.call(t));
716
670
  }
717
- function Ue(e, t) {
718
- var r = t && t.cache ? t.cache : Ri, i = t && t.serializer ? t.serializer : Ni, n = t && t.strategy ? t.strategy : Oi;
671
+ function je(e, t) {
672
+ var r = t && t.cache ? t.cache : Gi, i = t && t.serializer ? t.serializer : $i, n = t && t.strategy ? t.strategy : Ri;
719
673
  return n(e, {
720
674
  cache: r,
721
675
  serializer: i
722
676
  });
723
677
  }
724
- function Bi(e) {
678
+ function Ni(e) {
725
679
  return e == null || typeof e == "number" || typeof e == "boolean";
726
680
  }
727
- function Zt(e, t, r, i) {
728
- var n = Bi(i) ? i : r(i), o = t.get(n);
681
+ function Mi(e, t, r, i) {
682
+ var n = Ni(i) ? i : r(i), o = t.get(n);
729
683
  return typeof o == "undefined" && (o = e.call(this, i), t.set(n, o)), o;
730
684
  }
731
- function Qt(e, t, r) {
685
+ function qt(e, t, r) {
732
686
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
733
687
  return typeof o == "undefined" && (o = e.apply(this, i), t.set(n, o)), o;
734
688
  }
735
- function lt(e, t, r, i, n) {
689
+ function Kt(e, t, r, i, n) {
736
690
  return r.bind(t, e, i, n);
737
691
  }
738
- function Oi(e, t) {
739
- var r = e.length === 1 ? Zt : Qt;
740
- return lt(e, this, r, t.cache.create(), t.serializer);
692
+ function Ri(e, t) {
693
+ var r = e.length === 1 ? Mi : qt;
694
+ return Kt(e, this, r, t.cache.create(), t.serializer);
741
695
  }
742
- function Ci(e, t) {
743
- return lt(e, this, Qt, t.cache.create(), t.serializer);
696
+ function Di(e, t) {
697
+ return Kt(e, this, qt, t.cache.create(), t.serializer);
744
698
  }
745
- function Ii(e, t) {
746
- return lt(e, this, Zt, t.cache.create(), t.serializer);
747
- }
748
- var Ni = function() {
699
+ var $i = function() {
749
700
  return JSON.stringify(arguments);
750
- }, Mi = (
701
+ }, Ui = (
751
702
  /** @class */
752
703
  function() {
753
704
  function e() {
@@ -759,62 +710,71 @@ var Ni = function() {
759
710
  this.cache[t] = r;
760
711
  }, e;
761
712
  }()
762
- ), Ri = {
713
+ ), Gi = {
763
714
  create: function() {
764
- return new Mi();
715
+ return new Ui();
765
716
  }
766
- }, Ge = {
767
- variadic: Ci,
768
- monadic: Ii
769
- }, g;
717
+ }, ke = {
718
+ variadic: Di
719
+ }, Le = function() {
720
+ return Le = Object.assign || function(t) {
721
+ for (var r, i = 1, n = arguments.length; i < n; i++) {
722
+ r = arguments[i];
723
+ for (var o in r)
724
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
725
+ }
726
+ return t;
727
+ }, Le.apply(this, arguments);
728
+ };
729
+ var b;
770
730
  (function(e) {
771
731
  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";
772
- })(g || (g = {}));
773
- var L;
732
+ })(b || (b = {}));
733
+ var T;
774
734
  (function(e) {
775
735
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
776
- })(L || (L = {}));
777
- var ee;
736
+ })(T || (T = {}));
737
+ var K;
778
738
  (function(e) {
779
739
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
780
- })(ee || (ee = {}));
781
- function Et(e) {
782
- return e.type === L.literal;
740
+ })(K || (K = {}));
741
+ function St(e) {
742
+ return e.type === T.literal;
783
743
  }
784
- function Di(e) {
785
- return e.type === L.argument;
744
+ function Fi(e) {
745
+ return e.type === T.argument;
786
746
  }
787
- function Yt(e) {
788
- return e.type === L.number;
747
+ function er(e) {
748
+ return e.type === T.number;
789
749
  }
790
- function Jt(e) {
791
- return e.type === L.date;
750
+ function tr(e) {
751
+ return e.type === T.date;
792
752
  }
793
- function qt(e) {
794
- return e.type === L.time;
753
+ function rr(e) {
754
+ return e.type === T.time;
795
755
  }
796
- function Kt(e) {
797
- return e.type === L.select;
756
+ function ir(e) {
757
+ return e.type === T.select;
798
758
  }
799
- function er(e) {
800
- return e.type === L.plural;
759
+ function nr(e) {
760
+ return e.type === T.plural;
801
761
  }
802
- function $i(e) {
803
- return e.type === L.pound;
762
+ function ji(e) {
763
+ return e.type === T.pound;
804
764
  }
805
- function tr(e) {
806
- return e.type === L.tag;
765
+ function or(e) {
766
+ return e.type === T.tag;
807
767
  }
808
- function rr(e) {
809
- return !!(e && typeof e == "object" && e.type === ee.number);
768
+ function sr(e) {
769
+ return !!(e && typeof e == "object" && e.type === K.number);
810
770
  }
811
- function qe(e) {
812
- return !!(e && typeof e == "object" && e.type === ee.dateTime);
771
+ function Ke(e) {
772
+ return !!(e && typeof e == "object" && e.type === K.dateTime);
813
773
  }
814
- var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ui = /(?:[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;
815
- function Gi(e) {
774
+ var ar = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ki = /(?:[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;
775
+ function Vi(e) {
816
776
  var t = {};
817
- return e.replace(Ui, function(r) {
777
+ return e.replace(ki, function(r) {
818
778
  var i = r.length;
819
779
  switch (r[0]) {
820
780
  case "G":
@@ -903,11 +863,21 @@ function Gi(e) {
903
863
  return "";
904
864
  }), t;
905
865
  }
906
- var Fi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
907
- function ji(e) {
866
+ var L = function() {
867
+ return L = Object.assign || function(t) {
868
+ for (var r, i = 1, n = arguments.length; i < n; i++) {
869
+ r = arguments[i];
870
+ for (var o in r)
871
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
872
+ }
873
+ return t;
874
+ }, L.apply(this, arguments);
875
+ };
876
+ var Wi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
877
+ function zi(e) {
908
878
  if (e.length === 0)
909
879
  throw new Error("Number skeleton cannot be empty");
910
- for (var t = e.split(Fi).filter(function(f) {
880
+ for (var t = e.split(Wi).filter(function(f) {
911
881
  return f.length > 0;
912
882
  }), r = [], i = 0, n = t; i < n.length; i++) {
913
883
  var o = n[i], s = o.split("/");
@@ -922,17 +892,17 @@ function ji(e) {
922
892
  }
923
893
  return r;
924
894
  }
925
- function ki(e) {
895
+ function Xi(e) {
926
896
  return e.replace(/^(.*?)-/, "");
927
897
  }
928
- var _t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, Vi = /(\*)(0+)|(#+)(0+)|(0+)/g, or = /^(0+)$/;
929
- function wt(e) {
898
+ var Lt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ur = /^(@+)?(\+|#+)?[rs]?$/g, Zi = /(\*)(0+)|(#+)(0+)|(0+)/g, lr = /^(0+)$/;
899
+ function At(e) {
930
900
  var t = {};
931
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, i, n) {
901
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ur, function(r, i, n) {
932
902
  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)), "";
933
903
  }), t;
934
904
  }
935
- function sr(e) {
905
+ function hr(e) {
936
906
  switch (e) {
937
907
  case "sign-auto":
938
908
  return {
@@ -972,7 +942,7 @@ function sr(e) {
972
942
  };
973
943
  }
974
944
  }
975
- function Wi(e) {
945
+ function Qi(e) {
976
946
  var t;
977
947
  if (e[0] === "E" && e[1] === "E" ? (t = {
978
948
  notation: "engineering"
@@ -980,17 +950,17 @@ function Wi(e) {
980
950
  notation: "scientific"
981
951
  }, e = e.slice(1)), t) {
982
952
  var r = e.slice(0, 2);
983
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !or.test(e))
953
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !lr.test(e))
984
954
  throw new Error("Malformed concise eng/scientific notation");
985
955
  t.minimumIntegerDigits = e.length;
986
956
  }
987
957
  return t;
988
958
  }
989
- function Tt(e) {
990
- var t = {}, r = sr(e);
959
+ function Ht(e) {
960
+ var t = {}, r = hr(e);
991
961
  return r || t;
992
962
  }
993
- function zi(e) {
963
+ function Yi(e) {
994
964
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
995
965
  var n = i[r];
996
966
  switch (n.stem) {
@@ -1014,7 +984,7 @@ function zi(e) {
1014
984
  continue;
1015
985
  case "measure-unit":
1016
986
  case "unit":
1017
- t.style = "unit", t.unit = ki(n.options[0]);
987
+ t.style = "unit", t.unit = Xi(n.options[0]);
1018
988
  continue;
1019
989
  case "compact-short":
1020
990
  case "K":
@@ -1025,13 +995,13 @@ function zi(e) {
1025
995
  t.notation = "compact", t.compactDisplay = "long";
1026
996
  continue;
1027
997
  case "scientific":
1028
- t = E(E(E({}, t), { notation: "scientific" }), n.options.reduce(function(l, u) {
1029
- return E(E({}, l), Tt(u));
998
+ t = L(L(L({}, t), { notation: "scientific" }), n.options.reduce(function(l, u) {
999
+ return L(L({}, l), Ht(u));
1030
1000
  }, {}));
1031
1001
  continue;
1032
1002
  case "engineering":
1033
- t = E(E(E({}, t), { notation: "engineering" }), n.options.reduce(function(l, u) {
1034
- return E(E({}, l), Tt(u));
1003
+ t = L(L(L({}, t), { notation: "engineering" }), n.options.reduce(function(l, u) {
1004
+ return L(L({}, l), Ht(u));
1035
1005
  }, {}));
1036
1006
  continue;
1037
1007
  case "notation-simple":
@@ -1076,7 +1046,7 @@ function zi(e) {
1076
1046
  case "integer-width":
1077
1047
  if (n.options.length > 1)
1078
1048
  throw new RangeError("integer-width stems only accept a single optional option");
1079
- n.options[0].replace(Vi, function(l, u, h, c, f, p) {
1049
+ n.options[0].replace(Zi, function(l, u, h, c, f, p) {
1080
1050
  if (u)
1081
1051
  t.minimumIntegerDigits = h.length;
1082
1052
  else {
@@ -1089,28 +1059,28 @@ function zi(e) {
1089
1059
  });
1090
1060
  continue;
1091
1061
  }
1092
- if (or.test(n.stem)) {
1062
+ if (lr.test(n.stem)) {
1093
1063
  t.minimumIntegerDigits = n.stem.length;
1094
1064
  continue;
1095
1065
  }
1096
- if (_t.test(n.stem)) {
1066
+ if (Lt.test(n.stem)) {
1097
1067
  if (n.options.length > 1)
1098
1068
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1099
- n.stem.replace(_t, function(l, u, h, c, f, p) {
1069
+ n.stem.replace(Lt, function(l, u, h, c, f, p) {
1100
1070
  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), "";
1101
1071
  });
1102
1072
  var o = n.options[0];
1103
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), wt(o)));
1073
+ o === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = L(L({}, t), At(o)));
1104
1074
  continue;
1105
1075
  }
1106
- if (nr.test(n.stem)) {
1107
- t = E(E({}, t), wt(n.stem));
1076
+ if (ur.test(n.stem)) {
1077
+ t = L(L({}, t), At(n.stem));
1108
1078
  continue;
1109
1079
  }
1110
- var s = sr(n.stem);
1111
- s && (t = E(E({}, t), s));
1112
- var a = Wi(n.stem);
1113
- a && (t = E(E({}, t), a));
1080
+ var s = hr(n.stem);
1081
+ s && (t = L(L({}, t), s));
1082
+ var a = Qi(n.stem);
1083
+ a && (t = L(L({}, t), a));
1114
1084
  }
1115
1085
  return t;
1116
1086
  }
@@ -2529,13 +2499,13 @@ var ve = {
2529
2499
  "h"
2530
2500
  ]
2531
2501
  };
2532
- function Xi(e, t) {
2502
+ function Ji(e, t) {
2533
2503
  for (var r = "", i = 0; i < e.length; i++) {
2534
2504
  var n = e.charAt(i);
2535
2505
  if (n === "j") {
2536
2506
  for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2537
2507
  o++, i++;
2538
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Zi(t);
2508
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = qi(t);
2539
2509
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2540
2510
  r += l;
2541
2511
  for (; s-- > 0; )
@@ -2545,7 +2515,7 @@ function Xi(e, t) {
2545
2515
  }
2546
2516
  return r;
2547
2517
  }
2548
- function Zi(e) {
2518
+ function qi(e) {
2549
2519
  var t = e.hourCycle;
2550
2520
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2551
2521
  e.hourCycles && // @ts-ignore
@@ -2567,20 +2537,20 @@ function Zi(e) {
2567
2537
  var n = ve[i || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
2568
2538
  return n[0];
2569
2539
  }
2570
- var Fe, Qi = new RegExp("^".concat(ir.source, "*")), Yi = new RegExp("".concat(ir.source, "*$"));
2571
- function x(e, t) {
2540
+ var Ve, Ki = new RegExp("^".concat(ar.source, "*")), en = new RegExp("".concat(ar.source, "*$"));
2541
+ function _(e, t) {
2572
2542
  return { start: e, end: t };
2573
2543
  }
2574
- var Ji = !!String.prototype.startsWith && "_a".startsWith("a", 1), qi = !!String.fromCodePoint, Ki = !!Object.fromEntries, en = !!String.prototype.codePointAt, tn = !!String.prototype.trimStart, rn = !!String.prototype.trimEnd, nn = !!Number.isSafeInteger, on = nn ? Number.isSafeInteger : function(e) {
2544
+ var tn = !!String.prototype.startsWith && "_a".startsWith("a", 1), rn = !!String.fromCodePoint, nn = !!Object.fromEntries, on = !!String.prototype.codePointAt, sn = !!String.prototype.trimStart, an = !!String.prototype.trimEnd, un = !!Number.isSafeInteger, ln = un ? Number.isSafeInteger : function(e) {
2575
2545
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2576
- }, Ke = !0;
2546
+ }, et = !0;
2577
2547
  try {
2578
- var sn = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2579
- Ke = ((Fe = sn.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
2548
+ var hn = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2549
+ et = ((Ve = hn.exec("a")) === null || Ve === void 0 ? void 0 : Ve[0]) === "a";
2580
2550
  } catch (e) {
2581
- Ke = !1;
2551
+ et = !1;
2582
2552
  }
2583
- var Lt = Ji ? (
2553
+ var Pt = tn ? (
2584
2554
  // Native
2585
2555
  function(t, r, i) {
2586
2556
  return t.startsWith(r, i);
@@ -2590,7 +2560,7 @@ var Lt = Ji ? (
2590
2560
  function(t, r, i) {
2591
2561
  return t.slice(i, i + r.length) === r;
2592
2562
  }
2593
- ), et = qi ? String.fromCodePoint : (
2563
+ ), tt = rn ? String.fromCodePoint : (
2594
2564
  // IE11
2595
2565
  function() {
2596
2566
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2602,9 +2572,9 @@ var Lt = Ji ? (
2602
2572
  }
2603
2573
  return i;
2604
2574
  }
2605
- ), St = (
2575
+ ), Bt = (
2606
2576
  // native
2607
- Ki ? Object.fromEntries : (
2577
+ nn ? Object.fromEntries : (
2608
2578
  // Ponyfill
2609
2579
  function(t) {
2610
2580
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -2614,7 +2584,7 @@ var Lt = Ji ? (
2614
2584
  return r;
2615
2585
  }
2616
2586
  )
2617
- ), ar = en ? (
2587
+ ), cr = on ? (
2618
2588
  // Native
2619
2589
  function(t, r) {
2620
2590
  return t.codePointAt(r);
@@ -2628,7 +2598,7 @@ var Lt = Ji ? (
2628
2598
  return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
2629
2599
  }
2630
2600
  }
2631
- ), an = tn ? (
2601
+ ), cn = sn ? (
2632
2602
  // Native
2633
2603
  function(t) {
2634
2604
  return t.trimStart();
@@ -2636,9 +2606,9 @@ var Lt = Ji ? (
2636
2606
  ) : (
2637
2607
  // Ponyfill
2638
2608
  function(t) {
2639
- return t.replace(Qi, "");
2609
+ return t.replace(Ki, "");
2640
2610
  }
2641
- ), un = rn ? (
2611
+ ), fn = an ? (
2642
2612
  // Native
2643
2613
  function(t) {
2644
2614
  return t.trimEnd();
@@ -2646,32 +2616,32 @@ var Lt = Ji ? (
2646
2616
  ) : (
2647
2617
  // Ponyfill
2648
2618
  function(t) {
2649
- return t.replace(Yi, "");
2619
+ return t.replace(en, "");
2650
2620
  }
2651
2621
  );
2652
- function ur(e, t) {
2622
+ function fr(e, t) {
2653
2623
  return new RegExp(e, t);
2654
2624
  }
2655
- var tt;
2656
- if (Ke) {
2657
- var Ht = ur("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2658
- tt = function(t, r) {
2625
+ var rt;
2626
+ if (et) {
2627
+ var Ot = fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2628
+ rt = function(t, r) {
2659
2629
  var i;
2660
- Ht.lastIndex = r;
2661
- var n = Ht.exec(t);
2630
+ Ot.lastIndex = r;
2631
+ var n = Ot.exec(t);
2662
2632
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2663
2633
  };
2664
2634
  } else
2665
- tt = function(t, r) {
2635
+ rt = function(t, r) {
2666
2636
  for (var i = []; ; ) {
2667
- var n = ar(t, r);
2668
- if (n === void 0 || lr(n) || fn(n))
2637
+ var n = cr(t, r);
2638
+ if (n === void 0 || mr(n) || yn(n))
2669
2639
  break;
2670
2640
  i.push(n), r += n >= 65536 ? 2 : 1;
2671
2641
  }
2672
- return et.apply(void 0, i);
2642
+ return tt.apply(void 0, i);
2673
2643
  };
2674
- var ln = (
2644
+ var mn = (
2675
2645
  /** @class */
2676
2646
  function() {
2677
2647
  function e(t, r) {
@@ -2695,14 +2665,14 @@ var ln = (
2695
2665
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2696
2666
  var a = this.clonePosition();
2697
2667
  this.bump(), n.push({
2698
- type: L.pound,
2699
- location: x(a, this.clonePosition())
2668
+ type: T.pound,
2669
+ location: _(a, this.clonePosition())
2700
2670
  });
2701
2671
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2702
2672
  if (i)
2703
2673
  break;
2704
- return this.error(g.UNMATCHED_CLOSING_TAG, x(this.clonePosition(), this.clonePosition()));
2705
- } else if (o === 60 && !this.ignoreTag && rt(this.peek() || 0)) {
2674
+ return this.error(b.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2675
+ } else if (o === 60 && !this.ignoreTag && it(this.peek() || 0)) {
2706
2676
  var s = this.parseTag(t, r);
2707
2677
  if (s.err)
2708
2678
  return s;
@@ -2723,9 +2693,9 @@ var ln = (
2723
2693
  if (this.bumpSpace(), this.bumpIf("/>"))
2724
2694
  return {
2725
2695
  val: {
2726
- type: L.literal,
2696
+ type: T.literal,
2727
2697
  value: "<".concat(n, "/>"),
2728
- location: x(i, this.clonePosition())
2698
+ location: _(i, this.clonePosition())
2729
2699
  },
2730
2700
  err: null
2731
2701
  };
@@ -2735,25 +2705,25 @@ var ln = (
2735
2705
  return o;
2736
2706
  var s = o.val, a = this.clonePosition();
2737
2707
  if (this.bumpIf("</")) {
2738
- if (this.isEOF() || !rt(this.char()))
2739
- return this.error(g.INVALID_TAG, x(a, this.clonePosition()));
2708
+ if (this.isEOF() || !it(this.char()))
2709
+ return this.error(b.INVALID_TAG, _(a, this.clonePosition()));
2740
2710
  var l = this.clonePosition(), u = this.parseTagName();
2741
- return n !== u ? this.error(g.UNMATCHED_CLOSING_TAG, x(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2711
+ return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2742
2712
  val: {
2743
- type: L.tag,
2713
+ type: T.tag,
2744
2714
  value: n,
2745
2715
  children: s,
2746
- location: x(i, this.clonePosition())
2716
+ location: _(i, this.clonePosition())
2747
2717
  },
2748
2718
  err: null
2749
- } : this.error(g.INVALID_TAG, x(a, this.clonePosition())));
2719
+ } : this.error(b.INVALID_TAG, _(a, this.clonePosition())));
2750
2720
  } else
2751
- return this.error(g.UNCLOSED_TAG, x(i, this.clonePosition()));
2721
+ return this.error(b.UNCLOSED_TAG, _(i, this.clonePosition()));
2752
2722
  } else
2753
- return this.error(g.INVALID_TAG, x(i, this.clonePosition()));
2723
+ return this.error(b.INVALID_TAG, _(i, this.clonePosition()));
2754
2724
  }, e.prototype.parseTagName = function() {
2755
2725
  var t = this.offset();
2756
- for (this.bump(); !this.isEOF() && cn(this.char()); )
2726
+ for (this.bump(); !this.isEOF() && dn(this.char()); )
2757
2727
  this.bump();
2758
2728
  return this.message.slice(t, this.offset());
2759
2729
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2775,14 +2745,14 @@ var ln = (
2775
2745
  }
2776
2746
  break;
2777
2747
  }
2778
- var l = x(i, this.clonePosition());
2748
+ var l = _(i, this.clonePosition());
2779
2749
  return {
2780
- val: { type: L.literal, value: n, location: l },
2750
+ val: { type: T.literal, value: n, location: l },
2781
2751
  err: null
2782
2752
  };
2783
2753
  }, e.prototype.tryParseLeftAngleBracket = function() {
2784
2754
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2785
- !hn(this.peek() || 0)) ? (this.bump(), "<") : null;
2755
+ !pn(this.peek() || 0)) ? (this.bump(), "<") : null;
2786
2756
  }, e.prototype.tryParseQuote = function(t) {
2787
2757
  if (this.isEOF() || this.char() !== 39)
2788
2758
  return null;
@@ -2816,49 +2786,49 @@ var ln = (
2816
2786
  r.push(i);
2817
2787
  this.bump();
2818
2788
  }
2819
- return et.apply(void 0, r);
2789
+ return tt.apply(void 0, r);
2820
2790
  }, e.prototype.tryParseUnquoted = function(t, r) {
2821
2791
  if (this.isEOF())
2822
2792
  return null;
2823
2793
  var i = this.char();
2824
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), et(i));
2794
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), tt(i));
2825
2795
  }, e.prototype.parseArgument = function(t, r) {
2826
2796
  var i = this.clonePosition();
2827
2797
  if (this.bump(), this.bumpSpace(), this.isEOF())
2828
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, x(i, this.clonePosition()));
2798
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
2829
2799
  if (this.char() === 125)
2830
- return this.bump(), this.error(g.EMPTY_ARGUMENT, x(i, this.clonePosition()));
2800
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, _(i, this.clonePosition()));
2831
2801
  var n = this.parseIdentifierIfPossible().value;
2832
2802
  if (!n)
2833
- return this.error(g.MALFORMED_ARGUMENT, x(i, this.clonePosition()));
2803
+ return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
2834
2804
  if (this.bumpSpace(), this.isEOF())
2835
- return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, x(i, this.clonePosition()));
2805
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition()));
2836
2806
  switch (this.char()) {
2837
2807
  case 125:
2838
2808
  return this.bump(), {
2839
2809
  val: {
2840
- type: L.argument,
2810
+ type: T.argument,
2841
2811
  // value does not include the opening and closing braces.
2842
2812
  value: n,
2843
- location: x(i, this.clonePosition())
2813
+ location: _(i, this.clonePosition())
2844
2814
  },
2845
2815
  err: null
2846
2816
  };
2847
2817
  case 44:
2848
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, x(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2818
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2849
2819
  default:
2850
- return this.error(g.MALFORMED_ARGUMENT, x(i, this.clonePosition()));
2820
+ return this.error(b.MALFORMED_ARGUMENT, _(i, this.clonePosition()));
2851
2821
  }
2852
2822
  }, e.prototype.parseIdentifierIfPossible = function() {
2853
- var t = this.clonePosition(), r = this.offset(), i = tt(this.message, r), n = r + i.length;
2823
+ var t = this.clonePosition(), r = this.offset(), i = rt(this.message, r), n = r + i.length;
2854
2824
  this.bumpTo(n);
2855
- var o = this.clonePosition(), s = x(t, o);
2825
+ var o = this.clonePosition(), s = _(t, o);
2856
2826
  return { value: i, location: s };
2857
2827
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
2858
2828
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2859
2829
  switch (a) {
2860
2830
  case "":
2861
- return this.error(g.EXPECT_ARGUMENT_TYPE, x(s, l));
2831
+ return this.error(b.EXPECT_ARGUMENT_TYPE, _(s, l));
2862
2832
  case "number":
2863
2833
  case "date":
2864
2834
  case "time": {
@@ -2869,44 +2839,44 @@ var ln = (
2869
2839
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2870
2840
  if (c.err)
2871
2841
  return c;
2872
- var f = un(c.val);
2842
+ var f = fn(c.val);
2873
2843
  if (f.length === 0)
2874
- return this.error(g.EXPECT_ARGUMENT_STYLE, x(this.clonePosition(), this.clonePosition()));
2875
- var p = x(h, this.clonePosition());
2844
+ return this.error(b.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2845
+ var p = _(h, this.clonePosition());
2876
2846
  u = { style: f, styleLocation: p };
2877
2847
  }
2878
2848
  var y = this.tryParseArgumentClose(n);
2879
2849
  if (y.err)
2880
2850
  return y;
2881
- var d = x(n, this.clonePosition());
2882
- if (u && Lt(u == null ? void 0 : u.style, "::", 0)) {
2883
- var v = an(u.style.slice(2));
2851
+ var d = _(n, this.clonePosition());
2852
+ if (u && Pt(u == null ? void 0 : u.style, "::", 0)) {
2853
+ var v = cn(u.style.slice(2));
2884
2854
  if (a === "number") {
2885
2855
  var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
2886
2856
  return c.err ? c : {
2887
- val: { type: L.number, value: i, location: d, style: c.val },
2857
+ val: { type: T.number, value: i, location: d, style: c.val },
2888
2858
  err: null
2889
2859
  };
2890
2860
  } else {
2891
2861
  if (v.length === 0)
2892
- return this.error(g.EXPECT_DATE_TIME_SKELETON, d);
2862
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
2893
2863
  var P = v;
2894
- this.locale && (P = Xi(v, this.locale));
2864
+ this.locale && (P = Ji(v, this.locale));
2895
2865
  var f = {
2896
- type: ee.dateTime,
2866
+ type: K.dateTime,
2897
2867
  pattern: P,
2898
2868
  location: u.styleLocation,
2899
- parsedOptions: this.shouldParseSkeletons ? Gi(P) : {}
2900
- }, b = a === "date" ? L.date : L.time;
2869
+ parsedOptions: this.shouldParseSkeletons ? Vi(P) : {}
2870
+ }, g = a === "date" ? T.date : T.time;
2901
2871
  return {
2902
- val: { type: b, value: i, location: d, style: f },
2872
+ val: { type: g, value: i, location: d, style: f },
2903
2873
  err: null
2904
2874
  };
2905
2875
  }
2906
2876
  }
2907
2877
  return {
2908
2878
  val: {
2909
- type: a === "number" ? L.number : a === "date" ? L.date : L.time,
2879
+ type: a === "number" ? T.number : a === "date" ? T.date : T.time,
2910
2880
  value: i,
2911
2881
  location: d,
2912
2882
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -2919,38 +2889,38 @@ var ln = (
2919
2889
  case "select": {
2920
2890
  var S = this.clonePosition();
2921
2891
  if (this.bumpSpace(), !this.bumpIf(","))
2922
- return this.error(g.EXPECT_SELECT_ARGUMENT_OPTIONS, x(S, E({}, S)));
2892
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, _(S, Le({}, S)));
2923
2893
  this.bumpSpace();
2924
- var R = this.parseIdentifierIfPossible(), M = 0;
2925
- if (a !== "select" && R.value === "offset") {
2894
+ var D = this.parseIdentifierIfPossible(), M = 0;
2895
+ if (a !== "select" && D.value === "offset") {
2926
2896
  if (!this.bumpIf(":"))
2927
- return this.error(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, x(this.clonePosition(), this.clonePosition()));
2897
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2928
2898
  this.bumpSpace();
2929
- var c = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2899
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2930
2900
  if (c.err)
2931
2901
  return c;
2932
- this.bumpSpace(), R = this.parseIdentifierIfPossible(), M = c.val;
2902
+ this.bumpSpace(), D = this.parseIdentifierIfPossible(), M = c.val;
2933
2903
  }
2934
- var D = this.tryParsePluralOrSelectOptions(t, a, r, R);
2935
- if (D.err)
2936
- return D;
2904
+ var $ = this.tryParsePluralOrSelectOptions(t, a, r, D);
2905
+ if ($.err)
2906
+ return $;
2937
2907
  var y = this.tryParseArgumentClose(n);
2938
2908
  if (y.err)
2939
2909
  return y;
2940
- var W = x(n, this.clonePosition());
2910
+ var W = _(n, this.clonePosition());
2941
2911
  return a === "select" ? {
2942
2912
  val: {
2943
- type: L.select,
2913
+ type: T.select,
2944
2914
  value: i,
2945
- options: St(D.val),
2915
+ options: Bt($.val),
2946
2916
  location: W
2947
2917
  },
2948
2918
  err: null
2949
2919
  } : {
2950
2920
  val: {
2951
- type: L.plural,
2921
+ type: T.plural,
2952
2922
  value: i,
2953
- options: St(D.val),
2923
+ options: Bt($.val),
2954
2924
  offset: M,
2955
2925
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2956
2926
  location: W
@@ -2959,10 +2929,10 @@ var ln = (
2959
2929
  };
2960
2930
  }
2961
2931
  default:
2962
- return this.error(g.INVALID_ARGUMENT_TYPE, x(s, l));
2932
+ return this.error(b.INVALID_ARGUMENT_TYPE, _(s, l));
2963
2933
  }
2964
2934
  }, e.prototype.tryParseArgumentClose = function(t) {
2965
- return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, x(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2935
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2966
2936
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2967
2937
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2968
2938
  var i = this.char();
@@ -2971,7 +2941,7 @@ var ln = (
2971
2941
  this.bump();
2972
2942
  var n = this.clonePosition();
2973
2943
  if (!this.bumpUntil("'"))
2974
- return this.error(g.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, x(n, this.clonePosition()));
2944
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(n, this.clonePosition()));
2975
2945
  this.bump();
2976
2946
  break;
2977
2947
  }
@@ -3001,16 +2971,16 @@ var ln = (
3001
2971
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3002
2972
  var i = [];
3003
2973
  try {
3004
- i = ji(t);
2974
+ i = zi(t);
3005
2975
  } catch (n) {
3006
- return this.error(g.INVALID_NUMBER_SKELETON, r);
2976
+ return this.error(b.INVALID_NUMBER_SKELETON, r);
3007
2977
  }
3008
2978
  return {
3009
2979
  val: {
3010
- type: ee.number,
2980
+ type: K.number,
3011
2981
  tokens: i,
3012
2982
  location: r,
3013
- parsedOptions: this.shouldParseSkeletons ? zi(i) : {}
2983
+ parsedOptions: this.shouldParseSkeletons ? Yi(i) : {}
3014
2984
  },
3015
2985
  err: null
3016
2986
  };
@@ -3019,19 +2989,19 @@ var ln = (
3019
2989
  if (u.length === 0) {
3020
2990
  var c = this.clonePosition();
3021
2991
  if (r !== "select" && this.bumpIf("=")) {
3022
- var f = this.tryParseDecimalInteger(g.EXPECT_PLURAL_ARGUMENT_SELECTOR, g.INVALID_PLURAL_ARGUMENT_SELECTOR);
2992
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3023
2993
  if (f.err)
3024
2994
  return f;
3025
- h = x(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2995
+ h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3026
2996
  } else
3027
2997
  break;
3028
2998
  }
3029
2999
  if (l.has(u))
3030
- return this.error(r === "select" ? g.DUPLICATE_SELECT_ARGUMENT_SELECTOR : g.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3000
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3031
3001
  u === "other" && (s = !0), this.bumpSpace();
3032
3002
  var p = this.clonePosition();
3033
3003
  if (!this.bumpIf("{"))
3034
- return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, x(this.clonePosition(), this.clonePosition()));
3004
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3035
3005
  var y = this.parseMessage(t + 1, r, i);
3036
3006
  if (y.err)
3037
3007
  return y;
@@ -3042,11 +3012,11 @@ var ln = (
3042
3012
  u,
3043
3013
  {
3044
3014
  value: y.val,
3045
- location: x(p, this.clonePosition())
3015
+ location: _(p, this.clonePosition())
3046
3016
  }
3047
3017
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3048
3018
  }
3049
- return a.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, x(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(g.MISSING_OTHER_CLAUSE, x(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3019
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3050
3020
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3051
3021
  var i = 1, n = this.clonePosition();
3052
3022
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
@@ -3057,8 +3027,8 @@ var ln = (
3057
3027
  else
3058
3028
  break;
3059
3029
  }
3060
- var l = x(n, this.clonePosition());
3061
- return o ? (s *= i, on(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3030
+ var l = _(n, this.clonePosition());
3031
+ return o ? (s *= i, ln(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3062
3032
  }, e.prototype.offset = function() {
3063
3033
  return this.position.offset;
3064
3034
  }, e.prototype.isEOF = function() {
@@ -3073,7 +3043,7 @@ var ln = (
3073
3043
  var t = this.position.offset;
3074
3044
  if (t >= this.message.length)
3075
3045
  throw Error("out of bound");
3076
- var r = ar(this.message, t);
3046
+ var r = cr(this.message, t);
3077
3047
  if (r === void 0)
3078
3048
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3079
3049
  return r;
@@ -3092,7 +3062,7 @@ var ln = (
3092
3062
  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);
3093
3063
  }
3094
3064
  }, e.prototype.bumpIf = function(t) {
3095
- if (Lt(this.message, t, this.offset())) {
3065
+ if (Pt(this.message, t, this.offset())) {
3096
3066
  for (var r = 0; r < t.length; r++)
3097
3067
  this.bump();
3098
3068
  return !0;
@@ -3114,7 +3084,7 @@ var ln = (
3114
3084
  break;
3115
3085
  }
3116
3086
  }, e.prototype.bumpSpace = function() {
3117
- for (; !this.isEOF() && lr(this.char()); )
3087
+ for (; !this.isEOF() && mr(this.char()); )
3118
3088
  this.bump();
3119
3089
  }, e.prototype.peek = function() {
3120
3090
  if (this.isEOF())
@@ -3124,47 +3094,47 @@ var ln = (
3124
3094
  }, e;
3125
3095
  }()
3126
3096
  );
3127
- function rt(e) {
3097
+ function it(e) {
3128
3098
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3129
3099
  }
3130
- function hn(e) {
3131
- return rt(e) || e === 47;
3100
+ function pn(e) {
3101
+ return it(e) || e === 47;
3132
3102
  }
3133
- function cn(e) {
3103
+ function dn(e) {
3134
3104
  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;
3135
3105
  }
3136
- function lr(e) {
3106
+ function mr(e) {
3137
3107
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3138
3108
  }
3139
- function fn(e) {
3109
+ function yn(e) {
3140
3110
  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;
3141
3111
  }
3142
- function it(e) {
3112
+ function nt(e) {
3143
3113
  e.forEach(function(t) {
3144
- if (delete t.location, Kt(t) || er(t))
3114
+ if (delete t.location, ir(t) || nr(t))
3145
3115
  for (var r in t.options)
3146
- delete t.options[r].location, it(t.options[r].value);
3116
+ delete t.options[r].location, nt(t.options[r].value);
3147
3117
  else
3148
- Yt(t) && rr(t.style) || (Jt(t) || qt(t)) && qe(t.style) ? delete t.style.location : tr(t) && it(t.children);
3118
+ er(t) && sr(t.style) || (tr(t) || rr(t)) && Ke(t.style) ? delete t.style.location : or(t) && nt(t.children);
3149
3119
  });
3150
3120
  }
3151
- function mn(e, t) {
3152
- t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3153
- var r = new ln(e, t).parse();
3121
+ function gn(e, t) {
3122
+ t === void 0 && (t = {}), t = Le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3123
+ var r = new mn(e, t).parse();
3154
3124
  if (r.err) {
3155
- var i = SyntaxError(g[r.err.kind]);
3125
+ var i = SyntaxError(b[r.err.kind]);
3156
3126
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3157
3127
  }
3158
- return t != null && t.captureLocation || it(r.val), r.val;
3128
+ return t != null && t.captureLocation || nt(r.val), r.val;
3159
3129
  }
3160
- var te;
3130
+ var ee;
3161
3131
  (function(e) {
3162
3132
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3163
- })(te || (te = {}));
3164
- var Pe = (
3133
+ })(ee || (ee = {}));
3134
+ var Oe = (
3165
3135
  /** @class */
3166
3136
  function(e) {
3167
- F(t, e);
3137
+ Be(t, e);
3168
3138
  function t(r, i, n) {
3169
3139
  var o = e.call(this, r) || this;
3170
3140
  return o.code = i, o.originalMessage = n, o;
@@ -3173,48 +3143,48 @@ var Pe = (
3173
3143
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3174
3144
  }, t;
3175
3145
  }(Error)
3176
- ), At = (
3146
+ ), Ct = (
3177
3147
  /** @class */
3178
3148
  function(e) {
3179
- F(t, e);
3149
+ Be(t, e);
3180
3150
  function t(r, i, n, o) {
3181
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3151
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
3182
3152
  }
3183
3153
  return t;
3184
- }(Pe)
3185
- ), pn = (
3154
+ }(Oe)
3155
+ ), bn = (
3186
3156
  /** @class */
3187
3157
  function(e) {
3188
- F(t, e);
3158
+ Be(t, e);
3189
3159
  function t(r, i, n) {
3190
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), te.INVALID_VALUE, n) || this;
3160
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), ee.INVALID_VALUE, n) || this;
3191
3161
  }
3192
3162
  return t;
3193
- }(Pe)
3194
- ), dn = (
3163
+ }(Oe)
3164
+ ), vn = (
3195
3165
  /** @class */
3196
3166
  function(e) {
3197
- F(t, e);
3167
+ Be(t, e);
3198
3168
  function t(r, i) {
3199
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), te.MISSING_VALUE, i) || this;
3169
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), ee.MISSING_VALUE, i) || this;
3200
3170
  }
3201
3171
  return t;
3202
- }(Pe)
3172
+ }(Oe)
3203
3173
  ), B;
3204
3174
  (function(e) {
3205
3175
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3206
3176
  })(B || (B = {}));
3207
- function yn(e) {
3177
+ function _n(e) {
3208
3178
  return e.length < 2 ? e : e.reduce(function(t, r) {
3209
3179
  var i = t[t.length - 1];
3210
3180
  return !i || i.type !== B.literal || r.type !== B.literal ? t.push(r) : i.value += r.value, t;
3211
3181
  }, []);
3212
3182
  }
3213
- function bn(e) {
3183
+ function En(e) {
3214
3184
  return typeof e == "function";
3215
3185
  }
3216
- function _e(e, t, r, i, n, o, s) {
3217
- if (e.length === 1 && Et(e[0]))
3186
+ function xe(e, t, r, i, n, o, s) {
3187
+ if (e.length === 1 && St(e[0]))
3218
3188
  return [
3219
3189
  {
3220
3190
  type: B.literal,
@@ -3223,14 +3193,14 @@ function _e(e, t, r, i, n, o, s) {
3223
3193
  ];
3224
3194
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3225
3195
  var h = u[l];
3226
- if (Et(h)) {
3196
+ if (St(h)) {
3227
3197
  a.push({
3228
3198
  type: B.literal,
3229
3199
  value: h.value
3230
3200
  });
3231
3201
  continue;
3232
3202
  }
3233
- if ($i(h)) {
3203
+ if (ji(h)) {
3234
3204
  typeof o == "number" && a.push({
3235
3205
  type: B.literal,
3236
3206
  value: r.getNumberFormat(t).format(o)
@@ -3239,89 +3209,89 @@ function _e(e, t, r, i, n, o, s) {
3239
3209
  }
3240
3210
  var c = h.value;
3241
3211
  if (!(n && c in n))
3242
- throw new dn(c, s);
3212
+ throw new vn(c, s);
3243
3213
  var f = n[c];
3244
- if (Di(h)) {
3214
+ if (Fi(h)) {
3245
3215
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3246
3216
  type: typeof f == "string" ? B.literal : B.object,
3247
3217
  value: f
3248
3218
  });
3249
3219
  continue;
3250
3220
  }
3251
- if (Jt(h)) {
3252
- var p = typeof h.style == "string" ? i.date[h.style] : qe(h.style) ? h.style.parsedOptions : void 0;
3221
+ if (tr(h)) {
3222
+ var p = typeof h.style == "string" ? i.date[h.style] : Ke(h.style) ? h.style.parsedOptions : void 0;
3253
3223
  a.push({
3254
3224
  type: B.literal,
3255
3225
  value: r.getDateTimeFormat(t, p).format(f)
3256
3226
  });
3257
3227
  continue;
3258
3228
  }
3259
- if (qt(h)) {
3260
- var p = typeof h.style == "string" ? i.time[h.style] : qe(h.style) ? h.style.parsedOptions : i.time.medium;
3229
+ if (rr(h)) {
3230
+ var p = typeof h.style == "string" ? i.time[h.style] : Ke(h.style) ? h.style.parsedOptions : i.time.medium;
3261
3231
  a.push({
3262
3232
  type: B.literal,
3263
3233
  value: r.getDateTimeFormat(t, p).format(f)
3264
3234
  });
3265
3235
  continue;
3266
3236
  }
3267
- if (Yt(h)) {
3268
- var p = typeof h.style == "string" ? i.number[h.style] : rr(h.style) ? h.style.parsedOptions : void 0;
3237
+ if (er(h)) {
3238
+ var p = typeof h.style == "string" ? i.number[h.style] : sr(h.style) ? h.style.parsedOptions : void 0;
3269
3239
  p && p.scale && (f = f * (p.scale || 1)), a.push({
3270
3240
  type: B.literal,
3271
3241
  value: r.getNumberFormat(t, p).format(f)
3272
3242
  });
3273
3243
  continue;
3274
3244
  }
3275
- if (tr(h)) {
3245
+ if (or(h)) {
3276
3246
  var y = h.children, d = h.value, v = n[d];
3277
- if (!bn(v))
3278
- throw new pn(d, "function", s);
3279
- var P = _e(y, t, r, i, n, o), b = v(P.map(function(M) {
3247
+ if (!En(v))
3248
+ throw new bn(d, "function", s);
3249
+ var P = xe(y, t, r, i, n, o), g = v(P.map(function(M) {
3280
3250
  return M.value;
3281
3251
  }));
3282
- Array.isArray(b) || (b = [b]), a.push.apply(a, b.map(function(M) {
3252
+ Array.isArray(g) || (g = [g]), a.push.apply(a, g.map(function(M) {
3283
3253
  return {
3284
3254
  type: typeof M == "string" ? B.literal : B.object,
3285
3255
  value: M
3286
3256
  };
3287
3257
  }));
3288
3258
  }
3289
- if (Kt(h)) {
3259
+ if (ir(h)) {
3290
3260
  var S = h.options[f] || h.options.other;
3291
3261
  if (!S)
3292
- throw new At(h.value, f, Object.keys(h.options), s);
3293
- a.push.apply(a, _e(S.value, t, r, i, n));
3262
+ throw new Ct(h.value, f, Object.keys(h.options), s);
3263
+ a.push.apply(a, xe(S.value, t, r, i, n));
3294
3264
  continue;
3295
3265
  }
3296
- if (er(h)) {
3266
+ if (nr(h)) {
3297
3267
  var S = h.options["=".concat(f)];
3298
3268
  if (!S) {
3299
3269
  if (!Intl.PluralRules)
3300
- throw new Pe(`Intl.PluralRules is not available in this environment.
3270
+ throw new Oe(`Intl.PluralRules is not available in this environment.
3301
3271
  Try polyfilling it using "@formatjs/intl-pluralrules"
3302
- `, te.MISSING_INTL_API, s);
3303
- var R = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3304
- S = h.options[R] || h.options.other;
3272
+ `, ee.MISSING_INTL_API, s);
3273
+ var D = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3274
+ S = h.options[D] || h.options.other;
3305
3275
  }
3306
3276
  if (!S)
3307
- throw new At(h.value, f, Object.keys(h.options), s);
3308
- a.push.apply(a, _e(S.value, t, r, i, n, f - (h.offset || 0)));
3277
+ throw new Ct(h.value, f, Object.keys(h.options), s);
3278
+ a.push.apply(a, xe(S.value, t, r, i, n, f - (h.offset || 0)));
3309
3279
  continue;
3310
3280
  }
3311
3281
  }
3312
- return yn(a);
3282
+ return _n(a);
3313
3283
  }
3314
- function gn(e, t) {
3315
- return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3316
- return r[i] = E(E({}, e[i]), t[i] || {}), r;
3284
+ function xn(e, t) {
3285
+ return t ? R(R(R({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3286
+ return r[i] = R(R({}, e[i]), t[i] || {}), r;
3317
3287
  }, {})) : e;
3318
3288
  }
3319
- function vn(e, t) {
3289
+ function wn(e, t) {
3320
3290
  return t ? Object.keys(e).reduce(function(r, i) {
3321
- return r[i] = gn(e[i], t[i]), r;
3322
- }, E({}, e)) : e;
3291
+ return r[i] = xn(e[i], t[i]), r;
3292
+ }, R({}, e)) : e;
3323
3293
  }
3324
- function je(e) {
3294
+ function We(e) {
3325
3295
  return {
3326
3296
  create: function() {
3327
3297
  return {
@@ -3335,39 +3305,39 @@ function je(e) {
3335
3305
  }
3336
3306
  };
3337
3307
  }
3338
- function xn(e) {
3308
+ function Tn(e) {
3339
3309
  return e === void 0 && (e = {
3340
3310
  number: {},
3341
3311
  dateTime: {},
3342
3312
  pluralRules: {}
3343
3313
  }), {
3344
- getNumberFormat: Ue(function() {
3314
+ getNumberFormat: je(function() {
3345
3315
  for (var t, r = [], i = 0; i < arguments.length; i++)
3346
3316
  r[i] = arguments[i];
3347
- return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
3317
+ return new ((t = Intl.NumberFormat).bind.apply(t, Fe([void 0], r, !1)))();
3348
3318
  }, {
3349
- cache: je(e.number),
3350
- strategy: Ge.variadic
3319
+ cache: We(e.number),
3320
+ strategy: ke.variadic
3351
3321
  }),
3352
- getDateTimeFormat: Ue(function() {
3322
+ getDateTimeFormat: je(function() {
3353
3323
  for (var t, r = [], i = 0; i < arguments.length; i++)
3354
3324
  r[i] = arguments[i];
3355
- return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
3325
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Fe([void 0], r, !1)))();
3356
3326
  }, {
3357
- cache: je(e.dateTime),
3358
- strategy: Ge.variadic
3327
+ cache: We(e.dateTime),
3328
+ strategy: ke.variadic
3359
3329
  }),
3360
- getPluralRules: Ue(function() {
3330
+ getPluralRules: je(function() {
3361
3331
  for (var t, r = [], i = 0; i < arguments.length; i++)
3362
3332
  r[i] = arguments[i];
3363
- return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
3333
+ return new ((t = Intl.PluralRules).bind.apply(t, Fe([void 0], r, !1)))();
3364
3334
  }, {
3365
- cache: je(e.pluralRules),
3366
- strategy: Ge.variadic
3335
+ cache: We(e.pluralRules),
3336
+ strategy: ke.variadic
3367
3337
  })
3368
3338
  };
3369
3339
  }
3370
- var En = (
3340
+ var Sn = (
3371
3341
  /** @class */
3372
3342
  function() {
3373
3343
  function e(t, r, i, n) {
@@ -3386,7 +3356,7 @@ var En = (
3386
3356
  }, []);
3387
3357
  return h.length <= 1 ? h[0] || "" : h;
3388
3358
  }, this.formatToParts = function(l) {
3389
- return _e(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3359
+ return xe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3390
3360
  }, this.resolvedOptions = function() {
3391
3361
  var l;
3392
3362
  return {
@@ -3399,13 +3369,13 @@ var En = (
3399
3369
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3400
3370
  var s = n || {};
3401
3371
  s.formatters;
3402
- var a = Pi(s, ["formatters"]);
3403
- this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3372
+ var a = Ii(s, ["formatters"]);
3373
+ this.ast = e.__parse(t, R(R({}, a), { locale: this.resolvedLocale }));
3404
3374
  } else
3405
3375
  this.ast = t;
3406
3376
  if (!Array.isArray(this.ast))
3407
3377
  throw new TypeError("A message must be provided as a String or AST.");
3408
- this.formats = vn(e.formats, i), this.formatters = n && n.formatters || xn(this.formatterCache);
3378
+ this.formats = wn(e.formats, i), this.formatters = n && n.formatters || Tn(this.formatterCache);
3409
3379
  }
3410
3380
  return Object.defineProperty(e, "defaultLocale", {
3411
3381
  get: function() {
@@ -3418,7 +3388,7 @@ var En = (
3418
3388
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3419
3389
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3420
3390
  }
3421
- }, e.__parse = mn, e.formats = {
3391
+ }, e.__parse = gn, e.formats = {
3422
3392
  number: {
3423
3393
  integer: {
3424
3394
  maximumFractionDigits: 0
@@ -3479,7 +3449,7 @@ var En = (
3479
3449
  }, e;
3480
3450
  }()
3481
3451
  );
3482
- function _n(e, t) {
3452
+ function Ln(e, t) {
3483
3453
  if (t == null)
3484
3454
  return;
3485
3455
  if (t in e)
@@ -3500,92 +3470,92 @@ function _n(e, t) {
3500
3470
  i = void 0;
3501
3471
  return i;
3502
3472
  }
3503
- const j = {}, wn = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), hr = (e, t) => {
3473
+ const j = {}, An = (e, t, r) => r && (t in j || (j[t] = {}), e in j[t] || (j[t][e] = r), r), pr = (e, t) => {
3504
3474
  if (t == null)
3505
3475
  return;
3506
3476
  if (t in j && e in j[t])
3507
3477
  return j[t][e];
3508
- const r = Be(t);
3478
+ const r = Ce(t);
3509
3479
  for (let i = 0; i < r.length; i++) {
3510
- const n = r[i], o = Ln(n, e);
3480
+ const n = r[i], o = Pn(n, e);
3511
3481
  if (o)
3512
- return wn(e, t, o);
3482
+ return An(e, t, o);
3513
3483
  }
3514
3484
  };
3515
- let ht;
3516
- const me = Ae({});
3517
- function Tn(e) {
3518
- return ht[e] || null;
3485
+ let pt;
3486
+ const fe = Pe({});
3487
+ function Hn(e) {
3488
+ return pt[e] || null;
3519
3489
  }
3520
- function cr(e) {
3521
- return e in ht;
3490
+ function dr(e) {
3491
+ return e in pt;
3522
3492
  }
3523
- function Ln(e, t) {
3524
- if (!cr(e))
3493
+ function Pn(e, t) {
3494
+ if (!dr(e))
3525
3495
  return null;
3526
- const r = Tn(e);
3527
- return _n(r, t);
3496
+ const r = Hn(e);
3497
+ return Ln(r, t);
3528
3498
  }
3529
- function Sn(e) {
3499
+ function Bn(e) {
3530
3500
  if (e == null)
3531
3501
  return;
3532
- const t = Be(e);
3502
+ const t = Ce(e);
3533
3503
  for (let r = 0; r < t.length; r++) {
3534
3504
  const i = t[r];
3535
- if (cr(i))
3505
+ if (dr(i))
3536
3506
  return i;
3537
3507
  }
3538
3508
  }
3539
- function fr(e, ...t) {
3540
- delete j[e], me.update((r) => (r[e] = Ai.all([r[e] || {}, ...t]), r));
3509
+ function yr(e, ...t) {
3510
+ delete j[e], fe.update((r) => (r[e] = Ci.all([r[e] || {}, ...t]), r));
3541
3511
  }
3542
- ie(
3543
- [me],
3512
+ re(
3513
+ [fe],
3544
3514
  ([e]) => Object.keys(e)
3545
3515
  );
3546
- me.subscribe((e) => ht = e);
3516
+ fe.subscribe((e) => pt = e);
3547
3517
  const we = {};
3548
- function Hn(e, t) {
3518
+ function On(e, t) {
3549
3519
  we[e].delete(t), we[e].size === 0 && delete we[e];
3550
3520
  }
3551
- function mr(e) {
3521
+ function gr(e) {
3552
3522
  return we[e];
3553
3523
  }
3554
- function An(e) {
3555
- return Be(e).map((t) => {
3556
- const r = mr(t);
3524
+ function Cn(e) {
3525
+ return Ce(e).map((t) => {
3526
+ const r = gr(t);
3557
3527
  return [t, r ? [...r] : []];
3558
3528
  }).filter(([, t]) => t.length > 0);
3559
3529
  }
3560
- function nt(e) {
3561
- return e == null ? !1 : Be(e).some(
3530
+ function ot(e) {
3531
+ return e == null ? !1 : Ce(e).some(
3562
3532
  (t) => {
3563
3533
  var r;
3564
- return (r = mr(t)) == null ? void 0 : r.size;
3534
+ return (r = gr(t)) == null ? void 0 : r.size;
3565
3535
  }
3566
3536
  );
3567
3537
  }
3568
- function Pn(e, t) {
3538
+ function In(e, t) {
3569
3539
  return Promise.all(
3570
- t.map((i) => (Hn(e, i), i().then((n) => n.default || n)))
3571
- ).then((i) => fr(e, ...i));
3572
- }
3573
- const ae = {};
3574
- function pr(e) {
3575
- if (!nt(e))
3576
- return e in ae ? ae[e] : Promise.resolve();
3577
- const t = An(e);
3578
- return ae[e] = Promise.all(
3540
+ t.map((i) => (On(e, i), i().then((n) => n.default || n)))
3541
+ ).then((i) => yr(e, ...i));
3542
+ }
3543
+ const se = {};
3544
+ function br(e) {
3545
+ if (!ot(e))
3546
+ return e in se ? se[e] : Promise.resolve();
3547
+ const t = Cn(e);
3548
+ return se[e] = Promise.all(
3579
3549
  t.map(
3580
- ([r, i]) => Pn(r, i)
3550
+ ([r, i]) => In(r, i)
3581
3551
  )
3582
3552
  ).then(() => {
3583
- if (nt(e))
3584
- return pr(e);
3585
- delete ae[e];
3586
- }), ae[e];
3553
+ if (ot(e))
3554
+ return br(e);
3555
+ delete se[e];
3556
+ }), se[e];
3587
3557
  }
3588
- const Bn = {
3558
+ const Nn = {
3589
3559
  number: {
3590
3560
  scientific: { notation: "scientific" },
3591
3561
  engineering: { notation: "engineering" },
@@ -3614,135 +3584,135 @@ const Bn = {
3614
3584
  timeZoneName: "short"
3615
3585
  }
3616
3586
  }
3617
- }, On = {
3587
+ }, Mn = {
3618
3588
  fallbackLocale: null,
3619
3589
  loadingDelay: 200,
3620
- formats: Bn,
3590
+ formats: Nn,
3621
3591
  warnOnMissingMessages: !0,
3622
3592
  handleMissingMessage: void 0,
3623
3593
  ignoreTag: !0
3624
- }, Cn = On;
3625
- function re() {
3626
- return Cn;
3627
- }
3628
- const ke = Ae(!1);
3629
- var In = Object.defineProperty, Nn = Object.defineProperties, Mn = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, Rn = Object.prototype.hasOwnProperty, Dn = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $n = (e, t) => {
3630
- for (var r in t)
3631
- Rn.call(t, r) && Bt(e, r, t[r]);
3632
- if (Pt)
3633
- for (var r of Pt(t))
3634
- Dn.call(t, r) && Bt(e, r, t[r]);
3594
+ }, Rn = Mn;
3595
+ function te() {
3596
+ return Rn;
3597
+ }
3598
+ const ze = Pe(!1);
3599
+ var Dn = Object.defineProperty, $n = Object.defineProperties, Un = Object.getOwnPropertyDescriptors, It = Object.getOwnPropertySymbols, Gn = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable, Nt = (e, t, r) => t in e ? Dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jn = (e, t) => {
3600
+ for (var r in t || (t = {}))
3601
+ Gn.call(t, r) && Nt(e, r, t[r]);
3602
+ if (It)
3603
+ for (var r of It(t))
3604
+ Fn.call(t, r) && Nt(e, r, t[r]);
3635
3605
  return e;
3636
- }, Un = (e, t) => Nn(e, Mn(t));
3637
- let ot;
3638
- const Se = Ae(null);
3639
- function Ot(e) {
3606
+ }, kn = (e, t) => $n(e, Un(t));
3607
+ let st;
3608
+ const Ae = Pe(null);
3609
+ function Mt(e) {
3640
3610
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3641
3611
  }
3642
- function Be(e, t = re().fallbackLocale) {
3643
- const r = Ot(e);
3644
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ot(t)])] : r;
3612
+ function Ce(e, t = te().fallbackLocale) {
3613
+ const r = Mt(e);
3614
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Mt(t)])] : r;
3645
3615
  }
3646
3616
  function X() {
3647
- return ot != null ? ot : void 0;
3617
+ return st != null ? st : void 0;
3648
3618
  }
3649
- Se.subscribe((e) => {
3650
- ot = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3619
+ Ae.subscribe((e) => {
3620
+ st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3651
3621
  });
3652
- const Gn = (e) => {
3653
- if (e && Sn(e) && nt(e)) {
3654
- const { loadingDelay: t } = re();
3622
+ const Vn = (e) => {
3623
+ if (e && Bn(e) && ot(e)) {
3624
+ const { loadingDelay: t } = te();
3655
3625
  let r;
3656
3626
  return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
3657
- () => ke.set(!0),
3627
+ () => ze.set(!0),
3658
3628
  t
3659
- ) : ke.set(!0), pr(e).then(() => {
3660
- Se.set(e);
3629
+ ) : ze.set(!0), br(e).then(() => {
3630
+ Ae.set(e);
3661
3631
  }).finally(() => {
3662
- clearTimeout(r), ke.set(!1);
3632
+ clearTimeout(r), ze.set(!1);
3663
3633
  });
3664
3634
  }
3665
- return Se.set(e);
3666
- }, ne = Un($n({}, Se), {
3667
- set: Gn
3668
- }), Oe = (e) => {
3635
+ return Ae.set(e);
3636
+ }, ie = kn(jn({}, Ae), {
3637
+ set: Vn
3638
+ }), Ie = (e) => {
3669
3639
  const t = /* @__PURE__ */ Object.create(null);
3670
3640
  return (i) => {
3671
3641
  const n = JSON.stringify(i);
3672
3642
  return n in t ? t[n] : t[n] = e(i);
3673
3643
  };
3674
3644
  };
3675
- var Fn = Object.defineProperty, He = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, yr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
3645
+ var Wn = Object.defineProperty, He = Object.getOwnPropertySymbols, vr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, dt = (e, t) => {
3676
3646
  for (var r in t || (t = {}))
3677
- dr.call(t, r) && Ct(e, r, t[r]);
3647
+ vr.call(t, r) && Rt(e, r, t[r]);
3678
3648
  if (He)
3679
3649
  for (var r of He(t))
3680
- yr.call(t, r) && Ct(e, r, t[r]);
3650
+ _r.call(t, r) && Rt(e, r, t[r]);
3681
3651
  return e;
3682
- }, oe = (e, t) => {
3652
+ }, ne = (e, t) => {
3683
3653
  var r = {};
3684
3654
  for (var i in e)
3685
- dr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3655
+ vr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3686
3656
  if (e != null && He)
3687
3657
  for (var i of He(e))
3688
- t.indexOf(i) < 0 && yr.call(e, i) && (r[i] = e[i]);
3658
+ t.indexOf(i) < 0 && _r.call(e, i) && (r[i] = e[i]);
3689
3659
  return r;
3690
3660
  };
3691
- const ce = (e, t) => {
3692
- const { formats: r } = re();
3661
+ const he = (e, t) => {
3662
+ const { formats: r } = te();
3693
3663
  if (e in r && t in r[e])
3694
3664
  return r[e][t];
3695
3665
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3696
- }, jn = Oe(
3666
+ }, zn = Ie(
3697
3667
  (e) => {
3698
- var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
3668
+ var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
3699
3669
  if (r == null)
3700
3670
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3701
- return i && (n = ce("number", i)), new Intl.NumberFormat(r, n);
3671
+ return i && (n = he("number", i)), new Intl.NumberFormat(r, n);
3702
3672
  }
3703
- ), kn = Oe(
3673
+ ), Xn = Ie(
3704
3674
  (e) => {
3705
- var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
3675
+ var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
3706
3676
  if (r == null)
3707
3677
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3708
- return i ? n = ce("date", i) : Object.keys(n).length === 0 && (n = ce("date", "short")), new Intl.DateTimeFormat(r, n);
3678
+ return i ? n = he("date", i) : Object.keys(n).length === 0 && (n = he("date", "short")), new Intl.DateTimeFormat(r, n);
3709
3679
  }
3710
- ), Vn = Oe(
3680
+ ), Zn = Ie(
3711
3681
  (e) => {
3712
- var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
3682
+ var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
3713
3683
  if (r == null)
3714
3684
  throw new Error(
3715
3685
  '[svelte-i18n] A "locale" must be set to format time values'
3716
3686
  );
3717
- return i ? n = ce("time", i) : Object.keys(n).length === 0 && (n = ce("time", "short")), new Intl.DateTimeFormat(r, n);
3687
+ return i ? n = he("time", i) : Object.keys(n).length === 0 && (n = he("time", "short")), new Intl.DateTimeFormat(r, n);
3718
3688
  }
3719
- ), Wn = (e = {}) => {
3689
+ ), Qn = (e = {}) => {
3720
3690
  var t = e, {
3721
3691
  locale: r = X()
3722
- } = t, i = oe(t, [
3692
+ } = t, i = ne(t, [
3723
3693
  "locale"
3724
3694
  ]);
3725
- return jn(ct({ locale: r }, i));
3726
- }, zn = (e = {}) => {
3695
+ return zn(dt({ locale: r }, i));
3696
+ }, Yn = (e = {}) => {
3727
3697
  var t = e, {
3728
3698
  locale: r = X()
3729
- } = t, i = oe(t, [
3699
+ } = t, i = ne(t, [
3730
3700
  "locale"
3731
3701
  ]);
3732
- return kn(ct({ locale: r }, i));
3733
- }, Xn = (e = {}) => {
3702
+ return Xn(dt({ locale: r }, i));
3703
+ }, Jn = (e = {}) => {
3734
3704
  var t = e, {
3735
3705
  locale: r = X()
3736
- } = t, i = oe(t, [
3706
+ } = t, i = ne(t, [
3737
3707
  "locale"
3738
3708
  ]);
3739
- return Vn(ct({ locale: r }, i));
3740
- }, Zn = Oe(
3709
+ return Zn(dt({ locale: r }, i));
3710
+ }, qn = Ie(
3741
3711
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3742
- (e, t = X()) => new En(e, t, re().formats, {
3743
- ignoreTag: re().ignoreTag
3712
+ (e, t = X()) => new Sn(e, t, te().formats, {
3713
+ ignoreTag: te().ignoreTag
3744
3714
  })
3745
- ), Qn = (e, t = {}) => {
3715
+ ), Kn = (e, t = {}) => {
3746
3716
  var r, i, n, o;
3747
3717
  let s = t;
3748
3718
  typeof e == "object" && (s = e, e = s.id);
@@ -3755,9 +3725,9 @@ const ce = (e, t) => {
3755
3725
  throw new Error(
3756
3726
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3757
3727
  );
3758
- let h = hr(e, l);
3728
+ let h = pr(e, l);
3759
3729
  if (!h)
3760
- 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;
3730
+ h = (o = (n = (i = (r = te()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: l, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
3761
3731
  else if (typeof h != "string")
3762
3732
  return console.warn(
3763
3733
  `[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.`
@@ -3766,7 +3736,7 @@ const ce = (e, t) => {
3766
3736
  return h;
3767
3737
  let c = h;
3768
3738
  try {
3769
- c = Zn(h, l).format(a);
3739
+ c = qn(h, l).format(a);
3770
3740
  } catch (f) {
3771
3741
  f instanceof Error && console.warn(
3772
3742
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3774,18 +3744,18 @@ const ce = (e, t) => {
3774
3744
  );
3775
3745
  }
3776
3746
  return c;
3777
- }, Yn = (e, t) => Xn(t).format(e), Jn = (e, t) => zn(t).format(e), qn = (e, t) => Wn(t).format(e), Kn = (e, t = X()) => hr(e, t), eo = ie([ne, me], () => Qn);
3778
- ie([ne], () => Yn);
3779
- ie([ne], () => Jn);
3780
- ie([ne], () => qn);
3781
- ie([ne, me], () => Kn);
3782
- function It(e, t) {
3783
- fr(e, t);
3784
- }
3785
- function to(e) {
3786
- ne.set(e);
3787
- }
3788
- const Ve = {
3747
+ }, eo = (e, t) => Jn(t).format(e), to = (e, t) => Yn(t).format(e), ro = (e, t) => Qn(t).format(e), io = (e, t = X()) => pr(e, t), no = re([ie, fe], () => Kn);
3748
+ re([ie], () => eo);
3749
+ re([ie], () => to);
3750
+ re([ie], () => ro);
3751
+ re([ie, fe], () => io);
3752
+ function Dt(e, t) {
3753
+ yr(e, t);
3754
+ }
3755
+ function oo(e) {
3756
+ ie.set(e);
3757
+ }
3758
+ const Xe = {
3789
3759
  en: {
3790
3760
  expandLimits: "Limit history",
3791
3761
  daily: "per day",
@@ -4016,16 +3986,85 @@ const Ve = {
4016
3986
  historyLimitTypeLoss: "Kayıp Limiti"
4017
3987
  }
4018
3988
  };
4019
- function G(e) {
3989
+ /*! *****************************************************************************
3990
+ Copyright (c) Microsoft Corporation.
3991
+
3992
+ Permission to use, copy, modify, and/or distribute this software for any
3993
+ purpose with or without fee is hereby granted.
3994
+
3995
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
3996
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3997
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
3998
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3999
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
4000
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
4001
+ PERFORMANCE OF THIS SOFTWARE.
4002
+ ***************************************************************************** */
4003
+ var at = function(e, t) {
4004
+ return at = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
4005
+ r.__proto__ = i;
4006
+ } || function(r, i) {
4007
+ for (var n in i)
4008
+ Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
4009
+ }, at(e, t);
4010
+ };
4011
+ function me(e, t) {
4012
+ if (typeof t != "function" && t !== null)
4013
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
4014
+ at(e, t);
4015
+ function r() {
4016
+ this.constructor = e;
4017
+ }
4018
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
4019
+ }
4020
+ function ut(e) {
4021
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
4022
+ if (r)
4023
+ return r.call(e);
4024
+ if (e && typeof e.length == "number")
4025
+ return {
4026
+ next: function() {
4027
+ return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
4028
+ }
4029
+ };
4030
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
4031
+ }
4032
+ function lt(e, t) {
4033
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
4034
+ if (!r)
4035
+ return e;
4036
+ var i = r.call(e), n, o = [], s;
4037
+ try {
4038
+ for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
4039
+ o.push(n.value);
4040
+ } catch (a) {
4041
+ s = { error: a };
4042
+ } finally {
4043
+ try {
4044
+ n && !n.done && (r = i.return) && r.call(i);
4045
+ } finally {
4046
+ if (s)
4047
+ throw s.error;
4048
+ }
4049
+ }
4050
+ return o;
4051
+ }
4052
+ function ht(e, t, r) {
4053
+ if (arguments.length === 2)
4054
+ for (var i = 0, n = t.length, o; i < n; i++)
4055
+ (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
4056
+ return e.concat(o || t);
4057
+ }
4058
+ function F(e) {
4020
4059
  return typeof e == "function";
4021
4060
  }
4022
- function br(e) {
4061
+ function Er(e) {
4023
4062
  var t = function(i) {
4024
4063
  Error.call(i), i.stack = new Error().stack;
4025
4064
  }, r = e(t);
4026
4065
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
4027
4066
  }
4028
- var We = br(function(e) {
4067
+ var Ze = Er(function(e) {
4029
4068
  return function(r) {
4030
4069
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
4031
4070
  ` + r.map(function(i, n) {
@@ -4034,13 +4073,13 @@ var We = br(function(e) {
4034
4073
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
4035
4074
  };
4036
4075
  });
4037
- function st(e, t) {
4076
+ function ct(e, t) {
4038
4077
  if (e) {
4039
4078
  var r = e.indexOf(t);
4040
4079
  0 <= r && e.splice(r, 1);
4041
4080
  }
4042
4081
  }
4043
- var Ce = function() {
4082
+ var Ne = function() {
4044
4083
  function e(t) {
4045
4084
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
4046
4085
  }
@@ -4052,7 +4091,7 @@ var Ce = function() {
4052
4091
  if (s)
4053
4092
  if (this._parentage = null, Array.isArray(s))
4054
4093
  try {
4055
- for (var a = Ye(s), l = a.next(); !l.done; l = a.next()) {
4094
+ for (var a = ut(s), l = a.next(); !l.done; l = a.next()) {
4056
4095
  var u = l.value;
4057
4096
  u.remove(this);
4058
4097
  }
@@ -4069,22 +4108,22 @@ var Ce = function() {
4069
4108
  else
4070
4109
  s.remove(this);
4071
4110
  var h = this.initialTeardown;
4072
- if (G(h))
4111
+ if (F(h))
4073
4112
  try {
4074
4113
  h();
4075
4114
  } catch (d) {
4076
- o = d instanceof We ? d.errors : [d];
4115
+ o = d instanceof Ze ? d.errors : [d];
4077
4116
  }
4078
4117
  var c = this._finalizers;
4079
4118
  if (c) {
4080
4119
  this._finalizers = null;
4081
4120
  try {
4082
- for (var f = Ye(c), p = f.next(); !p.done; p = f.next()) {
4121
+ for (var f = ut(c), p = f.next(); !p.done; p = f.next()) {
4083
4122
  var y = p.value;
4084
4123
  try {
4085
- Nt(y);
4124
+ $t(y);
4086
4125
  } catch (d) {
4087
- o = o != null ? o : [], d instanceof We ? o = q(q([], Je(o)), Je(d.errors)) : o.push(d);
4126
+ o = o != null ? o : [], d instanceof Ze ? o = ht(ht([], lt(o)), lt(d.errors)) : o.push(d);
4088
4127
  }
4089
4128
  }
4090
4129
  } catch (d) {
@@ -4099,13 +4138,13 @@ var Ce = function() {
4099
4138
  }
4100
4139
  }
4101
4140
  if (o)
4102
- throw new We(o);
4141
+ throw new Ze(o);
4103
4142
  }
4104
4143
  }, e.prototype.add = function(t) {
4105
4144
  var r;
4106
4145
  if (t && t !== this)
4107
4146
  if (this.closed)
4108
- Nt(t);
4147
+ $t(t);
4109
4148
  else {
4110
4149
  if (t instanceof e) {
4111
4150
  if (t.closed || t._hasParent(this))
@@ -4122,56 +4161,52 @@ var Ce = function() {
4122
4161
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4123
4162
  }, e.prototype._removeParent = function(t) {
4124
4163
  var r = this._parentage;
4125
- r === t ? this._parentage = null : Array.isArray(r) && st(r, t);
4164
+ r === t ? this._parentage = null : Array.isArray(r) && ct(r, t);
4126
4165
  }, e.prototype.remove = function(t) {
4127
4166
  var r = this._finalizers;
4128
- r && st(r, t), t instanceof e && t._removeParent(this);
4167
+ r && ct(r, t), t instanceof e && t._removeParent(this);
4129
4168
  }, e.EMPTY = function() {
4130
4169
  var t = new e();
4131
4170
  return t.closed = !0, t;
4132
4171
  }(), e;
4133
- }(), gr = Ce.EMPTY;
4134
- function vr(e) {
4135
- return e instanceof Ce || e && "closed" in e && G(e.remove) && G(e.add) && G(e.unsubscribe);
4136
- }
4137
- function Nt(e) {
4138
- G(e) ? e() : e.unsubscribe();
4139
- }
4140
- var ro = {
4141
- onUnhandledError: null,
4142
- onStoppedNotification: null,
4143
- Promise: void 0,
4144
- useDeprecatedSynchronousErrorHandling: !1,
4145
- useDeprecatedNextContext: !1
4146
- }, io = {
4172
+ }(), xr = Ne.EMPTY;
4173
+ function wr(e) {
4174
+ return e instanceof Ne || e && "closed" in e && F(e.remove) && F(e.add) && F(e.unsubscribe);
4175
+ }
4176
+ function $t(e) {
4177
+ F(e) ? e() : e.unsubscribe();
4178
+ }
4179
+ var so = {
4180
+ Promise: void 0
4181
+ }, ao = {
4147
4182
  setTimeout: function(e, t) {
4148
4183
  for (var r = [], i = 2; i < arguments.length; i++)
4149
4184
  r[i - 2] = arguments[i];
4150
- return setTimeout.apply(void 0, q([e, t], Je(r)));
4185
+ return setTimeout.apply(void 0, ht([e, t], lt(r)));
4151
4186
  },
4152
4187
  clearTimeout: function(e) {
4153
4188
  return clearTimeout(e);
4154
4189
  },
4155
4190
  delegate: void 0
4156
4191
  };
4157
- function no(e) {
4158
- io.setTimeout(function() {
4192
+ function uo(e) {
4193
+ ao.setTimeout(function() {
4159
4194
  throw e;
4160
4195
  });
4161
4196
  }
4162
- function Mt() {
4197
+ function Ut() {
4163
4198
  }
4164
4199
  function Te(e) {
4165
4200
  e();
4166
4201
  }
4167
- var xr = function(e) {
4168
- F(t, e);
4202
+ var Tr = function(e) {
4203
+ me(t, e);
4169
4204
  function t(r) {
4170
4205
  var i = e.call(this) || this;
4171
- return i.isStopped = !1, r ? (i.destination = r, vr(r) && r.add(i)) : i.destination = ao, i;
4206
+ return i.isStopped = !1, r ? (i.destination = r, wr(r) && r.add(i)) : i.destination = co, i;
4172
4207
  }
4173
4208
  return t.create = function(r, i, n) {
4174
- return new at(r, i, n);
4209
+ return new ft(r, i, n);
4175
4210
  }, t.prototype.next = function(r) {
4176
4211
  this.isStopped || this._next(r);
4177
4212
  }, t.prototype.error = function(r) {
@@ -4195,7 +4230,7 @@ var xr = function(e) {
4195
4230
  this.unsubscribe();
4196
4231
  }
4197
4232
  }, t;
4198
- }(Ce), oo = function() {
4233
+ }(Ne), lo = function() {
4199
4234
  function e(t) {
4200
4235
  this.partialObserver = t;
4201
4236
  }
@@ -4205,7 +4240,7 @@ var xr = function(e) {
4205
4240
  try {
4206
4241
  r.next(t);
4207
4242
  } catch (i) {
4208
- xe(i);
4243
+ _e(i);
4209
4244
  }
4210
4245
  }, e.prototype.error = function(t) {
4211
4246
  var r = this.partialObserver;
@@ -4213,56 +4248,56 @@ var xr = function(e) {
4213
4248
  try {
4214
4249
  r.error(t);
4215
4250
  } catch (i) {
4216
- xe(i);
4251
+ _e(i);
4217
4252
  }
4218
4253
  else
4219
- xe(t);
4254
+ _e(t);
4220
4255
  }, e.prototype.complete = function() {
4221
4256
  var t = this.partialObserver;
4222
4257
  if (t.complete)
4223
4258
  try {
4224
4259
  t.complete();
4225
4260
  } catch (r) {
4226
- xe(r);
4261
+ _e(r);
4227
4262
  }
4228
4263
  }, e;
4229
- }(), at = function(e) {
4230
- F(t, e);
4264
+ }(), ft = function(e) {
4265
+ me(t, e);
4231
4266
  function t(r, i, n) {
4232
4267
  var o = e.call(this) || this, s;
4233
- return G(r) || !r ? s = {
4268
+ return F(r) || !r ? s = {
4234
4269
  next: r != null ? r : void 0,
4235
4270
  error: i != null ? i : void 0,
4236
4271
  complete: n != null ? n : void 0
4237
- } : s = r, o.destination = new oo(s), o;
4272
+ } : s = r, o.destination = new lo(s), o;
4238
4273
  }
4239
4274
  return t;
4240
- }(xr);
4241
- function xe(e) {
4242
- no(e);
4275
+ }(Tr);
4276
+ function _e(e) {
4277
+ uo(e);
4243
4278
  }
4244
- function so(e) {
4279
+ function ho(e) {
4245
4280
  throw e;
4246
4281
  }
4247
- var ao = {
4282
+ var co = {
4248
4283
  closed: !0,
4249
- next: Mt,
4250
- error: so,
4251
- complete: Mt
4252
- }, uo = function() {
4284
+ next: Ut,
4285
+ error: ho,
4286
+ complete: Ut
4287
+ }, fo = function() {
4253
4288
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4254
4289
  }();
4255
- function lo(e) {
4290
+ function mo(e) {
4256
4291
  return e;
4257
4292
  }
4258
- function ho(e) {
4259
- return e.length === 0 ? lo : e.length === 1 ? e[0] : function(r) {
4293
+ function po(e) {
4294
+ return e.length === 0 ? mo : e.length === 1 ? e[0] : function(r) {
4260
4295
  return e.reduce(function(i, n) {
4261
4296
  return n(i);
4262
4297
  }, r);
4263
4298
  };
4264
4299
  }
4265
- var Rt = function() {
4300
+ var Gt = function() {
4266
4301
  function e(t) {
4267
4302
  t && (this._subscribe = t);
4268
4303
  }
@@ -4270,7 +4305,7 @@ var Rt = function() {
4270
4305
  var r = new e();
4271
4306
  return r.source = this, r.operator = t, r;
4272
4307
  }, e.prototype.subscribe = function(t, r, i) {
4273
- var n = this, o = fo(t) ? t : new at(t, r, i);
4308
+ var n = this, o = go(t) ? t : new ft(t, r, i);
4274
4309
  return Te(function() {
4275
4310
  var s = n, a = s.operator, l = s.source;
4276
4311
  o.add(a ? a.call(o, l) : l ? n._subscribe(o) : n._trySubscribe(o));
@@ -4283,8 +4318,8 @@ var Rt = function() {
4283
4318
  }
4284
4319
  }, e.prototype.forEach = function(t, r) {
4285
4320
  var i = this;
4286
- return r = Dt(r), new r(function(n, o) {
4287
- var s = new at({
4321
+ return r = Ft(r), new r(function(n, o) {
4322
+ var s = new ft({
4288
4323
  next: function(a) {
4289
4324
  try {
4290
4325
  t(a);
@@ -4300,15 +4335,15 @@ var Rt = function() {
4300
4335
  }, e.prototype._subscribe = function(t) {
4301
4336
  var r;
4302
4337
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4303
- }, e.prototype[uo] = function() {
4338
+ }, e.prototype[fo] = function() {
4304
4339
  return this;
4305
4340
  }, e.prototype.pipe = function() {
4306
4341
  for (var t = [], r = 0; r < arguments.length; r++)
4307
4342
  t[r] = arguments[r];
4308
- return ho(t)(this);
4343
+ return po(t)(this);
4309
4344
  }, e.prototype.toPromise = function(t) {
4310
4345
  var r = this;
4311
- return t = Dt(t), new t(function(i, n) {
4346
+ return t = Ft(t), new t(function(i, n) {
4312
4347
  var o;
4313
4348
  r.subscribe(function(s) {
4314
4349
  return o = s;
@@ -4322,32 +4357,32 @@ var Rt = function() {
4322
4357
  return new e(t);
4323
4358
  }, e;
4324
4359
  }();
4325
- function Dt(e) {
4360
+ function Ft(e) {
4326
4361
  var t;
4327
- return (t = e != null ? e : ro.Promise) !== null && t !== void 0 ? t : Promise;
4362
+ return (t = e != null ? e : so.Promise) !== null && t !== void 0 ? t : Promise;
4328
4363
  }
4329
- function co(e) {
4330
- return e && G(e.next) && G(e.error) && G(e.complete);
4364
+ function yo(e) {
4365
+ return e && F(e.next) && F(e.error) && F(e.complete);
4331
4366
  }
4332
- function fo(e) {
4333
- return e && e instanceof xr || co(e) && vr(e);
4367
+ function go(e) {
4368
+ return e && e instanceof Tr || yo(e) && wr(e);
4334
4369
  }
4335
- var mo = br(function(e) {
4370
+ var bo = Er(function(e) {
4336
4371
  return function() {
4337
4372
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4338
4373
  };
4339
- }), Er = function(e) {
4340
- F(t, e);
4374
+ }), Sr = function(e) {
4375
+ me(t, e);
4341
4376
  function t() {
4342
4377
  var r = e.call(this) || this;
4343
4378
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4344
4379
  }
4345
4380
  return t.prototype.lift = function(r) {
4346
- var i = new $t(this, this);
4381
+ var i = new jt(this, this);
4347
4382
  return i.operator = r, i;
4348
4383
  }, t.prototype._throwIfClosed = function() {
4349
4384
  if (this.closed)
4350
- throw new mo();
4385
+ throw new bo();
4351
4386
  }, t.prototype.next = function(r) {
4352
4387
  var i = this;
4353
4388
  Te(function() {
@@ -4355,7 +4390,7 @@ var mo = br(function(e) {
4355
4390
  if (i._throwIfClosed(), !i.isStopped) {
4356
4391
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
4357
4392
  try {
4358
- for (var s = Ye(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
4393
+ for (var s = ut(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
4359
4394
  var l = a.value;
4360
4395
  l.next(r);
4361
4396
  }
@@ -4404,20 +4439,20 @@ var mo = br(function(e) {
4404
4439
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4405
4440
  }, t.prototype._innerSubscribe = function(r) {
4406
4441
  var i = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
4407
- return o || s ? gr : (this.currentObservers = null, a.push(r), new Ce(function() {
4408
- i.currentObservers = null, st(a, r);
4442
+ return o || s ? xr : (this.currentObservers = null, a.push(r), new Ne(function() {
4443
+ i.currentObservers = null, ct(a, r);
4409
4444
  }));
4410
4445
  }, t.prototype._checkFinalizedStatuses = function(r) {
4411
4446
  var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
4412
4447
  n ? r.error(o) : s && r.complete();
4413
4448
  }, t.prototype.asObservable = function() {
4414
- var r = new Rt();
4449
+ var r = new Gt();
4415
4450
  return r.source = this, r;
4416
4451
  }, t.create = function(r, i) {
4417
- return new $t(r, i);
4452
+ return new jt(r, i);
4418
4453
  }, t;
4419
- }(Rt), $t = function(e) {
4420
- F(t, e);
4454
+ }(Gt), jt = function(e) {
4455
+ me(t, e);
4421
4456
  function t(r, i) {
4422
4457
  var n = e.call(this) || this;
4423
4458
  return n.destination = r, n.source = i, n;
@@ -4433,17 +4468,17 @@ var mo = br(function(e) {
4433
4468
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
4434
4469
  }, t.prototype._subscribe = function(r) {
4435
4470
  var i, n;
4436
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : gr;
4471
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : xr;
4437
4472
  }, t;
4438
- }(Er), _r = {
4473
+ }(Sr), Lr = {
4439
4474
  now: function() {
4440
- return (_r.delegate || Date).now();
4475
+ return (Lr.delegate || Date).now();
4441
4476
  },
4442
4477
  delegate: void 0
4443
- }, po = function(e) {
4444
- F(t, e);
4478
+ }, vo = function(e) {
4479
+ me(t, e);
4445
4480
  function t(r, i, n) {
4446
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = _r);
4481
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Lr);
4447
4482
  var o = e.call(this) || this;
4448
4483
  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;
4449
4484
  }
@@ -4463,23 +4498,23 @@ var mo = br(function(e) {
4463
4498
  u && o.splice(0, u + 1);
4464
4499
  }
4465
4500
  }, t;
4466
- }(Er);
4467
- const Ut = [], Gt = {}, yo = (e, t = 0) => {
4468
- if (Ut.indexOf(e) == -1) {
4469
- const r = new po(t);
4470
- Gt[e] = r, Ut.push(e);
4501
+ }(Sr);
4502
+ const kt = [], Vt = {}, _o = (e, t = 0) => {
4503
+ if (kt.indexOf(e) == -1) {
4504
+ const r = new vo(t);
4505
+ Vt[e] = r, kt.push(e);
4471
4506
  }
4472
- return Gt[e];
4507
+ return Vt[e];
4473
4508
  };
4474
- window.emWidgets = { topic: yo };
4475
- 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));
4476
- function go(e, t) {
4509
+ window.emWidgets = { topic: _o };
4510
+ const Eo = (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));
4511
+ function xo(e, t) {
4477
4512
  if (e) {
4478
4513
  const r = document.createElement("style");
4479
4514
  r.innerHTML = t, e.appendChild(r);
4480
4515
  }
4481
4516
  }
4482
- function vo(e, t) {
4517
+ function wo(e, t) {
4483
4518
  const r = new URL(t);
4484
4519
  fetch(r.href).then((i) => i.text()).then((i) => {
4485
4520
  const n = document.createElement("style");
@@ -4488,7 +4523,7 @@ function vo(e, t) {
4488
4523
  console.error("There was an error while trying to load client styling from URL", i);
4489
4524
  });
4490
4525
  }
4491
- function xo(e, t, r) {
4526
+ function To(e, t, r) {
4492
4527
  if (window.emMessageBus) {
4493
4528
  const i = document.createElement("style");
4494
4529
  window.emMessageBus.subscribe(t, (n) => {
@@ -4496,48 +4531,48 @@ function xo(e, t, r) {
4496
4531
  });
4497
4532
  }
4498
4533
  }
4499
- function Eo(e) {
4500
- kr(e, "svelte-1wi0iai", ':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-1wi0iai.svelte-1wi0iai,.svelte-1wi0iai.svelte-1wi0iai::before,.svelte-1wi0iai.svelte-1wi0iai::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-1wi0iai.svelte-1wi0iai{color:var(--emw--color-white, #FFFFFF)}button.svelte-1wi0iai.svelte-1wi0iai{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-1wi0iai.svelte-1wi0iai{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-1wi0iai.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-1wi0iai svg.svelte-1wi0iai{width:40px;height:auto;margin-left:-4px}.extended.svelte-1wi0iai.svelte-1wi0iai{transform:rotate(180deg)}.HistoryWrapper.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.svelte-1wi0iai{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 10px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea .LimitType.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.Mobile.svelte-1wi0iai{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-1wi0iai.svelte-1wi0iai{display:none}.HistoryRow.svelte-1wi0iai.svelte-1wi0iai{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-1wi0iai.svelte-1wi0iai{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-1wi0iai.svelte-1wi0iai{animation:svelte-1wi0iai-animateEntry 0.7s ease-in}@keyframes svelte-1wi0iai-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4534
+ function So(e) {
4535
+ Xr(e, "svelte-1wi0iai", ':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-1wi0iai.svelte-1wi0iai,.svelte-1wi0iai.svelte-1wi0iai::before,.svelte-1wi0iai.svelte-1wi0iai::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-1wi0iai.svelte-1wi0iai{color:var(--emw--color-white, #FFFFFF)}button.svelte-1wi0iai.svelte-1wi0iai{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-1wi0iai.svelte-1wi0iai{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-1wi0iai.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-1wi0iai svg.svelte-1wi0iai{width:40px;height:auto;margin-left:-4px}.extended.svelte-1wi0iai.svelte-1wi0iai{transform:rotate(180deg)}.HistoryWrapper.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.svelte-1wi0iai{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 10px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea .LimitType.svelte-1wi0iai{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-1wi0iai .HistoryDisplayArea.Mobile.svelte-1wi0iai{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-1wi0iai.svelte-1wi0iai{display:none}.HistoryRow.svelte-1wi0iai.svelte-1wi0iai{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-1wi0iai.svelte-1wi0iai{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-1wi0iai.svelte-1wi0iai{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-1wi0iai.svelte-1wi0iai{animation:svelte-1wi0iai-animateEntry 0.7s ease-in}@keyframes svelte-1wi0iai-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4501
4536
  }
4502
- function Ft(e, t, r) {
4537
+ function Wt(e, t, r) {
4503
4538
  const i = e.slice();
4504
4539
  return i[37] = t[r], i[38] = t, i[39] = r, i;
4505
4540
  }
4506
- function _o(e) {
4541
+ function Lo(e) {
4507
4542
  let t, r, i, n = (
4508
4543
  /*$_*/
4509
4544
  e[9]("expandLimits") + ""
4510
- ), o, s, a, l, u, h, c, f, p, y = vt(
4545
+ ), o, s, a, l, u, h, c, f, p, y = wt(
4511
4546
  /*lazyShowedHistoryArray*/
4512
4547
  e[7]
4513
4548
  ), d = [];
4514
4549
  for (let v = 0; v < y.length; v += 1)
4515
- d[v] = jt(Ft(e, y, v));
4550
+ d[v] = zt(Wt(e, y, v));
4516
4551
  return {
4517
4552
  c() {
4518
- t = A("div"), r = A("div"), i = A("button"), o = U(n), s = ze(), a = De("svg"), l = De("path"), u = De("path"), h = ze(), c = A("div");
4553
+ t = H("div"), r = H("div"), i = H("button"), o = G(n), s = Qe(), a = Ue("svg"), l = Ue("path"), u = Ue("path"), h = Qe(), c = H("div");
4519
4554
  for (let v = 0; v < d.length; v += 1)
4520
4555
  d[v].c();
4521
- _(l, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), _(l, "class", "svelte-1wi0iai"), _(u, "d", "M0 0h36v36h-36z"), _(u, "fill", "none"), _(u, "class", "svelte-1wi0iai"), _(a, "class", "ExpandArrow " + (/*isDesktop*/
4522
- e[10] ? "" : "Mobile") + " svelte-1wi0iai"), _(a, "xmlns", "http://www.w3.org/2000/svg"), _(a, "width", "36"), _(a, "height", "36"), _(a, "viewBox", "0 0 36 36"), Qr(a, "fill", "var(--emw--color-primary, #22B04E)"), ge(
4556
+ E(l, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), E(l, "class", "svelte-1wi0iai"), E(u, "d", "M0 0h36v36h-36z"), E(u, "fill", "none"), E(u, "class", "svelte-1wi0iai"), E(a, "class", "ExpandArrow " + (/*isDesktop*/
4557
+ e[10] ? "" : "Mobile") + " svelte-1wi0iai"), E(a, "xmlns", "http://www.w3.org/2000/svg"), E(a, "width", "36"), E(a, "height", "36"), E(a, "viewBox", "0 0 36 36"), Kr(a, "fill", "var(--emw--color-primary, #22B04E)"), be(
4523
4558
  a,
4524
4559
  "extended",
4525
4560
  /*extended*/
4526
4561
  e[8]
4527
- ), _(i, "class", "ExpandButton " + (/*isDesktop*/
4528
- e[10] ? "" : "Mobile") + " svelte-1wi0iai"), _(c, "class", "HistoryDisplayArea " + (/*isDesktop*/
4529
- e[10] ? "" : "Mobile") + " svelte-1wi0iai"), ge(
4562
+ ), E(i, "class", "ExpandButton " + (/*isDesktop*/
4563
+ e[10] ? "" : "Mobile") + " svelte-1wi0iai"), E(c, "class", "HistoryDisplayArea " + (/*isDesktop*/
4564
+ e[10] ? "" : "Mobile") + " svelte-1wi0iai"), be(
4530
4565
  c,
4531
4566
  "hidden",
4532
4567
  /*hidden*/
4533
4568
  e[5]
4534
- ), _(r, "class", "HistoryWrapper svelte-1wi0iai"), _(t, "class", "player-account-gaming-limits-history-2 svelte-1wi0iai");
4569
+ ), E(r, "class", "HistoryWrapper svelte-1wi0iai"), E(t, "class", "player-account-gaming-limits-history-2 svelte-1wi0iai");
4535
4570
  },
4536
4571
  m(v, P) {
4537
- z(v, t, P), w(t, r), w(r, i), w(i, o), w(i, s), w(i, a), w(a, l), w(a, u), w(r, h), w(r, c);
4538
- for (let b = 0; b < d.length; b += 1)
4539
- d[b] && d[b].m(c, null);
4540
- f || (p = Xr(
4572
+ z(v, t, P), x(t, r), x(r, i), x(i, o), x(i, s), x(i, a), x(a, l), x(a, u), x(r, h), x(r, c);
4573
+ for (let g = 0; g < d.length; g += 1)
4574
+ d[g] && d[g].m(c, null);
4575
+ f || (p = Jr(
4541
4576
  i,
4542
4577
  "click",
4543
4578
  /*toggleHistoryDisplayArea*/
@@ -4548,28 +4583,28 @@ function _o(e) {
4548
4583
  if (P[0] & /*$_*/
4549
4584
  512 && n !== (n = /*$_*/
4550
4585
  v[9]("expandLimits") + "") && k(o, n), P[0] & /*extended*/
4551
- 256 && ge(
4586
+ 256 && be(
4552
4587
  a,
4553
4588
  "extended",
4554
4589
  /*extended*/
4555
4590
  v[8]
4556
4591
  ), P[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4557
4592
  650) {
4558
- y = vt(
4593
+ y = wt(
4559
4594
  /*lazyShowedHistoryArray*/
4560
4595
  v[7]
4561
4596
  );
4562
- let b;
4563
- for (b = 0; b < y.length; b += 1) {
4564
- const S = Ft(v, y, b);
4565
- d[b] ? d[b].p(S, P) : (d[b] = jt(S), d[b].c(), d[b].m(c, null));
4597
+ let g;
4598
+ for (g = 0; g < y.length; g += 1) {
4599
+ const S = Wt(v, y, g);
4600
+ d[g] ? d[g].p(S, P) : (d[g] = zt(S), d[g].c(), d[g].m(c, null));
4566
4601
  }
4567
- for (; b < d.length; b += 1)
4568
- d[b].d(1);
4602
+ for (; g < d.length; g += 1)
4603
+ d[g].d(1);
4569
4604
  d.length = y.length;
4570
4605
  }
4571
4606
  P[0] & /*hidden*/
4572
- 32 && ge(
4607
+ 32 && be(
4573
4608
  c,
4574
4609
  "hidden",
4575
4610
  /*hidden*/
@@ -4577,14 +4612,14 @@ function _o(e) {
4577
4612
  );
4578
4613
  },
4579
4614
  d(v) {
4580
- v && V(t), zr(d, v), f = !1, p();
4615
+ v && V(t), Yr(d, v), f = !1, p();
4581
4616
  }
4582
4617
  };
4583
4618
  }
4584
- function wo(e) {
4619
+ function Ao(e) {
4585
4620
  return { c: O, m: O, p: O, d: O };
4586
4621
  }
4587
- function To(e) {
4622
+ function Ho(e) {
4588
4623
  let t, r = (
4589
4624
  /*lang*/
4590
4625
  (e[0] ? (
@@ -4594,10 +4629,10 @@ function To(e) {
4594
4629
  ), i;
4595
4630
  return {
4596
4631
  c() {
4597
- t = A("p"), i = U(r), _(t, "class", "svelte-1wi0iai");
4632
+ t = H("p"), i = G(r), E(t, "class", "svelte-1wi0iai");
4598
4633
  },
4599
4634
  m(n, o) {
4600
- z(n, t, o), w(t, i);
4635
+ z(n, t, o), x(t, i);
4601
4636
  },
4602
4637
  p(n, o) {
4603
4638
  o[0] & /*lang, $_*/
@@ -4612,7 +4647,7 @@ function To(e) {
4612
4647
  }
4613
4648
  };
4614
4649
  }
4615
- function Lo(e) {
4650
+ function Po(e) {
4616
4651
  let t, r, i, n = (
4617
4652
  /*history*/
4618
4653
  e[37].type + ""
@@ -4625,10 +4660,10 @@ function Lo(e) {
4625
4660
  ), c;
4626
4661
  return {
4627
4662
  c() {
4628
- t = A("div"), r = A("span"), i = A("span"), o = U(n), s = A("span"), l = U(a), u = A("span"), c = U(h), _(i, "class", "LimitType svelte-1wi0iai"), _(s, "class", "LimitAmountPeriod svelte-1wi0iai"), _(r, "class", "GeneralLimitInformation svelte-1wi0iai"), _(u, "class", "DateLimitInformation svelte-1wi0iai"), _(t, "class", "HistoryRow svelte-1wi0iai");
4663
+ t = H("div"), r = H("span"), i = H("span"), o = G(n), s = H("span"), l = G(a), u = H("span"), c = G(h), E(i, "class", "LimitType svelte-1wi0iai"), E(s, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
4629
4664
  },
4630
4665
  m(f, p) {
4631
- z(f, t, p), w(t, r), w(r, i), w(i, o), w(r, s), w(s, l), w(t, u), w(u, c);
4666
+ z(f, t, p), x(t, r), x(r, i), x(i, o), x(r, s), x(s, l), x(t, u), x(u, c);
4632
4667
  },
4633
4668
  p(f, p) {
4634
4669
  p[0] & /*lazyShowedHistoryArray*/
@@ -4644,7 +4679,7 @@ function Lo(e) {
4644
4679
  }
4645
4680
  };
4646
4681
  }
4647
- function So(e) {
4682
+ function Bo(e) {
4648
4683
  let t, r, i, n = (
4649
4684
  /*history*/
4650
4685
  e[37].type + ""
@@ -4657,10 +4692,10 @@ function So(e) {
4657
4692
  ), c;
4658
4693
  return {
4659
4694
  c() {
4660
- t = A("div"), r = A("span"), i = A("span"), o = U(n), s = A("span"), l = U(a), u = A("span"), c = U(h), _(i, "class", "LimitType svelte-1wi0iai"), _(s, "class", "LimitAmountPeriod svelte-1wi0iai"), _(r, "class", "GeneralLimitInformation svelte-1wi0iai"), _(u, "class", "DateLimitInformation svelte-1wi0iai"), _(t, "class", "HistoryRow svelte-1wi0iai");
4695
+ t = H("div"), r = H("span"), i = H("span"), o = G(n), s = H("span"), l = G(a), u = H("span"), c = G(h), E(i, "class", "LimitType svelte-1wi0iai"), E(s, "class", "LimitAmountPeriod svelte-1wi0iai"), E(r, "class", "GeneralLimitInformation svelte-1wi0iai"), E(u, "class", "DateLimitInformation svelte-1wi0iai"), E(t, "class", "HistoryRow svelte-1wi0iai");
4661
4696
  },
4662
4697
  m(f, p) {
4663
- z(f, t, p), w(t, r), w(r, i), w(i, o), w(r, s), w(s, l), w(t, u), w(u, c);
4698
+ z(f, t, p), x(t, r), x(r, i), x(i, o), x(r, s), x(s, l), x(t, u), x(u, c);
4664
4699
  },
4665
4700
  p(f, p) {
4666
4701
  p[0] & /*lazyShowedHistoryArray*/
@@ -4676,7 +4711,7 @@ function So(e) {
4676
4711
  }
4677
4712
  };
4678
4713
  }
4679
- function jt(e) {
4714
+ function zt(e) {
4680
4715
  let t, r, i, n = (
4681
4716
  /*index*/
4682
4717
  e[39]
@@ -4684,7 +4719,7 @@ function jt(e) {
4684
4719
  function o(h, c) {
4685
4720
  return (
4686
4721
  /*history*/
4687
- h[37].removed ? So : Lo
4722
+ h[37].removed ? Bo : Po
4688
4723
  );
4689
4724
  }
4690
4725
  let s = o(e), a = s(e);
@@ -4697,22 +4732,22 @@ function jt(e) {
4697
4732
  );
4698
4733
  return {
4699
4734
  c() {
4700
- t = A("div"), a.c(), r = ze(), _(t, "class", i = bt(
4735
+ t = H("div"), a.c(), r = Qe(), E(t, "class", i = Et(
4701
4736
  /*index*/
4702
4737
  e[39] > +/*numberofentries*/
4703
4738
  e[1] ? "LimitContainer" : ""
4704
4739
  ) + " svelte-1wi0iai");
4705
4740
  },
4706
4741
  m(h, c) {
4707
- z(h, t, c), a.m(t, null), w(t, r), l();
4742
+ z(h, t, c), a.m(t, null), x(t, r), l();
4708
4743
  },
4709
4744
  p(h, c) {
4710
4745
  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*/
4711
- 2 && i !== (i = bt(
4746
+ 2 && i !== (i = Et(
4712
4747
  /*index*/
4713
4748
  e[39] > +/*numberofentries*/
4714
4749
  e[1] ? "LimitContainer" : ""
4715
- ) + " svelte-1wi0iai") && _(t, "class", i), n !== /*index*/
4750
+ ) + " svelte-1wi0iai") && E(t, "class", i), n !== /*index*/
4716
4751
  e[39] && (u(), n = /*index*/
4717
4752
  e[39], l());
4718
4753
  },
@@ -4721,21 +4756,21 @@ function jt(e) {
4721
4756
  }
4722
4757
  };
4723
4758
  }
4724
- function Ho(e) {
4759
+ function Oo(e) {
4725
4760
  let t;
4726
4761
  function r(o, s) {
4727
4762
  return (
4728
4763
  /*hasErrors*/
4729
- o[6] ? To : (
4764
+ o[6] ? Ho : (
4730
4765
  /*isLoading*/
4731
- o[4] ? wo : _o
4766
+ o[4] ? Ao : Lo
4732
4767
  )
4733
4768
  );
4734
4769
  }
4735
4770
  let i = r(e), n = i(e);
4736
4771
  return {
4737
4772
  c() {
4738
- t = A("div"), n.c(), _(t, "class", "svelte-1wi0iai");
4773
+ t = H("div"), n.c(), E(t, "class", "svelte-1wi0iai");
4739
4774
  },
4740
4775
  m(o, s) {
4741
4776
  z(o, t, s), n.m(t, null), e[23](t);
@@ -4750,45 +4785,45 @@ function Ho(e) {
4750
4785
  }
4751
4786
  };
4752
4787
  }
4753
- function Ao(e, t, r) {
4788
+ function Co(e, t, r) {
4754
4789
  let i;
4755
- jr(e, eo, (m) => r(9, i = m));
4756
- 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, { mbsource: v } = t, { translationurl: P = "" } = t, b, S = new Array(), R = parseInt(c, 10), M = !1, D = !0, W = [], pe = [], de = !0, Ie = !1, se = { EUR: "€", RON: "lei", TRY: "₺" };
4757
- const wr = () => {
4758
- fetch(P).then((T) => T.json()).then((T) => {
4759
- Object.keys(T).forEach((I) => {
4760
- It(I, T[I]);
4790
+ zr(e, no, (m) => r(9, i = m));
4791
+ let n = window.navigator.userAgent, o = !Eo(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, { mbsource: v } = t, { translationurl: P = "" } = t, g, S = new Array(), D = parseInt(c, 10), M = !1, $ = !0, W = [], pe = [], de = !0, Me = !1, oe = { EUR: "€", RON: "lei", TRY: "₺" };
4792
+ const Ar = () => {
4793
+ fetch(P).then((w) => w.json()).then((w) => {
4794
+ Object.keys(w).forEach((I) => {
4795
+ Dt(I, w[I]);
4761
4796
  });
4762
- }).catch((T) => {
4763
- console.log(T);
4797
+ }).catch((w) => {
4798
+ console.log(w);
4764
4799
  });
4765
4800
  };
4766
- Object.keys(Ve).forEach((m) => {
4767
- It(m, Ve[m]);
4801
+ Object.keys(Xe).forEach((m) => {
4802
+ Dt(m, Xe[m]);
4768
4803
  });
4769
- const Tr = () => {
4770
- let m = h === "gmcore" ? `/v2/player/${a}/transactions/limit` : `/v1/player/${a}/limits/monetary/history`, T = new URL(m, u);
4771
- T.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), T.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), T.searchParams.append("limit", "10000");
4804
+ const Hr = () => {
4805
+ let m = h === "gmcore" ? `/v2/player/${a}/transactions/limit` : `/v1/player/${a}/limits/monetary/history`, w = new URL(`${u}${m}`);
4806
+ w.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), w.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), w.searchParams.append("limit", "10000");
4772
4807
  let I = {
4773
4808
  method: "GET",
4774
4809
  headers: { "X-SessionID": l }
4775
4810
  };
4776
- fetch(T.href, I).then((H) => {
4777
- if (H.status >= 300)
4778
- throw r(4, D = !1), r(6, M = !0), new Error("There was an error fetching the limits");
4779
- return H.json();
4811
+ fetch(w.href, I).then((A) => {
4812
+ if (A.status >= 300)
4813
+ throw r(4, $ = !1), r(6, M = !0), new Error("There was an error fetching the limits");
4814
+ return A.json();
4780
4815
  }).then(
4781
- (H) => {
4782
- H.length && (W = Lr(H), r(7, pe = W.slice(0, R))), r(4, D = !1);
4816
+ (A) => {
4817
+ A.length && (W = Pr(A), r(7, pe = W.slice(0, D))), r(4, $ = !1);
4783
4818
  },
4784
- (H) => {
4785
- console.error("There was an error", H), r(6, M = !0);
4819
+ (A) => {
4820
+ console.error("There was an error", A), r(6, M = !0);
4786
4821
  }
4787
4822
  );
4788
- }, Lr = (m) => {
4789
- const T = !!Ve[s];
4790
- return m.map((H) => {
4791
- let $ = {
4823
+ }, Pr = (m) => {
4824
+ const w = !!Xe[s];
4825
+ return m.map((A) => {
4826
+ let U = {
4792
4827
  amount: "",
4793
4828
  currency: "",
4794
4829
  date: "",
@@ -4796,82 +4831,82 @@ function Ao(e, t, r) {
4796
4831
  type: "",
4797
4832
  removed: !1
4798
4833
  };
4799
- return $.amount = Sr(H), $.currency = T ? se[H.limitCurrencyCode] : H.limitCurrencyCode, $.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(H.limitDate)), $.period = i(`${H.limitPeriod.toLowerCase()}`), $.type = h === "gmcore" ? i(`historyLimitType${H.limitType.split(" ")[0]}`) : i(`historyLimitType${H.limitType.split(" ")[0]}`) + " " + i(`historyProductType${H.limitProductType}`), $.removed = H.limitAmount === -1, $;
4834
+ return U.amount = Br(A), U.currency = w ? oe[A.limitCurrencyCode] : A.limitCurrencyCode, U.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), U.period = i(`${A.limitPeriod.toLowerCase()}`), U.type = h === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), U.removed = A.limitAmount === -1, U;
4800
4835
  });
4801
- }, Sr = (m) => {
4802
- let T = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4836
+ }, Br = (m) => {
4837
+ let w = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4803
4838
  if (!p) {
4804
- let Mr = se[m.limitCurrencyCode] || m.limitCurrencyCode;
4805
- return `${T}${Mr}`;
4839
+ let Ur = oe[m.limitCurrencyCode] || m.limitCurrencyCode;
4840
+ return `${w}${Ur}`;
4806
4841
  }
4807
4842
  typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
4808
- const I = T.match(/\{(\d+)decimals\}/), H = I ? parseInt(I[1], 10) : 2, $ = I ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4809
- let ye = parseFloat(m.limitAmount).toFixed(H);
4810
- const [Ir, Ne] = p.includes(".") ? [",", "."] : [".", ","];
4811
- let [Me, Nr] = ye.split(".");
4812
- return Me = Me.replace(/\B(?=(\d{3})+(?!\d))/g, Ir), ye = `${Me}${Ne}${Nr}`, T = T.replace("{currency}", se[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ye.split(Ne)[0]).replace(
4813
- $,
4814
- ye.split(Ne)[1]
4815
- ), T;
4816
- }, Hr = () => {
4817
- r(5, de = !de), r(8, Ie = !Ie);
4843
+ const I = w.match(/\{(\d+)decimals\}/), A = I ? parseInt(I[1], 10) : 2, U = I ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4844
+ let ye = parseFloat(m.limitAmount).toFixed(A);
4845
+ const [Dr, Re] = p.includes(".") ? [",", "."] : [".", ","];
4846
+ let [De, $r] = ye.split(".");
4847
+ return De = De.replace(/\B(?=(\d{3})+(?!\d))/g, Dr), ye = `${De}${Re}${$r}`, w = w.replace("{currency}", oe[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", ye.split(Re)[0]).replace(
4848
+ U,
4849
+ ye.split(Re)[1]
4850
+ ), w;
4851
+ }, Or = () => {
4852
+ r(5, de = !de), r(8, Me = !Me);
4818
4853
  };
4819
- let ft = new IntersectionObserver((m) => {
4820
- m.forEach((T) => {
4821
- T.isIntersecting && (R += parseInt(c, 10) || 10, pe.length < W.length && r(7, pe = W.slice(0, R)));
4854
+ let yt = new IntersectionObserver((m) => {
4855
+ m.forEach((w) => {
4856
+ w.isIntersecting && (D += parseInt(c, 10) || 10, pe.length < W.length && r(7, pe = W.slice(0, D)));
4822
4857
  });
4823
4858
  });
4824
- const Ar = () => {
4825
- ft.observe(S[S.length - 1]);
4826
- }, Pr = () => {
4859
+ const Cr = () => {
4860
+ yt.observe(S[S.length - 1]);
4861
+ }, Ir = () => {
4827
4862
  if (!f)
4828
4863
  return;
4829
4864
  let m = {};
4830
- f.split(",").forEach((T) => {
4831
- let I = T.split(":");
4865
+ f.split(",").forEach((w) => {
4866
+ let I = w.split(":");
4832
4867
  m[I[0].trim()] = I[1].trim();
4833
- }), se = be(be({}, se), m);
4834
- }, Br = () => {
4835
- to(s);
4868
+ }), oe = ge(ge({}, oe), m);
4869
+ }, Nr = () => {
4870
+ oo(s);
4836
4871
  };
4837
- qr(() => () => {
4838
- ft.unobserve(S[S.length - 1]);
4872
+ ri(() => () => {
4873
+ yt.unobserve(S[S.length - 1]);
4839
4874
  });
4840
- function Or(m, T) {
4841
- Le[m ? "unshift" : "push"](() => {
4842
- S[T] = m, r(3, S);
4875
+ function Mr(m, w) {
4876
+ Se[m ? "unshift" : "push"](() => {
4877
+ S[w] = m, r(3, S);
4843
4878
  });
4844
4879
  }
4845
- function Cr(m) {
4846
- Le[m ? "unshift" : "push"](() => {
4847
- b = m, r(2, b);
4880
+ function Rr(m) {
4881
+ Se[m ? "unshift" : "push"](() => {
4882
+ g = m, r(2, g);
4848
4883
  });
4849
4884
  }
4850
4885
  return e.$$set = (m) => {
4851
4886
  "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), "mbsource" in m && r(20, v = m.mbsource), "translationurl" in m && r(21, P = m.translationurl);
4852
4887
  }, e.$$.update = () => {
4853
4888
  e.$$.dirty[0] & /*customcurrencysymbols*/
4854
- 65536 && f && Pr(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4855
- 61440 && u && a && l && h && Tr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4856
- 56 && S[0] && !D && !de && Ar(), e.$$.dirty[0] & /*lang*/
4857
- 1 && s && Br(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4858
- 262148 && y && b && go(b, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4859
- 524292 && d && b && vo(b, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4860
- 1048580 && v && b && xo(b, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4861
- 2097156 && P && b && wr();
4889
+ 65536 && f && Ir(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4890
+ 61440 && u && a && l && h && Hr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4891
+ 56 && S[0] && !$ && !de && Cr(), e.$$.dirty[0] & /*lang*/
4892
+ 1 && s && Nr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4893
+ 262148 && y && g && xo(g, y), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4894
+ 524292 && d && g && wo(g, d), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4895
+ 1048580 && v && g && To(g, `${v}.Style`), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4896
+ 2097156 && P && g && Ar();
4862
4897
  }, [
4863
4898
  s,
4864
4899
  c,
4865
- b,
4900
+ g,
4866
4901
  S,
4867
- D,
4902
+ $,
4868
4903
  de,
4869
4904
  M,
4870
4905
  pe,
4871
- Ie,
4906
+ Me,
4872
4907
  i,
4873
4908
  o,
4874
- Hr,
4909
+ Or,
4875
4910
  a,
4876
4911
  l,
4877
4912
  u,
@@ -4882,18 +4917,18 @@ function Ao(e, t, r) {
4882
4917
  d,
4883
4918
  v,
4884
4919
  P,
4885
- Or,
4886
- Cr
4920
+ Mr,
4921
+ Rr
4887
4922
  ];
4888
4923
  }
4889
- class Po extends hi {
4924
+ class Io extends pi {
4890
4925
  constructor(t) {
4891
- super(), ui(
4926
+ super(), fi(
4892
4927
  this,
4893
4928
  t,
4894
- Ao,
4895
- Ho,
4896
- Vt,
4929
+ Co,
4930
+ Oo,
4931
+ Zt,
4897
4932
  {
4898
4933
  lang: 0,
4899
4934
  userid: 12,
@@ -4908,7 +4943,7 @@ class Po extends hi {
4908
4943
  mbsource: 20,
4909
4944
  translationurl: 21
4910
4945
  },
4911
- Eo,
4946
+ So,
4912
4947
  [-1, -1]
4913
4948
  );
4914
4949
  }
@@ -4985,7 +5020,7 @@ class Po extends hi {
4985
5020
  this.$$set({ translationurl: t }), C();
4986
5021
  }
4987
5022
  }
4988
- li(Po, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
5023
+ mi(Io, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4989
5024
  export {
4990
- Po as default
5025
+ Io as default
4991
5026
  };