@everymatrix/cashier-verifications 1.61.1 → 1.62.1

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