@everymatrix/cashier-verifications 1.65.3 → 1.66.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,50 +1,50 @@
1
- function Z() {
1
+ function K() {
2
2
  }
3
- function Yt(e) {
3
+ function Zt(e) {
4
4
  return e();
5
5
  }
6
- function wt() {
6
+ function St() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
9
  function Le(e) {
10
- e.forEach(Yt);
10
+ e.forEach(Zt);
11
11
  }
12
- function gt(e) {
12
+ function vt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Zt(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
- let Ue;
19
- function es(e, t) {
20
- return e === t ? !0 : (Ue || (Ue = document.createElement("a")), Ue.href = t, e === Ue.href);
18
+ let Fe;
19
+ function rs(e, t) {
20
+ return e === t ? !0 : (Fe || (Fe = document.createElement("a")), Fe.href = t, e === Fe.href);
21
21
  }
22
- function Br(e) {
22
+ function Cr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Jt(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 Z;
29
+ return K;
30
30
  }
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function St(e, t, r) {
35
- e.$$.on_destroy.push(Jt(t, r));
34
+ function Tt(e, t, r) {
35
+ e.$$.on_destroy.push(Qt(t, r));
36
36
  }
37
37
  function te(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Mr(e, t, r) {
41
- const i = Cr(e);
40
+ function Dr(e, t, r) {
41
+ const i = Lr(e);
42
42
  if (!i.getElementById(t)) {
43
43
  const n = Y("style");
44
- n.id = t, n.textContent = r, Dr(i, n);
44
+ n.id = t, n.textContent = r, Ir(i, n);
45
45
  }
46
46
  }
47
- function Cr(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 Cr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function Dr(e, t) {
57
+ function Ir(e, t) {
58
58
  return te(
59
59
  /** @type {Document} */
60
60
  e.head || e,
61
61
  t
62
62
  ), t.sheet;
63
63
  }
64
- function oe(e, t, r) {
64
+ function ae(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
- function re(e) {
67
+ function ie(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function Lr(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 Y(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function ts(e) {
77
+ function is(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
80
  function bt(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
- function xe() {
83
+ function _e() {
84
84
  return bt(" ");
85
85
  }
86
- function rs() {
86
+ function ns() {
87
87
  return bt("");
88
88
  }
89
- function vt(e, t, r, i) {
89
+ function yt(e, t, r, i) {
90
90
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
91
91
  }
92
- function J(e, t, r) {
92
+ function ee(e, t, r) {
93
93
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
94
94
  }
95
95
  function ue(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 : J(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 : ee(e, t, r);
98
98
  }
99
- function Ir(e) {
99
+ function Rr(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
- function Nr(e, t) {
102
+ function kr(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
106
  function Ee(e, t, r) {
107
107
  e.classList.toggle(t, !!r);
108
108
  }
109
- function Rr(e) {
109
+ function Ur(e) {
110
110
  const t = {};
111
111
  return e.childNodes.forEach(
112
112
  /** @param {Element} node */
@@ -119,84 +119,84 @@ let Me;
119
119
  function Be(e) {
120
120
  Me = e;
121
121
  }
122
- function kr() {
122
+ function Fr() {
123
123
  if (!Me)
124
124
  throw new Error("Function called outside component initialization");
125
125
  return Me;
126
126
  }
127
- function is(e) {
128
- kr().$$.on_mount.push(e);
127
+ function ss(e) {
128
+ Fr().$$.on_mount.push(e);
129
129
  }
130
- const ye = [], st = [];
131
- let _e = [];
132
- const Tt = [], Ur = /* @__PURE__ */ Promise.resolve();
133
- let ot = !1;
134
- function Fr() {
135
- ot || (ot = !0, Ur.then(ee));
130
+ const ye = [], ot = [];
131
+ let xe = [];
132
+ const Ht = [], Vr = /* @__PURE__ */ Promise.resolve();
133
+ let at = !1;
134
+ function Gr() {
135
+ at || (at = !0, Vr.then(Q));
136
136
  }
137
- function at(e) {
138
- _e.push(e);
137
+ function ut(e) {
138
+ xe.push(e);
139
139
  }
140
- const Qe = /* @__PURE__ */ new Set();
141
- let be = 0;
142
- function ee() {
143
- if (be !== 0)
140
+ const Ke = /* @__PURE__ */ new Set();
141
+ let ve = 0;
142
+ function Q() {
143
+ if (ve !== 0)
144
144
  return;
145
145
  const e = Me;
146
146
  do {
147
147
  try {
148
- for (; be < ye.length; ) {
149
- const t = ye[be];
150
- be++, Be(t), Vr(t.$$);
148
+ for (; ve < ye.length; ) {
149
+ const t = ye[ve];
150
+ ve++, Be(t), jr(t.$$);
151
151
  }
152
152
  } catch (t) {
153
- throw ye.length = 0, be = 0, t;
153
+ throw ye.length = 0, ve = 0, t;
154
154
  }
155
- for (Be(null), ye.length = 0, be = 0; st.length; )
156
- st.pop()();
157
- for (let t = 0; t < _e.length; t += 1) {
158
- const r = _e[t];
159
- Qe.has(r) || (Qe.add(r), r());
155
+ for (Be(null), ye.length = 0, ve = 0; ot.length; )
156
+ ot.pop()();
157
+ for (let t = 0; t < xe.length; t += 1) {
158
+ const r = xe[t];
159
+ Ke.has(r) || (Ke.add(r), r());
160
160
  }
161
- _e.length = 0;
161
+ xe.length = 0;
162
162
  } while (ye.length);
163
- for (; Tt.length; )
164
- Tt.pop()();
165
- ot = !1, Qe.clear(), Be(e);
163
+ for (; Ht.length; )
164
+ Ht.pop()();
165
+ at = !1, Ke.clear(), Be(e);
166
166
  }
167
- function Vr(e) {
167
+ function jr(e) {
168
168
  if (e.fragment !== null) {
169
169
  e.update(), Le(e.before_update);
170
170
  const t = e.dirty;
171
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(at);
171
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ut);
172
172
  }
173
173
  }
174
- function Gr(e) {
174
+ function zr(e) {
175
175
  const t = [], r = [];
176
- _e.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), _e = t;
176
+ xe.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), xe = t;
177
177
  }
178
- const jr = /* @__PURE__ */ new Set();
179
- function zr(e, t) {
180
- e && e.i && (jr.delete(e), e.i(t));
178
+ const Xr = /* @__PURE__ */ new Set();
179
+ function Wr(e, t) {
180
+ e && e.i && (Xr.delete(e), e.i(t));
181
181
  }
182
- function Ht(e) {
182
+ function Ot(e) {
183
183
  return e?.length !== void 0 ? e : Array.from(e);
184
184
  }
185
- function Xr(e, t, r) {
185
+ function qr(e, t, r) {
186
186
  const { fragment: i, after_update: n } = e.$$;
187
- i && i.m(t, r), at(() => {
188
- const s = e.$$.on_mount.map(Yt).filter(gt);
187
+ i && i.m(t, r), ut(() => {
188
+ const s = e.$$.on_mount.map(Zt).filter(vt);
189
189
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Le(s), e.$$.on_mount = [];
190
- }), n.forEach(at);
190
+ }), n.forEach(ut);
191
191
  }
192
- function Wr(e, t) {
192
+ function Yr(e, t) {
193
193
  const r = e.$$;
194
- r.fragment !== null && (Gr(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 && (zr(r.after_update), Le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
195
195
  }
196
- function qr(e, t) {
197
- e.$$.dirty[0] === -1 && (ye.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
196
+ function Zr(e, t) {
197
+ e.$$.dirty[0] === -1 && (ye.push(e), Gr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
198
198
  }
199
- function Yr(e, t, r, i, n, s, h = null, a = [-1]) {
199
+ function Jr(e, t, r, i, n, s, l = null, a = [-1]) {
200
200
  const o = Me;
201
201
  Be(e);
202
202
  const u = e.$$ = {
@@ -204,9 +204,9 @@ function Yr(e, t, r, i, n, s, h = null, a = [-1]) {
204
204
  ctx: [],
205
205
  // state
206
206
  props: s,
207
- update: Z,
207
+ update: K,
208
208
  not_equal: n,
209
- bound: wt(),
209
+ bound: St(),
210
210
  // lifecycle
211
211
  on_mount: [],
212
212
  on_destroy: [],
@@ -215,28 +215,28 @@ function Yr(e, t, r, i, n, s, h = null, a = [-1]) {
215
215
  after_update: [],
216
216
  context: new Map(t.context || (o ? o.$$.context : [])),
217
217
  // everything else
218
- callbacks: wt(),
218
+ callbacks: St(),
219
219
  dirty: a,
220
220
  skip_bound: !1,
221
221
  root: t.target || o.$$.root
222
222
  };
223
- h && h(u.root);
224
- let l = !1;
225
- if (u.ctx = r ? r(e, t.props || {}, (d, p, ...x) => {
226
- const H = x.length ? x[0] : p;
227
- return u.ctx && n(u.ctx[d], u.ctx[d] = H) && (!u.skip_bound && u.bound[d] && u.bound[d](H), l && qr(e, d)), p;
228
- }) : [], u.update(), l = !0, Le(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
223
+ l && l(u.root);
224
+ let h = !1;
225
+ if (u.ctx = r ? r(e, t.props || {}, (c, p, ..._) => {
226
+ const S = _.length ? _[0] : p;
227
+ return u.ctx && n(u.ctx[c], u.ctx[c] = S) && (!u.skip_bound && u.bound[c] && u.bound[c](S), h && Zr(e, c)), p;
228
+ }) : [], u.update(), h = !0, Le(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
229
229
  if (t.hydrate) {
230
- const d = Ir(t.target);
231
- u.fragment && u.fragment.l(d), d.forEach(re);
230
+ const c = Rr(t.target);
231
+ u.fragment && u.fragment.l(c), c.forEach(ie);
232
232
  } else
233
233
  u.fragment && u.fragment.c();
234
- t.intro && zr(e.$$.fragment), Xr(e, t.target, t.anchor), ee();
234
+ t.intro && Wr(e.$$.fragment), qr(e, t.target, t.anchor), Q();
235
235
  }
236
236
  Be(o);
237
237
  }
238
- let Qt;
239
- typeof HTMLElement == "function" && (Qt = 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,29 +278,29 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
278
278
  let s;
279
279
  return {
280
280
  c: function() {
281
- s = Y("slot"), n !== "default" && J(s, "name", n);
281
+ s = Y("slot"), n !== "default" && ee(s, "name", n);
282
282
  },
283
283
  /**
284
284
  * @param {HTMLElement} target
285
285
  * @param {HTMLElement} [anchor]
286
286
  */
287
287
  m: function(o, u) {
288
- oe(o, s, u);
288
+ ae(o, s, u);
289
289
  },
290
290
  d: function(o) {
291
- o && re(s);
291
+ o && ie(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 = Rr(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) {
302
302
  const s = this.$$g_p(n.name);
303
- s in this.$$d || (this.$$d[s] = Ve(s, n.value, this.$$p_d, "toProp"));
303
+ s in this.$$d || (this.$$d[s] = Ge(s, n.value, this.$$p_d, "toProp"));
304
304
  }
305
305
  for (const n in this.$$p_d)
306
306
  !(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
@@ -318,7 +318,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
318
318
  this.$$r = !0;
319
319
  for (const n in this.$$p_d)
320
320
  if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
321
- const s = Ve(
321
+ const s = Ge(
322
322
  n,
323
323
  this.$$d[n],
324
324
  this.$$p_d,
@@ -331,8 +331,8 @@ typeof HTMLElement == "function" && (Qt = 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 h = this.$$c.$on(n, s);
335
- this.$$l_u.set(s, h);
334
+ const l = this.$$c.$on(n, s);
335
+ this.$$l_u.set(s, l);
336
336
  }
337
337
  this.$$l = {};
338
338
  }
@@ -340,7 +340,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
340
340
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
341
341
  // and setting attributes through setAttribute etc, this is helpful
342
342
  attributeChangedCallback(e, t, r) {
343
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ve(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
343
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = Ge(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
344
344
  }
345
345
  disconnectedCallback() {
346
346
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -353,7 +353,7 @@ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
353
353
  ) || e;
354
354
  }
355
355
  });
356
- function Ve(e, t, r, i) {
356
+ function Ge(e, t, r, i) {
357
357
  const n = r[e]?.type;
358
358
  if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
359
359
  return t;
@@ -382,8 +382,8 @@ function Ve(e, t, r, i) {
382
382
  return t;
383
383
  }
384
384
  }
385
- function Zr(e, t, r, i, n, s) {
386
- let h = class extends Qt {
385
+ function Qr(e, t, r, i, n, s) {
386
+ let l = class extends Kt {
387
387
  constructor() {
388
388
  super(e, r, n), this.$$p_d = t;
389
389
  }
@@ -394,24 +394,24 @@ function Zr(e, t, r, i, n, s) {
394
394
  }
395
395
  };
396
396
  return Object.keys(t).forEach((a) => {
397
- Object.defineProperty(h.prototype, a, {
397
+ Object.defineProperty(l.prototype, a, {
398
398
  get() {
399
399
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
400
400
  },
401
401
  set(o) {
402
- o = Ve(a, o, t), this.$$d[a] = o, this.$$c?.$set({ [a]: o });
402
+ o = Ge(a, o, t), this.$$d[a] = o, this.$$c?.$set({ [a]: o });
403
403
  }
404
404
  });
405
405
  }), i.forEach((a) => {
406
- Object.defineProperty(h.prototype, a, {
406
+ Object.defineProperty(l.prototype, a, {
407
407
  get() {
408
408
  return this.$$c?.[a];
409
409
  }
410
410
  });
411
411
  }), e.element = /** @type {any} */
412
- h, h;
412
+ l, l;
413
413
  }
414
- class Jr {
414
+ class Kr {
415
415
  /**
416
416
  * ### PRIVATE API
417
417
  *
@@ -430,7 +430,7 @@ class Jr {
430
430
  $$set = void 0;
431
431
  /** @returns {void} */
432
432
  $destroy() {
433
- Wr(this, 1), this.$destroy = Z;
433
+ Yr(this, 1), this.$destroy = K;
434
434
  }
435
435
  /**
436
436
  * @template {Extract<keyof Events, string>} K
@@ -439,8 +439,8 @@ class Jr {
439
439
  * @returns {() => void}
440
440
  */
441
441
  $on(t, r) {
442
- if (!gt(r))
443
- return Z;
442
+ if (!vt(r))
443
+ return K;
444
444
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
445
445
  return i.push(r), () => {
446
446
  const n = i.indexOf(r);
@@ -452,139 +452,139 @@ class Jr {
452
452
  * @returns {void}
453
453
  */
454
454
  $set(t) {
455
- this.$$set && !Br(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
- const Qr = "4";
459
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qr);
460
- const ve = [];
461
- function Kr(e, t) {
458
+ const ei = "4";
459
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ei);
460
+ const be = [];
461
+ function ti(e, t) {
462
462
  return {
463
463
  subscribe: Ie(e, t).subscribe
464
464
  };
465
465
  }
466
- function Ie(e, t = Z) {
466
+ function Ie(e, t = K) {
467
467
  let r;
468
468
  const i = /* @__PURE__ */ new Set();
469
469
  function n(a) {
470
- if (Zt(e, a) && (e = a, r)) {
471
- const o = !ve.length;
470
+ if (Jt(e, a) && (e = a, r)) {
471
+ const o = !be.length;
472
472
  for (const u of i)
473
- u[1](), ve.push(u, e);
473
+ u[1](), be.push(u, e);
474
474
  if (o) {
475
- for (let u = 0; u < ve.length; u += 2)
476
- ve[u][0](ve[u + 1]);
477
- ve.length = 0;
475
+ for (let u = 0; u < be.length; u += 2)
476
+ be[u][0](be[u + 1]);
477
+ be.length = 0;
478
478
  }
479
479
  }
480
480
  }
481
481
  function s(a) {
482
482
  n(a(e));
483
483
  }
484
- function h(a, o = Z) {
484
+ function l(a, o = K) {
485
485
  const u = [a, o];
486
- return i.add(u), i.size === 1 && (r = t(n, s) || Z), a(e), () => {
486
+ return i.add(u), i.size === 1 && (r = t(n, s) || K), a(e), () => {
487
487
  i.delete(u), i.size === 0 && r && (r(), r = null);
488
488
  };
489
489
  }
490
- return { set: n, update: s, subscribe: h };
490
+ return { set: n, update: s, subscribe: l };
491
491
  }
492
- function Pe(e, t, r) {
492
+ function Oe(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 Kr(r, (h, a) => {
497
+ return ti(r, (l, a) => {
498
498
  let o = !1;
499
499
  const u = [];
500
- let l = 0, d = Z;
500
+ let h = 0, c = K;
501
501
  const p = () => {
502
- if (l)
502
+ if (h)
503
503
  return;
504
- d();
505
- const H = t(i ? u[0] : u, h, a);
506
- s ? h(H) : d = gt(H) ? H : Z;
507
- }, x = n.map(
508
- (H, b) => Jt(
509
- H,
510
- (B) => {
511
- u[b] = B, l &= ~(1 << b), o && p();
504
+ c();
505
+ const S = t(i ? u[0] : u, l, a);
506
+ s ? l(S) : c = vt(S) ? S : K;
507
+ }, _ = n.map(
508
+ (S, v) => Qt(
509
+ S,
510
+ (M) => {
511
+ u[v] = M, h &= ~(1 << v), o && p();
512
512
  },
513
513
  () => {
514
- l |= 1 << b;
514
+ h |= 1 << v;
515
515
  }
516
516
  )
517
517
  );
518
518
  return o = !0, p(), function() {
519
- Le(x), d(), o = !1;
519
+ Le(_), c(), o = !1;
520
520
  };
521
521
  });
522
522
  }
523
- var Kt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
524
- function yt(e) {
523
+ var er = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
524
+ function _t(e) {
525
525
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
526
526
  }
527
- var ei = function(t) {
528
- return ti(t) && !ri(t);
527
+ var ri = function(t) {
528
+ return ii(t) && !ni(t);
529
529
  };
530
- function ti(e) {
530
+ function ii(e) {
531
531
  return !!e && typeof e == "object";
532
532
  }
533
- function ri(e) {
533
+ function ni(e) {
534
534
  var t = Object.prototype.toString.call(e);
535
- return t === "[object RegExp]" || t === "[object Date]" || si(e);
535
+ return t === "[object RegExp]" || t === "[object Date]" || ai(e);
536
536
  }
537
- var ii = typeof Symbol == "function" && Symbol.for, ni = ii ? Symbol.for("react.element") : 60103;
538
- function si(e) {
539
- return e.$$typeof === ni;
537
+ var si = typeof Symbol == "function" && Symbol.for, oi = si ? Symbol.for("react.element") : 60103;
538
+ function ai(e) {
539
+ return e.$$typeof === oi;
540
540
  }
541
- function oi(e) {
541
+ function ui(e) {
542
542
  return Array.isArray(e) ? [] : {};
543
543
  }
544
544
  function Ce(e, t) {
545
- return t.clone !== !1 && t.isMergeableObject(e) ? we(oi(e), e, t) : e;
545
+ return t.clone !== !1 && t.isMergeableObject(e) ? we(ui(e), e, t) : e;
546
546
  }
547
- function ai(e, t, r) {
547
+ function li(e, t, r) {
548
548
  return e.concat(t).map(function(i) {
549
549
  return Ce(i, r);
550
550
  });
551
551
  }
552
- function ui(e, t) {
552
+ function hi(e, t) {
553
553
  if (!t.customMerge)
554
554
  return we;
555
555
  var r = t.customMerge(e);
556
556
  return typeof r == "function" ? r : we;
557
557
  }
558
- function li(e) {
558
+ function fi(e) {
559
559
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
560
560
  return Object.propertyIsEnumerable.call(e, t);
561
561
  }) : [];
562
562
  }
563
563
  function Pt(e) {
564
- return Object.keys(e).concat(li(e));
564
+ return Object.keys(e).concat(fi(e));
565
565
  }
566
- function er(e, t) {
566
+ function tr(e, t) {
567
567
  try {
568
568
  return t in e;
569
569
  } catch {
570
570
  return !1;
571
571
  }
572
572
  }
573
- function hi(e, t) {
574
- return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
573
+ function ci(e, t) {
574
+ return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
575
575
  }
576
- function fi(e, t, r) {
576
+ function di(e, t, r) {
577
577
  var i = {};
578
578
  return r.isMergeableObject(e) && Pt(e).forEach(function(n) {
579
579
  i[n] = Ce(e[n], r);
580
580
  }), Pt(t).forEach(function(n) {
581
- hi(e, n) || (er(e, n) && r.isMergeableObject(t[n]) ? i[n] = ui(n, r)(e[n], t[n], r) : i[n] = Ce(t[n], r));
581
+ ci(e, n) || (tr(e, n) && r.isMergeableObject(t[n]) ? i[n] = hi(n, r)(e[n], t[n], r) : i[n] = Ce(t[n], r));
582
582
  }), i;
583
583
  }
584
584
  function we(e, t, r) {
585
- r = r || {}, r.arrayMerge = r.arrayMerge || ai, r.isMergeableObject = r.isMergeableObject || ei, r.cloneUnlessOtherwiseSpecified = Ce;
585
+ r = r || {}, r.arrayMerge = r.arrayMerge || li, r.isMergeableObject = r.isMergeableObject || ri, r.cloneUnlessOtherwiseSpecified = Ce;
586
586
  var i = Array.isArray(t), n = Array.isArray(e), s = i === n;
587
- return s ? i ? r.arrayMerge(e, t, r) : fi(e, t, r) : Ce(t, r);
587
+ return s ? i ? r.arrayMerge(e, t, r) : di(e, t, r) : Ce(t, r);
588
588
  }
589
589
  we.all = function(t, r) {
590
590
  if (!Array.isArray(t))
@@ -593,50 +593,36 @@ we.all = function(t, r) {
593
593
  return we(i, n, r);
594
594
  }, {});
595
595
  };
596
- var ci = we, di = ci;
597
- const mi = /* @__PURE__ */ yt(di);
598
- /*! *****************************************************************************
599
- Copyright (c) Microsoft Corporation.
600
-
601
- Permission to use, copy, modify, and/or distribute this software for any
602
- purpose with or without fee is hereby granted.
603
-
604
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
605
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
606
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
607
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
608
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
609
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
610
- PERFORMANCE OF THIS SOFTWARE.
611
- ***************************************************************************** */
612
- var ut = function(e, t) {
613
- return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
596
+ var mi = we, pi = mi;
597
+ const gi = /* @__PURE__ */ _t(pi);
598
+ var lt = function(e, t) {
599
+ return lt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
614
600
  r.__proto__ = i;
615
601
  } || function(r, i) {
616
602
  for (var n in i)
617
603
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
618
- }, ut(e, t);
604
+ }, lt(e, t);
619
605
  };
620
- function qe(e, t) {
606
+ function Ze(e, t) {
621
607
  if (typeof t != "function" && t !== null)
622
608
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
623
- ut(e, t);
609
+ lt(e, t);
624
610
  function r() {
625
611
  this.constructor = e;
626
612
  }
627
613
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
628
614
  }
629
- var A = function() {
630
- return A = Object.assign || function(t) {
615
+ var re = function() {
616
+ return re = Object.assign || function(t) {
631
617
  for (var r, i = 1, n = arguments.length; i < n; i++) {
632
618
  r = arguments[i];
633
619
  for (var s in r)
634
620
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
635
621
  }
636
622
  return t;
637
- }, A.apply(this, arguments);
623
+ }, re.apply(this, arguments);
638
624
  };
639
- function pi(e, t) {
625
+ function vi(e, t) {
640
626
  var r = {};
641
627
  for (var i in e)
642
628
  Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
@@ -645,46 +631,43 @@ function pi(e, t) {
645
631
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
646
632
  return r;
647
633
  }
648
- function Ke(e, t, r) {
649
- if (arguments.length === 2)
634
+ function et(e, t, r) {
635
+ if (r || arguments.length === 2)
650
636
  for (var i = 0, n = t.length, s; i < n; i++)
651
637
  (s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
652
- return e.concat(s || t);
638
+ return e.concat(s || Array.prototype.slice.call(t));
653
639
  }
654
- function et(e, t) {
655
- var r = t && t.cache ? t.cache : Ei, i = t && t.serializer ? t.serializer : xi, n = t && t.strategy ? t.strategy : bi;
640
+ function tt(e, t) {
641
+ var r = t && t.cache ? t.cache : Si, i = t && t.serializer ? t.serializer : Ei, n = t && t.strategy ? t.strategy : _i;
656
642
  return n(e, {
657
643
  cache: r,
658
644
  serializer: i
659
645
  });
660
646
  }
661
- function gi(e) {
647
+ function bi(e) {
662
648
  return e == null || typeof e == "number" || typeof e == "boolean";
663
649
  }
664
- function tr(e, t, r, i) {
665
- var n = gi(i) ? i : r(i), s = t.get(n);
650
+ function yi(e, t, r, i) {
651
+ var n = bi(i) ? i : r(i), s = t.get(n);
666
652
  return typeof s > "u" && (s = e.call(this, i), t.set(n, s)), s;
667
653
  }
668
654
  function rr(e, t, r) {
669
655
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
670
656
  return typeof s > "u" && (s = e.apply(this, i), t.set(n, s)), s;
671
657
  }
672
- function xt(e, t, r, i, n) {
658
+ function ir(e, t, r, i, n) {
673
659
  return r.bind(t, e, i, n);
674
660
  }
675
- function bi(e, t) {
676
- var r = e.length === 1 ? tr : rr;
677
- return xt(e, this, r, t.cache.create(), t.serializer);
661
+ function _i(e, t) {
662
+ var r = e.length === 1 ? yi : rr;
663
+ return ir(e, this, r, t.cache.create(), t.serializer);
678
664
  }
679
- function vi(e, t) {
680
- return xt(e, this, rr, t.cache.create(), t.serializer);
681
- }
682
- function yi(e, t) {
683
- return xt(e, this, tr, t.cache.create(), t.serializer);
665
+ function xi(e, t) {
666
+ return ir(e, this, rr, t.cache.create(), t.serializer);
684
667
  }
685
- var xi = function() {
668
+ var Ei = function() {
686
669
  return JSON.stringify(arguments);
687
- }, _i = (
670
+ }, wi = (
688
671
  /** @class */
689
672
  function() {
690
673
  function e() {
@@ -696,17 +679,26 @@ var xi = function() {
696
679
  this.cache[t] = r;
697
680
  }, e;
698
681
  }()
699
- ), Ei = {
682
+ ), Si = {
700
683
  create: function() {
701
- return new _i();
684
+ return new wi();
702
685
  }
703
- }, tt = {
704
- variadic: vi,
705
- monadic: yi
706
- }, T;
686
+ }, rt = {
687
+ variadic: xi
688
+ }, Xe = function() {
689
+ return Xe = Object.assign || function(t) {
690
+ for (var r, i = 1, n = arguments.length; i < n; i++) {
691
+ r = arguments[i];
692
+ for (var s in r)
693
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
694
+ }
695
+ return t;
696
+ }, Xe.apply(this, arguments);
697
+ };
698
+ var H;
707
699
  (function(e) {
708
700
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
709
- })(T || (T = {}));
701
+ })(H || (H = {}));
710
702
  var D;
711
703
  (function(e) {
712
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";
@@ -718,40 +710,40 @@ var Se;
718
710
  function At(e) {
719
711
  return e.type === D.literal;
720
712
  }
721
- function wi(e) {
713
+ function Ti(e) {
722
714
  return e.type === D.argument;
723
715
  }
724
- function ir(e) {
716
+ function nr(e) {
725
717
  return e.type === D.number;
726
718
  }
727
- function nr(e) {
719
+ function sr(e) {
728
720
  return e.type === D.date;
729
721
  }
730
- function sr(e) {
722
+ function or(e) {
731
723
  return e.type === D.time;
732
724
  }
733
- function or(e) {
725
+ function ar(e) {
734
726
  return e.type === D.select;
735
727
  }
736
- function ar(e) {
728
+ function ur(e) {
737
729
  return e.type === D.plural;
738
730
  }
739
- function Si(e) {
731
+ function Hi(e) {
740
732
  return e.type === D.pound;
741
733
  }
742
- function ur(e) {
734
+ function lr(e) {
743
735
  return e.type === D.tag;
744
736
  }
745
- function lr(e) {
737
+ function hr(e) {
746
738
  return !!(e && typeof e == "object" && e.type === Se.number);
747
739
  }
748
- function lt(e) {
740
+ function ht(e) {
749
741
  return !!(e && typeof e == "object" && e.type === Se.dateTime);
750
742
  }
751
- var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ti = /(?:[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;
752
- function Hi(e) {
743
+ var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Oi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
744
+ function Pi(e) {
753
745
  var t = {};
754
- return e.replace(Ti, function(r) {
746
+ return e.replace(Oi, function(r) {
755
747
  var i = r.length;
756
748
  switch (r[0]) {
757
749
  case "G":
@@ -840,36 +832,46 @@ function Hi(e) {
840
832
  return "";
841
833
  }), t;
842
834
  }
843
- var Pi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
844
- function Ai(e) {
835
+ var L = function() {
836
+ return L = Object.assign || function(t) {
837
+ for (var r, i = 1, n = arguments.length; i < n; i++) {
838
+ r = arguments[i];
839
+ for (var s in r)
840
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
841
+ }
842
+ return t;
843
+ }, L.apply(this, arguments);
844
+ };
845
+ var Ai = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
846
+ function $i(e) {
845
847
  if (e.length === 0)
846
848
  throw new Error("Number skeleton cannot be empty");
847
- for (var t = e.split(Pi).filter(function(p) {
849
+ for (var t = e.split(Ai).filter(function(p) {
848
850
  return p.length > 0;
849
851
  }), r = [], i = 0, n = t; i < n.length; i++) {
850
- var s = n[i], h = s.split("/");
851
- if (h.length === 0)
852
+ var s = n[i], l = s.split("/");
853
+ if (l.length === 0)
852
854
  throw new Error("Invalid number skeleton");
853
- for (var a = h[0], o = h.slice(1), u = 0, l = o; u < l.length; u++) {
854
- var d = l[u];
855
- if (d.length === 0)
855
+ for (var a = l[0], o = l.slice(1), u = 0, h = o; u < h.length; u++) {
856
+ var c = h[u];
857
+ if (c.length === 0)
856
858
  throw new Error("Invalid number skeleton");
857
859
  }
858
860
  r.push({ stem: a, options: o });
859
861
  }
860
862
  return r;
861
863
  }
862
- function Oi(e) {
864
+ function Bi(e) {
863
865
  return e.replace(/^(.*?)-/, "");
864
866
  }
865
- var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, $i = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
866
- function $t(e) {
867
+ var $t = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Mi = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
868
+ function Bt(e) {
867
869
  var t = {};
868
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, 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) {
869
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)), "";
870
872
  }), t;
871
873
  }
872
- function dr(e) {
874
+ function mr(e) {
873
875
  switch (e) {
874
876
  case "sign-auto":
875
877
  return {
@@ -909,7 +911,7 @@ function dr(e) {
909
911
  };
910
912
  }
911
913
  }
912
- function Bi(e) {
914
+ function Ci(e) {
913
915
  var t;
914
916
  if (e[0] === "E" && e[1] === "E" ? (t = {
915
917
  notation: "engineering"
@@ -917,17 +919,17 @@ function Bi(e) {
917
919
  notation: "scientific"
918
920
  }, e = e.slice(1)), t) {
919
921
  var r = e.slice(0, 2);
920
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
922
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
921
923
  throw new Error("Malformed concise eng/scientific notation");
922
924
  t.minimumIntegerDigits = e.length;
923
925
  }
924
926
  return t;
925
927
  }
926
- function Bt(e) {
927
- var t = {}, r = dr(e);
928
+ function Mt(e) {
929
+ var t = {}, r = mr(e);
928
930
  return r || t;
929
931
  }
930
- function Mi(e) {
932
+ function Di(e) {
931
933
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
932
934
  var n = i[r];
933
935
  switch (n.stem) {
@@ -951,7 +953,7 @@ function Mi(e) {
951
953
  continue;
952
954
  case "measure-unit":
953
955
  case "unit":
954
- t.style = "unit", t.unit = Oi(n.options[0]);
956
+ t.style = "unit", t.unit = Bi(n.options[0]);
955
957
  continue;
956
958
  case "compact-short":
957
959
  case "K":
@@ -962,13 +964,13 @@ function Mi(e) {
962
964
  t.notation = "compact", t.compactDisplay = "long";
963
965
  continue;
964
966
  case "scientific":
965
- t = A(A(A({}, t), { notation: "scientific" }), n.options.reduce(function(o, u) {
966
- return A(A({}, o), Bt(u));
967
+ t = L(L(L({}, t), { notation: "scientific" }), n.options.reduce(function(o, u) {
968
+ return L(L({}, o), Mt(u));
967
969
  }, {}));
968
970
  continue;
969
971
  case "engineering":
970
- t = A(A(A({}, t), { notation: "engineering" }), n.options.reduce(function(o, u) {
971
- return A(A({}, o), Bt(u));
972
+ t = L(L(L({}, t), { notation: "engineering" }), n.options.reduce(function(o, u) {
973
+ return L(L({}, o), Mt(u));
972
974
  }, {}));
973
975
  continue;
974
976
  case "notation-simple":
@@ -1013,45 +1015,45 @@ function Mi(e) {
1013
1015
  case "integer-width":
1014
1016
  if (n.options.length > 1)
1015
1017
  throw new RangeError("integer-width stems only accept a single optional option");
1016
- n.options[0].replace($i, function(o, u, l, d, p, x) {
1018
+ n.options[0].replace(Mi, function(o, u, h, c, p, _) {
1017
1019
  if (u)
1018
- t.minimumIntegerDigits = l.length;
1020
+ t.minimumIntegerDigits = h.length;
1019
1021
  else {
1020
- if (d && p)
1022
+ if (c && p)
1021
1023
  throw new Error("We currently do not support maximum integer digits");
1022
- if (x)
1024
+ if (_)
1023
1025
  throw new Error("We currently do not support exact integer digits");
1024
1026
  }
1025
1027
  return "";
1026
1028
  });
1027
1029
  continue;
1028
1030
  }
1029
- if (cr.test(n.stem)) {
1031
+ if (dr.test(n.stem)) {
1030
1032
  t.minimumIntegerDigits = n.stem.length;
1031
1033
  continue;
1032
1034
  }
1033
- if (Ot.test(n.stem)) {
1035
+ if ($t.test(n.stem)) {
1034
1036
  if (n.options.length > 1)
1035
1037
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1036
- n.stem.replace(Ot, function(o, u, l, d, p, x) {
1037
- return l === "*" ? t.minimumFractionDigits = u.length : d && d[0] === "#" ? t.maximumFractionDigits = d.length : p && x ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + x.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1038
+ n.stem.replace($t, 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
1040
  });
1039
1041
  var s = n.options[0];
1040
- s === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = A(A({}, t), $t(s)));
1042
+ s === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = L(L({}, t), Bt(s)));
1041
1043
  continue;
1042
1044
  }
1043
- if (fr.test(n.stem)) {
1044
- t = A(A({}, t), $t(n.stem));
1045
+ if (cr.test(n.stem)) {
1046
+ t = L(L({}, t), Bt(n.stem));
1045
1047
  continue;
1046
1048
  }
1047
- var h = dr(n.stem);
1048
- h && (t = A(A({}, t), h));
1049
- var a = Bi(n.stem);
1050
- a && (t = A(A({}, t), a));
1049
+ var l = mr(n.stem);
1050
+ l && (t = L(L({}, t), l));
1051
+ var a = Ci(n.stem);
1052
+ a && (t = L(L({}, t), a));
1051
1053
  }
1052
1054
  return t;
1053
1055
  }
1054
- var Fe = {
1056
+ var Ve = {
1055
1057
  "001": [
1056
1058
  "H",
1057
1059
  "h"
@@ -2466,23 +2468,23 @@ var Fe = {
2466
2468
  "h"
2467
2469
  ]
2468
2470
  };
2469
- function Ci(e, t) {
2471
+ function Li(e, t) {
2470
2472
  for (var r = "", i = 0; i < e.length; i++) {
2471
2473
  var n = e.charAt(i);
2472
2474
  if (n === "j") {
2473
2475
  for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2474
2476
  s++, i++;
2475
- var h = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = Di(t);
2477
+ var l = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), o = "a", u = Ii(t);
2476
2478
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2477
2479
  r += o;
2478
- for (; h-- > 0; )
2480
+ for (; l-- > 0; )
2479
2481
  r = u + r;
2480
2482
  } else
2481
2483
  n === "J" ? r += "H" : r += n;
2482
2484
  }
2483
2485
  return r;
2484
2486
  }
2485
- function Di(e) {
2487
+ function Ii(e) {
2486
2488
  var t = e.hourCycle;
2487
2489
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2488
2490
  e.hourCycles && // @ts-ignore
@@ -2501,23 +2503,23 @@ function Di(e) {
2501
2503
  }
2502
2504
  var r = e.language, i;
2503
2505
  r !== "root" && (i = e.maximize().region);
2504
- var n = Fe[i || ""] || Fe[r || ""] || Fe["".concat(r, "-001")] || Fe["001"];
2506
+ var n = Ve[i || ""] || Ve[r || ""] || Ve["".concat(r, "-001")] || Ve["001"];
2505
2507
  return n[0];
2506
2508
  }
2507
- var rt, Li = new RegExp("^".concat(hr.source, "*")), Ii = new RegExp("".concat(hr.source, "*$"));
2509
+ var it, Ni = new RegExp("^".concat(fr.source, "*")), Ri = new RegExp("".concat(fr.source, "*$"));
2508
2510
  function P(e, t) {
2509
2511
  return { start: e, end: t };
2510
2512
  }
2511
- var Ni = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ri = !!String.fromCodePoint, ki = !!Object.fromEntries, Ui = !!String.prototype.codePointAt, Fi = !!String.prototype.trimStart, Vi = !!String.prototype.trimEnd, Gi = !!Number.isSafeInteger, ji = Gi ? Number.isSafeInteger : function(e) {
2513
+ var ki = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ui = !!String.fromCodePoint, Fi = !!Object.fromEntries, Vi = !!String.prototype.codePointAt, Gi = !!String.prototype.trimStart, ji = !!String.prototype.trimEnd, zi = !!Number.isSafeInteger, Xi = zi ? Number.isSafeInteger : function(e) {
2512
2514
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2513
- }, ht = !0;
2515
+ }, ft = !0;
2514
2516
  try {
2515
- var zi = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2516
- ht = ((rt = zi.exec("a")) === null || rt === void 0 ? void 0 : rt[0]) === "a";
2517
+ var Wi = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2518
+ ft = ((it = Wi.exec("a")) === null || it === void 0 ? void 0 : it[0]) === "a";
2517
2519
  } catch {
2518
- ht = !1;
2520
+ ft = !1;
2519
2521
  }
2520
- var Mt = Ni ? (
2522
+ var Ct = ki ? (
2521
2523
  // Native
2522
2524
  function(t, r, i) {
2523
2525
  return t.startsWith(r, i);
@@ -2527,31 +2529,31 @@ var Mt = Ni ? (
2527
2529
  function(t, r, i) {
2528
2530
  return t.slice(i, i + r.length) === r;
2529
2531
  }
2530
- ), ft = Ri ? String.fromCodePoint : (
2532
+ ), ct = Ui ? String.fromCodePoint : (
2531
2533
  // IE11
2532
2534
  function() {
2533
2535
  for (var t = [], r = 0; r < arguments.length; r++)
2534
2536
  t[r] = arguments[r];
2535
- for (var i = "", n = t.length, s = 0, h; n > s; ) {
2536
- if (h = t[s++], h > 1114111)
2537
- throw RangeError(h + " is not a valid code point");
2538
- i += h < 65536 ? String.fromCharCode(h) : String.fromCharCode(((h -= 65536) >> 10) + 55296, h % 1024 + 56320);
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);
2539
2541
  }
2540
2542
  return i;
2541
2543
  }
2542
- ), Ct = (
2544
+ ), Dt = (
2543
2545
  // native
2544
- ki ? Object.fromEntries : (
2546
+ Fi ? Object.fromEntries : (
2545
2547
  // Ponyfill
2546
2548
  function(t) {
2547
2549
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
2548
- var s = n[i], h = s[0], a = s[1];
2549
- r[h] = a;
2550
+ var s = n[i], l = s[0], a = s[1];
2551
+ r[l] = a;
2550
2552
  }
2551
2553
  return r;
2552
2554
  }
2553
2555
  )
2554
- ), mr = Ui ? (
2556
+ ), pr = Vi ? (
2555
2557
  // Native
2556
2558
  function(t, r) {
2557
2559
  return t.codePointAt(r);
@@ -2565,7 +2567,7 @@ var Mt = Ni ? (
2565
2567
  return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
2566
2568
  }
2567
2569
  }
2568
- ), Xi = Fi ? (
2570
+ ), qi = Gi ? (
2569
2571
  // Native
2570
2572
  function(t) {
2571
2573
  return t.trimStart();
@@ -2573,9 +2575,9 @@ var Mt = Ni ? (
2573
2575
  ) : (
2574
2576
  // Ponyfill
2575
2577
  function(t) {
2576
- return t.replace(Li, "");
2578
+ return t.replace(Ni, "");
2577
2579
  }
2578
- ), Wi = Vi ? (
2580
+ ), Yi = ji ? (
2579
2581
  // Native
2580
2582
  function(t) {
2581
2583
  return t.trimEnd();
@@ -2583,32 +2585,32 @@ var Mt = Ni ? (
2583
2585
  ) : (
2584
2586
  // Ponyfill
2585
2587
  function(t) {
2586
- return t.replace(Ii, "");
2588
+ return t.replace(Ri, "");
2587
2589
  }
2588
2590
  );
2589
- function pr(e, t) {
2591
+ function gr(e, t) {
2590
2592
  return new RegExp(e, t);
2591
2593
  }
2592
- var ct;
2593
- if (ht) {
2594
- var Dt = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2595
- ct = function(t, r) {
2594
+ var dt;
2595
+ if (ft) {
2596
+ var Lt = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2597
+ dt = function(t, r) {
2596
2598
  var i;
2597
- Dt.lastIndex = r;
2598
- var n = Dt.exec(t);
2599
+ Lt.lastIndex = r;
2600
+ var n = Lt.exec(t);
2599
2601
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2600
2602
  };
2601
2603
  } else
2602
- ct = function(t, r) {
2604
+ dt = function(t, r) {
2603
2605
  for (var i = []; ; ) {
2604
- var n = mr(t, r);
2605
- if (n === void 0 || gr(n) || Ji(n))
2606
+ var n = pr(t, r);
2607
+ if (n === void 0 || vr(n) || Ki(n))
2606
2608
  break;
2607
2609
  i.push(n), r += n >= 65536 ? 2 : 1;
2608
2610
  }
2609
- return ft.apply(void 0, i);
2611
+ return ct.apply(void 0, i);
2610
2612
  };
2611
- var qi = (
2613
+ var Zi = (
2612
2614
  /** @class */
2613
2615
  function() {
2614
2616
  function e(t, r) {
@@ -2622,10 +2624,10 @@ var qi = (
2622
2624
  for (var n = []; !this.isEOF(); ) {
2623
2625
  var s = this.char();
2624
2626
  if (s === 123) {
2625
- var h = this.parseArgument(t, i);
2626
- if (h.err)
2627
- return h;
2628
- n.push(h.val);
2627
+ var l = this.parseArgument(t, i);
2628
+ if (l.err)
2629
+ return l;
2630
+ n.push(l.val);
2629
2631
  } else {
2630
2632
  if (s === 125 && t > 0)
2631
2633
  break;
@@ -2638,17 +2640,17 @@ var qi = (
2638
2640
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2639
2641
  if (i)
2640
2642
  break;
2641
- return this.error(T.UNMATCHED_CLOSING_TAG, P(this.clonePosition(), this.clonePosition()));
2642
- } else if (s === 60 && !this.ignoreTag && dt(this.peek() || 0)) {
2643
- var h = this.parseTag(t, r);
2644
- if (h.err)
2645
- return h;
2646
- n.push(h.val);
2643
+ return this.error(H.UNMATCHED_CLOSING_TAG, P(this.clonePosition(), this.clonePosition()));
2644
+ } else if (s === 60 && !this.ignoreTag && mt(this.peek() || 0)) {
2645
+ var l = this.parseTag(t, r);
2646
+ if (l.err)
2647
+ return l;
2648
+ n.push(l.val);
2647
2649
  } else {
2648
- var h = this.parseLiteral(t, r);
2649
- if (h.err)
2650
- return h;
2651
- n.push(h.val);
2650
+ var l = this.parseLiteral(t, r);
2651
+ if (l.err)
2652
+ return l;
2653
+ n.push(l.val);
2652
2654
  }
2653
2655
  }
2654
2656
  }
@@ -2670,27 +2672,27 @@ var qi = (
2670
2672
  var s = this.parseMessage(t + 1, r, !0);
2671
2673
  if (s.err)
2672
2674
  return s;
2673
- var h = s.val, a = this.clonePosition();
2675
+ var l = s.val, a = this.clonePosition();
2674
2676
  if (this.bumpIf("</")) {
2675
- if (this.isEOF() || !dt(this.char()))
2676
- return this.error(T.INVALID_TAG, P(a, this.clonePosition()));
2677
+ if (this.isEOF() || !mt(this.char()))
2678
+ return this.error(H.INVALID_TAG, P(a, this.clonePosition()));
2677
2679
  var o = this.clonePosition(), u = this.parseTagName();
2678
- return n !== u ? this.error(T.UNMATCHED_CLOSING_TAG, P(o, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2680
+ return n !== u ? this.error(H.UNMATCHED_CLOSING_TAG, P(o, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2679
2681
  val: {
2680
2682
  type: D.tag,
2681
2683
  value: n,
2682
- children: h,
2684
+ children: l,
2683
2685
  location: P(i, this.clonePosition())
2684
2686
  },
2685
2687
  err: null
2686
- } : this.error(T.INVALID_TAG, P(a, this.clonePosition())));
2688
+ } : this.error(H.INVALID_TAG, P(a, this.clonePosition())));
2687
2689
  } else
2688
- return this.error(T.UNCLOSED_TAG, P(i, this.clonePosition()));
2690
+ return this.error(H.UNCLOSED_TAG, P(i, this.clonePosition()));
2689
2691
  } else
2690
- return this.error(T.INVALID_TAG, P(i, this.clonePosition()));
2692
+ return this.error(H.INVALID_TAG, P(i, this.clonePosition()));
2691
2693
  }, e.prototype.parseTagName = function() {
2692
2694
  var t = this.offset();
2693
- for (this.bump(); !this.isEOF() && Zi(this.char()); )
2695
+ for (this.bump(); !this.isEOF() && Qi(this.char()); )
2694
2696
  this.bump();
2695
2697
  return this.message.slice(t, this.offset());
2696
2698
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2700,9 +2702,9 @@ var qi = (
2700
2702
  n += s;
2701
2703
  continue;
2702
2704
  }
2703
- var h = this.tryParseUnquoted(t, r);
2704
- if (h) {
2705
- n += h;
2705
+ var l = this.tryParseUnquoted(t, r);
2706
+ if (l) {
2707
+ n += l;
2706
2708
  continue;
2707
2709
  }
2708
2710
  var a = this.tryParseLeftAngleBracket();
@@ -2719,7 +2721,7 @@ var qi = (
2719
2721
  };
2720
2722
  }, e.prototype.tryParseLeftAngleBracket = function() {
2721
2723
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2722
- !Yi(this.peek() || 0)) ? (this.bump(), "<") : null;
2724
+ !Ji(this.peek() || 0)) ? (this.bump(), "<") : null;
2723
2725
  }, e.prototype.tryParseQuote = function(t) {
2724
2726
  if (this.isEOF() || this.char() !== 39)
2725
2727
  return null;
@@ -2753,23 +2755,23 @@ var qi = (
2753
2755
  r.push(i);
2754
2756
  this.bump();
2755
2757
  }
2756
- return ft.apply(void 0, r);
2758
+ return ct.apply(void 0, r);
2757
2759
  }, e.prototype.tryParseUnquoted = function(t, r) {
2758
2760
  if (this.isEOF())
2759
2761
  return null;
2760
2762
  var i = this.char();
2761
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), ft(i));
2763
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), ct(i));
2762
2764
  }, e.prototype.parseArgument = function(t, r) {
2763
2765
  var i = this.clonePosition();
2764
2766
  if (this.bump(), this.bumpSpace(), this.isEOF())
2765
- return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
2767
+ return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
2766
2768
  if (this.char() === 125)
2767
- return this.bump(), this.error(T.EMPTY_ARGUMENT, P(i, this.clonePosition()));
2769
+ return this.bump(), this.error(H.EMPTY_ARGUMENT, P(i, this.clonePosition()));
2768
2770
  var n = this.parseIdentifierIfPossible().value;
2769
2771
  if (!n)
2770
- return this.error(T.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
2772
+ return this.error(H.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
2771
2773
  if (this.bumpSpace(), this.isEOF())
2772
- return this.error(T.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
2774
+ return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
2773
2775
  switch (this.char()) {
2774
2776
  case 125:
2775
2777
  return this.bump(), {
@@ -2782,20 +2784,20 @@ var qi = (
2782
2784
  err: null
2783
2785
  };
2784
2786
  case 44:
2785
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(T.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, P(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2786
2788
  default:
2787
- return this.error(T.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
2789
+ return this.error(H.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
2788
2790
  }
2789
2791
  }, e.prototype.parseIdentifierIfPossible = function() {
2790
- var t = this.clonePosition(), r = this.offset(), i = ct(this.message, r), n = r + i.length;
2792
+ var t = this.clonePosition(), r = this.offset(), i = dt(this.message, r), n = r + i.length;
2791
2793
  this.bumpTo(n);
2792
- var s = this.clonePosition(), h = P(t, s);
2793
- return { value: i, location: h };
2794
+ var s = this.clonePosition(), l = P(t, s);
2795
+ return { value: i, location: l };
2794
2796
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
2795
- var s, h = this.clonePosition(), a = this.parseIdentifierIfPossible().value, o = this.clonePosition();
2797
+ var s, l = this.clonePosition(), a = this.parseIdentifierIfPossible().value, o = this.clonePosition();
2796
2798
  switch (a) {
2797
2799
  case "":
2798
- return this.error(T.EXPECT_ARGUMENT_TYPE, P(h, o));
2800
+ return this.error(H.EXPECT_ARGUMENT_TYPE, P(l, o));
2799
2801
  case "number":
2800
2802
  case "date":
2801
2803
  case "time": {
@@ -2803,40 +2805,40 @@ var qi = (
2803
2805
  var u = null;
2804
2806
  if (this.bumpIf(",")) {
2805
2807
  this.bumpSpace();
2806
- var l = this.clonePosition(), d = this.parseSimpleArgStyleIfPossible();
2807
- if (d.err)
2808
- return d;
2809
- var p = Wi(d.val);
2808
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2809
+ if (c.err)
2810
+ return c;
2811
+ var p = Yi(c.val);
2810
2812
  if (p.length === 0)
2811
- return this.error(T.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
2812
- var x = P(l, this.clonePosition());
2813
- u = { style: p, styleLocation: x };
2813
+ return this.error(H.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
2814
+ var _ = P(h, this.clonePosition());
2815
+ u = { style: p, styleLocation: _ };
2814
2816
  }
2815
- var H = this.tryParseArgumentClose(n);
2816
- if (H.err)
2817
- return H;
2818
- var b = P(n, this.clonePosition());
2819
- if (u && Mt(u?.style, "::", 0)) {
2820
- var B = Xi(u.style.slice(2));
2817
+ var S = this.tryParseArgumentClose(n);
2818
+ if (S.err)
2819
+ return S;
2820
+ var v = P(n, this.clonePosition());
2821
+ if (u && Ct(u?.style, "::", 0)) {
2822
+ var M = qi(u.style.slice(2));
2821
2823
  if (a === "number") {
2822
- var d = this.parseNumberSkeletonFromString(B, u.styleLocation);
2823
- return d.err ? d : {
2824
- val: { type: D.number, value: i, location: b, style: d.val },
2824
+ var c = this.parseNumberSkeletonFromString(M, u.styleLocation);
2825
+ return c.err ? c : {
2826
+ val: { type: D.number, value: i, location: v, style: c.val },
2825
2827
  err: null
2826
2828
  };
2827
2829
  } else {
2828
- if (B.length === 0)
2829
- return this.error(T.EXPECT_DATE_TIME_SKELETON, b);
2830
- var U = B;
2831
- this.locale && (U = Ci(B, this.locale));
2830
+ if (M.length === 0)
2831
+ return this.error(H.EXPECT_DATE_TIME_SKELETON, v);
2832
+ var U = M;
2833
+ this.locale && (U = Li(M, this.locale));
2832
2834
  var p = {
2833
2835
  type: Se.dateTime,
2834
2836
  pattern: U,
2835
2837
  location: u.styleLocation,
2836
- parsedOptions: this.shouldParseSkeletons ? Hi(U) : {}
2837
- }, F = a === "date" ? D.date : D.time;
2838
+ parsedOptions: this.shouldParseSkeletons ? Pi(U) : {}
2839
+ }, R = a === "date" ? D.date : D.time;
2838
2840
  return {
2839
- val: { type: F, value: i, location: b, style: p },
2841
+ val: { type: R, value: i, location: v, style: p },
2840
2842
  err: null
2841
2843
  };
2842
2844
  }
@@ -2845,7 +2847,7 @@ var qi = (
2845
2847
  val: {
2846
2848
  type: a === "number" ? D.number : a === "date" ? D.date : D.time,
2847
2849
  value: i,
2848
- location: b,
2850
+ location: v,
2849
2851
  style: (s = u?.style) !== null && s !== void 0 ? s : null
2850
2852
  },
2851
2853
  err: null
@@ -2854,52 +2856,52 @@ var qi = (
2854
2856
  case "plural":
2855
2857
  case "selectordinal":
2856
2858
  case "select": {
2857
- var M = this.clonePosition();
2859
+ var $ = this.clonePosition();
2858
2860
  if (this.bumpSpace(), !this.bumpIf(","))
2859
- return this.error(T.EXPECT_SELECT_ARGUMENT_OPTIONS, P(M, A({}, M)));
2861
+ return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, P($, Xe({}, $)));
2860
2862
  this.bumpSpace();
2861
- var W = this.parseIdentifierIfPossible(), N = 0;
2862
- if (a !== "select" && W.value === "offset") {
2863
+ var j = this.parseIdentifierIfPossible(), I = 0;
2864
+ if (a !== "select" && j.value === "offset") {
2863
2865
  if (!this.bumpIf(":"))
2864
- return this.error(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P(this.clonePosition(), this.clonePosition()));
2866
+ return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P(this.clonePosition(), this.clonePosition()));
2865
2867
  this.bumpSpace();
2866
- var d = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, T.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2867
- if (d.err)
2868
- return d;
2869
- this.bumpSpace(), W = this.parseIdentifierIfPossible(), N = d.val;
2868
+ var c = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2869
+ if (c.err)
2870
+ return c;
2871
+ this.bumpSpace(), j = this.parseIdentifierIfPossible(), I = c.val;
2870
2872
  }
2871
- var k = this.tryParsePluralOrSelectOptions(t, a, r, W);
2873
+ var k = this.tryParsePluralOrSelectOptions(t, a, r, j);
2872
2874
  if (k.err)
2873
2875
  return k;
2874
- var H = this.tryParseArgumentClose(n);
2875
- if (H.err)
2876
- return H;
2877
- var j = P(n, this.clonePosition());
2876
+ var S = this.tryParseArgumentClose(n);
2877
+ if (S.err)
2878
+ return S;
2879
+ var X = P(n, this.clonePosition());
2878
2880
  return a === "select" ? {
2879
2881
  val: {
2880
2882
  type: D.select,
2881
2883
  value: i,
2882
- options: Ct(k.val),
2883
- location: j
2884
+ options: Dt(k.val),
2885
+ location: X
2884
2886
  },
2885
2887
  err: null
2886
2888
  } : {
2887
2889
  val: {
2888
2890
  type: D.plural,
2889
2891
  value: i,
2890
- options: Ct(k.val),
2891
- offset: N,
2892
+ options: Dt(k.val),
2893
+ offset: I,
2892
2894
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2893
- location: j
2895
+ location: X
2894
2896
  },
2895
2897
  err: null
2896
2898
  };
2897
2899
  }
2898
2900
  default:
2899
- return this.error(T.INVALID_ARGUMENT_TYPE, P(h, o));
2901
+ return this.error(H.INVALID_ARGUMENT_TYPE, P(l, o));
2900
2902
  }
2901
2903
  }, e.prototype.tryParseArgumentClose = function(t) {
2902
- return this.isEOF() || this.char() !== 125 ? this.error(T.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, P(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2903
2905
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2904
2906
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2905
2907
  var i = this.char();
@@ -2908,7 +2910,7 @@ var qi = (
2908
2910
  this.bump();
2909
2911
  var n = this.clonePosition();
2910
2912
  if (!this.bumpUntil("'"))
2911
- return this.error(T.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, P(n, this.clonePosition()));
2913
+ return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, P(n, this.clonePosition()));
2912
2914
  this.bump();
2913
2915
  break;
2914
2916
  }
@@ -2938,64 +2940,64 @@ var qi = (
2938
2940
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2939
2941
  var i = [];
2940
2942
  try {
2941
- i = Ai(t);
2943
+ i = $i(t);
2942
2944
  } catch {
2943
- return this.error(T.INVALID_NUMBER_SKELETON, r);
2945
+ return this.error(H.INVALID_NUMBER_SKELETON, r);
2944
2946
  }
2945
2947
  return {
2946
2948
  val: {
2947
2949
  type: Se.number,
2948
2950
  tokens: i,
2949
2951
  location: r,
2950
- parsedOptions: this.shouldParseSkeletons ? Mi(i) : {}
2952
+ parsedOptions: this.shouldParseSkeletons ? Di(i) : {}
2951
2953
  },
2952
2954
  err: null
2953
2955
  };
2954
2956
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
2955
- for (var s, h = !1, a = [], o = /* @__PURE__ */ new Set(), u = n.value, l = n.location; ; ) {
2957
+ for (var s, l = !1, a = [], o = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
2956
2958
  if (u.length === 0) {
2957
- var d = this.clonePosition();
2959
+ var c = this.clonePosition();
2958
2960
  if (r !== "select" && this.bumpIf("=")) {
2959
- var p = this.tryParseDecimalInteger(T.EXPECT_PLURAL_ARGUMENT_SELECTOR, T.INVALID_PLURAL_ARGUMENT_SELECTOR);
2961
+ var p = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR, H.INVALID_PLURAL_ARGUMENT_SELECTOR);
2960
2962
  if (p.err)
2961
2963
  return p;
2962
- l = P(d, this.clonePosition()), u = this.message.slice(d.offset, this.offset());
2964
+ h = P(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2963
2965
  } else
2964
2966
  break;
2965
2967
  }
2966
2968
  if (o.has(u))
2967
- return this.error(r === "select" ? T.DUPLICATE_SELECT_ARGUMENT_SELECTOR : T.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2968
- u === "other" && (h = !0), this.bumpSpace();
2969
- var x = this.clonePosition();
2969
+ return this.error(r === "select" ? H.DUPLICATE_SELECT_ARGUMENT_SELECTOR : H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2970
+ u === "other" && (l = !0), this.bumpSpace();
2971
+ var _ = this.clonePosition();
2970
2972
  if (!this.bumpIf("{"))
2971
- return this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : T.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, P(this.clonePosition(), this.clonePosition()));
2972
- var H = this.parseMessage(t + 1, r, i);
2973
- if (H.err)
2974
- return H;
2975
- var b = this.tryParseArgumentClose(x);
2976
- if (b.err)
2977
- return b;
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 S = this.parseMessage(t + 1, r, i);
2975
+ if (S.err)
2976
+ return S;
2977
+ var v = this.tryParseArgumentClose(_);
2978
+ if (v.err)
2979
+ return v;
2978
2980
  a.push([
2979
2981
  u,
2980
2982
  {
2981
- value: H.val,
2982
- location: P(x, this.clonePosition())
2983
+ value: S.val,
2984
+ location: P(_, this.clonePosition())
2983
2985
  }
2984
- ]), o.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
2986
+ ]), o.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
2985
2987
  }
2986
- return a.length === 0 ? this.error(r === "select" ? T.EXPECT_SELECT_ARGUMENT_SELECTOR : T.EXPECT_PLURAL_ARGUMENT_SELECTOR, P(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !h ? this.error(T.MISSING_OTHER_CLAUSE, P(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
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 };
2987
2989
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2988
2990
  var i = 1, n = this.clonePosition();
2989
2991
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
2990
- for (var s = !1, h = 0; !this.isEOF(); ) {
2992
+ for (var s = !1, l = 0; !this.isEOF(); ) {
2991
2993
  var a = this.char();
2992
2994
  if (a >= 48 && a <= 57)
2993
- s = !0, h = h * 10 + (a - 48), this.bump();
2995
+ s = !0, l = l * 10 + (a - 48), this.bump();
2994
2996
  else
2995
2997
  break;
2996
2998
  }
2997
2999
  var o = P(n, this.clonePosition());
2998
- return s ? (h *= i, ji(h) ? { val: h, err: null } : this.error(r, o)) : this.error(t, o);
3000
+ return s ? (l *= i, Xi(l) ? { val: l, err: null } : this.error(r, o)) : this.error(t, o);
2999
3001
  }, e.prototype.offset = function() {
3000
3002
  return this.position.offset;
3001
3003
  }, e.prototype.isEOF = function() {
@@ -3010,7 +3012,7 @@ var qi = (
3010
3012
  var t = this.position.offset;
3011
3013
  if (t >= this.message.length)
3012
3014
  throw Error("out of bound");
3013
- var r = mr(this.message, t);
3015
+ var r = pr(this.message, t);
3014
3016
  if (r === void 0)
3015
3017
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3016
3018
  return r;
@@ -3029,7 +3031,7 @@ var qi = (
3029
3031
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3030
3032
  }
3031
3033
  }, e.prototype.bumpIf = function(t) {
3032
- if (Mt(this.message, t, this.offset())) {
3034
+ if (Ct(this.message, t, this.offset())) {
3033
3035
  for (var r = 0; r < t.length; r++)
3034
3036
  this.bump();
3035
3037
  return !0;
@@ -3051,7 +3053,7 @@ var qi = (
3051
3053
  break;
3052
3054
  }
3053
3055
  }, e.prototype.bumpSpace = function() {
3054
- for (; !this.isEOF() && gr(this.char()); )
3056
+ for (; !this.isEOF() && vr(this.char()); )
3055
3057
  this.bump();
3056
3058
  }, e.prototype.peek = function() {
3057
3059
  if (this.isEOF())
@@ -3061,47 +3063,47 @@ var qi = (
3061
3063
  }, e;
3062
3064
  }()
3063
3065
  );
3064
- function dt(e) {
3066
+ function mt(e) {
3065
3067
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3066
3068
  }
3067
- function Yi(e) {
3068
- return dt(e) || e === 47;
3069
+ function Ji(e) {
3070
+ return mt(e) || e === 47;
3069
3071
  }
3070
- function Zi(e) {
3072
+ function Qi(e) {
3071
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;
3072
3074
  }
3073
- function gr(e) {
3075
+ function vr(e) {
3074
3076
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3075
3077
  }
3076
- function Ji(e) {
3078
+ function Ki(e) {
3077
3079
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3078
3080
  }
3079
- function mt(e) {
3081
+ function pt(e) {
3080
3082
  e.forEach(function(t) {
3081
- if (delete t.location, or(t) || ar(t))
3083
+ if (delete t.location, ar(t) || ur(t))
3082
3084
  for (var r in t.options)
3083
- delete t.options[r].location, mt(t.options[r].value);
3085
+ delete t.options[r].location, pt(t.options[r].value);
3084
3086
  else
3085
- ir(t) && lr(t.style) || (nr(t) || sr(t)) && lt(t.style) ? delete t.style.location : ur(t) && mt(t.children);
3087
+ nr(t) && hr(t.style) || (sr(t) || or(t)) && ht(t.style) ? delete t.style.location : lr(t) && pt(t.children);
3086
3088
  });
3087
3089
  }
3088
- function Qi(e, t) {
3089
- t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3090
- var r = new qi(e, t).parse();
3090
+ function en(e, t) {
3091
+ t === void 0 && (t = {}), t = Xe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3092
+ var r = new Zi(e, t).parse();
3091
3093
  if (r.err) {
3092
- var i = SyntaxError(T[r.err.kind]);
3094
+ var i = SyntaxError(H[r.err.kind]);
3093
3095
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3094
3096
  }
3095
- return t?.captureLocation || mt(r.val), r.val;
3097
+ return t?.captureLocation || pt(r.val), r.val;
3096
3098
  }
3097
3099
  var Te;
3098
3100
  (function(e) {
3099
3101
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3100
3102
  })(Te || (Te = {}));
3101
- var Ye = (
3103
+ var Je = (
3102
3104
  /** @class */
3103
3105
  function(e) {
3104
- qe(t, e);
3106
+ Ze(t, e);
3105
3107
  function t(r, i, n) {
3106
3108
  var s = e.call(this, r) || this;
3107
3109
  return s.code = i, s.originalMessage = n, s;
@@ -3110,155 +3112,155 @@ var Ye = (
3110
3112
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3111
3113
  }, t;
3112
3114
  }(Error)
3113
- ), Lt = (
3115
+ ), It = (
3114
3116
  /** @class */
3115
3117
  function(e) {
3116
- qe(t, e);
3118
+ Ze(t, e);
3117
3119
  function t(r, i, n, s) {
3118
3120
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Te.INVALID_VALUE, s) || this;
3119
3121
  }
3120
3122
  return t;
3121
- }(Ye)
3122
- ), Ki = (
3123
+ }(Je)
3124
+ ), tn = (
3123
3125
  /** @class */
3124
3126
  function(e) {
3125
- qe(t, e);
3127
+ Ze(t, e);
3126
3128
  function t(r, i, n) {
3127
3129
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Te.INVALID_VALUE, n) || this;
3128
3130
  }
3129
3131
  return t;
3130
- }(Ye)
3131
- ), en = (
3132
+ }(Je)
3133
+ ), rn = (
3132
3134
  /** @class */
3133
3135
  function(e) {
3134
- qe(t, e);
3136
+ Ze(t, e);
3135
3137
  function t(r, i) {
3136
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;
3137
3139
  }
3138
3140
  return t;
3139
- }(Ye)
3140
- ), X;
3141
+ }(Je)
3142
+ ), G;
3141
3143
  (function(e) {
3142
3144
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3143
- })(X || (X = {}));
3144
- function tn(e) {
3145
+ })(G || (G = {}));
3146
+ function nn(e) {
3145
3147
  return e.length < 2 ? e : e.reduce(function(t, r) {
3146
3148
  var i = t[t.length - 1];
3147
- return !i || i.type !== X.literal || r.type !== X.literal ? t.push(r) : i.value += r.value, t;
3149
+ return !i || i.type !== G.literal || r.type !== G.literal ? t.push(r) : i.value += r.value, t;
3148
3150
  }, []);
3149
3151
  }
3150
- function rn(e) {
3152
+ function sn(e) {
3151
3153
  return typeof e == "function";
3152
3154
  }
3153
- function Ge(e, t, r, i, n, s, h) {
3155
+ function je(e, t, r, i, n, s, l) {
3154
3156
  if (e.length === 1 && At(e[0]))
3155
3157
  return [
3156
3158
  {
3157
- type: X.literal,
3159
+ type: G.literal,
3158
3160
  value: e[0].value
3159
3161
  }
3160
3162
  ];
3161
3163
  for (var a = [], o = 0, u = e; o < u.length; o++) {
3162
- var l = u[o];
3163
- if (At(l)) {
3164
+ var h = u[o];
3165
+ if (At(h)) {
3164
3166
  a.push({
3165
- type: X.literal,
3166
- value: l.value
3167
+ type: G.literal,
3168
+ value: h.value
3167
3169
  });
3168
3170
  continue;
3169
3171
  }
3170
- if (Si(l)) {
3172
+ if (Hi(h)) {
3171
3173
  typeof s == "number" && a.push({
3172
- type: X.literal,
3174
+ type: G.literal,
3173
3175
  value: r.getNumberFormat(t).format(s)
3174
3176
  });
3175
3177
  continue;
3176
3178
  }
3177
- var d = l.value;
3178
- if (!(n && d in n))
3179
- throw new en(d, h);
3180
- var p = n[d];
3181
- if (wi(l)) {
3179
+ var c = h.value;
3180
+ if (!(n && c in n))
3181
+ throw new rn(c, l);
3182
+ var p = n[c];
3183
+ if (Ti(h)) {
3182
3184
  (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), a.push({
3183
- type: typeof p == "string" ? X.literal : X.object,
3185
+ type: typeof p == "string" ? G.literal : G.object,
3184
3186
  value: p
3185
3187
  });
3186
3188
  continue;
3187
3189
  }
3188
- if (nr(l)) {
3189
- var x = typeof l.style == "string" ? i.date[l.style] : lt(l.style) ? l.style.parsedOptions : void 0;
3190
+ if (sr(h)) {
3191
+ var _ = typeof h.style == "string" ? i.date[h.style] : ht(h.style) ? h.style.parsedOptions : void 0;
3190
3192
  a.push({
3191
- type: X.literal,
3192
- value: r.getDateTimeFormat(t, x).format(p)
3193
+ type: G.literal,
3194
+ value: r.getDateTimeFormat(t, _).format(p)
3193
3195
  });
3194
3196
  continue;
3195
3197
  }
3196
- if (sr(l)) {
3197
- var x = typeof l.style == "string" ? i.time[l.style] : lt(l.style) ? l.style.parsedOptions : i.time.medium;
3198
+ if (or(h)) {
3199
+ var _ = typeof h.style == "string" ? i.time[h.style] : ht(h.style) ? h.style.parsedOptions : i.time.medium;
3198
3200
  a.push({
3199
- type: X.literal,
3200
- value: r.getDateTimeFormat(t, x).format(p)
3201
+ type: G.literal,
3202
+ value: r.getDateTimeFormat(t, _).format(p)
3201
3203
  });
3202
3204
  continue;
3203
3205
  }
3204
- if (ir(l)) {
3205
- var x = typeof l.style == "string" ? i.number[l.style] : lr(l.style) ? l.style.parsedOptions : void 0;
3206
- x && x.scale && (p = p * (x.scale || 1)), a.push({
3207
- type: X.literal,
3208
- value: r.getNumberFormat(t, x).format(p)
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)), a.push({
3209
+ type: G.literal,
3210
+ value: r.getNumberFormat(t, _).format(p)
3209
3211
  });
3210
3212
  continue;
3211
3213
  }
3212
- if (ur(l)) {
3213
- var H = l.children, b = l.value, B = n[b];
3214
- if (!rn(B))
3215
- throw new Ki(b, "function", h);
3216
- var U = Ge(H, t, r, i, n, s), F = B(U.map(function(N) {
3217
- return N.value;
3214
+ if (lr(h)) {
3215
+ var S = h.children, v = h.value, M = n[v];
3216
+ if (!sn(M))
3217
+ throw new tn(v, "function", l);
3218
+ var U = je(S, t, r, i, n, s), R = M(U.map(function(I) {
3219
+ return I.value;
3218
3220
  }));
3219
- Array.isArray(F) || (F = [F]), a.push.apply(a, F.map(function(N) {
3221
+ Array.isArray(R) || (R = [R]), a.push.apply(a, R.map(function(I) {
3220
3222
  return {
3221
- type: typeof N == "string" ? X.literal : X.object,
3222
- value: N
3223
+ type: typeof I == "string" ? G.literal : G.object,
3224
+ value: I
3223
3225
  };
3224
3226
  }));
3225
3227
  }
3226
- if (or(l)) {
3227
- var M = l.options[p] || l.options.other;
3228
- if (!M)
3229
- throw new Lt(l.value, p, Object.keys(l.options), h);
3230
- a.push.apply(a, Ge(M.value, t, r, i, n));
3228
+ if (ar(h)) {
3229
+ var $ = h.options[p] || h.options.other;
3230
+ if (!$)
3231
+ throw new It(h.value, p, Object.keys(h.options), l);
3232
+ a.push.apply(a, je($.value, t, r, i, n));
3231
3233
  continue;
3232
3234
  }
3233
- if (ar(l)) {
3234
- var M = l.options["=".concat(p)];
3235
- if (!M) {
3235
+ if (ur(h)) {
3236
+ var $ = h.options["=".concat(p)];
3237
+ if (!$) {
3236
3238
  if (!Intl.PluralRules)
3237
- throw new Ye(`Intl.PluralRules is not available in this environment.
3239
+ throw new Je(`Intl.PluralRules is not available in this environment.
3238
3240
  Try polyfilling it using "@formatjs/intl-pluralrules"
3239
- `, Te.MISSING_INTL_API, h);
3240
- var W = r.getPluralRules(t, { type: l.pluralType }).select(p - (l.offset || 0));
3241
- M = l.options[W] || l.options.other;
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;
3242
3244
  }
3243
- if (!M)
3244
- throw new Lt(l.value, p, Object.keys(l.options), h);
3245
- a.push.apply(a, Ge(M.value, t, r, i, n, p - (l.offset || 0)));
3245
+ if (!$)
3246
+ throw new It(h.value, p, Object.keys(h.options), l);
3247
+ a.push.apply(a, je($.value, t, r, i, n, p - (h.offset || 0)));
3246
3248
  continue;
3247
3249
  }
3248
3250
  }
3249
- return tn(a);
3251
+ return nn(a);
3250
3252
  }
3251
- function nn(e, t) {
3252
- return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3253
- return r[i] = A(A({}, e[i]), t[i] || {}), r;
3253
+ function on(e, t) {
3254
+ return t ? re(re(re({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3255
+ return r[i] = re(re({}, e[i]), t[i] || {}), r;
3254
3256
  }, {})) : e;
3255
3257
  }
3256
- function sn(e, t) {
3258
+ function an(e, t) {
3257
3259
  return t ? Object.keys(e).reduce(function(r, i) {
3258
- return r[i] = nn(e[i], t[i]), r;
3259
- }, A({}, e)) : e;
3260
+ return r[i] = on(e[i], t[i]), r;
3261
+ }, re({}, e)) : e;
3260
3262
  }
3261
- function it(e) {
3263
+ function nt(e) {
3262
3264
  return {
3263
3265
  create: function() {
3264
3266
  return {
@@ -3272,35 +3274,35 @@ function it(e) {
3272
3274
  }
3273
3275
  };
3274
3276
  }
3275
- function on(e) {
3277
+ function un(e) {
3276
3278
  return e === void 0 && (e = {
3277
3279
  number: {},
3278
3280
  dateTime: {},
3279
3281
  pluralRules: {}
3280
3282
  }), {
3281
- getNumberFormat: et(function() {
3283
+ getNumberFormat: tt(function() {
3282
3284
  for (var t, r = [], i = 0; i < arguments.length; i++)
3283
3285
  r[i] = arguments[i];
3284
- return new ((t = Intl.NumberFormat).bind.apply(t, Ke([void 0], r, !1)))();
3286
+ return new ((t = Intl.NumberFormat).bind.apply(t, et([void 0], r, !1)))();
3285
3287
  }, {
3286
- cache: it(e.number),
3287
- strategy: tt.variadic
3288
+ cache: nt(e.number),
3289
+ strategy: rt.variadic
3288
3290
  }),
3289
- getDateTimeFormat: et(function() {
3291
+ getDateTimeFormat: tt(function() {
3290
3292
  for (var t, r = [], i = 0; i < arguments.length; i++)
3291
3293
  r[i] = arguments[i];
3292
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ke([void 0], r, !1)))();
3294
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, et([void 0], r, !1)))();
3293
3295
  }, {
3294
- cache: it(e.dateTime),
3295
- strategy: tt.variadic
3296
+ cache: nt(e.dateTime),
3297
+ strategy: rt.variadic
3296
3298
  }),
3297
- getPluralRules: et(function() {
3299
+ getPluralRules: tt(function() {
3298
3300
  for (var t, r = [], i = 0; i < arguments.length; i++)
3299
3301
  r[i] = arguments[i];
3300
- return new ((t = Intl.PluralRules).bind.apply(t, Ke([void 0], r, !1)))();
3302
+ return new ((t = Intl.PluralRules).bind.apply(t, et([void 0], r, !1)))();
3301
3303
  }, {
3302
- cache: it(e.pluralRules),
3303
- strategy: tt.variadic
3304
+ cache: nt(e.pluralRules),
3305
+ strategy: rt.variadic
3304
3306
  })
3305
3307
  };
3306
3308
  }
@@ -3318,12 +3320,12 @@ var br = (
3318
3320
  var u = s.formatToParts(o);
3319
3321
  if (u.length === 1)
3320
3322
  return u[0].value;
3321
- var l = u.reduce(function(d, p) {
3322
- return !d.length || p.type !== X.literal || typeof d[d.length - 1] != "string" ? d.push(p.value) : d[d.length - 1] += p.value, d;
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;
3323
3325
  }, []);
3324
- return l.length <= 1 ? l[0] || "" : l;
3326
+ return h.length <= 1 ? h[0] || "" : h;
3325
3327
  }, this.formatToParts = function(o) {
3326
- return Ge(s.ast, s.locales, s.formatters, s.formats, o, void 0, s.message);
3328
+ return je(s.ast, s.locales, s.formatters, s.formats, o, void 0, s.message);
3327
3329
  }, this.resolvedOptions = function() {
3328
3330
  var o;
3329
3331
  return {
@@ -3334,15 +3336,15 @@ var br = (
3334
3336
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3335
3337
  if (this.message = t, !e.__parse)
3336
3338
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3337
- var h = n || {};
3338
- h.formatters;
3339
- var a = pi(h, ["formatters"]);
3340
- this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3339
+ var l = n || {};
3340
+ l.formatters;
3341
+ var a = vi(l, ["formatters"]);
3342
+ this.ast = e.__parse(t, re(re({}, a), { locale: this.resolvedLocale }));
3341
3343
  } else
3342
3344
  this.ast = t;
3343
3345
  if (!Array.isArray(this.ast))
3344
3346
  throw new TypeError("A message must be provided as a String or AST.");
3345
- this.formats = sn(e.formats, i), this.formatters = n && n.formatters || on(this.formatterCache);
3347
+ this.formats = an(e.formats, i), this.formatters = n && n.formatters || un(this.formatterCache);
3346
3348
  }
3347
3349
  return Object.defineProperty(e, "defaultLocale", {
3348
3350
  get: function() {
@@ -3355,7 +3357,7 @@ var br = (
3355
3357
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3356
3358
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3357
3359
  }
3358
- }, e.__parse = Qi, e.formats = {
3360
+ }, e.__parse = en, e.formats = {
3359
3361
  number: {
3360
3362
  integer: {
3361
3363
  maximumFractionDigits: 0
@@ -3416,7 +3418,7 @@ var br = (
3416
3418
  }, e;
3417
3419
  }()
3418
3420
  );
3419
- function an(e, t) {
3421
+ function ln(e, t) {
3420
3422
  if (t == null)
3421
3423
  return;
3422
3424
  if (t in e)
@@ -3437,101 +3439,101 @@ function an(e, t) {
3437
3439
  i = void 0;
3438
3440
  return i;
3439
3441
  }
3440
- const le = {}, un = (e, t, r) => r && (t in le || (le[t] = {}), e in le[t] || (le[t][e] = r), r), vr = (e, t) => {
3442
+ const le = {}, hn = (e, t, r) => r && (t in le || (le[t] = {}), e in le[t] || (le[t][e] = r), r), yr = (e, t) => {
3441
3443
  if (t == null)
3442
3444
  return;
3443
3445
  if (t in le && e in le[t])
3444
3446
  return le[t][e];
3445
3447
  const r = Re(t);
3446
3448
  for (let i = 0; i < r.length; i++) {
3447
- const n = r[i], s = hn(n, e);
3449
+ const n = r[i], s = cn(n, e);
3448
3450
  if (s)
3449
- return un(e, t, s);
3451
+ return hn(e, t, s);
3450
3452
  }
3451
3453
  };
3452
- let _t;
3454
+ let xt;
3453
3455
  const Ne = Ie({});
3454
- function ln(e) {
3455
- return _t[e] || null;
3456
+ function fn(e) {
3457
+ return xt[e] || null;
3456
3458
  }
3457
- function yr(e) {
3458
- return e in _t;
3459
+ function _r(e) {
3460
+ return e in xt;
3459
3461
  }
3460
- function hn(e, t) {
3461
- if (!yr(e))
3462
+ function cn(e, t) {
3463
+ if (!_r(e))
3462
3464
  return null;
3463
- const r = ln(e);
3464
- return an(r, t);
3465
+ const r = fn(e);
3466
+ return ln(r, t);
3465
3467
  }
3466
- function fn(e) {
3468
+ function dn(e) {
3467
3469
  if (e == null)
3468
3470
  return;
3469
3471
  const t = Re(e);
3470
3472
  for (let r = 0; r < t.length; r++) {
3471
3473
  const i = t[r];
3472
- if (yr(i))
3474
+ if (_r(i))
3473
3475
  return i;
3474
3476
  }
3475
3477
  }
3476
3478
  function xr(e, ...t) {
3477
- delete le[e], Ne.update((r) => (r[e] = mi.all([r[e] || {}, ...t]), r));
3479
+ delete le[e], Ne.update((r) => (r[e] = gi.all([r[e] || {}, ...t]), r));
3478
3480
  }
3479
- Pe(
3481
+ Oe(
3480
3482
  [Ne],
3481
3483
  ([e]) => Object.keys(e)
3482
3484
  );
3483
- Ne.subscribe((e) => _t = e);
3484
- const je = {};
3485
- function cn(e, t) {
3486
- je[e].delete(t), je[e].size === 0 && delete je[e];
3485
+ Ne.subscribe((e) => xt = e);
3486
+ const ze = {};
3487
+ function mn(e, t) {
3488
+ ze[e].delete(t), ze[e].size === 0 && delete ze[e];
3487
3489
  }
3488
- function _r(e) {
3489
- return je[e];
3490
+ function Er(e) {
3491
+ return ze[e];
3490
3492
  }
3491
- function dn(e) {
3493
+ function pn(e) {
3492
3494
  return Re(e).map((t) => {
3493
- const r = _r(t);
3495
+ const r = Er(t);
3494
3496
  return [t, r ? [...r] : []];
3495
3497
  }).filter(([, t]) => t.length > 0);
3496
3498
  }
3497
- function ze(e) {
3499
+ function We(e) {
3498
3500
  return e == null ? !1 : Re(e).some(
3499
3501
  (t) => {
3500
3502
  var r;
3501
- return (r = _r(t)) == null ? void 0 : r.size;
3503
+ return (r = Er(t)) == null ? void 0 : r.size;
3502
3504
  }
3503
3505
  );
3504
3506
  }
3505
- function mn(e, t) {
3507
+ function gn(e, t) {
3506
3508
  return Promise.all(
3507
- t.map((i) => (cn(e, i), i().then((n) => n.default || n)))
3509
+ t.map((i) => (mn(e, i), i().then((n) => n.default || n)))
3508
3510
  ).then((i) => xr(e, ...i));
3509
3511
  }
3510
- const Oe = {};
3511
- function Er(e) {
3512
- if (!ze(e))
3513
- return e in Oe ? Oe[e] : Promise.resolve();
3514
- const t = dn(e);
3515
- return Oe[e] = Promise.all(
3512
+ const Ae = {};
3513
+ function wr(e) {
3514
+ if (!We(e))
3515
+ return e in Ae ? Ae[e] : Promise.resolve();
3516
+ const t = pn(e);
3517
+ return Ae[e] = Promise.all(
3516
3518
  t.map(
3517
- ([r, i]) => mn(r, i)
3519
+ ([r, i]) => gn(r, i)
3518
3520
  )
3519
3521
  ).then(() => {
3520
- if (ze(e))
3521
- return Er(e);
3522
- delete Oe[e];
3523
- }), Oe[e];
3522
+ if (We(e))
3523
+ return wr(e);
3524
+ delete Ae[e];
3525
+ }), Ae[e];
3524
3526
  }
3525
- var It = Object.getOwnPropertySymbols, pn = Object.prototype.hasOwnProperty, gn = Object.prototype.propertyIsEnumerable, bn = (e, t) => {
3527
+ var Nt = Object.getOwnPropertySymbols, vn = Object.prototype.hasOwnProperty, bn = Object.prototype.propertyIsEnumerable, yn = (e, t) => {
3526
3528
  var r = {};
3527
3529
  for (var i in e)
3528
- pn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3529
- if (e != null && It)
3530
- for (var i of It(e))
3531
- t.indexOf(i) < 0 && gn.call(e, i) && (r[i] = e[i]);
3530
+ vn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3531
+ if (e != null && Nt)
3532
+ for (var i of Nt(e))
3533
+ t.indexOf(i) < 0 && bn.call(e, i) && (r[i] = e[i]);
3532
3534
  return r;
3533
3535
  };
3534
- const vn = {
3536
+ const _n = {
3535
3537
  number: {
3536
3538
  scientific: { notation: "scientific" },
3537
3539
  engineering: { notation: "engineering" },
@@ -3561,28 +3563,28 @@ const vn = {
3561
3563
  }
3562
3564
  }
3563
3565
  };
3564
- function yn({ locale: e, id: t }) {
3566
+ function xn({ locale: e, id: t }) {
3565
3567
  console.warn(
3566
3568
  `[svelte-i18n] The message "${t}" was not found in "${Re(
3567
3569
  e
3568
- ).join('", "')}".${ze(he()) ? `
3570
+ ).join('", "')}".${We(he()) ? `
3569
3571
 
3570
3572
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3571
3573
  );
3572
3574
  }
3573
- const xn = {
3575
+ const En = {
3574
3576
  fallbackLocale: null,
3575
3577
  loadingDelay: 200,
3576
- formats: vn,
3578
+ formats: _n,
3577
3579
  warnOnMissingMessages: !0,
3578
3580
  handleMissingMessage: void 0,
3579
3581
  ignoreTag: !0
3580
- }, $e = xn;
3582
+ }, $e = En;
3581
3583
  function He() {
3582
3584
  return $e;
3583
3585
  }
3584
- function _n(e) {
3585
- const t = e, { formats: r } = t, i = bn(t, ["formats"]);
3586
+ function wn(e) {
3587
+ const t = e, { formats: r } = t, i = yn(t, ["formats"]);
3586
3588
  let n = e.fallbackLocale;
3587
3589
  if (e.initialLocale)
3588
3590
  try {
@@ -3592,71 +3594,71 @@ function _n(e) {
3592
3594
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3593
3595
  );
3594
3596
  }
3595
- return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = yn : console.warn(
3597
+ return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = xn : console.warn(
3596
3598
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3597
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);
3598
3600
  }
3599
- const nt = Ie(!1);
3600
- var En = Object.defineProperty, wn = Object.defineProperties, Sn = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, Tn = Object.prototype.hasOwnProperty, Hn = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? En(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pn = (e, t) => {
3601
- for (var r in t)
3602
- Tn.call(t, r) && Rt(e, r, t[r]);
3603
- if (Nt)
3604
- for (var r of Nt(t))
3605
- Hn.call(t, r) && Rt(e, r, t[r]);
3601
+ const st = Ie(!1);
3602
+ var Sn = Object.defineProperty, Tn = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, On = Object.prototype.hasOwnProperty, Pn = Object.prototype.propertyIsEnumerable, kt = (e, t, r) => t in e ? Sn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, An = (e, t) => {
3603
+ for (var r in t || (t = {}))
3604
+ On.call(t, r) && kt(e, r, t[r]);
3605
+ if (Rt)
3606
+ for (var r of Rt(t))
3607
+ Pn.call(t, r) && kt(e, r, t[r]);
3606
3608
  return e;
3607
- }, An = (e, t) => wn(e, Sn(t));
3608
- let pt;
3609
- const Xe = Ie(null);
3610
- function kt(e) {
3609
+ }, $n = (e, t) => Tn(e, Hn(t));
3610
+ let gt;
3611
+ const qe = Ie(null);
3612
+ function Ut(e) {
3611
3613
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3612
3614
  }
3613
3615
  function Re(e, t = He().fallbackLocale) {
3614
- const r = kt(e);
3615
- return t ? [.../* @__PURE__ */ new Set([...r, ...kt(t)])] : r;
3616
+ const r = Ut(e);
3617
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
3616
3618
  }
3617
3619
  function he() {
3618
- return pt ?? void 0;
3620
+ return gt ?? void 0;
3619
3621
  }
3620
- Xe.subscribe((e) => {
3621
- pt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3622
+ qe.subscribe((e) => {
3623
+ gt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3622
3624
  });
3623
- const On = (e) => {
3624
- if (e && fn(e) && ze(e)) {
3625
+ const Bn = (e) => {
3626
+ if (e && dn(e) && We(e)) {
3625
3627
  const { loadingDelay: t } = He();
3626
3628
  let r;
3627
3629
  return typeof window < "u" && he() != null && t ? r = window.setTimeout(
3628
- () => nt.set(!0),
3630
+ () => st.set(!0),
3629
3631
  t
3630
- ) : nt.set(!0), Er(e).then(() => {
3631
- Xe.set(e);
3632
+ ) : st.set(!0), wr(e).then(() => {
3633
+ qe.set(e);
3632
3634
  }).finally(() => {
3633
- clearTimeout(r), nt.set(!1);
3635
+ clearTimeout(r), st.set(!1);
3634
3636
  });
3635
3637
  }
3636
- return Xe.set(e);
3637
- }, me = An(Pn({}, Xe), {
3638
- set: On
3639
- }), Ze = (e) => {
3638
+ return qe.set(e);
3639
+ }, me = $n(An({}, qe), {
3640
+ set: Bn
3641
+ }), Qe = (e) => {
3640
3642
  const t = /* @__PURE__ */ Object.create(null);
3641
3643
  return (i) => {
3642
3644
  const n = JSON.stringify(i);
3643
3645
  return n in t ? t[n] : t[n] = e(i);
3644
3646
  };
3645
3647
  };
3646
- var $n = Object.defineProperty, We = Object.getOwnPropertySymbols, wr = Object.prototype.hasOwnProperty, Sr = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? $n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
3648
+ var Mn = Object.defineProperty, Ye = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Ft = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
3647
3649
  for (var r in t || (t = {}))
3648
- wr.call(t, r) && Ut(e, r, t[r]);
3649
- if (We)
3650
- for (var r of We(t))
3651
- Sr.call(t, r) && Ut(e, r, t[r]);
3650
+ Sr.call(t, r) && Ft(e, r, t[r]);
3651
+ if (Ye)
3652
+ for (var r of Ye(t))
3653
+ Tr.call(t, r) && Ft(e, r, t[r]);
3652
3654
  return e;
3653
- }, Ae = (e, t) => {
3655
+ }, Pe = (e, t) => {
3654
3656
  var r = {};
3655
3657
  for (var i in e)
3656
- wr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3657
- if (e != null && We)
3658
- for (var i of We(e))
3659
- t.indexOf(i) < 0 && Sr.call(e, i) && (r[i] = e[i]);
3658
+ Sr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3659
+ if (e != null && Ye)
3660
+ for (var i of Ye(e))
3661
+ t.indexOf(i) < 0 && Tr.call(e, i) && (r[i] = e[i]);
3660
3662
  return r;
3661
3663
  };
3662
3664
  const De = (e, t) => {
@@ -3664,101 +3666,101 @@ const De = (e, t) => {
3664
3666
  if (e in r && t in r[e])
3665
3667
  return r[e][t];
3666
3668
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3667
- }, Bn = Ze(
3669
+ }, Cn = Qe(
3668
3670
  (e) => {
3669
- var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3671
+ var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3670
3672
  if (r == null)
3671
3673
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3672
3674
  return i && (n = De("number", i)), new Intl.NumberFormat(r, n);
3673
3675
  }
3674
- ), Mn = Ze(
3676
+ ), Dn = Qe(
3675
3677
  (e) => {
3676
- var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3678
+ var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3677
3679
  if (r == null)
3678
3680
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3679
3681
  return i ? n = De("date", i) : Object.keys(n).length === 0 && (n = De("date", "short")), new Intl.DateTimeFormat(r, n);
3680
3682
  }
3681
- ), Cn = Ze(
3683
+ ), Ln = Qe(
3682
3684
  (e) => {
3683
- var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3685
+ var t = e, { locale: r, format: i } = t, n = Pe(t, ["locale", "format"]);
3684
3686
  if (r == null)
3685
3687
  throw new Error(
3686
3688
  '[svelte-i18n] A "locale" must be set to format time values'
3687
3689
  );
3688
3690
  return i ? n = De("time", i) : Object.keys(n).length === 0 && (n = De("time", "short")), new Intl.DateTimeFormat(r, n);
3689
3691
  }
3690
- ), Dn = (e = {}) => {
3692
+ ), In = (e = {}) => {
3691
3693
  var t = e, {
3692
3694
  locale: r = he()
3693
- } = t, i = Ae(t, [
3695
+ } = t, i = Pe(t, [
3694
3696
  "locale"
3695
3697
  ]);
3696
- return Bn(Et({ locale: r }, i));
3697
- }, Ln = (e = {}) => {
3698
+ return Cn(Et({ locale: r }, i));
3699
+ }, Nn = (e = {}) => {
3698
3700
  var t = e, {
3699
3701
  locale: r = he()
3700
- } = t, i = Ae(t, [
3702
+ } = t, i = Pe(t, [
3701
3703
  "locale"
3702
3704
  ]);
3703
- return Mn(Et({ locale: r }, i));
3704
- }, In = (e = {}) => {
3705
+ return Dn(Et({ locale: r }, i));
3706
+ }, Rn = (e = {}) => {
3705
3707
  var t = e, {
3706
3708
  locale: r = he()
3707
- } = t, i = Ae(t, [
3709
+ } = t, i = Pe(t, [
3708
3710
  "locale"
3709
3711
  ]);
3710
- return Cn(Et({ locale: r }, i));
3711
- }, Nn = Ze(
3712
+ return Ln(Et({ locale: r }, i));
3713
+ }, kn = Qe(
3712
3714
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3713
3715
  (e, t = he()) => new br(e, t, He().formats, {
3714
3716
  ignoreTag: He().ignoreTag
3715
3717
  })
3716
- ), Rn = (e, t = {}) => {
3718
+ ), Un = (e, t = {}) => {
3717
3719
  var r, i, n, s;
3718
- let h = t;
3719
- typeof e == "object" && (h = e, e = h.id);
3720
+ let l = t;
3721
+ typeof e == "object" && (l = e, e = l.id);
3720
3722
  const {
3721
3723
  values: a,
3722
3724
  locale: o = he(),
3723
3725
  default: u
3724
- } = h;
3726
+ } = l;
3725
3727
  if (o == null)
3726
3728
  throw new Error(
3727
3729
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3728
3730
  );
3729
- let l = vr(e, o);
3730
- if (!l)
3731
- l = (s = (n = (i = (r = He()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: o, id: e, defaultValue: u })) != null ? n : u) != null ? s : e;
3732
- else if (typeof l != "string")
3731
+ let h = yr(e, o);
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;
3734
+ else if (typeof h != "string")
3733
3735
  return console.warn(
3734
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3735
- ), l;
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
+ ), h;
3736
3738
  if (!a)
3737
- return l;
3738
- let d = l;
3739
+ return h;
3740
+ let c = h;
3739
3741
  try {
3740
- d = Nn(l, o).format(a);
3742
+ c = kn(h, o).format(a);
3741
3743
  } catch (p) {
3742
3744
  p instanceof Error && console.warn(
3743
3745
  `[svelte-i18n] Message "${e}" has syntax error:`,
3744
3746
  p.message
3745
3747
  );
3746
3748
  }
3747
- return d;
3748
- }, kn = (e, t) => In(t).format(e), Un = (e, t) => Ln(t).format(e), Fn = (e, t) => Dn(t).format(e), Vn = (e, t = he()) => vr(e, t), Gn = Pe([me, Ne], () => Rn);
3749
- Pe([me], () => kn);
3750
- Pe([me], () => Un);
3751
- Pe([me], () => Fn);
3752
- Pe([me, Ne], () => Vn);
3753
- function Ft(e, t) {
3749
+ return c;
3750
+ }, Fn = (e, t) => Rn(t).format(e), Vn = (e, t) => Nn(t).format(e), Gn = (e, t) => In(t).format(e), jn = (e, t = he()) => yr(e, t), zn = Oe([me, Ne], () => Un);
3751
+ Oe([me], () => Fn);
3752
+ Oe([me], () => Vn);
3753
+ Oe([me], () => Gn);
3754
+ Oe([me, Ne], () => jn);
3755
+ function Vt(e, t) {
3754
3756
  xr(e, t);
3755
3757
  }
3756
- function jn(e) {
3757
- _n({
3758
+ function Xn(e) {
3759
+ wn({
3758
3760
  fallbackLocale: "en"
3759
3761
  }), me.set(e);
3760
3762
  }
3761
- const Vt = {
3763
+ const Gt = {
3762
3764
  en: {
3763
3765
  "verification.video.how-to": "How to verify yourself",
3764
3766
  "verification.idenfy.referred-awaiting": "ID verification is in progress. We will inform you as soon as verification is completed and you can withdraw money back",
@@ -3826,72 +3828,72 @@ if (typeof window < "u") {
3826
3828
  }
3827
3829
  };
3828
3830
  };
3829
- customElements.define = e(customElements.define), import("./CashierVideoModal-Cqlay4Og.js").then(({ default: t }) => {
3831
+ customElements.define = e(customElements.define), import("./CashierVideoModal-D54H_jPz.js").then(({ default: t }) => {
3830
3832
  !customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", t.element);
3831
3833
  });
3832
3834
  }
3833
- let zn = Ie(null);
3834
- var Tr = { exports: {} };
3835
+ let Wn = Ie(null);
3836
+ var Hr = { exports: {} };
3835
3837
  (function(e, t) {
3836
3838
  (function(r, i) {
3837
3839
  e.exports = i();
3838
- })(Kt, function() {
3839
- var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", h = "second", a = "minute", o = "hour", u = "day", l = "week", d = "month", p = "quarter", x = "year", H = "date", b = "Invalid Date", B = /^(\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, F = { 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(_) {
3840
- var g = ["th", "st", "nd", "rd"], c = _ % 100;
3841
- return "[" + _ + (g[(c - 20) % 10] || g[c] || g[0]) + "]";
3842
- } }, M = function(_, g, c) {
3843
- var v = String(_);
3844
- return !v || v.length >= g ? _ : "" + Array(g + 1 - v.length).join(c) + _;
3845
- }, W = { s: M, z: function(_) {
3846
- var g = -_.utcOffset(), c = Math.abs(g), v = Math.floor(c / 60), m = c % 60;
3847
- return (g <= 0 ? "+" : "-") + M(v, 2, "0") + ":" + M(m, 2, "0");
3848
- }, m: function _(g, c) {
3849
- if (g.date() < c.date())
3850
- return -_(c, g);
3851
- var v = 12 * (c.year() - g.year()) + (c.month() - g.month()), m = g.clone().add(v, d), E = c - m < 0, w = g.clone().add(v + (E ? -1 : 1), d);
3852
- return +(-(v + (c - m) / (E ? m - w : w - m)) || 0);
3853
- }, a: function(_) {
3854
- return _ < 0 ? Math.ceil(_) || 0 : Math.floor(_);
3855
- }, p: function(_) {
3856
- return { M: d, y: x, w: l, d: u, D: H, h: o, m: a, s: h, ms: s, Q: p }[_] || String(_ || "").toLowerCase().replace(/s$/, "");
3857
- }, u: function(_) {
3858
- return _ === void 0;
3859
- } }, N = "en", k = {};
3860
- k[N] = F;
3861
- var j = "$isDayjsObject", ie = function(_) {
3862
- return _ instanceof pe || !(!_ || !_[j]);
3863
- }, L = function _(g, c, v) {
3840
+ })(er, 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", S = "date", v = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, 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) {
3842
+ var g = ["th", "st", "nd", "rd"], d = x % 100;
3843
+ return "[" + x + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
3844
+ } }, $ = function(x, g, d) {
3845
+ var b = String(x);
3846
+ return !b || b.length >= g ? x : "" + Array(g + 1 - b.length).join(d) + x;
3847
+ }, j = { s: $, z: function(x) {
3848
+ 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");
3850
+ }, m: function x(g, d) {
3851
+ if (g.date() < d.date())
3852
+ return -x(d, g);
3853
+ var b = 12 * (d.year() - g.year()) + (d.month() - g.month()), m = g.clone().add(b, c), E = d - m < 0, w = g.clone().add(b + (E ? -1 : 1), c);
3854
+ return +(-(b + (d - m) / (E ? m - w : w - m)) || 0);
3855
+ }, a: function(x) {
3856
+ return x < 0 ? Math.ceil(x) || 0 : Math.floor(x);
3857
+ }, p: function(x) {
3858
+ return { M: c, y: _, w: h, d: u, D: S, h: o, m: a, s: l, ms: s, Q: p }[x] || String(x || "").toLowerCase().replace(/s$/, "");
3859
+ }, u: function(x) {
3860
+ return x === void 0;
3861
+ } }, I = "en", k = {};
3862
+ k[I] = R;
3863
+ var X = "$isDayjsObject", Z = function(x) {
3864
+ return x instanceof pe || !(!x || !x[X]);
3865
+ }, W = function x(g, d, b) {
3864
3866
  var m;
3865
3867
  if (!g)
3866
- return N;
3868
+ return I;
3867
3869
  if (typeof g == "string") {
3868
3870
  var E = g.toLowerCase();
3869
- k[E] && (m = E), c && (k[E] = c, m = E);
3871
+ k[E] && (m = E), d && (k[E] = d, m = E);
3870
3872
  var w = g.split("-");
3871
3873
  if (!m && w.length > 1)
3872
- return _(w[0]);
3874
+ return x(w[0]);
3873
3875
  } else {
3874
- var $ = g.name;
3875
- k[$] = g, m = $;
3876
+ var B = g.name;
3877
+ k[B] = g, m = B;
3876
3878
  }
3877
- return !v && m && (N = m), m || !v && N;
3878
- }, C = function(_, g) {
3879
- if (ie(_))
3880
- return _.clone();
3881
- var c = typeof g == "object" ? g : {};
3882
- return c.date = _, c.args = arguments, new pe(c);
3883
- }, O = W;
3884
- O.l = L, O.i = ie, O.w = function(_, g) {
3885
- return C(_, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3879
+ return !b && m && (I = m), m || !b && I;
3880
+ }, A = function(x, g) {
3881
+ if (Z(x))
3882
+ return x.clone();
3883
+ 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 = Z, O.w = function(x, g) {
3887
+ return A(x, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3886
3888
  };
3887
3889
  var pe = function() {
3888
- function _(c) {
3889
- this.$L = L(c.locale, null, !0), this.parse(c), this.$x = this.$x || c.x || {}, this[j] = !0;
3890
+ function x(d) {
3891
+ this.$L = W(d.locale, null, !0), this.parse(d), this.$x = this.$x || d.x || {}, this[X] = !0;
3890
3892
  }
3891
- var g = _.prototype;
3892
- return g.parse = function(c) {
3893
- this.$d = function(v) {
3894
- var m = v.date, E = v.utc;
3893
+ var g = x.prototype;
3894
+ return g.parse = function(d) {
3895
+ this.$d = function(b) {
3896
+ var m = b.date, E = b.utc;
3895
3897
  if (m === null)
3896
3898
  return /* @__PURE__ */ new Date(NaN);
3897
3899
  if (O.u(m))
@@ -3899,204 +3901,204 @@ var Tr = { exports: {} };
3899
3901
  if (m instanceof Date)
3900
3902
  return new Date(m);
3901
3903
  if (typeof m == "string" && !/Z$/i.test(m)) {
3902
- var w = m.match(B);
3904
+ var w = m.match(M);
3903
3905
  if (w) {
3904
- var $ = w[2] - 1 || 0, I = (w[7] || "0").substring(0, 3);
3905
- return E ? new Date(Date.UTC(w[1], $, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, I)) : new Date(w[1], $, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, I);
3906
+ var B = w[2] - 1 || 0, C = (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, C)) : new Date(w[1], B, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, C);
3906
3908
  }
3907
3909
  }
3908
3910
  return new Date(m);
3909
- }(c), this.init();
3911
+ }(d), this.init();
3910
3912
  }, g.init = function() {
3911
- var c = this.$d;
3912
- this.$y = c.getFullYear(), this.$M = c.getMonth(), this.$D = c.getDate(), this.$W = c.getDay(), this.$H = c.getHours(), this.$m = c.getMinutes(), this.$s = c.getSeconds(), this.$ms = c.getMilliseconds();
3913
+ var d = this.$d;
3914
+ 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();
3913
3915
  }, g.$utils = function() {
3914
3916
  return O;
3915
3917
  }, g.isValid = function() {
3916
- return this.$d.toString() !== b;
3917
- }, g.isSame = function(c, v) {
3918
- var m = C(c);
3919
- return this.startOf(v) <= m && m <= this.endOf(v);
3920
- }, g.isAfter = function(c, v) {
3921
- return C(c) < this.startOf(v);
3922
- }, g.isBefore = function(c, v) {
3923
- return this.endOf(v) < C(c);
3924
- }, g.$g = function(c, v, m) {
3925
- return O.u(c) ? this[v] : this.set(m, c);
3918
+ return this.$d.toString() !== v;
3919
+ }, g.isSame = function(d, b) {
3920
+ var m = A(d);
3921
+ return this.startOf(b) <= m && m <= this.endOf(b);
3922
+ }, g.isAfter = function(d, b) {
3923
+ return A(d) < this.startOf(b);
3924
+ }, g.isBefore = function(d, b) {
3925
+ return this.endOf(b) < A(d);
3926
+ }, g.$g = function(d, b, m) {
3927
+ return O.u(d) ? this[b] : this.set(m, d);
3926
3928
  }, g.unix = function() {
3927
3929
  return Math.floor(this.valueOf() / 1e3);
3928
3930
  }, g.valueOf = function() {
3929
3931
  return this.$d.getTime();
3930
- }, g.startOf = function(c, v) {
3931
- var m = this, E = !!O.u(v) || v, w = O.p(c), $ = function(se, G) {
3932
- var Q = O.w(m.$u ? Date.UTC(m.$y, G, se) : new Date(m.$y, G, se), m);
3933
- return E ? Q : Q.endOf(u);
3934
- }, I = function(se, G) {
3935
- return O.w(m.toDate()[se].apply(m.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), m);
3936
- }, R = this.$W, V = this.$M, z = this.$D, ae = "set" + (this.$u ? "UTC" : "");
3932
+ }, g.startOf = function(d, b) {
3933
+ var m = this, E = !!O.u(b) || b, w = O.p(d), B = function(oe, V) {
3934
+ var q = O.w(m.$u ? Date.UTC(m.$y, V, oe) : new Date(m.$y, V, oe), m);
3935
+ return E ? q : q.endOf(u);
3936
+ }, C = function(oe, V) {
3937
+ return O.w(m.toDate()[oe].apply(m.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(V)), m);
3938
+ }, N = this.$W, F = this.$M, z = this.$D, ne = "set" + (this.$u ? "UTC" : "");
3937
3939
  switch (w) {
3938
- case x:
3939
- return E ? $(1, 0) : $(31, 11);
3940
- case d:
3941
- return E ? $(1, V) : $(0, V + 1);
3942
- case l:
3943
- var ne = this.$locale().weekStart || 0, fe = (R < ne ? R + 7 : R) - ne;
3944
- return $(E ? z - fe : z + (6 - fe), V);
3940
+ case _:
3941
+ return E ? B(1, 0) : B(31, 11);
3942
+ case c:
3943
+ return E ? B(1, F) : B(0, F + 1);
3944
+ case h:
3945
+ var se = this.$locale().weekStart || 0, fe = (N < se ? N + 7 : N) - se;
3946
+ return B(E ? z - fe : z + (6 - fe), F);
3945
3947
  case u:
3946
- case H:
3947
- return I(ae + "Hours", 0);
3948
+ case S:
3949
+ return C(ne + "Hours", 0);
3948
3950
  case o:
3949
- return I(ae + "Minutes", 1);
3951
+ return C(ne + "Minutes", 1);
3950
3952
  case a:
3951
- return I(ae + "Seconds", 2);
3952
- case h:
3953
- return I(ae + "Milliseconds", 3);
3953
+ return C(ne + "Seconds", 2);
3954
+ case l:
3955
+ return C(ne + "Milliseconds", 3);
3954
3956
  default:
3955
3957
  return this.clone();
3956
3958
  }
3957
- }, g.endOf = function(c) {
3958
- return this.startOf(c, !1);
3959
- }, g.$set = function(c, v) {
3960
- var m, E = O.p(c), w = "set" + (this.$u ? "UTC" : ""), $ = (m = {}, m[u] = w + "Date", m[H] = w + "Date", m[d] = w + "Month", m[x] = w + "FullYear", m[o] = w + "Hours", m[a] = w + "Minutes", m[h] = w + "Seconds", m[s] = w + "Milliseconds", m)[E], I = E === u ? this.$D + (v - this.$W) : v;
3961
- if (E === d || E === x) {
3962
- var R = this.clone().set(H, 1);
3963
- R.$d[$](I), R.init(), this.$d = R.set(H, Math.min(this.$D, R.daysInMonth())).$d;
3959
+ }, g.endOf = function(d) {
3960
+ return this.startOf(d, !1);
3961
+ }, g.$set = function(d, b) {
3962
+ var m, E = O.p(d), w = "set" + (this.$u ? "UTC" : ""), B = (m = {}, m[u] = w + "Date", m[S] = 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], C = E === u ? this.$D + (b - this.$W) : b;
3963
+ if (E === c || E === _) {
3964
+ var N = this.clone().set(S, 1);
3965
+ N.$d[B](C), N.init(), this.$d = N.set(S, Math.min(this.$D, N.daysInMonth())).$d;
3964
3966
  } else
3965
- $ && this.$d[$](I);
3967
+ B && this.$d[B](C);
3966
3968
  return this.init(), this;
3967
- }, g.set = function(c, v) {
3968
- return this.clone().$set(c, v);
3969
- }, g.get = function(c) {
3970
- return this[O.p(c)]();
3971
- }, g.add = function(c, v) {
3969
+ }, g.set = function(d, b) {
3970
+ return this.clone().$set(d, b);
3971
+ }, g.get = function(d) {
3972
+ return this[O.p(d)]();
3973
+ }, g.add = function(d, b) {
3972
3974
  var m, E = this;
3973
- c = Number(c);
3974
- var w = O.p(v), $ = function(V) {
3975
- var z = C(E);
3976
- return O.w(z.date(z.date() + Math.round(V * c)), E);
3975
+ 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);
3977
3979
  };
3978
- if (w === d)
3979
- return this.set(d, this.$M + c);
3980
- if (w === x)
3981
- return this.set(x, this.$y + c);
3980
+ if (w === c)
3981
+ return this.set(c, this.$M + d);
3982
+ if (w === _)
3983
+ return this.set(_, this.$y + d);
3982
3984
  if (w === u)
3983
- return $(1);
3984
- if (w === l)
3985
- return $(7);
3986
- var I = (m = {}, m[a] = i, m[o] = n, m[h] = r, m)[w] || 1, R = this.$d.getTime() + c * I;
3987
- return O.w(R, this);
3988
- }, g.subtract = function(c, v) {
3989
- return this.add(-1 * c, v);
3990
- }, g.format = function(c) {
3991
- var v = this, m = this.$locale();
3985
+ return B(1);
3986
+ if (w === h)
3987
+ return B(7);
3988
+ var C = (m = {}, m[a] = i, m[o] = n, m[l] = r, m)[w] || 1, N = this.$d.getTime() + d * C;
3989
+ return O.w(N, this);
3990
+ }, g.subtract = function(d, b) {
3991
+ return this.add(-1 * d, b);
3992
+ }, g.format = function(d) {
3993
+ var b = this, m = this.$locale();
3992
3994
  if (!this.isValid())
3993
- return m.invalidDate || b;
3994
- var E = c || "YYYY-MM-DDTHH:mm:ssZ", w = O.z(this), $ = this.$H, I = this.$m, R = this.$M, V = m.weekdays, z = m.months, ae = m.meridiem, ne = function(G, Q, ce, de) {
3995
- return G && (G[Q] || G(v, E)) || ce[Q].slice(0, de);
3996
- }, fe = function(G) {
3997
- return O.s($ % 12 || 12, G, "0");
3998
- }, se = ae || function(G, Q, ce) {
3999
- var de = G < 12 ? "AM" : "PM";
4000
- return ce ? de.toLowerCase() : de;
3995
+ return m.invalidDate || v;
3996
+ var E = d || "YYYY-MM-DDTHH:mm:ssZ", w = O.z(this), B = this.$H, C = this.$m, N = this.$M, F = m.weekdays, z = m.months, ne = m.meridiem, se = function(V, q, ce, ge) {
3997
+ return V && (V[q] || V(b, E)) || ce[q].slice(0, ge);
3998
+ }, fe = function(V) {
3999
+ return O.s(B % 12 || 12, V, "0");
4000
+ }, oe = ne || function(V, q, ce) {
4001
+ var ge = V < 12 ? "AM" : "PM";
4002
+ return ce ? ge.toLowerCase() : ge;
4001
4003
  };
4002
- return E.replace(U, function(G, Q) {
4003
- return Q || function(ce) {
4004
+ return E.replace(U, function(V, q) {
4005
+ return q || function(ce) {
4004
4006
  switch (ce) {
4005
4007
  case "YY":
4006
- return String(v.$y).slice(-2);
4008
+ return String(b.$y).slice(-2);
4007
4009
  case "YYYY":
4008
- return O.s(v.$y, 4, "0");
4010
+ return O.s(b.$y, 4, "0");
4009
4011
  case "M":
4010
- return R + 1;
4012
+ return N + 1;
4011
4013
  case "MM":
4012
- return O.s(R + 1, 2, "0");
4014
+ return O.s(N + 1, 2, "0");
4013
4015
  case "MMM":
4014
- return ne(m.monthsShort, R, z, 3);
4016
+ return se(m.monthsShort, N, z, 3);
4015
4017
  case "MMMM":
4016
- return ne(z, R);
4018
+ return se(z, N);
4017
4019
  case "D":
4018
- return v.$D;
4020
+ return b.$D;
4019
4021
  case "DD":
4020
- return O.s(v.$D, 2, "0");
4022
+ return O.s(b.$D, 2, "0");
4021
4023
  case "d":
4022
- return String(v.$W);
4024
+ return String(b.$W);
4023
4025
  case "dd":
4024
- return ne(m.weekdaysMin, v.$W, V, 2);
4026
+ return se(m.weekdaysMin, b.$W, F, 2);
4025
4027
  case "ddd":
4026
- return ne(m.weekdaysShort, v.$W, V, 3);
4028
+ return se(m.weekdaysShort, b.$W, F, 3);
4027
4029
  case "dddd":
4028
- return V[v.$W];
4030
+ return F[b.$W];
4029
4031
  case "H":
4030
- return String($);
4032
+ return String(B);
4031
4033
  case "HH":
4032
- return O.s($, 2, "0");
4034
+ return O.s(B, 2, "0");
4033
4035
  case "h":
4034
4036
  return fe(1);
4035
4037
  case "hh":
4036
4038
  return fe(2);
4037
4039
  case "a":
4038
- return se($, I, !0);
4040
+ return oe(B, C, !0);
4039
4041
  case "A":
4040
- return se($, I, !1);
4042
+ return oe(B, C, !1);
4041
4043
  case "m":
4042
- return String(I);
4044
+ return String(C);
4043
4045
  case "mm":
4044
- return O.s(I, 2, "0");
4046
+ return O.s(C, 2, "0");
4045
4047
  case "s":
4046
- return String(v.$s);
4048
+ return String(b.$s);
4047
4049
  case "ss":
4048
- return O.s(v.$s, 2, "0");
4050
+ return O.s(b.$s, 2, "0");
4049
4051
  case "SSS":
4050
- return O.s(v.$ms, 3, "0");
4052
+ return O.s(b.$ms, 3, "0");
4051
4053
  case "Z":
4052
4054
  return w;
4053
4055
  }
4054
4056
  return null;
4055
- }(G) || w.replace(":", "");
4057
+ }(V) || w.replace(":", "");
4056
4058
  });
4057
4059
  }, g.utcOffset = function() {
4058
4060
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4059
- }, g.diff = function(c, v, m) {
4060
- var E, w = this, $ = O.p(v), I = C(c), R = (I.utcOffset() - this.utcOffset()) * i, V = this - I, z = function() {
4061
- return O.m(w, I);
4061
+ }, g.diff = function(d, b, m) {
4062
+ var E, w = this, B = O.p(b), C = A(d), N = (C.utcOffset() - this.utcOffset()) * i, F = this - C, z = function() {
4063
+ return O.m(w, C);
4062
4064
  };
4063
- switch ($) {
4064
- case x:
4065
+ switch (B) {
4066
+ case _:
4065
4067
  E = z() / 12;
4066
4068
  break;
4067
- case d:
4069
+ case c:
4068
4070
  E = z();
4069
4071
  break;
4070
4072
  case p:
4071
4073
  E = z() / 3;
4072
4074
  break;
4073
- case l:
4074
- E = (V - R) / 6048e5;
4075
+ case h:
4076
+ E = (F - N) / 6048e5;
4075
4077
  break;
4076
4078
  case u:
4077
- E = (V - R) / 864e5;
4079
+ E = (F - N) / 864e5;
4078
4080
  break;
4079
4081
  case o:
4080
- E = V / n;
4082
+ E = F / n;
4081
4083
  break;
4082
4084
  case a:
4083
- E = V / i;
4085
+ E = F / i;
4084
4086
  break;
4085
- case h:
4086
- E = V / r;
4087
+ case l:
4088
+ E = F / r;
4087
4089
  break;
4088
4090
  default:
4089
- E = V;
4091
+ E = F;
4090
4092
  }
4091
4093
  return m ? E : O.a(E);
4092
4094
  }, g.daysInMonth = function() {
4093
- return this.endOf(d).$D;
4095
+ return this.endOf(c).$D;
4094
4096
  }, g.$locale = function() {
4095
4097
  return k[this.$L];
4096
- }, g.locale = function(c, v) {
4097
- if (!c)
4098
+ }, g.locale = function(d, b) {
4099
+ if (!d)
4098
4100
  return this.$L;
4099
- var m = this.clone(), E = L(c, v, !0);
4101
+ var m = this.clone(), E = W(d, b, !0);
4100
4102
  return E && (m.$L = E), m;
4101
4103
  }, g.clone = function() {
4102
4104
  return O.w(this.$d, this);
@@ -4108,81 +4110,81 @@ var Tr = { exports: {} };
4108
4110
  return this.$d.toISOString();
4109
4111
  }, g.toString = function() {
4110
4112
  return this.$d.toUTCString();
4111
- }, _;
4113
+ }, x;
4112
4114
  }(), ke = pe.prototype;
4113
- return C.prototype = ke, [["$ms", s], ["$s", h], ["$m", a], ["$H", o], ["$W", u], ["$M", d], ["$y", x], ["$D", H]].forEach(function(_) {
4114
- ke[_[1]] = function(g) {
4115
- return this.$g(g, _[0], _[1]);
4115
+ return A.prototype = ke, [["$ms", s], ["$s", l], ["$m", a], ["$H", o], ["$W", u], ["$M", c], ["$y", _], ["$D", S]].forEach(function(x) {
4116
+ ke[x[1]] = function(g) {
4117
+ return this.$g(g, x[0], x[1]);
4116
4118
  };
4117
- }), C.extend = function(_, g) {
4118
- return _.$i || (_(g, pe, C), _.$i = !0), C;
4119
- }, C.locale = L, C.isDayjs = ie, C.unix = function(_) {
4120
- return C(1e3 * _);
4121
- }, C.en = k[N], C.Ls = k, C.p = {}, C;
4119
+ }), A.extend = function(x, g) {
4120
+ return x.$i || (x(g, pe, A), x.$i = !0), A;
4121
+ }, A.locale = W, A.isDayjs = Z, A.unix = function(x) {
4122
+ return A(1e3 * x);
4123
+ }, A.en = k[I], A.Ls = k, A.p = {}, A;
4122
4124
  });
4123
- })(Tr);
4124
- var Xn = Tr.exports;
4125
- const Gt = /* @__PURE__ */ yt(Xn);
4126
- var Hr = { exports: {} };
4125
+ })(Hr);
4126
+ var qn = Hr.exports;
4127
+ const jt = /* @__PURE__ */ _t(qn);
4128
+ var Or = { exports: {} };
4127
4129
  (function(e, t) {
4128
4130
  (function(r, i) {
4129
4131
  e.exports = i();
4130
- })(Kt, function() {
4132
+ })(er, function() {
4131
4133
  var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
4132
- return function(s, h, a) {
4133
- var o = h.prototype;
4134
- a.utc = function(b) {
4135
- var B = { date: b, utc: !0, args: arguments };
4136
- return new h(B);
4137
- }, o.utc = function(b) {
4138
- var B = a(this.toDate(), { locale: this.$L, utc: !0 });
4139
- return b ? B.add(this.utcOffset(), r) : B;
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);
4139
+ }, o.utc = function(v) {
4140
+ var M = a(this.toDate(), { locale: this.$L, utc: !0 });
4141
+ return v ? M.add(this.utcOffset(), r) : M;
4140
4142
  }, o.local = function() {
4141
4143
  return a(this.toDate(), { locale: this.$L, utc: !1 });
4142
4144
  };
4143
4145
  var u = o.parse;
4144
- o.parse = function(b) {
4145
- b.utc && (this.$u = !0), this.$utils().u(b.$offset) || (this.$offset = b.$offset), u.call(this, b);
4146
+ o.parse = function(v) {
4147
+ v.utc && (this.$u = !0), this.$utils().u(v.$offset) || (this.$offset = v.$offset), u.call(this, v);
4146
4148
  };
4147
- var l = o.init;
4149
+ var h = o.init;
4148
4150
  o.init = function() {
4149
4151
  if (this.$u) {
4150
- var b = this.$d;
4151
- this.$y = b.getUTCFullYear(), this.$M = b.getUTCMonth(), this.$D = b.getUTCDate(), this.$W = b.getUTCDay(), this.$H = b.getUTCHours(), this.$m = b.getUTCMinutes(), this.$s = b.getUTCSeconds(), this.$ms = b.getUTCMilliseconds();
4152
+ var v = this.$d;
4153
+ this.$y = v.getUTCFullYear(), this.$M = v.getUTCMonth(), this.$D = v.getUTCDate(), this.$W = v.getUTCDay(), this.$H = v.getUTCHours(), this.$m = v.getUTCMinutes(), this.$s = v.getUTCSeconds(), this.$ms = v.getUTCMilliseconds();
4152
4154
  } else
4153
- l.call(this);
4155
+ h.call(this);
4154
4156
  };
4155
- var d = o.utcOffset;
4156
- o.utcOffset = function(b, B) {
4157
+ var c = o.utcOffset;
4158
+ o.utcOffset = function(v, M) {
4157
4159
  var U = this.$utils().u;
4158
- if (U(b))
4159
- return this.$u ? 0 : U(this.$offset) ? d.call(this) : this.$offset;
4160
- if (typeof b == "string" && (b = function(N) {
4161
- N === void 0 && (N = "");
4162
- var k = N.match(i);
4160
+ if (U(v))
4161
+ return this.$u ? 0 : U(this.$offset) ? c.call(this) : this.$offset;
4162
+ if (typeof v == "string" && (v = function(I) {
4163
+ I === void 0 && (I = "");
4164
+ var k = I.match(i);
4163
4165
  if (!k)
4164
4166
  return null;
4165
- var j = ("" + k[0]).match(n) || ["-", 0, 0], ie = j[0], L = 60 * +j[1] + +j[2];
4166
- return L === 0 ? 0 : ie === "+" ? L : -L;
4167
- }(b), b === null))
4167
+ var X = ("" + k[0]).match(n) || ["-", 0, 0], Z = X[0], W = 60 * +X[1] + +X[2];
4168
+ return W === 0 ? 0 : Z === "+" ? W : -W;
4169
+ }(v), v === null))
4168
4170
  return this;
4169
- var F = Math.abs(b) <= 16 ? 60 * b : b, M = this;
4170
- if (B)
4171
- return M.$offset = F, M.$u = b === 0, M;
4172
- if (b !== 0) {
4173
- var W = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4174
- (M = this.local().add(F + W, r)).$offset = F, M.$x.$localOffset = W;
4171
+ var R = Math.abs(v) <= 16 ? 60 * v : v, $ = this;
4172
+ if (M)
4173
+ return $.$offset = R, $.$u = v === 0, $;
4174
+ 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;
4175
4177
  } else
4176
- M = this.utc();
4177
- return M;
4178
+ $ = this.utc();
4179
+ return $;
4178
4180
  };
4179
4181
  var p = o.format;
4180
- o.format = function(b) {
4181
- var B = b || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4182
- return p.call(this, B);
4182
+ o.format = function(v) {
4183
+ var M = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4184
+ return p.call(this, M);
4183
4185
  }, o.valueOf = function() {
4184
- var b = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4185
- return this.$d.valueOf() - 6e4 * b;
4186
+ var v = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4187
+ return this.$d.valueOf() - 6e4 * v;
4186
4188
  }, o.isUTC = function() {
4187
4189
  return !!this.$u;
4188
4190
  }, o.toISOString = function() {
@@ -4190,46 +4192,46 @@ var Hr = { exports: {} };
4190
4192
  }, o.toString = function() {
4191
4193
  return this.toDate().toUTCString();
4192
4194
  };
4193
- var x = o.toDate;
4194
- o.toDate = function(b) {
4195
- return b === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : x.call(this);
4195
+ var _ = o.toDate;
4196
+ o.toDate = function(v) {
4197
+ return v === "s" && this.$offset ? a(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : _.call(this);
4196
4198
  };
4197
- var H = o.diff;
4198
- o.diff = function(b, B, U) {
4199
- if (b && this.$u === b.$u)
4200
- return H.call(this, b, B, U);
4201
- var F = this.local(), M = a(b).local();
4202
- return H.call(F, M, B, U);
4199
+ var S = o.diff;
4200
+ o.diff = function(v, M, U) {
4201
+ if (v && this.$u === v.$u)
4202
+ return S.call(this, v, M, U);
4203
+ var R = this.local(), $ = a(v).local();
4204
+ return S.call(R, $, M, U);
4203
4205
  };
4204
4206
  };
4205
4207
  });
4206
- })(Hr);
4207
- var Wn = Hr.exports;
4208
- const qn = /* @__PURE__ */ yt(Wn);
4209
- function Yn(e) {
4210
- Mr(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)}");
4208
+ })(Or);
4209
+ var Yn = Or.exports;
4210
+ const Zn = /* @__PURE__ */ _t(Yn);
4211
+ function Jn(e) {
4212
+ Dr(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)}");
4211
4213
  }
4212
- function jt(e, t, r) {
4214
+ function zt(e, t, r) {
4213
4215
  const i = e.slice();
4214
- return i[51] = t[r], i[53] = r, i;
4216
+ return i[52] = t[r], i[54] = r, i;
4215
4217
  }
4216
- function zt(e) {
4217
- let t, r, i, n, s = Ht(
4218
+ function Xt(e) {
4219
+ let t, r, i, n, s = Ot(
4218
4220
  /*displayMessages*/
4219
4221
  e[4]
4220
- ), h = [];
4222
+ ), l = [];
4221
4223
  for (let o = 0; o < s.length; o += 1)
4222
- h[o] = Wt(jt(e, s, o));
4224
+ l[o] = qt(zt(e, s, o));
4223
4225
  let a = (
4224
4226
  /*videoExists*/
4225
- e[7] && qt(e)
4227
+ e[7] && Yt(e)
4226
4228
  );
4227
4229
  return {
4228
4230
  c() {
4229
4231
  t = Y("div");
4230
- for (let o = 0; o < h.length; o += 1)
4231
- h[o].c();
4232
- r = xe(), a && a.c(), i = xe(), n = Y("cashier-video-modal"), J(t, "class", "CashierVerificationsWrapper"), ue(
4232
+ for (let o = 0; o < l.length; o += 1)
4233
+ l[o].c();
4234
+ r = _e(), a && a.c(), i = _e(), n = Y("cashier-video-modal"), ee(t, "class", "CashierVerificationsWrapper"), ue(
4233
4235
  n,
4234
4236
  "clientstylingurl",
4235
4237
  /*clientstylingurl*/
@@ -4252,29 +4254,29 @@ function zt(e) {
4252
4254
  );
4253
4255
  },
4254
4256
  m(o, u) {
4255
- oe(o, t, u);
4256
- for (let l = 0; l < h.length; l += 1)
4257
- h[l] && h[l].m(t, null);
4258
- oe(o, r, u), a && a.m(o, u), oe(o, i, u), oe(o, n, 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);
4259
4261
  },
4260
4262
  p(o, u) {
4261
4263
  if (u[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
4262
4264
  1072) {
4263
- s = Ht(
4265
+ s = Ot(
4264
4266
  /*displayMessages*/
4265
4267
  o[4]
4266
4268
  );
4267
- let l;
4268
- for (l = 0; l < s.length; l += 1) {
4269
- const d = jt(o, s, l);
4270
- h[l] ? h[l].p(d, u) : (h[l] = Wt(d), h[l].c(), h[l].m(t, null));
4269
+ let h;
4270
+ for (h = 0; h < s.length; h += 1) {
4271
+ const c = zt(o, s, h);
4272
+ l[h] ? l[h].p(c, u) : (l[h] = qt(c), l[h].c(), l[h].m(t, null));
4271
4273
  }
4272
- for (; l < h.length; l += 1)
4273
- h[l].d(1);
4274
- h.length = s.length;
4274
+ for (; h < l.length; h += 1)
4275
+ l[h].d(1);
4276
+ l.length = s.length;
4275
4277
  }
4276
4278
  /*videoExists*/
4277
- o[7] ? a ? a.p(o, u) : (a = qt(o), a.c(), a.m(i.parentNode, i)) : a && (a.d(1), a = null), u[0] & /*clientstylingurl*/
4279
+ o[7] ? a ? a.p(o, u) : (a = Yt(o), a.c(), a.m(i.parentNode, i)) : a && (a.d(1), a = null), u[0] & /*clientstylingurl*/
4278
4280
  2 && ue(
4279
4281
  n,
4280
4282
  "clientstylingurl",
@@ -4301,74 +4303,74 @@ function zt(e) {
4301
4303
  );
4302
4304
  },
4303
4305
  d(o) {
4304
- o && (re(t), re(r), re(i), re(n)), Lr(h, o), a && a.d(o);
4306
+ o && (ie(t), ie(r), ie(i), ie(n)), Nr(l, o), a && a.d(o);
4305
4307
  }
4306
4308
  };
4307
4309
  }
4308
- function Xt(e) {
4310
+ function Wt(e) {
4309
4311
  let t, r, i;
4310
4312
  function n(...s) {
4311
4313
  return (
4312
4314
  /*click_handler*/
4313
- e[18](
4315
+ e[19](
4314
4316
  /*index*/
4315
- e[53],
4317
+ e[54],
4316
4318
  ...s
4317
4319
  )
4318
4320
  );
4319
4321
  }
4320
4322
  return {
4321
4323
  c() {
4322
- t = Y("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', J(t, "class", "CashierVerificationChevron");
4324
+ t = Y("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', ee(t, "class", "CashierVerificationChevron");
4323
4325
  },
4324
- m(s, h) {
4325
- oe(s, t, h), r || (i = vt(t, "click", n), r = !0);
4326
+ m(s, l) {
4327
+ ae(s, t, l), r || (i = yt(t, "click", n), r = !0);
4326
4328
  },
4327
- p(s, h) {
4329
+ p(s, l) {
4328
4330
  e = s;
4329
4331
  },
4330
4332
  d(s) {
4331
- s && re(t), r = !1, i();
4333
+ s && ie(t), r = !1, i();
4332
4334
  }
4333
4335
  };
4334
4336
  }
4335
- function Wt(e) {
4337
+ function qt(e) {
4336
4338
  let t, r, i, n, s = (
4337
4339
  /*message*/
4338
- e[51] + ""
4339
- ), h, a, o, u, l = (
4340
+ e[52] + ""
4341
+ ), l, a, o, u, h = (
4340
4342
  /*displayMessages*/
4341
4343
  e[4].length > 1 && /*index*/
4342
- e[53] === 0 && Xt(e)
4344
+ e[54] === 0 && Wt(e)
4343
4345
  );
4344
- function d(...p) {
4346
+ function c(...p) {
4345
4347
  return (
4346
4348
  /*click_handler_1*/
4347
- e[19](
4349
+ e[20](
4348
4350
  /*index*/
4349
- e[53],
4351
+ e[54],
4350
4352
  ...p
4351
4353
  )
4352
4354
  );
4353
4355
  }
4354
4356
  return {
4355
4357
  c() {
4356
- t = Y("div"), r = Y("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = xe(), n = Y("p"), h = xe(), l && l.c(), a = xe(), J(r, "class", "IconVerification"), J(n, "class", "text"), J(t, "class", "CashierVerificationMessage"), Ee(
4358
+ t = Y("div"), r = Y("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = _e(), n = Y("p"), l = _e(), h && h.c(), a = _e(), ee(r, "class", "IconVerification"), ee(n, "class", "text"), ee(t, "class", "CashierVerificationMessage"), Ee(
4357
4359
  t,
4358
4360
  "ShowAll",
4359
4361
  /*allVerificationsVisible*/
4360
4362
  e[5]
4361
4363
  );
4362
4364
  },
4363
- m(p, x) {
4364
- oe(p, t, x), te(t, r), te(t, i), te(t, n), n.innerHTML = s, te(t, h), l && l.m(t, null), te(t, a), o || (u = vt(t, "click", d), o = !0);
4365
+ m(p, _) {
4366
+ ae(p, t, _), te(t, r), te(t, i), te(t, n), n.innerHTML = s, te(t, l), h && h.m(t, null), te(t, a), o || (u = yt(t, "click", c), o = !0);
4365
4367
  },
4366
- p(p, x) {
4367
- e = p, x[0] & /*displayMessages*/
4368
+ p(p, _) {
4369
+ e = p, _[0] & /*displayMessages*/
4368
4370
  16 && s !== (s = /*message*/
4369
- e[51] + "") && (n.innerHTML = s), /*displayMessages*/
4371
+ e[52] + "") && (n.innerHTML = s), /*displayMessages*/
4370
4372
  e[4].length > 1 && /*index*/
4371
- e[53] === 0 ? l ? l.p(e, x) : (l = Xt(e), l.c(), l.m(t, a)) : l && (l.d(1), l = null), x[0] & /*allVerificationsVisible*/
4373
+ e[54] === 0 ? h ? h.p(e, _) : (h = Wt(e), h.c(), h.m(t, a)) : h && (h.d(1), h = null), _[0] & /*allVerificationsVisible*/
4372
4374
  32 && Ee(
4373
4375
  t,
4374
4376
  "ShowAll",
@@ -4377,36 +4379,36 @@ function Wt(e) {
4377
4379
  );
4378
4380
  },
4379
4381
  d(p) {
4380
- p && re(t), l && l.d(), o = !1, u();
4382
+ p && ie(t), h && h.d(), o = !1, u();
4381
4383
  }
4382
4384
  };
4383
4385
  }
4384
- function qt(e) {
4386
+ function Yt(e) {
4385
4387
  let t, r, i, n, s = (
4386
4388
  /*$_*/
4387
4389
  e[9]("verification.video.how-to") + ""
4388
- ), h, a, o;
4390
+ ), l, a, o;
4389
4391
  return {
4390
4392
  c() {
4391
- t = Y("div"), r = Y("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = xe(), n = Y("div"), h = bt(s), J(r, "class", "IconVideo"), J(n, "class", "CashierVerificationVideoLink"), Ee(
4393
+ t = Y("div"), r = Y("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = _e(), n = Y("div"), l = bt(s), ee(r, "class", "IconVideo"), ee(n, "class", "CashierVerificationVideoLink"), Ee(
4392
4394
  n,
4393
4395
  "CashierVerificationVideoLinkDesktop",
4394
4396
  /*desktopView*/
4395
4397
  e[6]
4396
- ), J(t, "class", "CashierVerificationVideo");
4398
+ ), ee(t, "class", "CashierVerificationVideo");
4397
4399
  },
4398
- m(u, l) {
4399
- oe(u, t, l), te(t, r), te(t, i), te(t, n), te(n, h), a || (o = vt(
4400
+ m(u, h) {
4401
+ ae(u, t, h), te(t, r), te(t, i), te(t, n), te(n, l), a || (o = yt(
4400
4402
  n,
4401
4403
  "click",
4402
4404
  /*click_handler_2*/
4403
- e[20]
4405
+ e[21]
4404
4406
  ), a = !0);
4405
4407
  },
4406
- p(u, l) {
4407
- l[0] & /*$_*/
4408
+ p(u, h) {
4409
+ h[0] & /*$_*/
4408
4410
  512 && s !== (s = /*$_*/
4409
- u[9]("verification.video.how-to") + "") && Nr(h, s), l[0] & /*desktopView*/
4411
+ u[9]("verification.video.how-to") + "") && kr(l, s), h[0] & /*desktopView*/
4410
4412
  64 && Ee(
4411
4413
  n,
4412
4414
  "CashierVerificationVideoLinkDesktop",
@@ -4415,18 +4417,18 @@ function qt(e) {
4415
4417
  );
4416
4418
  },
4417
4419
  d(u) {
4418
- u && re(t), a = !1, o();
4420
+ u && ie(t), a = !1, o();
4419
4421
  }
4420
4422
  };
4421
4423
  }
4422
- function Zn(e) {
4424
+ function Qn(e) {
4423
4425
  let t, r = (
4424
4426
  /*displayMessages*/
4425
- e[4] && zt(e)
4427
+ e[4] && Xt(e)
4426
4428
  );
4427
4429
  return {
4428
4430
  c() {
4429
- t = Y("div"), r && r.c(), J(t, "class", "CashierVerifications"), Ee(
4431
+ t = Y("div"), r && r.c(), ee(t, "class", "CashierVerifications"), Ee(
4430
4432
  t,
4431
4433
  "CashierVerificationsDesktop",
4432
4434
  /*desktopView*/
@@ -4434,11 +4436,11 @@ function Zn(e) {
4434
4436
  );
4435
4437
  },
4436
4438
  m(i, n) {
4437
- oe(i, t, n), r && r.m(t, null), e[21](t);
4439
+ ae(i, t, n), r && r.m(t, null), e[22](t);
4438
4440
  },
4439
4441
  p(i, n) {
4440
4442
  /*displayMessages*/
4441
- i[4] ? r ? r.p(i, n) : (r = zt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null), n[0] & /*desktopView*/
4443
+ i[4] ? r ? r.p(i, n) : (r = Xt(i), r.c(), r.m(t, null)) : r && (r.d(1), r = null), n[0] & /*desktopView*/
4442
4444
  64 && Ee(
4443
4445
  t,
4444
4446
  "CashierVerificationsDesktop",
@@ -4446,237 +4448,228 @@ function Zn(e) {
4446
4448
  i[6]
4447
4449
  );
4448
4450
  },
4449
- i: Z,
4450
- o: Z,
4451
+ i: K,
4452
+ o: K,
4451
4453
  d(i) {
4452
- i && re(t), r && r.d(), e[21](null);
4454
+ i && ie(t), r && r.d(), e[22](null);
4453
4455
  }
4454
4456
  };
4455
4457
  }
4456
- const Jn = "verification_explanation_video_widgets.MP4";
4457
- function Qn(e, t, r) {
4458
+ const Kn = "verification_explanation_video_widgets.MP4";
4459
+ function es(e, t, r) {
4458
4460
  let i, n;
4459
- St(e, Gn, (f) => r(9, i = f)), St(e, zn, (f) => r(27, n = f)), Gt.extend(qn);
4460
- let { endpoint: s } = t, { lang: h = "en" } = t, { translationurl: a = "" } = t, { clientstyling: o = "" } = t, { clientstylingurl: u = "" } = t, { session: l = "" } = t, { customerid: d = "" } = t, { ismobileview: p = "" } = t, x, H = /* @__PURE__ */ new Set(), b = /* @__PURE__ */ new Set(), B, U, F, M = !0, W = !0, N = !1, k = "";
4461
- var j;
4461
+ Tt(e, zn, (f) => r(9, i = f)), Tt(e, Wn, (f) => r(28, n = f)), jt.extend(Zn);
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, S, v = /* @__PURE__ */ new Set(), M = /* @__PURE__ */ new Set(), U, R, $, j = !0, I = !0, k = !1, X = "";
4463
+ var Z;
4462
4464
  (function(f) {
4463
4465
  f.Manual = "Manual", f.ShuftiPro = "ShuftiPro";
4464
- })(j || (j = {}));
4465
- var ie;
4466
+ })(Z || (Z = {}));
4467
+ var W;
4466
4468
  (function(f) {
4467
4469
  f.Requested = "Requested";
4468
- })(ie || (ie = {}));
4469
- var L;
4470
+ })(W || (W = {}));
4471
+ var A;
4470
4472
  (function(f) {
4471
4473
  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";
4472
- })(L || (L = {}));
4473
- var C;
4474
+ })(A || (A = {}));
4475
+ var O;
4474
4476
  (function(f) {
4475
4477
  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";
4476
- })(C || (C = {}));
4477
- const O = [
4478
- L.InProgress,
4479
- L.Referred,
4480
- L.AwaitingForResponse
4481
- ], pe = () => {
4478
+ })(O || (O = {}));
4479
+ const pe = [
4480
+ A.InProgress,
4481
+ A.Referred,
4482
+ A.AwaitingForResponse
4483
+ ], ke = () => {
4482
4484
  let f = a;
4483
4485
  if (f)
4484
4486
  return fetch(f).then((y) => y.json()).then((y) => {
4485
- Object.keys(y).forEach((S) => {
4486
- Ft(S, y[S]);
4487
+ Object.keys(y).forEach((T) => {
4488
+ Vt(T, y[T]);
4487
4489
  });
4488
4490
  }).catch((y) => {
4489
4491
  console.log(y);
4490
4492
  });
4491
4493
  };
4492
- Object.keys(Vt).forEach((f) => {
4493
- Ft(f, Vt[f]);
4494
+ Object.keys(Gt).forEach((f) => {
4495
+ Vt(f, Gt[f]);
4494
4496
  });
4495
- const ke = () => {
4496
- jn(h);
4497
- }, _ = () => {
4498
- let f = document.createElement("style");
4499
- f.innerHTML = o, x.appendChild(f);
4497
+ const x = () => {
4498
+ Xn(l);
4500
4499
  }, g = () => {
4500
+ let f = document.createElement("style");
4501
+ f.innerHTML = o, S.appendChild(f);
4502
+ }, d = () => {
4501
4503
  let f = new URL(u), y = document.createElement("style");
4502
- fetch(f.href).then((S) => S.text()).then((S) => {
4503
- y.innerHTML = S, setTimeout(
4504
+ fetch(f.href).then((T) => T.text()).then((T) => {
4505
+ y.innerHTML = T, setTimeout(
4504
4506
  () => {
4505
- x.appendChild(y);
4507
+ S.appendChild(y);
4506
4508
  },
4507
4509
  1
4508
4510
  );
4509
4511
  });
4510
- }, c = () => {
4511
- const { merchantId: f, customerId: y } = m();
4512
- if (!f)
4513
- return;
4514
- const S = new URL(`${s}/v1/player/verification/GetKYCStatus`), q = new Headers();
4515
- q.append("accept", "application/json"), q.append("Content-Type", "application/json"), q.append("X-Client-Request-Timestamp", Gt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4516
- const Je = {
4512
+ }, b = () => {
4513
+ r(18, R = E());
4514
+ const f = new URL(`${s}/v1/player/${c}/verification/GetKYCCustomerStatus?language=${l}`), y = new Headers();
4515
+ y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("x-sessionid", `${_}`), y.append("X-Client-Request-Timestamp", jt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4516
+ const T = {
4517
4517
  method: "POST",
4518
- headers: q,
4519
- body: JSON.stringify({
4520
- MerchantId: f,
4521
- CustomerId: y,
4522
- All: !1,
4523
- AllParameters: !1
4524
- })
4518
+ headers: y,
4519
+ body: JSON.stringify({})
4525
4520
  };
4526
- fetch(S, Je).then((ge) => ge.json()).then((ge) => {
4527
- r(17, U = ge.StaticCdnUrl + "/cashier/operator-assets/" + f), B = E(ge.Verifications), B.VerificationStatuses.forEach((K) => {
4528
- K.VerificationUrlType !== "Widget" && H.add(K.Vendor);
4529
- }), r(4, F = z());
4521
+ fetch(f, T).then((J) => J.json()).then((J) => {
4522
+ U = w(J.Verifications), U.VerificationStatuses.forEach((Ue) => {
4523
+ Ue.VerificationUrlType !== "Widget" && v.add(Ue.Vendor);
4524
+ }), r(4, $ = ne());
4530
4525
  });
4531
- }, v = () => {
4532
- n && c();
4533
4526
  }, m = () => {
4534
- let f = (l || n).split(".")[1];
4527
+ n && b();
4528
+ }, E = () => {
4529
+ let f = (h || n).split(".")[1];
4535
4530
  if (f) {
4536
4531
  let y = JSON.parse(atob(f));
4537
- return {
4538
- merchantId: y?.mid,
4539
- customerId: `${y?.mid}~${d}`
4540
- };
4532
+ return y.cdn + "/cashier/operator-assets/" + y?.mid;
4541
4533
  }
4542
- return { merchantId: null, customerId: null };
4543
- }, E = (f) => {
4534
+ return "";
4535
+ }, w = (f) => {
4544
4536
  if (!f || !f.length)
4545
4537
  return {
4546
- VerificationSummaryStatus: L.Unverified,
4538
+ VerificationSummaryStatus: A.Unverified,
4547
4539
  VerificationStatuses: []
4548
4540
  };
4549
- const y = I(f);
4541
+ const y = N(f);
4550
4542
  if (y && y.length) {
4551
- const S = w(y);
4543
+ const T = B(y);
4552
4544
  return {
4553
- VerificationSummaryStatus: S.Status,
4554
- VerificationUrl: S.Flags?.DeferredUrlKey,
4555
- VerificationStatuses: $(y, S.Status)
4545
+ VerificationSummaryStatus: T.Status,
4546
+ VerificationUrl: T.Flags?.DeferredUrlKey,
4547
+ VerificationStatuses: C(y, T.Status)
4556
4548
  };
4557
4549
  } else
4558
4550
  return {
4559
- VerificationSummaryStatus: f.some((q) => q.Status === L.Failed) ? L.Failed : L.Verified,
4560
- VerificationStatuses: $(f, [L.Failed])
4551
+ VerificationSummaryStatus: f.some((J) => J.Status === A.Failed) ? A.Failed : A.Verified,
4552
+ VerificationStatuses: C(f, [A.Failed])
4561
4553
  };
4562
- }, w = (f) => f.reduce(
4563
- (y, S) => y ? new Date(y) < new Date(S) ? S : y : S,
4554
+ }, B = (f) => f.reduce(
4555
+ (y, T) => y ? new Date(y) < new Date(T) ? T : y : T,
4564
4556
  0
4565
- ), $ = (f, y) => f.filter((S) => y.includes(S.Status)).map((S) => ({
4566
- Type: S.Type,
4567
- Vendor: S.VendorName,
4568
- VerificationDocuments: S.Documents ? [...Object.values(S.Documents)] : [],
4569
- VerificationUrlType: S.Flags?.DeferredUrlTypeKey,
4570
- VerificationUrl: S.Flags?.DeferredUrlKey
4571
- })), I = (f) => f.filter((y) => O.includes(y.Status) ? y.Flags && y.Flags.DeferredUrlKey || R(y) || V(y) : !1), R = (f) => {
4572
- const y = f.Documents && f.VendorName === j.Manual, S = Object.values(f.Documents).some((q) => q.Status === ie.Requested);
4573
- return y && S;
4574
- }, V = (f) => f.VendorName === j.ShuftiPro && f.Status === L.Referred, z = () => {
4575
- switch (B.VerificationSummaryStatus) {
4576
- case L.InProgress:
4557
+ ), C = (f, y) => f.filter((T) => y.includes(T.Status)).map((T) => ({
4558
+ Type: T.Type,
4559
+ Vendor: T.VendorName,
4560
+ VerificationDocuments: T.Documents ? [...T.Documents] : [],
4561
+ VerificationUrlType: T.FlowInfo?.Type,
4562
+ VerificationUrl: T.FlowInfo?.Url
4563
+ })), N = (f) => f.filter((y) => pe.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || F(y) || z(y) : !1), F = (f) => {
4564
+ const y = f.Documents && f.VendorName === Z.Manual, T = f.Documents && f.Documents.some((J) => J.Status === W.Requested);
4565
+ return y && T;
4566
+ }, z = (f) => f.VendorName === Z.ShuftiPro && f.Status === A.Referred, ne = () => {
4567
+ switch (U.VerificationSummaryStatus) {
4568
+ case A.InProgress:
4577
4569
  const f = [];
4578
- return H.forEach((y) => {
4579
- f.push(ae(y));
4570
+ return v.forEach((y) => {
4571
+ f.push(se(y));
4580
4572
  }), f;
4581
- case L.Referred:
4573
+ case A.Referred:
4582
4574
  return [i("verification.idenfy.referred-awaiting")];
4583
- case L.Failed:
4575
+ case A.Failed:
4584
4576
  return [i("verification.message.failed")];
4585
4577
  }
4586
- }, ae = (f) => {
4587
- const y = B.VerificationStatuses.filter((S) => S.Vendor === f);
4588
- if (f === j.ShuftiPro)
4589
- return ne(y);
4578
+ }, se = (f) => {
4579
+ const y = U.VerificationStatuses.filter((T) => T.Vendor === f);
4580
+ if (f === Z.ShuftiPro)
4581
+ return fe(y);
4590
4582
  {
4591
- const S = i("verification.idenfy.link-name"), q = {
4592
- link: `<a href="${y[0].VerificationUrl}" target="_blank">${S}</a>`
4583
+ const T = i("verification.idenfy.link-name"), J = {
4584
+ link: `<a href="${y[0].VerificationUrl}" target="_blank">${T}</a>`
4593
4585
  };
4594
- return i("verification.idenfy.in-progress", { values: q });
4586
+ return i("verification.idenfy.in-progress", { values: J });
4595
4587
  }
4596
- }, ne = (f) => {
4597
- const y = [], S = {}, q = [
4598
- C.Biometric,
4599
- C.Documents,
4600
- C.ProofOfAddress
4588
+ }, fe = (f) => {
4589
+ const y = [], T = {}, J = [
4590
+ O.Biometric,
4591
+ O.Documents,
4592
+ O.ProofOfAddress
4601
4593
  ];
4602
- f.forEach((K) => {
4603
- q.includes(K.Type) && (y.push(K.Type), S[K.Type] = fe(K, se(K.Type)));
4594
+ f.forEach((de) => {
4595
+ J.includes(de.Type) && (y.push(de.Type), T[de.Type] = oe(de, V(de.Type)));
4604
4596
  });
4605
- let Je = y.every((K) => b.has(K)), ge = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4606
- return Je ? i("verification.shuftipro.validations-started") : i(ge, { values: S });
4607
- }, fe = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, se = (f) => i(`verification.shuftipro.link-name.${f}`), G = (f, y) => {
4597
+ let Ue = y.every((de) => M.has(de)), Mr = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4598
+ return Ue ? i("verification.shuftipro.validations-started") : i(Mr, { values: T });
4599
+ }, oe = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, V = (f) => i(`verification.shuftipro.link-name.${f}`), q = (f, y) => {
4608
4600
  if (f.stopPropagation(), f.target && (f.target.href || f.target.closest("a"))) {
4609
4601
  if (f.target.closest(".verificationLink")) {
4610
- const S = f.target.className.split(" ")[1];
4611
- b.add(S), r(4, F = z());
4602
+ const T = f.target.className.split(" ")[1];
4603
+ M.add(T), r(4, $ = ne());
4612
4604
  }
4613
4605
  return;
4614
4606
  }
4615
- y === 0 && r(5, M = !M);
4616
- }, Q = () => {
4617
- r(6, W = p === "false");
4607
+ y === 0 && r(5, j = !j);
4618
4608
  }, ce = () => {
4619
- r(8, k = U + "/" + h + "/" + Jn);
4609
+ r(6, I = p === "false");
4610
+ }, ge = () => {
4611
+ r(8, X = R + "/" + l + "/" + Kn);
4620
4612
  try {
4621
- fetch(k, { method: "HEAD" }).then((f) => {
4622
- r(7, N = f.ok);
4613
+ fetch(X, { method: "HEAD" }).then((f) => {
4614
+ r(7, k = f.ok);
4623
4615
  });
4624
4616
  } catch {
4625
- r(7, N = !1);
4617
+ r(7, k = !1);
4626
4618
  }
4627
- }, de = () => {
4619
+ }, wt = () => {
4628
4620
  window.postMessage({ type: "ShowCashierVideoModal" }, window.location.href);
4629
- }, Pr = (f, y) => G(y, f), Ar = (f, y) => G(y, f), Or = () => de();
4630
- function $r(f) {
4631
- st[f ? "unshift" : "push"](() => {
4632
- x = f, r(3, x);
4621
+ }, Pr = (f, y) => q(y, f), Ar = (f, y) => q(y, f), $r = () => wt();
4622
+ function Br(f) {
4623
+ ot[f ? "unshift" : "push"](() => {
4624
+ S = f, r(3, S);
4633
4625
  });
4634
4626
  }
4635
4627
  return e.$$set = (f) => {
4636
- "endpoint" in f && r(12, s = f.endpoint), "lang" in f && r(13, h = 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, l = f.session), "customerid" in f && r(16, d = f.customerid), "ismobileview" in f && r(2, p = f.ismobileview);
4628
+ "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);
4637
4629
  }, e.$$.update = () => {
4638
4630
  e.$$.dirty[0] & /*lang*/
4639
- 8192 && h && ke(), e.$$.dirty[0] & /*endpoint, session*/
4640
- 36864 && s && l && c(), e.$$.dirty[0] & /*endpoint, session*/
4641
- 36864 && s && !l && v(), e.$$.dirty[0] & /*translationurl*/
4642
- 16384 && a && pe(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4643
- 9 && o && x && _(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4644
- 10 && u && x && g(), e.$$.dirty[0] & /*ismobileview*/
4645
- 4 && p && Q(), e.$$.dirty[0] & /*staticCdnUrl*/
4646
- 131072 && U && ce();
4631
+ 8192 && l && x(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4632
+ 167936 && s && h && _ && b(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4633
+ 167936 && s && !h && _ && m(), e.$$.dirty[0] & /*translationurl*/
4634
+ 16384 && a && ke(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4635
+ 9 && o && S && g(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4636
+ 10 && u && S && d(), e.$$.dirty[0] & /*ismobileview*/
4637
+ 4 && p && ce(), e.$$.dirty[0] & /*staticCdnUrl*/
4638
+ 262144 && R && ge();
4647
4639
  }, [
4648
4640
  o,
4649
4641
  u,
4650
4642
  p,
4651
- x,
4652
- F,
4653
- M,
4654
- W,
4655
- N,
4643
+ S,
4644
+ $,
4645
+ j,
4646
+ I,
4656
4647
  k,
4648
+ X,
4657
4649
  i,
4658
- G,
4659
- de,
4650
+ q,
4651
+ wt,
4660
4652
  s,
4661
- h,
4662
- a,
4663
4653
  l,
4664
- d,
4665
- U,
4654
+ a,
4655
+ h,
4656
+ c,
4657
+ _,
4658
+ R,
4666
4659
  Pr,
4667
4660
  Ar,
4668
- Or,
4669
- $r
4661
+ $r,
4662
+ Br
4670
4663
  ];
4671
4664
  }
4672
- class Kn extends Jr {
4665
+ class ts extends Kr {
4673
4666
  constructor(t) {
4674
- super(), Yr(
4667
+ super(), Jr(
4675
4668
  this,
4676
4669
  t,
4670
+ es,
4677
4671
  Qn,
4678
- Zn,
4679
- Zt,
4672
+ Jt,
4680
4673
  {
4681
4674
  endpoint: 12,
4682
4675
  lang: 13,
@@ -4685,9 +4678,10 @@ class Kn extends Jr {
4685
4678
  clientstylingurl: 1,
4686
4679
  session: 15,
4687
4680
  customerid: 16,
4688
- ismobileview: 2
4681
+ ismobileview: 2,
4682
+ playersession: 17
4689
4683
  },
4690
- Yn,
4684
+ Jn,
4691
4685
  [-1, -1]
4692
4686
  );
4693
4687
  }
@@ -4695,72 +4689,78 @@ class Kn extends Jr {
4695
4689
  return this.$$.ctx[12];
4696
4690
  }
4697
4691
  set endpoint(t) {
4698
- this.$$set({ endpoint: t }), ee();
4692
+ this.$$set({ endpoint: t }), Q();
4699
4693
  }
4700
4694
  get lang() {
4701
4695
  return this.$$.ctx[13];
4702
4696
  }
4703
4697
  set lang(t) {
4704
- this.$$set({ lang: t }), ee();
4698
+ this.$$set({ lang: t }), Q();
4705
4699
  }
4706
4700
  get translationurl() {
4707
4701
  return this.$$.ctx[14];
4708
4702
  }
4709
4703
  set translationurl(t) {
4710
- this.$$set({ translationurl: t }), ee();
4704
+ this.$$set({ translationurl: t }), Q();
4711
4705
  }
4712
4706
  get clientstyling() {
4713
4707
  return this.$$.ctx[0];
4714
4708
  }
4715
4709
  set clientstyling(t) {
4716
- this.$$set({ clientstyling: t }), ee();
4710
+ this.$$set({ clientstyling: t }), Q();
4717
4711
  }
4718
4712
  get clientstylingurl() {
4719
4713
  return this.$$.ctx[1];
4720
4714
  }
4721
4715
  set clientstylingurl(t) {
4722
- this.$$set({ clientstylingurl: t }), ee();
4716
+ this.$$set({ clientstylingurl: t }), Q();
4723
4717
  }
4724
4718
  get session() {
4725
4719
  return this.$$.ctx[15];
4726
4720
  }
4727
4721
  set session(t) {
4728
- this.$$set({ session: t }), ee();
4722
+ this.$$set({ session: t }), Q();
4729
4723
  }
4730
4724
  get customerid() {
4731
4725
  return this.$$.ctx[16];
4732
4726
  }
4733
4727
  set customerid(t) {
4734
- this.$$set({ customerid: t }), ee();
4728
+ this.$$set({ customerid: t }), Q();
4735
4729
  }
4736
4730
  get ismobileview() {
4737
4731
  return this.$$.ctx[2];
4738
4732
  }
4739
4733
  set ismobileview(t) {
4740
- this.$$set({ ismobileview: t }), ee();
4734
+ this.$$set({ ismobileview: t }), Q();
4735
+ }
4736
+ get playersession() {
4737
+ return this.$$.ctx[17];
4738
+ }
4739
+ set playersession(t) {
4740
+ this.$$set({ playersession: t }), Q();
4741
4741
  }
4742
4742
  }
4743
- Zr(Kn, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {} }, [], [], !0);
4743
+ Qr(ts, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {} }, [], [], !0);
4744
4744
  export {
4745
- Kn as C,
4746
- Jr as S,
4747
- Mr as a,
4748
- oe as b,
4749
- Zr as c,
4750
- re as d,
4751
- rs as e,
4752
- ee as f,
4753
- Y as g,
4754
- xe as h,
4755
- Yr as i,
4756
- es as j,
4757
- J as k,
4758
- te as l,
4759
- ts as m,
4760
- Z as n,
4761
- is as o,
4762
- vt as p,
4763
- st as q,
4764
- Zt as s,
4745
+ ts as C,
4746
+ Kr as S,
4747
+ Dr as a,
4748
+ ae as b,
4749
+ Qr as c,
4750
+ ie as d,
4751
+ ns as e,
4752
+ Q as f,
4753
+ rs as g,
4754
+ ee as h,
4755
+ Jr as i,
4756
+ te as j,
4757
+ Y as k,
4758
+ _e as l,
4759
+ ot as m,
4760
+ K as n,
4761
+ ss as o,
4762
+ yt as p,
4763
+ is as q,
4764
+ Jt as s,
4765
4765
  Ee as t
4766
4766
  };