@everymatrix/cashier-verifications 1.74.1 → 1.74.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
1
  var Ur = Object.defineProperty, Fr = Object.defineProperties;
2
2
  var Vr = Object.getOwnPropertyDescriptors;
3
- var Ot = Object.getOwnPropertySymbols;
3
+ var Pt = Object.getOwnPropertySymbols;
4
4
  var Gr = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable;
5
- var tt = (e, t, r) => t in e ? Ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pt = (e, t) => {
5
+ var Ke = (e, t, r) => t in e ? Ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ot = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Gr.call(t, r) && tt(e, r, t[r]);
8
- if (Ot)
9
- for (var r of Ot(t))
10
- jr.call(t, r) && tt(e, r, t[r]);
7
+ Gr.call(t, r) && Ke(e, r, t[r]);
8
+ if (Pt)
9
+ for (var r of Pt(t))
10
+ jr.call(t, r) && Ke(e, r, t[r]);
11
11
  return e;
12
12
  }, At = (e, t) => Fr(e, Vr(t));
13
- var J = (e, t, r) => (tt(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var $t = (e, t, r) => new Promise((i, n) => {
13
+ var J = (e, t, r) => (Ke(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Bt = (e, t, r) => new Promise((i, n) => {
15
15
  var s = (a) => {
16
16
  try {
17
17
  l(r.next(a));
@@ -32,21 +32,21 @@ function te() {
32
32
  function rr(e) {
33
33
  return e();
34
34
  }
35
- function Bt() {
35
+ function $t() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function Re(e) {
38
+ function Ne(e) {
39
39
  e.forEach(rr);
40
40
  }
41
- function _t(e) {
41
+ function bt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
44
  function ir(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let Ge;
48
- function _s(e, t) {
49
- return e === t ? !0 : (Ge || (Ge = document.createElement("a")), Ge.href = t, e === Ge.href);
47
+ let Ve;
48
+ function ys(e, t) {
49
+ return e === t ? !0 : (Ve || (Ve = document.createElement("a")), Ve.href = t, e === Ve.href);
50
50
  }
51
51
  function zr(e) {
52
52
  return Object.keys(e).length === 0;
@@ -90,7 +90,7 @@ function qr(e, t) {
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function ae(e, t, r) {
93
+ function oe(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
96
  function ee(e) {
@@ -106,16 +106,16 @@ function Y(e) {
106
106
  function xs(e) {
107
107
  return document.createElementNS("http://www.w3.org/2000/svg", e);
108
108
  }
109
- function xt(e) {
109
+ function yt(e) {
110
110
  return document.createTextNode(e);
111
111
  }
112
- function we() {
113
- return xt(" ");
112
+ function Ee() {
113
+ return yt(" ");
114
114
  }
115
- function Es() {
116
- return xt("");
115
+ function _s() {
116
+ return yt("");
117
117
  }
118
- function Et(e, t, r, i) {
118
+ function xt(e, t, r, i) {
119
119
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
120
120
  }
121
121
  function re(e, t, r) {
@@ -132,7 +132,7 @@ function Jr(e, t) {
132
132
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
133
133
  t);
134
134
  }
135
- function Te(e, t, r) {
135
+ function Se(e, t, r) {
136
136
  e.classList.toggle(t, !!r);
137
137
  }
138
138
  function Qr(e) {
@@ -144,65 +144,65 @@ function Qr(e) {
144
144
  }
145
145
  ), t;
146
146
  }
147
- let Le;
148
- function De(e) {
149
- Le = e;
147
+ let De;
148
+ function Ce(e) {
149
+ De = e;
150
150
  }
151
151
  function Kr() {
152
- if (!Le)
152
+ if (!De)
153
153
  throw new Error("Function called outside component initialization");
154
- return Le;
154
+ return De;
155
155
  }
156
156
  function ei(e) {
157
157
  Kr().$$.on_mount.push(e);
158
158
  }
159
- const Ee = [], lt = [];
160
- let Se = [];
159
+ const _e = [], at = [];
160
+ let we = [];
161
161
  const Ct = [], ti = /* @__PURE__ */ Promise.resolve();
162
- let ht = !1;
162
+ let ut = !1;
163
163
  function ri() {
164
- ht || (ht = !0, ti.then(Q));
164
+ ut || (ut = !0, ti.then(Q));
165
165
  }
166
- function ft(e) {
167
- Se.push(e);
166
+ function lt(e) {
167
+ we.push(e);
168
168
  }
169
- const rt = /* @__PURE__ */ new Set();
170
- let _e = 0;
169
+ const et = /* @__PURE__ */ new Set();
170
+ let ye = 0;
171
171
  function Q() {
172
- if (_e !== 0)
172
+ if (ye !== 0)
173
173
  return;
174
- const e = Le;
174
+ const e = De;
175
175
  do {
176
176
  try {
177
- for (; _e < Ee.length; ) {
178
- const t = Ee[_e];
179
- _e++, De(t), ii(t.$$);
177
+ for (; ye < _e.length; ) {
178
+ const t = _e[ye];
179
+ ye++, Ce(t), ii(t.$$);
180
180
  }
181
181
  } catch (t) {
182
- throw Ee.length = 0, _e = 0, t;
182
+ throw _e.length = 0, ye = 0, t;
183
183
  }
184
- for (De(null), Ee.length = 0, _e = 0; lt.length; )
185
- lt.pop()();
186
- for (let t = 0; t < Se.length; t += 1) {
187
- const r = Se[t];
188
- rt.has(r) || (rt.add(r), r());
184
+ for (Ce(null), _e.length = 0, ye = 0; at.length; )
185
+ at.pop()();
186
+ for (let t = 0; t < we.length; t += 1) {
187
+ const r = we[t];
188
+ et.has(r) || (et.add(r), r());
189
189
  }
190
- Se.length = 0;
191
- } while (Ee.length);
190
+ we.length = 0;
191
+ } while (_e.length);
192
192
  for (; Ct.length; )
193
193
  Ct.pop()();
194
- ht = !1, rt.clear(), De(e);
194
+ ut = !1, et.clear(), Ce(e);
195
195
  }
196
196
  function ii(e) {
197
197
  if (e.fragment !== null) {
198
- e.update(), Re(e.before_update);
198
+ e.update(), Ne(e.before_update);
199
199
  const t = e.dirty;
200
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ft);
200
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(lt);
201
201
  }
202
202
  }
203
203
  function ni(e) {
204
204
  const t = [], r = [];
205
- Se.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), Se = t;
205
+ we.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), we = t;
206
206
  }
207
207
  const si = /* @__PURE__ */ new Set();
208
208
  function oi(e, t) {
@@ -213,21 +213,21 @@ function Dt(e) {
213
213
  }
214
214
  function ai(e, t, r) {
215
215
  const { fragment: i, after_update: n } = e.$$;
216
- i && i.m(t, r), ft(() => {
217
- const s = e.$$.on_mount.map(rr).filter(_t);
218
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Re(s), e.$$.on_mount = [];
219
- }), n.forEach(ft);
216
+ i && i.m(t, r), lt(() => {
217
+ const s = e.$$.on_mount.map(rr).filter(bt);
218
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Ne(s), e.$$.on_mount = [];
219
+ }), n.forEach(lt);
220
220
  }
221
221
  function ui(e, t) {
222
222
  const r = e.$$;
223
- r.fragment !== null && (ni(r.after_update), Re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
223
+ r.fragment !== null && (ni(r.after_update), Ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
224
224
  }
225
225
  function li(e, t) {
226
- e.$$.dirty[0] === -1 && (Ee.push(e), ri(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
226
+ e.$$.dirty[0] === -1 && (_e.push(e), ri(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
227
227
  }
228
228
  function hi(e, t, r, i, n, s, o = null, l = [-1]) {
229
- const a = Le;
230
- De(e);
229
+ const a = De;
230
+ Ce(e);
231
231
  const u = e.$$ = {
232
232
  fragment: null,
233
233
  ctx: [],
@@ -235,7 +235,7 @@ function hi(e, t, r, i, n, s, o = null, l = [-1]) {
235
235
  props: s,
236
236
  update: te,
237
237
  not_equal: n,
238
- bound: Bt(),
238
+ bound: $t(),
239
239
  // lifecycle
240
240
  on_mount: [],
241
241
  on_destroy: [],
@@ -244,17 +244,17 @@ function hi(e, t, r, i, n, s, o = null, l = [-1]) {
244
244
  after_update: [],
245
245
  context: new Map(t.context || (a ? a.$$.context : [])),
246
246
  // everything else
247
- callbacks: Bt(),
247
+ callbacks: $t(),
248
248
  dirty: l,
249
249
  skip_bound: !1,
250
250
  root: t.target || a.$$.root
251
251
  };
252
252
  o && o(u.root);
253
253
  let h = !1;
254
- if (u.ctx = r ? r(e, t.props || {}, (c, p, ..._) => {
255
- const S = _.length ? _[0] : p;
254
+ if (u.ctx = r ? r(e, t.props || {}, (c, p, ...x) => {
255
+ const S = x.length ? x[0] : p;
256
256
  return u.ctx && n(u.ctx[c], u.ctx[c] = S) && (!u.skip_bound && u.bound[c] && u.bound[c](S), h && li(e, c)), p;
257
- }) : [], u.update(), h = !0, Re(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
257
+ }) : [], u.update(), h = !0, Ne(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
258
258
  if (t.hydrate) {
259
259
  const c = Zr(t.target);
260
260
  u.fragment && u.fragment.l(c), c.forEach(ee);
@@ -262,7 +262,7 @@ function hi(e, t, r, i, n, s, o = null, l = [-1]) {
262
262
  u.fragment && u.fragment.c();
263
263
  t.intro && oi(e.$$.fragment), ai(e, t.target, t.anchor), Q();
264
264
  }
265
- De(a);
265
+ Ce(a);
266
266
  }
267
267
  let sr;
268
268
  typeof HTMLElement == "function" && (sr = class extends HTMLElement {
@@ -302,7 +302,7 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
302
302
  }
303
303
  }
304
304
  connectedCallback() {
305
- return $t(this, null, function* () {
305
+ return Bt(this, null, function* () {
306
306
  if (this.$$cn = !0, !this.$$c) {
307
307
  let t = function(s) {
308
308
  return () => {
@@ -316,7 +316,7 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
316
316
  * @param {HTMLElement} [anchor]
317
317
  */
318
318
  m: function(u, h) {
319
- ae(u, o, h);
319
+ oe(u, o, h);
320
320
  },
321
321
  d: function(u) {
322
322
  u && ee(o);
@@ -331,13 +331,13 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
331
331
  s in i && (r[s] = [t(s)]);
332
332
  for (const s of this.attributes) {
333
333
  const o = this.$$g_p(s.name);
334
- o in this.$$d || (this.$$d[o] = ze(o, s.value, this.$$p_d, "toProp"));
334
+ o in this.$$d || (this.$$d[o] = je(o, s.value, this.$$p_d, "toProp"));
335
335
  }
336
336
  for (const s in this.$$p_d)
337
337
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
338
338
  this.$$c = new this.$$ctor({
339
339
  target: this.shadowRoot || this,
340
- props: At(Pt({}, this.$$d), {
340
+ props: At(Ot({}, this.$$d), {
341
341
  $$slots: r,
342
342
  $$scope: {
343
343
  ctx: []
@@ -348,7 +348,7 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
348
348
  this.$$r = !0;
349
349
  for (const s in this.$$p_d)
350
350
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
351
- const o = ze(
351
+ const o = je(
352
352
  s,
353
353
  this.$$d[s],
354
354
  this.$$p_d,
@@ -372,7 +372,7 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
372
372
  // and setting attributes through setAttribute etc, this is helpful
373
373
  attributeChangedCallback(t, r, i) {
374
374
  var n;
375
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ze(t, i, this.$$p_d, "toProp"), (n = this.$$c) == null || n.$set({ [t]: this.$$d[t] }));
375
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = je(t, i, this.$$p_d, "toProp"), (n = this.$$c) == null || n.$set({ [t]: this.$$d[t] }));
376
376
  }
377
377
  disconnectedCallback() {
378
378
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -385,7 +385,7 @@ typeof HTMLElement == "function" && (sr = class extends HTMLElement {
385
385
  ) || t;
386
386
  }
387
387
  });
388
- function ze(e, t, r, i) {
388
+ function je(e, t, r, i) {
389
389
  var s;
390
390
  const n = (s = r[e]) == null ? void 0 : s.type;
391
391
  if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
@@ -433,7 +433,7 @@ function fi(e, t, r, i, n, s) {
433
433
  },
434
434
  set(a) {
435
435
  var u;
436
- a = ze(l, a, t), this.$$d[l] = a, (u = this.$$c) == null || u.$set({ [l]: a });
436
+ a = je(l, a, t), this.$$d[l] = a, (u = this.$$c) == null || u.$set({ [l]: a });
437
437
  }
438
438
  });
439
439
  }), i.forEach((l) => {
@@ -476,7 +476,7 @@ class ci {
476
476
  * @returns {() => void}
477
477
  */
478
478
  $on(t, r) {
479
- if (!_t(r))
479
+ if (!bt(r))
480
480
  return te;
481
481
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
482
482
  return i.push(r), () => {
@@ -497,10 +497,10 @@ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @
497
497
  const xe = [];
498
498
  function mi(e, t) {
499
499
  return {
500
- subscribe: ke(e, t).subscribe
500
+ subscribe: Re(e, t).subscribe
501
501
  };
502
502
  }
503
- function ke(e, t = te) {
503
+ function Re(e, t = te) {
504
504
  let r;
505
505
  const i = /* @__PURE__ */ new Set();
506
506
  function n(l) {
@@ -526,7 +526,7 @@ function ke(e, t = te) {
526
526
  }
527
527
  return { set: n, update: s, subscribe: o };
528
528
  }
529
- function $e(e, t, r) {
529
+ function Ae(e, t, r) {
530
530
  const i = !Array.isArray(e), n = i ? [e] : e;
531
531
  if (!n.every(Boolean))
532
532
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -540,12 +540,12 @@ function $e(e, t, r) {
540
540
  return;
541
541
  c();
542
542
  const S = t(i ? u[0] : u, o, l);
543
- s ? o(S) : c = _t(S) ? S : te;
544
- }, _ = n.map(
543
+ s ? o(S) : c = bt(S) ? S : te;
544
+ }, x = n.map(
545
545
  (S, v) => nr(
546
546
  S,
547
- (B) => {
548
- u[v] = B, h &= ~(1 << v), a && p();
547
+ (M) => {
548
+ u[v] = M, h &= ~(1 << v), a && p();
549
549
  },
550
550
  () => {
551
551
  h |= 1 << v;
@@ -553,12 +553,12 @@ function $e(e, t, r) {
553
553
  )
554
554
  );
555
555
  return a = !0, p(), function() {
556
- Re(_), c(), a = !1;
556
+ Ne(x), c(), a = !1;
557
557
  };
558
558
  });
559
559
  }
560
560
  var or = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
561
- function wt(e) {
561
+ function _t(e) {
562
562
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
563
563
  }
564
564
  var pi = function(t) {
@@ -569,28 +569,28 @@ function gi(e) {
569
569
  }
570
570
  function vi(e) {
571
571
  var t = Object.prototype.toString.call(e);
572
- return t === "[object RegExp]" || t === "[object Date]" || _i(e);
572
+ return t === "[object RegExp]" || t === "[object Date]" || xi(e);
573
573
  }
574
574
  var bi = typeof Symbol == "function" && Symbol.for, yi = bi ? Symbol.for("react.element") : 60103;
575
- function _i(e) {
575
+ function xi(e) {
576
576
  return e.$$typeof === yi;
577
577
  }
578
- function xi(e) {
578
+ function _i(e) {
579
579
  return Array.isArray(e) ? [] : {};
580
580
  }
581
- function Ie(e, t) {
582
- return t.clone !== !1 && t.isMergeableObject(e) ? He(xi(e), e, t) : e;
581
+ function Le(e, t) {
582
+ return t.clone !== !1 && t.isMergeableObject(e) ? Te(_i(e), e, t) : e;
583
583
  }
584
584
  function Ei(e, t, r) {
585
585
  return e.concat(t).map(function(i) {
586
- return Ie(i, r);
586
+ return Le(i, r);
587
587
  });
588
588
  }
589
589
  function wi(e, t) {
590
590
  if (!t.customMerge)
591
- return He;
591
+ return Te;
592
592
  var r = t.customMerge(e);
593
- return typeof r == "function" ? r : He;
593
+ return typeof r == "function" ? r : Te;
594
594
  }
595
595
  function Si(e) {
596
596
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -613,53 +613,67 @@ function Ti(e, t) {
613
613
  function Hi(e, t, r) {
614
614
  var i = {};
615
615
  return r.isMergeableObject(e) && Lt(e).forEach(function(n) {
616
- i[n] = Ie(e[n], r);
616
+ i[n] = Le(e[n], r);
617
617
  }), Lt(t).forEach(function(n) {
618
- Ti(e, n) || (ar(e, n) && r.isMergeableObject(t[n]) ? i[n] = wi(n, r)(e[n], t[n], r) : i[n] = Ie(t[n], r));
618
+ Ti(e, n) || (ar(e, n) && r.isMergeableObject(t[n]) ? i[n] = wi(n, r)(e[n], t[n], r) : i[n] = Le(t[n], r));
619
619
  }), i;
620
620
  }
621
- function He(e, t, r) {
622
- r = r || {}, r.arrayMerge = r.arrayMerge || Ei, r.isMergeableObject = r.isMergeableObject || pi, r.cloneUnlessOtherwiseSpecified = Ie;
621
+ function Te(e, t, r) {
622
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ei, r.isMergeableObject = r.isMergeableObject || pi, r.cloneUnlessOtherwiseSpecified = Le;
623
623
  var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
624
- return s ? i ? r.arrayMerge(e, t, r) : Hi(e, t, r) : Ie(t, r);
624
+ return s ? i ? r.arrayMerge(e, t, r) : Hi(e, t, r) : Le(t, r);
625
625
  }
626
- He.all = function(t, r) {
626
+ Te.all = function(t, r) {
627
627
  if (!Array.isArray(t))
628
628
  throw new Error("first argument should be an array");
629
629
  return t.reduce(function(i, n) {
630
- return He(i, n, r);
630
+ return Te(i, n, r);
631
631
  }, {});
632
632
  };
633
- var Oi = He, Pi = Oi;
634
- const Ai = /* @__PURE__ */ wt(Pi);
635
- var ct = function(e, t) {
636
- return ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
633
+ var Pi = Te, Oi = Pi;
634
+ const Ai = /* @__PURE__ */ _t(Oi);
635
+ /*! *****************************************************************************
636
+ Copyright (c) Microsoft Corporation.
637
+
638
+ Permission to use, copy, modify, and/or distribute this software for any
639
+ purpose with or without fee is hereby granted.
640
+
641
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
642
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
643
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
644
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
645
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
646
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
647
+ PERFORMANCE OF THIS SOFTWARE.
648
+ ***************************************************************************** */
649
+ var ht = function(e, t) {
650
+ return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
637
651
  r.__proto__ = i;
638
652
  } || function(r, i) {
639
653
  for (var n in i)
640
654
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
641
- }, ct(e, t);
655
+ }, ht(e, t);
642
656
  };
643
- function Qe(e, t) {
657
+ function Ze(e, t) {
644
658
  if (typeof t != "function" && t !== null)
645
659
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
646
- ct(e, t);
660
+ ht(e, t);
647
661
  function r() {
648
662
  this.constructor = e;
649
663
  }
650
664
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
651
665
  }
652
- var oe = function() {
653
- return oe = Object.assign || function(t) {
666
+ var A = function() {
667
+ return A = Object.assign || function(t) {
654
668
  for (var r, i = 1, n = arguments.length; i < n; i++) {
655
669
  r = arguments[i];
656
670
  for (var s in r)
657
671
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
658
672
  }
659
673
  return t;
660
- }, oe.apply(this, arguments);
674
+ }, A.apply(this, arguments);
661
675
  };
662
- function $i(e, t) {
676
+ function Bi(e, t) {
663
677
  var r = {};
664
678
  for (var i in e)
665
679
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -668,119 +682,143 @@ function $i(e, t) {
668
682
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
669
683
  return r;
670
684
  }
671
- function it(e, t, r) {
685
+ function Es(e) {
686
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
687
+ if (r)
688
+ return r.call(e);
689
+ if (e && typeof e.length == "number")
690
+ return {
691
+ next: function() {
692
+ return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
693
+ }
694
+ };
695
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
696
+ }
697
+ function ws(e, t) {
698
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
699
+ if (!r)
700
+ return e;
701
+ var i = r.call(e), n, s = [], o;
702
+ try {
703
+ for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
704
+ s.push(n.value);
705
+ } catch (l) {
706
+ o = { error: l };
707
+ } finally {
708
+ try {
709
+ n && !n.done && (r = i.return) && r.call(i);
710
+ } finally {
711
+ if (o)
712
+ throw o.error;
713
+ }
714
+ }
715
+ return s;
716
+ }
717
+ function tt(e, t, r) {
672
718
  if (r || arguments.length === 2)
673
719
  for (var i = 0, n = t.length, s; i < n; i++)
674
720
  (s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
675
- return e.concat(s || Array.prototype.slice.call(t));
721
+ return e.concat(s || t);
676
722
  }
677
- function nt(e, t) {
678
- var r = t && t.cache ? t.cache : Ni, i = t && t.serializer ? t.serializer : Li, n = t && t.strategy ? t.strategy : Ci;
723
+ function rt(e, t) {
724
+ var r = t && t.cache ? t.cache : Ii, i = t && t.serializer ? t.serializer : Li, n = t && t.strategy ? t.strategy : Mi;
679
725
  return n(e, {
680
726
  cache: r,
681
727
  serializer: i
682
728
  });
683
729
  }
684
- function Bi(e) {
730
+ function $i(e) {
685
731
  return e == null || typeof e == "number" || typeof e == "boolean";
686
732
  }
687
- function Mi(e, t, r, i) {
688
- var n = Bi(i) ? i : r(i), s = t.get(n);
733
+ function ur(e, t, r, i) {
734
+ var n = $i(i) ? i : r(i), s = t.get(n);
689
735
  return typeof s == "undefined" && (s = e.call(this, i), t.set(n, s)), s;
690
736
  }
691
- function ur(e, t, r) {
737
+ function lr(e, t, r) {
692
738
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
693
739
  return typeof s == "undefined" && (s = e.apply(this, i), t.set(n, s)), s;
694
740
  }
695
- function lr(e, t, r, i, n) {
741
+ function Et(e, t, r, i, n) {
696
742
  return r.bind(t, e, i, n);
697
743
  }
744
+ function Mi(e, t) {
745
+ var r = e.length === 1 ? ur : lr;
746
+ return Et(e, this, r, t.cache.create(), t.serializer);
747
+ }
698
748
  function Ci(e, t) {
699
- var r = e.length === 1 ? Mi : ur;
700
- return lr(e, this, r, t.cache.create(), t.serializer);
749
+ return Et(e, this, lr, t.cache.create(), t.serializer);
701
750
  }
702
751
  function Di(e, t) {
703
- return lr(e, this, ur, t.cache.create(), t.serializer);
752
+ return Et(e, this, ur, t.cache.create(), t.serializer);
704
753
  }
705
754
  var Li = function() {
706
755
  return JSON.stringify(arguments);
707
- }, Ii = (
708
- /** @class */
709
- function() {
710
- function e() {
711
- this.cache = /* @__PURE__ */ Object.create(null);
712
- }
713
- return e.prototype.get = function(t) {
714
- return this.cache[t];
715
- }, e.prototype.set = function(t, r) {
716
- this.cache[t] = r;
717
- }, e;
718
- }()
719
- ), Ni = {
756
+ };
757
+ function wt() {
758
+ this.cache = /* @__PURE__ */ Object.create(null);
759
+ }
760
+ wt.prototype.get = function(e) {
761
+ return this.cache[e];
762
+ };
763
+ wt.prototype.set = function(e, t) {
764
+ this.cache[e] = t;
765
+ };
766
+ var Ii = {
720
767
  create: function() {
721
- return new Ii();
768
+ return new wt();
722
769
  }
723
- }, st = {
724
- variadic: Di
725
- }, qe = function() {
726
- return qe = Object.assign || function(t) {
727
- for (var r, i = 1, n = arguments.length; i < n; i++) {
728
- r = arguments[i];
729
- for (var s in r)
730
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
731
- }
732
- return t;
733
- }, qe.apply(this, arguments);
734
- };
735
- var T;
770
+ }, it = {
771
+ variadic: Ci,
772
+ monadic: Di
773
+ }, T;
736
774
  (function(e) {
737
775
  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";
738
776
  })(T || (T = {}));
739
- var C;
777
+ var D;
740
778
  (function(e) {
741
779
  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";
742
- })(C || (C = {}));
743
- var Oe;
780
+ })(D || (D = {}));
781
+ var He;
744
782
  (function(e) {
745
783
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
746
- })(Oe || (Oe = {}));
784
+ })(He || (He = {}));
747
785
  function It(e) {
748
- return e.type === C.literal;
786
+ return e.type === D.literal;
749
787
  }
750
- function Ri(e) {
751
- return e.type === C.argument;
788
+ function Ni(e) {
789
+ return e.type === D.argument;
752
790
  }
753
791
  function hr(e) {
754
- return e.type === C.number;
792
+ return e.type === D.number;
755
793
  }
756
794
  function fr(e) {
757
- return e.type === C.date;
795
+ return e.type === D.date;
758
796
  }
759
797
  function cr(e) {
760
- return e.type === C.time;
798
+ return e.type === D.time;
761
799
  }
762
800
  function dr(e) {
763
- return e.type === C.select;
801
+ return e.type === D.select;
764
802
  }
765
803
  function mr(e) {
766
- return e.type === C.plural;
804
+ return e.type === D.plural;
767
805
  }
768
- function ki(e) {
769
- return e.type === C.pound;
806
+ function Ri(e) {
807
+ return e.type === D.pound;
770
808
  }
771
809
  function pr(e) {
772
- return e.type === C.tag;
810
+ return e.type === D.tag;
773
811
  }
774
812
  function gr(e) {
775
- return !!(e && typeof e == "object" && e.type === Oe.number);
813
+ return !!(e && typeof e == "object" && e.type === He.number);
776
814
  }
777
- function dt(e) {
778
- return !!(e && typeof e == "object" && e.type === Oe.dateTime);
815
+ function ft(e) {
816
+ return !!(e && typeof e == "object" && e.type === He.dateTime);
779
817
  }
780
- var vr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ui = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
781
- function Fi(e) {
818
+ var vr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ki = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
819
+ function Ui(e) {
782
820
  var t = {};
783
- return e.replace(Ui, function(r) {
821
+ return e.replace(ki, function(r) {
784
822
  var i = r.length;
785
823
  switch (r[0]) {
786
824
  case "G":
@@ -869,21 +907,11 @@ function Fi(e) {
869
907
  return "";
870
908
  }), t;
871
909
  }
872
- var L = function() {
873
- return L = Object.assign || function(t) {
874
- for (var r, i = 1, n = arguments.length; i < n; i++) {
875
- r = arguments[i];
876
- for (var s in r)
877
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
878
- }
879
- return t;
880
- }, L.apply(this, arguments);
881
- };
882
- var Vi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
883
- function Gi(e) {
910
+ var Fi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
911
+ function Vi(e) {
884
912
  if (e.length === 0)
885
913
  throw new Error("Number skeleton cannot be empty");
886
- for (var t = e.split(Vi).filter(function(p) {
914
+ for (var t = e.split(Fi).filter(function(p) {
887
915
  return p.length > 0;
888
916
  }), r = [], i = 0, n = t; i < n.length; i++) {
889
917
  var s = n[i], o = s.split("/");
@@ -898,17 +926,17 @@ function Gi(e) {
898
926
  }
899
927
  return r;
900
928
  }
901
- function ji(e) {
929
+ function Gi(e) {
902
930
  return e.replace(/^(.*?)-/, "");
903
931
  }
904
- var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, br = /^(@+)?(\+|#+)?[rs]?$/g, zi = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
932
+ var Nt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, br = /^(@+)?(\+|#+)?[rs]?$/g, ji = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
905
933
  function Rt(e) {
906
934
  var t = {};
907
935
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(br, function(r, i, n) {
908
936
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
909
937
  }), t;
910
938
  }
911
- function _r(e) {
939
+ function xr(e) {
912
940
  switch (e) {
913
941
  case "sign-auto":
914
942
  return {
@@ -948,7 +976,7 @@ function _r(e) {
948
976
  };
949
977
  }
950
978
  }
951
- function Xi(e) {
979
+ function zi(e) {
952
980
  var t;
953
981
  if (e[0] === "E" && e[1] === "E" ? (t = {
954
982
  notation: "engineering"
@@ -963,10 +991,10 @@ function Xi(e) {
963
991
  return t;
964
992
  }
965
993
  function kt(e) {
966
- var t = {}, r = _r(e);
994
+ var t = {}, r = xr(e);
967
995
  return r || t;
968
996
  }
969
- function Wi(e) {
997
+ function Xi(e) {
970
998
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
971
999
  var n = i[r];
972
1000
  switch (n.stem) {
@@ -990,7 +1018,7 @@ function Wi(e) {
990
1018
  continue;
991
1019
  case "measure-unit":
992
1020
  case "unit":
993
- t.style = "unit", t.unit = ji(n.options[0]);
1021
+ t.style = "unit", t.unit = Gi(n.options[0]);
994
1022
  continue;
995
1023
  case "compact-short":
996
1024
  case "K":
@@ -1001,13 +1029,13 @@ function Wi(e) {
1001
1029
  t.notation = "compact", t.compactDisplay = "long";
1002
1030
  continue;
1003
1031
  case "scientific":
1004
- t = L(L(L({}, t), { notation: "scientific" }), n.options.reduce(function(a, u) {
1005
- return L(L({}, a), kt(u));
1032
+ t = A(A(A({}, t), { notation: "scientific" }), n.options.reduce(function(a, u) {
1033
+ return A(A({}, a), kt(u));
1006
1034
  }, {}));
1007
1035
  continue;
1008
1036
  case "engineering":
1009
- t = L(L(L({}, t), { notation: "engineering" }), n.options.reduce(function(a, u) {
1010
- return L(L({}, a), kt(u));
1037
+ t = A(A(A({}, t), { notation: "engineering" }), n.options.reduce(function(a, u) {
1038
+ return A(A({}, a), kt(u));
1011
1039
  }, {}));
1012
1040
  continue;
1013
1041
  case "notation-simple":
@@ -1052,13 +1080,13 @@ function Wi(e) {
1052
1080
  case "integer-width":
1053
1081
  if (n.options.length > 1)
1054
1082
  throw new RangeError("integer-width stems only accept a single optional option");
1055
- n.options[0].replace(zi, function(a, u, h, c, p, _) {
1083
+ n.options[0].replace(ji, function(a, u, h, c, p, x) {
1056
1084
  if (u)
1057
1085
  t.minimumIntegerDigits = h.length;
1058
1086
  else {
1059
1087
  if (c && p)
1060
1088
  throw new Error("We currently do not support maximum integer digits");
1061
- if (_)
1089
+ if (x)
1062
1090
  throw new Error("We currently do not support exact integer digits");
1063
1091
  }
1064
1092
  return "";
@@ -1072,25 +1100,25 @@ function Wi(e) {
1072
1100
  if (Nt.test(n.stem)) {
1073
1101
  if (n.options.length > 1)
1074
1102
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1075
- n.stem.replace(Nt, function(a, u, h, c, p, _) {
1076
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && _ ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + _.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1103
+ n.stem.replace(Nt, function(a, u, h, c, p, x) {
1104
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && x ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + x.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1077
1105
  });
1078
1106
  var s = n.options[0];
1079
- s === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = L(L({}, t), Rt(s)));
1107
+ s === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = A(A({}, t), Rt(s)));
1080
1108
  continue;
1081
1109
  }
1082
1110
  if (br.test(n.stem)) {
1083
- t = L(L({}, t), Rt(n.stem));
1111
+ t = A(A({}, t), Rt(n.stem));
1084
1112
  continue;
1085
1113
  }
1086
- var o = _r(n.stem);
1087
- o && (t = L(L({}, t), o));
1088
- var l = Xi(n.stem);
1089
- l && (t = L(L({}, t), l));
1114
+ var o = xr(n.stem);
1115
+ o && (t = A(A({}, t), o));
1116
+ var l = zi(n.stem);
1117
+ l && (t = A(A({}, t), l));
1090
1118
  }
1091
1119
  return t;
1092
1120
  }
1093
- var je = {
1121
+ var Ge = {
1094
1122
  "001": [
1095
1123
  "H",
1096
1124
  "h"
@@ -2505,13 +2533,13 @@ var je = {
2505
2533
  "h"
2506
2534
  ]
2507
2535
  };
2508
- function qi(e, t) {
2536
+ function Wi(e, t) {
2509
2537
  for (var r = "", i = 0; i < e.length; i++) {
2510
2538
  var n = e.charAt(i);
2511
2539
  if (n === "j") {
2512
2540
  for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2513
2541
  s++, i++;
2514
- var o = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), a = "a", u = Yi(t);
2542
+ var o = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), a = "a", u = qi(t);
2515
2543
  for ((u == "H" || u == "k") && (l = 0); l-- > 0; )
2516
2544
  r += a;
2517
2545
  for (; o-- > 0; )
@@ -2521,7 +2549,7 @@ function qi(e, t) {
2521
2549
  }
2522
2550
  return r;
2523
2551
  }
2524
- function Yi(e) {
2552
+ function qi(e) {
2525
2553
  var t = e.hourCycle;
2526
2554
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2527
2555
  e.hourCycles && // @ts-ignore
@@ -2540,23 +2568,23 @@ function Yi(e) {
2540
2568
  }
2541
2569
  var r = e.language, i;
2542
2570
  r !== "root" && (i = e.maximize().region);
2543
- var n = je[i || ""] || je[r || ""] || je["".concat(r, "-001")] || je["001"];
2571
+ var n = Ge[i || ""] || Ge[r || ""] || Ge["".concat(r, "-001")] || Ge["001"];
2544
2572
  return n[0];
2545
2573
  }
2546
- var ot, Zi = new RegExp("^".concat(vr.source, "*")), Ji = new RegExp("".concat(vr.source, "*$"));
2547
- function O(e, t) {
2574
+ var nt, Yi = new RegExp("^".concat(vr.source, "*")), Zi = new RegExp("".concat(vr.source, "*$"));
2575
+ function P(e, t) {
2548
2576
  return { start: e, end: t };
2549
2577
  }
2550
- var Qi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ki = !!String.fromCodePoint, en = !!Object.fromEntries, tn = !!String.prototype.codePointAt, rn = !!String.prototype.trimStart, nn = !!String.prototype.trimEnd, sn = !!Number.isSafeInteger, on = sn ? Number.isSafeInteger : function(e) {
2578
+ var Ji = !!String.prototype.startsWith && "_a".startsWith("a", 1), Qi = !!String.fromCodePoint, Ki = !!Object.fromEntries, en = !!String.prototype.codePointAt, tn = !!String.prototype.trimStart, rn = !!String.prototype.trimEnd, nn = !!Number.isSafeInteger, sn = nn ? Number.isSafeInteger : function(e) {
2551
2579
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2552
- }, mt = !0;
2580
+ }, ct = !0;
2553
2581
  try {
2554
- var an = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2555
- mt = ((ot = an.exec("a")) === null || ot === void 0 ? void 0 : ot[0]) === "a";
2582
+ var on = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2583
+ ct = ((nt = on.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
2556
2584
  } catch (e) {
2557
- mt = !1;
2585
+ ct = !1;
2558
2586
  }
2559
- var Ut = Qi ? (
2587
+ var Ut = Ji ? (
2560
2588
  // Native
2561
2589
  function(t, r, i) {
2562
2590
  return t.startsWith(r, i);
@@ -2566,7 +2594,7 @@ var Ut = Qi ? (
2566
2594
  function(t, r, i) {
2567
2595
  return t.slice(i, i + r.length) === r;
2568
2596
  }
2569
- ), pt = Ki ? String.fromCodePoint : (
2597
+ ), dt = Qi ? String.fromCodePoint : (
2570
2598
  // IE11
2571
2599
  function() {
2572
2600
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2580,7 +2608,7 @@ var Ut = Qi ? (
2580
2608
  }
2581
2609
  ), Ft = (
2582
2610
  // native
2583
- en ? Object.fromEntries : (
2611
+ Ki ? Object.fromEntries : (
2584
2612
  // Ponyfill
2585
2613
  function(t) {
2586
2614
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -2590,7 +2618,7 @@ var Ut = Qi ? (
2590
2618
  return r;
2591
2619
  }
2592
2620
  )
2593
- ), xr = tn ? (
2621
+ ), _r = en ? (
2594
2622
  // Native
2595
2623
  function(t, r) {
2596
2624
  return t.codePointAt(r);
@@ -2604,7 +2632,7 @@ var Ut = Qi ? (
2604
2632
  return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
2605
2633
  }
2606
2634
  }
2607
- ), un = rn ? (
2635
+ ), an = tn ? (
2608
2636
  // Native
2609
2637
  function(t) {
2610
2638
  return t.trimStart();
@@ -2612,9 +2640,9 @@ var Ut = Qi ? (
2612
2640
  ) : (
2613
2641
  // Ponyfill
2614
2642
  function(t) {
2615
- return t.replace(Zi, "");
2643
+ return t.replace(Yi, "");
2616
2644
  }
2617
- ), ln = nn ? (
2645
+ ), un = rn ? (
2618
2646
  // Native
2619
2647
  function(t) {
2620
2648
  return t.trimEnd();
@@ -2622,32 +2650,32 @@ var Ut = Qi ? (
2622
2650
  ) : (
2623
2651
  // Ponyfill
2624
2652
  function(t) {
2625
- return t.replace(Ji, "");
2653
+ return t.replace(Zi, "");
2626
2654
  }
2627
2655
  );
2628
2656
  function Er(e, t) {
2629
2657
  return new RegExp(e, t);
2630
2658
  }
2631
- var gt;
2632
- if (mt) {
2659
+ var mt;
2660
+ if (ct) {
2633
2661
  var Vt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2634
- gt = function(t, r) {
2662
+ mt = function(t, r) {
2635
2663
  var i;
2636
2664
  Vt.lastIndex = r;
2637
2665
  var n = Vt.exec(t);
2638
2666
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2639
2667
  };
2640
2668
  } else
2641
- gt = function(t, r) {
2669
+ mt = function(t, r) {
2642
2670
  for (var i = []; ; ) {
2643
- var n = xr(t, r);
2644
- if (n === void 0 || wr(n) || dn(n))
2671
+ var n = _r(t, r);
2672
+ if (n === void 0 || wr(n) || cn(n))
2645
2673
  break;
2646
2674
  i.push(n), r += n >= 65536 ? 2 : 1;
2647
2675
  }
2648
- return pt.apply(void 0, i);
2676
+ return dt.apply(void 0, i);
2649
2677
  };
2650
- var hn = (
2678
+ var ln = (
2651
2679
  /** @class */
2652
2680
  function() {
2653
2681
  function e(t, r) {
@@ -2671,14 +2699,14 @@ var hn = (
2671
2699
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2672
2700
  var l = this.clonePosition();
2673
2701
  this.bump(), n.push({
2674
- type: C.pound,
2675
- location: O(l, this.clonePosition())
2702
+ type: D.pound,
2703
+ location: P(l, this.clonePosition())
2676
2704
  });
2677
2705
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2678
2706
  if (i)
2679
2707
  break;
2680
- return this.error(T.UNMATCHED_CLOSING_TAG, O(this.clonePosition(), this.clonePosition()));
2681
- } else if (s === 60 && !this.ignoreTag && vt(this.peek() || 0)) {
2708
+ return this.error(T.UNMATCHED_CLOSING_TAG, P(this.clonePosition(), this.clonePosition()));
2709
+ } else if (s === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
2682
2710
  var o = this.parseTag(t, r);
2683
2711
  if (o.err)
2684
2712
  return o;
@@ -2699,9 +2727,9 @@ var hn = (
2699
2727
  if (this.bumpSpace(), this.bumpIf("/>"))
2700
2728
  return {
2701
2729
  val: {
2702
- type: C.literal,
2730
+ type: D.literal,
2703
2731
  value: "<".concat(n, "/>"),
2704
- location: O(i, this.clonePosition())
2732
+ location: P(i, this.clonePosition())
2705
2733
  },
2706
2734
  err: null
2707
2735
  };
@@ -2711,25 +2739,25 @@ var hn = (
2711
2739
  return s;
2712
2740
  var o = s.val, l = this.clonePosition();
2713
2741
  if (this.bumpIf("</")) {
2714
- if (this.isEOF() || !vt(this.char()))
2715
- return this.error(T.INVALID_TAG, O(l, this.clonePosition()));
2742
+ if (this.isEOF() || !pt(this.char()))
2743
+ return this.error(T.INVALID_TAG, P(l, this.clonePosition()));
2716
2744
  var a = this.clonePosition(), u = this.parseTagName();
2717
- return n !== u ? this.error(T.UNMATCHED_CLOSING_TAG, O(a, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2745
+ return n !== u ? this.error(T.UNMATCHED_CLOSING_TAG, P(a, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2718
2746
  val: {
2719
- type: C.tag,
2747
+ type: D.tag,
2720
2748
  value: n,
2721
2749
  children: o,
2722
- location: O(i, this.clonePosition())
2750
+ location: P(i, this.clonePosition())
2723
2751
  },
2724
2752
  err: null
2725
- } : this.error(T.INVALID_TAG, O(l, this.clonePosition())));
2753
+ } : this.error(T.INVALID_TAG, P(l, this.clonePosition())));
2726
2754
  } else
2727
- return this.error(T.UNCLOSED_TAG, O(i, this.clonePosition()));
2755
+ return this.error(T.UNCLOSED_TAG, P(i, this.clonePosition()));
2728
2756
  } else
2729
- return this.error(T.INVALID_TAG, O(i, this.clonePosition()));
2757
+ return this.error(T.INVALID_TAG, P(i, this.clonePosition()));
2730
2758
  }, e.prototype.parseTagName = function() {
2731
2759
  var t = this.offset();
2732
- for (this.bump(); !this.isEOF() && cn(this.char()); )
2760
+ for (this.bump(); !this.isEOF() && fn(this.char()); )
2733
2761
  this.bump();
2734
2762
  return this.message.slice(t, this.offset());
2735
2763
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2751,14 +2779,14 @@ var hn = (
2751
2779
  }
2752
2780
  break;
2753
2781
  }
2754
- var a = O(i, this.clonePosition());
2782
+ var a = P(i, this.clonePosition());
2755
2783
  return {
2756
- val: { type: C.literal, value: n, location: a },
2784
+ val: { type: D.literal, value: n, location: a },
2757
2785
  err: null
2758
2786
  };
2759
2787
  }, e.prototype.tryParseLeftAngleBracket = function() {
2760
2788
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2761
- !fn(this.peek() || 0)) ? (this.bump(), "<") : null;
2789
+ !hn(this.peek() || 0)) ? (this.bump(), "<") : null;
2762
2790
  }, e.prototype.tryParseQuote = function(t) {
2763
2791
  if (this.isEOF() || this.char() !== 39)
2764
2792
  return null;
@@ -2792,49 +2820,49 @@ var hn = (
2792
2820
  r.push(i);
2793
2821
  this.bump();
2794
2822
  }
2795
- return pt.apply(void 0, r);
2823
+ return dt.apply(void 0, r);
2796
2824
  }, e.prototype.tryParseUnquoted = function(t, r) {
2797
2825
  if (this.isEOF())
2798
2826
  return null;
2799
2827
  var i = this.char();
2800
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), pt(i));
2828
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), dt(i));
2801
2829
  }, e.prototype.parseArgument = function(t, r) {
2802
2830
  var i = this.clonePosition();
2803
2831
  if (this.bump(), this.bumpSpace(), this.isEOF())
2804
- return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, O(i, this.clonePosition()));
2832
+ return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
2805
2833
  if (this.char() === 125)
2806
- return this.bump(), this.error(T.EMPTY_ARGUMENT, O(i, this.clonePosition()));
2834
+ return this.bump(), this.error(T.EMPTY_ARGUMENT, P(i, this.clonePosition()));
2807
2835
  var n = this.parseIdentifierIfPossible().value;
2808
2836
  if (!n)
2809
- return this.error(T.MALFORMED_ARGUMENT, O(i, this.clonePosition()));
2837
+ return this.error(T.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
2810
2838
  if (this.bumpSpace(), this.isEOF())
2811
- return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, O(i, this.clonePosition()));
2839
+ return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
2812
2840
  switch (this.char()) {
2813
2841
  case 125:
2814
2842
  return this.bump(), {
2815
2843
  val: {
2816
- type: C.argument,
2844
+ type: D.argument,
2817
2845
  // value does not include the opening and closing braces.
2818
2846
  value: n,
2819
- location: O(i, this.clonePosition())
2847
+ location: P(i, this.clonePosition())
2820
2848
  },
2821
2849
  err: null
2822
2850
  };
2823
2851
  case 44:
2824
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, O(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2852
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2825
2853
  default:
2826
- return this.error(T.MALFORMED_ARGUMENT, O(i, this.clonePosition()));
2854
+ return this.error(T.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
2827
2855
  }
2828
2856
  }, e.prototype.parseIdentifierIfPossible = function() {
2829
- var t = this.clonePosition(), r = this.offset(), i = gt(this.message, r), n = r + i.length;
2857
+ var t = this.clonePosition(), r = this.offset(), i = mt(this.message, r), n = r + i.length;
2830
2858
  this.bumpTo(n);
2831
- var s = this.clonePosition(), o = O(t, s);
2859
+ var s = this.clonePosition(), o = P(t, s);
2832
2860
  return { value: i, location: o };
2833
2861
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
2834
2862
  var s, o = this.clonePosition(), l = this.parseIdentifierIfPossible().value, a = this.clonePosition();
2835
2863
  switch (l) {
2836
2864
  case "":
2837
- return this.error(T.EXPECT_ARGUMENT_TYPE, O(o, a));
2865
+ return this.error(T.EXPECT_ARGUMENT_TYPE, P(o, a));
2838
2866
  case "number":
2839
2867
  case "date":
2840
2868
  case "time": {
@@ -2845,35 +2873,35 @@ var hn = (
2845
2873
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2846
2874
  if (c.err)
2847
2875
  return c;
2848
- var p = ln(c.val);
2876
+ var p = un(c.val);
2849
2877
  if (p.length === 0)
2850
- return this.error(T.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
2851
- var _ = O(h, this.clonePosition());
2852
- u = { style: p, styleLocation: _ };
2878
+ return this.error(T.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
2879
+ var x = P(h, this.clonePosition());
2880
+ u = { style: p, styleLocation: x };
2853
2881
  }
2854
2882
  var S = this.tryParseArgumentClose(n);
2855
2883
  if (S.err)
2856
2884
  return S;
2857
- var v = O(n, this.clonePosition());
2885
+ var v = P(n, this.clonePosition());
2858
2886
  if (u && Ut(u == null ? void 0 : u.style, "::", 0)) {
2859
- var B = un(u.style.slice(2));
2887
+ var M = an(u.style.slice(2));
2860
2888
  if (l === "number") {
2861
- var c = this.parseNumberSkeletonFromString(B, u.styleLocation);
2889
+ var c = this.parseNumberSkeletonFromString(M, u.styleLocation);
2862
2890
  return c.err ? c : {
2863
- val: { type: C.number, value: i, location: v, style: c.val },
2891
+ val: { type: D.number, value: i, location: v, style: c.val },
2864
2892
  err: null
2865
2893
  };
2866
2894
  } else {
2867
- if (B.length === 0)
2895
+ if (M.length === 0)
2868
2896
  return this.error(T.EXPECT_DATE_TIME_SKELETON, v);
2869
- var G = B;
2870
- this.locale && (G = qi(B, this.locale));
2897
+ var G = M;
2898
+ this.locale && (G = Wi(M, this.locale));
2871
2899
  var p = {
2872
- type: Oe.dateTime,
2900
+ type: He.dateTime,
2873
2901
  pattern: G,
2874
2902
  location: u.styleLocation,
2875
- parsedOptions: this.shouldParseSkeletons ? Fi(G) : {}
2876
- }, R = l === "date" ? C.date : C.time;
2903
+ parsedOptions: this.shouldParseSkeletons ? Ui(G) : {}
2904
+ }, R = l === "date" ? D.date : D.time;
2877
2905
  return {
2878
2906
  val: { type: R, value: i, location: v, style: p },
2879
2907
  err: null
@@ -2882,7 +2910,7 @@ var hn = (
2882
2910
  }
2883
2911
  return {
2884
2912
  val: {
2885
- type: l === "number" ? C.number : l === "date" ? C.date : C.time,
2913
+ type: l === "number" ? D.number : l === "date" ? D.date : D.time,
2886
2914
  value: i,
2887
2915
  location: v,
2888
2916
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
@@ -2893,14 +2921,14 @@ var hn = (
2893
2921
  case "plural":
2894
2922
  case "selectordinal":
2895
2923
  case "select": {
2896
- var A = this.clonePosition();
2924
+ var B = this.clonePosition();
2897
2925
  if (this.bumpSpace(), !this.bumpIf(","))
2898
- return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, O(A, qe({}, A)));
2926
+ return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, P(B, A({}, B)));
2899
2927
  this.bumpSpace();
2900
2928
  var X = this.parseIdentifierIfPossible(), I = 0;
2901
2929
  if (l !== "select" && X.value === "offset") {
2902
2930
  if (!this.bumpIf(":"))
2903
- return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O(this.clonePosition(), this.clonePosition()));
2931
+ return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P(this.clonePosition(), this.clonePosition()));
2904
2932
  this.bumpSpace();
2905
2933
  var c = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2906
2934
  if (c.err)
@@ -2913,10 +2941,10 @@ var hn = (
2913
2941
  var S = this.tryParseArgumentClose(n);
2914
2942
  if (S.err)
2915
2943
  return S;
2916
- var q = O(n, this.clonePosition());
2944
+ var q = P(n, this.clonePosition());
2917
2945
  return l === "select" ? {
2918
2946
  val: {
2919
- type: C.select,
2947
+ type: D.select,
2920
2948
  value: i,
2921
2949
  options: Ft(F.val),
2922
2950
  location: q
@@ -2924,7 +2952,7 @@ var hn = (
2924
2952
  err: null
2925
2953
  } : {
2926
2954
  val: {
2927
- type: C.plural,
2955
+ type: D.plural,
2928
2956
  value: i,
2929
2957
  options: Ft(F.val),
2930
2958
  offset: I,
@@ -2935,10 +2963,10 @@ var hn = (
2935
2963
  };
2936
2964
  }
2937
2965
  default:
2938
- return this.error(T.INVALID_ARGUMENT_TYPE, O(o, a));
2966
+ return this.error(T.INVALID_ARGUMENT_TYPE, P(o, a));
2939
2967
  }
2940
2968
  }, e.prototype.tryParseArgumentClose = function(t) {
2941
- return this.isEOF() || this.char() !== 125 ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, O(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2969
+ return this.isEOF() || this.char() !== 125 ? this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, P(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2942
2970
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2943
2971
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2944
2972
  var i = this.char();
@@ -2947,7 +2975,7 @@ var hn = (
2947
2975
  this.bump();
2948
2976
  var n = this.clonePosition();
2949
2977
  if (!this.bumpUntil("'"))
2950
- return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, O(n, this.clonePosition()));
2978
+ return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, P(n, this.clonePosition()));
2951
2979
  this.bump();
2952
2980
  break;
2953
2981
  }
@@ -2977,16 +3005,16 @@ var hn = (
2977
3005
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2978
3006
  var i = [];
2979
3007
  try {
2980
- i = Gi(t);
3008
+ i = Vi(t);
2981
3009
  } catch (n) {
2982
3010
  return this.error(T.INVALID_NUMBER_SKELETON, r);
2983
3011
  }
2984
3012
  return {
2985
3013
  val: {
2986
- type: Oe.number,
3014
+ type: He.number,
2987
3015
  tokens: i,
2988
3016
  location: r,
2989
- parsedOptions: this.shouldParseSkeletons ? Wi(i) : {}
3017
+ parsedOptions: this.shouldParseSkeletons ? Xi(i) : {}
2990
3018
  },
2991
3019
  err: null
2992
3020
  };
@@ -2998,31 +3026,31 @@ var hn = (
2998
3026
  var p = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR, T.INVALID_PLURAL_ARGUMENT_SELECTOR);
2999
3027
  if (p.err)
3000
3028
  return p;
3001
- h = O(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3029
+ h = P(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3002
3030
  } else
3003
3031
  break;
3004
3032
  }
3005
3033
  if (a.has(u))
3006
3034
  return this.error(r === "select" ? T.DUPLICATE_SELECT_ARGUMENT_SELECTOR : T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3007
3035
  u === "other" && (o = !0), this.bumpSpace();
3008
- var _ = this.clonePosition();
3036
+ var x = this.clonePosition();
3009
3037
  if (!this.bumpIf("{"))
3010
- return this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, O(this.clonePosition(), this.clonePosition()));
3038
+ return this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, P(this.clonePosition(), this.clonePosition()));
3011
3039
  var S = this.parseMessage(t + 1, r, i);
3012
3040
  if (S.err)
3013
3041
  return S;
3014
- var v = this.tryParseArgumentClose(_);
3042
+ var v = this.tryParseArgumentClose(x);
3015
3043
  if (v.err)
3016
3044
  return v;
3017
3045
  l.push([
3018
3046
  u,
3019
3047
  {
3020
3048
  value: S.val,
3021
- location: O(_, this.clonePosition())
3049
+ location: P(x, this.clonePosition())
3022
3050
  }
3023
3051
  ]), a.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3024
3052
  }
3025
- return l.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, O(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(T.MISSING_OTHER_CLAUSE, O(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
3053
+ return l.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, P(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(T.MISSING_OTHER_CLAUSE, P(this.clonePosition(), this.clonePosition())) : { val: l, err: null };
3026
3054
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3027
3055
  var i = 1, n = this.clonePosition();
3028
3056
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
@@ -3033,8 +3061,8 @@ var hn = (
3033
3061
  else
3034
3062
  break;
3035
3063
  }
3036
- var a = O(n, this.clonePosition());
3037
- return s ? (o *= i, on(o) ? { val: o, err: null } : this.error(r, a)) : this.error(t, a);
3064
+ var a = P(n, this.clonePosition());
3065
+ return s ? (o *= i, sn(o) ? { val: o, err: null } : this.error(r, a)) : this.error(t, a);
3038
3066
  }, e.prototype.offset = function() {
3039
3067
  return this.position.offset;
3040
3068
  }, e.prototype.isEOF = function() {
@@ -3049,7 +3077,7 @@ var hn = (
3049
3077
  var t = this.position.offset;
3050
3078
  if (t >= this.message.length)
3051
3079
  throw Error("out of bound");
3052
- var r = xr(this.message, t);
3080
+ var r = _r(this.message, t);
3053
3081
  if (r === void 0)
3054
3082
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3055
3083
  return r;
@@ -3100,47 +3128,47 @@ var hn = (
3100
3128
  }, e;
3101
3129
  }()
3102
3130
  );
3103
- function vt(e) {
3131
+ function pt(e) {
3104
3132
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3105
3133
  }
3106
- function fn(e) {
3107
- return vt(e) || e === 47;
3134
+ function hn(e) {
3135
+ return pt(e) || e === 47;
3108
3136
  }
3109
- function cn(e) {
3137
+ function fn(e) {
3110
3138
  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;
3111
3139
  }
3112
3140
  function wr(e) {
3113
3141
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3114
3142
  }
3115
- function dn(e) {
3143
+ function cn(e) {
3116
3144
  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;
3117
3145
  }
3118
- function bt(e) {
3146
+ function gt(e) {
3119
3147
  e.forEach(function(t) {
3120
3148
  if (delete t.location, dr(t) || mr(t))
3121
3149
  for (var r in t.options)
3122
- delete t.options[r].location, bt(t.options[r].value);
3150
+ delete t.options[r].location, gt(t.options[r].value);
3123
3151
  else
3124
- hr(t) && gr(t.style) || (fr(t) || cr(t)) && dt(t.style) ? delete t.style.location : pr(t) && bt(t.children);
3152
+ hr(t) && gr(t.style) || (fr(t) || cr(t)) && ft(t.style) ? delete t.style.location : pr(t) && gt(t.children);
3125
3153
  });
3126
3154
  }
3127
- function mn(e, t) {
3128
- t === void 0 && (t = {}), t = qe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3129
- var r = new hn(e, t).parse();
3155
+ function dn(e, t) {
3156
+ t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3157
+ var r = new ln(e, t).parse();
3130
3158
  if (r.err) {
3131
3159
  var i = SyntaxError(T[r.err.kind]);
3132
3160
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3133
3161
  }
3134
- return t != null && t.captureLocation || bt(r.val), r.val;
3162
+ return t != null && t.captureLocation || gt(r.val), r.val;
3135
3163
  }
3136
3164
  var Pe;
3137
3165
  (function(e) {
3138
3166
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3139
3167
  })(Pe || (Pe = {}));
3140
- var Ke = (
3168
+ var Je = (
3141
3169
  /** @class */
3142
3170
  function(e) {
3143
- Qe(t, e);
3171
+ Ze(t, e);
3144
3172
  function t(r, i, n) {
3145
3173
  var s = e.call(this, r) || this;
3146
3174
  return s.code = i, s.originalMessage = n, s;
@@ -3152,44 +3180,44 @@ var Ke = (
3152
3180
  ), Gt = (
3153
3181
  /** @class */
3154
3182
  function(e) {
3155
- Qe(t, e);
3183
+ Ze(t, e);
3156
3184
  function t(r, i, n, s) {
3157
3185
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Pe.INVALID_VALUE, s) || this;
3158
3186
  }
3159
3187
  return t;
3160
- }(Ke)
3161
- ), pn = (
3188
+ }(Je)
3189
+ ), mn = (
3162
3190
  /** @class */
3163
3191
  function(e) {
3164
- Qe(t, e);
3192
+ Ze(t, e);
3165
3193
  function t(r, i, n) {
3166
3194
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Pe.INVALID_VALUE, n) || this;
3167
3195
  }
3168
3196
  return t;
3169
- }(Ke)
3170
- ), gn = (
3197
+ }(Je)
3198
+ ), pn = (
3171
3199
  /** @class */
3172
3200
  function(e) {
3173
- Qe(t, e);
3201
+ Ze(t, e);
3174
3202
  function t(r, i) {
3175
3203
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Pe.MISSING_VALUE, i) || this;
3176
3204
  }
3177
3205
  return t;
3178
- }(Ke)
3206
+ }(Je)
3179
3207
  ), z;
3180
3208
  (function(e) {
3181
3209
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3182
3210
  })(z || (z = {}));
3183
- function vn(e) {
3211
+ function gn(e) {
3184
3212
  return e.length < 2 ? e : e.reduce(function(t, r) {
3185
3213
  var i = t[t.length - 1];
3186
3214
  return !i || i.type !== z.literal || r.type !== z.literal ? t.push(r) : i.value += r.value, t;
3187
3215
  }, []);
3188
3216
  }
3189
- function bn(e) {
3217
+ function vn(e) {
3190
3218
  return typeof e == "function";
3191
3219
  }
3192
- function Xe(e, t, r, i, n, s, o) {
3220
+ function ze(e, t, r, i, n, s, o) {
3193
3221
  if (e.length === 1 && It(e[0]))
3194
3222
  return [
3195
3223
  {
@@ -3206,7 +3234,7 @@ function Xe(e, t, r, i, n, s, o) {
3206
3234
  });
3207
3235
  continue;
3208
3236
  }
3209
- if (ki(h)) {
3237
+ if (Ri(h)) {
3210
3238
  typeof s == "number" && l.push({
3211
3239
  type: z.literal,
3212
3240
  value: r.getNumberFormat(t).format(s)
@@ -3215,9 +3243,9 @@ function Xe(e, t, r, i, n, s, o) {
3215
3243
  }
3216
3244
  var c = h.value;
3217
3245
  if (!(n && c in n))
3218
- throw new gn(c, o);
3246
+ throw new pn(c, o);
3219
3247
  var p = n[c];
3220
- if (Ri(h)) {
3248
+ if (Ni(h)) {
3221
3249
  (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), l.push({
3222
3250
  type: typeof p == "string" ? z.literal : z.object,
3223
3251
  value: p
@@ -3225,34 +3253,34 @@ function Xe(e, t, r, i, n, s, o) {
3225
3253
  continue;
3226
3254
  }
3227
3255
  if (fr(h)) {
3228
- var _ = typeof h.style == "string" ? i.date[h.style] : dt(h.style) ? h.style.parsedOptions : void 0;
3256
+ var x = typeof h.style == "string" ? i.date[h.style] : ft(h.style) ? h.style.parsedOptions : void 0;
3229
3257
  l.push({
3230
3258
  type: z.literal,
3231
- value: r.getDateTimeFormat(t, _).format(p)
3259
+ value: r.getDateTimeFormat(t, x).format(p)
3232
3260
  });
3233
3261
  continue;
3234
3262
  }
3235
3263
  if (cr(h)) {
3236
- var _ = typeof h.style == "string" ? i.time[h.style] : dt(h.style) ? h.style.parsedOptions : i.time.medium;
3264
+ var x = typeof h.style == "string" ? i.time[h.style] : ft(h.style) ? h.style.parsedOptions : i.time.medium;
3237
3265
  l.push({
3238
3266
  type: z.literal,
3239
- value: r.getDateTimeFormat(t, _).format(p)
3267
+ value: r.getDateTimeFormat(t, x).format(p)
3240
3268
  });
3241
3269
  continue;
3242
3270
  }
3243
3271
  if (hr(h)) {
3244
- var _ = typeof h.style == "string" ? i.number[h.style] : gr(h.style) ? h.style.parsedOptions : void 0;
3245
- _ && _.scale && (p = p * (_.scale || 1)), l.push({
3272
+ var x = typeof h.style == "string" ? i.number[h.style] : gr(h.style) ? h.style.parsedOptions : void 0;
3273
+ x && x.scale && (p = p * (x.scale || 1)), l.push({
3246
3274
  type: z.literal,
3247
- value: r.getNumberFormat(t, _).format(p)
3275
+ value: r.getNumberFormat(t, x).format(p)
3248
3276
  });
3249
3277
  continue;
3250
3278
  }
3251
3279
  if (pr(h)) {
3252
- var S = h.children, v = h.value, B = n[v];
3253
- if (!bn(B))
3254
- throw new pn(v, "function", o);
3255
- var G = Xe(S, t, r, i, n, s), R = B(G.map(function(I) {
3280
+ var S = h.children, v = h.value, M = n[v];
3281
+ if (!vn(M))
3282
+ throw new mn(v, "function", o);
3283
+ var G = ze(S, t, r, i, n, s), R = M(G.map(function(I) {
3256
3284
  return I.value;
3257
3285
  }));
3258
3286
  Array.isArray(R) || (R = [R]), l.push.apply(l, R.map(function(I) {
@@ -3263,41 +3291,41 @@ function Xe(e, t, r, i, n, s, o) {
3263
3291
  }));
3264
3292
  }
3265
3293
  if (dr(h)) {
3266
- var A = h.options[p] || h.options.other;
3267
- if (!A)
3294
+ var B = h.options[p] || h.options.other;
3295
+ if (!B)
3268
3296
  throw new Gt(h.value, p, Object.keys(h.options), o);
3269
- l.push.apply(l, Xe(A.value, t, r, i, n));
3297
+ l.push.apply(l, ze(B.value, t, r, i, n));
3270
3298
  continue;
3271
3299
  }
3272
3300
  if (mr(h)) {
3273
- var A = h.options["=".concat(p)];
3274
- if (!A) {
3301
+ var B = h.options["=".concat(p)];
3302
+ if (!B) {
3275
3303
  if (!Intl.PluralRules)
3276
- throw new Ke(`Intl.PluralRules is not available in this environment.
3304
+ throw new Je(`Intl.PluralRules is not available in this environment.
3277
3305
  Try polyfilling it using "@formatjs/intl-pluralrules"
3278
3306
  `, Pe.MISSING_INTL_API, o);
3279
3307
  var X = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
3280
- A = h.options[X] || h.options.other;
3308
+ B = h.options[X] || h.options.other;
3281
3309
  }
3282
- if (!A)
3310
+ if (!B)
3283
3311
  throw new Gt(h.value, p, Object.keys(h.options), o);
3284
- l.push.apply(l, Xe(A.value, t, r, i, n, p - (h.offset || 0)));
3312
+ l.push.apply(l, ze(B.value, t, r, i, n, p - (h.offset || 0)));
3285
3313
  continue;
3286
3314
  }
3287
3315
  }
3288
- return vn(l);
3316
+ return gn(l);
3289
3317
  }
3290
- function yn(e, t) {
3291
- return t ? oe(oe(oe({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3292
- return r[i] = oe(oe({}, e[i]), t[i] || {}), r;
3318
+ function bn(e, t) {
3319
+ return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3320
+ return r[i] = A(A({}, e[i]), t[i] || {}), r;
3293
3321
  }, {})) : e;
3294
3322
  }
3295
- function _n(e, t) {
3323
+ function yn(e, t) {
3296
3324
  return t ? Object.keys(e).reduce(function(r, i) {
3297
- return r[i] = yn(e[i], t[i]), r;
3298
- }, oe({}, e)) : e;
3325
+ return r[i] = bn(e[i], t[i]), r;
3326
+ }, A({}, e)) : e;
3299
3327
  }
3300
- function at(e) {
3328
+ function st(e) {
3301
3329
  return {
3302
3330
  create: function() {
3303
3331
  return {
@@ -3317,29 +3345,29 @@ function xn(e) {
3317
3345
  dateTime: {},
3318
3346
  pluralRules: {}
3319
3347
  }), {
3320
- getNumberFormat: nt(function() {
3348
+ getNumberFormat: rt(function() {
3321
3349
  for (var t, r = [], i = 0; i < arguments.length; i++)
3322
3350
  r[i] = arguments[i];
3323
- return new ((t = Intl.NumberFormat).bind.apply(t, it([void 0], r, !1)))();
3351
+ return new ((t = Intl.NumberFormat).bind.apply(t, tt([void 0], r, !1)))();
3324
3352
  }, {
3325
- cache: at(e.number),
3326
- strategy: st.variadic
3353
+ cache: st(e.number),
3354
+ strategy: it.variadic
3327
3355
  }),
3328
- getDateTimeFormat: nt(function() {
3356
+ getDateTimeFormat: rt(function() {
3329
3357
  for (var t, r = [], i = 0; i < arguments.length; i++)
3330
3358
  r[i] = arguments[i];
3331
- return new ((t = Intl.DateTimeFormat).bind.apply(t, it([void 0], r, !1)))();
3359
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, tt([void 0], r, !1)))();
3332
3360
  }, {
3333
- cache: at(e.dateTime),
3334
- strategy: st.variadic
3361
+ cache: st(e.dateTime),
3362
+ strategy: it.variadic
3335
3363
  }),
3336
- getPluralRules: nt(function() {
3364
+ getPluralRules: rt(function() {
3337
3365
  for (var t, r = [], i = 0; i < arguments.length; i++)
3338
3366
  r[i] = arguments[i];
3339
- return new ((t = Intl.PluralRules).bind.apply(t, it([void 0], r, !1)))();
3367
+ return new ((t = Intl.PluralRules).bind.apply(t, tt([void 0], r, !1)))();
3340
3368
  }, {
3341
- cache: at(e.pluralRules),
3342
- strategy: st.variadic
3369
+ cache: st(e.pluralRules),
3370
+ strategy: it.variadic
3343
3371
  })
3344
3372
  };
3345
3373
  }
@@ -3362,7 +3390,7 @@ var Sr = (
3362
3390
  }, []);
3363
3391
  return h.length <= 1 ? h[0] || "" : h;
3364
3392
  }, this.formatToParts = function(a) {
3365
- return Xe(s.ast, s.locales, s.formatters, s.formats, a, void 0, s.message);
3393
+ return ze(s.ast, s.locales, s.formatters, s.formats, a, void 0, s.message);
3366
3394
  }, this.resolvedOptions = function() {
3367
3395
  var a;
3368
3396
  return {
@@ -3375,13 +3403,13 @@ var Sr = (
3375
3403
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3376
3404
  var o = n || {};
3377
3405
  o.formatters;
3378
- var l = $i(o, ["formatters"]);
3379
- this.ast = e.__parse(t, oe(oe({}, l), { locale: this.resolvedLocale }));
3406
+ var l = Bi(o, ["formatters"]);
3407
+ this.ast = e.__parse(t, A(A({}, l), { locale: this.resolvedLocale }));
3380
3408
  } else
3381
3409
  this.ast = t;
3382
3410
  if (!Array.isArray(this.ast))
3383
3411
  throw new TypeError("A message must be provided as a String or AST.");
3384
- this.formats = _n(e.formats, i), this.formatters = n && n.formatters || xn(this.formatterCache);
3412
+ this.formats = yn(e.formats, i), this.formatters = n && n.formatters || xn(this.formatterCache);
3385
3413
  }
3386
3414
  return Object.defineProperty(e, "defaultLocale", {
3387
3415
  get: function() {
@@ -3394,7 +3422,7 @@ var Sr = (
3394
3422
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3395
3423
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3396
3424
  }
3397
- }, e.__parse = mn, e.formats = {
3425
+ }, e.__parse = dn, e.formats = {
3398
3426
  number: {
3399
3427
  integer: {
3400
3428
  maximumFractionDigits: 0
@@ -3455,7 +3483,7 @@ var Sr = (
3455
3483
  }, e;
3456
3484
  }()
3457
3485
  );
3458
- function En(e, t) {
3486
+ function _n(e, t) {
3459
3487
  if (t == null)
3460
3488
  return;
3461
3489
  if (t in e)
@@ -3476,101 +3504,101 @@ function En(e, t) {
3476
3504
  i = void 0;
3477
3505
  return i;
3478
3506
  }
3479
- const me = {}, wn = (e, t, r) => r && (t in me || (me[t] = {}), e in me[t] || (me[t][e] = r), r), Tr = (e, t) => {
3507
+ const de = {}, En = (e, t, r) => r && (t in de || (de[t] = {}), e in de[t] || (de[t][e] = r), r), Tr = (e, t) => {
3480
3508
  if (t == null)
3481
3509
  return;
3482
- if (t in me && e in me[t])
3483
- return me[t][e];
3484
- const r = Fe(t);
3510
+ if (t in de && e in de[t])
3511
+ return de[t][e];
3512
+ const r = Ue(t);
3485
3513
  for (let i = 0; i < r.length; i++) {
3486
- const n = r[i], s = Tn(n, e);
3514
+ const n = r[i], s = Sn(n, e);
3487
3515
  if (s)
3488
- return wn(e, t, s);
3516
+ return En(e, t, s);
3489
3517
  }
3490
3518
  };
3491
3519
  let St;
3492
- const Ue = ke({});
3493
- function Sn(e) {
3520
+ const ke = Re({});
3521
+ function wn(e) {
3494
3522
  return St[e] || null;
3495
3523
  }
3496
3524
  function Hr(e) {
3497
3525
  return e in St;
3498
3526
  }
3499
- function Tn(e, t) {
3527
+ function Sn(e, t) {
3500
3528
  if (!Hr(e))
3501
3529
  return null;
3502
- const r = Sn(e);
3503
- return En(r, t);
3530
+ const r = wn(e);
3531
+ return _n(r, t);
3504
3532
  }
3505
- function Hn(e) {
3533
+ function Tn(e) {
3506
3534
  if (e == null)
3507
3535
  return;
3508
- const t = Fe(e);
3536
+ const t = Ue(e);
3509
3537
  for (let r = 0; r < t.length; r++) {
3510
3538
  const i = t[r];
3511
3539
  if (Hr(i))
3512
3540
  return i;
3513
3541
  }
3514
3542
  }
3515
- function Or(e, ...t) {
3516
- delete me[e], Ue.update((r) => (r[e] = Ai.all([r[e] || {}, ...t]), r));
3543
+ function Pr(e, ...t) {
3544
+ delete de[e], ke.update((r) => (r[e] = Ai.all([r[e] || {}, ...t]), r));
3517
3545
  }
3518
- $e(
3519
- [Ue],
3546
+ Ae(
3547
+ [ke],
3520
3548
  ([e]) => Object.keys(e)
3521
3549
  );
3522
- Ue.subscribe((e) => St = e);
3523
- const We = {};
3524
- function On(e, t) {
3525
- We[e].delete(t), We[e].size === 0 && delete We[e];
3550
+ ke.subscribe((e) => St = e);
3551
+ const Xe = {};
3552
+ function Hn(e, t) {
3553
+ Xe[e].delete(t), Xe[e].size === 0 && delete Xe[e];
3526
3554
  }
3527
- function Pr(e) {
3528
- return We[e];
3555
+ function Or(e) {
3556
+ return Xe[e];
3529
3557
  }
3530
3558
  function Pn(e) {
3531
- return Fe(e).map((t) => {
3532
- const r = Pr(t);
3559
+ return Ue(e).map((t) => {
3560
+ const r = Or(t);
3533
3561
  return [t, r ? [...r] : []];
3534
3562
  }).filter(([, t]) => t.length > 0);
3535
3563
  }
3536
- function Ye(e) {
3537
- return e == null ? !1 : Fe(e).some(
3564
+ function We(e) {
3565
+ return e == null ? !1 : Ue(e).some(
3538
3566
  (t) => {
3539
3567
  var r;
3540
- return (r = Pr(t)) == null ? void 0 : r.size;
3568
+ return (r = Or(t)) == null ? void 0 : r.size;
3541
3569
  }
3542
3570
  );
3543
3571
  }
3544
- function An(e, t) {
3572
+ function On(e, t) {
3545
3573
  return Promise.all(
3546
- t.map((i) => (On(e, i), i().then((n) => n.default || n)))
3547
- ).then((i) => Or(e, ...i));
3574
+ t.map((i) => (Hn(e, i), i().then((n) => n.default || n)))
3575
+ ).then((i) => Pr(e, ...i));
3548
3576
  }
3549
- const Me = {};
3577
+ const $e = {};
3550
3578
  function Ar(e) {
3551
- if (!Ye(e))
3552
- return e in Me ? Me[e] : Promise.resolve();
3579
+ if (!We(e))
3580
+ return e in $e ? $e[e] : Promise.resolve();
3553
3581
  const t = Pn(e);
3554
- return Me[e] = Promise.all(
3582
+ return $e[e] = Promise.all(
3555
3583
  t.map(
3556
- ([r, i]) => An(r, i)
3584
+ ([r, i]) => On(r, i)
3557
3585
  )
3558
3586
  ).then(() => {
3559
- if (Ye(e))
3587
+ if (We(e))
3560
3588
  return Ar(e);
3561
- delete Me[e];
3562
- }), Me[e];
3589
+ delete $e[e];
3590
+ }), $e[e];
3563
3591
  }
3564
- var jt = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Bn = Object.prototype.propertyIsEnumerable, Mn = (e, t) => {
3592
+ var jt = Object.getOwnPropertySymbols, An = Object.prototype.hasOwnProperty, Bn = Object.prototype.propertyIsEnumerable, $n = (e, t) => {
3565
3593
  var r = {};
3566
3594
  for (var i in e)
3567
- $n.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3595
+ An.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3568
3596
  if (e != null && jt)
3569
3597
  for (var i of jt(e))
3570
3598
  t.indexOf(i) < 0 && Bn.call(e, i) && (r[i] = e[i]);
3571
3599
  return r;
3572
3600
  };
3573
- const Cn = {
3601
+ const Mn = {
3574
3602
  number: {
3575
3603
  scientific: { notation: "scientific" },
3576
3604
  engineering: { notation: "engineering" },
@@ -3600,28 +3628,28 @@ const Cn = {
3600
3628
  }
3601
3629
  }
3602
3630
  };
3603
- function Dn({ locale: e, id: t }) {
3631
+ function Cn({ locale: e, id: t }) {
3604
3632
  console.warn(
3605
- `[svelte-i18n] The message "${t}" was not found in "${Fe(
3633
+ `[svelte-i18n] The message "${t}" was not found in "${Ue(
3606
3634
  e
3607
- ).join('", "')}".${Ye(pe()) ? `
3635
+ ).join('", "')}".${We(me()) ? `
3608
3636
 
3609
3637
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3610
3638
  );
3611
3639
  }
3612
- const Ln = {
3640
+ const Dn = {
3613
3641
  fallbackLocale: null,
3614
3642
  loadingDelay: 200,
3615
- formats: Cn,
3643
+ formats: Mn,
3616
3644
  warnOnMissingMessages: !0,
3617
3645
  handleMissingMessage: void 0,
3618
3646
  ignoreTag: !0
3619
- }, Ce = Ln;
3620
- function Ae() {
3621
- return Ce;
3647
+ }, Me = Dn;
3648
+ function Oe() {
3649
+ return Me;
3622
3650
  }
3623
- function In(e) {
3624
- const t = e, { formats: r } = t, i = Mn(t, ["formats"]);
3651
+ function Ln(e) {
3652
+ const t = e, { formats: r } = t, i = $n(t, ["formats"]);
3625
3653
  let n = e.fallbackLocale;
3626
3654
  if (e.initialLocale)
3627
3655
  try {
@@ -3631,134 +3659,134 @@ function In(e) {
3631
3659
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3632
3660
  );
3633
3661
  }
3634
- return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = Dn : console.warn(
3662
+ return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = Cn : console.warn(
3635
3663
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3636
- )), Object.assign(Ce, i, { initialLocale: n }), r && ("number" in r && Object.assign(Ce.formats.number, r.number), "date" in r && Object.assign(Ce.formats.date, r.date), "time" in r && Object.assign(Ce.formats.time, r.time)), be.set(n);
3664
+ )), Object.assign(Me, i, { initialLocale: n }), r && ("number" in r && Object.assign(Me.formats.number, r.number), "date" in r && Object.assign(Me.formats.date, r.date), "time" in r && Object.assign(Me.formats.time, r.time)), ve.set(n);
3637
3665
  }
3638
- const ut = ke(!1);
3639
- var Nn = Object.defineProperty, Rn = Object.defineProperties, kn = Object.getOwnPropertyDescriptors, zt = Object.getOwnPropertySymbols, Un = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Vn = (e, t) => {
3666
+ const ot = Re(!1);
3667
+ var In = Object.defineProperty, Nn = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, zt = Object.getOwnPropertySymbols, kn = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? In(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fn = (e, t) => {
3640
3668
  for (var r in t || (t = {}))
3641
- Un.call(t, r) && Xt(e, r, t[r]);
3669
+ kn.call(t, r) && Xt(e, r, t[r]);
3642
3670
  if (zt)
3643
3671
  for (var r of zt(t))
3644
- Fn.call(t, r) && Xt(e, r, t[r]);
3672
+ Un.call(t, r) && Xt(e, r, t[r]);
3645
3673
  return e;
3646
- }, Gn = (e, t) => Rn(e, kn(t));
3647
- let yt;
3648
- const Ze = ke(null);
3674
+ }, Vn = (e, t) => Nn(e, Rn(t));
3675
+ let vt;
3676
+ const qe = Re(null);
3649
3677
  function Wt(e) {
3650
3678
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3651
3679
  }
3652
- function Fe(e, t = Ae().fallbackLocale) {
3680
+ function Ue(e, t = Oe().fallbackLocale) {
3653
3681
  const r = Wt(e);
3654
3682
  return t ? [.../* @__PURE__ */ new Set([...r, ...Wt(t)])] : r;
3655
3683
  }
3656
- function pe() {
3657
- return yt != null ? yt : void 0;
3684
+ function me() {
3685
+ return vt != null ? vt : void 0;
3658
3686
  }
3659
- Ze.subscribe((e) => {
3660
- yt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3687
+ qe.subscribe((e) => {
3688
+ vt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3661
3689
  });
3662
- const jn = (e) => {
3663
- if (e && Hn(e) && Ye(e)) {
3664
- const { loadingDelay: t } = Ae();
3690
+ const Gn = (e) => {
3691
+ if (e && Tn(e) && We(e)) {
3692
+ const { loadingDelay: t } = Oe();
3665
3693
  let r;
3666
- return typeof window != "undefined" && pe() != null && t ? r = window.setTimeout(
3667
- () => ut.set(!0),
3694
+ return typeof window != "undefined" && me() != null && t ? r = window.setTimeout(
3695
+ () => ot.set(!0),
3668
3696
  t
3669
- ) : ut.set(!0), Ar(e).then(() => {
3670
- Ze.set(e);
3697
+ ) : ot.set(!0), Ar(e).then(() => {
3698
+ qe.set(e);
3671
3699
  }).finally(() => {
3672
- clearTimeout(r), ut.set(!1);
3700
+ clearTimeout(r), ot.set(!1);
3673
3701
  });
3674
3702
  }
3675
- return Ze.set(e);
3676
- }, be = Gn(Vn({}, Ze), {
3677
- set: jn
3678
- }), et = (e) => {
3703
+ return qe.set(e);
3704
+ }, ve = Vn(Fn({}, qe), {
3705
+ set: Gn
3706
+ }), Qe = (e) => {
3679
3707
  const t = /* @__PURE__ */ Object.create(null);
3680
3708
  return (i) => {
3681
3709
  const n = JSON.stringify(i);
3682
3710
  return n in t ? t[n] : t[n] = e(i);
3683
3711
  };
3684
3712
  };
3685
- var zn = Object.defineProperty, Je = Object.getOwnPropertySymbols, $r = Object.prototype.hasOwnProperty, Br = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tt = (e, t) => {
3713
+ var jn = Object.defineProperty, Ye = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable, qt = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tt = (e, t) => {
3686
3714
  for (var r in t || (t = {}))
3687
- $r.call(t, r) && qt(e, r, t[r]);
3688
- if (Je)
3689
- for (var r of Je(t))
3690
- Br.call(t, r) && qt(e, r, t[r]);
3715
+ Br.call(t, r) && qt(e, r, t[r]);
3716
+ if (Ye)
3717
+ for (var r of Ye(t))
3718
+ $r.call(t, r) && qt(e, r, t[r]);
3691
3719
  return e;
3692
3720
  }, Be = (e, t) => {
3693
3721
  var r = {};
3694
3722
  for (var i in e)
3695
- $r.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3696
- if (e != null && Je)
3697
- for (var i of Je(e))
3698
- t.indexOf(i) < 0 && Br.call(e, i) && (r[i] = e[i]);
3723
+ Br.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3724
+ if (e != null && Ye)
3725
+ for (var i of Ye(e))
3726
+ t.indexOf(i) < 0 && $r.call(e, i) && (r[i] = e[i]);
3699
3727
  return r;
3700
3728
  };
3701
- const Ne = (e, t) => {
3702
- const { formats: r } = Ae();
3729
+ const Ie = (e, t) => {
3730
+ const { formats: r } = Oe();
3703
3731
  if (e in r && t in r[e])
3704
3732
  return r[e][t];
3705
3733
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3706
- }, Xn = et(
3734
+ }, zn = Qe(
3707
3735
  (e) => {
3708
3736
  var t = e, { locale: r, format: i } = t, n = Be(t, ["locale", "format"]);
3709
3737
  if (r == null)
3710
3738
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3711
- return i && (n = Ne("number", i)), new Intl.NumberFormat(r, n);
3739
+ return i && (n = Ie("number", i)), new Intl.NumberFormat(r, n);
3712
3740
  }
3713
- ), Wn = et(
3741
+ ), Xn = Qe(
3714
3742
  (e) => {
3715
3743
  var t = e, { locale: r, format: i } = t, n = Be(t, ["locale", "format"]);
3716
3744
  if (r == null)
3717
3745
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3718
- return i ? n = Ne("date", i) : Object.keys(n).length === 0 && (n = Ne("date", "short")), new Intl.DateTimeFormat(r, n);
3746
+ return i ? n = Ie("date", i) : Object.keys(n).length === 0 && (n = Ie("date", "short")), new Intl.DateTimeFormat(r, n);
3719
3747
  }
3720
- ), qn = et(
3748
+ ), Wn = Qe(
3721
3749
  (e) => {
3722
3750
  var t = e, { locale: r, format: i } = t, n = Be(t, ["locale", "format"]);
3723
3751
  if (r == null)
3724
3752
  throw new Error(
3725
3753
  '[svelte-i18n] A "locale" must be set to format time values'
3726
3754
  );
3727
- return i ? n = Ne("time", i) : Object.keys(n).length === 0 && (n = Ne("time", "short")), new Intl.DateTimeFormat(r, n);
3755
+ return i ? n = Ie("time", i) : Object.keys(n).length === 0 && (n = Ie("time", "short")), new Intl.DateTimeFormat(r, n);
3728
3756
  }
3729
- ), Yn = (e = {}) => {
3757
+ ), qn = (e = {}) => {
3730
3758
  var t = e, {
3731
- locale: r = pe()
3759
+ locale: r = me()
3732
3760
  } = t, i = Be(t, [
3733
3761
  "locale"
3734
3762
  ]);
3735
- return Xn(Tt({ locale: r }, i));
3736
- }, Zn = (e = {}) => {
3763
+ return zn(Tt({ locale: r }, i));
3764
+ }, Yn = (e = {}) => {
3737
3765
  var t = e, {
3738
- locale: r = pe()
3766
+ locale: r = me()
3739
3767
  } = t, i = Be(t, [
3740
3768
  "locale"
3741
3769
  ]);
3742
- return Wn(Tt({ locale: r }, i));
3743
- }, Jn = (e = {}) => {
3770
+ return Xn(Tt({ locale: r }, i));
3771
+ }, Zn = (e = {}) => {
3744
3772
  var t = e, {
3745
- locale: r = pe()
3773
+ locale: r = me()
3746
3774
  } = t, i = Be(t, [
3747
3775
  "locale"
3748
3776
  ]);
3749
- return qn(Tt({ locale: r }, i));
3750
- }, Qn = et(
3777
+ return Wn(Tt({ locale: r }, i));
3778
+ }, Jn = Qe(
3751
3779
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3752
- (e, t = pe()) => new Sr(e, t, Ae().formats, {
3753
- ignoreTag: Ae().ignoreTag
3780
+ (e, t = me()) => new Sr(e, t, Oe().formats, {
3781
+ ignoreTag: Oe().ignoreTag
3754
3782
  })
3755
- ), Kn = (e, t = {}) => {
3783
+ ), Qn = (e, t = {}) => {
3756
3784
  var r, i, n, s;
3757
3785
  let o = t;
3758
3786
  typeof e == "object" && (o = e, e = o.id);
3759
3787
  const {
3760
3788
  values: l,
3761
- locale: a = pe(),
3789
+ locale: a = me(),
3762
3790
  default: u
3763
3791
  } = o;
3764
3792
  if (a == null)
@@ -3767,7 +3795,7 @@ const Ne = (e, t) => {
3767
3795
  );
3768
3796
  let h = Tr(e, a);
3769
3797
  if (!h)
3770
- h = (s = (n = (i = (r = Ae()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: a, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
3798
+ h = (s = (n = (i = (r = Oe()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: a, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
3771
3799
  else if (typeof h != "string")
3772
3800
  return console.warn(
3773
3801
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3776,7 +3804,7 @@ const Ne = (e, t) => {
3776
3804
  return h;
3777
3805
  let c = h;
3778
3806
  try {
3779
- c = Qn(h, a).format(l);
3807
+ c = Jn(h, a).format(l);
3780
3808
  } catch (p) {
3781
3809
  p instanceof Error && console.warn(
3782
3810
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3784,18 +3812,18 @@ const Ne = (e, t) => {
3784
3812
  );
3785
3813
  }
3786
3814
  return c;
3787
- }, es = (e, t) => Jn(t).format(e), ts = (e, t) => Zn(t).format(e), rs = (e, t) => Yn(t).format(e), is = (e, t = pe()) => Tr(e, t), ns = $e([be, Ue], () => Kn);
3788
- $e([be], () => es);
3789
- $e([be], () => ts);
3790
- $e([be], () => rs);
3791
- $e([be, Ue], () => is);
3815
+ }, Kn = (e, t) => Zn(t).format(e), es = (e, t) => Yn(t).format(e), ts = (e, t) => qn(t).format(e), rs = (e, t = me()) => Tr(e, t), is = Ae([ve, ke], () => Qn);
3816
+ Ae([ve], () => Kn);
3817
+ Ae([ve], () => es);
3818
+ Ae([ve], () => ts);
3819
+ Ae([ve, ke], () => rs);
3792
3820
  function Yt(e, t) {
3793
- Or(e, t);
3821
+ Pr(e, t);
3794
3822
  }
3795
- function ss(e) {
3796
- In({
3823
+ function ns(e) {
3824
+ Ln({
3797
3825
  fallbackLocale: "en"
3798
- }), be.set(e);
3826
+ }), ve.set(e);
3799
3827
  }
3800
3828
  const Zt = {
3801
3829
  en: {
@@ -3865,18 +3893,18 @@ if (typeof window != "undefined") {
3865
3893
  }
3866
3894
  };
3867
3895
  };
3868
- customElements.define = e(customElements.define), import("./CashierVideoModal-CdjPH9oY.js").then(({ default: t }) => {
3896
+ customElements.define = e(customElements.define), import("./CashierVideoModal-CHv6Z0oF.js").then(({ default: t }) => {
3869
3897
  !customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", t.element);
3870
3898
  });
3871
3899
  }
3872
- let os = ke(null);
3873
- function as(e, t) {
3900
+ let ss = Re(null);
3901
+ function os(e, t) {
3874
3902
  if (e) {
3875
3903
  const r = document.createElement("style");
3876
3904
  r.innerHTML = t, e.appendChild(r);
3877
3905
  }
3878
3906
  }
3879
- function us(e, t) {
3907
+ function as(e, t) {
3880
3908
  const r = new URL(t);
3881
3909
  fetch(r.href).then((i) => i.text()).then((i) => {
3882
3910
  const n = document.createElement("style");
@@ -3885,7 +3913,7 @@ function us(e, t) {
3885
3913
  console.error("There was an error while trying to load client styling from URL", i);
3886
3914
  });
3887
3915
  }
3888
- function ls(e, t, r) {
3916
+ function us(e, t, r) {
3889
3917
  if (window.emMessageBus) {
3890
3918
  const i = document.createElement("style");
3891
3919
  window.emMessageBus.subscribe(t, (n) => {
@@ -3898,31 +3926,31 @@ var Mr = { exports: {} };
3898
3926
  (function(r, i) {
3899
3927
  e.exports = i();
3900
3928
  })(or, function() {
3901
- var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", o = "second", l = "minute", a = "hour", u = "day", h = "week", c = "month", p = "quarter", _ = "year", S = "date", v = "Invalid Date", B = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, G = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(x) {
3902
- var g = ["th", "st", "nd", "rd"], d = x % 100;
3903
- return "[" + x + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
3904
- } }, A = function(x, g, d) {
3905
- var b = String(x);
3906
- return !b || b.length >= g ? x : "" + Array(g + 1 - b.length).join(d) + x;
3907
- }, X = { s: A, z: function(x) {
3908
- var g = -x.utcOffset(), d = Math.abs(g), b = Math.floor(d / 60), m = d % 60;
3909
- return (g <= 0 ? "+" : "-") + A(b, 2, "0") + ":" + A(m, 2, "0");
3910
- }, m: function x(g, d) {
3929
+ var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", o = "second", l = "minute", a = "hour", u = "day", h = "week", c = "month", p = "quarter", x = "year", S = "date", v = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, G = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(_) {
3930
+ var g = ["th", "st", "nd", "rd"], d = _ % 100;
3931
+ return "[" + _ + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
3932
+ } }, B = function(_, g, d) {
3933
+ var b = String(_);
3934
+ return !b || b.length >= g ? _ : "" + Array(g + 1 - b.length).join(d) + _;
3935
+ }, X = { s: B, z: function(_) {
3936
+ var g = -_.utcOffset(), d = Math.abs(g), b = Math.floor(d / 60), m = d % 60;
3937
+ return (g <= 0 ? "+" : "-") + B(b, 2, "0") + ":" + B(m, 2, "0");
3938
+ }, m: function _(g, d) {
3911
3939
  if (g.date() < d.date())
3912
- return -x(d, g);
3940
+ return -_(d, g);
3913
3941
  var b = 12 * (d.year() - g.year()) + (d.month() - g.month()), m = g.clone().add(b, c), E = d - m < 0, w = g.clone().add(b + (E ? -1 : 1), c);
3914
3942
  return +(-(b + (d - m) / (E ? m - w : w - m)) || 0);
3915
- }, a: function(x) {
3916
- return x < 0 ? Math.ceil(x) || 0 : Math.floor(x);
3917
- }, p: function(x) {
3918
- return { M: c, y: _, w: h, d: u, D: S, h: a, m: l, s: o, ms: s, Q: p }[x] || String(x || "").toLowerCase().replace(/s$/, "");
3919
- }, u: function(x) {
3920
- return x === void 0;
3943
+ }, a: function(_) {
3944
+ return _ < 0 ? Math.ceil(_) || 0 : Math.floor(_);
3945
+ }, p: function(_) {
3946
+ return { M: c, y: x, w: h, d: u, D: S, h: a, m: l, s: o, ms: s, Q: p }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
3947
+ }, u: function(_) {
3948
+ return _ === void 0;
3921
3949
  } }, I = "en", F = {};
3922
3950
  F[I] = R;
3923
- var q = "$isDayjsObject", ue = function(x) {
3924
- return x instanceof k || !(!x || !x[q]);
3925
- }, Z = function x(g, d, b) {
3951
+ var q = "$isDayjsObject", ae = function(_) {
3952
+ return _ instanceof k || !(!_ || !_[q]);
3953
+ }, Z = function _(g, d, b) {
3926
3954
  var m;
3927
3955
  if (!g)
3928
3956
  return I;
@@ -3931,40 +3959,40 @@ var Mr = { exports: {} };
3931
3959
  F[E] && (m = E), d && (F[E] = d, m = E);
3932
3960
  var w = g.split("-");
3933
3961
  if (!m && w.length > 1)
3934
- return x(w[0]);
3962
+ return _(w[0]);
3935
3963
  } else {
3936
3964
  var $ = g.name;
3937
3965
  F[$] = g, m = $;
3938
3966
  }
3939
3967
  return !b && m && (I = m), m || !b && I;
3940
- }, M = function(x, g) {
3941
- if (ue(x))
3942
- return x.clone();
3968
+ }, C = function(_, g) {
3969
+ if (ae(_))
3970
+ return _.clone();
3943
3971
  var d = typeof g == "object" ? g : {};
3944
- return d.date = x, d.args = arguments, new k(d);
3945
- }, P = X;
3946
- P.l = Z, P.i = ue, P.w = function(x, g) {
3947
- return M(x, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3972
+ return d.date = _, d.args = arguments, new k(d);
3973
+ }, O = X;
3974
+ O.l = Z, O.i = ae, O.w = function(_, g) {
3975
+ return C(_, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3948
3976
  };
3949
3977
  var k = function() {
3950
- function x(d) {
3978
+ function _(d) {
3951
3979
  this.$L = Z(d.locale, null, !0), this.parse(d), this.$x = this.$x || d.x || {}, this[q] = !0;
3952
3980
  }
3953
- var g = x.prototype;
3981
+ var g = _.prototype;
3954
3982
  return g.parse = function(d) {
3955
3983
  this.$d = function(b) {
3956
3984
  var m = b.date, E = b.utc;
3957
3985
  if (m === null)
3958
3986
  return /* @__PURE__ */ new Date(NaN);
3959
- if (P.u(m))
3987
+ if (O.u(m))
3960
3988
  return /* @__PURE__ */ new Date();
3961
3989
  if (m instanceof Date)
3962
3990
  return new Date(m);
3963
3991
  if (typeof m == "string" && !/Z$/i.test(m)) {
3964
- var w = m.match(B);
3992
+ var w = m.match(M);
3965
3993
  if (w) {
3966
- var $ = w[2] - 1 || 0, D = (w[7] || "0").substring(0, 3);
3967
- return E ? new Date(Date.UTC(w[1], $, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D)) : new Date(w[1], $, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D);
3994
+ var $ = w[2] - 1 || 0, L = (w[7] || "0").substring(0, 3);
3995
+ return E ? new Date(Date.UTC(w[1], $, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, L)) : new Date(w[1], $, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, L);
3968
3996
  }
3969
3997
  }
3970
3998
  return new Date(m);
@@ -3973,105 +4001,105 @@ var Mr = { exports: {} };
3973
4001
  var d = this.$d;
3974
4002
  this.$y = d.getFullYear(), this.$M = d.getMonth(), this.$D = d.getDate(), this.$W = d.getDay(), this.$H = d.getHours(), this.$m = d.getMinutes(), this.$s = d.getSeconds(), this.$ms = d.getMilliseconds();
3975
4003
  }, g.$utils = function() {
3976
- return P;
4004
+ return O;
3977
4005
  }, g.isValid = function() {
3978
4006
  return this.$d.toString() !== v;
3979
4007
  }, g.isSame = function(d, b) {
3980
- var m = M(d);
4008
+ var m = C(d);
3981
4009
  return this.startOf(b) <= m && m <= this.endOf(b);
3982
4010
  }, g.isAfter = function(d, b) {
3983
- return M(d) < this.startOf(b);
4011
+ return C(d) < this.startOf(b);
3984
4012
  }, g.isBefore = function(d, b) {
3985
- return this.endOf(b) < M(d);
4013
+ return this.endOf(b) < C(d);
3986
4014
  }, g.$g = function(d, b, m) {
3987
- return P.u(d) ? this[b] : this.set(m, d);
4015
+ return O.u(d) ? this[b] : this.set(m, d);
3988
4016
  }, g.unix = function() {
3989
4017
  return Math.floor(this.valueOf() / 1e3);
3990
4018
  }, g.valueOf = function() {
3991
4019
  return this.$d.getTime();
3992
4020
  }, g.startOf = function(d, b) {
3993
- var m = this, E = !!P.u(b) || b, w = P.p(d), $ = function(le, j) {
3994
- var ne = P.w(m.$u ? Date.UTC(m.$y, j, le) : new Date(m.$y, j, le), m);
4021
+ var m = this, E = !!O.u(b) || b, w = O.p(d), $ = function(ue, j) {
4022
+ var ne = O.w(m.$u ? Date.UTC(m.$y, j, ue) : new Date(m.$y, j, ue), m);
3995
4023
  return E ? ne : ne.endOf(u);
3996
- }, D = function(le, j) {
3997
- return P.w(m.toDate()[le].apply(m.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(j)), m);
3998
- }, N = this.$W, V = this.$M, W = this.$D, ce = "set" + (this.$u ? "UTC" : "");
4024
+ }, L = function(ue, j) {
4025
+ return O.w(m.toDate()[ue].apply(m.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(j)), m);
4026
+ }, N = this.$W, V = this.$M, W = this.$D, fe = "set" + (this.$u ? "UTC" : "");
3999
4027
  switch (w) {
4000
- case _:
4028
+ case x:
4001
4029
  return E ? $(1, 0) : $(31, 11);
4002
4030
  case c:
4003
4031
  return E ? $(1, V) : $(0, V + 1);
4004
4032
  case h:
4005
- var ie = this.$locale().weekStart || 0, ge = (N < ie ? N + 7 : N) - ie;
4006
- return $(E ? W - ge : W + (6 - ge), V);
4033
+ var ie = this.$locale().weekStart || 0, pe = (N < ie ? N + 7 : N) - ie;
4034
+ return $(E ? W - pe : W + (6 - pe), V);
4007
4035
  case u:
4008
4036
  case S:
4009
- return D(ce + "Hours", 0);
4037
+ return L(fe + "Hours", 0);
4010
4038
  case a:
4011
- return D(ce + "Minutes", 1);
4039
+ return L(fe + "Minutes", 1);
4012
4040
  case l:
4013
- return D(ce + "Seconds", 2);
4041
+ return L(fe + "Seconds", 2);
4014
4042
  case o:
4015
- return D(ce + "Milliseconds", 3);
4043
+ return L(fe + "Milliseconds", 3);
4016
4044
  default:
4017
4045
  return this.clone();
4018
4046
  }
4019
4047
  }, g.endOf = function(d) {
4020
4048
  return this.startOf(d, !1);
4021
4049
  }, g.$set = function(d, b) {
4022
- var m, E = P.p(d), w = "set" + (this.$u ? "UTC" : ""), $ = (m = {}, m[u] = w + "Date", m[S] = w + "Date", m[c] = w + "Month", m[_] = w + "FullYear", m[a] = w + "Hours", m[l] = w + "Minutes", m[o] = w + "Seconds", m[s] = w + "Milliseconds", m)[E], D = E === u ? this.$D + (b - this.$W) : b;
4023
- if (E === c || E === _) {
4050
+ var m, E = O.p(d), w = "set" + (this.$u ? "UTC" : ""), $ = (m = {}, m[u] = w + "Date", m[S] = w + "Date", m[c] = w + "Month", m[x] = w + "FullYear", m[a] = w + "Hours", m[l] = w + "Minutes", m[o] = w + "Seconds", m[s] = w + "Milliseconds", m)[E], L = E === u ? this.$D + (b - this.$W) : b;
4051
+ if (E === c || E === x) {
4024
4052
  var N = this.clone().set(S, 1);
4025
- N.$d[$](D), N.init(), this.$d = N.set(S, Math.min(this.$D, N.daysInMonth())).$d;
4053
+ N.$d[$](L), N.init(), this.$d = N.set(S, Math.min(this.$D, N.daysInMonth())).$d;
4026
4054
  } else
4027
- $ && this.$d[$](D);
4055
+ $ && this.$d[$](L);
4028
4056
  return this.init(), this;
4029
4057
  }, g.set = function(d, b) {
4030
4058
  return this.clone().$set(d, b);
4031
4059
  }, g.get = function(d) {
4032
- return this[P.p(d)]();
4060
+ return this[O.p(d)]();
4033
4061
  }, g.add = function(d, b) {
4034
4062
  var m, E = this;
4035
4063
  d = Number(d);
4036
- var w = P.p(b), $ = function(V) {
4037
- var W = M(E);
4038
- return P.w(W.date(W.date() + Math.round(V * d)), E);
4064
+ var w = O.p(b), $ = function(V) {
4065
+ var W = C(E);
4066
+ return O.w(W.date(W.date() + Math.round(V * d)), E);
4039
4067
  };
4040
4068
  if (w === c)
4041
4069
  return this.set(c, this.$M + d);
4042
- if (w === _)
4043
- return this.set(_, this.$y + d);
4070
+ if (w === x)
4071
+ return this.set(x, this.$y + d);
4044
4072
  if (w === u)
4045
4073
  return $(1);
4046
4074
  if (w === h)
4047
4075
  return $(7);
4048
- var D = (m = {}, m[l] = i, m[a] = n, m[o] = r, m)[w] || 1, N = this.$d.getTime() + d * D;
4049
- return P.w(N, this);
4076
+ var L = (m = {}, m[l] = i, m[a] = n, m[o] = r, m)[w] || 1, N = this.$d.getTime() + d * L;
4077
+ return O.w(N, this);
4050
4078
  }, g.subtract = function(d, b) {
4051
4079
  return this.add(-1 * d, b);
4052
4080
  }, g.format = function(d) {
4053
4081
  var b = this, m = this.$locale();
4054
4082
  if (!this.isValid())
4055
4083
  return m.invalidDate || v;
4056
- var E = d || "YYYY-MM-DDTHH:mm:ssZ", w = P.z(this), $ = this.$H, D = this.$m, N = this.$M, V = m.weekdays, W = m.months, ce = m.meridiem, ie = function(j, ne, he, ye) {
4057
- return j && (j[ne] || j(b, E)) || he[ne].slice(0, ye);
4058
- }, ge = function(j) {
4059
- return P.s($ % 12 || 12, j, "0");
4060
- }, le = ce || function(j, ne, he) {
4061
- var ye = j < 12 ? "AM" : "PM";
4062
- return he ? ye.toLowerCase() : ye;
4084
+ var E = d || "YYYY-MM-DDTHH:mm:ssZ", w = O.z(this), $ = this.$H, L = this.$m, N = this.$M, V = m.weekdays, W = m.months, fe = m.meridiem, ie = function(j, ne, le, be) {
4085
+ return j && (j[ne] || j(b, E)) || le[ne].slice(0, be);
4086
+ }, pe = function(j) {
4087
+ return O.s($ % 12 || 12, j, "0");
4088
+ }, ue = fe || function(j, ne, le) {
4089
+ var be = j < 12 ? "AM" : "PM";
4090
+ return le ? be.toLowerCase() : be;
4063
4091
  };
4064
4092
  return E.replace(G, function(j, ne) {
4065
- return ne || function(he) {
4066
- switch (he) {
4093
+ return ne || function(le) {
4094
+ switch (le) {
4067
4095
  case "YY":
4068
4096
  return String(b.$y).slice(-2);
4069
4097
  case "YYYY":
4070
- return P.s(b.$y, 4, "0");
4098
+ return O.s(b.$y, 4, "0");
4071
4099
  case "M":
4072
4100
  return N + 1;
4073
4101
  case "MM":
4074
- return P.s(N + 1, 2, "0");
4102
+ return O.s(N + 1, 2, "0");
4075
4103
  case "MMM":
4076
4104
  return ie(m.monthsShort, N, W, 3);
4077
4105
  case "MMMM":
@@ -4079,7 +4107,7 @@ var Mr = { exports: {} };
4079
4107
  case "D":
4080
4108
  return b.$D;
4081
4109
  case "DD":
4082
- return P.s(b.$D, 2, "0");
4110
+ return O.s(b.$D, 2, "0");
4083
4111
  case "d":
4084
4112
  return String(b.$W);
4085
4113
  case "dd":
@@ -4091,25 +4119,25 @@ var Mr = { exports: {} };
4091
4119
  case "H":
4092
4120
  return String($);
4093
4121
  case "HH":
4094
- return P.s($, 2, "0");
4122
+ return O.s($, 2, "0");
4095
4123
  case "h":
4096
- return ge(1);
4124
+ return pe(1);
4097
4125
  case "hh":
4098
- return ge(2);
4126
+ return pe(2);
4099
4127
  case "a":
4100
- return le($, D, !0);
4128
+ return ue($, L, !0);
4101
4129
  case "A":
4102
- return le($, D, !1);
4130
+ return ue($, L, !1);
4103
4131
  case "m":
4104
- return String(D);
4132
+ return String(L);
4105
4133
  case "mm":
4106
- return P.s(D, 2, "0");
4134
+ return O.s(L, 2, "0");
4107
4135
  case "s":
4108
4136
  return String(b.$s);
4109
4137
  case "ss":
4110
- return P.s(b.$s, 2, "0");
4138
+ return O.s(b.$s, 2, "0");
4111
4139
  case "SSS":
4112
- return P.s(b.$ms, 3, "0");
4140
+ return O.s(b.$ms, 3, "0");
4113
4141
  case "Z":
4114
4142
  return w;
4115
4143
  }
@@ -4119,11 +4147,11 @@ var Mr = { exports: {} };
4119
4147
  }, g.utcOffset = function() {
4120
4148
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4121
4149
  }, g.diff = function(d, b, m) {
4122
- var E, w = this, $ = P.p(b), D = M(d), N = (D.utcOffset() - this.utcOffset()) * i, V = this - D, W = function() {
4123
- return P.m(w, D);
4150
+ var E, w = this, $ = O.p(b), L = C(d), N = (L.utcOffset() - this.utcOffset()) * i, V = this - L, W = function() {
4151
+ return O.m(w, L);
4124
4152
  };
4125
4153
  switch ($) {
4126
- case _:
4154
+ case x:
4127
4155
  E = W() / 12;
4128
4156
  break;
4129
4157
  case c:
@@ -4150,7 +4178,7 @@ var Mr = { exports: {} };
4150
4178
  default:
4151
4179
  E = V;
4152
4180
  }
4153
- return m ? E : P.a(E);
4181
+ return m ? E : O.a(E);
4154
4182
  }, g.daysInMonth = function() {
4155
4183
  return this.endOf(c).$D;
4156
4184
  }, g.$locale = function() {
@@ -4161,7 +4189,7 @@ var Mr = { exports: {} };
4161
4189
  var m = this.clone(), E = Z(d, b, !0);
4162
4190
  return E && (m.$L = E), m;
4163
4191
  }, g.clone = function() {
4164
- return P.w(this.$d, this);
4192
+ return O.w(this.$d, this);
4165
4193
  }, g.toDate = function() {
4166
4194
  return new Date(this.valueOf());
4167
4195
  }, g.toJSON = function() {
@@ -4170,21 +4198,21 @@ var Mr = { exports: {} };
4170
4198
  return this.$d.toISOString();
4171
4199
  }, g.toString = function() {
4172
4200
  return this.$d.toUTCString();
4173
- }, x;
4174
- }(), fe = k.prototype;
4175
- return M.prototype = fe, [["$ms", s], ["$s", o], ["$m", l], ["$H", a], ["$W", u], ["$M", c], ["$y", _], ["$D", S]].forEach(function(x) {
4176
- fe[x[1]] = function(g) {
4177
- return this.$g(g, x[0], x[1]);
4201
+ }, _;
4202
+ }(), he = k.prototype;
4203
+ return C.prototype = he, [["$ms", s], ["$s", o], ["$m", l], ["$H", a], ["$W", u], ["$M", c], ["$y", x], ["$D", S]].forEach(function(_) {
4204
+ he[_[1]] = function(g) {
4205
+ return this.$g(g, _[0], _[1]);
4178
4206
  };
4179
- }), M.extend = function(x, g) {
4180
- return x.$i || (x(g, k, M), x.$i = !0), M;
4181
- }, M.locale = Z, M.isDayjs = ue, M.unix = function(x) {
4182
- return M(1e3 * x);
4183
- }, M.en = F[I], M.Ls = F, M.p = {}, M;
4207
+ }), C.extend = function(_, g) {
4208
+ return _.$i || (_(g, k, C), _.$i = !0), C;
4209
+ }, C.locale = Z, C.isDayjs = ae, C.unix = function(_) {
4210
+ return C(1e3 * _);
4211
+ }, C.en = F[I], C.Ls = F, C.p = {}, C;
4184
4212
  });
4185
4213
  })(Mr);
4186
- var hs = Mr.exports;
4187
- const Jt = /* @__PURE__ */ wt(hs);
4214
+ var ls = Mr.exports;
4215
+ const Jt = /* @__PURE__ */ _t(ls);
4188
4216
  var Cr = { exports: {} };
4189
4217
  (function(e, t) {
4190
4218
  (function(r, i) {
@@ -4194,11 +4222,11 @@ var Cr = { exports: {} };
4194
4222
  return function(s, o, l) {
4195
4223
  var a = o.prototype;
4196
4224
  l.utc = function(v) {
4197
- var B = { date: v, utc: !0, args: arguments };
4198
- return new o(B);
4225
+ var M = { date: v, utc: !0, args: arguments };
4226
+ return new o(M);
4199
4227
  }, a.utc = function(v) {
4200
- var B = l(this.toDate(), { locale: this.$L, utc: !0 });
4201
- return v ? B.add(this.utcOffset(), r) : B;
4228
+ var M = l(this.toDate(), { locale: this.$L, utc: !0 });
4229
+ return v ? M.add(this.utcOffset(), r) : M;
4202
4230
  }, a.local = function() {
4203
4231
  return l(this.toDate(), { locale: this.$L, utc: !1 });
4204
4232
  };
@@ -4215,7 +4243,7 @@ var Cr = { exports: {} };
4215
4243
  h.call(this);
4216
4244
  };
4217
4245
  var c = a.utcOffset;
4218
- a.utcOffset = function(v, B) {
4246
+ a.utcOffset = function(v, M) {
4219
4247
  var G = this.$utils().u;
4220
4248
  if (G(v))
4221
4249
  return this.$u ? 0 : G(this.$offset) ? c.call(this) : this.$offset;
@@ -4224,24 +4252,24 @@ var Cr = { exports: {} };
4224
4252
  var F = I.match(i);
4225
4253
  if (!F)
4226
4254
  return null;
4227
- var q = ("" + F[0]).match(n) || ["-", 0, 0], ue = q[0], Z = 60 * +q[1] + +q[2];
4228
- return Z === 0 ? 0 : ue === "+" ? Z : -Z;
4255
+ var q = ("" + F[0]).match(n) || ["-", 0, 0], ae = q[0], Z = 60 * +q[1] + +q[2];
4256
+ return Z === 0 ? 0 : ae === "+" ? Z : -Z;
4229
4257
  }(v), v === null))
4230
4258
  return this;
4231
- var R = Math.abs(v) <= 16 ? 60 * v : v, A = this;
4232
- if (B)
4233
- return A.$offset = R, A.$u = v === 0, A;
4259
+ var R = Math.abs(v) <= 16 ? 60 * v : v, B = this;
4260
+ if (M)
4261
+ return B.$offset = R, B.$u = v === 0, B;
4234
4262
  if (v !== 0) {
4235
4263
  var X = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4236
- (A = this.local().add(R + X, r)).$offset = R, A.$x.$localOffset = X;
4264
+ (B = this.local().add(R + X, r)).$offset = R, B.$x.$localOffset = X;
4237
4265
  } else
4238
- A = this.utc();
4239
- return A;
4266
+ B = this.utc();
4267
+ return B;
4240
4268
  };
4241
4269
  var p = a.format;
4242
4270
  a.format = function(v) {
4243
- var B = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4244
- return p.call(this, B);
4271
+ var M = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4272
+ return p.call(this, M);
4245
4273
  }, a.valueOf = function() {
4246
4274
  var v = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4247
4275
  return this.$d.valueOf() - 6e4 * v;
@@ -4252,30 +4280,30 @@ var Cr = { exports: {} };
4252
4280
  }, a.toString = function() {
4253
4281
  return this.toDate().toUTCString();
4254
4282
  };
4255
- var _ = a.toDate;
4283
+ var x = a.toDate;
4256
4284
  a.toDate = function(v) {
4257
- return v === "s" && this.$offset ? l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : _.call(this);
4285
+ return v === "s" && this.$offset ? l(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : x.call(this);
4258
4286
  };
4259
4287
  var S = a.diff;
4260
- a.diff = function(v, B, G) {
4288
+ a.diff = function(v, M, G) {
4261
4289
  if (v && this.$u === v.$u)
4262
- return S.call(this, v, B, G);
4263
- var R = this.local(), A = l(v).local();
4264
- return S.call(R, A, B, G);
4290
+ return S.call(this, v, M, G);
4291
+ var R = this.local(), B = l(v).local();
4292
+ return S.call(R, B, M, G);
4265
4293
  };
4266
4294
  };
4267
4295
  });
4268
4296
  })(Cr);
4269
- var fs = Cr.exports;
4270
- const cs = /* @__PURE__ */ wt(fs);
4271
- function ds(e) {
4297
+ var hs = Cr.exports;
4298
+ const fs = /* @__PURE__ */ _t(hs);
4299
+ function cs(e) {
4272
4300
  Xr(e, "svelte-3ui5us", "*,*::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;box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
4273
4301
  }
4274
4302
  function Qt(e, t, r) {
4275
4303
  const i = e.slice();
4276
4304
  return i[54] = t[r], i[56] = r, i;
4277
4305
  }
4278
- function ms(e) {
4306
+ function ds(e) {
4279
4307
  let t, r, i, n, s = Dt(
4280
4308
  /*displayMessages*/
4281
4309
  e[4]
@@ -4291,7 +4319,7 @@ function ms(e) {
4291
4319
  t = Y("div");
4292
4320
  for (let a = 0; a < o.length; a += 1)
4293
4321
  o[a].c();
4294
- r = we(), l && l.c(), i = we(), n = Y("cashier-video-modal"), re(t, "class", "CashierVerificationsWrapper"), K(
4322
+ r = Ee(), l && l.c(), i = Ee(), n = Y("cashier-video-modal"), re(t, "class", "CashierVerificationsWrapper"), K(
4295
4323
  n,
4296
4324
  "clientstylingurl",
4297
4325
  /*clientstylingurl*/
@@ -4314,10 +4342,10 @@ function ms(e) {
4314
4342
  );
4315
4343
  },
4316
4344
  m(a, u) {
4317
- ae(a, t, u);
4345
+ oe(a, t, u);
4318
4346
  for (let h = 0; h < o.length; h += 1)
4319
4347
  o[h] && o[h].m(t, null);
4320
- ae(a, r, u), l && l.m(a, u), ae(a, i, u), ae(a, n, u);
4348
+ oe(a, r, u), l && l.m(a, u), oe(a, i, u), oe(a, n, u);
4321
4349
  },
4322
4350
  p(a, u) {
4323
4351
  if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
@@ -4367,7 +4395,7 @@ function ms(e) {
4367
4395
  }
4368
4396
  };
4369
4397
  }
4370
- function ps(e) {
4398
+ function ms(e) {
4371
4399
  let t;
4372
4400
  return {
4373
4401
  c() {
@@ -4384,7 +4412,7 @@ function ps(e) {
4384
4412
  );
4385
4413
  },
4386
4414
  m(r, i) {
4387
- ae(r, t, i);
4415
+ oe(r, t, i);
4388
4416
  },
4389
4417
  p(r, i) {
4390
4418
  i[0] & /*clientstylingurl*/
@@ -4423,7 +4451,7 @@ function Kt(e) {
4423
4451
  t = Y("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', re(t, "class", "CashierVerificationChevron");
4424
4452
  },
4425
4453
  m(s, o) {
4426
- ae(s, t, o), r || (i = Et(t, "click", n), r = !0);
4454
+ oe(s, t, o), r || (i = xt(t, "click", n), r = !0);
4427
4455
  },
4428
4456
  p(s, o) {
4429
4457
  e = s;
@@ -4454,23 +4482,23 @@ function er(e) {
4454
4482
  }
4455
4483
  return {
4456
4484
  c() {
4457
- t = Y("div"), r = Y("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = we(), n = Y("p"), o = we(), h && h.c(), l = we(), re(r, "class", "IconVerification"), re(n, "class", "text"), re(t, "class", "CashierVerificationMessage"), Te(
4485
+ t = Y("div"), r = Y("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = Ee(), n = Y("p"), o = Ee(), h && h.c(), l = Ee(), re(r, "class", "IconVerification"), re(n, "class", "text"), re(t, "class", "CashierVerificationMessage"), Se(
4458
4486
  t,
4459
4487
  "ShowAll",
4460
4488
  /*allVerificationsVisible*/
4461
4489
  e[5]
4462
4490
  );
4463
4491
  },
4464
- m(p, _) {
4465
- ae(p, t, _), se(t, r), se(t, i), se(t, n), n.innerHTML = s, se(t, o), h && h.m(t, null), se(t, l), a || (u = Et(t, "click", c), a = !0);
4492
+ m(p, x) {
4493
+ oe(p, t, x), se(t, r), se(t, i), se(t, n), n.innerHTML = s, se(t, o), h && h.m(t, null), se(t, l), a || (u = xt(t, "click", c), a = !0);
4466
4494
  },
4467
- p(p, _) {
4468
- e = p, _[0] & /*displayMessages*/
4495
+ p(p, x) {
4496
+ e = p, x[0] & /*displayMessages*/
4469
4497
  16 && s !== (s = /*message*/
4470
4498
  e[54] + "") && (n.innerHTML = s), /*displayMessages*/
4471
4499
  e[4].length > 1 && /*index*/
4472
- e[56] === 0 ? h ? h.p(e, _) : (h = Kt(e), h.c(), h.m(t, l)) : h && (h.d(1), h = null), _[0] & /*allVerificationsVisible*/
4473
- 32 && Te(
4500
+ e[56] === 0 ? h ? h.p(e, x) : (h = Kt(e), h.c(), h.m(t, l)) : h && (h.d(1), h = null), x[0] & /*allVerificationsVisible*/
4501
+ 32 && Se(
4474
4502
  t,
4475
4503
  "ShowAll",
4476
4504
  /*allVerificationsVisible*/
@@ -4489,7 +4517,7 @@ function tr(e) {
4489
4517
  ), o, l, a;
4490
4518
  return {
4491
4519
  c() {
4492
- t = Y("div"), r = Y("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = we(), n = Y("div"), o = xt(s), re(r, "class", "IconVideo"), re(n, "class", "CashierVerificationVideoLink"), Te(
4520
+ t = Y("div"), r = Y("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = Ee(), n = Y("div"), o = yt(s), re(r, "class", "IconVideo"), re(n, "class", "CashierVerificationVideoLink"), Se(
4493
4521
  n,
4494
4522
  "CashierVerificationVideoLinkDesktop",
4495
4523
  /*desktopView*/
@@ -4497,7 +4525,7 @@ function tr(e) {
4497
4525
  ), re(t, "class", "CashierVerificationVideo");
4498
4526
  },
4499
4527
  m(u, h) {
4500
- ae(u, t, h), se(t, r), se(t, i), se(t, n), se(n, o), l || (a = Et(
4528
+ oe(u, t, h), se(t, r), se(t, i), se(t, n), se(n, o), l || (a = xt(
4501
4529
  n,
4502
4530
  "click",
4503
4531
  /*click_handler_2*/
@@ -4508,7 +4536,7 @@ function tr(e) {
4508
4536
  h[0] & /*$_*/
4509
4537
  1024 && s !== (s = /*$_*/
4510
4538
  u[10]("verification.video.how-to") + "") && Jr(o, s), h[0] & /*desktopView*/
4511
- 64 && Te(
4539
+ 64 && Se(
4512
4540
  n,
4513
4541
  "CashierVerificationVideoLinkDesktop",
4514
4542
  /*desktopView*/
@@ -4520,24 +4548,24 @@ function tr(e) {
4520
4548
  }
4521
4549
  };
4522
4550
  }
4523
- function gs(e) {
4551
+ function ps(e) {
4524
4552
  let t;
4525
4553
  function r(s, o) {
4526
4554
  if (
4527
4555
  /*isLoading*/
4528
4556
  s[9]
4529
4557
  )
4530
- return ps;
4558
+ return ms;
4531
4559
  if (
4532
4560
  /*displayMessages*/
4533
4561
  s[4]
4534
4562
  )
4535
- return ms;
4563
+ return ds;
4536
4564
  }
4537
4565
  let i = r(e), n = i && i(e);
4538
4566
  return {
4539
4567
  c() {
4540
- t = Y("div"), n && n.c(), re(t, "class", "CashierVerifications"), Te(
4568
+ t = Y("div"), n && n.c(), re(t, "class", "CashierVerifications"), Se(
4541
4569
  t,
4542
4570
  "CashierVerificationsDesktop",
4543
4571
  /*desktopView*/
@@ -4545,11 +4573,11 @@ function gs(e) {
4545
4573
  );
4546
4574
  },
4547
4575
  m(s, o) {
4548
- ae(s, t, o), n && n.m(t, null), e[24](t);
4576
+ oe(s, t, o), n && n.m(t, null), e[24](t);
4549
4577
  },
4550
4578
  p(s, o) {
4551
4579
  i === (i = r(s)) && n ? n.p(s, o) : (n && n.d(1), n = i && i(s), n && (n.c(), n.m(t, null))), o[0] & /*desktopView*/
4552
- 64 && Te(
4580
+ 64 && Se(
4553
4581
  t,
4554
4582
  "CashierVerificationsDesktop",
4555
4583
  /*desktopView*/
@@ -4563,29 +4591,29 @@ function gs(e) {
4563
4591
  }
4564
4592
  };
4565
4593
  }
4566
- const vs = "verification_explanation_video_widgets.MP4";
4567
- function bs(e, t, r) {
4594
+ const gs = "verification_explanation_video_widgets.MP4";
4595
+ function vs(e, t, r) {
4568
4596
  let i, n;
4569
- Mt(e, ns, (f) => r(10, i = f)), Mt(e, os, (f) => r(30, n = f)), Jt.extend(cs);
4570
- let { endpoint: s } = t, { lang: o = "en" } = t, { translationurl: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: u = "" } = t, { session: h = "" } = t, { customerid: c = "" } = t, { ismobileview: p = "" } = t, { playersession: _ = "" } = t, { mbsource: S = "" } = t, v, B = /* @__PURE__ */ new Set(), G = /* @__PURE__ */ new Set(), R, A, X, I = !0, F = !0, q = !1, ue = "", Z = !1;
4571
- var M;
4597
+ Mt(e, is, (f) => r(10, i = f)), Mt(e, ss, (f) => r(30, n = f)), Jt.extend(fs);
4598
+ let { endpoint: s } = t, { lang: o = "en" } = t, { translationurl: l = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: u = "" } = t, { session: h = "" } = t, { customerid: c = "" } = t, { ismobileview: p = "" } = t, { playersession: x = "" } = t, { mbsource: S = "" } = t, v, M = /* @__PURE__ */ new Set(), G = /* @__PURE__ */ new Set(), R, B, X, I = !0, F = !0, q = !1, ae = "", Z = !1;
4599
+ var C;
4572
4600
  (function(f) {
4573
4601
  f.Manual = "Manual", f.ShuftiPro = "ShuftiPro";
4574
- })(M || (M = {}));
4575
- var P;
4602
+ })(C || (C = {}));
4603
+ var O;
4576
4604
  (function(f) {
4577
4605
  f.Requested = "Requested";
4578
- })(P || (P = {}));
4606
+ })(O || (O = {}));
4579
4607
  var k;
4580
4608
  (function(f) {
4581
4609
  f.Unknown = "Unknown", f.Unverified = "Unverified", f.InProgress = "InProgress", f.Failed = "Failed", f.Verified = "Verified", f.Referred = "Referred", f.True = "True", f.False = "False", f.AwaitingForResponse = "AwaitingForResponse";
4582
4610
  })(k || (k = {}));
4583
- var fe;
4611
+ var he;
4584
4612
  (function(f) {
4585
4613
  f.Unknown = "Unknown", f.Documents = "Documents", f.Age = "Age", f.Pep = "Pep", f.Sanction = "Sanction", f.Aml = "Aml", f.ProofOfAddress = "ProofOfAddress", f.SourceOfWealth = "SourceOfWealth", f.SocialMedia = "SocialMedia", f.Biometric = "Biometric";
4586
- })(fe || (fe = {})), ei(() => () => {
4614
+ })(he || (he = {})), ei(() => () => {
4587
4615
  });
4588
- const x = [
4616
+ const _ = [
4589
4617
  k.InProgress,
4590
4618
  k.Referred,
4591
4619
  k.AwaitingForResponse
@@ -4604,20 +4632,20 @@ function bs(e, t, r) {
4604
4632
  Yt(f, Zt[f]);
4605
4633
  });
4606
4634
  const d = () => {
4607
- ss(o);
4635
+ ns(o);
4608
4636
  }, b = () => {
4609
- r(20, A = w());
4637
+ r(20, B = w());
4610
4638
  const f = new URL(`${s}/v1/player/${c}/verification/GetKYCCustomerStatus?language=${o}`), y = new Headers();
4611
- y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("x-sessionid", `${_}`), y.append("X-Client-Request-Timestamp", Jt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4639
+ y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("x-sessionid", `${x}`), y.append("X-Client-Request-Timestamp", Jt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4612
4640
  const H = {
4613
4641
  method: "POST",
4614
4642
  headers: y,
4615
4643
  body: JSON.stringify({})
4616
4644
  };
4617
4645
  r(9, Z = !0), fetch(f, H).then((U) => U.json()).then((U) => {
4618
- const de = m(U == null ? void 0 : U.Verifications);
4619
- R = $(de), R.VerificationStatuses.forEach((Ve) => {
4620
- Ve.VerificationUrlType !== "Widget" && B.add(Ve.Vendor);
4646
+ const ce = m(U == null ? void 0 : U.Verifications);
4647
+ R = $(ce), R.VerificationStatuses.forEach((Fe) => {
4648
+ Fe.VerificationUrlType !== "Widget" && M.add(Fe.Vendor);
4621
4649
  }), r(4, X = ie());
4622
4650
  }).finally(() => r(9, Z = !1));
4623
4651
  }, m = (f) => f ? f.sort((y, H) => new Date(H.Created).getTime() - new Date(y.Created).getTime()) : [], E = () => {
@@ -4638,7 +4666,7 @@ function bs(e, t, r) {
4638
4666
  };
4639
4667
  const y = V(f);
4640
4668
  if (y && y.length) {
4641
- const U = D(y);
4669
+ const U = L(y);
4642
4670
  return {
4643
4671
  VerificationSummaryStatus: U.Status,
4644
4672
  VerificationUrl: (H = U.Flags) == null ? void 0 : H.DeferredUrlKey,
@@ -4646,58 +4674,58 @@ function bs(e, t, r) {
4646
4674
  };
4647
4675
  } else
4648
4676
  return {
4649
- VerificationSummaryStatus: f.some((de) => de.Status === k.Failed) ? k.Failed : k.Verified,
4677
+ VerificationSummaryStatus: f.some((ce) => ce.Status === k.Failed) ? k.Failed : k.Verified,
4650
4678
  VerificationStatuses: N(f, [k.Failed])
4651
4679
  };
4652
- }, D = (f) => f.reduce(
4680
+ }, L = (f) => f.reduce(
4653
4681
  (y, H) => y ? new Date(y) < new Date(H) ? H : y : H,
4654
4682
  0
4655
4683
  ), N = (f, y) => f.filter((H) => y.includes(H.Status)).map((H) => {
4656
- var U, de;
4684
+ var U, ce;
4657
4685
  return {
4658
4686
  Type: H.Type,
4659
4687
  Vendor: H.VendorName,
4660
4688
  VerificationDocuments: H.Documents ? [...H.Documents] : [],
4661
4689
  VerificationUrlType: (U = H.FlowInfo) == null ? void 0 : U.Type,
4662
- VerificationUrl: (de = H.FlowInfo) == null ? void 0 : de.Url
4690
+ VerificationUrl: (ce = H.FlowInfo) == null ? void 0 : ce.Url
4663
4691
  };
4664
- }), V = (f) => f.filter((y) => x.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || W(y) || ce(y) : !1), W = (f) => {
4665
- const y = f.Documents && f.VendorName === M.Manual, H = f.Documents && f.Documents.some((U) => U.Status === P.Requested);
4692
+ }), V = (f) => f.filter((y) => _.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || W(y) || fe(y) : !1), W = (f) => {
4693
+ const y = f.Documents && f.VendorName === C.Manual, H = f.Documents && f.Documents.some((U) => U.Status === O.Requested);
4666
4694
  return y && H;
4667
- }, ce = (f) => f.VendorName === M.ShuftiPro && f.Status === k.Referred, ie = () => {
4695
+ }, fe = (f) => f.VendorName === C.ShuftiPro && f.Status === k.Referred, ie = () => {
4668
4696
  switch (R.VerificationSummaryStatus) {
4669
4697
  case k.InProgress:
4670
4698
  const f = [];
4671
- return B.forEach((y) => {
4672
- f.push(ge(y));
4699
+ return M.forEach((y) => {
4700
+ f.push(pe(y));
4673
4701
  }), f;
4674
4702
  case k.Referred:
4675
4703
  return [i("verification.idenfy.referred-awaiting")];
4676
4704
  case k.Failed:
4677
4705
  return [i("verification.message.failed")];
4678
4706
  }
4679
- }, ge = (f) => {
4707
+ }, pe = (f) => {
4680
4708
  const y = R.VerificationStatuses.filter((H) => H.Vendor === f);
4681
- if (f === M.ShuftiPro)
4682
- return le(y);
4709
+ if (f === C.ShuftiPro)
4710
+ return ue(y);
4683
4711
  {
4684
4712
  const H = i("verification.idenfy.link-name"), U = {
4685
4713
  link: `<a href="${y[0].VerificationUrl}" target="_blank">${H}</a>`
4686
4714
  };
4687
4715
  return i("verification.idenfy.in-progress", { values: U });
4688
4716
  }
4689
- }, le = (f) => {
4717
+ }, ue = (f) => {
4690
4718
  const y = [], H = {}, U = [
4691
- fe.Biometric,
4692
- fe.Documents,
4693
- fe.ProofOfAddress
4719
+ he.Biometric,
4720
+ he.Documents,
4721
+ he.ProofOfAddress
4694
4722
  ];
4695
- f.forEach((ve) => {
4696
- U.includes(ve.Type) && (y.push(ve.Type), H[ve.Type] = j(ve, ne(ve.Type)));
4723
+ f.forEach((ge) => {
4724
+ U.includes(ge.Type) && (y.push(ge.Type), H[ge.Type] = j(ge, ne(ge.Type)));
4697
4725
  });
4698
- let de = y.every((ve) => G.has(ve)), Ve = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4699
- return de ? i("verification.shuftipro.validations-started") : i(Ve, { values: H });
4700
- }, j = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, ne = (f) => i(`verification.shuftipro.link-name.${f}`), he = (f, y) => {
4726
+ let ce = y.every((ge) => G.has(ge)), Fe = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4727
+ return ce ? i("verification.shuftipro.validations-started") : i(Fe, { values: H });
4728
+ }, j = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, ne = (f) => i(`verification.shuftipro.link-name.${f}`), le = (f, y) => {
4701
4729
  if (f.stopPropagation(), f.target && (f.target.href || f.target.closest("a"))) {
4702
4730
  if (f.target.closest(".verificationLink")) {
4703
4731
  const H = f.target.className.split(" ")[1];
@@ -4706,12 +4734,12 @@ function bs(e, t, r) {
4706
4734
  return;
4707
4735
  }
4708
4736
  y === 0 && r(5, I = !I);
4709
- }, ye = () => {
4737
+ }, be = () => {
4710
4738
  r(6, F = p === "false");
4711
4739
  }, Lr = () => {
4712
- r(8, ue = A + "/" + o + "/" + vs);
4740
+ r(8, ae = B + "/" + o + "/" + gs);
4713
4741
  try {
4714
- fetch(ue, { method: "HEAD" }).then((f) => {
4742
+ fetch(ae, { method: "HEAD" }).then((f) => {
4715
4743
  r(7, q = f.ok);
4716
4744
  });
4717
4745
  } catch (f) {
@@ -4719,25 +4747,25 @@ function bs(e, t, r) {
4719
4747
  }
4720
4748
  }, Ht = () => {
4721
4749
  window.postMessage({ type: "ShowCashierVideoModal" }, window.location.href);
4722
- }, Ir = (f, y) => he(y, f), Nr = (f, y) => he(y, f), Rr = () => Ht();
4750
+ }, Ir = (f, y) => le(y, f), Nr = (f, y) => le(y, f), Rr = () => Ht();
4723
4751
  function kr(f) {
4724
- lt[f ? "unshift" : "push"](() => {
4752
+ at[f ? "unshift" : "push"](() => {
4725
4753
  v = f, r(3, v);
4726
4754
  });
4727
4755
  }
4728
4756
  return e.$$set = (f) => {
4729
- "endpoint" in f && r(13, s = f.endpoint), "lang" in f && r(14, o = f.lang), "translationurl" in f && r(15, l = f.translationurl), "clientstyling" in f && r(0, a = f.clientstyling), "clientstylingurl" in f && r(1, u = f.clientstylingurl), "session" in f && r(16, h = f.session), "customerid" in f && r(17, c = f.customerid), "ismobileview" in f && r(2, p = f.ismobileview), "playersession" in f && r(18, _ = f.playersession), "mbsource" in f && r(19, S = f.mbsource);
4757
+ "endpoint" in f && r(13, s = f.endpoint), "lang" in f && r(14, o = f.lang), "translationurl" in f && r(15, l = f.translationurl), "clientstyling" in f && r(0, a = f.clientstyling), "clientstylingurl" in f && r(1, u = f.clientstylingurl), "session" in f && r(16, h = f.session), "customerid" in f && r(17, c = f.customerid), "ismobileview" in f && r(2, p = f.ismobileview), "playersession" in f && r(18, x = f.playersession), "mbsource" in f && r(19, S = f.mbsource);
4730
4758
  }, e.$$.update = () => {
4731
4759
  e.$$.dirty[0] & /*lang*/
4732
4760
  16384 && o && d(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4733
- 335872 && s && h && _ && b(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4734
- 335872 && s && !h && _ && E(), e.$$.dirty[0] & /*translationurl*/
4761
+ 335872 && s && h && x && b(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4762
+ 335872 && s && !h && x && E(), e.$$.dirty[0] & /*translationurl*/
4735
4763
  32768 && l && g(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4736
- 9 && a && v && as(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4737
- 10 && u && v && us(), e.$$.dirty[0] & /*ismobileview*/
4738
- 4 && p && ye(), e.$$.dirty[0] & /*staticCdnUrl*/
4739
- 1048576 && A && Lr(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4740
- 524296 && S && v && ls(v, `${S}.Style`);
4764
+ 9 && a && v && os(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4765
+ 10 && u && v && as(), e.$$.dirty[0] & /*ismobileview*/
4766
+ 4 && p && be(), e.$$.dirty[0] & /*staticCdnUrl*/
4767
+ 1048576 && B && Lr(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4768
+ 524296 && S && v && us(v, `${S}.Style`);
4741
4769
  }, [
4742
4770
  a,
4743
4771
  u,
@@ -4747,19 +4775,19 @@ function bs(e, t, r) {
4747
4775
  I,
4748
4776
  F,
4749
4777
  q,
4750
- ue,
4778
+ ae,
4751
4779
  Z,
4752
4780
  i,
4753
- he,
4781
+ le,
4754
4782
  Ht,
4755
4783
  s,
4756
4784
  o,
4757
4785
  l,
4758
4786
  h,
4759
4787
  c,
4760
- _,
4788
+ x,
4761
4789
  S,
4762
- A,
4790
+ B,
4763
4791
  Ir,
4764
4792
  Nr,
4765
4793
  Rr,
@@ -4771,8 +4799,8 @@ class Dr extends ci {
4771
4799
  super(), hi(
4772
4800
  this,
4773
4801
  t,
4774
- bs,
4775
- gs,
4802
+ vs,
4803
+ ps,
4776
4804
  ir,
4777
4805
  {
4778
4806
  endpoint: 13,
@@ -4786,7 +4814,7 @@ class Dr extends ci {
4786
4814
  playersession: 18,
4787
4815
  mbsource: 19
4788
4816
  },
4789
- ds,
4817
+ cs,
4790
4818
  [-1, -1]
4791
4819
  );
4792
4820
  }
@@ -4852,33 +4880,37 @@ class Dr extends ci {
4852
4880
  }
4853
4881
  }
4854
4882
  fi(Dr, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {}, mbsource: {} }, [], [], !0);
4855
- const ws = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4883
+ const Ss = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4856
4884
  __proto__: null,
4857
4885
  default: Dr
4858
4886
  }, Symbol.toStringTag, { value: "Module" }));
4859
4887
  export {
4860
- ws as C,
4888
+ Ss as C,
4861
4889
  ci as S,
4862
- Xr as a,
4863
- ae as b,
4864
- _s as c,
4865
- ee as d,
4866
- Es as e,
4890
+ Es as _,
4891
+ tt as a,
4892
+ ws as b,
4893
+ Ze as c,
4894
+ fi as d,
4895
+ Xr as e,
4867
4896
  Q as f,
4868
- re as g,
4869
- se as h,
4897
+ _s as g,
4898
+ oe as h,
4870
4899
  hi as i,
4871
- Y as j,
4872
- we as k,
4873
- lt as l,
4874
- Et as m,
4900
+ ee as j,
4901
+ as as k,
4902
+ us as l,
4903
+ Y as m,
4875
4904
  te as n,
4876
4905
  ei as o,
4877
- xs as p,
4878
- as as q,
4879
- us as r,
4906
+ Ee as p,
4907
+ ys as q,
4908
+ re as r,
4880
4909
  ir as s,
4881
- Te as t,
4882
- ls as u,
4883
- fi as v
4910
+ Se as t,
4911
+ se as u,
4912
+ xs as v,
4913
+ xt as w,
4914
+ at as x,
4915
+ os as y
4884
4916
  };