@everymatrix/cashier-verifications 1.74.1 → 1.74.3

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,28 +1,28 @@
1
1
  function ee() {
2
2
  }
3
- function Zt(e) {
3
+ function Yt(e) {
4
4
  return e();
5
5
  }
6
- function Tt() {
6
+ function St() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function Ie(e) {
10
- e.forEach(Zt);
9
+ function Le(e) {
10
+ e.forEach(Yt);
11
11
  }
12
- function bt(e) {
12
+ function gt(e) {
13
13
  return typeof e == "function";
14
14
  }
15
- function Jt(e, t) {
15
+ function Zt(e, t) {
16
16
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
17
  }
18
- let Fe;
19
- function us(e, t) {
20
- return e === t ? !0 : (Fe || (Fe = document.createElement("a")), Fe.href = t, e === Fe.href);
18
+ let Ue;
19
+ function as(e, t) {
20
+ return e === t ? !0 : (Ue || (Ue = document.createElement("a")), Ue.href = t, e === Ue.href);
21
21
  }
22
- function Cr(e) {
22
+ function Mr(e) {
23
23
  return Object.keys(e).length === 0;
24
24
  }
25
- function Qt(e, ...t) {
25
+ function Jt(e, ...t) {
26
26
  if (e == null) {
27
27
  for (const i of t)
28
28
  i(void 0);
@@ -31,20 +31,20 @@ function Qt(e, ...t) {
31
31
  const r = e.subscribe(...t);
32
32
  return r.unsubscribe ? () => r.unsubscribe() : r;
33
33
  }
34
- function Ht(e, t, r) {
35
- e.$$.on_destroy.push(Qt(t, r));
34
+ function Tt(e, t, r) {
35
+ e.$$.on_destroy.push(Jt(t, r));
36
36
  }
37
37
  function ne(e, t) {
38
38
  e.appendChild(t);
39
39
  }
40
- function Dr(e, t, r) {
41
- const i = Lr(e);
40
+ function Cr(e, t, r) {
41
+ const i = Dr(e);
42
42
  if (!i.getElementById(t)) {
43
43
  const n = q("style");
44
- n.id = t, n.textContent = r, Ir(i, n);
44
+ n.id = t, n.textContent = r, Lr(i, n);
45
45
  }
46
46
  }
47
- function Lr(e) {
47
+ function Dr(e) {
48
48
  if (!e)
49
49
  return document;
50
50
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -54,39 +54,39 @@ function Lr(e) {
54
54
  t
55
55
  ) : e.ownerDocument;
56
56
  }
57
- function Ir(e, t) {
57
+ function Lr(e, t) {
58
58
  return ne(
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 se(e, t, r) {
65
65
  e.insertBefore(t, r || null);
66
66
  }
67
67
  function K(e) {
68
68
  e.parentNode && e.parentNode.removeChild(e);
69
69
  }
70
- function Nr(e, t) {
70
+ function Ir(e, t) {
71
71
  for (let r = 0; r < e.length; r += 1)
72
72
  e[r] && e[r].d(t);
73
73
  }
74
74
  function q(e) {
75
75
  return document.createElement(e);
76
76
  }
77
- function ls(e) {
77
+ function us(e) {
78
78
  return document.createElementNS("http://www.w3.org/2000/svg", e);
79
79
  }
80
- function yt(e) {
80
+ function bt(e) {
81
81
  return document.createTextNode(e);
82
82
  }
83
- function xe() {
84
- return yt(" ");
83
+ function _e() {
84
+ return bt(" ");
85
85
  }
86
- function hs() {
87
- return yt("");
86
+ function ls() {
87
+ return bt("");
88
88
  }
89
- function _t(e, t, r, i) {
89
+ function vt(e, t, r, i) {
90
90
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
91
91
  }
92
92
  function te(e, t, r) {
@@ -96,17 +96,17 @@ function J(e, t, r) {
96
96
  const i = t.toLowerCase();
97
97
  i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : te(e, t, r);
98
98
  }
99
- function Rr(e) {
99
+ function Nr(e) {
100
100
  return Array.from(e.childNodes);
101
101
  }
102
- function kr(e, t) {
102
+ function Rr(e, t) {
103
103
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
104
104
  t);
105
105
  }
106
- function we(e, t, r) {
106
+ function Ee(e, t, r) {
107
107
  e.classList.toggle(t, !!r);
108
108
  }
109
- function Ur(e) {
109
+ function kr(e) {
110
110
  const t = {};
111
111
  return e.childNodes.forEach(
112
112
  /** @param {Element} node */
@@ -115,90 +115,90 @@ function Ur(e) {
115
115
  }
116
116
  ), t;
117
117
  }
118
- let Ce;
119
- function Me(e) {
120
- Ce = e;
118
+ let Me;
119
+ function $e(e) {
120
+ Me = e;
121
121
  }
122
- function Fr() {
123
- if (!Ce)
122
+ function Ur() {
123
+ if (!Me)
124
124
  throw new Error("Function called outside component initialization");
125
- return Ce;
125
+ return Me;
126
126
  }
127
- function Vr(e) {
128
- Fr().$$.on_mount.push(e);
127
+ function Fr(e) {
128
+ Ur().$$.on_mount.push(e);
129
129
  }
130
- const _e = [], at = [];
131
- let Ee = [];
132
- const Ot = [], Gr = /* @__PURE__ */ Promise.resolve();
133
- let ut = !1;
134
- function jr() {
135
- ut || (ut = !0, Gr.then(Z));
130
+ const ye = [], st = [];
131
+ let xe = [];
132
+ const Ht = [], Vr = /* @__PURE__ */ Promise.resolve();
133
+ let ot = !1;
134
+ function Gr() {
135
+ ot || (ot = !0, Vr.then(Z));
136
136
  }
137
- function lt(e) {
138
- Ee.push(e);
137
+ function at(e) {
138
+ xe.push(e);
139
139
  }
140
- const et = /* @__PURE__ */ new Set();
140
+ const Qe = /* @__PURE__ */ new Set();
141
141
  let be = 0;
142
142
  function Z() {
143
143
  if (be !== 0)
144
144
  return;
145
- const e = Ce;
145
+ const e = Me;
146
146
  do {
147
147
  try {
148
- for (; be < _e.length; ) {
149
- const t = _e[be];
150
- be++, Me(t), zr(t.$$);
148
+ for (; be < ye.length; ) {
149
+ const t = ye[be];
150
+ be++, $e(t), jr(t.$$);
151
151
  }
152
152
  } catch (t) {
153
- throw _e.length = 0, be = 0, t;
153
+ throw ye.length = 0, be = 0, t;
154
154
  }
155
- for (Me(null), _e.length = 0, be = 0; at.length; )
156
- at.pop()();
157
- for (let t = 0; t < Ee.length; t += 1) {
158
- const r = Ee[t];
159
- et.has(r) || (et.add(r), r());
155
+ for ($e(null), ye.length = 0, be = 0; st.length; )
156
+ st.pop()();
157
+ for (let t = 0; t < xe.length; t += 1) {
158
+ const r = xe[t];
159
+ Qe.has(r) || (Qe.add(r), r());
160
160
  }
161
- Ee.length = 0;
162
- } while (_e.length);
163
- for (; Ot.length; )
164
- Ot.pop()();
165
- ut = !1, et.clear(), Me(e);
161
+ xe.length = 0;
162
+ } while (ye.length);
163
+ for (; Ht.length; )
164
+ Ht.pop()();
165
+ ot = !1, Qe.clear(), $e(e);
166
166
  }
167
- function zr(e) {
167
+ function jr(e) {
168
168
  if (e.fragment !== null) {
169
- e.update(), Ie(e.before_update);
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(lt);
171
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(at);
172
172
  }
173
173
  }
174
- function Xr(e) {
174
+ function zr(e) {
175
175
  const t = [], r = [];
176
- Ee.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), Ee = 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 Wr = /* @__PURE__ */ new Set();
179
- function qr(e, t) {
180
- e && e.i && (Wr.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
182
  function Pt(e) {
183
183
  return e?.length !== void 0 ? e : Array.from(e);
184
184
  }
185
- function Yr(e, t, r) {
185
+ function qr(e, t, r) {
186
186
  const { fragment: i, after_update: n } = e.$$;
187
- i && i.m(t, r), lt(() => {
188
- const s = e.$$.on_mount.map(Zt).filter(bt);
189
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Ie(s), e.$$.on_mount = [];
190
- }), n.forEach(lt);
187
+ i && i.m(t, r), at(() => {
188
+ const s = e.$$.on_mount.map(Yt).filter(gt);
189
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : Le(s), e.$$.on_mount = [];
190
+ }), n.forEach(at);
191
191
  }
192
- function Zr(e, t) {
192
+ function Yr(e, t) {
193
193
  const r = e.$$;
194
- r.fragment !== null && (Xr(r.after_update), Ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
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 Jr(e, t) {
197
- e.$$.dirty[0] === -1 && (_e.push(e), jr(), 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 Qr(e, t, r, i, n, s, a = null, u = [-1]) {
200
- const o = Ce;
201
- Me(e);
199
+ function Jr(e, t, r, i, n, s, o = null, u = [-1]) {
200
+ const a = Me;
201
+ $e(e);
202
202
  const l = e.$$ = {
203
203
  fragment: null,
204
204
  ctx: [],
@@ -206,37 +206,37 @@ function Qr(e, t, r, i, n, s, a = null, u = [-1]) {
206
206
  props: s,
207
207
  update: ee,
208
208
  not_equal: n,
209
- bound: Tt(),
209
+ bound: St(),
210
210
  // lifecycle
211
211
  on_mount: [],
212
212
  on_destroy: [],
213
213
  on_disconnect: [],
214
214
  before_update: [],
215
215
  after_update: [],
216
- context: new Map(t.context || (o ? o.$$.context : [])),
216
+ context: new Map(t.context || (a ? a.$$.context : [])),
217
217
  // everything else
218
- callbacks: Tt(),
218
+ callbacks: St(),
219
219
  dirty: u,
220
220
  skip_bound: !1,
221
- root: t.target || o.$$.root
221
+ root: t.target || a.$$.root
222
222
  };
223
- a && a(l.root);
223
+ o && o(l.root);
224
224
  let h = !1;
225
225
  if (l.ctx = r ? r(e, t.props || {}, (c, p, ..._) => {
226
226
  const S = _.length ? _[0] : p;
227
- return l.ctx && n(l.ctx[c], l.ctx[c] = S) && (!l.skip_bound && l.bound[c] && l.bound[c](S), h && Jr(e, c)), p;
228
- }) : [], l.update(), h = !0, Ie(l.before_update), l.fragment = i ? i(l.ctx) : !1, t.target) {
227
+ return l.ctx && n(l.ctx[c], l.ctx[c] = S) && (!l.skip_bound && l.bound[c] && l.bound[c](S), h && Zr(e, c)), p;
228
+ }) : [], l.update(), h = !0, Le(l.before_update), l.fragment = i ? i(l.ctx) : !1, t.target) {
229
229
  if (t.hydrate) {
230
- const c = Rr(t.target);
230
+ const c = Nr(t.target);
231
231
  l.fragment && l.fragment.l(c), c.forEach(K);
232
232
  } else
233
233
  l.fragment && l.fragment.c();
234
- t.intro && qr(e.$$.fragment), Yr(e, t.target, t.anchor), Z();
234
+ t.intro && Wr(e.$$.fragment), qr(e, t.target, t.anchor), Z();
235
235
  }
236
- Me(o);
236
+ $e(a);
237
237
  }
238
- let Kt;
239
- typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
238
+ let Qt;
239
+ typeof HTMLElement == "function" && (Qt = class extends HTMLElement {
240
240
  /** The Svelte component constructor */
241
241
  $$ctor;
242
242
  /** Slots */
@@ -284,23 +284,23 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
284
284
  * @param {HTMLElement} target
285
285
  * @param {HTMLElement} [anchor]
286
286
  */
287
- m: function(o, l) {
288
- oe(o, s, l);
287
+ m: function(a, l) {
288
+ se(a, s, l);
289
289
  },
290
- d: function(o) {
291
- o && K(s);
290
+ d: function(a) {
291
+ a && K(s);
292
292
  }
293
293
  };
294
294
  };
295
295
  };
296
296
  if (await Promise.resolve(), !this.$$cn || this.$$c)
297
297
  return;
298
- const t = {}, r = Ur(this);
298
+ const t = {}, r = kr(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] = Ge(s, n.value, this.$$p_d, "toProp"));
303
+ s in this.$$d || (this.$$d[s] = Ve(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" && (Kt = 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 = Ge(
321
+ const s = Ve(
322
322
  n,
323
323
  this.$$d[n],
324
324
  this.$$p_d,
@@ -331,8 +331,8 @@ typeof HTMLElement == "function" && (Kt = 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 a = this.$$c.$on(n, s);
335
- this.$$l_u.set(s, a);
334
+ const o = this.$$c.$on(n, s);
335
+ this.$$l_u.set(s, o);
336
336
  }
337
337
  this.$$l = {};
338
338
  }
@@ -340,7 +340,7 @@ typeof HTMLElement == "function" && (Kt = 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] = Ge(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
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] }));
344
344
  }
345
345
  disconnectedCallback() {
346
346
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -353,7 +353,7 @@ typeof HTMLElement == "function" && (Kt = class extends HTMLElement {
353
353
  ) || e;
354
354
  }
355
355
  });
356
- function Ge(e, t, r, i) {
356
+ function Ve(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 Ge(e, t, r, i) {
382
382
  return t;
383
383
  }
384
384
  }
385
- function Kr(e, t, r, i, n, s) {
386
- let a = class extends Kt {
385
+ function Qr(e, t, r, i, n, s) {
386
+ let o = class extends Qt {
387
387
  constructor() {
388
388
  super(e, r, n), this.$$p_d = t;
389
389
  }
@@ -394,24 +394,24 @@ function Kr(e, t, r, i, n, s) {
394
394
  }
395
395
  };
396
396
  return Object.keys(t).forEach((u) => {
397
- Object.defineProperty(a.prototype, u, {
397
+ Object.defineProperty(o.prototype, u, {
398
398
  get() {
399
399
  return this.$$c && u in this.$$c ? this.$$c[u] : this.$$d[u];
400
400
  },
401
- set(o) {
402
- o = Ge(u, o, t), this.$$d[u] = o, this.$$c?.$set({ [u]: o });
401
+ set(a) {
402
+ a = Ve(u, a, t), this.$$d[u] = a, this.$$c?.$set({ [u]: a });
403
403
  }
404
404
  });
405
405
  }), i.forEach((u) => {
406
- Object.defineProperty(a.prototype, u, {
406
+ Object.defineProperty(o.prototype, u, {
407
407
  get() {
408
408
  return this.$$c?.[u];
409
409
  }
410
410
  });
411
411
  }), e.element = /** @type {any} */
412
- a, a;
412
+ o, o;
413
413
  }
414
- class ei {
414
+ class Kr {
415
415
  /**
416
416
  * ### PRIVATE API
417
417
  *
@@ -430,7 +430,7 @@ class ei {
430
430
  $$set = void 0;
431
431
  /** @returns {void} */
432
432
  $destroy() {
433
- Zr(this, 1), this.$destroy = ee;
433
+ Yr(this, 1), this.$destroy = ee;
434
434
  }
435
435
  /**
436
436
  * @template {Extract<keyof Events, string>} K
@@ -439,7 +439,7 @@ class ei {
439
439
  * @returns {() => void}
440
440
  */
441
441
  $on(t, r) {
442
- if (!bt(r))
442
+ if (!gt(r))
443
443
  return ee;
444
444
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
445
445
  return i.push(r), () => {
@@ -452,175 +452,189 @@ class ei {
452
452
  * @returns {void}
453
453
  */
454
454
  $set(t) {
455
- this.$$set && !Cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
455
+ this.$$set && !Mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
456
456
  }
457
457
  }
458
- const ti = "4";
459
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ti);
460
- const ye = [];
461
- function ri(e, t) {
458
+ const ei = "4";
459
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ei);
460
+ const ve = [];
461
+ function ti(e, t) {
462
462
  return {
463
- subscribe: Ne(e, t).subscribe
463
+ subscribe: Ie(e, t).subscribe
464
464
  };
465
465
  }
466
- function Ne(e, t = ee) {
466
+ function Ie(e, t = ee) {
467
467
  let r;
468
468
  const i = /* @__PURE__ */ new Set();
469
469
  function n(u) {
470
- if (Jt(e, u) && (e = u, r)) {
471
- const o = !ye.length;
470
+ if (Zt(e, u) && (e = u, r)) {
471
+ const a = !ve.length;
472
472
  for (const l of i)
473
- l[1](), ye.push(l, e);
474
- if (o) {
475
- for (let l = 0; l < ye.length; l += 2)
476
- ye[l][0](ye[l + 1]);
477
- ye.length = 0;
473
+ l[1](), ve.push(l, e);
474
+ if (a) {
475
+ for (let l = 0; l < ve.length; l += 2)
476
+ ve[l][0](ve[l + 1]);
477
+ ve.length = 0;
478
478
  }
479
479
  }
480
480
  }
481
481
  function s(u) {
482
482
  n(u(e));
483
483
  }
484
- function a(u, o = ee) {
485
- const l = [u, o];
484
+ function o(u, a = ee) {
485
+ const l = [u, a];
486
486
  return i.add(l), i.size === 1 && (r = t(n, s) || ee), u(e), () => {
487
487
  i.delete(l), i.size === 0 && r && (r(), r = null);
488
488
  };
489
489
  }
490
- return { set: n, update: s, subscribe: a };
490
+ return { set: n, update: s, subscribe: o };
491
491
  }
492
492
  function Pe(e, t, r) {
493
493
  const i = !Array.isArray(e), n = i ? [e] : e;
494
494
  if (!n.every(Boolean))
495
495
  throw new Error("derived() expects stores as input, got a falsy value");
496
496
  const s = t.length < 2;
497
- return ri(r, (a, u) => {
498
- let o = !1;
497
+ return ti(r, (o, u) => {
498
+ let a = !1;
499
499
  const l = [];
500
500
  let h = 0, c = ee;
501
501
  const p = () => {
502
502
  if (h)
503
503
  return;
504
504
  c();
505
- const S = t(i ? l[0] : l, a, u);
506
- s ? a(S) : c = bt(S) ? S : ee;
505
+ const S = t(i ? l[0] : l, o, u);
506
+ s ? o(S) : c = gt(S) ? S : ee;
507
507
  }, _ = n.map(
508
- (S, v) => Qt(
508
+ (S, b) => Jt(
509
509
  S,
510
- (B) => {
511
- l[v] = B, h &= ~(1 << v), o && p();
510
+ (M) => {
511
+ l[b] = M, h &= ~(1 << b), a && p();
512
512
  },
513
513
  () => {
514
- h |= 1 << v;
514
+ h |= 1 << b;
515
515
  }
516
516
  )
517
517
  );
518
- return o = !0, p(), function() {
519
- Ie(_), c(), o = !1;
518
+ return a = !0, p(), function() {
519
+ Le(_), c(), a = !1;
520
520
  };
521
521
  });
522
522
  }
523
- var er = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
524
- function xt(e) {
523
+ var Kt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
524
+ function yt(e) {
525
525
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
526
526
  }
527
- var ii = function(t) {
528
- return ni(t) && !si(t);
527
+ var ri = function(t) {
528
+ return ii(t) && !ni(t);
529
529
  };
530
- function ni(e) {
530
+ function ii(e) {
531
531
  return !!e && typeof e == "object";
532
532
  }
533
- function si(e) {
533
+ function ni(e) {
534
534
  var t = Object.prototype.toString.call(e);
535
- return t === "[object RegExp]" || t === "[object Date]" || ui(e);
535
+ return t === "[object RegExp]" || t === "[object Date]" || ai(e);
536
536
  }
537
- var oi = typeof Symbol == "function" && Symbol.for, ai = oi ? Symbol.for("react.element") : 60103;
538
- function ui(e) {
539
- return e.$$typeof === ai;
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 li(e) {
541
+ function ui(e) {
542
542
  return Array.isArray(e) ? [] : {};
543
543
  }
544
- function De(e, t) {
545
- return t.clone !== !1 && t.isMergeableObject(e) ? Se(li(e), e, t) : e;
544
+ function Ce(e, t) {
545
+ return t.clone !== !1 && t.isMergeableObject(e) ? we(ui(e), e, t) : e;
546
546
  }
547
- function hi(e, t, r) {
547
+ function li(e, t, r) {
548
548
  return e.concat(t).map(function(i) {
549
- return De(i, r);
549
+ return Ce(i, r);
550
550
  });
551
551
  }
552
- function fi(e, t) {
552
+ function hi(e, t) {
553
553
  if (!t.customMerge)
554
- return Se;
554
+ return we;
555
555
  var r = t.customMerge(e);
556
- return typeof r == "function" ? r : Se;
556
+ return typeof r == "function" ? r : we;
557
557
  }
558
- function ci(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
- function At(e) {
564
- return Object.keys(e).concat(ci(e));
563
+ function Ot(e) {
564
+ return Object.keys(e).concat(fi(e));
565
565
  }
566
- function tr(e, t) {
566
+ function er(e, t) {
567
567
  try {
568
568
  return t in e;
569
569
  } catch {
570
570
  return !1;
571
571
  }
572
572
  }
573
- function di(e, t) {
574
- return tr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
573
+ function ci(e, t) {
574
+ return er(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
575
575
  }
576
- function mi(e, t, r) {
576
+ function di(e, t, r) {
577
577
  var i = {};
578
- return r.isMergeableObject(e) && At(e).forEach(function(n) {
579
- i[n] = De(e[n], r);
580
- }), At(t).forEach(function(n) {
581
- di(e, n) || (tr(e, n) && r.isMergeableObject(t[n]) ? i[n] = fi(n, r)(e[n], t[n], r) : i[n] = De(t[n], r));
578
+ return r.isMergeableObject(e) && Ot(e).forEach(function(n) {
579
+ i[n] = Ce(e[n], r);
580
+ }), Ot(t).forEach(function(n) {
581
+ ci(e, n) || (er(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
- function Se(e, t, r) {
585
- r = r || {}, r.arrayMerge = r.arrayMerge || hi, r.isMergeableObject = r.isMergeableObject || ii, r.cloneUnlessOtherwiseSpecified = De;
584
+ function we(e, t, r) {
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) : mi(e, t, r) : De(t, r);
587
+ return s ? i ? r.arrayMerge(e, t, r) : di(e, t, r) : Ce(t, r);
588
588
  }
589
- Se.all = function(t, r) {
589
+ we.all = function(t, r) {
590
590
  if (!Array.isArray(t))
591
591
  throw new Error("first argument should be an array");
592
592
  return t.reduce(function(i, n) {
593
- return Se(i, n, r);
593
+ return we(i, n, r);
594
594
  }, {});
595
595
  };
596
- var pi = Se, gi = pi;
597
- const vi = /* @__PURE__ */ xt(gi);
598
- var ht = function(e, t) {
599
- return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
596
+ var mi = we, pi = mi;
597
+ const gi = /* @__PURE__ */ yt(pi);
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) {
600
614
  r.__proto__ = i;
601
615
  } || function(r, i) {
602
616
  for (var n in i)
603
617
  Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
604
- }, ht(e, t);
618
+ }, ut(e, t);
605
619
  };
606
- function Ze(e, t) {
620
+ function qe(e, t) {
607
621
  if (typeof t != "function" && t !== null)
608
622
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
609
- ht(e, t);
623
+ ut(e, t);
610
624
  function r() {
611
625
  this.constructor = e;
612
626
  }
613
627
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
614
628
  }
615
- var se = function() {
616
- return se = Object.assign || function(t) {
629
+ var A = function() {
630
+ return A = Object.assign || function(t) {
617
631
  for (var r, i = 1, n = arguments.length; i < n; i++) {
618
632
  r = arguments[i];
619
633
  for (var s in r)
620
634
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
621
635
  }
622
636
  return t;
623
- }, se.apply(this, arguments);
637
+ }, A.apply(this, arguments);
624
638
  };
625
639
  function bi(e, t) {
626
640
  var r = {};
@@ -631,43 +645,78 @@ function bi(e, t) {
631
645
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
632
646
  return r;
633
647
  }
634
- function tt(e, t, r) {
648
+ function hs(e) {
649
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
650
+ if (r)
651
+ return r.call(e);
652
+ if (e && typeof e.length == "number")
653
+ return {
654
+ next: function() {
655
+ return e && i >= e.length && (e = void 0), { value: e && e[i++], done: !e };
656
+ }
657
+ };
658
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
659
+ }
660
+ function fs(e, t) {
661
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
662
+ if (!r)
663
+ return e;
664
+ var i = r.call(e), n, s = [], o;
665
+ try {
666
+ for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; )
667
+ s.push(n.value);
668
+ } catch (u) {
669
+ o = { error: u };
670
+ } finally {
671
+ try {
672
+ n && !n.done && (r = i.return) && r.call(i);
673
+ } finally {
674
+ if (o)
675
+ throw o.error;
676
+ }
677
+ }
678
+ return s;
679
+ }
680
+ function Ke(e, t, r) {
635
681
  if (r || arguments.length === 2)
636
682
  for (var i = 0, n = t.length, s; i < n; i++)
637
683
  (s || !(i in t)) && (s || (s = Array.prototype.slice.call(t, 0, i)), s[i] = t[i]);
638
- return e.concat(s || Array.prototype.slice.call(t));
684
+ return e.concat(s || t);
639
685
  }
640
- function rt(e, t) {
641
- var r = t && t.cache ? t.cache : Ti, i = t && t.serializer ? t.serializer : wi, n = t && t.strategy ? t.strategy : xi;
686
+ function et(e, t) {
687
+ var r = t && t.cache ? t.cache : Si, i = t && t.serializer ? t.serializer : Ei, n = t && t.strategy ? t.strategy : yi;
642
688
  return n(e, {
643
689
  cache: r,
644
690
  serializer: i
645
691
  });
646
692
  }
647
- function yi(e) {
693
+ function vi(e) {
648
694
  return e == null || typeof e == "number" || typeof e == "boolean";
649
695
  }
650
- function _i(e, t, r, i) {
651
- var n = yi(i) ? i : r(i), s = t.get(n);
696
+ function tr(e, t, r, i) {
697
+ var n = vi(i) ? i : r(i), s = t.get(n);
652
698
  return typeof s > "u" && (s = e.call(this, i), t.set(n, s)), s;
653
699
  }
654
700
  function rr(e, t, r) {
655
701
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), s = t.get(n);
656
702
  return typeof s > "u" && (s = e.apply(this, i), t.set(n, s)), s;
657
703
  }
658
- function ir(e, t, r, i, n) {
704
+ function _t(e, t, r, i, n) {
659
705
  return r.bind(t, e, i, n);
660
706
  }
661
- function xi(e, t) {
662
- var r = e.length === 1 ? _i : rr;
663
- return ir(e, this, r, t.cache.create(), t.serializer);
707
+ function yi(e, t) {
708
+ var r = e.length === 1 ? tr : rr;
709
+ return _t(e, this, r, t.cache.create(), t.serializer);
710
+ }
711
+ function _i(e, t) {
712
+ return _t(e, this, rr, t.cache.create(), t.serializer);
664
713
  }
665
- function Ei(e, t) {
666
- return ir(e, this, rr, t.cache.create(), t.serializer);
714
+ function xi(e, t) {
715
+ return _t(e, this, tr, t.cache.create(), t.serializer);
667
716
  }
668
- var wi = function() {
717
+ var Ei = function() {
669
718
  return JSON.stringify(arguments);
670
- }, Si = (
719
+ }, wi = (
671
720
  /** @class */
672
721
  function() {
673
722
  function e() {
@@ -679,69 +728,60 @@ var wi = function() {
679
728
  this.cache[t] = r;
680
729
  }, e;
681
730
  }()
682
- ), Ti = {
731
+ ), Si = {
683
732
  create: function() {
684
- return new Si();
733
+ return new wi();
685
734
  }
686
- }, it = {
687
- variadic: Ei
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;
735
+ }, tt = {
736
+ variadic: _i,
737
+ monadic: xi
738
+ }, H;
699
739
  (function(e) {
700
740
  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";
701
741
  })(H || (H = {}));
702
- var C;
742
+ var D;
703
743
  (function(e) {
704
744
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
705
- })(C || (C = {}));
706
- var Te;
745
+ })(D || (D = {}));
746
+ var Se;
707
747
  (function(e) {
708
748
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
709
- })(Te || (Te = {}));
710
- function $t(e) {
711
- return e.type === C.literal;
749
+ })(Se || (Se = {}));
750
+ function At(e) {
751
+ return e.type === D.literal;
712
752
  }
713
- function Hi(e) {
714
- return e.type === C.argument;
753
+ function Ti(e) {
754
+ return e.type === D.argument;
755
+ }
756
+ function ir(e) {
757
+ return e.type === D.number;
715
758
  }
716
759
  function nr(e) {
717
- return e.type === C.number;
760
+ return e.type === D.date;
718
761
  }
719
762
  function sr(e) {
720
- return e.type === C.date;
763
+ return e.type === D.time;
721
764
  }
722
765
  function or(e) {
723
- return e.type === C.time;
766
+ return e.type === D.select;
724
767
  }
725
768
  function ar(e) {
726
- return e.type === C.select;
769
+ return e.type === D.plural;
727
770
  }
728
- function ur(e) {
729
- return e.type === C.plural;
771
+ function Hi(e) {
772
+ return e.type === D.pound;
730
773
  }
731
- function Oi(e) {
732
- return e.type === C.pound;
774
+ function ur(e) {
775
+ return e.type === D.tag;
733
776
  }
734
777
  function lr(e) {
735
- return e.type === C.tag;
736
- }
737
- function hr(e) {
738
- return !!(e && typeof e == "object" && e.type === Te.number);
778
+ return !!(e && typeof e == "object" && e.type === Se.number);
739
779
  }
740
- function ft(e) {
741
- return !!(e && typeof e == "object" && e.type === Te.dateTime);
780
+ function lt(e) {
781
+ return !!(e && typeof e == "object" && e.type === Se.dateTime);
742
782
  }
743
- var fr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
744
- function Ai(e) {
783
+ var hr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pi = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
784
+ function Oi(e) {
745
785
  var t = {};
746
786
  return e.replace(Pi, function(r) {
747
787
  var i = r.length;
@@ -832,46 +872,36 @@ function Ai(e) {
832
872
  return "";
833
873
  }), t;
834
874
  }
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 $i = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
875
+ var Ai = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
846
876
  function Bi(e) {
847
877
  if (e.length === 0)
848
878
  throw new Error("Number skeleton cannot be empty");
849
- for (var t = e.split($i).filter(function(p) {
879
+ for (var t = e.split(Ai).filter(function(p) {
850
880
  return p.length > 0;
851
881
  }), r = [], i = 0, n = t; i < n.length; i++) {
852
- var s = n[i], a = s.split("/");
853
- if (a.length === 0)
882
+ var s = n[i], o = s.split("/");
883
+ if (o.length === 0)
854
884
  throw new Error("Invalid number skeleton");
855
- for (var u = a[0], o = a.slice(1), l = 0, h = o; l < h.length; l++) {
885
+ for (var u = o[0], a = o.slice(1), l = 0, h = a; l < h.length; l++) {
856
886
  var c = h[l];
857
887
  if (c.length === 0)
858
888
  throw new Error("Invalid number skeleton");
859
889
  }
860
- r.push({ stem: u, options: o });
890
+ r.push({ stem: u, options: a });
861
891
  }
862
892
  return r;
863
893
  }
864
- function Mi(e) {
894
+ function $i(e) {
865
895
  return e.replace(/^(.*?)-/, "");
866
896
  }
867
- var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, cr = /^(@+)?(\+|#+)?[rs]?$/g, Ci = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
868
- function Mt(e) {
897
+ var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, fr = /^(@+)?(\+|#+)?[rs]?$/g, Mi = /(\*)(0+)|(#+)(0+)|(0+)/g, cr = /^(0+)$/;
898
+ function $t(e) {
869
899
  var t = {};
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) {
900
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(fr, function(r, i, n) {
871
901
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
872
902
  }), t;
873
903
  }
874
- function mr(e) {
904
+ function dr(e) {
875
905
  switch (e) {
876
906
  case "sign-auto":
877
907
  return {
@@ -911,7 +941,7 @@ function mr(e) {
911
941
  };
912
942
  }
913
943
  }
914
- function Di(e) {
944
+ function Ci(e) {
915
945
  var t;
916
946
  if (e[0] === "E" && e[1] === "E" ? (t = {
917
947
  notation: "engineering"
@@ -919,17 +949,17 @@ function Di(e) {
919
949
  notation: "scientific"
920
950
  }, e = e.slice(1)), t) {
921
951
  var r = e.slice(0, 2);
922
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
952
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !cr.test(e))
923
953
  throw new Error("Malformed concise eng/scientific notation");
924
954
  t.minimumIntegerDigits = e.length;
925
955
  }
926
956
  return t;
927
957
  }
928
- function Ct(e) {
929
- var t = {}, r = mr(e);
958
+ function Mt(e) {
959
+ var t = {}, r = dr(e);
930
960
  return r || t;
931
961
  }
932
- function Li(e) {
962
+ function Di(e) {
933
963
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
934
964
  var n = i[r];
935
965
  switch (n.stem) {
@@ -953,7 +983,7 @@ function Li(e) {
953
983
  continue;
954
984
  case "measure-unit":
955
985
  case "unit":
956
- t.style = "unit", t.unit = Mi(n.options[0]);
986
+ t.style = "unit", t.unit = $i(n.options[0]);
957
987
  continue;
958
988
  case "compact-short":
959
989
  case "K":
@@ -964,13 +994,13 @@ function Li(e) {
964
994
  t.notation = "compact", t.compactDisplay = "long";
965
995
  continue;
966
996
  case "scientific":
967
- t = L(L(L({}, t), { notation: "scientific" }), n.options.reduce(function(o, l) {
968
- return L(L({}, o), Ct(l));
997
+ t = A(A(A({}, t), { notation: "scientific" }), n.options.reduce(function(a, l) {
998
+ return A(A({}, a), Mt(l));
969
999
  }, {}));
970
1000
  continue;
971
1001
  case "engineering":
972
- t = L(L(L({}, t), { notation: "engineering" }), n.options.reduce(function(o, l) {
973
- return L(L({}, o), Ct(l));
1002
+ t = A(A(A({}, t), { notation: "engineering" }), n.options.reduce(function(a, l) {
1003
+ return A(A({}, a), Mt(l));
974
1004
  }, {}));
975
1005
  continue;
976
1006
  case "notation-simple":
@@ -1015,7 +1045,7 @@ function Li(e) {
1015
1045
  case "integer-width":
1016
1046
  if (n.options.length > 1)
1017
1047
  throw new RangeError("integer-width stems only accept a single optional option");
1018
- n.options[0].replace(Ci, function(o, l, h, c, p, _) {
1048
+ n.options[0].replace(Mi, function(a, l, h, c, p, _) {
1019
1049
  if (l)
1020
1050
  t.minimumIntegerDigits = h.length;
1021
1051
  else {
@@ -1028,32 +1058,32 @@ function Li(e) {
1028
1058
  });
1029
1059
  continue;
1030
1060
  }
1031
- if (dr.test(n.stem)) {
1061
+ if (cr.test(n.stem)) {
1032
1062
  t.minimumIntegerDigits = n.stem.length;
1033
1063
  continue;
1034
1064
  }
1035
1065
  if (Bt.test(n.stem)) {
1036
1066
  if (n.options.length > 1)
1037
1067
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1038
- n.stem.replace(Bt, function(o, l, h, c, p, _) {
1068
+ n.stem.replace(Bt, function(a, l, h, c, p, _) {
1039
1069
  return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : p && _ ? (t.minimumFractionDigits = p.length, t.maximumFractionDigits = p.length + _.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1040
1070
  });
1041
1071
  var s = n.options[0];
1042
- s === "w" ? t = L(L({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = L(L({}, t), Mt(s)));
1072
+ s === "w" ? t = A(A({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = A(A({}, t), $t(s)));
1043
1073
  continue;
1044
1074
  }
1045
- if (cr.test(n.stem)) {
1046
- t = L(L({}, t), Mt(n.stem));
1075
+ if (fr.test(n.stem)) {
1076
+ t = A(A({}, t), $t(n.stem));
1047
1077
  continue;
1048
1078
  }
1049
- var a = mr(n.stem);
1050
- a && (t = L(L({}, t), a));
1051
- var u = Di(n.stem);
1052
- u && (t = L(L({}, t), u));
1079
+ var o = dr(n.stem);
1080
+ o && (t = A(A({}, t), o));
1081
+ var u = Ci(n.stem);
1082
+ u && (t = A(A({}, t), u));
1053
1083
  }
1054
1084
  return t;
1055
1085
  }
1056
- var Ve = {
1086
+ var Fe = {
1057
1087
  "001": [
1058
1088
  "H",
1059
1089
  "h"
@@ -2468,23 +2498,23 @@ var Ve = {
2468
2498
  "h"
2469
2499
  ]
2470
2500
  };
2471
- function Ii(e, t) {
2501
+ function Li(e, t) {
2472
2502
  for (var r = "", i = 0; i < e.length; i++) {
2473
2503
  var n = e.charAt(i);
2474
2504
  if (n === "j") {
2475
2505
  for (var s = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2476
2506
  s++, i++;
2477
- var a = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), o = "a", l = Ni(t);
2507
+ var o = 1 + (s & 1), u = s < 2 ? 1 : 3 + (s >> 1), a = "a", l = Ii(t);
2478
2508
  for ((l == "H" || l == "k") && (u = 0); u-- > 0; )
2479
- r += o;
2480
- for (; a-- > 0; )
2509
+ r += a;
2510
+ for (; o-- > 0; )
2481
2511
  r = l + r;
2482
2512
  } else
2483
2513
  n === "J" ? r += "H" : r += n;
2484
2514
  }
2485
2515
  return r;
2486
2516
  }
2487
- function Ni(e) {
2517
+ function Ii(e) {
2488
2518
  var t = e.hourCycle;
2489
2519
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2490
2520
  e.hourCycles && // @ts-ignore
@@ -2503,23 +2533,23 @@ function Ni(e) {
2503
2533
  }
2504
2534
  var r = e.language, i;
2505
2535
  r !== "root" && (i = e.maximize().region);
2506
- var n = Ve[i || ""] || Ve[r || ""] || Ve["".concat(r, "-001")] || Ve["001"];
2536
+ var n = Fe[i || ""] || Fe[r || ""] || Fe["".concat(r, "-001")] || Fe["001"];
2507
2537
  return n[0];
2508
2538
  }
2509
- var nt, Ri = new RegExp("^".concat(fr.source, "*")), ki = new RegExp("".concat(fr.source, "*$"));
2510
- function O(e, t) {
2539
+ var rt, Ni = new RegExp("^".concat(hr.source, "*")), Ri = new RegExp("".concat(hr.source, "*$"));
2540
+ function P(e, t) {
2511
2541
  return { start: e, end: t };
2512
2542
  }
2513
- var Ui = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fi = !!String.fromCodePoint, Vi = !!Object.fromEntries, Gi = !!String.prototype.codePointAt, ji = !!String.prototype.trimStart, zi = !!String.prototype.trimEnd, Xi = !!Number.isSafeInteger, Wi = Xi ? Number.isSafeInteger : function(e) {
2543
+ 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) {
2514
2544
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2515
- }, ct = !0;
2545
+ }, ht = !0;
2516
2546
  try {
2517
- var qi = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2518
- ct = ((nt = qi.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
2547
+ var Wi = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2548
+ ht = ((rt = Wi.exec("a")) === null || rt === void 0 ? void 0 : rt[0]) === "a";
2519
2549
  } catch {
2520
- ct = !1;
2550
+ ht = !1;
2521
2551
  }
2522
- var Dt = Ui ? (
2552
+ var Ct = ki ? (
2523
2553
  // Native
2524
2554
  function(t, r, i) {
2525
2555
  return t.startsWith(r, i);
@@ -2529,31 +2559,31 @@ var Dt = Ui ? (
2529
2559
  function(t, r, i) {
2530
2560
  return t.slice(i, i + r.length) === r;
2531
2561
  }
2532
- ), dt = Fi ? String.fromCodePoint : (
2562
+ ), ft = Ui ? String.fromCodePoint : (
2533
2563
  // IE11
2534
2564
  function() {
2535
2565
  for (var t = [], r = 0; r < arguments.length; r++)
2536
2566
  t[r] = arguments[r];
2537
- for (var i = "", n = t.length, s = 0, a; n > s; ) {
2538
- if (a = t[s++], a > 1114111)
2539
- throw RangeError(a + " is not a valid code point");
2540
- i += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2567
+ for (var i = "", n = t.length, s = 0, o; n > s; ) {
2568
+ if (o = t[s++], o > 1114111)
2569
+ throw RangeError(o + " is not a valid code point");
2570
+ i += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2541
2571
  }
2542
2572
  return i;
2543
2573
  }
2544
- ), Lt = (
2574
+ ), Dt = (
2545
2575
  // native
2546
- Vi ? Object.fromEntries : (
2576
+ Fi ? Object.fromEntries : (
2547
2577
  // Ponyfill
2548
2578
  function(t) {
2549
2579
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
2550
- var s = n[i], a = s[0], u = s[1];
2551
- r[a] = u;
2580
+ var s = n[i], o = s[0], u = s[1];
2581
+ r[o] = u;
2552
2582
  }
2553
2583
  return r;
2554
2584
  }
2555
2585
  )
2556
- ), pr = Gi ? (
2586
+ ), mr = Vi ? (
2557
2587
  // Native
2558
2588
  function(t, r) {
2559
2589
  return t.codePointAt(r);
@@ -2567,7 +2597,7 @@ var Dt = Ui ? (
2567
2597
  return n < 55296 || n > 56319 || r + 1 === i || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? n : (n - 55296 << 10) + (s - 56320) + 65536;
2568
2598
  }
2569
2599
  }
2570
- ), Yi = ji ? (
2600
+ ), qi = Gi ? (
2571
2601
  // Native
2572
2602
  function(t) {
2573
2603
  return t.trimStart();
@@ -2575,9 +2605,9 @@ var Dt = Ui ? (
2575
2605
  ) : (
2576
2606
  // Ponyfill
2577
2607
  function(t) {
2578
- return t.replace(Ri, "");
2608
+ return t.replace(Ni, "");
2579
2609
  }
2580
- ), Zi = zi ? (
2610
+ ), Yi = ji ? (
2581
2611
  // Native
2582
2612
  function(t) {
2583
2613
  return t.trimEnd();
@@ -2585,32 +2615,32 @@ var Dt = Ui ? (
2585
2615
  ) : (
2586
2616
  // Ponyfill
2587
2617
  function(t) {
2588
- return t.replace(ki, "");
2618
+ return t.replace(Ri, "");
2589
2619
  }
2590
2620
  );
2591
- function gr(e, t) {
2621
+ function pr(e, t) {
2592
2622
  return new RegExp(e, t);
2593
2623
  }
2594
- var mt;
2595
- if (ct) {
2596
- var It = gr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2597
- mt = function(t, r) {
2624
+ var ct;
2625
+ if (ht) {
2626
+ var Lt = pr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2627
+ ct = function(t, r) {
2598
2628
  var i;
2599
- It.lastIndex = r;
2600
- var n = It.exec(t);
2629
+ Lt.lastIndex = r;
2630
+ var n = Lt.exec(t);
2601
2631
  return (i = n[1]) !== null && i !== void 0 ? i : "";
2602
2632
  };
2603
2633
  } else
2604
- mt = function(t, r) {
2634
+ ct = function(t, r) {
2605
2635
  for (var i = []; ; ) {
2606
- var n = pr(t, r);
2607
- if (n === void 0 || vr(n) || en(n))
2636
+ var n = mr(t, r);
2637
+ if (n === void 0 || gr(n) || Ki(n))
2608
2638
  break;
2609
2639
  i.push(n), r += n >= 65536 ? 2 : 1;
2610
2640
  }
2611
- return dt.apply(void 0, i);
2641
+ return ft.apply(void 0, i);
2612
2642
  };
2613
- var Ji = (
2643
+ var Zi = (
2614
2644
  /** @class */
2615
2645
  function() {
2616
2646
  function e(t, r) {
@@ -2624,33 +2654,33 @@ var Ji = (
2624
2654
  for (var n = []; !this.isEOF(); ) {
2625
2655
  var s = this.char();
2626
2656
  if (s === 123) {
2627
- var a = this.parseArgument(t, i);
2628
- if (a.err)
2629
- return a;
2630
- n.push(a.val);
2657
+ var o = this.parseArgument(t, i);
2658
+ if (o.err)
2659
+ return o;
2660
+ n.push(o.val);
2631
2661
  } else {
2632
2662
  if (s === 125 && t > 0)
2633
2663
  break;
2634
2664
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2635
2665
  var u = this.clonePosition();
2636
2666
  this.bump(), n.push({
2637
- type: C.pound,
2638
- location: O(u, this.clonePosition())
2667
+ type: D.pound,
2668
+ location: P(u, this.clonePosition())
2639
2669
  });
2640
2670
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2641
2671
  if (i)
2642
2672
  break;
2643
- return this.error(H.UNMATCHED_CLOSING_TAG, O(this.clonePosition(), this.clonePosition()));
2644
- } else if (s === 60 && !this.ignoreTag && pt(this.peek() || 0)) {
2645
- var a = this.parseTag(t, r);
2646
- if (a.err)
2647
- return a;
2648
- n.push(a.val);
2673
+ return this.error(H.UNMATCHED_CLOSING_TAG, P(this.clonePosition(), this.clonePosition()));
2674
+ } else if (s === 60 && !this.ignoreTag && dt(this.peek() || 0)) {
2675
+ var o = this.parseTag(t, r);
2676
+ if (o.err)
2677
+ return o;
2678
+ n.push(o.val);
2649
2679
  } else {
2650
- var a = this.parseLiteral(t, r);
2651
- if (a.err)
2652
- return a;
2653
- n.push(a.val);
2680
+ var o = this.parseLiteral(t, r);
2681
+ if (o.err)
2682
+ return o;
2683
+ n.push(o.val);
2654
2684
  }
2655
2685
  }
2656
2686
  }
@@ -2662,9 +2692,9 @@ var Ji = (
2662
2692
  if (this.bumpSpace(), this.bumpIf("/>"))
2663
2693
  return {
2664
2694
  val: {
2665
- type: C.literal,
2695
+ type: D.literal,
2666
2696
  value: "<".concat(n, "/>"),
2667
- location: O(i, this.clonePosition())
2697
+ location: P(i, this.clonePosition())
2668
2698
  },
2669
2699
  err: null
2670
2700
  };
@@ -2672,27 +2702,27 @@ var Ji = (
2672
2702
  var s = this.parseMessage(t + 1, r, !0);
2673
2703
  if (s.err)
2674
2704
  return s;
2675
- var a = s.val, u = this.clonePosition();
2705
+ var o = s.val, u = this.clonePosition();
2676
2706
  if (this.bumpIf("</")) {
2677
- if (this.isEOF() || !pt(this.char()))
2678
- return this.error(H.INVALID_TAG, O(u, this.clonePosition()));
2679
- var o = this.clonePosition(), l = this.parseTagName();
2680
- return n !== l ? this.error(H.UNMATCHED_CLOSING_TAG, O(o, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2707
+ if (this.isEOF() || !dt(this.char()))
2708
+ return this.error(H.INVALID_TAG, P(u, this.clonePosition()));
2709
+ var a = this.clonePosition(), l = this.parseTagName();
2710
+ return n !== l ? this.error(H.UNMATCHED_CLOSING_TAG, P(a, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2681
2711
  val: {
2682
- type: C.tag,
2712
+ type: D.tag,
2683
2713
  value: n,
2684
- children: a,
2685
- location: O(i, this.clonePosition())
2714
+ children: o,
2715
+ location: P(i, this.clonePosition())
2686
2716
  },
2687
2717
  err: null
2688
- } : this.error(H.INVALID_TAG, O(u, this.clonePosition())));
2718
+ } : this.error(H.INVALID_TAG, P(u, this.clonePosition())));
2689
2719
  } else
2690
- return this.error(H.UNCLOSED_TAG, O(i, this.clonePosition()));
2720
+ return this.error(H.UNCLOSED_TAG, P(i, this.clonePosition()));
2691
2721
  } else
2692
- return this.error(H.INVALID_TAG, O(i, this.clonePosition()));
2722
+ return this.error(H.INVALID_TAG, P(i, this.clonePosition()));
2693
2723
  }, e.prototype.parseTagName = function() {
2694
2724
  var t = this.offset();
2695
- for (this.bump(); !this.isEOF() && Ki(this.char()); )
2725
+ for (this.bump(); !this.isEOF() && Qi(this.char()); )
2696
2726
  this.bump();
2697
2727
  return this.message.slice(t, this.offset());
2698
2728
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2702,9 +2732,9 @@ var Ji = (
2702
2732
  n += s;
2703
2733
  continue;
2704
2734
  }
2705
- var a = this.tryParseUnquoted(t, r);
2706
- if (a) {
2707
- n += a;
2735
+ var o = this.tryParseUnquoted(t, r);
2736
+ if (o) {
2737
+ n += o;
2708
2738
  continue;
2709
2739
  }
2710
2740
  var u = this.tryParseLeftAngleBracket();
@@ -2714,14 +2744,14 @@ var Ji = (
2714
2744
  }
2715
2745
  break;
2716
2746
  }
2717
- var o = O(i, this.clonePosition());
2747
+ var a = P(i, this.clonePosition());
2718
2748
  return {
2719
- val: { type: C.literal, value: n, location: o },
2749
+ val: { type: D.literal, value: n, location: a },
2720
2750
  err: null
2721
2751
  };
2722
2752
  }, e.prototype.tryParseLeftAngleBracket = function() {
2723
2753
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2724
- !Qi(this.peek() || 0)) ? (this.bump(), "<") : null;
2754
+ !Ji(this.peek() || 0)) ? (this.bump(), "<") : null;
2725
2755
  }, e.prototype.tryParseQuote = function(t) {
2726
2756
  if (this.isEOF() || this.char() !== 39)
2727
2757
  return null;
@@ -2755,49 +2785,49 @@ var Ji = (
2755
2785
  r.push(i);
2756
2786
  this.bump();
2757
2787
  }
2758
- return dt.apply(void 0, r);
2788
+ return ft.apply(void 0, r);
2759
2789
  }, e.prototype.tryParseUnquoted = function(t, r) {
2760
2790
  if (this.isEOF())
2761
2791
  return null;
2762
2792
  var i = this.char();
2763
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), dt(i));
2793
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), ft(i));
2764
2794
  }, e.prototype.parseArgument = function(t, r) {
2765
2795
  var i = this.clonePosition();
2766
2796
  if (this.bump(), this.bumpSpace(), this.isEOF())
2767
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(i, this.clonePosition()));
2797
+ return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
2768
2798
  if (this.char() === 125)
2769
- return this.bump(), this.error(H.EMPTY_ARGUMENT, O(i, this.clonePosition()));
2799
+ return this.bump(), this.error(H.EMPTY_ARGUMENT, P(i, this.clonePosition()));
2770
2800
  var n = this.parseIdentifierIfPossible().value;
2771
2801
  if (!n)
2772
- return this.error(H.MALFORMED_ARGUMENT, O(i, this.clonePosition()));
2802
+ return this.error(H.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
2773
2803
  if (this.bumpSpace(), this.isEOF())
2774
- return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(i, this.clonePosition()));
2804
+ return this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition()));
2775
2805
  switch (this.char()) {
2776
2806
  case 125:
2777
2807
  return this.bump(), {
2778
2808
  val: {
2779
- type: C.argument,
2809
+ type: D.argument,
2780
2810
  // value does not include the opening and closing braces.
2781
2811
  value: n,
2782
- location: O(i, this.clonePosition())
2812
+ location: P(i, this.clonePosition())
2783
2813
  },
2784
2814
  err: null
2785
2815
  };
2786
2816
  case 44:
2787
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2817
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(i, this.clonePosition())) : this.parseArgumentOptions(t, r, n, i);
2788
2818
  default:
2789
- return this.error(H.MALFORMED_ARGUMENT, O(i, this.clonePosition()));
2819
+ return this.error(H.MALFORMED_ARGUMENT, P(i, this.clonePosition()));
2790
2820
  }
2791
2821
  }, e.prototype.parseIdentifierIfPossible = function() {
2792
- var t = this.clonePosition(), r = this.offset(), i = mt(this.message, r), n = r + i.length;
2822
+ var t = this.clonePosition(), r = this.offset(), i = ct(this.message, r), n = r + i.length;
2793
2823
  this.bumpTo(n);
2794
- var s = this.clonePosition(), a = O(t, s);
2795
- return { value: i, location: a };
2824
+ var s = this.clonePosition(), o = P(t, s);
2825
+ return { value: i, location: o };
2796
2826
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
2797
- var s, a = this.clonePosition(), u = this.parseIdentifierIfPossible().value, o = this.clonePosition();
2827
+ var s, o = this.clonePosition(), u = this.parseIdentifierIfPossible().value, a = this.clonePosition();
2798
2828
  switch (u) {
2799
2829
  case "":
2800
- return this.error(H.EXPECT_ARGUMENT_TYPE, O(a, o));
2830
+ return this.error(H.EXPECT_ARGUMENT_TYPE, P(o, a));
2801
2831
  case "number":
2802
2832
  case "date":
2803
2833
  case "time": {
@@ -2808,46 +2838,46 @@ var Ji = (
2808
2838
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2809
2839
  if (c.err)
2810
2840
  return c;
2811
- var p = Zi(c.val);
2841
+ var p = Yi(c.val);
2812
2842
  if (p.length === 0)
2813
- return this.error(H.EXPECT_ARGUMENT_STYLE, O(this.clonePosition(), this.clonePosition()));
2814
- var _ = O(h, this.clonePosition());
2843
+ return this.error(H.EXPECT_ARGUMENT_STYLE, P(this.clonePosition(), this.clonePosition()));
2844
+ var _ = P(h, this.clonePosition());
2815
2845
  l = { style: p, styleLocation: _ };
2816
2846
  }
2817
2847
  var S = this.tryParseArgumentClose(n);
2818
2848
  if (S.err)
2819
2849
  return S;
2820
- var v = O(n, this.clonePosition());
2821
- if (l && Dt(l?.style, "::", 0)) {
2822
- var B = Yi(l.style.slice(2));
2850
+ var b = P(n, this.clonePosition());
2851
+ if (l && Ct(l?.style, "::", 0)) {
2852
+ var M = qi(l.style.slice(2));
2823
2853
  if (u === "number") {
2824
- var c = this.parseNumberSkeletonFromString(B, l.styleLocation);
2854
+ var c = this.parseNumberSkeletonFromString(M, l.styleLocation);
2825
2855
  return c.err ? c : {
2826
- val: { type: C.number, value: i, location: v, style: c.val },
2856
+ val: { type: D.number, value: i, location: b, style: c.val },
2827
2857
  err: null
2828
2858
  };
2829
2859
  } else {
2830
- if (B.length === 0)
2831
- return this.error(H.EXPECT_DATE_TIME_SKELETON, v);
2832
- var V = B;
2833
- this.locale && (V = Ii(B, this.locale));
2860
+ if (M.length === 0)
2861
+ return this.error(H.EXPECT_DATE_TIME_SKELETON, b);
2862
+ var V = M;
2863
+ this.locale && (V = Li(M, this.locale));
2834
2864
  var p = {
2835
- type: Te.dateTime,
2865
+ type: Se.dateTime,
2836
2866
  pattern: V,
2837
2867
  location: l.styleLocation,
2838
- parsedOptions: this.shouldParseSkeletons ? Ai(V) : {}
2839
- }, R = u === "date" ? C.date : C.time;
2868
+ parsedOptions: this.shouldParseSkeletons ? Oi(V) : {}
2869
+ }, R = u === "date" ? D.date : D.time;
2840
2870
  return {
2841
- val: { type: R, value: i, location: v, style: p },
2871
+ val: { type: R, value: i, location: b, style: p },
2842
2872
  err: null
2843
2873
  };
2844
2874
  }
2845
2875
  }
2846
2876
  return {
2847
2877
  val: {
2848
- type: u === "number" ? C.number : u === "date" ? C.date : C.time,
2878
+ type: u === "number" ? D.number : u === "date" ? D.date : D.time,
2849
2879
  value: i,
2850
- location: v,
2880
+ location: b,
2851
2881
  style: (s = l?.style) !== null && s !== void 0 ? s : null
2852
2882
  },
2853
2883
  err: null
@@ -2856,14 +2886,14 @@ var Ji = (
2856
2886
  case "plural":
2857
2887
  case "selectordinal":
2858
2888
  case "select": {
2859
- var A = this.clonePosition();
2889
+ var B = this.clonePosition();
2860
2890
  if (this.bumpSpace(), !this.bumpIf(","))
2861
- return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, O(A, Xe({}, A)));
2891
+ return this.error(H.EXPECT_SELECT_ARGUMENT_OPTIONS, P(B, A({}, B)));
2862
2892
  this.bumpSpace();
2863
2893
  var z = this.parseIdentifierIfPossible(), I = 0;
2864
2894
  if (u !== "select" && z.value === "offset") {
2865
2895
  if (!this.bumpIf(":"))
2866
- return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, O(this.clonePosition(), this.clonePosition()));
2896
+ return this.error(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, P(this.clonePosition(), this.clonePosition()));
2867
2897
  this.bumpSpace();
2868
2898
  var c = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, H.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2869
2899
  if (c.err)
@@ -2876,20 +2906,20 @@ var Ji = (
2876
2906
  var S = this.tryParseArgumentClose(n);
2877
2907
  if (S.err)
2878
2908
  return S;
2879
- var W = O(n, this.clonePosition());
2909
+ var W = P(n, this.clonePosition());
2880
2910
  return u === "select" ? {
2881
2911
  val: {
2882
- type: C.select,
2912
+ type: D.select,
2883
2913
  value: i,
2884
- options: Lt(U.val),
2914
+ options: Dt(U.val),
2885
2915
  location: W
2886
2916
  },
2887
2917
  err: null
2888
2918
  } : {
2889
2919
  val: {
2890
- type: C.plural,
2920
+ type: D.plural,
2891
2921
  value: i,
2892
- options: Lt(U.val),
2922
+ options: Dt(U.val),
2893
2923
  offset: I,
2894
2924
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2895
2925
  location: W
@@ -2898,10 +2928,10 @@ var Ji = (
2898
2928
  };
2899
2929
  }
2900
2930
  default:
2901
- return this.error(H.INVALID_ARGUMENT_TYPE, O(a, o));
2931
+ return this.error(H.INVALID_ARGUMENT_TYPE, P(o, a));
2902
2932
  }
2903
2933
  }, e.prototype.tryParseArgumentClose = function(t) {
2904
- return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, O(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2934
+ return this.isEOF() || this.char() !== 125 ? this.error(H.EXPECT_ARGUMENT_CLOSING_BRACE, P(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2905
2935
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2906
2936
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2907
2937
  var i = this.char();
@@ -2910,7 +2940,7 @@ var Ji = (
2910
2940
  this.bump();
2911
2941
  var n = this.clonePosition();
2912
2942
  if (!this.bumpUntil("'"))
2913
- return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, O(n, this.clonePosition()));
2943
+ return this.error(H.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, P(n, this.clonePosition()));
2914
2944
  this.bump();
2915
2945
  break;
2916
2946
  }
@@ -2946,58 +2976,58 @@ var Ji = (
2946
2976
  }
2947
2977
  return {
2948
2978
  val: {
2949
- type: Te.number,
2979
+ type: Se.number,
2950
2980
  tokens: i,
2951
2981
  location: r,
2952
- parsedOptions: this.shouldParseSkeletons ? Li(i) : {}
2982
+ parsedOptions: this.shouldParseSkeletons ? Di(i) : {}
2953
2983
  },
2954
2984
  err: null
2955
2985
  };
2956
2986
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
2957
- for (var s, a = !1, u = [], o = /* @__PURE__ */ new Set(), l = n.value, h = n.location; ; ) {
2987
+ for (var s, o = !1, u = [], a = /* @__PURE__ */ new Set(), l = n.value, h = n.location; ; ) {
2958
2988
  if (l.length === 0) {
2959
2989
  var c = this.clonePosition();
2960
2990
  if (r !== "select" && this.bumpIf("=")) {
2961
2991
  var p = this.tryParseDecimalInteger(H.EXPECT_PLURAL_ARGUMENT_SELECTOR, H.INVALID_PLURAL_ARGUMENT_SELECTOR);
2962
2992
  if (p.err)
2963
2993
  return p;
2964
- h = O(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
2994
+ h = P(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
2965
2995
  } else
2966
2996
  break;
2967
2997
  }
2968
- if (o.has(l))
2998
+ if (a.has(l))
2969
2999
  return this.error(r === "select" ? H.DUPLICATE_SELECT_ARGUMENT_SELECTOR : H.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2970
- l === "other" && (a = !0), this.bumpSpace();
3000
+ l === "other" && (o = !0), this.bumpSpace();
2971
3001
  var _ = this.clonePosition();
2972
3002
  if (!this.bumpIf("{"))
2973
- return this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, O(this.clonePosition(), this.clonePosition()));
3003
+ return this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : H.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, P(this.clonePosition(), this.clonePosition()));
2974
3004
  var S = this.parseMessage(t + 1, r, i);
2975
3005
  if (S.err)
2976
3006
  return S;
2977
- var v = this.tryParseArgumentClose(_);
2978
- if (v.err)
2979
- return v;
3007
+ var b = this.tryParseArgumentClose(_);
3008
+ if (b.err)
3009
+ return b;
2980
3010
  u.push([
2981
3011
  l,
2982
3012
  {
2983
3013
  value: S.val,
2984
- location: O(_, this.clonePosition())
3014
+ location: P(_, this.clonePosition())
2985
3015
  }
2986
- ]), o.add(l), this.bumpSpace(), s = this.parseIdentifierIfPossible(), l = s.value, h = s.location;
3016
+ ]), a.add(l), this.bumpSpace(), s = this.parseIdentifierIfPossible(), l = s.value, h = s.location;
2987
3017
  }
2988
- return u.length === 0 ? this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, O(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(H.MISSING_OTHER_CLAUSE, O(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
3018
+ return u.length === 0 ? this.error(r === "select" ? H.EXPECT_SELECT_ARGUMENT_SELECTOR : H.EXPECT_PLURAL_ARGUMENT_SELECTOR, P(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(H.MISSING_OTHER_CLAUSE, P(this.clonePosition(), this.clonePosition())) : { val: u, err: null };
2989
3019
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2990
3020
  var i = 1, n = this.clonePosition();
2991
3021
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
2992
- for (var s = !1, a = 0; !this.isEOF(); ) {
3022
+ for (var s = !1, o = 0; !this.isEOF(); ) {
2993
3023
  var u = this.char();
2994
3024
  if (u >= 48 && u <= 57)
2995
- s = !0, a = a * 10 + (u - 48), this.bump();
3025
+ s = !0, o = o * 10 + (u - 48), this.bump();
2996
3026
  else
2997
3027
  break;
2998
3028
  }
2999
- var o = O(n, this.clonePosition());
3000
- return s ? (a *= i, Wi(a) ? { val: a, err: null } : this.error(r, o)) : this.error(t, o);
3029
+ var a = P(n, this.clonePosition());
3030
+ return s ? (o *= i, Xi(o) ? { val: o, err: null } : this.error(r, a)) : this.error(t, a);
3001
3031
  }, e.prototype.offset = function() {
3002
3032
  return this.position.offset;
3003
3033
  }, e.prototype.isEOF = function() {
@@ -3012,7 +3042,7 @@ var Ji = (
3012
3042
  var t = this.position.offset;
3013
3043
  if (t >= this.message.length)
3014
3044
  throw Error("out of bound");
3015
- var r = pr(this.message, t);
3045
+ var r = mr(this.message, t);
3016
3046
  if (r === void 0)
3017
3047
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3018
3048
  return r;
@@ -3031,7 +3061,7 @@ var Ji = (
3031
3061
  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);
3032
3062
  }
3033
3063
  }, e.prototype.bumpIf = function(t) {
3034
- if (Dt(this.message, t, this.offset())) {
3064
+ if (Ct(this.message, t, this.offset())) {
3035
3065
  for (var r = 0; r < t.length; r++)
3036
3066
  this.bump();
3037
3067
  return !0;
@@ -3053,7 +3083,7 @@ var Ji = (
3053
3083
  break;
3054
3084
  }
3055
3085
  }, e.prototype.bumpSpace = function() {
3056
- for (; !this.isEOF() && vr(this.char()); )
3086
+ for (; !this.isEOF() && gr(this.char()); )
3057
3087
  this.bump();
3058
3088
  }, e.prototype.peek = function() {
3059
3089
  if (this.isEOF())
@@ -3063,47 +3093,47 @@ var Ji = (
3063
3093
  }, e;
3064
3094
  }()
3065
3095
  );
3066
- function pt(e) {
3096
+ function dt(e) {
3067
3097
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3068
3098
  }
3069
- function Qi(e) {
3070
- return pt(e) || e === 47;
3099
+ function Ji(e) {
3100
+ return dt(e) || e === 47;
3071
3101
  }
3072
- function Ki(e) {
3102
+ function Qi(e) {
3073
3103
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3074
3104
  }
3075
- function vr(e) {
3105
+ function gr(e) {
3076
3106
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3077
3107
  }
3078
- function en(e) {
3108
+ function Ki(e) {
3079
3109
  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;
3080
3110
  }
3081
- function gt(e) {
3111
+ function mt(e) {
3082
3112
  e.forEach(function(t) {
3083
- if (delete t.location, ar(t) || ur(t))
3113
+ if (delete t.location, or(t) || ar(t))
3084
3114
  for (var r in t.options)
3085
- delete t.options[r].location, gt(t.options[r].value);
3115
+ delete t.options[r].location, mt(t.options[r].value);
3086
3116
  else
3087
- nr(t) && hr(t.style) || (sr(t) || or(t)) && ft(t.style) ? delete t.style.location : lr(t) && gt(t.children);
3117
+ ir(t) && lr(t.style) || (nr(t) || sr(t)) && lt(t.style) ? delete t.style.location : ur(t) && mt(t.children);
3088
3118
  });
3089
3119
  }
3090
- function tn(e, t) {
3091
- t === void 0 && (t = {}), t = Xe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3092
- var r = new Ji(e, t).parse();
3120
+ function en(e, t) {
3121
+ t === void 0 && (t = {}), t = A({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3122
+ var r = new Zi(e, t).parse();
3093
3123
  if (r.err) {
3094
3124
  var i = SyntaxError(H[r.err.kind]);
3095
3125
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3096
3126
  }
3097
- return t?.captureLocation || gt(r.val), r.val;
3127
+ return t?.captureLocation || mt(r.val), r.val;
3098
3128
  }
3099
- var He;
3129
+ var Te;
3100
3130
  (function(e) {
3101
3131
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3102
- })(He || (He = {}));
3103
- var Je = (
3132
+ })(Te || (Te = {}));
3133
+ var Ye = (
3104
3134
  /** @class */
3105
3135
  function(e) {
3106
- Ze(t, e);
3136
+ qe(t, e);
3107
3137
  function t(r, i, n) {
3108
3138
  var s = e.call(this, r) || this;
3109
3139
  return s.code = i, s.originalMessage = n, s;
@@ -3112,64 +3142,64 @@ var Je = (
3112
3142
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3113
3143
  }, t;
3114
3144
  }(Error)
3115
- ), Nt = (
3145
+ ), It = (
3116
3146
  /** @class */
3117
3147
  function(e) {
3118
- Ze(t, e);
3148
+ qe(t, e);
3119
3149
  function t(r, i, n, s) {
3120
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), He.INVALID_VALUE, s) || this;
3150
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), Te.INVALID_VALUE, s) || this;
3121
3151
  }
3122
3152
  return t;
3123
- }(Je)
3124
- ), rn = (
3153
+ }(Ye)
3154
+ ), tn = (
3125
3155
  /** @class */
3126
3156
  function(e) {
3127
- Ze(t, e);
3157
+ qe(t, e);
3128
3158
  function t(r, i, n) {
3129
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), He.INVALID_VALUE, n) || this;
3159
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), Te.INVALID_VALUE, n) || this;
3130
3160
  }
3131
3161
  return t;
3132
- }(Je)
3133
- ), nn = (
3162
+ }(Ye)
3163
+ ), rn = (
3134
3164
  /** @class */
3135
3165
  function(e) {
3136
- Ze(t, e);
3166
+ qe(t, e);
3137
3167
  function t(r, i) {
3138
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), He.MISSING_VALUE, i) || this;
3168
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), Te.MISSING_VALUE, i) || this;
3139
3169
  }
3140
3170
  return t;
3141
- }(Je)
3171
+ }(Ye)
3142
3172
  ), j;
3143
3173
  (function(e) {
3144
3174
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3145
3175
  })(j || (j = {}));
3146
- function sn(e) {
3176
+ function nn(e) {
3147
3177
  return e.length < 2 ? e : e.reduce(function(t, r) {
3148
3178
  var i = t[t.length - 1];
3149
3179
  return !i || i.type !== j.literal || r.type !== j.literal ? t.push(r) : i.value += r.value, t;
3150
3180
  }, []);
3151
3181
  }
3152
- function on(e) {
3182
+ function sn(e) {
3153
3183
  return typeof e == "function";
3154
3184
  }
3155
- function je(e, t, r, i, n, s, a) {
3156
- if (e.length === 1 && $t(e[0]))
3185
+ function Ge(e, t, r, i, n, s, o) {
3186
+ if (e.length === 1 && At(e[0]))
3157
3187
  return [
3158
3188
  {
3159
3189
  type: j.literal,
3160
3190
  value: e[0].value
3161
3191
  }
3162
3192
  ];
3163
- for (var u = [], o = 0, l = e; o < l.length; o++) {
3164
- var h = l[o];
3165
- if ($t(h)) {
3193
+ for (var u = [], a = 0, l = e; a < l.length; a++) {
3194
+ var h = l[a];
3195
+ if (At(h)) {
3166
3196
  u.push({
3167
3197
  type: j.literal,
3168
3198
  value: h.value
3169
3199
  });
3170
3200
  continue;
3171
3201
  }
3172
- if (Oi(h)) {
3202
+ if (Hi(h)) {
3173
3203
  typeof s == "number" && u.push({
3174
3204
  type: j.literal,
3175
3205
  value: r.getNumberFormat(t).format(s)
@@ -3178,44 +3208,44 @@ function je(e, t, r, i, n, s, a) {
3178
3208
  }
3179
3209
  var c = h.value;
3180
3210
  if (!(n && c in n))
3181
- throw new nn(c, a);
3211
+ throw new rn(c, o);
3182
3212
  var p = n[c];
3183
- if (Hi(h)) {
3213
+ if (Ti(h)) {
3184
3214
  (!p || typeof p == "string" || typeof p == "number") && (p = typeof p == "string" || typeof p == "number" ? String(p) : ""), u.push({
3185
3215
  type: typeof p == "string" ? j.literal : j.object,
3186
3216
  value: p
3187
3217
  });
3188
3218
  continue;
3189
3219
  }
3190
- if (sr(h)) {
3191
- var _ = typeof h.style == "string" ? i.date[h.style] : ft(h.style) ? h.style.parsedOptions : void 0;
3220
+ if (nr(h)) {
3221
+ var _ = typeof h.style == "string" ? i.date[h.style] : lt(h.style) ? h.style.parsedOptions : void 0;
3192
3222
  u.push({
3193
3223
  type: j.literal,
3194
3224
  value: r.getDateTimeFormat(t, _).format(p)
3195
3225
  });
3196
3226
  continue;
3197
3227
  }
3198
- if (or(h)) {
3199
- var _ = typeof h.style == "string" ? i.time[h.style] : ft(h.style) ? h.style.parsedOptions : i.time.medium;
3228
+ if (sr(h)) {
3229
+ var _ = typeof h.style == "string" ? i.time[h.style] : lt(h.style) ? h.style.parsedOptions : i.time.medium;
3200
3230
  u.push({
3201
3231
  type: j.literal,
3202
3232
  value: r.getDateTimeFormat(t, _).format(p)
3203
3233
  });
3204
3234
  continue;
3205
3235
  }
3206
- if (nr(h)) {
3207
- var _ = typeof h.style == "string" ? i.number[h.style] : hr(h.style) ? h.style.parsedOptions : void 0;
3236
+ if (ir(h)) {
3237
+ var _ = typeof h.style == "string" ? i.number[h.style] : lr(h.style) ? h.style.parsedOptions : void 0;
3208
3238
  _ && _.scale && (p = p * (_.scale || 1)), u.push({
3209
3239
  type: j.literal,
3210
3240
  value: r.getNumberFormat(t, _).format(p)
3211
3241
  });
3212
3242
  continue;
3213
3243
  }
3214
- if (lr(h)) {
3215
- var S = h.children, v = h.value, B = n[v];
3216
- if (!on(B))
3217
- throw new rn(v, "function", a);
3218
- var V = je(S, t, r, i, n, s), R = B(V.map(function(I) {
3244
+ if (ur(h)) {
3245
+ var S = h.children, b = h.value, M = n[b];
3246
+ if (!sn(M))
3247
+ throw new tn(b, "function", o);
3248
+ var V = Ge(S, t, r, i, n, s), R = M(V.map(function(I) {
3219
3249
  return I.value;
3220
3250
  }));
3221
3251
  Array.isArray(R) || (R = [R]), u.push.apply(u, R.map(function(I) {
@@ -3225,42 +3255,42 @@ function je(e, t, r, i, n, s, a) {
3225
3255
  };
3226
3256
  }));
3227
3257
  }
3228
- if (ar(h)) {
3229
- var A = h.options[p] || h.options.other;
3230
- if (!A)
3231
- throw new Nt(h.value, p, Object.keys(h.options), a);
3232
- u.push.apply(u, je(A.value, t, r, i, n));
3258
+ if (or(h)) {
3259
+ var B = h.options[p] || h.options.other;
3260
+ if (!B)
3261
+ throw new It(h.value, p, Object.keys(h.options), o);
3262
+ u.push.apply(u, Ge(B.value, t, r, i, n));
3233
3263
  continue;
3234
3264
  }
3235
- if (ur(h)) {
3236
- var A = h.options["=".concat(p)];
3237
- if (!A) {
3265
+ if (ar(h)) {
3266
+ var B = h.options["=".concat(p)];
3267
+ if (!B) {
3238
3268
  if (!Intl.PluralRules)
3239
- throw new Je(`Intl.PluralRules is not available in this environment.
3269
+ throw new Ye(`Intl.PluralRules is not available in this environment.
3240
3270
  Try polyfilling it using "@formatjs/intl-pluralrules"
3241
- `, He.MISSING_INTL_API, a);
3271
+ `, Te.MISSING_INTL_API, o);
3242
3272
  var z = r.getPluralRules(t, { type: h.pluralType }).select(p - (h.offset || 0));
3243
- A = h.options[z] || h.options.other;
3273
+ B = h.options[z] || h.options.other;
3244
3274
  }
3245
- if (!A)
3246
- throw new Nt(h.value, p, Object.keys(h.options), a);
3247
- u.push.apply(u, je(A.value, t, r, i, n, p - (h.offset || 0)));
3275
+ if (!B)
3276
+ throw new It(h.value, p, Object.keys(h.options), o);
3277
+ u.push.apply(u, Ge(B.value, t, r, i, n, p - (h.offset || 0)));
3248
3278
  continue;
3249
3279
  }
3250
3280
  }
3251
- return sn(u);
3281
+ return nn(u);
3252
3282
  }
3253
- function an(e, t) {
3254
- return t ? se(se(se({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3255
- return r[i] = se(se({}, e[i]), t[i] || {}), r;
3283
+ function on(e, t) {
3284
+ return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3285
+ return r[i] = A(A({}, e[i]), t[i] || {}), r;
3256
3286
  }, {})) : e;
3257
3287
  }
3258
- function un(e, t) {
3288
+ function an(e, t) {
3259
3289
  return t ? Object.keys(e).reduce(function(r, i) {
3260
- return r[i] = an(e[i], t[i]), r;
3261
- }, se({}, e)) : e;
3290
+ return r[i] = on(e[i], t[i]), r;
3291
+ }, A({}, e)) : e;
3262
3292
  }
3263
- function st(e) {
3293
+ function it(e) {
3264
3294
  return {
3265
3295
  create: function() {
3266
3296
  return {
@@ -3274,35 +3304,35 @@ function st(e) {
3274
3304
  }
3275
3305
  };
3276
3306
  }
3277
- function ln(e) {
3307
+ function un(e) {
3278
3308
  return e === void 0 && (e = {
3279
3309
  number: {},
3280
3310
  dateTime: {},
3281
3311
  pluralRules: {}
3282
3312
  }), {
3283
- getNumberFormat: rt(function() {
3313
+ getNumberFormat: et(function() {
3284
3314
  for (var t, r = [], i = 0; i < arguments.length; i++)
3285
3315
  r[i] = arguments[i];
3286
- return new ((t = Intl.NumberFormat).bind.apply(t, tt([void 0], r, !1)))();
3316
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ke([void 0], r, !1)))();
3287
3317
  }, {
3288
- cache: st(e.number),
3289
- strategy: it.variadic
3318
+ cache: it(e.number),
3319
+ strategy: tt.variadic
3290
3320
  }),
3291
- getDateTimeFormat: rt(function() {
3321
+ getDateTimeFormat: et(function() {
3292
3322
  for (var t, r = [], i = 0; i < arguments.length; i++)
3293
3323
  r[i] = arguments[i];
3294
- return new ((t = Intl.DateTimeFormat).bind.apply(t, tt([void 0], r, !1)))();
3324
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ke([void 0], r, !1)))();
3295
3325
  }, {
3296
- cache: st(e.dateTime),
3297
- strategy: it.variadic
3326
+ cache: it(e.dateTime),
3327
+ strategy: tt.variadic
3298
3328
  }),
3299
- getPluralRules: rt(function() {
3329
+ getPluralRules: et(function() {
3300
3330
  for (var t, r = [], i = 0; i < arguments.length; i++)
3301
3331
  r[i] = arguments[i];
3302
- return new ((t = Intl.PluralRules).bind.apply(t, tt([void 0], r, !1)))();
3332
+ return new ((t = Intl.PluralRules).bind.apply(t, Ke([void 0], r, !1)))();
3303
3333
  }, {
3304
- cache: st(e.pluralRules),
3305
- strategy: it.variadic
3334
+ cache: it(e.pluralRules),
3335
+ strategy: tt.variadic
3306
3336
  })
3307
3337
  };
3308
3338
  }
@@ -3316,35 +3346,35 @@ var br = (
3316
3346
  number: {},
3317
3347
  dateTime: {},
3318
3348
  pluralRules: {}
3319
- }, this.format = function(o) {
3320
- var l = s.formatToParts(o);
3349
+ }, this.format = function(a) {
3350
+ var l = s.formatToParts(a);
3321
3351
  if (l.length === 1)
3322
3352
  return l[0].value;
3323
3353
  var h = l.reduce(function(c, p) {
3324
3354
  return !c.length || p.type !== j.literal || typeof c[c.length - 1] != "string" ? c.push(p.value) : c[c.length - 1] += p.value, c;
3325
3355
  }, []);
3326
3356
  return h.length <= 1 ? h[0] || "" : h;
3327
- }, this.formatToParts = function(o) {
3328
- return je(s.ast, s.locales, s.formatters, s.formats, o, void 0, s.message);
3357
+ }, this.formatToParts = function(a) {
3358
+ return Ge(s.ast, s.locales, s.formatters, s.formats, a, void 0, s.message);
3329
3359
  }, this.resolvedOptions = function() {
3330
- var o;
3360
+ var a;
3331
3361
  return {
3332
- locale: ((o = s.resolvedLocale) === null || o === void 0 ? void 0 : o.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3362
+ locale: ((a = s.resolvedLocale) === null || a === void 0 ? void 0 : a.toString()) || Intl.NumberFormat.supportedLocalesOf(s.locales)[0]
3333
3363
  };
3334
3364
  }, this.getAst = function() {
3335
3365
  return s.ast;
3336
3366
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3337
3367
  if (this.message = t, !e.__parse)
3338
3368
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3339
- var a = n || {};
3340
- a.formatters;
3341
- var u = bi(a, ["formatters"]);
3342
- this.ast = e.__parse(t, se(se({}, u), { locale: this.resolvedLocale }));
3369
+ var o = n || {};
3370
+ o.formatters;
3371
+ var u = bi(o, ["formatters"]);
3372
+ this.ast = e.__parse(t, A(A({}, u), { locale: this.resolvedLocale }));
3343
3373
  } else
3344
3374
  this.ast = t;
3345
3375
  if (!Array.isArray(this.ast))
3346
3376
  throw new TypeError("A message must be provided as a String or AST.");
3347
- this.formats = un(e.formats, i), this.formatters = n && n.formatters || ln(this.formatterCache);
3377
+ this.formats = an(e.formats, i), this.formatters = n && n.formatters || un(this.formatterCache);
3348
3378
  }
3349
3379
  return Object.defineProperty(e, "defaultLocale", {
3350
3380
  get: function() {
@@ -3357,7 +3387,7 @@ var br = (
3357
3387
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3358
3388
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3359
3389
  }
3360
- }, e.__parse = tn, e.formats = {
3390
+ }, e.__parse = en, e.formats = {
3361
3391
  number: {
3362
3392
  integer: {
3363
3393
  maximumFractionDigits: 0
@@ -3418,7 +3448,7 @@ var br = (
3418
3448
  }, e;
3419
3449
  }()
3420
3450
  );
3421
- function hn(e, t) {
3451
+ function ln(e, t) {
3422
3452
  if (t == null)
3423
3453
  return;
3424
3454
  if (t in e)
@@ -3439,101 +3469,101 @@ function hn(e, t) {
3439
3469
  i = void 0;
3440
3470
  return i;
3441
3471
  }
3442
- const ce = {}, fn = (e, t, r) => r && (t in ce || (ce[t] = {}), e in ce[t] || (ce[t][e] = r), r), yr = (e, t) => {
3472
+ const fe = {}, hn = (e, t, r) => r && (t in fe || (fe[t] = {}), e in fe[t] || (fe[t][e] = r), r), vr = (e, t) => {
3443
3473
  if (t == null)
3444
3474
  return;
3445
- if (t in ce && e in ce[t])
3446
- return ce[t][e];
3447
- const r = ke(t);
3475
+ if (t in fe && e in fe[t])
3476
+ return fe[t][e];
3477
+ const r = Re(t);
3448
3478
  for (let i = 0; i < r.length; i++) {
3449
- const n = r[i], s = dn(n, e);
3479
+ const n = r[i], s = cn(n, e);
3450
3480
  if (s)
3451
- return fn(e, t, s);
3481
+ return hn(e, t, s);
3452
3482
  }
3453
3483
  };
3454
- let Et;
3455
- const Re = Ne({});
3456
- function cn(e) {
3457
- return Et[e] || null;
3484
+ let xt;
3485
+ const Ne = Ie({});
3486
+ function fn(e) {
3487
+ return xt[e] || null;
3458
3488
  }
3459
- function _r(e) {
3460
- return e in Et;
3489
+ function yr(e) {
3490
+ return e in xt;
3461
3491
  }
3462
- function dn(e, t) {
3463
- if (!_r(e))
3492
+ function cn(e, t) {
3493
+ if (!yr(e))
3464
3494
  return null;
3465
- const r = cn(e);
3466
- return hn(r, t);
3495
+ const r = fn(e);
3496
+ return ln(r, t);
3467
3497
  }
3468
- function mn(e) {
3498
+ function dn(e) {
3469
3499
  if (e == null)
3470
3500
  return;
3471
- const t = ke(e);
3501
+ const t = Re(e);
3472
3502
  for (let r = 0; r < t.length; r++) {
3473
3503
  const i = t[r];
3474
- if (_r(i))
3504
+ if (yr(i))
3475
3505
  return i;
3476
3506
  }
3477
3507
  }
3478
- function xr(e, ...t) {
3479
- delete ce[e], Re.update((r) => (r[e] = vi.all([r[e] || {}, ...t]), r));
3508
+ function _r(e, ...t) {
3509
+ delete fe[e], Ne.update((r) => (r[e] = gi.all([r[e] || {}, ...t]), r));
3480
3510
  }
3481
3511
  Pe(
3482
- [Re],
3512
+ [Ne],
3483
3513
  ([e]) => Object.keys(e)
3484
3514
  );
3485
- Re.subscribe((e) => Et = e);
3486
- const ze = {};
3487
- function pn(e, t) {
3488
- ze[e].delete(t), ze[e].size === 0 && delete ze[e];
3515
+ Ne.subscribe((e) => xt = e);
3516
+ const je = {};
3517
+ function mn(e, t) {
3518
+ je[e].delete(t), je[e].size === 0 && delete je[e];
3489
3519
  }
3490
- function Er(e) {
3491
- return ze[e];
3520
+ function xr(e) {
3521
+ return je[e];
3492
3522
  }
3493
- function gn(e) {
3494
- return ke(e).map((t) => {
3495
- const r = Er(t);
3523
+ function pn(e) {
3524
+ return Re(e).map((t) => {
3525
+ const r = xr(t);
3496
3526
  return [t, r ? [...r] : []];
3497
3527
  }).filter(([, t]) => t.length > 0);
3498
3528
  }
3499
- function We(e) {
3500
- return e == null ? !1 : ke(e).some(
3529
+ function ze(e) {
3530
+ return e == null ? !1 : Re(e).some(
3501
3531
  (t) => {
3502
3532
  var r;
3503
- return (r = Er(t)) == null ? void 0 : r.size;
3533
+ return (r = xr(t)) == null ? void 0 : r.size;
3504
3534
  }
3505
3535
  );
3506
3536
  }
3507
- function vn(e, t) {
3537
+ function gn(e, t) {
3508
3538
  return Promise.all(
3509
- t.map((i) => (pn(e, i), i().then((n) => n.default || n)))
3510
- ).then((i) => xr(e, ...i));
3511
- }
3512
- const $e = {};
3513
- function wr(e) {
3514
- if (!We(e))
3515
- return e in $e ? $e[e] : Promise.resolve();
3516
- const t = gn(e);
3517
- return $e[e] = Promise.all(
3539
+ t.map((i) => (mn(e, i), i().then((n) => n.default || n)))
3540
+ ).then((i) => _r(e, ...i));
3541
+ }
3542
+ const Ae = {};
3543
+ function Er(e) {
3544
+ if (!ze(e))
3545
+ return e in Ae ? Ae[e] : Promise.resolve();
3546
+ const t = pn(e);
3547
+ return Ae[e] = Promise.all(
3518
3548
  t.map(
3519
- ([r, i]) => vn(r, i)
3549
+ ([r, i]) => gn(r, i)
3520
3550
  )
3521
3551
  ).then(() => {
3522
- if (We(e))
3523
- return wr(e);
3524
- delete $e[e];
3525
- }), $e[e];
3552
+ if (ze(e))
3553
+ return Er(e);
3554
+ delete Ae[e];
3555
+ }), Ae[e];
3526
3556
  }
3527
- var Rt = Object.getOwnPropertySymbols, bn = Object.prototype.hasOwnProperty, yn = Object.prototype.propertyIsEnumerable, _n = (e, t) => {
3557
+ var Nt = Object.getOwnPropertySymbols, bn = Object.prototype.hasOwnProperty, vn = Object.prototype.propertyIsEnumerable, yn = (e, t) => {
3528
3558
  var r = {};
3529
3559
  for (var i in e)
3530
3560
  bn.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3531
- if (e != null && Rt)
3532
- for (var i of Rt(e))
3533
- t.indexOf(i) < 0 && yn.call(e, i) && (r[i] = e[i]);
3561
+ if (e != null && Nt)
3562
+ for (var i of Nt(e))
3563
+ t.indexOf(i) < 0 && vn.call(e, i) && (r[i] = e[i]);
3534
3564
  return r;
3535
3565
  };
3536
- const xn = {
3566
+ const _n = {
3537
3567
  number: {
3538
3568
  scientific: { notation: "scientific" },
3539
3569
  engineering: { notation: "engineering" },
@@ -3563,28 +3593,28 @@ const xn = {
3563
3593
  }
3564
3594
  }
3565
3595
  };
3566
- function En({ locale: e, id: t }) {
3596
+ function xn({ locale: e, id: t }) {
3567
3597
  console.warn(
3568
- `[svelte-i18n] The message "${t}" was not found in "${ke(
3598
+ `[svelte-i18n] The message "${t}" was not found in "${Re(
3569
3599
  e
3570
- ).join('", "')}".${We(de()) ? `
3600
+ ).join('", "')}".${ze(ce()) ? `
3571
3601
 
3572
3602
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3573
3603
  );
3574
3604
  }
3575
- const wn = {
3605
+ const En = {
3576
3606
  fallbackLocale: null,
3577
3607
  loadingDelay: 200,
3578
- formats: xn,
3608
+ formats: _n,
3579
3609
  warnOnMissingMessages: !0,
3580
3610
  handleMissingMessage: void 0,
3581
3611
  ignoreTag: !0
3582
- }, Be = wn;
3583
- function Oe() {
3612
+ }, Be = En;
3613
+ function He() {
3584
3614
  return Be;
3585
3615
  }
3586
- function Sn(e) {
3587
- const t = e, { formats: r } = t, i = _n(t, ["formats"]);
3616
+ function wn(e) {
3617
+ const t = e, { formats: r } = t, i = yn(t, ["formats"]);
3588
3618
  let n = e.fallbackLocale;
3589
3619
  if (e.initialLocale)
3590
3620
  try {
@@ -3594,143 +3624,143 @@ function Sn(e) {
3594
3624
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3595
3625
  );
3596
3626
  }
3597
- return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = En : console.warn(
3627
+ return i.warnOnMissingMessages && (delete i.warnOnMissingMessages, i.handleMissingMessage == null ? i.handleMissingMessage = xn : console.warn(
3598
3628
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3599
- )), Object.assign(Be, i, { initialLocale: n }), r && ("number" in r && Object.assign(Be.formats.number, r.number), "date" in r && Object.assign(Be.formats.date, r.date), "time" in r && Object.assign(Be.formats.time, r.time)), ge.set(n);
3600
- }
3601
- const ot = Ne(!1);
3602
- var Tn = Object.defineProperty, Hn = Object.defineProperties, On = Object.getOwnPropertyDescriptors, kt = Object.getOwnPropertySymbols, Pn = Object.prototype.hasOwnProperty, An = Object.prototype.propertyIsEnumerable, Ut = (e, t, r) => t in e ? Tn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, $n = (e, t) => {
3603
- for (var r in t || (t = {}))
3604
- Pn.call(t, r) && Ut(e, r, t[r]);
3605
- if (kt)
3606
- for (var r of kt(t))
3607
- An.call(t, r) && Ut(e, r, t[r]);
3629
+ )), Object.assign(Be, i, { initialLocale: n }), r && ("number" in r && Object.assign(Be.formats.number, r.number), "date" in r && Object.assign(Be.formats.date, r.date), "time" in r && Object.assign(Be.formats.time, r.time)), pe.set(n);
3630
+ }
3631
+ const nt = Ie(!1);
3632
+ var Sn = Object.defineProperty, Tn = Object.defineProperties, Hn = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, Pn = Object.prototype.hasOwnProperty, On = 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) => {
3633
+ for (var r in t)
3634
+ Pn.call(t, r) && kt(e, r, t[r]);
3635
+ if (Rt)
3636
+ for (var r of Rt(t))
3637
+ On.call(t, r) && kt(e, r, t[r]);
3608
3638
  return e;
3609
- }, Bn = (e, t) => Hn(e, On(t));
3610
- let vt;
3611
- const qe = Ne(null);
3612
- function Ft(e) {
3639
+ }, Bn = (e, t) => Tn(e, Hn(t));
3640
+ let pt;
3641
+ const Xe = Ie(null);
3642
+ function Ut(e) {
3613
3643
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
3614
3644
  }
3615
- function ke(e, t = Oe().fallbackLocale) {
3616
- const r = Ft(e);
3617
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ft(t)])] : r;
3645
+ function Re(e, t = He().fallbackLocale) {
3646
+ const r = Ut(e);
3647
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
3618
3648
  }
3619
- function de() {
3620
- return vt ?? void 0;
3649
+ function ce() {
3650
+ return pt ?? void 0;
3621
3651
  }
3622
- qe.subscribe((e) => {
3623
- vt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3652
+ Xe.subscribe((e) => {
3653
+ pt = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3624
3654
  });
3625
- const Mn = (e) => {
3626
- if (e && mn(e) && We(e)) {
3627
- const { loadingDelay: t } = Oe();
3655
+ const $n = (e) => {
3656
+ if (e && dn(e) && ze(e)) {
3657
+ const { loadingDelay: t } = He();
3628
3658
  let r;
3629
- return typeof window < "u" && de() != null && t ? r = window.setTimeout(
3630
- () => ot.set(!0),
3659
+ return typeof window < "u" && ce() != null && t ? r = window.setTimeout(
3660
+ () => nt.set(!0),
3631
3661
  t
3632
- ) : ot.set(!0), wr(e).then(() => {
3633
- qe.set(e);
3662
+ ) : nt.set(!0), Er(e).then(() => {
3663
+ Xe.set(e);
3634
3664
  }).finally(() => {
3635
- clearTimeout(r), ot.set(!1);
3665
+ clearTimeout(r), nt.set(!1);
3636
3666
  });
3637
3667
  }
3638
- return qe.set(e);
3639
- }, ge = Bn($n({}, qe), {
3640
- set: Mn
3641
- }), Qe = (e) => {
3668
+ return Xe.set(e);
3669
+ }, pe = Bn(An({}, Xe), {
3670
+ set: $n
3671
+ }), Ze = (e) => {
3642
3672
  const t = /* @__PURE__ */ Object.create(null);
3643
3673
  return (i) => {
3644
3674
  const n = JSON.stringify(i);
3645
3675
  return n in t ? t[n] : t[n] = e(i);
3646
3676
  };
3647
3677
  };
3648
- var Cn = Object.defineProperty, Ye = Object.getOwnPropertySymbols, Sr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
3678
+ var Mn = Object.defineProperty, We = Object.getOwnPropertySymbols, wr = Object.prototype.hasOwnProperty, Sr = 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) => {
3649
3679
  for (var r in t || (t = {}))
3650
- Sr.call(t, r) && Vt(e, r, t[r]);
3651
- if (Ye)
3652
- for (var r of Ye(t))
3653
- Tr.call(t, r) && Vt(e, r, t[r]);
3680
+ wr.call(t, r) && Ft(e, r, t[r]);
3681
+ if (We)
3682
+ for (var r of We(t))
3683
+ Sr.call(t, r) && Ft(e, r, t[r]);
3654
3684
  return e;
3655
- }, Ae = (e, t) => {
3685
+ }, Oe = (e, t) => {
3656
3686
  var r = {};
3657
3687
  for (var i in e)
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]);
3688
+ wr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
3689
+ if (e != null && We)
3690
+ for (var i of We(e))
3691
+ t.indexOf(i) < 0 && Sr.call(e, i) && (r[i] = e[i]);
3662
3692
  return r;
3663
3693
  };
3664
- const Le = (e, t) => {
3665
- const { formats: r } = Oe();
3694
+ const De = (e, t) => {
3695
+ const { formats: r } = He();
3666
3696
  if (e in r && t in r[e])
3667
3697
  return r[e][t];
3668
3698
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3669
- }, Dn = Qe(
3699
+ }, Cn = Ze(
3670
3700
  (e) => {
3671
- var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3701
+ var t = e, { locale: r, format: i } = t, n = Oe(t, ["locale", "format"]);
3672
3702
  if (r == null)
3673
3703
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3674
- return i && (n = Le("number", i)), new Intl.NumberFormat(r, n);
3704
+ return i && (n = De("number", i)), new Intl.NumberFormat(r, n);
3675
3705
  }
3676
- ), Ln = Qe(
3706
+ ), Dn = Ze(
3677
3707
  (e) => {
3678
- var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3708
+ var t = e, { locale: r, format: i } = t, n = Oe(t, ["locale", "format"]);
3679
3709
  if (r == null)
3680
3710
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3681
- return i ? n = Le("date", i) : Object.keys(n).length === 0 && (n = Le("date", "short")), new Intl.DateTimeFormat(r, n);
3711
+ return i ? n = De("date", i) : Object.keys(n).length === 0 && (n = De("date", "short")), new Intl.DateTimeFormat(r, n);
3682
3712
  }
3683
- ), In = Qe(
3713
+ ), Ln = Ze(
3684
3714
  (e) => {
3685
- var t = e, { locale: r, format: i } = t, n = Ae(t, ["locale", "format"]);
3715
+ var t = e, { locale: r, format: i } = t, n = Oe(t, ["locale", "format"]);
3686
3716
  if (r == null)
3687
3717
  throw new Error(
3688
3718
  '[svelte-i18n] A "locale" must be set to format time values'
3689
3719
  );
3690
- return i ? n = Le("time", i) : Object.keys(n).length === 0 && (n = Le("time", "short")), new Intl.DateTimeFormat(r, n);
3720
+ return i ? n = De("time", i) : Object.keys(n).length === 0 && (n = De("time", "short")), new Intl.DateTimeFormat(r, n);
3691
3721
  }
3692
- ), Nn = (e = {}) => {
3722
+ ), In = (e = {}) => {
3693
3723
  var t = e, {
3694
- locale: r = de()
3695
- } = t, i = Ae(t, [
3724
+ locale: r = ce()
3725
+ } = t, i = Oe(t, [
3696
3726
  "locale"
3697
3727
  ]);
3698
- return Dn(wt({ locale: r }, i));
3699
- }, Rn = (e = {}) => {
3728
+ return Cn(Et({ locale: r }, i));
3729
+ }, Nn = (e = {}) => {
3700
3730
  var t = e, {
3701
- locale: r = de()
3702
- } = t, i = Ae(t, [
3731
+ locale: r = ce()
3732
+ } = t, i = Oe(t, [
3703
3733
  "locale"
3704
3734
  ]);
3705
- return Ln(wt({ locale: r }, i));
3706
- }, kn = (e = {}) => {
3735
+ return Dn(Et({ locale: r }, i));
3736
+ }, Rn = (e = {}) => {
3707
3737
  var t = e, {
3708
- locale: r = de()
3709
- } = t, i = Ae(t, [
3738
+ locale: r = ce()
3739
+ } = t, i = Oe(t, [
3710
3740
  "locale"
3711
3741
  ]);
3712
- return In(wt({ locale: r }, i));
3713
- }, Un = Qe(
3742
+ return Ln(Et({ locale: r }, i));
3743
+ }, kn = Ze(
3714
3744
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3715
- (e, t = de()) => new br(e, t, Oe().formats, {
3716
- ignoreTag: Oe().ignoreTag
3745
+ (e, t = ce()) => new br(e, t, He().formats, {
3746
+ ignoreTag: He().ignoreTag
3717
3747
  })
3718
- ), Fn = (e, t = {}) => {
3748
+ ), Un = (e, t = {}) => {
3719
3749
  var r, i, n, s;
3720
- let a = t;
3721
- typeof e == "object" && (a = e, e = a.id);
3750
+ let o = t;
3751
+ typeof e == "object" && (o = e, e = o.id);
3722
3752
  const {
3723
3753
  values: u,
3724
- locale: o = de(),
3754
+ locale: a = ce(),
3725
3755
  default: l
3726
- } = a;
3727
- if (o == null)
3756
+ } = o;
3757
+ if (a == null)
3728
3758
  throw new Error(
3729
3759
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3730
3760
  );
3731
- let h = yr(e, o);
3761
+ let h = vr(e, a);
3732
3762
  if (!h)
3733
- h = (s = (n = (i = (r = Oe()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: o, id: e, defaultValue: l })) != null ? n : l) != null ? s : e;
3763
+ h = (s = (n = (i = (r = He()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: a, id: e, defaultValue: l })) != null ? n : l) != null ? s : e;
3734
3764
  else if (typeof h != "string")
3735
3765
  return console.warn(
3736
3766
  `[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.`
@@ -3739,7 +3769,7 @@ const Le = (e, t) => {
3739
3769
  return h;
3740
3770
  let c = h;
3741
3771
  try {
3742
- c = Un(h, o).format(u);
3772
+ c = kn(h, a).format(u);
3743
3773
  } catch (p) {
3744
3774
  p instanceof Error && console.warn(
3745
3775
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3747,20 +3777,20 @@ const Le = (e, t) => {
3747
3777
  );
3748
3778
  }
3749
3779
  return c;
3750
- }, Vn = (e, t) => kn(t).format(e), Gn = (e, t) => Rn(t).format(e), jn = (e, t) => Nn(t).format(e), zn = (e, t = de()) => yr(e, t), Xn = Pe([ge, Re], () => Fn);
3751
- Pe([ge], () => Vn);
3752
- Pe([ge], () => Gn);
3753
- Pe([ge], () => jn);
3754
- Pe([ge, Re], () => zn);
3755
- function Gt(e, t) {
3756
- xr(e, t);
3757
- }
3758
- function Wn(e) {
3759
- Sn({
3780
+ }, Fn = (e, t) => Rn(t).format(e), Vn = (e, t) => Nn(t).format(e), Gn = (e, t) => In(t).format(e), jn = (e, t = ce()) => vr(e, t), zn = Pe([pe, Ne], () => Un);
3781
+ Pe([pe], () => Fn);
3782
+ Pe([pe], () => Vn);
3783
+ Pe([pe], () => Gn);
3784
+ Pe([pe, Ne], () => jn);
3785
+ function Vt(e, t) {
3786
+ _r(e, t);
3787
+ }
3788
+ function Xn(e) {
3789
+ wn({
3760
3790
  fallbackLocale: "en"
3761
- }), ge.set(e);
3791
+ }), pe.set(e);
3762
3792
  }
3763
- const jt = {
3793
+ const Gt = {
3764
3794
  en: {
3765
3795
  "verification.video.how-to": "How to verify yourself",
3766
3796
  "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",
@@ -3828,18 +3858,18 @@ if (typeof window < "u") {
3828
3858
  }
3829
3859
  };
3830
3860
  };
3831
- customElements.define = e(customElements.define), import("./CashierVideoModal-Dna7BzOD.js").then(({ default: t }) => {
3861
+ customElements.define = e(customElements.define), import("./CashierVideoModal-BPGMPPir.js").then(({ default: t }) => {
3832
3862
  !customElements.get("cashier-video-modal") && customElements.define("cashier-video-modal", t.element);
3833
3863
  });
3834
3864
  }
3835
- let qn = Ne(null);
3836
- function Yn(e, t) {
3865
+ let Wn = Ie(null);
3866
+ function qn(e, t) {
3837
3867
  if (e) {
3838
3868
  const r = document.createElement("style");
3839
3869
  r.innerHTML = t, e.appendChild(r);
3840
3870
  }
3841
3871
  }
3842
- function Zn(e, t) {
3872
+ function Yn(e, t) {
3843
3873
  const r = new URL(t);
3844
3874
  fetch(r.href).then((i) => i.text()).then((i) => {
3845
3875
  const n = document.createElement("style");
@@ -3848,7 +3878,7 @@ function Zn(e, t) {
3848
3878
  console.error("There was an error while trying to load client styling from URL", i);
3849
3879
  });
3850
3880
  }
3851
- function Jn(e, t, r) {
3881
+ function Zn(e, t, r) {
3852
3882
  if (window.emMessageBus) {
3853
3883
  const i = document.createElement("style");
3854
3884
  window.emMessageBus.subscribe(t, (n) => {
@@ -3856,36 +3886,36 @@ function Jn(e, t, r) {
3856
3886
  });
3857
3887
  }
3858
3888
  }
3859
- var Hr = { exports: {} };
3889
+ var Tr = { exports: {} };
3860
3890
  (function(e, t) {
3861
3891
  (function(r, i) {
3862
3892
  e.exports = i();
3863
- })(er, function() {
3864
- var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", a = "second", u = "minute", o = "hour", l = "day", h = "week", c = "month", p = "quarter", _ = "year", S = "date", v = "Invalid Date", B = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, V = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(x) {
3893
+ })(Kt, function() {
3894
+ var r = 1e3, i = 6e4, n = 36e5, s = "millisecond", o = "second", u = "minute", a = "hour", l = "day", h = "week", c = "month", p = "quarter", _ = "year", S = "date", b = "Invalid Date", M = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, V = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, R = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(x) {
3865
3895
  var g = ["th", "st", "nd", "rd"], d = x % 100;
3866
3896
  return "[" + x + (g[(d - 20) % 10] || g[d] || g[0]) + "]";
3867
- } }, A = function(x, g, d) {
3868
- var b = String(x);
3869
- return !b || b.length >= g ? x : "" + Array(g + 1 - b.length).join(d) + x;
3870
- }, z = { s: A, z: function(x) {
3871
- var g = -x.utcOffset(), d = Math.abs(g), b = Math.floor(d / 60), m = d % 60;
3872
- return (g <= 0 ? "+" : "-") + A(b, 2, "0") + ":" + A(m, 2, "0");
3897
+ } }, B = function(x, g, d) {
3898
+ var v = String(x);
3899
+ return !v || v.length >= g ? x : "" + Array(g + 1 - v.length).join(d) + x;
3900
+ }, z = { s: B, z: function(x) {
3901
+ var g = -x.utcOffset(), d = Math.abs(g), v = Math.floor(d / 60), m = d % 60;
3902
+ return (g <= 0 ? "+" : "-") + B(v, 2, "0") + ":" + B(m, 2, "0");
3873
3903
  }, m: function x(g, d) {
3874
3904
  if (g.date() < d.date())
3875
3905
  return -x(d, g);
3876
- 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);
3877
- return +(-(b + (d - m) / (E ? m - w : w - m)) || 0);
3906
+ var v = 12 * (d.year() - g.year()) + (d.month() - g.month()), m = g.clone().add(v, c), E = d - m < 0, w = g.clone().add(v + (E ? -1 : 1), c);
3907
+ return +(-(v + (d - m) / (E ? m - w : w - m)) || 0);
3878
3908
  }, a: function(x) {
3879
3909
  return x < 0 ? Math.ceil(x) || 0 : Math.floor(x);
3880
3910
  }, p: function(x) {
3881
- return { M: c, y: _, w: h, d: l, D: S, h: o, m: u, s: a, ms: s, Q: p }[x] || String(x || "").toLowerCase().replace(/s$/, "");
3911
+ return { M: c, y: _, w: h, d: l, D: S, h: a, m: u, s: o, ms: s, Q: p }[x] || String(x || "").toLowerCase().replace(/s$/, "");
3882
3912
  }, u: function(x) {
3883
3913
  return x === void 0;
3884
3914
  } }, I = "en", U = {};
3885
3915
  U[I] = R;
3886
- var W = "$isDayjsObject", ae = function(x) {
3916
+ var W = "$isDayjsObject", oe = function(x) {
3887
3917
  return x instanceof k || !(!x || !x[W]);
3888
- }, Y = function x(g, d, b) {
3918
+ }, Y = function x(g, d, v) {
3889
3919
  var m;
3890
3920
  if (!g)
3891
3921
  return I;
@@ -3899,15 +3929,15 @@ var Hr = { exports: {} };
3899
3929
  var $ = g.name;
3900
3930
  U[$] = g, m = $;
3901
3931
  }
3902
- return !b && m && (I = m), m || !b && I;
3903
- }, M = function(x, g) {
3904
- if (ae(x))
3932
+ return !v && m && (I = m), m || !v && I;
3933
+ }, C = function(x, g) {
3934
+ if (oe(x))
3905
3935
  return x.clone();
3906
3936
  var d = typeof g == "object" ? g : {};
3907
3937
  return d.date = x, d.args = arguments, new k(d);
3908
- }, P = z;
3909
- P.l = Y, P.i = ae, P.w = function(x, g) {
3910
- return M(x, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3938
+ }, O = z;
3939
+ O.l = Y, O.i = oe, O.w = function(x, g) {
3940
+ return C(x, { locale: g.$L, utc: g.$u, x: g.$x, $offset: g.$offset });
3911
3941
  };
3912
3942
  var k = function() {
3913
3943
  function x(d) {
@@ -3915,19 +3945,19 @@ var Hr = { exports: {} };
3915
3945
  }
3916
3946
  var g = x.prototype;
3917
3947
  return g.parse = function(d) {
3918
- this.$d = function(b) {
3919
- var m = b.date, E = b.utc;
3948
+ this.$d = function(v) {
3949
+ var m = v.date, E = v.utc;
3920
3950
  if (m === null)
3921
3951
  return /* @__PURE__ */ new Date(NaN);
3922
- if (P.u(m))
3952
+ if (O.u(m))
3923
3953
  return /* @__PURE__ */ new Date();
3924
3954
  if (m instanceof Date)
3925
3955
  return new Date(m);
3926
3956
  if (typeof m == "string" && !/Z$/i.test(m)) {
3927
- var w = m.match(B);
3957
+ var w = m.match(M);
3928
3958
  if (w) {
3929
- var $ = w[2] - 1 || 0, D = (w[7] || "0").substring(0, 3);
3930
- return E ? new Date(Date.UTC(w[1], $, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D)) : new Date(w[1], $, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, D);
3959
+ var $ = w[2] - 1 || 0, L = (w[7] || "0").substring(0, 3);
3960
+ return E ? new Date(Date.UTC(w[1], $, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, L)) : new Date(w[1], $, w[3] || 1, w[4] || 0, w[5] || 0, w[6] || 0, L);
3931
3961
  }
3932
3962
  }
3933
3963
  return new Date(m);
@@ -3936,69 +3966,69 @@ var Hr = { exports: {} };
3936
3966
  var d = this.$d;
3937
3967
  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();
3938
3968
  }, g.$utils = function() {
3939
- return P;
3969
+ return O;
3940
3970
  }, g.isValid = function() {
3941
- return this.$d.toString() !== v;
3942
- }, g.isSame = function(d, b) {
3943
- var m = M(d);
3944
- return this.startOf(b) <= m && m <= this.endOf(b);
3945
- }, g.isAfter = function(d, b) {
3946
- return M(d) < this.startOf(b);
3947
- }, g.isBefore = function(d, b) {
3948
- return this.endOf(b) < M(d);
3949
- }, g.$g = function(d, b, m) {
3950
- return P.u(d) ? this[b] : this.set(m, d);
3971
+ return this.$d.toString() !== b;
3972
+ }, g.isSame = function(d, v) {
3973
+ var m = C(d);
3974
+ return this.startOf(v) <= m && m <= this.endOf(v);
3975
+ }, g.isAfter = function(d, v) {
3976
+ return C(d) < this.startOf(v);
3977
+ }, g.isBefore = function(d, v) {
3978
+ return this.endOf(v) < C(d);
3979
+ }, g.$g = function(d, v, m) {
3980
+ return O.u(d) ? this[v] : this.set(m, d);
3951
3981
  }, g.unix = function() {
3952
3982
  return Math.floor(this.valueOf() / 1e3);
3953
3983
  }, g.valueOf = function() {
3954
3984
  return this.$d.getTime();
3955
- }, g.startOf = function(d, b) {
3956
- var m = this, E = !!P.u(b) || b, w = P.p(d), $ = function(ue, G) {
3957
- var ie = P.w(m.$u ? Date.UTC(m.$y, G, ue) : new Date(m.$y, G, ue), m);
3985
+ }, g.startOf = function(d, v) {
3986
+ var m = this, E = !!O.u(v) || v, w = O.p(d), $ = function(ae, G) {
3987
+ var ie = O.w(m.$u ? Date.UTC(m.$y, G, ae) : new Date(m.$y, G, ae), m);
3958
3988
  return E ? ie : ie.endOf(l);
3959
- }, D = function(ue, G) {
3960
- return P.w(m.toDate()[ue].apply(m.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), m);
3961
- }, N = this.$W, F = this.$M, X = this.$D, fe = "set" + (this.$u ? "UTC" : "");
3989
+ }, L = function(ae, G) {
3990
+ return O.w(m.toDate()[ae].apply(m.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(G)), m);
3991
+ }, N = this.$W, F = this.$M, X = this.$D, he = "set" + (this.$u ? "UTC" : "");
3962
3992
  switch (w) {
3963
3993
  case _:
3964
3994
  return E ? $(1, 0) : $(31, 11);
3965
3995
  case c:
3966
3996
  return E ? $(1, F) : $(0, F + 1);
3967
3997
  case h:
3968
- var re = this.$locale().weekStart || 0, me = (N < re ? N + 7 : N) - re;
3969
- return $(E ? X - me : X + (6 - me), F);
3998
+ var re = this.$locale().weekStart || 0, de = (N < re ? N + 7 : N) - re;
3999
+ return $(E ? X - de : X + (6 - de), F);
3970
4000
  case l:
3971
4001
  case S:
3972
- return D(fe + "Hours", 0);
3973
- case o:
3974
- return D(fe + "Minutes", 1);
3975
- case u:
3976
- return D(fe + "Seconds", 2);
4002
+ return L(he + "Hours", 0);
3977
4003
  case a:
3978
- return D(fe + "Milliseconds", 3);
4004
+ return L(he + "Minutes", 1);
4005
+ case u:
4006
+ return L(he + "Seconds", 2);
4007
+ case o:
4008
+ return L(he + "Milliseconds", 3);
3979
4009
  default:
3980
4010
  return this.clone();
3981
4011
  }
3982
4012
  }, g.endOf = function(d) {
3983
4013
  return this.startOf(d, !1);
3984
- }, g.$set = function(d, b) {
3985
- var m, E = P.p(d), w = "set" + (this.$u ? "UTC" : ""), $ = (m = {}, m[l] = w + "Date", m[S] = w + "Date", m[c] = w + "Month", m[_] = w + "FullYear", m[o] = w + "Hours", m[u] = w + "Minutes", m[a] = w + "Seconds", m[s] = w + "Milliseconds", m)[E], D = E === l ? this.$D + (b - this.$W) : b;
4014
+ }, g.$set = function(d, v) {
4015
+ var m, E = O.p(d), w = "set" + (this.$u ? "UTC" : ""), $ = (m = {}, m[l] = w + "Date", m[S] = w + "Date", m[c] = w + "Month", m[_] = w + "FullYear", m[a] = w + "Hours", m[u] = w + "Minutes", m[o] = w + "Seconds", m[s] = w + "Milliseconds", m)[E], L = E === l ? this.$D + (v - this.$W) : v;
3986
4016
  if (E === c || E === _) {
3987
4017
  var N = this.clone().set(S, 1);
3988
- N.$d[$](D), N.init(), this.$d = N.set(S, Math.min(this.$D, N.daysInMonth())).$d;
4018
+ N.$d[$](L), N.init(), this.$d = N.set(S, Math.min(this.$D, N.daysInMonth())).$d;
3989
4019
  } else
3990
- $ && this.$d[$](D);
4020
+ $ && this.$d[$](L);
3991
4021
  return this.init(), this;
3992
- }, g.set = function(d, b) {
3993
- return this.clone().$set(d, b);
4022
+ }, g.set = function(d, v) {
4023
+ return this.clone().$set(d, v);
3994
4024
  }, g.get = function(d) {
3995
- return this[P.p(d)]();
3996
- }, g.add = function(d, b) {
4025
+ return this[O.p(d)]();
4026
+ }, g.add = function(d, v) {
3997
4027
  var m, E = this;
3998
4028
  d = Number(d);
3999
- var w = P.p(b), $ = function(F) {
4000
- var X = M(E);
4001
- return P.w(X.date(X.date() + Math.round(F * d)), E);
4029
+ var w = O.p(v), $ = function(F) {
4030
+ var X = C(E);
4031
+ return O.w(X.date(X.date() + Math.round(F * d)), E);
4002
4032
  };
4003
4033
  if (w === c)
4004
4034
  return this.set(c, this.$M + d);
@@ -4008,71 +4038,71 @@ var Hr = { exports: {} };
4008
4038
  return $(1);
4009
4039
  if (w === h)
4010
4040
  return $(7);
4011
- var D = (m = {}, m[u] = i, m[o] = n, m[a] = r, m)[w] || 1, N = this.$d.getTime() + d * D;
4012
- return P.w(N, this);
4013
- }, g.subtract = function(d, b) {
4014
- return this.add(-1 * d, b);
4041
+ var L = (m = {}, m[u] = i, m[a] = n, m[o] = r, m)[w] || 1, N = this.$d.getTime() + d * L;
4042
+ return O.w(N, this);
4043
+ }, g.subtract = function(d, v) {
4044
+ return this.add(-1 * d, v);
4015
4045
  }, g.format = function(d) {
4016
- var b = this, m = this.$locale();
4046
+ var v = this, m = this.$locale();
4017
4047
  if (!this.isValid())
4018
- return m.invalidDate || v;
4019
- var E = d || "YYYY-MM-DDTHH:mm:ssZ", w = P.z(this), $ = this.$H, D = this.$m, N = this.$M, F = m.weekdays, X = m.months, fe = m.meridiem, re = function(G, ie, le, ve) {
4020
- return G && (G[ie] || G(b, E)) || le[ie].slice(0, ve);
4021
- }, me = function(G) {
4022
- return P.s($ % 12 || 12, G, "0");
4023
- }, ue = fe || function(G, ie, le) {
4024
- var ve = G < 12 ? "AM" : "PM";
4025
- return le ? ve.toLowerCase() : ve;
4048
+ return m.invalidDate || b;
4049
+ var E = d || "YYYY-MM-DDTHH:mm:ssZ", w = O.z(this), $ = this.$H, L = this.$m, N = this.$M, F = m.weekdays, X = m.months, he = m.meridiem, re = function(G, ie, ue, ge) {
4050
+ return G && (G[ie] || G(v, E)) || ue[ie].slice(0, ge);
4051
+ }, de = function(G) {
4052
+ return O.s($ % 12 || 12, G, "0");
4053
+ }, ae = he || function(G, ie, ue) {
4054
+ var ge = G < 12 ? "AM" : "PM";
4055
+ return ue ? ge.toLowerCase() : ge;
4026
4056
  };
4027
4057
  return E.replace(V, function(G, ie) {
4028
- return ie || function(le) {
4029
- switch (le) {
4058
+ return ie || function(ue) {
4059
+ switch (ue) {
4030
4060
  case "YY":
4031
- return String(b.$y).slice(-2);
4061
+ return String(v.$y).slice(-2);
4032
4062
  case "YYYY":
4033
- return P.s(b.$y, 4, "0");
4063
+ return O.s(v.$y, 4, "0");
4034
4064
  case "M":
4035
4065
  return N + 1;
4036
4066
  case "MM":
4037
- return P.s(N + 1, 2, "0");
4067
+ return O.s(N + 1, 2, "0");
4038
4068
  case "MMM":
4039
4069
  return re(m.monthsShort, N, X, 3);
4040
4070
  case "MMMM":
4041
4071
  return re(X, N);
4042
4072
  case "D":
4043
- return b.$D;
4073
+ return v.$D;
4044
4074
  case "DD":
4045
- return P.s(b.$D, 2, "0");
4075
+ return O.s(v.$D, 2, "0");
4046
4076
  case "d":
4047
- return String(b.$W);
4077
+ return String(v.$W);
4048
4078
  case "dd":
4049
- return re(m.weekdaysMin, b.$W, F, 2);
4079
+ return re(m.weekdaysMin, v.$W, F, 2);
4050
4080
  case "ddd":
4051
- return re(m.weekdaysShort, b.$W, F, 3);
4081
+ return re(m.weekdaysShort, v.$W, F, 3);
4052
4082
  case "dddd":
4053
- return F[b.$W];
4083
+ return F[v.$W];
4054
4084
  case "H":
4055
4085
  return String($);
4056
4086
  case "HH":
4057
- return P.s($, 2, "0");
4087
+ return O.s($, 2, "0");
4058
4088
  case "h":
4059
- return me(1);
4089
+ return de(1);
4060
4090
  case "hh":
4061
- return me(2);
4091
+ return de(2);
4062
4092
  case "a":
4063
- return ue($, D, !0);
4093
+ return ae($, L, !0);
4064
4094
  case "A":
4065
- return ue($, D, !1);
4095
+ return ae($, L, !1);
4066
4096
  case "m":
4067
- return String(D);
4097
+ return String(L);
4068
4098
  case "mm":
4069
- return P.s(D, 2, "0");
4099
+ return O.s(L, 2, "0");
4070
4100
  case "s":
4071
- return String(b.$s);
4101
+ return String(v.$s);
4072
4102
  case "ss":
4073
- return P.s(b.$s, 2, "0");
4103
+ return O.s(v.$s, 2, "0");
4074
4104
  case "SSS":
4075
- return P.s(b.$ms, 3, "0");
4105
+ return O.s(v.$ms, 3, "0");
4076
4106
  case "Z":
4077
4107
  return w;
4078
4108
  }
@@ -4081,9 +4111,9 @@ var Hr = { exports: {} };
4081
4111
  });
4082
4112
  }, g.utcOffset = function() {
4083
4113
  return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
4084
- }, g.diff = function(d, b, m) {
4085
- var E, w = this, $ = P.p(b), D = M(d), N = (D.utcOffset() - this.utcOffset()) * i, F = this - D, X = function() {
4086
- return P.m(w, D);
4114
+ }, g.diff = function(d, v, m) {
4115
+ var E, w = this, $ = O.p(v), L = C(d), N = (L.utcOffset() - this.utcOffset()) * i, F = this - L, X = function() {
4116
+ return O.m(w, L);
4087
4117
  };
4088
4118
  switch ($) {
4089
4119
  case _:
@@ -4101,30 +4131,30 @@ var Hr = { exports: {} };
4101
4131
  case l:
4102
4132
  E = (F - N) / 864e5;
4103
4133
  break;
4104
- case o:
4134
+ case a:
4105
4135
  E = F / n;
4106
4136
  break;
4107
4137
  case u:
4108
4138
  E = F / i;
4109
4139
  break;
4110
- case a:
4140
+ case o:
4111
4141
  E = F / r;
4112
4142
  break;
4113
4143
  default:
4114
4144
  E = F;
4115
4145
  }
4116
- return m ? E : P.a(E);
4146
+ return m ? E : O.a(E);
4117
4147
  }, g.daysInMonth = function() {
4118
4148
  return this.endOf(c).$D;
4119
4149
  }, g.$locale = function() {
4120
4150
  return U[this.$L];
4121
- }, g.locale = function(d, b) {
4151
+ }, g.locale = function(d, v) {
4122
4152
  if (!d)
4123
4153
  return this.$L;
4124
- var m = this.clone(), E = Y(d, b, !0);
4154
+ var m = this.clone(), E = Y(d, v, !0);
4125
4155
  return E && (m.$L = E), m;
4126
4156
  }, g.clone = function() {
4127
- return P.w(this.$d, this);
4157
+ return O.w(this.$d, this);
4128
4158
  }, g.toDate = function() {
4129
4159
  return new Date(this.valueOf());
4130
4160
  }, g.toJSON = function() {
@@ -4134,127 +4164,127 @@ var Hr = { exports: {} };
4134
4164
  }, g.toString = function() {
4135
4165
  return this.$d.toUTCString();
4136
4166
  }, x;
4137
- }(), he = k.prototype;
4138
- return M.prototype = he, [["$ms", s], ["$s", a], ["$m", u], ["$H", o], ["$W", l], ["$M", c], ["$y", _], ["$D", S]].forEach(function(x) {
4139
- he[x[1]] = function(g) {
4167
+ }(), le = k.prototype;
4168
+ return C.prototype = le, [["$ms", s], ["$s", o], ["$m", u], ["$H", a], ["$W", l], ["$M", c], ["$y", _], ["$D", S]].forEach(function(x) {
4169
+ le[x[1]] = function(g) {
4140
4170
  return this.$g(g, x[0], x[1]);
4141
4171
  };
4142
- }), M.extend = function(x, g) {
4143
- return x.$i || (x(g, k, M), x.$i = !0), M;
4144
- }, M.locale = Y, M.isDayjs = ae, M.unix = function(x) {
4145
- return M(1e3 * x);
4146
- }, M.en = U[I], M.Ls = U, M.p = {}, M;
4172
+ }), C.extend = function(x, g) {
4173
+ return x.$i || (x(g, k, C), x.$i = !0), C;
4174
+ }, C.locale = Y, C.isDayjs = oe, C.unix = function(x) {
4175
+ return C(1e3 * x);
4176
+ }, C.en = U[I], C.Ls = U, C.p = {}, C;
4147
4177
  });
4148
- })(Hr);
4149
- var Qn = Hr.exports;
4150
- const zt = /* @__PURE__ */ xt(Qn);
4151
- var Or = { exports: {} };
4178
+ })(Tr);
4179
+ var Jn = Tr.exports;
4180
+ const jt = /* @__PURE__ */ yt(Jn);
4181
+ var Hr = { exports: {} };
4152
4182
  (function(e, t) {
4153
4183
  (function(r, i) {
4154
4184
  e.exports = i();
4155
- })(er, function() {
4185
+ })(Kt, function() {
4156
4186
  var r = "minute", i = /[+-]\d\d(?::?\d\d)?/g, n = /([+-]|\d\d)/g;
4157
- return function(s, a, u) {
4158
- var o = a.prototype;
4159
- u.utc = function(v) {
4160
- var B = { date: v, utc: !0, args: arguments };
4161
- return new a(B);
4162
- }, o.utc = function(v) {
4163
- var B = u(this.toDate(), { locale: this.$L, utc: !0 });
4164
- return v ? B.add(this.utcOffset(), r) : B;
4165
- }, o.local = function() {
4187
+ return function(s, o, u) {
4188
+ var a = o.prototype;
4189
+ u.utc = function(b) {
4190
+ var M = { date: b, utc: !0, args: arguments };
4191
+ return new o(M);
4192
+ }, a.utc = function(b) {
4193
+ var M = u(this.toDate(), { locale: this.$L, utc: !0 });
4194
+ return b ? M.add(this.utcOffset(), r) : M;
4195
+ }, a.local = function() {
4166
4196
  return u(this.toDate(), { locale: this.$L, utc: !1 });
4167
4197
  };
4168
- var l = o.parse;
4169
- o.parse = function(v) {
4170
- v.utc && (this.$u = !0), this.$utils().u(v.$offset) || (this.$offset = v.$offset), l.call(this, v);
4198
+ var l = a.parse;
4199
+ a.parse = function(b) {
4200
+ b.utc && (this.$u = !0), this.$utils().u(b.$offset) || (this.$offset = b.$offset), l.call(this, b);
4171
4201
  };
4172
- var h = o.init;
4173
- o.init = function() {
4202
+ var h = a.init;
4203
+ a.init = function() {
4174
4204
  if (this.$u) {
4175
- var v = this.$d;
4176
- 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();
4205
+ var b = this.$d;
4206
+ 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();
4177
4207
  } else
4178
4208
  h.call(this);
4179
4209
  };
4180
- var c = o.utcOffset;
4181
- o.utcOffset = function(v, B) {
4210
+ var c = a.utcOffset;
4211
+ a.utcOffset = function(b, M) {
4182
4212
  var V = this.$utils().u;
4183
- if (V(v))
4213
+ if (V(b))
4184
4214
  return this.$u ? 0 : V(this.$offset) ? c.call(this) : this.$offset;
4185
- if (typeof v == "string" && (v = function(I) {
4215
+ if (typeof b == "string" && (b = function(I) {
4186
4216
  I === void 0 && (I = "");
4187
4217
  var U = I.match(i);
4188
4218
  if (!U)
4189
4219
  return null;
4190
- var W = ("" + U[0]).match(n) || ["-", 0, 0], ae = W[0], Y = 60 * +W[1] + +W[2];
4191
- return Y === 0 ? 0 : ae === "+" ? Y : -Y;
4192
- }(v), v === null))
4220
+ var W = ("" + U[0]).match(n) || ["-", 0, 0], oe = W[0], Y = 60 * +W[1] + +W[2];
4221
+ return Y === 0 ? 0 : oe === "+" ? Y : -Y;
4222
+ }(b), b === null))
4193
4223
  return this;
4194
- var R = Math.abs(v) <= 16 ? 60 * v : v, A = this;
4195
- if (B)
4196
- return A.$offset = R, A.$u = v === 0, A;
4197
- if (v !== 0) {
4224
+ var R = Math.abs(b) <= 16 ? 60 * b : b, B = this;
4225
+ if (M)
4226
+ return B.$offset = R, B.$u = b === 0, B;
4227
+ if (b !== 0) {
4198
4228
  var z = this.$u ? this.toDate().getTimezoneOffset() : -1 * this.utcOffset();
4199
- (A = this.local().add(R + z, r)).$offset = R, A.$x.$localOffset = z;
4229
+ (B = this.local().add(R + z, r)).$offset = R, B.$x.$localOffset = z;
4200
4230
  } else
4201
- A = this.utc();
4202
- return A;
4231
+ B = this.utc();
4232
+ return B;
4203
4233
  };
4204
- var p = o.format;
4205
- o.format = function(v) {
4206
- var B = v || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4207
- return p.call(this, B);
4208
- }, o.valueOf = function() {
4209
- var v = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4210
- return this.$d.valueOf() - 6e4 * v;
4211
- }, o.isUTC = function() {
4234
+ var p = a.format;
4235
+ a.format = function(b) {
4236
+ var M = b || (this.$u ? "YYYY-MM-DDTHH:mm:ss[Z]" : "");
4237
+ return p.call(this, M);
4238
+ }, a.valueOf = function() {
4239
+ var b = this.$utils().u(this.$offset) ? 0 : this.$offset + (this.$x.$localOffset || this.$d.getTimezoneOffset());
4240
+ return this.$d.valueOf() - 6e4 * b;
4241
+ }, a.isUTC = function() {
4212
4242
  return !!this.$u;
4213
- }, o.toISOString = function() {
4243
+ }, a.toISOString = function() {
4214
4244
  return this.toDate().toISOString();
4215
- }, o.toString = function() {
4245
+ }, a.toString = function() {
4216
4246
  return this.toDate().toUTCString();
4217
4247
  };
4218
- var _ = o.toDate;
4219
- o.toDate = function(v) {
4220
- return v === "s" && this.$offset ? u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : _.call(this);
4248
+ var _ = a.toDate;
4249
+ a.toDate = function(b) {
4250
+ return b === "s" && this.$offset ? u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate() : _.call(this);
4221
4251
  };
4222
- var S = o.diff;
4223
- o.diff = function(v, B, V) {
4224
- if (v && this.$u === v.$u)
4225
- return S.call(this, v, B, V);
4226
- var R = this.local(), A = u(v).local();
4227
- return S.call(R, A, B, V);
4252
+ var S = a.diff;
4253
+ a.diff = function(b, M, V) {
4254
+ if (b && this.$u === b.$u)
4255
+ return S.call(this, b, M, V);
4256
+ var R = this.local(), B = u(b).local();
4257
+ return S.call(R, B, M, V);
4228
4258
  };
4229
4259
  };
4230
4260
  });
4231
- })(Or);
4232
- var Kn = Or.exports;
4233
- const es = /* @__PURE__ */ xt(Kn);
4234
- function ts(e) {
4235
- Dr(e, "svelte-3ui5us", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative;box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
4261
+ })(Hr);
4262
+ var Qn = Hr.exports;
4263
+ const Kn = /* @__PURE__ */ yt(Qn);
4264
+ function es(e) {
4265
+ Cr(e, "svelte-3ui5us", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;-webkit-tap-highlight-color:transparent}.CashierVerifications{position:relative;box-shadow:0 0 4px var(--mmw--color-black-transparency-10, rgba(0, 0, 0, 0.1))}.CashierVerifications.CashierVerificationsDesktop{border-radius:var(--mmw--border-radius-medium-plus, 6px);overflow:hidden}.CashierVerifications.CashierVerificationsDesktop:has(.CashierVerificationMessage){margin-bottom:var(--emw--spacing-small, 12px)}.CashierVerificationsWrapper{display:flex;flex-direction:column;width:100%}.IconVerification{width:30px;display:flex}.CashierVerificationMessage{display:flex;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.CashierVerificationMessage:first-child{transition:none;cursor:pointer}.CashierVerificationMessage:first-child:hover{background:linear-gradient(0, var(--emw--color-gray-50, #F7F8FA) 0%, var(--emw--color-white, #fff) 100%)}.CashierVerificationMessage:not(.ShowAll):not(:first-child){max-height:0;overflow:hidden}.CashierVerificationMessage:hover .CashierVerificationChevron svg path{opacity:1}svg{height:20px}svg .IconColor{fill:var(--emw--color-warning, #ec9109)}p{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-family:inherit;line-height:120%;margin:var(--emw--spacing-small, 12px)}.CashierVerificationsDesktop p{font-size:var(--emw--font-size-medium, 16px)}.text{word-break:break-word}.CashierVerificationChevron{cursor:pointer;margin-left:auto}.CashierVerificationChevron svg{transition:0.25s}.CashierVerificationChevron svg path{fill:var(--mmw--color-grey-290, #666);opacity:0.5}.CashierVerificationChevron:hover svg path{opacity:1}.ShowAll .CashierVerificationChevron svg{-o-transform:rotate(180deg);-ms-transform:rotate(180deg);-moz-transform:rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg)}.CashierVerificationVideo{display:flex;width:100%;align-items:center;box-sizing:border-box;background:var(--emw--color-gray-50, #F7F8FA);border-bottom:1px solid var(--mmw--color-grey-105, #E8E9EB);padding:0 var(--emw--spacing-small, 12px);transition:0.5s;max-height:500px}.IconVideo{width:30px;display:flex;justify-content:center}.CashierVerificationVideoLink{cursor:pointer;color:var(--mmw--color-grey-10, #111);font-family:inherit;font-size:var(--emw--font-size-small, 14px);line-height:120%;margin:var(--emw--spacing-small, 12px);text-decoration:underline}.CashierVerificationVideoLinkDesktop{font-size:var(--emw--font-size-medium, 16px)}");
4236
4266
  }
4237
- function Xt(e, t, r) {
4267
+ function zt(e, t, r) {
4238
4268
  const i = e.slice();
4239
4269
  return i[54] = t[r], i[56] = r, i;
4240
4270
  }
4241
- function rs(e) {
4271
+ function ts(e) {
4242
4272
  let t, r, i, n, s = Pt(
4243
4273
  /*displayMessages*/
4244
4274
  e[4]
4245
- ), a = [];
4246
- for (let o = 0; o < s.length; o += 1)
4247
- a[o] = qt(Xt(e, s, o));
4275
+ ), o = [];
4276
+ for (let a = 0; a < s.length; a += 1)
4277
+ o[a] = Wt(zt(e, s, a));
4248
4278
  let u = (
4249
4279
  /*videoExists*/
4250
- e[7] && Yt(e)
4280
+ e[7] && qt(e)
4251
4281
  );
4252
4282
  return {
4253
4283
  c() {
4254
4284
  t = q("div");
4255
- for (let o = 0; o < a.length; o += 1)
4256
- a[o].c();
4257
- r = xe(), u && u.c(), i = xe(), n = q("cashier-video-modal"), te(t, "class", "CashierVerificationsWrapper"), J(
4285
+ for (let a = 0; a < o.length; a += 1)
4286
+ o[a].c();
4287
+ r = _e(), u && u.c(), i = _e(), n = q("cashier-video-modal"), te(t, "class", "CashierVerificationsWrapper"), J(
4258
4288
  n,
4259
4289
  "clientstylingurl",
4260
4290
  /*clientstylingurl*/
@@ -4276,61 +4306,61 @@ function rs(e) {
4276
4306
  e[8]
4277
4307
  );
4278
4308
  },
4279
- m(o, l) {
4280
- oe(o, t, l);
4281
- for (let h = 0; h < a.length; h += 1)
4282
- a[h] && a[h].m(t, null);
4283
- oe(o, r, l), u && u.m(o, l), oe(o, i, l), oe(o, n, l);
4309
+ m(a, l) {
4310
+ se(a, t, l);
4311
+ for (let h = 0; h < o.length; h += 1)
4312
+ o[h] && o[h].m(t, null);
4313
+ se(a, r, l), u && u.m(a, l), se(a, i, l), se(a, n, l);
4284
4314
  },
4285
- p(o, l) {
4315
+ p(a, l) {
4286
4316
  if (l[0] & /*allVerificationsVisible, showAllVerifications, displayMessages*/
4287
4317
  2096) {
4288
4318
  s = Pt(
4289
4319
  /*displayMessages*/
4290
- o[4]
4320
+ a[4]
4291
4321
  );
4292
4322
  let h;
4293
4323
  for (h = 0; h < s.length; h += 1) {
4294
- const c = Xt(o, s, h);
4295
- a[h] ? a[h].p(c, l) : (a[h] = qt(c), a[h].c(), a[h].m(t, null));
4324
+ const c = zt(a, s, h);
4325
+ o[h] ? o[h].p(c, l) : (o[h] = Wt(c), o[h].c(), o[h].m(t, null));
4296
4326
  }
4297
- for (; h < a.length; h += 1)
4298
- a[h].d(1);
4299
- a.length = s.length;
4327
+ for (; h < o.length; h += 1)
4328
+ o[h].d(1);
4329
+ o.length = s.length;
4300
4330
  }
4301
4331
  /*videoExists*/
4302
- o[7] ? u ? u.p(o, l) : (u = Yt(o), u.c(), u.m(i.parentNode, i)) : u && (u.d(1), u = null), l[0] & /*clientstylingurl*/
4332
+ a[7] ? u ? u.p(a, l) : (u = qt(a), u.c(), u.m(i.parentNode, i)) : u && (u.d(1), u = null), l[0] & /*clientstylingurl*/
4303
4333
  2 && J(
4304
4334
  n,
4305
4335
  "clientstylingurl",
4306
4336
  /*clientstylingurl*/
4307
- o[1]
4337
+ a[1]
4308
4338
  ), l[0] & /*clientstyling*/
4309
4339
  1 && J(
4310
4340
  n,
4311
4341
  "clientstyling",
4312
4342
  /*clientstyling*/
4313
- o[0]
4343
+ a[0]
4314
4344
  ), l[0] & /*ismobileview*/
4315
4345
  4 && J(
4316
4346
  n,
4317
4347
  "ismobileview",
4318
4348
  /*ismobileview*/
4319
- o[2]
4349
+ a[2]
4320
4350
  ), l[0] & /*videoSrc*/
4321
4351
  256 && J(
4322
4352
  n,
4323
4353
  "videosrc",
4324
4354
  /*videoSrc*/
4325
- o[8]
4355
+ a[8]
4326
4356
  );
4327
4357
  },
4328
- d(o) {
4329
- o && (K(t), K(r), K(i), K(n)), Nr(a, o), u && u.d(o);
4358
+ d(a) {
4359
+ a && (K(t), K(r), K(i), K(n)), Ir(o, a), u && u.d(a);
4330
4360
  }
4331
4361
  };
4332
4362
  }
4333
- function is(e) {
4363
+ function rs(e) {
4334
4364
  let t;
4335
4365
  return {
4336
4366
  c() {
@@ -4347,7 +4377,7 @@ function is(e) {
4347
4377
  );
4348
4378
  },
4349
4379
  m(r, i) {
4350
- oe(r, t, i);
4380
+ se(r, t, i);
4351
4381
  },
4352
4382
  p(r, i) {
4353
4383
  i[0] & /*clientstylingurl*/
@@ -4369,7 +4399,7 @@ function is(e) {
4369
4399
  }
4370
4400
  };
4371
4401
  }
4372
- function Wt(e) {
4402
+ function Xt(e) {
4373
4403
  let t, r, i;
4374
4404
  function n(...s) {
4375
4405
  return (
@@ -4385,10 +4415,10 @@ function Wt(e) {
4385
4415
  c() {
4386
4416
  t = q("span"), t.innerHTML = '<svg width="25px" height="25px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M12 1C5.92487 1 1 5.92487 1 12C1 18.0751 5.92487 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92487 18.0751 1 12 1ZM8.70711 9.79289C8.31658 9.40237 7.68342 9.40237 7.29289 9.79289C6.90237 10.1834 6.90237 10.8166 7.29289 11.2071L11.2929 15.2071C11.6834 15.5976 12.3166 15.5976 12.7071 15.2071L16.7071 11.2071C17.0976 10.8166 17.0976 10.1834 16.7071 9.79289C16.3166 9.40237 15.6834 9.40237 15.2929 9.79289L12 13.0858L8.70711 9.79289Z" fill="#000000"></path></svg>', te(t, "class", "CashierVerificationChevron");
4387
4417
  },
4388
- m(s, a) {
4389
- oe(s, t, a), r || (i = _t(t, "click", n), r = !0);
4418
+ m(s, o) {
4419
+ se(s, t, o), r || (i = vt(t, "click", n), r = !0);
4390
4420
  },
4391
- p(s, a) {
4421
+ p(s, o) {
4392
4422
  e = s;
4393
4423
  },
4394
4424
  d(s) {
@@ -4396,14 +4426,14 @@ function Wt(e) {
4396
4426
  }
4397
4427
  };
4398
4428
  }
4399
- function qt(e) {
4429
+ function Wt(e) {
4400
4430
  let t, r, i, n, s = (
4401
4431
  /*message*/
4402
4432
  e[54] + ""
4403
- ), a, u, o, l, h = (
4433
+ ), o, u, a, l, h = (
4404
4434
  /*displayMessages*/
4405
4435
  e[4].length > 1 && /*index*/
4406
- e[56] === 0 && Wt(e)
4436
+ e[56] === 0 && Xt(e)
4407
4437
  );
4408
4438
  function c(...p) {
4409
4439
  return (
@@ -4417,7 +4447,7 @@ function qt(e) {
4417
4447
  }
4418
4448
  return {
4419
4449
  c() {
4420
- t = q("div"), r = q("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = xe(), n = q("p"), a = xe(), h && h.c(), u = xe(), te(r, "class", "IconVerification"), te(n, "class", "text"), te(t, "class", "CashierVerificationMessage"), we(
4450
+ t = q("div"), r = q("div"), r.innerHTML = '<svg width="64px" height="64px" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg" stroke="#ffffff"><g id="SVGRepo_bgCarrier" stroke-width="0"></g><g id="SVGRepo_tracerCarrier" stroke-linecap="round" stroke-linejoin="round"></g><g id="SVGRepo_iconCarrier"><path d="M4.39254 16.2614C2.64803 13.1941 1.66074 9.71783 1.51646 6.15051C1.50127 5.77507 1.70918 5.42812 2.04153 5.25282L11.5335 0.246091C11.8254 0.0920859 12.1746 0.0920859 12.4665 0.246091L21.9585 5.25282C22.2908 5.42812 22.4987 5.77507 22.4835 6.15051C22.3393 9.71783 21.352 13.1941 19.6075 16.2614C17.8618 19.3307 15.4169 21.8869 12.4986 23.7001C12.1931 23.8899 11.8069 23.8899 11.5014 23.7001C8.58313 21.8869 6.13817 19.3307 4.39254 16.2614Z" fill="#fa9200"></path><path d="M8.25 12.75L11.25 15L17.25 9" stroke="white" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"></path></g></svg>', i = _e(), n = q("p"), o = _e(), h && h.c(), u = _e(), te(r, "class", "IconVerification"), te(n, "class", "text"), te(t, "class", "CashierVerificationMessage"), Ee(
4421
4451
  t,
4422
4452
  "ShowAll",
4423
4453
  /*allVerificationsVisible*/
@@ -4425,15 +4455,15 @@ function qt(e) {
4425
4455
  );
4426
4456
  },
4427
4457
  m(p, _) {
4428
- oe(p, t, _), ne(t, r), ne(t, i), ne(t, n), n.innerHTML = s, ne(t, a), h && h.m(t, null), ne(t, u), o || (l = _t(t, "click", c), o = !0);
4458
+ se(p, t, _), ne(t, r), ne(t, i), ne(t, n), n.innerHTML = s, ne(t, o), h && h.m(t, null), ne(t, u), a || (l = vt(t, "click", c), a = !0);
4429
4459
  },
4430
4460
  p(p, _) {
4431
4461
  e = p, _[0] & /*displayMessages*/
4432
4462
  16 && s !== (s = /*message*/
4433
4463
  e[54] + "") && (n.innerHTML = s), /*displayMessages*/
4434
4464
  e[4].length > 1 && /*index*/
4435
- e[56] === 0 ? h ? h.p(e, _) : (h = Wt(e), h.c(), h.m(t, u)) : h && (h.d(1), h = null), _[0] & /*allVerificationsVisible*/
4436
- 32 && we(
4465
+ e[56] === 0 ? h ? h.p(e, _) : (h = Xt(e), h.c(), h.m(t, u)) : h && (h.d(1), h = null), _[0] & /*allVerificationsVisible*/
4466
+ 32 && Ee(
4437
4467
  t,
4438
4468
  "ShowAll",
4439
4469
  /*allVerificationsVisible*/
@@ -4441,18 +4471,18 @@ function qt(e) {
4441
4471
  );
4442
4472
  },
4443
4473
  d(p) {
4444
- p && K(t), h && h.d(), o = !1, l();
4474
+ p && K(t), h && h.d(), a = !1, l();
4445
4475
  }
4446
4476
  };
4447
4477
  }
4448
- function Yt(e) {
4478
+ function qt(e) {
4449
4479
  let t, r, i, n, s = (
4450
4480
  /*$_*/
4451
4481
  e[10]("verification.video.how-to") + ""
4452
- ), a, u, o;
4482
+ ), o, u, a;
4453
4483
  return {
4454
4484
  c() {
4455
- t = q("div"), r = q("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = xe(), n = q("div"), a = yt(s), te(r, "class", "IconVideo"), te(n, "class", "CashierVerificationVideoLink"), we(
4485
+ t = q("div"), r = q("div"), r.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.043 8 8 119.083 8 256c0 136.997 111.043 248 248 248s248-111.003 248-248C504 119.083 392.957 8 256 8zm0 448c-110.532 0-200-89.431-200-200 0-110.495 89.472-200 200-200 110.491 0 200 89.471 200 200 0 110.53-89.431 200-200 200zm107.244-255.2c0 67.052-72.421 68.084-72.421 92.863V300c0 6.627-5.373 12-12 12h-45.647c-6.627 0-12-5.373-12-12v-8.659c0-35.745 27.1-50.034 47.579-61.516 17.561-9.845 28.324-16.541 28.324-29.579 0-17.246-21.999-28.693-39.784-28.693-23.189 0-33.894 10.977-48.942 29.969-4.057 5.12-11.46 6.071-16.666 2.124l-27.824-21.098c-5.107-3.872-6.251-11.066-2.644-16.363C184.846 131.491 214.94 112 261.794 112c49.071 0 101.45 38.304 101.45 88.8zM298 368c0 23.159-18.841 42-42 42s-42-18.841-42-42 18.841-42 42-42 42 18.841 42 42z"></path></svg>', i = _e(), n = q("div"), o = bt(s), te(r, "class", "IconVideo"), te(n, "class", "CashierVerificationVideoLink"), Ee(
4456
4486
  n,
4457
4487
  "CashierVerificationVideoLinkDesktop",
4458
4488
  /*desktopView*/
@@ -4460,7 +4490,7 @@ function Yt(e) {
4460
4490
  ), te(t, "class", "CashierVerificationVideo");
4461
4491
  },
4462
4492
  m(l, h) {
4463
- oe(l, t, h), ne(t, r), ne(t, i), ne(t, n), ne(n, a), u || (o = _t(
4493
+ se(l, t, h), ne(t, r), ne(t, i), ne(t, n), ne(n, o), u || (a = vt(
4464
4494
  n,
4465
4495
  "click",
4466
4496
  /*click_handler_2*/
@@ -4470,8 +4500,8 @@ function Yt(e) {
4470
4500
  p(l, h) {
4471
4501
  h[0] & /*$_*/
4472
4502
  1024 && s !== (s = /*$_*/
4473
- l[10]("verification.video.how-to") + "") && kr(a, s), h[0] & /*desktopView*/
4474
- 64 && we(
4503
+ l[10]("verification.video.how-to") + "") && Rr(o, s), h[0] & /*desktopView*/
4504
+ 64 && Ee(
4475
4505
  n,
4476
4506
  "CashierVerificationVideoLinkDesktop",
4477
4507
  /*desktopView*/
@@ -4479,40 +4509,40 @@ function Yt(e) {
4479
4509
  );
4480
4510
  },
4481
4511
  d(l) {
4482
- l && K(t), u = !1, o();
4512
+ l && K(t), u = !1, a();
4483
4513
  }
4484
4514
  };
4485
4515
  }
4486
- function ns(e) {
4516
+ function is(e) {
4487
4517
  let t;
4488
- function r(s, a) {
4518
+ function r(s, o) {
4489
4519
  if (
4490
4520
  /*isLoading*/
4491
4521
  s[9]
4492
4522
  )
4493
- return is;
4523
+ return rs;
4494
4524
  if (
4495
4525
  /*displayMessages*/
4496
4526
  s[4]
4497
4527
  )
4498
- return rs;
4528
+ return ts;
4499
4529
  }
4500
4530
  let i = r(e), n = i && i(e);
4501
4531
  return {
4502
4532
  c() {
4503
- t = q("div"), n && n.c(), te(t, "class", "CashierVerifications"), we(
4533
+ t = q("div"), n && n.c(), te(t, "class", "CashierVerifications"), Ee(
4504
4534
  t,
4505
4535
  "CashierVerificationsDesktop",
4506
4536
  /*desktopView*/
4507
4537
  e[6]
4508
4538
  );
4509
4539
  },
4510
- m(s, a) {
4511
- oe(s, t, a), n && n.m(t, null), e[24](t);
4540
+ m(s, o) {
4541
+ se(s, t, o), n && n.m(t, null), e[24](t);
4512
4542
  },
4513
- p(s, a) {
4514
- i === (i = r(s)) && n ? n.p(s, a) : (n && n.d(1), n = i && i(s), n && (n.c(), n.m(t, null))), a[0] & /*desktopView*/
4515
- 64 && we(
4543
+ p(s, o) {
4544
+ i === (i = r(s)) && n ? n.p(s, o) : (n && n.d(1), n = i && i(s), n && (n.c(), n.m(t, null))), o[0] & /*desktopView*/
4545
+ 64 && Ee(
4516
4546
  t,
4517
4547
  "CashierVerificationsDesktop",
4518
4548
  /*desktopView*/
@@ -4526,27 +4556,27 @@ function ns(e) {
4526
4556
  }
4527
4557
  };
4528
4558
  }
4529
- const ss = "verification_explanation_video_widgets.MP4";
4530
- function os(e, t, r) {
4559
+ const ns = "verification_explanation_video_widgets.MP4";
4560
+ function ss(e, t, r) {
4531
4561
  let i, n;
4532
- Ht(e, Xn, (f) => r(10, i = f)), Ht(e, qn, (f) => r(30, n = f)), zt.extend(es);
4533
- let { endpoint: s } = t, { lang: a = "en" } = t, { translationurl: u = "" } = t, { clientstyling: o = "" } = t, { clientstylingurl: l = "" } = t, { session: h = "" } = t, { customerid: c = "" } = t, { ismobileview: p = "" } = t, { playersession: _ = "" } = t, { mbsource: S = "" } = t, v, B = /* @__PURE__ */ new Set(), V = /* @__PURE__ */ new Set(), R, A, z, I = !0, U = !0, W = !1, ae = "", Y = !1;
4534
- var M;
4562
+ Tt(e, zn, (f) => r(10, i = f)), Tt(e, Wn, (f) => r(30, n = f)), jt.extend(Kn);
4563
+ let { endpoint: s } = t, { lang: o = "en" } = t, { translationurl: u = "" } = t, { clientstyling: a = "" } = t, { clientstylingurl: l = "" } = t, { session: h = "" } = t, { customerid: c = "" } = t, { ismobileview: p = "" } = t, { playersession: _ = "" } = t, { mbsource: S = "" } = t, b, M = /* @__PURE__ */ new Set(), V = /* @__PURE__ */ new Set(), R, B, z, I = !0, U = !0, W = !1, oe = "", Y = !1;
4564
+ var C;
4535
4565
  (function(f) {
4536
4566
  f.Manual = "Manual", f.ShuftiPro = "ShuftiPro";
4537
- })(M || (M = {}));
4538
- var P;
4567
+ })(C || (C = {}));
4568
+ var O;
4539
4569
  (function(f) {
4540
4570
  f.Requested = "Requested";
4541
- })(P || (P = {}));
4571
+ })(O || (O = {}));
4542
4572
  var k;
4543
4573
  (function(f) {
4544
4574
  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";
4545
4575
  })(k || (k = {}));
4546
- var he;
4576
+ var le;
4547
4577
  (function(f) {
4548
4578
  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";
4549
- })(he || (he = {})), Vr(() => () => {
4579
+ })(le || (le = {})), Fr(() => () => {
4550
4580
  });
4551
4581
  const x = [
4552
4582
  k.InProgress,
@@ -4557,34 +4587,34 @@ function os(e, t, r) {
4557
4587
  if (f)
4558
4588
  return fetch(f).then((y) => y.json()).then((y) => {
4559
4589
  Object.keys(y).forEach((T) => {
4560
- Gt(T, y[T]);
4590
+ Vt(T, y[T]);
4561
4591
  });
4562
4592
  }).catch((y) => {
4563
4593
  console.log(y);
4564
4594
  });
4565
4595
  };
4566
- Object.keys(jt).forEach((f) => {
4567
- Gt(f, jt[f]);
4596
+ Object.keys(Gt).forEach((f) => {
4597
+ Vt(f, Gt[f]);
4568
4598
  });
4569
4599
  const d = () => {
4570
- Wn(a);
4571
- }, b = () => {
4572
- r(20, A = w());
4573
- const f = new URL(`${s}/v1/player/${c}/verification/GetKYCCustomerStatus?language=${a}`), y = new Headers();
4574
- y.append("accept", "application/json"), y.append("Content-Type", "application/json"), y.append("x-sessionid", `${_}`), y.append("X-Client-Request-Timestamp", zt.utc().format("YYYY-MM-DD HH:mm:ss.SSS"));
4600
+ Xn(o);
4601
+ }, v = () => {
4602
+ r(20, B = w());
4603
+ const f = new URL(`${s}/v1/player/${c}/verification/GetKYCCustomerStatus?language=${o}`), y = new Headers();
4604
+ 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"));
4575
4605
  const T = {
4576
4606
  method: "POST",
4577
4607
  headers: y,
4578
4608
  body: JSON.stringify({})
4579
4609
  };
4580
4610
  r(9, Y = !0), fetch(f, T).then((Q) => Q.json()).then((Q) => {
4581
- const Ke = m(Q?.Verifications);
4582
- R = $(Ke), R.VerificationStatuses.forEach((Ue) => {
4583
- Ue.VerificationUrlType !== "Widget" && B.add(Ue.Vendor);
4611
+ const Je = m(Q?.Verifications);
4612
+ R = $(Je), R.VerificationStatuses.forEach((ke) => {
4613
+ ke.VerificationUrlType !== "Widget" && M.add(ke.Vendor);
4584
4614
  }), r(4, z = re());
4585
4615
  }).finally(() => r(9, Y = !1));
4586
4616
  }, m = (f) => f ? f.sort((y, T) => new Date(T.Created).getTime() - new Date(y.Created).getTime()) : [], E = () => {
4587
- n && b();
4617
+ n && v();
4588
4618
  }, w = () => {
4589
4619
  let f = (h || n).split(".")[1];
4590
4620
  if (f) {
@@ -4600,7 +4630,7 @@ function os(e, t, r) {
4600
4630
  };
4601
4631
  const y = F(f);
4602
4632
  if (y && y.length) {
4603
- const T = D(y);
4633
+ const T = L(y);
4604
4634
  return {
4605
4635
  VerificationSummaryStatus: T.Status,
4606
4636
  VerificationUrl: T.Flags?.DeferredUrlKey,
@@ -4611,7 +4641,7 @@ function os(e, t, r) {
4611
4641
  VerificationSummaryStatus: f.some((Q) => Q.Status === k.Failed) ? k.Failed : k.Verified,
4612
4642
  VerificationStatuses: N(f, [k.Failed])
4613
4643
  };
4614
- }, D = (f) => f.reduce(
4644
+ }, L = (f) => f.reduce(
4615
4645
  (y, T) => y ? new Date(y) < new Date(T) ? T : y : T,
4616
4646
  0
4617
4647
  ), N = (f, y) => f.filter((T) => y.includes(T.Status)).map((T) => ({
@@ -4620,43 +4650,43 @@ function os(e, t, r) {
4620
4650
  VerificationDocuments: T.Documents ? [...T.Documents] : [],
4621
4651
  VerificationUrlType: T.FlowInfo?.Type,
4622
4652
  VerificationUrl: T.FlowInfo?.Url
4623
- })), F = (f) => f.filter((y) => x.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || X(y) || fe(y) : !1), X = (f) => {
4624
- const y = f.Documents && f.VendorName === M.Manual, T = f.Documents && f.Documents.some((Q) => Q.Status === P.Requested);
4653
+ })), F = (f) => f.filter((y) => x.includes(y.Status) ? y.FlowInfo && y.FlowInfo.Url || X(y) || he(y) : !1), X = (f) => {
4654
+ const y = f.Documents && f.VendorName === C.Manual, T = f.Documents && f.Documents.some((Q) => Q.Status === O.Requested);
4625
4655
  return y && T;
4626
- }, fe = (f) => f.VendorName === M.ShuftiPro && f.Status === k.Referred, re = () => {
4656
+ }, he = (f) => f.VendorName === C.ShuftiPro && f.Status === k.Referred, re = () => {
4627
4657
  switch (R.VerificationSummaryStatus) {
4628
4658
  case k.InProgress:
4629
4659
  const f = [];
4630
- return B.forEach((y) => {
4631
- f.push(me(y));
4660
+ return M.forEach((y) => {
4661
+ f.push(de(y));
4632
4662
  }), f;
4633
4663
  case k.Referred:
4634
4664
  return [i("verification.idenfy.referred-awaiting")];
4635
4665
  case k.Failed:
4636
4666
  return [i("verification.message.failed")];
4637
4667
  }
4638
- }, me = (f) => {
4668
+ }, de = (f) => {
4639
4669
  const y = R.VerificationStatuses.filter((T) => T.Vendor === f);
4640
- if (f === M.ShuftiPro)
4641
- return ue(y);
4670
+ if (f === C.ShuftiPro)
4671
+ return ae(y);
4642
4672
  {
4643
4673
  const T = i("verification.idenfy.link-name"), Q = {
4644
4674
  link: `<a href="${y[0].VerificationUrl}" target="_blank">${T}</a>`
4645
4675
  };
4646
4676
  return i("verification.idenfy.in-progress", { values: Q });
4647
4677
  }
4648
- }, ue = (f) => {
4678
+ }, ae = (f) => {
4649
4679
  const y = [], T = {}, Q = [
4650
- he.Biometric,
4651
- he.Documents,
4652
- he.ProofOfAddress
4680
+ le.Biometric,
4681
+ le.Documents,
4682
+ le.ProofOfAddress
4653
4683
  ];
4654
- f.forEach((pe) => {
4655
- Q.includes(pe.Type) && (y.push(pe.Type), T[pe.Type] = G(pe, ie(pe.Type)));
4684
+ f.forEach((me) => {
4685
+ Q.includes(me.Type) && (y.push(me.Type), T[me.Type] = G(me, ie(me.Type)));
4656
4686
  });
4657
- let Ke = y.every((pe) => V.has(pe)), Ue = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4658
- return Ke ? i("verification.shuftipro.validations-started") : i(Ue, { values: T });
4659
- }, G = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, ie = (f) => i(`verification.shuftipro.link-name.${f}`), le = (f, y) => {
4687
+ let Je = y.every((me) => V.has(me)), ke = `verification.shuftipro.in-progress.${y.sort().join(".")}`;
4688
+ return Je ? i("verification.shuftipro.validations-started") : i(ke, { values: T });
4689
+ }, G = (f, y) => `<a class="verificationLink ${f.Type}" href=" ${f.VerificationUrl} " target="_blank">${y}</a>`, ie = (f) => i(`verification.shuftipro.link-name.${f}`), ue = (f, y) => {
4660
4690
  if (f.stopPropagation(), f.target && (f.target.href || f.target.closest("a"))) {
4661
4691
  if (f.target.closest(".verificationLink")) {
4662
4692
  const T = f.target.className.split(" ")[1];
@@ -4665,74 +4695,74 @@ function os(e, t, r) {
4665
4695
  return;
4666
4696
  }
4667
4697
  y === 0 && r(5, I = !I);
4668
- }, ve = () => {
4698
+ }, ge = () => {
4669
4699
  r(6, U = p === "false");
4670
4700
  }, Pr = () => {
4671
- r(8, ae = A + "/" + a + "/" + ss);
4701
+ r(8, oe = B + "/" + o + "/" + ns);
4672
4702
  try {
4673
- fetch(ae, { method: "HEAD" }).then((f) => {
4703
+ fetch(oe, { method: "HEAD" }).then((f) => {
4674
4704
  r(7, W = f.ok);
4675
4705
  });
4676
4706
  } catch {
4677
4707
  r(7, W = !1);
4678
4708
  }
4679
- }, St = () => {
4709
+ }, wt = () => {
4680
4710
  window.postMessage({ type: "ShowCashierVideoModal" }, window.location.href);
4681
- }, Ar = (f, y) => le(y, f), $r = (f, y) => le(y, f), Br = () => St();
4682
- function Mr(f) {
4683
- at[f ? "unshift" : "push"](() => {
4684
- v = f, r(3, v);
4711
+ }, Or = (f, y) => ue(y, f), Ar = (f, y) => ue(y, f), Br = () => wt();
4712
+ function $r(f) {
4713
+ st[f ? "unshift" : "push"](() => {
4714
+ b = f, r(3, b);
4685
4715
  });
4686
4716
  }
4687
4717
  return e.$$set = (f) => {
4688
- "endpoint" in f && r(13, s = f.endpoint), "lang" in f && r(14, a = f.lang), "translationurl" in f && r(15, u = f.translationurl), "clientstyling" in f && r(0, o = f.clientstyling), "clientstylingurl" in f && r(1, l = f.clientstylingurl), "session" in f && r(16, h = f.session), "customerid" in f && r(17, c = f.customerid), "ismobileview" in f && r(2, p = f.ismobileview), "playersession" in f && r(18, _ = f.playersession), "mbsource" in f && r(19, S = f.mbsource);
4718
+ "endpoint" in f && r(13, s = f.endpoint), "lang" in f && r(14, o = f.lang), "translationurl" in f && r(15, u = f.translationurl), "clientstyling" in f && r(0, a = f.clientstyling), "clientstylingurl" in f && r(1, l = f.clientstylingurl), "session" in f && r(16, h = f.session), "customerid" in f && r(17, c = f.customerid), "ismobileview" in f && r(2, p = f.ismobileview), "playersession" in f && r(18, _ = f.playersession), "mbsource" in f && r(19, S = f.mbsource);
4689
4719
  }, e.$$.update = () => {
4690
4720
  e.$$.dirty[0] & /*lang*/
4691
- 16384 && a && d(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4692
- 335872 && s && h && _ && b(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4721
+ 16384 && o && d(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4722
+ 335872 && s && h && _ && v(), e.$$.dirty[0] & /*endpoint, session, playersession*/
4693
4723
  335872 && s && !h && _ && E(), e.$$.dirty[0] & /*translationurl*/
4694
4724
  32768 && u && g(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4695
- 9 && o && v && Yn(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4696
- 10 && l && v && Zn(), e.$$.dirty[0] & /*ismobileview*/
4697
- 4 && p && ve(), e.$$.dirty[0] & /*staticCdnUrl*/
4698
- 1048576 && A && Pr(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4699
- 524296 && S && v && Jn(v, `${S}.Style`);
4725
+ 9 && a && b && qn(), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4726
+ 10 && l && b && Yn(), e.$$.dirty[0] & /*ismobileview*/
4727
+ 4 && p && ge(), e.$$.dirty[0] & /*staticCdnUrl*/
4728
+ 1048576 && B && Pr(), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4729
+ 524296 && S && b && Zn(b, `${S}.Style`);
4700
4730
  }, [
4701
- o,
4731
+ a,
4702
4732
  l,
4703
4733
  p,
4704
- v,
4734
+ b,
4705
4735
  z,
4706
4736
  I,
4707
4737
  U,
4708
4738
  W,
4709
- ae,
4739
+ oe,
4710
4740
  Y,
4711
4741
  i,
4712
- le,
4713
- St,
4742
+ ue,
4743
+ wt,
4714
4744
  s,
4715
- a,
4745
+ o,
4716
4746
  u,
4717
4747
  h,
4718
4748
  c,
4719
4749
  _,
4720
4750
  S,
4721
- A,
4751
+ B,
4752
+ Or,
4722
4753
  Ar,
4723
- $r,
4724
4754
  Br,
4725
- Mr
4755
+ $r
4726
4756
  ];
4727
4757
  }
4728
- class as extends ei {
4758
+ class os extends Kr {
4729
4759
  constructor(t) {
4730
- super(), Qr(
4760
+ super(), Jr(
4731
4761
  this,
4732
4762
  t,
4733
- os,
4734
- ns,
4735
- Jt,
4763
+ ss,
4764
+ is,
4765
+ Zt,
4736
4766
  {
4737
4767
  endpoint: 13,
4738
4768
  lang: 14,
@@ -4745,7 +4775,7 @@ class as extends ei {
4745
4775
  playersession: 18,
4746
4776
  mbsource: 19
4747
4777
  },
4748
- ts,
4778
+ es,
4749
4779
  [-1, -1]
4750
4780
  );
4751
4781
  }
@@ -4810,30 +4840,34 @@ class as extends ei {
4810
4840
  this.$$set({ mbsource: t }), Z();
4811
4841
  }
4812
4842
  }
4813
- Kr(as, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {}, mbsource: {} }, [], [], !0);
4843
+ Qr(os, { endpoint: {}, lang: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, session: {}, customerid: {}, ismobileview: {}, playersession: {}, mbsource: {} }, [], [], !0);
4814
4844
  export {
4815
- as as C,
4816
- ei as S,
4817
- Dr as a,
4818
- oe as b,
4819
- Kr as c,
4820
- K as d,
4821
- hs as e,
4845
+ os as C,
4846
+ Kr as S,
4847
+ hs as _,
4848
+ Ke as a,
4849
+ fs as b,
4850
+ qe as c,
4851
+ Qr as d,
4852
+ Cr as e,
4822
4853
  Z as f,
4823
- us as g,
4824
- te as h,
4825
- Qr as i,
4826
- ne as j,
4854
+ ls as g,
4855
+ se as h,
4856
+ Jr as i,
4857
+ K as j,
4827
4858
  q as k,
4828
- xe as l,
4829
- at as m,
4859
+ _e as l,
4860
+ as as m,
4830
4861
  ee as n,
4831
- Vr as o,
4832
- _t as p,
4833
- ls as q,
4834
- Yn as r,
4835
- Jt as s,
4836
- we as t,
4837
- Zn as u,
4838
- Jn as v
4862
+ Fr as o,
4863
+ te as p,
4864
+ ne as q,
4865
+ us as r,
4866
+ Zt as s,
4867
+ Ee as t,
4868
+ vt as u,
4869
+ st as v,
4870
+ qn as w,
4871
+ Yn as x,
4872
+ Zn as y
4839
4873
  };