@everymatrix/cashier-verifications 1.62.0 → 1.62.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,16 +2,16 @@ var Lr = Object.defineProperty, Nr = Object.defineProperties;
2
2
  var Rr = Object.getOwnPropertyDescriptors;
3
3
  var Ht = Object.getOwnPropertySymbols;
4
4
  var kr = Object.prototype.hasOwnProperty, Ur = Object.prototype.propertyIsEnumerable;
5
- var Ke = (e, t, r) => t in e ? Lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ot = (e, t) => {
5
+ var tt = (e, t, r) => t in e ? Lr(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
- kr.call(t, r) && Ke(e, r, t[r]);
7
+ kr.call(t, r) && tt(e, r, t[r]);
8
8
  if (Ht)
9
9
  for (var r of Ht(t))
10
- Ur.call(t, r) && Ke(e, r, t[r]);
10
+ Ur.call(t, r) && tt(e, r, t[r]);
11
11
  return e;
12
12
  }, Pt = (e, t) => Nr(e, Rr(t));
13
- var Z = (e, t, r) => (Ke(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var At = (e, t, r) => new Promise((i, n) => {
13
+ var Z = (e, t, r) => (tt(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var $t = (e, t, r) => new Promise((i, n) => {
15
15
  var s = (o) => {
16
16
  try {
17
17
  l(r.next(o));
@@ -32,21 +32,21 @@ function K() {
32
32
  function tr(e) {
33
33
  return e();
34
34
  }
35
- function $t() {
35
+ function At() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function Ne(e) {
38
+ function Re(e) {
39
39
  e.forEach(tr);
40
40
  }
41
- function bt(e) {
41
+ function xt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
44
  function rr(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let Fe;
48
- function fs(e, t) {
49
- return e === t ? !0 : (Fe || (Fe = document.createElement("a")), Fe.href = t, e === Fe.href);
47
+ let Ve;
48
+ function cs(e, t) {
49
+ return e === t ? !0 : (Ve || (Ve = document.createElement("a")), Ve.href = t, e === Ve.href);
50
50
  }
51
51
  function Fr(e) {
52
52
  return Object.keys(e).length === 0;
@@ -90,10 +90,10 @@ function zr(e, t) {
90
90
  t
91
91
  ), t.sheet;
92
92
  }
93
- function ue(e, t, r) {
93
+ function le(e, t, r) {
94
94
  e.insertBefore(t, r || null);
95
95
  }
96
- function ne(e) {
96
+ function se(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
99
  function Xr(e, t) {
@@ -103,25 +103,25 @@ function Xr(e, t) {
103
103
  function J(e) {
104
104
  return document.createElement(e);
105
105
  }
106
- function cs(e) {
106
+ function ds(e) {
107
107
  return document.createElementNS("http://www.w3.org/2000/svg", e);
108
108
  }
109
- function yt(e) {
109
+ function _t(e) {
110
110
  return document.createTextNode(e);
111
111
  }
112
- function Ee() {
113
- return yt(" ");
112
+ function we() {
113
+ return _t(" ");
114
114
  }
115
- function ds() {
116
- return yt("");
115
+ function ms() {
116
+ return _t("");
117
117
  }
118
- function xt(e, t, r, i) {
118
+ function Et(e, t, r, i) {
119
119
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
120
120
  }
121
121
  function ee(e, t, r) {
122
122
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
123
123
  }
124
- function fe(e, t, r) {
124
+ function ce(e, t, r) {
125
125
  const i = t.toLowerCase();
126
126
  i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : ee(e, t, r);
127
127
  }
@@ -132,7 +132,7 @@ function qr(e, t) {
132
132
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
133
133
  t);
134
134
  }
135
- function Se(e, t, r) {
135
+ function Te(e, t, r) {
136
136
  e.classList.toggle(t, !!r);
137
137
  }
138
138
  function Yr(e) {
@@ -144,65 +144,65 @@ function Yr(e) {
144
144
  }
145
145
  ), t;
146
146
  }
147
- let De;
148
- function Ce(e) {
149
- De = e;
147
+ let Ie;
148
+ function De(e) {
149
+ Ie = e;
150
150
  }
151
151
  function Zr() {
152
- if (!De)
152
+ if (!Ie)
153
153
  throw new Error("Function called outside component initialization");
154
- return De;
154
+ return Ie;
155
155
  }
156
- function ms(e) {
156
+ function ps(e) {
157
157
  Zr().$$.on_mount.push(e);
158
158
  }
159
- const _e = [], at = [];
160
- let we = [];
159
+ const Ee = [], lt = [];
160
+ let Se = [];
161
161
  const Bt = [], Jr = /* @__PURE__ */ Promise.resolve();
162
- let ut = !1;
162
+ let ht = !1;
163
163
  function Qr() {
164
- ut || (ut = !0, Jr.then(re));
164
+ ht || (ht = !0, Jr.then(re));
165
165
  }
166
- function lt(e) {
167
- we.push(e);
166
+ function ft(e) {
167
+ Se.push(e);
168
168
  }
169
- const et = /* @__PURE__ */ new Set();
170
- let ye = 0;
169
+ const rt = /* @__PURE__ */ new Set();
170
+ let xe = 0;
171
171
  function re() {
172
- if (ye !== 0)
172
+ if (xe !== 0)
173
173
  return;
174
- const e = De;
174
+ const e = Ie;
175
175
  do {
176
176
  try {
177
- for (; ye < _e.length; ) {
178
- const t = _e[ye];
179
- ye++, Ce(t), Kr(t.$$);
177
+ for (; xe < Ee.length; ) {
178
+ const t = Ee[xe];
179
+ xe++, De(t), Kr(t.$$);
180
180
  }
181
181
  } catch (t) {
182
- throw _e.length = 0, ye = 0, t;
182
+ throw Ee.length = 0, xe = 0, t;
183
183
  }
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());
184
+ for (De(null), Ee.length = 0, xe = 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());
189
189
  }
190
- we.length = 0;
191
- } while (_e.length);
190
+ Se.length = 0;
191
+ } while (Ee.length);
192
192
  for (; Bt.length; )
193
193
  Bt.pop()();
194
- ut = !1, et.clear(), Ce(e);
194
+ ht = !1, rt.clear(), De(e);
195
195
  }
196
196
  function Kr(e) {
197
197
  if (e.fragment !== null) {
198
- e.update(), Ne(e.before_update);
198
+ e.update(), Re(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(lt);
200
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ft);
201
201
  }
202
202
  }
203
203
  function ei(e) {
204
204
  const t = [], r = [];
205
- we.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), we = t;
205
+ Se.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), Se = t;
206
206
  }
207
207
  const ti = /* @__PURE__ */ new Set();
208
208
  function ri(e, t) {
@@ -213,21 +213,21 @@ function Mt(e) {
213
213
  }
214
214
  function ii(e, t, r) {
215
215
  const { fragment: i, after_update: n } = e.$$;
216
- i && i.m(t, r), lt(() => {
217
- const s = e.$$.on_mount.map(tr).filter(bt);
218
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Ne(s), e.$$.on_mount = [];
219
- }), n.forEach(lt);
216
+ i && i.m(t, r), ft(() => {
217
+ const s = e.$$.on_mount.map(tr).filter(xt);
218
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Re(s), e.$$.on_mount = [];
219
+ }), n.forEach(ft);
220
220
  }
221
221
  function ni(e, t) {
222
222
  const r = e.$$;
223
- r.fragment !== null && (ei(r.after_update), Ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
223
+ r.fragment !== null && (ei(r.after_update), Re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
224
224
  }
225
225
  function si(e, t) {
226
- e.$$.dirty[0] === -1 && (_e.push(e), Qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
226
+ e.$$.dirty[0] === -1 && (Ee.push(e), Qr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
227
227
  }
228
228
  function oi(e, t, r, i, n, s, a = null, l = [-1]) {
229
- const o = De;
230
- Ce(e);
229
+ const o = Ie;
230
+ De(e);
231
231
  const u = e.$$ = {
232
232
  fragment: null,
233
233
  ctx: [],
@@ -235,7 +235,7 @@ function oi(e, t, r, i, n, s, a = null, l = [-1]) {
235
235
  props: s,
236
236
  update: K,
237
237
  not_equal: n,
238
- bound: $t(),
238
+ bound: At(),
239
239
  // lifecycle
240
240
  on_mount: [],
241
241
  on_destroy: [],
@@ -244,7 +244,7 @@ function oi(e, t, r, i, n, s, a = null, l = [-1]) {
244
244
  after_update: [],
245
245
  context: new Map(t.context || (o ? o.$$.context : [])),
246
246
  // everything else
247
- callbacks: $t(),
247
+ callbacks: At(),
248
248
  dirty: l,
249
249
  skip_bound: !1,
250
250
  root: t.target || o.$$.root
@@ -254,15 +254,15 @@ function oi(e, t, r, i, n, s, a = null, l = [-1]) {
254
254
  if (u.ctx = r ? r(e, t.props || {}, (c, m, ...E) => {
255
255
  const H = E.length ? E[0] : m;
256
256
  return u.ctx && n(u.ctx[c], u.ctx[c] = H) && (!u.skip_bound && u.bound[c] && u.bound[c](H), h && si(e, c)), m;
257
- }) : [], u.update(), h = !0, Ne(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
257
+ }) : [], u.update(), h = !0, Re(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
258
258
  if (t.hydrate) {
259
259
  const c = Wr(t.target);
260
- u.fragment && u.fragment.l(c), c.forEach(ne);
260
+ u.fragment && u.fragment.l(c), c.forEach(se);
261
261
  } else
262
262
  u.fragment && u.fragment.c();
263
263
  t.intro && ri(e.$$.fragment), ii(e, t.target, t.anchor), re();
264
264
  }
265
- Ce(o);
265
+ De(o);
266
266
  }
267
267
  let nr;
268
268
  typeof HTMLElement == "function" && (nr = class extends HTMLElement {
@@ -302,7 +302,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
302
302
  }
303
303
  }
304
304
  connectedCallback() {
305
- return At(this, null, function* () {
305
+ return $t(this, null, function* () {
306
306
  if (this.$$cn = !0, !this.$$c) {
307
307
  let t = function(s) {
308
308
  return () => {
@@ -316,10 +316,10 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
316
316
  * @param {HTMLElement} [anchor]
317
317
  */
318
318
  m: function(u, h) {
319
- ue(u, a, h);
319
+ le(u, a, h);
320
320
  },
321
321
  d: function(u) {
322
- u && ne(a);
322
+ u && se(a);
323
323
  }
324
324
  };
325
325
  };
@@ -331,7 +331,7 @@ typeof HTMLElement == "function" && (nr = class extends HTMLElement {
331
331
  s in i && (r[s] = [t(s)]);
332
332
  for (const s of this.attributes) {
333
333
  const a = this.$$g_p(s.name);
334
- a in this.$$d || (this.$$d[a] = Ge(a, s.value, this.$$p_d, "toProp"));
334
+ a in this.$$d || (this.$$d[a] = je(a, 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]);
@@ -348,7 +348,7 @@ typeof HTMLElement == "function" && (nr = 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 a = Ge(
351
+ const a = je(
352
352
  s,
353
353
  this.$$d[s],
354
354
  this.$$p_d,
@@ -372,7 +372,7 @@ typeof HTMLElement == "function" && (nr = 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] = Ge(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" && (nr = class extends HTMLElement {
385
385
  ) || t;
386
386
  }
387
387
  });
388
- function Ge(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 ai(e, t, r, i, n, s) {
433
433
  },
434
434
  set(o) {
435
435
  var u;
436
- o = Ge(l, o, t), this.$$d[l] = o, (u = this.$$c) == null || u.$set({ [l]: o });
436
+ o = je(l, o, t), this.$$d[l] = o, (u = this.$$c) == null || u.$set({ [l]: o });
437
437
  }
438
438
  });
439
439
  }), i.forEach((l) => {
@@ -476,7 +476,7 @@ class ui {
476
476
  * @returns {() => void}
477
477
  */
478
478
  $on(t, r) {
479
- if (!bt(r))
479
+ if (!xt(r))
480
480
  return K;
481
481
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
482
482
  return i.push(r), () => {
@@ -494,24 +494,24 @@ class ui {
494
494
  }
495
495
  const li = "4";
496
496
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(li);
497
- const xe = [];
497
+ const _e = [];
498
498
  function hi(e, t) {
499
499
  return {
500
- subscribe: Ye(e, t).subscribe
500
+ subscribe: Je(e, t).subscribe
501
501
  };
502
502
  }
503
- function Ye(e, t = K) {
503
+ function Je(e, t = K) {
504
504
  let r;
505
505
  const i = /* @__PURE__ */ new Set();
506
506
  function n(l) {
507
507
  if (rr(e, l) && (e = l, r)) {
508
- const o = !xe.length;
508
+ const o = !_e.length;
509
509
  for (const u of i)
510
- u[1](), xe.push(u, e);
510
+ u[1](), _e.push(u, e);
511
511
  if (o) {
512
- for (let u = 0; u < xe.length; u += 2)
513
- xe[u][0](xe[u + 1]);
514
- xe.length = 0;
512
+ for (let u = 0; u < _e.length; u += 2)
513
+ _e[u][0](_e[u + 1]);
514
+ _e.length = 0;
515
515
  }
516
516
  }
517
517
  }
@@ -540,7 +540,7 @@ function Ae(e, t, r) {
540
540
  return;
541
541
  c();
542
542
  const H = t(i ? u[0] : u, a, l);
543
- s ? a(H) : c = bt(H) ? H : K;
543
+ s ? a(H) : c = xt(H) ? H : K;
544
544
  }, E = n.map(
545
545
  (H, v) => ir(
546
546
  H,
@@ -553,12 +553,12 @@ function Ae(e, t, r) {
553
553
  )
554
554
  );
555
555
  return o = !0, m(), function() {
556
- Ne(E), c(), o = !1;
556
+ Re(E), c(), o = !1;
557
557
  };
558
558
  });
559
559
  }
560
560
  var sr = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
561
- function _t(e) {
561
+ function wt(e) {
562
562
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
563
563
  }
564
564
  var fi = function(t) {
@@ -578,19 +578,19 @@ function gi(e) {
578
578
  function vi(e) {
579
579
  return Array.isArray(e) ? [] : {};
580
580
  }
581
- function Ie(e, t) {
582
- return t.clone !== !1 && t.isMergeableObject(e) ? Te(vi(e), e, t) : e;
581
+ function Le(e, t) {
582
+ return t.clone !== !1 && t.isMergeableObject(e) ? He(vi(e), e, t) : e;
583
583
  }
584
584
  function bi(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 yi(e, t) {
590
590
  if (!t.customMerge)
591
- return Te;
591
+ return He;
592
592
  var r = t.customMerge(e);
593
- return typeof r == "function" ? r : Te;
593
+ return typeof r == "function" ? r : He;
594
594
  }
595
595
  function xi(e) {
596
596
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -613,65 +613,51 @@ function _i(e, t) {
613
613
  function Ei(e, t, r) {
614
614
  var i = {};
615
615
  return r.isMergeableObject(e) && Ct(e).forEach(function(n) {
616
- i[n] = Ie(e[n], r);
616
+ i[n] = Le(e[n], r);
617
617
  }), Ct(t).forEach(function(n) {
618
- _i(e, n) || (or(e, n) && r.isMergeableObject(t[n]) ? i[n] = yi(n, r)(e[n], t[n], r) : i[n] = Ie(t[n], r));
618
+ _i(e, n) || (or(e, n) && r.isMergeableObject(t[n]) ? i[n] = yi(n, r)(e[n], t[n], r) : i[n] = Le(t[n], r));
619
619
  }), i;
620
620
  }
621
- function Te(e, t, r) {
622
- r = r || {}, r.arrayMerge = r.arrayMerge || bi, r.isMergeableObject = r.isMergeableObject || fi, r.cloneUnlessOtherwiseSpecified = Ie;
621
+ function He(e, t, r) {
622
+ r = r || {}, r.arrayMerge = r.arrayMerge || bi, r.isMergeableObject = r.isMergeableObject || fi, 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) : Ei(e, t, r) : Ie(t, r);
624
+ return s ? i ? r.arrayMerge(e, t, r) : Ei(e, t, r) : Le(t, r);
625
625
  }
626
- Te.all = function(t, r) {
626
+ He.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 Te(i, n, r);
630
+ return He(i, n, r);
631
631
  }, {});
632
632
  };
633
- var wi = Te, Si = wi;
634
- const Ti = /* @__PURE__ */ _t(Si);
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) {
633
+ var wi = He, Si = wi;
634
+ const Ti = /* @__PURE__ */ wt(Si);
635
+ var ct = function(e, t) {
636
+ return ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
651
637
  r.__proto__ = i;
652
638
  } || function(r, i) {
653
639
  for (var n in i)
654
640
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
655
- }, ht(e, t);
641
+ }, ct(e, t);
656
642
  };
657
- function Ze(e, t) {
643
+ function Qe(e, t) {
658
644
  if (typeof t != "function" && t !== null)
659
645
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
660
- ht(e, t);
646
+ ct(e, t);
661
647
  function r() {
662
648
  this.constructor = e;
663
649
  }
664
650
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
665
651
  }
666
- var P = function() {
667
- return P = Object.assign || function(t) {
652
+ var ne = function() {
653
+ return ne = Object.assign || function(t) {
668
654
  for (var r, i = 1, n = arguments.length; i < n; i++) {
669
655
  r = arguments[i];
670
656
  for (var s in r)
671
657
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
672
658
  }
673
659
  return t;
674
- }, P.apply(this, arguments);
660
+ }, ne.apply(this, arguments);
675
661
  };
676
662
  function Hi(e, t) {
677
663
  var r = {};
@@ -682,14 +668,14 @@ function Hi(e, t) {
682
668
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
683
669
  return r;
684
670
  }
685
- function tt(e, t, r) {
686
- if (arguments.length === 2)
671
+ function it(e, t, r) {
672
+ if (r || arguments.length === 2)
687
673
  for (var i = 0, n = t.length, s; i < n; i++)
688
674
  (s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
689
- return e.concat(s || t);
675
+ return e.concat(s || Array.prototype.slice.call(t));
690
676
  }
691
- function rt(e, t) {
692
- var r = t && t.cache ? t.cache : Mi, i = t && t.serializer ? t.serializer : Bi, n = t && t.strategy ? t.strategy : Pi;
677
+ function nt(e, t) {
678
+ var r = t && t.cache ? t.cache : Ci, i = t && t.serializer ? t.serializer : Bi, n = t && t.strategy ? t.strategy : $i;
693
679
  return n(e, {
694
680
  cache: r,
695
681
  serializer: i
@@ -698,95 +684,103 @@ function rt(e, t) {
698
684
  function Oi(e) {
699
685
  return e == null || typeof e == "number" || typeof e == "boolean";
700
686
  }
701
- function ar(e, t, r, i) {
687
+ function Pi(e, t, r, i) {
702
688
  var n = Oi(i) ? i : r(i), s = t.get(n);
703
689
  return typeof s == "undefined" && (s = e.call(this, i), t.set(n, s)), s;
704
690
  }
705
- function ur(e, t, r) {
691
+ function ar(e, t, r) {
706
692
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
707
693
  return typeof s == "undefined" && (s = e.apply(this, i), t.set(n, s)), s;
708
694
  }
709
- function Et(e, t, r, i, n) {
695
+ function ur(e, t, r, i, n) {
710
696
  return r.bind(t, e, i, n);
711
697
  }
712
- function Pi(e, t) {
713
- var r = e.length === 1 ? ar : ur;
714
- return Et(e, this, r, t.cache.create(), t.serializer);
698
+ function $i(e, t) {
699
+ var r = e.length === 1 ? Pi : ar;
700
+ return ur(e, this, r, t.cache.create(), t.serializer);
715
701
  }
716
702
  function Ai(e, t) {
717
- return Et(e, this, ur, t.cache.create(), t.serializer);
718
- }
719
- function $i(e, t) {
720
- return Et(e, this, ar, t.cache.create(), t.serializer);
703
+ return ur(e, this, ar, t.cache.create(), t.serializer);
721
704
  }
722
705
  var Bi = function() {
723
706
  return JSON.stringify(arguments);
724
- };
725
- function wt() {
726
- this.cache = /* @__PURE__ */ Object.create(null);
727
- }
728
- wt.prototype.get = function(e) {
729
- return this.cache[e];
730
- };
731
- wt.prototype.set = function(e, t) {
732
- this.cache[e] = t;
733
- };
734
- var Mi = {
707
+ }, Mi = (
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
+ ), Ci = {
735
720
  create: function() {
736
- return new wt();
721
+ return new Mi();
737
722
  }
738
- }, it = {
739
- variadic: Ai,
740
- monadic: $i
741
- }, T;
723
+ }, st = {
724
+ variadic: Ai
725
+ }, We = function() {
726
+ return We = 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
+ }, We.apply(this, arguments);
734
+ };
735
+ var T;
742
736
  (function(e) {
743
737
  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";
744
738
  })(T || (T = {}));
745
- var C;
739
+ var M;
746
740
  (function(e) {
747
741
  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";
748
- })(C || (C = {}));
749
- var He;
742
+ })(M || (M = {}));
743
+ var Oe;
750
744
  (function(e) {
751
745
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
752
- })(He || (He = {}));
746
+ })(Oe || (Oe = {}));
753
747
  function Dt(e) {
754
- return e.type === C.literal;
748
+ return e.type === M.literal;
755
749
  }
756
- function Ci(e) {
757
- return e.type === C.argument;
750
+ function Di(e) {
751
+ return e.type === M.argument;
758
752
  }
759
753
  function lr(e) {
760
- return e.type === C.number;
754
+ return e.type === M.number;
761
755
  }
762
756
  function hr(e) {
763
- return e.type === C.date;
757
+ return e.type === M.date;
764
758
  }
765
759
  function fr(e) {
766
- return e.type === C.time;
760
+ return e.type === M.time;
767
761
  }
768
762
  function cr(e) {
769
- return e.type === C.select;
763
+ return e.type === M.select;
770
764
  }
771
765
  function dr(e) {
772
- return e.type === C.plural;
766
+ return e.type === M.plural;
773
767
  }
774
- function Di(e) {
775
- return e.type === C.pound;
768
+ function Ii(e) {
769
+ return e.type === M.pound;
776
770
  }
777
771
  function mr(e) {
778
- return e.type === C.tag;
772
+ return e.type === M.tag;
779
773
  }
780
774
  function pr(e) {
781
- return !!(e && typeof e == "object" && e.type === He.number);
775
+ return !!(e && typeof e == "object" && e.type === Oe.number);
782
776
  }
783
- function ft(e) {
784
- return !!(e && typeof e == "object" && e.type === He.dateTime);
777
+ function dt(e) {
778
+ return !!(e && typeof e == "object" && e.type === Oe.dateTime);
785
779
  }
786
- var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ii = /(?:[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;
787
- function Li(e) {
780
+ var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Li = /(?:[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 Ni(e) {
788
782
  var t = {};
789
- return e.replace(Ii, function(r) {
783
+ return e.replace(Li, function(r) {
790
784
  var i = r.length;
791
785
  switch (r[0]) {
792
786
  case "G":
@@ -875,11 +869,21 @@ function Li(e) {
875
869
  return "";
876
870
  }), t;
877
871
  }
878
- var Ni = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
879
- function Ri(e) {
872
+ var D = function() {
873
+ return D = 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
+ }, D.apply(this, arguments);
881
+ };
882
+ var Ri = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
883
+ function ki(e) {
880
884
  if (e.length === 0)
881
885
  throw new Error("Number skeleton cannot be empty");
882
- for (var t = e.split(Ni).filter(function(m) {
886
+ for (var t = e.split(Ri).filter(function(m) {
883
887
  return m.length > 0;
884
888
  }), r = [], i = 0, n = t; i < n.length; i++) {
885
889
  var s = n[i], a = s.split("/");
@@ -894,10 +898,10 @@ function Ri(e) {
894
898
  }
895
899
  return r;
896
900
  }
897
- function ki(e) {
901
+ function Ui(e) {
898
902
  return e.replace(/^(.*?)-/, "");
899
903
  }
900
- var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vr = /^(@+)?(\+|#+)?[rs]?$/g, Ui = /(\*)(0+)|(#+)(0+)|(0+)/g, br = /^(0+)$/;
904
+ var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vr = /^(@+)?(\+|#+)?[rs]?$/g, Fi = /(\*)(0+)|(#+)(0+)|(0+)/g, br = /^(0+)$/;
901
905
  function Lt(e) {
902
906
  var t = {};
903
907
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vr, function(r, i, n) {
@@ -944,7 +948,7 @@ function yr(e) {
944
948
  };
945
949
  }
946
950
  }
947
- function Fi(e) {
951
+ function Vi(e) {
948
952
  var t;
949
953
  if (e[0] === "E" && e[1] === "E" ? (t = {
950
954
  notation: "engineering"
@@ -962,7 +966,7 @@ function Nt(e) {
962
966
  var t = {}, r = yr(e);
963
967
  return r || t;
964
968
  }
965
- function Vi(e) {
969
+ function Gi(e) {
966
970
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
967
971
  var n = i[r];
968
972
  switch (n.stem) {
@@ -986,7 +990,7 @@ function Vi(e) {
986
990
  continue;
987
991
  case "measure-unit":
988
992
  case "unit":
989
- t.style = "unit", t.unit = ki(n.options[0]);
993
+ t.style = "unit", t.unit = Ui(n.options[0]);
990
994
  continue;
991
995
  case "compact-short":
992
996
  case "K":
@@ -997,13 +1001,13 @@ function Vi(e) {
997
1001
  t.notation = "compact", t.compactDisplay = "long";
998
1002
  continue;
999
1003
  case "scientific":
1000
- t = P(P(P({}, t), { notation: "scientific" }), n.options.reduce(function(o, u) {
1001
- return P(P({}, o), Nt(u));
1004
+ t = D(D(D({}, t), { notation: "scientific" }), n.options.reduce(function(o, u) {
1005
+ return D(D({}, o), Nt(u));
1002
1006
  }, {}));
1003
1007
  continue;
1004
1008
  case "engineering":
1005
- t = P(P(P({}, t), { notation: "engineering" }), n.options.reduce(function(o, u) {
1006
- return P(P({}, o), Nt(u));
1009
+ t = D(D(D({}, t), { notation: "engineering" }), n.options.reduce(function(o, u) {
1010
+ return D(D({}, o), Nt(u));
1007
1011
  }, {}));
1008
1012
  continue;
1009
1013
  case "notation-simple":
@@ -1048,7 +1052,7 @@ function Vi(e) {
1048
1052
  case "integer-width":
1049
1053
  if (n.options.length > 1)
1050
1054
  throw new RangeError("integer-width stems only accept a single optional option");
1051
- n.options[0].replace(Ui, function(o, u, h, c, m, E) {
1055
+ n.options[0].replace(Fi, function(o, u, h, c, m, E) {
1052
1056
  if (u)
1053
1057
  t.minimumIntegerDigits = h.length;
1054
1058
  else {
@@ -1072,21 +1076,21 @@ function Vi(e) {
1072
1076
  return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && E ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + E.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1073
1077
  });
1074
1078
  var s = n.options[0];
1075
- s === "w" ? t = P(P({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = P(P({}, t), Lt(s)));
1079
+ s === "w" ? t = D(D({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = D(D({}, t), Lt(s)));
1076
1080
  continue;
1077
1081
  }
1078
1082
  if (vr.test(n.stem)) {
1079
- t = P(P({}, t), Lt(n.stem));
1083
+ t = D(D({}, t), Lt(n.stem));
1080
1084
  continue;
1081
1085
  }
1082
1086
  var a = yr(n.stem);
1083
- a && (t = P(P({}, t), a));
1084
- var l = Fi(n.stem);
1085
- l && (t = P(P({}, t), l));
1087
+ a && (t = D(D({}, t), a));
1088
+ var l = Vi(n.stem);
1089
+ l && (t = D(D({}, t), l));
1086
1090
  }
1087
1091
  return t;
1088
1092
  }
1089
- var Ve = {
1093
+ var Ge = {
1090
1094
  "001": [
1091
1095
  "H",
1092
1096
  "h"
@@ -2501,13 +2505,13 @@ var Ve = {
2501
2505
  "h"
2502
2506
  ]
2503
2507
  };
2504
- function Gi(e, t) {
2508
+ function ji(e, t) {
2505
2509
  for (var r = "", i = 0; i < e.length; i++) {
2506
2510
  var n = e.charAt(i);
2507
2511
  if (n === "j") {
2508
2512
  for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2509
2513
  s++, i++;
2510
- var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = ji(t);
2514
+ var a = 1 + (s & 1), l = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = zi(t);
2511
2515
  for ((u == "H" || u == "k") && (l = 0); l-- > 0; )
2512
2516
  r += o;
2513
2517
  for (; a-- > 0; )
@@ -2517,7 +2521,7 @@ function Gi(e, t) {
2517
2521
  }
2518
2522
  return r;
2519
2523
  }
2520
- function ji(e) {
2524
+ function zi(e) {
2521
2525
  var t = e.hourCycle;
2522
2526
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2523
2527
  e.hourCycles && // @ts-ignore
@@ -2536,23 +2540,23 @@ function ji(e) {
2536
2540
  }
2537
2541
  var r = e.language, i;
2538
2542
  r !== "root" && (i = e.maximize().region);
2539
- var n = Ve[i || ""] || Ve[r || ""] || Ve["".concat(r, "-001")] || Ve["001"];
2543
+ var n = Ge[i || ""] || Ge[r || ""] || Ge["".concat(r, "-001")] || Ge["001"];
2540
2544
  return n[0];
2541
2545
  }
2542
- var nt, zi = new RegExp("^".concat(gr.source, "*")), Xi = new RegExp("".concat(gr.source, "*$"));
2546
+ var ot, Xi = new RegExp("^".concat(gr.source, "*")), Wi = new RegExp("".concat(gr.source, "*$"));
2543
2547
  function O(e, t) {
2544
2548
  return { start: e, end: t };
2545
2549
  }
2546
- var Wi = !!String.prototype.startsWith && "_a".startsWith("a", 1), qi = !!String.fromCodePoint, Yi = !!Object.fromEntries, Zi = !!String.prototype.codePointAt, Ji = !!String.prototype.trimStart, Qi = !!String.prototype.trimEnd, Ki = !!Number.isSafeInteger, en = Ki ? Number.isSafeInteger : function(e) {
2550
+ var qi = !!String.prototype.startsWith && "_a".startsWith("a", 1), Yi = !!String.fromCodePoint, Zi = !!Object.fromEntries, Ji = !!String.prototype.codePointAt, Qi = !!String.prototype.trimStart, Ki = !!String.prototype.trimEnd, en = !!Number.isSafeInteger, tn = en ? Number.isSafeInteger : function(e) {
2547
2551
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2548
- }, ct = !0;
2552
+ }, mt = !0;
2549
2553
  try {
2550
- var tn = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2551
- ct = ((nt = tn.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
2554
+ var rn = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2555
+ mt = ((ot = rn.exec("a")) === null || ot === void 0 ? void 0 : ot[0]) === "a";
2552
2556
  } catch (e) {
2553
- ct = !1;
2557
+ mt = !1;
2554
2558
  }
2555
- var Rt = Wi ? (
2559
+ var Rt = qi ? (
2556
2560
  // Native
2557
2561
  function(t, r, i) {
2558
2562
  return t.startsWith(r, i);
@@ -2562,7 +2566,7 @@ var Rt = Wi ? (
2562
2566
  function(t, r, i) {
2563
2567
  return t.slice(i, i + r.length) === r;
2564
2568
  }
2565
- ), dt = qi ? String.fromCodePoint : (
2569
+ ), pt = Yi ? String.fromCodePoint : (
2566
2570
  // IE11
2567
2571
  function() {
2568
2572
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2576,7 +2580,7 @@ var Rt = Wi ? (
2576
2580
  }
2577
2581
  ), kt = (
2578
2582
  // native
2579
- Yi ? Object.fromEntries : (
2583
+ Zi ? Object.fromEntries : (
2580
2584
  // Ponyfill
2581
2585
  function(t) {
2582
2586
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
@@ -2586,7 +2590,7 @@ var Rt = Wi ? (
2586
2590
  return r;
2587
2591
  }
2588
2592
  )
2589
- ), xr = Zi ? (
2593
+ ), xr = Ji ? (
2590
2594
  // Native
2591
2595
  function(t, r) {
2592
2596
  return t.codePointAt(r);
@@ -2600,7 +2604,7 @@ var Rt = Wi ? (
2600
2604
  return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
2601
2605
  }
2602
2606
  }
2603
- ), rn = Ji ? (
2607
+ ), nn = Qi ? (
2604
2608
  // Native
2605
2609
  function(t) {
2606
2610
  return t.trimStart();
@@ -2608,9 +2612,9 @@ var Rt = Wi ? (
2608
2612
  ) : (
2609
2613
  // Ponyfill
2610
2614
  function(t) {
2611
- return t.replace(zi, "");
2615
+ return t.replace(Xi, "");
2612
2616
  }
2613
- ), nn = Qi ? (
2617
+ ), sn = Ki ? (
2614
2618
  // Native
2615
2619
  function(t) {
2616
2620
  return t.trimEnd();
@@ -2618,32 +2622,32 @@ var Rt = Wi ? (
2618
2622
  ) : (
2619
2623
  // Ponyfill
2620
2624
  function(t) {
2621
- return t.replace(Xi, "");
2625
+ return t.replace(Wi, "");
2622
2626
  }
2623
2627
  );
2624
2628
  function _r(e, t) {
2625
2629
  return new RegExp(e, t);
2626
2630
  }
2627
- var mt;
2628
- if (ct) {
2631
+ var gt;
2632
+ if (mt) {
2629
2633
  var Ut = _r("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2630
- mt = function(t, r) {
2634
+ gt = function(t, r) {
2631
2635
  var i;
2632
2636
  Ut.lastIndex = r;
2633
2637
  var n = Ut.exec(t);
2634
2638
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2635
2639
  };
2636
2640
  } else
2637
- mt = function(t, r) {
2641
+ gt = function(t, r) {
2638
2642
  for (var i = []; ; ) {
2639
2643
  var n = xr(t, r);
2640
- if (n === void 0 || Er(n) || un(n))
2644
+ if (n === void 0 || Er(n) || ln(n))
2641
2645
  break;
2642
2646
  i.push(n), r += n >= 65536 ? 2 : 1;
2643
2647
  }
2644
- return dt.apply(void 0, i);
2648
+ return pt.apply(void 0, i);
2645
2649
  };
2646
- var sn = (
2650
+ var on = (
2647
2651
  /** @class */
2648
2652
  function() {
2649
2653
  function e(t, r) {
@@ -2667,14 +2671,14 @@ var sn = (
2667
2671
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2668
2672
  var l = this.clonePosition();
2669
2673
  this.bump(), n.push({
2670
- type: C.pound,
2674
+ type: M.pound,
2671
2675
  location: O(l, this.clonePosition())
2672
2676
  });
2673
2677
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2674
2678
  if (i)
2675
2679
  break;
2676
2680
  return this.error(T.UNMATCHED_CLOSING_TAG, O(this.clonePosition(), this.clonePosition()));
2677
- } else if (s === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
2681
+ } else if (s === 60 && !this.ignoreTag && vt(this.peek() || 0)) {
2678
2682
  var a = this.parseTag(t, r);
2679
2683
  if (a.err)
2680
2684
  return a;
@@ -2695,7 +2699,7 @@ var sn = (
2695
2699
  if (this.bumpSpace(), this.bumpIf("/>"))
2696
2700
  return {
2697
2701
  val: {
2698
- type: C.literal,
2702
+ type: M.literal,
2699
2703
  value: "<".concat(n, "/>"),
2700
2704
  location: O(i, this.clonePosition())
2701
2705
  },
@@ -2707,12 +2711,12 @@ var sn = (
2707
2711
  return s;
2708
2712
  var a = s.val, l = this.clonePosition();
2709
2713
  if (this.bumpIf("</")) {
2710
- if (this.isEOF() || !pt(this.char()))
2714
+ if (this.isEOF() || !vt(this.char()))
2711
2715
  return this.error(T.INVALID_TAG, O(l, this.clonePosition()));
2712
2716
  var o = this.clonePosition(), u = this.parseTagName();
2713
2717
  return n !== u ? this.error(T.UNMATCHED_CLOSING_TAG, O(o, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2714
2718
  val: {
2715
- type: C.tag,
2719
+ type: M.tag,
2716
2720
  value: n,
2717
2721
  children: a,
2718
2722
  location: O(i, this.clonePosition())
@@ -2725,7 +2729,7 @@ var sn = (
2725
2729
  return this.error(T.INVALID_TAG, O(i, this.clonePosition()));
2726
2730
  }, e.prototype.parseTagName = function() {
2727
2731
  var t = this.offset();
2728
- for (this.bump(); !this.isEOF() && an(this.char()); )
2732
+ for (this.bump(); !this.isEOF() && un(this.char()); )
2729
2733
  this.bump();
2730
2734
  return this.message.slice(t, this.offset());
2731
2735
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2749,12 +2753,12 @@ var sn = (
2749
2753
  }
2750
2754
  var o = O(i, this.clonePosition());
2751
2755
  return {
2752
- val: { type: C.literal, value: n, location: o },
2756
+ val: { type: M.literal, value: n, location: o },
2753
2757
  err: null
2754
2758
  };
2755
2759
  }, e.prototype.tryParseLeftAngleBracket = function() {
2756
2760
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2757
- !on(this.peek() || 0)) ? (this.bump(), "<") : null;
2761
+ !an(this.peek() || 0)) ? (this.bump(), "<") : null;
2758
2762
  }, e.prototype.tryParseQuote = function(t) {
2759
2763
  if (this.isEOF() || this.char() !== 39)
2760
2764
  return null;
@@ -2788,12 +2792,12 @@ var sn = (
2788
2792
  r.push(i);
2789
2793
  this.bump();
2790
2794
  }
2791
- return dt.apply(void 0, r);
2795
+ return pt.apply(void 0, r);
2792
2796
  }, e.prototype.tryParseUnquoted = function(t, r) {
2793
2797
  if (this.isEOF())
2794
2798
  return null;
2795
2799
  var i = this.char();
2796
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), dt(i));
2800
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), pt(i));
2797
2801
  }, e.prototype.parseArgument = function(t, r) {
2798
2802
  var i = this.clonePosition();
2799
2803
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2809,7 +2813,7 @@ var sn = (
2809
2813
  case 125:
2810
2814
  return this.bump(), {
2811
2815
  val: {
2812
- type: C.argument,
2816
+ type: M.argument,
2813
2817
  // value does not include the opening and closing braces.
2814
2818
  value: n,
2815
2819
  location: O(i, this.clonePosition())
@@ -2822,7 +2826,7 @@ var sn = (
2822
2826
  return this.error(T.MALFORMED_ARGUMENT, O(i, this.clonePosition()));
2823
2827
  }
2824
2828
  }, e.prototype.parseIdentifierIfPossible = function() {
2825
- var t = this.clonePosition(), r = this.offset(), i = mt(this.message, r), n = r + i.length;
2829
+ var t = this.clonePosition(), r = this.offset(), i = gt(this.message, r), n = r + i.length;
2826
2830
  this.bumpTo(n);
2827
2831
  var s = this.clonePosition(), a = O(t, s);
2828
2832
  return { value: i, location: a };
@@ -2841,7 +2845,7 @@ var sn = (
2841
2845
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2842
2846
  if (c.err)
2843
2847
  return c;
2844
- var m = nn(c.val);
2848
+ var m = sn(c.val);
2845
2849
  if (m.length === 0)
2846
2850
  return this.error(T.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
2847
2851
  var E = O(h, this.clonePosition());
@@ -2852,24 +2856,24 @@ var sn = (
2852
2856
  return H;
2853
2857
  var v = O(n, this.clonePosition());
2854
2858
  if (u && Rt(u == null ? void 0 : u.style, "::", 0)) {
2855
- var $ = rn(u.style.slice(2));
2859
+ var $ = nn(u.style.slice(2));
2856
2860
  if (l === "number") {
2857
2861
  var c = this.parseNumberSkeletonFromString($, u.styleLocation);
2858
2862
  return c.err ? c : {
2859
- val: { type: C.number, value: i, location: v, style: c.val },
2863
+ val: { type: M.number, value: i, location: v, style: c.val },
2860
2864
  err: null
2861
2865
  };
2862
2866
  } else {
2863
2867
  if ($.length === 0)
2864
2868
  return this.error(T.EXPECT_DATE_TIME_SKELETON, v);
2865
2869
  var G = $;
2866
- this.locale && (G = Gi($, this.locale));
2870
+ this.locale && (G = ji($, this.locale));
2867
2871
  var m = {
2868
- type: He.dateTime,
2872
+ type: Oe.dateTime,
2869
2873
  pattern: G,
2870
2874
  location: u.styleLocation,
2871
- parsedOptions: this.shouldParseSkeletons ? Li(G) : {}
2872
- }, U = l === "date" ? C.date : C.time;
2875
+ parsedOptions: this.shouldParseSkeletons ? Ni(G) : {}
2876
+ }, U = l === "date" ? M.date : M.time;
2873
2877
  return {
2874
2878
  val: { type: U, value: i, location: v, style: m },
2875
2879
  err: null
@@ -2878,7 +2882,7 @@ var sn = (
2878
2882
  }
2879
2883
  return {
2880
2884
  val: {
2881
- type: l === "number" ? C.number : l === "date" ? C.date : C.time,
2885
+ type: l === "number" ? M.number : l === "date" ? M.date : M.time,
2882
2886
  value: i,
2883
2887
  location: v,
2884
2888
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
@@ -2889,9 +2893,9 @@ var sn = (
2889
2893
  case "plural":
2890
2894
  case "selectordinal":
2891
2895
  case "select": {
2892
- var B = this.clonePosition();
2896
+ var A = this.clonePosition();
2893
2897
  if (this.bumpSpace(), !this.bumpIf(","))
2894
- return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, O(B, P({}, B)));
2898
+ return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, O(A, We({}, A)));
2895
2899
  this.bumpSpace();
2896
2900
  var X = this.parseIdentifierIfPossible(), I = 0;
2897
2901
  if (l !== "select" && X.value === "offset") {
@@ -2912,7 +2916,7 @@ var sn = (
2912
2916
  var Y = O(n, this.clonePosition());
2913
2917
  return l === "select" ? {
2914
2918
  val: {
2915
- type: C.select,
2919
+ type: M.select,
2916
2920
  value: i,
2917
2921
  options: kt(L.val),
2918
2922
  location: Y
@@ -2920,7 +2924,7 @@ var sn = (
2920
2924
  err: null
2921
2925
  } : {
2922
2926
  val: {
2923
- type: C.plural,
2927
+ type: M.plural,
2924
2928
  value: i,
2925
2929
  options: kt(L.val),
2926
2930
  offset: I,
@@ -2973,16 +2977,16 @@ var sn = (
2973
2977
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2974
2978
  var i = [];
2975
2979
  try {
2976
- i = Ri(t);
2980
+ i = ki(t);
2977
2981
  } catch (n) {
2978
2982
  return this.error(T.INVALID_NUMBER_SKELETON, r);
2979
2983
  }
2980
2984
  return {
2981
2985
  val: {
2982
- type: He.number,
2986
+ type: Oe.number,
2983
2987
  tokens: i,
2984
2988
  location: r,
2985
- parsedOptions: this.shouldParseSkeletons ? Vi(i) : {}
2989
+ parsedOptions: this.shouldParseSkeletons ? Gi(i) : {}
2986
2990
  },
2987
2991
  err: null
2988
2992
  };
@@ -3030,7 +3034,7 @@ var sn = (
3030
3034
  break;
3031
3035
  }
3032
3036
  var o = O(n, this.clonePosition());
3033
- return s ? (a *= i, en(a) ? { val: a, err: null } : this.error(r, o)) : this.error(t, o);
3037
+ return s ? (a *= i, tn(a) ? { val: a, err: null } : this.error(r, o)) : this.error(t, o);
3034
3038
  }, e.prototype.offset = function() {
3035
3039
  return this.position.offset;
3036
3040
  }, e.prototype.isEOF = function() {
@@ -3096,47 +3100,47 @@ var sn = (
3096
3100
  }, e;
3097
3101
  }()
3098
3102
  );
3099
- function pt(e) {
3103
+ function vt(e) {
3100
3104
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3101
3105
  }
3102
- function on(e) {
3103
- return pt(e) || e === 47;
3104
- }
3105
3106
  function an(e) {
3107
+ return vt(e) || e === 47;
3108
+ }
3109
+ function un(e) {
3106
3110
  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;
3107
3111
  }
3108
3112
  function Er(e) {
3109
3113
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3110
3114
  }
3111
- function un(e) {
3115
+ function ln(e) {
3112
3116
  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;
3113
3117
  }
3114
- function gt(e) {
3118
+ function bt(e) {
3115
3119
  e.forEach(function(t) {
3116
3120
  if (delete t.location, cr(t) || dr(t))
3117
3121
  for (var r in t.options)
3118
- delete t.options[r].location, gt(t.options[r].value);
3122
+ delete t.options[r].location, bt(t.options[r].value);
3119
3123
  else
3120
- lr(t) && pr(t.style) || (hr(t) || fr(t)) && ft(t.style) ? delete t.style.location : mr(t) && gt(t.children);
3124
+ lr(t) && pr(t.style) || (hr(t) || fr(t)) && dt(t.style) ? delete t.style.location : mr(t) && bt(t.children);
3121
3125
  });
3122
3126
  }
3123
- function ln(e, t) {
3124
- t === void 0 && (t = {}), t = P({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3125
- var r = new sn(e, t).parse();
3127
+ function hn(e, t) {
3128
+ t === void 0 && (t = {}), t = We({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3129
+ var r = new on(e, t).parse();
3126
3130
  if (r.err) {
3127
3131
  var i = SyntaxError(T[r.err.kind]);
3128
3132
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3129
3133
  }
3130
- return t != null && t.captureLocation || gt(r.val), r.val;
3134
+ return t != null && t.captureLocation || bt(r.val), r.val;
3131
3135
  }
3132
- var Oe;
3136
+ var Pe;
3133
3137
  (function(e) {
3134
3138
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3135
- })(Oe || (Oe = {}));
3136
- var Je = (
3139
+ })(Pe || (Pe = {}));
3140
+ var Ke = (
3137
3141
  /** @class */
3138
3142
  function(e) {
3139
- Ze(t, e);
3143
+ Qe(t, e);
3140
3144
  function t(r, i, n) {
3141
3145
  var s = e.call(this, r) || this;
3142
3146
  return s.code = i, s.originalMessage = n, s;
@@ -3148,44 +3152,44 @@ var Je = (
3148
3152
  ), Ft = (
3149
3153
  /** @class */
3150
3154
  function(e) {
3151
- Ze(t, e);
3155
+ Qe(t, e);
3152
3156
  function t(r, i, n, s) {
3153
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Oe.INVALID_VALUE, s) || this;
3157
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Pe.INVALID_VALUE, s) || this;
3154
3158
  }
3155
3159
  return t;
3156
- }(Je)
3157
- ), hn = (
3160
+ }(Ke)
3161
+ ), fn = (
3158
3162
  /** @class */
3159
3163
  function(e) {
3160
- Ze(t, e);
3164
+ Qe(t, e);
3161
3165
  function t(r, i, n) {
3162
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Oe.INVALID_VALUE, n) || this;
3166
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Pe.INVALID_VALUE, n) || this;
3163
3167
  }
3164
3168
  return t;
3165
- }(Je)
3166
- ), fn = (
3169
+ }(Ke)
3170
+ ), cn = (
3167
3171
  /** @class */
3168
3172
  function(e) {
3169
- Ze(t, e);
3173
+ Qe(t, e);
3170
3174
  function t(r, i) {
3171
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Oe.MISSING_VALUE, i) || this;
3175
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Pe.MISSING_VALUE, i) || this;
3172
3176
  }
3173
3177
  return t;
3174
- }(Je)
3178
+ }(Ke)
3175
3179
  ), z;
3176
3180
  (function(e) {
3177
3181
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3178
3182
  })(z || (z = {}));
3179
- function cn(e) {
3183
+ function dn(e) {
3180
3184
  return e.length < 2 ? e : e.reduce(function(t, r) {
3181
3185
  var i = t[t.length - 1];
3182
3186
  return !i || i.type !== z.literal || r.type !== z.literal ? t.push(r) : i.value += r.value, t;
3183
3187
  }, []);
3184
3188
  }
3185
- function dn(e) {
3189
+ function mn(e) {
3186
3190
  return typeof e == "function";
3187
3191
  }
3188
- function je(e, t, r, i, n, s, a) {
3192
+ function ze(e, t, r, i, n, s, a) {
3189
3193
  if (e.length === 1 && Dt(e[0]))
3190
3194
  return [
3191
3195
  {
@@ -3202,7 +3206,7 @@ function je(e, t, r, i, n, s, a) {
3202
3206
  });
3203
3207
  continue;
3204
3208
  }
3205
- if (Di(h)) {
3209
+ if (Ii(h)) {
3206
3210
  typeof s == "number" && l.push({
3207
3211
  type: z.literal,
3208
3212
  value: r.getNumberFormat(t).format(s)
@@ -3211,9 +3215,9 @@ function je(e, t, r, i, n, s, a) {
3211
3215
  }
3212
3216
  var c = h.value;
3213
3217
  if (!(n && c in n))
3214
- throw new fn(c, a);
3218
+ throw new cn(c, a);
3215
3219
  var m = n[c];
3216
- if (Ci(h)) {
3220
+ if (Di(h)) {
3217
3221
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), l.push({
3218
3222
  type: typeof m == "string" ? z.literal : z.object,
3219
3223
  value: m
@@ -3221,7 +3225,7 @@ function je(e, t, r, i, n, s, a) {
3221
3225
  continue;
3222
3226
  }
3223
3227
  if (hr(h)) {
3224
- var E = typeof h.style == "string" ? i.date[h.style] : ft(h.style) ? h.style.parsedOptions : void 0;
3228
+ var E = typeof h.style == "string" ? i.date[h.style] : dt(h.style) ? h.style.parsedOptions : void 0;
3225
3229
  l.push({
3226
3230
  type: z.literal,
3227
3231
  value: r.getDateTimeFormat(t, E).format(m)
@@ -3229,7 +3233,7 @@ function je(e, t, r, i, n, s, a) {
3229
3233
  continue;
3230
3234
  }
3231
3235
  if (fr(h)) {
3232
- var E = typeof h.style == "string" ? i.time[h.style] : ft(h.style) ? h.style.parsedOptions : i.time.medium;
3236
+ var E = typeof h.style == "string" ? i.time[h.style] : dt(h.style) ? h.style.parsedOptions : i.time.medium;
3233
3237
  l.push({
3234
3238
  type: z.literal,
3235
3239
  value: r.getDateTimeFormat(t, E).format(m)
@@ -3246,9 +3250,9 @@ function je(e, t, r, i, n, s, a) {
3246
3250
  }
3247
3251
  if (mr(h)) {
3248
3252
  var H = h.children, v = h.value, $ = n[v];
3249
- if (!dn($))
3250
- throw new hn(v, "function", a);
3251
- var G = je(H, t, r, i, n, s), U = $(G.map(function(I) {
3253
+ if (!mn($))
3254
+ throw new fn(v, "function", a);
3255
+ var G = ze(H, t, r, i, n, s), U = $(G.map(function(I) {
3252
3256
  return I.value;
3253
3257
  }));
3254
3258
  Array.isArray(U) || (U = [U]), l.push.apply(l, U.map(function(I) {
@@ -3259,41 +3263,41 @@ function je(e, t, r, i, n, s, a) {
3259
3263
  }));
3260
3264
  }
3261
3265
  if (cr(h)) {
3262
- var B = h.options[m] || h.options.other;
3263
- if (!B)
3266
+ var A = h.options[m] || h.options.other;
3267
+ if (!A)
3264
3268
  throw new Ft(h.value, m, Object.keys(h.options), a);
3265
- l.push.apply(l, je(B.value, t, r, i, n));
3269
+ l.push.apply(l, ze(A.value, t, r, i, n));
3266
3270
  continue;
3267
3271
  }
3268
3272
  if (dr(h)) {
3269
- var B = h.options["=".concat(m)];
3270
- if (!B) {
3273
+ var A = h.options["=".concat(m)];
3274
+ if (!A) {
3271
3275
  if (!Intl.PluralRules)
3272
- throw new Je(`Intl.PluralRules is not available in this environment.
3276
+ throw new Ke(`Intl.PluralRules is not available in this environment.
3273
3277
  Try polyfilling it using "@formatjs/intl-pluralrules"
3274
- `, Oe.MISSING_INTL_API, a);
3278
+ `, Pe.MISSING_INTL_API, a);
3275
3279
  var X = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3276
- B = h.options[X] || h.options.other;
3280
+ A = h.options[X] || h.options.other;
3277
3281
  }
3278
- if (!B)
3282
+ if (!A)
3279
3283
  throw new Ft(h.value, m, Object.keys(h.options), a);
3280
- l.push.apply(l, je(B.value, t, r, i, n, m - (h.offset || 0)));
3284
+ l.push.apply(l, ze(A.value, t, r, i, n, m - (h.offset || 0)));
3281
3285
  continue;
3282
3286
  }
3283
3287
  }
3284
- return cn(l);
3288
+ return dn(l);
3285
3289
  }
3286
- function mn(e, t) {
3287
- return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3288
- return r[i] = P(P({}, e[i]), t[i] || {}), r;
3290
+ function pn(e, t) {
3291
+ return t ? ne(ne(ne({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3292
+ return r[i] = ne(ne({}, e[i]), t[i] || {}), r;
3289
3293
  }, {})) : e;
3290
3294
  }
3291
- function pn(e, t) {
3295
+ function gn(e, t) {
3292
3296
  return t ? Object.keys(e).reduce(function(r, i) {
3293
- return r[i] = mn(e[i], t[i]), r;
3294
- }, P({}, e)) : e;
3297
+ return r[i] = pn(e[i], t[i]), r;
3298
+ }, ne({}, e)) : e;
3295
3299
  }
3296
- function st(e) {
3300
+ function at(e) {
3297
3301
  return {
3298
3302
  create: function() {
3299
3303
  return {
@@ -3307,35 +3311,35 @@ function st(e) {
3307
3311
  }
3308
3312
  };
3309
3313
  }
3310
- function gn(e) {
3314
+ function vn(e) {
3311
3315
  return e === void 0 && (e = {
3312
3316
  number: {},
3313
3317
  dateTime: {},
3314
3318
  pluralRules: {}
3315
3319
  }), {
3316
- getNumberFormat: rt(function() {
3320
+ getNumberFormat: nt(function() {
3317
3321
  for (var t, r = [], i = 0; i < arguments.length; i++)
3318
3322
  r[i] = arguments[i];
3319
- return new ((t = Intl.NumberFormat).bind.apply(t, tt([void 0], r, !1)))();
3323
+ return new ((t = Intl.NumberFormat).bind.apply(t, it([void 0], r, !1)))();
3320
3324
  }, {
3321
- cache: st(e.number),
3322
- strategy: it.variadic
3325
+ cache: at(e.number),
3326
+ strategy: st.variadic
3323
3327
  }),
3324
- getDateTimeFormat: rt(function() {
3328
+ getDateTimeFormat: nt(function() {
3325
3329
  for (var t, r = [], i = 0; i < arguments.length; i++)
3326
3330
  r[i] = arguments[i];
3327
- return new ((t = Intl.DateTimeFormat).bind.apply(t, tt([void 0], r, !1)))();
3331
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, it([void 0], r, !1)))();
3328
3332
  }, {
3329
- cache: st(e.dateTime),
3330
- strategy: it.variadic
3333
+ cache: at(e.dateTime),
3334
+ strategy: st.variadic
3331
3335
  }),
3332
- getPluralRules: rt(function() {
3336
+ getPluralRules: nt(function() {
3333
3337
  for (var t, r = [], i = 0; i < arguments.length; i++)
3334
3338
  r[i] = arguments[i];
3335
- return new ((t = Intl.PluralRules).bind.apply(t, tt([void 0], r, !1)))();
3339
+ return new ((t = Intl.PluralRules).bind.apply(t, it([void 0], r, !1)))();
3336
3340
  }, {
3337
- cache: st(e.pluralRules),
3338
- strategy: it.variadic
3341
+ cache: at(e.pluralRules),
3342
+ strategy: st.variadic
3339
3343
  })
3340
3344
  };
3341
3345
  }
@@ -3358,7 +3362,7 @@ var wr = (
3358
3362
  }, []);
3359
3363
  return h.length <= 1 ? h[0] || "" : h;
3360
3364
  }, this.formatToParts = function(o) {
3361
- return je(s.ast, s.locales, s.formatters, s.formats, o, void 0, s.message);
3365
+ return ze(s.ast, s.locales, s.formatters, s.formats, o, void 0, s.message);
3362
3366
  }, this.resolvedOptions = function() {
3363
3367
  var o;
3364
3368
  return {
@@ -3372,12 +3376,12 @@ var wr = (
3372
3376
  var a = n || {};
3373
3377
  a.formatters;
3374
3378
  var l = Hi(a, ["formatters"]);
3375
- this.ast = e.__parse(t, P(P({}, l), { locale: this.resolvedLocale }));
3379
+ this.ast = e.__parse(t, ne(ne({}, l), { locale: this.resolvedLocale }));
3376
3380
  } else
3377
3381
  this.ast = t;
3378
3382
  if (!Array.isArray(this.ast))
3379
3383
  throw new TypeError("A message must be provided as a String or AST.");
3380
- this.formats = pn(e.formats, i), this.formatters = n && n.formatters || gn(this.formatterCache);
3384
+ this.formats = gn(e.formats, i), this.formatters = n && n.formatters || vn(this.formatterCache);
3381
3385
  }
3382
3386
  return Object.defineProperty(e, "defaultLocale", {
3383
3387
  get: function() {
@@ -3390,7 +3394,7 @@ var wr = (
3390
3394
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3391
3395
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3392
3396
  }
3393
- }, e.__parse = ln, e.formats = {
3397
+ }, e.__parse = hn, e.formats = {
3394
3398
  number: {
3395
3399
  integer: {
3396
3400
  maximumFractionDigits: 0
@@ -3451,7 +3455,7 @@ var wr = (
3451
3455
  }, e;
3452
3456
  }()
3453
3457
  );
3454
- function vn(e, t) {
3458
+ function bn(e, t) {
3455
3459
  if (t == null)
3456
3460
  return;
3457
3461
  if (t in e)
@@ -3472,36 +3476,36 @@ function vn(e, t) {
3472
3476
  i = void 0;
3473
3477
  return i;
3474
3478
  }
3475
- const ce = {}, bn = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), Sr = (e, t) => {
3479
+ const de = {}, yn = (e, t, r) => r && (t in de || (de[t] = {}), e in de[t] || (de[t][e] = r), r), Sr = (e, t) => {
3476
3480
  if (t == null)
3477
3481
  return;
3478
- if (t in ce && e in ce[t])
3479
- return ce[t][e];
3480
- const r = ke(t);
3482
+ if (t in de && e in de[t])
3483
+ return de[t][e];
3484
+ const r = Ue(t);
3481
3485
  for (let i = 0; i < r.length; i++) {
3482
- const n = r[i], s = xn(n, e);
3486
+ const n = r[i], s = _n(n, e);
3483
3487
  if (s)
3484
- return bn(e, t, s);
3488
+ return yn(e, t, s);
3485
3489
  }
3486
3490
  };
3487
3491
  let St;
3488
- const Re = Ye({});
3489
- function yn(e) {
3492
+ const ke = Je({});
3493
+ function xn(e) {
3490
3494
  return St[e] || null;
3491
3495
  }
3492
3496
  function Tr(e) {
3493
3497
  return e in St;
3494
3498
  }
3495
- function xn(e, t) {
3499
+ function _n(e, t) {
3496
3500
  if (!Tr(e))
3497
3501
  return null;
3498
- const r = yn(e);
3499
- return vn(r, t);
3502
+ const r = xn(e);
3503
+ return bn(r, t);
3500
3504
  }
3501
- function _n(e) {
3505
+ function En(e) {
3502
3506
  if (e == null)
3503
3507
  return;
3504
- const t = ke(e);
3508
+ const t = Ue(e);
3505
3509
  for (let r = 0; r < t.length; r++) {
3506
3510
  const i = t[r];
3507
3511
  if (Tr(i))
@@ -3509,64 +3513,64 @@ function _n(e) {
3509
3513
  }
3510
3514
  }
3511
3515
  function Hr(e, ...t) {
3512
- delete ce[e], Re.update((r) => (r[e] = Ti.all([r[e] || {}, ...t]), r));
3516
+ delete de[e], ke.update((r) => (r[e] = Ti.all([r[e] || {}, ...t]), r));
3513
3517
  }
3514
3518
  Ae(
3515
- [Re],
3519
+ [ke],
3516
3520
  ([e]) => Object.keys(e)
3517
3521
  );
3518
- Re.subscribe((e) => St = e);
3519
- const ze = {};
3520
- function En(e, t) {
3521
- ze[e].delete(t), ze[e].size === 0 && delete ze[e];
3522
+ ke.subscribe((e) => St = e);
3523
+ const Xe = {};
3524
+ function wn(e, t) {
3525
+ Xe[e].delete(t), Xe[e].size === 0 && delete Xe[e];
3522
3526
  }
3523
3527
  function Or(e) {
3524
- return ze[e];
3528
+ return Xe[e];
3525
3529
  }
3526
- function wn(e) {
3527
- return ke(e).map((t) => {
3530
+ function Sn(e) {
3531
+ return Ue(e).map((t) => {
3528
3532
  const r = Or(t);
3529
3533
  return [t, r ? [...r] : []];
3530
3534
  }).filter(([, t]) => t.length > 0);
3531
3535
  }
3532
- function Xe(e) {
3533
- return e == null ? !1 : ke(e).some(
3536
+ function qe(e) {
3537
+ return e == null ? !1 : Ue(e).some(
3534
3538
  (t) => {
3535
3539
  var r;
3536
3540
  return (r = Or(t)) == null ? void 0 : r.size;
3537
3541
  }
3538
3542
  );
3539
3543
  }
3540
- function Sn(e, t) {
3544
+ function Tn(e, t) {
3541
3545
  return Promise.all(
3542
- t.map((i) => (En(e, i), i().then((n) => n.default || n)))
3546
+ t.map((i) => (wn(e, i), i().then((n) => n.default || n)))
3543
3547
  ).then((i) => Hr(e, ...i));
3544
3548
  }
3545
- const Be = {};
3549
+ const Me = {};
3546
3550
  function Pr(e) {
3547
- if (!Xe(e))
3548
- return e in Be ? Be[e] : Promise.resolve();
3549
- const t = wn(e);
3550
- return Be[e] = Promise.all(
3551
+ if (!qe(e))
3552
+ return e in Me ? Me[e] : Promise.resolve();
3553
+ const t = Sn(e);
3554
+ return Me[e] = Promise.all(
3551
3555
  t.map(
3552
- ([r, i]) => Sn(r, i)
3556
+ ([r, i]) => Tn(r, i)
3553
3557
  )
3554
3558
  ).then(() => {
3555
- if (Xe(e))
3559
+ if (qe(e))
3556
3560
  return Pr(e);
3557
- delete Be[e];
3558
- }), Be[e];
3561
+ delete Me[e];
3562
+ }), Me[e];
3559
3563
  }
3560
- var Vt = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Hn = Object.prototype.propertyIsEnumerable, On = (e, t) => {
3564
+ var Vt = Object.getOwnPropertySymbols, Hn = Object.prototype.hasOwnProperty, On = Object.prototype.propertyIsEnumerable, Pn = (e, t) => {
3561
3565
  var r = {};
3562
3566
  for (var i in e)
3563
- Tn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3567
+ Hn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3564
3568
  if (e != null && Vt)
3565
3569
  for (var i of Vt(e))
3566
- t.indexOf(i) < 0 && Hn.call(e, i) && (r[i] = e[i]);
3570
+ t.indexOf(i) < 0 && On.call(e, i) && (r[i] = e[i]);
3567
3571
  return r;
3568
3572
  };
3569
- const Pn = {
3573
+ const $n = {
3570
3574
  number: {
3571
3575
  scientific: { notation: "scientific" },
3572
3576
  engineering: { notation: "engineering" },
@@ -3598,26 +3602,26 @@ const Pn = {
3598
3602
  };
3599
3603
  function An({ locale: e, id: t }) {
3600
3604
  console.warn(
3601
- `[svelte-i18n] The message "${t}" was not found in "${ke(
3605
+ `[svelte-i18n] The message "${t}" was not found in "${Ue(
3602
3606
  e
3603
- ).join('", "')}".${Xe(de()) ? `
3607
+ ).join('", "')}".${qe(me()) ? `
3604
3608
 
3605
3609
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3606
3610
  );
3607
3611
  }
3608
- const $n = {
3612
+ const Bn = {
3609
3613
  fallbackLocale: null,
3610
3614
  loadingDelay: 200,
3611
- formats: Pn,
3615
+ formats: $n,
3612
3616
  warnOnMissingMessages: !0,
3613
3617
  handleMissingMessage: void 0,
3614
3618
  ignoreTag: !0
3615
- }, Me = $n;
3616
- function Pe() {
3617
- return Me;
3619
+ }, Ce = Bn;
3620
+ function $e() {
3621
+ return Ce;
3618
3622
  }
3619
- function Bn(e) {
3620
- const t = e, { formats: r } = t, i = On(t, ["formats"]);
3623
+ function Mn(e) {
3624
+ const t = e, { formats: r } = t, i = Pn(t, ["formats"]);
3621
3625
  let n = e.fallbackLocale;
3622
3626
  if (e.initialLocale)
3623
3627
  try {
@@ -3629,132 +3633,132 @@ function Bn(e) {
3629
3633
  }
3630
3634
  return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = An : console.warn(
3631
3635
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3632
- )), 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)), pe.set(n);
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)), ge.set(n);
3633
3637
  }
3634
- const ot = Ye(!1);
3635
- var Mn = Object.defineProperty, Cn = Object.defineProperties, Dn = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, In = Object.prototype.hasOwnProperty, Ln = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Nn = (e, t) => {
3638
+ const ut = Je(!1);
3639
+ var Cn = Object.defineProperty, Dn = Object.defineProperties, In = Object.getOwnPropertyDescriptors, Gt = Object.getOwnPropertySymbols, Ln = Object.prototype.hasOwnProperty, Nn = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Rn = (e, t) => {
3636
3640
  for (var r in t || (t = {}))
3637
- In.call(t, r) && jt(e, r, t[r]);
3641
+ Ln.call(t, r) && jt(e, r, t[r]);
3638
3642
  if (Gt)
3639
3643
  for (var r of Gt(t))
3640
- Ln.call(t, r) && jt(e, r, t[r]);
3644
+ Nn.call(t, r) && jt(e, r, t[r]);
3641
3645
  return e;
3642
- }, Rn = (e, t) => Cn(e, Dn(t));
3643
- let vt;
3644
- const We = Ye(null);
3646
+ }, kn = (e, t) => Dn(e, In(t));
3647
+ let yt;
3648
+ const Ye = Je(null);
3645
3649
  function zt(e) {
3646
3650
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3647
3651
  }
3648
- function ke(e, t = Pe().fallbackLocale) {
3652
+ function Ue(e, t = $e().fallbackLocale) {
3649
3653
  const r = zt(e);
3650
3654
  return t ? [.../* @__PURE__ */ new Set([...r, ...zt(t)])] : r;
3651
3655
  }
3652
- function de() {
3653
- return vt != null ? vt : void 0;
3656
+ function me() {
3657
+ return yt != null ? yt : void 0;
3654
3658
  }
3655
- We.subscribe((e) => {
3656
- vt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3659
+ Ye.subscribe((e) => {
3660
+ yt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3657
3661
  });
3658
- const kn = (e) => {
3659
- if (e && _n(e) && Xe(e)) {
3660
- const { loadingDelay: t } = Pe();
3662
+ const Un = (e) => {
3663
+ if (e && En(e) && qe(e)) {
3664
+ const { loadingDelay: t } = $e();
3661
3665
  let r;
3662
- return typeof window != "undefined" && de() != null && t ? r = window.setTimeout(
3663
- () => ot.set(!0),
3666
+ return typeof window != "undefined" && me() != null && t ? r = window.setTimeout(
3667
+ () => ut.set(!0),
3664
3668
  t
3665
- ) : ot.set(!0), Pr(e).then(() => {
3666
- We.set(e);
3669
+ ) : ut.set(!0), Pr(e).then(() => {
3670
+ Ye.set(e);
3667
3671
  }).finally(() => {
3668
- clearTimeout(r), ot.set(!1);
3672
+ clearTimeout(r), ut.set(!1);
3669
3673
  });
3670
3674
  }
3671
- return We.set(e);
3672
- }, pe = Rn(Nn({}, We), {
3673
- set: kn
3674
- }), Qe = (e) => {
3675
+ return Ye.set(e);
3676
+ }, ge = kn(Rn({}, Ye), {
3677
+ set: Un
3678
+ }), et = (e) => {
3675
3679
  const t = /* @__PURE__ */ Object.create(null);
3676
3680
  return (i) => {
3677
3681
  const n = JSON.stringify(i);
3678
3682
  return n in t ? t[n] : t[n] = e(i);
3679
3683
  };
3680
3684
  };
3681
- var Un = Object.defineProperty, qe = Object.getOwnPropertySymbols, Ar = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? Un(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tt = (e, t) => {
3685
+ var Fn = Object.defineProperty, Ze = Object.getOwnPropertySymbols, $r = Object.prototype.hasOwnProperty, Ar = Object.prototype.propertyIsEnumerable, Xt = (e, t, r) => t in e ? Fn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tt = (e, t) => {
3682
3686
  for (var r in t || (t = {}))
3683
- Ar.call(t, r) && Xt(e, r, t[r]);
3684
- if (qe)
3685
- for (var r of qe(t))
3686
- $r.call(t, r) && Xt(e, r, t[r]);
3687
+ $r.call(t, r) && Xt(e, r, t[r]);
3688
+ if (Ze)
3689
+ for (var r of Ze(t))
3690
+ Ar.call(t, r) && Xt(e, r, t[r]);
3687
3691
  return e;
3688
- }, $e = (e, t) => {
3692
+ }, Be = (e, t) => {
3689
3693
  var r = {};
3690
3694
  for (var i in e)
3691
- Ar.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3692
- if (e != null && qe)
3693
- for (var i of qe(e))
3694
- t.indexOf(i) < 0 && $r.call(e, i) && (r[i] = e[i]);
3695
+ $r.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3696
+ if (e != null && Ze)
3697
+ for (var i of Ze(e))
3698
+ t.indexOf(i) < 0 && Ar.call(e, i) && (r[i] = e[i]);
3695
3699
  return r;
3696
3700
  };
3697
- const Le = (e, t) => {
3698
- const { formats: r } = Pe();
3701
+ const Ne = (e, t) => {
3702
+ const { formats: r } = $e();
3699
3703
  if (e in r && t in r[e])
3700
3704
  return r[e][t];
3701
3705
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3702
- }, Fn = Qe(
3706
+ }, Vn = et(
3703
3707
  (e) => {
3704
- var t = e, { locale: r, format: i } = t, n = $e(t, ["locale", "format"]);
3708
+ var t = e, { locale: r, format: i } = t, n = Be(t, ["locale", "format"]);
3705
3709
  if (r == null)
3706
3710
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3707
- return i && (n = Le("number", i)), new Intl.NumberFormat(r, n);
3711
+ return i && (n = Ne("number", i)), new Intl.NumberFormat(r, n);
3708
3712
  }
3709
- ), Vn = Qe(
3713
+ ), Gn = et(
3710
3714
  (e) => {
3711
- var t = e, { locale: r, format: i } = t, n = $e(t, ["locale", "format"]);
3715
+ var t = e, { locale: r, format: i } = t, n = Be(t, ["locale", "format"]);
3712
3716
  if (r == null)
3713
3717
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3714
- return i ? n = Le("date", i) : Object.keys(n).length === 0 && (n = Le("date", "short")), new Intl.DateTimeFormat(r, n);
3718
+ return i ? n = Ne("date", i) : Object.keys(n).length === 0 && (n = Ne("date", "short")), new Intl.DateTimeFormat(r, n);
3715
3719
  }
3716
- ), Gn = Qe(
3720
+ ), jn = et(
3717
3721
  (e) => {
3718
- var t = e, { locale: r, format: i } = t, n = $e(t, ["locale", "format"]);
3722
+ var t = e, { locale: r, format: i } = t, n = Be(t, ["locale", "format"]);
3719
3723
  if (r == null)
3720
3724
  throw new Error(
3721
3725
  '[svelte-i18n] A "locale" must be set to format time values'
3722
3726
  );
3723
- return i ? n = Le("time", i) : Object.keys(n).length === 0 && (n = Le("time", "short")), new Intl.DateTimeFormat(r, n);
3727
+ return i ? n = Ne("time", i) : Object.keys(n).length === 0 && (n = Ne("time", "short")), new Intl.DateTimeFormat(r, n);
3724
3728
  }
3725
- ), jn = (e = {}) => {
3726
- var t = e, {
3727
- locale: r = de()
3728
- } = t, i = $e(t, [
3729
- "locale"
3730
- ]);
3731
- return Fn(Tt({ locale: r }, i));
3732
- }, zn = (e = {}) => {
3729
+ ), zn = (e = {}) => {
3733
3730
  var t = e, {
3734
- locale: r = de()
3735
- } = t, i = $e(t, [
3731
+ locale: r = me()
3732
+ } = t, i = Be(t, [
3736
3733
  "locale"
3737
3734
  ]);
3738
3735
  return Vn(Tt({ locale: r }, i));
3739
3736
  }, Xn = (e = {}) => {
3740
3737
  var t = e, {
3741
- locale: r = de()
3742
- } = t, i = $e(t, [
3738
+ locale: r = me()
3739
+ } = t, i = Be(t, [
3743
3740
  "locale"
3744
3741
  ]);
3745
3742
  return Gn(Tt({ locale: r }, i));
3746
- }, Wn = Qe(
3743
+ }, Wn = (e = {}) => {
3744
+ var t = e, {
3745
+ locale: r = me()
3746
+ } = t, i = Be(t, [
3747
+ "locale"
3748
+ ]);
3749
+ return jn(Tt({ locale: r }, i));
3750
+ }, qn = et(
3747
3751
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3748
- (e, t = de()) => new wr(e, t, Pe().formats, {
3749
- ignoreTag: Pe().ignoreTag
3752
+ (e, t = me()) => new wr(e, t, $e().formats, {
3753
+ ignoreTag: $e().ignoreTag
3750
3754
  })
3751
- ), qn = (e, t = {}) => {
3755
+ ), Yn = (e, t = {}) => {
3752
3756
  var r, i, n, s;
3753
3757
  let a = t;
3754
3758
  typeof e == "object" && (a = e, e = a.id);
3755
3759
  const {
3756
3760
  values: l,
3757
- locale: o = de(),
3761
+ locale: o = me(),
3758
3762
  default: u
3759
3763
  } = a;
3760
3764
  if (o == null)
@@ -3763,7 +3767,7 @@ const Le = (e, t) => {
3763
3767
  );
3764
3768
  let h = Sr(e, o);
3765
3769
  if (!h)
3766
- h = (s = (n = (i = (r = Pe()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: o, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
3770
+ h = (s = (n = (i = (r = $e()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: o, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
3767
3771
  else if (typeof h != "string")
3768
3772
  return console.warn(
3769
3773
  `[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.`
@@ -3772,7 +3776,7 @@ const Le = (e, t) => {
3772
3776
  return h;
3773
3777
  let c = h;
3774
3778
  try {
3775
- c = Wn(h, o).format(l);
3779
+ c = qn(h, o).format(l);
3776
3780
  } catch (m) {
3777
3781
  m instanceof Error && console.warn(
3778
3782
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3780,18 +3784,18 @@ const Le = (e, t) => {
3780
3784
  );
3781
3785
  }
3782
3786
  return c;
3783
- }, Yn = (e, t) => Xn(t).format(e), Zn = (e, t) => zn(t).format(e), Jn = (e, t) => jn(t).format(e), Qn = (e, t = de()) => Sr(e, t), Kn = Ae([pe, Re], () => qn);
3784
- Ae([pe], () => Yn);
3785
- Ae([pe], () => Zn);
3786
- Ae([pe], () => Jn);
3787
- Ae([pe, Re], () => Qn);
3787
+ }, Zn = (e, t) => Wn(t).format(e), Jn = (e, t) => Xn(t).format(e), Qn = (e, t) => zn(t).format(e), Kn = (e, t = me()) => Sr(e, t), es = Ae([ge, ke], () => Yn);
3788
+ Ae([ge], () => Zn);
3789
+ Ae([ge], () => Jn);
3790
+ Ae([ge], () => Qn);
3791
+ Ae([ge, ke], () => Kn);
3788
3792
  function Wt(e, t) {
3789
3793
  Hr(e, t);
3790
3794
  }
3791
- function es(e) {
3792
- Bn({
3795
+ function ts(e) {
3796
+ Mn({
3793
3797
  fallbackLocale: "en"
3794
- }), pe.set(e);
3798
+ }), ge.set(e);
3795
3799
  }
3796
3800
  const qt = {
3797
3801
  en: {
@@ -3861,7 +3865,7 @@ if (typeof window != "undefined") {
3861
3865
  }
3862
3866
  };
3863
3867
  };
3864
- customElements.define = e(customElements.define), import("./CashierVideoModal-B-CXY0VP.js").then(({ default: t }) => {
3868
+ customElements.define = e(customElements.define), import("./CashierVideoModal-BisN-_gH.js").then(({ default: t }) => {
3865
3869
  !customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", t.element);
3866
3870
  });
3867
3871
  }
@@ -3873,12 +3877,12 @@ var Br = { exports: {} };
3873
3877
  var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", a = "second", l = "minute", o = "hour", u = "day", h = "week", c = "month", m = "quarter", E = "year", H = "date", v = "Invalid Date", $ = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, 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, U = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(x) {
3874
3878
  var g = ["th", "st", "nd", "rd"], d = x % 100;
3875
3879
  return "[" + x + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
3876
- } }, B = function(x, g, d) {
3880
+ } }, A = function(x, g, d) {
3877
3881
  var b = String(x);
3878
3882
  return !b || b.length >= g ? x : "" + Array(g + 1 - b.length).join(d) + x;
3879
- }, X = { s: B, z: function(x) {
3883
+ }, X = { s: A, z: function(x) {
3880
3884
  var g = -x.utcOffset(), d = Math.abs(g), b = Math.floor(d / 60), p = d % 60;
3881
- return (g <= 0 ? "+" : "-") + B(b, 2, "0") + ":" + B(p, 2, "0");
3885
+ return (g <= 0 ? "+" : "-") + A(b, 2, "0") + ":" + A(p, 2, "0");
3882
3886
  }, m: function x(g, d) {
3883
3887
  if (g.date() < d.date())
3884
3888
  return -x(d, g);
@@ -3893,7 +3897,7 @@ var Br = { exports: {} };
3893
3897
  } }, I = "en", L = {};
3894
3898
  L[I] = U;
3895
3899
  var Y = "$isDayjsObject", R = function(x) {
3896
- return x instanceof ge || !(!x || !x[Y]);
3900
+ return x instanceof ve || !(!x || !x[Y]);
3897
3901
  }, W = function x(g, d, b) {
3898
3902
  var p;
3899
3903
  if (!g)
@@ -3905,20 +3909,20 @@ var Br = { exports: {} };
3905
3909
  if (!p && w.length > 1)
3906
3910
  return x(w[0]);
3907
3911
  } else {
3908
- var M = g.name;
3909
- L[M] = g, p = M;
3912
+ var B = g.name;
3913
+ L[B] = g, p = B;
3910
3914
  }
3911
3915
  return !b && p && (I = p), p || !b && I;
3912
3916
  }, k = function(x, g) {
3913
3917
  if (R(x))
3914
3918
  return x.clone();
3915
3919
  var d = typeof g == "object" ? g : {};
3916
- return d.date = x, d.args = arguments, new ge(d);
3917
- }, A = X;
3918
- A.l = W, A.i = R, A.w = function(x, g) {
3920
+ return d.date = x, d.args = arguments, new ve(d);
3921
+ }, P = X;
3922
+ P.l = W, P.i = R, P.w = function(x, g) {
3919
3923
  return k(x, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3920
3924
  };
3921
- var ge = function() {
3925
+ var ve = function() {
3922
3926
  function x(d) {
3923
3927
  this.$L = W(d.locale, null, !0), this.parse(d), this.$x = this.$x || d.x || {}, this[Y] = !0;
3924
3928
  }
@@ -3928,15 +3932,15 @@ var Br = { exports: {} };
3928
3932
  var p = b.date, _ = b.utc;
3929
3933
  if (p === null)
3930
3934
  return /* @__PURE__ */ new Date(NaN);
3931
- if (A.u(p))
3935
+ if (P.u(p))
3932
3936
  return /* @__PURE__ */ new Date();
3933
3937
  if (p instanceof Date)
3934
3938
  return new Date(p);
3935
3939
  if (typeof p == "string" && !/Z$/i.test(p)) {
3936
3940
  var w = p.match($);
3937
3941
  if (w) {
3938
- var M = w[2] - 1 || 0, D = (w[7] || "0").substring(0, 3);
3939
- return _ ? new Date(Date.UTC(w[1], M, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D)) : new Date(w[1], M, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D);
3942
+ var B = w[2] - 1 || 0, C = (w[7] || "0").substring(0, 3);
3943
+ return _ ? new Date(Date.UTC(w[1], B, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, C)) : new Date(w[1], B, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, C);
3940
3944
  }
3941
3945
  }
3942
3946
  return new Date(p);
@@ -3945,7 +3949,7 @@ var Br = { exports: {} };
3945
3949
  var d = this.$d;
3946
3950
  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();
3947
3951
  }, g.$utils = function() {
3948
- return A;
3952
+ return P;
3949
3953
  }, g.isValid = function() {
3950
3954
  return this.$d.toString() !== v;
3951
3955
  }, g.isSame = function(d, b) {
@@ -3956,132 +3960,132 @@ var Br = { exports: {} };
3956
3960
  }, g.isBefore = function(d, b) {
3957
3961
  return this.endOf(b) < k(d);
3958
3962
  }, g.$g = function(d, b, p) {
3959
- return A.u(d) ? this[b] : this.set(p, d);
3963
+ return P.u(d) ? this[b] : this.set(p, d);
3960
3964
  }, g.unix = function() {
3961
3965
  return Math.floor(this.valueOf() / 1e3);
3962
3966
  }, g.valueOf = function() {
3963
3967
  return this.$d.getTime();
3964
3968
  }, g.startOf = function(d, b) {
3965
- var p = this, _ = !!A.u(b) || b, w = A.p(d), M = function(ae, j) {
3966
- var Q = A.w(p.$u ? Date.UTC(p.$y, j, ae) : new Date(p.$y, j, ae), p);
3969
+ var p = this, _ = !!P.u(b) || b, w = P.p(d), B = function(ue, j) {
3970
+ var Q = P.w(p.$u ? Date.UTC(p.$y, j, ue) : new Date(p.$y, j, ue), p);
3967
3971
  return _ ? Q : Q.endOf(u);
3968
- }, D = function(ae, j) {
3969
- return A.w(p.toDate()[ae].apply(p.toDate("s"), (_ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(j)), p);
3970
- }, N = this.$W, F = this.$M, q = this.$D, le = "set" + (this.$u ? "UTC" : "");
3972
+ }, C = function(ue, j) {
3973
+ return P.w(p.toDate()[ue].apply(p.toDate("s"), (_ ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(j)), p);
3974
+ }, N = this.$W, F = this.$M, q = this.$D, he = "set" + (this.$u ? "UTC" : "");
3971
3975
  switch (w) {
3972
3976
  case E:
3973
- return _ ? M(1, 0) : M(31, 11);
3977
+ return _ ? B(1, 0) : B(31, 11);
3974
3978
  case c:
3975
- return _ ? M(1, F) : M(0, F + 1);
3979
+ return _ ? B(1, F) : B(0, F + 1);
3976
3980
  case h:
3977
- var se = this.$locale().weekStart || 0, oe = (N < se ? N + 7 : N) - se;
3978
- return M(_ ? q - oe : q + (6 - oe), F);
3981
+ var oe = this.$locale().weekStart || 0, ae = (N < oe ? N + 7 : N) - oe;
3982
+ return B(_ ? q - ae : q + (6 - ae), F);
3979
3983
  case u:
3980
3984
  case H:
3981
- return D(le + "Hours", 0);
3985
+ return C(he + "Hours", 0);
3982
3986
  case o:
3983
- return D(le + "Minutes", 1);
3987
+ return C(he + "Minutes", 1);
3984
3988
  case l:
3985
- return D(le + "Seconds", 2);
3989
+ return C(he + "Seconds", 2);
3986
3990
  case a:
3987
- return D(le + "Milliseconds", 3);
3991
+ return C(he + "Milliseconds", 3);
3988
3992
  default:
3989
3993
  return this.clone();
3990
3994
  }
3991
3995
  }, g.endOf = function(d) {
3992
3996
  return this.startOf(d, !1);
3993
3997
  }, g.$set = function(d, b) {
3994
- var p, _ = A.p(d), w = "set" + (this.$u ? "UTC" : ""), M = (p = {}, p[u] = w + "Date", p[H] = w + "Date", p[c] = w + "Month", p[E] = w + "FullYear", p[o] = w + "Hours", p[l] = w + "Minutes", p[a] = w + "Seconds", p[s] = w + "Milliseconds", p)[_], D = _ === u ? this.$D + (b - this.$W) : b;
3998
+ var p, _ = P.p(d), w = "set" + (this.$u ? "UTC" : ""), B = (p = {}, p[u] = w + "Date", p[H] = w + "Date", p[c] = w + "Month", p[E] = w + "FullYear", p[o] = w + "Hours", p[l] = w + "Minutes", p[a] = w + "Seconds", p[s] = w + "Milliseconds", p)[_], C = _ === u ? this.$D + (b - this.$W) : b;
3995
3999
  if (_ === c || _ === E) {
3996
4000
  var N = this.clone().set(H, 1);
3997
- N.$d[M](D), N.init(), this.$d = N.set(H, Math.min(this.$D, N.daysInMonth())).$d;
4001
+ N.$d[B](C), N.init(), this.$d = N.set(H, Math.min(this.$D, N.daysInMonth())).$d;
3998
4002
  } else
3999
- M && this.$d[M](D);
4003
+ B && this.$d[B](C);
4000
4004
  return this.init(), this;
4001
4005
  }, g.set = function(d, b) {
4002
4006
  return this.clone().$set(d, b);
4003
4007
  }, g.get = function(d) {
4004
- return this[A.p(d)]();
4008
+ return this[P.p(d)]();
4005
4009
  }, g.add = function(d, b) {
4006
4010
  var p, _ = this;
4007
4011
  d = Number(d);
4008
- var w = A.p(b), M = function(F) {
4012
+ var w = P.p(b), B = function(F) {
4009
4013
  var q = k(_);
4010
- return A.w(q.date(q.date() + Math.round(F * d)), _);
4014
+ return P.w(q.date(q.date() + Math.round(F * d)), _);
4011
4015
  };
4012
4016
  if (w === c)
4013
4017
  return this.set(c, this.$M + d);
4014
4018
  if (w === E)
4015
4019
  return this.set(E, this.$y + d);
4016
4020
  if (w === u)
4017
- return M(1);
4021
+ return B(1);
4018
4022
  if (w === h)
4019
- return M(7);
4020
- var D = (p = {}, p[l] = i, p[o] = n, p[a] = r, p)[w] || 1, N = this.$d.getTime() + d * D;
4021
- return A.w(N, this);
4023
+ return B(7);
4024
+ var C = (p = {}, p[l] = i, p[o] = n, p[a] = r, p)[w] || 1, N = this.$d.getTime() + d * C;
4025
+ return P.w(N, this);
4022
4026
  }, g.subtract = function(d, b) {
4023
4027
  return this.add(-1 * d, b);
4024
4028
  }, g.format = function(d) {
4025
4029
  var b = this, p = this.$locale();
4026
4030
  if (!this.isValid())
4027
4031
  return p.invalidDate || v;
4028
- var _ = d || "YYYY-MM-DDTHH:mm:ssZ", w = A.z(this), M = this.$H, D = this.$m, N = this.$M, F = p.weekdays, q = p.months, le = p.meridiem, se = function(j, Q, me, ve) {
4029
- return j && (j[Q] || j(b, _)) || me[Q].slice(0, ve);
4030
- }, oe = function(j) {
4031
- return A.s(M % 12 || 12, j, "0");
4032
- }, ae = le || function(j, Q, me) {
4033
- var ve = j < 12 ? "AM" : "PM";
4034
- return me ? ve.toLowerCase() : ve;
4032
+ var _ = d || "YYYY-MM-DDTHH:mm:ssZ", w = P.z(this), B = this.$H, C = this.$m, N = this.$M, F = p.weekdays, q = p.months, he = p.meridiem, oe = function(j, Q, pe, be) {
4033
+ return j && (j[Q] || j(b, _)) || pe[Q].slice(0, be);
4034
+ }, ae = function(j) {
4035
+ return P.s(B % 12 || 12, j, "0");
4036
+ }, ue = he || function(j, Q, pe) {
4037
+ var be = j < 12 ? "AM" : "PM";
4038
+ return pe ? be.toLowerCase() : be;
4035
4039
  };
4036
4040
  return _.replace(G, function(j, Q) {
4037
- return Q || function(me) {
4038
- switch (me) {
4041
+ return Q || function(pe) {
4042
+ switch (pe) {
4039
4043
  case "YY":
4040
4044
  return String(b.$y).slice(-2);
4041
4045
  case "YYYY":
4042
- return A.s(b.$y, 4, "0");
4046
+ return P.s(b.$y, 4, "0");
4043
4047
  case "M":
4044
4048
  return N + 1;
4045
4049
  case "MM":
4046
- return A.s(N + 1, 2, "0");
4050
+ return P.s(N + 1, 2, "0");
4047
4051
  case "MMM":
4048
- return se(p.monthsShort, N, q, 3);
4052
+ return oe(p.monthsShort, N, q, 3);
4049
4053
  case "MMMM":
4050
- return se(q, N);
4054
+ return oe(q, N);
4051
4055
  case "D":
4052
4056
  return b.$D;
4053
4057
  case "DD":
4054
- return A.s(b.$D, 2, "0");
4058
+ return P.s(b.$D, 2, "0");
4055
4059
  case "d":
4056
4060
  return String(b.$W);
4057
4061
  case "dd":
4058
- return se(p.weekdaysMin, b.$W, F, 2);
4062
+ return oe(p.weekdaysMin, b.$W, F, 2);
4059
4063
  case "ddd":
4060
- return se(p.weekdaysShort, b.$W, F, 3);
4064
+ return oe(p.weekdaysShort, b.$W, F, 3);
4061
4065
  case "dddd":
4062
4066
  return F[b.$W];
4063
4067
  case "H":
4064
- return String(M);
4068
+ return String(B);
4065
4069
  case "HH":
4066
- return A.s(M, 2, "0");
4070
+ return P.s(B, 2, "0");
4067
4071
  case "h":
4068
- return oe(1);
4072
+ return ae(1);
4069
4073
  case "hh":
4070
- return oe(2);
4074
+ return ae(2);
4071
4075
  case "a":
4072
- return ae(M, D, !0);
4076
+ return ue(B, C, !0);
4073
4077
  case "A":
4074
- return ae(M, D, !1);
4078
+ return ue(B, C, !1);
4075
4079
  case "m":
4076
- return String(D);
4080
+ return String(C);
4077
4081
  case "mm":
4078
- return A.s(D, 2, "0");
4082
+ return P.s(C, 2, "0");
4079
4083
  case "s":
4080
4084
  return String(b.$s);
4081
4085
  case "ss":
4082
- return A.s(b.$s, 2, "0");
4086
+ return P.s(b.$s, 2, "0");
4083
4087
  case "SSS":
4084
- return A.s(b.$ms, 3, "0");
4088
+ return P.s(b.$ms, 3, "0");
4085
4089
  case "Z":
4086
4090
  return w;
4087
4091
  }
@@ -4091,10 +4095,10 @@ var Br = { exports: {} };
4091
4095
  }, g.utcOffset = function() {
4092
4096
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4093
4097
  }, g.diff = function(d, b, p) {
4094
- var _, w = this, M = A.p(b), D = k(d), N = (D.utcOffset() - this.utcOffset()) * i, F = this - D, q = function() {
4095
- return A.m(w, D);
4098
+ var _, w = this, B = P.p(b), C = k(d), N = (C.utcOffset() - this.utcOffset()) * i, F = this - C, q = function() {
4099
+ return P.m(w, C);
4096
4100
  };
4097
- switch (M) {
4101
+ switch (B) {
4098
4102
  case E:
4099
4103
  _ = q() / 12;
4100
4104
  break;
@@ -4122,7 +4126,7 @@ var Br = { exports: {} };
4122
4126
  default:
4123
4127
  _ = F;
4124
4128
  }
4125
- return p ? _ : A.a(_);
4129
+ return p ? _ : P.a(_);
4126
4130
  }, g.daysInMonth = function() {
4127
4131
  return this.endOf(c).$D;
4128
4132
  }, g.$locale = function() {
@@ -4133,7 +4137,7 @@ var Br = { exports: {} };
4133
4137
  var p = this.clone(), _ = W(d, b, !0);
4134
4138
  return _ && (p.$L = _), p;
4135
4139
  }, g.clone = function() {
4136
- return A.w(this.$d, this);
4140
+ return P.w(this.$d, this);
4137
4141
  }, g.toDate = function() {
4138
4142
  return new Date(this.valueOf());
4139
4143
  }, g.toJSON = function() {
@@ -4143,20 +4147,20 @@ var Br = { exports: {} };
4143
4147
  }, g.toString = function() {
4144
4148
  return this.$d.toUTCString();
4145
4149
  }, x;
4146
- }(), Ue = ge.prototype;
4147
- return k.prototype = Ue, [["$ms", s], ["$s", a], ["$m", l], ["$H", o], ["$W", u], ["$M", c], ["$y", E], ["$D", H]].forEach(function(x) {
4148
- Ue[x[1]] = function(g) {
4150
+ }(), Fe = ve.prototype;
4151
+ return k.prototype = Fe, [["$ms", s], ["$s", a], ["$m", l], ["$H", o], ["$W", u], ["$M", c], ["$y", E], ["$D", H]].forEach(function(x) {
4152
+ Fe[x[1]] = function(g) {
4149
4153
  return this.$g(g, x[0], x[1]);
4150
4154
  };
4151
4155
  }), k.extend = function(x, g) {
4152
- return x.$i || (x(g, ge, k), x.$i = !0), k;
4156
+ return x.$i || (x(g, ve, k), x.$i = !0), k;
4153
4157
  }, k.locale = W, k.isDayjs = R, k.unix = function(x) {
4154
4158
  return k(1e3 * x);
4155
4159
  }, k.en = L[I], k.Ls = L, k.p = {}, k;
4156
4160
  });
4157
4161
  })(Br);
4158
- var ts = Br.exports;
4159
- const Yt = /* @__PURE__ */ _t(ts);
4162
+ var rs = Br.exports;
4163
+ const Yt = /* @__PURE__ */ wt(rs);
4160
4164
  var Mr = { exports: {} };
4161
4165
  (function(e, t) {
4162
4166
  (function(r, i) {
@@ -4200,15 +4204,15 @@ var Mr = { exports: {} };
4200
4204
  return W === 0 ? 0 : R === "+" ? W : -W;
4201
4205
  }(v), v === null))
4202
4206
  return this;
4203
- var U = Math.abs(v) <= 16 ? 60 * v : v, B = this;
4207
+ var U = Math.abs(v) <= 16 ? 60 * v : v, A = this;
4204
4208
  if ($)
4205
- return B.$offset = U, B.$u = v === 0, B;
4209
+ return A.$offset = U, A.$u = v === 0, A;
4206
4210
  if (v !== 0) {
4207
4211
  var X = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4208
- (B = this.local().add(U + X, r)).$offset = U, B.$x.$localOffset = X;
4212
+ (A = this.local().add(U + X, r)).$offset = U, A.$x.$localOffset = X;
4209
4213
  } else
4210
- B = this.utc();
4211
- return B;
4214
+ A = this.utc();
4215
+ return A;
4212
4216
  };
4213
4217
  var m = o.format;
4214
4218
  o.format = function(v) {
@@ -4232,15 +4236,15 @@ var Mr = { exports: {} };
4232
4236
  o.diff = function(v, $, G) {
4233
4237
  if (v && this.$u === v.$u)
4234
4238
  return H.call(this, v, $, G);
4235
- var U = this.local(), B = l(v).local();
4236
- return H.call(U, B, $, G);
4239
+ var U = this.local(), A = l(v).local();
4240
+ return H.call(U, A, $, G);
4237
4241
  };
4238
4242
  };
4239
4243
  });
4240
4244
  })(Mr);
4241
- var rs = Mr.exports;
4242
- const is = /* @__PURE__ */ _t(rs);
4243
- function ns(e) {
4245
+ var is = Mr.exports;
4246
+ const ns = /* @__PURE__ */ wt(is);
4247
+ function ss(e) {
4244
4248
  Gr(e, "svelte-1emynn4", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
4245
4249
  }
4246
4250
  function Zt(e, t, r) {
@@ -4263,22 +4267,22 @@ function Jt(e) {
4263
4267
  t = J("div");
4264
4268
  for (let o = 0; o < a.length; o += 1)
4265
4269
  a[o].c();
4266
- r = Ee(), l && l.c(), i = Ee(), n = J("cashier-video-modal"), ee(t, "class", "CashierVerificationsWrapper"), fe(
4270
+ r = we(), l && l.c(), i = we(), n = J("cashier-video-modal"), ee(t, "class", "CashierVerificationsWrapper"), ce(
4267
4271
  n,
4268
4272
  "clientstylingurl",
4269
4273
  /*clientstylingurl*/
4270
4274
  e[1]
4271
- ), fe(
4275
+ ), ce(
4272
4276
  n,
4273
4277
  "clientstyling",
4274
4278
  /*clientstyling*/
4275
4279
  e[0]
4276
- ), fe(
4280
+ ), ce(
4277
4281
  n,
4278
4282
  "ismobileview",
4279
4283
  /*ismobileview*/
4280
4284
  e[2]
4281
- ), fe(
4285
+ ), ce(
4282
4286
  n,
4283
4287
  "videosrc",
4284
4288
  /*videoSrc*/
@@ -4286,10 +4290,10 @@ function Jt(e) {
4286
4290
  );
4287
4291
  },
4288
4292
  m(o, u) {
4289
- ue(o, t, u);
4293
+ le(o, t, u);
4290
4294
  for (let h = 0; h < a.length; h += 1)
4291
4295
  a[h] && a[h].m(t, null);
4292
- ue(o, r, u), l && l.m(o, u), ue(o, i, u), ue(o, n, u);
4296
+ le(o, r, u), l && l.m(o, u), le(o, i, u), le(o, n, u);
4293
4297
  },
4294
4298
  p(o, u) {
4295
4299
  if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
@@ -4309,25 +4313,25 @@ function Jt(e) {
4309
4313
  }
4310
4314
  /*videoExists*/
4311
4315
  o[7] ? l ? l.p(o, u) : (l = er(o), l.c(), l.m(i.parentNode, i)) : l && (l.d(1), l = null), u[0] & /*clientstylingurl*/
4312
- 2 && fe(
4316
+ 2 && ce(
4313
4317
  n,
4314
4318
  "clientstylingurl",
4315
4319
  /*clientstylingurl*/
4316
4320
  o[1]
4317
4321
  ), u[0] & /*clientstyling*/
4318
- 1 && fe(
4322
+ 1 && ce(
4319
4323
  n,
4320
4324
  "clientstyling",
4321
4325
  /*clientstyling*/
4322
4326
  o[0]
4323
4327
  ), u[0] & /*ismobileview*/
4324
- 4 && fe(
4328
+ 4 && ce(
4325
4329
  n,
4326
4330
  "ismobileview",
4327
4331
  /*ismobileview*/
4328
4332
  o[2]
4329
4333
  ), u[0] & /*videoSrc*/
4330
- 256 && fe(
4334
+ 256 && ce(
4331
4335
  n,
4332
4336
  "videosrc",
4333
4337
  /*videoSrc*/
@@ -4335,7 +4339,7 @@ function Jt(e) {
4335
4339
  );
4336
4340
  },
4337
4341
  d(o) {
4338
- o && (ne(t), ne(r), ne(i), ne(n)), Xr(a, o), l && l.d(o);
4342
+ o && (se(t), se(r), se(i), se(n)), Xr(a, o), l && l.d(o);
4339
4343
  }
4340
4344
  };
4341
4345
  }
@@ -4356,13 +4360,13 @@ function Qt(e) {
4356
4360
  t = J("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', ee(t, "class", "CashierVerificationChevron");
4357
4361
  },
4358
4362
  m(s, a) {
4359
- ue(s, t, a), r || (i = xt(t, "click", n), r = !0);
4363
+ le(s, t, a), r || (i = Et(t, "click", n), r = !0);
4360
4364
  },
4361
4365
  p(s, a) {
4362
4366
  e = s;
4363
4367
  },
4364
4368
  d(s) {
4365
- s && ne(t), r = !1, i();
4369
+ s && se(t), r = !1, i();
4366
4370
  }
4367
4371
  };
4368
4372
  }
@@ -4387,7 +4391,7 @@ function Kt(e) {
4387
4391
  }
4388
4392
  return {
4389
4393
  c() {
4390
- t = J("div"), r = J("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 = J("p"), a = Ee(), h && h.c(), l = Ee(), ee(r, "class", "IconVerification"), ee(n, "class", "text"), ee(t, "class", "CashierVerificationMessage"), Se(
4394
+ t = J("div"), r = J("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 = J("p"), a = we(), h && h.c(), l = we(), ee(r, "class", "IconVerification"), ee(n, "class", "text"), ee(t, "class", "CashierVerificationMessage"), Te(
4391
4395
  t,
4392
4396
  "ShowAll",
4393
4397
  /*allVerificationsVisible*/
@@ -4395,7 +4399,7 @@ function Kt(e) {
4395
4399
  );
4396
4400
  },
4397
4401
  m(m, E) {
4398
- ue(m, t, E), ie(t, r), ie(t, i), ie(t, n), n.innerHTML = s, ie(t, a), h && h.m(t, null), ie(t, l), o || (u = xt(t, "click", c), o = !0);
4402
+ le(m, t, E), ie(t, r), ie(t, i), ie(t, n), n.innerHTML = s, ie(t, a), h && h.m(t, null), ie(t, l), o || (u = Et(t, "click", c), o = !0);
4399
4403
  },
4400
4404
  p(m, E) {
4401
4405
  e = m, E[0] & /*displayMessages*/
@@ -4403,7 +4407,7 @@ function Kt(e) {
4403
4407
  e[49] + "") && (n.innerHTML = s), /*displayMessages*/
4404
4408
  e[4].length > 1 && /*index*/
4405
4409
  e[51] === 0 ? h ? h.p(e, E) : (h = Qt(e), h.c(), h.m(t, l)) : h && (h.d(1), h = null), E[0] & /*allVerificationsVisible*/
4406
- 32 && Se(
4410
+ 32 && Te(
4407
4411
  t,
4408
4412
  "ShowAll",
4409
4413
  /*allVerificationsVisible*/
@@ -4411,7 +4415,7 @@ function Kt(e) {
4411
4415
  );
4412
4416
  },
4413
4417
  d(m) {
4414
- m && ne(t), h && h.d(), o = !1, u();
4418
+ m && se(t), h && h.d(), o = !1, u();
4415
4419
  }
4416
4420
  };
4417
4421
  }
@@ -4422,7 +4426,7 @@ function er(e) {
4422
4426
  ), a, l, o;
4423
4427
  return {
4424
4428
  c() {
4425
- t = J("div"), r = J("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 = J("div"), a = yt(s), ee(r, "class", "IconVideo"), ee(n, "class", "CashierVerificationVideoLink"), Se(
4429
+ t = J("div"), r = J("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 = J("div"), a = _t(s), ee(r, "class", "IconVideo"), ee(n, "class", "CashierVerificationVideoLink"), Te(
4426
4430
  n,
4427
4431
  "CashierVerificationVideoLinkDesktop",
4428
4432
  /*desktopView*/
@@ -4430,7 +4434,7 @@ function er(e) {
4430
4434
  ), ee(t, "class", "CashierVerificationVideo");
4431
4435
  },
4432
4436
  m(u, h) {
4433
- ue(u, t, h), ie(t, r), ie(t, i), ie(t, n), ie(n, a), l || (o = xt(
4437
+ le(u, t, h), ie(t, r), ie(t, i), ie(t, n), ie(n, a), l || (o = Et(
4434
4438
  n,
4435
4439
  "click",
4436
4440
  /*click_handler_2*/
@@ -4441,7 +4445,7 @@ function er(e) {
4441
4445
  h[0] & /*$_*/
4442
4446
  512 && s !== (s = /*$_*/
4443
4447
  u[9]("verification.video.how-to") + "") && qr(a, s), h[0] & /*desktopView*/
4444
- 64 && Se(
4448
+ 64 && Te(
4445
4449
  n,
4446
4450
  "CashierVerificationVideoLinkDesktop",
4447
4451
  /*desktopView*/
@@ -4449,18 +4453,18 @@ function er(e) {
4449
4453
  );
4450
4454
  },
4451
4455
  d(u) {
4452
- u && ne(t), l = !1, o();
4456
+ u && se(t), l = !1, o();
4453
4457
  }
4454
4458
  };
4455
4459
  }
4456
- function ss(e) {
4460
+ function os(e) {
4457
4461
  let t, r = (
4458
4462
  /*displayMessages*/
4459
4463
  e[4] && Jt(e)
4460
4464
  );
4461
4465
  return {
4462
4466
  c() {
4463
- t = J("div"), r && r.c(), ee(t, "class", "CashierVerifications"), Se(
4467
+ t = J("div"), r && r.c(), ee(t, "class", "CashierVerifications"), Te(
4464
4468
  t,
4465
4469
  "CashierVerificationsDesktop",
4466
4470
  /*desktopView*/
@@ -4468,12 +4472,12 @@ function ss(e) {
4468
4472
  );
4469
4473
  },
4470
4474
  m(i, n) {
4471
- ue(i, t, n), r && r.m(t, null), e[21](t);
4475
+ le(i, t, n), r && r.m(t, null), e[21](t);
4472
4476
  },
4473
4477
  p(i, n) {
4474
4478
  /*displayMessages*/
4475
4479
  i[4] ? r ? r.p(i, n) : (r = Jt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null), n[0] & /*desktopView*/
4476
- 64 && Se(
4480
+ 64 && Te(
4477
4481
  t,
4478
4482
  "CashierVerificationsDesktop",
4479
4483
  /*desktopView*/
@@ -4483,15 +4487,15 @@ function ss(e) {
4483
4487
  i: K,
4484
4488
  o: K,
4485
4489
  d(i) {
4486
- i && ne(t), r && r.d(), e[21](null);
4490
+ i && se(t), r && r.d(), e[21](null);
4487
4491
  }
4488
4492
  };
4489
4493
  }
4490
- const os = "verification_explanation_video_widgets.MP4", as = "700px", us = "500px";
4491
- function ls(e, t, r) {
4494
+ const as = "verification_explanation_video_widgets.MP4", us = "700px", ls = "500px";
4495
+ function hs(e, t, r) {
4492
4496
  let i;
4493
- Vr(e, Kn, (f) => r(9, i = f)), Yt.extend(is);
4494
- let { endpoint: n } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: o = "" } = t, { session: u = "" } = t, { customerid: h = "" } = t, { ismobileview: c = "" } = t, m, E = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set(), v, $, G, U = !0, B = !0, X = !1, I = "";
4497
+ Vr(e, es, (f) => r(9, i = f)), Yt.extend(ns);
4498
+ let { endpoint: n } = t, { lang: s = "en" } = t, { translationurl: a = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: o = "" } = t, { session: u = "" } = t, { customerid: h = "" } = t, { ismobileview: c = "" } = t, m, E = /* @__PURE__ */ new Set(), H = /* @__PURE__ */ new Set(), v, $, G, U = !0, A = !0, X = !1, I = "";
4495
4499
  var L;
4496
4500
  (function(f) {
4497
4501
  f.Manual = "Manual", f.ShuftiPro = "ShuftiPro";
@@ -4512,7 +4516,7 @@ function ls(e, t, r) {
4512
4516
  R.InProgress,
4513
4517
  R.Referred,
4514
4518
  R.AwaitingForResponse
4515
- ], A = () => {
4519
+ ], P = () => {
4516
4520
  let f = a;
4517
4521
  if (f)
4518
4522
  return fetch(f).then((y) => y.json()).then((y) => {
@@ -4526,9 +4530,9 @@ function ls(e, t, r) {
4526
4530
  Object.keys(qt).forEach((f) => {
4527
4531
  Wt(f, qt[f]);
4528
4532
  });
4529
- const ge = () => {
4530
- es(s);
4531
- }, Ue = () => {
4533
+ const ve = () => {
4534
+ ts(s);
4535
+ }, Fe = () => {
4532
4536
  let f = document.createElement("style");
4533
4537
  f.innerHTML = l, m.appendChild(f);
4534
4538
  }, x = () => {
@@ -4547,7 +4551,7 @@ function ls(e, t, r) {
4547
4551
  return;
4548
4552
  const S = new URL(`${n}/v1/player/verification/GetKYCStatus`), V = new Headers();
4549
4553
  V.append("accept", "application/json"), V.append("Content-Type", "application/json"), V.append("X-Client-Request-Timestamp", Yt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4550
- const he = {
4554
+ const fe = {
4551
4555
  method: "POST",
4552
4556
  headers: V,
4553
4557
  body: JSON.stringify({
@@ -4557,8 +4561,8 @@ function ls(e, t, r) {
4557
4561
  AllParameters: !1
4558
4562
  })
4559
4563
  };
4560
- fetch(S, he).then((be) => be.json()).then((be) => {
4561
- r(17, $ = be.StaticCdnUrl + "/cashier/operator-assets/" + f), v = b(be.Verifications), v.VerificationStatuses.forEach((te) => {
4564
+ fetch(S, fe).then((ye) => ye.json()).then((ye) => {
4565
+ r(17, $ = ye.StaticCdnUrl + "/cashier/operator-assets/" + f), v = b(ye.Verifications), v.VerificationStatuses.forEach((te) => {
4562
4566
  te.VerificationUrlType !== "Widget" && E.add(te.Vendor);
4563
4567
  }), r(4, G = N());
4564
4568
  });
@@ -4589,25 +4593,25 @@ function ls(e, t, r) {
4589
4593
  };
4590
4594
  } else
4591
4595
  return {
4592
- VerificationSummaryStatus: f.some((he) => he.Status === R.Failed) ? R.Failed : R.Verified,
4596
+ VerificationSummaryStatus: f.some((fe) => fe.Status === R.Failed) ? R.Failed : R.Verified,
4593
4597
  VerificationStatuses: _(f, [R.Failed])
4594
4598
  };
4595
4599
  }, p = (f) => f.reduce(
4596
4600
  (y, S) => y ? new Date(y) < new Date(S) ? S : y : S,
4597
4601
  0
4598
4602
  ), _ = (f, y) => f.filter((S) => y.includes(S.Status)).map((S) => {
4599
- var V, he;
4603
+ var V, fe;
4600
4604
  return {
4601
4605
  Type: S.Type,
4602
4606
  Vendor: S.VendorName,
4603
4607
  VerificationDocuments: S.Documents ? [...Object.values(S.Documents)] : [],
4604
4608
  VerificationUrlType: (V = S.Flags) == null ? void 0 : V.DeferredUrlTypeKey,
4605
- VerificationUrl: (he = S.Flags) == null ? void 0 : he.DeferredUrlKey
4609
+ VerificationUrl: (fe = S.Flags) == null ? void 0 : fe.DeferredUrlKey
4606
4610
  };
4607
- }), w = (f) => f.filter((y) => k.includes(y.Status) ? y.Flags && y.Flags.DeferredUrlKey || M(y) || D(y) : !1), M = (f) => {
4611
+ }), w = (f) => f.filter((y) => k.includes(y.Status) ? y.Flags && y.Flags.DeferredUrlKey || B(y) || C(y) : !1), B = (f) => {
4608
4612
  const y = f.Documents && f.VendorName === L.Manual, S = Object.values(f.Documents).some((V) => V.Status === Y.Requested);
4609
4613
  return y && S;
4610
- }, D = (f) => f.VendorName === L.ShuftiPro && f.Status === R.Referred, N = () => {
4614
+ }, C = (f) => f.VendorName === L.ShuftiPro && f.Status === R.Referred, N = () => {
4611
4615
  switch (v.VerificationSummaryStatus) {
4612
4616
  case R.InProgress:
4613
4617
  const f = [];
@@ -4636,11 +4640,11 @@ function ls(e, t, r) {
4636
4640
  W.ProofOfAddress
4637
4641
  ];
4638
4642
  f.forEach((te) => {
4639
- V.includes(te.Type) && (y.push(te.Type), S[te.Type] = le(te, se(te.Type)));
4643
+ V.includes(te.Type) && (y.push(te.Type), S[te.Type] = he(te, oe(te.Type)));
4640
4644
  });
4641
- let he = y.every((te) => H.has(te)), be = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4642
- return he ? i("verification.shuftipro.validations-started") : i(be, { values: S });
4643
- }, le = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, se = (f) => i(`verification.shuftipro.link-name.${f}`), oe = (f, y) => {
4645
+ let fe = y.every((te) => H.has(te)), ye = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4646
+ return fe ? i("verification.shuftipro.validations-started") : i(ye, { values: S });
4647
+ }, he = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, oe = (f) => i(`verification.shuftipro.link-name.${f}`), ae = (f, y) => {
4644
4648
  if (f.stopPropagation(), f.target && (f.target.href || f.target.closest("a"))) {
4645
4649
  if (f.target.closest(".verificationLink")) {
4646
4650
  const S = f.target.className.split(" ")[1];
@@ -4649,10 +4653,10 @@ function ls(e, t, r) {
4649
4653
  return;
4650
4654
  }
4651
4655
  y === 0 && r(5, U = !U);
4652
- }, ae = () => {
4653
- r(6, B = c === "false");
4656
+ }, ue = () => {
4657
+ r(6, A = c === "false");
4654
4658
  }, j = () => {
4655
- r(8, I = $ + "/" + s + "/" + os);
4659
+ r(8, I = $ + "/" + s + "/" + as);
4656
4660
  try {
4657
4661
  fetch(I, { method: "HEAD" }).then((f) => {
4658
4662
  r(7, X = f.ok);
@@ -4664,13 +4668,13 @@ function ls(e, t, r) {
4664
4668
  window.postMessage(
4665
4669
  {
4666
4670
  type: "ShowCashierVideoModal",
4667
- details: B ? as : us
4671
+ details: A ? us : ls
4668
4672
  },
4669
4673
  window.location.href
4670
4674
  );
4671
- }, me = (f, y) => oe(y, f), ve = (f, y) => oe(y, f), Dr = () => Q();
4675
+ }, pe = (f, y) => ae(y, f), be = (f, y) => ae(y, f), Dr = () => Q();
4672
4676
  function Ir(f) {
4673
- at[f ? "unshift" : "push"](() => {
4677
+ lt[f ? "unshift" : "push"](() => {
4674
4678
  m = f, r(3, m);
4675
4679
  });
4676
4680
  }
@@ -4678,12 +4682,12 @@ function ls(e, t, r) {
4678
4682
  "endpoint" in f && r(12, n = f.endpoint), "lang" in f && r(13, s = f.lang), "translationurl" in f && r(14, a = f.translationurl), "clientstyling" in f && r(0, l = f.clientstyling), "clientstylingurl" in f && r(1, o = f.clientstylingurl), "session" in f && r(15, u = f.session), "customerid" in f && r(16, h = f.customerid), "ismobileview" in f && r(2, c = f.ismobileview);
4679
4683
  }, e.$$.update = () => {
4680
4684
  e.$$.dirty[0] & /*lang*/
4681
- 8192 && s && ge(), e.$$.dirty[0] & /*endpoint, session*/
4685
+ 8192 && s && ve(), e.$$.dirty[0] & /*endpoint, session*/
4682
4686
  36864 && n && u && g(), e.$$.dirty[0] & /*translationurl*/
4683
- 16384 && a && A(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4684
- 9 && l && m && Ue(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4687
+ 16384 && a && P(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4688
+ 9 && l && m && Fe(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4685
4689
  10 && o && m && x(), e.$$.dirty[0] & /*ismobileview*/
4686
- 4 && c && ae(), e.$$.dirty[0] & /*staticCdnUrl*/
4690
+ 4 && c && ue(), e.$$.dirty[0] & /*staticCdnUrl*/
4687
4691
  131072 && $ && j();
4688
4692
  }, [
4689
4693
  l,
@@ -4692,11 +4696,11 @@ function ls(e, t, r) {
4692
4696
  m,
4693
4697
  G,
4694
4698
  U,
4695
- B,
4699
+ A,
4696
4700
  X,
4697
4701
  I,
4698
4702
  i,
4699
- oe,
4703
+ ae,
4700
4704
  Q,
4701
4705
  n,
4702
4706
  s,
@@ -4704,8 +4708,8 @@ function ls(e, t, r) {
4704
4708
  u,
4705
4709
  h,
4706
4710
  $,
4707
- me,
4708
- ve,
4711
+ pe,
4712
+ be,
4709
4713
  Dr,
4710
4714
  Ir
4711
4715
  ];
@@ -4715,8 +4719,8 @@ class Cr extends ui {
4715
4719
  super(), oi(
4716
4720
  this,
4717
4721
  t,
4718
- ls,
4719
- ss,
4722
+ hs,
4723
+ os,
4720
4724
  rr,
4721
4725
  {
4722
4726
  endpoint: 12,
@@ -4728,7 +4732,7 @@ class Cr extends ui {
4728
4732
  customerid: 16,
4729
4733
  ismobileview: 2
4730
4734
  },
4731
- ns,
4735
+ ss,
4732
4736
  [-1, -1]
4733
4737
  );
4734
4738
  }
@@ -4782,30 +4786,30 @@ class Cr extends ui {
4782
4786
  }
4783
4787
  }
4784
4788
  ai(Cr, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {} }, [], [], !0);
4785
- const ps = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4789
+ const gs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4786
4790
  __proto__: null,
4787
4791
  default: Cr
4788
4792
  }, Symbol.toStringTag, { value: "Module" }));
4789
4793
  export {
4790
- ps as C,
4794
+ gs as C,
4791
4795
  ui as S,
4792
4796
  Gr as a,
4793
- ue as b,
4794
- ai as c,
4795
- ne as d,
4796
- ds as e,
4797
+ le as b,
4798
+ cs as c,
4799
+ se as d,
4800
+ ms as e,
4797
4801
  re as f,
4798
- J as g,
4799
- Ee as h,
4802
+ ee as g,
4803
+ ie as h,
4800
4804
  oi as i,
4801
- fs as j,
4802
- ee as k,
4803
- ie as l,
4804
- cs as m,
4805
+ J as j,
4806
+ we as k,
4807
+ lt as l,
4808
+ Et as m,
4805
4809
  K as n,
4806
- ms as o,
4807
- xt as p,
4808
- at as q,
4810
+ ps as o,
4811
+ ds as p,
4812
+ ai as q,
4809
4813
  rr as s,
4810
- Se as t
4814
+ Te as t
4811
4815
  };