@everymatrix/cashier-verifications 1.72.2 → 1.73.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,50 +1,50 @@
1
- function Q() {
1
+ function ee() {
2
2
  }
3
- function Jt(e) {
3
+ function Zt(e) {
4
4
  return e();
5
5
  }
6
6
  function Tt() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function Le(e) {
10
- e.forEach(Jt);
9
+ function Ie(e) {
10
+ e.forEach(Zt);
11
11
  }
12
12
  function bt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Qt(e, t) {
15
+ function Jt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
18
  let Fe;
19
- function is(e, t) {
19
+ function us(e, t) {
20
20
  return e === t ? !0 : (Fe || (Fe = document.createElement("a")), Fe.href = t, e === Fe.href);
21
21
  }
22
- function Dr(e) {
22
+ function Cr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Kt(e, ...t) {
25
+ function Qt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const i of t)
28
28
  i(void 0);
29
- return Q;
29
+ return ee;
30
30
  }
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
34
  function Ht(e, t, r) {
35
- e.$$.on_destroy.push(Kt(t, r));
35
+ e.$$.on_destroy.push(Qt(t, r));
36
36
  }
37
- function re(e, t) {
37
+ function ne(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Lr(e, t, r) {
41
- const i = Ir(e);
40
+ function Dr(e, t, r) {
41
+ const i = Lr(e);
42
42
  if (!i.getElementById(t)) {
43
43
  const n = q("style");
44
- n.id = t, n.textContent = r, Nr(i, n);
44
+ n.id = t, n.textContent = r, Ir(i, n);
45
45
  }
46
46
  }
47
- function Ir(e) {
47
+ function Lr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,59 +54,59 @@ function Ir(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function Nr(e, t) {
58
- return re(
57
+ function Ir(e, t) {
58
+ return ne(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function ae(e, t, r) {
64
+ function oe(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function ne(e) {
67
+ function K(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function Rr(e, t) {
70
+ function Nr(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
74
74
  function q(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function ns(e) {
77
+ function ls(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
80
  function yt(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
- function _e() {
83
+ function xe() {
84
84
  return yt(" ");
85
85
  }
86
- function ss() {
86
+ function hs() {
87
87
  return yt("");
88
88
  }
89
89
  function _t(e, t, r, i) {
90
90
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
91
91
  }
92
- function K(e, t, r) {
92
+ function te(e, t, r) {
93
93
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
94
94
  }
95
- function le(e, t, r) {
95
+ function J(e, t, r) {
96
96
  const i = t.toLowerCase();
97
- i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : K(e, t, r);
97
+ i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : te(e, t, r);
98
98
  }
99
- function kr(e) {
99
+ function Rr(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
- function Ur(e, t) {
102
+ function kr(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
- function Ee(e, t, r) {
106
+ function we(e, t, r) {
107
107
  e.classList.toggle(t, !!r);
108
108
  }
109
- function Fr(e) {
109
+ function Ur(e) {
110
110
  const t = {};
111
111
  return e.childNodes.forEach(
112
112
  /** @param {Element} node */
@@ -115,65 +115,65 @@ function Fr(e) {
115
115
  }
116
116
  ), t;
117
117
  }
118
- let Me;
119
- function Be(e) {
120
- Me = e;
118
+ let Ce;
119
+ function Me(e) {
120
+ Ce = e;
121
121
  }
122
- function Vr() {
123
- if (!Me)
122
+ function Fr() {
123
+ if (!Ce)
124
124
  throw new Error("Function called outside component initialization");
125
- return Me;
125
+ return Ce;
126
126
  }
127
- function os(e) {
128
- Vr().$$.on_mount.push(e);
127
+ function Vr(e) {
128
+ Fr().$$.on_mount.push(e);
129
129
  }
130
- const ye = [], at = [];
131
- let xe = [];
130
+ const _e = [], at = [];
131
+ let Ee = [];
132
132
  const Ot = [], Gr = /* @__PURE__ */ Promise.resolve();
133
133
  let ut = !1;
134
134
  function jr() {
135
- ut || (ut = !0, Gr.then(J));
135
+ ut || (ut = !0, Gr.then(Z));
136
136
  }
137
137
  function lt(e) {
138
- xe.push(e);
138
+ Ee.push(e);
139
139
  }
140
140
  const et = /* @__PURE__ */ new Set();
141
- let ve = 0;
142
- function J() {
143
- if (ve !== 0)
141
+ let be = 0;
142
+ function Z() {
143
+ if (be !== 0)
144
144
  return;
145
- const e = Me;
145
+ const e = Ce;
146
146
  do {
147
147
  try {
148
- for (; ve < ye.length; ) {
149
- const t = ye[ve];
150
- ve++, Be(t), zr(t.$$);
148
+ for (; be < _e.length; ) {
149
+ const t = _e[be];
150
+ be++, Me(t), zr(t.$$);
151
151
  }
152
152
  } catch (t) {
153
- throw ye.length = 0, ve = 0, t;
153
+ throw _e.length = 0, be = 0, t;
154
154
  }
155
- for (Be(null), ye.length = 0, ve = 0; at.length; )
155
+ for (Me(null), _e.length = 0, be = 0; at.length; )
156
156
  at.pop()();
157
- for (let t = 0; t < xe.length; t += 1) {
158
- const r = xe[t];
157
+ for (let t = 0; t < Ee.length; t += 1) {
158
+ const r = Ee[t];
159
159
  et.has(r) || (et.add(r), r());
160
160
  }
161
- xe.length = 0;
162
- } while (ye.length);
161
+ Ee.length = 0;
162
+ } while (_e.length);
163
163
  for (; Ot.length; )
164
164
  Ot.pop()();
165
- ut = !1, et.clear(), Be(e);
165
+ ut = !1, et.clear(), Me(e);
166
166
  }
167
167
  function zr(e) {
168
168
  if (e.fragment !== null) {
169
- e.update(), Le(e.before_update);
169
+ e.update(), Ie(e.before_update);
170
170
  const t = e.dirty;
171
171
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(lt);
172
172
  }
173
173
  }
174
174
  function Xr(e) {
175
175
  const t = [], r = [];
176
- xe.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), xe = t;
176
+ Ee.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), Ee = t;
177
177
  }
178
178
  const Wr = /* @__PURE__ */ new Set();
179
179
  function qr(e, t) {
@@ -185,26 +185,26 @@ function Pt(e) {
185
185
  function Yr(e, t, r) {
186
186
  const { fragment: i, after_update: n } = e.$$;
187
187
  i && i.m(t, r), lt(() => {
188
- const s = e.$$.on_mount.map(Jt).filter(bt);
189
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Le(s), e.$$.on_mount = [];
188
+ const s = e.$$.on_mount.map(Zt).filter(bt);
189
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Ie(s), e.$$.on_mount = [];
190
190
  }), n.forEach(lt);
191
191
  }
192
192
  function Zr(e, t) {
193
193
  const r = e.$$;
194
- r.fragment !== null && (Xr(r.after_update), Le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
194
+ r.fragment !== null && (Xr(r.after_update), Ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
195
195
  }
196
196
  function Jr(e, t) {
197
- e.$$.dirty[0] === -1 && (ye.push(e), jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
197
+ e.$$.dirty[0] === -1 && (_e.push(e), jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
198
198
  }
199
- function Qr(e, t, r, i, n, s, l = null, a = [-1]) {
200
- const o = Me;
201
- Be(e);
202
- const u = e.$$ = {
199
+ function Qr(e, t, r, i, n, s, a = null, u = [-1]) {
200
+ const o = Ce;
201
+ Me(e);
202
+ const l = e.$$ = {
203
203
  fragment: null,
204
204
  ctx: [],
205
205
  // state
206
206
  props: s,
207
- update: Q,
207
+ update: ee,
208
208
  not_equal: n,
209
209
  bound: Tt(),
210
210
  // lifecycle
@@ -216,27 +216,27 @@ function Qr(e, t, r, i, n, s, l = null, a = [-1]) {
216
216
  context: new Map(t.context || (o ? o.$$.context : [])),
217
217
  // everything else
218
218
  callbacks: Tt(),
219
- dirty: a,
219
+ dirty: u,
220
220
  skip_bound: !1,
221
221
  root: t.target || o.$$.root
222
222
  };
223
- l && l(u.root);
223
+ a && a(l.root);
224
224
  let h = !1;
225
- if (u.ctx = r ? r(e, t.props || {}, (c, p, ..._) => {
226
- const T = _.length ? _[0] : p;
227
- return u.ctx && n(u.ctx[c], u.ctx[c] = T) && (!u.skip_bound && u.bound[c] && u.bound[c](T), h && Jr(e, c)), p;
228
- }) : [], u.update(), h = !0, Le(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
225
+ if (l.ctx = r ? r(e, t.props || {}, (c, p, ..._) => {
226
+ const S = _.length ? _[0] : p;
227
+ return l.ctx && n(l.ctx[c], l.ctx[c] = S) && (!l.skip_bound && l.bound[c] && l.bound[c](S), h && Jr(e, c)), p;
228
+ }) : [], l.update(), h = !0, Ie(l.before_update), l.fragment = i ? i(l.ctx) : !1, t.target) {
229
229
  if (t.hydrate) {
230
- const c = kr(t.target);
231
- u.fragment && u.fragment.l(c), c.forEach(ne);
230
+ const c = Rr(t.target);
231
+ l.fragment && l.fragment.l(c), c.forEach(K);
232
232
  } else
233
- u.fragment && u.fragment.c();
234
- t.intro && qr(e.$$.fragment), Yr(e, t.target, t.anchor), J();
233
+ l.fragment && l.fragment.c();
234
+ t.intro && qr(e.$$.fragment), Yr(e, t.target, t.anchor), Z();
235
235
  }
236
- Be(o);
236
+ Me(o);
237
237
  }
238
- let er;
239
- typeof HTMLElement == "function" && (er = class extends HTMLElement {
238
+ let Kt;
239
+ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
240
240
  /** The Svelte component constructor */
241
241
  $$ctor;
242
242
  /** Slots */
@@ -278,24 +278,24 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
278
278
  let s;
279
279
  return {
280
280
  c: function() {
281
- s = q("slot"), n !== "default" && K(s, "name", n);
281
+ s = q("slot"), n !== "default" && te(s, "name", n);
282
282
  },
283
283
  /**
284
284
  * @param {HTMLElement} target
285
285
  * @param {HTMLElement} [anchor]
286
286
  */
287
- m: function(o, u) {
288
- ae(o, s, u);
287
+ m: function(o, l) {
288
+ oe(o, s, l);
289
289
  },
290
290
  d: function(o) {
291
- o && ne(s);
291
+ o && K(s);
292
292
  }
293
293
  };
294
294
  };
295
295
  };
296
296
  if (await Promise.resolve(), !this.$$cn || this.$$c)
297
297
  return;
298
- const t = {}, r = Fr(this);
298
+ const t = {}, r = Ur(this);
299
299
  for (const n of this.$$s)
300
300
  n in r && (t[n] = [e(n)]);
301
301
  for (const n of this.attributes) {
@@ -331,8 +331,8 @@ typeof HTMLElement == "function" && (er = class extends HTMLElement {
331
331
  this.$$c.$$.after_update.push(i), i();
332
332
  for (const n in this.$$l)
333
333
  for (const s of this.$$l[n]) {
334
- const l = this.$$c.$on(n, s);
335
- this.$$l_u.set(s, l);
334
+ const a = this.$$c.$on(n, s);
335
+ this.$$l_u.set(s, a);
336
336
  }
337
337
  this.$$l = {};
338
338
  }
@@ -383,33 +383,33 @@ function Ge(e, t, r, i) {
383
383
  }
384
384
  }
385
385
  function Kr(e, t, r, i, n, s) {
386
- let l = class extends er {
386
+ let a = class extends Kt {
387
387
  constructor() {
388
388
  super(e, r, n), this.$$p_d = t;
389
389
  }
390
390
  static get observedAttributes() {
391
391
  return Object.keys(t).map(
392
- (a) => (t[a].attribute || a).toLowerCase()
392
+ (u) => (t[u].attribute || u).toLowerCase()
393
393
  );
394
394
  }
395
395
  };
396
- return Object.keys(t).forEach((a) => {
397
- Object.defineProperty(l.prototype, a, {
396
+ return Object.keys(t).forEach((u) => {
397
+ Object.defineProperty(a.prototype, u, {
398
398
  get() {
399
- return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
399
+ return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
400
400
  },
401
401
  set(o) {
402
- o = Ge(a, o, t), this.$$d[a] = o, this.$$c?.$set({ [a]: o });
402
+ o = Ge(u, o, t), this.$$d[u] = o, this.$$c?.$set({ [u]: o });
403
403
  }
404
404
  });
405
- }), i.forEach((a) => {
406
- Object.defineProperty(l.prototype, a, {
405
+ }), i.forEach((u) => {
406
+ Object.defineProperty(a.prototype, u, {
407
407
  get() {
408
- return this.$$c?.[a];
408
+ return this.$$c?.[u];
409
409
  }
410
410
  });
411
411
  }), e.element = /** @type {any} */
412
- l, l;
412
+ a, a;
413
413
  }
414
414
  class ei {
415
415
  /**
@@ -430,7 +430,7 @@ class ei {
430
430
  $$set = void 0;
431
431
  /** @returns {void} */
432
432
  $destroy() {
433
- Zr(this, 1), this.$destroy = Q;
433
+ Zr(this, 1), this.$destroy = ee;
434
434
  }
435
435
  /**
436
436
  * @template {Extract<keyof Events, string>} K
@@ -440,7 +440,7 @@ class ei {
440
440
  */
441
441
  $on(t, r) {
442
442
  if (!bt(r))
443
- return Q;
443
+ return ee;
444
444
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
445
445
  return i.push(r), () => {
446
446
  const n = i.indexOf(r);
@@ -452,63 +452,63 @@ class ei {
452
452
  * @returns {void}
453
453
  */
454
454
  $set(t) {
455
- this.$$set && !Dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
455
+ this.$$set && !Cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
456
456
  }
457
457
  }
458
458
  const ti = "4";
459
459
  typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ti);
460
- const be = [];
460
+ const ye = [];
461
461
  function ri(e, t) {
462
462
  return {
463
- subscribe: Ie(e, t).subscribe
463
+ subscribe: Ne(e, t).subscribe
464
464
  };
465
465
  }
466
- function Ie(e, t = Q) {
466
+ function Ne(e, t = ee) {
467
467
  let r;
468
468
  const i = /* @__PURE__ */ new Set();
469
- function n(a) {
470
- if (Qt(e, a) && (e = a, r)) {
471
- const o = !be.length;
472
- for (const u of i)
473
- u[1](), be.push(u, e);
469
+ function n(u) {
470
+ if (Jt(e, u) && (e = u, r)) {
471
+ const o = !ye.length;
472
+ for (const l of i)
473
+ l[1](), ye.push(l, e);
474
474
  if (o) {
475
- for (let u = 0; u < be.length; u += 2)
476
- be[u][0](be[u + 1]);
477
- be.length = 0;
475
+ for (let l = 0; l < ye.length; l += 2)
476
+ ye[l][0](ye[l + 1]);
477
+ ye.length = 0;
478
478
  }
479
479
  }
480
480
  }
481
- function s(a) {
482
- n(a(e));
481
+ function s(u) {
482
+ n(u(e));
483
483
  }
484
- function l(a, o = Q) {
485
- const u = [a, o];
486
- return i.add(u), i.size === 1 && (r = t(n, s) || Q), a(e), () => {
487
- i.delete(u), i.size === 0 && r && (r(), r = null);
484
+ function a(u, o = ee) {
485
+ const l = [u, o];
486
+ return i.add(l), i.size === 1 && (r = t(n, s) || ee), u(e), () => {
487
+ i.delete(l), i.size === 0 && r && (r(), r = null);
488
488
  };
489
489
  }
490
- return { set: n, update: s, subscribe: l };
490
+ return { set: n, update: s, subscribe: a };
491
491
  }
492
- function Oe(e, t, r) {
492
+ function Pe(e, t, r) {
493
493
  const i = !Array.isArray(e), n = i ? [e] : e;
494
494
  if (!n.every(Boolean))
495
495
  throw new Error("derived() expects stores as input, got a falsy value");
496
496
  const s = t.length < 2;
497
- return ri(r, (l, a) => {
497
+ return ri(r, (a, u) => {
498
498
  let o = !1;
499
- const u = [];
500
- let h = 0, c = Q;
499
+ const l = [];
500
+ let h = 0, c = ee;
501
501
  const p = () => {
502
502
  if (h)
503
503
  return;
504
504
  c();
505
- const T = t(i ? u[0] : u, l, a);
506
- s ? l(T) : c = bt(T) ? T : Q;
505
+ const S = t(i ? l[0] : l, a, u);
506
+ s ? a(S) : c = bt(S) ? S : ee;
507
507
  }, _ = n.map(
508
- (T, v) => Kt(
509
- T,
510
- (M) => {
511
- u[v] = M, h &= ~(1 << v), o && p();
508
+ (S, v) => Qt(
509
+ S,
510
+ (B) => {
511
+ l[v] = B, h &= ~(1 << v), o && p();
512
512
  },
513
513
  () => {
514
514
  h |= 1 << v;
@@ -516,11 +516,11 @@ function Oe(e, t, r) {
516
516
  )
517
517
  );
518
518
  return o = !0, p(), function() {
519
- Le(_), c(), o = !1;
519
+ Ie(_), c(), o = !1;
520
520
  };
521
521
  });
522
522
  }
523
- var tr = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
523
+ var er = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
524
524
  function xt(e) {
525
525
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
526
526
  }
@@ -541,19 +541,19 @@ function ui(e) {
541
541
  function li(e) {
542
542
  return Array.isArray(e) ? [] : {};
543
543
  }
544
- function Ce(e, t) {
545
- return t.clone !== !1 && t.isMergeableObject(e) ? we(li(e), e, t) : e;
544
+ function De(e, t) {
545
+ return t.clone !== !1 && t.isMergeableObject(e) ? Se(li(e), e, t) : e;
546
546
  }
547
547
  function hi(e, t, r) {
548
548
  return e.concat(t).map(function(i) {
549
- return Ce(i, r);
549
+ return De(i, r);
550
550
  });
551
551
  }
552
552
  function fi(e, t) {
553
553
  if (!t.customMerge)
554
- return we;
554
+ return Se;
555
555
  var r = t.customMerge(e);
556
- return typeof r == "function" ? r : we;
556
+ return typeof r == "function" ? r : Se;
557
557
  }
558
558
  function ci(e) {
559
559
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -563,7 +563,7 @@ function ci(e) {
563
563
  function At(e) {
564
564
  return Object.keys(e).concat(ci(e));
565
565
  }
566
- function rr(e, t) {
566
+ function tr(e, t) {
567
567
  try {
568
568
  return t in e;
569
569
  } catch {
@@ -571,29 +571,29 @@ function rr(e, t) {
571
571
  }
572
572
  }
573
573
  function di(e, t) {
574
- return rr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
574
+ return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
575
575
  }
576
576
  function mi(e, t, r) {
577
577
  var i = {};
578
578
  return r.isMergeableObject(e) && At(e).forEach(function(n) {
579
- i[n] = Ce(e[n], r);
579
+ i[n] = De(e[n], r);
580
580
  }), At(t).forEach(function(n) {
581
- di(e, n) || (rr(e, n) && r.isMergeableObject(t[n]) ? i[n] = fi(n, r)(e[n], t[n], r) : i[n] = Ce(t[n], r));
581
+ di(e, n) || (tr(e, n) && r.isMergeableObject(t[n]) ? i[n] = fi(n, r)(e[n], t[n], r) : i[n] = De(t[n], r));
582
582
  }), i;
583
583
  }
584
- function we(e, t, r) {
585
- r = r || {}, r.arrayMerge = r.arrayMerge || hi, r.isMergeableObject = r.isMergeableObject || ii, r.cloneUnlessOtherwiseSpecified = Ce;
584
+ function Se(e, t, r) {
585
+ r = r || {}, r.arrayMerge = r.arrayMerge || hi, r.isMergeableObject = r.isMergeableObject || ii, r.cloneUnlessOtherwiseSpecified = De;
586
586
  var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
587
- return s ? i ? r.arrayMerge(e, t, r) : mi(e, t, r) : Ce(t, r);
587
+ return s ? i ? r.arrayMerge(e, t, r) : mi(e, t, r) : De(t, r);
588
588
  }
589
- we.all = function(t, r) {
589
+ Se.all = function(t, r) {
590
590
  if (!Array.isArray(t))
591
591
  throw new Error("first argument should be an array");
592
592
  return t.reduce(function(i, n) {
593
- return we(i, n, r);
593
+ return Se(i, n, r);
594
594
  }, {});
595
595
  };
596
- var pi = we, gi = pi;
596
+ var pi = Se, gi = pi;
597
597
  const vi = /* @__PURE__ */ xt(gi);
598
598
  var ht = function(e, t) {
599
599
  return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
@@ -612,15 +612,15 @@ function Ze(e, t) {
612
612
  }
613
613
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
614
614
  }
615
- var ie = function() {
616
- return ie = Object.assign || function(t) {
615
+ var se = function() {
616
+ return se = Object.assign || function(t) {
617
617
  for (var r, i = 1, n = arguments.length; i < n; i++) {
618
618
  r = arguments[i];
619
619
  for (var s in r)
620
620
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
621
621
  }
622
622
  return t;
623
- }, ie.apply(this, arguments);
623
+ }, se.apply(this, arguments);
624
624
  };
625
625
  function bi(e, t) {
626
626
  var r = {};
@@ -651,19 +651,19 @@ function _i(e, t, r, i) {
651
651
  var n = yi(i) ? i : r(i), s = t.get(n);
652
652
  return typeof s > "u" && (s = e.call(this, i), t.set(n, s)), s;
653
653
  }
654
- function ir(e, t, r) {
654
+ function rr(e, t, r) {
655
655
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
656
656
  return typeof s > "u" && (s = e.apply(this, i), t.set(n, s)), s;
657
657
  }
658
- function nr(e, t, r, i, n) {
658
+ function ir(e, t, r, i, n) {
659
659
  return r.bind(t, e, i, n);
660
660
  }
661
661
  function xi(e, t) {
662
- var r = e.length === 1 ? _i : ir;
663
- return nr(e, this, r, t.cache.create(), t.serializer);
662
+ var r = e.length === 1 ? _i : rr;
663
+ return ir(e, this, r, t.cache.create(), t.serializer);
664
664
  }
665
665
  function Ei(e, t) {
666
- return nr(e, this, ir, t.cache.create(), t.serializer);
666
+ return ir(e, this, rr, t.cache.create(), t.serializer);
667
667
  }
668
668
  var wi = function() {
669
669
  return JSON.stringify(arguments);
@@ -703,44 +703,44 @@ var C;
703
703
  (function(e) {
704
704
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
705
705
  })(C || (C = {}));
706
- var Se;
706
+ var Te;
707
707
  (function(e) {
708
708
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
709
- })(Se || (Se = {}));
709
+ })(Te || (Te = {}));
710
710
  function $t(e) {
711
711
  return e.type === C.literal;
712
712
  }
713
713
  function Hi(e) {
714
714
  return e.type === C.argument;
715
715
  }
716
- function sr(e) {
716
+ function nr(e) {
717
717
  return e.type === C.number;
718
718
  }
719
- function or(e) {
719
+ function sr(e) {
720
720
  return e.type === C.date;
721
721
  }
722
- function ar(e) {
722
+ function or(e) {
723
723
  return e.type === C.time;
724
724
  }
725
- function ur(e) {
725
+ function ar(e) {
726
726
  return e.type === C.select;
727
727
  }
728
- function lr(e) {
728
+ function ur(e) {
729
729
  return e.type === C.plural;
730
730
  }
731
731
  function Oi(e) {
732
732
  return e.type === C.pound;
733
733
  }
734
- function hr(e) {
734
+ function lr(e) {
735
735
  return e.type === C.tag;
736
736
  }
737
- function fr(e) {
738
- return !!(e && typeof e == "object" && e.type === Se.number);
737
+ function hr(e) {
738
+ return !!(e && typeof e == "object" && e.type === Te.number);
739
739
  }
740
740
  function ft(e) {
741
- return !!(e && typeof e == "object" && e.type === Se.dateTime);
741
+ return !!(e && typeof e == "object" && e.type === Te.dateTime);
742
742
  }
743
- var cr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pi = /(?:[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;
743
+ var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
744
744
  function Ai(e) {
745
745
  var t = {};
746
746
  return e.replace(Pi, function(r) {
@@ -849,29 +849,29 @@ function Bi(e) {
849
849
  for (var t = e.split($i).filter(function(p) {
850
850
  return p.length > 0;
851
851
  }), r = [], i = 0, n = t; i < n.length; i++) {
852
- var s = n[i], l = s.split("/");
853
- if (l.length === 0)
852
+ var s = n[i], a = s.split("/");
853
+ if (a.length === 0)
854
854
  throw new Error("Invalid number skeleton");
855
- for (var a = l[0], o = l.slice(1), u = 0, h = o; u < h.length; u++) {
856
- var c = h[u];
855
+ for (var u = a[0], o = a.slice(1), l = 0, h = o; l < h.length; l++) {
856
+ var c = h[l];
857
857
  if (c.length === 0)
858
858
  throw new Error("Invalid number skeleton");
859
859
  }
860
- r.push({ stem: a, options: o });
860
+ r.push({ stem: u, options: o });
861
861
  }
862
862
  return r;
863
863
  }
864
864
  function Mi(e) {
865
865
  return e.replace(/^(.*?)-/, "");
866
866
  }
867
- var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, dr = /^(@+)?(\+|#+)?[rs]?$/g, Ci = /(\*)(0+)|(#+)(0+)|(0+)/g, mr = /^(0+)$/;
867
+ var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Ci = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
868
868
  function Mt(e) {
869
869
  var t = {};
870
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(dr, function(r, i, n) {
870
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(cr, function(r, i, n) {
871
871
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
872
872
  }), t;
873
873
  }
874
- function pr(e) {
874
+ function mr(e) {
875
875
  switch (e) {
876
876
  case "sign-auto":
877
877
  return {
@@ -919,14 +919,14 @@ function Di(e) {
919
919
  notation: "scientific"
920
920
  }, e = e.slice(1)), t) {
921
921
  var r = e.slice(0, 2);
922
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !mr.test(e))
922
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
923
923
  throw new Error("Malformed concise eng/scientific notation");
924
924
  t.minimumIntegerDigits = e.length;
925
925
  }
926
926
  return t;
927
927
  }
928
928
  function Ct(e) {
929
- var t = {}, r = pr(e);
929
+ var t = {}, r = mr(e);
930
930
  return r || t;
931
931
  }
932
932
  function Li(e) {
@@ -964,13 +964,13 @@ function Li(e) {
964
964
  t.notation = "compact", t.compactDisplay = "long";
965
965
  continue;
966
966
  case "scientific":
967
- t = L(L(L({}, t), { notation: "scientific" }), n.options.reduce(function(o, u) {
968
- return L(L({}, o), Ct(u));
967
+ t = L(L(L({}, t), { notation: "scientific" }), n.options.reduce(function(o, l) {
968
+ return L(L({}, o), Ct(l));
969
969
  }, {}));
970
970
  continue;
971
971
  case "engineering":
972
- t = L(L(L({}, t), { notation: "engineering" }), n.options.reduce(function(o, u) {
973
- return L(L({}, o), Ct(u));
972
+ t = L(L(L({}, t), { notation: "engineering" }), n.options.reduce(function(o, l) {
973
+ return L(L({}, o), Ct(l));
974
974
  }, {}));
975
975
  continue;
976
976
  case "notation-simple":
@@ -1015,8 +1015,8 @@ function Li(e) {
1015
1015
  case "integer-width":
1016
1016
  if (n.options.length > 1)
1017
1017
  throw new RangeError("integer-width stems only accept a single optional option");
1018
- n.options[0].replace(Ci, function(o, u, h, c, p, _) {
1019
- if (u)
1018
+ n.options[0].replace(Ci, function(o, l, h, c, p, _) {
1019
+ if (l)
1020
1020
  t.minimumIntegerDigits = h.length;
1021
1021
  else {
1022
1022
  if (c && p)
@@ -1028,28 +1028,28 @@ function Li(e) {
1028
1028
  });
1029
1029
  continue;
1030
1030
  }
1031
- if (mr.test(n.stem)) {
1031
+ if (dr.test(n.stem)) {
1032
1032
  t.minimumIntegerDigits = n.stem.length;
1033
1033
  continue;
1034
1034
  }
1035
1035
  if (Bt.test(n.stem)) {
1036
1036
  if (n.options.length > 1)
1037
1037
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1038
- n.stem.replace(Bt, function(o, u, h, c, p, _) {
1039
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && _ ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + _.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1038
+ n.stem.replace(Bt, function(o, l, h, c, p, _) {
1039
+ return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && _ ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + _.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1040
1040
  });
1041
1041
  var s = n.options[0];
1042
1042
  s === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = L(L({}, t), Mt(s)));
1043
1043
  continue;
1044
1044
  }
1045
- if (dr.test(n.stem)) {
1045
+ if (cr.test(n.stem)) {
1046
1046
  t = L(L({}, t), Mt(n.stem));
1047
1047
  continue;
1048
1048
  }
1049
- var l = pr(n.stem);
1050
- l && (t = L(L({}, t), l));
1051
- var a = Di(n.stem);
1049
+ var a = mr(n.stem);
1052
1050
  a && (t = L(L({}, t), a));
1051
+ var u = Di(n.stem);
1052
+ u && (t = L(L({}, t), u));
1053
1053
  }
1054
1054
  return t;
1055
1055
  }
@@ -2474,11 +2474,11 @@ function Ii(e, t) {
2474
2474
  if (n === "j") {
2475
2475
  for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2476
2476
  s++, i++;
2477
- var l = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = Ni(t);
2478
- for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2477
+ var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), o = "a", l = Ni(t);
2478
+ for ((l == "H" || l == "k") && (u = 0); u-- > 0; )
2479
2479
  r += o;
2480
- for (; l-- > 0; )
2481
- r = u + r;
2480
+ for (; a-- > 0; )
2481
+ r = l + r;
2482
2482
  } else
2483
2483
  n === "J" ? r += "H" : r += n;
2484
2484
  }
@@ -2506,15 +2506,15 @@ function Ni(e) {
2506
2506
  var n = Ve[i || ""] || Ve[r || ""] || Ve["".concat(r, "-001")] || Ve["001"];
2507
2507
  return n[0];
2508
2508
  }
2509
- var nt, Ri = new RegExp("^".concat(cr.source, "*")), ki = new RegExp("".concat(cr.source, "*$"));
2510
- function P(e, t) {
2509
+ var nt, Ri = new RegExp("^".concat(fr.source, "*")), ki = new RegExp("".concat(fr.source, "*$"));
2510
+ function O(e, t) {
2511
2511
  return { start: e, end: t };
2512
2512
  }
2513
2513
  var Ui = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fi = !!String.fromCodePoint, Vi = !!Object.fromEntries, Gi = !!String.prototype.codePointAt, ji = !!String.prototype.trimStart, zi = !!String.prototype.trimEnd, Xi = !!Number.isSafeInteger, Wi = Xi ? Number.isSafeInteger : function(e) {
2514
2514
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2515
2515
  }, ct = !0;
2516
2516
  try {
2517
- var qi = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2517
+ var qi = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2518
2518
  ct = ((nt = qi.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
2519
2519
  } catch {
2520
2520
  ct = !1;
@@ -2534,10 +2534,10 @@ var Dt = Ui ? (
2534
2534
  function() {
2535
2535
  for (var t = [], r = 0; r < arguments.length; r++)
2536
2536
  t[r] = arguments[r];
2537
- for (var i = "", n = t.length, s = 0, l; n > s; ) {
2538
- if (l = t[s++], l > 1114111)
2539
- throw RangeError(l + " is not a valid code point");
2540
- i += l < 65536 ? String.fromCharCode(l) : String.fromCharCode(((l -= 65536) >> 10) + 55296, l % 1024 + 56320);
2537
+ for (var i = "", n = t.length, s = 0, a; n > s; ) {
2538
+ if (a = t[s++], a > 1114111)
2539
+ throw RangeError(a + " is not a valid code point");
2540
+ i += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2541
2541
  }
2542
2542
  return i;
2543
2543
  }
@@ -2547,13 +2547,13 @@ var Dt = Ui ? (
2547
2547
  // Ponyfill
2548
2548
  function(t) {
2549
2549
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
2550
- var s = n[i], l = s[0], a = s[1];
2551
- r[l] = a;
2550
+ var s = n[i], a = s[0], u = s[1];
2551
+ r[a] = u;
2552
2552
  }
2553
2553
  return r;
2554
2554
  }
2555
2555
  )
2556
- ), gr = Gi ? (
2556
+ ), pr = Gi ? (
2557
2557
  // Native
2558
2558
  function(t, r) {
2559
2559
  return t.codePointAt(r);
@@ -2588,12 +2588,12 @@ var Dt = Ui ? (
2588
2588
  return t.replace(ki, "");
2589
2589
  }
2590
2590
  );
2591
- function vr(e, t) {
2591
+ function gr(e, t) {
2592
2592
  return new RegExp(e, t);
2593
2593
  }
2594
2594
  var mt;
2595
2595
  if (ct) {
2596
- var It = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2596
+ var It = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2597
2597
  mt = function(t, r) {
2598
2598
  var i;
2599
2599
  It.lastIndex = r;
@@ -2603,8 +2603,8 @@ if (ct) {
2603
2603
  } else
2604
2604
  mt = function(t, r) {
2605
2605
  for (var i = []; ; ) {
2606
- var n = gr(t, r);
2607
- if (n === void 0 || br(n) || en(n))
2606
+ var n = pr(t, r);
2607
+ if (n === void 0 || vr(n) || en(n))
2608
2608
  break;
2609
2609
  i.push(n), r += n >= 65536 ? 2 : 1;
2610
2610
  }
@@ -2624,33 +2624,33 @@ var Ji = (
2624
2624
  for (var n = []; !this.isEOF(); ) {
2625
2625
  var s = this.char();
2626
2626
  if (s === 123) {
2627
- var l = this.parseArgument(t, i);
2628
- if (l.err)
2629
- return l;
2630
- n.push(l.val);
2627
+ var a = this.parseArgument(t, i);
2628
+ if (a.err)
2629
+ return a;
2630
+ n.push(a.val);
2631
2631
  } else {
2632
2632
  if (s === 125 && t > 0)
2633
2633
  break;
2634
2634
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2635
- var a = this.clonePosition();
2635
+ var u = this.clonePosition();
2636
2636
  this.bump(), n.push({
2637
2637
  type: C.pound,
2638
- location: P(a, this.clonePosition())
2638
+ location: O(u, this.clonePosition())
2639
2639
  });
2640
2640
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2641
2641
  if (i)
2642
2642
  break;
2643
- return this.error(H.UNMATCHED_CLOSING_TAG, P(this.clonePosition(), this.clonePosition()));
2643
+ return this.error(H.UNMATCHED_CLOSING_TAG, O(this.clonePosition(), this.clonePosition()));
2644
2644
  } else if (s === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
2645
- var l = this.parseTag(t, r);
2646
- if (l.err)
2647
- return l;
2648
- n.push(l.val);
2645
+ var a = this.parseTag(t, r);
2646
+ if (a.err)
2647
+ return a;
2648
+ n.push(a.val);
2649
2649
  } else {
2650
- var l = this.parseLiteral(t, r);
2651
- if (l.err)
2652
- return l;
2653
- n.push(l.val);
2650
+ var a = this.parseLiteral(t, r);
2651
+ if (a.err)
2652
+ return a;
2653
+ n.push(a.val);
2654
2654
  }
2655
2655
  }
2656
2656
  }
@@ -2664,7 +2664,7 @@ var Ji = (
2664
2664
  val: {
2665
2665
  type: C.literal,
2666
2666
  value: "<".concat(n, "/>"),
2667
- location: P(i, this.clonePosition())
2667
+ location: O(i, this.clonePosition())
2668
2668
  },
2669
2669
  err: null
2670
2670
  };
@@ -2672,24 +2672,24 @@ var Ji = (
2672
2672
  var s = this.parseMessage(t + 1, r, !0);
2673
2673
  if (s.err)
2674
2674
  return s;
2675
- var l = s.val, a = this.clonePosition();
2675
+ var a = s.val, u = this.clonePosition();
2676
2676
  if (this.bumpIf("</")) {
2677
2677
  if (this.isEOF() || !pt(this.char()))
2678
- return this.error(H.INVALID_TAG, P(a, this.clonePosition()));
2679
- var o = this.clonePosition(), u = this.parseTagName();
2680
- return n !== u ? this.error(H.UNMATCHED_CLOSING_TAG, P(o, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2678
+ return this.error(H.INVALID_TAG, O(u, this.clonePosition()));
2679
+ var o = this.clonePosition(), l = this.parseTagName();
2680
+ return n !== l ? this.error(H.UNMATCHED_CLOSING_TAG, O(o, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2681
2681
  val: {
2682
2682
  type: C.tag,
2683
2683
  value: n,
2684
- children: l,
2685
- location: P(i, this.clonePosition())
2684
+ children: a,
2685
+ location: O(i, this.clonePosition())
2686
2686
  },
2687
2687
  err: null
2688
- } : this.error(H.INVALID_TAG, P(a, this.clonePosition())));
2688
+ } : this.error(H.INVALID_TAG, O(u, this.clonePosition())));
2689
2689
  } else
2690
- return this.error(H.UNCLOSED_TAG, P(i, this.clonePosition()));
2690
+ return this.error(H.UNCLOSED_TAG, O(i, this.clonePosition()));
2691
2691
  } else
2692
- return this.error(H.INVALID_TAG, P(i, this.clonePosition()));
2692
+ return this.error(H.INVALID_TAG, O(i, this.clonePosition()));
2693
2693
  }, e.prototype.parseTagName = function() {
2694
2694
  var t = this.offset();
2695
2695
  for (this.bump(); !this.isEOF() && Ki(this.char()); )
@@ -2702,19 +2702,19 @@ var Ji = (
2702
2702
  n += s;
2703
2703
  continue;
2704
2704
  }
2705
- var l = this.tryParseUnquoted(t, r);
2706
- if (l) {
2707
- n += l;
2708
- continue;
2709
- }
2710
- var a = this.tryParseLeftAngleBracket();
2705
+ var a = this.tryParseUnquoted(t, r);
2711
2706
  if (a) {
2712
2707
  n += a;
2713
2708
  continue;
2714
2709
  }
2710
+ var u = this.tryParseLeftAngleBracket();
2711
+ if (u) {
2712
+ n += u;
2713
+ continue;
2714
+ }
2715
2715
  break;
2716
2716
  }
2717
- var o = P(i, this.clonePosition());
2717
+ var o = O(i, this.clonePosition());
2718
2718
  return {
2719
2719
  val: { type: C.literal, value: n, location: o },
2720
2720
  err: null
@@ -2764,14 +2764,14 @@ var Ji = (
2764
2764
  }, e.prototype.parseArgument = function(t, r) {
2765
2765
  var i = this.clonePosition();
2766
2766
  if (this.bump(), this.bumpSpace(), this.isEOF())
2767
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
2767
+ return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(i, this.clonePosition()));
2768
2768
  if (this.char() === 125)
2769
- return this.bump(), this.error(H.EMPTY_ARGUMENT, P(i, this.clonePosition()));
2769
+ return this.bump(), this.error(H.EMPTY_ARGUMENT, O(i, this.clonePosition()));
2770
2770
  var n = this.parseIdentifierIfPossible().value;
2771
2771
  if (!n)
2772
- return this.error(H.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
2772
+ return this.error(H.MALFORMED_ARGUMENT, O(i, this.clonePosition()));
2773
2773
  if (this.bumpSpace(), this.isEOF())
2774
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
2774
+ return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(i, this.clonePosition()));
2775
2775
  switch (this.char()) {
2776
2776
  case 125:
2777
2777
  return this.bump(), {
@@ -2779,30 +2779,30 @@ var Ji = (
2779
2779
  type: C.argument,
2780
2780
  // value does not include the opening and closing braces.
2781
2781
  value: n,
2782
- location: P(i, this.clonePosition())
2782
+ location: O(i, this.clonePosition())
2783
2783
  },
2784
2784
  err: null
2785
2785
  };
2786
2786
  case 44:
2787
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2787
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2788
2788
  default:
2789
- return this.error(H.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
2789
+ return this.error(H.MALFORMED_ARGUMENT, O(i, this.clonePosition()));
2790
2790
  }
2791
2791
  }, e.prototype.parseIdentifierIfPossible = function() {
2792
2792
  var t = this.clonePosition(), r = this.offset(), i = mt(this.message, r), n = r + i.length;
2793
2793
  this.bumpTo(n);
2794
- var s = this.clonePosition(), l = P(t, s);
2795
- return { value: i, location: l };
2794
+ var s = this.clonePosition(), a = O(t, s);
2795
+ return { value: i, location: a };
2796
2796
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
2797
- var s, l = this.clonePosition(), a = this.parseIdentifierIfPossible().value, o = this.clonePosition();
2798
- switch (a) {
2797
+ var s, a = this.clonePosition(), u = this.parseIdentifierIfPossible().value, o = this.clonePosition();
2798
+ switch (u) {
2799
2799
  case "":
2800
- return this.error(H.EXPECT_ARGUMENT_TYPE, P(l, o));
2800
+ return this.error(H.EXPECT_ARGUMENT_TYPE, O(a, o));
2801
2801
  case "number":
2802
2802
  case "date":
2803
2803
  case "time": {
2804
2804
  this.bumpSpace();
2805
- var u = null;
2805
+ var l = null;
2806
2806
  if (this.bumpIf(",")) {
2807
2807
  this.bumpSpace();
2808
2808
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
@@ -2810,33 +2810,33 @@ var Ji = (
2810
2810
  return c;
2811
2811
  var p = Zi(c.val);
2812
2812
  if (p.length === 0)
2813
- return this.error(H.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
2814
- var _ = P(h, this.clonePosition());
2815
- u = { style: p, styleLocation: _ };
2813
+ return this.error(H.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
2814
+ var _ = O(h, this.clonePosition());
2815
+ l = { style: p, styleLocation: _ };
2816
2816
  }
2817
- var T = this.tryParseArgumentClose(n);
2818
- if (T.err)
2819
- return T;
2820
- var v = P(n, this.clonePosition());
2821
- if (u && Dt(u?.style, "::", 0)) {
2822
- var M = Yi(u.style.slice(2));
2823
- if (a === "number") {
2824
- var c = this.parseNumberSkeletonFromString(M, u.styleLocation);
2817
+ var S = this.tryParseArgumentClose(n);
2818
+ if (S.err)
2819
+ return S;
2820
+ var v = O(n, this.clonePosition());
2821
+ if (l && Dt(l?.style, "::", 0)) {
2822
+ var B = Yi(l.style.slice(2));
2823
+ if (u === "number") {
2824
+ var c = this.parseNumberSkeletonFromString(B, l.styleLocation);
2825
2825
  return c.err ? c : {
2826
2826
  val: { type: C.number, value: i, location: v, style: c.val },
2827
2827
  err: null
2828
2828
  };
2829
2829
  } else {
2830
- if (M.length === 0)
2830
+ if (B.length === 0)
2831
2831
  return this.error(H.EXPECT_DATE_TIME_SKELETON, v);
2832
- var U = M;
2833
- this.locale && (U = Ii(M, this.locale));
2832
+ var V = B;
2833
+ this.locale && (V = Ii(B, this.locale));
2834
2834
  var p = {
2835
- type: Se.dateTime,
2836
- pattern: U,
2837
- location: u.styleLocation,
2838
- parsedOptions: this.shouldParseSkeletons ? Ai(U) : {}
2839
- }, R = a === "date" ? C.date : C.time;
2835
+ type: Te.dateTime,
2836
+ pattern: V,
2837
+ location: l.styleLocation,
2838
+ parsedOptions: this.shouldParseSkeletons ? Ai(V) : {}
2839
+ }, R = u === "date" ? C.date : C.time;
2840
2840
  return {
2841
2841
  val: { type: R, value: i, location: v, style: p },
2842
2842
  err: null
@@ -2845,10 +2845,10 @@ var Ji = (
2845
2845
  }
2846
2846
  return {
2847
2847
  val: {
2848
- type: a === "number" ? C.number : a === "date" ? C.date : C.time,
2848
+ type: u === "number" ? C.number : u === "date" ? C.date : C.time,
2849
2849
  value: i,
2850
2850
  location: v,
2851
- style: (s = u?.style) !== null && s !== void 0 ? s : null
2851
+ style: (s = l?.style) !== null && s !== void 0 ? s : null
2852
2852
  },
2853
2853
  err: null
2854
2854
  };
@@ -2856,52 +2856,52 @@ var Ji = (
2856
2856
  case "plural":
2857
2857
  case "selectordinal":
2858
2858
  case "select": {
2859
- var $ = this.clonePosition();
2859
+ var A = this.clonePosition();
2860
2860
  if (this.bumpSpace(), !this.bumpIf(","))
2861
- return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, P($, Xe({}, $)));
2861
+ return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, O(A, Xe({}, A)));
2862
2862
  this.bumpSpace();
2863
- var j = this.parseIdentifierIfPossible(), N = 0;
2864
- if (a !== "select" && j.value === "offset") {
2863
+ var z = this.parseIdentifierIfPossible(), I = 0;
2864
+ if (u !== "select" && z.value === "offset") {
2865
2865
  if (!this.bumpIf(":"))
2866
- return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P(this.clonePosition(), this.clonePosition()));
2866
+ return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O(this.clonePosition(), this.clonePosition()));
2867
2867
  this.bumpSpace();
2868
2868
  var c = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2869
2869
  if (c.err)
2870
2870
  return c;
2871
- this.bumpSpace(), j = this.parseIdentifierIfPossible(), N = c.val;
2871
+ this.bumpSpace(), z = this.parseIdentifierIfPossible(), I = c.val;
2872
2872
  }
2873
- var k = this.tryParsePluralOrSelectOptions(t, a, r, j);
2874
- if (k.err)
2875
- return k;
2876
- var T = this.tryParseArgumentClose(n);
2877
- if (T.err)
2878
- return T;
2879
- var X = P(n, this.clonePosition());
2880
- return a === "select" ? {
2873
+ var U = this.tryParsePluralOrSelectOptions(t, u, r, z);
2874
+ if (U.err)
2875
+ return U;
2876
+ var S = this.tryParseArgumentClose(n);
2877
+ if (S.err)
2878
+ return S;
2879
+ var W = O(n, this.clonePosition());
2880
+ return u === "select" ? {
2881
2881
  val: {
2882
2882
  type: C.select,
2883
2883
  value: i,
2884
- options: Lt(k.val),
2885
- location: X
2884
+ options: Lt(U.val),
2885
+ location: W
2886
2886
  },
2887
2887
  err: null
2888
2888
  } : {
2889
2889
  val: {
2890
2890
  type: C.plural,
2891
2891
  value: i,
2892
- options: Lt(k.val),
2893
- offset: N,
2894
- pluralType: a === "plural" ? "cardinal" : "ordinal",
2895
- location: X
2892
+ options: Lt(U.val),
2893
+ offset: I,
2894
+ pluralType: u === "plural" ? "cardinal" : "ordinal",
2895
+ location: W
2896
2896
  },
2897
2897
  err: null
2898
2898
  };
2899
2899
  }
2900
2900
  default:
2901
- return this.error(H.INVALID_ARGUMENT_TYPE, P(l, o));
2901
+ return this.error(H.INVALID_ARGUMENT_TYPE, O(a, o));
2902
2902
  }
2903
2903
  }, e.prototype.tryParseArgumentClose = function(t) {
2904
- return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2904
+ return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2905
2905
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2906
2906
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2907
2907
  var i = this.char();
@@ -2910,7 +2910,7 @@ var Ji = (
2910
2910
  this.bump();
2911
2911
  var n = this.clonePosition();
2912
2912
  if (!this.bumpUntil("'"))
2913
- return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, P(n, this.clonePosition()));
2913
+ return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, O(n, this.clonePosition()));
2914
2914
  this.bump();
2915
2915
  break;
2916
2916
  }
@@ -2946,7 +2946,7 @@ var Ji = (
2946
2946
  }
2947
2947
  return {
2948
2948
  val: {
2949
- type: Se.number,
2949
+ type: Te.number,
2950
2950
  tokens: i,
2951
2951
  location: r,
2952
2952
  parsedOptions: this.shouldParseSkeletons ? Li(i) : {}
@@ -2954,50 +2954,50 @@ var Ji = (
2954
2954
  err: null
2955
2955
  };
2956
2956
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
2957
- for (var s, l = !1, a = [], o = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
2958
- if (u.length === 0) {
2957
+ for (var s, a = !1, u = [], o = /* @__PURE__ */ new Set(), l = n.value, h = n.location; ; ) {
2958
+ if (l.length === 0) {
2959
2959
  var c = this.clonePosition();
2960
2960
  if (r !== "select" && this.bumpIf("=")) {
2961
2961
  var p = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR, H.INVALID_PLURAL_ARGUMENT_SELECTOR);
2962
2962
  if (p.err)
2963
2963
  return p;
2964
- h = P(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2964
+ h = O(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
2965
2965
  } else
2966
2966
  break;
2967
2967
  }
2968
- if (o.has(u))
2968
+ if (o.has(l))
2969
2969
  return this.error(r === "select" ? H.DUPLICATE_SELECT_ARGUMENT_SELECTOR : H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2970
- u === "other" && (l = !0), this.bumpSpace();
2970
+ l === "other" && (a = !0), this.bumpSpace();
2971
2971
  var _ = this.clonePosition();
2972
2972
  if (!this.bumpIf("{"))
2973
- return this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, P(this.clonePosition(), this.clonePosition()));
2974
- var T = this.parseMessage(t + 1, r, i);
2975
- if (T.err)
2976
- return T;
2973
+ return this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, O(this.clonePosition(), this.clonePosition()));
2974
+ var S = this.parseMessage(t + 1, r, i);
2975
+ if (S.err)
2976
+ return S;
2977
2977
  var v = this.tryParseArgumentClose(_);
2978
2978
  if (v.err)
2979
2979
  return v;
2980
- a.push([
2981
- u,
2980
+ u.push([
2981
+ l,
2982
2982
  {
2983
- value: T.val,
2984
- location: P(_, this.clonePosition())
2983
+ value: S.val,
2984
+ location: O(_, this.clonePosition())
2985
2985
  }
2986
- ]), o.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
2986
+ ]), o.add(l), this.bumpSpace(), s = this.parseIdentifierIfPossible(), l = s.value, h = s.location;
2987
2987
  }
2988
- return a.length === 0 ? this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, P(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !l ? this.error(H.MISSING_OTHER_CLAUSE, P(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2988
+ return u.length === 0 ? this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, O(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(H.MISSING_OTHER_CLAUSE, O(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
2989
2989
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2990
2990
  var i = 1, n = this.clonePosition();
2991
2991
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
2992
- for (var s = !1, l = 0; !this.isEOF(); ) {
2993
- var a = this.char();
2994
- if (a >= 48 && a <= 57)
2995
- s = !0, l = l * 10 + (a - 48), this.bump();
2992
+ for (var s = !1, a = 0; !this.isEOF(); ) {
2993
+ var u = this.char();
2994
+ if (u >= 48 && u <= 57)
2995
+ s = !0, a = a * 10 + (u - 48), this.bump();
2996
2996
  else
2997
2997
  break;
2998
2998
  }
2999
- var o = P(n, this.clonePosition());
3000
- return s ? (l *= i, Wi(l) ? { val: l, err: null } : this.error(r, o)) : this.error(t, o);
2999
+ var o = O(n, this.clonePosition());
3000
+ return s ? (a *= i, Wi(a) ? { val: a, err: null } : this.error(r, o)) : this.error(t, o);
3001
3001
  }, e.prototype.offset = function() {
3002
3002
  return this.position.offset;
3003
3003
  }, e.prototype.isEOF = function() {
@@ -3012,7 +3012,7 @@ var Ji = (
3012
3012
  var t = this.position.offset;
3013
3013
  if (t >= this.message.length)
3014
3014
  throw Error("out of bound");
3015
- var r = gr(this.message, t);
3015
+ var r = pr(this.message, t);
3016
3016
  if (r === void 0)
3017
3017
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3018
3018
  return r;
@@ -3053,7 +3053,7 @@ var Ji = (
3053
3053
  break;
3054
3054
  }
3055
3055
  }, e.prototype.bumpSpace = function() {
3056
- for (; !this.isEOF() && br(this.char()); )
3056
+ for (; !this.isEOF() && vr(this.char()); )
3057
3057
  this.bump();
3058
3058
  }, e.prototype.peek = function() {
3059
3059
  if (this.isEOF())
@@ -3072,7 +3072,7 @@ function Qi(e) {
3072
3072
  function Ki(e) {
3073
3073
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3074
3074
  }
3075
- function br(e) {
3075
+ function vr(e) {
3076
3076
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3077
3077
  }
3078
3078
  function en(e) {
@@ -3080,11 +3080,11 @@ function en(e) {
3080
3080
  }
3081
3081
  function gt(e) {
3082
3082
  e.forEach(function(t) {
3083
- if (delete t.location, ur(t) || lr(t))
3083
+ if (delete t.location, ar(t) || ur(t))
3084
3084
  for (var r in t.options)
3085
3085
  delete t.options[r].location, gt(t.options[r].value);
3086
3086
  else
3087
- sr(t) && fr(t.style) || (or(t) || ar(t)) && ft(t.style) ? delete t.style.location : hr(t) && gt(t.children);
3087
+ nr(t) && hr(t.style) || (sr(t) || or(t)) && ft(t.style) ? delete t.style.location : lr(t) && gt(t.children);
3088
3088
  });
3089
3089
  }
3090
3090
  function tn(e, t) {
@@ -3096,10 +3096,10 @@ function tn(e, t) {
3096
3096
  }
3097
3097
  return t?.captureLocation || gt(r.val), r.val;
3098
3098
  }
3099
- var Te;
3099
+ var He;
3100
3100
  (function(e) {
3101
3101
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3102
- })(Te || (Te = {}));
3102
+ })(He || (He = {}));
3103
3103
  var Je = (
3104
3104
  /** @class */
3105
3105
  function(e) {
@@ -3117,7 +3117,7 @@ var Je = (
3117
3117
  function(e) {
3118
3118
  Ze(t, e);
3119
3119
  function t(r, i, n, s) {
3120
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Te.INVALID_VALUE, s) || this;
3120
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), He.INVALID_VALUE, s) || this;
3121
3121
  }
3122
3122
  return t;
3123
3123
  }(Je)
@@ -3126,7 +3126,7 @@ var Je = (
3126
3126
  function(e) {
3127
3127
  Ze(t, e);
3128
3128
  function t(r, i, n) {
3129
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Te.INVALID_VALUE, n) || this;
3129
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), He.INVALID_VALUE, n) || this;
3130
3130
  }
3131
3131
  return t;
3132
3132
  }(Je)
@@ -3135,130 +3135,130 @@ var Je = (
3135
3135
  function(e) {
3136
3136
  Ze(t, e);
3137
3137
  function t(r, i) {
3138
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Te.MISSING_VALUE, i) || this;
3138
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), He.MISSING_VALUE, i) || this;
3139
3139
  }
3140
3140
  return t;
3141
3141
  }(Je)
3142
- ), G;
3142
+ ), j;
3143
3143
  (function(e) {
3144
3144
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3145
- })(G || (G = {}));
3145
+ })(j || (j = {}));
3146
3146
  function sn(e) {
3147
3147
  return e.length < 2 ? e : e.reduce(function(t, r) {
3148
3148
  var i = t[t.length - 1];
3149
- return !i || i.type !== G.literal || r.type !== G.literal ? t.push(r) : i.value += r.value, t;
3149
+ return !i || i.type !== j.literal || r.type !== j.literal ? t.push(r) : i.value += r.value, t;
3150
3150
  }, []);
3151
3151
  }
3152
3152
  function on(e) {
3153
3153
  return typeof e == "function";
3154
3154
  }
3155
- function je(e, t, r, i, n, s, l) {
3155
+ function je(e, t, r, i, n, s, a) {
3156
3156
  if (e.length === 1 && $t(e[0]))
3157
3157
  return [
3158
3158
  {
3159
- type: G.literal,
3159
+ type: j.literal,
3160
3160
  value: e[0].value
3161
3161
  }
3162
3162
  ];
3163
- for (var a = [], o = 0, u = e; o < u.length; o++) {
3164
- var h = u[o];
3163
+ for (var u = [], o = 0, l = e; o < l.length; o++) {
3164
+ var h = l[o];
3165
3165
  if ($t(h)) {
3166
- a.push({
3167
- type: G.literal,
3166
+ u.push({
3167
+ type: j.literal,
3168
3168
  value: h.value
3169
3169
  });
3170
3170
  continue;
3171
3171
  }
3172
3172
  if (Oi(h)) {
3173
- typeof s == "number" && a.push({
3174
- type: G.literal,
3173
+ typeof s == "number" && u.push({
3174
+ type: j.literal,
3175
3175
  value: r.getNumberFormat(t).format(s)
3176
3176
  });
3177
3177
  continue;
3178
3178
  }
3179
3179
  var c = h.value;
3180
3180
  if (!(n && c in n))
3181
- throw new nn(c, l);
3181
+ throw new nn(c, a);
3182
3182
  var p = n[c];
3183
3183
  if (Hi(h)) {
3184
- (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
3185
- type: typeof p == "string" ? G.literal : G.object,
3184
+ (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), u.push({
3185
+ type: typeof p == "string" ? j.literal : j.object,
3186
3186
  value: p
3187
3187
  });
3188
3188
  continue;
3189
3189
  }
3190
- if (or(h)) {
3190
+ if (sr(h)) {
3191
3191
  var _ = typeof h.style == "string" ? i.date[h.style] : ft(h.style) ? h.style.parsedOptions : void 0;
3192
- a.push({
3193
- type: G.literal,
3192
+ u.push({
3193
+ type: j.literal,
3194
3194
  value: r.getDateTimeFormat(t, _).format(p)
3195
3195
  });
3196
3196
  continue;
3197
3197
  }
3198
- if (ar(h)) {
3198
+ if (or(h)) {
3199
3199
  var _ = typeof h.style == "string" ? i.time[h.style] : ft(h.style) ? h.style.parsedOptions : i.time.medium;
3200
- a.push({
3201
- type: G.literal,
3200
+ u.push({
3201
+ type: j.literal,
3202
3202
  value: r.getDateTimeFormat(t, _).format(p)
3203
3203
  });
3204
3204
  continue;
3205
3205
  }
3206
- if (sr(h)) {
3207
- var _ = typeof h.style == "string" ? i.number[h.style] : fr(h.style) ? h.style.parsedOptions : void 0;
3208
- _ && _.scale && (p = p * (_.scale || 1)), a.push({
3209
- type: G.literal,
3206
+ if (nr(h)) {
3207
+ var _ = typeof h.style == "string" ? i.number[h.style] : hr(h.style) ? h.style.parsedOptions : void 0;
3208
+ _ && _.scale && (p = p * (_.scale || 1)), u.push({
3209
+ type: j.literal,
3210
3210
  value: r.getNumberFormat(t, _).format(p)
3211
3211
  });
3212
3212
  continue;
3213
3213
  }
3214
- if (hr(h)) {
3215
- var T = h.children, v = h.value, M = n[v];
3216
- if (!on(M))
3217
- throw new rn(v, "function", l);
3218
- var U = je(T, t, r, i, n, s), R = M(U.map(function(N) {
3219
- return N.value;
3214
+ if (lr(h)) {
3215
+ var S = h.children, v = h.value, B = n[v];
3216
+ if (!on(B))
3217
+ throw new rn(v, "function", a);
3218
+ var V = je(S, t, r, i, n, s), R = B(V.map(function(I) {
3219
+ return I.value;
3220
3220
  }));
3221
- Array.isArray(R) || (R = [R]), a.push.apply(a, R.map(function(N) {
3221
+ Array.isArray(R) || (R = [R]), u.push.apply(u, R.map(function(I) {
3222
3222
  return {
3223
- type: typeof N == "string" ? G.literal : G.object,
3224
- value: N
3223
+ type: typeof I == "string" ? j.literal : j.object,
3224
+ value: I
3225
3225
  };
3226
3226
  }));
3227
3227
  }
3228
- if (ur(h)) {
3229
- var $ = h.options[p] || h.options.other;
3230
- if (!$)
3231
- throw new Nt(h.value, p, Object.keys(h.options), l);
3232
- a.push.apply(a, je($.value, t, r, i, n));
3228
+ if (ar(h)) {
3229
+ var A = h.options[p] || h.options.other;
3230
+ if (!A)
3231
+ throw new Nt(h.value, p, Object.keys(h.options), a);
3232
+ u.push.apply(u, je(A.value, t, r, i, n));
3233
3233
  continue;
3234
3234
  }
3235
- if (lr(h)) {
3236
- var $ = h.options["=".concat(p)];
3237
- if (!$) {
3235
+ if (ur(h)) {
3236
+ var A = h.options["=".concat(p)];
3237
+ if (!A) {
3238
3238
  if (!Intl.PluralRules)
3239
3239
  throw new Je(`Intl.PluralRules is not available in this environment.
3240
3240
  Try polyfilling it using "@formatjs/intl-pluralrules"
3241
- `, Te.MISSING_INTL_API, l);
3242
- var j = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
3243
- $ = h.options[j] || h.options.other;
3241
+ `, He.MISSING_INTL_API, a);
3242
+ var z = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
3243
+ A = h.options[z] || h.options.other;
3244
3244
  }
3245
- if (!$)
3246
- throw new Nt(h.value, p, Object.keys(h.options), l);
3247
- a.push.apply(a, je($.value, t, r, i, n, p - (h.offset || 0)));
3245
+ if (!A)
3246
+ throw new Nt(h.value, p, Object.keys(h.options), a);
3247
+ u.push.apply(u, je(A.value, t, r, i, n, p - (h.offset || 0)));
3248
3248
  continue;
3249
3249
  }
3250
3250
  }
3251
- return sn(a);
3251
+ return sn(u);
3252
3252
  }
3253
3253
  function an(e, t) {
3254
- return t ? ie(ie(ie({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3255
- return r[i] = ie(ie({}, e[i]), t[i] || {}), r;
3254
+ return t ? se(se(se({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3255
+ return r[i] = se(se({}, e[i]), t[i] || {}), r;
3256
3256
  }, {})) : e;
3257
3257
  }
3258
3258
  function un(e, t) {
3259
3259
  return t ? Object.keys(e).reduce(function(r, i) {
3260
3260
  return r[i] = an(e[i], t[i]), r;
3261
- }, ie({}, e)) : e;
3261
+ }, se({}, e)) : e;
3262
3262
  }
3263
3263
  function st(e) {
3264
3264
  return {
@@ -3306,7 +3306,7 @@ function ln(e) {
3306
3306
  })
3307
3307
  };
3308
3308
  }
3309
- var yr = (
3309
+ var br = (
3310
3310
  /** @class */
3311
3311
  function() {
3312
3312
  function e(t, r, i, n) {
@@ -3317,11 +3317,11 @@ var yr = (
3317
3317
  dateTime: {},
3318
3318
  pluralRules: {}
3319
3319
  }, this.format = function(o) {
3320
- var u = s.formatToParts(o);
3321
- if (u.length === 1)
3322
- return u[0].value;
3323
- var h = u.reduce(function(c, p) {
3324
- return !c.length || p.type !== G.literal || typeof c[c.length - 1] != "string" ? c.push(p.value) : c[c.length - 1] += p.value, c;
3320
+ var l = s.formatToParts(o);
3321
+ if (l.length === 1)
3322
+ return l[0].value;
3323
+ var h = l.reduce(function(c, p) {
3324
+ return !c.length || p.type !== j.literal || typeof c[c.length - 1] != "string" ? c.push(p.value) : c[c.length - 1] += p.value, c;
3325
3325
  }, []);
3326
3326
  return h.length <= 1 ? h[0] || "" : h;
3327
3327
  }, this.formatToParts = function(o) {
@@ -3336,10 +3336,10 @@ var yr = (
3336
3336
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3337
3337
  if (this.message = t, !e.__parse)
3338
3338
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3339
- var l = n || {};
3340
- l.formatters;
3341
- var a = bi(l, ["formatters"]);
3342
- this.ast = e.__parse(t, ie(ie({}, a), { locale: this.resolvedLocale }));
3339
+ var a = n || {};
3340
+ a.formatters;
3341
+ var u = bi(a, ["formatters"]);
3342
+ this.ast = e.__parse(t, se(se({}, u), { locale: this.resolvedLocale }));
3343
3343
  } else
3344
3344
  this.ast = t;
3345
3345
  if (!Array.isArray(this.ast))
@@ -3439,12 +3439,12 @@ function hn(e, t) {
3439
3439
  i = void 0;
3440
3440
  return i;
3441
3441
  }
3442
- const he = {}, fn = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (he[t][e] = r), r), _r = (e, t) => {
3442
+ const ce = {}, fn = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), yr = (e, t) => {
3443
3443
  if (t == null)
3444
3444
  return;
3445
- if (t in he && e in he[t])
3446
- return he[t][e];
3447
- const r = Re(t);
3445
+ if (t in ce && e in ce[t])
3446
+ return ce[t][e];
3447
+ const r = ke(t);
3448
3448
  for (let i = 0; i < r.length; i++) {
3449
3449
  const n = r[i], s = dn(n, e);
3450
3450
  if (s)
@@ -3452,15 +3452,15 @@ const he = {}, fn = (e, t, r) => r && (t in he || (he[t] = {}), e in he[t] || (h
3452
3452
  }
3453
3453
  };
3454
3454
  let Et;
3455
- const Ne = Ie({});
3455
+ const Re = Ne({});
3456
3456
  function cn(e) {
3457
3457
  return Et[e] || null;
3458
3458
  }
3459
- function xr(e) {
3459
+ function _r(e) {
3460
3460
  return e in Et;
3461
3461
  }
3462
3462
  function dn(e, t) {
3463
- if (!xr(e))
3463
+ if (!_r(e))
3464
3464
  return null;
3465
3465
  const r = cn(e);
3466
3466
  return hn(r, t);
@@ -3468,61 +3468,61 @@ function dn(e, t) {
3468
3468
  function mn(e) {
3469
3469
  if (e == null)
3470
3470
  return;
3471
- const t = Re(e);
3471
+ const t = ke(e);
3472
3472
  for (let r = 0; r < t.length; r++) {
3473
3473
  const i = t[r];
3474
- if (xr(i))
3474
+ if (_r(i))
3475
3475
  return i;
3476
3476
  }
3477
3477
  }
3478
- function Er(e, ...t) {
3479
- delete he[e], Ne.update((r) => (r[e] = vi.all([r[e] || {}, ...t]), r));
3478
+ function xr(e, ...t) {
3479
+ delete ce[e], Re.update((r) => (r[e] = vi.all([r[e] || {}, ...t]), r));
3480
3480
  }
3481
- Oe(
3482
- [Ne],
3481
+ Pe(
3482
+ [Re],
3483
3483
  ([e]) => Object.keys(e)
3484
3484
  );
3485
- Ne.subscribe((e) => Et = e);
3485
+ Re.subscribe((e) => Et = e);
3486
3486
  const ze = {};
3487
3487
  function pn(e, t) {
3488
3488
  ze[e].delete(t), ze[e].size === 0 && delete ze[e];
3489
3489
  }
3490
- function wr(e) {
3490
+ function Er(e) {
3491
3491
  return ze[e];
3492
3492
  }
3493
3493
  function gn(e) {
3494
- return Re(e).map((t) => {
3495
- const r = wr(t);
3494
+ return ke(e).map((t) => {
3495
+ const r = Er(t);
3496
3496
  return [t, r ? [...r] : []];
3497
3497
  }).filter(([, t]) => t.length > 0);
3498
3498
  }
3499
3499
  function We(e) {
3500
- return e == null ? !1 : Re(e).some(
3500
+ return e == null ? !1 : ke(e).some(
3501
3501
  (t) => {
3502
3502
  var r;
3503
- return (r = wr(t)) == null ? void 0 : r.size;
3503
+ return (r = Er(t)) == null ? void 0 : r.size;
3504
3504
  }
3505
3505
  );
3506
3506
  }
3507
3507
  function vn(e, t) {
3508
3508
  return Promise.all(
3509
3509
  t.map((i) => (pn(e, i), i().then((n) => n.default || n)))
3510
- ).then((i) => Er(e, ...i));
3510
+ ).then((i) => xr(e, ...i));
3511
3511
  }
3512
- const Ae = {};
3513
- function Sr(e) {
3512
+ const $e = {};
3513
+ function wr(e) {
3514
3514
  if (!We(e))
3515
- return e in Ae ? Ae[e] : Promise.resolve();
3515
+ return e in $e ? $e[e] : Promise.resolve();
3516
3516
  const t = gn(e);
3517
- return Ae[e] = Promise.all(
3517
+ return $e[e] = Promise.all(
3518
3518
  t.map(
3519
3519
  ([r, i]) => vn(r, i)
3520
3520
  )
3521
3521
  ).then(() => {
3522
3522
  if (We(e))
3523
- return Sr(e);
3524
- delete Ae[e];
3525
- }), Ae[e];
3523
+ return wr(e);
3524
+ delete $e[e];
3525
+ }), $e[e];
3526
3526
  }
3527
3527
  var Rt = Object.getOwnPropertySymbols, bn = Object.prototype.hasOwnProperty, yn = Object.prototype.propertyIsEnumerable, _n = (e, t) => {
3528
3528
  var r = {};
@@ -3565,9 +3565,9 @@ const xn = {
3565
3565
  };
3566
3566
  function En({ locale: e, id: t }) {
3567
3567
  console.warn(
3568
- `[svelte-i18n] The message "${t}" was not found in "${Re(
3568
+ `[svelte-i18n] The message "${t}" was not found in "${ke(
3569
3569
  e
3570
- ).join('", "')}".${We(fe()) ? `
3570
+ ).join('", "')}".${We(de()) ? `
3571
3571
 
3572
3572
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3573
3573
  );
@@ -3579,16 +3579,16 @@ const wn = {
3579
3579
  warnOnMissingMessages: !0,
3580
3580
  handleMissingMessage: void 0,
3581
3581
  ignoreTag: !0
3582
- }, $e = wn;
3583
- function He() {
3584
- return $e;
3582
+ }, Be = wn;
3583
+ function Oe() {
3584
+ return Be;
3585
3585
  }
3586
3586
  function Sn(e) {
3587
3587
  const t = e, { formats: r } = t, i = _n(t, ["formats"]);
3588
3588
  let n = e.fallbackLocale;
3589
3589
  if (e.initialLocale)
3590
3590
  try {
3591
- yr.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3591
+ br.resolveLocale(e.initialLocale) && (n = e.initialLocale);
3592
3592
  } catch {
3593
3593
  console.warn(
3594
3594
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
@@ -3596,9 +3596,9 @@ function Sn(e) {
3596
3596
  }
3597
3597
  return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = En : console.warn(
3598
3598
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3599
- )), Object.assign($e, i, { initialLocale: n }), r && ("number" in r && Object.assign($e.formats.number, r.number), "date" in r && Object.assign($e.formats.date, r.date), "time" in r && Object.assign($e.formats.time, r.time)), me.set(n);
3599
+ )), Object.assign(Be, i, { initialLocale: n }), r && ("number" in r && Object.assign(Be.formats.number, r.number), "date" in r && Object.assign(Be.formats.date, r.date), "time" in r && Object.assign(Be.formats.time, r.time)), ge.set(n);
3600
3600
  }
3601
- const ot = Ie(!1);
3601
+ const ot = Ne(!1);
3602
3602
  var Tn = Object.defineProperty, Hn = Object.defineProperties, On = Object.getOwnPropertyDescriptors, kt = Object.getOwnPropertySymbols, Pn = Object.prototype.hasOwnProperty, An = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? Tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $n = (e, t) => {
3603
3603
  for (var r in t || (t = {}))
3604
3604
  Pn.call(t, r) && Ut(e, r, t[r]);
@@ -3608,15 +3608,15 @@ var Tn = Object.defineProperty, Hn = Object.defineProperties, On = Object.getOwn
3608
3608
  return e;
3609
3609
  }, Bn = (e, t) => Hn(e, On(t));
3610
3610
  let vt;
3611
- const qe = Ie(null);
3611
+ const qe = Ne(null);
3612
3612
  function Ft(e) {
3613
3613
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3614
3614
  }
3615
- function Re(e, t = He().fallbackLocale) {
3615
+ function ke(e, t = Oe().fallbackLocale) {
3616
3616
  const r = Ft(e);
3617
3617
  return t ? [.../* @__PURE__ */ new Set([...r, ...Ft(t)])] : r;
3618
3618
  }
3619
- function fe() {
3619
+ function de() {
3620
3620
  return vt ?? void 0;
3621
3621
  }
3622
3622
  qe.subscribe((e) => {
@@ -3624,19 +3624,19 @@ qe.subscribe((e) => {
3624
3624
  });
3625
3625
  const Mn = (e) => {
3626
3626
  if (e && mn(e) && We(e)) {
3627
- const { loadingDelay: t } = He();
3627
+ const { loadingDelay: t } = Oe();
3628
3628
  let r;
3629
- return typeof window < "u" && fe() != null && t ? r = window.setTimeout(
3629
+ return typeof window < "u" && de() != null && t ? r = window.setTimeout(
3630
3630
  () => ot.set(!0),
3631
3631
  t
3632
- ) : ot.set(!0), Sr(e).then(() => {
3632
+ ) : ot.set(!0), wr(e).then(() => {
3633
3633
  qe.set(e);
3634
3634
  }).finally(() => {
3635
3635
  clearTimeout(r), ot.set(!1);
3636
3636
  });
3637
3637
  }
3638
3638
  return qe.set(e);
3639
- }, me = Bn($n({}, qe), {
3639
+ }, ge = Bn($n({}, qe), {
3640
3640
  set: Mn
3641
3641
  }), Qe = (e) => {
3642
3642
  const t = /* @__PURE__ */ Object.create(null);
@@ -3645,101 +3645,101 @@ const Mn = (e) => {
3645
3645
  return n in t ? t[n] : t[n] = e(i);
3646
3646
  };
3647
3647
  };
3648
- var Cn = Object.defineProperty, Ye = Object.getOwnPropertySymbols, Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
3648
+ var Cn = Object.defineProperty, Ye = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
3649
3649
  for (var r in t || (t = {}))
3650
- Tr.call(t, r) && Vt(e, r, t[r]);
3650
+ Sr.call(t, r) && Vt(e, r, t[r]);
3651
3651
  if (Ye)
3652
3652
  for (var r of Ye(t))
3653
- Hr.call(t, r) && Vt(e, r, t[r]);
3653
+ Tr.call(t, r) && Vt(e, r, t[r]);
3654
3654
  return e;
3655
- }, Pe = (e, t) => {
3655
+ }, Ae = (e, t) => {
3656
3656
  var r = {};
3657
3657
  for (var i in e)
3658
- Tr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3658
+ Sr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3659
3659
  if (e != null && Ye)
3660
3660
  for (var i of Ye(e))
3661
- t.indexOf(i) < 0 && Hr.call(e, i) && (r[i] = e[i]);
3661
+ t.indexOf(i) < 0 && Tr.call(e, i) && (r[i] = e[i]);
3662
3662
  return r;
3663
3663
  };
3664
- const De = (e, t) => {
3665
- const { formats: r } = He();
3664
+ const Le = (e, t) => {
3665
+ const { formats: r } = Oe();
3666
3666
  if (e in r && t in r[e])
3667
3667
  return r[e][t];
3668
3668
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3669
3669
  }, Dn = Qe(
3670
3670
  (e) => {
3671
- var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3671
+ var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3672
3672
  if (r == null)
3673
3673
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3674
- return i && (n = De("number", i)), new Intl.NumberFormat(r, n);
3674
+ return i && (n = Le("number", i)), new Intl.NumberFormat(r, n);
3675
3675
  }
3676
3676
  ), Ln = Qe(
3677
3677
  (e) => {
3678
- var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3678
+ var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3679
3679
  if (r == null)
3680
3680
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3681
- return i ? n = De("date", i) : Object.keys(n).length === 0 && (n = De("date", "short")), new Intl.DateTimeFormat(r, n);
3681
+ return i ? n = Le("date", i) : Object.keys(n).length === 0 && (n = Le("date", "short")), new Intl.DateTimeFormat(r, n);
3682
3682
  }
3683
3683
  ), In = Qe(
3684
3684
  (e) => {
3685
- var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3685
+ var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3686
3686
  if (r == null)
3687
3687
  throw new Error(
3688
3688
  '[svelte-i18n] A "locale" must be set to format time values'
3689
3689
  );
3690
- return i ? n = De("time", i) : Object.keys(n).length === 0 && (n = De("time", "short")), new Intl.DateTimeFormat(r, n);
3690
+ return i ? n = Le("time", i) : Object.keys(n).length === 0 && (n = Le("time", "short")), new Intl.DateTimeFormat(r, n);
3691
3691
  }
3692
3692
  ), Nn = (e = {}) => {
3693
3693
  var t = e, {
3694
- locale: r = fe()
3695
- } = t, i = Pe(t, [
3694
+ locale: r = de()
3695
+ } = t, i = Ae(t, [
3696
3696
  "locale"
3697
3697
  ]);
3698
3698
  return Dn(wt({ locale: r }, i));
3699
3699
  }, Rn = (e = {}) => {
3700
3700
  var t = e, {
3701
- locale: r = fe()
3702
- } = t, i = Pe(t, [
3701
+ locale: r = de()
3702
+ } = t, i = Ae(t, [
3703
3703
  "locale"
3704
3704
  ]);
3705
3705
  return Ln(wt({ locale: r }, i));
3706
3706
  }, kn = (e = {}) => {
3707
3707
  var t = e, {
3708
- locale: r = fe()
3709
- } = t, i = Pe(t, [
3708
+ locale: r = de()
3709
+ } = t, i = Ae(t, [
3710
3710
  "locale"
3711
3711
  ]);
3712
3712
  return In(wt({ locale: r }, i));
3713
3713
  }, Un = Qe(
3714
3714
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3715
- (e, t = fe()) => new yr(e, t, He().formats, {
3716
- ignoreTag: He().ignoreTag
3715
+ (e, t = de()) => new br(e, t, Oe().formats, {
3716
+ ignoreTag: Oe().ignoreTag
3717
3717
  })
3718
3718
  ), Fn = (e, t = {}) => {
3719
3719
  var r, i, n, s;
3720
- let l = t;
3721
- typeof e == "object" && (l = e, e = l.id);
3720
+ let a = t;
3721
+ typeof e == "object" && (a = e, e = a.id);
3722
3722
  const {
3723
- values: a,
3724
- locale: o = fe(),
3725
- default: u
3726
- } = l;
3723
+ values: u,
3724
+ locale: o = de(),
3725
+ default: l
3726
+ } = a;
3727
3727
  if (o == null)
3728
3728
  throw new Error(
3729
3729
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3730
3730
  );
3731
- let h = _r(e, o);
3731
+ let h = yr(e, o);
3732
3732
  if (!h)
3733
- h = (s = (n = (i = (r = He()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: o, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
3733
+ h = (s = (n = (i = (r = Oe()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: o, id: e, defaultValue: l })) != null ? n : l) != null ? s : e;
3734
3734
  else if (typeof h != "string")
3735
3735
  return console.warn(
3736
3736
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3737
3737
  ), h;
3738
- if (!a)
3738
+ if (!u)
3739
3739
  return h;
3740
3740
  let c = h;
3741
3741
  try {
3742
- c = Un(h, o).format(a);
3742
+ c = Un(h, o).format(u);
3743
3743
  } catch (p) {
3744
3744
  p instanceof Error && console.warn(
3745
3745
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3747,18 +3747,18 @@ const De = (e, t) => {
3747
3747
  );
3748
3748
  }
3749
3749
  return c;
3750
- }, Vn = (e, t) => kn(t).format(e), Gn = (e, t) => Rn(t).format(e), jn = (e, t) => Nn(t).format(e), zn = (e, t = fe()) => _r(e, t), Xn = Oe([me, Ne], () => Fn);
3751
- Oe([me], () => Vn);
3752
- Oe([me], () => Gn);
3753
- Oe([me], () => jn);
3754
- Oe([me, Ne], () => zn);
3750
+ }, Vn = (e, t) => kn(t).format(e), Gn = (e, t) => Rn(t).format(e), jn = (e, t) => Nn(t).format(e), zn = (e, t = de()) => yr(e, t), Xn = Pe([ge, Re], () => Fn);
3751
+ Pe([ge], () => Vn);
3752
+ Pe([ge], () => Gn);
3753
+ Pe([ge], () => jn);
3754
+ Pe([ge, Re], () => zn);
3755
3755
  function Gt(e, t) {
3756
- Er(e, t);
3756
+ xr(e, t);
3757
3757
  }
3758
3758
  function Wn(e) {
3759
3759
  Sn({
3760
3760
  fallbackLocale: "en"
3761
- }), me.set(e);
3761
+ }), ge.set(e);
3762
3762
  }
3763
3763
  const jt = {
3764
3764
  en: {
@@ -3828,25 +3828,48 @@ if (typeof window < "u") {
3828
3828
  }
3829
3829
  };
3830
3830
  };
3831
- customElements.define = e(customElements.define), import("./CashierVideoModal-CfvC_JtE.js").then(({ default: t }) => {
3831
+ customElements.define = e(customElements.define), import("./CashierVideoModal-Dna7BzOD.js").then(({ default: t }) => {
3832
3832
  !customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", t.element);
3833
3833
  });
3834
3834
  }
3835
- let qn = Ie(null);
3836
- var Or = { exports: {} };
3835
+ let qn = Ne(null);
3836
+ function Yn(e, t) {
3837
+ if (e) {
3838
+ const r = document.createElement("style");
3839
+ r.innerHTML = t, e.appendChild(r);
3840
+ }
3841
+ }
3842
+ function Zn(e, t) {
3843
+ const r = new URL(t);
3844
+ fetch(r.href).then((i) => i.text()).then((i) => {
3845
+ const n = document.createElement("style");
3846
+ n.innerHTML = i, e && e.appendChild(n);
3847
+ }).catch((i) => {
3848
+ console.error("There was an error while trying to load client styling from URL", i);
3849
+ });
3850
+ }
3851
+ function Jn(e, t, r) {
3852
+ if (window.emMessageBus) {
3853
+ const i = document.createElement("style");
3854
+ window.emMessageBus.subscribe(t, (n) => {
3855
+ i.innerHTML = n, e && e.appendChild(i);
3856
+ });
3857
+ }
3858
+ }
3859
+ var Hr = { exports: {} };
3837
3860
  (function(e, t) {
3838
3861
  (function(r, i) {
3839
3862
  e.exports = i();
3840
- })(tr, function() {
3841
- var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", l = "second", a = "minute", o = "hour", u = "day", h = "week", c = "month", p = "quarter", _ = "year", T = "date", v = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, U = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(x) {
3863
+ })(er, function() {
3864
+ var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", a = "second", u = "minute", o = "hour", l = "day", h = "week", c = "month", p = "quarter", _ = "year", S = "date", v = "Invalid Date", B = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, V = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(x) {
3842
3865
  var g = ["th", "st", "nd", "rd"], d = x % 100;
3843
3866
  return "[" + x + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
3844
- } }, $ = function(x, g, d) {
3867
+ } }, A = function(x, g, d) {
3845
3868
  var b = String(x);
3846
3869
  return !b || b.length >= g ? x : "" + Array(g + 1 - b.length).join(d) + x;
3847
- }, j = { s: $, z: function(x) {
3870
+ }, z = { s: A, z: function(x) {
3848
3871
  var g = -x.utcOffset(), d = Math.abs(g), b = Math.floor(d / 60), m = d % 60;
3849
- return (g <= 0 ? "+" : "-") + $(b, 2, "0") + ":" + $(m, 2, "0");
3872
+ return (g <= 0 ? "+" : "-") + A(b, 2, "0") + ":" + A(m, 2, "0");
3850
3873
  }, m: function x(g, d) {
3851
3874
  if (g.date() < d.date())
3852
3875
  return -x(d, g);
@@ -3855,40 +3878,40 @@ var Or = { exports: {} };
3855
3878
  }, a: function(x) {
3856
3879
  return x < 0 ? Math.ceil(x) || 0 : Math.floor(x);
3857
3880
  }, p: function(x) {
3858
- return { M: c, y: _, w: h, d: u, D: T, h: o, m: a, s: l, ms: s, Q: p }[x] || String(x || "").toLowerCase().replace(/s$/, "");
3881
+ return { M: c, y: _, w: h, d: l, D: S, h: o, m: u, s: a, ms: s, Q: p }[x] || String(x || "").toLowerCase().replace(/s$/, "");
3859
3882
  }, u: function(x) {
3860
3883
  return x === void 0;
3861
- } }, N = "en", k = {};
3862
- k[N] = R;
3863
- var X = "$isDayjsObject", Y = function(x) {
3864
- return x instanceof pe || !(!x || !x[X]);
3865
- }, W = function x(g, d, b) {
3884
+ } }, I = "en", U = {};
3885
+ U[I] = R;
3886
+ var W = "$isDayjsObject", ae = function(x) {
3887
+ return x instanceof k || !(!x || !x[W]);
3888
+ }, Y = function x(g, d, b) {
3866
3889
  var m;
3867
3890
  if (!g)
3868
- return N;
3891
+ return I;
3869
3892
  if (typeof g == "string") {
3870
3893
  var E = g.toLowerCase();
3871
- k[E] && (m = E), d && (k[E] = d, m = E);
3894
+ U[E] && (m = E), d && (U[E] = d, m = E);
3872
3895
  var w = g.split("-");
3873
3896
  if (!m && w.length > 1)
3874
3897
  return x(w[0]);
3875
3898
  } else {
3876
- var B = g.name;
3877
- k[B] = g, m = B;
3899
+ var $ = g.name;
3900
+ U[$] = g, m = $;
3878
3901
  }
3879
- return !b && m && (N = m), m || !b && N;
3880
- }, A = function(x, g) {
3881
- if (Y(x))
3902
+ return !b && m && (I = m), m || !b && I;
3903
+ }, M = function(x, g) {
3904
+ if (ae(x))
3882
3905
  return x.clone();
3883
3906
  var d = typeof g == "object" ? g : {};
3884
- return d.date = x, d.args = arguments, new pe(d);
3885
- }, O = j;
3886
- O.l = W, O.i = Y, O.w = function(x, g) {
3887
- return A(x, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3907
+ return d.date = x, d.args = arguments, new k(d);
3908
+ }, P = z;
3909
+ P.l = Y, P.i = ae, P.w = function(x, g) {
3910
+ return M(x, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3888
3911
  };
3889
- var pe = function() {
3912
+ var k = function() {
3890
3913
  function x(d) {
3891
- this.$L = W(d.locale, null, !0), this.parse(d), this.$x = this.$x || d.x || {}, this[X] = !0;
3914
+ this.$L = Y(d.locale, null, !0), this.parse(d), this.$x = this.$x || d.x || {}, this[W] = !0;
3892
3915
  }
3893
3916
  var g = x.prototype;
3894
3917
  return g.parse = function(d) {
@@ -3896,15 +3919,15 @@ var Or = { exports: {} };
3896
3919
  var m = b.date, E = b.utc;
3897
3920
  if (m === null)
3898
3921
  return /* @__PURE__ */ new Date(NaN);
3899
- if (O.u(m))
3922
+ if (P.u(m))
3900
3923
  return /* @__PURE__ */ new Date();
3901
3924
  if (m instanceof Date)
3902
3925
  return new Date(m);
3903
3926
  if (typeof m == "string" && !/Z$/i.test(m)) {
3904
- var w = m.match(M);
3927
+ var w = m.match(B);
3905
3928
  if (w) {
3906
- var B = w[2] - 1 || 0, D = (w[7] || "0").substring(0, 3);
3907
- return E ? new Date(Date.UTC(w[1], B, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D)) : new Date(w[1], B, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D);
3929
+ var $ = w[2] - 1 || 0, D = (w[7] || "0").substring(0, 3);
3930
+ return E ? new Date(Date.UTC(w[1], $, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D)) : new Date(w[1], $, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D);
3908
3931
  }
3909
3932
  }
3910
3933
  return new Date(m);
@@ -3913,195 +3936,195 @@ var Or = { exports: {} };
3913
3936
  var d = this.$d;
3914
3937
  this.$y = d.getFullYear(), this.$M = d.getMonth(), this.$D = d.getDate(), this.$W = d.getDay(), this.$H = d.getHours(), this.$m = d.getMinutes(), this.$s = d.getSeconds(), this.$ms = d.getMilliseconds();
3915
3938
  }, g.$utils = function() {
3916
- return O;
3939
+ return P;
3917
3940
  }, g.isValid = function() {
3918
3941
  return this.$d.toString() !== v;
3919
3942
  }, g.isSame = function(d, b) {
3920
- var m = A(d);
3943
+ var m = M(d);
3921
3944
  return this.startOf(b) <= m && m <= this.endOf(b);
3922
3945
  }, g.isAfter = function(d, b) {
3923
- return A(d) < this.startOf(b);
3946
+ return M(d) < this.startOf(b);
3924
3947
  }, g.isBefore = function(d, b) {
3925
- return this.endOf(b) < A(d);
3948
+ return this.endOf(b) < M(d);
3926
3949
  }, g.$g = function(d, b, m) {
3927
- return O.u(d) ? this[b] : this.set(m, d);
3950
+ return P.u(d) ? this[b] : this.set(m, d);
3928
3951
  }, g.unix = function() {
3929
3952
  return Math.floor(this.valueOf() / 1e3);
3930
3953
  }, g.valueOf = function() {
3931
3954
  return this.$d.getTime();
3932
3955
  }, g.startOf = function(d, b) {
3933
- var m = this, E = !!O.u(b) || b, w = O.p(d), B = function(se, V) {
3934
- var te = O.w(m.$u ? Date.UTC(m.$y, V, se) : new Date(m.$y, V, se), m);
3935
- return E ? te : te.endOf(u);
3936
- }, D = function(se, V) {
3937
- return O.w(m.toDate()[se].apply(m.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(V)), m);
3938
- }, I = this.$W, F = this.$M, z = this.$D, ue = "set" + (this.$u ? "UTC" : "");
3956
+ var m = this, E = !!P.u(b) || b, w = P.p(d), $ = function(ue, G) {
3957
+ var ie = P.w(m.$u ? Date.UTC(m.$y, G, ue) : new Date(m.$y, G, ue), m);
3958
+ return E ? ie : ie.endOf(l);
3959
+ }, D = function(ue, G) {
3960
+ return P.w(m.toDate()[ue].apply(m.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), m);
3961
+ }, N = this.$W, F = this.$M, X = this.$D, fe = "set" + (this.$u ? "UTC" : "");
3939
3962
  switch (w) {
3940
3963
  case _:
3941
- return E ? B(1, 0) : B(31, 11);
3964
+ return E ? $(1, 0) : $(31, 11);
3942
3965
  case c:
3943
- return E ? B(1, F) : B(0, F + 1);
3966
+ return E ? $(1, F) : $(0, F + 1);
3944
3967
  case h:
3945
- var ee = this.$locale().weekStart || 0, ce = (I < ee ? I + 7 : I) - ee;
3946
- return B(E ? z - ce : z + (6 - ce), F);
3947
- case u:
3948
- case T:
3949
- return D(ue + "Hours", 0);
3968
+ var re = this.$locale().weekStart || 0, me = (N < re ? N + 7 : N) - re;
3969
+ return $(E ? X - me : X + (6 - me), F);
3970
+ case l:
3971
+ case S:
3972
+ return D(fe + "Hours", 0);
3950
3973
  case o:
3951
- return D(ue + "Minutes", 1);
3974
+ return D(fe + "Minutes", 1);
3975
+ case u:
3976
+ return D(fe + "Seconds", 2);
3952
3977
  case a:
3953
- return D(ue + "Seconds", 2);
3954
- case l:
3955
- return D(ue + "Milliseconds", 3);
3978
+ return D(fe + "Milliseconds", 3);
3956
3979
  default:
3957
3980
  return this.clone();
3958
3981
  }
3959
3982
  }, g.endOf = function(d) {
3960
3983
  return this.startOf(d, !1);
3961
3984
  }, g.$set = function(d, b) {
3962
- var m, E = O.p(d), w = "set" + (this.$u ? "UTC" : ""), B = (m = {}, m[u] = w + "Date", m[T] = w + "Date", m[c] = w + "Month", m[_] = w + "FullYear", m[o] = w + "Hours", m[a] = w + "Minutes", m[l] = w + "Seconds", m[s] = w + "Milliseconds", m)[E], D = E === u ? this.$D + (b - this.$W) : b;
3985
+ var m, E = P.p(d), w = "set" + (this.$u ? "UTC" : ""), $ = (m = {}, m[l] = w + "Date", m[S] = w + "Date", m[c] = w + "Month", m[_] = w + "FullYear", m[o] = w + "Hours", m[u] = w + "Minutes", m[a] = w + "Seconds", m[s] = w + "Milliseconds", m)[E], D = E === l ? this.$D + (b - this.$W) : b;
3963
3986
  if (E === c || E === _) {
3964
- var I = this.clone().set(T, 1);
3965
- I.$d[B](D), I.init(), this.$d = I.set(T, Math.min(this.$D, I.daysInMonth())).$d;
3987
+ var N = this.clone().set(S, 1);
3988
+ N.$d[$](D), N.init(), this.$d = N.set(S, Math.min(this.$D, N.daysInMonth())).$d;
3966
3989
  } else
3967
- B && this.$d[B](D);
3990
+ $ && this.$d[$](D);
3968
3991
  return this.init(), this;
3969
3992
  }, g.set = function(d, b) {
3970
3993
  return this.clone().$set(d, b);
3971
3994
  }, g.get = function(d) {
3972
- return this[O.p(d)]();
3995
+ return this[P.p(d)]();
3973
3996
  }, g.add = function(d, b) {
3974
3997
  var m, E = this;
3975
3998
  d = Number(d);
3976
- var w = O.p(b), B = function(F) {
3977
- var z = A(E);
3978
- return O.w(z.date(z.date() + Math.round(F * d)), E);
3999
+ var w = P.p(b), $ = function(F) {
4000
+ var X = M(E);
4001
+ return P.w(X.date(X.date() + Math.round(F * d)), E);
3979
4002
  };
3980
4003
  if (w === c)
3981
4004
  return this.set(c, this.$M + d);
3982
4005
  if (w === _)
3983
4006
  return this.set(_, this.$y + d);
3984
- if (w === u)
3985
- return B(1);
4007
+ if (w === l)
4008
+ return $(1);
3986
4009
  if (w === h)
3987
- return B(7);
3988
- var D = (m = {}, m[a] = i, m[o] = n, m[l] = r, m)[w] || 1, I = this.$d.getTime() + d * D;
3989
- return O.w(I, this);
4010
+ return $(7);
4011
+ var D = (m = {}, m[u] = i, m[o] = n, m[a] = r, m)[w] || 1, N = this.$d.getTime() + d * D;
4012
+ return P.w(N, this);
3990
4013
  }, g.subtract = function(d, b) {
3991
4014
  return this.add(-1 * d, b);
3992
4015
  }, g.format = function(d) {
3993
4016
  var b = this, m = this.$locale();
3994
4017
  if (!this.isValid())
3995
4018
  return m.invalidDate || v;
3996
- var E = d || "YYYY-MM-DDTHH:mm:ssZ", w = O.z(this), B = this.$H, D = this.$m, I = this.$M, F = m.weekdays, z = m.months, ue = m.meridiem, ee = function(V, te, oe, ge) {
3997
- return V && (V[te] || V(b, E)) || oe[te].slice(0, ge);
3998
- }, ce = function(V) {
3999
- return O.s(B % 12 || 12, V, "0");
4000
- }, se = ue || function(V, te, oe) {
4001
- var ge = V < 12 ? "AM" : "PM";
4002
- return oe ? ge.toLowerCase() : ge;
4019
+ var E = d || "YYYY-MM-DDTHH:mm:ssZ", w = P.z(this), $ = this.$H, D = this.$m, N = this.$M, F = m.weekdays, X = m.months, fe = m.meridiem, re = function(G, ie, le, ve) {
4020
+ return G && (G[ie] || G(b, E)) || le[ie].slice(0, ve);
4021
+ }, me = function(G) {
4022
+ return P.s($ % 12 || 12, G, "0");
4023
+ }, ue = fe || function(G, ie, le) {
4024
+ var ve = G < 12 ? "AM" : "PM";
4025
+ return le ? ve.toLowerCase() : ve;
4003
4026
  };
4004
- return E.replace(U, function(V, te) {
4005
- return te || function(oe) {
4006
- switch (oe) {
4027
+ return E.replace(V, function(G, ie) {
4028
+ return ie || function(le) {
4029
+ switch (le) {
4007
4030
  case "YY":
4008
4031
  return String(b.$y).slice(-2);
4009
4032
  case "YYYY":
4010
- return O.s(b.$y, 4, "0");
4033
+ return P.s(b.$y, 4, "0");
4011
4034
  case "M":
4012
- return I + 1;
4035
+ return N + 1;
4013
4036
  case "MM":
4014
- return O.s(I + 1, 2, "0");
4037
+ return P.s(N + 1, 2, "0");
4015
4038
  case "MMM":
4016
- return ee(m.monthsShort, I, z, 3);
4039
+ return re(m.monthsShort, N, X, 3);
4017
4040
  case "MMMM":
4018
- return ee(z, I);
4041
+ return re(X, N);
4019
4042
  case "D":
4020
4043
  return b.$D;
4021
4044
  case "DD":
4022
- return O.s(b.$D, 2, "0");
4045
+ return P.s(b.$D, 2, "0");
4023
4046
  case "d":
4024
4047
  return String(b.$W);
4025
4048
  case "dd":
4026
- return ee(m.weekdaysMin, b.$W, F, 2);
4049
+ return re(m.weekdaysMin, b.$W, F, 2);
4027
4050
  case "ddd":
4028
- return ee(m.weekdaysShort, b.$W, F, 3);
4051
+ return re(m.weekdaysShort, b.$W, F, 3);
4029
4052
  case "dddd":
4030
4053
  return F[b.$W];
4031
4054
  case "H":
4032
- return String(B);
4055
+ return String($);
4033
4056
  case "HH":
4034
- return O.s(B, 2, "0");
4057
+ return P.s($, 2, "0");
4035
4058
  case "h":
4036
- return ce(1);
4059
+ return me(1);
4037
4060
  case "hh":
4038
- return ce(2);
4061
+ return me(2);
4039
4062
  case "a":
4040
- return se(B, D, !0);
4063
+ return ue($, D, !0);
4041
4064
  case "A":
4042
- return se(B, D, !1);
4065
+ return ue($, D, !1);
4043
4066
  case "m":
4044
4067
  return String(D);
4045
4068
  case "mm":
4046
- return O.s(D, 2, "0");
4069
+ return P.s(D, 2, "0");
4047
4070
  case "s":
4048
4071
  return String(b.$s);
4049
4072
  case "ss":
4050
- return O.s(b.$s, 2, "0");
4073
+ return P.s(b.$s, 2, "0");
4051
4074
  case "SSS":
4052
- return O.s(b.$ms, 3, "0");
4075
+ return P.s(b.$ms, 3, "0");
4053
4076
  case "Z":
4054
4077
  return w;
4055
4078
  }
4056
4079
  return null;
4057
- }(V) || w.replace(":", "");
4080
+ }(G) || w.replace(":", "");
4058
4081
  });
4059
4082
  }, g.utcOffset = function() {
4060
4083
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4061
4084
  }, g.diff = function(d, b, m) {
4062
- var E, w = this, B = O.p(b), D = A(d), I = (D.utcOffset() - this.utcOffset()) * i, F = this - D, z = function() {
4063
- return O.m(w, D);
4085
+ var E, w = this, $ = P.p(b), D = M(d), N = (D.utcOffset() - this.utcOffset()) * i, F = this - D, X = function() {
4086
+ return P.m(w, D);
4064
4087
  };
4065
- switch (B) {
4088
+ switch ($) {
4066
4089
  case _:
4067
- E = z() / 12;
4090
+ E = X() / 12;
4068
4091
  break;
4069
4092
  case c:
4070
- E = z();
4093
+ E = X();
4071
4094
  break;
4072
4095
  case p:
4073
- E = z() / 3;
4096
+ E = X() / 3;
4074
4097
  break;
4075
4098
  case h:
4076
- E = (F - I) / 6048e5;
4099
+ E = (F - N) / 6048e5;
4077
4100
  break;
4078
- case u:
4079
- E = (F - I) / 864e5;
4101
+ case l:
4102
+ E = (F - N) / 864e5;
4080
4103
  break;
4081
4104
  case o:
4082
4105
  E = F / n;
4083
4106
  break;
4084
- case a:
4107
+ case u:
4085
4108
  E = F / i;
4086
4109
  break;
4087
- case l:
4110
+ case a:
4088
4111
  E = F / r;
4089
4112
  break;
4090
4113
  default:
4091
4114
  E = F;
4092
4115
  }
4093
- return m ? E : O.a(E);
4116
+ return m ? E : P.a(E);
4094
4117
  }, g.daysInMonth = function() {
4095
4118
  return this.endOf(c).$D;
4096
4119
  }, g.$locale = function() {
4097
- return k[this.$L];
4120
+ return U[this.$L];
4098
4121
  }, g.locale = function(d, b) {
4099
4122
  if (!d)
4100
4123
  return this.$L;
4101
- var m = this.clone(), E = W(d, b, !0);
4124
+ var m = this.clone(), E = Y(d, b, !0);
4102
4125
  return E && (m.$L = E), m;
4103
4126
  }, g.clone = function() {
4104
- return O.w(this.$d, this);
4127
+ return P.w(this.$d, this);
4105
4128
  }, g.toDate = function() {
4106
4129
  return new Date(this.valueOf());
4107
4130
  }, g.toJSON = function() {
@@ -4111,40 +4134,40 @@ var Or = { exports: {} };
4111
4134
  }, g.toString = function() {
4112
4135
  return this.$d.toUTCString();
4113
4136
  }, x;
4114
- }(), ke = pe.prototype;
4115
- return A.prototype = ke, [["$ms", s], ["$s", l], ["$m", a], ["$H", o], ["$W", u], ["$M", c], ["$y", _], ["$D", T]].forEach(function(x) {
4116
- ke[x[1]] = function(g) {
4137
+ }(), he = k.prototype;
4138
+ return M.prototype = he, [["$ms", s], ["$s", a], ["$m", u], ["$H", o], ["$W", l], ["$M", c], ["$y", _], ["$D", S]].forEach(function(x) {
4139
+ he[x[1]] = function(g) {
4117
4140
  return this.$g(g, x[0], x[1]);
4118
4141
  };
4119
- }), A.extend = function(x, g) {
4120
- return x.$i || (x(g, pe, A), x.$i = !0), A;
4121
- }, A.locale = W, A.isDayjs = Y, A.unix = function(x) {
4122
- return A(1e3 * x);
4123
- }, A.en = k[N], A.Ls = k, A.p = {}, A;
4142
+ }), M.extend = function(x, g) {
4143
+ return x.$i || (x(g, k, M), x.$i = !0), M;
4144
+ }, M.locale = Y, M.isDayjs = ae, M.unix = function(x) {
4145
+ return M(1e3 * x);
4146
+ }, M.en = U[I], M.Ls = U, M.p = {}, M;
4124
4147
  });
4125
- })(Or);
4126
- var Yn = Or.exports;
4127
- const zt = /* @__PURE__ */ xt(Yn);
4128
- var Pr = { exports: {} };
4148
+ })(Hr);
4149
+ var Qn = Hr.exports;
4150
+ const zt = /* @__PURE__ */ xt(Qn);
4151
+ var Or = { exports: {} };
4129
4152
  (function(e, t) {
4130
4153
  (function(r, i) {
4131
4154
  e.exports = i();
4132
- })(tr, function() {
4155
+ })(er, function() {
4133
4156
  var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
4134
- return function(s, l, a) {
4135
- var o = l.prototype;
4136
- a.utc = function(v) {
4137
- var M = { date: v, utc: !0, args: arguments };
4138
- return new l(M);
4157
+ return function(s, a, u) {
4158
+ var o = a.prototype;
4159
+ u.utc = function(v) {
4160
+ var B = { date: v, utc: !0, args: arguments };
4161
+ return new a(B);
4139
4162
  }, o.utc = function(v) {
4140
- var M = a(this.toDate(), { locale: this.$L, utc: !0 });
4141
- return v ? M.add(this.utcOffset(), r) : M;
4163
+ var B = u(this.toDate(), { locale: this.$L, utc: !0 });
4164
+ return v ? B.add(this.utcOffset(), r) : B;
4142
4165
  }, o.local = function() {
4143
- return a(this.toDate(), { locale: this.$L, utc: !1 });
4166
+ return u(this.toDate(), { locale: this.$L, utc: !1 });
4144
4167
  };
4145
- var u = o.parse;
4168
+ var l = o.parse;
4146
4169
  o.parse = function(v) {
4147
- v.utc && (this.$u = !0), this.$utils().u(v.$offset) || (this.$offset = v.$offset), u.call(this, v);
4170
+ v.utc && (this.$u = !0), this.$utils().u(v.$offset) || (this.$offset = v.$offset), l.call(this, v);
4148
4171
  };
4149
4172
  var h = o.init;
4150
4173
  o.init = function() {
@@ -4155,33 +4178,33 @@ var Pr = { exports: {} };
4155
4178
  h.call(this);
4156
4179
  };
4157
4180
  var c = o.utcOffset;
4158
- o.utcOffset = function(v, M) {
4159
- var U = this.$utils().u;
4160
- if (U(v))
4161
- return this.$u ? 0 : U(this.$offset) ? c.call(this) : this.$offset;
4162
- if (typeof v == "string" && (v = function(N) {
4163
- N === void 0 && (N = "");
4164
- var k = N.match(i);
4165
- if (!k)
4181
+ o.utcOffset = function(v, B) {
4182
+ var V = this.$utils().u;
4183
+ if (V(v))
4184
+ return this.$u ? 0 : V(this.$offset) ? c.call(this) : this.$offset;
4185
+ if (typeof v == "string" && (v = function(I) {
4186
+ I === void 0 && (I = "");
4187
+ var U = I.match(i);
4188
+ if (!U)
4166
4189
  return null;
4167
- var X = ("" + k[0]).match(n) || ["-", 0, 0], Y = X[0], W = 60 * +X[1] + +X[2];
4168
- return W === 0 ? 0 : Y === "+" ? W : -W;
4190
+ var W = ("" + U[0]).match(n) || ["-", 0, 0], ae = W[0], Y = 60 * +W[1] + +W[2];
4191
+ return Y === 0 ? 0 : ae === "+" ? Y : -Y;
4169
4192
  }(v), v === null))
4170
4193
  return this;
4171
- var R = Math.abs(v) <= 16 ? 60 * v : v, $ = this;
4172
- if (M)
4173
- return $.$offset = R, $.$u = v === 0, $;
4194
+ var R = Math.abs(v) <= 16 ? 60 * v : v, A = this;
4195
+ if (B)
4196
+ return A.$offset = R, A.$u = v === 0, A;
4174
4197
  if (v !== 0) {
4175
- var j = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4176
- ($ = this.local().add(R + j, r)).$offset = R, $.$x.$localOffset = j;
4198
+ var z = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4199
+ (A = this.local().add(R + z, r)).$offset = R, A.$x.$localOffset = z;
4177
4200
  } else
4178
- $ = this.utc();
4179
- return $;
4201
+ A = this.utc();
4202
+ return A;
4180
4203
  };
4181
4204
  var p = o.format;
4182
4205
  o.format = function(v) {
4183
- var M = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4184
- return p.call(this, M);
4206
+ var B = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4207
+ return p.call(this, B);
4185
4208
  }, o.valueOf = function() {
4186
4209
  var v = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4187
4210
  return this.$d.valueOf() - 6e4 * v;
@@ -4194,74 +4217,74 @@ var Pr = { exports: {} };
4194
4217
  };
4195
4218
  var _ = o.toDate;
4196
4219
  o.toDate = function(v) {
4197
- return v === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : _.call(this);
4220
+ return v === "s" && this.$offset ? u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : _.call(this);
4198
4221
  };
4199
- var T = o.diff;
4200
- o.diff = function(v, M, U) {
4222
+ var S = o.diff;
4223
+ o.diff = function(v, B, V) {
4201
4224
  if (v && this.$u === v.$u)
4202
- return T.call(this, v, M, U);
4203
- var R = this.local(), $ = a(v).local();
4204
- return T.call(R, $, M, U);
4225
+ return S.call(this, v, B, V);
4226
+ var R = this.local(), A = u(v).local();
4227
+ return S.call(R, A, B, V);
4205
4228
  };
4206
4229
  };
4207
4230
  });
4208
- })(Pr);
4209
- var Zn = Pr.exports;
4210
- const Jn = /* @__PURE__ */ xt(Zn);
4211
- function Qn(e) {
4212
- Lr(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)}");
4231
+ })(Or);
4232
+ var Kn = Or.exports;
4233
+ const es = /* @__PURE__ */ xt(Kn);
4234
+ function ts(e) {
4235
+ Dr(e, "svelte-3ui5us", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative;box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
4213
4236
  }
4214
4237
  function Xt(e, t, r) {
4215
4238
  const i = e.slice();
4216
- return i[53] = t[r], i[55] = r, i;
4239
+ return i[54] = t[r], i[56] = r, i;
4217
4240
  }
4218
- function Wt(e) {
4241
+ function rs(e) {
4219
4242
  let t, r, i, n, s = Pt(
4220
4243
  /*displayMessages*/
4221
4244
  e[4]
4222
- ), l = [];
4245
+ ), a = [];
4223
4246
  for (let o = 0; o < s.length; o += 1)
4224
- l[o] = Yt(Xt(e, s, o));
4225
- let a = (
4247
+ a[o] = qt(Xt(e, s, o));
4248
+ let u = (
4226
4249
  /*videoExists*/
4227
- e[7] && Zt(e)
4250
+ e[7] && Yt(e)
4228
4251
  );
4229
4252
  return {
4230
4253
  c() {
4231
4254
  t = q("div");
4232
- for (let o = 0; o < l.length; o += 1)
4233
- l[o].c();
4234
- r = _e(), a && a.c(), i = _e(), n = q("cashier-video-modal"), K(t, "class", "CashierVerificationsWrapper"), le(
4255
+ for (let o = 0; o < a.length; o += 1)
4256
+ a[o].c();
4257
+ r = xe(), u && u.c(), i = xe(), n = q("cashier-video-modal"), te(t, "class", "CashierVerificationsWrapper"), J(
4235
4258
  n,
4236
4259
  "clientstylingurl",
4237
4260
  /*clientstylingurl*/
4238
4261
  e[1]
4239
- ), le(
4262
+ ), J(
4240
4263
  n,
4241
4264
  "clientstyling",
4242
4265
  /*clientstyling*/
4243
4266
  e[0]
4244
- ), le(
4267
+ ), J(
4245
4268
  n,
4246
4269
  "ismobileview",
4247
4270
  /*ismobileview*/
4248
4271
  e[2]
4249
- ), le(
4272
+ ), J(
4250
4273
  n,
4251
4274
  "videosrc",
4252
4275
  /*videoSrc*/
4253
4276
  e[8]
4254
4277
  );
4255
4278
  },
4256
- m(o, u) {
4257
- ae(o, t, u);
4258
- for (let h = 0; h < l.length; h += 1)
4259
- l[h] && l[h].m(t, null);
4260
- ae(o, r, u), a && a.m(o, u), ae(o, i, u), ae(o, n, u);
4279
+ m(o, l) {
4280
+ oe(o, t, l);
4281
+ for (let h = 0; h < a.length; h += 1)
4282
+ a[h] && a[h].m(t, null);
4283
+ oe(o, r, l), u && u.m(o, l), oe(o, i, l), oe(o, n, l);
4261
4284
  },
4262
- p(o, u) {
4263
- if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
4264
- 1072) {
4285
+ p(o, l) {
4286
+ if (l[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
4287
+ 2096) {
4265
4288
  s = Pt(
4266
4289
  /*displayMessages*/
4267
4290
  o[4]
@@ -4269,33 +4292,33 @@ function Wt(e) {
4269
4292
  let h;
4270
4293
  for (h = 0; h < s.length; h += 1) {
4271
4294
  const c = Xt(o, s, h);
4272
- l[h] ? l[h].p(c, u) : (l[h] = Yt(c), l[h].c(), l[h].m(t, null));
4295
+ a[h] ? a[h].p(c, l) : (a[h] = qt(c), a[h].c(), a[h].m(t, null));
4273
4296
  }
4274
- for (; h < l.length; h += 1)
4275
- l[h].d(1);
4276
- l.length = s.length;
4297
+ for (; h < a.length; h += 1)
4298
+ a[h].d(1);
4299
+ a.length = s.length;
4277
4300
  }
4278
4301
  /*videoExists*/
4279
- o[7] ? a ? a.p(o, u) : (a = Zt(o), a.c(), a.m(i.parentNode, i)) : a && (a.d(1), a = null), u[0] & /*clientstylingurl*/
4280
- 2 && le(
4302
+ o[7] ? u ? u.p(o, l) : (u = Yt(o), u.c(), u.m(i.parentNode, i)) : u && (u.d(1), u = null), l[0] & /*clientstylingurl*/
4303
+ 2 && J(
4281
4304
  n,
4282
4305
  "clientstylingurl",
4283
4306
  /*clientstylingurl*/
4284
4307
  o[1]
4285
- ), u[0] & /*clientstyling*/
4286
- 1 && le(
4308
+ ), l[0] & /*clientstyling*/
4309
+ 1 && J(
4287
4310
  n,
4288
4311
  "clientstyling",
4289
4312
  /*clientstyling*/
4290
4313
  o[0]
4291
- ), u[0] & /*ismobileview*/
4292
- 4 && le(
4314
+ ), l[0] & /*ismobileview*/
4315
+ 4 && J(
4293
4316
  n,
4294
4317
  "ismobileview",
4295
4318
  /*ismobileview*/
4296
4319
  o[2]
4297
- ), u[0] & /*videoSrc*/
4298
- 256 && le(
4320
+ ), l[0] & /*videoSrc*/
4321
+ 256 && J(
4299
4322
  n,
4300
4323
  "videosrc",
4301
4324
  /*videoSrc*/
@@ -4303,59 +4326,98 @@ function Wt(e) {
4303
4326
  );
4304
4327
  },
4305
4328
  d(o) {
4306
- o && (ne(t), ne(r), ne(i), ne(n)), Rr(l, o), a && a.d(o);
4329
+ o && (K(t), K(r), K(i), K(n)), Nr(a, o), u && u.d(o);
4307
4330
  }
4308
4331
  };
4309
4332
  }
4310
- function qt(e) {
4333
+ function is(e) {
4334
+ let t;
4335
+ return {
4336
+ c() {
4337
+ t = q("cashier-spinner"), J(
4338
+ t,
4339
+ "clientstylingurl",
4340
+ /*clientstylingurl*/
4341
+ e[1]
4342
+ ), J(
4343
+ t,
4344
+ "clientstyling",
4345
+ /*clientstyling*/
4346
+ e[0]
4347
+ );
4348
+ },
4349
+ m(r, i) {
4350
+ oe(r, t, i);
4351
+ },
4352
+ p(r, i) {
4353
+ i[0] & /*clientstylingurl*/
4354
+ 2 && J(
4355
+ t,
4356
+ "clientstylingurl",
4357
+ /*clientstylingurl*/
4358
+ r[1]
4359
+ ), i[0] & /*clientstyling*/
4360
+ 1 && J(
4361
+ t,
4362
+ "clientstyling",
4363
+ /*clientstyling*/
4364
+ r[0]
4365
+ );
4366
+ },
4367
+ d(r) {
4368
+ r && K(t);
4369
+ }
4370
+ };
4371
+ }
4372
+ function Wt(e) {
4311
4373
  let t, r, i;
4312
4374
  function n(...s) {
4313
4375
  return (
4314
4376
  /*click_handler*/
4315
- e[19](
4377
+ e[21](
4316
4378
  /*index*/
4317
- e[55],
4379
+ e[56],
4318
4380
  ...s
4319
4381
  )
4320
4382
  );
4321
4383
  }
4322
4384
  return {
4323
4385
  c() {
4324
- t = q("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', K(t, "class", "CashierVerificationChevron");
4386
+ t = q("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>', te(t, "class", "CashierVerificationChevron");
4325
4387
  },
4326
- m(s, l) {
4327
- ae(s, t, l), r || (i = _t(t, "click", n), r = !0);
4388
+ m(s, a) {
4389
+ oe(s, t, a), r || (i = _t(t, "click", n), r = !0);
4328
4390
  },
4329
- p(s, l) {
4391
+ p(s, a) {
4330
4392
  e = s;
4331
4393
  },
4332
4394
  d(s) {
4333
- s && ne(t), r = !1, i();
4395
+ s && K(t), r = !1, i();
4334
4396
  }
4335
4397
  };
4336
4398
  }
4337
- function Yt(e) {
4399
+ function qt(e) {
4338
4400
  let t, r, i, n, s = (
4339
4401
  /*message*/
4340
- e[53] + ""
4341
- ), l, a, o, u, h = (
4402
+ e[54] + ""
4403
+ ), a, u, o, l, h = (
4342
4404
  /*displayMessages*/
4343
4405
  e[4].length > 1 && /*index*/
4344
- e[55] === 0 && qt(e)
4406
+ e[56] === 0 && Wt(e)
4345
4407
  );
4346
4408
  function c(...p) {
4347
4409
  return (
4348
4410
  /*click_handler_1*/
4349
- e[20](
4411
+ e[22](
4350
4412
  /*index*/
4351
- e[55],
4413
+ e[56],
4352
4414
  ...p
4353
4415
  )
4354
4416
  );
4355
4417
  }
4356
4418
  return {
4357
4419
  c() {
4358
- t = q("div"), r = q("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = _e(), n = q("p"), l = _e(), h && h.c(), a = _e(), K(r, "class", "IconVerification"), K(n, "class", "text"), K(t, "class", "CashierVerificationMessage"), Ee(
4420
+ t = q("div"), r = q("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = xe(), n = q("p"), a = xe(), h && h.c(), u = xe(), te(r, "class", "IconVerification"), te(n, "class", "text"), te(t, "class", "CashierVerificationMessage"), we(
4359
4421
  t,
4360
4422
  "ShowAll",
4361
4423
  /*allVerificationsVisible*/
@@ -4363,15 +4425,15 @@ function Yt(e) {
4363
4425
  );
4364
4426
  },
4365
4427
  m(p, _) {
4366
- ae(p, t, _), re(t, r), re(t, i), re(t, n), n.innerHTML = s, re(t, l), h && h.m(t, null), re(t, a), o || (u = _t(t, "click", c), o = !0);
4428
+ oe(p, t, _), ne(t, r), ne(t, i), ne(t, n), n.innerHTML = s, ne(t, a), h && h.m(t, null), ne(t, u), o || (l = _t(t, "click", c), o = !0);
4367
4429
  },
4368
4430
  p(p, _) {
4369
4431
  e = p, _[0] & /*displayMessages*/
4370
4432
  16 && s !== (s = /*message*/
4371
- e[53] + "") && (n.innerHTML = s), /*displayMessages*/
4433
+ e[54] + "") && (n.innerHTML = s), /*displayMessages*/
4372
4434
  e[4].length > 1 && /*index*/
4373
- e[55] === 0 ? h ? h.p(e, _) : (h = qt(e), h.c(), h.m(t, a)) : h && (h.d(1), h = null), _[0] & /*allVerificationsVisible*/
4374
- 32 && Ee(
4435
+ e[56] === 0 ? h ? h.p(e, _) : (h = Wt(e), h.c(), h.m(t, u)) : h && (h.d(1), h = null), _[0] & /*allVerificationsVisible*/
4436
+ 32 && we(
4375
4437
  t,
4376
4438
  "ShowAll",
4377
4439
  /*allVerificationsVisible*/
@@ -4379,113 +4441,123 @@ function Yt(e) {
4379
4441
  );
4380
4442
  },
4381
4443
  d(p) {
4382
- p && ne(t), h && h.d(), o = !1, u();
4444
+ p && K(t), h && h.d(), o = !1, l();
4383
4445
  }
4384
4446
  };
4385
4447
  }
4386
- function Zt(e) {
4448
+ function Yt(e) {
4387
4449
  let t, r, i, n, s = (
4388
4450
  /*$_*/
4389
- e[9]("verification.video.how-to") + ""
4390
- ), l, a, o;
4451
+ e[10]("verification.video.how-to") + ""
4452
+ ), a, u, o;
4391
4453
  return {
4392
4454
  c() {
4393
- t = q("div"), r = q("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = _e(), n = q("div"), l = yt(s), K(r, "class", "IconVideo"), K(n, "class", "CashierVerificationVideoLink"), Ee(
4455
+ t = q("div"), r = q("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = xe(), n = q("div"), a = yt(s), te(r, "class", "IconVideo"), te(n, "class", "CashierVerificationVideoLink"), we(
4394
4456
  n,
4395
4457
  "CashierVerificationVideoLinkDesktop",
4396
4458
  /*desktopView*/
4397
4459
  e[6]
4398
- ), K(t, "class", "CashierVerificationVideo");
4460
+ ), te(t, "class", "CashierVerificationVideo");
4399
4461
  },
4400
- m(u, h) {
4401
- ae(u, t, h), re(t, r), re(t, i), re(t, n), re(n, l), a || (o = _t(
4462
+ m(l, h) {
4463
+ oe(l, t, h), ne(t, r), ne(t, i), ne(t, n), ne(n, a), u || (o = _t(
4402
4464
  n,
4403
4465
  "click",
4404
4466
  /*click_handler_2*/
4405
- e[21]
4406
- ), a = !0);
4467
+ e[23]
4468
+ ), u = !0);
4407
4469
  },
4408
- p(u, h) {
4470
+ p(l, h) {
4409
4471
  h[0] & /*$_*/
4410
- 512 && s !== (s = /*$_*/
4411
- u[9]("verification.video.how-to") + "") && Ur(l, s), h[0] & /*desktopView*/
4412
- 64 && Ee(
4472
+ 1024 && s !== (s = /*$_*/
4473
+ l[10]("verification.video.how-to") + "") && kr(a, s), h[0] & /*desktopView*/
4474
+ 64 && we(
4413
4475
  n,
4414
4476
  "CashierVerificationVideoLinkDesktop",
4415
4477
  /*desktopView*/
4416
- u[6]
4478
+ l[6]
4417
4479
  );
4418
4480
  },
4419
- d(u) {
4420
- u && ne(t), a = !1, o();
4481
+ d(l) {
4482
+ l && K(t), u = !1, o();
4421
4483
  }
4422
4484
  };
4423
4485
  }
4424
- function Kn(e) {
4425
- let t, r = (
4426
- /*displayMessages*/
4427
- e[4] && Wt(e)
4428
- );
4486
+ function ns(e) {
4487
+ let t;
4488
+ function r(s, a) {
4489
+ if (
4490
+ /*isLoading*/
4491
+ s[9]
4492
+ )
4493
+ return is;
4494
+ if (
4495
+ /*displayMessages*/
4496
+ s[4]
4497
+ )
4498
+ return rs;
4499
+ }
4500
+ let i = r(e), n = i && i(e);
4429
4501
  return {
4430
4502
  c() {
4431
- t = q("div"), r && r.c(), K(t, "class", "CashierVerifications"), Ee(
4503
+ t = q("div"), n && n.c(), te(t, "class", "CashierVerifications"), we(
4432
4504
  t,
4433
4505
  "CashierVerificationsDesktop",
4434
4506
  /*desktopView*/
4435
4507
  e[6]
4436
4508
  );
4437
4509
  },
4438
- m(i, n) {
4439
- ae(i, t, n), r && r.m(t, null), e[22](t);
4510
+ m(s, a) {
4511
+ oe(s, t, a), n && n.m(t, null), e[24](t);
4440
4512
  },
4441
- p(i, n) {
4442
- /*displayMessages*/
4443
- i[4] ? r ? r.p(i, n) : (r = Wt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null), n[0] & /*desktopView*/
4444
- 64 && Ee(
4513
+ p(s, a) {
4514
+ i === (i = r(s)) && n ? n.p(s, a) : (n && n.d(1), n = i && i(s), n && (n.c(), n.m(t, null))), a[0] & /*desktopView*/
4515
+ 64 && we(
4445
4516
  t,
4446
4517
  "CashierVerificationsDesktop",
4447
4518
  /*desktopView*/
4448
- i[6]
4519
+ s[6]
4449
4520
  );
4450
4521
  },
4451
- i: Q,
4452
- o: Q,
4453
- d(i) {
4454
- i && ne(t), r && r.d(), e[22](null);
4522
+ i: ee,
4523
+ o: ee,
4524
+ d(s) {
4525
+ s && K(t), n && n.d(), e[24](null);
4455
4526
  }
4456
4527
  };
4457
4528
  }
4458
- const es = "verification_explanation_video_widgets.MP4";
4459
- function ts(e, t, r) {
4529
+ const ss = "verification_explanation_video_widgets.MP4";
4530
+ function os(e, t, r) {
4460
4531
  let i, n;
4461
- Ht(e, Xn, (f) => r(9, i = f)), Ht(e, qn, (f) => r(28, n = f)), zt.extend(Jn);
4462
- let { endpoint: s } = t, { lang: l = "en" } = t, { translationurl: a = "" } = t, { clientstyling: o = "" } = t, { clientstylingurl: u = "" } = t, { session: h = "" } = t, { customerid: c = "" } = t, { ismobileview: p = "" } = t, { playersession: _ = "" } = t, T, v = /* @__PURE__ */ new Set(), M = /* @__PURE__ */ new Set(), U, R, $, j = !0, N = !0, k = !1, X = "";
4463
- var Y;
4532
+ Ht(e, Xn, (f) => r(10, i = f)), Ht(e, qn, (f) => r(30, n = f)), zt.extend(es);
4533
+ let { endpoint: s } = t, { lang: a = "en" } = t, { translationurl: u = "" } = t, { clientstyling: o = "" } = t, { clientstylingurl: l = "" } = t, { session: h = "" } = t, { customerid: c = "" } = t, { ismobileview: p = "" } = t, { playersession: _ = "" } = t, { mbsource: S = "" } = t, v, B = /* @__PURE__ */ new Set(), V = /* @__PURE__ */ new Set(), R, A, z, I = !0, U = !0, W = !1, ae = "", Y = !1;
4534
+ var M;
4464
4535
  (function(f) {
4465
4536
  f.Manual = "Manual", f.ShuftiPro = "ShuftiPro";
4466
- })(Y || (Y = {}));
4467
- var W;
4537
+ })(M || (M = {}));
4538
+ var P;
4468
4539
  (function(f) {
4469
4540
  f.Requested = "Requested";
4470
- })(W || (W = {}));
4471
- var A;
4541
+ })(P || (P = {}));
4542
+ var k;
4472
4543
  (function(f) {
4473
4544
  f.Unknown = "Unknown", f.Unverified = "Unverified", f.InProgress = "InProgress", f.Failed = "Failed", f.Verified = "Verified", f.Referred = "Referred", f.True = "True", f.False = "False", f.AwaitingForResponse = "AwaitingForResponse";
4474
- })(A || (A = {}));
4475
- var O;
4545
+ })(k || (k = {}));
4546
+ var he;
4476
4547
  (function(f) {
4477
4548
  f.Unknown = "Unknown", f.Documents = "Documents", f.Age = "Age", f.Pep = "Pep", f.Sanction = "Sanction", f.Aml = "Aml", f.ProofOfAddress = "ProofOfAddress", f.SourceOfWealth = "SourceOfWealth", f.SocialMedia = "SocialMedia", f.Biometric = "Biometric";
4478
- })(O || (O = {}));
4479
- const pe = [
4480
- A.InProgress,
4481
- A.Referred,
4482
- A.AwaitingForResponse
4483
- ], ke = () => {
4484
- let f = a;
4549
+ })(he || (he = {})), Vr(() => () => {
4550
+ });
4551
+ const x = [
4552
+ k.InProgress,
4553
+ k.Referred,
4554
+ k.AwaitingForResponse
4555
+ ], g = () => {
4556
+ let f = u;
4485
4557
  if (f)
4486
4558
  return fetch(f).then((y) => y.json()).then((y) => {
4487
- Object.keys(y).forEach((S) => {
4488
- Gt(S, y[S]);
4559
+ Object.keys(y).forEach((T) => {
4560
+ Gt(T, y[T]);
4489
4561
  });
4490
4562
  }).catch((y) => {
4491
4563
  console.log(y);
@@ -4494,37 +4566,24 @@ function ts(e, t, r) {
4494
4566
  Object.keys(jt).forEach((f) => {
4495
4567
  Gt(f, jt[f]);
4496
4568
  });
4497
- const x = () => {
4498
- Wn(l);
4499
- }, g = () => {
4500
- let f = document.createElement("style");
4501
- f.innerHTML = o, T.appendChild(f);
4502
- }, d = () => {
4503
- let f = new URL(u), y = document.createElement("style");
4504
- fetch(f.href).then((S) => S.text()).then((S) => {
4505
- y.innerHTML = S, setTimeout(
4506
- () => {
4507
- T.appendChild(y);
4508
- },
4509
- 1
4510
- );
4511
- });
4569
+ const d = () => {
4570
+ Wn(a);
4512
4571
  }, b = () => {
4513
- r(18, R = w());
4514
- const f = new URL(`${s}/v1/player/${c}/verification/GetKYCCustomerStatus?language=${l}`), y = new Headers();
4572
+ r(20, A = w());
4573
+ const f = new URL(`${s}/v1/player/${c}/verification/GetKYCCustomerStatus?language=${a}`), y = new Headers();
4515
4574
  y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("x-sessionid", `${_}`), y.append("X-Client-Request-Timestamp", zt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4516
- const S = {
4575
+ const T = {
4517
4576
  method: "POST",
4518
4577
  headers: y,
4519
4578
  body: JSON.stringify({})
4520
4579
  };
4521
- fetch(f, S).then((Z) => Z.json()).then((Z) => {
4522
- const Ke = m(Z?.Verifications);
4523
- U = B(Ke), U.VerificationStatuses.forEach((Ue) => {
4524
- Ue.VerificationUrlType !== "Widget" && v.add(Ue.Vendor);
4525
- }), r(4, $ = ee());
4526
- });
4527
- }, m = (f) => f ? f.sort((y, S) => new Date(S.Created).getTime() - new Date(y.Created).getTime()) : [], E = () => {
4580
+ r(9, Y = !0), fetch(f, T).then((Q) => Q.json()).then((Q) => {
4581
+ const Ke = m(Q?.Verifications);
4582
+ R = $(Ke), R.VerificationStatuses.forEach((Ue) => {
4583
+ Ue.VerificationUrlType !== "Widget" && B.add(Ue.Vendor);
4584
+ }), r(4, z = re());
4585
+ }).finally(() => r(9, Y = !1));
4586
+ }, m = (f) => f ? f.sort((y, T) => new Date(T.Created).getTime() - new Date(y.Created).getTime()) : [], E = () => {
4528
4587
  n && b();
4529
4588
  }, w = () => {
4530
4589
  let f = (h || n).split(".")[1];
@@ -4533,235 +4592,248 @@ function ts(e, t, r) {
4533
4592
  return y.cdn + "/cashier/operator-assets/" + y?.mid;
4534
4593
  }
4535
4594
  return "";
4536
- }, B = (f) => {
4595
+ }, $ = (f) => {
4537
4596
  if (!f || !f.length)
4538
4597
  return {
4539
- VerificationSummaryStatus: A.Unverified,
4598
+ VerificationSummaryStatus: k.Unverified,
4540
4599
  VerificationStatuses: []
4541
4600
  };
4542
4601
  const y = F(f);
4543
4602
  if (y && y.length) {
4544
- const S = D(y);
4603
+ const T = D(y);
4545
4604
  return {
4546
- VerificationSummaryStatus: S.Status,
4547
- VerificationUrl: S.Flags?.DeferredUrlKey,
4548
- VerificationStatuses: I(y, S.Status)
4605
+ VerificationSummaryStatus: T.Status,
4606
+ VerificationUrl: T.Flags?.DeferredUrlKey,
4607
+ VerificationStatuses: N(y, T.Status)
4549
4608
  };
4550
4609
  } else
4551
4610
  return {
4552
- VerificationSummaryStatus: f.some((Z) => Z.Status === A.Failed) ? A.Failed : A.Verified,
4553
- VerificationStatuses: I(f, [A.Failed])
4611
+ VerificationSummaryStatus: f.some((Q) => Q.Status === k.Failed) ? k.Failed : k.Verified,
4612
+ VerificationStatuses: N(f, [k.Failed])
4554
4613
  };
4555
4614
  }, D = (f) => f.reduce(
4556
- (y, S) => y ? new Date(y) < new Date(S) ? S : y : S,
4615
+ (y, T) => y ? new Date(y) < new Date(T) ? T : y : T,
4557
4616
  0
4558
- ), I = (f, y) => f.filter((S) => y.includes(S.Status)).map((S) => ({
4559
- Type: S.Type,
4560
- Vendor: S.VendorName,
4561
- VerificationDocuments: S.Documents ? [...S.Documents] : [],
4562
- VerificationUrlType: S.FlowInfo?.Type,
4563
- VerificationUrl: S.FlowInfo?.Url
4564
- })), F = (f) => f.filter((y) => pe.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || z(y) || ue(y) : !1), z = (f) => {
4565
- const y = f.Documents && f.VendorName === Y.Manual, S = f.Documents && f.Documents.some((Z) => Z.Status === W.Requested);
4566
- return y && S;
4567
- }, ue = (f) => f.VendorName === Y.ShuftiPro && f.Status === A.Referred, ee = () => {
4568
- switch (U.VerificationSummaryStatus) {
4569
- case A.InProgress:
4617
+ ), N = (f, y) => f.filter((T) => y.includes(T.Status)).map((T) => ({
4618
+ Type: T.Type,
4619
+ Vendor: T.VendorName,
4620
+ VerificationDocuments: T.Documents ? [...T.Documents] : [],
4621
+ VerificationUrlType: T.FlowInfo?.Type,
4622
+ VerificationUrl: T.FlowInfo?.Url
4623
+ })), F = (f) => f.filter((y) => x.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || X(y) || fe(y) : !1), X = (f) => {
4624
+ const y = f.Documents && f.VendorName === M.Manual, T = f.Documents && f.Documents.some((Q) => Q.Status === P.Requested);
4625
+ return y && T;
4626
+ }, fe = (f) => f.VendorName === M.ShuftiPro && f.Status === k.Referred, re = () => {
4627
+ switch (R.VerificationSummaryStatus) {
4628
+ case k.InProgress:
4570
4629
  const f = [];
4571
- return v.forEach((y) => {
4572
- f.push(ce(y));
4630
+ return B.forEach((y) => {
4631
+ f.push(me(y));
4573
4632
  }), f;
4574
- case A.Referred:
4633
+ case k.Referred:
4575
4634
  return [i("verification.idenfy.referred-awaiting")];
4576
- case A.Failed:
4635
+ case k.Failed:
4577
4636
  return [i("verification.message.failed")];
4578
4637
  }
4579
- }, ce = (f) => {
4580
- const y = U.VerificationStatuses.filter((S) => S.Vendor === f);
4581
- if (f === Y.ShuftiPro)
4582
- return se(y);
4638
+ }, me = (f) => {
4639
+ const y = R.VerificationStatuses.filter((T) => T.Vendor === f);
4640
+ if (f === M.ShuftiPro)
4641
+ return ue(y);
4583
4642
  {
4584
- const S = i("verification.idenfy.link-name"), Z = {
4585
- link: `<a href="${y[0].VerificationUrl}" target="_blank">${S}</a>`
4643
+ const T = i("verification.idenfy.link-name"), Q = {
4644
+ link: `<a href="${y[0].VerificationUrl}" target="_blank">${T}</a>`
4586
4645
  };
4587
- return i("verification.idenfy.in-progress", { values: Z });
4646
+ return i("verification.idenfy.in-progress", { values: Q });
4588
4647
  }
4589
- }, se = (f) => {
4590
- const y = [], S = {}, Z = [
4591
- O.Biometric,
4592
- O.Documents,
4593
- O.ProofOfAddress
4648
+ }, ue = (f) => {
4649
+ const y = [], T = {}, Q = [
4650
+ he.Biometric,
4651
+ he.Documents,
4652
+ he.ProofOfAddress
4594
4653
  ];
4595
- f.forEach((de) => {
4596
- Z.includes(de.Type) && (y.push(de.Type), S[de.Type] = V(de, te(de.Type)));
4654
+ f.forEach((pe) => {
4655
+ Q.includes(pe.Type) && (y.push(pe.Type), T[pe.Type] = G(pe, ie(pe.Type)));
4597
4656
  });
4598
- let Ke = y.every((de) => M.has(de)), Ue = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4599
- return Ke ? i("verification.shuftipro.validations-started") : i(Ue, { values: S });
4600
- }, V = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, te = (f) => i(`verification.shuftipro.link-name.${f}`), oe = (f, y) => {
4657
+ let Ke = y.every((pe) => V.has(pe)), Ue = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4658
+ return Ke ? i("verification.shuftipro.validations-started") : i(Ue, { values: T });
4659
+ }, G = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, ie = (f) => i(`verification.shuftipro.link-name.${f}`), le = (f, y) => {
4601
4660
  if (f.stopPropagation(), f.target && (f.target.href || f.target.closest("a"))) {
4602
4661
  if (f.target.closest(".verificationLink")) {
4603
- const S = f.target.className.split(" ")[1];
4604
- M.add(S), r(4, $ = ee());
4662
+ const T = f.target.className.split(" ")[1];
4663
+ V.add(T), r(4, z = re());
4605
4664
  }
4606
4665
  return;
4607
4666
  }
4608
- y === 0 && r(5, j = !j);
4609
- }, ge = () => {
4610
- r(6, N = p === "false");
4611
- }, Ar = () => {
4612
- r(8, X = R + "/" + l + "/" + es);
4667
+ y === 0 && r(5, I = !I);
4668
+ }, ve = () => {
4669
+ r(6, U = p === "false");
4670
+ }, Pr = () => {
4671
+ r(8, ae = A + "/" + a + "/" + ss);
4613
4672
  try {
4614
- fetch(X, { method: "HEAD" }).then((f) => {
4615
- r(7, k = f.ok);
4673
+ fetch(ae, { method: "HEAD" }).then((f) => {
4674
+ r(7, W = f.ok);
4616
4675
  });
4617
4676
  } catch {
4618
- r(7, k = !1);
4677
+ r(7, W = !1);
4619
4678
  }
4620
4679
  }, St = () => {
4621
4680
  window.postMessage({ type: "ShowCashierVideoModal" }, window.location.href);
4622
- }, $r = (f, y) => oe(y, f), Br = (f, y) => oe(y, f), Mr = () => St();
4623
- function Cr(f) {
4681
+ }, Ar = (f, y) => le(y, f), $r = (f, y) => le(y, f), Br = () => St();
4682
+ function Mr(f) {
4624
4683
  at[f ? "unshift" : "push"](() => {
4625
- T = f, r(3, T);
4684
+ v = f, r(3, v);
4626
4685
  });
4627
4686
  }
4628
4687
  return e.$$set = (f) => {
4629
- "endpoint" in f && r(12, s = f.endpoint), "lang" in f && r(13, l = f.lang), "translationurl" in f && r(14, a = f.translationurl), "clientstyling" in f && r(0, o = f.clientstyling), "clientstylingurl" in f && r(1, u = f.clientstylingurl), "session" in f && r(15, h = f.session), "customerid" in f && r(16, c = f.customerid), "ismobileview" in f && r(2, p = f.ismobileview), "playersession" in f && r(17, _ = f.playersession);
4688
+ "endpoint" in f && r(13, s = f.endpoint), "lang" in f && r(14, a = f.lang), "translationurl" in f && r(15, u = f.translationurl), "clientstyling" in f && r(0, o = f.clientstyling), "clientstylingurl" in f && r(1, l = f.clientstylingurl), "session" in f && r(16, h = f.session), "customerid" in f && r(17, c = f.customerid), "ismobileview" in f && r(2, p = f.ismobileview), "playersession" in f && r(18, _ = f.playersession), "mbsource" in f && r(19, S = f.mbsource);
4630
4689
  }, e.$$.update = () => {
4631
4690
  e.$$.dirty[0] & /*lang*/
4632
- 8192 && l && x(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4633
- 167936 && s && h && _ && b(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4634
- 167936 && s && !h && _ && E(), e.$$.dirty[0] & /*translationurl*/
4635
- 16384 && a && ke(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4636
- 9 && o && T && g(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4637
- 10 && u && T && d(), e.$$.dirty[0] & /*ismobileview*/
4638
- 4 && p && ge(), e.$$.dirty[0] & /*staticCdnUrl*/
4639
- 262144 && R && Ar();
4691
+ 16384 && a && d(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4692
+ 335872 && s && h && _ && b(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4693
+ 335872 && s && !h && _ && E(), e.$$.dirty[0] & /*translationurl*/
4694
+ 32768 && u && g(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4695
+ 9 && o && v && Yn(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4696
+ 10 && l && v && Zn(), e.$$.dirty[0] & /*ismobileview*/
4697
+ 4 && p && ve(), e.$$.dirty[0] & /*staticCdnUrl*/
4698
+ 1048576 && A && Pr(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4699
+ 524296 && S && v && Jn(v, `${S}.Style`);
4640
4700
  }, [
4641
4701
  o,
4642
- u,
4702
+ l,
4643
4703
  p,
4644
- T,
4645
- $,
4646
- j,
4647
- N,
4648
- k,
4649
- X,
4704
+ v,
4705
+ z,
4706
+ I,
4707
+ U,
4708
+ W,
4709
+ ae,
4710
+ Y,
4650
4711
  i,
4651
- oe,
4712
+ le,
4652
4713
  St,
4653
4714
  s,
4654
- l,
4655
4715
  a,
4716
+ u,
4656
4717
  h,
4657
4718
  c,
4658
4719
  _,
4659
- R,
4720
+ S,
4721
+ A,
4722
+ Ar,
4660
4723
  $r,
4661
4724
  Br,
4662
- Mr,
4663
- Cr
4725
+ Mr
4664
4726
  ];
4665
4727
  }
4666
- class rs extends ei {
4728
+ class as extends ei {
4667
4729
  constructor(t) {
4668
4730
  super(), Qr(
4669
4731
  this,
4670
4732
  t,
4671
- ts,
4672
- Kn,
4673
- Qt,
4733
+ os,
4734
+ ns,
4735
+ Jt,
4674
4736
  {
4675
- endpoint: 12,
4676
- lang: 13,
4677
- translationurl: 14,
4737
+ endpoint: 13,
4738
+ lang: 14,
4739
+ translationurl: 15,
4678
4740
  clientstyling: 0,
4679
4741
  clientstylingurl: 1,
4680
- session: 15,
4681
- customerid: 16,
4742
+ session: 16,
4743
+ customerid: 17,
4682
4744
  ismobileview: 2,
4683
- playersession: 17
4745
+ playersession: 18,
4746
+ mbsource: 19
4684
4747
  },
4685
- Qn,
4748
+ ts,
4686
4749
  [-1, -1]
4687
4750
  );
4688
4751
  }
4689
4752
  get endpoint() {
4690
- return this.$$.ctx[12];
4753
+ return this.$$.ctx[13];
4691
4754
  }
4692
4755
  set endpoint(t) {
4693
- this.$$set({ endpoint: t }), J();
4756
+ this.$$set({ endpoint: t }), Z();
4694
4757
  }
4695
4758
  get lang() {
4696
- return this.$$.ctx[13];
4759
+ return this.$$.ctx[14];
4697
4760
  }
4698
4761
  set lang(t) {
4699
- this.$$set({ lang: t }), J();
4762
+ this.$$set({ lang: t }), Z();
4700
4763
  }
4701
4764
  get translationurl() {
4702
- return this.$$.ctx[14];
4765
+ return this.$$.ctx[15];
4703
4766
  }
4704
4767
  set translationurl(t) {
4705
- this.$$set({ translationurl: t }), J();
4768
+ this.$$set({ translationurl: t }), Z();
4706
4769
  }
4707
4770
  get clientstyling() {
4708
4771
  return this.$$.ctx[0];
4709
4772
  }
4710
4773
  set clientstyling(t) {
4711
- this.$$set({ clientstyling: t }), J();
4774
+ this.$$set({ clientstyling: t }), Z();
4712
4775
  }
4713
4776
  get clientstylingurl() {
4714
4777
  return this.$$.ctx[1];
4715
4778
  }
4716
4779
  set clientstylingurl(t) {
4717
- this.$$set({ clientstylingurl: t }), J();
4780
+ this.$$set({ clientstylingurl: t }), Z();
4718
4781
  }
4719
4782
  get session() {
4720
- return this.$$.ctx[15];
4783
+ return this.$$.ctx[16];
4721
4784
  }
4722
4785
  set session(t) {
4723
- this.$$set({ session: t }), J();
4786
+ this.$$set({ session: t }), Z();
4724
4787
  }
4725
4788
  get customerid() {
4726
- return this.$$.ctx[16];
4789
+ return this.$$.ctx[17];
4727
4790
  }
4728
4791
  set customerid(t) {
4729
- this.$$set({ customerid: t }), J();
4792
+ this.$$set({ customerid: t }), Z();
4730
4793
  }
4731
4794
  get ismobileview() {
4732
4795
  return this.$$.ctx[2];
4733
4796
  }
4734
4797
  set ismobileview(t) {
4735
- this.$$set({ ismobileview: t }), J();
4798
+ this.$$set({ ismobileview: t }), Z();
4736
4799
  }
4737
4800
  get playersession() {
4738
- return this.$$.ctx[17];
4801
+ return this.$$.ctx[18];
4739
4802
  }
4740
4803
  set playersession(t) {
4741
- this.$$set({ playersession: t }), J();
4804
+ this.$$set({ playersession: t }), Z();
4805
+ }
4806
+ get mbsource() {
4807
+ return this.$$.ctx[19];
4808
+ }
4809
+ set mbsource(t) {
4810
+ this.$$set({ mbsource: t }), Z();
4742
4811
  }
4743
4812
  }
4744
- Kr(rs, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {} }, [], [], !0);
4813
+ Kr(as, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {}, mbsource: {} }, [], [], !0);
4745
4814
  export {
4746
- rs as C,
4815
+ as as C,
4747
4816
  ei as S,
4748
- Lr as a,
4749
- ae as b,
4817
+ Dr as a,
4818
+ oe as b,
4750
4819
  Kr as c,
4751
- ne as d,
4752
- ss as e,
4753
- J as f,
4754
- is as g,
4755
- K as h,
4820
+ K as d,
4821
+ hs as e,
4822
+ Z as f,
4823
+ us as g,
4824
+ te as h,
4756
4825
  Qr as i,
4757
- re as j,
4826
+ ne as j,
4758
4827
  q as k,
4759
- _e as l,
4828
+ xe as l,
4760
4829
  at as m,
4761
- Q as n,
4762
- os as o,
4830
+ ee as n,
4831
+ Vr as o,
4763
4832
  _t as p,
4764
- ns as q,
4765
- Qt as s,
4766
- Ee as t
4833
+ ls as q,
4834
+ Yn as r,
4835
+ Jt as s,
4836
+ we as t,
4837
+ Zn as u,
4838
+ Jn as v
4767
4839
  };