@everymatrix/cashier-verifications 1.90.2 → 1.90.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  function K() {
2
2
  }
3
- function fi(e, t) {
3
+ function pi(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -23,7 +23,7 @@ function It(e) {
23
23
  function yr(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
- function hi(e) {
26
+ function mi(e) {
27
27
  return Object.keys(e).length === 0;
28
28
  }
29
29
  function _r(e, ...t) {
@@ -38,16 +38,16 @@ function _r(e, ...t) {
38
38
  function Vt(e, t, r) {
39
39
  e.$$.on_destroy.push(_r(t, r));
40
40
  }
41
- function rs(e, t, r, i) {
41
+ function os(e, t, r, i) {
42
42
  if (e) {
43
43
  const n = xr(e, t, r, i);
44
44
  return e[0](n);
45
45
  }
46
46
  }
47
47
  function xr(e, t, r, i) {
48
- return e[1] && i ? fi(r.ctx.slice(), e[1](i(t))) : r.ctx;
48
+ return e[1] && i ? pi(r.ctx.slice(), e[1](i(t))) : r.ctx;
49
49
  }
50
- function is(e, t, r, i) {
50
+ function ss(e, t, r, i) {
51
51
  if (e[2] && i) {
52
52
  const n = e[2](i(r));
53
53
  if (t.dirty === void 0)
@@ -62,13 +62,13 @@ function is(e, t, r, i) {
62
62
  }
63
63
  return t.dirty;
64
64
  }
65
- function ns(e, t, r, i, n, o) {
65
+ function as(e, t, r, i, n, o) {
66
66
  if (n) {
67
67
  const s = xr(t, r, i, o);
68
68
  e.p(s, n);
69
69
  }
70
70
  }
71
- function os(e) {
71
+ function us(e) {
72
72
  if (e.ctx.length > 32) {
73
73
  const t = [], r = e.ctx.length / 32;
74
74
  for (let i = 0; i < r; i++)
@@ -80,14 +80,14 @@ function os(e) {
80
80
  function G(e, t) {
81
81
  e.appendChild(t);
82
82
  }
83
- function di(e, t, r) {
84
- const i = pi(e);
83
+ function vi(e, t, r) {
84
+ const i = gi(e);
85
85
  if (!i.getElementById(t)) {
86
- const n = q("style");
87
- n.id = t, n.textContent = r, mi(i, n);
86
+ const n = X("style");
87
+ n.id = t, n.textContent = r, bi(i, n);
88
88
  }
89
89
  }
90
- function pi(e) {
90
+ function gi(e) {
91
91
  if (!e)
92
92
  return document;
93
93
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -97,24 +97,24 @@ function pi(e) {
97
97
  t
98
98
  ) : e.ownerDocument;
99
99
  }
100
- function mi(e, t) {
100
+ function bi(e, t) {
101
101
  return G(
102
102
  /** @type {Document} */
103
103
  e.head || e,
104
104
  t
105
105
  ), t.sheet;
106
106
  }
107
- function ae(e, t, r) {
107
+ function se(e, t, r) {
108
108
  e.insertBefore(t, r || null);
109
109
  }
110
110
  function ee(e) {
111
111
  e.parentNode && e.parentNode.removeChild(e);
112
112
  }
113
- function vi(e, t) {
113
+ function yi(e, t) {
114
114
  for (let r = 0; r < e.length; r += 1)
115
115
  e[r] && e[r].d(t);
116
116
  }
117
- function q(e) {
117
+ function X(e) {
118
118
  return document.createElement(e);
119
119
  }
120
120
  function je(e) {
@@ -136,15 +136,15 @@ function ze(e, t, r) {
136
136
  const i = t.toLowerCase();
137
137
  i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : C(e, t, r);
138
138
  }
139
- function gi(e) {
139
+ function _i(e) {
140
140
  return Array.from(e.childNodes);
141
141
  }
142
- function wr(e, t) {
142
+ function Er(e, t) {
143
143
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
144
144
  t);
145
145
  }
146
146
  let We;
147
- function bi() {
147
+ function xi() {
148
148
  if (We === void 0) {
149
149
  We = !1;
150
150
  try {
@@ -155,14 +155,14 @@ function bi() {
155
155
  }
156
156
  return We;
157
157
  }
158
- function ss(e, t) {
158
+ function ls(e, t) {
159
159
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
160
- const i = q("iframe");
160
+ const i = X("iframe");
161
161
  i.setAttribute(
162
162
  "style",
163
163
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
164
164
  ), i.setAttribute("aria-hidden", "true"), i.tabIndex = -1;
165
- const n = bi();
165
+ const n = xi();
166
166
  let o;
167
167
  return n ? (i.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", o = et(
168
168
  window,
@@ -177,10 +177,10 @@ function ss(e, t) {
177
177
  (n || o && i.contentWindow) && o(), ee(i);
178
178
  };
179
179
  }
180
- function fe(e, t, r) {
180
+ function ce(e, t, r) {
181
181
  e.classList.toggle(t, !!r);
182
182
  }
183
- function yi(e) {
183
+ function Ei(e) {
184
184
  const t = {};
185
185
  return e.childNodes.forEach(
186
186
  /** @param {Element} node */
@@ -193,86 +193,86 @@ let De;
193
193
  function Ie(e) {
194
194
  De = e;
195
195
  }
196
- function _i() {
196
+ function wi() {
197
197
  if (!De)
198
198
  throw new Error("Function called outside component initialization");
199
199
  return De;
200
200
  }
201
- function xi(e) {
202
- _i().$$.on_mount.push(e);
201
+ function Si(e) {
202
+ wi().$$.on_mount.push(e);
203
203
  }
204
- const we = [], bt = [];
204
+ const Ee = [], bt = [];
205
205
  let Te = [];
206
- const Ft = [], Er = /* @__PURE__ */ Promise.resolve();
206
+ const Ft = [], wr = /* @__PURE__ */ Promise.resolve();
207
207
  let yt = !1;
208
208
  function Sr() {
209
- yt || (yt = !0, Er.then(Q));
209
+ yt || (yt = !0, wr.then(J));
210
210
  }
211
- function as() {
212
- return Sr(), Er;
211
+ function cs() {
212
+ return Sr(), wr;
213
213
  }
214
214
  function _t(e) {
215
215
  Te.push(e);
216
216
  }
217
217
  const ct = /* @__PURE__ */ new Set();
218
218
  let _e = 0;
219
- function Q() {
219
+ function J() {
220
220
  if (_e !== 0)
221
221
  return;
222
222
  const e = De;
223
223
  do {
224
224
  try {
225
- for (; _e < we.length; ) {
226
- const t = we[_e];
227
- _e++, Ie(t), wi(t.$$);
225
+ for (; _e < Ee.length; ) {
226
+ const t = Ee[_e];
227
+ _e++, Ie(t), Ti(t.$$);
228
228
  }
229
229
  } catch (t) {
230
- throw we.length = 0, _e = 0, t;
230
+ throw Ee.length = 0, _e = 0, t;
231
231
  }
232
- for (Ie(null), we.length = 0, _e = 0; bt.length; )
232
+ for (Ie(null), Ee.length = 0, _e = 0; bt.length; )
233
233
  bt.pop()();
234
234
  for (let t = 0; t < Te.length; t += 1) {
235
235
  const r = Te[t];
236
236
  ct.has(r) || (ct.add(r), r());
237
237
  }
238
238
  Te.length = 0;
239
- } while (we.length);
239
+ } while (Ee.length);
240
240
  for (; Ft.length; )
241
241
  Ft.pop()();
242
242
  yt = !1, ct.clear(), Ie(e);
243
243
  }
244
- function wi(e) {
244
+ function Ti(e) {
245
245
  if (e.fragment !== null) {
246
246
  e.update(), Be(e.before_update);
247
247
  const t = e.dirty;
248
248
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(_t);
249
249
  }
250
250
  }
251
- function Ei(e) {
251
+ function Oi(e) {
252
252
  const t = [], r = [];
253
253
  Te.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), Te = t;
254
254
  }
255
255
  const Ye = /* @__PURE__ */ new Set();
256
- let ge;
257
- function us() {
258
- ge = {
256
+ let ve;
257
+ function fs() {
258
+ ve = {
259
259
  r: 0,
260
260
  c: [],
261
- p: ge
261
+ p: ve
262
262
  // parent group
263
263
  };
264
264
  }
265
- function ls() {
266
- ge.r || Be(ge.c), ge = ge.p;
265
+ function hs() {
266
+ ve.r || Be(ve.c), ve = ve.p;
267
267
  }
268
- function Si(e, t) {
268
+ function Pi(e, t) {
269
269
  e && e.i && (Ye.delete(e), e.i(t));
270
270
  }
271
- function cs(e, t, r, i) {
271
+ function ds(e, t, r, i) {
272
272
  if (e && e.o) {
273
273
  if (Ye.has(e))
274
274
  return;
275
- Ye.add(e), ge.c.push(() => {
275
+ Ye.add(e), ve.c.push(() => {
276
276
  Ye.delete(e), i && (r && e.d(1), i());
277
277
  }), e.o(t);
278
278
  } else
@@ -281,21 +281,21 @@ function cs(e, t, r, i) {
281
281
  function Gt(e) {
282
282
  return e?.length !== void 0 ? e : Array.from(e);
283
283
  }
284
- function Ti(e, t, r) {
284
+ function Hi(e, t, r) {
285
285
  const { fragment: i, after_update: n } = e.$$;
286
286
  i && i.m(t, r), _t(() => {
287
287
  const o = e.$$.on_mount.map(br).filter(It);
288
288
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Be(o), e.$$.on_mount = [];
289
289
  }), n.forEach(_t);
290
290
  }
291
- function Oi(e, t) {
291
+ function Ai(e, t) {
292
292
  const r = e.$$;
293
- r.fragment !== null && (Ei(r.after_update), Be(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
293
+ r.fragment !== null && (Oi(r.after_update), Be(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
294
294
  }
295
- function Pi(e, t) {
296
- e.$$.dirty[0] === -1 && (we.push(e), Sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
295
+ function Bi(e, t) {
296
+ e.$$.dirty[0] === -1 && (Ee.push(e), Sr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
297
297
  }
298
- function Hi(e, t, r, i, n, o, s = null, a = [-1]) {
298
+ function Mi(e, t, r, i, n, o, s = null, a = [-1]) {
299
299
  const u = De;
300
300
  Ie(e);
301
301
  const l = e.$$ = {
@@ -321,16 +321,16 @@ function Hi(e, t, r, i, n, o, s = null, a = [-1]) {
321
321
  };
322
322
  s && s(l.root);
323
323
  let f = !1;
324
- if (l.ctx = r ? r(e, t.props || {}, (h, m, ...b) => {
325
- const x = b.length ? b[0] : m;
326
- return l.ctx && n(l.ctx[h], l.ctx[h] = x) && (!l.skip_bound && l.bound[h] && l.bound[h](x), f && Pi(e, h)), m;
324
+ if (l.ctx = r ? r(e, t.props || {}, (p, v, ...b) => {
325
+ const T = b.length ? b[0] : v;
326
+ return l.ctx && n(l.ctx[p], l.ctx[p] = T) && (!l.skip_bound && l.bound[p] && l.bound[p](T), f && Bi(e, p)), v;
327
327
  }) : [], l.update(), f = !0, Be(l.before_update), l.fragment = i ? i(l.ctx) : !1, t.target) {
328
328
  if (t.hydrate) {
329
- const h = gi(t.target);
330
- l.fragment && l.fragment.l(h), h.forEach(ee);
329
+ const p = _i(t.target);
330
+ l.fragment && l.fragment.l(p), p.forEach(ee);
331
331
  } else
332
332
  l.fragment && l.fragment.c();
333
- t.intro && Si(e.$$.fragment), Ti(e, t.target, t.anchor), Q();
333
+ t.intro && Pi(e.$$.fragment), Hi(e, t.target, t.anchor), J();
334
334
  }
335
335
  Ie(u);
336
336
  }
@@ -377,14 +377,14 @@ typeof HTMLElement == "function" && (Tr = class extends HTMLElement {
377
377
  let o;
378
378
  return {
379
379
  c: function() {
380
- o = q("slot"), n !== "default" && C(o, "name", n);
380
+ o = X("slot"), n !== "default" && C(o, "name", n);
381
381
  },
382
382
  /**
383
383
  * @param {HTMLElement} target
384
384
  * @param {HTMLElement} [anchor]
385
385
  */
386
386
  m: function(u, l) {
387
- ae(u, o, l);
387
+ se(u, o, l);
388
388
  },
389
389
  d: function(u) {
390
390
  u && ee(o);
@@ -394,7 +394,7 @@ typeof HTMLElement == "function" && (Tr = class extends HTMLElement {
394
394
  };
395
395
  if (await Promise.resolve(), !this.$$cn || this.$$c)
396
396
  return;
397
- const t = {}, r = yi(this);
397
+ const t = {}, r = Ei(this);
398
398
  for (const n of this.$$s)
399
399
  n in r && (t[n] = [e(n)]);
400
400
  for (const n of this.attributes) {
@@ -481,7 +481,7 @@ function Ze(e, t, r, i) {
481
481
  return t;
482
482
  }
483
483
  }
484
- function Ai(e, t, r, i, n, o) {
484
+ function Ci(e, t, r, i, n, o) {
485
485
  let s = class extends Tr {
486
486
  constructor() {
487
487
  super(e, r, n), this.$$p_d = t;
@@ -510,7 +510,7 @@ function Ai(e, t, r, i, n, o) {
510
510
  }), e.element = /** @type {any} */
511
511
  s, s;
512
512
  }
513
- class Bi {
513
+ class $i {
514
514
  /**
515
515
  * ### PRIVATE API
516
516
  *
@@ -529,7 +529,7 @@ class Bi {
529
529
  $$set = void 0;
530
530
  /** @returns {void} */
531
531
  $destroy() {
532
- Oi(this, 1), this.$destroy = K;
532
+ Ai(this, 1), this.$destroy = K;
533
533
  }
534
534
  /**
535
535
  * @template {Extract<keyof Events, string>} K
@@ -551,13 +551,13 @@ class Bi {
551
551
  * @returns {void}
552
552
  */
553
553
  $set(t) {
554
- this.$$set && !hi(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
554
+ this.$$set && !mi(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
555
555
  }
556
556
  }
557
- const Mi = "4";
558
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Mi);
557
+ const Li = "4";
558
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Li);
559
559
  const xe = [];
560
- function $i(e, t) {
560
+ function Ii(e, t) {
561
561
  return {
562
562
  subscribe: Re(e, t).subscribe
563
563
  };
@@ -593,29 +593,29 @@ function Me(e, t, r) {
593
593
  if (!n.every(Boolean))
594
594
  throw new Error("derived() expects stores as input, got a falsy value");
595
595
  const o = t.length < 2;
596
- return $i(r, (s, a) => {
596
+ return Ii(r, (s, a) => {
597
597
  let u = !1;
598
598
  const l = [];
599
- let f = 0, h = K;
600
- const m = () => {
599
+ let f = 0, p = K;
600
+ const v = () => {
601
601
  if (f)
602
602
  return;
603
- h();
604
- const x = t(i ? l[0] : l, s, a);
605
- o ? s(x) : h = It(x) ? x : K;
603
+ p();
604
+ const T = t(i ? l[0] : l, s, a);
605
+ o ? s(T) : p = It(T) ? T : K;
606
606
  }, b = n.map(
607
- (x, d) => _r(
608
- x,
607
+ (T, h) => _r(
608
+ T,
609
609
  (I) => {
610
- l[d] = I, f &= ~(1 << d), u && m();
610
+ l[h] = I, f &= ~(1 << h), u && v();
611
611
  },
612
612
  () => {
613
- f |= 1 << d;
613
+ f |= 1 << h;
614
614
  }
615
615
  )
616
616
  );
617
- return u = !0, m(), function() {
618
- Be(b), h(), u = !1;
617
+ return u = !0, v(), function() {
618
+ Be(b), p(), u = !1;
619
619
  };
620
620
  });
621
621
  }
@@ -623,44 +623,44 @@ var Or = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
623
623
  function Nt(e) {
624
624
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
625
625
  }
626
- var Ci = function(t) {
627
- return Li(t) && !Ii(t);
626
+ var Di = function(t) {
627
+ return Ni(t) && !ki(t);
628
628
  };
629
- function Li(e) {
629
+ function Ni(e) {
630
630
  return !!e && typeof e == "object";
631
631
  }
632
- function Ii(e) {
632
+ function ki(e) {
633
633
  var t = Object.prototype.toString.call(e);
634
- return t === "[object RegExp]" || t === "[object Date]" || ki(e);
634
+ return t === "[object RegExp]" || t === "[object Date]" || Vi(e);
635
635
  }
636
- var Di = typeof Symbol == "function" && Symbol.for, Ni = Di ? Symbol.for("react.element") : 60103;
637
- function ki(e) {
638
- return e.$$typeof === Ni;
636
+ var Ri = typeof Symbol == "function" && Symbol.for, Ui = Ri ? Symbol.for("react.element") : 60103;
637
+ function Vi(e) {
638
+ return e.$$typeof === Ui;
639
639
  }
640
- function Ri(e) {
640
+ function Fi(e) {
641
641
  return Array.isArray(e) ? [] : {};
642
642
  }
643
643
  function Ne(e, t) {
644
- return t.clone !== !1 && t.isMergeableObject(e) ? Oe(Ri(e), e, t) : e;
644
+ return t.clone !== !1 && t.isMergeableObject(e) ? Oe(Fi(e), e, t) : e;
645
645
  }
646
- function Ui(e, t, r) {
646
+ function Gi(e, t, r) {
647
647
  return e.concat(t).map(function(i) {
648
648
  return Ne(i, r);
649
649
  });
650
650
  }
651
- function Vi(e, t) {
651
+ function ji(e, t) {
652
652
  if (!t.customMerge)
653
653
  return Oe;
654
654
  var r = t.customMerge(e);
655
655
  return typeof r == "function" ? r : Oe;
656
656
  }
657
- function Fi(e) {
657
+ function zi(e) {
658
658
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
659
659
  return Object.propertyIsEnumerable.call(e, t);
660
660
  }) : [];
661
661
  }
662
662
  function jt(e) {
663
- return Object.keys(e).concat(Fi(e));
663
+ return Object.keys(e).concat(zi(e));
664
664
  }
665
665
  function Pr(e, t) {
666
666
  try {
@@ -669,21 +669,21 @@ function Pr(e, t) {
669
669
  return !1;
670
670
  }
671
671
  }
672
- function Gi(e, t) {
672
+ function Wi(e, t) {
673
673
  return Pr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
674
674
  }
675
- function ji(e, t, r) {
675
+ function Xi(e, t, r) {
676
676
  var i = {};
677
677
  return r.isMergeableObject(e) && jt(e).forEach(function(n) {
678
678
  i[n] = Ne(e[n], r);
679
679
  }), jt(t).forEach(function(n) {
680
- Gi(e, n) || (Pr(e, n) && r.isMergeableObject(t[n]) ? i[n] = Vi(n, r)(e[n], t[n], r) : i[n] = Ne(t[n], r));
680
+ Wi(e, n) || (Pr(e, n) && r.isMergeableObject(t[n]) ? i[n] = ji(n, r)(e[n], t[n], r) : i[n] = Ne(t[n], r));
681
681
  }), i;
682
682
  }
683
683
  function Oe(e, t, r) {
684
- r = r || {}, r.arrayMerge = r.arrayMerge || Ui, r.isMergeableObject = r.isMergeableObject || Ci, r.cloneUnlessOtherwiseSpecified = Ne;
684
+ r = r || {}, r.arrayMerge = r.arrayMerge || Gi, r.isMergeableObject = r.isMergeableObject || Di, r.cloneUnlessOtherwiseSpecified = Ne;
685
685
  var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
686
- return o ? i ? r.arrayMerge(e, t, r) : ji(e, t, r) : Ne(t, r);
686
+ return o ? i ? r.arrayMerge(e, t, r) : Xi(e, t, r) : Ne(t, r);
687
687
  }
688
688
  Oe.all = function(t, r) {
689
689
  if (!Array.isArray(t))
@@ -692,8 +692,8 @@ Oe.all = function(t, r) {
692
692
  return Oe(i, n, r);
693
693
  }, {});
694
694
  };
695
- var zi = Oe, Wi = zi;
696
- const Xi = /* @__PURE__ */ Nt(Wi);
695
+ var qi = Oe, Yi = qi;
696
+ const Zi = /* @__PURE__ */ Nt(Yi);
697
697
  var xt = function(e, t) {
698
698
  return xt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
699
699
  r.__proto__ = i;
@@ -721,7 +721,7 @@ var ie = function() {
721
721
  return t;
722
722
  }, ie.apply(this, arguments);
723
723
  };
724
- function qi(e, t) {
724
+ function Ji(e, t) {
725
725
  var r = {};
726
726
  for (var i in e)
727
727
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -737,17 +737,17 @@ function ft(e, t, r) {
737
737
  return e.concat(o || Array.prototype.slice.call(t));
738
738
  }
739
739
  function ht(e, t) {
740
- var r = t && t.cache ? t.cache : tn, i = t && t.serializer ? t.serializer : Ki, n = t && t.strategy ? t.strategy : Ji;
740
+ var r = t && t.cache ? t.cache : on, i = t && t.serializer ? t.serializer : rn, n = t && t.strategy ? t.strategy : en;
741
741
  return n(e, {
742
742
  cache: r,
743
743
  serializer: i
744
744
  });
745
745
  }
746
- function Yi(e) {
746
+ function Qi(e) {
747
747
  return e == null || typeof e == "number" || typeof e == "boolean";
748
748
  }
749
- function Zi(e, t, r, i) {
750
- var n = Yi(i) ? i : r(i), o = t.get(n);
749
+ function Ki(e, t, r, i) {
750
+ var n = Qi(i) ? i : r(i), o = t.get(n);
751
751
  return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
752
752
  }
753
753
  function Hr(e, t, r) {
@@ -757,16 +757,16 @@ function Hr(e, t, r) {
757
757
  function Ar(e, t, r, i, n) {
758
758
  return r.bind(t, e, i, n);
759
759
  }
760
- function Ji(e, t) {
761
- var r = e.length === 1 ? Zi : Hr;
760
+ function en(e, t) {
761
+ var r = e.length === 1 ? Ki : Hr;
762
762
  return Ar(e, this, r, t.cache.create(), t.serializer);
763
763
  }
764
- function Qi(e, t) {
764
+ function tn(e, t) {
765
765
  return Ar(e, this, Hr, t.cache.create(), t.serializer);
766
766
  }
767
- var Ki = function() {
767
+ var rn = function() {
768
768
  return JSON.stringify(arguments);
769
- }, en = (
769
+ }, nn = (
770
770
  /** @class */
771
771
  function() {
772
772
  function e() {
@@ -778,12 +778,12 @@ var Ki = function() {
778
778
  this.cache[t] = r;
779
779
  }, e;
780
780
  }()
781
- ), tn = {
781
+ ), on = {
782
782
  create: function() {
783
- return new en();
783
+ return new nn();
784
784
  }
785
785
  }, dt = {
786
- variadic: Qi
786
+ variadic: tn
787
787
  }, tt = function() {
788
788
  return tt = Object.assign || function(t) {
789
789
  for (var r, i = 1, n = arguments.length; i < n; i++) {
@@ -798,51 +798,51 @@ var A;
798
798
  (function(e) {
799
799
  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";
800
800
  })(A || (A = {}));
801
- var k;
801
+ var N;
802
802
  (function(e) {
803
803
  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";
804
- })(k || (k = {}));
804
+ })(N || (N = {}));
805
805
  var Pe;
806
806
  (function(e) {
807
807
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
808
808
  })(Pe || (Pe = {}));
809
809
  function zt(e) {
810
- return e.type === k.literal;
810
+ return e.type === N.literal;
811
811
  }
812
- function rn(e) {
813
- return e.type === k.argument;
812
+ function sn(e) {
813
+ return e.type === N.argument;
814
814
  }
815
815
  function Br(e) {
816
- return e.type === k.number;
816
+ return e.type === N.number;
817
817
  }
818
818
  function Mr(e) {
819
- return e.type === k.date;
820
- }
821
- function $r(e) {
822
- return e.type === k.time;
819
+ return e.type === N.date;
823
820
  }
824
821
  function Cr(e) {
825
- return e.type === k.select;
822
+ return e.type === N.time;
823
+ }
824
+ function $r(e) {
825
+ return e.type === N.select;
826
826
  }
827
827
  function Lr(e) {
828
- return e.type === k.plural;
828
+ return e.type === N.plural;
829
829
  }
830
- function nn(e) {
831
- return e.type === k.pound;
830
+ function an(e) {
831
+ return e.type === N.pound;
832
832
  }
833
833
  function Ir(e) {
834
- return e.type === k.tag;
834
+ return e.type === N.tag;
835
835
  }
836
836
  function Dr(e) {
837
837
  return !!(e && typeof e == "object" && e.type === Pe.number);
838
838
  }
839
- function wt(e) {
839
+ function Et(e) {
840
840
  return !!(e && typeof e == "object" && e.type === Pe.dateTime);
841
841
  }
842
- var Nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, on = /(?:[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;
843
- function sn(e) {
842
+ var Nr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, un = /(?:[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;
843
+ function ln(e) {
844
844
  var t = {};
845
- return e.replace(on, function(r) {
845
+ return e.replace(un, function(r) {
846
846
  var i = r.length;
847
847
  switch (r[0]) {
848
848
  case "G":
@@ -941,29 +941,29 @@ var U = function() {
941
941
  return t;
942
942
  }, U.apply(this, arguments);
943
943
  };
944
- var an = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
945
- function un(e) {
944
+ var cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
945
+ function fn(e) {
946
946
  if (e.length === 0)
947
947
  throw new Error("Number skeleton cannot be empty");
948
- for (var t = e.split(an).filter(function(m) {
949
- return m.length > 0;
948
+ for (var t = e.split(cn).filter(function(v) {
949
+ return v.length > 0;
950
950
  }), r = [], i = 0, n = t; i < n.length; i++) {
951
951
  var o = n[i], s = o.split("/");
952
952
  if (s.length === 0)
953
953
  throw new Error("Invalid number skeleton");
954
954
  for (var a = s[0], u = s.slice(1), l = 0, f = u; l < f.length; l++) {
955
- var h = f[l];
956
- if (h.length === 0)
955
+ var p = f[l];
956
+ if (p.length === 0)
957
957
  throw new Error("Invalid number skeleton");
958
958
  }
959
959
  r.push({ stem: a, options: u });
960
960
  }
961
961
  return r;
962
962
  }
963
- function ln(e) {
963
+ function hn(e) {
964
964
  return e.replace(/^(.*?)-/, "");
965
965
  }
966
- var Wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kr = /^(@+)?(\+|#+)?[rs]?$/g, cn = /(\*)(0+)|(#+)(0+)|(0+)/g, Rr = /^(0+)$/;
966
+ var Wt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kr = /^(@+)?(\+|#+)?[rs]?$/g, dn = /(\*)(0+)|(#+)(0+)|(0+)/g, Rr = /^(0+)$/;
967
967
  function Xt(e) {
968
968
  var t = {};
969
969
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kr, function(r, i, n) {
@@ -1010,7 +1010,7 @@ function Ur(e) {
1010
1010
  };
1011
1011
  }
1012
1012
  }
1013
- function fn(e) {
1013
+ function pn(e) {
1014
1014
  var t;
1015
1015
  if (e[0] === "E" && e[1] === "E" ? (t = {
1016
1016
  notation: "engineering"
@@ -1028,7 +1028,7 @@ function qt(e) {
1028
1028
  var t = {}, r = Ur(e);
1029
1029
  return r || t;
1030
1030
  }
1031
- function hn(e) {
1031
+ function mn(e) {
1032
1032
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
1033
1033
  var n = i[r];
1034
1034
  switch (n.stem) {
@@ -1052,7 +1052,7 @@ function hn(e) {
1052
1052
  continue;
1053
1053
  case "measure-unit":
1054
1054
  case "unit":
1055
- t.style = "unit", t.unit = ln(n.options[0]);
1055
+ t.style = "unit", t.unit = hn(n.options[0]);
1056
1056
  continue;
1057
1057
  case "compact-short":
1058
1058
  case "K":
@@ -1114,11 +1114,11 @@ function hn(e) {
1114
1114
  case "integer-width":
1115
1115
  if (n.options.length > 1)
1116
1116
  throw new RangeError("integer-width stems only accept a single optional option");
1117
- n.options[0].replace(cn, function(u, l, f, h, m, b) {
1117
+ n.options[0].replace(dn, function(u, l, f, p, v, b) {
1118
1118
  if (l)
1119
1119
  t.minimumIntegerDigits = f.length;
1120
1120
  else {
1121
- if (h && m)
1121
+ if (p && v)
1122
1122
  throw new Error("We currently do not support maximum integer digits");
1123
1123
  if (b)
1124
1124
  throw new Error("We currently do not support exact integer digits");
@@ -1134,8 +1134,8 @@ function hn(e) {
1134
1134
  if (Wt.test(n.stem)) {
1135
1135
  if (n.options.length > 1)
1136
1136
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1137
- n.stem.replace(Wt, function(u, l, f, h, m, b) {
1138
- return f === "*" ? t.minimumFractionDigits = l.length : h && h[0] === "#" ? t.maximumFractionDigits = h.length : m && b ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1137
+ n.stem.replace(Wt, function(u, l, f, p, v, b) {
1138
+ return f === "*" ? t.minimumFractionDigits = l.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : v && b ? (t.minimumFractionDigits = v.length, t.maximumFractionDigits = v.length + b.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1139
1139
  });
1140
1140
  var o = n.options[0];
1141
1141
  o === "w" ? t = U(U({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = U(U({}, t), Xt(o)));
@@ -1147,7 +1147,7 @@ function hn(e) {
1147
1147
  }
1148
1148
  var s = Ur(n.stem);
1149
1149
  s && (t = U(U({}, t), s));
1150
- var a = fn(n.stem);
1150
+ var a = pn(n.stem);
1151
1151
  a && (t = U(U({}, t), a));
1152
1152
  }
1153
1153
  return t;
@@ -2567,13 +2567,13 @@ var Xe = {
2567
2567
  "h"
2568
2568
  ]
2569
2569
  };
2570
- function dn(e, t) {
2570
+ function vn(e, t) {
2571
2571
  for (var r = "", i = 0; i < e.length; i++) {
2572
2572
  var n = e.charAt(i);
2573
2573
  if (n === "j") {
2574
2574
  for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2575
2575
  o++, i++;
2576
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = pn(t);
2576
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = gn(t);
2577
2577
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
2578
2578
  r += u;
2579
2579
  for (; s-- > 0; )
@@ -2583,7 +2583,7 @@ function dn(e, t) {
2583
2583
  }
2584
2584
  return r;
2585
2585
  }
2586
- function pn(e) {
2586
+ function gn(e) {
2587
2587
  var t = e.hourCycle;
2588
2588
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2589
2589
  e.hourCycles && // @ts-ignore
@@ -2605,20 +2605,20 @@ function pn(e) {
2605
2605
  var n = Xe[i || ""] || Xe[r || ""] || Xe["".concat(r, "-001")] || Xe["001"];
2606
2606
  return n[0];
2607
2607
  }
2608
- var pt, mn = new RegExp("^".concat(Nr.source, "*")), vn = new RegExp("".concat(Nr.source, "*$"));
2609
- function $(e, t) {
2608
+ var pt, bn = new RegExp("^".concat(Nr.source, "*")), yn = new RegExp("".concat(Nr.source, "*$"));
2609
+ function M(e, t) {
2610
2610
  return { start: e, end: t };
2611
2611
  }
2612
- var gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), bn = !!String.fromCodePoint, yn = !!Object.fromEntries, _n = !!String.prototype.codePointAt, xn = !!String.prototype.trimStart, wn = !!String.prototype.trimEnd, En = !!Number.isSafeInteger, Sn = En ? Number.isSafeInteger : function(e) {
2612
+ var _n = !!String.prototype.startsWith && "_a".startsWith("a", 1), xn = !!String.fromCodePoint, En = !!Object.fromEntries, wn = !!String.prototype.codePointAt, Sn = !!String.prototype.trimStart, Tn = !!String.prototype.trimEnd, On = !!Number.isSafeInteger, Pn = On ? Number.isSafeInteger : function(e) {
2613
2613
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2614
- }, Et = !0;
2614
+ }, wt = !0;
2615
2615
  try {
2616
- var Tn = Fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2617
- Et = ((pt = Tn.exec("a")) === null || pt === void 0 ? void 0 : pt[0]) === "a";
2616
+ var Hn = Fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2617
+ wt = ((pt = Hn.exec("a")) === null || pt === void 0 ? void 0 : pt[0]) === "a";
2618
2618
  } catch {
2619
- Et = !1;
2619
+ wt = !1;
2620
2620
  }
2621
- var Yt = gn ? (
2621
+ var Yt = _n ? (
2622
2622
  // Native
2623
2623
  function(t, r, i) {
2624
2624
  return t.startsWith(r, i);
@@ -2628,7 +2628,7 @@ var Yt = gn ? (
2628
2628
  function(t, r, i) {
2629
2629
  return t.slice(i, i + r.length) === r;
2630
2630
  }
2631
- ), St = bn ? String.fromCodePoint : (
2631
+ ), St = xn ? String.fromCodePoint : (
2632
2632
  // IE11
2633
2633
  function() {
2634
2634
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2642,7 +2642,7 @@ var Yt = gn ? (
2642
2642
  }
2643
2643
  ), Zt = (
2644
2644
  // native
2645
- yn ? Object.fromEntries : (
2645
+ En ? Object.fromEntries : (
2646
2646
  // Ponyfill
2647
2647
  function(t) {
2648
2648
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -2652,7 +2652,7 @@ var Yt = gn ? (
2652
2652
  return r;
2653
2653
  }
2654
2654
  )
2655
- ), Vr = _n ? (
2655
+ ), Vr = wn ? (
2656
2656
  // Native
2657
2657
  function(t, r) {
2658
2658
  return t.codePointAt(r);
@@ -2666,7 +2666,7 @@ var Yt = gn ? (
2666
2666
  return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
2667
2667
  }
2668
2668
  }
2669
- ), On = xn ? (
2669
+ ), An = Sn ? (
2670
2670
  // Native
2671
2671
  function(t) {
2672
2672
  return t.trimStart();
@@ -2674,9 +2674,9 @@ var Yt = gn ? (
2674
2674
  ) : (
2675
2675
  // Ponyfill
2676
2676
  function(t) {
2677
- return t.replace(mn, "");
2677
+ return t.replace(bn, "");
2678
2678
  }
2679
- ), Pn = wn ? (
2679
+ ), Bn = Tn ? (
2680
2680
  // Native
2681
2681
  function(t) {
2682
2682
  return t.trimEnd();
@@ -2684,14 +2684,14 @@ var Yt = gn ? (
2684
2684
  ) : (
2685
2685
  // Ponyfill
2686
2686
  function(t) {
2687
- return t.replace(vn, "");
2687
+ return t.replace(yn, "");
2688
2688
  }
2689
2689
  );
2690
2690
  function Fr(e, t) {
2691
2691
  return new RegExp(e, t);
2692
2692
  }
2693
2693
  var Tt;
2694
- if (Et) {
2694
+ if (wt) {
2695
2695
  var Jt = Fr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2696
2696
  Tt = function(t, r) {
2697
2697
  var i;
@@ -2703,13 +2703,13 @@ if (Et) {
2703
2703
  Tt = function(t, r) {
2704
2704
  for (var i = []; ; ) {
2705
2705
  var n = Vr(t, r);
2706
- if (n === void 0 || Gr(n) || Mn(n))
2706
+ if (n === void 0 || Gr(n) || Ln(n))
2707
2707
  break;
2708
2708
  i.push(n), r += n >= 65536 ? 2 : 1;
2709
2709
  }
2710
2710
  return St.apply(void 0, i);
2711
2711
  };
2712
- var Hn = (
2712
+ var Mn = (
2713
2713
  /** @class */
2714
2714
  function() {
2715
2715
  function e(t, r) {
@@ -2733,13 +2733,13 @@ var Hn = (
2733
2733
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2734
2734
  var a = this.clonePosition();
2735
2735
  this.bump(), n.push({
2736
- type: k.pound,
2737
- location: $(a, this.clonePosition())
2736
+ type: N.pound,
2737
+ location: M(a, this.clonePosition())
2738
2738
  });
2739
2739
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2740
2740
  if (i)
2741
2741
  break;
2742
- return this.error(A.UNMATCHED_CLOSING_TAG, $(this.clonePosition(), this.clonePosition()));
2742
+ return this.error(A.UNMATCHED_CLOSING_TAG, M(this.clonePosition(), this.clonePosition()));
2743
2743
  } else if (o === 60 && !this.ignoreTag && Ot(this.peek() || 0)) {
2744
2744
  var s = this.parseTag(t, r);
2745
2745
  if (s.err)
@@ -2761,9 +2761,9 @@ var Hn = (
2761
2761
  if (this.bumpSpace(), this.bumpIf("/>"))
2762
2762
  return {
2763
2763
  val: {
2764
- type: k.literal,
2764
+ type: N.literal,
2765
2765
  value: "<".concat(n, "/>"),
2766
- location: $(i, this.clonePosition())
2766
+ location: M(i, this.clonePosition())
2767
2767
  },
2768
2768
  err: null
2769
2769
  };
@@ -2774,24 +2774,24 @@ var Hn = (
2774
2774
  var s = o.val, a = this.clonePosition();
2775
2775
  if (this.bumpIf("</")) {
2776
2776
  if (this.isEOF() || !Ot(this.char()))
2777
- return this.error(A.INVALID_TAG, $(a, this.clonePosition()));
2777
+ return this.error(A.INVALID_TAG, M(a, this.clonePosition()));
2778
2778
  var u = this.clonePosition(), l = this.parseTagName();
2779
- return n !== l ? this.error(A.UNMATCHED_CLOSING_TAG, $(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2779
+ return n !== l ? this.error(A.UNMATCHED_CLOSING_TAG, M(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2780
2780
  val: {
2781
- type: k.tag,
2781
+ type: N.tag,
2782
2782
  value: n,
2783
2783
  children: s,
2784
- location: $(i, this.clonePosition())
2784
+ location: M(i, this.clonePosition())
2785
2785
  },
2786
2786
  err: null
2787
- } : this.error(A.INVALID_TAG, $(a, this.clonePosition())));
2787
+ } : this.error(A.INVALID_TAG, M(a, this.clonePosition())));
2788
2788
  } else
2789
- return this.error(A.UNCLOSED_TAG, $(i, this.clonePosition()));
2789
+ return this.error(A.UNCLOSED_TAG, M(i, this.clonePosition()));
2790
2790
  } else
2791
- return this.error(A.INVALID_TAG, $(i, this.clonePosition()));
2791
+ return this.error(A.INVALID_TAG, M(i, this.clonePosition()));
2792
2792
  }, e.prototype.parseTagName = function() {
2793
2793
  var t = this.offset();
2794
- for (this.bump(); !this.isEOF() && Bn(this.char()); )
2794
+ for (this.bump(); !this.isEOF() && $n(this.char()); )
2795
2795
  this.bump();
2796
2796
  return this.message.slice(t, this.offset());
2797
2797
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2813,14 +2813,14 @@ var Hn = (
2813
2813
  }
2814
2814
  break;
2815
2815
  }
2816
- var u = $(i, this.clonePosition());
2816
+ var u = M(i, this.clonePosition());
2817
2817
  return {
2818
- val: { type: k.literal, value: n, location: u },
2818
+ val: { type: N.literal, value: n, location: u },
2819
2819
  err: null
2820
2820
  };
2821
2821
  }, e.prototype.tryParseLeftAngleBracket = function() {
2822
2822
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2823
- !An(this.peek() || 0)) ? (this.bump(), "<") : null;
2823
+ !Cn(this.peek() || 0)) ? (this.bump(), "<") : null;
2824
2824
  }, e.prototype.tryParseQuote = function(t) {
2825
2825
  if (this.isEOF() || this.char() !== 39)
2826
2826
  return null;
@@ -2863,40 +2863,40 @@ var Hn = (
2863
2863
  }, e.prototype.parseArgument = function(t, r) {
2864
2864
  var i = this.clonePosition();
2865
2865
  if (this.bump(), this.bumpSpace(), this.isEOF())
2866
- return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, $(i, this.clonePosition()));
2866
+ return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, M(i, this.clonePosition()));
2867
2867
  if (this.char() === 125)
2868
- return this.bump(), this.error(A.EMPTY_ARGUMENT, $(i, this.clonePosition()));
2868
+ return this.bump(), this.error(A.EMPTY_ARGUMENT, M(i, this.clonePosition()));
2869
2869
  var n = this.parseIdentifierIfPossible().value;
2870
2870
  if (!n)
2871
- return this.error(A.MALFORMED_ARGUMENT, $(i, this.clonePosition()));
2871
+ return this.error(A.MALFORMED_ARGUMENT, M(i, this.clonePosition()));
2872
2872
  if (this.bumpSpace(), this.isEOF())
2873
- return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, $(i, this.clonePosition()));
2873
+ return this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, M(i, this.clonePosition()));
2874
2874
  switch (this.char()) {
2875
2875
  case 125:
2876
2876
  return this.bump(), {
2877
2877
  val: {
2878
- type: k.argument,
2878
+ type: N.argument,
2879
2879
  // value does not include the opening and closing braces.
2880
2880
  value: n,
2881
- location: $(i, this.clonePosition())
2881
+ location: M(i, this.clonePosition())
2882
2882
  },
2883
2883
  err: null
2884
2884
  };
2885
2885
  case 44:
2886
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, $(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2886
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, M(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2887
2887
  default:
2888
- return this.error(A.MALFORMED_ARGUMENT, $(i, this.clonePosition()));
2888
+ return this.error(A.MALFORMED_ARGUMENT, M(i, this.clonePosition()));
2889
2889
  }
2890
2890
  }, e.prototype.parseIdentifierIfPossible = function() {
2891
2891
  var t = this.clonePosition(), r = this.offset(), i = Tt(this.message, r), n = r + i.length;
2892
2892
  this.bumpTo(n);
2893
- var o = this.clonePosition(), s = $(t, o);
2893
+ var o = this.clonePosition(), s = M(t, o);
2894
2894
  return { value: i, location: s };
2895
2895
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
2896
2896
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, u = this.clonePosition();
2897
2897
  switch (a) {
2898
2898
  case "":
2899
- return this.error(A.EXPECT_ARGUMENT_TYPE, $(s, u));
2899
+ return this.error(A.EXPECT_ARGUMENT_TYPE, M(s, u));
2900
2900
  case "number":
2901
2901
  case "date":
2902
2902
  case "time": {
@@ -2904,49 +2904,49 @@ var Hn = (
2904
2904
  var l = null;
2905
2905
  if (this.bumpIf(",")) {
2906
2906
  this.bumpSpace();
2907
- var f = this.clonePosition(), h = this.parseSimpleArgStyleIfPossible();
2908
- if (h.err)
2909
- return h;
2910
- var m = Pn(h.val);
2911
- if (m.length === 0)
2912
- return this.error(A.EXPECT_ARGUMENT_STYLE, $(this.clonePosition(), this.clonePosition()));
2913
- var b = $(f, this.clonePosition());
2914
- l = { style: m, styleLocation: b };
2907
+ var f = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
2908
+ if (p.err)
2909
+ return p;
2910
+ var v = Bn(p.val);
2911
+ if (v.length === 0)
2912
+ return this.error(A.EXPECT_ARGUMENT_STYLE, M(this.clonePosition(), this.clonePosition()));
2913
+ var b = M(f, this.clonePosition());
2914
+ l = { style: v, styleLocation: b };
2915
2915
  }
2916
- var x = this.tryParseArgumentClose(n);
2917
- if (x.err)
2918
- return x;
2919
- var d = $(n, this.clonePosition());
2916
+ var T = this.tryParseArgumentClose(n);
2917
+ if (T.err)
2918
+ return T;
2919
+ var h = M(n, this.clonePosition());
2920
2920
  if (l && Yt(l?.style, "::", 0)) {
2921
- var I = On(l.style.slice(2));
2921
+ var I = An(l.style.slice(2));
2922
2922
  if (a === "number") {
2923
- var h = this.parseNumberSkeletonFromString(I, l.styleLocation);
2924
- return h.err ? h : {
2925
- val: { type: k.number, value: i, location: d, style: h.val },
2923
+ var p = this.parseNumberSkeletonFromString(I, l.styleLocation);
2924
+ return p.err ? p : {
2925
+ val: { type: N.number, value: i, location: h, style: p.val },
2926
2926
  err: null
2927
2927
  };
2928
2928
  } else {
2929
2929
  if (I.length === 0)
2930
- return this.error(A.EXPECT_DATE_TIME_SKELETON, d);
2931
- var N = I;
2932
- this.locale && (N = dn(I, this.locale));
2933
- var m = {
2930
+ return this.error(A.EXPECT_DATE_TIME_SKELETON, h);
2931
+ var R = I;
2932
+ this.locale && (R = vn(I, this.locale));
2933
+ var v = {
2934
2934
  type: Pe.dateTime,
2935
- pattern: N,
2935
+ pattern: R,
2936
2936
  location: l.styleLocation,
2937
- parsedOptions: this.shouldParseSkeletons ? sn(N) : {}
2938
- }, H = a === "date" ? k.date : k.time;
2937
+ parsedOptions: this.shouldParseSkeletons ? ln(R) : {}
2938
+ }, H = a === "date" ? N.date : N.time;
2939
2939
  return {
2940
- val: { type: H, value: i, location: d, style: m },
2940
+ val: { type: H, value: i, location: h, style: v },
2941
2941
  err: null
2942
2942
  };
2943
2943
  }
2944
2944
  }
2945
2945
  return {
2946
2946
  val: {
2947
- type: a === "number" ? k.number : a === "date" ? k.date : k.time,
2947
+ type: a === "number" ? N.number : a === "date" ? N.date : N.time,
2948
2948
  value: i,
2949
- location: d,
2949
+ location: h,
2950
2950
  style: (o = l?.style) !== null && o !== void 0 ? o : null
2951
2951
  },
2952
2952
  err: null
@@ -2955,52 +2955,52 @@ var Hn = (
2955
2955
  case "plural":
2956
2956
  case "selectordinal":
2957
2957
  case "select": {
2958
- var T = this.clonePosition();
2958
+ var E = this.clonePosition();
2959
2959
  if (this.bumpSpace(), !this.bumpIf(","))
2960
- return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS, $(T, tt({}, T)));
2960
+ return this.error(A.EXPECT_SELECT_ARGUMENT_OPTIONS, M(E, tt({}, E)));
2961
2961
  this.bumpSpace();
2962
- var O = this.parseIdentifierIfPossible(), L = 0;
2962
+ var O = this.parseIdentifierIfPossible(), $ = 0;
2963
2963
  if (a !== "select" && O.value === "offset") {
2964
2964
  if (!this.bumpIf(":"))
2965
- return this.error(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, $(this.clonePosition(), this.clonePosition()));
2965
+ return this.error(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, M(this.clonePosition(), this.clonePosition()));
2966
2966
  this.bumpSpace();
2967
- var h = this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2968
- if (h.err)
2969
- return h;
2970
- this.bumpSpace(), O = this.parseIdentifierIfPossible(), L = h.val;
2967
+ var p = this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, A.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2968
+ if (p.err)
2969
+ return p;
2970
+ this.bumpSpace(), O = this.parseIdentifierIfPossible(), $ = p.val;
2971
2971
  }
2972
2972
  var P = this.tryParsePluralOrSelectOptions(t, a, r, O);
2973
2973
  if (P.err)
2974
2974
  return P;
2975
- var x = this.tryParseArgumentClose(n);
2976
- if (x.err)
2977
- return x;
2978
- var W = $(n, this.clonePosition());
2975
+ var T = this.tryParseArgumentClose(n);
2976
+ if (T.err)
2977
+ return T;
2978
+ var z = M(n, this.clonePosition());
2979
2979
  return a === "select" ? {
2980
2980
  val: {
2981
- type: k.select,
2981
+ type: N.select,
2982
2982
  value: i,
2983
2983
  options: Zt(P.val),
2984
- location: W
2984
+ location: z
2985
2985
  },
2986
2986
  err: null
2987
2987
  } : {
2988
2988
  val: {
2989
- type: k.plural,
2989
+ type: N.plural,
2990
2990
  value: i,
2991
2991
  options: Zt(P.val),
2992
- offset: L,
2992
+ offset: $,
2993
2993
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2994
- location: W
2994
+ location: z
2995
2995
  },
2996
2996
  err: null
2997
2997
  };
2998
2998
  }
2999
2999
  default:
3000
- return this.error(A.INVALID_ARGUMENT_TYPE, $(s, u));
3000
+ return this.error(A.INVALID_ARGUMENT_TYPE, M(s, u));
3001
3001
  }
3002
3002
  }, e.prototype.tryParseArgumentClose = function(t) {
3003
- return this.isEOF() || this.char() !== 125 ? this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, $(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3003
+ return this.isEOF() || this.char() !== 125 ? this.error(A.EXPECT_ARGUMENT_CLOSING_BRACE, M(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3004
3004
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3005
3005
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3006
3006
  var i = this.char();
@@ -3009,7 +3009,7 @@ var Hn = (
3009
3009
  this.bump();
3010
3010
  var n = this.clonePosition();
3011
3011
  if (!this.bumpUntil("'"))
3012
- return this.error(A.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, $(n, this.clonePosition()));
3012
+ return this.error(A.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, M(n, this.clonePosition()));
3013
3013
  this.bump();
3014
3014
  break;
3015
3015
  }
@@ -3039,7 +3039,7 @@ var Hn = (
3039
3039
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3040
3040
  var i = [];
3041
3041
  try {
3042
- i = un(t);
3042
+ i = fn(t);
3043
3043
  } catch {
3044
3044
  return this.error(A.INVALID_NUMBER_SKELETON, r);
3045
3045
  }
@@ -3048,19 +3048,19 @@ var Hn = (
3048
3048
  type: Pe.number,
3049
3049
  tokens: i,
3050
3050
  location: r,
3051
- parsedOptions: this.shouldParseSkeletons ? hn(i) : {}
3051
+ parsedOptions: this.shouldParseSkeletons ? mn(i) : {}
3052
3052
  },
3053
3053
  err: null
3054
3054
  };
3055
3055
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
3056
3056
  for (var o, s = !1, a = [], u = /* @__PURE__ */ new Set(), l = n.value, f = n.location; ; ) {
3057
3057
  if (l.length === 0) {
3058
- var h = this.clonePosition();
3058
+ var p = this.clonePosition();
3059
3059
  if (r !== "select" && this.bumpIf("=")) {
3060
- var m = this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_SELECTOR, A.INVALID_PLURAL_ARGUMENT_SELECTOR);
3061
- if (m.err)
3062
- return m;
3063
- f = $(h, this.clonePosition()), l = this.message.slice(h.offset, this.offset());
3060
+ var v = this.tryParseDecimalInteger(A.EXPECT_PLURAL_ARGUMENT_SELECTOR, A.INVALID_PLURAL_ARGUMENT_SELECTOR);
3061
+ if (v.err)
3062
+ return v;
3063
+ f = M(p, this.clonePosition()), l = this.message.slice(p.offset, this.offset());
3064
3064
  } else
3065
3065
  break;
3066
3066
  }
@@ -3069,22 +3069,22 @@ var Hn = (
3069
3069
  l === "other" && (s = !0), this.bumpSpace();
3070
3070
  var b = this.clonePosition();
3071
3071
  if (!this.bumpIf("{"))
3072
- return this.error(r === "select" ? A.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : A.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, $(this.clonePosition(), this.clonePosition()));
3073
- var x = this.parseMessage(t + 1, r, i);
3074
- if (x.err)
3075
- return x;
3076
- var d = this.tryParseArgumentClose(b);
3077
- if (d.err)
3078
- return d;
3072
+ return this.error(r === "select" ? A.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : A.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, M(this.clonePosition(), this.clonePosition()));
3073
+ var T = this.parseMessage(t + 1, r, i);
3074
+ if (T.err)
3075
+ return T;
3076
+ var h = this.tryParseArgumentClose(b);
3077
+ if (h.err)
3078
+ return h;
3079
3079
  a.push([
3080
3080
  l,
3081
3081
  {
3082
- value: x.val,
3083
- location: $(b, this.clonePosition())
3082
+ value: T.val,
3083
+ location: M(b, this.clonePosition())
3084
3084
  }
3085
3085
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, f = o.location;
3086
3086
  }
3087
- return a.length === 0 ? this.error(r === "select" ? A.EXPECT_SELECT_ARGUMENT_SELECTOR : A.EXPECT_PLURAL_ARGUMENT_SELECTOR, $(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(A.MISSING_OTHER_CLAUSE, $(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3087
+ return a.length === 0 ? this.error(r === "select" ? A.EXPECT_SELECT_ARGUMENT_SELECTOR : A.EXPECT_PLURAL_ARGUMENT_SELECTOR, M(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(A.MISSING_OTHER_CLAUSE, M(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3088
3088
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3089
3089
  var i = 1, n = this.clonePosition();
3090
3090
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
@@ -3095,8 +3095,8 @@ var Hn = (
3095
3095
  else
3096
3096
  break;
3097
3097
  }
3098
- var u = $(n, this.clonePosition());
3099
- return o ? (s *= i, Sn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3098
+ var u = M(n, this.clonePosition());
3099
+ return o ? (s *= i, Pn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3100
3100
  }, e.prototype.offset = function() {
3101
3101
  return this.position.offset;
3102
3102
  }, e.prototype.isEOF = function() {
@@ -3165,30 +3165,30 @@ var Hn = (
3165
3165
  function Ot(e) {
3166
3166
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3167
3167
  }
3168
- function An(e) {
3168
+ function Cn(e) {
3169
3169
  return Ot(e) || e === 47;
3170
3170
  }
3171
- function Bn(e) {
3171
+ function $n(e) {
3172
3172
  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;
3173
3173
  }
3174
3174
  function Gr(e) {
3175
3175
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3176
3176
  }
3177
- function Mn(e) {
3177
+ function Ln(e) {
3178
3178
  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;
3179
3179
  }
3180
3180
  function Pt(e) {
3181
3181
  e.forEach(function(t) {
3182
- if (delete t.location, Cr(t) || Lr(t))
3182
+ if (delete t.location, $r(t) || Lr(t))
3183
3183
  for (var r in t.options)
3184
3184
  delete t.options[r].location, Pt(t.options[r].value);
3185
3185
  else
3186
- Br(t) && Dr(t.style) || (Mr(t) || $r(t)) && wt(t.style) ? delete t.style.location : Ir(t) && Pt(t.children);
3186
+ Br(t) && Dr(t.style) || (Mr(t) || Cr(t)) && Et(t.style) ? delete t.style.location : Ir(t) && Pt(t.children);
3187
3187
  });
3188
3188
  }
3189
- function $n(e, t) {
3189
+ function In(e, t) {
3190
3190
  t === void 0 && (t = {}), t = tt({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3191
- var r = new Hn(e, t).parse();
3191
+ var r = new Mn(e, t).parse();
3192
3192
  if (r.err) {
3193
3193
  var i = SyntaxError(A[r.err.kind]);
3194
3194
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
@@ -3220,7 +3220,7 @@ var st = (
3220
3220
  }
3221
3221
  return t;
3222
3222
  }(st)
3223
- ), Cn = (
3223
+ ), Dn = (
3224
3224
  /** @class */
3225
3225
  function(e) {
3226
3226
  ot(t, e);
@@ -3229,7 +3229,7 @@ var st = (
3229
3229
  }
3230
3230
  return t;
3231
3231
  }(st)
3232
- ), Ln = (
3232
+ ), Nn = (
3233
3233
  /** @class */
3234
3234
  function(e) {
3235
3235
  ot(t, e);
@@ -3238,24 +3238,24 @@ var st = (
3238
3238
  }
3239
3239
  return t;
3240
3240
  }(st)
3241
- ), Z;
3241
+ ), q;
3242
3242
  (function(e) {
3243
3243
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3244
- })(Z || (Z = {}));
3245
- function In(e) {
3244
+ })(q || (q = {}));
3245
+ function kn(e) {
3246
3246
  return e.length < 2 ? e : e.reduce(function(t, r) {
3247
3247
  var i = t[t.length - 1];
3248
- return !i || i.type !== Z.literal || r.type !== Z.literal ? t.push(r) : i.value += r.value, t;
3248
+ return !i || i.type !== q.literal || r.type !== q.literal ? t.push(r) : i.value += r.value, t;
3249
3249
  }, []);
3250
3250
  }
3251
- function Dn(e) {
3251
+ function Rn(e) {
3252
3252
  return typeof e == "function";
3253
3253
  }
3254
3254
  function Je(e, t, r, i, n, o, s) {
3255
3255
  if (e.length === 1 && zt(e[0]))
3256
3256
  return [
3257
3257
  {
3258
- type: Z.literal,
3258
+ type: q.literal,
3259
3259
  value: e[0].value
3260
3260
  }
3261
3261
  ];
@@ -3263,100 +3263,100 @@ function Je(e, t, r, i, n, o, s) {
3263
3263
  var f = l[u];
3264
3264
  if (zt(f)) {
3265
3265
  a.push({
3266
- type: Z.literal,
3266
+ type: q.literal,
3267
3267
  value: f.value
3268
3268
  });
3269
3269
  continue;
3270
3270
  }
3271
- if (nn(f)) {
3271
+ if (an(f)) {
3272
3272
  typeof o == "number" && a.push({
3273
- type: Z.literal,
3273
+ type: q.literal,
3274
3274
  value: r.getNumberFormat(t).format(o)
3275
3275
  });
3276
3276
  continue;
3277
3277
  }
3278
- var h = f.value;
3279
- if (!(n && h in n))
3280
- throw new Ln(h, s);
3281
- var m = n[h];
3282
- if (rn(f)) {
3283
- (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3284
- type: typeof m == "string" ? Z.literal : Z.object,
3285
- value: m
3278
+ var p = f.value;
3279
+ if (!(n && p in n))
3280
+ throw new Nn(p, s);
3281
+ var v = n[p];
3282
+ if (sn(f)) {
3283
+ (!v || typeof v == "string" || typeof v == "number") && (v = typeof v == "string" || typeof v == "number" ? String(v) : ""), a.push({
3284
+ type: typeof v == "string" ? q.literal : q.object,
3285
+ value: v
3286
3286
  });
3287
3287
  continue;
3288
3288
  }
3289
3289
  if (Mr(f)) {
3290
- var b = typeof f.style == "string" ? i.date[f.style] : wt(f.style) ? f.style.parsedOptions : void 0;
3290
+ var b = typeof f.style == "string" ? i.date[f.style] : Et(f.style) ? f.style.parsedOptions : void 0;
3291
3291
  a.push({
3292
- type: Z.literal,
3293
- value: r.getDateTimeFormat(t, b).format(m)
3292
+ type: q.literal,
3293
+ value: r.getDateTimeFormat(t, b).format(v)
3294
3294
  });
3295
3295
  continue;
3296
3296
  }
3297
- if ($r(f)) {
3298
- var b = typeof f.style == "string" ? i.time[f.style] : wt(f.style) ? f.style.parsedOptions : i.time.medium;
3297
+ if (Cr(f)) {
3298
+ var b = typeof f.style == "string" ? i.time[f.style] : Et(f.style) ? f.style.parsedOptions : i.time.medium;
3299
3299
  a.push({
3300
- type: Z.literal,
3301
- value: r.getDateTimeFormat(t, b).format(m)
3300
+ type: q.literal,
3301
+ value: r.getDateTimeFormat(t, b).format(v)
3302
3302
  });
3303
3303
  continue;
3304
3304
  }
3305
3305
  if (Br(f)) {
3306
3306
  var b = typeof f.style == "string" ? i.number[f.style] : Dr(f.style) ? f.style.parsedOptions : void 0;
3307
- b && b.scale && (m = m * (b.scale || 1)), a.push({
3308
- type: Z.literal,
3309
- value: r.getNumberFormat(t, b).format(m)
3307
+ b && b.scale && (v = v * (b.scale || 1)), a.push({
3308
+ type: q.literal,
3309
+ value: r.getNumberFormat(t, b).format(v)
3310
3310
  });
3311
3311
  continue;
3312
3312
  }
3313
3313
  if (Ir(f)) {
3314
- var x = f.children, d = f.value, I = n[d];
3315
- if (!Dn(I))
3316
- throw new Cn(d, "function", s);
3317
- var N = Je(x, t, r, i, n, o), H = I(N.map(function(L) {
3318
- return L.value;
3314
+ var T = f.children, h = f.value, I = n[h];
3315
+ if (!Rn(I))
3316
+ throw new Dn(h, "function", s);
3317
+ var R = Je(T, t, r, i, n, o), H = I(R.map(function($) {
3318
+ return $.value;
3319
3319
  }));
3320
- Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(L) {
3320
+ Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function($) {
3321
3321
  return {
3322
- type: typeof L == "string" ? Z.literal : Z.object,
3323
- value: L
3322
+ type: typeof $ == "string" ? q.literal : q.object,
3323
+ value: $
3324
3324
  };
3325
3325
  }));
3326
3326
  }
3327
- if (Cr(f)) {
3328
- var T = f.options[m] || f.options.other;
3329
- if (!T)
3330
- throw new Qt(f.value, m, Object.keys(f.options), s);
3331
- a.push.apply(a, Je(T.value, t, r, i, n));
3327
+ if ($r(f)) {
3328
+ var E = f.options[v] || f.options.other;
3329
+ if (!E)
3330
+ throw new Qt(f.value, v, Object.keys(f.options), s);
3331
+ a.push.apply(a, Je(E.value, t, r, i, n));
3332
3332
  continue;
3333
3333
  }
3334
3334
  if (Lr(f)) {
3335
- var T = f.options["=".concat(m)];
3336
- if (!T) {
3335
+ var E = f.options["=".concat(v)];
3336
+ if (!E) {
3337
3337
  if (!Intl.PluralRules)
3338
3338
  throw new st(`Intl.PluralRules is not available in this environment.
3339
3339
  Try polyfilling it using "@formatjs/intl-pluralrules"
3340
3340
  `, He.MISSING_INTL_API, s);
3341
- var O = r.getPluralRules(t, { type: f.pluralType }).select(m - (f.offset || 0));
3342
- T = f.options[O] || f.options.other;
3341
+ var O = r.getPluralRules(t, { type: f.pluralType }).select(v - (f.offset || 0));
3342
+ E = f.options[O] || f.options.other;
3343
3343
  }
3344
- if (!T)
3345
- throw new Qt(f.value, m, Object.keys(f.options), s);
3346
- a.push.apply(a, Je(T.value, t, r, i, n, m - (f.offset || 0)));
3344
+ if (!E)
3345
+ throw new Qt(f.value, v, Object.keys(f.options), s);
3346
+ a.push.apply(a, Je(E.value, t, r, i, n, v - (f.offset || 0)));
3347
3347
  continue;
3348
3348
  }
3349
3349
  }
3350
- return In(a);
3350
+ return kn(a);
3351
3351
  }
3352
- function Nn(e, t) {
3352
+ function Un(e, t) {
3353
3353
  return t ? ie(ie(ie({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3354
3354
  return r[i] = ie(ie({}, e[i]), t[i] || {}), r;
3355
3355
  }, {})) : e;
3356
3356
  }
3357
- function kn(e, t) {
3357
+ function Vn(e, t) {
3358
3358
  return t ? Object.keys(e).reduce(function(r, i) {
3359
- return r[i] = Nn(e[i], t[i]), r;
3359
+ return r[i] = Un(e[i], t[i]), r;
3360
3360
  }, ie({}, e)) : e;
3361
3361
  }
3362
3362
  function mt(e) {
@@ -3373,7 +3373,7 @@ function mt(e) {
3373
3373
  }
3374
3374
  };
3375
3375
  }
3376
- function Rn(e) {
3376
+ function Fn(e) {
3377
3377
  return e === void 0 && (e = {
3378
3378
  number: {},
3379
3379
  dateTime: {},
@@ -3419,8 +3419,8 @@ var jr = (
3419
3419
  var l = o.formatToParts(u);
3420
3420
  if (l.length === 1)
3421
3421
  return l[0].value;
3422
- var f = l.reduce(function(h, m) {
3423
- return !h.length || m.type !== Z.literal || typeof h[h.length - 1] != "string" ? h.push(m.value) : h[h.length - 1] += m.value, h;
3422
+ var f = l.reduce(function(p, v) {
3423
+ return !p.length || v.type !== q.literal || typeof p[p.length - 1] != "string" ? p.push(v.value) : p[p.length - 1] += v.value, p;
3424
3424
  }, []);
3425
3425
  return f.length <= 1 ? f[0] || "" : f;
3426
3426
  }, this.formatToParts = function(u) {
@@ -3437,13 +3437,13 @@ var jr = (
3437
3437
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3438
3438
  var s = n || {};
3439
3439
  s.formatters;
3440
- var a = qi(s, ["formatters"]);
3440
+ var a = Ji(s, ["formatters"]);
3441
3441
  this.ast = e.__parse(t, ie(ie({}, a), { locale: this.resolvedLocale }));
3442
3442
  } else
3443
3443
  this.ast = t;
3444
3444
  if (!Array.isArray(this.ast))
3445
3445
  throw new TypeError("A message must be provided as a String or AST.");
3446
- this.formats = kn(e.formats, i), this.formatters = n && n.formatters || Rn(this.formatterCache);
3446
+ this.formats = Vn(e.formats, i), this.formatters = n && n.formatters || Fn(this.formatterCache);
3447
3447
  }
3448
3448
  return Object.defineProperty(e, "defaultLocale", {
3449
3449
  get: function() {
@@ -3456,7 +3456,7 @@ var jr = (
3456
3456
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3457
3457
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3458
3458
  }
3459
- }, e.__parse = $n, e.formats = {
3459
+ }, e.__parse = In, e.formats = {
3460
3460
  number: {
3461
3461
  integer: {
3462
3462
  maximumFractionDigits: 0
@@ -3517,7 +3517,7 @@ var jr = (
3517
3517
  }, e;
3518
3518
  }()
3519
3519
  );
3520
- function Un(e, t) {
3520
+ function Gn(e, t) {
3521
3521
  if (t == null)
3522
3522
  return;
3523
3523
  if (t in e)
@@ -3538,33 +3538,33 @@ function Un(e, t) {
3538
3538
  i = void 0;
3539
3539
  return i;
3540
3540
  }
3541
- const he = {}, Vn = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), zr = (e, t) => {
3541
+ const fe = {}, jn = (e, t, r) => r && (t in fe || (fe[t] = {}), e in fe[t] || (fe[t][e] = r), r), zr = (e, t) => {
3542
3542
  if (t == null)
3543
3543
  return;
3544
- if (t in he && e in he[t])
3545
- return he[t][e];
3544
+ if (t in fe && e in fe[t])
3545
+ return fe[t][e];
3546
3546
  const r = Ve(t);
3547
3547
  for (let i = 0; i < r.length; i++) {
3548
- const n = r[i], o = Gn(n, e);
3548
+ const n = r[i], o = Wn(n, e);
3549
3549
  if (o)
3550
- return Vn(e, t, o);
3550
+ return jn(e, t, o);
3551
3551
  }
3552
3552
  };
3553
3553
  let kt;
3554
3554
  const Ue = Re({});
3555
- function Fn(e) {
3555
+ function zn(e) {
3556
3556
  return kt[e] || null;
3557
3557
  }
3558
3558
  function Wr(e) {
3559
3559
  return e in kt;
3560
3560
  }
3561
- function Gn(e, t) {
3561
+ function Wn(e, t) {
3562
3562
  if (!Wr(e))
3563
3563
  return null;
3564
- const r = Fn(e);
3565
- return Un(r, t);
3564
+ const r = zn(e);
3565
+ return Gn(r, t);
3566
3566
  }
3567
- function jn(e) {
3567
+ function Xn(e) {
3568
3568
  if (e == null)
3569
3569
  return;
3570
3570
  const t = Ve(e);
@@ -3575,7 +3575,7 @@ function jn(e) {
3575
3575
  }
3576
3576
  }
3577
3577
  function Xr(e, ...t) {
3578
- delete he[e], Ue.update((r) => (r[e] = Xi.all([r[e] || {}, ...t]), r));
3578
+ delete fe[e], Ue.update((r) => (r[e] = Zi.all([r[e] || {}, ...t]), r));
3579
3579
  }
3580
3580
  Me(
3581
3581
  [Ue],
@@ -3583,13 +3583,13 @@ Me(
3583
3583
  );
3584
3584
  Ue.subscribe((e) => kt = e);
3585
3585
  const Qe = {};
3586
- function zn(e, t) {
3586
+ function qn(e, t) {
3587
3587
  Qe[e].delete(t), Qe[e].size === 0 && delete Qe[e];
3588
3588
  }
3589
3589
  function qr(e) {
3590
3590
  return Qe[e];
3591
3591
  }
3592
- function Wn(e) {
3592
+ function Yn(e) {
3593
3593
  return Ve(e).map((t) => {
3594
3594
  const r = qr(t);
3595
3595
  return [t, r ? [...r] : []];
@@ -3603,36 +3603,36 @@ function rt(e) {
3603
3603
  }
3604
3604
  );
3605
3605
  }
3606
- function Xn(e, t) {
3606
+ function Zn(e, t) {
3607
3607
  return Promise.all(
3608
- t.map((i) => (zn(e, i), i().then((n) => n.default || n)))
3608
+ t.map((i) => (qn(e, i), i().then((n) => n.default || n)))
3609
3609
  ).then((i) => Xr(e, ...i));
3610
3610
  }
3611
- const Ce = {};
3611
+ const $e = {};
3612
3612
  function Yr(e) {
3613
3613
  if (!rt(e))
3614
- return e in Ce ? Ce[e] : Promise.resolve();
3615
- const t = Wn(e);
3616
- return Ce[e] = Promise.all(
3614
+ return e in $e ? $e[e] : Promise.resolve();
3615
+ const t = Yn(e);
3616
+ return $e[e] = Promise.all(
3617
3617
  t.map(
3618
- ([r, i]) => Xn(r, i)
3618
+ ([r, i]) => Zn(r, i)
3619
3619
  )
3620
3620
  ).then(() => {
3621
3621
  if (rt(e))
3622
3622
  return Yr(e);
3623
- delete Ce[e];
3624
- }), Ce[e];
3623
+ delete $e[e];
3624
+ }), $e[e];
3625
3625
  }
3626
- var Kt = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Yn = Object.prototype.propertyIsEnumerable, Zn = (e, t) => {
3626
+ var Kt = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, Kn = (e, t) => {
3627
3627
  var r = {};
3628
3628
  for (var i in e)
3629
- qn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3629
+ Jn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3630
3630
  if (e != null && Kt)
3631
3631
  for (var i of Kt(e))
3632
- t.indexOf(i) < 0 && Yn.call(e, i) && (r[i] = e[i]);
3632
+ t.indexOf(i) < 0 && Qn.call(e, i) && (r[i] = e[i]);
3633
3633
  return r;
3634
3634
  };
3635
- const Jn = {
3635
+ const eo = {
3636
3636
  number: {
3637
3637
  scientific: { notation: "scientific" },
3638
3638
  engineering: { notation: "engineering" },
@@ -3662,28 +3662,28 @@ const Jn = {
3662
3662
  }
3663
3663
  }
3664
3664
  };
3665
- function Qn({ locale: e, id: t }) {
3665
+ function to({ locale: e, id: t }) {
3666
3666
  console.warn(
3667
3667
  `[svelte-i18n] The message "${t}" was not found in "${Ve(
3668
3668
  e
3669
- ).join('", "')}".${rt(de()) ? `
3669
+ ).join('", "')}".${rt(he()) ? `
3670
3670
 
3671
3671
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3672
3672
  );
3673
3673
  }
3674
- const Kn = {
3674
+ const ro = {
3675
3675
  fallbackLocale: null,
3676
3676
  loadingDelay: 200,
3677
- formats: Jn,
3677
+ formats: eo,
3678
3678
  warnOnMissingMessages: !0,
3679
3679
  handleMissingMessage: void 0,
3680
3680
  ignoreTag: !0
3681
- }, Le = Kn;
3681
+ }, Le = ro;
3682
3682
  function Ae() {
3683
3683
  return Le;
3684
3684
  }
3685
- function eo(e) {
3686
- const t = e, { formats: r } = t, i = Zn(t, ["formats"]);
3685
+ function io(e) {
3686
+ const t = e, { formats: r } = t, i = Kn(t, ["formats"]);
3687
3687
  let n = e.fallbackLocale;
3688
3688
  if (e.initialLocale)
3689
3689
  try {
@@ -3693,19 +3693,19 @@ function eo(e) {
3693
3693
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3694
3694
  );
3695
3695
  }
3696
- return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = Qn : console.warn(
3696
+ return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = to : console.warn(
3697
3697
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3698
- )), Object.assign(Le, i, { initialLocale: n }), r && ("number" in r && Object.assign(Le.formats.number, r.number), "date" in r && Object.assign(Le.formats.date, r.date), "time" in r && Object.assign(Le.formats.time, r.time)), be.set(n);
3698
+ )), Object.assign(Le, i, { initialLocale: n }), r && ("number" in r && Object.assign(Le.formats.number, r.number), "date" in r && Object.assign(Le.formats.date, r.date), "time" in r && Object.assign(Le.formats.time, r.time)), ge.set(n);
3699
3699
  }
3700
3700
  const vt = Re(!1);
3701
- var to = Object.defineProperty, ro = Object.defineProperties, io = Object.getOwnPropertyDescriptors, er = Object.getOwnPropertySymbols, no = Object.prototype.hasOwnProperty, oo = Object.prototype.propertyIsEnumerable, tr = (e, t, r) => t in e ? to(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, so = (e, t) => {
3701
+ var no = Object.defineProperty, oo = Object.defineProperties, so = Object.getOwnPropertyDescriptors, er = Object.getOwnPropertySymbols, ao = Object.prototype.hasOwnProperty, uo = Object.prototype.propertyIsEnumerable, tr = (e, t, r) => t in e ? no(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lo = (e, t) => {
3702
3702
  for (var r in t || (t = {}))
3703
- no.call(t, r) && tr(e, r, t[r]);
3703
+ ao.call(t, r) && tr(e, r, t[r]);
3704
3704
  if (er)
3705
3705
  for (var r of er(t))
3706
- oo.call(t, r) && tr(e, r, t[r]);
3706
+ uo.call(t, r) && tr(e, r, t[r]);
3707
3707
  return e;
3708
- }, ao = (e, t) => ro(e, io(t));
3708
+ }, co = (e, t) => oo(e, so(t));
3709
3709
  let Ht;
3710
3710
  const it = Re(null);
3711
3711
  function rr(e) {
@@ -3715,17 +3715,17 @@ function Ve(e, t = Ae().fallbackLocale) {
3715
3715
  const r = rr(e);
3716
3716
  return t ? [.../* @__PURE__ */ new Set([...r, ...rr(t)])] : r;
3717
3717
  }
3718
- function de() {
3718
+ function he() {
3719
3719
  return Ht ?? void 0;
3720
3720
  }
3721
3721
  it.subscribe((e) => {
3722
3722
  Ht = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3723
3723
  });
3724
- const uo = (e) => {
3725
- if (e && jn(e) && rt(e)) {
3724
+ const fo = (e) => {
3725
+ if (e && Xn(e) && rt(e)) {
3726
3726
  const { loadingDelay: t } = Ae();
3727
3727
  let r;
3728
- return typeof window < "u" && de() != null && t ? r = window.setTimeout(
3728
+ return typeof window < "u" && he() != null && t ? r = window.setTimeout(
3729
3729
  () => vt.set(!0),
3730
3730
  t
3731
3731
  ) : vt.set(!0), Yr(e).then(() => {
@@ -3735,8 +3735,8 @@ const uo = (e) => {
3735
3735
  });
3736
3736
  }
3737
3737
  return it.set(e);
3738
- }, be = ao(so({}, it), {
3739
- set: uo
3738
+ }, ge = co(lo({}, it), {
3739
+ set: fo
3740
3740
  }), at = (e) => {
3741
3741
  const t = /* @__PURE__ */ Object.create(null);
3742
3742
  return (i) => {
@@ -3744,14 +3744,14 @@ const uo = (e) => {
3744
3744
  return n in t ? t[n] : t[n] = e(i);
3745
3745
  };
3746
3746
  };
3747
- var lo = Object.defineProperty, nt = Object.getOwnPropertySymbols, Zr = Object.prototype.hasOwnProperty, Jr = Object.prototype.propertyIsEnumerable, ir = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Rt = (e, t) => {
3747
+ var ho = Object.defineProperty, nt = Object.getOwnPropertySymbols, Zr = Object.prototype.hasOwnProperty, Jr = Object.prototype.propertyIsEnumerable, ir = (e, t, r) => t in e ? ho(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Rt = (e, t) => {
3748
3748
  for (var r in t || (t = {}))
3749
3749
  Zr.call(t, r) && ir(e, r, t[r]);
3750
3750
  if (nt)
3751
3751
  for (var r of nt(t))
3752
3752
  Jr.call(t, r) && ir(e, r, t[r]);
3753
3753
  return e;
3754
- }, $e = (e, t) => {
3754
+ }, Ce = (e, t) => {
3755
3755
  var r = {};
3756
3756
  for (var i in e)
3757
3757
  Zr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -3765,62 +3765,62 @@ const ke = (e, t) => {
3765
3765
  if (e in r && t in r[e])
3766
3766
  return r[e][t];
3767
3767
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3768
- }, co = at(
3768
+ }, po = at(
3769
3769
  (e) => {
3770
- var t = e, { locale: r, format: i } = t, n = $e(t, ["locale", "format"]);
3770
+ var t = e, { locale: r, format: i } = t, n = Ce(t, ["locale", "format"]);
3771
3771
  if (r == null)
3772
3772
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3773
3773
  return i && (n = ke("number", i)), new Intl.NumberFormat(r, n);
3774
3774
  }
3775
- ), fo = at(
3775
+ ), mo = at(
3776
3776
  (e) => {
3777
- var t = e, { locale: r, format: i } = t, n = $e(t, ["locale", "format"]);
3777
+ var t = e, { locale: r, format: i } = t, n = Ce(t, ["locale", "format"]);
3778
3778
  if (r == null)
3779
3779
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3780
3780
  return i ? n = ke("date", i) : Object.keys(n).length === 0 && (n = ke("date", "short")), new Intl.DateTimeFormat(r, n);
3781
3781
  }
3782
- ), ho = at(
3782
+ ), vo = at(
3783
3783
  (e) => {
3784
- var t = e, { locale: r, format: i } = t, n = $e(t, ["locale", "format"]);
3784
+ var t = e, { locale: r, format: i } = t, n = Ce(t, ["locale", "format"]);
3785
3785
  if (r == null)
3786
3786
  throw new Error(
3787
3787
  '[svelte-i18n] A "locale" must be set to format time values'
3788
3788
  );
3789
3789
  return i ? n = ke("time", i) : Object.keys(n).length === 0 && (n = ke("time", "short")), new Intl.DateTimeFormat(r, n);
3790
3790
  }
3791
- ), po = (e = {}) => {
3791
+ ), go = (e = {}) => {
3792
3792
  var t = e, {
3793
- locale: r = de()
3794
- } = t, i = $e(t, [
3793
+ locale: r = he()
3794
+ } = t, i = Ce(t, [
3795
3795
  "locale"
3796
3796
  ]);
3797
- return co(Rt({ locale: r }, i));
3798
- }, mo = (e = {}) => {
3797
+ return po(Rt({ locale: r }, i));
3798
+ }, bo = (e = {}) => {
3799
3799
  var t = e, {
3800
- locale: r = de()
3801
- } = t, i = $e(t, [
3800
+ locale: r = he()
3801
+ } = t, i = Ce(t, [
3802
3802
  "locale"
3803
3803
  ]);
3804
- return fo(Rt({ locale: r }, i));
3805
- }, vo = (e = {}) => {
3804
+ return mo(Rt({ locale: r }, i));
3805
+ }, yo = (e = {}) => {
3806
3806
  var t = e, {
3807
- locale: r = de()
3808
- } = t, i = $e(t, [
3807
+ locale: r = he()
3808
+ } = t, i = Ce(t, [
3809
3809
  "locale"
3810
3810
  ]);
3811
- return ho(Rt({ locale: r }, i));
3812
- }, go = at(
3811
+ return vo(Rt({ locale: r }, i));
3812
+ }, _o = at(
3813
3813
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3814
- (e, t = de()) => new jr(e, t, Ae().formats, {
3814
+ (e, t = he()) => new jr(e, t, Ae().formats, {
3815
3815
  ignoreTag: Ae().ignoreTag
3816
3816
  })
3817
- ), bo = (e, t = {}) => {
3817
+ ), xo = (e, t = {}) => {
3818
3818
  var r, i, n, o;
3819
3819
  let s = t;
3820
3820
  typeof e == "object" && (s = e, e = s.id);
3821
3821
  const {
3822
3822
  values: a,
3823
- locale: u = de(),
3823
+ locale: u = he(),
3824
3824
  default: l
3825
3825
  } = s;
3826
3826
  if (u == null)
@@ -3836,28 +3836,28 @@ const ke = (e, t) => {
3836
3836
  ), f;
3837
3837
  if (!a)
3838
3838
  return f;
3839
- let h = f;
3839
+ let p = f;
3840
3840
  try {
3841
- h = go(f, u).format(a);
3842
- } catch (m) {
3843
- m instanceof Error && console.warn(
3841
+ p = _o(f, u).format(a);
3842
+ } catch (v) {
3843
+ v instanceof Error && console.warn(
3844
3844
  `[svelte-i18n] Message "${e}" has syntax error:`,
3845
- m.message
3845
+ v.message
3846
3846
  );
3847
3847
  }
3848
- return h;
3849
- }, yo = (e, t) => vo(t).format(e), _o = (e, t) => mo(t).format(e), xo = (e, t) => po(t).format(e), wo = (e, t = de()) => zr(e, t), Eo = Me([be, Ue], () => bo);
3850
- Me([be], () => yo);
3851
- Me([be], () => _o);
3852
- Me([be], () => xo);
3853
- Me([be, Ue], () => wo);
3848
+ return p;
3849
+ }, Eo = (e, t) => yo(t).format(e), wo = (e, t) => bo(t).format(e), So = (e, t) => go(t).format(e), To = (e, t = he()) => zr(e, t), Oo = Me([ge, Ue], () => xo);
3850
+ Me([ge], () => Eo);
3851
+ Me([ge], () => wo);
3852
+ Me([ge], () => So);
3853
+ Me([ge, Ue], () => To);
3854
3854
  function nr(e, t) {
3855
3855
  Xr(e, t);
3856
3856
  }
3857
- function So(e) {
3858
- eo({
3857
+ function Po(e) {
3858
+ io({
3859
3859
  fallbackLocale: "en"
3860
- }), be.set(e);
3860
+ }), ge.set(e);
3861
3861
  }
3862
3862
  const or = {
3863
3863
  en: {
@@ -3918,15 +3918,15 @@ const or = {
3918
3918
  "verification.shuftipro.validations-started": "Après avoir terminé la vérification, veuillez procéder à la transaction."
3919
3919
  }
3920
3920
  };
3921
- let To = Re(null);
3922
- const Ee = "__WIDGET_GLOBAL_STYLE_CACHE__";
3923
- function Oo(e, t) {
3921
+ let Ho = Re(null);
3922
+ const we = "__WIDGET_GLOBAL_STYLE_CACHE__";
3923
+ function Ao(e, t) {
3924
3924
  if (e) {
3925
3925
  const r = document.createElement("style");
3926
3926
  r.innerHTML = t, e.appendChild(r);
3927
3927
  }
3928
3928
  }
3929
- function Po(e, t) {
3929
+ function Bo(e, t) {
3930
3930
  if (!e || !t)
3931
3931
  return;
3932
3932
  const r = new URL(t);
@@ -3937,32 +3937,32 @@ function Po(e, t) {
3937
3937
  console.error("There was an error while trying to load client styling from URL", i);
3938
3938
  });
3939
3939
  }
3940
- function Ho(e, t, r, i = !1) {
3940
+ function Mo(e, t, r, i = !1) {
3941
3941
  if (!window.emMessageBus)
3942
3942
  return;
3943
3943
  if (!("adoptedStyleSheets" in Document.prototype) || !i)
3944
- return r = Ao(e, t), r;
3945
- window[Ee] || (window[Ee] = {}), r = Bo(e, t);
3944
+ return r = Co(e, t), r;
3945
+ window[we] || (window[we] = {}), r = $o(e, t);
3946
3946
  const o = r.unsubscribe.bind(r), s = () => {
3947
- if (window[Ee][t]) {
3948
- const a = window[Ee][t];
3949
- a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[Ee][t];
3947
+ if (window[we][t]) {
3948
+ const a = window[we][t];
3949
+ a.refCount > 1 ? a.refCount = a.refCount - 1 : delete window[we][t];
3950
3950
  }
3951
3951
  o();
3952
3952
  };
3953
3953
  return r.unsubscribe = s, r;
3954
3954
  }
3955
- function Ao(e, t) {
3955
+ function Co(e, t) {
3956
3956
  const r = document.createElement("style");
3957
3957
  return window.emMessageBus.subscribe(t, (i) => {
3958
3958
  e && (r.innerHTML = i, e.appendChild(r));
3959
3959
  });
3960
3960
  }
3961
- function Bo(e, t) {
3961
+ function $o(e, t) {
3962
3962
  return window.emMessageBus.subscribe(t, (r) => {
3963
3963
  if (!e)
3964
3964
  return;
3965
- const i = e.getRootNode(), n = window[Ee];
3965
+ const i = e.getRootNode(), n = window[we];
3966
3966
  let o = n[t] && n[t].sheet;
3967
3967
  o ? n[t].refCount = n[t].refCount + 1 : (o = new CSSStyleSheet(), o.replaceSync(r), n[t] = {
3968
3968
  sheet: o,
@@ -4035,13 +4035,13 @@ function Mt(e, t) {
4035
4035
  }
4036
4036
  return o;
4037
4037
  }
4038
- function $t(e, t, r) {
4038
+ function Ct(e, t, r) {
4039
4039
  if (arguments.length === 2)
4040
4040
  for (var i = 0, n = t.length, o; i < n; i++)
4041
4041
  (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
4042
4042
  return e.concat(o || t);
4043
4043
  }
4044
- function ue(e) {
4044
+ function ae(e) {
4045
4045
  return typeof e == "function";
4046
4046
  }
4047
4047
  function Qr(e) {
@@ -4059,7 +4059,7 @@ var gt = Qr(function(e) {
4059
4059
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
4060
4060
  };
4061
4061
  });
4062
- function Ct(e, t) {
4062
+ function $t(e, t) {
4063
4063
  if (e) {
4064
4064
  var r = e.indexOf(t);
4065
4065
  0 <= r && e.splice(r, 1);
@@ -4081,8 +4081,8 @@ var ut = function() {
4081
4081
  var l = u.value;
4082
4082
  l.remove(this);
4083
4083
  }
4084
- } catch (d) {
4085
- t = { error: d };
4084
+ } catch (h) {
4085
+ t = { error: h };
4086
4086
  } finally {
4087
4087
  try {
4088
4088
  u && !u.done && (r = a.return) && r.call(a);
@@ -4094,29 +4094,29 @@ var ut = function() {
4094
4094
  else
4095
4095
  s.remove(this);
4096
4096
  var f = this.initialTeardown;
4097
- if (ue(f))
4097
+ if (ae(f))
4098
4098
  try {
4099
4099
  f();
4100
- } catch (d) {
4101
- o = d instanceof gt ? d.errors : [d];
4100
+ } catch (h) {
4101
+ o = h instanceof gt ? h.errors : [h];
4102
4102
  }
4103
- var h = this._finalizers;
4104
- if (h) {
4103
+ var p = this._finalizers;
4104
+ if (p) {
4105
4105
  this._finalizers = null;
4106
4106
  try {
4107
- for (var m = Bt(h), b = m.next(); !b.done; b = m.next()) {
4108
- var x = b.value;
4107
+ for (var v = Bt(p), b = v.next(); !b.done; b = v.next()) {
4108
+ var T = b.value;
4109
4109
  try {
4110
- sr(x);
4111
- } catch (d) {
4112
- o = o ?? [], d instanceof gt ? o = $t($t([], Mt(o)), Mt(d.errors)) : o.push(d);
4110
+ sr(T);
4111
+ } catch (h) {
4112
+ o = o ?? [], h instanceof gt ? o = Ct(Ct([], Mt(o)), Mt(h.errors)) : o.push(h);
4113
4113
  }
4114
4114
  }
4115
- } catch (d) {
4116
- i = { error: d };
4115
+ } catch (h) {
4116
+ i = { error: h };
4117
4117
  } finally {
4118
4118
  try {
4119
- b && !b.done && (n = m.return) && n.call(m);
4119
+ b && !b.done && (n = v.return) && n.call(v);
4120
4120
  } finally {
4121
4121
  if (i)
4122
4122
  throw i.error;
@@ -4147,36 +4147,36 @@ var ut = function() {
4147
4147
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
4148
4148
  }, e.prototype._removeParent = function(t) {
4149
4149
  var r = this._parentage;
4150
- r === t ? this._parentage = null : Array.isArray(r) && Ct(r, t);
4150
+ r === t ? this._parentage = null : Array.isArray(r) && $t(r, t);
4151
4151
  }, e.prototype.remove = function(t) {
4152
4152
  var r = this._finalizers;
4153
- r && Ct(r, t), t instanceof e && t._removeParent(this);
4153
+ r && $t(r, t), t instanceof e && t._removeParent(this);
4154
4154
  }, e.EMPTY = function() {
4155
4155
  var t = new e();
4156
4156
  return t.closed = !0, t;
4157
4157
  }(), e;
4158
4158
  }(), Kr = ut.EMPTY;
4159
4159
  function ei(e) {
4160
- return e instanceof ut || e && "closed" in e && ue(e.remove) && ue(e.add) && ue(e.unsubscribe);
4160
+ return e instanceof ut || e && "closed" in e && ae(e.remove) && ae(e.add) && ae(e.unsubscribe);
4161
4161
  }
4162
4162
  function sr(e) {
4163
- ue(e) ? e() : e.unsubscribe();
4163
+ ae(e) ? e() : e.unsubscribe();
4164
4164
  }
4165
- var Mo = {
4165
+ var Lo = {
4166
4166
  Promise: void 0
4167
- }, $o = {
4167
+ }, Io = {
4168
4168
  setTimeout: function(e, t) {
4169
4169
  for (var r = [], i = 2; i < arguments.length; i++)
4170
4170
  r[i - 2] = arguments[i];
4171
- return setTimeout.apply(void 0, $t([e, t], Mt(r)));
4171
+ return setTimeout.apply(void 0, Ct([e, t], Mt(r)));
4172
4172
  },
4173
4173
  clearTimeout: function(e) {
4174
4174
  return clearTimeout(e);
4175
4175
  },
4176
4176
  delegate: void 0
4177
4177
  };
4178
- function Co(e) {
4179
- $o.setTimeout(function() {
4178
+ function Do(e) {
4179
+ Io.setTimeout(function() {
4180
4180
  throw e;
4181
4181
  });
4182
4182
  }
@@ -4189,7 +4189,7 @@ var ti = function(e) {
4189
4189
  Fe(t, e);
4190
4190
  function t(r) {
4191
4191
  var i = e.call(this) || this;
4192
- return i.isStopped = !1, r ? (i.destination = r, ei(r) && r.add(i)) : i.destination = Do, i;
4192
+ return i.isStopped = !1, r ? (i.destination = r, ei(r) && r.add(i)) : i.destination = Ro, i;
4193
4193
  }
4194
4194
  return t.create = function(r, i, n) {
4195
4195
  return new Lt(r, i, n);
@@ -4216,7 +4216,7 @@ var ti = function(e) {
4216
4216
  this.unsubscribe();
4217
4217
  }
4218
4218
  }, t;
4219
- }(ut), Lo = function() {
4219
+ }(ut), No = function() {
4220
4220
  function e(t) {
4221
4221
  this.partialObserver = t;
4222
4222
  }
@@ -4251,33 +4251,33 @@ var ti = function(e) {
4251
4251
  Fe(t, e);
4252
4252
  function t(r, i, n) {
4253
4253
  var o = e.call(this) || this, s;
4254
- return ue(r) || !r ? s = {
4254
+ return ae(r) || !r ? s = {
4255
4255
  next: r ?? void 0,
4256
4256
  error: i ?? void 0,
4257
4257
  complete: n ?? void 0
4258
- } : s = r, o.destination = new Lo(s), o;
4258
+ } : s = r, o.destination = new No(s), o;
4259
4259
  }
4260
4260
  return t;
4261
4261
  }(ti);
4262
4262
  function qe(e) {
4263
- Co(e);
4263
+ Do(e);
4264
4264
  }
4265
- function Io(e) {
4265
+ function ko(e) {
4266
4266
  throw e;
4267
4267
  }
4268
- var Do = {
4268
+ var Ro = {
4269
4269
  closed: !0,
4270
4270
  next: ar,
4271
- error: Io,
4271
+ error: ko,
4272
4272
  complete: ar
4273
- }, No = function() {
4273
+ }, Uo = function() {
4274
4274
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4275
4275
  }();
4276
- function ko(e) {
4276
+ function Vo(e) {
4277
4277
  return e;
4278
4278
  }
4279
- function Ro(e) {
4280
- return e.length === 0 ? ko : e.length === 1 ? e[0] : function(r) {
4279
+ function Fo(e) {
4280
+ return e.length === 0 ? Vo : e.length === 1 ? e[0] : function(r) {
4281
4281
  return e.reduce(function(i, n) {
4282
4282
  return n(i);
4283
4283
  }, r);
@@ -4291,7 +4291,7 @@ var ur = function() {
4291
4291
  var r = new e();
4292
4292
  return r.source = this, r.operator = t, r;
4293
4293
  }, e.prototype.subscribe = function(t, r, i) {
4294
- var n = this, o = Vo(t) ? t : new Lt(t, r, i);
4294
+ var n = this, o = jo(t) ? t : new Lt(t, r, i);
4295
4295
  return Ke(function() {
4296
4296
  var s = n, a = s.operator, u = s.source;
4297
4297
  o.add(a ? a.call(o, u) : u ? n._subscribe(o) : n._trySubscribe(o));
@@ -4321,12 +4321,12 @@ var ur = function() {
4321
4321
  }, e.prototype._subscribe = function(t) {
4322
4322
  var r;
4323
4323
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4324
- }, e.prototype[No] = function() {
4324
+ }, e.prototype[Uo] = function() {
4325
4325
  return this;
4326
4326
  }, e.prototype.pipe = function() {
4327
4327
  for (var t = [], r = 0; r < arguments.length; r++)
4328
4328
  t[r] = arguments[r];
4329
- return Ro(t)(this);
4329
+ return Fo(t)(this);
4330
4330
  }, e.prototype.toPromise = function(t) {
4331
4331
  var r = this;
4332
4332
  return t = lr(t), new t(function(i, n) {
@@ -4345,15 +4345,15 @@ var ur = function() {
4345
4345
  }();
4346
4346
  function lr(e) {
4347
4347
  var t;
4348
- return (t = e ?? Mo.Promise) !== null && t !== void 0 ? t : Promise;
4348
+ return (t = e ?? Lo.Promise) !== null && t !== void 0 ? t : Promise;
4349
4349
  }
4350
- function Uo(e) {
4351
- return e && ue(e.next) && ue(e.error) && ue(e.complete);
4350
+ function Go(e) {
4351
+ return e && ae(e.next) && ae(e.error) && ae(e.complete);
4352
4352
  }
4353
- function Vo(e) {
4354
- return e && e instanceof ti || Uo(e) && ei(e);
4353
+ function jo(e) {
4354
+ return e && e instanceof ti || Go(e) && ei(e);
4355
4355
  }
4356
- var Fo = Qr(function(e) {
4356
+ var zo = Qr(function(e) {
4357
4357
  return function() {
4358
4358
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4359
4359
  };
@@ -4368,7 +4368,7 @@ var Fo = Qr(function(e) {
4368
4368
  return i.operator = r, i;
4369
4369
  }, t.prototype._throwIfClosed = function() {
4370
4370
  if (this.closed)
4371
- throw new Fo();
4371
+ throw new zo();
4372
4372
  }, t.prototype.next = function(r) {
4373
4373
  var i = this;
4374
4374
  Ke(function() {
@@ -4426,7 +4426,7 @@ var Fo = Qr(function(e) {
4426
4426
  }, t.prototype._innerSubscribe = function(r) {
4427
4427
  var i = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
4428
4428
  return o || s ? Kr : (this.currentObservers = null, a.push(r), new ut(function() {
4429
- i.currentObservers = null, Ct(a, r);
4429
+ i.currentObservers = null, $t(a, r);
4430
4430
  }));
4431
4431
  }, t.prototype._checkFinalizedStatuses = function(r) {
4432
4432
  var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
@@ -4461,7 +4461,7 @@ var Fo = Qr(function(e) {
4461
4461
  return (ii.delegate || Date).now();
4462
4462
  },
4463
4463
  delegate: void 0
4464
- }, Go = function(e) {
4464
+ }, Wo = function(e) {
4465
4465
  Fe(t, e);
4466
4466
  function t(r, i, n) {
4467
4467
  r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = ii);
@@ -4485,15 +4485,15 @@ var Fo = Qr(function(e) {
4485
4485
  }
4486
4486
  }, t;
4487
4487
  }(ri);
4488
- const fr = [], hr = {}, jo = (e, t = 0) => {
4488
+ const fr = [], hr = {}, Xo = (e, t = 0) => {
4489
4489
  if (fr.indexOf(e) == -1) {
4490
- const r = new Go(t);
4490
+ const r = new Wo(t);
4491
4491
  hr[e] = r, fr.push(e);
4492
4492
  }
4493
4493
  return hr[e];
4494
4494
  };
4495
- window.emWidgets = { topic: jo };
4496
- const zo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4495
+ window.emWidgets = { topic: Xo };
4496
+ const qo = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4497
4497
  String(Number.MAX_SAFE_INTEGER).length;
4498
4498
  if (typeof window < "u") {
4499
4499
  let e = function(t) {
@@ -4507,7 +4507,7 @@ if (typeof window < "u") {
4507
4507
  }
4508
4508
  };
4509
4509
  };
4510
- customElements.define = e(customElements.define), import("./CashierModal-ByooOQTu.js").then(({ default: t }) => {
4510
+ customElements.define = e(customElements.define), import("./CashierModal-9nLJUWbb.js").then(({ default: t }) => {
4511
4511
  !customElements.get("cashier-modal") && customElements.define("cashier-modal", t.element);
4512
4512
  });
4513
4513
  }
@@ -4516,293 +4516,293 @@ var ni = { exports: {} };
4516
4516
  (function(r, i) {
4517
4517
  e.exports = i();
4518
4518
  })(Or, function() {
4519
- var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", l = "day", f = "week", h = "month", m = "quarter", b = "year", x = "date", d = "Invalid Date", I = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, N = /\[([^\]]+)]|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, H = { 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(_) {
4520
- var g = ["th", "st", "nd", "rd"], p = _ % 100;
4521
- return "[" + _ + (g[(p - 20) % 10] || g[p] || g[0]) + "]";
4522
- } }, T = function(_, g, p) {
4519
+ var r = 1e3, i = 6e4, n = 36e5, o = "millisecond", s = "second", a = "minute", u = "hour", l = "day", f = "week", p = "month", v = "quarter", b = "year", T = "date", h = "Invalid Date", I = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, R = /\[([^\]]+)]|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, H = { 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(_) {
4520
+ var d = ["th", "st", "nd", "rd"], m = _ % 100;
4521
+ return "[" + _ + (d[(m - 20) % 10] || d[m] || d[0]) + "]";
4522
+ } }, E = function(_, d, m) {
4523
4523
  var y = String(_);
4524
- return !y || y.length >= g ? _ : "" + Array(g + 1 - y.length).join(p) + _;
4525
- }, O = { s: T, z: function(_) {
4526
- var g = -_.utcOffset(), p = Math.abs(g), y = Math.floor(p / 60), v = p % 60;
4527
- return (g <= 0 ? "+" : "-") + T(y, 2, "0") + ":" + T(v, 2, "0");
4528
- }, m: function _(g, p) {
4529
- if (g.date() < p.date())
4530
- return -_(p, g);
4531
- var y = 12 * (p.year() - g.year()) + (p.month() - g.month()), v = g.clone().add(y, h), E = p - v < 0, S = g.clone().add(y + (E ? -1 : 1), h);
4532
- return +(-(y + (p - v) / (E ? v - S : S - v)) || 0);
4524
+ return !y || y.length >= d ? _ : "" + Array(d + 1 - y.length).join(m) + _;
4525
+ }, O = { s: E, z: function(_) {
4526
+ var d = -_.utcOffset(), m = Math.abs(d), y = Math.floor(m / 60), g = m % 60;
4527
+ return (d <= 0 ? "+" : "-") + E(y, 2, "0") + ":" + E(g, 2, "0");
4528
+ }, m: function _(d, m) {
4529
+ if (d.date() < m.date())
4530
+ return -_(m, d);
4531
+ var y = 12 * (m.year() - d.year()) + (m.month() - d.month()), g = d.clone().add(y, p), w = m - g < 0, S = d.clone().add(y + (w ? -1 : 1), p);
4532
+ return +(-(y + (m - g) / (w ? g - S : S - g)) || 0);
4533
4533
  }, a: function(_) {
4534
4534
  return _ < 0 ? Math.ceil(_) || 0 : Math.floor(_);
4535
4535
  }, p: function(_) {
4536
- return { M: h, y: b, w: f, d: l, D: x, h: u, m: a, s, ms: o, Q: m }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
4536
+ return { M: p, y: b, w: f, d: l, D: T, h: u, m: a, s, ms: o, Q: v }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
4537
4537
  }, u: function(_) {
4538
4538
  return _ === void 0;
4539
- } }, L = "en", P = {};
4540
- P[L] = H;
4541
- var W = "$isDayjsObject", ne = function(_) {
4542
- return _ instanceof le || !(!_ || !_[W]);
4543
- }, te = function _(g, p, y) {
4544
- var v;
4545
- if (!g)
4546
- return L;
4547
- if (typeof g == "string") {
4548
- var E = g.toLowerCase();
4549
- P[E] && (v = E), p && (P[E] = p, v = E);
4550
- var S = g.split("-");
4551
- if (!v && S.length > 1)
4539
+ } }, $ = "en", P = {};
4540
+ P[$] = H;
4541
+ var z = "$isDayjsObject", ne = function(_) {
4542
+ return _ instanceof be || !(!_ || !_[z]);
4543
+ }, Z = function _(d, m, y) {
4544
+ var g;
4545
+ if (!d)
4546
+ return $;
4547
+ if (typeof d == "string") {
4548
+ var w = d.toLowerCase();
4549
+ P[w] && (g = w), m && (P[w] = m, g = w);
4550
+ var S = d.split("-");
4551
+ if (!g && S.length > 1)
4552
4552
  return _(S[0]);
4553
4553
  } else {
4554
- var D = g.name;
4555
- P[D] = g, v = D;
4554
+ var D = d.name;
4555
+ P[D] = d, g = D;
4556
4556
  }
4557
- return !y && v && (L = v), v || !y && L;
4558
- }, V = function(_, g) {
4557
+ return !y && g && ($ = g), g || !y && $;
4558
+ }, V = function(_, d) {
4559
4559
  if (ne(_))
4560
4560
  return _.clone();
4561
- var p = typeof g == "object" ? g : {};
4562
- return p.date = _, p.args = arguments, new le(p);
4563
- }, B = O;
4564
- B.l = te, B.i = ne, B.w = function(_, g) {
4565
- return V(_, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
4561
+ var m = typeof d == "object" ? d : {};
4562
+ return m.date = _, m.args = arguments, new be(m);
4563
+ }, L = O;
4564
+ L.l = Z, L.i = ne, L.w = function(_, d) {
4565
+ return V(_, { locale: d.$L, utc: d.$u, x: d.$x, $offset: d.$offset });
4566
4566
  };
4567
- var le = function() {
4568
- function _(p) {
4569
- this.$L = te(p.locale, null, !0), this.parse(p), this.$x = this.$x || p.x || {}, this[W] = !0;
4567
+ var be = function() {
4568
+ function _(m) {
4569
+ this.$L = Z(m.locale, null, !0), this.parse(m), this.$x = this.$x || m.x || {}, this[z] = !0;
4570
4570
  }
4571
- var g = _.prototype;
4572
- return g.parse = function(p) {
4571
+ var d = _.prototype;
4572
+ return d.parse = function(m) {
4573
4573
  this.$d = function(y) {
4574
- var v = y.date, E = y.utc;
4575
- if (v === null)
4574
+ var g = y.date, w = y.utc;
4575
+ if (g === null)
4576
4576
  return /* @__PURE__ */ new Date(NaN);
4577
- if (B.u(v))
4577
+ if (L.u(g))
4578
4578
  return /* @__PURE__ */ new Date();
4579
- if (v instanceof Date)
4580
- return new Date(v);
4581
- if (typeof v == "string" && !/Z$/i.test(v)) {
4582
- var S = v.match(I);
4579
+ if (g instanceof Date)
4580
+ return new Date(g);
4581
+ if (typeof g == "string" && !/Z$/i.test(g)) {
4582
+ var S = g.match(I);
4583
4583
  if (S) {
4584
- var D = S[2] - 1 || 0, R = (S[7] || "0").substring(0, 3);
4585
- return E ? new Date(Date.UTC(S[1], D, S[3] || 1, S[4] || 0, S[5] || 0, S[6] || 0, R)) : new Date(S[1], D, S[3] || 1, S[4] || 0, S[5] || 0, S[6] || 0, R);
4584
+ var D = S[2] - 1 || 0, k = (S[7] || "0").substring(0, 3);
4585
+ return w ? new Date(Date.UTC(S[1], D, S[3] || 1, S[4] || 0, S[5] || 0, S[6] || 0, k)) : new Date(S[1], D, S[3] || 1, S[4] || 0, S[5] || 0, S[6] || 0, k);
4586
4586
  }
4587
4587
  }
4588
- return new Date(v);
4589
- }(p), this.init();
4590
- }, g.init = function() {
4591
- var p = this.$d;
4592
- this.$y = p.getFullYear(), this.$M = p.getMonth(), this.$D = p.getDate(), this.$W = p.getDay(), this.$H = p.getHours(), this.$m = p.getMinutes(), this.$s = p.getSeconds(), this.$ms = p.getMilliseconds();
4593
- }, g.$utils = function() {
4594
- return B;
4595
- }, g.isValid = function() {
4596
- return this.$d.toString() !== d;
4597
- }, g.isSame = function(p, y) {
4598
- var v = V(p);
4599
- return this.startOf(y) <= v && v <= this.endOf(y);
4600
- }, g.isAfter = function(p, y) {
4601
- return V(p) < this.startOf(y);
4602
- }, g.isBefore = function(p, y) {
4603
- return this.endOf(y) < V(p);
4604
- }, g.$g = function(p, y, v) {
4605
- return B.u(p) ? this[y] : this.set(v, p);
4606
- }, g.unix = function() {
4588
+ return new Date(g);
4589
+ }(m), this.init();
4590
+ }, d.init = function() {
4591
+ var m = this.$d;
4592
+ this.$y = m.getFullYear(), this.$M = m.getMonth(), this.$D = m.getDate(), this.$W = m.getDay(), this.$H = m.getHours(), this.$m = m.getMinutes(), this.$s = m.getSeconds(), this.$ms = m.getMilliseconds();
4593
+ }, d.$utils = function() {
4594
+ return L;
4595
+ }, d.isValid = function() {
4596
+ return this.$d.toString() !== h;
4597
+ }, d.isSame = function(m, y) {
4598
+ var g = V(m);
4599
+ return this.startOf(y) <= g && g <= this.endOf(y);
4600
+ }, d.isAfter = function(m, y) {
4601
+ return V(m) < this.startOf(y);
4602
+ }, d.isBefore = function(m, y) {
4603
+ return this.endOf(y) < V(m);
4604
+ }, d.$g = function(m, y, g) {
4605
+ return L.u(m) ? this[y] : this.set(g, m);
4606
+ }, d.unix = function() {
4607
4607
  return Math.floor(this.valueOf() / 1e3);
4608
- }, g.valueOf = function() {
4608
+ }, d.valueOf = function() {
4609
4609
  return this.$d.getTime();
4610
- }, g.startOf = function(p, y) {
4611
- var v = this, E = !!B.u(y) || y, S = B.p(p), D = function(se, X) {
4612
- var re = B.w(v.$u ? Date.UTC(v.$y, X, se) : new Date(v.$y, X, se), v);
4613
- return E ? re : re.endOf(l);
4614
- }, R = function(se, X) {
4615
- return B.w(v.toDate()[se].apply(v.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(X)), v);
4616
- }, F = this.$W, j = this.$M, Y = this.$D, ce = "set" + (this.$u ? "UTC" : "");
4610
+ }, d.startOf = function(m, y) {
4611
+ var g = this, w = !!L.u(y) || y, S = L.p(m), D = function(oe, W) {
4612
+ var re = L.w(g.$u ? Date.UTC(g.$y, W, oe) : new Date(g.$y, W, oe), g);
4613
+ return w ? re : re.endOf(l);
4614
+ }, k = function(oe, W) {
4615
+ return L.w(g.toDate()[oe].apply(g.toDate("s"), (w ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(W)), g);
4616
+ }, F = this.$W, j = this.$M, Y = this.$D, le = "set" + (this.$u ? "UTC" : "");
4617
4617
  switch (S) {
4618
4618
  case b:
4619
- return E ? D(1, 0) : D(31, 11);
4620
- case h:
4621
- return E ? D(1, j) : D(0, j + 1);
4619
+ return w ? D(1, 0) : D(31, 11);
4620
+ case p:
4621
+ return w ? D(1, j) : D(0, j + 1);
4622
4622
  case f:
4623
- var oe = this.$locale().weekStart || 0, pe = (F < oe ? F + 7 : F) - oe;
4624
- return D(E ? Y - pe : Y + (6 - pe), j);
4623
+ var te = this.$locale().weekStart || 0, de = (F < te ? F + 7 : F) - te;
4624
+ return D(w ? Y - de : Y + (6 - de), j);
4625
4625
  case l:
4626
- case x:
4627
- return R(ce + "Hours", 0);
4626
+ case T:
4627
+ return k(le + "Hours", 0);
4628
4628
  case u:
4629
- return R(ce + "Minutes", 1);
4629
+ return k(le + "Minutes", 1);
4630
4630
  case a:
4631
- return R(ce + "Seconds", 2);
4631
+ return k(le + "Seconds", 2);
4632
4632
  case s:
4633
- return R(ce + "Milliseconds", 3);
4633
+ return k(le + "Milliseconds", 3);
4634
4634
  default:
4635
4635
  return this.clone();
4636
4636
  }
4637
- }, g.endOf = function(p) {
4638
- return this.startOf(p, !1);
4639
- }, g.$set = function(p, y) {
4640
- var v, E = B.p(p), S = "set" + (this.$u ? "UTC" : ""), D = (v = {}, v[l] = S + "Date", v[x] = S + "Date", v[h] = S + "Month", v[b] = S + "FullYear", v[u] = S + "Hours", v[a] = S + "Minutes", v[s] = S + "Seconds", v[o] = S + "Milliseconds", v)[E], R = E === l ? this.$D + (y - this.$W) : y;
4641
- if (E === h || E === b) {
4642
- var F = this.clone().set(x, 1);
4643
- F.$d[D](R), F.init(), this.$d = F.set(x, Math.min(this.$D, F.daysInMonth())).$d;
4637
+ }, d.endOf = function(m) {
4638
+ return this.startOf(m, !1);
4639
+ }, d.$set = function(m, y) {
4640
+ var g, w = L.p(m), S = "set" + (this.$u ? "UTC" : ""), D = (g = {}, g[l] = S + "Date", g[T] = S + "Date", g[p] = S + "Month", g[b] = S + "FullYear", g[u] = S + "Hours", g[a] = S + "Minutes", g[s] = S + "Seconds", g[o] = S + "Milliseconds", g)[w], k = w === l ? this.$D + (y - this.$W) : y;
4641
+ if (w === p || w === b) {
4642
+ var F = this.clone().set(T, 1);
4643
+ F.$d[D](k), F.init(), this.$d = F.set(T, Math.min(this.$D, F.daysInMonth())).$d;
4644
4644
  } else
4645
- D && this.$d[D](R);
4645
+ D && this.$d[D](k);
4646
4646
  return this.init(), this;
4647
- }, g.set = function(p, y) {
4648
- return this.clone().$set(p, y);
4649
- }, g.get = function(p) {
4650
- return this[B.p(p)]();
4651
- }, g.add = function(p, y) {
4652
- var v, E = this;
4653
- p = Number(p);
4654
- var S = B.p(y), D = function(j) {
4655
- var Y = V(E);
4656
- return B.w(Y.date(Y.date() + Math.round(j * p)), E);
4647
+ }, d.set = function(m, y) {
4648
+ return this.clone().$set(m, y);
4649
+ }, d.get = function(m) {
4650
+ return this[L.p(m)]();
4651
+ }, d.add = function(m, y) {
4652
+ var g, w = this;
4653
+ m = Number(m);
4654
+ var S = L.p(y), D = function(j) {
4655
+ var Y = V(w);
4656
+ return L.w(Y.date(Y.date() + Math.round(j * m)), w);
4657
4657
  };
4658
- if (S === h)
4659
- return this.set(h, this.$M + p);
4658
+ if (S === p)
4659
+ return this.set(p, this.$M + m);
4660
4660
  if (S === b)
4661
- return this.set(b, this.$y + p);
4661
+ return this.set(b, this.$y + m);
4662
4662
  if (S === l)
4663
4663
  return D(1);
4664
4664
  if (S === f)
4665
4665
  return D(7);
4666
- var R = (v = {}, v[a] = i, v[u] = n, v[s] = r, v)[S] || 1, F = this.$d.getTime() + p * R;
4667
- return B.w(F, this);
4668
- }, g.subtract = function(p, y) {
4669
- return this.add(-1 * p, y);
4670
- }, g.format = function(p) {
4671
- var y = this, v = this.$locale();
4666
+ var k = (g = {}, g[a] = i, g[u] = n, g[s] = r, g)[S] || 1, F = this.$d.getTime() + m * k;
4667
+ return L.w(F, this);
4668
+ }, d.subtract = function(m, y) {
4669
+ return this.add(-1 * m, y);
4670
+ }, d.format = function(m) {
4671
+ var y = this, g = this.$locale();
4672
4672
  if (!this.isValid())
4673
- return v.invalidDate || d;
4674
- var E = p || "YYYY-MM-DDTHH:mm:ssZ", S = B.z(this), D = this.$H, R = this.$m, F = this.$M, j = v.weekdays, Y = v.months, ce = v.meridiem, oe = function(X, re, me, ye) {
4675
- return X && (X[re] || X(y, E)) || me[re].slice(0, ye);
4676
- }, pe = function(X) {
4677
- return B.s(D % 12 || 12, X, "0");
4678
- }, se = ce || function(X, re, me) {
4679
- var ye = X < 12 ? "AM" : "PM";
4680
- return me ? ye.toLowerCase() : ye;
4673
+ return g.invalidDate || h;
4674
+ var w = m || "YYYY-MM-DDTHH:mm:ssZ", S = L.z(this), D = this.$H, k = this.$m, F = this.$M, j = g.weekdays, Y = g.months, le = g.meridiem, te = function(W, re, pe, ye) {
4675
+ return W && (W[re] || W(y, w)) || pe[re].slice(0, ye);
4676
+ }, de = function(W) {
4677
+ return L.s(D % 12 || 12, W, "0");
4678
+ }, oe = le || function(W, re, pe) {
4679
+ var ye = W < 12 ? "AM" : "PM";
4680
+ return pe ? ye.toLowerCase() : ye;
4681
4681
  };
4682
- return E.replace(N, function(X, re) {
4683
- return re || function(me) {
4684
- switch (me) {
4682
+ return w.replace(R, function(W, re) {
4683
+ return re || function(pe) {
4684
+ switch (pe) {
4685
4685
  case "YY":
4686
4686
  return String(y.$y).slice(-2);
4687
4687
  case "YYYY":
4688
- return B.s(y.$y, 4, "0");
4688
+ return L.s(y.$y, 4, "0");
4689
4689
  case "M":
4690
4690
  return F + 1;
4691
4691
  case "MM":
4692
- return B.s(F + 1, 2, "0");
4692
+ return L.s(F + 1, 2, "0");
4693
4693
  case "MMM":
4694
- return oe(v.monthsShort, F, Y, 3);
4694
+ return te(g.monthsShort, F, Y, 3);
4695
4695
  case "MMMM":
4696
- return oe(Y, F);
4696
+ return te(Y, F);
4697
4697
  case "D":
4698
4698
  return y.$D;
4699
4699
  case "DD":
4700
- return B.s(y.$D, 2, "0");
4700
+ return L.s(y.$D, 2, "0");
4701
4701
  case "d":
4702
4702
  return String(y.$W);
4703
4703
  case "dd":
4704
- return oe(v.weekdaysMin, y.$W, j, 2);
4704
+ return te(g.weekdaysMin, y.$W, j, 2);
4705
4705
  case "ddd":
4706
- return oe(v.weekdaysShort, y.$W, j, 3);
4706
+ return te(g.weekdaysShort, y.$W, j, 3);
4707
4707
  case "dddd":
4708
4708
  return j[y.$W];
4709
4709
  case "H":
4710
4710
  return String(D);
4711
4711
  case "HH":
4712
- return B.s(D, 2, "0");
4712
+ return L.s(D, 2, "0");
4713
4713
  case "h":
4714
- return pe(1);
4714
+ return de(1);
4715
4715
  case "hh":
4716
- return pe(2);
4716
+ return de(2);
4717
4717
  case "a":
4718
- return se(D, R, !0);
4718
+ return oe(D, k, !0);
4719
4719
  case "A":
4720
- return se(D, R, !1);
4720
+ return oe(D, k, !1);
4721
4721
  case "m":
4722
- return String(R);
4722
+ return String(k);
4723
4723
  case "mm":
4724
- return B.s(R, 2, "0");
4724
+ return L.s(k, 2, "0");
4725
4725
  case "s":
4726
4726
  return String(y.$s);
4727
4727
  case "ss":
4728
- return B.s(y.$s, 2, "0");
4728
+ return L.s(y.$s, 2, "0");
4729
4729
  case "SSS":
4730
- return B.s(y.$ms, 3, "0");
4730
+ return L.s(y.$ms, 3, "0");
4731
4731
  case "Z":
4732
4732
  return S;
4733
4733
  }
4734
4734
  return null;
4735
- }(X) || S.replace(":", "");
4735
+ }(W) || S.replace(":", "");
4736
4736
  });
4737
- }, g.utcOffset = function() {
4737
+ }, d.utcOffset = function() {
4738
4738
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4739
- }, g.diff = function(p, y, v) {
4740
- var E, S = this, D = B.p(y), R = V(p), F = (R.utcOffset() - this.utcOffset()) * i, j = this - R, Y = function() {
4741
- return B.m(S, R);
4739
+ }, d.diff = function(m, y, g) {
4740
+ var w, S = this, D = L.p(y), k = V(m), F = (k.utcOffset() - this.utcOffset()) * i, j = this - k, Y = function() {
4741
+ return L.m(S, k);
4742
4742
  };
4743
4743
  switch (D) {
4744
4744
  case b:
4745
- E = Y() / 12;
4745
+ w = Y() / 12;
4746
4746
  break;
4747
- case h:
4748
- E = Y();
4747
+ case p:
4748
+ w = Y();
4749
4749
  break;
4750
- case m:
4751
- E = Y() / 3;
4750
+ case v:
4751
+ w = Y() / 3;
4752
4752
  break;
4753
4753
  case f:
4754
- E = (j - F) / 6048e5;
4754
+ w = (j - F) / 6048e5;
4755
4755
  break;
4756
4756
  case l:
4757
- E = (j - F) / 864e5;
4757
+ w = (j - F) / 864e5;
4758
4758
  break;
4759
4759
  case u:
4760
- E = j / n;
4760
+ w = j / n;
4761
4761
  break;
4762
4762
  case a:
4763
- E = j / i;
4763
+ w = j / i;
4764
4764
  break;
4765
4765
  case s:
4766
- E = j / r;
4766
+ w = j / r;
4767
4767
  break;
4768
4768
  default:
4769
- E = j;
4769
+ w = j;
4770
4770
  }
4771
- return v ? E : B.a(E);
4772
- }, g.daysInMonth = function() {
4773
- return this.endOf(h).$D;
4774
- }, g.$locale = function() {
4771
+ return g ? w : L.a(w);
4772
+ }, d.daysInMonth = function() {
4773
+ return this.endOf(p).$D;
4774
+ }, d.$locale = function() {
4775
4775
  return P[this.$L];
4776
- }, g.locale = function(p, y) {
4777
- if (!p)
4776
+ }, d.locale = function(m, y) {
4777
+ if (!m)
4778
4778
  return this.$L;
4779
- var v = this.clone(), E = te(p, y, !0);
4780
- return E && (v.$L = E), v;
4781
- }, g.clone = function() {
4782
- return B.w(this.$d, this);
4783
- }, g.toDate = function() {
4779
+ var g = this.clone(), w = Z(m, y, !0);
4780
+ return w && (g.$L = w), g;
4781
+ }, d.clone = function() {
4782
+ return L.w(this.$d, this);
4783
+ }, d.toDate = function() {
4784
4784
  return new Date(this.valueOf());
4785
- }, g.toJSON = function() {
4785
+ }, d.toJSON = function() {
4786
4786
  return this.isValid() ? this.toISOString() : null;
4787
- }, g.toISOString = function() {
4787
+ }, d.toISOString = function() {
4788
4788
  return this.$d.toISOString();
4789
- }, g.toString = function() {
4789
+ }, d.toString = function() {
4790
4790
  return this.$d.toUTCString();
4791
4791
  }, _;
4792
- }(), z = le.prototype;
4793
- return V.prototype = z, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W", l], ["$M", h], ["$y", b], ["$D", x]].forEach(function(_) {
4794
- z[_[1]] = function(g) {
4795
- return this.$g(g, _[0], _[1]);
4792
+ }(), ue = be.prototype;
4793
+ return V.prototype = ue, [["$ms", o], ["$s", s], ["$m", a], ["$H", u], ["$W", l], ["$M", p], ["$y", b], ["$D", T]].forEach(function(_) {
4794
+ ue[_[1]] = function(d) {
4795
+ return this.$g(d, _[0], _[1]);
4796
4796
  };
4797
- }), V.extend = function(_, g) {
4798
- return _.$i || (_(g, le, V), _.$i = !0), V;
4799
- }, V.locale = te, V.isDayjs = ne, V.unix = function(_) {
4797
+ }), V.extend = function(_, d) {
4798
+ return _.$i || (_(d, be, V), _.$i = !0), V;
4799
+ }, V.locale = Z, V.isDayjs = ne, V.unix = function(_) {
4800
4800
  return V(1e3 * _);
4801
- }, V.en = P[L], V.Ls = P, V.p = {}, V;
4801
+ }, V.en = P[$], V.Ls = P, V.p = {}, V;
4802
4802
  });
4803
4803
  })(ni);
4804
- var Wo = ni.exports;
4805
- const dr = /* @__PURE__ */ Nt(Wo);
4804
+ var Yo = ni.exports;
4805
+ const dr = /* @__PURE__ */ Nt(Yo);
4806
4806
  var oi = { exports: {} };
4807
4807
  (function(e, t) {
4808
4808
  (function(r, i) {
@@ -4811,58 +4811,58 @@ var oi = { exports: {} };
4811
4811
  var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
4812
4812
  return function(o, s, a) {
4813
4813
  var u = s.prototype;
4814
- a.utc = function(d) {
4815
- var I = { date: d, utc: !0, args: arguments };
4814
+ a.utc = function(h) {
4815
+ var I = { date: h, utc: !0, args: arguments };
4816
4816
  return new s(I);
4817
- }, u.utc = function(d) {
4817
+ }, u.utc = function(h) {
4818
4818
  var I = a(this.toDate(), { locale: this.$L, utc: !0 });
4819
- return d ? I.add(this.utcOffset(), r) : I;
4819
+ return h ? I.add(this.utcOffset(), r) : I;
4820
4820
  }, u.local = function() {
4821
4821
  return a(this.toDate(), { locale: this.$L, utc: !1 });
4822
4822
  };
4823
4823
  var l = u.parse;
4824
- u.parse = function(d) {
4825
- d.utc && (this.$u = !0), this.$utils().u(d.$offset) || (this.$offset = d.$offset), l.call(this, d);
4824
+ u.parse = function(h) {
4825
+ h.utc && (this.$u = !0), this.$utils().u(h.$offset) || (this.$offset = h.$offset), l.call(this, h);
4826
4826
  };
4827
4827
  var f = u.init;
4828
4828
  u.init = function() {
4829
4829
  if (this.$u) {
4830
- var d = this.$d;
4831
- this.$y = d.getUTCFullYear(), this.$M = d.getUTCMonth(), this.$D = d.getUTCDate(), this.$W = d.getUTCDay(), this.$H = d.getUTCHours(), this.$m = d.getUTCMinutes(), this.$s = d.getUTCSeconds(), this.$ms = d.getUTCMilliseconds();
4830
+ var h = this.$d;
4831
+ this.$y = h.getUTCFullYear(), this.$M = h.getUTCMonth(), this.$D = h.getUTCDate(), this.$W = h.getUTCDay(), this.$H = h.getUTCHours(), this.$m = h.getUTCMinutes(), this.$s = h.getUTCSeconds(), this.$ms = h.getUTCMilliseconds();
4832
4832
  } else
4833
4833
  f.call(this);
4834
4834
  };
4835
- var h = u.utcOffset;
4836
- u.utcOffset = function(d, I) {
4837
- var N = this.$utils().u;
4838
- if (N(d))
4839
- return this.$u ? 0 : N(this.$offset) ? h.call(this) : this.$offset;
4840
- if (typeof d == "string" && (d = function(L) {
4841
- L === void 0 && (L = "");
4842
- var P = L.match(i);
4835
+ var p = u.utcOffset;
4836
+ u.utcOffset = function(h, I) {
4837
+ var R = this.$utils().u;
4838
+ if (R(h))
4839
+ return this.$u ? 0 : R(this.$offset) ? p.call(this) : this.$offset;
4840
+ if (typeof h == "string" && (h = function($) {
4841
+ $ === void 0 && ($ = "");
4842
+ var P = $.match(i);
4843
4843
  if (!P)
4844
4844
  return null;
4845
- var W = ("" + P[0]).match(n) || ["-", 0, 0], ne = W[0], te = 60 * +W[1] + +W[2];
4846
- return te === 0 ? 0 : ne === "+" ? te : -te;
4847
- }(d), d === null))
4845
+ var z = ("" + P[0]).match(n) || ["-", 0, 0], ne = z[0], Z = 60 * +z[1] + +z[2];
4846
+ return Z === 0 ? 0 : ne === "+" ? Z : -Z;
4847
+ }(h), h === null))
4848
4848
  return this;
4849
- var H = Math.abs(d) <= 16 ? 60 * d : d, T = this;
4849
+ var H = Math.abs(h) <= 16 ? 60 * h : h, E = this;
4850
4850
  if (I)
4851
- return T.$offset = H, T.$u = d === 0, T;
4852
- if (d !== 0) {
4851
+ return E.$offset = H, E.$u = h === 0, E;
4852
+ if (h !== 0) {
4853
4853
  var O = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4854
- (T = this.local().add(H + O, r)).$offset = H, T.$x.$localOffset = O;
4854
+ (E = this.local().add(H + O, r)).$offset = H, E.$x.$localOffset = O;
4855
4855
  } else
4856
- T = this.utc();
4857
- return T;
4856
+ E = this.utc();
4857
+ return E;
4858
4858
  };
4859
- var m = u.format;
4860
- u.format = function(d) {
4861
- var I = d || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4862
- return m.call(this, I);
4859
+ var v = u.format;
4860
+ u.format = function(h) {
4861
+ var I = h || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4862
+ return v.call(this, I);
4863
4863
  }, u.valueOf = function() {
4864
- var d = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4865
- return this.$d.valueOf() - 6e4 * d;
4864
+ var h = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4865
+ return this.$d.valueOf() - 6e4 * h;
4866
4866
  }, u.isUTC = function() {
4867
4867
  return !!this.$u;
4868
4868
  }, u.toISOString = function() {
@@ -4871,39 +4871,39 @@ var oi = { exports: {} };
4871
4871
  return this.toDate().toUTCString();
4872
4872
  };
4873
4873
  var b = u.toDate;
4874
- u.toDate = function(d) {
4875
- return d === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : b.call(this);
4874
+ u.toDate = function(h) {
4875
+ return h === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : b.call(this);
4876
4876
  };
4877
- var x = u.diff;
4878
- u.diff = function(d, I, N) {
4879
- if (d && this.$u === d.$u)
4880
- return x.call(this, d, I, N);
4881
- var H = this.local(), T = a(d).local();
4882
- return x.call(H, T, I, N);
4877
+ var T = u.diff;
4878
+ u.diff = function(h, I, R) {
4879
+ if (h && this.$u === h.$u)
4880
+ return T.call(this, h, I, R);
4881
+ var H = this.local(), E = a(h).local();
4882
+ return T.call(H, E, I, R);
4883
4883
  };
4884
4884
  };
4885
4885
  });
4886
4886
  })(oi);
4887
- var Xo = oi.exports;
4888
- const qo = /* @__PURE__ */ Nt(Xo);
4889
- function Yo(e) {
4890
- di(e, "svelte-etf668", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) 0}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;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;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));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:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}');
4887
+ var Zo = oi.exports;
4888
+ const Jo = /* @__PURE__ */ Nt(Zo);
4889
+ function Qo(e) {
4890
+ vi(e, "svelte-etf668", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--emw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin:var(--emw--spacing-small, 12px) 0}.CashierVerificationsWrapper{width:100%;padding:10px;border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.3);position:relative;overflow:hidden;isolation:isolate;flex-direction:column;background-color:rgba(255, 255, 255, 0.063);display:flex;z-index:1;width:97%;margin:auto;cursor:pointer;user-select:none}.CashierVerificationsWrapper::before{content:"";position:absolute;inset:0;z-index:-1;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary) 0%, var(--emw--color-black) 100%);background-size:200% 200%;animation:gradientWave 8s ease infinite}.CashierVerificationsWrapper::after{content:"";position:absolute;inset:-2px;z-index:-2;border-radius:inherit;background:linear-gradient(135deg, var(--emw--color-primary), var(--emw--color-black) transparent);background-size:200% 200%;animation:gradientWave 8s ease infinite reverse;filter:blur(10px);opacity:0.6}@keyframes gradientWave{0%{background-position:0% 50%}50%{background-position:100% 50%}100%{background-position:0% 50%}}.VerificationsHeader{display:flex;align-items:center}.VerificationsList{max-height:0;overflow:hidden;transform:translateY(-10px);opacity:0;transition:max-height 0.3s ease, transform 0.3s ease, opacity 0.3s ease}.VerificationsList.ShowVerifications{max-height:100%;transform:translateY(0);opacity:1}.CashierVerificationChevron.ShowVerifications svg{-o-transform:rotateX(180deg);-ms-transform:rotateX(180deg);-moz-transform:rotateX(180deg);-webkit-transform:rotateX(180deg);transform:rotateX(180deg)}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:rgba(0, 0, 0, 0.15);border-radius:10px;margin-bottom:10px;padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg path{stroke:var(--emw--color-typography, var(--emw--color-white, #ffffff))}p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));font-weight:500;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;font-weight:200;font-size:12px}.text a{color:var(--emw--color-primary, #f9c408);font-weight:500}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s;margin-right:5px}.CashierVerificationChevron svg path{fill:var(--emw--color-typography, var(--emw--color-white, #ffffff));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:rotateX(90deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center;fill:var(--emw--color-primary, #f9c408)}.CashierVerificationVideoLink{cursor:pointer;color:var(--emw--color-primary, #f9c408);font-family:inherit;font-size:var(--emw--font-size-small, 12px);line-height:120%;margin:var(--emw--spacing-small, 12px);font-weight:500}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}');
4891
4891
  }
4892
4892
  function pr(e, t, r) {
4893
4893
  const i = e.slice();
4894
- return i[53] = t[r], i;
4894
+ return i[56] = t[r], i;
4895
4895
  }
4896
- function Zo(e) {
4896
+ function Ko(e) {
4897
4897
  let t, r = (
4898
4898
  /*displayMessages*/
4899
4899
  e[3].length > 0 && mr(e)
4900
4900
  );
4901
4901
  return {
4902
4902
  c() {
4903
- t = q("div"), r && r.c(), C(t, "class", "CashierVerificationsWrapper");
4903
+ t = X("div"), r && r.c(), C(t, "class", "CashierVerificationsWrapper");
4904
4904
  },
4905
4905
  m(i, n) {
4906
- ae(i, t, n), r && r.m(t, null);
4906
+ se(i, t, n), r && r.m(t, null);
4907
4907
  },
4908
4908
  p(i, n) {
4909
4909
  /*displayMessages*/
@@ -4914,11 +4914,11 @@ function Zo(e) {
4914
4914
  }
4915
4915
  };
4916
4916
  }
4917
- function Jo(e) {
4917
+ function es(e) {
4918
4918
  let t;
4919
4919
  return {
4920
4920
  c() {
4921
- t = q("cashier-spinner"), ze(
4921
+ t = X("cashier-spinner"), ze(
4922
4922
  t,
4923
4923
  "clientstylingurl",
4924
4924
  /*clientstylingurl*/
@@ -4931,7 +4931,7 @@ function Jo(e) {
4931
4931
  );
4932
4932
  },
4933
4933
  m(r, i) {
4934
- ae(r, t, i);
4934
+ se(r, t, i);
4935
4935
  },
4936
4936
  p(r, i) {
4937
4937
  i[0] & /*clientstylingurl*/
@@ -4957,71 +4957,71 @@ function mr(e) {
4957
4957
  let t, r, i, n, o, s, a, u = (
4958
4958
  /*$_*/
4959
4959
  e[8]("verificationsRequired") + ""
4960
- ), l, f, h, m, b, x, d, I, N = Gt(
4960
+ ), l, f, p, v, b, T, h, I, R = Gt(
4961
4961
  /*displayMessages*/
4962
4962
  e[3]
4963
4963
  ), H = [];
4964
- for (let O = 0; O < N.length; O += 1)
4965
- H[O] = vr(pr(e, N, O));
4966
- let T = (
4964
+ for (let O = 0; O < R.length; O += 1)
4965
+ H[O] = vr(pr(e, R, O));
4966
+ let E = (
4967
4967
  /*videoExists*/
4968
4968
  e[6] && gr(e)
4969
4969
  );
4970
4970
  return {
4971
4971
  c() {
4972
- t = q("div"), r = je("svg"), i = je("path"), n = je("path"), o = je("path"), s = Se(), a = q("p"), l = Dt(u), f = Se(), h = q("span"), h.innerHTML = '<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>', m = Se(), b = q("div");
4972
+ t = X("div"), r = je("svg"), i = je("path"), n = je("path"), o = je("path"), s = Se(), a = X("p"), l = Dt(u), f = Se(), p = X("span"), p.innerHTML = '<svg width="13" height="8" viewBox="0 0 13 8" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.335805 2.19101L5.63841 7.62117C5.75331 7.74121 5.89002 7.83649 6.04064 7.9015C6.19127 7.96652 6.35282 8 6.51599 8C6.67917 8 6.84072 7.96652 6.99135 7.9015C7.14197 7.83649 7.27868 7.74121 7.39358 7.62117L12.6344 2.19101C12.7502 2.07195 12.8422 1.93031 12.9049 1.77424C12.9677 1.61818 13 1.45078 13 1.28171C13 1.11265 12.9677 0.945251 12.9049 0.789186C12.8422 0.633121 12.7502 0.491475 12.6344 0.372417C12.4028 0.133886 12.0895 -7.95968e-08 11.763 -1.08144e-07C11.4364 -1.36691e-07 11.1232 0.133886 10.8916 0.372417L6.51599 4.90609L2.14042 0.372417C1.91019 0.135815 1.59946 0.00242849 1.27519 0.00101368C1.11252 3.90151e-05 0.951266 0.0323442 0.80067 0.0960778C0.650074 0.159811 0.513102 0.25372 0.397606 0.372416C0.277618 0.48719 0.180769 0.625461 0.112655 0.779242C0.0445407 0.933023 0.00651199 1.09926 0.000765141 1.26836C-0.00498171 1.43746 0.0216687 1.60606 0.0791753 1.76442C0.136682 1.92279 0.223905 2.06777 0.335805 2.19101Z" fill="#6E738F"></path></svg>', v = Se(), b = X("div");
4973
4973
  for (let O = 0; O < H.length; O += 1)
4974
4974
  H[O].c();
4975
- x = Se(), T && T.c(), C(i, "d", "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"), C(i, "stroke", "#6E738F"), C(i, "stroke-width", "2"), C(i, "stroke-linecap", "round"), C(i, "stroke-linejoin", "round"), C(n, "d", "M12 8V12"), C(n, "stroke", "#6E738F"), C(n, "stroke-width", "2"), C(n, "stroke-linecap", "round"), C(n, "stroke-linejoin", "round"), C(o, "d", "M12 16H12.01"), C(o, "stroke", "#6E738F"), C(o, "stroke-width", "2"), C(o, "stroke-linecap", "round"), C(o, "stroke-linejoin", "round"), C(r, "width", "24"), C(r, "height", "24"), C(r, "viewBox", "0 0 24 24"), C(r, "fill", "none"), C(r, "xmlns", "http://www.w3.org/2000/svg"), C(h, "class", "CashierVerificationChevron"), fe(
4976
- h,
4975
+ T = Se(), E && E.c(), C(i, "d", "M12 22C17.5228 22 22 17.5228 22 12C22 6.47715 17.5228 2 12 2C6.47715 2 2 6.47715 2 12C2 17.5228 6.47715 22 12 22Z"), C(i, "stroke", "#6E738F"), C(i, "stroke-width", "2"), C(i, "stroke-linecap", "round"), C(i, "stroke-linejoin", "round"), C(n, "d", "M12 8V12"), C(n, "stroke", "#6E738F"), C(n, "stroke-width", "2"), C(n, "stroke-linecap", "round"), C(n, "stroke-linejoin", "round"), C(o, "d", "M12 16H12.01"), C(o, "stroke", "#6E738F"), C(o, "stroke-width", "2"), C(o, "stroke-linecap", "round"), C(o, "stroke-linejoin", "round"), C(r, "width", "24"), C(r, "height", "24"), C(r, "viewBox", "0 0 24 24"), C(r, "fill", "none"), C(r, "xmlns", "http://www.w3.org/2000/svg"), C(p, "class", "CashierVerificationChevron"), ce(
4976
+ p,
4977
4977
  "ShowVerifications",
4978
4978
  /*allVerificationsVisible*/
4979
4979
  e[4]
4980
- ), C(t, "class", "VerificationsHeader"), C(b, "class", "VerificationsList"), fe(
4980
+ ), C(t, "class", "VerificationsHeader"), C(b, "class", "VerificationsList"), ce(
4981
4981
  b,
4982
4982
  "ShowVerifications",
4983
4983
  /*allVerificationsVisible*/
4984
4984
  e[4]
4985
4985
  );
4986
4986
  },
4987
- m(O, L) {
4988
- ae(O, t, L), G(t, r), G(r, i), G(r, n), G(r, o), G(t, s), G(t, a), G(a, l), G(t, f), G(t, h), ae(O, m, L), ae(O, b, L);
4987
+ m(O, $) {
4988
+ se(O, t, $), G(t, r), G(r, i), G(r, n), G(r, o), G(t, s), G(t, a), G(a, l), G(t, f), G(t, p), se(O, v, $), se(O, b, $);
4989
4989
  for (let P = 0; P < H.length; P += 1)
4990
4990
  H[P] && H[P].m(b, null);
4991
- G(b, x), T && T.m(b, null), d || (I = et(
4991
+ G(b, T), E && E.m(b, null), h || (I = et(
4992
4992
  t,
4993
4993
  "click",
4994
4994
  /*toggleVerifications*/
4995
4995
  e[9]
4996
- ), d = !0);
4996
+ ), h = !0);
4997
4997
  },
4998
- p(O, L) {
4999
- if (L[0] & /*$_*/
4998
+ p(O, $) {
4999
+ if ($[0] & /*$_*/
5000
5000
  256 && u !== (u = /*$_*/
5001
- O[8]("verificationsRequired") + "") && wr(l, u), L[0] & /*allVerificationsVisible*/
5002
- 16 && fe(
5003
- h,
5001
+ O[8]("verificationsRequired") + "") && Er(l, u), $[0] & /*allVerificationsVisible*/
5002
+ 16 && ce(
5003
+ p,
5004
5004
  "ShowVerifications",
5005
5005
  /*allVerificationsVisible*/
5006
5006
  O[4]
5007
- ), L[0] & /*displayMessages*/
5007
+ ), $[0] & /*displayMessages*/
5008
5008
  8) {
5009
- N = Gt(
5009
+ R = Gt(
5010
5010
  /*displayMessages*/
5011
5011
  O[3]
5012
5012
  );
5013
5013
  let P;
5014
- for (P = 0; P < N.length; P += 1) {
5015
- const W = pr(O, N, P);
5016
- H[P] ? H[P].p(W, L) : (H[P] = vr(W), H[P].c(), H[P].m(b, x));
5014
+ for (P = 0; P < R.length; P += 1) {
5015
+ const z = pr(O, R, P);
5016
+ H[P] ? H[P].p(z, $) : (H[P] = vr(z), H[P].c(), H[P].m(b, T));
5017
5017
  }
5018
5018
  for (; P < H.length; P += 1)
5019
5019
  H[P].d(1);
5020
- H.length = N.length;
5020
+ H.length = R.length;
5021
5021
  }
5022
5022
  /*videoExists*/
5023
- O[6] ? T ? T.p(O, L) : (T = gr(O), T.c(), T.m(b, null)) : T && (T.d(1), T = null), L[0] & /*allVerificationsVisible*/
5024
- 16 && fe(
5023
+ O[6] ? E ? E.p(O, $) : (E = gr(O), E.c(), E.m(b, null)) : E && (E.d(1), E = null), $[0] & /*allVerificationsVisible*/
5024
+ 16 && ce(
5025
5025
  b,
5026
5026
  "ShowVerifications",
5027
5027
  /*allVerificationsVisible*/
@@ -5029,26 +5029,26 @@ function mr(e) {
5029
5029
  );
5030
5030
  },
5031
5031
  d(O) {
5032
- O && (ee(t), ee(m), ee(b)), vi(H, O), T && T.d(), d = !1, I();
5032
+ O && (ee(t), ee(v), ee(b)), yi(H, O), E && E.d(), h = !1, I();
5033
5033
  }
5034
5034
  };
5035
5035
  }
5036
5036
  function vr(e) {
5037
5037
  let t, r, i, n, o = (
5038
5038
  /*message*/
5039
- e[53] + ""
5039
+ e[56] + ""
5040
5040
  );
5041
5041
  return {
5042
5042
  c() {
5043
- t = q("div"), r = q("div"), r.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>', i = Se(), n = q("p"), C(r, "class", "IconVerification"), C(n, "class", "text"), C(t, "class", "CashierVerificationMessage Test");
5043
+ t = X("div"), r = X("div"), r.innerHTML = '<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 2H6C5.46957 2 4.96086 2.21071 4.58579 2.58579C4.21071 2.96086 4 3.46957 4 4V20C4 20.5304 4.21071 21.0391 4.58579 21.4142C4.96086 21.7893 5.46957 22 6 22H18C18.5304 22 19.0391 21.7893 19.4142 21.4142C19.7893 21.0391 20 20.5304 20 20V7L15 2Z" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14 2V6C14 6.53043 14.2107 7.03914 14.5858 7.41421C14.9609 7.78929 15.4696 8 16 8H20" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M10 9H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 13H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path><path d="M16 17H8" stroke="#6E738F" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></svg>', i = Se(), n = X("p"), C(r, "class", "IconVerification"), C(n, "class", "text"), C(t, "class", "CashierVerificationMessage Test");
5044
5044
  },
5045
5045
  m(s, a) {
5046
- ae(s, t, a), G(t, r), G(t, i), G(t, n), n.innerHTML = o;
5046
+ se(s, t, a), G(t, r), G(t, i), G(t, n), n.innerHTML = o;
5047
5047
  },
5048
5048
  p(s, a) {
5049
5049
  a[0] & /*displayMessages*/
5050
5050
  8 && o !== (o = /*message*/
5051
- s[53] + "") && (n.innerHTML = o);
5051
+ s[56] + "") && (n.innerHTML = o);
5052
5052
  },
5053
5053
  d(s) {
5054
5054
  s && ee(t);
@@ -5062,7 +5062,7 @@ function gr(e) {
5062
5062
  ), s, a, u;
5063
5063
  return {
5064
5064
  c() {
5065
- t = q("div"), r = q("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 = Se(), n = q("div"), s = Dt(o), C(r, "class", "IconVideo"), C(n, "class", "CashierVerificationVideoLink"), fe(
5065
+ t = X("div"), r = X("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 = Se(), n = X("div"), s = Dt(o), C(r, "class", "IconVideo"), C(n, "class", "CashierVerificationVideoLink"), ce(
5066
5066
  n,
5067
5067
  "CashierVerificationVideoLinkDesktop",
5068
5068
  /*desktopView*/
@@ -5070,7 +5070,7 @@ function gr(e) {
5070
5070
  ), C(t, "class", "CashierVerificationVideo Test");
5071
5071
  },
5072
5072
  m(l, f) {
5073
- ae(l, t, f), G(t, r), G(t, i), G(t, n), G(n, s), a || (u = et(
5073
+ se(l, t, f), G(t, r), G(t, i), G(t, n), G(n, s), a || (u = et(
5074
5074
  t,
5075
5075
  "click",
5076
5076
  /*showVideo*/
@@ -5080,8 +5080,8 @@ function gr(e) {
5080
5080
  p(l, f) {
5081
5081
  f[0] & /*$_*/
5082
5082
  256 && o !== (o = /*$_*/
5083
- l[8]("verification.video.how-to") + "") && wr(s, o), f[0] & /*desktopView*/
5084
- 32 && fe(
5083
+ l[8]("verification.video.how-to") + "") && Er(s, o), f[0] & /*desktopView*/
5084
+ 32 && ce(
5085
5085
  n,
5086
5086
  "CashierVerificationVideoLinkDesktop",
5087
5087
  /*desktopView*/
@@ -5093,24 +5093,24 @@ function gr(e) {
5093
5093
  }
5094
5094
  };
5095
5095
  }
5096
- function Qo(e) {
5096
+ function ts(e) {
5097
5097
  let t;
5098
5098
  function r(o, s) {
5099
5099
  if (
5100
5100
  /*isLoading*/
5101
5101
  o[7]
5102
5102
  )
5103
- return Jo;
5103
+ return es;
5104
5104
  if (
5105
5105
  /*displayMessages*/
5106
5106
  o[3]
5107
5107
  )
5108
- return Zo;
5108
+ return Ko;
5109
5109
  }
5110
5110
  let i = r(e), n = i && i(e);
5111
5111
  return {
5112
5112
  c() {
5113
- t = q("div"), n && n.c(), C(t, "class", "CashierVerifications"), fe(
5113
+ t = X("div"), n && n.c(), C(t, "class", "CashierVerifications"), ce(
5114
5114
  t,
5115
5115
  "CashierVerificationsDesktop",
5116
5116
  /*desktopView*/
@@ -5118,11 +5118,11 @@ function Qo(e) {
5118
5118
  );
5119
5119
  },
5120
5120
  m(o, s) {
5121
- ae(o, t, s), n && n.m(t, null), e[19](t);
5121
+ se(o, t, s), n && n.m(t, null), e[20](t);
5122
5122
  },
5123
5123
  p(o, s) {
5124
5124
  i === (i = r(o)) && n ? n.p(o, s) : (n && n.d(1), n = i && i(o), n && (n.c(), n.m(t, null))), s[0] & /*desktopView*/
5125
- 32 && fe(
5125
+ 32 && ce(
5126
5126
  t,
5127
5127
  "CashierVerificationsDesktop",
5128
5128
  /*desktopView*/
@@ -5132,213 +5132,217 @@ function Qo(e) {
5132
5132
  i: K,
5133
5133
  o: K,
5134
5134
  d(o) {
5135
- o && ee(t), n && n.d(), e[19](null);
5135
+ o && ee(t), n && n.d(), e[20](null);
5136
5136
  }
5137
5137
  };
5138
5138
  }
5139
- const Ko = "verification_explanation_video_widgets.MP4";
5140
- function es(e, t, r) {
5139
+ const rs = "verification_explanation_video_widgets.MP4";
5140
+ function is(e, t, r) {
5141
5141
  let i, n;
5142
- Vt(e, Eo, (c) => r(8, i = c)), Vt(e, To, (c) => r(27, n = c)), dr.extend(qo);
5143
- let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { session: f = "" } = t, { customerid: h = "" } = t, { playersession: m = "" } = t, { mbsource: b = "" } = t, x, d = /* @__PURE__ */ new Set(), I = /* @__PURE__ */ new Set(), N, H, T, O = !1, L = !0, P = !1, W = "", ne = !1, te, V = window.navigator.userAgent;
5144
- var B;
5142
+ Vt(e, Oo, (c) => r(8, i = c)), Vt(e, Ho, (c) => r(29, n = c)), dr.extend(Jo);
5143
+ let { endpoint: o } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { session: f = "" } = t, { customerid: p = "" } = t, { playersession: v = "" } = t, { userroles: b = "" } = t, { mbsource: T = "" } = t, h, I = /* @__PURE__ */ new Set(), R = /* @__PURE__ */ new Set(), H, E, O, $ = !1, P = !0, z = !1, ne = "", Z = !1, V, L, be = window.navigator.userAgent;
5144
+ var ue;
5145
5145
  (function(c) {
5146
5146
  c.Manual = "Manual", c.ShuftiPro = "ShuftiPro";
5147
- })(B || (B = {}));
5148
- var le;
5147
+ })(ue || (ue = {}));
5148
+ var _;
5149
5149
  (function(c) {
5150
5150
  c.Requested = "Requested";
5151
- })(le || (le = {}));
5152
- var z;
5151
+ })(_ || (_ = {}));
5152
+ var d;
5153
5153
  (function(c) {
5154
5154
  c.Unknown = "Unknown", c.Unverified = "Unverified", c.InProgress = "InProgress", c.Failed = "Failed", c.Verified = "Verified", c.Referred = "Referred", c.True = "True", c.False = "False", c.AwaitingForResponse = "AwaitingForResponse";
5155
- })(z || (z = {}));
5156
- var _;
5155
+ })(d || (d = {}));
5156
+ var m;
5157
5157
  (function(c) {
5158
5158
  c.Unknown = "Unknown", c.Documents = "Documents", c.Age = "Age", c.Pep = "Pep", c.Sanction = "Sanction", c.Aml = "Aml", c.ProofOfAddress = "ProofOfAddress", c.SourceOfWealth = "SourceOfWealth", c.SocialMedia = "SocialMedia", c.Biometric = "Biometric";
5159
- })(_ || (_ = {}));
5160
- const g = (c) => {
5159
+ })(m || (m = {}));
5160
+ const y = (c) => {
5161
5161
  c.data && c.data.type;
5162
5162
  };
5163
- xi(() => (window.addEventListener("message", g), ai(), () => {
5164
- window.removeEventListener("message", g);
5163
+ Si(() => (window.addEventListener("message", y), li(), () => {
5164
+ window.removeEventListener("message", y);
5165
5165
  }));
5166
- const p = [
5167
- z.InProgress,
5168
- z.Referred,
5169
- z.AwaitingForResponse
5170
- ], y = () => {
5166
+ const g = [
5167
+ d.InProgress,
5168
+ d.Referred,
5169
+ d.AwaitingForResponse
5170
+ ], w = () => {
5171
5171
  let c = a;
5172
5172
  if (c)
5173
- return fetch(c).then((w) => w.json()).then((w) => {
5174
- Object.keys(w).forEach((M) => {
5175
- nr(M, w[M]);
5173
+ return fetch(c).then((x) => x.json()).then((x) => {
5174
+ Object.keys(x).forEach((B) => {
5175
+ nr(B, x[B]);
5176
5176
  });
5177
- }).catch((w) => {
5178
- console.log(w);
5177
+ }).catch((x) => {
5178
+ console.log(x);
5179
5179
  });
5180
5180
  };
5181
5181
  Object.keys(or).forEach((c) => {
5182
5182
  nr(c, or[c]);
5183
5183
  });
5184
- const v = () => {
5185
- So(s);
5186
- }, E = () => {
5187
- r(18, H = R());
5188
- const c = new URL(`${o}/v1/player/${h}/verification/GetKYCCustomerStatus?language=${s}`), w = new Headers();
5189
- w.append("accept", "application/json"), w.append("Content-Type", "application/json"), w.append("x-sessionid", `${m}`), w.append("X-Client-Request-Timestamp", dr.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
5190
- const M = {
5184
+ const S = () => {
5185
+ Po(s);
5186
+ }, D = () => {
5187
+ r(19, E = j());
5188
+ const c = new URL(`${o}/v1/player/${p}/verification/GetKYCCustomerStatus?language=${s}`), x = new Headers();
5189
+ x.append("accept", "application/json"), x.append("Content-Type", "application/json"), x.append("x-sessionid", `${v}`), x.append("X-Client-Request-Timestamp", dr.utc().format("YYYY-MM-DD HH:mm:ss.SSS")), L.indexOf("MM_CHANNEL_BETA") != -1 && x.append("MM_CHANNEL", "BETA");
5190
+ const B = {
5191
5191
  method: "POST",
5192
- headers: w,
5192
+ headers: x,
5193
5193
  body: JSON.stringify({})
5194
5194
  };
5195
- r(7, ne = !0), fetch(c, M).then((J) => J.json()).then((J) => {
5196
- const lt = S(J?.Verifications);
5197
- N = F(lt), N.VerificationStatuses.forEach((Ge) => {
5198
- Ge.VerificationUrlType !== "Widget" && d.add(Ge.Vendor);
5199
- }), r(3, T = se());
5200
- }).finally(() => r(7, ne = !1));
5201
- }, S = (c) => c ? c.sort((w, M) => new Date(M.Created).getTime() - new Date(w.Created).getTime()) : [], D = () => {
5202
- n && E();
5203
- }, R = () => {
5195
+ r(7, Z = !0), fetch(c, B).then((Q) => Q.json()).then((Q) => {
5196
+ const lt = k(Q?.Verifications);
5197
+ H = Y(lt), H.VerificationStatuses.forEach((Ge) => {
5198
+ Ge.VerificationUrlType !== "Widget" && I.add(Ge.Vendor);
5199
+ }), r(3, O = re());
5200
+ }).finally(() => r(7, Z = !1));
5201
+ }, k = (c) => c ? c.sort((x, B) => new Date(B.Created).getTime() - new Date(x.Created).getTime()) : [], F = () => {
5202
+ n && D();
5203
+ }, j = () => {
5204
5204
  let c = (f || n).split(".")[1];
5205
5205
  if (c) {
5206
- let w = JSON.parse(atob(c));
5207
- return w.cdn + "/cashier/operator-assets/" + w?.mid;
5206
+ let x = JSON.parse(atob(c));
5207
+ return x.cdn + "/cashier/operator-assets/" + x?.mid;
5208
5208
  }
5209
5209
  return "";
5210
- }, F = (c) => {
5210
+ }, Y = (c) => {
5211
5211
  if (!c || !c.length)
5212
5212
  return {
5213
- VerificationSummaryStatus: z.Unverified,
5213
+ VerificationSummaryStatus: d.Unverified,
5214
5214
  VerificationStatuses: []
5215
5215
  };
5216
- const w = ce(c);
5217
- if (w && w.length) {
5218
- const M = j(w);
5216
+ const x = de(c);
5217
+ if (x && x.length) {
5218
+ const B = le(x);
5219
5219
  return {
5220
- VerificationSummaryStatus: M.Status,
5221
- VerificationUrl: M.Flags?.DeferredUrlKey,
5222
- VerificationStatuses: Y(w, M.Status)
5220
+ VerificationSummaryStatus: B.Status,
5221
+ VerificationUrl: B.Flags?.DeferredUrlKey,
5222
+ VerificationStatuses: te(x, B.Status)
5223
5223
  };
5224
5224
  } else
5225
5225
  return {
5226
- VerificationSummaryStatus: c.some((J) => J.Status === z.Failed) ? z.Failed : z.Verified,
5227
- VerificationStatuses: Y(c, [z.Failed])
5226
+ VerificationSummaryStatus: c.some((Q) => Q.Status === d.Failed) ? d.Failed : d.Verified,
5227
+ VerificationStatuses: te(c, [d.Failed])
5228
5228
  };
5229
- }, j = (c) => c.reduce(
5230
- (w, M) => w ? new Date(w) < new Date(M) ? M : w : M,
5229
+ }, le = (c) => c.reduce(
5230
+ (x, B) => x ? new Date(x) < new Date(B) ? B : x : B,
5231
5231
  0
5232
- ), Y = (c, w) => c.filter((M) => w.includes(M.Status)).map((M) => ({
5233
- Type: M.Type,
5234
- Vendor: M.VendorName,
5235
- VerificationDocuments: M.Documents ? [...M.Documents] : [],
5236
- VerificationUrlType: M.FlowInfo?.Type,
5237
- VerificationUrl: M.FlowInfo?.Url
5238
- })), ce = (c) => c.filter((w) => p.includes(w.Status) ? w.FlowInfo && w.FlowInfo.Url || oe(w) || pe(w) : !1), oe = (c) => {
5239
- const w = c.Documents && c.VendorName === B.Manual, M = c.Documents && c.Documents.some((J) => J.Status === le.Requested);
5240
- return w && M;
5241
- }, pe = (c) => c.VendorName === B.ShuftiPro && c.Status === z.Referred, se = () => {
5242
- switch (N.VerificationSummaryStatus) {
5243
- case z.InProgress:
5232
+ ), te = (c, x) => c.filter((B) => x.includes(B.Status)).map((B) => ({
5233
+ Type: B.Type,
5234
+ Vendor: B.VendorName,
5235
+ VerificationDocuments: B.Documents ? [...B.Documents] : [],
5236
+ VerificationUrlType: B.FlowInfo?.Type,
5237
+ VerificationUrl: B.FlowInfo?.Url
5238
+ })), de = (c) => c.filter((x) => g.includes(x.Status) ? x.FlowInfo && x.FlowInfo.Url || oe(x) || W(x) : !1), oe = (c) => {
5239
+ const x = c.Documents && c.VendorName === ue.Manual, B = c.Documents && c.Documents.some((Q) => Q.Status === _.Requested);
5240
+ return x && B;
5241
+ }, W = (c) => c.VendorName === ue.ShuftiPro && c.Status === d.Referred, re = () => {
5242
+ switch (H.VerificationSummaryStatus) {
5243
+ case d.InProgress:
5244
5244
  const c = [];
5245
- return d.forEach((w) => {
5246
- c.push(X(w));
5245
+ return I.forEach((x) => {
5246
+ c.push(pe(x));
5247
5247
  }), c;
5248
- case z.Referred:
5248
+ case d.Referred:
5249
5249
  return [i("verification.idenfy.referred-awaiting")];
5250
- case z.Failed:
5250
+ case d.Failed:
5251
5251
  return [i("verification.message.failed")];
5252
5252
  }
5253
- }, X = (c) => {
5254
- const w = N.VerificationStatuses.filter((M) => M.Vendor === c);
5255
- if (c === B.ShuftiPro)
5256
- return re(w);
5253
+ }, pe = (c) => {
5254
+ const x = H.VerificationStatuses.filter((B) => B.Vendor === c);
5255
+ if (c === ue.ShuftiPro)
5256
+ return ye(x);
5257
5257
  {
5258
- const M = i("verification.idenfy.link-name"), J = {
5259
- link: `<a href="${w[0].VerificationUrl}" target="_blank">${M}</a>`
5258
+ const B = i("verification.idenfy.link-name"), Q = {
5259
+ link: `<a href="${x[0].VerificationUrl}" target="_blank">${B}</a>`
5260
5260
  };
5261
- return i("verification.idenfy.in-progress", { values: J });
5261
+ return i("verification.idenfy.in-progress", { values: Q });
5262
5262
  }
5263
- }, re = (c) => {
5264
- const w = [], M = {}, J = [
5265
- _.Biometric,
5266
- _.Documents,
5267
- _.ProofOfAddress
5263
+ }, ye = (c) => {
5264
+ const x = [], B = {}, Q = [
5265
+ m.Biometric,
5266
+ m.Documents,
5267
+ m.ProofOfAddress
5268
5268
  ];
5269
- c.forEach((ve) => {
5270
- J.includes(ve.Type) && (w.push(ve.Type), M[ve.Type] = me(ve, ye(ve.Type)));
5269
+ c.forEach((me) => {
5270
+ Q.includes(me.Type) && (x.push(me.Type), B[me.Type] = si(me, ai(me.Type)));
5271
5271
  });
5272
- let lt = w.every((ve) => I.has(ve)), Ge = `verification.shuftipro.in-progress.${w.sort().join(".")}`;
5273
- return lt ? i("verification.shuftipro.validations-started") : i(Ge, { values: M });
5274
- }, me = (c, w) => `<a class="verificationLink ${c.Type}" href=" ${c.VerificationUrl} " target="_blank">${w}</a>`, ye = (c) => i(`verification.shuftipro.link-name.${c}`), si = () => {
5275
- r(4, O = !O);
5276
- }, ai = () => {
5277
- r(5, L = !zo(V));
5278
- }, ui = () => {
5279
- W = H + "/" + s + "/" + Ko;
5272
+ let lt = x.every((me) => R.has(me)), Ge = `verification.shuftipro.in-progress.${x.sort().join(".")}`;
5273
+ return lt ? i("verification.shuftipro.validations-started") : i(Ge, { values: B });
5274
+ }, si = (c, x) => `<a class="verificationLink ${c.Type}" href=" ${c.VerificationUrl} " target="_blank">${x}</a>`, ai = (c) => i(`verification.shuftipro.link-name.${c}`), ui = () => {
5275
+ r(4, $ = !$);
5276
+ }, li = () => {
5277
+ r(5, P = !qo(be));
5278
+ }, ci = () => {
5279
+ ne = E + "/" + s + "/" + rs;
5280
5280
  try {
5281
- fetch(W, { method: "HEAD" }).then((c) => {
5282
- r(6, P = c.ok);
5281
+ fetch(ne, { method: "HEAD" }).then((c) => {
5282
+ r(6, z = c.ok);
5283
5283
  });
5284
5284
  } catch {
5285
- r(6, P = !1);
5285
+ r(6, z = !1);
5286
5286
  }
5287
- }, li = () => {
5287
+ }, fi = () => {
5288
+ b.length > 0 && (L = b.split(","));
5289
+ }, hi = () => {
5288
5290
  window.dispatchEvent(new CustomEvent(
5289
5291
  "modal-update",
5290
5292
  {
5291
- detail: { type: "video", data: { videoSrc: W } }
5293
+ detail: { type: "video", data: { videoSrc: ne } }
5292
5294
  }
5293
5295
  ));
5294
5296
  };
5295
- function ci(c) {
5297
+ function di(c) {
5296
5298
  bt[c ? "unshift" : "push"](() => {
5297
- x = c, r(2, x);
5299
+ h = c, r(2, h);
5298
5300
  });
5299
5301
  }
5300
5302
  return e.$$set = (c) => {
5301
- "endpoint" in c && r(11, o = c.endpoint), "lang" in c && r(12, s = c.lang), "translationurl" in c && r(13, a = c.translationurl), "clientstyling" in c && r(0, u = c.clientstyling), "clientstylingurl" in c && r(1, l = c.clientstylingurl), "session" in c && r(14, f = c.session), "customerid" in c && r(15, h = c.customerid), "playersession" in c && r(16, m = c.playersession), "mbsource" in c && r(17, b = c.mbsource);
5303
+ "endpoint" in c && r(11, o = c.endpoint), "lang" in c && r(12, s = c.lang), "translationurl" in c && r(13, a = c.translationurl), "clientstyling" in c && r(0, u = c.clientstyling), "clientstylingurl" in c && r(1, l = c.clientstylingurl), "session" in c && r(14, f = c.session), "customerid" in c && r(15, p = c.customerid), "playersession" in c && r(16, v = c.playersession), "userroles" in c && r(17, b = c.userroles), "mbsource" in c && r(18, T = c.mbsource);
5302
5304
  }, e.$$.update = () => {
5303
5305
  e.$$.dirty[0] & /*lang*/
5304
- 4096 && s && v(), e.$$.dirty[0] & /*endpoint, session, playersession*/
5305
- 83968 && o && f && m && E(), e.$$.dirty[0] & /*endpoint, session, playersession*/
5306
- 83968 && o && !f && m && D(), e.$$.dirty[0] & /*translationurl*/
5307
- 8192 && a && y(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5308
- 5 && u && x && Oo(x, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5309
- 6 && l && x && Po(x, l), e.$$.dirty[0] & /*staticCdnUrl*/
5310
- 262144 && H && ui(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5311
- 131076 && b && x && Ho(x, `${b}.Style`, te);
5306
+ 4096 && s && S(), e.$$.dirty[0] & /*endpoint, session, playersession*/
5307
+ 83968 && o && f && v && D(), e.$$.dirty[0] & /*endpoint, session, playersession*/
5308
+ 83968 && o && !f && v && F(), e.$$.dirty[0] & /*translationurl*/
5309
+ 8192 && a && w(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5310
+ 5 && u && h && Ao(h, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5311
+ 6 && l && h && Bo(h, l), e.$$.dirty[0] & /*staticCdnUrl*/
5312
+ 524288 && E && ci(), e.$$.dirty[0] & /*userroles*/
5313
+ 131072 && b && fi(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5314
+ 262148 && T && h && Mo(h, `${T}.Style`, V);
5312
5315
  }, [
5313
5316
  u,
5314
5317
  l,
5315
- x,
5316
- T,
5318
+ h,
5317
5319
  O,
5318
- L,
5320
+ $,
5319
5321
  P,
5320
- ne,
5322
+ z,
5323
+ Z,
5321
5324
  i,
5322
- si,
5323
- li,
5325
+ ui,
5326
+ hi,
5324
5327
  o,
5325
5328
  s,
5326
5329
  a,
5327
5330
  f,
5328
- h,
5329
- m,
5331
+ p,
5332
+ v,
5330
5333
  b,
5331
- H,
5332
- ci
5334
+ T,
5335
+ E,
5336
+ di
5333
5337
  ];
5334
5338
  }
5335
- class ts extends Bi {
5339
+ class ns extends $i {
5336
5340
  constructor(t) {
5337
- super(), Hi(
5341
+ super(), Mi(
5338
5342
  this,
5339
5343
  t,
5340
- es,
5341
- Qo,
5344
+ is,
5345
+ ts,
5342
5346
  yr,
5343
5347
  {
5344
5348
  endpoint: 11,
@@ -5349,9 +5353,10 @@ class ts extends Bi {
5349
5353
  session: 14,
5350
5354
  customerid: 15,
5351
5355
  playersession: 16,
5352
- mbsource: 17
5356
+ userroles: 17,
5357
+ mbsource: 18
5353
5358
  },
5354
- Yo,
5359
+ Qo,
5355
5360
  [-1, -1]
5356
5361
  );
5357
5362
  }
@@ -5359,87 +5364,93 @@ class ts extends Bi {
5359
5364
  return this.$$.ctx[11];
5360
5365
  }
5361
5366
  set endpoint(t) {
5362
- this.$$set({ endpoint: t }), Q();
5367
+ this.$$set({ endpoint: t }), J();
5363
5368
  }
5364
5369
  get lang() {
5365
5370
  return this.$$.ctx[12];
5366
5371
  }
5367
5372
  set lang(t) {
5368
- this.$$set({ lang: t }), Q();
5373
+ this.$$set({ lang: t }), J();
5369
5374
  }
5370
5375
  get translationurl() {
5371
5376
  return this.$$.ctx[13];
5372
5377
  }
5373
5378
  set translationurl(t) {
5374
- this.$$set({ translationurl: t }), Q();
5379
+ this.$$set({ translationurl: t }), J();
5375
5380
  }
5376
5381
  get clientstyling() {
5377
5382
  return this.$$.ctx[0];
5378
5383
  }
5379
5384
  set clientstyling(t) {
5380
- this.$$set({ clientstyling: t }), Q();
5385
+ this.$$set({ clientstyling: t }), J();
5381
5386
  }
5382
5387
  get clientstylingurl() {
5383
5388
  return this.$$.ctx[1];
5384
5389
  }
5385
5390
  set clientstylingurl(t) {
5386
- this.$$set({ clientstylingurl: t }), Q();
5391
+ this.$$set({ clientstylingurl: t }), J();
5387
5392
  }
5388
5393
  get session() {
5389
5394
  return this.$$.ctx[14];
5390
5395
  }
5391
5396
  set session(t) {
5392
- this.$$set({ session: t }), Q();
5397
+ this.$$set({ session: t }), J();
5393
5398
  }
5394
5399
  get customerid() {
5395
5400
  return this.$$.ctx[15];
5396
5401
  }
5397
5402
  set customerid(t) {
5398
- this.$$set({ customerid: t }), Q();
5403
+ this.$$set({ customerid: t }), J();
5399
5404
  }
5400
5405
  get playersession() {
5401
5406
  return this.$$.ctx[16];
5402
5407
  }
5403
5408
  set playersession(t) {
5404
- this.$$set({ playersession: t }), Q();
5409
+ this.$$set({ playersession: t }), J();
5405
5410
  }
5406
- get mbsource() {
5411
+ get userroles() {
5407
5412
  return this.$$.ctx[17];
5408
5413
  }
5414
+ set userroles(t) {
5415
+ this.$$set({ userroles: t }), J();
5416
+ }
5417
+ get mbsource() {
5418
+ return this.$$.ctx[18];
5419
+ }
5409
5420
  set mbsource(t) {
5410
- this.$$set({ mbsource: t }), Q();
5421
+ this.$$set({ mbsource: t }), J();
5411
5422
  }
5412
5423
  }
5413
- Ai(ts, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, mbsource: {} }, [], [], !0);
5424
+ Ci(ns, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, playersession: {}, userroles: {}, mbsource: {} }, [], [], !0);
5414
5425
  export {
5415
5426
  je as A,
5416
- us as B,
5417
- Oo as C,
5418
- Po as D,
5419
- Ho as E,
5420
- ts as F,
5421
- Bi as S,
5422
- di as a,
5423
- Si as b,
5424
- Ai as c,
5427
+ fs as B,
5428
+ Ao as C,
5429
+ Bo as D,
5430
+ Mo as E,
5431
+ ns as F,
5432
+ $i as S,
5433
+ vi as a,
5434
+ Pi as b,
5435
+ Ci as c,
5425
5436
  ee as d,
5426
- ls as e,
5427
- Q as f,
5428
- ae as g,
5429
- q as h,
5430
- Hi as i,
5431
- as as j,
5432
- rs as k,
5433
- os as l,
5434
- is as m,
5435
- fe as n,
5436
- xi as o,
5437
+ hs as e,
5438
+ J as f,
5439
+ se as g,
5440
+ X as h,
5441
+ Mi as i,
5442
+ cs as j,
5443
+ os as k,
5444
+ us as l,
5445
+ ss as m,
5446
+ ce as n,
5447
+ Si as o,
5437
5448
  G as p,
5438
- ss as q,
5449
+ ls as q,
5439
5450
  Se as r,
5440
5451
  yr as s,
5441
- cs as t,
5442
- ns as u,
5452
+ ds as t,
5453
+ as as u,
5443
5454
  C as v,
5444
5455
  _t as w,
5445
5456
  bt as x,