@everymatrix/cashier-verifications 1.66.2 → 1.67.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,28 +1,28 @@
1
1
  function K() {
2
2
  }
3
- function Zt(e) {
3
+ function Yt(e) {
4
4
  return e();
5
5
  }
6
- function St() {
6
+ function wt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function Le(e) {
10
- e.forEach(Zt);
9
+ function De(e) {
10
+ e.forEach(Yt);
11
11
  }
12
- function vt(e) {
12
+ function pt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Jt(e, t) {
15
+ function Zt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let Fe;
19
- function rs(e, t) {
20
- return e === t ? !0 : (Fe || (Fe = document.createElement("a")), Fe.href = t, e === Fe.href);
18
+ let Ue;
19
+ function ts(e, t) {
20
+ return e === t ? !0 : (Ue || (Ue = document.createElement("a")), Ue.href = t, e === Ue.href);
21
21
  }
22
- function Cr(e) {
22
+ function Mr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Qt(e, ...t) {
25
+ function Jt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const i of t)
28
28
  i(void 0);
@@ -31,20 +31,20 @@ function Qt(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Tt(e, t, r) {
35
- e.$$.on_destroy.push(Qt(t, r));
34
+ function St(e, t, r) {
35
+ e.$$.on_destroy.push(Jt(t, r));
36
36
  }
37
37
  function te(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Dr(e, t, r) {
41
- const i = Lr(e);
40
+ function Cr(e, t, r) {
41
+ const i = Dr(e);
42
42
  if (!i.getElementById(t)) {
43
43
  const n = Y("style");
44
- n.id = t, n.textContent = r, Ir(i, n);
44
+ n.id = t, n.textContent = r, Lr(i, n);
45
45
  }
46
46
  }
47
- function Lr(e) {
47
+ function Dr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,59 +54,59 @@ function Lr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function Ir(e, t) {
57
+ function Lr(e, t) {
58
58
  return te(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function ae(e, t, r) {
64
+ function oe(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function ie(e) {
67
+ function re(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function Nr(e, t) {
70
+ function Ir(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
74
74
  function Y(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function is(e) {
77
+ function rs(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
- function bt(e) {
80
+ function gt(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
- function _e() {
84
- return bt(" ");
83
+ function ye() {
84
+ return gt(" ");
85
85
  }
86
- function ns() {
87
- return bt("");
86
+ function is() {
87
+ return gt("");
88
88
  }
89
- function yt(e, t, r, i) {
89
+ function bt(e, t, r, i) {
90
90
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
91
91
  }
92
92
  function ee(e, t, r) {
93
93
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
94
94
  }
95
- function ue(e, t, r) {
95
+ function ae(e, t, r) {
96
96
  const i = t.toLowerCase();
97
97
  i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : ee(e, t, r);
98
98
  }
99
- function Rr(e) {
99
+ function Nr(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
- function kr(e, t) {
102
+ function Rr(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
- function Ee(e, t, r) {
106
+ function _e(e, t, r) {
107
107
  e.classList.toggle(t, !!r);
108
108
  }
109
- function Ur(e) {
109
+ function kr(e) {
110
110
  const t = {};
111
111
  return e.childNodes.forEach(
112
112
  /** @param {Element} node */
@@ -115,90 +115,90 @@ function Ur(e) {
115
115
  }
116
116
  ), t;
117
117
  }
118
- let Me;
119
- function Be(e) {
120
- Me = e;
118
+ let Be;
119
+ function $e(e) {
120
+ Be = e;
121
121
  }
122
- function Fr() {
123
- if (!Me)
122
+ function Ur() {
123
+ if (!Be)
124
124
  throw new Error("Function called outside component initialization");
125
- return Me;
125
+ return Be;
126
126
  }
127
- function ss(e) {
128
- Fr().$$.on_mount.push(e);
127
+ function ns(e) {
128
+ Ur().$$.on_mount.push(e);
129
129
  }
130
- const ye = [], ot = [];
130
+ const ve = [], nt = [];
131
131
  let xe = [];
132
- const Ht = [], Vr = /* @__PURE__ */ Promise.resolve();
133
- let at = !1;
134
- function Gr() {
135
- at || (at = !0, Vr.then(Q));
132
+ const Tt = [], Fr = /* @__PURE__ */ Promise.resolve();
133
+ let st = !1;
134
+ function Vr() {
135
+ st || (st = !0, Fr.then(Q));
136
136
  }
137
- function ut(e) {
137
+ function ot(e) {
138
138
  xe.push(e);
139
139
  }
140
- const Ke = /* @__PURE__ */ new Set();
141
- let ve = 0;
140
+ const Je = /* @__PURE__ */ new Set();
141
+ let ge = 0;
142
142
  function Q() {
143
- if (ve !== 0)
143
+ if (ge !== 0)
144
144
  return;
145
- const e = Me;
145
+ const e = Be;
146
146
  do {
147
147
  try {
148
- for (; ve < ye.length; ) {
149
- const t = ye[ve];
150
- ve++, Be(t), jr(t.$$);
148
+ for (; ge < ve.length; ) {
149
+ const t = ve[ge];
150
+ ge++, $e(t), Gr(t.$$);
151
151
  }
152
152
  } catch (t) {
153
- throw ye.length = 0, ve = 0, t;
153
+ throw ve.length = 0, ge = 0, t;
154
154
  }
155
- for (Be(null), ye.length = 0, ve = 0; ot.length; )
156
- ot.pop()();
155
+ for ($e(null), ve.length = 0, ge = 0; nt.length; )
156
+ nt.pop()();
157
157
  for (let t = 0; t < xe.length; t += 1) {
158
158
  const r = xe[t];
159
- Ke.has(r) || (Ke.add(r), r());
159
+ Je.has(r) || (Je.add(r), r());
160
160
  }
161
161
  xe.length = 0;
162
- } while (ye.length);
163
- for (; Ht.length; )
164
- Ht.pop()();
165
- at = !1, Ke.clear(), Be(e);
162
+ } while (ve.length);
163
+ for (; Tt.length; )
164
+ Tt.pop()();
165
+ st = !1, Je.clear(), $e(e);
166
166
  }
167
- function jr(e) {
167
+ function Gr(e) {
168
168
  if (e.fragment !== null) {
169
- e.update(), Le(e.before_update);
169
+ e.update(), De(e.before_update);
170
170
  const t = e.dirty;
171
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ut);
171
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ot);
172
172
  }
173
173
  }
174
- function zr(e) {
174
+ function jr(e) {
175
175
  const t = [], r = [];
176
176
  xe.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), xe = t;
177
177
  }
178
- const Xr = /* @__PURE__ */ new Set();
179
- function Wr(e, t) {
180
- e && e.i && (Xr.delete(e), e.i(t));
178
+ const zr = /* @__PURE__ */ new Set();
179
+ function Xr(e, t) {
180
+ e && e.i && (zr.delete(e), e.i(t));
181
181
  }
182
- function Ot(e) {
182
+ function Ht(e) {
183
183
  return e?.length !== void 0 ? e : Array.from(e);
184
184
  }
185
- function qr(e, t, r) {
185
+ function Wr(e, t, r) {
186
186
  const { fragment: i, after_update: n } = e.$$;
187
- i && i.m(t, r), ut(() => {
188
- const s = e.$$.on_mount.map(Zt).filter(vt);
189
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Le(s), e.$$.on_mount = [];
190
- }), n.forEach(ut);
187
+ i && i.m(t, r), ot(() => {
188
+ const s = e.$$.on_mount.map(Yt).filter(pt);
189
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : De(s), e.$$.on_mount = [];
190
+ }), n.forEach(ot);
191
191
  }
192
- function Yr(e, t) {
192
+ function qr(e, t) {
193
193
  const r = e.$$;
194
- r.fragment !== null && (zr(r.after_update), Le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
194
+ r.fragment !== null && (jr(r.after_update), De(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
195
195
  }
196
- function Zr(e, t) {
197
- e.$$.dirty[0] === -1 && (ye.push(e), Gr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
196
+ function Yr(e, t) {
197
+ e.$$.dirty[0] === -1 && (ve.push(e), Vr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
198
198
  }
199
- function Jr(e, t, r, i, n, s, l = null, a = [-1]) {
200
- const o = Me;
201
- Be(e);
199
+ function Zr(e, t, r, i, n, s, l = null, a = [-1]) {
200
+ const o = Be;
201
+ $e(e);
202
202
  const u = e.$$ = {
203
203
  fragment: null,
204
204
  ctx: [],
@@ -206,7 +206,7 @@ function Jr(e, t, r, i, n, s, l = null, a = [-1]) {
206
206
  props: s,
207
207
  update: K,
208
208
  not_equal: n,
209
- bound: St(),
209
+ bound: wt(),
210
210
  // lifecycle
211
211
  on_mount: [],
212
212
  on_destroy: [],
@@ -215,28 +215,28 @@ function Jr(e, t, r, i, n, s, l = null, a = [-1]) {
215
215
  after_update: [],
216
216
  context: new Map(t.context || (o ? o.$$.context : [])),
217
217
  // everything else
218
- callbacks: St(),
218
+ callbacks: wt(),
219
219
  dirty: a,
220
220
  skip_bound: !1,
221
221
  root: t.target || o.$$.root
222
222
  };
223
223
  l && l(u.root);
224
224
  let h = !1;
225
- if (u.ctx = r ? r(e, t.props || {}, (c, p, ..._) => {
226
- const S = _.length ? _[0] : p;
227
- return u.ctx && n(u.ctx[c], u.ctx[c] = S) && (!u.skip_bound && u.bound[c] && u.bound[c](S), h && Zr(e, c)), p;
228
- }) : [], u.update(), h = !0, Le(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
225
+ if (u.ctx = r ? r(e, t.props || {}, (c, p, ...x) => {
226
+ const S = x.length ? x[0] : p;
227
+ return u.ctx && n(u.ctx[c], u.ctx[c] = S) && (!u.skip_bound && u.bound[c] && u.bound[c](S), h && Yr(e, c)), p;
228
+ }) : [], u.update(), h = !0, De(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
229
229
  if (t.hydrate) {
230
- const c = Rr(t.target);
231
- u.fragment && u.fragment.l(c), c.forEach(ie);
230
+ const c = Nr(t.target);
231
+ u.fragment && u.fragment.l(c), c.forEach(re);
232
232
  } else
233
233
  u.fragment && u.fragment.c();
234
- t.intro && Wr(e.$$.fragment), qr(e, t.target, t.anchor), Q();
234
+ t.intro && Xr(e.$$.fragment), Wr(e, t.target, t.anchor), Q();
235
235
  }
236
- Be(o);
236
+ $e(o);
237
237
  }
238
- let Kt;
239
- typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
238
+ let Qt;
239
+ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
240
240
  /** The Svelte component constructor */
241
241
  $$ctor;
242
242
  /** Slots */
@@ -285,22 +285,22 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
285
285
  * @param {HTMLElement} [anchor]
286
286
  */
287
287
  m: function(o, u) {
288
- ae(o, s, u);
288
+ oe(o, s, u);
289
289
  },
290
290
  d: function(o) {
291
- o && ie(s);
291
+ o && re(s);
292
292
  }
293
293
  };
294
294
  };
295
295
  };
296
296
  if (await Promise.resolve(), !this.$$cn || this.$$c)
297
297
  return;
298
- const t = {}, r = Ur(this);
298
+ const t = {}, r = kr(this);
299
299
  for (const n of this.$$s)
300
300
  n in r && (t[n] = [e(n)]);
301
301
  for (const n of this.attributes) {
302
302
  const s = this.$$g_p(n.name);
303
- s in this.$$d || (this.$$d[s] = Ge(s, n.value, this.$$p_d, "toProp"));
303
+ s in this.$$d || (this.$$d[s] = Ve(s, n.value, this.$$p_d, "toProp"));
304
304
  }
305
305
  for (const n in this.$$p_d)
306
306
  !(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
@@ -318,7 +318,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
318
318
  this.$$r = !0;
319
319
  for (const n in this.$$p_d)
320
320
  if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
321
- const s = Ge(
321
+ const s = Ve(
322
322
  n,
323
323
  this.$$d[n],
324
324
  this.$$p_d,
@@ -340,7 +340,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
340
340
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
341
341
  // and setting attributes through setAttribute etc, this is helpful
342
342
  attributeChangedCallback(e, t, r) {
343
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ge(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
343
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ve(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
344
344
  }
345
345
  disconnectedCallback() {
346
346
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -353,7 +353,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
353
353
  ) || e;
354
354
  }
355
355
  });
356
- function Ge(e, t, r, i) {
356
+ function Ve(e, t, r, i) {
357
357
  const n = r[e]?.type;
358
358
  if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
359
359
  return t;
@@ -382,8 +382,8 @@ function Ge(e, t, r, i) {
382
382
  return t;
383
383
  }
384
384
  }
385
- function Qr(e, t, r, i, n, s) {
386
- let l = class extends Kt {
385
+ function Jr(e, t, r, i, n, s) {
386
+ let l = class extends Qt {
387
387
  constructor() {
388
388
  super(e, r, n), this.$$p_d = t;
389
389
  }
@@ -399,7 +399,7 @@ function Qr(e, t, r, i, n, s) {
399
399
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
400
400
  },
401
401
  set(o) {
402
- o = Ge(a, o, t), this.$$d[a] = o, this.$$c?.$set({ [a]: o });
402
+ o = Ve(a, o, t), this.$$d[a] = o, this.$$c?.$set({ [a]: o });
403
403
  }
404
404
  });
405
405
  }), i.forEach((a) => {
@@ -411,7 +411,7 @@ function Qr(e, t, r, i, n, s) {
411
411
  }), e.element = /** @type {any} */
412
412
  l, l;
413
413
  }
414
- class Kr {
414
+ class Qr {
415
415
  /**
416
416
  * ### PRIVATE API
417
417
  *
@@ -430,7 +430,7 @@ class Kr {
430
430
  $$set = void 0;
431
431
  /** @returns {void} */
432
432
  $destroy() {
433
- Yr(this, 1), this.$destroy = K;
433
+ qr(this, 1), this.$destroy = K;
434
434
  }
435
435
  /**
436
436
  * @template {Extract<keyof Events, string>} K
@@ -439,7 +439,7 @@ class Kr {
439
439
  * @returns {() => void}
440
440
  */
441
441
  $on(t, r) {
442
- if (!vt(r))
442
+ if (!pt(r))
443
443
  return K;
444
444
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
445
445
  return i.push(r), () => {
@@ -452,22 +452,22 @@ class Kr {
452
452
  * @returns {void}
453
453
  */
454
454
  $set(t) {
455
- this.$$set && !Cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
455
+ this.$$set && !Mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
456
456
  }
457
457
  }
458
- const ei = "4";
459
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ei);
458
+ const Kr = "4";
459
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kr);
460
460
  const be = [];
461
- function ti(e, t) {
461
+ function ei(e, t) {
462
462
  return {
463
- subscribe: Ie(e, t).subscribe
463
+ subscribe: Le(e, t).subscribe
464
464
  };
465
465
  }
466
- function Ie(e, t = K) {
466
+ function Le(e, t = K) {
467
467
  let r;
468
468
  const i = /* @__PURE__ */ new Set();
469
469
  function n(a) {
470
- if (Jt(e, a) && (e = a, r)) {
470
+ if (Zt(e, a) && (e = a, r)) {
471
471
  const o = !be.length;
472
472
  for (const u of i)
473
473
  u[1](), be.push(u, e);
@@ -489,12 +489,12 @@ function Ie(e, t = K) {
489
489
  }
490
490
  return { set: n, update: s, subscribe: l };
491
491
  }
492
- function Oe(e, t, r) {
492
+ function He(e, t, r) {
493
493
  const i = !Array.isArray(e), n = i ? [e] : e;
494
494
  if (!n.every(Boolean))
495
495
  throw new Error("derived() expects stores as input, got a falsy value");
496
496
  const s = t.length < 2;
497
- return ti(r, (l, a) => {
497
+ return ei(r, (l, a) => {
498
498
  let o = !1;
499
499
  const u = [];
500
500
  let h = 0, c = K;
@@ -503,126 +503,140 @@ function Oe(e, t, r) {
503
503
  return;
504
504
  c();
505
505
  const S = t(i ? u[0] : u, l, a);
506
- s ? l(S) : c = vt(S) ? S : K;
507
- }, _ = n.map(
508
- (S, v) => Qt(
506
+ s ? l(S) : c = pt(S) ? S : K;
507
+ }, x = n.map(
508
+ (S, b) => Jt(
509
509
  S,
510
- (M) => {
511
- u[v] = M, h &= ~(1 << v), o && p();
510
+ (C) => {
511
+ u[b] = C, h &= ~(1 << b), o && p();
512
512
  },
513
513
  () => {
514
- h |= 1 << v;
514
+ h |= 1 << b;
515
515
  }
516
516
  )
517
517
  );
518
518
  return o = !0, p(), function() {
519
- Le(_), c(), o = !1;
519
+ De(x), c(), o = !1;
520
520
  };
521
521
  });
522
522
  }
523
- var er = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
524
- function _t(e) {
523
+ var Kt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
524
+ function vt(e) {
525
525
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
526
526
  }
527
- var ri = function(t) {
528
- return ii(t) && !ni(t);
527
+ var ti = function(t) {
528
+ return ri(t) && !ii(t);
529
529
  };
530
- function ii(e) {
530
+ function ri(e) {
531
531
  return !!e && typeof e == "object";
532
532
  }
533
- function ni(e) {
533
+ function ii(e) {
534
534
  var t = Object.prototype.toString.call(e);
535
- return t === "[object RegExp]" || t === "[object Date]" || ai(e);
535
+ return t === "[object RegExp]" || t === "[object Date]" || oi(e);
536
536
  }
537
- var si = typeof Symbol == "function" && Symbol.for, oi = si ? Symbol.for("react.element") : 60103;
538
- function ai(e) {
539
- return e.$$typeof === oi;
537
+ var ni = typeof Symbol == "function" && Symbol.for, si = ni ? Symbol.for("react.element") : 60103;
538
+ function oi(e) {
539
+ return e.$$typeof === si;
540
540
  }
541
- function ui(e) {
541
+ function ai(e) {
542
542
  return Array.isArray(e) ? [] : {};
543
543
  }
544
- function Ce(e, t) {
545
- return t.clone !== !1 && t.isMergeableObject(e) ? we(ui(e), e, t) : e;
544
+ function Me(e, t) {
545
+ return t.clone !== !1 && t.isMergeableObject(e) ? Ee(ai(e), e, t) : e;
546
546
  }
547
- function li(e, t, r) {
547
+ function ui(e, t, r) {
548
548
  return e.concat(t).map(function(i) {
549
- return Ce(i, r);
549
+ return Me(i, r);
550
550
  });
551
551
  }
552
- function hi(e, t) {
552
+ function li(e, t) {
553
553
  if (!t.customMerge)
554
- return we;
554
+ return Ee;
555
555
  var r = t.customMerge(e);
556
- return typeof r == "function" ? r : we;
556
+ return typeof r == "function" ? r : Ee;
557
557
  }
558
- function fi(e) {
558
+ function hi(e) {
559
559
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
560
560
  return Object.propertyIsEnumerable.call(e, t);
561
561
  }) : [];
562
562
  }
563
563
  function Pt(e) {
564
- return Object.keys(e).concat(fi(e));
564
+ return Object.keys(e).concat(hi(e));
565
565
  }
566
- function tr(e, t) {
566
+ function er(e, t) {
567
567
  try {
568
568
  return t in e;
569
569
  } catch {
570
570
  return !1;
571
571
  }
572
572
  }
573
- function ci(e, t) {
574
- return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
573
+ function fi(e, t) {
574
+ return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
575
575
  }
576
- function di(e, t, r) {
576
+ function ci(e, t, r) {
577
577
  var i = {};
578
578
  return r.isMergeableObject(e) && Pt(e).forEach(function(n) {
579
- i[n] = Ce(e[n], r);
579
+ i[n] = Me(e[n], r);
580
580
  }), Pt(t).forEach(function(n) {
581
- ci(e, n) || (tr(e, n) && r.isMergeableObject(t[n]) ? i[n] = hi(n, r)(e[n], t[n], r) : i[n] = Ce(t[n], r));
581
+ fi(e, n) || (er(e, n) && r.isMergeableObject(t[n]) ? i[n] = li(n, r)(e[n], t[n], r) : i[n] = Me(t[n], r));
582
582
  }), i;
583
583
  }
584
- function we(e, t, r) {
585
- r = r || {}, r.arrayMerge = r.arrayMerge || li, r.isMergeableObject = r.isMergeableObject || ri, r.cloneUnlessOtherwiseSpecified = Ce;
584
+ function Ee(e, t, r) {
585
+ r = r || {}, r.arrayMerge = r.arrayMerge || ui, r.isMergeableObject = r.isMergeableObject || ti, r.cloneUnlessOtherwiseSpecified = Me;
586
586
  var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
587
- return s ? i ? r.arrayMerge(e, t, r) : di(e, t, r) : Ce(t, r);
587
+ return s ? i ? r.arrayMerge(e, t, r) : ci(e, t, r) : Me(t, r);
588
588
  }
589
- we.all = function(t, r) {
589
+ Ee.all = function(t, r) {
590
590
  if (!Array.isArray(t))
591
591
  throw new Error("first argument should be an array");
592
592
  return t.reduce(function(i, n) {
593
- return we(i, n, r);
593
+ return Ee(i, n, r);
594
594
  }, {});
595
595
  };
596
- var mi = we, pi = mi;
597
- const gi = /* @__PURE__ */ _t(pi);
598
- var lt = function(e, t) {
599
- return lt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
596
+ var di = Ee, mi = di;
597
+ const pi = /* @__PURE__ */ vt(mi);
598
+ /*! *****************************************************************************
599
+ Copyright (c) Microsoft Corporation.
600
+
601
+ Permission to use, copy, modify, and/or distribute this software for any
602
+ purpose with or without fee is hereby granted.
603
+
604
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
605
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
606
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
607
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
608
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
609
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
610
+ PERFORMANCE OF THIS SOFTWARE.
611
+ ***************************************************************************** */
612
+ var at = function(e, t) {
613
+ return at = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
600
614
  r.__proto__ = i;
601
615
  } || function(r, i) {
602
616
  for (var n in i)
603
617
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
604
- }, lt(e, t);
618
+ }, at(e, t);
605
619
  };
606
- function Ze(e, t) {
620
+ function qe(e, t) {
607
621
  if (typeof t != "function" && t !== null)
608
622
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
609
- lt(e, t);
623
+ at(e, t);
610
624
  function r() {
611
625
  this.constructor = e;
612
626
  }
613
627
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
614
628
  }
615
- var re = function() {
616
- return re = Object.assign || function(t) {
629
+ var $ = function() {
630
+ return $ = Object.assign || function(t) {
617
631
  for (var r, i = 1, n = arguments.length; i < n; i++) {
618
632
  r = arguments[i];
619
633
  for (var s in r)
620
634
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
621
635
  }
622
636
  return t;
623
- }, re.apply(this, arguments);
637
+ }, $.apply(this, arguments);
624
638
  };
625
- function vi(e, t) {
639
+ function gi(e, t) {
626
640
  var r = {};
627
641
  for (var i in e)
628
642
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -631,14 +645,14 @@ function vi(e, t) {
631
645
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
632
646
  return r;
633
647
  }
634
- function et(e, t, r) {
635
- if (r || arguments.length === 2)
648
+ function Qe(e, t, r) {
649
+ if (arguments.length === 2)
636
650
  for (var i = 0, n = t.length, s; i < n; i++)
637
651
  (s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
638
- return e.concat(s || Array.prototype.slice.call(t));
652
+ return e.concat(s || t);
639
653
  }
640
- function tt(e, t) {
641
- var r = t && t.cache ? t.cache : Si, i = t && t.serializer ? t.serializer : Ei, n = t && t.strategy ? t.strategy : _i;
654
+ function Ke(e, t) {
655
+ var r = t && t.cache ? t.cache : wi, i = t && t.serializer ? t.serializer : _i, n = t && t.strategy ? t.strategy : vi;
642
656
  return n(e, {
643
657
  cache: r,
644
658
  serializer: i
@@ -647,7 +661,7 @@ function tt(e, t) {
647
661
  function bi(e) {
648
662
  return e == null || typeof e == "number" || typeof e == "boolean";
649
663
  }
650
- function yi(e, t, r, i) {
664
+ function tr(e, t, r, i) {
651
665
  var n = bi(i) ? i : r(i), s = t.get(n);
652
666
  return typeof s > "u" && (s = e.call(this, i), t.set(n, s)), s;
653
667
  }
@@ -655,19 +669,22 @@ function rr(e, t, r) {
655
669
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
656
670
  return typeof s > "u" && (s = e.apply(this, i), t.set(n, s)), s;
657
671
  }
658
- function ir(e, t, r, i, n) {
672
+ function yt(e, t, r, i, n) {
659
673
  return r.bind(t, e, i, n);
660
674
  }
661
- function _i(e, t) {
662
- var r = e.length === 1 ? yi : rr;
663
- return ir(e, this, r, t.cache.create(), t.serializer);
675
+ function vi(e, t) {
676
+ var r = e.length === 1 ? tr : rr;
677
+ return yt(e, this, r, t.cache.create(), t.serializer);
678
+ }
679
+ function yi(e, t) {
680
+ return yt(e, this, rr, t.cache.create(), t.serializer);
664
681
  }
665
682
  function xi(e, t) {
666
- return ir(e, this, rr, t.cache.create(), t.serializer);
683
+ return yt(e, this, tr, t.cache.create(), t.serializer);
667
684
  }
668
- var Ei = function() {
685
+ var _i = function() {
669
686
  return JSON.stringify(arguments);
670
- }, wi = (
687
+ }, Ei = (
671
688
  /** @class */
672
689
  function() {
673
690
  function e() {
@@ -679,71 +696,62 @@ var Ei = function() {
679
696
  this.cache[t] = r;
680
697
  }, e;
681
698
  }()
682
- ), Si = {
699
+ ), wi = {
683
700
  create: function() {
684
- return new wi();
701
+ return new Ei();
685
702
  }
686
- }, rt = {
687
- variadic: xi
688
- }, Xe = function() {
689
- return Xe = Object.assign || function(t) {
690
- for (var r, i = 1, n = arguments.length; i < n; i++) {
691
- r = arguments[i];
692
- for (var s in r)
693
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
694
- }
695
- return t;
696
- }, Xe.apply(this, arguments);
697
- };
698
- var H;
703
+ }, et = {
704
+ variadic: yi,
705
+ monadic: xi
706
+ }, H;
699
707
  (function(e) {
700
708
  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";
701
709
  })(H || (H = {}));
702
- var D;
710
+ var L;
703
711
  (function(e) {
704
712
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
705
- })(D || (D = {}));
706
- var Se;
713
+ })(L || (L = {}));
714
+ var we;
707
715
  (function(e) {
708
716
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
709
- })(Se || (Se = {}));
717
+ })(we || (we = {}));
710
718
  function At(e) {
711
- return e.type === D.literal;
719
+ return e.type === L.literal;
712
720
  }
713
- function Ti(e) {
714
- return e.type === D.argument;
721
+ function Si(e) {
722
+ return e.type === L.argument;
723
+ }
724
+ function ir(e) {
725
+ return e.type === L.number;
715
726
  }
716
727
  function nr(e) {
717
- return e.type === D.number;
728
+ return e.type === L.date;
718
729
  }
719
730
  function sr(e) {
720
- return e.type === D.date;
731
+ return e.type === L.time;
721
732
  }
722
733
  function or(e) {
723
- return e.type === D.time;
734
+ return e.type === L.select;
724
735
  }
725
736
  function ar(e) {
726
- return e.type === D.select;
737
+ return e.type === L.plural;
727
738
  }
728
- function ur(e) {
729
- return e.type === D.plural;
739
+ function Ti(e) {
740
+ return e.type === L.pound;
730
741
  }
731
- function Hi(e) {
732
- return e.type === D.pound;
742
+ function ur(e) {
743
+ return e.type === L.tag;
733
744
  }
734
745
  function lr(e) {
735
- return e.type === D.tag;
736
- }
737
- function hr(e) {
738
- return !!(e && typeof e == "object" && e.type === Se.number);
746
+ return !!(e && typeof e == "object" && e.type === we.number);
739
747
  }
740
- function ht(e) {
741
- return !!(e && typeof e == "object" && e.type === Se.dateTime);
748
+ function ut(e) {
749
+ return !!(e && typeof e == "object" && e.type === we.dateTime);
742
750
  }
743
- var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Oi = /(?:[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;
751
+ var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hi = /(?:[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;
744
752
  function Pi(e) {
745
753
  var t = {};
746
- return e.replace(Oi, function(r) {
754
+ return e.replace(Hi, function(r) {
747
755
  var i = r.length;
748
756
  switch (r[0]) {
749
757
  case "G":
@@ -832,18 +840,8 @@ function Pi(e) {
832
840
  return "";
833
841
  }), t;
834
842
  }
835
- var L = function() {
836
- return L = Object.assign || function(t) {
837
- for (var r, i = 1, n = arguments.length; i < n; i++) {
838
- r = arguments[i];
839
- for (var s in r)
840
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
841
- }
842
- return t;
843
- }, L.apply(this, arguments);
844
- };
845
843
  var Ai = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
846
- function $i(e) {
844
+ function Oi(e) {
847
845
  if (e.length === 0)
848
846
  throw new Error("Number skeleton cannot be empty");
849
847
  for (var t = e.split(Ai).filter(function(p) {
@@ -861,17 +859,17 @@ function $i(e) {
861
859
  }
862
860
  return r;
863
861
  }
864
- function Bi(e) {
862
+ function $i(e) {
865
863
  return e.replace(/^(.*?)-/, "");
866
864
  }
867
- var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Mi = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
868
- function Bt(e) {
865
+ var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, Bi = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
866
+ function $t(e) {
869
867
  var t = {};
870
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, i, n) {
868
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, i, n) {
871
869
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
872
870
  }), t;
873
871
  }
874
- function mr(e) {
872
+ function dr(e) {
875
873
  switch (e) {
876
874
  case "sign-auto":
877
875
  return {
@@ -911,7 +909,7 @@ function mr(e) {
911
909
  };
912
910
  }
913
911
  }
914
- function Ci(e) {
912
+ function Mi(e) {
915
913
  var t;
916
914
  if (e[0] === "E" && e[1] === "E" ? (t = {
917
915
  notation: "engineering"
@@ -919,17 +917,17 @@ function Ci(e) {
919
917
  notation: "scientific"
920
918
  }, e = e.slice(1)), t) {
921
919
  var r = e.slice(0, 2);
922
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
920
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
923
921
  throw new Error("Malformed concise eng/scientific notation");
924
922
  t.minimumIntegerDigits = e.length;
925
923
  }
926
924
  return t;
927
925
  }
928
- function Mt(e) {
929
- var t = {}, r = mr(e);
926
+ function Bt(e) {
927
+ var t = {}, r = dr(e);
930
928
  return r || t;
931
929
  }
932
- function Di(e) {
930
+ function Ci(e) {
933
931
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
934
932
  var n = i[r];
935
933
  switch (n.stem) {
@@ -953,7 +951,7 @@ function Di(e) {
953
951
  continue;
954
952
  case "measure-unit":
955
953
  case "unit":
956
- t.style = "unit", t.unit = Bi(n.options[0]);
954
+ t.style = "unit", t.unit = $i(n.options[0]);
957
955
  continue;
958
956
  case "compact-short":
959
957
  case "K":
@@ -964,13 +962,13 @@ function Di(e) {
964
962
  t.notation = "compact", t.compactDisplay = "long";
965
963
  continue;
966
964
  case "scientific":
967
- t = L(L(L({}, t), { notation: "scientific" }), n.options.reduce(function(o, u) {
968
- return L(L({}, o), Mt(u));
965
+ t = $($($({}, t), { notation: "scientific" }), n.options.reduce(function(o, u) {
966
+ return $($({}, o), Bt(u));
969
967
  }, {}));
970
968
  continue;
971
969
  case "engineering":
972
- t = L(L(L({}, t), { notation: "engineering" }), n.options.reduce(function(o, u) {
973
- return L(L({}, o), Mt(u));
970
+ t = $($($({}, t), { notation: "engineering" }), n.options.reduce(function(o, u) {
971
+ return $($({}, o), Bt(u));
974
972
  }, {}));
975
973
  continue;
976
974
  case "notation-simple":
@@ -1015,45 +1013,45 @@ function Di(e) {
1015
1013
  case "integer-width":
1016
1014
  if (n.options.length > 1)
1017
1015
  throw new RangeError("integer-width stems only accept a single optional option");
1018
- n.options[0].replace(Mi, function(o, u, h, c, p, _) {
1016
+ n.options[0].replace(Bi, function(o, u, h, c, p, x) {
1019
1017
  if (u)
1020
1018
  t.minimumIntegerDigits = h.length;
1021
1019
  else {
1022
1020
  if (c && p)
1023
1021
  throw new Error("We currently do not support maximum integer digits");
1024
- if (_)
1022
+ if (x)
1025
1023
  throw new Error("We currently do not support exact integer digits");
1026
1024
  }
1027
1025
  return "";
1028
1026
  });
1029
1027
  continue;
1030
1028
  }
1031
- if (dr.test(n.stem)) {
1029
+ if (cr.test(n.stem)) {
1032
1030
  t.minimumIntegerDigits = n.stem.length;
1033
1031
  continue;
1034
1032
  }
1035
- if ($t.test(n.stem)) {
1033
+ if (Ot.test(n.stem)) {
1036
1034
  if (n.options.length > 1)
1037
1035
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1038
- n.stem.replace($t, function(o, u, h, c, p, _) {
1039
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && _ ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + _.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1036
+ n.stem.replace(Ot, function(o, u, h, c, p, x) {
1037
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && x ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + x.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1040
1038
  });
1041
1039
  var s = n.options[0];
1042
- s === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = L(L({}, t), Bt(s)));
1040
+ s === "w" ? t = $($({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = $($({}, t), $t(s)));
1043
1041
  continue;
1044
1042
  }
1045
- if (cr.test(n.stem)) {
1046
- t = L(L({}, t), Bt(n.stem));
1043
+ if (fr.test(n.stem)) {
1044
+ t = $($({}, t), $t(n.stem));
1047
1045
  continue;
1048
1046
  }
1049
- var l = mr(n.stem);
1050
- l && (t = L(L({}, t), l));
1051
- var a = Ci(n.stem);
1052
- a && (t = L(L({}, t), a));
1047
+ var l = dr(n.stem);
1048
+ l && (t = $($({}, t), l));
1049
+ var a = Mi(n.stem);
1050
+ a && (t = $($({}, t), a));
1053
1051
  }
1054
1052
  return t;
1055
1053
  }
1056
- var Ve = {
1054
+ var Fe = {
1057
1055
  "001": [
1058
1056
  "H",
1059
1057
  "h"
@@ -2468,13 +2466,13 @@ var Ve = {
2468
2466
  "h"
2469
2467
  ]
2470
2468
  };
2471
- function Li(e, t) {
2469
+ function Di(e, t) {
2472
2470
  for (var r = "", i = 0; i < e.length; i++) {
2473
2471
  var n = e.charAt(i);
2474
2472
  if (n === "j") {
2475
2473
  for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2476
2474
  s++, i++;
2477
- var l = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = Ii(t);
2475
+ var l = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = Li(t);
2478
2476
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2479
2477
  r += o;
2480
2478
  for (; l-- > 0; )
@@ -2484,7 +2482,7 @@ function Li(e, t) {
2484
2482
  }
2485
2483
  return r;
2486
2484
  }
2487
- function Ii(e) {
2485
+ function Li(e) {
2488
2486
  var t = e.hourCycle;
2489
2487
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2490
2488
  e.hourCycles && // @ts-ignore
@@ -2503,23 +2501,23 @@ function Ii(e) {
2503
2501
  }
2504
2502
  var r = e.language, i;
2505
2503
  r !== "root" && (i = e.maximize().region);
2506
- var n = Ve[i || ""] || Ve[r || ""] || Ve["".concat(r, "-001")] || Ve["001"];
2504
+ var n = Fe[i || ""] || Fe[r || ""] || Fe["".concat(r, "-001")] || Fe["001"];
2507
2505
  return n[0];
2508
2506
  }
2509
- var it, Ni = new RegExp("^".concat(fr.source, "*")), Ri = new RegExp("".concat(fr.source, "*$"));
2510
- function P(e, t) {
2507
+ var tt, Ii = new RegExp("^".concat(hr.source, "*")), Ni = new RegExp("".concat(hr.source, "*$"));
2508
+ function A(e, t) {
2511
2509
  return { start: e, end: t };
2512
2510
  }
2513
- var ki = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ui = !!String.fromCodePoint, Fi = !!Object.fromEntries, Vi = !!String.prototype.codePointAt, Gi = !!String.prototype.trimStart, ji = !!String.prototype.trimEnd, zi = !!Number.isSafeInteger, Xi = zi ? Number.isSafeInteger : function(e) {
2511
+ var Ri = !!String.prototype.startsWith && "_a".startsWith("a", 1), ki = !!String.fromCodePoint, Ui = !!Object.fromEntries, Fi = !!String.prototype.codePointAt, Vi = !!String.prototype.trimStart, Gi = !!String.prototype.trimEnd, ji = !!Number.isSafeInteger, zi = ji ? Number.isSafeInteger : function(e) {
2514
2512
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2515
- }, ft = !0;
2513
+ }, lt = !0;
2516
2514
  try {
2517
- var Wi = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2518
- ft = ((it = Wi.exec("a")) === null || it === void 0 ? void 0 : it[0]) === "a";
2515
+ var Xi = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2516
+ lt = ((tt = Xi.exec("a")) === null || tt === void 0 ? void 0 : tt[0]) === "a";
2519
2517
  } catch {
2520
- ft = !1;
2518
+ lt = !1;
2521
2519
  }
2522
- var Ct = ki ? (
2520
+ var Mt = Ri ? (
2523
2521
  // Native
2524
2522
  function(t, r, i) {
2525
2523
  return t.startsWith(r, i);
@@ -2529,7 +2527,7 @@ var Ct = ki ? (
2529
2527
  function(t, r, i) {
2530
2528
  return t.slice(i, i + r.length) === r;
2531
2529
  }
2532
- ), ct = Ui ? String.fromCodePoint : (
2530
+ ), ht = ki ? String.fromCodePoint : (
2533
2531
  // IE11
2534
2532
  function() {
2535
2533
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2541,9 +2539,9 @@ var Ct = ki ? (
2541
2539
  }
2542
2540
  return i;
2543
2541
  }
2544
- ), Dt = (
2542
+ ), Ct = (
2545
2543
  // native
2546
- Fi ? Object.fromEntries : (
2544
+ Ui ? Object.fromEntries : (
2547
2545
  // Ponyfill
2548
2546
  function(t) {
2549
2547
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -2553,7 +2551,7 @@ var Ct = ki ? (
2553
2551
  return r;
2554
2552
  }
2555
2553
  )
2556
- ), pr = Vi ? (
2554
+ ), mr = Fi ? (
2557
2555
  // Native
2558
2556
  function(t, r) {
2559
2557
  return t.codePointAt(r);
@@ -2567,7 +2565,7 @@ var Ct = ki ? (
2567
2565
  return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
2568
2566
  }
2569
2567
  }
2570
- ), qi = Gi ? (
2568
+ ), Wi = Vi ? (
2571
2569
  // Native
2572
2570
  function(t) {
2573
2571
  return t.trimStart();
@@ -2575,9 +2573,9 @@ var Ct = ki ? (
2575
2573
  ) : (
2576
2574
  // Ponyfill
2577
2575
  function(t) {
2578
- return t.replace(Ni, "");
2576
+ return t.replace(Ii, "");
2579
2577
  }
2580
- ), Yi = ji ? (
2578
+ ), qi = Gi ? (
2581
2579
  // Native
2582
2580
  function(t) {
2583
2581
  return t.trimEnd();
@@ -2585,32 +2583,32 @@ var Ct = ki ? (
2585
2583
  ) : (
2586
2584
  // Ponyfill
2587
2585
  function(t) {
2588
- return t.replace(Ri, "");
2586
+ return t.replace(Ni, "");
2589
2587
  }
2590
2588
  );
2591
- function gr(e, t) {
2589
+ function pr(e, t) {
2592
2590
  return new RegExp(e, t);
2593
2591
  }
2594
- var dt;
2595
- if (ft) {
2596
- var Lt = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2597
- dt = function(t, r) {
2592
+ var ft;
2593
+ if (lt) {
2594
+ var Dt = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2595
+ ft = function(t, r) {
2598
2596
  var i;
2599
- Lt.lastIndex = r;
2600
- var n = Lt.exec(t);
2597
+ Dt.lastIndex = r;
2598
+ var n = Dt.exec(t);
2601
2599
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2602
2600
  };
2603
2601
  } else
2604
- dt = function(t, r) {
2602
+ ft = function(t, r) {
2605
2603
  for (var i = []; ; ) {
2606
- var n = pr(t, r);
2607
- if (n === void 0 || vr(n) || Ki(n))
2604
+ var n = mr(t, r);
2605
+ if (n === void 0 || gr(n) || Qi(n))
2608
2606
  break;
2609
2607
  i.push(n), r += n >= 65536 ? 2 : 1;
2610
2608
  }
2611
- return ct.apply(void 0, i);
2609
+ return ht.apply(void 0, i);
2612
2610
  };
2613
- var Zi = (
2611
+ var Yi = (
2614
2612
  /** @class */
2615
2613
  function() {
2616
2614
  function e(t, r) {
@@ -2634,14 +2632,14 @@ var Zi = (
2634
2632
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2635
2633
  var a = this.clonePosition();
2636
2634
  this.bump(), n.push({
2637
- type: D.pound,
2638
- location: P(a, this.clonePosition())
2635
+ type: L.pound,
2636
+ location: A(a, this.clonePosition())
2639
2637
  });
2640
2638
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2641
2639
  if (i)
2642
2640
  break;
2643
- return this.error(H.UNMATCHED_CLOSING_TAG, P(this.clonePosition(), this.clonePosition()));
2644
- } else if (s === 60 && !this.ignoreTag && mt(this.peek() || 0)) {
2641
+ return this.error(H.UNMATCHED_CLOSING_TAG, A(this.clonePosition(), this.clonePosition()));
2642
+ } else if (s === 60 && !this.ignoreTag && ct(this.peek() || 0)) {
2645
2643
  var l = this.parseTag(t, r);
2646
2644
  if (l.err)
2647
2645
  return l;
@@ -2662,9 +2660,9 @@ var Zi = (
2662
2660
  if (this.bumpSpace(), this.bumpIf("/>"))
2663
2661
  return {
2664
2662
  val: {
2665
- type: D.literal,
2663
+ type: L.literal,
2666
2664
  value: "<".concat(n, "/>"),
2667
- location: P(i, this.clonePosition())
2665
+ location: A(i, this.clonePosition())
2668
2666
  },
2669
2667
  err: null
2670
2668
  };
@@ -2674,25 +2672,25 @@ var Zi = (
2674
2672
  return s;
2675
2673
  var l = s.val, a = this.clonePosition();
2676
2674
  if (this.bumpIf("</")) {
2677
- if (this.isEOF() || !mt(this.char()))
2678
- return this.error(H.INVALID_TAG, P(a, this.clonePosition()));
2675
+ if (this.isEOF() || !ct(this.char()))
2676
+ return this.error(H.INVALID_TAG, A(a, this.clonePosition()));
2679
2677
  var o = this.clonePosition(), u = this.parseTagName();
2680
- return n !== u ? this.error(H.UNMATCHED_CLOSING_TAG, P(o, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2678
+ return n !== u ? this.error(H.UNMATCHED_CLOSING_TAG, A(o, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2681
2679
  val: {
2682
- type: D.tag,
2680
+ type: L.tag,
2683
2681
  value: n,
2684
2682
  children: l,
2685
- location: P(i, this.clonePosition())
2683
+ location: A(i, this.clonePosition())
2686
2684
  },
2687
2685
  err: null
2688
- } : this.error(H.INVALID_TAG, P(a, this.clonePosition())));
2686
+ } : this.error(H.INVALID_TAG, A(a, this.clonePosition())));
2689
2687
  } else
2690
- return this.error(H.UNCLOSED_TAG, P(i, this.clonePosition()));
2688
+ return this.error(H.UNCLOSED_TAG, A(i, this.clonePosition()));
2691
2689
  } else
2692
- return this.error(H.INVALID_TAG, P(i, this.clonePosition()));
2690
+ return this.error(H.INVALID_TAG, A(i, this.clonePosition()));
2693
2691
  }, e.prototype.parseTagName = function() {
2694
2692
  var t = this.offset();
2695
- for (this.bump(); !this.isEOF() && Qi(this.char()); )
2693
+ for (this.bump(); !this.isEOF() && Ji(this.char()); )
2696
2694
  this.bump();
2697
2695
  return this.message.slice(t, this.offset());
2698
2696
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2714,14 +2712,14 @@ var Zi = (
2714
2712
  }
2715
2713
  break;
2716
2714
  }
2717
- var o = P(i, this.clonePosition());
2715
+ var o = A(i, this.clonePosition());
2718
2716
  return {
2719
- val: { type: D.literal, value: n, location: o },
2717
+ val: { type: L.literal, value: n, location: o },
2720
2718
  err: null
2721
2719
  };
2722
2720
  }, e.prototype.tryParseLeftAngleBracket = function() {
2723
2721
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2724
- !Ji(this.peek() || 0)) ? (this.bump(), "<") : null;
2722
+ !Zi(this.peek() || 0)) ? (this.bump(), "<") : null;
2725
2723
  }, e.prototype.tryParseQuote = function(t) {
2726
2724
  if (this.isEOF() || this.char() !== 39)
2727
2725
  return null;
@@ -2755,49 +2753,49 @@ var Zi = (
2755
2753
  r.push(i);
2756
2754
  this.bump();
2757
2755
  }
2758
- return ct.apply(void 0, r);
2756
+ return ht.apply(void 0, r);
2759
2757
  }, e.prototype.tryParseUnquoted = function(t, r) {
2760
2758
  if (this.isEOF())
2761
2759
  return null;
2762
2760
  var i = this.char();
2763
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), ct(i));
2761
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), ht(i));
2764
2762
  }, e.prototype.parseArgument = function(t, r) {
2765
2763
  var i = this.clonePosition();
2766
2764
  if (this.bump(), this.bumpSpace(), this.isEOF())
2767
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
2765
+ return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition()));
2768
2766
  if (this.char() === 125)
2769
- return this.bump(), this.error(H.EMPTY_ARGUMENT, P(i, this.clonePosition()));
2767
+ return this.bump(), this.error(H.EMPTY_ARGUMENT, A(i, this.clonePosition()));
2770
2768
  var n = this.parseIdentifierIfPossible().value;
2771
2769
  if (!n)
2772
- return this.error(H.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
2770
+ return this.error(H.MALFORMED_ARGUMENT, A(i, this.clonePosition()));
2773
2771
  if (this.bumpSpace(), this.isEOF())
2774
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
2772
+ return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition()));
2775
2773
  switch (this.char()) {
2776
2774
  case 125:
2777
2775
  return this.bump(), {
2778
2776
  val: {
2779
- type: D.argument,
2777
+ type: L.argument,
2780
2778
  // value does not include the opening and closing braces.
2781
2779
  value: n,
2782
- location: P(i, this.clonePosition())
2780
+ location: A(i, this.clonePosition())
2783
2781
  },
2784
2782
  err: null
2785
2783
  };
2786
2784
  case 44:
2787
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2785
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, A(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2788
2786
  default:
2789
- return this.error(H.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
2787
+ return this.error(H.MALFORMED_ARGUMENT, A(i, this.clonePosition()));
2790
2788
  }
2791
2789
  }, e.prototype.parseIdentifierIfPossible = function() {
2792
- var t = this.clonePosition(), r = this.offset(), i = dt(this.message, r), n = r + i.length;
2790
+ var t = this.clonePosition(), r = this.offset(), i = ft(this.message, r), n = r + i.length;
2793
2791
  this.bumpTo(n);
2794
- var s = this.clonePosition(), l = P(t, s);
2792
+ var s = this.clonePosition(), l = A(t, s);
2795
2793
  return { value: i, location: l };
2796
2794
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
2797
2795
  var s, l = this.clonePosition(), a = this.parseIdentifierIfPossible().value, o = this.clonePosition();
2798
2796
  switch (a) {
2799
2797
  case "":
2800
- return this.error(H.EXPECT_ARGUMENT_TYPE, P(l, o));
2798
+ return this.error(H.EXPECT_ARGUMENT_TYPE, A(l, o));
2801
2799
  case "number":
2802
2800
  case "date":
2803
2801
  case "time": {
@@ -2808,46 +2806,46 @@ var Zi = (
2808
2806
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2809
2807
  if (c.err)
2810
2808
  return c;
2811
- var p = Yi(c.val);
2809
+ var p = qi(c.val);
2812
2810
  if (p.length === 0)
2813
- return this.error(H.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
2814
- var _ = P(h, this.clonePosition());
2815
- u = { style: p, styleLocation: _ };
2811
+ return this.error(H.EXPECT_ARGUMENT_STYLE, A(this.clonePosition(), this.clonePosition()));
2812
+ var x = A(h, this.clonePosition());
2813
+ u = { style: p, styleLocation: x };
2816
2814
  }
2817
2815
  var S = this.tryParseArgumentClose(n);
2818
2816
  if (S.err)
2819
2817
  return S;
2820
- var v = P(n, this.clonePosition());
2821
- if (u && Ct(u?.style, "::", 0)) {
2822
- var M = qi(u.style.slice(2));
2818
+ var b = A(n, this.clonePosition());
2819
+ if (u && Mt(u?.style, "::", 0)) {
2820
+ var C = Wi(u.style.slice(2));
2823
2821
  if (a === "number") {
2824
- var c = this.parseNumberSkeletonFromString(M, u.styleLocation);
2822
+ var c = this.parseNumberSkeletonFromString(C, u.styleLocation);
2825
2823
  return c.err ? c : {
2826
- val: { type: D.number, value: i, location: v, style: c.val },
2824
+ val: { type: L.number, value: i, location: b, style: c.val },
2827
2825
  err: null
2828
2826
  };
2829
2827
  } else {
2830
- if (M.length === 0)
2831
- return this.error(H.EXPECT_DATE_TIME_SKELETON, v);
2832
- var U = M;
2833
- this.locale && (U = Li(M, this.locale));
2828
+ if (C.length === 0)
2829
+ return this.error(H.EXPECT_DATE_TIME_SKELETON, b);
2830
+ var U = C;
2831
+ this.locale && (U = Di(C, this.locale));
2834
2832
  var p = {
2835
- type: Se.dateTime,
2833
+ type: we.dateTime,
2836
2834
  pattern: U,
2837
2835
  location: u.styleLocation,
2838
2836
  parsedOptions: this.shouldParseSkeletons ? Pi(U) : {}
2839
- }, R = a === "date" ? D.date : D.time;
2837
+ }, R = a === "date" ? L.date : L.time;
2840
2838
  return {
2841
- val: { type: R, value: i, location: v, style: p },
2839
+ val: { type: R, value: i, location: b, style: p },
2842
2840
  err: null
2843
2841
  };
2844
2842
  }
2845
2843
  }
2846
2844
  return {
2847
2845
  val: {
2848
- type: a === "number" ? D.number : a === "date" ? D.date : D.time,
2846
+ type: a === "number" ? L.number : a === "date" ? L.date : L.time,
2849
2847
  value: i,
2850
- location: v,
2848
+ location: b,
2851
2849
  style: (s = u?.style) !== null && s !== void 0 ? s : null
2852
2850
  },
2853
2851
  err: null
@@ -2856,14 +2854,14 @@ var Zi = (
2856
2854
  case "plural":
2857
2855
  case "selectordinal":
2858
2856
  case "select": {
2859
- var $ = this.clonePosition();
2857
+ var B = this.clonePosition();
2860
2858
  if (this.bumpSpace(), !this.bumpIf(","))
2861
- return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, P($, Xe({}, $)));
2859
+ return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, A(B, $({}, B)));
2862
2860
  this.bumpSpace();
2863
2861
  var j = this.parseIdentifierIfPossible(), I = 0;
2864
2862
  if (a !== "select" && j.value === "offset") {
2865
2863
  if (!this.bumpIf(":"))
2866
- return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P(this.clonePosition(), this.clonePosition()));
2864
+ return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A(this.clonePosition(), this.clonePosition()));
2867
2865
  this.bumpSpace();
2868
2866
  var c = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2869
2867
  if (c.err)
@@ -2876,20 +2874,20 @@ var Zi = (
2876
2874
  var S = this.tryParseArgumentClose(n);
2877
2875
  if (S.err)
2878
2876
  return S;
2879
- var X = P(n, this.clonePosition());
2877
+ var X = A(n, this.clonePosition());
2880
2878
  return a === "select" ? {
2881
2879
  val: {
2882
- type: D.select,
2880
+ type: L.select,
2883
2881
  value: i,
2884
- options: Dt(k.val),
2882
+ options: Ct(k.val),
2885
2883
  location: X
2886
2884
  },
2887
2885
  err: null
2888
2886
  } : {
2889
2887
  val: {
2890
- type: D.plural,
2888
+ type: L.plural,
2891
2889
  value: i,
2892
- options: Dt(k.val),
2890
+ options: Ct(k.val),
2893
2891
  offset: I,
2894
2892
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2895
2893
  location: X
@@ -2898,10 +2896,10 @@ var Zi = (
2898
2896
  };
2899
2897
  }
2900
2898
  default:
2901
- return this.error(H.INVALID_ARGUMENT_TYPE, P(l, o));
2899
+ return this.error(H.INVALID_ARGUMENT_TYPE, A(l, o));
2902
2900
  }
2903
2901
  }, e.prototype.tryParseArgumentClose = function(t) {
2904
- return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2902
+ return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, A(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2905
2903
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2906
2904
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2907
2905
  var i = this.char();
@@ -2910,7 +2908,7 @@ var Zi = (
2910
2908
  this.bump();
2911
2909
  var n = this.clonePosition();
2912
2910
  if (!this.bumpUntil("'"))
2913
- return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, P(n, this.clonePosition()));
2911
+ return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, A(n, this.clonePosition()));
2914
2912
  this.bump();
2915
2913
  break;
2916
2914
  }
@@ -2940,16 +2938,16 @@ var Zi = (
2940
2938
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2941
2939
  var i = [];
2942
2940
  try {
2943
- i = $i(t);
2941
+ i = Oi(t);
2944
2942
  } catch {
2945
2943
  return this.error(H.INVALID_NUMBER_SKELETON, r);
2946
2944
  }
2947
2945
  return {
2948
2946
  val: {
2949
- type: Se.number,
2947
+ type: we.number,
2950
2948
  tokens: i,
2951
2949
  location: r,
2952
- parsedOptions: this.shouldParseSkeletons ? Di(i) : {}
2950
+ parsedOptions: this.shouldParseSkeletons ? Ci(i) : {}
2953
2951
  },
2954
2952
  err: null
2955
2953
  };
@@ -2961,31 +2959,31 @@ var Zi = (
2961
2959
  var p = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR, H.INVALID_PLURAL_ARGUMENT_SELECTOR);
2962
2960
  if (p.err)
2963
2961
  return p;
2964
- h = P(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2962
+ h = A(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2965
2963
  } else
2966
2964
  break;
2967
2965
  }
2968
2966
  if (o.has(u))
2969
2967
  return this.error(r === "select" ? H.DUPLICATE_SELECT_ARGUMENT_SELECTOR : H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2970
2968
  u === "other" && (l = !0), this.bumpSpace();
2971
- var _ = this.clonePosition();
2969
+ var x = this.clonePosition();
2972
2970
  if (!this.bumpIf("{"))
2973
- return this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, P(this.clonePosition(), this.clonePosition()));
2971
+ return this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, A(this.clonePosition(), this.clonePosition()));
2974
2972
  var S = this.parseMessage(t + 1, r, i);
2975
2973
  if (S.err)
2976
2974
  return S;
2977
- var v = this.tryParseArgumentClose(_);
2978
- if (v.err)
2979
- return v;
2975
+ var b = this.tryParseArgumentClose(x);
2976
+ if (b.err)
2977
+ return b;
2980
2978
  a.push([
2981
2979
  u,
2982
2980
  {
2983
2981
  value: S.val,
2984
- location: P(_, this.clonePosition())
2982
+ location: A(x, this.clonePosition())
2985
2983
  }
2986
2984
  ]), o.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
2987
2985
  }
2988
- return a.length === 0 ? this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, P(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !l ? this.error(H.MISSING_OTHER_CLAUSE, P(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2986
+ return a.length === 0 ? this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, A(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !l ? this.error(H.MISSING_OTHER_CLAUSE, A(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2989
2987
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2990
2988
  var i = 1, n = this.clonePosition();
2991
2989
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
@@ -2996,8 +2994,8 @@ var Zi = (
2996
2994
  else
2997
2995
  break;
2998
2996
  }
2999
- var o = P(n, this.clonePosition());
3000
- return s ? (l *= i, Xi(l) ? { val: l, err: null } : this.error(r, o)) : this.error(t, o);
2997
+ var o = A(n, this.clonePosition());
2998
+ return s ? (l *= i, zi(l) ? { val: l, err: null } : this.error(r, o)) : this.error(t, o);
3001
2999
  }, e.prototype.offset = function() {
3002
3000
  return this.position.offset;
3003
3001
  }, e.prototype.isEOF = function() {
@@ -3012,7 +3010,7 @@ var Zi = (
3012
3010
  var t = this.position.offset;
3013
3011
  if (t >= this.message.length)
3014
3012
  throw Error("out of bound");
3015
- var r = pr(this.message, t);
3013
+ var r = mr(this.message, t);
3016
3014
  if (r === void 0)
3017
3015
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3018
3016
  return r;
@@ -3031,7 +3029,7 @@ var Zi = (
3031
3029
  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);
3032
3030
  }
3033
3031
  }, e.prototype.bumpIf = function(t) {
3034
- if (Ct(this.message, t, this.offset())) {
3032
+ if (Mt(this.message, t, this.offset())) {
3035
3033
  for (var r = 0; r < t.length; r++)
3036
3034
  this.bump();
3037
3035
  return !0;
@@ -3053,7 +3051,7 @@ var Zi = (
3053
3051
  break;
3054
3052
  }
3055
3053
  }, e.prototype.bumpSpace = function() {
3056
- for (; !this.isEOF() && vr(this.char()); )
3054
+ for (; !this.isEOF() && gr(this.char()); )
3057
3055
  this.bump();
3058
3056
  }, e.prototype.peek = function() {
3059
3057
  if (this.isEOF())
@@ -3063,47 +3061,47 @@ var Zi = (
3063
3061
  }, e;
3064
3062
  }()
3065
3063
  );
3066
- function mt(e) {
3064
+ function ct(e) {
3067
3065
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3068
3066
  }
3069
- function Ji(e) {
3070
- return mt(e) || e === 47;
3067
+ function Zi(e) {
3068
+ return ct(e) || e === 47;
3071
3069
  }
3072
- function Qi(e) {
3070
+ function Ji(e) {
3073
3071
  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;
3074
3072
  }
3075
- function vr(e) {
3073
+ function gr(e) {
3076
3074
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3077
3075
  }
3078
- function Ki(e) {
3076
+ function Qi(e) {
3079
3077
  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;
3080
3078
  }
3081
- function pt(e) {
3079
+ function dt(e) {
3082
3080
  e.forEach(function(t) {
3083
- if (delete t.location, ar(t) || ur(t))
3081
+ if (delete t.location, or(t) || ar(t))
3084
3082
  for (var r in t.options)
3085
- delete t.options[r].location, pt(t.options[r].value);
3083
+ delete t.options[r].location, dt(t.options[r].value);
3086
3084
  else
3087
- nr(t) && hr(t.style) || (sr(t) || or(t)) && ht(t.style) ? delete t.style.location : lr(t) && pt(t.children);
3085
+ ir(t) && lr(t.style) || (nr(t) || sr(t)) && ut(t.style) ? delete t.style.location : ur(t) && dt(t.children);
3088
3086
  });
3089
3087
  }
3090
- function en(e, t) {
3091
- t === void 0 && (t = {}), t = Xe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3092
- var r = new Zi(e, t).parse();
3088
+ function Ki(e, t) {
3089
+ t === void 0 && (t = {}), t = $({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3090
+ var r = new Yi(e, t).parse();
3093
3091
  if (r.err) {
3094
3092
  var i = SyntaxError(H[r.err.kind]);
3095
3093
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3096
3094
  }
3097
- return t?.captureLocation || pt(r.val), r.val;
3095
+ return t?.captureLocation || dt(r.val), r.val;
3098
3096
  }
3099
- var Te;
3097
+ var Se;
3100
3098
  (function(e) {
3101
3099
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3102
- })(Te || (Te = {}));
3103
- var Je = (
3100
+ })(Se || (Se = {}));
3101
+ var Ye = (
3104
3102
  /** @class */
3105
3103
  function(e) {
3106
- Ze(t, e);
3104
+ qe(t, e);
3107
3105
  function t(r, i, n) {
3108
3106
  var s = e.call(this, r) || this;
3109
3107
  return s.code = i, s.originalMessage = n, s;
@@ -3112,47 +3110,47 @@ var Je = (
3112
3110
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3113
3111
  }, t;
3114
3112
  }(Error)
3115
- ), It = (
3113
+ ), Lt = (
3116
3114
  /** @class */
3117
3115
  function(e) {
3118
- Ze(t, e);
3116
+ qe(t, e);
3119
3117
  function t(r, i, n, s) {
3120
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Te.INVALID_VALUE, s) || this;
3118
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Se.INVALID_VALUE, s) || this;
3121
3119
  }
3122
3120
  return t;
3123
- }(Je)
3124
- ), tn = (
3121
+ }(Ye)
3122
+ ), en = (
3125
3123
  /** @class */
3126
3124
  function(e) {
3127
- Ze(t, e);
3125
+ qe(t, e);
3128
3126
  function t(r, i, n) {
3129
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Te.INVALID_VALUE, n) || this;
3127
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Se.INVALID_VALUE, n) || this;
3130
3128
  }
3131
3129
  return t;
3132
- }(Je)
3133
- ), rn = (
3130
+ }(Ye)
3131
+ ), tn = (
3134
3132
  /** @class */
3135
3133
  function(e) {
3136
- Ze(t, e);
3134
+ qe(t, e);
3137
3135
  function t(r, i) {
3138
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Te.MISSING_VALUE, i) || this;
3136
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Se.MISSING_VALUE, i) || this;
3139
3137
  }
3140
3138
  return t;
3141
- }(Je)
3139
+ }(Ye)
3142
3140
  ), G;
3143
3141
  (function(e) {
3144
3142
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3145
3143
  })(G || (G = {}));
3146
- function nn(e) {
3144
+ function rn(e) {
3147
3145
  return e.length < 2 ? e : e.reduce(function(t, r) {
3148
3146
  var i = t[t.length - 1];
3149
3147
  return !i || i.type !== G.literal || r.type !== G.literal ? t.push(r) : i.value += r.value, t;
3150
3148
  }, []);
3151
3149
  }
3152
- function sn(e) {
3150
+ function nn(e) {
3153
3151
  return typeof e == "function";
3154
3152
  }
3155
- function je(e, t, r, i, n, s, l) {
3153
+ function Ge(e, t, r, i, n, s, l) {
3156
3154
  if (e.length === 1 && At(e[0]))
3157
3155
  return [
3158
3156
  {
@@ -3169,7 +3167,7 @@ function je(e, t, r, i, n, s, l) {
3169
3167
  });
3170
3168
  continue;
3171
3169
  }
3172
- if (Hi(h)) {
3170
+ if (Ti(h)) {
3173
3171
  typeof s == "number" && a.push({
3174
3172
  type: G.literal,
3175
3173
  value: r.getNumberFormat(t).format(s)
@@ -3178,44 +3176,44 @@ function je(e, t, r, i, n, s, l) {
3178
3176
  }
3179
3177
  var c = h.value;
3180
3178
  if (!(n && c in n))
3181
- throw new rn(c, l);
3179
+ throw new tn(c, l);
3182
3180
  var p = n[c];
3183
- if (Ti(h)) {
3181
+ if (Si(h)) {
3184
3182
  (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
3185
3183
  type: typeof p == "string" ? G.literal : G.object,
3186
3184
  value: p
3187
3185
  });
3188
3186
  continue;
3189
3187
  }
3190
- if (sr(h)) {
3191
- var _ = typeof h.style == "string" ? i.date[h.style] : ht(h.style) ? h.style.parsedOptions : void 0;
3188
+ if (nr(h)) {
3189
+ var x = typeof h.style == "string" ? i.date[h.style] : ut(h.style) ? h.style.parsedOptions : void 0;
3192
3190
  a.push({
3193
3191
  type: G.literal,
3194
- value: r.getDateTimeFormat(t, _).format(p)
3192
+ value: r.getDateTimeFormat(t, x).format(p)
3195
3193
  });
3196
3194
  continue;
3197
3195
  }
3198
- if (or(h)) {
3199
- var _ = typeof h.style == "string" ? i.time[h.style] : ht(h.style) ? h.style.parsedOptions : i.time.medium;
3196
+ if (sr(h)) {
3197
+ var x = typeof h.style == "string" ? i.time[h.style] : ut(h.style) ? h.style.parsedOptions : i.time.medium;
3200
3198
  a.push({
3201
3199
  type: G.literal,
3202
- value: r.getDateTimeFormat(t, _).format(p)
3200
+ value: r.getDateTimeFormat(t, x).format(p)
3203
3201
  });
3204
3202
  continue;
3205
3203
  }
3206
- if (nr(h)) {
3207
- var _ = typeof h.style == "string" ? i.number[h.style] : hr(h.style) ? h.style.parsedOptions : void 0;
3208
- _ && _.scale && (p = p * (_.scale || 1)), a.push({
3204
+ if (ir(h)) {
3205
+ var x = typeof h.style == "string" ? i.number[h.style] : lr(h.style) ? h.style.parsedOptions : void 0;
3206
+ x && x.scale && (p = p * (x.scale || 1)), a.push({
3209
3207
  type: G.literal,
3210
- value: r.getNumberFormat(t, _).format(p)
3208
+ value: r.getNumberFormat(t, x).format(p)
3211
3209
  });
3212
3210
  continue;
3213
3211
  }
3214
- if (lr(h)) {
3215
- var S = h.children, v = h.value, M = n[v];
3216
- if (!sn(M))
3217
- throw new tn(v, "function", l);
3218
- var U = je(S, t, r, i, n, s), R = M(U.map(function(I) {
3212
+ if (ur(h)) {
3213
+ var S = h.children, b = h.value, C = n[b];
3214
+ if (!nn(C))
3215
+ throw new en(b, "function", l);
3216
+ var U = Ge(S, t, r, i, n, s), R = C(U.map(function(I) {
3219
3217
  return I.value;
3220
3218
  }));
3221
3219
  Array.isArray(R) || (R = [R]), a.push.apply(a, R.map(function(I) {
@@ -3225,42 +3223,42 @@ function je(e, t, r, i, n, s, l) {
3225
3223
  };
3226
3224
  }));
3227
3225
  }
3228
- if (ar(h)) {
3229
- var $ = h.options[p] || h.options.other;
3230
- if (!$)
3231
- throw new It(h.value, p, Object.keys(h.options), l);
3232
- a.push.apply(a, je($.value, t, r, i, n));
3226
+ if (or(h)) {
3227
+ var B = h.options[p] || h.options.other;
3228
+ if (!B)
3229
+ throw new Lt(h.value, p, Object.keys(h.options), l);
3230
+ a.push.apply(a, Ge(B.value, t, r, i, n));
3233
3231
  continue;
3234
3232
  }
3235
- if (ur(h)) {
3236
- var $ = h.options["=".concat(p)];
3237
- if (!$) {
3233
+ if (ar(h)) {
3234
+ var B = h.options["=".concat(p)];
3235
+ if (!B) {
3238
3236
  if (!Intl.PluralRules)
3239
- throw new Je(`Intl.PluralRules is not available in this environment.
3237
+ throw new Ye(`Intl.PluralRules is not available in this environment.
3240
3238
  Try polyfilling it using "@formatjs/intl-pluralrules"
3241
- `, Te.MISSING_INTL_API, l);
3239
+ `, Se.MISSING_INTL_API, l);
3242
3240
  var j = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
3243
- $ = h.options[j] || h.options.other;
3241
+ B = h.options[j] || h.options.other;
3244
3242
  }
3245
- if (!$)
3246
- throw new It(h.value, p, Object.keys(h.options), l);
3247
- a.push.apply(a, je($.value, t, r, i, n, p - (h.offset || 0)));
3243
+ if (!B)
3244
+ throw new Lt(h.value, p, Object.keys(h.options), l);
3245
+ a.push.apply(a, Ge(B.value, t, r, i, n, p - (h.offset || 0)));
3248
3246
  continue;
3249
3247
  }
3250
3248
  }
3251
- return nn(a);
3249
+ return rn(a);
3252
3250
  }
3253
- function on(e, t) {
3254
- return t ? re(re(re({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3255
- return r[i] = re(re({}, e[i]), t[i] || {}), r;
3251
+ function sn(e, t) {
3252
+ return t ? $($($({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3253
+ return r[i] = $($({}, e[i]), t[i] || {}), r;
3256
3254
  }, {})) : e;
3257
3255
  }
3258
- function an(e, t) {
3256
+ function on(e, t) {
3259
3257
  return t ? Object.keys(e).reduce(function(r, i) {
3260
- return r[i] = on(e[i], t[i]), r;
3261
- }, re({}, e)) : e;
3258
+ return r[i] = sn(e[i], t[i]), r;
3259
+ }, $({}, e)) : e;
3262
3260
  }
3263
- function nt(e) {
3261
+ function rt(e) {
3264
3262
  return {
3265
3263
  create: function() {
3266
3264
  return {
@@ -3274,35 +3272,35 @@ function nt(e) {
3274
3272
  }
3275
3273
  };
3276
3274
  }
3277
- function un(e) {
3275
+ function an(e) {
3278
3276
  return e === void 0 && (e = {
3279
3277
  number: {},
3280
3278
  dateTime: {},
3281
3279
  pluralRules: {}
3282
3280
  }), {
3283
- getNumberFormat: tt(function() {
3281
+ getNumberFormat: Ke(function() {
3284
3282
  for (var t, r = [], i = 0; i < arguments.length; i++)
3285
3283
  r[i] = arguments[i];
3286
- return new ((t = Intl.NumberFormat).bind.apply(t, et([void 0], r, !1)))();
3284
+ return new ((t = Intl.NumberFormat).bind.apply(t, Qe([void 0], r, !1)))();
3287
3285
  }, {
3288
- cache: nt(e.number),
3289
- strategy: rt.variadic
3286
+ cache: rt(e.number),
3287
+ strategy: et.variadic
3290
3288
  }),
3291
- getDateTimeFormat: tt(function() {
3289
+ getDateTimeFormat: Ke(function() {
3292
3290
  for (var t, r = [], i = 0; i < arguments.length; i++)
3293
3291
  r[i] = arguments[i];
3294
- return new ((t = Intl.DateTimeFormat).bind.apply(t, et([void 0], r, !1)))();
3292
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Qe([void 0], r, !1)))();
3295
3293
  }, {
3296
- cache: nt(e.dateTime),
3297
- strategy: rt.variadic
3294
+ cache: rt(e.dateTime),
3295
+ strategy: et.variadic
3298
3296
  }),
3299
- getPluralRules: tt(function() {
3297
+ getPluralRules: Ke(function() {
3300
3298
  for (var t, r = [], i = 0; i < arguments.length; i++)
3301
3299
  r[i] = arguments[i];
3302
- return new ((t = Intl.PluralRules).bind.apply(t, et([void 0], r, !1)))();
3300
+ return new ((t = Intl.PluralRules).bind.apply(t, Qe([void 0], r, !1)))();
3303
3301
  }, {
3304
- cache: nt(e.pluralRules),
3305
- strategy: rt.variadic
3302
+ cache: rt(e.pluralRules),
3303
+ strategy: et.variadic
3306
3304
  })
3307
3305
  };
3308
3306
  }
@@ -3325,7 +3323,7 @@ var br = (
3325
3323
  }, []);
3326
3324
  return h.length <= 1 ? h[0] || "" : h;
3327
3325
  }, this.formatToParts = function(o) {
3328
- return je(s.ast, s.locales, s.formatters, s.formats, o, void 0, s.message);
3326
+ return Ge(s.ast, s.locales, s.formatters, s.formats, o, void 0, s.message);
3329
3327
  }, this.resolvedOptions = function() {
3330
3328
  var o;
3331
3329
  return {
@@ -3338,13 +3336,13 @@ var br = (
3338
3336
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3339
3337
  var l = n || {};
3340
3338
  l.formatters;
3341
- var a = vi(l, ["formatters"]);
3342
- this.ast = e.__parse(t, re(re({}, a), { locale: this.resolvedLocale }));
3339
+ var a = gi(l, ["formatters"]);
3340
+ this.ast = e.__parse(t, $($({}, a), { locale: this.resolvedLocale }));
3343
3341
  } else
3344
3342
  this.ast = t;
3345
3343
  if (!Array.isArray(this.ast))
3346
3344
  throw new TypeError("A message must be provided as a String or AST.");
3347
- this.formats = an(e.formats, i), this.formatters = n && n.formatters || un(this.formatterCache);
3345
+ this.formats = on(e.formats, i), this.formatters = n && n.formatters || an(this.formatterCache);
3348
3346
  }
3349
3347
  return Object.defineProperty(e, "defaultLocale", {
3350
3348
  get: function() {
@@ -3357,7 +3355,7 @@ var br = (
3357
3355
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3358
3356
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3359
3357
  }
3360
- }, e.__parse = en, e.formats = {
3358
+ }, e.__parse = Ki, e.formats = {
3361
3359
  number: {
3362
3360
  integer: {
3363
3361
  maximumFractionDigits: 0
@@ -3418,7 +3416,7 @@ var br = (
3418
3416
  }, e;
3419
3417
  }()
3420
3418
  );
3421
- function ln(e, t) {
3419
+ function un(e, t) {
3422
3420
  if (t == null)
3423
3421
  return;
3424
3422
  if (t in e)
@@ -3439,101 +3437,101 @@ function ln(e, t) {
3439
3437
  i = void 0;
3440
3438
  return i;
3441
3439
  }
3442
- const le = {}, hn = (e, t, r) => r && (t in le || (le[t] = {}), e in le[t] || (le[t][e] = r), r), yr = (e, t) => {
3440
+ const ue = {}, ln = (e, t, r) => r && (t in ue || (ue[t] = {}), e in ue[t] || (ue[t][e] = r), r), vr = (e, t) => {
3443
3441
  if (t == null)
3444
3442
  return;
3445
- if (t in le && e in le[t])
3446
- return le[t][e];
3447
- const r = Re(t);
3443
+ if (t in ue && e in ue[t])
3444
+ return ue[t][e];
3445
+ const r = Ne(t);
3448
3446
  for (let i = 0; i < r.length; i++) {
3449
- const n = r[i], s = cn(n, e);
3447
+ const n = r[i], s = fn(n, e);
3450
3448
  if (s)
3451
- return hn(e, t, s);
3449
+ return ln(e, t, s);
3452
3450
  }
3453
3451
  };
3454
3452
  let xt;
3455
- const Ne = Ie({});
3456
- function fn(e) {
3453
+ const Ie = Le({});
3454
+ function hn(e) {
3457
3455
  return xt[e] || null;
3458
3456
  }
3459
- function _r(e) {
3457
+ function yr(e) {
3460
3458
  return e in xt;
3461
3459
  }
3462
- function cn(e, t) {
3463
- if (!_r(e))
3460
+ function fn(e, t) {
3461
+ if (!yr(e))
3464
3462
  return null;
3465
- const r = fn(e);
3466
- return ln(r, t);
3463
+ const r = hn(e);
3464
+ return un(r, t);
3467
3465
  }
3468
- function dn(e) {
3466
+ function cn(e) {
3469
3467
  if (e == null)
3470
3468
  return;
3471
- const t = Re(e);
3469
+ const t = Ne(e);
3472
3470
  for (let r = 0; r < t.length; r++) {
3473
3471
  const i = t[r];
3474
- if (_r(i))
3472
+ if (yr(i))
3475
3473
  return i;
3476
3474
  }
3477
3475
  }
3478
3476
  function xr(e, ...t) {
3479
- delete le[e], Ne.update((r) => (r[e] = gi.all([r[e] || {}, ...t]), r));
3477
+ delete ue[e], Ie.update((r) => (r[e] = pi.all([r[e] || {}, ...t]), r));
3480
3478
  }
3481
- Oe(
3482
- [Ne],
3479
+ He(
3480
+ [Ie],
3483
3481
  ([e]) => Object.keys(e)
3484
3482
  );
3485
- Ne.subscribe((e) => xt = e);
3486
- const ze = {};
3487
- function mn(e, t) {
3488
- ze[e].delete(t), ze[e].size === 0 && delete ze[e];
3483
+ Ie.subscribe((e) => xt = e);
3484
+ const je = {};
3485
+ function dn(e, t) {
3486
+ je[e].delete(t), je[e].size === 0 && delete je[e];
3489
3487
  }
3490
- function Er(e) {
3491
- return ze[e];
3488
+ function _r(e) {
3489
+ return je[e];
3492
3490
  }
3493
- function pn(e) {
3494
- return Re(e).map((t) => {
3495
- const r = Er(t);
3491
+ function mn(e) {
3492
+ return Ne(e).map((t) => {
3493
+ const r = _r(t);
3496
3494
  return [t, r ? [...r] : []];
3497
3495
  }).filter(([, t]) => t.length > 0);
3498
3496
  }
3499
- function We(e) {
3500
- return e == null ? !1 : Re(e).some(
3497
+ function ze(e) {
3498
+ return e == null ? !1 : Ne(e).some(
3501
3499
  (t) => {
3502
3500
  var r;
3503
- return (r = Er(t)) == null ? void 0 : r.size;
3501
+ return (r = _r(t)) == null ? void 0 : r.size;
3504
3502
  }
3505
3503
  );
3506
3504
  }
3507
- function gn(e, t) {
3505
+ function pn(e, t) {
3508
3506
  return Promise.all(
3509
- t.map((i) => (mn(e, i), i().then((n) => n.default || n)))
3507
+ t.map((i) => (dn(e, i), i().then((n) => n.default || n)))
3510
3508
  ).then((i) => xr(e, ...i));
3511
3509
  }
3512
3510
  const Ae = {};
3513
- function wr(e) {
3514
- if (!We(e))
3511
+ function Er(e) {
3512
+ if (!ze(e))
3515
3513
  return e in Ae ? Ae[e] : Promise.resolve();
3516
- const t = pn(e);
3514
+ const t = mn(e);
3517
3515
  return Ae[e] = Promise.all(
3518
3516
  t.map(
3519
- ([r, i]) => gn(r, i)
3517
+ ([r, i]) => pn(r, i)
3520
3518
  )
3521
3519
  ).then(() => {
3522
- if (We(e))
3523
- return wr(e);
3520
+ if (ze(e))
3521
+ return Er(e);
3524
3522
  delete Ae[e];
3525
3523
  }), Ae[e];
3526
3524
  }
3527
- var Nt = Object.getOwnPropertySymbols, vn = Object.prototype.hasOwnProperty, bn = Object.prototype.propertyIsEnumerable, yn = (e, t) => {
3525
+ var It = Object.getOwnPropertySymbols, gn = Object.prototype.hasOwnProperty, bn = Object.prototype.propertyIsEnumerable, vn = (e, t) => {
3528
3526
  var r = {};
3529
3527
  for (var i in e)
3530
- vn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3531
- if (e != null && Nt)
3532
- for (var i of Nt(e))
3528
+ gn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3529
+ if (e != null && It)
3530
+ for (var i of It(e))
3533
3531
  t.indexOf(i) < 0 && bn.call(e, i) && (r[i] = e[i]);
3534
3532
  return r;
3535
3533
  };
3536
- const _n = {
3534
+ const yn = {
3537
3535
  number: {
3538
3536
  scientific: { notation: "scientific" },
3539
3537
  engineering: { notation: "engineering" },
@@ -3565,26 +3563,26 @@ const _n = {
3565
3563
  };
3566
3564
  function xn({ locale: e, id: t }) {
3567
3565
  console.warn(
3568
- `[svelte-i18n] The message "${t}" was not found in "${Re(
3566
+ `[svelte-i18n] The message "${t}" was not found in "${Ne(
3569
3567
  e
3570
- ).join('", "')}".${We(he()) ? `
3568
+ ).join('", "')}".${ze(le()) ? `
3571
3569
 
3572
3570
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3573
3571
  );
3574
3572
  }
3575
- const En = {
3573
+ const _n = {
3576
3574
  fallbackLocale: null,
3577
3575
  loadingDelay: 200,
3578
- formats: _n,
3576
+ formats: yn,
3579
3577
  warnOnMissingMessages: !0,
3580
3578
  handleMissingMessage: void 0,
3581
3579
  ignoreTag: !0
3582
- }, $e = En;
3583
- function He() {
3584
- return $e;
3580
+ }, Oe = _n;
3581
+ function Te() {
3582
+ return Oe;
3585
3583
  }
3586
- function wn(e) {
3587
- const t = e, { formats: r } = t, i = yn(t, ["formats"]);
3584
+ function En(e) {
3585
+ const t = e, { formats: r } = t, i = vn(t, ["formats"]);
3588
3586
  let n = e.fallbackLocale;
3589
3587
  if (e.initialLocale)
3590
3588
  try {
@@ -3596,141 +3594,141 @@ function wn(e) {
3596
3594
  }
3597
3595
  return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = xn : console.warn(
3598
3596
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3599
- )), Object.assign($e, i, { initialLocale: n }), r && ("number" in r && Object.assign($e.formats.number, r.number), "date" in r && Object.assign($e.formats.date, r.date), "time" in r && Object.assign($e.formats.time, r.time)), me.set(n);
3600
- }
3601
- const st = Ie(!1);
3602
- var Sn = Object.defineProperty, Tn = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, On = Object.prototype.hasOwnProperty, Pn = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? Sn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, An = (e, t) => {
3603
- for (var r in t || (t = {}))
3604
- On.call(t, r) && kt(e, r, t[r]);
3605
- if (Rt)
3606
- for (var r of Rt(t))
3607
- Pn.call(t, r) && kt(e, r, t[r]);
3597
+ )), Object.assign(Oe, i, { initialLocale: n }), r && ("number" in r && Object.assign(Oe.formats.number, r.number), "date" in r && Object.assign(Oe.formats.date, r.date), "time" in r && Object.assign(Oe.formats.time, r.time)), de.set(n);
3598
+ }
3599
+ const it = Le(!1);
3600
+ var wn = Object.defineProperty, Sn = Object.defineProperties, Tn = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, Hn = Object.prototype.hasOwnProperty, Pn = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, An = (e, t) => {
3601
+ for (var r in t)
3602
+ Hn.call(t, r) && Rt(e, r, t[r]);
3603
+ if (Nt)
3604
+ for (var r of Nt(t))
3605
+ Pn.call(t, r) && Rt(e, r, t[r]);
3608
3606
  return e;
3609
- }, $n = (e, t) => Tn(e, Hn(t));
3610
- let gt;
3611
- const qe = Ie(null);
3612
- function Ut(e) {
3607
+ }, On = (e, t) => Sn(e, Tn(t));
3608
+ let mt;
3609
+ const Xe = Le(null);
3610
+ function kt(e) {
3613
3611
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3614
3612
  }
3615
- function Re(e, t = He().fallbackLocale) {
3616
- const r = Ut(e);
3617
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
3613
+ function Ne(e, t = Te().fallbackLocale) {
3614
+ const r = kt(e);
3615
+ return t ? [.../* @__PURE__ */ new Set([...r, ...kt(t)])] : r;
3618
3616
  }
3619
- function he() {
3620
- return gt ?? void 0;
3617
+ function le() {
3618
+ return mt ?? void 0;
3621
3619
  }
3622
- qe.subscribe((e) => {
3623
- gt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3620
+ Xe.subscribe((e) => {
3621
+ mt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3624
3622
  });
3625
- const Bn = (e) => {
3626
- if (e && dn(e) && We(e)) {
3627
- const { loadingDelay: t } = He();
3623
+ const $n = (e) => {
3624
+ if (e && cn(e) && ze(e)) {
3625
+ const { loadingDelay: t } = Te();
3628
3626
  let r;
3629
- return typeof window < "u" && he() != null && t ? r = window.setTimeout(
3630
- () => st.set(!0),
3627
+ return typeof window < "u" && le() != null && t ? r = window.setTimeout(
3628
+ () => it.set(!0),
3631
3629
  t
3632
- ) : st.set(!0), wr(e).then(() => {
3633
- qe.set(e);
3630
+ ) : it.set(!0), Er(e).then(() => {
3631
+ Xe.set(e);
3634
3632
  }).finally(() => {
3635
- clearTimeout(r), st.set(!1);
3633
+ clearTimeout(r), it.set(!1);
3636
3634
  });
3637
3635
  }
3638
- return qe.set(e);
3639
- }, me = $n(An({}, qe), {
3640
- set: Bn
3641
- }), Qe = (e) => {
3636
+ return Xe.set(e);
3637
+ }, de = On(An({}, Xe), {
3638
+ set: $n
3639
+ }), Ze = (e) => {
3642
3640
  const t = /* @__PURE__ */ Object.create(null);
3643
3641
  return (i) => {
3644
3642
  const n = JSON.stringify(i);
3645
3643
  return n in t ? t[n] : t[n] = e(i);
3646
3644
  };
3647
3645
  };
3648
- var Mn = Object.defineProperty, Ye = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Ft = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
3646
+ var Bn = Object.defineProperty, We = Object.getOwnPropertySymbols, wr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? Bn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _t = (e, t) => {
3649
3647
  for (var r in t || (t = {}))
3650
- Sr.call(t, r) && Ft(e, r, t[r]);
3651
- if (Ye)
3652
- for (var r of Ye(t))
3653
- Tr.call(t, r) && Ft(e, r, t[r]);
3648
+ wr.call(t, r) && Ut(e, r, t[r]);
3649
+ if (We)
3650
+ for (var r of We(t))
3651
+ Sr.call(t, r) && Ut(e, r, t[r]);
3654
3652
  return e;
3655
3653
  }, Pe = (e, t) => {
3656
3654
  var r = {};
3657
3655
  for (var i in e)
3658
- Sr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3659
- if (e != null && Ye)
3660
- for (var i of Ye(e))
3661
- t.indexOf(i) < 0 && Tr.call(e, i) && (r[i] = e[i]);
3656
+ wr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3657
+ if (e != null && We)
3658
+ for (var i of We(e))
3659
+ t.indexOf(i) < 0 && Sr.call(e, i) && (r[i] = e[i]);
3662
3660
  return r;
3663
3661
  };
3664
- const De = (e, t) => {
3665
- const { formats: r } = He();
3662
+ const Ce = (e, t) => {
3663
+ const { formats: r } = Te();
3666
3664
  if (e in r && t in r[e])
3667
3665
  return r[e][t];
3668
3666
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3669
- }, Cn = Qe(
3667
+ }, Mn = Ze(
3670
3668
  (e) => {
3671
3669
  var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3672
3670
  if (r == null)
3673
3671
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3674
- return i && (n = De("number", i)), new Intl.NumberFormat(r, n);
3672
+ return i && (n = Ce("number", i)), new Intl.NumberFormat(r, n);
3675
3673
  }
3676
- ), Dn = Qe(
3674
+ ), Cn = Ze(
3677
3675
  (e) => {
3678
3676
  var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3679
3677
  if (r == null)
3680
3678
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3681
- return i ? n = De("date", i) : Object.keys(n).length === 0 && (n = De("date", "short")), new Intl.DateTimeFormat(r, n);
3679
+ return i ? n = Ce("date", i) : Object.keys(n).length === 0 && (n = Ce("date", "short")), new Intl.DateTimeFormat(r, n);
3682
3680
  }
3683
- ), Ln = Qe(
3681
+ ), Dn = Ze(
3684
3682
  (e) => {
3685
3683
  var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3686
3684
  if (r == null)
3687
3685
  throw new Error(
3688
3686
  '[svelte-i18n] A "locale" must be set to format time values'
3689
3687
  );
3690
- return i ? n = De("time", i) : Object.keys(n).length === 0 && (n = De("time", "short")), new Intl.DateTimeFormat(r, n);
3688
+ return i ? n = Ce("time", i) : Object.keys(n).length === 0 && (n = Ce("time", "short")), new Intl.DateTimeFormat(r, n);
3691
3689
  }
3692
- ), In = (e = {}) => {
3690
+ ), Ln = (e = {}) => {
3693
3691
  var t = e, {
3694
- locale: r = he()
3692
+ locale: r = le()
3695
3693
  } = t, i = Pe(t, [
3696
3694
  "locale"
3697
3695
  ]);
3698
- return Cn(Et({ locale: r }, i));
3699
- }, Nn = (e = {}) => {
3696
+ return Mn(_t({ locale: r }, i));
3697
+ }, In = (e = {}) => {
3700
3698
  var t = e, {
3701
- locale: r = he()
3699
+ locale: r = le()
3702
3700
  } = t, i = Pe(t, [
3703
3701
  "locale"
3704
3702
  ]);
3705
- return Dn(Et({ locale: r }, i));
3706
- }, Rn = (e = {}) => {
3703
+ return Cn(_t({ locale: r }, i));
3704
+ }, Nn = (e = {}) => {
3707
3705
  var t = e, {
3708
- locale: r = he()
3706
+ locale: r = le()
3709
3707
  } = t, i = Pe(t, [
3710
3708
  "locale"
3711
3709
  ]);
3712
- return Ln(Et({ locale: r }, i));
3713
- }, kn = Qe(
3710
+ return Dn(_t({ locale: r }, i));
3711
+ }, Rn = Ze(
3714
3712
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3715
- (e, t = he()) => new br(e, t, He().formats, {
3716
- ignoreTag: He().ignoreTag
3713
+ (e, t = le()) => new br(e, t, Te().formats, {
3714
+ ignoreTag: Te().ignoreTag
3717
3715
  })
3718
- ), Un = (e, t = {}) => {
3716
+ ), kn = (e, t = {}) => {
3719
3717
  var r, i, n, s;
3720
3718
  let l = t;
3721
3719
  typeof e == "object" && (l = e, e = l.id);
3722
3720
  const {
3723
3721
  values: a,
3724
- locale: o = he(),
3722
+ locale: o = le(),
3725
3723
  default: u
3726
3724
  } = l;
3727
3725
  if (o == null)
3728
3726
  throw new Error(
3729
3727
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3730
3728
  );
3731
- let h = yr(e, o);
3729
+ let h = vr(e, o);
3732
3730
  if (!h)
3733
- h = (s = (n = (i = (r = He()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: o, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
3731
+ h = (s = (n = (i = (r = Te()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: o, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
3734
3732
  else if (typeof h != "string")
3735
3733
  return console.warn(
3736
3734
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3739,7 +3737,7 @@ const De = (e, t) => {
3739
3737
  return h;
3740
3738
  let c = h;
3741
3739
  try {
3742
- c = kn(h, o).format(a);
3740
+ c = Rn(h, o).format(a);
3743
3741
  } catch (p) {
3744
3742
  p instanceof Error && console.warn(
3745
3743
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3747,20 +3745,20 @@ const De = (e, t) => {
3747
3745
  );
3748
3746
  }
3749
3747
  return c;
3750
- }, Fn = (e, t) => Rn(t).format(e), Vn = (e, t) => Nn(t).format(e), Gn = (e, t) => In(t).format(e), jn = (e, t = he()) => yr(e, t), zn = Oe([me, Ne], () => Un);
3751
- Oe([me], () => Fn);
3752
- Oe([me], () => Vn);
3753
- Oe([me], () => Gn);
3754
- Oe([me, Ne], () => jn);
3755
- function Vt(e, t) {
3748
+ }, Un = (e, t) => Nn(t).format(e), Fn = (e, t) => In(t).format(e), Vn = (e, t) => Ln(t).format(e), Gn = (e, t = le()) => vr(e, t), jn = He([de, Ie], () => kn);
3749
+ He([de], () => Un);
3750
+ He([de], () => Fn);
3751
+ He([de], () => Vn);
3752
+ He([de, Ie], () => Gn);
3753
+ function Ft(e, t) {
3756
3754
  xr(e, t);
3757
3755
  }
3758
- function Xn(e) {
3759
- wn({
3756
+ function zn(e) {
3757
+ En({
3760
3758
  fallbackLocale: "en"
3761
- }), me.set(e);
3759
+ }), de.set(e);
3762
3760
  }
3763
- const Gt = {
3761
+ const Vt = {
3764
3762
  en: {
3765
3763
  "verification.video.how-to": "How to verify yourself",
3766
3764
  "verification.idenfy.referred-awaiting": "ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back",
@@ -3828,41 +3826,41 @@ if (typeof window < "u") {
3828
3826
  }
3829
3827
  };
3830
3828
  };
3831
- customElements.define = e(customElements.define), import("./CashierVideoModal-D54H_jPz.js").then(({ default: t }) => {
3829
+ customElements.define = e(customElements.define), import("./CashierVideoModal-CAk2Y4tu.js").then(({ default: t }) => {
3832
3830
  !customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", t.element);
3833
3831
  });
3834
3832
  }
3835
- let Wn = Ie(null);
3836
- var Hr = { exports: {} };
3833
+ let Xn = Le(null);
3834
+ var Tr = { exports: {} };
3837
3835
  (function(e, t) {
3838
3836
  (function(r, i) {
3839
3837
  e.exports = i();
3840
- })(er, function() {
3841
- var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", l = "second", a = "minute", o = "hour", u = "day", h = "week", c = "month", p = "quarter", _ = "year", S = "date", v = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, U = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(x) {
3842
- var g = ["th", "st", "nd", "rd"], d = x % 100;
3843
- return "[" + x + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
3844
- } }, $ = function(x, g, d) {
3845
- var b = String(x);
3846
- return !b || b.length >= g ? x : "" + Array(g + 1 - b.length).join(d) + x;
3847
- }, j = { s: $, z: function(x) {
3848
- var g = -x.utcOffset(), d = Math.abs(g), b = Math.floor(d / 60), m = d % 60;
3849
- return (g <= 0 ? "+" : "-") + $(b, 2, "0") + ":" + $(m, 2, "0");
3850
- }, m: function x(g, d) {
3838
+ })(Kt, function() {
3839
+ var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", l = "second", a = "minute", o = "hour", u = "day", h = "week", c = "month", p = "quarter", x = "year", S = "date", b = "Invalid Date", C = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, U = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(_) {
3840
+ var g = ["th", "st", "nd", "rd"], d = _ % 100;
3841
+ return "[" + _ + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
3842
+ } }, B = function(_, g, d) {
3843
+ var v = String(_);
3844
+ return !v || v.length >= g ? _ : "" + Array(g + 1 - v.length).join(d) + _;
3845
+ }, j = { s: B, z: function(_) {
3846
+ var g = -_.utcOffset(), d = Math.abs(g), v = Math.floor(d / 60), m = d % 60;
3847
+ return (g <= 0 ? "+" : "-") + B(v, 2, "0") + ":" + B(m, 2, "0");
3848
+ }, m: function _(g, d) {
3851
3849
  if (g.date() < d.date())
3852
- return -x(d, g);
3853
- var b = 12 * (d.year() - g.year()) + (d.month() - g.month()), m = g.clone().add(b, c), E = d - m < 0, w = g.clone().add(b + (E ? -1 : 1), c);
3854
- return +(-(b + (d - m) / (E ? m - w : w - m)) || 0);
3855
- }, a: function(x) {
3856
- return x < 0 ? Math.ceil(x) || 0 : Math.floor(x);
3857
- }, p: function(x) {
3858
- return { M: c, y: _, w: h, d: u, D: S, h: o, m: a, s: l, ms: s, Q: p }[x] || String(x || "").toLowerCase().replace(/s$/, "");
3859
- }, u: function(x) {
3860
- return x === void 0;
3850
+ return -_(d, g);
3851
+ var v = 12 * (d.year() - g.year()) + (d.month() - g.month()), m = g.clone().add(v, c), E = d - m < 0, w = g.clone().add(v + (E ? -1 : 1), c);
3852
+ return +(-(v + (d - m) / (E ? m - w : w - m)) || 0);
3853
+ }, a: function(_) {
3854
+ return _ < 0 ? Math.ceil(_) || 0 : Math.floor(_);
3855
+ }, p: function(_) {
3856
+ return { M: c, y: x, w: h, d: u, D: S, h: o, m: a, s: l, ms: s, Q: p }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
3857
+ }, u: function(_) {
3858
+ return _ === void 0;
3861
3859
  } }, I = "en", k = {};
3862
3860
  k[I] = R;
3863
- var X = "$isDayjsObject", Z = function(x) {
3864
- return x instanceof pe || !(!x || !x[X]);
3865
- }, W = function x(g, d, b) {
3861
+ var X = "$isDayjsObject", Z = function(_) {
3862
+ return _ instanceof me || !(!_ || !_[X]);
3863
+ }, W = function _(g, d, v) {
3866
3864
  var m;
3867
3865
  if (!g)
3868
3866
  return I;
@@ -3871,40 +3869,40 @@ var Hr = { exports: {} };
3871
3869
  k[E] && (m = E), d && (k[E] = d, m = E);
3872
3870
  var w = g.split("-");
3873
3871
  if (!m && w.length > 1)
3874
- return x(w[0]);
3872
+ return _(w[0]);
3875
3873
  } else {
3876
- var B = g.name;
3877
- k[B] = g, m = B;
3874
+ var M = g.name;
3875
+ k[M] = g, m = M;
3878
3876
  }
3879
- return !b && m && (I = m), m || !b && I;
3880
- }, A = function(x, g) {
3881
- if (Z(x))
3882
- return x.clone();
3877
+ return !v && m && (I = m), m || !v && I;
3878
+ }, O = function(_, g) {
3879
+ if (Z(_))
3880
+ return _.clone();
3883
3881
  var d = typeof g == "object" ? g : {};
3884
- return d.date = x, d.args = arguments, new pe(d);
3885
- }, O = j;
3886
- O.l = W, O.i = Z, O.w = function(x, g) {
3887
- return A(x, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3882
+ return d.date = _, d.args = arguments, new me(d);
3883
+ }, P = j;
3884
+ P.l = W, P.i = Z, P.w = function(_, g) {
3885
+ return O(_, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3888
3886
  };
3889
- var pe = function() {
3890
- function x(d) {
3887
+ var me = function() {
3888
+ function _(d) {
3891
3889
  this.$L = W(d.locale, null, !0), this.parse(d), this.$x = this.$x || d.x || {}, this[X] = !0;
3892
3890
  }
3893
- var g = x.prototype;
3891
+ var g = _.prototype;
3894
3892
  return g.parse = function(d) {
3895
- this.$d = function(b) {
3896
- var m = b.date, E = b.utc;
3893
+ this.$d = function(v) {
3894
+ var m = v.date, E = v.utc;
3897
3895
  if (m === null)
3898
3896
  return /* @__PURE__ */ new Date(NaN);
3899
- if (O.u(m))
3897
+ if (P.u(m))
3900
3898
  return /* @__PURE__ */ new Date();
3901
3899
  if (m instanceof Date)
3902
3900
  return new Date(m);
3903
3901
  if (typeof m == "string" && !/Z$/i.test(m)) {
3904
- var w = m.match(M);
3902
+ var w = m.match(C);
3905
3903
  if (w) {
3906
- var B = w[2] - 1 || 0, C = (w[7] || "0").substring(0, 3);
3907
- return E ? new Date(Date.UTC(w[1], B, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, C)) : new Date(w[1], B, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, C);
3904
+ var M = w[2] - 1 || 0, D = (w[7] || "0").substring(0, 3);
3905
+ return E ? new Date(Date.UTC(w[1], M, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D)) : new Date(w[1], M, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D);
3908
3906
  }
3909
3907
  }
3910
3908
  return new Date(m);
@@ -3913,143 +3911,143 @@ var Hr = { exports: {} };
3913
3911
  var d = this.$d;
3914
3912
  this.$y = d.getFullYear(), this.$M = d.getMonth(), this.$D = d.getDate(), this.$W = d.getDay(), this.$H = d.getHours(), this.$m = d.getMinutes(), this.$s = d.getSeconds(), this.$ms = d.getMilliseconds();
3915
3913
  }, g.$utils = function() {
3916
- return O;
3914
+ return P;
3917
3915
  }, g.isValid = function() {
3918
- return this.$d.toString() !== v;
3919
- }, g.isSame = function(d, b) {
3920
- var m = A(d);
3921
- return this.startOf(b) <= m && m <= this.endOf(b);
3922
- }, g.isAfter = function(d, b) {
3923
- return A(d) < this.startOf(b);
3924
- }, g.isBefore = function(d, b) {
3925
- return this.endOf(b) < A(d);
3926
- }, g.$g = function(d, b, m) {
3927
- return O.u(d) ? this[b] : this.set(m, d);
3916
+ return this.$d.toString() !== b;
3917
+ }, g.isSame = function(d, v) {
3918
+ var m = O(d);
3919
+ return this.startOf(v) <= m && m <= this.endOf(v);
3920
+ }, g.isAfter = function(d, v) {
3921
+ return O(d) < this.startOf(v);
3922
+ }, g.isBefore = function(d, v) {
3923
+ return this.endOf(v) < O(d);
3924
+ }, g.$g = function(d, v, m) {
3925
+ return P.u(d) ? this[v] : this.set(m, d);
3928
3926
  }, g.unix = function() {
3929
3927
  return Math.floor(this.valueOf() / 1e3);
3930
3928
  }, g.valueOf = function() {
3931
3929
  return this.$d.getTime();
3932
- }, g.startOf = function(d, b) {
3933
- var m = this, E = !!O.u(b) || b, w = O.p(d), B = function(oe, V) {
3934
- var q = O.w(m.$u ? Date.UTC(m.$y, V, oe) : new Date(m.$y, V, oe), m);
3930
+ }, g.startOf = function(d, v) {
3931
+ var m = this, E = !!P.u(v) || v, w = P.p(d), M = function(se, V) {
3932
+ var q = P.w(m.$u ? Date.UTC(m.$y, V, se) : new Date(m.$y, V, se), m);
3935
3933
  return E ? q : q.endOf(u);
3936
- }, C = function(oe, V) {
3937
- return O.w(m.toDate()[oe].apply(m.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(V)), m);
3938
- }, N = this.$W, F = this.$M, z = this.$D, ne = "set" + (this.$u ? "UTC" : "");
3934
+ }, D = function(se, V) {
3935
+ return P.w(m.toDate()[se].apply(m.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(V)), m);
3936
+ }, N = this.$W, F = this.$M, z = this.$D, ie = "set" + (this.$u ? "UTC" : "");
3939
3937
  switch (w) {
3940
- case _:
3941
- return E ? B(1, 0) : B(31, 11);
3938
+ case x:
3939
+ return E ? M(1, 0) : M(31, 11);
3942
3940
  case c:
3943
- return E ? B(1, F) : B(0, F + 1);
3941
+ return E ? M(1, F) : M(0, F + 1);
3944
3942
  case h:
3945
- var se = this.$locale().weekStart || 0, fe = (N < se ? N + 7 : N) - se;
3946
- return B(E ? z - fe : z + (6 - fe), F);
3943
+ var ne = this.$locale().weekStart || 0, he = (N < ne ? N + 7 : N) - ne;
3944
+ return M(E ? z - he : z + (6 - he), F);
3947
3945
  case u:
3948
3946
  case S:
3949
- return C(ne + "Hours", 0);
3947
+ return D(ie + "Hours", 0);
3950
3948
  case o:
3951
- return C(ne + "Minutes", 1);
3949
+ return D(ie + "Minutes", 1);
3952
3950
  case a:
3953
- return C(ne + "Seconds", 2);
3951
+ return D(ie + "Seconds", 2);
3954
3952
  case l:
3955
- return C(ne + "Milliseconds", 3);
3953
+ return D(ie + "Milliseconds", 3);
3956
3954
  default:
3957
3955
  return this.clone();
3958
3956
  }
3959
3957
  }, g.endOf = function(d) {
3960
3958
  return this.startOf(d, !1);
3961
- }, g.$set = function(d, b) {
3962
- var m, E = O.p(d), w = "set" + (this.$u ? "UTC" : ""), B = (m = {}, m[u] = w + "Date", m[S] = w + "Date", m[c] = w + "Month", m[_] = w + "FullYear", m[o] = w + "Hours", m[a] = w + "Minutes", m[l] = w + "Seconds", m[s] = w + "Milliseconds", m)[E], C = E === u ? this.$D + (b - this.$W) : b;
3963
- if (E === c || E === _) {
3959
+ }, g.$set = function(d, v) {
3960
+ var m, E = P.p(d), w = "set" + (this.$u ? "UTC" : ""), M = (m = {}, m[u] = w + "Date", m[S] = w + "Date", m[c] = w + "Month", m[x] = w + "FullYear", m[o] = w + "Hours", m[a] = w + "Minutes", m[l] = w + "Seconds", m[s] = w + "Milliseconds", m)[E], D = E === u ? this.$D + (v - this.$W) : v;
3961
+ if (E === c || E === x) {
3964
3962
  var N = this.clone().set(S, 1);
3965
- N.$d[B](C), N.init(), this.$d = N.set(S, Math.min(this.$D, N.daysInMonth())).$d;
3963
+ N.$d[M](D), N.init(), this.$d = N.set(S, Math.min(this.$D, N.daysInMonth())).$d;
3966
3964
  } else
3967
- B && this.$d[B](C);
3965
+ M && this.$d[M](D);
3968
3966
  return this.init(), this;
3969
- }, g.set = function(d, b) {
3970
- return this.clone().$set(d, b);
3967
+ }, g.set = function(d, v) {
3968
+ return this.clone().$set(d, v);
3971
3969
  }, g.get = function(d) {
3972
- return this[O.p(d)]();
3973
- }, g.add = function(d, b) {
3970
+ return this[P.p(d)]();
3971
+ }, g.add = function(d, v) {
3974
3972
  var m, E = this;
3975
3973
  d = Number(d);
3976
- var w = O.p(b), B = function(F) {
3977
- var z = A(E);
3978
- return O.w(z.date(z.date() + Math.round(F * d)), E);
3974
+ var w = P.p(v), M = function(F) {
3975
+ var z = O(E);
3976
+ return P.w(z.date(z.date() + Math.round(F * d)), E);
3979
3977
  };
3980
3978
  if (w === c)
3981
3979
  return this.set(c, this.$M + d);
3982
- if (w === _)
3983
- return this.set(_, this.$y + d);
3980
+ if (w === x)
3981
+ return this.set(x, this.$y + d);
3984
3982
  if (w === u)
3985
- return B(1);
3983
+ return M(1);
3986
3984
  if (w === h)
3987
- return B(7);
3988
- var C = (m = {}, m[a] = i, m[o] = n, m[l] = r, m)[w] || 1, N = this.$d.getTime() + d * C;
3989
- return O.w(N, this);
3990
- }, g.subtract = function(d, b) {
3991
- return this.add(-1 * d, b);
3985
+ return M(7);
3986
+ var D = (m = {}, m[a] = i, m[o] = n, m[l] = r, m)[w] || 1, N = this.$d.getTime() + d * D;
3987
+ return P.w(N, this);
3988
+ }, g.subtract = function(d, v) {
3989
+ return this.add(-1 * d, v);
3992
3990
  }, g.format = function(d) {
3993
- var b = this, m = this.$locale();
3991
+ var v = this, m = this.$locale();
3994
3992
  if (!this.isValid())
3995
- return m.invalidDate || v;
3996
- var E = d || "YYYY-MM-DDTHH:mm:ssZ", w = O.z(this), B = this.$H, C = this.$m, N = this.$M, F = m.weekdays, z = m.months, ne = m.meridiem, se = function(V, q, ce, ge) {
3997
- return V && (V[q] || V(b, E)) || ce[q].slice(0, ge);
3998
- }, fe = function(V) {
3999
- return O.s(B % 12 || 12, V, "0");
4000
- }, oe = ne || function(V, q, ce) {
4001
- var ge = V < 12 ? "AM" : "PM";
4002
- return ce ? ge.toLowerCase() : ge;
3993
+ return m.invalidDate || b;
3994
+ var E = d || "YYYY-MM-DDTHH:mm:ssZ", w = P.z(this), M = this.$H, D = this.$m, N = this.$M, F = m.weekdays, z = m.months, ie = m.meridiem, ne = function(V, q, fe, pe) {
3995
+ return V && (V[q] || V(v, E)) || fe[q].slice(0, pe);
3996
+ }, he = function(V) {
3997
+ return P.s(M % 12 || 12, V, "0");
3998
+ }, se = ie || function(V, q, fe) {
3999
+ var pe = V < 12 ? "AM" : "PM";
4000
+ return fe ? pe.toLowerCase() : pe;
4003
4001
  };
4004
4002
  return E.replace(U, function(V, q) {
4005
- return q || function(ce) {
4006
- switch (ce) {
4003
+ return q || function(fe) {
4004
+ switch (fe) {
4007
4005
  case "YY":
4008
- return String(b.$y).slice(-2);
4006
+ return String(v.$y).slice(-2);
4009
4007
  case "YYYY":
4010
- return O.s(b.$y, 4, "0");
4008
+ return P.s(v.$y, 4, "0");
4011
4009
  case "M":
4012
4010
  return N + 1;
4013
4011
  case "MM":
4014
- return O.s(N + 1, 2, "0");
4012
+ return P.s(N + 1, 2, "0");
4015
4013
  case "MMM":
4016
- return se(m.monthsShort, N, z, 3);
4014
+ return ne(m.monthsShort, N, z, 3);
4017
4015
  case "MMMM":
4018
- return se(z, N);
4016
+ return ne(z, N);
4019
4017
  case "D":
4020
- return b.$D;
4018
+ return v.$D;
4021
4019
  case "DD":
4022
- return O.s(b.$D, 2, "0");
4020
+ return P.s(v.$D, 2, "0");
4023
4021
  case "d":
4024
- return String(b.$W);
4022
+ return String(v.$W);
4025
4023
  case "dd":
4026
- return se(m.weekdaysMin, b.$W, F, 2);
4024
+ return ne(m.weekdaysMin, v.$W, F, 2);
4027
4025
  case "ddd":
4028
- return se(m.weekdaysShort, b.$W, F, 3);
4026
+ return ne(m.weekdaysShort, v.$W, F, 3);
4029
4027
  case "dddd":
4030
- return F[b.$W];
4028
+ return F[v.$W];
4031
4029
  case "H":
4032
- return String(B);
4030
+ return String(M);
4033
4031
  case "HH":
4034
- return O.s(B, 2, "0");
4032
+ return P.s(M, 2, "0");
4035
4033
  case "h":
4036
- return fe(1);
4034
+ return he(1);
4037
4035
  case "hh":
4038
- return fe(2);
4036
+ return he(2);
4039
4037
  case "a":
4040
- return oe(B, C, !0);
4038
+ return se(M, D, !0);
4041
4039
  case "A":
4042
- return oe(B, C, !1);
4040
+ return se(M, D, !1);
4043
4041
  case "m":
4044
- return String(C);
4042
+ return String(D);
4045
4043
  case "mm":
4046
- return O.s(C, 2, "0");
4044
+ return P.s(D, 2, "0");
4047
4045
  case "s":
4048
- return String(b.$s);
4046
+ return String(v.$s);
4049
4047
  case "ss":
4050
- return O.s(b.$s, 2, "0");
4048
+ return P.s(v.$s, 2, "0");
4051
4049
  case "SSS":
4052
- return O.s(b.$ms, 3, "0");
4050
+ return P.s(v.$ms, 3, "0");
4053
4051
  case "Z":
4054
4052
  return w;
4055
4053
  }
@@ -4058,12 +4056,12 @@ var Hr = { exports: {} };
4058
4056
  });
4059
4057
  }, g.utcOffset = function() {
4060
4058
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4061
- }, g.diff = function(d, b, m) {
4062
- var E, w = this, B = O.p(b), C = A(d), N = (C.utcOffset() - this.utcOffset()) * i, F = this - C, z = function() {
4063
- return O.m(w, C);
4059
+ }, g.diff = function(d, v, m) {
4060
+ var E, w = this, M = P.p(v), D = O(d), N = (D.utcOffset() - this.utcOffset()) * i, F = this - D, z = function() {
4061
+ return P.m(w, D);
4064
4062
  };
4065
- switch (B) {
4066
- case _:
4063
+ switch (M) {
4064
+ case x:
4067
4065
  E = z() / 12;
4068
4066
  break;
4069
4067
  case c:
@@ -4090,18 +4088,18 @@ var Hr = { exports: {} };
4090
4088
  default:
4091
4089
  E = F;
4092
4090
  }
4093
- return m ? E : O.a(E);
4091
+ return m ? E : P.a(E);
4094
4092
  }, g.daysInMonth = function() {
4095
4093
  return this.endOf(c).$D;
4096
4094
  }, g.$locale = function() {
4097
4095
  return k[this.$L];
4098
- }, g.locale = function(d, b) {
4096
+ }, g.locale = function(d, v) {
4099
4097
  if (!d)
4100
4098
  return this.$L;
4101
- var m = this.clone(), E = W(d, b, !0);
4099
+ var m = this.clone(), E = W(d, v, !0);
4102
4100
  return E && (m.$L = E), m;
4103
4101
  }, g.clone = function() {
4104
- return O.w(this.$d, this);
4102
+ return P.w(this.$d, this);
4105
4103
  }, g.toDate = function() {
4106
4104
  return new Date(this.valueOf());
4107
4105
  }, g.toJSON = function() {
@@ -4110,81 +4108,81 @@ var Hr = { exports: {} };
4110
4108
  return this.$d.toISOString();
4111
4109
  }, g.toString = function() {
4112
4110
  return this.$d.toUTCString();
4113
- }, x;
4114
- }(), ke = pe.prototype;
4115
- return A.prototype = ke, [["$ms", s], ["$s", l], ["$m", a], ["$H", o], ["$W", u], ["$M", c], ["$y", _], ["$D", S]].forEach(function(x) {
4116
- ke[x[1]] = function(g) {
4117
- return this.$g(g, x[0], x[1]);
4111
+ }, _;
4112
+ }(), Re = me.prototype;
4113
+ return O.prototype = Re, [["$ms", s], ["$s", l], ["$m", a], ["$H", o], ["$W", u], ["$M", c], ["$y", x], ["$D", S]].forEach(function(_) {
4114
+ Re[_[1]] = function(g) {
4115
+ return this.$g(g, _[0], _[1]);
4118
4116
  };
4119
- }), A.extend = function(x, g) {
4120
- return x.$i || (x(g, pe, A), x.$i = !0), A;
4121
- }, A.locale = W, A.isDayjs = Z, A.unix = function(x) {
4122
- return A(1e3 * x);
4123
- }, A.en = k[I], A.Ls = k, A.p = {}, A;
4117
+ }), O.extend = function(_, g) {
4118
+ return _.$i || (_(g, me, O), _.$i = !0), O;
4119
+ }, O.locale = W, O.isDayjs = Z, O.unix = function(_) {
4120
+ return O(1e3 * _);
4121
+ }, O.en = k[I], O.Ls = k, O.p = {}, O;
4124
4122
  });
4125
- })(Hr);
4126
- var qn = Hr.exports;
4127
- const jt = /* @__PURE__ */ _t(qn);
4128
- var Or = { exports: {} };
4123
+ })(Tr);
4124
+ var Wn = Tr.exports;
4125
+ const Gt = /* @__PURE__ */ vt(Wn);
4126
+ var Hr = { exports: {} };
4129
4127
  (function(e, t) {
4130
4128
  (function(r, i) {
4131
4129
  e.exports = i();
4132
- })(er, function() {
4130
+ })(Kt, function() {
4133
4131
  var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
4134
4132
  return function(s, l, a) {
4135
4133
  var o = l.prototype;
4136
- a.utc = function(v) {
4137
- var M = { date: v, utc: !0, args: arguments };
4138
- return new l(M);
4139
- }, o.utc = function(v) {
4140
- var M = a(this.toDate(), { locale: this.$L, utc: !0 });
4141
- return v ? M.add(this.utcOffset(), r) : M;
4134
+ a.utc = function(b) {
4135
+ var C = { date: b, utc: !0, args: arguments };
4136
+ return new l(C);
4137
+ }, o.utc = function(b) {
4138
+ var C = a(this.toDate(), { locale: this.$L, utc: !0 });
4139
+ return b ? C.add(this.utcOffset(), r) : C;
4142
4140
  }, o.local = function() {
4143
4141
  return a(this.toDate(), { locale: this.$L, utc: !1 });
4144
4142
  };
4145
4143
  var u = o.parse;
4146
- o.parse = function(v) {
4147
- v.utc && (this.$u = !0), this.$utils().u(v.$offset) || (this.$offset = v.$offset), u.call(this, v);
4144
+ o.parse = function(b) {
4145
+ b.utc && (this.$u = !0), this.$utils().u(b.$offset) || (this.$offset = b.$offset), u.call(this, b);
4148
4146
  };
4149
4147
  var h = o.init;
4150
4148
  o.init = function() {
4151
4149
  if (this.$u) {
4152
- var v = this.$d;
4153
- this.$y = v.getUTCFullYear(), this.$M = v.getUTCMonth(), this.$D = v.getUTCDate(), this.$W = v.getUTCDay(), this.$H = v.getUTCHours(), this.$m = v.getUTCMinutes(), this.$s = v.getUTCSeconds(), this.$ms = v.getUTCMilliseconds();
4150
+ var b = this.$d;
4151
+ this.$y = b.getUTCFullYear(), this.$M = b.getUTCMonth(), this.$D = b.getUTCDate(), this.$W = b.getUTCDay(), this.$H = b.getUTCHours(), this.$m = b.getUTCMinutes(), this.$s = b.getUTCSeconds(), this.$ms = b.getUTCMilliseconds();
4154
4152
  } else
4155
4153
  h.call(this);
4156
4154
  };
4157
4155
  var c = o.utcOffset;
4158
- o.utcOffset = function(v, M) {
4156
+ o.utcOffset = function(b, C) {
4159
4157
  var U = this.$utils().u;
4160
- if (U(v))
4158
+ if (U(b))
4161
4159
  return this.$u ? 0 : U(this.$offset) ? c.call(this) : this.$offset;
4162
- if (typeof v == "string" && (v = function(I) {
4160
+ if (typeof b == "string" && (b = function(I) {
4163
4161
  I === void 0 && (I = "");
4164
4162
  var k = I.match(i);
4165
4163
  if (!k)
4166
4164
  return null;
4167
4165
  var X = ("" + k[0]).match(n) || ["-", 0, 0], Z = X[0], W = 60 * +X[1] + +X[2];
4168
4166
  return W === 0 ? 0 : Z === "+" ? W : -W;
4169
- }(v), v === null))
4167
+ }(b), b === null))
4170
4168
  return this;
4171
- var R = Math.abs(v) <= 16 ? 60 * v : v, $ = this;
4172
- if (M)
4173
- return $.$offset = R, $.$u = v === 0, $;
4174
- if (v !== 0) {
4169
+ var R = Math.abs(b) <= 16 ? 60 * b : b, B = this;
4170
+ if (C)
4171
+ return B.$offset = R, B.$u = b === 0, B;
4172
+ if (b !== 0) {
4175
4173
  var j = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4176
- ($ = this.local().add(R + j, r)).$offset = R, $.$x.$localOffset = j;
4174
+ (B = this.local().add(R + j, r)).$offset = R, B.$x.$localOffset = j;
4177
4175
  } else
4178
- $ = this.utc();
4179
- return $;
4176
+ B = this.utc();
4177
+ return B;
4180
4178
  };
4181
4179
  var p = o.format;
4182
- o.format = function(v) {
4183
- var M = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4184
- return p.call(this, M);
4180
+ o.format = function(b) {
4181
+ var C = b || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4182
+ return p.call(this, C);
4185
4183
  }, o.valueOf = function() {
4186
- var v = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4187
- return this.$d.valueOf() - 6e4 * v;
4184
+ var b = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4185
+ return this.$d.valueOf() - 6e4 * b;
4188
4186
  }, o.isUTC = function() {
4189
4187
  return !!this.$u;
4190
4188
  }, o.toISOString = function() {
@@ -4192,61 +4190,61 @@ var Or = { exports: {} };
4192
4190
  }, o.toString = function() {
4193
4191
  return this.toDate().toUTCString();
4194
4192
  };
4195
- var _ = o.toDate;
4196
- o.toDate = function(v) {
4197
- return v === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : _.call(this);
4193
+ var x = o.toDate;
4194
+ o.toDate = function(b) {
4195
+ return b === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : x.call(this);
4198
4196
  };
4199
4197
  var S = o.diff;
4200
- o.diff = function(v, M, U) {
4201
- if (v && this.$u === v.$u)
4202
- return S.call(this, v, M, U);
4203
- var R = this.local(), $ = a(v).local();
4204
- return S.call(R, $, M, U);
4198
+ o.diff = function(b, C, U) {
4199
+ if (b && this.$u === b.$u)
4200
+ return S.call(this, b, C, U);
4201
+ var R = this.local(), B = a(b).local();
4202
+ return S.call(R, B, C, U);
4205
4203
  };
4206
4204
  };
4207
4205
  });
4208
- })(Or);
4209
- var Yn = Or.exports;
4210
- const Zn = /* @__PURE__ */ _t(Yn);
4211
- function Jn(e) {
4212
- Dr(e, "svelte-1emynn4", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
4206
+ })(Hr);
4207
+ var qn = Hr.exports;
4208
+ const Yn = /* @__PURE__ */ vt(qn);
4209
+ function Zn(e) {
4210
+ Cr(e, "svelte-1emynn4", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
4213
4211
  }
4214
- function zt(e, t, r) {
4212
+ function jt(e, t, r) {
4215
4213
  const i = e.slice();
4216
4214
  return i[52] = t[r], i[54] = r, i;
4217
4215
  }
4218
- function Xt(e) {
4219
- let t, r, i, n, s = Ot(
4216
+ function zt(e) {
4217
+ let t, r, i, n, s = Ht(
4220
4218
  /*displayMessages*/
4221
4219
  e[4]
4222
4220
  ), l = [];
4223
4221
  for (let o = 0; o < s.length; o += 1)
4224
- l[o] = qt(zt(e, s, o));
4222
+ l[o] = Wt(jt(e, s, o));
4225
4223
  let a = (
4226
4224
  /*videoExists*/
4227
- e[7] && Yt(e)
4225
+ e[7] && qt(e)
4228
4226
  );
4229
4227
  return {
4230
4228
  c() {
4231
4229
  t = Y("div");
4232
4230
  for (let o = 0; o < l.length; o += 1)
4233
4231
  l[o].c();
4234
- r = _e(), a && a.c(), i = _e(), n = Y("cashier-video-modal"), ee(t, "class", "CashierVerificationsWrapper"), ue(
4232
+ r = ye(), a && a.c(), i = ye(), n = Y("cashier-video-modal"), ee(t, "class", "CashierVerificationsWrapper"), ae(
4235
4233
  n,
4236
4234
  "clientstylingurl",
4237
4235
  /*clientstylingurl*/
4238
4236
  e[1]
4239
- ), ue(
4237
+ ), ae(
4240
4238
  n,
4241
4239
  "clientstyling",
4242
4240
  /*clientstyling*/
4243
4241
  e[0]
4244
- ), ue(
4242
+ ), ae(
4245
4243
  n,
4246
4244
  "ismobileview",
4247
4245
  /*ismobileview*/
4248
4246
  e[2]
4249
- ), ue(
4247
+ ), ae(
4250
4248
  n,
4251
4249
  "videosrc",
4252
4250
  /*videoSrc*/
@@ -4254,48 +4252,48 @@ function Xt(e) {
4254
4252
  );
4255
4253
  },
4256
4254
  m(o, u) {
4257
- ae(o, t, u);
4255
+ oe(o, t, u);
4258
4256
  for (let h = 0; h < l.length; h += 1)
4259
4257
  l[h] && l[h].m(t, null);
4260
- ae(o, r, u), a && a.m(o, u), ae(o, i, u), ae(o, n, u);
4258
+ oe(o, r, u), a && a.m(o, u), oe(o, i, u), oe(o, n, u);
4261
4259
  },
4262
4260
  p(o, u) {
4263
4261
  if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
4264
4262
  1072) {
4265
- s = Ot(
4263
+ s = Ht(
4266
4264
  /*displayMessages*/
4267
4265
  o[4]
4268
4266
  );
4269
4267
  let h;
4270
4268
  for (h = 0; h < s.length; h += 1) {
4271
- const c = zt(o, s, h);
4272
- l[h] ? l[h].p(c, u) : (l[h] = qt(c), l[h].c(), l[h].m(t, null));
4269
+ const c = jt(o, s, h);
4270
+ l[h] ? l[h].p(c, u) : (l[h] = Wt(c), l[h].c(), l[h].m(t, null));
4273
4271
  }
4274
4272
  for (; h < l.length; h += 1)
4275
4273
  l[h].d(1);
4276
4274
  l.length = s.length;
4277
4275
  }
4278
4276
  /*videoExists*/
4279
- o[7] ? a ? a.p(o, u) : (a = Yt(o), a.c(), a.m(i.parentNode, i)) : a && (a.d(1), a = null), u[0] & /*clientstylingurl*/
4280
- 2 && ue(
4277
+ o[7] ? a ? a.p(o, u) : (a = qt(o), a.c(), a.m(i.parentNode, i)) : a && (a.d(1), a = null), u[0] & /*clientstylingurl*/
4278
+ 2 && ae(
4281
4279
  n,
4282
4280
  "clientstylingurl",
4283
4281
  /*clientstylingurl*/
4284
4282
  o[1]
4285
4283
  ), u[0] & /*clientstyling*/
4286
- 1 && ue(
4284
+ 1 && ae(
4287
4285
  n,
4288
4286
  "clientstyling",
4289
4287
  /*clientstyling*/
4290
4288
  o[0]
4291
4289
  ), u[0] & /*ismobileview*/
4292
- 4 && ue(
4290
+ 4 && ae(
4293
4291
  n,
4294
4292
  "ismobileview",
4295
4293
  /*ismobileview*/
4296
4294
  o[2]
4297
4295
  ), u[0] & /*videoSrc*/
4298
- 256 && ue(
4296
+ 256 && ae(
4299
4297
  n,
4300
4298
  "videosrc",
4301
4299
  /*videoSrc*/
@@ -4303,11 +4301,11 @@ function Xt(e) {
4303
4301
  );
4304
4302
  },
4305
4303
  d(o) {
4306
- o && (ie(t), ie(r), ie(i), ie(n)), Nr(l, o), a && a.d(o);
4304
+ o && (re(t), re(r), re(i), re(n)), Ir(l, o), a && a.d(o);
4307
4305
  }
4308
4306
  };
4309
4307
  }
4310
- function Wt(e) {
4308
+ function Xt(e) {
4311
4309
  let t, r, i;
4312
4310
  function n(...s) {
4313
4311
  return (
@@ -4324,24 +4322,24 @@ function Wt(e) {
4324
4322
  t = Y("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', ee(t, "class", "CashierVerificationChevron");
4325
4323
  },
4326
4324
  m(s, l) {
4327
- ae(s, t, l), r || (i = yt(t, "click", n), r = !0);
4325
+ oe(s, t, l), r || (i = bt(t, "click", n), r = !0);
4328
4326
  },
4329
4327
  p(s, l) {
4330
4328
  e = s;
4331
4329
  },
4332
4330
  d(s) {
4333
- s && ie(t), r = !1, i();
4331
+ s && re(t), r = !1, i();
4334
4332
  }
4335
4333
  };
4336
4334
  }
4337
- function qt(e) {
4335
+ function Wt(e) {
4338
4336
  let t, r, i, n, s = (
4339
4337
  /*message*/
4340
4338
  e[52] + ""
4341
4339
  ), l, a, o, u, h = (
4342
4340
  /*displayMessages*/
4343
4341
  e[4].length > 1 && /*index*/
4344
- e[54] === 0 && Wt(e)
4342
+ e[54] === 0 && Xt(e)
4345
4343
  );
4346
4344
  function c(...p) {
4347
4345
  return (
@@ -4355,23 +4353,23 @@ function qt(e) {
4355
4353
  }
4356
4354
  return {
4357
4355
  c() {
4358
- t = Y("div"), r = Y("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = _e(), n = Y("p"), l = _e(), h && h.c(), a = _e(), ee(r, "class", "IconVerification"), ee(n, "class", "text"), ee(t, "class", "CashierVerificationMessage"), Ee(
4356
+ t = Y("div"), r = Y("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = ye(), n = Y("p"), l = ye(), h && h.c(), a = ye(), ee(r, "class", "IconVerification"), ee(n, "class", "text"), ee(t, "class", "CashierVerificationMessage"), _e(
4359
4357
  t,
4360
4358
  "ShowAll",
4361
4359
  /*allVerificationsVisible*/
4362
4360
  e[5]
4363
4361
  );
4364
4362
  },
4365
- m(p, _) {
4366
- ae(p, t, _), te(t, r), te(t, i), te(t, n), n.innerHTML = s, te(t, l), h && h.m(t, null), te(t, a), o || (u = yt(t, "click", c), o = !0);
4363
+ m(p, x) {
4364
+ oe(p, t, x), te(t, r), te(t, i), te(t, n), n.innerHTML = s, te(t, l), h && h.m(t, null), te(t, a), o || (u = bt(t, "click", c), o = !0);
4367
4365
  },
4368
- p(p, _) {
4369
- e = p, _[0] & /*displayMessages*/
4366
+ p(p, x) {
4367
+ e = p, x[0] & /*displayMessages*/
4370
4368
  16 && s !== (s = /*message*/
4371
4369
  e[52] + "") && (n.innerHTML = s), /*displayMessages*/
4372
4370
  e[4].length > 1 && /*index*/
4373
- e[54] === 0 ? h ? h.p(e, _) : (h = Wt(e), h.c(), h.m(t, a)) : h && (h.d(1), h = null), _[0] & /*allVerificationsVisible*/
4374
- 32 && Ee(
4371
+ e[54] === 0 ? h ? h.p(e, x) : (h = Xt(e), h.c(), h.m(t, a)) : h && (h.d(1), h = null), x[0] & /*allVerificationsVisible*/
4372
+ 32 && _e(
4375
4373
  t,
4376
4374
  "ShowAll",
4377
4375
  /*allVerificationsVisible*/
@@ -4379,18 +4377,18 @@ function qt(e) {
4379
4377
  );
4380
4378
  },
4381
4379
  d(p) {
4382
- p && ie(t), h && h.d(), o = !1, u();
4380
+ p && re(t), h && h.d(), o = !1, u();
4383
4381
  }
4384
4382
  };
4385
4383
  }
4386
- function Yt(e) {
4384
+ function qt(e) {
4387
4385
  let t, r, i, n, s = (
4388
4386
  /*$_*/
4389
4387
  e[9]("verification.video.how-to") + ""
4390
4388
  ), l, a, o;
4391
4389
  return {
4392
4390
  c() {
4393
- t = Y("div"), r = Y("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = _e(), n = Y("div"), l = bt(s), ee(r, "class", "IconVideo"), ee(n, "class", "CashierVerificationVideoLink"), Ee(
4391
+ t = Y("div"), r = Y("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = ye(), n = Y("div"), l = gt(s), ee(r, "class", "IconVideo"), ee(n, "class", "CashierVerificationVideoLink"), _e(
4394
4392
  n,
4395
4393
  "CashierVerificationVideoLinkDesktop",
4396
4394
  /*desktopView*/
@@ -4398,7 +4396,7 @@ function Yt(e) {
4398
4396
  ), ee(t, "class", "CashierVerificationVideo");
4399
4397
  },
4400
4398
  m(u, h) {
4401
- ae(u, t, h), te(t, r), te(t, i), te(t, n), te(n, l), a || (o = yt(
4399
+ oe(u, t, h), te(t, r), te(t, i), te(t, n), te(n, l), a || (o = bt(
4402
4400
  n,
4403
4401
  "click",
4404
4402
  /*click_handler_2*/
@@ -4408,8 +4406,8 @@ function Yt(e) {
4408
4406
  p(u, h) {
4409
4407
  h[0] & /*$_*/
4410
4408
  512 && s !== (s = /*$_*/
4411
- u[9]("verification.video.how-to") + "") && kr(l, s), h[0] & /*desktopView*/
4412
- 64 && Ee(
4409
+ u[9]("verification.video.how-to") + "") && Rr(l, s), h[0] & /*desktopView*/
4410
+ 64 && _e(
4413
4411
  n,
4414
4412
  "CashierVerificationVideoLinkDesktop",
4415
4413
  /*desktopView*/
@@ -4417,18 +4415,18 @@ function Yt(e) {
4417
4415
  );
4418
4416
  },
4419
4417
  d(u) {
4420
- u && ie(t), a = !1, o();
4418
+ u && re(t), a = !1, o();
4421
4419
  }
4422
4420
  };
4423
4421
  }
4424
- function Qn(e) {
4422
+ function Jn(e) {
4425
4423
  let t, r = (
4426
4424
  /*displayMessages*/
4427
- e[4] && Xt(e)
4425
+ e[4] && zt(e)
4428
4426
  );
4429
4427
  return {
4430
4428
  c() {
4431
- t = Y("div"), r && r.c(), ee(t, "class", "CashierVerifications"), Ee(
4429
+ t = Y("div"), r && r.c(), ee(t, "class", "CashierVerifications"), _e(
4432
4430
  t,
4433
4431
  "CashierVerificationsDesktop",
4434
4432
  /*desktopView*/
@@ -4436,12 +4434,12 @@ function Qn(e) {
4436
4434
  );
4437
4435
  },
4438
4436
  m(i, n) {
4439
- ae(i, t, n), r && r.m(t, null), e[22](t);
4437
+ oe(i, t, n), r && r.m(t, null), e[22](t);
4440
4438
  },
4441
4439
  p(i, n) {
4442
4440
  /*displayMessages*/
4443
- i[4] ? r ? r.p(i, n) : (r = Xt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null), n[0] & /*desktopView*/
4444
- 64 && Ee(
4441
+ i[4] ? r ? r.p(i, n) : (r = zt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null), n[0] & /*desktopView*/
4442
+ 64 && _e(
4445
4443
  t,
4446
4444
  "CashierVerificationsDesktop",
4447
4445
  /*desktopView*/
@@ -4451,15 +4449,15 @@ function Qn(e) {
4451
4449
  i: K,
4452
4450
  o: K,
4453
4451
  d(i) {
4454
- i && ie(t), r && r.d(), e[22](null);
4452
+ i && re(t), r && r.d(), e[22](null);
4455
4453
  }
4456
4454
  };
4457
4455
  }
4458
- const Kn = "verification_explanation_video_widgets.MP4";
4459
- function es(e, t, r) {
4456
+ const Qn = "verification_explanation_video_widgets.MP4";
4457
+ function Kn(e, t, r) {
4460
4458
  let i, n;
4461
- Tt(e, zn, (f) => r(9, i = f)), Tt(e, Wn, (f) => r(28, n = f)), jt.extend(Zn);
4462
- let { endpoint: s } = t, { lang: l = "en" } = t, { translationurl: a = "" } = t, { clientstyling: o = "" } = t, { clientstylingurl: u = "" } = t, { session: h = "" } = t, { customerid: c = "" } = t, { ismobileview: p = "" } = t, { playersession: _ = "" } = t, S, v = /* @__PURE__ */ new Set(), M = /* @__PURE__ */ new Set(), U, R, $, j = !0, I = !0, k = !1, X = "";
4459
+ St(e, jn, (f) => r(9, i = f)), St(e, Xn, (f) => r(28, n = f)), Gt.extend(Yn);
4460
+ let { endpoint: s } = t, { lang: l = "en" } = t, { translationurl: a = "" } = t, { clientstyling: o = "" } = t, { clientstylingurl: u = "" } = t, { session: h = "" } = t, { customerid: c = "" } = t, { ismobileview: p = "" } = t, { playersession: x = "" } = t, S, b = /* @__PURE__ */ new Set(), C = /* @__PURE__ */ new Set(), U, R, B, j = !0, I = !0, k = !1, X = "";
4463
4461
  var Z;
4464
4462
  (function(f) {
4465
4463
  f.Manual = "Manual", f.ShuftiPro = "ShuftiPro";
@@ -4468,34 +4466,34 @@ function es(e, t, r) {
4468
4466
  (function(f) {
4469
4467
  f.Requested = "Requested";
4470
4468
  })(W || (W = {}));
4471
- var A;
4469
+ var O;
4472
4470
  (function(f) {
4473
4471
  f.Unknown = "Unknown", f.Unverified = "Unverified", f.InProgress = "InProgress", f.Failed = "Failed", f.Verified = "Verified", f.Referred = "Referred", f.True = "True", f.False = "False", f.AwaitingForResponse = "AwaitingForResponse";
4474
- })(A || (A = {}));
4475
- var O;
4472
+ })(O || (O = {}));
4473
+ var P;
4476
4474
  (function(f) {
4477
4475
  f.Unknown = "Unknown", f.Documents = "Documents", f.Age = "Age", f.Pep = "Pep", f.Sanction = "Sanction", f.Aml = "Aml", f.ProofOfAddress = "ProofOfAddress", f.SourceOfWealth = "SourceOfWealth", f.SocialMedia = "SocialMedia", f.Biometric = "Biometric";
4478
- })(O || (O = {}));
4479
- const pe = [
4480
- A.InProgress,
4481
- A.Referred,
4482
- A.AwaitingForResponse
4483
- ], ke = () => {
4476
+ })(P || (P = {}));
4477
+ const me = [
4478
+ O.InProgress,
4479
+ O.Referred,
4480
+ O.AwaitingForResponse
4481
+ ], Re = () => {
4484
4482
  let f = a;
4485
4483
  if (f)
4486
4484
  return fetch(f).then((y) => y.json()).then((y) => {
4487
4485
  Object.keys(y).forEach((T) => {
4488
- Vt(T, y[T]);
4486
+ Ft(T, y[T]);
4489
4487
  });
4490
4488
  }).catch((y) => {
4491
4489
  console.log(y);
4492
4490
  });
4493
4491
  };
4494
- Object.keys(Gt).forEach((f) => {
4495
- Vt(f, Gt[f]);
4492
+ Object.keys(Vt).forEach((f) => {
4493
+ Ft(f, Vt[f]);
4496
4494
  });
4497
- const x = () => {
4498
- Xn(l);
4495
+ const _ = () => {
4496
+ zn(l);
4499
4497
  }, g = () => {
4500
4498
  let f = document.createElement("style");
4501
4499
  f.innerHTML = o, S.appendChild(f);
@@ -4509,22 +4507,22 @@ function es(e, t, r) {
4509
4507
  1
4510
4508
  );
4511
4509
  });
4512
- }, b = () => {
4510
+ }, v = () => {
4513
4511
  r(18, R = E());
4514
4512
  const f = new URL(`${s}/v1/player/${c}/verification/GetKYCCustomerStatus?language=${l}`), y = new Headers();
4515
- y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("x-sessionid", `${_}`), y.append("X-Client-Request-Timestamp", jt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4513
+ y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("x-sessionid", `${x}`), y.append("X-Client-Request-Timestamp", Gt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4516
4514
  const T = {
4517
4515
  method: "POST",
4518
4516
  headers: y,
4519
4517
  body: JSON.stringify({})
4520
4518
  };
4521
4519
  fetch(f, T).then((J) => J.json()).then((J) => {
4522
- U = w(J.Verifications), U.VerificationStatuses.forEach((Ue) => {
4523
- Ue.VerificationUrlType !== "Widget" && v.add(Ue.Vendor);
4524
- }), r(4, $ = ne());
4520
+ U = w(J.Verifications), U.VerificationStatuses.forEach((ke) => {
4521
+ ke.VerificationUrlType !== "Widget" && b.add(ke.Vendor);
4522
+ }), r(4, B = ie());
4525
4523
  });
4526
4524
  }, m = () => {
4527
- n && b();
4525
+ n && v();
4528
4526
  }, E = () => {
4529
4527
  let f = (h || n).split(".")[1];
4530
4528
  if (f) {
@@ -4535,80 +4533,80 @@ function es(e, t, r) {
4535
4533
  }, w = (f) => {
4536
4534
  if (!f || !f.length)
4537
4535
  return {
4538
- VerificationSummaryStatus: A.Unverified,
4536
+ VerificationSummaryStatus: O.Unverified,
4539
4537
  VerificationStatuses: []
4540
4538
  };
4541
4539
  const y = N(f);
4542
4540
  if (y && y.length) {
4543
- const T = B(y);
4541
+ const T = M(y);
4544
4542
  return {
4545
4543
  VerificationSummaryStatus: T.Status,
4546
4544
  VerificationUrl: T.Flags?.DeferredUrlKey,
4547
- VerificationStatuses: C(y, T.Status)
4545
+ VerificationStatuses: D(y, T.Status)
4548
4546
  };
4549
4547
  } else
4550
4548
  return {
4551
- VerificationSummaryStatus: f.some((J) => J.Status === A.Failed) ? A.Failed : A.Verified,
4552
- VerificationStatuses: C(f, [A.Failed])
4549
+ VerificationSummaryStatus: f.some((J) => J.Status === O.Failed) ? O.Failed : O.Verified,
4550
+ VerificationStatuses: D(f, [O.Failed])
4553
4551
  };
4554
- }, B = (f) => f.reduce(
4552
+ }, M = (f) => f.reduce(
4555
4553
  (y, T) => y ? new Date(y) < new Date(T) ? T : y : T,
4556
4554
  0
4557
- ), C = (f, y) => f.filter((T) => y.includes(T.Status)).map((T) => ({
4555
+ ), D = (f, y) => f.filter((T) => y.includes(T.Status)).map((T) => ({
4558
4556
  Type: T.Type,
4559
4557
  Vendor: T.VendorName,
4560
4558
  VerificationDocuments: T.Documents ? [...T.Documents] : [],
4561
4559
  VerificationUrlType: T.FlowInfo?.Type,
4562
4560
  VerificationUrl: T.FlowInfo?.Url
4563
- })), N = (f) => f.filter((y) => pe.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || F(y) || z(y) : !1), F = (f) => {
4561
+ })), N = (f) => f.filter((y) => me.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || F(y) || z(y) : !1), F = (f) => {
4564
4562
  const y = f.Documents && f.VendorName === Z.Manual, T = f.Documents && f.Documents.some((J) => J.Status === W.Requested);
4565
4563
  return y && T;
4566
- }, z = (f) => f.VendorName === Z.ShuftiPro && f.Status === A.Referred, ne = () => {
4564
+ }, z = (f) => f.VendorName === Z.ShuftiPro && f.Status === O.Referred, ie = () => {
4567
4565
  switch (U.VerificationSummaryStatus) {
4568
- case A.InProgress:
4566
+ case O.InProgress:
4569
4567
  const f = [];
4570
- return v.forEach((y) => {
4571
- f.push(se(y));
4568
+ return b.forEach((y) => {
4569
+ f.push(ne(y));
4572
4570
  }), f;
4573
- case A.Referred:
4571
+ case O.Referred:
4574
4572
  return [i("verification.idenfy.referred-awaiting")];
4575
- case A.Failed:
4573
+ case O.Failed:
4576
4574
  return [i("verification.message.failed")];
4577
4575
  }
4578
- }, se = (f) => {
4576
+ }, ne = (f) => {
4579
4577
  const y = U.VerificationStatuses.filter((T) => T.Vendor === f);
4580
4578
  if (f === Z.ShuftiPro)
4581
- return fe(y);
4579
+ return he(y);
4582
4580
  {
4583
4581
  const T = i("verification.idenfy.link-name"), J = {
4584
4582
  link: `<a href="${y[0].VerificationUrl}" target="_blank">${T}</a>`
4585
4583
  };
4586
4584
  return i("verification.idenfy.in-progress", { values: J });
4587
4585
  }
4588
- }, fe = (f) => {
4586
+ }, he = (f) => {
4589
4587
  const y = [], T = {}, J = [
4590
- O.Biometric,
4591
- O.Documents,
4592
- O.ProofOfAddress
4588
+ P.Biometric,
4589
+ P.Documents,
4590
+ P.ProofOfAddress
4593
4591
  ];
4594
- f.forEach((de) => {
4595
- J.includes(de.Type) && (y.push(de.Type), T[de.Type] = oe(de, V(de.Type)));
4592
+ f.forEach((ce) => {
4593
+ J.includes(ce.Type) && (y.push(ce.Type), T[ce.Type] = se(ce, V(ce.Type)));
4596
4594
  });
4597
- let Ue = y.every((de) => M.has(de)), Mr = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4598
- return Ue ? i("verification.shuftipro.validations-started") : i(Mr, { values: T });
4599
- }, oe = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, V = (f) => i(`verification.shuftipro.link-name.${f}`), q = (f, y) => {
4595
+ let ke = y.every((ce) => C.has(ce)), Br = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4596
+ return ke ? i("verification.shuftipro.validations-started") : i(Br, { values: T });
4597
+ }, se = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, V = (f) => i(`verification.shuftipro.link-name.${f}`), q = (f, y) => {
4600
4598
  if (f.stopPropagation(), f.target && (f.target.href || f.target.closest("a"))) {
4601
4599
  if (f.target.closest(".verificationLink")) {
4602
4600
  const T = f.target.className.split(" ")[1];
4603
- M.add(T), r(4, $ = ne());
4601
+ C.add(T), r(4, B = ie());
4604
4602
  }
4605
4603
  return;
4606
4604
  }
4607
4605
  y === 0 && r(5, j = !j);
4608
- }, ce = () => {
4606
+ }, fe = () => {
4609
4607
  r(6, I = p === "false");
4610
- }, ge = () => {
4611
- r(8, X = R + "/" + l + "/" + Kn);
4608
+ }, pe = () => {
4609
+ r(8, X = R + "/" + l + "/" + Qn);
4612
4610
  try {
4613
4611
  fetch(X, { method: "HEAD" }).then((f) => {
4614
4612
  r(7, k = f.ok);
@@ -4616,60 +4614,60 @@ function es(e, t, r) {
4616
4614
  } catch {
4617
4615
  r(7, k = !1);
4618
4616
  }
4619
- }, wt = () => {
4617
+ }, Et = () => {
4620
4618
  window.postMessage({ type: "ShowCashierVideoModal" }, window.location.href);
4621
- }, Pr = (f, y) => q(y, f), Ar = (f, y) => q(y, f), $r = () => wt();
4622
- function Br(f) {
4623
- ot[f ? "unshift" : "push"](() => {
4619
+ }, Pr = (f, y) => q(y, f), Ar = (f, y) => q(y, f), Or = () => Et();
4620
+ function $r(f) {
4621
+ nt[f ? "unshift" : "push"](() => {
4624
4622
  S = f, r(3, S);
4625
4623
  });
4626
4624
  }
4627
4625
  return e.$$set = (f) => {
4628
- "endpoint" in f && r(12, s = f.endpoint), "lang" in f && r(13, l = f.lang), "translationurl" in f && r(14, a = f.translationurl), "clientstyling" in f && r(0, o = f.clientstyling), "clientstylingurl" in f && r(1, u = f.clientstylingurl), "session" in f && r(15, h = f.session), "customerid" in f && r(16, c = f.customerid), "ismobileview" in f && r(2, p = f.ismobileview), "playersession" in f && r(17, _ = f.playersession);
4626
+ "endpoint" in f && r(12, s = f.endpoint), "lang" in f && r(13, l = f.lang), "translationurl" in f && r(14, a = f.translationurl), "clientstyling" in f && r(0, o = f.clientstyling), "clientstylingurl" in f && r(1, u = f.clientstylingurl), "session" in f && r(15, h = f.session), "customerid" in f && r(16, c = f.customerid), "ismobileview" in f && r(2, p = f.ismobileview), "playersession" in f && r(17, x = f.playersession);
4629
4627
  }, e.$$.update = () => {
4630
4628
  e.$$.dirty[0] & /*lang*/
4631
- 8192 && l && x(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4632
- 167936 && s && h && _ && b(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4633
- 167936 && s && !h && _ && m(), e.$$.dirty[0] & /*translationurl*/
4634
- 16384 && a && ke(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4629
+ 8192 && l && _(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4630
+ 167936 && s && h && x && v(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4631
+ 167936 && s && !h && x && m(), e.$$.dirty[0] & /*translationurl*/
4632
+ 16384 && a && Re(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4635
4633
  9 && o && S && g(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4636
4634
  10 && u && S && d(), e.$$.dirty[0] & /*ismobileview*/
4637
- 4 && p && ce(), e.$$.dirty[0] & /*staticCdnUrl*/
4638
- 262144 && R && ge();
4635
+ 4 && p && fe(), e.$$.dirty[0] & /*staticCdnUrl*/
4636
+ 262144 && R && pe();
4639
4637
  }, [
4640
4638
  o,
4641
4639
  u,
4642
4640
  p,
4643
4641
  S,
4644
- $,
4642
+ B,
4645
4643
  j,
4646
4644
  I,
4647
4645
  k,
4648
4646
  X,
4649
4647
  i,
4650
4648
  q,
4651
- wt,
4649
+ Et,
4652
4650
  s,
4653
4651
  l,
4654
4652
  a,
4655
4653
  h,
4656
4654
  c,
4657
- _,
4655
+ x,
4658
4656
  R,
4659
4657
  Pr,
4660
4658
  Ar,
4661
- $r,
4662
- Br
4659
+ Or,
4660
+ $r
4663
4661
  ];
4664
4662
  }
4665
- class ts extends Kr {
4663
+ class es extends Qr {
4666
4664
  constructor(t) {
4667
- super(), Jr(
4665
+ super(), Zr(
4668
4666
  this,
4669
4667
  t,
4670
- es,
4671
- Qn,
4672
- Jt,
4668
+ Kn,
4669
+ Jn,
4670
+ Zt,
4673
4671
  {
4674
4672
  endpoint: 12,
4675
4673
  lang: 13,
@@ -4681,7 +4679,7 @@ class ts extends Kr {
4681
4679
  ismobileview: 2,
4682
4680
  playersession: 17
4683
4681
  },
4684
- Jn,
4682
+ Zn,
4685
4683
  [-1, -1]
4686
4684
  );
4687
4685
  }
@@ -4740,27 +4738,27 @@ class ts extends Kr {
4740
4738
  this.$$set({ playersession: t }), Q();
4741
4739
  }
4742
4740
  }
4743
- Qr(ts, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {} }, [], [], !0);
4741
+ Jr(es, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {} }, [], [], !0);
4744
4742
  export {
4745
- ts as C,
4746
- Kr as S,
4747
- Dr as a,
4748
- ae as b,
4749
- Qr as c,
4750
- ie as d,
4751
- ns as e,
4743
+ es as C,
4744
+ Qr as S,
4745
+ Cr as a,
4746
+ oe as b,
4747
+ Jr as c,
4748
+ re as d,
4749
+ is as e,
4752
4750
  Q as f,
4753
- rs as g,
4754
- ee as h,
4755
- Jr as i,
4756
- te as j,
4757
- Y as k,
4758
- _e as l,
4759
- ot as m,
4751
+ Y as g,
4752
+ ye as h,
4753
+ Zr as i,
4754
+ ts as j,
4755
+ ee as k,
4756
+ te as l,
4757
+ rs as m,
4760
4758
  K as n,
4761
- ss as o,
4762
- yt as p,
4763
- is as q,
4764
- Jt as s,
4765
- Ee as t
4759
+ ns as o,
4760
+ bt as p,
4761
+ nt as q,
4762
+ Zt as s,
4763
+ _e as t
4766
4764
  };