@everymatrix/player-deposit 1.59.2 → 1.59.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Er = Object.defineProperty, xr = Object.defineProperties;
2
- var wr = Object.getOwnPropertyDescriptors;
3
- var ot = Object.getOwnPropertySymbols;
4
- var Sr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable;
5
- var Te = (e, t, r) => t in e ? Er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
1
+ var br = Object.defineProperty, gr = Object.defineProperties;
2
+ var yr = Object.getOwnPropertyDescriptors;
3
+ var rt = Object.getOwnPropertySymbols;
4
+ var vr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable;
5
+ var Te = (e, t, r) => t in e ? br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Sr.call(t, r) && Te(e, r, t[r]);
8
- if (ot)
9
- for (var r of ot(t))
10
- Tr.call(t, r) && Te(e, r, t[r]);
7
+ vr.call(t, r) && Te(e, r, t[r]);
8
+ if (rt)
9
+ for (var r of rt(t))
10
+ _r.call(t, r) && Te(e, r, t[r]);
11
11
  return e;
12
- }, at = (e, t) => xr(e, wr(t));
12
+ }, it = (e, t) => gr(e, yr(t));
13
13
  var B = (e, t, r) => (Te(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ut = (e, t, r) => new Promise((n, i) => {
14
+ var ot = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -27,53 +27,53 @@ var ut = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function A() {
30
+ function P() {
31
31
  }
32
- function Nt(e) {
32
+ function Ct(e) {
33
33
  return e();
34
34
  }
35
- function ht() {
35
+ function st() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ue(e) {
39
- e.forEach(Nt);
38
+ function ae(e) {
39
+ e.forEach(Ct);
40
40
  }
41
- function qe(e) {
41
+ function Ye(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Rt(e, t) {
44
+ function Mt(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let ce;
48
- function lt(e, t) {
48
+ function at(e, t) {
49
49
  return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
50
50
  }
51
- function Hr(e) {
51
+ function Er(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function Dt(e, ...t) {
54
+ function Nt(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
58
- return A;
58
+ return P;
59
59
  }
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function Br(e, t, r) {
64
- e.$$.on_destroy.push(Dt(t, r));
63
+ function xr(e, t, r) {
64
+ e.$$.on_destroy.push(Nt(t, r));
65
65
  }
66
66
  function w(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function Ar(e, t, r) {
70
- const n = Pr(e);
69
+ function wr(e, t, r) {
70
+ const n = Sr(e);
71
71
  if (!n.getElementById(t)) {
72
72
  const i = C("style");
73
- i.id = t, i.textContent = r, Or(n, i);
73
+ i.id = t, i.textContent = r, Tr(n, i);
74
74
  }
75
75
  }
76
- function Pr(e) {
76
+ function Sr(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,14 +83,14 @@ function Pr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function Or(e, t) {
86
+ function Tr(e, t) {
87
87
  return w(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function he(e, t, r) {
93
+ function ue(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
96
  function q(e) {
@@ -102,29 +102,29 @@ function C(e) {
102
102
  function F(e) {
103
103
  return document.createElementNS("http://www.w3.org/2000/svg", e);
104
104
  }
105
- function ie(e) {
105
+ function ne(e) {
106
106
  return document.createTextNode(e);
107
107
  }
108
- function Le() {
109
- return ie(" ");
108
+ function Me() {
109
+ return ne(" ");
110
110
  }
111
- function Ir(e, t, r, n) {
111
+ function Hr(e, t, r, n) {
112
112
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
113
113
  }
114
114
  function x(e, t, r) {
115
115
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
116
116
  }
117
- function Cr(e) {
117
+ function Br(e) {
118
118
  return Array.from(e.childNodes);
119
119
  }
120
- function Je(e, t) {
120
+ function qe(e, t) {
121
121
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
122
122
  t);
123
123
  }
124
- function ct(e, t, r, n) {
124
+ function ut(e, t, r, n) {
125
125
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
126
126
  }
127
- function Mr(e) {
127
+ function Ar(e) {
128
128
  const t = {};
129
129
  return e.childNodes.forEach(
130
130
  /** @param {Element} node */
@@ -133,26 +133,26 @@ function Mr(e) {
133
133
  }
134
134
  ), t;
135
135
  }
136
- let oe;
137
- function ne(e) {
138
- oe = e;
136
+ let ie;
137
+ function re(e) {
138
+ ie = e;
139
139
  }
140
- function Lr() {
141
- if (!oe)
140
+ function Pr() {
141
+ if (!ie)
142
142
  throw new Error("Function called outside component initialization");
143
- return oe;
143
+ return ie;
144
144
  }
145
- function Nr(e) {
146
- Lr().$$.on_mount.push(e);
145
+ function Or(e) {
146
+ Pr().$$.on_mount.push(e);
147
147
  }
148
148
  const V = [], Ne = [];
149
149
  let X = [];
150
- const ft = [], Rr = /* @__PURE__ */ Promise.resolve();
151
- let Re = !1;
152
- function Dr() {
153
- Re || (Re = !0, Rr.then(H));
150
+ const ht = [], Ir = /* @__PURE__ */ Promise.resolve();
151
+ let Le = !1;
152
+ function Cr() {
153
+ Le || (Le = !0, Ir.then(H));
154
154
  }
155
- function De(e) {
155
+ function Re(e) {
156
156
  X.push(e);
157
157
  }
158
158
  const He = /* @__PURE__ */ new Set();
@@ -160,17 +160,17 @@ let j = 0;
160
160
  function H() {
161
161
  if (j !== 0)
162
162
  return;
163
- const e = oe;
163
+ const e = ie;
164
164
  do {
165
165
  try {
166
166
  for (; j < V.length; ) {
167
167
  const t = V[j];
168
- j++, ne(t), $r(t.$$);
168
+ j++, re(t), Mr(t.$$);
169
169
  }
170
170
  } catch (t) {
171
171
  throw V.length = 0, j = 0, t;
172
172
  }
173
- for (ne(null), V.length = 0, j = 0; Ne.length; )
173
+ for (re(null), V.length = 0, j = 0; Ne.length; )
174
174
  Ne.pop()();
175
175
  for (let t = 0; t < X.length; t += 1) {
176
176
  const r = X[t];
@@ -178,50 +178,50 @@ function H() {
178
178
  }
179
179
  X.length = 0;
180
180
  } while (V.length);
181
- for (; ft.length; )
182
- ft.pop()();
183
- Re = !1, He.clear(), ne(e);
181
+ for (; ht.length; )
182
+ ht.pop()();
183
+ Le = !1, He.clear(), re(e);
184
184
  }
185
- function $r(e) {
185
+ function Mr(e) {
186
186
  if (e.fragment !== null) {
187
- e.update(), ue(e.before_update);
187
+ e.update(), ae(e.before_update);
188
188
  const t = e.dirty;
189
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(De);
189
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
190
190
  }
191
191
  }
192
- function Ur(e) {
192
+ function Nr(e) {
193
193
  const t = [], r = [];
194
194
  X.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), X = t;
195
195
  }
196
- const Gr = /* @__PURE__ */ new Set();
197
- function Fr(e, t) {
198
- e && e.i && (Gr.delete(e), e.i(t));
196
+ const Lr = /* @__PURE__ */ new Set();
197
+ function Rr(e, t) {
198
+ e && e.i && (Lr.delete(e), e.i(t));
199
199
  }
200
- function jr(e, t, r) {
200
+ function Dr(e, t, r) {
201
201
  const { fragment: n, after_update: i } = e.$$;
202
- n && n.m(t, r), De(() => {
203
- const o = e.$$.on_mount.map(Nt).filter(qe);
204
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
205
- }), i.forEach(De);
202
+ n && n.m(t, r), Re(() => {
203
+ const o = e.$$.on_mount.map(Ct).filter(Ye);
204
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ae(o), e.$$.on_mount = [];
205
+ }), i.forEach(Re);
206
206
  }
207
- function kr(e, t) {
207
+ function $r(e, t) {
208
208
  const r = e.$$;
209
- r.fragment !== null && (Ur(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
209
+ r.fragment !== null && (Nr(r.after_update), ae(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
210
210
  }
211
- function Vr(e, t) {
212
- e.$$.dirty[0] === -1 && (V.push(e), Dr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
211
+ function Ur(e, t) {
212
+ e.$$.dirty[0] === -1 && (V.push(e), Cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
213
213
  }
214
- function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
215
- const h = oe;
216
- ne(e);
214
+ function Gr(e, t, r, n, i, o, s = null, a = [-1]) {
215
+ const h = ie;
216
+ re(e);
217
217
  const u = e.$$ = {
218
218
  fragment: null,
219
219
  ctx: [],
220
220
  // state
221
221
  props: o,
222
- update: A,
222
+ update: P,
223
223
  not_equal: i,
224
- bound: ht(),
224
+ bound: st(),
225
225
  // lifecycle
226
226
  on_mount: [],
227
227
  on_destroy: [],
@@ -230,28 +230,28 @@ function Xr(e, t, r, n, i, o, s = null, a = [-1]) {
230
230
  after_update: [],
231
231
  context: new Map(t.context || (h ? h.$$.context : [])),
232
232
  // everything else
233
- callbacks: ht(),
233
+ callbacks: st(),
234
234
  dirty: a,
235
235
  skip_bound: !1,
236
236
  root: t.target || h.$$.root
237
237
  };
238
238
  s && s(u.root);
239
239
  let l = !1;
240
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
241
- const v = d.length ? d[0] : f;
242
- return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && Vr(e, c)), f;
243
- }) : [], u.update(), l = !0, ue(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
240
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
241
+ const v = m.length ? m[0] : f;
242
+ return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), l && Ur(e, c)), f;
243
+ }) : [], u.update(), l = !0, ae(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
244
244
  if (t.hydrate) {
245
- const c = Cr(t.target);
245
+ const c = Br(t.target);
246
246
  u.fragment && u.fragment.l(c), c.forEach(q);
247
247
  } else
248
248
  u.fragment && u.fragment.c();
249
- t.intro && Fr(e.$$.fragment), jr(e, t.target, t.anchor), H();
249
+ t.intro && Rr(e.$$.fragment), Dr(e, t.target, t.anchor), H();
250
250
  }
251
- ne(h);
251
+ re(h);
252
252
  }
253
- let $t;
254
- typeof HTMLElement == "function" && ($t = class extends HTMLElement {
253
+ let Lt;
254
+ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
255
255
  constructor(t, r, n) {
256
256
  super();
257
257
  /** The Svelte component constructor */
@@ -288,7 +288,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
288
288
  }
289
289
  }
290
290
  connectedCallback() {
291
- return ut(this, null, function* () {
291
+ return ot(this, null, function* () {
292
292
  if (this.$$cn = !0, !this.$$c) {
293
293
  let t = function(o) {
294
294
  return () => {
@@ -302,7 +302,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
302
302
  * @param {HTMLElement} [anchor]
303
303
  */
304
304
  m: function(u, l) {
305
- he(u, s, l);
305
+ ue(u, s, l);
306
306
  },
307
307
  d: function(u) {
308
308
  u && q(s);
@@ -312,18 +312,18 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
312
312
  };
313
313
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
314
314
  return;
315
- const r = {}, n = Mr(this);
315
+ const r = {}, n = Ar(this);
316
316
  for (const o of this.$$s)
317
317
  o in n && (r[o] = [t(o)]);
318
318
  for (const o of this.attributes) {
319
319
  const s = this.$$g_p(o.name);
320
- s in this.$$d || (this.$$d[s] = de(s, o.value, this.$$p_d, "toProp"));
320
+ s in this.$$d || (this.$$d[s] = me(s, o.value, this.$$p_d, "toProp"));
321
321
  }
322
322
  for (const o in this.$$p_d)
323
323
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
324
324
  this.$$c = new this.$$ctor({
325
325
  target: this.shadowRoot || this,
326
- props: at(st({}, this.$$d), {
326
+ props: it(nt({}, this.$$d), {
327
327
  $$slots: r,
328
328
  $$scope: {
329
329
  ctx: []
@@ -334,7 +334,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
334
334
  this.$$r = !0;
335
335
  for (const o in this.$$p_d)
336
336
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
337
- const s = de(
337
+ const s = me(
338
338
  o,
339
339
  this.$$d[o],
340
340
  this.$$p_d,
@@ -358,7 +358,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
358
358
  // and setting attributes through setAttribute etc, this is helpful
359
359
  attributeChangedCallback(t, r, n) {
360
360
  var i;
361
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = de(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
361
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = me(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
362
362
  }
363
363
  disconnectedCallback() {
364
364
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -371,7 +371,7 @@ typeof HTMLElement == "function" && ($t = class extends HTMLElement {
371
371
  ) || t;
372
372
  }
373
373
  });
374
- function de(e, t, r, n) {
374
+ function me(e, t, r, n) {
375
375
  var o;
376
376
  const i = (o = r[e]) == null ? void 0 : o.type;
377
377
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -401,8 +401,8 @@ function de(e, t, r, n) {
401
401
  return t;
402
402
  }
403
403
  }
404
- function Wr(e, t, r, n, i, o) {
405
- let s = class extends $t {
404
+ function Fr(e, t, r, n, i, o) {
405
+ let s = class extends Lt {
406
406
  constructor() {
407
407
  super(e, r, i), this.$$p_d = t;
408
408
  }
@@ -419,7 +419,7 @@ function Wr(e, t, r, n, i, o) {
419
419
  },
420
420
  set(h) {
421
421
  var u;
422
- h = de(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
422
+ h = me(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
423
423
  }
424
424
  });
425
425
  }), n.forEach((a) => {
@@ -432,7 +432,7 @@ function Wr(e, t, r, n, i, o) {
432
432
  }), e.element = /** @type {any} */
433
433
  s, s;
434
434
  }
435
- class zr {
435
+ class jr {
436
436
  constructor() {
437
437
  /**
438
438
  * ### PRIVATE API
@@ -453,7 +453,7 @@ class zr {
453
453
  }
454
454
  /** @returns {void} */
455
455
  $destroy() {
456
- kr(this, 1), this.$destroy = A;
456
+ $r(this, 1), this.$destroy = P;
457
457
  }
458
458
  /**
459
459
  * @template {Extract<keyof Events, string>} K
@@ -462,8 +462,8 @@ class zr {
462
462
  * @returns {() => void}
463
463
  */
464
464
  $on(t, r) {
465
- if (!qe(r))
466
- return A;
465
+ if (!Ye(r))
466
+ return P;
467
467
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
468
468
  return n.push(r), () => {
469
469
  const i = n.indexOf(r);
@@ -475,11 +475,11 @@ class zr {
475
475
  * @returns {void}
476
476
  */
477
477
  $set(t) {
478
- this.$$set && !Hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
478
+ this.$$set && !Er(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
479
479
  }
480
480
  }
481
- const Zr = "4";
482
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Zr);
481
+ const kr = "4";
482
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kr);
483
483
  /*! *****************************************************************************
484
484
  Copyright (c) Microsoft Corporation.
485
485
 
@@ -494,18 +494,18 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
494
494
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
495
495
  PERFORMANCE OF THIS SOFTWARE.
496
496
  ***************************************************************************** */
497
- var $e = function(e, t) {
498
- return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
497
+ var De = function(e, t) {
498
+ return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
499
499
  r.__proto__ = n;
500
500
  } || function(r, n) {
501
501
  for (var i in n)
502
502
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
503
- }, $e(e, t);
503
+ }, De(e, t);
504
504
  };
505
505
  function M(e, t) {
506
506
  if (typeof t != "function" && t !== null)
507
507
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
508
- $e(e, t);
508
+ De(e, t);
509
509
  function r() {
510
510
  this.constructor = e;
511
511
  }
@@ -521,7 +521,7 @@ var y = function() {
521
521
  return t;
522
522
  }, y.apply(this, arguments);
523
523
  };
524
- function Qr(e, t) {
524
+ function Vr(e, t) {
525
525
  var r = {};
526
526
  for (var n in e)
527
527
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -530,7 +530,7 @@ function Qr(e, t) {
530
530
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
531
531
  return r;
532
532
  }
533
- function Ue(e) {
533
+ function $e(e) {
534
534
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
535
535
  if (r)
536
536
  return r.call(e);
@@ -542,7 +542,7 @@ function Ue(e) {
542
542
  };
543
543
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
544
544
  }
545
- function Ge(e, t) {
545
+ function Ue(e, t) {
546
546
  var r = typeof Symbol == "function" && e[Symbol.iterator];
547
547
  if (!r)
548
548
  return e;
@@ -571,13 +571,13 @@ function W(e, t, r) {
571
571
  function I(e) {
572
572
  return typeof e == "function";
573
573
  }
574
- function Ut(e) {
574
+ function Rt(e) {
575
575
  var t = function(n) {
576
576
  Error.call(n), n.stack = new Error().stack;
577
577
  }, r = e(t);
578
578
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
579
579
  }
580
- var Be = Ut(function(e) {
580
+ var Be = Rt(function(e) {
581
581
  return function(r) {
582
582
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
583
583
  ` + r.map(function(n, i) {
@@ -586,7 +586,7 @@ var Be = Ut(function(e) {
586
586
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
587
587
  };
588
588
  });
589
- function Fe(e, t) {
589
+ function Ge(e, t) {
590
590
  if (e) {
591
591
  var r = e.indexOf(t);
592
592
  0 <= r && e.splice(r, 1);
@@ -604,12 +604,12 @@ var _e = function() {
604
604
  if (s)
605
605
  if (this._parentage = null, Array.isArray(s))
606
606
  try {
607
- for (var a = Ue(s), h = a.next(); !h.done; h = a.next()) {
607
+ for (var a = $e(s), h = a.next(); !h.done; h = a.next()) {
608
608
  var u = h.value;
609
609
  u.remove(this);
610
610
  }
611
- } catch (m) {
612
- t = { error: m };
611
+ } catch (d) {
612
+ t = { error: d };
613
613
  } finally {
614
614
  try {
615
615
  h && !h.done && (r = a.return) && r.call(a);
@@ -624,26 +624,26 @@ var _e = function() {
624
624
  if (I(l))
625
625
  try {
626
626
  l();
627
- } catch (m) {
628
- o = m instanceof Be ? m.errors : [m];
627
+ } catch (d) {
628
+ o = d instanceof Be ? d.errors : [d];
629
629
  }
630
630
  var c = this._finalizers;
631
631
  if (c) {
632
632
  this._finalizers = null;
633
633
  try {
634
- for (var f = Ue(c), d = f.next(); !d.done; d = f.next()) {
635
- var v = d.value;
634
+ for (var f = $e(c), m = f.next(); !m.done; m = f.next()) {
635
+ var v = m.value;
636
636
  try {
637
- pt(v);
638
- } catch (m) {
639
- o = o != null ? o : [], m instanceof Be ? o = W(W([], Ge(o)), Ge(m.errors)) : o.push(m);
637
+ lt(v);
638
+ } catch (d) {
639
+ o = o != null ? o : [], d instanceof Be ? o = W(W([], Ue(o)), Ue(d.errors)) : o.push(d);
640
640
  }
641
641
  }
642
- } catch (m) {
643
- n = { error: m };
642
+ } catch (d) {
643
+ n = { error: d };
644
644
  } finally {
645
645
  try {
646
- d && !d.done && (i = f.return) && i.call(f);
646
+ m && !m.done && (i = f.return) && i.call(f);
647
647
  } finally {
648
648
  if (n)
649
649
  throw n.error;
@@ -657,7 +657,7 @@ var _e = function() {
657
657
  var r;
658
658
  if (t && t !== this)
659
659
  if (this.closed)
660
- pt(t);
660
+ lt(t);
661
661
  else {
662
662
  if (t instanceof e) {
663
663
  if (t.closed || t._hasParent(this))
@@ -674,56 +674,52 @@ var _e = function() {
674
674
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
675
675
  }, e.prototype._removeParent = function(t) {
676
676
  var r = this._parentage;
677
- r === t ? this._parentage = null : Array.isArray(r) && Fe(r, t);
677
+ r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
678
678
  }, e.prototype.remove = function(t) {
679
679
  var r = this._finalizers;
680
- r && Fe(r, t), t instanceof e && t._removeParent(this);
680
+ r && Ge(r, t), t instanceof e && t._removeParent(this);
681
681
  }, e.EMPTY = function() {
682
682
  var t = new e();
683
683
  return t.closed = !0, t;
684
684
  }(), e;
685
- }(), Gt = _e.EMPTY;
686
- function Ft(e) {
685
+ }(), Dt = _e.EMPTY;
686
+ function $t(e) {
687
687
  return e instanceof _e || e && "closed" in e && I(e.remove) && I(e.add) && I(e.unsubscribe);
688
688
  }
689
- function pt(e) {
689
+ function lt(e) {
690
690
  I(e) ? e() : e.unsubscribe();
691
691
  }
692
- var jt = {
693
- onUnhandledError: null,
694
- onStoppedNotification: null,
695
- Promise: void 0,
696
- useDeprecatedSynchronousErrorHandling: !1,
697
- useDeprecatedNextContext: !1
698
- }, Yr = {
692
+ var Xr = {
693
+ Promise: void 0
694
+ }, Wr = {
699
695
  setTimeout: function(e, t) {
700
696
  for (var r = [], n = 2; n < arguments.length; n++)
701
697
  r[n - 2] = arguments[n];
702
- return setTimeout.apply(void 0, W([e, t], Ge(r)));
698
+ return setTimeout.apply(void 0, W([e, t], Ue(r)));
703
699
  },
704
700
  clearTimeout: function(e) {
705
701
  return clearTimeout(e);
706
702
  },
707
703
  delegate: void 0
708
704
  };
709
- function qr(e) {
710
- Yr.setTimeout(function() {
705
+ function zr(e) {
706
+ Wr.setTimeout(function() {
711
707
  throw e;
712
708
  });
713
709
  }
714
- function dt() {
710
+ function ct() {
715
711
  }
716
- function me(e) {
712
+ function de(e) {
717
713
  e();
718
714
  }
719
- var kt = function(e) {
715
+ var Ut = function(e) {
720
716
  M(t, e);
721
717
  function t(r) {
722
718
  var n = e.call(this) || this;
723
- return n.isStopped = !1, r ? (n.destination = r, Ft(r) && r.add(n)) : n.destination = tn, n;
719
+ return n.isStopped = !1, r ? (n.destination = r, $t(r) && r.add(n)) : n.destination = Yr, n;
724
720
  }
725
721
  return t.create = function(r, n, i) {
726
- return new je(r, n, i);
722
+ return new Fe(r, n, i);
727
723
  }, t.prototype.next = function(r) {
728
724
  this.isStopped || this._next(r);
729
725
  }, t.prototype.error = function(r) {
@@ -747,11 +743,7 @@ var kt = function(e) {
747
743
  this.unsubscribe();
748
744
  }
749
745
  }, t;
750
- }(_e), Jr = Function.prototype.bind;
751
- function Ae(e, t) {
752
- return Jr.call(e, t);
753
- }
754
- var Kr = function() {
746
+ }(_e), Zr = function() {
755
747
  function e(t) {
756
748
  this.partialObserver = t;
757
749
  }
@@ -782,55 +774,43 @@ var Kr = function() {
782
774
  fe(r);
783
775
  }
784
776
  }, e;
785
- }(), je = function(e) {
777
+ }(), Fe = function(e) {
786
778
  M(t, e);
787
779
  function t(r, n, i) {
788
780
  var o = e.call(this) || this, s;
789
- if (I(r) || !r)
790
- s = {
791
- next: r != null ? r : void 0,
792
- error: n != null ? n : void 0,
793
- complete: i != null ? i : void 0
794
- };
795
- else {
796
- var a;
797
- o && jt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
798
- return o.unsubscribe();
799
- }, s = {
800
- next: r.next && Ae(r.next, a),
801
- error: r.error && Ae(r.error, a),
802
- complete: r.complete && Ae(r.complete, a)
803
- }) : s = r;
804
- }
805
- return o.destination = new Kr(s), o;
781
+ return I(r) || !r ? s = {
782
+ next: r != null ? r : void 0,
783
+ error: n != null ? n : void 0,
784
+ complete: i != null ? i : void 0
785
+ } : s = r, o.destination = new Zr(s), o;
806
786
  }
807
787
  return t;
808
- }(kt);
788
+ }(Ut);
809
789
  function fe(e) {
810
- qr(e);
790
+ zr(e);
811
791
  }
812
- function en(e) {
792
+ function Qr(e) {
813
793
  throw e;
814
794
  }
815
- var tn = {
795
+ var Yr = {
816
796
  closed: !0,
817
- next: dt,
818
- error: en,
819
- complete: dt
820
- }, rn = function() {
797
+ next: ct,
798
+ error: Qr,
799
+ complete: ct
800
+ }, qr = function() {
821
801
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
822
802
  }();
823
- function nn(e) {
803
+ function Jr(e) {
824
804
  return e;
825
805
  }
826
- function on(e) {
827
- return e.length === 0 ? nn : e.length === 1 ? e[0] : function(r) {
806
+ function Kr(e) {
807
+ return e.length === 0 ? Jr : e.length === 1 ? e[0] : function(r) {
828
808
  return e.reduce(function(n, i) {
829
809
  return i(n);
830
810
  }, r);
831
811
  };
832
812
  }
833
- var mt = function() {
813
+ var ft = function() {
834
814
  function e(t) {
835
815
  t && (this._subscribe = t);
836
816
  }
@@ -838,8 +818,8 @@ var mt = function() {
838
818
  var r = new e();
839
819
  return r.source = this, r.operator = t, r;
840
820
  }, e.prototype.subscribe = function(t, r, n) {
841
- var i = this, o = an(t) ? t : new je(t, r, n);
842
- return me(function() {
821
+ var i = this, o = tn(t) ? t : new Fe(t, r, n);
822
+ return de(function() {
843
823
  var s = i, a = s.operator, h = s.source;
844
824
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
845
825
  }), o;
@@ -851,8 +831,8 @@ var mt = function() {
851
831
  }
852
832
  }, e.prototype.forEach = function(t, r) {
853
833
  var n = this;
854
- return r = bt(r), new r(function(i, o) {
855
- var s = new je({
834
+ return r = pt(r), new r(function(i, o) {
835
+ var s = new Fe({
856
836
  next: function(a) {
857
837
  try {
858
838
  t(a);
@@ -868,15 +848,15 @@ var mt = function() {
868
848
  }, e.prototype._subscribe = function(t) {
869
849
  var r;
870
850
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
871
- }, e.prototype[rn] = function() {
851
+ }, e.prototype[qr] = function() {
872
852
  return this;
873
853
  }, e.prototype.pipe = function() {
874
854
  for (var t = [], r = 0; r < arguments.length; r++)
875
855
  t[r] = arguments[r];
876
- return on(t)(this);
856
+ return Kr(t)(this);
877
857
  }, e.prototype.toPromise = function(t) {
878
858
  var r = this;
879
- return t = bt(t), new t(function(n, i) {
859
+ return t = pt(t), new t(function(n, i) {
880
860
  var o;
881
861
  r.subscribe(function(s) {
882
862
  return o = s;
@@ -890,40 +870,40 @@ var mt = function() {
890
870
  return new e(t);
891
871
  }, e;
892
872
  }();
893
- function bt(e) {
873
+ function pt(e) {
894
874
  var t;
895
- return (t = e != null ? e : jt.Promise) !== null && t !== void 0 ? t : Promise;
875
+ return (t = e != null ? e : Xr.Promise) !== null && t !== void 0 ? t : Promise;
896
876
  }
897
- function sn(e) {
877
+ function en(e) {
898
878
  return e && I(e.next) && I(e.error) && I(e.complete);
899
879
  }
900
- function an(e) {
901
- return e && e instanceof kt || sn(e) && Ft(e);
880
+ function tn(e) {
881
+ return e && e instanceof Ut || en(e) && $t(e);
902
882
  }
903
- var un = Ut(function(e) {
883
+ var rn = Rt(function(e) {
904
884
  return function() {
905
885
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
906
886
  };
907
- }), Vt = function(e) {
887
+ }), Gt = function(e) {
908
888
  M(t, e);
909
889
  function t() {
910
890
  var r = e.call(this) || this;
911
891
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
912
892
  }
913
893
  return t.prototype.lift = function(r) {
914
- var n = new gt(this, this);
894
+ var n = new mt(this, this);
915
895
  return n.operator = r, n;
916
896
  }, t.prototype._throwIfClosed = function() {
917
897
  if (this.closed)
918
- throw new un();
898
+ throw new rn();
919
899
  }, t.prototype.next = function(r) {
920
900
  var n = this;
921
- me(function() {
901
+ de(function() {
922
902
  var i, o;
923
903
  if (n._throwIfClosed(), !n.isStopped) {
924
904
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
925
905
  try {
926
- for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
906
+ for (var s = $e(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
927
907
  var h = a.value;
928
908
  h.next(r);
929
909
  }
@@ -941,7 +921,7 @@ var un = Ut(function(e) {
941
921
  });
942
922
  }, t.prototype.error = function(r) {
943
923
  var n = this;
944
- me(function() {
924
+ de(function() {
945
925
  if (n._throwIfClosed(), !n.isStopped) {
946
926
  n.hasError = n.isStopped = !0, n.thrownError = r;
947
927
  for (var i = n.observers; i.length; )
@@ -950,7 +930,7 @@ var un = Ut(function(e) {
950
930
  });
951
931
  }, t.prototype.complete = function() {
952
932
  var r = this;
953
- me(function() {
933
+ de(function() {
954
934
  if (r._throwIfClosed(), !r.isStopped) {
955
935
  r.isStopped = !0;
956
936
  for (var n = r.observers; n.length; )
@@ -972,19 +952,19 @@ var un = Ut(function(e) {
972
952
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
973
953
  }, t.prototype._innerSubscribe = function(r) {
974
954
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
975
- return o || s ? Gt : (this.currentObservers = null, a.push(r), new _e(function() {
976
- n.currentObservers = null, Fe(a, r);
955
+ return o || s ? Dt : (this.currentObservers = null, a.push(r), new _e(function() {
956
+ n.currentObservers = null, Ge(a, r);
977
957
  }));
978
958
  }, t.prototype._checkFinalizedStatuses = function(r) {
979
959
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
980
960
  i ? r.error(o) : s && r.complete();
981
961
  }, t.prototype.asObservable = function() {
982
- var r = new mt();
962
+ var r = new ft();
983
963
  return r.source = this, r;
984
964
  }, t.create = function(r, n) {
985
- return new gt(r, n);
965
+ return new mt(r, n);
986
966
  }, t;
987
- }(mt), gt = function(e) {
967
+ }(ft), mt = function(e) {
988
968
  M(t, e);
989
969
  function t(r, n) {
990
970
  var i = e.call(this) || this;
@@ -1001,17 +981,17 @@ var un = Ut(function(e) {
1001
981
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1002
982
  }, t.prototype._subscribe = function(r) {
1003
983
  var n, i;
1004
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Gt;
984
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Dt;
1005
985
  }, t;
1006
- }(Vt), Xt = {
986
+ }(Gt), Ft = {
1007
987
  now: function() {
1008
- return (Xt.delegate || Date).now();
988
+ return (Ft.delegate || Date).now();
1009
989
  },
1010
990
  delegate: void 0
1011
- }, hn = function(e) {
991
+ }, nn = function(e) {
1012
992
  M(t, e);
1013
993
  function t(r, n, i) {
1014
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Xt);
994
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ft);
1015
995
  var o = e.call(this) || this;
1016
996
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1017
997
  }
@@ -1031,24 +1011,24 @@ var un = Ut(function(e) {
1031
1011
  u && o.splice(0, u + 1);
1032
1012
  }
1033
1013
  }, t;
1034
- }(Vt);
1035
- const yt = [], vt = {}, ln = (e, t = 0) => {
1036
- if (yt.indexOf(e) == -1) {
1037
- const r = new hn(t);
1038
- vt[e] = r, yt.push(e);
1014
+ }(Gt);
1015
+ const dt = [], bt = {}, on = (e, t = 0) => {
1016
+ if (dt.indexOf(e) == -1) {
1017
+ const r = new nn(t);
1018
+ bt[e] = r, dt.push(e);
1039
1019
  }
1040
- return vt[e];
1020
+ return bt[e];
1041
1021
  }, k = [];
1042
- function cn(e, t) {
1022
+ function sn(e, t) {
1043
1023
  return {
1044
1024
  subscribe: Ee(e, t).subscribe
1045
1025
  };
1046
1026
  }
1047
- function Ee(e, t = A) {
1027
+ function Ee(e, t = P) {
1048
1028
  let r;
1049
1029
  const n = /* @__PURE__ */ new Set();
1050
1030
  function i(a) {
1051
- if (Rt(e, a) && (e = a, r)) {
1031
+ if (Mt(e, a) && (e = a, r)) {
1052
1032
  const h = !k.length;
1053
1033
  for (const u of n)
1054
1034
  u[1](), k.push(u, e);
@@ -1062,9 +1042,9 @@ function Ee(e, t = A) {
1062
1042
  function o(a) {
1063
1043
  i(a(e));
1064
1044
  }
1065
- function s(a, h = A) {
1045
+ function s(a, h = P) {
1066
1046
  const u = [a, h];
1067
- return n.add(u), n.size === 1 && (r = t(i, o) || A), a(e), () => {
1047
+ return n.add(u), n.size === 1 && (r = t(i, o) || P), a(e), () => {
1068
1048
  n.delete(u), n.size === 0 && r && (r(), r = null);
1069
1049
  };
1070
1050
  }
@@ -1075,96 +1055,96 @@ function J(e, t, r) {
1075
1055
  if (!i.every(Boolean))
1076
1056
  throw new Error("derived() expects stores as input, got a falsy value");
1077
1057
  const o = t.length < 2;
1078
- return cn(r, (s, a) => {
1058
+ return sn(r, (s, a) => {
1079
1059
  let h = !1;
1080
1060
  const u = [];
1081
- let l = 0, c = A;
1061
+ let l = 0, c = P;
1082
1062
  const f = () => {
1083
1063
  if (l)
1084
1064
  return;
1085
1065
  c();
1086
1066
  const v = t(n ? u[0] : u, s, a);
1087
- o ? s(v) : c = qe(v) ? v : A;
1088
- }, d = i.map(
1089
- (v, m) => Dt(
1067
+ o ? s(v) : c = Ye(v) ? v : P;
1068
+ }, m = i.map(
1069
+ (v, d) => Nt(
1090
1070
  v,
1091
1071
  (E) => {
1092
- u[m] = E, l &= ~(1 << m), h && f();
1072
+ u[d] = E, l &= ~(1 << d), h && f();
1093
1073
  },
1094
1074
  () => {
1095
- l |= 1 << m;
1075
+ l |= 1 << d;
1096
1076
  }
1097
1077
  )
1098
1078
  );
1099
1079
  return h = !0, f(), function() {
1100
- ue(d), c(), h = !1;
1080
+ ae(m), c(), h = !1;
1101
1081
  };
1102
1082
  });
1103
1083
  }
1104
- function fn(e) {
1084
+ function an(e) {
1105
1085
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1106
1086
  }
1107
- var pn = function(t) {
1108
- return dn(t) && !mn(t);
1087
+ var un = function(t) {
1088
+ return hn(t) && !ln(t);
1109
1089
  };
1110
- function dn(e) {
1090
+ function hn(e) {
1111
1091
  return !!e && typeof e == "object";
1112
1092
  }
1113
- function mn(e) {
1093
+ function ln(e) {
1114
1094
  var t = Object.prototype.toString.call(e);
1115
- return t === "[object RegExp]" || t === "[object Date]" || yn(e);
1095
+ return t === "[object RegExp]" || t === "[object Date]" || pn(e);
1116
1096
  }
1117
- var bn = typeof Symbol == "function" && Symbol.for, gn = bn ? Symbol.for("react.element") : 60103;
1118
- function yn(e) {
1119
- return e.$$typeof === gn;
1097
+ var cn = typeof Symbol == "function" && Symbol.for, fn = cn ? Symbol.for("react.element") : 60103;
1098
+ function pn(e) {
1099
+ return e.$$typeof === fn;
1120
1100
  }
1121
- function vn(e) {
1101
+ function mn(e) {
1122
1102
  return Array.isArray(e) ? [] : {};
1123
1103
  }
1124
- function se(e, t) {
1125
- return t.clone !== !1 && t.isMergeableObject(e) ? z(vn(e), e, t) : e;
1104
+ function oe(e, t) {
1105
+ return t.clone !== !1 && t.isMergeableObject(e) ? z(mn(e), e, t) : e;
1126
1106
  }
1127
- function _n(e, t, r) {
1107
+ function dn(e, t, r) {
1128
1108
  return e.concat(t).map(function(n) {
1129
- return se(n, r);
1109
+ return oe(n, r);
1130
1110
  });
1131
1111
  }
1132
- function En(e, t) {
1112
+ function bn(e, t) {
1133
1113
  if (!t.customMerge)
1134
1114
  return z;
1135
1115
  var r = t.customMerge(e);
1136
1116
  return typeof r == "function" ? r : z;
1137
1117
  }
1138
- function xn(e) {
1118
+ function gn(e) {
1139
1119
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1140
1120
  return Object.propertyIsEnumerable.call(e, t);
1141
1121
  }) : [];
1142
1122
  }
1143
- function _t(e) {
1144
- return Object.keys(e).concat(xn(e));
1123
+ function gt(e) {
1124
+ return Object.keys(e).concat(gn(e));
1145
1125
  }
1146
- function Wt(e, t) {
1126
+ function jt(e, t) {
1147
1127
  try {
1148
1128
  return t in e;
1149
1129
  } catch (r) {
1150
1130
  return !1;
1151
1131
  }
1152
1132
  }
1153
- function wn(e, t) {
1154
- return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1133
+ function yn(e, t) {
1134
+ return jt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1155
1135
  }
1156
- function Sn(e, t, r) {
1136
+ function vn(e, t, r) {
1157
1137
  var n = {};
1158
- return r.isMergeableObject(e) && _t(e).forEach(function(i) {
1159
- n[i] = se(e[i], r);
1160
- }), _t(t).forEach(function(i) {
1161
- wn(e, i) || (Wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
1138
+ return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1139
+ n[i] = oe(e[i], r);
1140
+ }), gt(t).forEach(function(i) {
1141
+ yn(e, i) || (jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = bn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1162
1142
  }), n;
1163
1143
  }
1164
1144
  function z(e, t, r) {
1165
- r = r || {}, r.arrayMerge = r.arrayMerge || _n, r.isMergeableObject = r.isMergeableObject || pn, r.cloneUnlessOtherwiseSpecified = se;
1145
+ r = r || {}, r.arrayMerge = r.arrayMerge || dn, r.isMergeableObject = r.isMergeableObject || un, r.cloneUnlessOtherwiseSpecified = oe;
1166
1146
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1167
- return o ? n ? r.arrayMerge(e, t, r) : Sn(e, t, r) : se(t, r);
1147
+ return o ? n ? r.arrayMerge(e, t, r) : vn(e, t, r) : oe(t, r);
1168
1148
  }
1169
1149
  z.all = function(t, r) {
1170
1150
  if (!Array.isArray(t))
@@ -1173,58 +1153,56 @@ z.all = function(t, r) {
1173
1153
  return z(n, i, r);
1174
1154
  }, {});
1175
1155
  };
1176
- var Tn = z, Hn = Tn;
1177
- const Bn = /* @__PURE__ */ fn(Hn);
1178
- function Pe(e, t) {
1179
- var r = t && t.cache ? t.cache : Mn, n = t && t.serializer ? t.serializer : Cn, i = t && t.strategy ? t.strategy : Pn;
1156
+ var _n = z, En = _n;
1157
+ const xn = /* @__PURE__ */ an(En);
1158
+ function Ae(e, t) {
1159
+ var r = t && t.cache ? t.cache : Pn, n = t && t.serializer ? t.serializer : Bn, i = t && t.strategy ? t.strategy : Tn;
1180
1160
  return i(e, {
1181
1161
  cache: r,
1182
1162
  serializer: n
1183
1163
  });
1184
1164
  }
1185
- function An(e) {
1165
+ function wn(e) {
1186
1166
  return e == null || typeof e == "number" || typeof e == "boolean";
1187
1167
  }
1188
- function zt(e, t, r, n) {
1189
- var i = An(n) ? n : r(n), o = t.get(i);
1168
+ function Sn(e, t, r, n) {
1169
+ var i = wn(n) ? n : r(n), o = t.get(i);
1190
1170
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1191
1171
  }
1192
- function Zt(e, t, r) {
1172
+ function kt(e, t, r) {
1193
1173
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1194
1174
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1195
1175
  }
1196
- function Ke(e, t, r, n, i) {
1176
+ function Vt(e, t, r, n, i) {
1197
1177
  return r.bind(t, e, n, i);
1198
1178
  }
1199
- function Pn(e, t) {
1200
- var r = e.length === 1 ? zt : Zt;
1201
- return Ke(e, this, r, t.cache.create(), t.serializer);
1202
- }
1203
- function On(e, t) {
1204
- return Ke(e, this, Zt, t.cache.create(), t.serializer);
1179
+ function Tn(e, t) {
1180
+ var r = e.length === 1 ? Sn : kt;
1181
+ return Vt(e, this, r, t.cache.create(), t.serializer);
1205
1182
  }
1206
- function In(e, t) {
1207
- return Ke(e, this, zt, t.cache.create(), t.serializer);
1183
+ function Hn(e, t) {
1184
+ return Vt(e, this, kt, t.cache.create(), t.serializer);
1208
1185
  }
1209
- var Cn = function() {
1186
+ var Bn = function() {
1210
1187
  return JSON.stringify(arguments);
1211
- };
1212
- function et() {
1213
- this.cache = /* @__PURE__ */ Object.create(null);
1214
- }
1215
- et.prototype.get = function(e) {
1216
- return this.cache[e];
1217
- };
1218
- et.prototype.set = function(e, t) {
1219
- this.cache[e] = t;
1220
- };
1221
- var Mn = {
1188
+ }, An = (
1189
+ /** @class */
1190
+ function() {
1191
+ function e() {
1192
+ this.cache = /* @__PURE__ */ Object.create(null);
1193
+ }
1194
+ return e.prototype.get = function(t) {
1195
+ return this.cache[t];
1196
+ }, e.prototype.set = function(t, r) {
1197
+ this.cache[t] = r;
1198
+ }, e;
1199
+ }()
1200
+ ), Pn = {
1222
1201
  create: function() {
1223
- return new et();
1202
+ return new An();
1224
1203
  }
1225
- }, Oe = {
1226
- variadic: On,
1227
- monadic: In
1204
+ }, Pe = {
1205
+ variadic: Hn
1228
1206
  }, b;
1229
1207
  (function(e) {
1230
1208
  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";
@@ -1237,43 +1215,43 @@ var Z;
1237
1215
  (function(e) {
1238
1216
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1239
1217
  })(Z || (Z = {}));
1240
- function Et(e) {
1218
+ function yt(e) {
1241
1219
  return e.type === _.literal;
1242
1220
  }
1243
- function Ln(e) {
1221
+ function On(e) {
1244
1222
  return e.type === _.argument;
1245
1223
  }
1246
- function Qt(e) {
1224
+ function Xt(e) {
1247
1225
  return e.type === _.number;
1248
1226
  }
1249
- function Yt(e) {
1227
+ function Wt(e) {
1250
1228
  return e.type === _.date;
1251
1229
  }
1252
- function qt(e) {
1230
+ function zt(e) {
1253
1231
  return e.type === _.time;
1254
1232
  }
1255
- function Jt(e) {
1233
+ function Zt(e) {
1256
1234
  return e.type === _.select;
1257
1235
  }
1258
- function Kt(e) {
1236
+ function Qt(e) {
1259
1237
  return e.type === _.plural;
1260
1238
  }
1261
- function Nn(e) {
1239
+ function In(e) {
1262
1240
  return e.type === _.pound;
1263
1241
  }
1264
- function er(e) {
1242
+ function Yt(e) {
1265
1243
  return e.type === _.tag;
1266
1244
  }
1267
- function tr(e) {
1245
+ function qt(e) {
1268
1246
  return !!(e && typeof e == "object" && e.type === Z.number);
1269
1247
  }
1270
- function ke(e) {
1248
+ function je(e) {
1271
1249
  return !!(e && typeof e == "object" && e.type === Z.dateTime);
1272
1250
  }
1273
- var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Rn = /(?:[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;
1274
- function Dn(e) {
1251
+ var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Cn = /(?:[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;
1252
+ function Mn(e) {
1275
1253
  var t = {};
1276
- return e.replace(Rn, function(r) {
1254
+ return e.replace(Cn, function(r) {
1277
1255
  var n = r.length;
1278
1256
  switch (r[0]) {
1279
1257
  case "G":
@@ -1362,11 +1340,11 @@ function Dn(e) {
1362
1340
  return "";
1363
1341
  }), t;
1364
1342
  }
1365
- var $n = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1366
- function Un(e) {
1343
+ var Nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1344
+ function Ln(e) {
1367
1345
  if (e.length === 0)
1368
1346
  throw new Error("Number skeleton cannot be empty");
1369
- for (var t = e.split($n).filter(function(f) {
1347
+ for (var t = e.split(Nn).filter(function(f) {
1370
1348
  return f.length > 0;
1371
1349
  }), r = [], n = 0, i = t; n < i.length; n++) {
1372
1350
  var o = i[n], s = o.split("/");
@@ -1381,17 +1359,17 @@ function Un(e) {
1381
1359
  }
1382
1360
  return r;
1383
1361
  }
1384
- function Gn(e) {
1362
+ function Rn(e) {
1385
1363
  return e.replace(/^(.*?)-/, "");
1386
1364
  }
1387
- var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, Fn = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
1388
- function wt(e) {
1365
+ var vt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Kt = /^(@+)?(\+|#+)?[rs]?$/g, Dn = /(\*)(0+)|(#+)(0+)|(0+)/g, er = /^(0+)$/;
1366
+ function _t(e) {
1389
1367
  var t = {};
1390
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
1368
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Kt, function(r, n, i) {
1391
1369
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1392
1370
  }), t;
1393
1371
  }
1394
- function or(e) {
1372
+ function tr(e) {
1395
1373
  switch (e) {
1396
1374
  case "sign-auto":
1397
1375
  return {
@@ -1431,7 +1409,7 @@ function or(e) {
1431
1409
  };
1432
1410
  }
1433
1411
  }
1434
- function jn(e) {
1412
+ function $n(e) {
1435
1413
  var t;
1436
1414
  if (e[0] === "E" && e[1] === "E" ? (t = {
1437
1415
  notation: "engineering"
@@ -1439,17 +1417,17 @@ function jn(e) {
1439
1417
  notation: "scientific"
1440
1418
  }, e = e.slice(1)), t) {
1441
1419
  var r = e.slice(0, 2);
1442
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
1420
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !er.test(e))
1443
1421
  throw new Error("Malformed concise eng/scientific notation");
1444
1422
  t.minimumIntegerDigits = e.length;
1445
1423
  }
1446
1424
  return t;
1447
1425
  }
1448
- function St(e) {
1449
- var t = {}, r = or(e);
1426
+ function Et(e) {
1427
+ var t = {}, r = tr(e);
1450
1428
  return r || t;
1451
1429
  }
1452
- function kn(e) {
1430
+ function Un(e) {
1453
1431
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1454
1432
  var i = n[r];
1455
1433
  switch (i.stem) {
@@ -1473,7 +1451,7 @@ function kn(e) {
1473
1451
  continue;
1474
1452
  case "measure-unit":
1475
1453
  case "unit":
1476
- t.style = "unit", t.unit = Gn(i.options[0]);
1454
+ t.style = "unit", t.unit = Rn(i.options[0]);
1477
1455
  continue;
1478
1456
  case "compact-short":
1479
1457
  case "K":
@@ -1485,12 +1463,12 @@ function kn(e) {
1485
1463
  continue;
1486
1464
  case "scientific":
1487
1465
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1488
- return y(y({}, h), St(u));
1466
+ return y(y({}, h), Et(u));
1489
1467
  }, {}));
1490
1468
  continue;
1491
1469
  case "engineering":
1492
1470
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1493
- return y(y({}, h), St(u));
1471
+ return y(y({}, h), Et(u));
1494
1472
  }, {}));
1495
1473
  continue;
1496
1474
  case "notation-simple":
@@ -1535,40 +1513,40 @@ function kn(e) {
1535
1513
  case "integer-width":
1536
1514
  if (i.options.length > 1)
1537
1515
  throw new RangeError("integer-width stems only accept a single optional option");
1538
- i.options[0].replace(Fn, function(h, u, l, c, f, d) {
1516
+ i.options[0].replace(Dn, function(h, u, l, c, f, m) {
1539
1517
  if (u)
1540
1518
  t.minimumIntegerDigits = l.length;
1541
1519
  else {
1542
1520
  if (c && f)
1543
1521
  throw new Error("We currently do not support maximum integer digits");
1544
- if (d)
1522
+ if (m)
1545
1523
  throw new Error("We currently do not support exact integer digits");
1546
1524
  }
1547
1525
  return "";
1548
1526
  });
1549
1527
  continue;
1550
1528
  }
1551
- if (ir.test(i.stem)) {
1529
+ if (er.test(i.stem)) {
1552
1530
  t.minimumIntegerDigits = i.stem.length;
1553
1531
  continue;
1554
1532
  }
1555
- if (xt.test(i.stem)) {
1533
+ if (vt.test(i.stem)) {
1556
1534
  if (i.options.length > 1)
1557
1535
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1558
- i.stem.replace(xt, function(h, u, l, c, f, d) {
1559
- return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1536
+ i.stem.replace(vt, function(h, u, l, c, f, m) {
1537
+ return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1560
1538
  });
1561
1539
  var o = i.options[0];
1562
- o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), wt(o)));
1540
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), _t(o)));
1563
1541
  continue;
1564
1542
  }
1565
- if (nr.test(i.stem)) {
1566
- t = y(y({}, t), wt(i.stem));
1543
+ if (Kt.test(i.stem)) {
1544
+ t = y(y({}, t), _t(i.stem));
1567
1545
  continue;
1568
1546
  }
1569
- var s = or(i.stem);
1547
+ var s = tr(i.stem);
1570
1548
  s && (t = y(y({}, t), s));
1571
- var a = jn(i.stem);
1549
+ var a = $n(i.stem);
1572
1550
  a && (t = y(y({}, t), a));
1573
1551
  }
1574
1552
  return t;
@@ -2988,13 +2966,13 @@ var pe = {
2988
2966
  "h"
2989
2967
  ]
2990
2968
  };
2991
- function Vn(e, t) {
2969
+ function Gn(e, t) {
2992
2970
  for (var r = "", n = 0; n < e.length; n++) {
2993
2971
  var i = e.charAt(n);
2994
2972
  if (i === "j") {
2995
2973
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2996
2974
  o++, n++;
2997
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Xn(t);
2975
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Fn(t);
2998
2976
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2999
2977
  r += h;
3000
2978
  for (; s-- > 0; )
@@ -3004,7 +2982,7 @@ function Vn(e, t) {
3004
2982
  }
3005
2983
  return r;
3006
2984
  }
3007
- function Xn(e) {
2985
+ function Fn(e) {
3008
2986
  var t = e.hourCycle;
3009
2987
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3010
2988
  e.hourCycles && // @ts-ignore
@@ -3026,20 +3004,20 @@ function Xn(e) {
3026
3004
  var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3027
3005
  return i[0];
3028
3006
  }
3029
- var Ie, Wn = new RegExp("^".concat(rr.source, "*")), zn = new RegExp("".concat(rr.source, "*$"));
3007
+ var Oe, jn = new RegExp("^".concat(Jt.source, "*")), kn = new RegExp("".concat(Jt.source, "*$"));
3030
3008
  function g(e, t) {
3031
3009
  return { start: e, end: t };
3032
3010
  }
3033
- var Zn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qn = !!String.fromCodePoint, Yn = !!Object.fromEntries, qn = !!String.prototype.codePointAt, Jn = !!String.prototype.trimStart, Kn = !!String.prototype.trimEnd, ei = !!Number.isSafeInteger, ti = ei ? Number.isSafeInteger : function(e) {
3011
+ var Vn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Xn = !!String.fromCodePoint, Wn = !!Object.fromEntries, zn = !!String.prototype.codePointAt, Zn = !!String.prototype.trimStart, Qn = !!String.prototype.trimEnd, Yn = !!Number.isSafeInteger, qn = Yn ? Number.isSafeInteger : function(e) {
3034
3012
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3035
- }, Ve = !0;
3013
+ }, ke = !0;
3036
3014
  try {
3037
- var ri = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3038
- Ve = ((Ie = ri.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
3015
+ var Jn = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3016
+ ke = ((Oe = Jn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3039
3017
  } catch (e) {
3040
- Ve = !1;
3018
+ ke = !1;
3041
3019
  }
3042
- var Tt = Zn ? (
3020
+ var xt = Vn ? (
3043
3021
  // Native
3044
3022
  function(t, r, n) {
3045
3023
  return t.startsWith(r, n);
@@ -3049,7 +3027,7 @@ var Tt = Zn ? (
3049
3027
  function(t, r, n) {
3050
3028
  return t.slice(n, n + r.length) === r;
3051
3029
  }
3052
- ), Xe = Qn ? String.fromCodePoint : (
3030
+ ), Ve = Xn ? String.fromCodePoint : (
3053
3031
  // IE11
3054
3032
  function() {
3055
3033
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3061,9 +3039,9 @@ var Tt = Zn ? (
3061
3039
  }
3062
3040
  return n;
3063
3041
  }
3064
- ), Ht = (
3042
+ ), wt = (
3065
3043
  // native
3066
- Yn ? Object.fromEntries : (
3044
+ Wn ? Object.fromEntries : (
3067
3045
  // Ponyfill
3068
3046
  function(t) {
3069
3047
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3073,7 +3051,7 @@ var Tt = Zn ? (
3073
3051
  return r;
3074
3052
  }
3075
3053
  )
3076
- ), sr = qn ? (
3054
+ ), rr = zn ? (
3077
3055
  // Native
3078
3056
  function(t, r) {
3079
3057
  return t.codePointAt(r);
@@ -3087,7 +3065,7 @@ var Tt = Zn ? (
3087
3065
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3088
3066
  }
3089
3067
  }
3090
- ), ni = Jn ? (
3068
+ ), Kn = Zn ? (
3091
3069
  // Native
3092
3070
  function(t) {
3093
3071
  return t.trimStart();
@@ -3095,9 +3073,9 @@ var Tt = Zn ? (
3095
3073
  ) : (
3096
3074
  // Ponyfill
3097
3075
  function(t) {
3098
- return t.replace(Wn, "");
3076
+ return t.replace(jn, "");
3099
3077
  }
3100
- ), ii = Kn ? (
3078
+ ), ei = Qn ? (
3101
3079
  // Native
3102
3080
  function(t) {
3103
3081
  return t.trimEnd();
@@ -3105,32 +3083,32 @@ var Tt = Zn ? (
3105
3083
  ) : (
3106
3084
  // Ponyfill
3107
3085
  function(t) {
3108
- return t.replace(zn, "");
3086
+ return t.replace(kn, "");
3109
3087
  }
3110
3088
  );
3111
- function ar(e, t) {
3089
+ function nr(e, t) {
3112
3090
  return new RegExp(e, t);
3113
3091
  }
3114
- var We;
3115
- if (Ve) {
3116
- var Bt = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3117
- We = function(t, r) {
3092
+ var Xe;
3093
+ if (ke) {
3094
+ var St = nr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3095
+ Xe = function(t, r) {
3118
3096
  var n;
3119
- Bt.lastIndex = r;
3120
- var i = Bt.exec(t);
3097
+ St.lastIndex = r;
3098
+ var i = St.exec(t);
3121
3099
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3122
3100
  };
3123
3101
  } else
3124
- We = function(t, r) {
3102
+ Xe = function(t, r) {
3125
3103
  for (var n = []; ; ) {
3126
- var i = sr(t, r);
3127
- if (i === void 0 || ur(i) || ui(i))
3104
+ var i = rr(t, r);
3105
+ if (i === void 0 || ir(i) || ii(i))
3128
3106
  break;
3129
3107
  n.push(i), r += i >= 65536 ? 2 : 1;
3130
3108
  }
3131
- return Xe.apply(void 0, n);
3109
+ return Ve.apply(void 0, n);
3132
3110
  };
3133
- var oi = (
3111
+ var ti = (
3134
3112
  /** @class */
3135
3113
  function() {
3136
3114
  function e(t, r) {
@@ -3161,7 +3139,7 @@ var oi = (
3161
3139
  if (n)
3162
3140
  break;
3163
3141
  return this.error(b.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3164
- } else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
3142
+ } else if (o === 60 && !this.ignoreTag && We(this.peek() || 0)) {
3165
3143
  var s = this.parseTag(t, r);
3166
3144
  if (s.err)
3167
3145
  return s;
@@ -3194,7 +3172,7 @@ var oi = (
3194
3172
  return o;
3195
3173
  var s = o.val, a = this.clonePosition();
3196
3174
  if (this.bumpIf("</")) {
3197
- if (this.isEOF() || !ze(this.char()))
3175
+ if (this.isEOF() || !We(this.char()))
3198
3176
  return this.error(b.INVALID_TAG, g(a, this.clonePosition()));
3199
3177
  var h = this.clonePosition(), u = this.parseTagName();
3200
3178
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3212,7 +3190,7 @@ var oi = (
3212
3190
  return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
3213
3191
  }, e.prototype.parseTagName = function() {
3214
3192
  var t = this.offset();
3215
- for (this.bump(); !this.isEOF() && ai(this.char()); )
3193
+ for (this.bump(); !this.isEOF() && ni(this.char()); )
3216
3194
  this.bump();
3217
3195
  return this.message.slice(t, this.offset());
3218
3196
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3241,7 +3219,7 @@ var oi = (
3241
3219
  };
3242
3220
  }, e.prototype.tryParseLeftAngleBracket = function() {
3243
3221
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3244
- !si(this.peek() || 0)) ? (this.bump(), "<") : null;
3222
+ !ri(this.peek() || 0)) ? (this.bump(), "<") : null;
3245
3223
  }, e.prototype.tryParseQuote = function(t) {
3246
3224
  if (this.isEOF() || this.char() !== 39)
3247
3225
  return null;
@@ -3275,12 +3253,12 @@ var oi = (
3275
3253
  r.push(n);
3276
3254
  this.bump();
3277
3255
  }
3278
- return Xe.apply(void 0, r);
3256
+ return Ve.apply(void 0, r);
3279
3257
  }, e.prototype.tryParseUnquoted = function(t, r) {
3280
3258
  if (this.isEOF())
3281
3259
  return null;
3282
3260
  var n = this.char();
3283
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Xe(n));
3261
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3284
3262
  }, e.prototype.parseArgument = function(t, r) {
3285
3263
  var n = this.clonePosition();
3286
3264
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3309,7 +3287,7 @@ var oi = (
3309
3287
  return this.error(b.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3310
3288
  }
3311
3289
  }, e.prototype.parseIdentifierIfPossible = function() {
3312
- var t = this.clonePosition(), r = this.offset(), n = We(this.message, r), i = r + n.length;
3290
+ var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3313
3291
  this.bumpTo(i);
3314
3292
  var o = this.clonePosition(), s = g(t, o);
3315
3293
  return { value: n, location: s };
@@ -3328,37 +3306,37 @@ var oi = (
3328
3306
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3329
3307
  if (c.err)
3330
3308
  return c;
3331
- var f = ii(c.val);
3309
+ var f = ei(c.val);
3332
3310
  if (f.length === 0)
3333
3311
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3334
- var d = g(l, this.clonePosition());
3335
- u = { style: f, styleLocation: d };
3312
+ var m = g(l, this.clonePosition());
3313
+ u = { style: f, styleLocation: m };
3336
3314
  }
3337
3315
  var v = this.tryParseArgumentClose(i);
3338
3316
  if (v.err)
3339
3317
  return v;
3340
- var m = g(i, this.clonePosition());
3341
- if (u && Tt(u == null ? void 0 : u.style, "::", 0)) {
3342
- var E = ni(u.style.slice(2));
3318
+ var d = g(i, this.clonePosition());
3319
+ if (u && xt(u == null ? void 0 : u.style, "::", 0)) {
3320
+ var E = Kn(u.style.slice(2));
3343
3321
  if (a === "number") {
3344
3322
  var c = this.parseNumberSkeletonFromString(E, u.styleLocation);
3345
3323
  return c.err ? c : {
3346
- val: { type: _.number, value: n, location: m, style: c.val },
3324
+ val: { type: _.number, value: n, location: d, style: c.val },
3347
3325
  err: null
3348
3326
  };
3349
3327
  } else {
3350
3328
  if (E.length === 0)
3351
- return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3352
- var U = E;
3353
- this.locale && (U = Vn(E, this.locale));
3329
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3330
+ var $ = E;
3331
+ this.locale && ($ = Gn(E, this.locale));
3354
3332
  var f = {
3355
3333
  type: Z.dateTime,
3356
- pattern: U,
3334
+ pattern: $,
3357
3335
  location: u.styleLocation,
3358
- parsedOptions: this.shouldParseSkeletons ? Dn(U) : {}
3336
+ parsedOptions: this.shouldParseSkeletons ? Mn($) : {}
3359
3337
  }, O = a === "date" ? _.date : _.time;
3360
3338
  return {
3361
- val: { type: O, value: n, location: m, style: f },
3339
+ val: { type: O, value: n, location: d, style: f },
3362
3340
  err: null
3363
3341
  };
3364
3342
  }
@@ -3367,7 +3345,7 @@ var oi = (
3367
3345
  val: {
3368
3346
  type: a === "number" ? _.number : a === "date" ? _.date : _.time,
3369
3347
  value: n,
3370
- location: m,
3348
+ location: d,
3371
3349
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3372
3350
  },
3373
3351
  err: null
@@ -3380,39 +3358,39 @@ var oi = (
3380
3358
  if (this.bumpSpace(), !this.bumpIf(","))
3381
3359
  return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(T, y({}, T)));
3382
3360
  this.bumpSpace();
3383
- var L = this.parseIdentifierIfPossible(), P = 0;
3384
- if (a !== "select" && L.value === "offset") {
3361
+ var N = this.parseIdentifierIfPossible(), A = 0;
3362
+ if (a !== "select" && N.value === "offset") {
3385
3363
  if (!this.bumpIf(":"))
3386
3364
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3387
3365
  this.bumpSpace();
3388
3366
  var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3389
3367
  if (c.err)
3390
3368
  return c;
3391
- this.bumpSpace(), L = this.parseIdentifierIfPossible(), P = c.val;
3369
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), A = c.val;
3392
3370
  }
3393
- var N = this.tryParsePluralOrSelectOptions(t, a, r, L);
3394
- if (N.err)
3395
- return N;
3371
+ var U = this.tryParsePluralOrSelectOptions(t, a, r, N);
3372
+ if (U.err)
3373
+ return U;
3396
3374
  var v = this.tryParseArgumentClose(i);
3397
3375
  if (v.err)
3398
3376
  return v;
3399
- var te = g(i, this.clonePosition());
3377
+ var le = g(i, this.clonePosition());
3400
3378
  return a === "select" ? {
3401
3379
  val: {
3402
3380
  type: _.select,
3403
3381
  value: n,
3404
- options: Ht(N.val),
3405
- location: te
3382
+ options: wt(U.val),
3383
+ location: le
3406
3384
  },
3407
3385
  err: null
3408
3386
  } : {
3409
3387
  val: {
3410
3388
  type: _.plural,
3411
3389
  value: n,
3412
- options: Ht(N.val),
3413
- offset: P,
3390
+ options: wt(U.val),
3391
+ offset: A,
3414
3392
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3415
- location: te
3393
+ location: le
3416
3394
  },
3417
3395
  err: null
3418
3396
  };
@@ -3460,7 +3438,7 @@ var oi = (
3460
3438
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3461
3439
  var n = [];
3462
3440
  try {
3463
- n = Un(t);
3441
+ n = Ln(t);
3464
3442
  } catch (i) {
3465
3443
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3466
3444
  }
@@ -3469,7 +3447,7 @@ var oi = (
3469
3447
  type: Z.number,
3470
3448
  tokens: n,
3471
3449
  location: r,
3472
- parsedOptions: this.shouldParseSkeletons ? kn(n) : {}
3450
+ parsedOptions: this.shouldParseSkeletons ? Un(n) : {}
3473
3451
  },
3474
3452
  err: null
3475
3453
  };
@@ -3488,20 +3466,20 @@ var oi = (
3488
3466
  if (h.has(u))
3489
3467
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3490
3468
  u === "other" && (s = !0), this.bumpSpace();
3491
- var d = this.clonePosition();
3469
+ var m = this.clonePosition();
3492
3470
  if (!this.bumpIf("{"))
3493
3471
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3494
3472
  var v = this.parseMessage(t + 1, r, n);
3495
3473
  if (v.err)
3496
3474
  return v;
3497
- var m = this.tryParseArgumentClose(d);
3498
- if (m.err)
3499
- return m;
3475
+ var d = this.tryParseArgumentClose(m);
3476
+ if (d.err)
3477
+ return d;
3500
3478
  a.push([
3501
3479
  u,
3502
3480
  {
3503
3481
  value: v.val,
3504
- location: g(d, this.clonePosition())
3482
+ location: g(m, this.clonePosition())
3505
3483
  }
3506
3484
  ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3507
3485
  }
@@ -3517,7 +3495,7 @@ var oi = (
3517
3495
  break;
3518
3496
  }
3519
3497
  var h = g(i, this.clonePosition());
3520
- return o ? (s *= n, ti(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3498
+ return o ? (s *= n, qn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3521
3499
  }, e.prototype.offset = function() {
3522
3500
  return this.position.offset;
3523
3501
  }, e.prototype.isEOF = function() {
@@ -3532,7 +3510,7 @@ var oi = (
3532
3510
  var t = this.position.offset;
3533
3511
  if (t >= this.message.length)
3534
3512
  throw Error("out of bound");
3535
- var r = sr(this.message, t);
3513
+ var r = rr(this.message, t);
3536
3514
  if (r === void 0)
3537
3515
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3538
3516
  return r;
@@ -3551,7 +3529,7 @@ var oi = (
3551
3529
  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);
3552
3530
  }
3553
3531
  }, e.prototype.bumpIf = function(t) {
3554
- if (Tt(this.message, t, this.offset())) {
3532
+ if (xt(this.message, t, this.offset())) {
3555
3533
  for (var r = 0; r < t.length; r++)
3556
3534
  this.bump();
3557
3535
  return !0;
@@ -3573,7 +3551,7 @@ var oi = (
3573
3551
  break;
3574
3552
  }
3575
3553
  }, e.prototype.bumpSpace = function() {
3576
- for (; !this.isEOF() && ur(this.char()); )
3554
+ for (; !this.isEOF() && ir(this.char()); )
3577
3555
  this.bump();
3578
3556
  }, e.prototype.peek = function() {
3579
3557
  if (this.isEOF())
@@ -3583,38 +3561,38 @@ var oi = (
3583
3561
  }, e;
3584
3562
  }()
3585
3563
  );
3586
- function ze(e) {
3564
+ function We(e) {
3587
3565
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3588
3566
  }
3589
- function si(e) {
3590
- return ze(e) || e === 47;
3567
+ function ri(e) {
3568
+ return We(e) || e === 47;
3591
3569
  }
3592
- function ai(e) {
3570
+ function ni(e) {
3593
3571
  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;
3594
3572
  }
3595
- function ur(e) {
3573
+ function ir(e) {
3596
3574
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3597
3575
  }
3598
- function ui(e) {
3576
+ function ii(e) {
3599
3577
  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;
3600
3578
  }
3601
- function Ze(e) {
3579
+ function ze(e) {
3602
3580
  e.forEach(function(t) {
3603
- if (delete t.location, Jt(t) || Kt(t))
3581
+ if (delete t.location, Zt(t) || Qt(t))
3604
3582
  for (var r in t.options)
3605
- delete t.options[r].location, Ze(t.options[r].value);
3583
+ delete t.options[r].location, ze(t.options[r].value);
3606
3584
  else
3607
- Qt(t) && tr(t.style) || (Yt(t) || qt(t)) && ke(t.style) ? delete t.style.location : er(t) && Ze(t.children);
3585
+ Xt(t) && qt(t.style) || (Wt(t) || zt(t)) && je(t.style) ? delete t.style.location : Yt(t) && ze(t.children);
3608
3586
  });
3609
3587
  }
3610
- function hi(e, t) {
3588
+ function oi(e, t) {
3611
3589
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3612
- var r = new oi(e, t).parse();
3590
+ var r = new ti(e, t).parse();
3613
3591
  if (r.err) {
3614
3592
  var n = SyntaxError(b[r.err.kind]);
3615
3593
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3616
3594
  }
3617
- return t != null && t.captureLocation || Ze(r.val), r.val;
3595
+ return t != null && t.captureLocation || ze(r.val), r.val;
3618
3596
  }
3619
3597
  var Q;
3620
3598
  (function(e) {
@@ -3632,7 +3610,7 @@ var xe = (
3632
3610
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3633
3611
  }, t;
3634
3612
  }(Error)
3635
- ), At = (
3613
+ ), Tt = (
3636
3614
  /** @class */
3637
3615
  function(e) {
3638
3616
  M(t, e);
@@ -3641,7 +3619,7 @@ var xe = (
3641
3619
  }
3642
3620
  return t;
3643
3621
  }(xe)
3644
- ), li = (
3622
+ ), si = (
3645
3623
  /** @class */
3646
3624
  function(e) {
3647
3625
  M(t, e);
@@ -3650,7 +3628,7 @@ var xe = (
3650
3628
  }
3651
3629
  return t;
3652
3630
  }(xe)
3653
- ), ci = (
3631
+ ), ai = (
3654
3632
  /** @class */
3655
3633
  function(e) {
3656
3634
  M(t, e);
@@ -3663,17 +3641,17 @@ var xe = (
3663
3641
  (function(e) {
3664
3642
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3665
3643
  })(S || (S = {}));
3666
- function fi(e) {
3644
+ function ui(e) {
3667
3645
  return e.length < 2 ? e : e.reduce(function(t, r) {
3668
3646
  var n = t[t.length - 1];
3669
3647
  return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3670
3648
  }, []);
3671
3649
  }
3672
- function pi(e) {
3650
+ function hi(e) {
3673
3651
  return typeof e == "function";
3674
3652
  }
3675
3653
  function be(e, t, r, n, i, o, s) {
3676
- if (e.length === 1 && Et(e[0]))
3654
+ if (e.length === 1 && yt(e[0]))
3677
3655
  return [
3678
3656
  {
3679
3657
  type: S.literal,
@@ -3682,14 +3660,14 @@ function be(e, t, r, n, i, o, s) {
3682
3660
  ];
3683
3661
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3684
3662
  var l = u[h];
3685
- if (Et(l)) {
3663
+ if (yt(l)) {
3686
3664
  a.push({
3687
3665
  type: S.literal,
3688
3666
  value: l.value
3689
3667
  });
3690
3668
  continue;
3691
3669
  }
3692
- if (Nn(l)) {
3670
+ if (In(l)) {
3693
3671
  typeof o == "number" && a.push({
3694
3672
  type: S.literal,
3695
3673
  value: r.getNumberFormat(t).format(o)
@@ -3698,89 +3676,89 @@ function be(e, t, r, n, i, o, s) {
3698
3676
  }
3699
3677
  var c = l.value;
3700
3678
  if (!(i && c in i))
3701
- throw new ci(c, s);
3679
+ throw new ai(c, s);
3702
3680
  var f = i[c];
3703
- if (Ln(l)) {
3681
+ if (On(l)) {
3704
3682
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3705
3683
  type: typeof f == "string" ? S.literal : S.object,
3706
3684
  value: f
3707
3685
  });
3708
3686
  continue;
3709
3687
  }
3710
- if (Yt(l)) {
3711
- var d = typeof l.style == "string" ? n.date[l.style] : ke(l.style) ? l.style.parsedOptions : void 0;
3688
+ if (Wt(l)) {
3689
+ var m = typeof l.style == "string" ? n.date[l.style] : je(l.style) ? l.style.parsedOptions : void 0;
3712
3690
  a.push({
3713
3691
  type: S.literal,
3714
- value: r.getDateTimeFormat(t, d).format(f)
3692
+ value: r.getDateTimeFormat(t, m).format(f)
3715
3693
  });
3716
3694
  continue;
3717
3695
  }
3718
- if (qt(l)) {
3719
- var d = typeof l.style == "string" ? n.time[l.style] : ke(l.style) ? l.style.parsedOptions : n.time.medium;
3696
+ if (zt(l)) {
3697
+ var m = typeof l.style == "string" ? n.time[l.style] : je(l.style) ? l.style.parsedOptions : n.time.medium;
3720
3698
  a.push({
3721
3699
  type: S.literal,
3722
- value: r.getDateTimeFormat(t, d).format(f)
3700
+ value: r.getDateTimeFormat(t, m).format(f)
3723
3701
  });
3724
3702
  continue;
3725
3703
  }
3726
- if (Qt(l)) {
3727
- var d = typeof l.style == "string" ? n.number[l.style] : tr(l.style) ? l.style.parsedOptions : void 0;
3728
- d && d.scale && (f = f * (d.scale || 1)), a.push({
3704
+ if (Xt(l)) {
3705
+ var m = typeof l.style == "string" ? n.number[l.style] : qt(l.style) ? l.style.parsedOptions : void 0;
3706
+ m && m.scale && (f = f * (m.scale || 1)), a.push({
3729
3707
  type: S.literal,
3730
- value: r.getNumberFormat(t, d).format(f)
3708
+ value: r.getNumberFormat(t, m).format(f)
3731
3709
  });
3732
3710
  continue;
3733
3711
  }
3734
- if (er(l)) {
3735
- var v = l.children, m = l.value, E = i[m];
3736
- if (!pi(E))
3737
- throw new li(m, "function", s);
3738
- var U = be(v, t, r, n, i, o), O = E(U.map(function(P) {
3739
- return P.value;
3712
+ if (Yt(l)) {
3713
+ var v = l.children, d = l.value, E = i[d];
3714
+ if (!hi(E))
3715
+ throw new si(d, "function", s);
3716
+ var $ = be(v, t, r, n, i, o), O = E($.map(function(A) {
3717
+ return A.value;
3740
3718
  }));
3741
- Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(P) {
3719
+ Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(A) {
3742
3720
  return {
3743
- type: typeof P == "string" ? S.literal : S.object,
3744
- value: P
3721
+ type: typeof A == "string" ? S.literal : S.object,
3722
+ value: A
3745
3723
  };
3746
3724
  }));
3747
3725
  }
3748
- if (Jt(l)) {
3726
+ if (Zt(l)) {
3749
3727
  var T = l.options[f] || l.options.other;
3750
3728
  if (!T)
3751
- throw new At(l.value, f, Object.keys(l.options), s);
3729
+ throw new Tt(l.value, f, Object.keys(l.options), s);
3752
3730
  a.push.apply(a, be(T.value, t, r, n, i));
3753
3731
  continue;
3754
3732
  }
3755
- if (Kt(l)) {
3733
+ if (Qt(l)) {
3756
3734
  var T = l.options["=".concat(f)];
3757
3735
  if (!T) {
3758
3736
  if (!Intl.PluralRules)
3759
3737
  throw new xe(`Intl.PluralRules is not available in this environment.
3760
3738
  Try polyfilling it using "@formatjs/intl-pluralrules"
3761
3739
  `, Q.MISSING_INTL_API, s);
3762
- var L = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3763
- T = l.options[L] || l.options.other;
3740
+ var N = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3741
+ T = l.options[N] || l.options.other;
3764
3742
  }
3765
3743
  if (!T)
3766
- throw new At(l.value, f, Object.keys(l.options), s);
3744
+ throw new Tt(l.value, f, Object.keys(l.options), s);
3767
3745
  a.push.apply(a, be(T.value, t, r, n, i, f - (l.offset || 0)));
3768
3746
  continue;
3769
3747
  }
3770
3748
  }
3771
- return fi(a);
3749
+ return ui(a);
3772
3750
  }
3773
- function di(e, t) {
3751
+ function li(e, t) {
3774
3752
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3775
3753
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3776
3754
  }, {})) : e;
3777
3755
  }
3778
- function mi(e, t) {
3756
+ function ci(e, t) {
3779
3757
  return t ? Object.keys(e).reduce(function(r, n) {
3780
- return r[n] = di(e[n], t[n]), r;
3758
+ return r[n] = li(e[n], t[n]), r;
3781
3759
  }, y({}, e)) : e;
3782
3760
  }
3783
- function Ce(e) {
3761
+ function Ie(e) {
3784
3762
  return {
3785
3763
  create: function() {
3786
3764
  return {
@@ -3794,39 +3772,39 @@ function Ce(e) {
3794
3772
  }
3795
3773
  };
3796
3774
  }
3797
- function bi(e) {
3775
+ function fi(e) {
3798
3776
  return e === void 0 && (e = {
3799
3777
  number: {},
3800
3778
  dateTime: {},
3801
3779
  pluralRules: {}
3802
3780
  }), {
3803
- getNumberFormat: Pe(function() {
3781
+ getNumberFormat: Ae(function() {
3804
3782
  for (var t, r = [], n = 0; n < arguments.length; n++)
3805
3783
  r[n] = arguments[n];
3806
3784
  return new ((t = Intl.NumberFormat).bind.apply(t, W([void 0], r, !1)))();
3807
3785
  }, {
3808
- cache: Ce(e.number),
3809
- strategy: Oe.variadic
3786
+ cache: Ie(e.number),
3787
+ strategy: Pe.variadic
3810
3788
  }),
3811
- getDateTimeFormat: Pe(function() {
3789
+ getDateTimeFormat: Ae(function() {
3812
3790
  for (var t, r = [], n = 0; n < arguments.length; n++)
3813
3791
  r[n] = arguments[n];
3814
3792
  return new ((t = Intl.DateTimeFormat).bind.apply(t, W([void 0], r, !1)))();
3815
3793
  }, {
3816
- cache: Ce(e.dateTime),
3817
- strategy: Oe.variadic
3794
+ cache: Ie(e.dateTime),
3795
+ strategy: Pe.variadic
3818
3796
  }),
3819
- getPluralRules: Pe(function() {
3797
+ getPluralRules: Ae(function() {
3820
3798
  for (var t, r = [], n = 0; n < arguments.length; n++)
3821
3799
  r[n] = arguments[n];
3822
3800
  return new ((t = Intl.PluralRules).bind.apply(t, W([void 0], r, !1)))();
3823
3801
  }, {
3824
- cache: Ce(e.pluralRules),
3825
- strategy: Oe.variadic
3802
+ cache: Ie(e.pluralRules),
3803
+ strategy: Pe.variadic
3826
3804
  })
3827
3805
  };
3828
3806
  }
3829
- var gi = (
3807
+ var pi = (
3830
3808
  /** @class */
3831
3809
  function() {
3832
3810
  function e(t, r, n, i) {
@@ -3858,13 +3836,13 @@ var gi = (
3858
3836
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3859
3837
  var s = i || {};
3860
3838
  s.formatters;
3861
- var a = Qr(s, ["formatters"]);
3839
+ var a = Vr(s, ["formatters"]);
3862
3840
  this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3863
3841
  } else
3864
3842
  this.ast = t;
3865
3843
  if (!Array.isArray(this.ast))
3866
3844
  throw new TypeError("A message must be provided as a String or AST.");
3867
- this.formats = mi(e.formats, n), this.formatters = i && i.formatters || bi(this.formatterCache);
3845
+ this.formats = ci(e.formats, n), this.formatters = i && i.formatters || fi(this.formatterCache);
3868
3846
  }
3869
3847
  return Object.defineProperty(e, "defaultLocale", {
3870
3848
  get: function() {
@@ -3877,7 +3855,7 @@ var gi = (
3877
3855
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3878
3856
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3879
3857
  }
3880
- }, e.__parse = hi, e.formats = {
3858
+ }, e.__parse = oi, e.formats = {
3881
3859
  number: {
3882
3860
  integer: {
3883
3861
  maximumFractionDigits: 0
@@ -3938,7 +3916,7 @@ var gi = (
3938
3916
  }, e;
3939
3917
  }()
3940
3918
  );
3941
- function yi(e, t) {
3919
+ function mi(e, t) {
3942
3920
  if (t == null)
3943
3921
  return;
3944
3922
  if (t in e)
@@ -3959,92 +3937,92 @@ function yi(e, t) {
3959
3937
  n = void 0;
3960
3938
  return n;
3961
3939
  }
3962
- const $ = {}, vi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), hr = (e, t) => {
3940
+ const D = {}, di = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), or = (e, t) => {
3963
3941
  if (t == null)
3964
3942
  return;
3965
- if (t in $ && e in $[t])
3966
- return $[t][e];
3943
+ if (t in D && e in D[t])
3944
+ return D[t][e];
3967
3945
  const r = we(t);
3968
3946
  for (let n = 0; n < r.length; n++) {
3969
- const i = r[n], o = Ei(i, e);
3947
+ const i = r[n], o = gi(i, e);
3970
3948
  if (o)
3971
- return vi(e, t, o);
3949
+ return di(e, t, o);
3972
3950
  }
3973
3951
  };
3974
- let tt;
3975
- const le = Ee({});
3976
- function _i(e) {
3977
- return tt[e] || null;
3952
+ let Je;
3953
+ const he = Ee({});
3954
+ function bi(e) {
3955
+ return Je[e] || null;
3978
3956
  }
3979
- function lr(e) {
3980
- return e in tt;
3957
+ function sr(e) {
3958
+ return e in Je;
3981
3959
  }
3982
- function Ei(e, t) {
3983
- if (!lr(e))
3960
+ function gi(e, t) {
3961
+ if (!sr(e))
3984
3962
  return null;
3985
- const r = _i(e);
3986
- return yi(r, t);
3963
+ const r = bi(e);
3964
+ return mi(r, t);
3987
3965
  }
3988
- function xi(e) {
3966
+ function yi(e) {
3989
3967
  if (e == null)
3990
3968
  return;
3991
3969
  const t = we(e);
3992
3970
  for (let r = 0; r < t.length; r++) {
3993
3971
  const n = t[r];
3994
- if (lr(n))
3972
+ if (sr(n))
3995
3973
  return n;
3996
3974
  }
3997
3975
  }
3998
- function cr(e, ...t) {
3999
- delete $[e], le.update((r) => (r[e] = Bn.all([r[e] || {}, ...t]), r));
3976
+ function ar(e, ...t) {
3977
+ delete D[e], he.update((r) => (r[e] = xn.all([r[e] || {}, ...t]), r));
4000
3978
  }
4001
3979
  J(
4002
- [le],
3980
+ [he],
4003
3981
  ([e]) => Object.keys(e)
4004
3982
  );
4005
- le.subscribe((e) => tt = e);
3983
+ he.subscribe((e) => Je = e);
4006
3984
  const ge = {};
4007
- function wi(e, t) {
3985
+ function vi(e, t) {
4008
3986
  ge[e].delete(t), ge[e].size === 0 && delete ge[e];
4009
3987
  }
4010
- function fr(e) {
3988
+ function ur(e) {
4011
3989
  return ge[e];
4012
3990
  }
4013
- function Si(e) {
3991
+ function _i(e) {
4014
3992
  return we(e).map((t) => {
4015
- const r = fr(t);
3993
+ const r = ur(t);
4016
3994
  return [t, r ? [...r] : []];
4017
3995
  }).filter(([, t]) => t.length > 0);
4018
3996
  }
4019
- function Qe(e) {
3997
+ function Ze(e) {
4020
3998
  return e == null ? !1 : we(e).some(
4021
3999
  (t) => {
4022
4000
  var r;
4023
- return (r = fr(t)) == null ? void 0 : r.size;
4001
+ return (r = ur(t)) == null ? void 0 : r.size;
4024
4002
  }
4025
4003
  );
4026
4004
  }
4027
- function Ti(e, t) {
4005
+ function Ei(e, t) {
4028
4006
  return Promise.all(
4029
- t.map((n) => (wi(e, n), n().then((i) => i.default || i)))
4030
- ).then((n) => cr(e, ...n));
4031
- }
4032
- const re = {};
4033
- function pr(e) {
4034
- if (!Qe(e))
4035
- return e in re ? re[e] : Promise.resolve();
4036
- const t = Si(e);
4037
- return re[e] = Promise.all(
4007
+ t.map((n) => (vi(e, n), n().then((i) => i.default || i)))
4008
+ ).then((n) => ar(e, ...n));
4009
+ }
4010
+ const te = {};
4011
+ function hr(e) {
4012
+ if (!Ze(e))
4013
+ return e in te ? te[e] : Promise.resolve();
4014
+ const t = _i(e);
4015
+ return te[e] = Promise.all(
4038
4016
  t.map(
4039
- ([r, n]) => Ti(r, n)
4017
+ ([r, n]) => Ei(r, n)
4040
4018
  )
4041
4019
  ).then(() => {
4042
- if (Qe(e))
4043
- return pr(e);
4044
- delete re[e];
4045
- }), re[e];
4020
+ if (Ze(e))
4021
+ return hr(e);
4022
+ delete te[e];
4023
+ }), te[e];
4046
4024
  }
4047
- const Hi = {
4025
+ const xi = {
4048
4026
  number: {
4049
4027
  scientific: { notation: "scientific" },
4050
4028
  engineering: { notation: "engineering" },
@@ -4073,57 +4051,57 @@ const Hi = {
4073
4051
  timeZoneName: "short"
4074
4052
  }
4075
4053
  }
4076
- }, Bi = {
4054
+ }, wi = {
4077
4055
  fallbackLocale: null,
4078
4056
  loadingDelay: 200,
4079
- formats: Hi,
4057
+ formats: xi,
4080
4058
  warnOnMissingMessages: !0,
4081
4059
  handleMissingMessage: void 0,
4082
4060
  ignoreTag: !0
4083
- }, Ai = Bi;
4061
+ }, Si = wi;
4084
4062
  function Y() {
4085
- return Ai;
4063
+ return Si;
4086
4064
  }
4087
- const Me = Ee(!1);
4088
- var Pi = Object.defineProperty, Oi = Object.defineProperties, Ii = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, Ci = Object.prototype.hasOwnProperty, Mi = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? Pi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Li = (e, t) => {
4065
+ const Ce = Ee(!1);
4066
+ var Ti = Object.defineProperty, Hi = Object.defineProperties, Bi = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Ai = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oi = (e, t) => {
4089
4067
  for (var r in t || (t = {}))
4090
- Ci.call(t, r) && Ot(e, r, t[r]);
4091
- if (Pt)
4092
- for (var r of Pt(t))
4093
- Mi.call(t, r) && Ot(e, r, t[r]);
4068
+ Ai.call(t, r) && Bt(e, r, t[r]);
4069
+ if (Ht)
4070
+ for (var r of Ht(t))
4071
+ Pi.call(t, r) && Bt(e, r, t[r]);
4094
4072
  return e;
4095
- }, Ni = (e, t) => Oi(e, Ii(t));
4096
- let Ye;
4073
+ }, Ii = (e, t) => Hi(e, Bi(t));
4074
+ let Qe;
4097
4075
  const ye = Ee(null);
4098
- function It(e) {
4076
+ function At(e) {
4099
4077
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4100
4078
  }
4101
4079
  function we(e, t = Y().fallbackLocale) {
4102
- const r = It(e);
4103
- return t ? [.../* @__PURE__ */ new Set([...r, ...It(t)])] : r;
4080
+ const r = At(e);
4081
+ return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
4104
4082
  }
4105
4083
  function G() {
4106
- return Ye != null ? Ye : void 0;
4084
+ return Qe != null ? Qe : void 0;
4107
4085
  }
4108
4086
  ye.subscribe((e) => {
4109
- Ye = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4087
+ Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4110
4088
  });
4111
- const Ri = (e) => {
4112
- if (e && xi(e) && Qe(e)) {
4089
+ const Ci = (e) => {
4090
+ if (e && yi(e) && Ze(e)) {
4113
4091
  const { loadingDelay: t } = Y();
4114
4092
  let r;
4115
4093
  return typeof window != "undefined" && G() != null && t ? r = window.setTimeout(
4116
- () => Me.set(!0),
4094
+ () => Ce.set(!0),
4117
4095
  t
4118
- ) : Me.set(!0), pr(e).then(() => {
4096
+ ) : Ce.set(!0), hr(e).then(() => {
4119
4097
  ye.set(e);
4120
4098
  }).finally(() => {
4121
- clearTimeout(r), Me.set(!1);
4099
+ clearTimeout(r), Ce.set(!1);
4122
4100
  });
4123
4101
  }
4124
4102
  return ye.set(e);
4125
- }, K = Ni(Li({}, ye), {
4126
- set: Ri
4103
+ }, K = Ii(Oi({}, ye), {
4104
+ set: Ci
4127
4105
  }), Se = (e) => {
4128
4106
  const t = /* @__PURE__ */ Object.create(null);
4129
4107
  return (n) => {
@@ -4131,77 +4109,77 @@ const Ri = (e) => {
4131
4109
  return i in t ? t[i] : t[i] = e(n);
4132
4110
  };
4133
4111
  };
4134
- var Di = Object.defineProperty, ve = Object.getOwnPropertySymbols, dr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Di(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, rt = (e, t) => {
4112
+ var Mi = Object.defineProperty, ve = Object.getOwnPropertySymbols, lr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4135
4113
  for (var r in t || (t = {}))
4136
- dr.call(t, r) && Ct(e, r, t[r]);
4114
+ lr.call(t, r) && Pt(e, r, t[r]);
4137
4115
  if (ve)
4138
4116
  for (var r of ve(t))
4139
- mr.call(t, r) && Ct(e, r, t[r]);
4117
+ cr.call(t, r) && Pt(e, r, t[r]);
4140
4118
  return e;
4141
4119
  }, ee = (e, t) => {
4142
4120
  var r = {};
4143
4121
  for (var n in e)
4144
- dr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4122
+ lr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4145
4123
  if (e != null && ve)
4146
4124
  for (var n of ve(e))
4147
- t.indexOf(n) < 0 && mr.call(e, n) && (r[n] = e[n]);
4125
+ t.indexOf(n) < 0 && cr.call(e, n) && (r[n] = e[n]);
4148
4126
  return r;
4149
4127
  };
4150
- const ae = (e, t) => {
4128
+ const se = (e, t) => {
4151
4129
  const { formats: r } = Y();
4152
4130
  if (e in r && t in r[e])
4153
4131
  return r[e][t];
4154
4132
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4155
- }, $i = Se(
4133
+ }, Ni = Se(
4156
4134
  (e) => {
4157
4135
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4158
4136
  if (r == null)
4159
4137
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4160
- return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4138
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4161
4139
  }
4162
- ), Ui = Se(
4140
+ ), Li = Se(
4163
4141
  (e) => {
4164
4142
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4165
4143
  if (r == null)
4166
4144
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4167
- return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4145
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4168
4146
  }
4169
- ), Gi = Se(
4147
+ ), Ri = Se(
4170
4148
  (e) => {
4171
4149
  var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4172
4150
  if (r == null)
4173
4151
  throw new Error(
4174
4152
  '[svelte-i18n] A "locale" must be set to format time values'
4175
4153
  );
4176
- return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4154
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4177
4155
  }
4178
- ), Fi = (e = {}) => {
4156
+ ), Di = (e = {}) => {
4179
4157
  var t = e, {
4180
4158
  locale: r = G()
4181
4159
  } = t, n = ee(t, [
4182
4160
  "locale"
4183
4161
  ]);
4184
- return $i(rt({ locale: r }, n));
4185
- }, ji = (e = {}) => {
4162
+ return Ni(Ke({ locale: r }, n));
4163
+ }, $i = (e = {}) => {
4186
4164
  var t = e, {
4187
4165
  locale: r = G()
4188
4166
  } = t, n = ee(t, [
4189
4167
  "locale"
4190
4168
  ]);
4191
- return Ui(rt({ locale: r }, n));
4192
- }, ki = (e = {}) => {
4169
+ return Li(Ke({ locale: r }, n));
4170
+ }, Ui = (e = {}) => {
4193
4171
  var t = e, {
4194
4172
  locale: r = G()
4195
4173
  } = t, n = ee(t, [
4196
4174
  "locale"
4197
4175
  ]);
4198
- return Gi(rt({ locale: r }, n));
4199
- }, Vi = Se(
4176
+ return Ri(Ke({ locale: r }, n));
4177
+ }, Gi = Se(
4200
4178
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4201
- (e, t = G()) => new gi(e, t, Y().formats, {
4179
+ (e, t = G()) => new pi(e, t, Y().formats, {
4202
4180
  ignoreTag: Y().ignoreTag
4203
4181
  })
4204
- ), Xi = (e, t = {}) => {
4182
+ ), Fi = (e, t = {}) => {
4205
4183
  var r, n, i, o;
4206
4184
  let s = t;
4207
4185
  typeof e == "object" && (s = e, e = s.id);
@@ -4214,7 +4192,7 @@ const ae = (e, t) => {
4214
4192
  throw new Error(
4215
4193
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4216
4194
  );
4217
- let l = hr(e, h);
4195
+ let l = or(e, h);
4218
4196
  if (!l)
4219
4197
  l = (o = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4220
4198
  else if (typeof l != "string")
@@ -4225,7 +4203,7 @@ const ae = (e, t) => {
4225
4203
  return l;
4226
4204
  let c = l;
4227
4205
  try {
4228
- c = Vi(l, h).format(a);
4206
+ c = Gi(l, h).format(a);
4229
4207
  } catch (f) {
4230
4208
  f instanceof Error && console.warn(
4231
4209
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4233,20 +4211,20 @@ const ae = (e, t) => {
4233
4211
  );
4234
4212
  }
4235
4213
  return c;
4236
- }, Wi = (e, t) => ki(t).format(e), zi = (e, t) => ji(t).format(e), Zi = (e, t) => Fi(t).format(e), Qi = (e, t = G()) => hr(e, t), Yi = J([K, le], () => Xi);
4237
- J([K], () => Wi);
4238
- J([K], () => zi);
4239
- J([K], () => Zi);
4240
- J([K, le], () => Qi);
4241
- window.emWidgets = { topic: ln };
4242
- const qi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4243
- function Ji(e, t) {
4214
+ }, ji = (e, t) => Ui(t).format(e), ki = (e, t) => $i(t).format(e), Vi = (e, t) => Di(t).format(e), Xi = (e, t = G()) => or(e, t), Wi = J([K, he], () => Fi);
4215
+ J([K], () => ji);
4216
+ J([K], () => ki);
4217
+ J([K], () => Vi);
4218
+ J([K, he], () => Xi);
4219
+ window.emWidgets = { topic: on };
4220
+ const zi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4221
+ function Zi(e, t) {
4244
4222
  if (e) {
4245
4223
  const r = document.createElement("style");
4246
4224
  r.innerHTML = t, e.appendChild(r);
4247
4225
  }
4248
4226
  }
4249
- function Ki(e, t) {
4227
+ function Qi(e, t) {
4250
4228
  const r = new URL(t);
4251
4229
  fetch(r.href).then((n) => n.text()).then((n) => {
4252
4230
  const i = document.createElement("style");
@@ -4255,7 +4233,7 @@ function Ki(e, t) {
4255
4233
  console.error("There was an error while trying to load client styling from URL", n);
4256
4234
  });
4257
4235
  }
4258
- function eo(e, t, r) {
4236
+ function Yi(e, t, r) {
4259
4237
  if (window.emMessageBus) {
4260
4238
  const n = document.createElement("style");
4261
4239
  window.emMessageBus.subscribe(t, (i) => {
@@ -4263,13 +4241,13 @@ function eo(e, t, r) {
4263
4241
  });
4264
4242
  }
4265
4243
  }
4266
- function Mt(e, t) {
4267
- cr(e, t);
4244
+ function Ot(e, t) {
4245
+ ar(e, t);
4268
4246
  }
4269
- function to(e) {
4247
+ function qi(e) {
4270
4248
  K.set(e);
4271
4249
  }
4272
- const Lt = {
4250
+ const It = {
4273
4251
  en: {
4274
4252
  titleDeposit: "Deposit",
4275
4253
  loading: "Loading, please wait ..."
@@ -4311,49 +4289,49 @@ const Lt = {
4311
4289
  Loading: "Cargando, por favor espere..."
4312
4290
  }
4313
4291
  };
4314
- function ro(e) {
4315
- Ar(e, "svelte-lvm6lo", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}");
4292
+ function Ji(e) {
4293
+ wr(e, "svelte-lvm6lo", "button{font-family:var(--emw--button-typography)}input,select,option{font-family:inherit}.DepositWrapper{background-color:var(--emw--color-pale, var(--emw--color-gray-50, #F1F1F1));border-radius:var(--emw--border-radius-large, 20px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));padding:50px 50px 30px 50px;max-width:100%;height:var(--dynamic-height)}.DepositWrapper.DepositWrapperMobile{padding:20px 15px;max-width:unset;height:var(--dynamic-height)}.MenuReturnButton{color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));display:inline-flex;align-items:center;column-gap:10px;margin-bottom:10px}.MenuReturnButton svg{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E))}.DepositTitle{font-size:var(--emw--font-size-x-large, 26px);color:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));font-weight:var(--emw--font-weigh-normal, 400)}.DepositTitleMobile{font-size:var(--emw--size-standard, 16px)}.DepositTitleNone{display:none}.DepositIframeWrapper iframe{border:none;width:100%;height:85vh;border-radius:var(--emw--border-radius-large, 20px)}");
4316
4294
  }
4317
- function no(e) {
4295
+ function Ki(e) {
4318
4296
  let t, r, n, i, o, s, a, h, u, l, c = (
4319
4297
  /*$_*/
4320
4298
  e[4]("titleDeposit") + ""
4321
- ), f, d, v;
4299
+ ), f, m, v;
4322
4300
  return {
4323
4301
  c() {
4324
- t = C("div"), r = F("svg"), n = F("defs"), i = F("style"), o = ie(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = F("g"), a = F("g"), h = F("path"), u = Le(), l = C("h2"), f = ie(c), x(h, "class", "aaa"), x(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), x(h, "transform", "translate(15 15) rotate(180)"), x(a, "transform", "translate(20 158)"), x(s, "transform", "translate(-20 -158)"), x(r, "xmlns", "http://www.w3.org/2000/svg"), x(r, "width", "15"), x(r, "height", "15"), x(r, "viewBox", "0 0 15 15"), x(l, "class", "DepositTitleMobile"), x(t, "class", "MenuReturnButton");
4302
+ t = C("div"), r = F("svg"), n = F("defs"), i = F("style"), o = ne(".aaa{fill:var(--emw--pam-color-primary, var(--emw--color-primary, #22B04E));}"), s = F("g"), a = F("g"), h = F("path"), u = Me(), l = C("h2"), f = ne(c), x(h, "class", "aaa"), x(h, "d", "M7.5,0,6.136,1.364,11.3,6.526H0V8.474H11.3L6.136,13.636,7.5,15,15,7.5Z"), x(h, "transform", "translate(15 15) rotate(180)"), x(a, "transform", "translate(20 158)"), x(s, "transform", "translate(-20 -158)"), x(r, "xmlns", "http://www.w3.org/2000/svg"), x(r, "width", "15"), x(r, "height", "15"), x(r, "viewBox", "0 0 15 15"), x(l, "class", "DepositTitleMobile"), x(t, "class", "MenuReturnButton");
4325
4303
  },
4326
- m(m, E) {
4327
- he(m, t, E), w(t, r), w(r, n), w(n, i), w(i, o), w(r, s), w(s, a), w(a, h), w(t, u), w(t, l), w(l, f), d || (v = Ir(
4304
+ m(d, E) {
4305
+ ue(d, t, E), w(t, r), w(r, n), w(n, i), w(i, o), w(r, s), w(s, a), w(a, h), w(t, u), w(t, l), w(l, f), m || (v = Hr(
4328
4306
  t,
4329
4307
  "click",
4330
4308
  /*click_handler*/
4331
4309
  e[18]
4332
- ), d = !0);
4310
+ ), m = !0);
4333
4311
  },
4334
- p(m, E) {
4312
+ p(d, E) {
4335
4313
  E & /*$_*/
4336
4314
  16 && c !== (c = /*$_*/
4337
- m[4]("titleDeposit") + "") && Je(f, c);
4315
+ d[4]("titleDeposit") + "") && qe(f, c);
4338
4316
  },
4339
- d(m) {
4340
- m && q(t), d = !1, v();
4317
+ d(d) {
4318
+ d && q(t), m = !1, v();
4341
4319
  }
4342
4320
  };
4343
4321
  }
4344
- function io(e) {
4322
+ function eo(e) {
4345
4323
  let t, r, n;
4346
4324
  return {
4347
4325
  c() {
4348
- t = C("div"), r = C("iframe"), lt(r.src, n = /*iframeUrl*/
4326
+ t = C("div"), r = C("iframe"), at(r.src, n = /*iframeUrl*/
4349
4327
  e[3]) || x(r, "src", n), x(r, "title", "Deposit Iframe"), x(t, "class", "DepositIframeWrapper");
4350
4328
  },
4351
4329
  m(i, o) {
4352
- he(i, t, o), w(t, r);
4330
+ ue(i, t, o), w(t, r);
4353
4331
  },
4354
4332
  p(i, o) {
4355
4333
  o & /*iframeUrl*/
4356
- 8 && !lt(r.src, n = /*iframeUrl*/
4334
+ 8 && !at(r.src, n = /*iframeUrl*/
4357
4335
  i[3]) && x(r, "src", n);
4358
4336
  },
4359
4337
  d(i) {
@@ -4361,48 +4339,48 @@ function io(e) {
4361
4339
  }
4362
4340
  };
4363
4341
  }
4364
- function oo(e) {
4342
+ function to(e) {
4365
4343
  let t, r = (
4366
4344
  /*$_*/
4367
4345
  e[4]("loading") + ""
4368
4346
  ), n;
4369
4347
  return {
4370
4348
  c() {
4371
- t = C("p"), n = ie(r);
4349
+ t = C("p"), n = ne(r);
4372
4350
  },
4373
4351
  m(i, o) {
4374
- he(i, t, o), w(t, n);
4352
+ ue(i, t, o), w(t, n);
4375
4353
  },
4376
4354
  p(i, o) {
4377
4355
  o & /*$_*/
4378
4356
  16 && r !== (r = /*$_*/
4379
- i[4]("loading") + "") && Je(n, r);
4357
+ i[4]("loading") + "") && qe(n, r);
4380
4358
  },
4381
4359
  d(i) {
4382
4360
  i && q(t);
4383
4361
  }
4384
4362
  };
4385
4363
  }
4386
- function so(e) {
4364
+ function ro(e) {
4387
4365
  let t, r, n, i = (
4388
4366
  /*$_*/
4389
4367
  e[4]("titleDeposit") + ""
4390
4368
  ), o, s, a = (
4391
4369
  /*isMobile*/
4392
- e[5] && no(e)
4370
+ e[5] && Ki(e)
4393
4371
  );
4394
4372
  function h(c, f) {
4395
4373
  return (
4396
4374
  /*isLoading*/
4397
- c[1] ? oo : io
4375
+ c[1] ? to : eo
4398
4376
  );
4399
4377
  }
4400
4378
  let u = h(e), l = u(e);
4401
4379
  return {
4402
4380
  c() {
4403
- t = C("div"), a && a.c(), r = Le(), n = C("h2"), o = ie(i), s = Le(), l.c(), x(n, "class", "DepositTitle " + /*isMobile*/
4381
+ t = C("div"), a && a.c(), r = Me(), n = C("h2"), o = ne(i), s = Me(), l.c(), x(n, "class", "DepositTitle " + /*isMobile*/
4404
4382
  (e[5] ? "DepositTitleNone" : "")), x(t, "class", "DepositWrapper " + /*isMobile*/
4405
- (e[5] ? "DepositWrapperMobile" : "")), ct(
4383
+ (e[5] ? "DepositWrapperMobile" : "")), ut(
4406
4384
  t,
4407
4385
  "--dynamic-height",
4408
4386
  /*dynamicHeight*/
@@ -4410,53 +4388,53 @@ function so(e) {
4410
4388
  );
4411
4389
  },
4412
4390
  m(c, f) {
4413
- he(c, t, f), a && a.m(t, null), w(t, r), w(t, n), w(n, o), w(t, s), l.m(t, null), e[19](t);
4391
+ ue(c, t, f), a && a.m(t, null), w(t, r), w(t, n), w(n, o), w(t, s), l.m(t, null), e[19](t);
4414
4392
  },
4415
4393
  p(c, [f]) {
4416
4394
  /*isMobile*/
4417
4395
  c[5] && a.p(c, f), f & /*$_*/
4418
4396
  16 && i !== (i = /*$_*/
4419
- c[4]("titleDeposit") + "") && Je(o, i), u === (u = h(c)) && l ? l.p(c, f) : (l.d(1), l = u(c), l && (l.c(), l.m(t, null))), f & /*dynamicHeight*/
4420
- 4 && ct(
4397
+ c[4]("titleDeposit") + "") && qe(o, i), u === (u = h(c)) && l ? l.p(c, f) : (l.d(1), l = u(c), l && (l.c(), l.m(t, null))), f & /*dynamicHeight*/
4398
+ 4 && ut(
4421
4399
  t,
4422
4400
  "--dynamic-height",
4423
4401
  /*dynamicHeight*/
4424
4402
  c[2]
4425
4403
  );
4426
4404
  },
4427
- i: A,
4428
- o: A,
4405
+ i: P,
4406
+ o: P,
4429
4407
  d(c) {
4430
4408
  c && q(t), a && a.d(), l.d(), e[19](null);
4431
4409
  }
4432
4410
  };
4433
4411
  }
4434
- function ao(e, t, r) {
4412
+ function no(e, t, r) {
4435
4413
  let n, i;
4436
- Br(e, Yi, (p) => r(4, i = p));
4437
- let { endpoint: o = "" } = t, { session: s = "" } = t, { playerid: a = "" } = t, { lang: h = "en" } = t, { hasdefaultamount: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { currency: d = "" } = t, { mbsource: v } = t, { shortcashierenabled: m = "false" } = t, E, U = window.navigator.userAgent, O = qi(U) !== "PC", T = !0, L, P, N = 0, te = "";
4438
- const br = () => {
4439
- fetch(f).then((R) => R.json()).then((R) => {
4440
- Object.keys(R).forEach((D) => {
4441
- Mt(D, R[D]);
4414
+ xr(e, Wi, (p) => r(4, i = p));
4415
+ let { endpoint: o = "" } = t, { session: s = "" } = t, { playerid: a = "" } = t, { lang: h = "en" } = t, { hasdefaultamount: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: c = "" } = t, { translationurl: f = "" } = t, { currency: m = "" } = t, { mbsource: v } = t, { shortcashierenabled: d = "false" } = t, E, $ = window.navigator.userAgent, O = zi($) !== "PC", T = !0, N, A = 0, U = "";
4416
+ const le = () => {
4417
+ fetch(f).then((L) => L.json()).then((L) => {
4418
+ Object.keys(L).forEach((R) => {
4419
+ Ot(R, L[R]);
4442
4420
  });
4443
- }).catch((R) => {
4444
- console.log(R);
4421
+ }).catch((L) => {
4422
+ console.log(L);
4445
4423
  });
4446
4424
  };
4447
- Object.keys(Lt).forEach((p) => {
4448
- Mt(p, Lt[p]);
4425
+ Object.keys(It).forEach((p) => {
4426
+ Ot(p, It[p]);
4449
4427
  });
4450
- const nt = () => {
4428
+ const et = () => {
4451
4429
  window.postMessage({ type: "GoToPreviousRoute", isMobile: O }, window.location.href);
4452
- }, it = (p) => {
4430
+ }, tt = (p) => {
4453
4431
  if (p.data) {
4454
4432
  switch (p.data.type) {
4455
4433
  case "ProfileDetailsData":
4456
- r(7, d = p.data.profileDetails.currency);
4434
+ r(7, m = p.data.profileDetails.currency);
4457
4435
  break;
4458
4436
  }
4459
- switch (p.data["MMFE:setQuickDepositHeight"] && r(2, L = p.data["MMFE:setQuickDepositHeight"].toString() + "px"), p.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), p.data.redirect) {
4437
+ switch (p.data["MMFE:setQuickDepositHeight"] && r(2, N = p.data["MMFE:setQuickDepositHeight"].toString() + "px"), p.data["MMFE:openFullCashier"] === "true" && (window.postMessage({ type: "GoToDeposit" }, window.location.href), window.postMessage({ type: "CloseShortCashier" }, window.location.href)), p.data.redirect) {
4460
4438
  case "mm-hc-casino":
4461
4439
  window.postMessage({ type: "GoToCasino" }, window.location.href);
4462
4440
  break;
@@ -4482,68 +4460,68 @@ function ao(e, t, r) {
4482
4460
  break;
4483
4461
  }
4484
4462
  }
4485
- }, gr = () => {
4463
+ }, fr = () => {
4486
4464
  let p = new URL(`${o}/v1/player/${a}/hostedcashier/initializedeposit?showBonusSelectionInput=true`);
4487
- if (p.searchParams.append("language", h), n && p.searchParams.append("isShortCashier", m), u)
4488
- switch (d) {
4465
+ if (p.searchParams.append("language", h), n && p.searchParams.append("isShortCashier", d), u)
4466
+ switch (m) {
4489
4467
  case "USD":
4490
- N = 0.4;
4468
+ A = 0.4;
4491
4469
  break;
4492
4470
  case "CDF":
4493
- N = 1e3;
4471
+ A = 1e3;
4494
4472
  break;
4495
4473
  }
4496
- let R = {
4474
+ let L = {
4497
4475
  method: "POST",
4498
4476
  headers: {
4499
4477
  "X-SessionId": s,
4500
- currency: d || "EUR",
4501
- amount: N,
4478
+ currency: m || "EUR",
4479
+ amount: A,
4502
4480
  cashierMode: "Default",
4503
- IsShortCashier: m,
4481
+ IsShortCashier: d,
4504
4482
  accept: "application/json"
4505
4483
  }
4506
4484
  };
4507
- fetch(p.href, R).then((D) => D.json()).then(
4508
- (D) => {
4509
- r(1, T = !1), r(3, te = D.CashierUrl);
4485
+ fetch(p.href, L).then((R) => R.json()).then(
4486
+ (R) => {
4487
+ r(1, T = !1), r(3, U = R.CashierUrl);
4510
4488
  },
4511
- (D) => {
4512
- console.error(D);
4489
+ (R) => {
4490
+ console.error(R);
4513
4491
  }
4514
4492
  );
4515
- }, yr = () => {
4516
- to(h);
4493
+ }, pr = () => {
4494
+ qi(h);
4517
4495
  };
4518
- Nr(() => (window.addEventListener("message", it, !1), () => {
4519
- window.emMessageBus && P && P.unsubscribe(), window.removeEventListener("message", it);
4496
+ Or(() => (window.addEventListener("message", tt, !1), () => {
4497
+ window.removeEventListener("message", tt);
4520
4498
  }));
4521
- const vr = () => nt();
4522
- function _r(p) {
4499
+ const mr = () => et();
4500
+ function dr(p) {
4523
4501
  Ne[p ? "unshift" : "push"](() => {
4524
4502
  E = p, r(0, E);
4525
4503
  });
4526
4504
  }
4527
4505
  return e.$$set = (p) => {
4528
- "endpoint" in p && r(8, o = p.endpoint), "session" in p && r(9, s = p.session), "playerid" in p && r(10, a = p.playerid), "lang" in p && r(11, h = p.lang), "hasdefaultamount" in p && r(12, u = p.hasdefaultamount), "clientstyling" in p && r(13, l = p.clientstyling), "clientstylingurl" in p && r(14, c = p.clientstylingurl), "translationurl" in p && r(15, f = p.translationurl), "currency" in p && r(7, d = p.currency), "mbsource" in p && r(16, v = p.mbsource), "shortcashierenabled" in p && r(17, m = p.shortcashierenabled);
4506
+ "endpoint" in p && r(8, o = p.endpoint), "session" in p && r(9, s = p.session), "playerid" in p && r(10, a = p.playerid), "lang" in p && r(11, h = p.lang), "hasdefaultamount" in p && r(12, u = p.hasdefaultamount), "clientstyling" in p && r(13, l = p.clientstyling), "clientstylingurl" in p && r(14, c = p.clientstylingurl), "translationurl" in p && r(15, f = p.translationurl), "currency" in p && r(7, m = p.currency), "mbsource" in p && r(16, v = p.mbsource), "shortcashierenabled" in p && r(17, d = p.shortcashierenabled);
4529
4507
  }, e.$$.update = () => {
4530
4508
  e.$$.dirty & /*lang*/
4531
- 2048 && h && yr(), e.$$.dirty & /*shortcashierenabled*/
4532
- 131072 && (n = m.toLocaleLowerCase() === "true"), e.$$.dirty & /*clientstyling, customStylingContainer*/
4533
- 8193 && l && E && Ji(E, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4534
- 16385 && c && E && Ki(E, c), e.$$.dirty & /*mbsource, customStylingContainer*/
4535
- 65537 && v && E && eo(E, `${v}.Style`), e.$$.dirty & /*translationurl*/
4536
- 32768 && f && br(), e.$$.dirty & /*session, playerid, endpoint, currency, lang, shortcashierenabled*/
4537
- 135040 && s && a && o && d && h && m && gr();
4509
+ 2048 && h && pr(), e.$$.dirty & /*shortcashierenabled*/
4510
+ 131072 && (n = d.toLocaleLowerCase() === "true"), e.$$.dirty & /*clientstyling, customStylingContainer*/
4511
+ 8193 && l && E && Zi(E, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4512
+ 16385 && c && E && Qi(E, c), e.$$.dirty & /*mbsource, customStylingContainer*/
4513
+ 65537 && v && E && Yi(E, `${v}.Style`), e.$$.dirty & /*translationurl*/
4514
+ 32768 && f && le(), e.$$.dirty & /*session, playerid, endpoint, currency, lang, shortcashierenabled*/
4515
+ 135040 && s && a && o && m && h && d && fr();
4538
4516
  }, [
4539
4517
  E,
4540
4518
  T,
4541
- L,
4542
- te,
4519
+ N,
4520
+ U,
4543
4521
  i,
4544
4522
  O,
4545
- nt,
4546
- d,
4523
+ et,
4524
+ m,
4547
4525
  o,
4548
4526
  s,
4549
4527
  a,
@@ -4553,19 +4531,19 @@ function ao(e, t, r) {
4553
4531
  c,
4554
4532
  f,
4555
4533
  v,
4556
- m,
4557
- vr,
4558
- _r
4534
+ d,
4535
+ mr,
4536
+ dr
4559
4537
  ];
4560
4538
  }
4561
- class uo extends zr {
4539
+ class io extends jr {
4562
4540
  constructor(t) {
4563
- super(), Xr(
4541
+ super(), Gr(
4564
4542
  this,
4565
4543
  t,
4566
- ao,
4567
- so,
4568
- Rt,
4544
+ no,
4545
+ ro,
4546
+ Mt,
4569
4547
  {
4570
4548
  endpoint: 8,
4571
4549
  session: 9,
@@ -4579,7 +4557,7 @@ class uo extends zr {
4579
4557
  mbsource: 16,
4580
4558
  shortcashierenabled: 17
4581
4559
  },
4582
- ro
4560
+ Ji
4583
4561
  );
4584
4562
  }
4585
4563
  get endpoint() {
@@ -4649,7 +4627,7 @@ class uo extends zr {
4649
4627
  this.$$set({ shortcashierenabled: t }), H();
4650
4628
  }
4651
4629
  }
4652
- Wr(uo, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, mbsource: {}, shortcashierenabled: {} }, [], [], !0);
4630
+ Fr(io, { endpoint: {}, session: {}, playerid: {}, lang: {}, hasdefaultamount: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, currency: {}, mbsource: {}, shortcashierenabled: {} }, [], [], !0);
4653
4631
  export {
4654
- uo as default
4632
+ io as default
4655
4633
  };