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