@everymatrix/cashier-header 1.71.1 → 1.72.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,19 +14,19 @@ function yt(e) {
14
14
  function Qe() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function ee(e) {
17
+ function te(e) {
18
18
  e.forEach(yt);
19
19
  }
20
- function je(e) {
20
+ function Ve(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function xt(e, t) {
23
+ function Et(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
26
  function tr(e) {
27
27
  return Object.keys(e).length === 0;
28
28
  }
29
- function Et(e, ...t) {
29
+ function xt(e, ...t) {
30
30
  if (e == null) {
31
31
  for (const n of t)
32
32
  n(void 0);
@@ -36,9 +36,9 @@ function Et(e, ...t) {
36
36
  return r.unsubscribe ? () => r.unsubscribe() : r;
37
37
  }
38
38
  function rr(e, t, r) {
39
- e.$$.on_destroy.push(Et(t, r));
39
+ e.$$.on_destroy.push(xt(t, r));
40
40
  }
41
- function ye(e, t, r, n) {
41
+ function xe(e, t, r, n) {
42
42
  if (e) {
43
43
  const i = vt(e, t, r, n);
44
44
  return e[0](i);
@@ -47,14 +47,14 @@ function ye(e, t, r, n) {
47
47
  function vt(e, t, r, n) {
48
48
  return e[1] && n ? er(r.ctx.slice(), e[1](n(t))) : r.ctx;
49
49
  }
50
- function xe(e, t, r, n) {
50
+ function ve(e, t, r, n) {
51
51
  if (e[2] && n) {
52
52
  const i = e[2](n(r));
53
53
  if (t.dirty === void 0)
54
54
  return i;
55
55
  if (typeof i == "object") {
56
- const s = [], h = Math.max(t.dirty.length, i.length);
57
- for (let o = 0; o < h; o += 1)
56
+ const s = [], u = Math.max(t.dirty.length, i.length);
57
+ for (let o = 0; o < u; o += 1)
58
58
  s[o] = t.dirty[o] | i[o];
59
59
  return s;
60
60
  }
@@ -62,13 +62,13 @@ function xe(e, t, r, n) {
62
62
  }
63
63
  return t.dirty;
64
64
  }
65
- function Ee(e, t, r, n, i, s) {
65
+ function He(e, t, r, n, i, s) {
66
66
  if (i) {
67
- const h = vt(t, r, n, s);
68
- e.p(h, i);
67
+ const u = vt(t, r, n, s);
68
+ e.p(u, i);
69
69
  }
70
70
  }
71
- function ve(e) {
71
+ function Be(e) {
72
72
  if (e.ctx.length > 32) {
73
73
  const t = [], r = e.ctx.length / 32;
74
74
  for (let n = 0; n < r; n++)
@@ -77,7 +77,7 @@ function ve(e) {
77
77
  }
78
78
  return -1;
79
79
  }
80
- function fe(e, t) {
80
+ function ce(e, t) {
81
81
  e.appendChild(t);
82
82
  }
83
83
  function nr(e, t, r) {
@@ -98,34 +98,34 @@ function ir(e) {
98
98
  ) : e.ownerDocument;
99
99
  }
100
100
  function sr(e, t) {
101
- return fe(
101
+ return ce(
102
102
  /** @type {Document} */
103
103
  e.head || e,
104
104
  t
105
105
  ), t.sheet;
106
106
  }
107
- function I(e, t, r) {
107
+ function M(e, t, r) {
108
108
  e.insertBefore(t, r || null);
109
109
  }
110
- function O(e) {
110
+ function P(e) {
111
111
  e.parentNode && e.parentNode.removeChild(e);
112
112
  }
113
113
  function z(e) {
114
114
  return document.createElement(e);
115
115
  }
116
- function ke(e) {
116
+ function Xe(e) {
117
117
  return document.createTextNode(e);
118
118
  }
119
119
  function Je() {
120
- return ke(" ");
120
+ return Xe(" ");
121
121
  }
122
122
  function Ht() {
123
- return ke("");
123
+ return Xe("");
124
124
  }
125
125
  function Bt(e, t, r, n) {
126
126
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
127
127
  }
128
- function te(e, t, r) {
128
+ function re(e, t, r) {
129
129
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
130
130
  }
131
131
  function or(e) {
@@ -135,7 +135,7 @@ function ar(e, t) {
135
135
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
136
136
  t);
137
137
  }
138
- function hr(e) {
138
+ function ur(e) {
139
139
  const t = {};
140
140
  return e.childNodes.forEach(
141
141
  /** @param {Element} node */
@@ -144,89 +144,89 @@ function hr(e) {
144
144
  }
145
145
  ), t;
146
146
  }
147
- let Ve;
148
- function q(e) {
149
- Ve = e;
147
+ let We;
148
+ function Y(e) {
149
+ We = e;
150
150
  }
151
- const G = [], Pe = [];
152
- let F = [];
153
- const qe = [], ur = /* @__PURE__ */ Promise.resolve();
154
- let Le = !1;
151
+ const F = [], Ne = [];
152
+ let j = [];
153
+ const qe = [], hr = /* @__PURE__ */ Promise.resolve();
154
+ let Ie = !1;
155
155
  function lr() {
156
- Le || (Le = !0, ur.then(S));
156
+ Ie || (Ie = !0, hr.then(A));
157
157
  }
158
- function Ne(e) {
159
- F.push(e);
158
+ function Me(e) {
159
+ j.push(e);
160
160
  }
161
- const He = /* @__PURE__ */ new Set();
162
- let U = 0;
163
- function S() {
164
- if (U !== 0)
161
+ const Te = /* @__PURE__ */ new Set();
162
+ let D = 0;
163
+ function A() {
164
+ if (D !== 0)
165
165
  return;
166
- const e = Ve;
166
+ const e = We;
167
167
  do {
168
168
  try {
169
- for (; U < G.length; ) {
170
- const t = G[U];
171
- U++, q(t), fr(t.$$);
169
+ for (; D < F.length; ) {
170
+ const t = F[D];
171
+ D++, Y(t), fr(t.$$);
172
172
  }
173
173
  } catch (t) {
174
- throw G.length = 0, U = 0, t;
174
+ throw F.length = 0, D = 0, t;
175
175
  }
176
- for (q(null), G.length = 0, U = 0; Pe.length; )
177
- Pe.pop()();
178
- for (let t = 0; t < F.length; t += 1) {
179
- const r = F[t];
180
- He.has(r) || (He.add(r), r());
176
+ for (Y(null), F.length = 0, D = 0; Ne.length; )
177
+ Ne.pop()();
178
+ for (let t = 0; t < j.length; t += 1) {
179
+ const r = j[t];
180
+ Te.has(r) || (Te.add(r), r());
181
181
  }
182
- F.length = 0;
183
- } while (G.length);
182
+ j.length = 0;
183
+ } while (F.length);
184
184
  for (; qe.length; )
185
185
  qe.pop()();
186
- Le = !1, He.clear(), q(e);
186
+ Ie = !1, Te.clear(), Y(e);
187
187
  }
188
188
  function fr(e) {
189
189
  if (e.fragment !== null) {
190
- e.update(), ee(e.before_update);
190
+ e.update(), te(e.before_update);
191
191
  const t = e.dirty;
192
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
192
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
193
193
  }
194
194
  }
195
195
  function cr(e) {
196
196
  const t = [], r = [];
197
- F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
197
+ j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
198
198
  }
199
- const oe = /* @__PURE__ */ new Set();
199
+ const ae = /* @__PURE__ */ new Set();
200
200
  let mr;
201
- function ae(e, t) {
202
- e && e.i && (oe.delete(e), e.i(t));
201
+ function ue(e, t) {
202
+ e && e.i && (ae.delete(e), e.i(t));
203
203
  }
204
- function Be(e, t, r, n) {
204
+ function we(e, t, r, n) {
205
205
  if (e && e.o) {
206
- if (oe.has(e))
206
+ if (ae.has(e))
207
207
  return;
208
- oe.add(e), mr.c.push(() => {
209
- oe.delete(e);
208
+ ae.add(e), mr.c.push(() => {
209
+ ae.delete(e);
210
210
  }), e.o(t);
211
211
  }
212
212
  }
213
213
  function pr(e, t, r) {
214
214
  const { fragment: n, after_update: i } = e.$$;
215
- n && n.m(t, r), Ne(() => {
216
- const s = e.$$.on_mount.map(yt).filter(je);
217
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ee(s), e.$$.on_mount = [];
218
- }), i.forEach(Ne);
215
+ n && n.m(t, r), Me(() => {
216
+ const s = e.$$.on_mount.map(yt).filter(Ve);
217
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
218
+ }), i.forEach(Me);
219
219
  }
220
220
  function dr(e, t) {
221
221
  const r = e.$$;
222
- r.fragment !== null && (cr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
222
+ r.fragment !== null && (cr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
223
223
  }
224
224
  function br(e, t) {
225
- e.$$.dirty[0] === -1 && (G.push(e), lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
225
+ e.$$.dirty[0] === -1 && (F.push(e), lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
226
226
  }
227
- function gr(e, t, r, n, i, s, h = null, o = [-1]) {
228
- const l = Ve;
229
- q(e);
227
+ function gr(e, t, r, n, i, s, u = null, o = [-1]) {
228
+ const l = We;
229
+ Y(e);
230
230
  const a = e.$$ = {
231
231
  fragment: null,
232
232
  ctx: [],
@@ -248,20 +248,20 @@ function gr(e, t, r, n, i, s, h = null, o = [-1]) {
248
248
  skip_bound: !1,
249
249
  root: t.target || l.$$.root
250
250
  };
251
- h && h(a.root);
252
- let u = !1;
251
+ u && u(a.root);
252
+ let h = !1;
253
253
  if (a.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
254
254
  const m = p.length ? p[0] : c;
255
- return a.ctx && i(a.ctx[f], a.ctx[f] = m) && (!a.skip_bound && a.bound[f] && a.bound[f](m), u && br(e, f)), c;
256
- }) : [], a.update(), u = !0, ee(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
255
+ return a.ctx && i(a.ctx[f], a.ctx[f] = m) && (!a.skip_bound && a.bound[f] && a.bound[f](m), h && br(e, f)), c;
256
+ }) : [], a.update(), h = !0, te(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
257
257
  if (t.hydrate) {
258
258
  const f = or(t.target);
259
- a.fragment && a.fragment.l(f), f.forEach(O);
259
+ a.fragment && a.fragment.l(f), f.forEach(P);
260
260
  } else
261
261
  a.fragment && a.fragment.c();
262
- t.intro && ae(e.$$.fragment), pr(e, t.target, t.anchor), S();
262
+ t.intro && ue(e.$$.fragment), pr(e, t.target, t.anchor), A();
263
263
  }
264
- q(l);
264
+ Y(l);
265
265
  }
266
266
  let Tt;
267
267
  typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
@@ -306,24 +306,24 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
306
306
  let s;
307
307
  return {
308
308
  c: function() {
309
- s = z("slot"), i !== "default" && te(s, "name", i);
309
+ s = z("slot"), i !== "default" && re(s, "name", i);
310
310
  },
311
311
  /**
312
312
  * @param {HTMLElement} target
313
313
  * @param {HTMLElement} [anchor]
314
314
  */
315
315
  m: function(l, a) {
316
- I(l, s, a);
316
+ M(l, s, a);
317
317
  },
318
318
  d: function(l) {
319
- l && O(s);
319
+ l && P(s);
320
320
  }
321
321
  };
322
322
  };
323
323
  };
324
324
  if (await Promise.resolve(), !this.$$cn || this.$$c)
325
325
  return;
326
- const t = {}, r = hr(this);
326
+ const t = {}, r = ur(this);
327
327
  for (const i of this.$$s)
328
328
  i in r && (t[i] = [e(i)]);
329
329
  for (const i of this.attributes) {
@@ -359,8 +359,8 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
359
359
  this.$$c.$$.after_update.push(n), n();
360
360
  for (const i in this.$$l)
361
361
  for (const s of this.$$l[i]) {
362
- const h = this.$$c.$on(i, s);
363
- this.$$l_u.set(s, h);
362
+ const u = this.$$c.$on(i, s);
363
+ this.$$l_u.set(s, u);
364
364
  }
365
365
  this.$$l = {};
366
366
  }
@@ -411,7 +411,7 @@ function he(e, t, r, n) {
411
411
  }
412
412
  }
413
413
  function _r(e, t, r, n, i, s) {
414
- let h = class extends Tt {
414
+ let u = class extends Tt {
415
415
  constructor() {
416
416
  super(e, r, i), this.$$p_d = t;
417
417
  }
@@ -422,7 +422,7 @@ function _r(e, t, r, n, i, s) {
422
422
  }
423
423
  };
424
424
  return Object.keys(t).forEach((o) => {
425
- Object.defineProperty(h.prototype, o, {
425
+ Object.defineProperty(u.prototype, o, {
426
426
  get() {
427
427
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
428
428
  },
@@ -431,13 +431,13 @@ function _r(e, t, r, n, i, s) {
431
431
  }
432
432
  });
433
433
  }), n.forEach((o) => {
434
- Object.defineProperty(h.prototype, o, {
434
+ Object.defineProperty(u.prototype, o, {
435
435
  get() {
436
436
  return this.$$c?.[o];
437
437
  }
438
438
  });
439
439
  }), e.element = /** @type {any} */
440
- h, h;
440
+ u, u;
441
441
  }
442
442
  class yr {
443
443
  /**
@@ -467,7 +467,7 @@ class yr {
467
467
  * @returns {() => void}
468
468
  */
469
469
  $on(t, r) {
470
- if (!je(r))
470
+ if (!Ve(r))
471
471
  return B;
472
472
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
473
473
  return n.push(r), () => {
@@ -483,68 +483,68 @@ class yr {
483
483
  this.$$set && !tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
484
484
  }
485
485
  }
486
- const xr = "4";
487
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xr);
488
- const D = [];
489
- function Er(e, t) {
486
+ const Er = "4";
487
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Er);
488
+ const G = [];
489
+ function xr(e, t) {
490
490
  return {
491
- subscribe: de(e, t).subscribe
491
+ subscribe: ge(e, t).subscribe
492
492
  };
493
493
  }
494
- function de(e, t = B) {
494
+ function ge(e, t = B) {
495
495
  let r;
496
496
  const n = /* @__PURE__ */ new Set();
497
497
  function i(o) {
498
- if (xt(e, o) && (e = o, r)) {
499
- const l = !D.length;
498
+ if (Et(e, o) && (e = o, r)) {
499
+ const l = !G.length;
500
500
  for (const a of n)
501
- a[1](), D.push(a, e);
501
+ a[1](), G.push(a, e);
502
502
  if (l) {
503
- for (let a = 0; a < D.length; a += 2)
504
- D[a][0](D[a + 1]);
505
- D.length = 0;
503
+ for (let a = 0; a < G.length; a += 2)
504
+ G[a][0](G[a + 1]);
505
+ G.length = 0;
506
506
  }
507
507
  }
508
508
  }
509
509
  function s(o) {
510
510
  i(o(e));
511
511
  }
512
- function h(o, l = B) {
512
+ function u(o, l = B) {
513
513
  const a = [o, l];
514
514
  return n.add(a), n.size === 1 && (r = t(i, s) || B), o(e), () => {
515
515
  n.delete(a), n.size === 0 && r && (r(), r = null);
516
516
  };
517
517
  }
518
- return { set: i, update: s, subscribe: h };
518
+ return { set: i, update: s, subscribe: u };
519
519
  }
520
- function W(e, t, r) {
520
+ function Z(e, t, r) {
521
521
  const n = !Array.isArray(e), i = n ? [e] : e;
522
522
  if (!i.every(Boolean))
523
523
  throw new Error("derived() expects stores as input, got a falsy value");
524
524
  const s = t.length < 2;
525
- return Er(r, (h, o) => {
525
+ return xr(r, (u, o) => {
526
526
  let l = !1;
527
527
  const a = [];
528
- let u = 0, f = B;
528
+ let h = 0, f = B;
529
529
  const c = () => {
530
- if (u)
530
+ if (h)
531
531
  return;
532
532
  f();
533
- const m = t(n ? a[0] : a, h, o);
534
- s ? h(m) : f = je(m) ? m : B;
533
+ const m = t(n ? a[0] : a, u, o);
534
+ s ? u(m) : f = Ve(m) ? m : B;
535
535
  }, p = i.map(
536
- (m, g) => Et(
536
+ (m, g) => xt(
537
537
  m,
538
538
  (v) => {
539
- a[g] = v, u &= ~(1 << g), l && c();
539
+ a[g] = v, h &= ~(1 << g), l && c();
540
540
  },
541
541
  () => {
542
- u |= 1 << g;
542
+ h |= 1 << g;
543
543
  }
544
544
  )
545
545
  );
546
546
  return l = !0, c(), function() {
547
- ee(p), f(), l = !1;
547
+ te(p), f(), l = !1;
548
548
  };
549
549
  });
550
550
  }
@@ -565,22 +565,22 @@ var wr = typeof Symbol == "function" && Symbol.for, Sr = wr ? Symbol.for("react.
565
565
  function Ar(e) {
566
566
  return e.$$typeof === Sr;
567
567
  }
568
- function Cr(e) {
568
+ function Or(e) {
569
569
  return Array.isArray(e) ? [] : {};
570
570
  }
571
- function Y(e, t) {
572
- return t.clone !== !1 && t.isMergeableObject(e) ? j(Cr(e), e, t) : e;
571
+ function K(e, t) {
572
+ return t.clone !== !1 && t.isMergeableObject(e) ? k(Or(e), e, t) : e;
573
573
  }
574
- function Or(e, t, r) {
574
+ function Cr(e, t, r) {
575
575
  return e.concat(t).map(function(n) {
576
- return Y(n, r);
576
+ return K(n, r);
577
577
  });
578
578
  }
579
579
  function Pr(e, t) {
580
580
  if (!t.customMerge)
581
- return j;
581
+ return k;
582
582
  var r = t.customMerge(e);
583
- return typeof r == "function" ? r : j;
583
+ return typeof r == "function" ? r : k;
584
584
  }
585
585
  function Lr(e) {
586
586
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -603,65 +603,51 @@ function Nr(e, t) {
603
603
  function Ir(e, t, r) {
604
604
  var n = {};
605
605
  return r.isMergeableObject(e) && Ye(e).forEach(function(i) {
606
- n[i] = Y(e[i], r);
606
+ n[i] = K(e[i], r);
607
607
  }), Ye(t).forEach(function(i) {
608
- Nr(e, i) || (wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
608
+ Nr(e, i) || (wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
609
609
  }), n;
610
610
  }
611
- function j(e, t, r) {
612
- r = r || {}, r.arrayMerge = r.arrayMerge || Or, r.isMergeableObject = r.isMergeableObject || Hr, r.cloneUnlessOtherwiseSpecified = Y;
611
+ function k(e, t, r) {
612
+ r = r || {}, r.arrayMerge = r.arrayMerge || Cr, r.isMergeableObject = r.isMergeableObject || Hr, r.cloneUnlessOtherwiseSpecified = K;
613
613
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
614
- return s ? n ? r.arrayMerge(e, t, r) : Ir(e, t, r) : Y(t, r);
614
+ return s ? n ? r.arrayMerge(e, t, r) : Ir(e, t, r) : K(t, r);
615
615
  }
616
- j.all = function(t, r) {
616
+ k.all = function(t, r) {
617
617
  if (!Array.isArray(t))
618
618
  throw new Error("first argument should be an array");
619
619
  return t.reduce(function(n, i) {
620
- return j(n, i, r);
620
+ return k(n, i, r);
621
621
  }, {});
622
622
  };
623
- var Mr = j, $r = Mr;
623
+ var Mr = k, $r = Mr;
624
624
  const Rr = /* @__PURE__ */ vr($r);
625
- /*! *****************************************************************************
626
- Copyright (c) Microsoft Corporation.
627
-
628
- Permission to use, copy, modify, and/or distribute this software for any
629
- purpose with or without fee is hereby granted.
630
-
631
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
632
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
633
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
634
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
635
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
636
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
637
- PERFORMANCE OF THIS SOFTWARE.
638
- ***************************************************************************** */
639
- var Ie = function(e, t) {
640
- return Ie = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
625
+ var $e = function(e, t) {
626
+ return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
641
627
  r.__proto__ = n;
642
628
  } || function(r, n) {
643
629
  for (var i in n)
644
630
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
645
- }, Ie(e, t);
631
+ }, $e(e, t);
646
632
  };
647
- function be(e, t) {
633
+ function _e(e, t) {
648
634
  if (typeof t != "function" && t !== null)
649
635
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
650
- Ie(e, t);
636
+ $e(e, t);
651
637
  function r() {
652
638
  this.constructor = e;
653
639
  }
654
640
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
655
641
  }
656
- var y = function() {
657
- return y = Object.assign || function(t) {
642
+ var T = function() {
643
+ return T = Object.assign || function(t) {
658
644
  for (var r, n = 1, i = arguments.length; n < i; n++) {
659
645
  r = arguments[n];
660
646
  for (var s in r)
661
647
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
662
648
  }
663
649
  return t;
664
- }, y.apply(this, arguments);
650
+ }, T.apply(this, arguments);
665
651
  };
666
652
  function Ur(e, t) {
667
653
  var r = {};
@@ -672,14 +658,14 @@ function Ur(e, t) {
672
658
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
673
659
  return r;
674
660
  }
675
- function Te(e, t, r) {
676
- if (arguments.length === 2)
661
+ function Se(e, t, r) {
662
+ if (r || arguments.length === 2)
677
663
  for (var n = 0, i = t.length, s; n < i; n++)
678
664
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
679
- return e.concat(s || t);
665
+ return e.concat(s || Array.prototype.slice.call(t));
680
666
  }
681
- function we(e, t) {
682
- var r = t && t.cache ? t.cache : Vr, n = t && t.serializer ? t.serializer : kr, i = t && t.strategy ? t.strategy : Gr;
667
+ function Ae(e, t) {
668
+ var r = t && t.cache ? t.cache : Xr, n = t && t.serializer ? t.serializer : kr, i = t && t.strategy ? t.strategy : Fr;
683
669
  return i(e, {
684
670
  cache: r,
685
671
  serializer: n
@@ -688,95 +674,103 @@ function we(e, t) {
688
674
  function Dr(e) {
689
675
  return e == null || typeof e == "number" || typeof e == "boolean";
690
676
  }
691
- function St(e, t, r, n) {
677
+ function Gr(e, t, r, n) {
692
678
  var i = Dr(n) ? n : r(n), s = t.get(i);
693
679
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
694
680
  }
695
- function At(e, t, r) {
681
+ function St(e, t, r) {
696
682
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
697
683
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
698
684
  }
699
- function Xe(e, t, r, n, i) {
685
+ function At(e, t, r, n, i) {
700
686
  return r.bind(t, e, n, i);
701
687
  }
702
- function Gr(e, t) {
703
- var r = e.length === 1 ? St : At;
704
- return Xe(e, this, r, t.cache.create(), t.serializer);
705
- }
706
688
  function Fr(e, t) {
707
- return Xe(e, this, At, t.cache.create(), t.serializer);
689
+ var r = e.length === 1 ? Gr : St;
690
+ return At(e, this, r, t.cache.create(), t.serializer);
708
691
  }
709
692
  function jr(e, t) {
710
- return Xe(e, this, St, t.cache.create(), t.serializer);
693
+ return At(e, this, St, t.cache.create(), t.serializer);
711
694
  }
712
695
  var kr = function() {
713
696
  return JSON.stringify(arguments);
714
- };
715
- function ze() {
716
- this.cache = /* @__PURE__ */ Object.create(null);
717
- }
718
- ze.prototype.get = function(e) {
719
- return this.cache[e];
720
- };
721
- ze.prototype.set = function(e, t) {
722
- this.cache[e] = t;
723
- };
724
- var Vr = {
697
+ }, Vr = (
698
+ /** @class */
699
+ function() {
700
+ function e() {
701
+ this.cache = /* @__PURE__ */ Object.create(null);
702
+ }
703
+ return e.prototype.get = function(t) {
704
+ return this.cache[t];
705
+ }, e.prototype.set = function(t, r) {
706
+ this.cache[t] = r;
707
+ }, e;
708
+ }()
709
+ ), Xr = {
725
710
  create: function() {
726
- return new ze();
711
+ return new Vr();
727
712
  }
728
- }, Se = {
729
- variadic: Fr,
730
- monadic: jr
731
- }, d;
713
+ }, Oe = {
714
+ variadic: jr
715
+ }, me = function() {
716
+ return me = Object.assign || function(t) {
717
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
718
+ r = arguments[n];
719
+ for (var s in r)
720
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
721
+ }
722
+ return t;
723
+ }, me.apply(this, arguments);
724
+ };
725
+ var d;
732
726
  (function(e) {
733
727
  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";
734
728
  })(d || (d = {}));
735
- var x;
729
+ var y;
736
730
  (function(e) {
737
731
  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";
738
- })(x || (x = {}));
739
- var k;
732
+ })(y || (y = {}));
733
+ var V;
740
734
  (function(e) {
741
735
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
742
- })(k || (k = {}));
736
+ })(V || (V = {}));
743
737
  function Ke(e) {
744
- return e.type === x.literal;
738
+ return e.type === y.literal;
745
739
  }
746
- function Xr(e) {
747
- return e.type === x.argument;
748
- }
749
- function Ct(e) {
750
- return e.type === x.number;
740
+ function Wr(e) {
741
+ return e.type === y.argument;
751
742
  }
752
743
  function Ot(e) {
753
- return e.type === x.date;
744
+ return e.type === y.number;
745
+ }
746
+ function Ct(e) {
747
+ return e.type === y.date;
754
748
  }
755
749
  function Pt(e) {
756
- return e.type === x.time;
750
+ return e.type === y.time;
757
751
  }
758
752
  function Lt(e) {
759
- return e.type === x.select;
753
+ return e.type === y.select;
760
754
  }
761
755
  function Nt(e) {
762
- return e.type === x.plural;
756
+ return e.type === y.plural;
763
757
  }
764
758
  function zr(e) {
765
- return e.type === x.pound;
759
+ return e.type === y.pound;
766
760
  }
767
761
  function It(e) {
768
- return e.type === x.tag;
762
+ return e.type === y.tag;
769
763
  }
770
764
  function Mt(e) {
771
- return !!(e && typeof e == "object" && e.type === k.number);
765
+ return !!(e && typeof e == "object" && e.type === V.number);
772
766
  }
773
- function Me(e) {
774
- return !!(e && typeof e == "object" && e.type === k.dateTime);
767
+ function Re(e) {
768
+ return !!(e && typeof e == "object" && e.type === V.dateTime);
775
769
  }
776
- var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Wr = /(?:[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;
777
- function Zr(e) {
770
+ var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Zr = /(?:[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;
771
+ function Qr(e) {
778
772
  var t = {};
779
- return e.replace(Wr, function(r) {
773
+ return e.replace(Zr, function(r) {
780
774
  var n = r.length;
781
775
  switch (r[0]) {
782
776
  case "G":
@@ -865,18 +859,28 @@ function Zr(e) {
865
859
  return "";
866
860
  }), t;
867
861
  }
868
- var Qr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
869
- function Jr(e) {
862
+ var E = function() {
863
+ return E = Object.assign || function(t) {
864
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
865
+ r = arguments[n];
866
+ for (var s in r)
867
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
868
+ }
869
+ return t;
870
+ }, E.apply(this, arguments);
871
+ };
872
+ var Jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
873
+ function qr(e) {
870
874
  if (e.length === 0)
871
875
  throw new Error("Number skeleton cannot be empty");
872
- for (var t = e.split(Qr).filter(function(c) {
876
+ for (var t = e.split(Jr).filter(function(c) {
873
877
  return c.length > 0;
874
878
  }), r = [], n = 0, i = t; n < i.length; n++) {
875
- var s = i[n], h = s.split("/");
876
- if (h.length === 0)
879
+ var s = i[n], u = s.split("/");
880
+ if (u.length === 0)
877
881
  throw new Error("Invalid number skeleton");
878
- for (var o = h[0], l = h.slice(1), a = 0, u = l; a < u.length; a++) {
879
- var f = u[a];
882
+ for (var o = u[0], l = u.slice(1), a = 0, h = l; a < h.length; a++) {
883
+ var f = h[a];
880
884
  if (f.length === 0)
881
885
  throw new Error("Invalid number skeleton");
882
886
  }
@@ -884,10 +888,10 @@ function Jr(e) {
884
888
  }
885
889
  return r;
886
890
  }
887
- function qr(e) {
891
+ function Yr(e) {
888
892
  return e.replace(/^(.*?)-/, "");
889
893
  }
890
- var et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rt = /^(@+)?(\+|#+)?[rs]?$/g, Yr = /(\*)(0+)|(#+)(0+)|(0+)/g, Ut = /^(0+)$/;
894
+ var et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rt = /^(@+)?(\+|#+)?[rs]?$/g, Kr = /(\*)(0+)|(#+)(0+)|(0+)/g, Ut = /^(0+)$/;
891
895
  function tt(e) {
892
896
  var t = {};
893
897
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rt, function(r, n, i) {
@@ -934,7 +938,7 @@ function Dt(e) {
934
938
  };
935
939
  }
936
940
  }
937
- function Kr(e) {
941
+ function en(e) {
938
942
  var t;
939
943
  if (e[0] === "E" && e[1] === "E" ? (t = {
940
944
  notation: "engineering"
@@ -952,7 +956,7 @@ function rt(e) {
952
956
  var t = {}, r = Dt(e);
953
957
  return r || t;
954
958
  }
955
- function en(e) {
959
+ function tn(e) {
956
960
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
957
961
  var i = n[r];
958
962
  switch (i.stem) {
@@ -976,7 +980,7 @@ function en(e) {
976
980
  continue;
977
981
  case "measure-unit":
978
982
  case "unit":
979
- t.style = "unit", t.unit = qr(i.options[0]);
983
+ t.style = "unit", t.unit = Yr(i.options[0]);
980
984
  continue;
981
985
  case "compact-short":
982
986
  case "K":
@@ -987,13 +991,13 @@ function en(e) {
987
991
  t.notation = "compact", t.compactDisplay = "long";
988
992
  continue;
989
993
  case "scientific":
990
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
991
- return y(y({}, l), rt(a));
994
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
995
+ return E(E({}, l), rt(a));
992
996
  }, {}));
993
997
  continue;
994
998
  case "engineering":
995
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
996
- return y(y({}, l), rt(a));
999
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
1000
+ return E(E({}, l), rt(a));
997
1001
  }, {}));
998
1002
  continue;
999
1003
  case "notation-simple":
@@ -1038,9 +1042,9 @@ function en(e) {
1038
1042
  case "integer-width":
1039
1043
  if (i.options.length > 1)
1040
1044
  throw new RangeError("integer-width stems only accept a single optional option");
1041
- i.options[0].replace(Yr, function(l, a, u, f, c, p) {
1045
+ i.options[0].replace(Kr, function(l, a, h, f, c, p) {
1042
1046
  if (a)
1043
- t.minimumIntegerDigits = u.length;
1047
+ t.minimumIntegerDigits = h.length;
1044
1048
  else {
1045
1049
  if (f && c)
1046
1050
  throw new Error("We currently do not support maximum integer digits");
@@ -1058,25 +1062,25 @@ function en(e) {
1058
1062
  if (et.test(i.stem)) {
1059
1063
  if (i.options.length > 1)
1060
1064
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1061
- i.stem.replace(et, function(l, a, u, f, c, p) {
1062
- return u === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1065
+ i.stem.replace(et, function(l, a, h, f, c, p) {
1066
+ return h === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1063
1067
  });
1064
1068
  var s = i.options[0];
1065
- s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), tt(s)));
1069
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), tt(s)));
1066
1070
  continue;
1067
1071
  }
1068
1072
  if (Rt.test(i.stem)) {
1069
- t = y(y({}, t), tt(i.stem));
1073
+ t = E(E({}, t), tt(i.stem));
1070
1074
  continue;
1071
1075
  }
1072
- var h = Dt(i.stem);
1073
- h && (t = y(y({}, t), h));
1074
- var o = Kr(i.stem);
1075
- o && (t = y(y({}, t), o));
1076
+ var u = Dt(i.stem);
1077
+ u && (t = E(E({}, t), u));
1078
+ var o = en(i.stem);
1079
+ o && (t = E(E({}, t), o));
1076
1080
  }
1077
1081
  return t;
1078
1082
  }
1079
- var se = {
1083
+ var oe = {
1080
1084
  "001": [
1081
1085
  "H",
1082
1086
  "h"
@@ -2491,23 +2495,23 @@ var se = {
2491
2495
  "h"
2492
2496
  ]
2493
2497
  };
2494
- function tn(e, t) {
2498
+ function rn(e, t) {
2495
2499
  for (var r = "", n = 0; n < e.length; n++) {
2496
2500
  var i = e.charAt(n);
2497
2501
  if (i === "j") {
2498
2502
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2499
2503
  s++, n++;
2500
- var h = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = rn(t);
2504
+ var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = nn(t);
2501
2505
  for ((a == "H" || a == "k") && (o = 0); o-- > 0; )
2502
2506
  r += l;
2503
- for (; h-- > 0; )
2507
+ for (; u-- > 0; )
2504
2508
  r = a + r;
2505
2509
  } else
2506
2510
  i === "J" ? r += "H" : r += i;
2507
2511
  }
2508
2512
  return r;
2509
2513
  }
2510
- function rn(e) {
2514
+ function nn(e) {
2511
2515
  var t = e.hourCycle;
2512
2516
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2513
2517
  e.hourCycles && // @ts-ignore
@@ -2526,23 +2530,23 @@ function rn(e) {
2526
2530
  }
2527
2531
  var r = e.language, n;
2528
2532
  r !== "root" && (n = e.maximize().region);
2529
- var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
2533
+ var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
2530
2534
  return i[0];
2531
2535
  }
2532
- var Ae, nn = new RegExp("^".concat($t.source, "*")), sn = new RegExp("".concat($t.source, "*$"));
2536
+ var Ce, sn = new RegExp("^".concat($t.source, "*")), on = new RegExp("".concat($t.source, "*$"));
2533
2537
  function b(e, t) {
2534
2538
  return { start: e, end: t };
2535
2539
  }
2536
- var on = !!String.prototype.startsWith && "_a".startsWith("a", 1), an = !!String.fromCodePoint, hn = !!Object.fromEntries, un = !!String.prototype.codePointAt, ln = !!String.prototype.trimStart, fn = !!String.prototype.trimEnd, cn = !!Number.isSafeInteger, mn = cn ? Number.isSafeInteger : function(e) {
2540
+ var an = !!String.prototype.startsWith && "_a".startsWith("a", 1), un = !!String.fromCodePoint, hn = !!Object.fromEntries, ln = !!String.prototype.codePointAt, fn = !!String.prototype.trimStart, cn = !!String.prototype.trimEnd, mn = !!Number.isSafeInteger, pn = mn ? Number.isSafeInteger : function(e) {
2537
2541
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2538
- }, $e = !0;
2542
+ }, Ue = !0;
2539
2543
  try {
2540
- var pn = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2541
- $e = ((Ae = pn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
2544
+ var dn = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2545
+ Ue = ((Ce = dn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2542
2546
  } catch {
2543
- $e = !1;
2547
+ Ue = !1;
2544
2548
  }
2545
- var nt = on ? (
2549
+ var nt = an ? (
2546
2550
  // Native
2547
2551
  function(t, r, n) {
2548
2552
  return t.startsWith(r, n);
@@ -2552,15 +2556,15 @@ var nt = on ? (
2552
2556
  function(t, r, n) {
2553
2557
  return t.slice(n, n + r.length) === r;
2554
2558
  }
2555
- ), Re = an ? String.fromCodePoint : (
2559
+ ), De = un ? String.fromCodePoint : (
2556
2560
  // IE11
2557
2561
  function() {
2558
2562
  for (var t = [], r = 0; r < arguments.length; r++)
2559
2563
  t[r] = arguments[r];
2560
- for (var n = "", i = t.length, s = 0, h; i > s; ) {
2561
- if (h = t[s++], h > 1114111)
2562
- throw RangeError(h + " is not a valid code point");
2563
- n += h < 65536 ? String.fromCharCode(h) : String.fromCharCode(((h -= 65536) >> 10) + 55296, h % 1024 + 56320);
2564
+ for (var n = "", i = t.length, s = 0, u; i > s; ) {
2565
+ if (u = t[s++], u > 1114111)
2566
+ throw RangeError(u + " is not a valid code point");
2567
+ n += u < 65536 ? String.fromCharCode(u) : String.fromCharCode(((u -= 65536) >> 10) + 55296, u % 1024 + 56320);
2564
2568
  }
2565
2569
  return n;
2566
2570
  }
@@ -2570,13 +2574,13 @@ var nt = on ? (
2570
2574
  // Ponyfill
2571
2575
  function(t) {
2572
2576
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2573
- var s = i[n], h = s[0], o = s[1];
2574
- r[h] = o;
2577
+ var s = i[n], u = s[0], o = s[1];
2578
+ r[u] = o;
2575
2579
  }
2576
2580
  return r;
2577
2581
  }
2578
2582
  )
2579
- ), Gt = un ? (
2583
+ ), Gt = ln ? (
2580
2584
  // Native
2581
2585
  function(t, r) {
2582
2586
  return t.codePointAt(r);
@@ -2590,7 +2594,7 @@ var nt = on ? (
2590
2594
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2591
2595
  }
2592
2596
  }
2593
- ), dn = ln ? (
2597
+ ), bn = fn ? (
2594
2598
  // Native
2595
2599
  function(t) {
2596
2600
  return t.trimStart();
@@ -2598,9 +2602,9 @@ var nt = on ? (
2598
2602
  ) : (
2599
2603
  // Ponyfill
2600
2604
  function(t) {
2601
- return t.replace(nn, "");
2605
+ return t.replace(sn, "");
2602
2606
  }
2603
- ), bn = fn ? (
2607
+ ), gn = cn ? (
2604
2608
  // Native
2605
2609
  function(t) {
2606
2610
  return t.trimEnd();
@@ -2608,32 +2612,32 @@ var nt = on ? (
2608
2612
  ) : (
2609
2613
  // Ponyfill
2610
2614
  function(t) {
2611
- return t.replace(sn, "");
2615
+ return t.replace(on, "");
2612
2616
  }
2613
2617
  );
2614
2618
  function Ft(e, t) {
2615
2619
  return new RegExp(e, t);
2616
2620
  }
2617
- var Ue;
2618
- if ($e) {
2621
+ var Ge;
2622
+ if (Ue) {
2619
2623
  var st = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2620
- Ue = function(t, r) {
2624
+ Ge = function(t, r) {
2621
2625
  var n;
2622
2626
  st.lastIndex = r;
2623
2627
  var i = st.exec(t);
2624
2628
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2625
2629
  };
2626
2630
  } else
2627
- Ue = function(t, r) {
2631
+ Ge = function(t, r) {
2628
2632
  for (var n = []; ; ) {
2629
2633
  var i = Gt(t, r);
2630
2634
  if (i === void 0 || jt(i) || xn(i))
2631
2635
  break;
2632
2636
  n.push(i), r += i >= 65536 ? 2 : 1;
2633
2637
  }
2634
- return Re.apply(void 0, n);
2638
+ return De.apply(void 0, n);
2635
2639
  };
2636
- var gn = (
2640
+ var _n = (
2637
2641
  /** @class */
2638
2642
  function() {
2639
2643
  function e(t, r) {
@@ -2647,33 +2651,33 @@ var gn = (
2647
2651
  for (var i = []; !this.isEOF(); ) {
2648
2652
  var s = this.char();
2649
2653
  if (s === 123) {
2650
- var h = this.parseArgument(t, n);
2651
- if (h.err)
2652
- return h;
2653
- i.push(h.val);
2654
+ var u = this.parseArgument(t, n);
2655
+ if (u.err)
2656
+ return u;
2657
+ i.push(u.val);
2654
2658
  } else {
2655
2659
  if (s === 125 && t > 0)
2656
2660
  break;
2657
2661
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2658
2662
  var o = this.clonePosition();
2659
2663
  this.bump(), i.push({
2660
- type: x.pound,
2664
+ type: y.pound,
2661
2665
  location: b(o, this.clonePosition())
2662
2666
  });
2663
2667
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2664
2668
  if (n)
2665
2669
  break;
2666
2670
  return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2667
- } else if (s === 60 && !this.ignoreTag && De(this.peek() || 0)) {
2668
- var h = this.parseTag(t, r);
2669
- if (h.err)
2670
- return h;
2671
- i.push(h.val);
2671
+ } else if (s === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
2672
+ var u = this.parseTag(t, r);
2673
+ if (u.err)
2674
+ return u;
2675
+ i.push(u.val);
2672
2676
  } else {
2673
- var h = this.parseLiteral(t, r);
2674
- if (h.err)
2675
- return h;
2676
- i.push(h.val);
2677
+ var u = this.parseLiteral(t, r);
2678
+ if (u.err)
2679
+ return u;
2680
+ i.push(u.val);
2677
2681
  }
2678
2682
  }
2679
2683
  }
@@ -2685,7 +2689,7 @@ var gn = (
2685
2689
  if (this.bumpSpace(), this.bumpIf("/>"))
2686
2690
  return {
2687
2691
  val: {
2688
- type: x.literal,
2692
+ type: y.literal,
2689
2693
  value: "<".concat(i, "/>"),
2690
2694
  location: b(n, this.clonePosition())
2691
2695
  },
@@ -2695,16 +2699,16 @@ var gn = (
2695
2699
  var s = this.parseMessage(t + 1, r, !0);
2696
2700
  if (s.err)
2697
2701
  return s;
2698
- var h = s.val, o = this.clonePosition();
2702
+ var u = s.val, o = this.clonePosition();
2699
2703
  if (this.bumpIf("</")) {
2700
- if (this.isEOF() || !De(this.char()))
2704
+ if (this.isEOF() || !Fe(this.char()))
2701
2705
  return this.error(d.INVALID_TAG, b(o, this.clonePosition()));
2702
2706
  var l = this.clonePosition(), a = this.parseTagName();
2703
2707
  return i !== a ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2704
2708
  val: {
2705
- type: x.tag,
2709
+ type: y.tag,
2706
2710
  value: i,
2707
- children: h,
2711
+ children: u,
2708
2712
  location: b(n, this.clonePosition())
2709
2713
  },
2710
2714
  err: null
@@ -2715,7 +2719,7 @@ var gn = (
2715
2719
  return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
2716
2720
  }, e.prototype.parseTagName = function() {
2717
2721
  var t = this.offset();
2718
- for (this.bump(); !this.isEOF() && yn(this.char()); )
2722
+ for (this.bump(); !this.isEOF() && En(this.char()); )
2719
2723
  this.bump();
2720
2724
  return this.message.slice(t, this.offset());
2721
2725
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2725,9 +2729,9 @@ var gn = (
2725
2729
  i += s;
2726
2730
  continue;
2727
2731
  }
2728
- var h = this.tryParseUnquoted(t, r);
2729
- if (h) {
2730
- i += h;
2732
+ var u = this.tryParseUnquoted(t, r);
2733
+ if (u) {
2734
+ i += u;
2731
2735
  continue;
2732
2736
  }
2733
2737
  var o = this.tryParseLeftAngleBracket();
@@ -2739,12 +2743,12 @@ var gn = (
2739
2743
  }
2740
2744
  var l = b(n, this.clonePosition());
2741
2745
  return {
2742
- val: { type: x.literal, value: i, location: l },
2746
+ val: { type: y.literal, value: i, location: l },
2743
2747
  err: null
2744
2748
  };
2745
2749
  }, e.prototype.tryParseLeftAngleBracket = function() {
2746
2750
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2747
- !_n(this.peek() || 0)) ? (this.bump(), "<") : null;
2751
+ !yn(this.peek() || 0)) ? (this.bump(), "<") : null;
2748
2752
  }, e.prototype.tryParseQuote = function(t) {
2749
2753
  if (this.isEOF() || this.char() !== 39)
2750
2754
  return null;
@@ -2778,12 +2782,12 @@ var gn = (
2778
2782
  r.push(n);
2779
2783
  this.bump();
2780
2784
  }
2781
- return Re.apply(void 0, r);
2785
+ return De.apply(void 0, r);
2782
2786
  }, e.prototype.tryParseUnquoted = function(t, r) {
2783
2787
  if (this.isEOF())
2784
2788
  return null;
2785
2789
  var n = this.char();
2786
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Re(n));
2790
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), De(n));
2787
2791
  }, e.prototype.parseArgument = function(t, r) {
2788
2792
  var n = this.clonePosition();
2789
2793
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2799,7 +2803,7 @@ var gn = (
2799
2803
  case 125:
2800
2804
  return this.bump(), {
2801
2805
  val: {
2802
- type: x.argument,
2806
+ type: y.argument,
2803
2807
  // value does not include the opening and closing braces.
2804
2808
  value: i,
2805
2809
  location: b(n, this.clonePosition())
@@ -2812,15 +2816,15 @@ var gn = (
2812
2816
  return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2813
2817
  }
2814
2818
  }, e.prototype.parseIdentifierIfPossible = function() {
2815
- var t = this.clonePosition(), r = this.offset(), n = Ue(this.message, r), i = r + n.length;
2819
+ var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
2816
2820
  this.bumpTo(i);
2817
- var s = this.clonePosition(), h = b(t, s);
2818
- return { value: n, location: h };
2821
+ var s = this.clonePosition(), u = b(t, s);
2822
+ return { value: n, location: u };
2819
2823
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2820
- var s, h = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2824
+ var s, u = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2821
2825
  switch (o) {
2822
2826
  case "":
2823
- return this.error(d.EXPECT_ARGUMENT_TYPE, b(h, l));
2827
+ return this.error(d.EXPECT_ARGUMENT_TYPE, b(u, l));
2824
2828
  case "number":
2825
2829
  case "date":
2826
2830
  case "time": {
@@ -2828,13 +2832,13 @@ var gn = (
2828
2832
  var a = null;
2829
2833
  if (this.bumpIf(",")) {
2830
2834
  this.bumpSpace();
2831
- var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2835
+ var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2832
2836
  if (f.err)
2833
2837
  return f;
2834
- var c = bn(f.val);
2838
+ var c = gn(f.val);
2835
2839
  if (c.length === 0)
2836
2840
  return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2837
- var p = b(u, this.clonePosition());
2841
+ var p = b(h, this.clonePosition());
2838
2842
  a = { style: c, styleLocation: p };
2839
2843
  }
2840
2844
  var m = this.tryParseArgumentClose(i);
@@ -2842,33 +2846,33 @@ var gn = (
2842
2846
  return m;
2843
2847
  var g = b(i, this.clonePosition());
2844
2848
  if (a && nt(a?.style, "::", 0)) {
2845
- var v = dn(a.style.slice(2));
2849
+ var v = bn(a.style.slice(2));
2846
2850
  if (o === "number") {
2847
2851
  var f = this.parseNumberSkeletonFromString(v, a.styleLocation);
2848
2852
  return f.err ? f : {
2849
- val: { type: x.number, value: n, location: g, style: f.val },
2853
+ val: { type: y.number, value: n, location: g, style: f.val },
2850
2854
  err: null
2851
2855
  };
2852
2856
  } else {
2853
2857
  if (v.length === 0)
2854
2858
  return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
2855
- var L = v;
2856
- this.locale && (L = tn(v, this.locale));
2859
+ var N = v;
2860
+ this.locale && (N = rn(v, this.locale));
2857
2861
  var c = {
2858
- type: k.dateTime,
2859
- pattern: L,
2862
+ type: V.dateTime,
2863
+ pattern: N,
2860
2864
  location: a.styleLocation,
2861
- parsedOptions: this.shouldParseSkeletons ? Zr(L) : {}
2862
- }, A = o === "date" ? x.date : x.time;
2865
+ parsedOptions: this.shouldParseSkeletons ? Qr(N) : {}
2866
+ }, O = o === "date" ? y.date : y.time;
2863
2867
  return {
2864
- val: { type: A, value: n, location: g, style: c },
2868
+ val: { type: O, value: n, location: g, style: c },
2865
2869
  err: null
2866
2870
  };
2867
2871
  }
2868
2872
  }
2869
2873
  return {
2870
2874
  val: {
2871
- type: o === "number" ? x.number : o === "date" ? x.date : x.time,
2875
+ type: o === "number" ? y.number : o === "date" ? y.date : y.time,
2872
2876
  value: n,
2873
2877
  location: g,
2874
2878
  style: (s = a?.style) !== null && s !== void 0 ? s : null
@@ -2881,47 +2885,47 @@ var gn = (
2881
2885
  case "select": {
2882
2886
  var H = this.clonePosition();
2883
2887
  if (this.bumpSpace(), !this.bumpIf(","))
2884
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, y({}, H)));
2888
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, me({}, H)));
2885
2889
  this.bumpSpace();
2886
- var N = this.parseIdentifierIfPossible(), T = 0;
2887
- if (o !== "select" && N.value === "offset") {
2890
+ var I = this.parseIdentifierIfPossible(), w = 0;
2891
+ if (o !== "select" && I.value === "offset") {
2888
2892
  if (!this.bumpIf(":"))
2889
2893
  return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2890
2894
  this.bumpSpace();
2891
2895
  var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2892
2896
  if (f.err)
2893
2897
  return f;
2894
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), T = f.val;
2898
+ this.bumpSpace(), I = this.parseIdentifierIfPossible(), w = f.val;
2895
2899
  }
2896
- var $ = this.tryParsePluralOrSelectOptions(t, o, r, N);
2897
- if ($.err)
2898
- return $;
2900
+ var R = this.tryParsePluralOrSelectOptions(t, o, r, I);
2901
+ if (R.err)
2902
+ return R;
2899
2903
  var m = this.tryParseArgumentClose(i);
2900
2904
  if (m.err)
2901
2905
  return m;
2902
- var ie = b(i, this.clonePosition());
2906
+ var se = b(i, this.clonePosition());
2903
2907
  return o === "select" ? {
2904
2908
  val: {
2905
- type: x.select,
2909
+ type: y.select,
2906
2910
  value: n,
2907
- options: it($.val),
2908
- location: ie
2911
+ options: it(R.val),
2912
+ location: se
2909
2913
  },
2910
2914
  err: null
2911
2915
  } : {
2912
2916
  val: {
2913
- type: x.plural,
2917
+ type: y.plural,
2914
2918
  value: n,
2915
- options: it($.val),
2916
- offset: T,
2919
+ options: it(R.val),
2920
+ offset: w,
2917
2921
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2918
- location: ie
2922
+ location: se
2919
2923
  },
2920
2924
  err: null
2921
2925
  };
2922
2926
  }
2923
2927
  default:
2924
- return this.error(d.INVALID_ARGUMENT_TYPE, b(h, l));
2928
+ return this.error(d.INVALID_ARGUMENT_TYPE, b(u, l));
2925
2929
  }
2926
2930
  }, e.prototype.tryParseArgumentClose = function(t) {
2927
2931
  return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -2963,34 +2967,34 @@ var gn = (
2963
2967
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2964
2968
  var n = [];
2965
2969
  try {
2966
- n = Jr(t);
2970
+ n = qr(t);
2967
2971
  } catch {
2968
2972
  return this.error(d.INVALID_NUMBER_SKELETON, r);
2969
2973
  }
2970
2974
  return {
2971
2975
  val: {
2972
- type: k.number,
2976
+ type: V.number,
2973
2977
  tokens: n,
2974
2978
  location: r,
2975
- parsedOptions: this.shouldParseSkeletons ? en(n) : {}
2979
+ parsedOptions: this.shouldParseSkeletons ? tn(n) : {}
2976
2980
  },
2977
2981
  err: null
2978
2982
  };
2979
2983
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2980
- for (var s, h = !1, o = [], l = /* @__PURE__ */ new Set(), a = i.value, u = i.location; ; ) {
2984
+ for (var s, u = !1, o = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
2981
2985
  if (a.length === 0) {
2982
2986
  var f = this.clonePosition();
2983
2987
  if (r !== "select" && this.bumpIf("=")) {
2984
2988
  var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
2985
2989
  if (c.err)
2986
2990
  return c;
2987
- u = b(f, this.clonePosition()), a = this.message.slice(f.offset, this.offset());
2991
+ h = b(f, this.clonePosition()), a = this.message.slice(f.offset, this.offset());
2988
2992
  } else
2989
2993
  break;
2990
2994
  }
2991
2995
  if (l.has(a))
2992
- return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
2993
- a === "other" && (h = !0), this.bumpSpace();
2996
+ return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2997
+ a === "other" && (u = !0), this.bumpSpace();
2994
2998
  var p = this.clonePosition();
2995
2999
  if (!this.bumpIf("{"))
2996
3000
  return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
@@ -3006,21 +3010,21 @@ var gn = (
3006
3010
  value: m.val,
3007
3011
  location: b(p, this.clonePosition())
3008
3012
  }
3009
- ]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, u = s.location;
3013
+ ]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
3010
3014
  }
3011
- return o.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !h ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3015
+ return o.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3012
3016
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3013
3017
  var n = 1, i = this.clonePosition();
3014
3018
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3015
- for (var s = !1, h = 0; !this.isEOF(); ) {
3019
+ for (var s = !1, u = 0; !this.isEOF(); ) {
3016
3020
  var o = this.char();
3017
3021
  if (o >= 48 && o <= 57)
3018
- s = !0, h = h * 10 + (o - 48), this.bump();
3022
+ s = !0, u = u * 10 + (o - 48), this.bump();
3019
3023
  else
3020
3024
  break;
3021
3025
  }
3022
3026
  var l = b(i, this.clonePosition());
3023
- return s ? (h *= n, mn(h) ? { val: h, err: null } : this.error(r, l)) : this.error(t, l);
3027
+ return s ? (u *= n, pn(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
3024
3028
  }, e.prototype.offset = function() {
3025
3029
  return this.position.offset;
3026
3030
  }, e.prototype.isEOF = function() {
@@ -3086,13 +3090,13 @@ var gn = (
3086
3090
  }, e;
3087
3091
  }()
3088
3092
  );
3089
- function De(e) {
3093
+ function Fe(e) {
3090
3094
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3091
3095
  }
3092
- function _n(e) {
3093
- return De(e) || e === 47;
3094
- }
3095
3096
  function yn(e) {
3097
+ return Fe(e) || e === 47;
3098
+ }
3099
+ function En(e) {
3096
3100
  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;
3097
3101
  }
3098
3102
  function jt(e) {
@@ -3101,32 +3105,32 @@ function jt(e) {
3101
3105
  function xn(e) {
3102
3106
  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;
3103
3107
  }
3104
- function Ge(e) {
3108
+ function je(e) {
3105
3109
  e.forEach(function(t) {
3106
3110
  if (delete t.location, Lt(t) || Nt(t))
3107
3111
  for (var r in t.options)
3108
- delete t.options[r].location, Ge(t.options[r].value);
3112
+ delete t.options[r].location, je(t.options[r].value);
3109
3113
  else
3110
- Ct(t) && Mt(t.style) || (Ot(t) || Pt(t)) && Me(t.style) ? delete t.style.location : It(t) && Ge(t.children);
3114
+ Ot(t) && Mt(t.style) || (Ct(t) || Pt(t)) && Re(t.style) ? delete t.style.location : It(t) && je(t.children);
3111
3115
  });
3112
3116
  }
3113
- function En(e, t) {
3114
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3115
- var r = new gn(e, t).parse();
3117
+ function vn(e, t) {
3118
+ t === void 0 && (t = {}), t = me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3119
+ var r = new _n(e, t).parse();
3116
3120
  if (r.err) {
3117
3121
  var n = SyntaxError(d[r.err.kind]);
3118
3122
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3119
3123
  }
3120
- return t?.captureLocation || Ge(r.val), r.val;
3124
+ return t?.captureLocation || je(r.val), r.val;
3121
3125
  }
3122
- var V;
3126
+ var X;
3123
3127
  (function(e) {
3124
3128
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3125
- })(V || (V = {}));
3126
- var ge = (
3129
+ })(X || (X = {}));
3130
+ var ye = (
3127
3131
  /** @class */
3128
3132
  function(e) {
3129
- be(t, e);
3133
+ _e(t, e);
3130
3134
  function t(r, n, i) {
3131
3135
  var s = e.call(this, r) || this;
3132
3136
  return s.code = n, s.originalMessage = i, s;
@@ -3138,152 +3142,152 @@ var ge = (
3138
3142
  ), ot = (
3139
3143
  /** @class */
3140
3144
  function(e) {
3141
- be(t, e);
3145
+ _e(t, e);
3142
3146
  function t(r, n, i, s) {
3143
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3147
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, s) || this;
3144
3148
  }
3145
3149
  return t;
3146
- }(ge)
3147
- ), vn = (
3150
+ }(ye)
3151
+ ), Hn = (
3148
3152
  /** @class */
3149
3153
  function(e) {
3150
- be(t, e);
3154
+ _e(t, e);
3151
3155
  function t(r, n, i) {
3152
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3156
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3153
3157
  }
3154
3158
  return t;
3155
- }(ge)
3156
- ), Hn = (
3159
+ }(ye)
3160
+ ), Bn = (
3157
3161
  /** @class */
3158
3162
  function(e) {
3159
- be(t, e);
3163
+ _e(t, e);
3160
3164
  function t(r, n) {
3161
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3165
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3162
3166
  }
3163
3167
  return t;
3164
- }(ge)
3165
- ), E;
3168
+ }(ye)
3169
+ ), x;
3166
3170
  (function(e) {
3167
3171
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3168
- })(E || (E = {}));
3169
- function Bn(e) {
3172
+ })(x || (x = {}));
3173
+ function Tn(e) {
3170
3174
  return e.length < 2 ? e : e.reduce(function(t, r) {
3171
3175
  var n = t[t.length - 1];
3172
- return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3176
+ return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3173
3177
  }, []);
3174
3178
  }
3175
- function Tn(e) {
3179
+ function wn(e) {
3176
3180
  return typeof e == "function";
3177
3181
  }
3178
- function ue(e, t, r, n, i, s, h) {
3182
+ function le(e, t, r, n, i, s, u) {
3179
3183
  if (e.length === 1 && Ke(e[0]))
3180
3184
  return [
3181
3185
  {
3182
- type: E.literal,
3186
+ type: x.literal,
3183
3187
  value: e[0].value
3184
3188
  }
3185
3189
  ];
3186
3190
  for (var o = [], l = 0, a = e; l < a.length; l++) {
3187
- var u = a[l];
3188
- if (Ke(u)) {
3191
+ var h = a[l];
3192
+ if (Ke(h)) {
3189
3193
  o.push({
3190
- type: E.literal,
3191
- value: u.value
3194
+ type: x.literal,
3195
+ value: h.value
3192
3196
  });
3193
3197
  continue;
3194
3198
  }
3195
- if (zr(u)) {
3199
+ if (zr(h)) {
3196
3200
  typeof s == "number" && o.push({
3197
- type: E.literal,
3201
+ type: x.literal,
3198
3202
  value: r.getNumberFormat(t).format(s)
3199
3203
  });
3200
3204
  continue;
3201
3205
  }
3202
- var f = u.value;
3206
+ var f = h.value;
3203
3207
  if (!(i && f in i))
3204
- throw new Hn(f, h);
3208
+ throw new Bn(f, u);
3205
3209
  var c = i[f];
3206
- if (Xr(u)) {
3210
+ if (Wr(h)) {
3207
3211
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3208
- type: typeof c == "string" ? E.literal : E.object,
3212
+ type: typeof c == "string" ? x.literal : x.object,
3209
3213
  value: c
3210
3214
  });
3211
3215
  continue;
3212
3216
  }
3213
- if (Ot(u)) {
3214
- var p = typeof u.style == "string" ? n.date[u.style] : Me(u.style) ? u.style.parsedOptions : void 0;
3217
+ if (Ct(h)) {
3218
+ var p = typeof h.style == "string" ? n.date[h.style] : Re(h.style) ? h.style.parsedOptions : void 0;
3215
3219
  o.push({
3216
- type: E.literal,
3220
+ type: x.literal,
3217
3221
  value: r.getDateTimeFormat(t, p).format(c)
3218
3222
  });
3219
3223
  continue;
3220
3224
  }
3221
- if (Pt(u)) {
3222
- var p = typeof u.style == "string" ? n.time[u.style] : Me(u.style) ? u.style.parsedOptions : n.time.medium;
3225
+ if (Pt(h)) {
3226
+ var p = typeof h.style == "string" ? n.time[h.style] : Re(h.style) ? h.style.parsedOptions : n.time.medium;
3223
3227
  o.push({
3224
- type: E.literal,
3228
+ type: x.literal,
3225
3229
  value: r.getDateTimeFormat(t, p).format(c)
3226
3230
  });
3227
3231
  continue;
3228
3232
  }
3229
- if (Ct(u)) {
3230
- var p = typeof u.style == "string" ? n.number[u.style] : Mt(u.style) ? u.style.parsedOptions : void 0;
3233
+ if (Ot(h)) {
3234
+ var p = typeof h.style == "string" ? n.number[h.style] : Mt(h.style) ? h.style.parsedOptions : void 0;
3231
3235
  p && p.scale && (c = c * (p.scale || 1)), o.push({
3232
- type: E.literal,
3236
+ type: x.literal,
3233
3237
  value: r.getNumberFormat(t, p).format(c)
3234
3238
  });
3235
3239
  continue;
3236
3240
  }
3237
- if (It(u)) {
3238
- var m = u.children, g = u.value, v = i[g];
3239
- if (!Tn(v))
3240
- throw new vn(g, "function", h);
3241
- var L = ue(m, t, r, n, i, s), A = v(L.map(function(T) {
3242
- return T.value;
3241
+ if (It(h)) {
3242
+ var m = h.children, g = h.value, v = i[g];
3243
+ if (!wn(v))
3244
+ throw new Hn(g, "function", u);
3245
+ var N = le(m, t, r, n, i, s), O = v(N.map(function(w) {
3246
+ return w.value;
3243
3247
  }));
3244
- Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(T) {
3248
+ Array.isArray(O) || (O = [O]), o.push.apply(o, O.map(function(w) {
3245
3249
  return {
3246
- type: typeof T == "string" ? E.literal : E.object,
3247
- value: T
3250
+ type: typeof w == "string" ? x.literal : x.object,
3251
+ value: w
3248
3252
  };
3249
3253
  }));
3250
3254
  }
3251
- if (Lt(u)) {
3252
- var H = u.options[c] || u.options.other;
3255
+ if (Lt(h)) {
3256
+ var H = h.options[c] || h.options.other;
3253
3257
  if (!H)
3254
- throw new ot(u.value, c, Object.keys(u.options), h);
3255
- o.push.apply(o, ue(H.value, t, r, n, i));
3258
+ throw new ot(h.value, c, Object.keys(h.options), u);
3259
+ o.push.apply(o, le(H.value, t, r, n, i));
3256
3260
  continue;
3257
3261
  }
3258
- if (Nt(u)) {
3259
- var H = u.options["=".concat(c)];
3262
+ if (Nt(h)) {
3263
+ var H = h.options["=".concat(c)];
3260
3264
  if (!H) {
3261
3265
  if (!Intl.PluralRules)
3262
- throw new ge(`Intl.PluralRules is not available in this environment.
3266
+ throw new ye(`Intl.PluralRules is not available in this environment.
3263
3267
  Try polyfilling it using "@formatjs/intl-pluralrules"
3264
- `, V.MISSING_INTL_API, h);
3265
- var N = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3266
- H = u.options[N] || u.options.other;
3268
+ `, X.MISSING_INTL_API, u);
3269
+ var I = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3270
+ H = h.options[I] || h.options.other;
3267
3271
  }
3268
3272
  if (!H)
3269
- throw new ot(u.value, c, Object.keys(u.options), h);
3270
- o.push.apply(o, ue(H.value, t, r, n, i, c - (u.offset || 0)));
3273
+ throw new ot(h.value, c, Object.keys(h.options), u);
3274
+ o.push.apply(o, le(H.value, t, r, n, i, c - (h.offset || 0)));
3271
3275
  continue;
3272
3276
  }
3273
3277
  }
3274
- return Bn(o);
3278
+ return Tn(o);
3275
3279
  }
3276
- function wn(e, t) {
3277
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3278
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
3280
+ function Sn(e, t) {
3281
+ return t ? T(T(T({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3282
+ return r[n] = T(T({}, e[n]), t[n] || {}), r;
3279
3283
  }, {})) : e;
3280
3284
  }
3281
- function Sn(e, t) {
3285
+ function An(e, t) {
3282
3286
  return t ? Object.keys(e).reduce(function(r, n) {
3283
- return r[n] = wn(e[n], t[n]), r;
3284
- }, y({}, e)) : e;
3287
+ return r[n] = Sn(e[n], t[n]), r;
3288
+ }, T({}, e)) : e;
3285
3289
  }
3286
- function Ce(e) {
3290
+ function Pe(e) {
3287
3291
  return {
3288
3292
  create: function() {
3289
3293
  return {
@@ -3297,35 +3301,35 @@ function Ce(e) {
3297
3301
  }
3298
3302
  };
3299
3303
  }
3300
- function An(e) {
3304
+ function On(e) {
3301
3305
  return e === void 0 && (e = {
3302
3306
  number: {},
3303
3307
  dateTime: {},
3304
3308
  pluralRules: {}
3305
3309
  }), {
3306
- getNumberFormat: we(function() {
3310
+ getNumberFormat: Ae(function() {
3307
3311
  for (var t, r = [], n = 0; n < arguments.length; n++)
3308
3312
  r[n] = arguments[n];
3309
- return new ((t = Intl.NumberFormat).bind.apply(t, Te([void 0], r, !1)))();
3313
+ return new ((t = Intl.NumberFormat).bind.apply(t, Se([void 0], r, !1)))();
3310
3314
  }, {
3311
- cache: Ce(e.number),
3312
- strategy: Se.variadic
3315
+ cache: Pe(e.number),
3316
+ strategy: Oe.variadic
3313
3317
  }),
3314
- getDateTimeFormat: we(function() {
3318
+ getDateTimeFormat: Ae(function() {
3315
3319
  for (var t, r = [], n = 0; n < arguments.length; n++)
3316
3320
  r[n] = arguments[n];
3317
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Te([void 0], r, !1)))();
3321
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Se([void 0], r, !1)))();
3318
3322
  }, {
3319
- cache: Ce(e.dateTime),
3320
- strategy: Se.variadic
3323
+ cache: Pe(e.dateTime),
3324
+ strategy: Oe.variadic
3321
3325
  }),
3322
- getPluralRules: we(function() {
3326
+ getPluralRules: Ae(function() {
3323
3327
  for (var t, r = [], n = 0; n < arguments.length; n++)
3324
3328
  r[n] = arguments[n];
3325
- return new ((t = Intl.PluralRules).bind.apply(t, Te([void 0], r, !1)))();
3329
+ return new ((t = Intl.PluralRules).bind.apply(t, Se([void 0], r, !1)))();
3326
3330
  }, {
3327
- cache: Ce(e.pluralRules),
3328
- strategy: Se.variadic
3331
+ cache: Pe(e.pluralRules),
3332
+ strategy: Oe.variadic
3329
3333
  })
3330
3334
  };
3331
3335
  }
@@ -3343,12 +3347,12 @@ var kt = (
3343
3347
  var a = s.formatToParts(l);
3344
3348
  if (a.length === 1)
3345
3349
  return a[0].value;
3346
- var u = a.reduce(function(f, c) {
3347
- return !f.length || c.type !== E.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3350
+ var h = a.reduce(function(f, c) {
3351
+ return !f.length || c.type !== x.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3348
3352
  }, []);
3349
- return u.length <= 1 ? u[0] || "" : u;
3353
+ return h.length <= 1 ? h[0] || "" : h;
3350
3354
  }, this.formatToParts = function(l) {
3351
- return ue(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3355
+ return le(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3352
3356
  }, this.resolvedOptions = function() {
3353
3357
  var l;
3354
3358
  return {
@@ -3359,15 +3363,15 @@ var kt = (
3359
3363
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3360
3364
  if (this.message = t, !e.__parse)
3361
3365
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3362
- var h = i || {};
3363
- h.formatters;
3364
- var o = Ur(h, ["formatters"]);
3365
- this.ast = e.__parse(t, y(y({}, o), { locale: this.resolvedLocale }));
3366
+ var u = i || {};
3367
+ u.formatters;
3368
+ var o = Ur(u, ["formatters"]);
3369
+ this.ast = e.__parse(t, T(T({}, o), { locale: this.resolvedLocale }));
3366
3370
  } else
3367
3371
  this.ast = t;
3368
3372
  if (!Array.isArray(this.ast))
3369
3373
  throw new TypeError("A message must be provided as a String or AST.");
3370
- this.formats = Sn(e.formats, n), this.formatters = i && i.formatters || An(this.formatterCache);
3374
+ this.formats = An(e.formats, n), this.formatters = i && i.formatters || On(this.formatterCache);
3371
3375
  }
3372
3376
  return Object.defineProperty(e, "defaultLocale", {
3373
3377
  get: function() {
@@ -3380,7 +3384,7 @@ var kt = (
3380
3384
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3381
3385
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3382
3386
  }
3383
- }, e.__parse = En, e.formats = {
3387
+ }, e.__parse = vn, e.formats = {
3384
3388
  number: {
3385
3389
  integer: {
3386
3390
  maximumFractionDigits: 0
@@ -3462,101 +3466,101 @@ function Cn(e, t) {
3462
3466
  n = void 0;
3463
3467
  return n;
3464
3468
  }
3465
- const C = {}, On = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Vt = (e, t) => {
3469
+ const C = {}, Pn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Vt = (e, t) => {
3466
3470
  if (t == null)
3467
3471
  return;
3468
3472
  if (t in C && e in C[t])
3469
3473
  return C[t][e];
3470
- const r = ne(t);
3474
+ const r = ie(t);
3471
3475
  for (let n = 0; n < r.length; n++) {
3472
- const i = r[n], s = Ln(i, e);
3476
+ const i = r[n], s = Nn(i, e);
3473
3477
  if (s)
3474
- return On(e, t, s);
3478
+ return Pn(e, t, s);
3475
3479
  }
3476
3480
  };
3477
- let We;
3478
- const re = de({});
3479
- function Pn(e) {
3480
- return We[e] || null;
3481
+ let ze;
3482
+ const ne = ge({});
3483
+ function Ln(e) {
3484
+ return ze[e] || null;
3481
3485
  }
3482
3486
  function Xt(e) {
3483
- return e in We;
3487
+ return e in ze;
3484
3488
  }
3485
- function Ln(e, t) {
3489
+ function Nn(e, t) {
3486
3490
  if (!Xt(e))
3487
3491
  return null;
3488
- const r = Pn(e);
3492
+ const r = Ln(e);
3489
3493
  return Cn(r, t);
3490
3494
  }
3491
- function Nn(e) {
3495
+ function In(e) {
3492
3496
  if (e == null)
3493
3497
  return;
3494
- const t = ne(e);
3498
+ const t = ie(e);
3495
3499
  for (let r = 0; r < t.length; r++) {
3496
3500
  const n = t[r];
3497
3501
  if (Xt(n))
3498
3502
  return n;
3499
3503
  }
3500
3504
  }
3501
- function zt(e, ...t) {
3502
- delete C[e], re.update((r) => (r[e] = Rr.all([r[e] || {}, ...t]), r));
3505
+ function Wt(e, ...t) {
3506
+ delete C[e], ne.update((r) => (r[e] = Rr.all([r[e] || {}, ...t]), r));
3503
3507
  }
3504
- W(
3505
- [re],
3508
+ Z(
3509
+ [ne],
3506
3510
  ([e]) => Object.keys(e)
3507
3511
  );
3508
- re.subscribe((e) => We = e);
3509
- const le = {};
3510
- function In(e, t) {
3511
- le[e].delete(t), le[e].size === 0 && delete le[e];
3512
+ ne.subscribe((e) => ze = e);
3513
+ const fe = {};
3514
+ function Mn(e, t) {
3515
+ fe[e].delete(t), fe[e].size === 0 && delete fe[e];
3512
3516
  }
3513
- function Wt(e) {
3514
- return le[e];
3517
+ function zt(e) {
3518
+ return fe[e];
3515
3519
  }
3516
- function Mn(e) {
3517
- return ne(e).map((t) => {
3518
- const r = Wt(t);
3520
+ function $n(e) {
3521
+ return ie(e).map((t) => {
3522
+ const r = zt(t);
3519
3523
  return [t, r ? [...r] : []];
3520
3524
  }).filter(([, t]) => t.length > 0);
3521
3525
  }
3522
- function ce(e) {
3523
- return e == null ? !1 : ne(e).some(
3526
+ function pe(e) {
3527
+ return e == null ? !1 : ie(e).some(
3524
3528
  (t) => {
3525
3529
  var r;
3526
- return (r = Wt(t)) == null ? void 0 : r.size;
3530
+ return (r = zt(t)) == null ? void 0 : r.size;
3527
3531
  }
3528
3532
  );
3529
3533
  }
3530
- function $n(e, t) {
3534
+ function Rn(e, t) {
3531
3535
  return Promise.all(
3532
- t.map((n) => (In(e, n), n().then((i) => i.default || i)))
3533
- ).then((n) => zt(e, ...n));
3536
+ t.map((n) => (Mn(e, n), n().then((i) => i.default || i)))
3537
+ ).then((n) => Wt(e, ...n));
3534
3538
  }
3535
- const Q = {};
3539
+ const J = {};
3536
3540
  function Zt(e) {
3537
- if (!ce(e))
3538
- return e in Q ? Q[e] : Promise.resolve();
3539
- const t = Mn(e);
3540
- return Q[e] = Promise.all(
3541
+ if (!pe(e))
3542
+ return e in J ? J[e] : Promise.resolve();
3543
+ const t = $n(e);
3544
+ return J[e] = Promise.all(
3541
3545
  t.map(
3542
- ([r, n]) => $n(r, n)
3546
+ ([r, n]) => Rn(r, n)
3543
3547
  )
3544
3548
  ).then(() => {
3545
- if (ce(e))
3549
+ if (pe(e))
3546
3550
  return Zt(e);
3547
- delete Q[e];
3548
- }), Q[e];
3551
+ delete J[e];
3552
+ }), J[e];
3549
3553
  }
3550
- var at = Object.getOwnPropertySymbols, Rn = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, Dn = (e, t) => {
3554
+ var at = Object.getOwnPropertySymbols, Un = Object.prototype.hasOwnProperty, Dn = Object.prototype.propertyIsEnumerable, Gn = (e, t) => {
3551
3555
  var r = {};
3552
3556
  for (var n in e)
3553
- Rn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3557
+ Un.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3554
3558
  if (e != null && at)
3555
3559
  for (var n of at(e))
3556
- t.indexOf(n) < 0 && Un.call(e, n) && (r[n] = e[n]);
3560
+ t.indexOf(n) < 0 && Dn.call(e, n) && (r[n] = e[n]);
3557
3561
  return r;
3558
3562
  };
3559
- const Gn = {
3563
+ const Fn = {
3560
3564
  number: {
3561
3565
  scientific: { notation: "scientific" },
3562
3566
  engineering: { notation: "engineering" },
@@ -3586,28 +3590,28 @@ const Gn = {
3586
3590
  }
3587
3591
  }
3588
3592
  };
3589
- function Fn({ locale: e, id: t }) {
3593
+ function jn({ locale: e, id: t }) {
3590
3594
  console.warn(
3591
- `[svelte-i18n] The message "${t}" was not found in "${ne(
3595
+ `[svelte-i18n] The message "${t}" was not found in "${ie(
3592
3596
  e
3593
- ).join('", "')}".${ce(P()) ? `
3597
+ ).join('", "')}".${pe(L()) ? `
3594
3598
 
3595
3599
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3596
3600
  );
3597
3601
  }
3598
- const jn = {
3602
+ const kn = {
3599
3603
  fallbackLocale: null,
3600
3604
  loadingDelay: 200,
3601
- formats: Gn,
3605
+ formats: Fn,
3602
3606
  warnOnMissingMessages: !0,
3603
3607
  handleMissingMessage: void 0,
3604
3608
  ignoreTag: !0
3605
- }, J = jn;
3606
- function X() {
3607
- return J;
3609
+ }, q = kn;
3610
+ function W() {
3611
+ return q;
3608
3612
  }
3609
- function kn(e) {
3610
- const t = e, { formats: r } = t, n = Dn(t, ["formats"]);
3613
+ function Vn(e) {
3614
+ const t = e, { formats: r } = t, n = Gn(t, ["formats"]);
3611
3615
  let i = e.fallbackLocale;
3612
3616
  if (e.initialLocale)
3613
3617
  try {
@@ -3617,152 +3621,152 @@ function kn(e) {
3617
3621
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3618
3622
  );
3619
3623
  }
3620
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Fn : console.warn(
3624
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = jn : console.warn(
3621
3625
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3622
- )), Object.assign(J, n, { initialLocale: i }), r && ("number" in r && Object.assign(J.formats.number, r.number), "date" in r && Object.assign(J.formats.date, r.date), "time" in r && Object.assign(J.formats.time, r.time)), M.set(i);
3626
+ )), Object.assign(q, n, { initialLocale: i }), r && ("number" in r && Object.assign(q.formats.number, r.number), "date" in r && Object.assign(q.formats.date, r.date), "time" in r && Object.assign(q.formats.time, r.time)), $.set(i);
3623
3627
  }
3624
- const Oe = de(!1);
3625
- var Vn = Object.defineProperty, Xn = Object.defineProperties, zn = Object.getOwnPropertyDescriptors, ht = Object.getOwnPropertySymbols, Wn = Object.prototype.hasOwnProperty, Zn = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? Vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qn = (e, t) => {
3628
+ const Le = ge(!1);
3629
+ var Xn = Object.defineProperty, Wn = Object.defineProperties, zn = Object.getOwnPropertyDescriptors, ut = Object.getOwnPropertySymbols, Zn = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, ht = (e, t, r) => t in e ? Xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Jn = (e, t) => {
3626
3630
  for (var r in t || (t = {}))
3627
- Wn.call(t, r) && ut(e, r, t[r]);
3628
- if (ht)
3629
- for (var r of ht(t))
3630
- Zn.call(t, r) && ut(e, r, t[r]);
3631
+ Zn.call(t, r) && ht(e, r, t[r]);
3632
+ if (ut)
3633
+ for (var r of ut(t))
3634
+ Qn.call(t, r) && ht(e, r, t[r]);
3631
3635
  return e;
3632
- }, Jn = (e, t) => Xn(e, zn(t));
3633
- let Fe;
3634
- const me = de(null);
3636
+ }, qn = (e, t) => Wn(e, zn(t));
3637
+ let ke;
3638
+ const de = ge(null);
3635
3639
  function lt(e) {
3636
3640
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3637
3641
  }
3638
- function ne(e, t = X().fallbackLocale) {
3642
+ function ie(e, t = W().fallbackLocale) {
3639
3643
  const r = lt(e);
3640
3644
  return t ? [.../* @__PURE__ */ new Set([...r, ...lt(t)])] : r;
3641
3645
  }
3642
- function P() {
3643
- return Fe ?? void 0;
3646
+ function L() {
3647
+ return ke ?? void 0;
3644
3648
  }
3645
- me.subscribe((e) => {
3646
- Fe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3649
+ de.subscribe((e) => {
3650
+ ke = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3647
3651
  });
3648
- const qn = (e) => {
3649
- if (e && Nn(e) && ce(e)) {
3650
- const { loadingDelay: t } = X();
3652
+ const Yn = (e) => {
3653
+ if (e && In(e) && pe(e)) {
3654
+ const { loadingDelay: t } = W();
3651
3655
  let r;
3652
- return typeof window < "u" && P() != null && t ? r = window.setTimeout(
3653
- () => Oe.set(!0),
3656
+ return typeof window < "u" && L() != null && t ? r = window.setTimeout(
3657
+ () => Le.set(!0),
3654
3658
  t
3655
- ) : Oe.set(!0), Zt(e).then(() => {
3656
- me.set(e);
3659
+ ) : Le.set(!0), Zt(e).then(() => {
3660
+ de.set(e);
3657
3661
  }).finally(() => {
3658
- clearTimeout(r), Oe.set(!1);
3662
+ clearTimeout(r), Le.set(!1);
3659
3663
  });
3660
3664
  }
3661
- return me.set(e);
3662
- }, M = Jn(Qn({}, me), {
3663
- set: qn
3664
- }), _e = (e) => {
3665
+ return de.set(e);
3666
+ }, $ = qn(Jn({}, de), {
3667
+ set: Yn
3668
+ }), Ee = (e) => {
3665
3669
  const t = /* @__PURE__ */ Object.create(null);
3666
3670
  return (n) => {
3667
3671
  const i = JSON.stringify(n);
3668
3672
  return i in t ? t[i] : t[i] = e(n);
3669
3673
  };
3670
3674
  };
3671
- var Yn = Object.defineProperty, pe = Object.getOwnPropertySymbols, Qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? Yn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3675
+ var Kn = Object.defineProperty, be = Object.getOwnPropertySymbols, Qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? Kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3672
3676
  for (var r in t || (t = {}))
3673
3677
  Qt.call(t, r) && ft(e, r, t[r]);
3674
- if (pe)
3675
- for (var r of pe(t))
3678
+ if (be)
3679
+ for (var r of be(t))
3676
3680
  Jt.call(t, r) && ft(e, r, t[r]);
3677
3681
  return e;
3678
- }, Z = (e, t) => {
3682
+ }, Q = (e, t) => {
3679
3683
  var r = {};
3680
3684
  for (var n in e)
3681
3685
  Qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3682
- if (e != null && pe)
3683
- for (var n of pe(e))
3686
+ if (e != null && be)
3687
+ for (var n of be(e))
3684
3688
  t.indexOf(n) < 0 && Jt.call(e, n) && (r[n] = e[n]);
3685
3689
  return r;
3686
3690
  };
3687
- const K = (e, t) => {
3688
- const { formats: r } = X();
3691
+ const ee = (e, t) => {
3692
+ const { formats: r } = W();
3689
3693
  if (e in r && t in r[e])
3690
3694
  return r[e][t];
3691
3695
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3692
- }, Kn = _e(
3696
+ }, ei = Ee(
3693
3697
  (e) => {
3694
- var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3698
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3695
3699
  if (r == null)
3696
3700
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3697
- return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
3701
+ return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
3698
3702
  }
3699
- ), ei = _e(
3703
+ ), ti = Ee(
3700
3704
  (e) => {
3701
- var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3705
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3702
3706
  if (r == null)
3703
3707
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3704
- return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
3708
+ return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
3705
3709
  }
3706
- ), ti = _e(
3710
+ ), ri = Ee(
3707
3711
  (e) => {
3708
- var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3712
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3709
3713
  if (r == null)
3710
3714
  throw new Error(
3711
3715
  '[svelte-i18n] A "locale" must be set to format time values'
3712
3716
  );
3713
- return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
3717
+ return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
3714
3718
  }
3715
- ), ri = (e = {}) => {
3719
+ ), ni = (e = {}) => {
3716
3720
  var t = e, {
3717
- locale: r = P()
3718
- } = t, n = Z(t, [
3719
- "locale"
3720
- ]);
3721
- return Kn(Ze({ locale: r }, n));
3722
- }, ni = (e = {}) => {
3723
- var t = e, {
3724
- locale: r = P()
3725
- } = t, n = Z(t, [
3721
+ locale: r = L()
3722
+ } = t, n = Q(t, [
3726
3723
  "locale"
3727
3724
  ]);
3728
3725
  return ei(Ze({ locale: r }, n));
3729
3726
  }, ii = (e = {}) => {
3730
3727
  var t = e, {
3731
- locale: r = P()
3732
- } = t, n = Z(t, [
3728
+ locale: r = L()
3729
+ } = t, n = Q(t, [
3733
3730
  "locale"
3734
3731
  ]);
3735
3732
  return ti(Ze({ locale: r }, n));
3736
- }, si = _e(
3733
+ }, si = (e = {}) => {
3734
+ var t = e, {
3735
+ locale: r = L()
3736
+ } = t, n = Q(t, [
3737
+ "locale"
3738
+ ]);
3739
+ return ri(Ze({ locale: r }, n));
3740
+ }, oi = Ee(
3737
3741
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3738
- (e, t = P()) => new kt(e, t, X().formats, {
3739
- ignoreTag: X().ignoreTag
3742
+ (e, t = L()) => new kt(e, t, W().formats, {
3743
+ ignoreTag: W().ignoreTag
3740
3744
  })
3741
- ), oi = (e, t = {}) => {
3745
+ ), ai = (e, t = {}) => {
3742
3746
  var r, n, i, s;
3743
- let h = t;
3744
- typeof e == "object" && (h = e, e = h.id);
3747
+ let u = t;
3748
+ typeof e == "object" && (u = e, e = u.id);
3745
3749
  const {
3746
3750
  values: o,
3747
- locale: l = P(),
3751
+ locale: l = L(),
3748
3752
  default: a
3749
- } = h;
3753
+ } = u;
3750
3754
  if (l == null)
3751
3755
  throw new Error(
3752
3756
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3753
3757
  );
3754
- let u = Vt(e, l);
3755
- if (!u)
3756
- u = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3757
- else if (typeof u != "string")
3758
+ let h = Vt(e, l);
3759
+ if (!h)
3760
+ h = (s = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3761
+ else if (typeof h != "string")
3758
3762
  return console.warn(
3759
- `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3760
- ), u;
3763
+ `[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.`
3764
+ ), h;
3761
3765
  if (!o)
3762
- return u;
3763
- let f = u;
3766
+ return h;
3767
+ let f = h;
3764
3768
  try {
3765
- f = si(u, l).format(o);
3769
+ f = oi(h, l).format(o);
3766
3770
  } catch (c) {
3767
3771
  c instanceof Error && console.warn(
3768
3772
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3770,18 +3774,18 @@ const K = (e, t) => {
3770
3774
  );
3771
3775
  }
3772
3776
  return f;
3773
- }, ai = (e, t) => ii(t).format(e), hi = (e, t) => ni(t).format(e), ui = (e, t) => ri(t).format(e), li = (e, t = P()) => Vt(e, t), fi = W([M, re], () => oi);
3774
- W([M], () => ai);
3775
- W([M], () => hi);
3776
- W([M], () => ui);
3777
- W([M, re], () => li);
3777
+ }, ui = (e, t) => si(t).format(e), hi = (e, t) => ii(t).format(e), li = (e, t) => ni(t).format(e), fi = (e, t = L()) => Vt(e, t), ci = Z([$, ne], () => ai);
3778
+ Z([$], () => ui);
3779
+ Z([$], () => hi);
3780
+ Z([$], () => li);
3781
+ Z([$, ne], () => fi);
3778
3782
  function ct(e, t) {
3779
- zt(e, t);
3783
+ Wt(e, t);
3780
3784
  }
3781
- function ci(e) {
3782
- kn({
3785
+ function mi(e) {
3786
+ Vn({
3783
3787
  fallbackLocale: "en"
3784
- }), M.set(e);
3788
+ }), $.set(e);
3785
3789
  }
3786
3790
  const mt = {
3787
3791
  en: {
@@ -3806,18 +3810,18 @@ const mt = {
3806
3810
  }
3807
3811
  }
3808
3812
  };
3809
- function mi(e) {
3813
+ function pi(e) {
3810
3814
  nr(e, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
3811
3815
  }
3812
- const pi = (e) => ({}), pt = (e) => ({}), di = (e) => ({}), dt = (e) => ({}), bi = (e) => ({}), bt = (e) => ({});
3816
+ const di = (e) => ({}), pt = (e) => ({}), bi = (e) => ({}), dt = (e) => ({}), gi = (e) => ({}), bt = (e) => ({});
3813
3817
  function gt(e) {
3814
3818
  let t, r, n;
3815
3819
  return {
3816
3820
  c() {
3817
- t = z("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', te(t, "class", "CashierHeaderLeftButton");
3821
+ t = z("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', re(t, "class", "CashierHeaderLeftButton");
3818
3822
  },
3819
3823
  m(i, s) {
3820
- I(i, t, s), r || (n = Bt(
3824
+ M(i, t, s), r || (n = Bt(
3821
3825
  t,
3822
3826
  "click",
3823
3827
  /*back*/
@@ -3826,11 +3830,11 @@ function gt(e) {
3826
3830
  },
3827
3831
  p: B,
3828
3832
  d(i) {
3829
- i && O(t), r = !1, n();
3833
+ i && P(t), r = !1, n();
3830
3834
  }
3831
3835
  };
3832
3836
  }
3833
- function gi(e) {
3837
+ function _i(e) {
3834
3838
  let t, r = (
3835
3839
  /*backButton*/
3836
3840
  e[1] && gt(e)
@@ -3840,18 +3844,18 @@ function gi(e) {
3840
3844
  r && r.c(), t = Ht();
3841
3845
  },
3842
3846
  m(n, i) {
3843
- r && r.m(n, i), I(n, t, i);
3847
+ r && r.m(n, i), M(n, t, i);
3844
3848
  },
3845
3849
  p(n, i) {
3846
3850
  /*backButton*/
3847
3851
  n[1] ? r ? r.p(n, i) : (r = gt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3848
3852
  },
3849
3853
  d(n) {
3850
- n && O(t), r && r.d(n);
3854
+ n && P(t), r && r.d(n);
3851
3855
  }
3852
3856
  };
3853
3857
  }
3854
- function _i(e) {
3858
+ function yi(e) {
3855
3859
  let t, r = (
3856
3860
  /*$_*/
3857
3861
  e[4](
@@ -3861,10 +3865,10 @@ function _i(e) {
3861
3865
  ), n;
3862
3866
  return {
3863
3867
  c() {
3864
- t = z("span"), n = ke(r), te(t, "class", "CashierHeaderTitle");
3868
+ t = z("span"), n = Xe(r), re(t, "class", "CashierHeaderTitle");
3865
3869
  },
3866
3870
  m(i, s) {
3867
- I(i, t, s), fe(t, n);
3871
+ M(i, t, s), ce(t, n);
3868
3872
  },
3869
3873
  p(i, s) {
3870
3874
  s & /*$_, titleText*/
@@ -3875,7 +3879,7 @@ function _i(e) {
3875
3879
  ) + "") && ar(n, r);
3876
3880
  },
3877
3881
  d(i) {
3878
- i && O(t);
3882
+ i && P(t);
3879
3883
  }
3880
3884
  };
3881
3885
  }
@@ -3883,10 +3887,10 @@ function _t(e) {
3883
3887
  let t, r, n;
3884
3888
  return {
3885
3889
  c() {
3886
- t = z("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', te(t, "class", "CashierHeaderRightButton");
3890
+ t = z("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', re(t, "class", "CashierHeaderRightButton");
3887
3891
  },
3888
3892
  m(i, s) {
3889
- I(i, t, s), r || (n = Bt(
3893
+ M(i, t, s), r || (n = Bt(
3890
3894
  t,
3891
3895
  "click",
3892
3896
  /*close*/
@@ -3895,11 +3899,11 @@ function _t(e) {
3895
3899
  },
3896
3900
  p: B,
3897
3901
  d(i) {
3898
- i && O(t), r = !1, n();
3902
+ i && P(t), r = !1, n();
3899
3903
  }
3900
3904
  };
3901
3905
  }
3902
- function yi(e) {
3906
+ function Ei(e) {
3903
3907
  let t, r = (
3904
3908
  /*closeButton*/
3905
3909
  e[3] && _t(e)
@@ -3909,14 +3913,14 @@ function yi(e) {
3909
3913
  r && r.c(), t = Ht();
3910
3914
  },
3911
3915
  m(n, i) {
3912
- r && r.m(n, i), I(n, t, i);
3916
+ r && r.m(n, i), M(n, t, i);
3913
3917
  },
3914
3918
  p(n, i) {
3915
3919
  /*closeButton*/
3916
3920
  n[3] ? r ? r.p(n, i) : (r = _t(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3917
3921
  },
3918
3922
  d(n) {
3919
- n && O(t), r && r.d(n);
3923
+ n && P(t), r && r.d(n);
3920
3924
  }
3921
3925
  };
3922
3926
  }
@@ -3925,91 +3929,91 @@ function xi(e) {
3925
3929
  const s = (
3926
3930
  /*#slots*/
3927
3931
  e[15].leftButton
3928
- ), h = ye(
3932
+ ), u = xe(
3929
3933
  s,
3930
3934
  e,
3931
3935
  /*$$scope*/
3932
3936
  e[14],
3933
3937
  bt
3934
- ), o = h || gi(e), l = (
3938
+ ), o = u || _i(e), l = (
3935
3939
  /*#slots*/
3936
3940
  e[15].title
3937
- ), a = ye(
3941
+ ), a = xe(
3938
3942
  l,
3939
3943
  e,
3940
3944
  /*$$scope*/
3941
3945
  e[14],
3942
3946
  dt
3943
- ), u = a || _i(e), f = (
3947
+ ), h = a || yi(e), f = (
3944
3948
  /*#slots*/
3945
3949
  e[15].rightButton
3946
- ), c = ye(
3950
+ ), c = xe(
3947
3951
  f,
3948
3952
  e,
3949
3953
  /*$$scope*/
3950
3954
  e[14],
3951
3955
  pt
3952
- ), p = c || yi(e);
3956
+ ), p = c || Ei(e);
3953
3957
  return {
3954
3958
  c() {
3955
- t = z("div"), o && o.c(), r = Je(), u && u.c(), n = Je(), p && p.c(), te(t, "class", "CashierHeader");
3959
+ t = z("div"), o && o.c(), r = Je(), h && h.c(), n = Je(), p && p.c(), re(t, "class", "CashierHeader");
3956
3960
  },
3957
3961
  m(m, g) {
3958
- I(m, t, g), o && o.m(t, null), fe(t, r), u && u.m(t, null), fe(t, n), p && p.m(t, null), e[16](t), i = !0;
3962
+ M(m, t, g), o && o.m(t, null), ce(t, r), h && h.m(t, null), ce(t, n), p && p.m(t, null), e[16](t), i = !0;
3959
3963
  },
3960
3964
  p(m, [g]) {
3961
- h ? h.p && (!i || g & /*$$scope*/
3962
- 16384) && Ee(
3963
- h,
3965
+ u ? u.p && (!i || g & /*$$scope*/
3966
+ 16384) && He(
3967
+ u,
3964
3968
  s,
3965
3969
  m,
3966
3970
  /*$$scope*/
3967
3971
  m[14],
3968
- i ? xe(
3972
+ i ? ve(
3969
3973
  s,
3970
3974
  /*$$scope*/
3971
3975
  m[14],
3972
3976
  g,
3973
- bi
3974
- ) : ve(
3977
+ gi
3978
+ ) : Be(
3975
3979
  /*$$scope*/
3976
3980
  m[14]
3977
3981
  ),
3978
3982
  bt
3979
3983
  ) : o && o.p && (!i || g & /*backButton*/
3980
3984
  2) && o.p(m, i ? g : -1), a ? a.p && (!i || g & /*$$scope*/
3981
- 16384) && Ee(
3985
+ 16384) && He(
3982
3986
  a,
3983
3987
  l,
3984
3988
  m,
3985
3989
  /*$$scope*/
3986
3990
  m[14],
3987
- i ? xe(
3991
+ i ? ve(
3988
3992
  l,
3989
3993
  /*$$scope*/
3990
3994
  m[14],
3991
3995
  g,
3992
- di
3993
- ) : ve(
3996
+ bi
3997
+ ) : Be(
3994
3998
  /*$$scope*/
3995
3999
  m[14]
3996
4000
  ),
3997
4001
  dt
3998
- ) : u && u.p && (!i || g & /*$_, titleText*/
3999
- 20) && u.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
4000
- 16384) && Ee(
4002
+ ) : h && h.p && (!i || g & /*$_, titleText*/
4003
+ 20) && h.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
4004
+ 16384) && He(
4001
4005
  c,
4002
4006
  f,
4003
4007
  m,
4004
4008
  /*$$scope*/
4005
4009
  m[14],
4006
- i ? xe(
4010
+ i ? ve(
4007
4011
  f,
4008
4012
  /*$$scope*/
4009
4013
  m[14],
4010
4014
  g,
4011
- pi
4012
- ) : ve(
4015
+ di
4016
+ ) : Be(
4013
4017
  /*$$scope*/
4014
4018
  m[14]
4015
4019
  ),
@@ -4018,74 +4022,74 @@ function xi(e) {
4018
4022
  8) && p.p(m, i ? g : -1);
4019
4023
  },
4020
4024
  i(m) {
4021
- i || (ae(o, m), ae(u, m), ae(p, m), i = !0);
4025
+ i || (ue(o, m), ue(h, m), ue(p, m), i = !0);
4022
4026
  },
4023
4027
  o(m) {
4024
- Be(o, m), Be(u, m), Be(p, m), i = !1;
4028
+ we(o, m), we(h, m), we(p, m), i = !1;
4025
4029
  },
4026
4030
  d(m) {
4027
- m && O(t), o && o.d(m), u && u.d(m), p && p.d(m), e[16](null);
4031
+ m && P(t), o && o.d(m), h && h.d(m), p && p.d(m), e[16](null);
4028
4032
  }
4029
4033
  };
4030
4034
  }
4031
- function Ei(e, t, r) {
4035
+ function vi(e, t, r) {
4032
4036
  let n;
4033
- rr(e, fi, (_) => r(4, n = _));
4034
- let { $$slots: i = {}, $$scope: s } = t, { clientstyling: h = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: a = "" } = t, { title: u = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: c = "" } = t, p, m = !1, g, v = !1;
4035
- const L = () => {
4037
+ rr(e, ci, (_) => r(4, n = _));
4038
+ let { $$slots: i = {}, $$scope: s } = t, { clientstyling: u = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: a = "" } = t, { title: h = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: c = "" } = t, p, m = !1, g, v = !1;
4039
+ const N = () => {
4036
4040
  let _ = l;
4037
- _ && fetch(_).then((w) => w.json()).then((w) => {
4038
- Object.keys(w).forEach((R) => {
4039
- ct(R, w[R]);
4041
+ _ && fetch(_).then((S) => S.json()).then((S) => {
4042
+ Object.keys(S).forEach((U) => {
4043
+ ct(U, S[U]);
4040
4044
  });
4041
- }).catch((w) => {
4042
- console.log(w);
4045
+ }).catch((S) => {
4046
+ console.log(S);
4043
4047
  });
4044
4048
  };
4045
4049
  Object.keys(mt).forEach((_) => {
4046
4050
  ct(_, mt[_]);
4047
4051
  });
4048
- const A = () => {
4052
+ const O = () => {
4049
4053
  let _ = document.createElement("style");
4050
- _.innerHTML = h, p.appendChild(_);
4054
+ _.innerHTML = u, p.appendChild(_);
4051
4055
  }, H = () => {
4052
- let _ = new URL(o), w = document.createElement("style");
4053
- fetch(_.href).then((R) => R.text()).then((R) => {
4054
- w.innerHTML = R, setTimeout(
4056
+ let _ = new URL(o), S = document.createElement("style");
4057
+ fetch(_.href).then((U) => U.text()).then((U) => {
4058
+ S.innerHTML = U, setTimeout(
4055
4059
  () => {
4056
- p.appendChild(w);
4060
+ p.appendChild(S);
4057
4061
  },
4058
4062
  1
4059
4063
  );
4060
4064
  });
4061
- }, N = () => {
4062
- ci(f);
4063
- }, T = () => {
4065
+ }, I = () => {
4066
+ mi(f);
4067
+ }, w = () => {
4064
4068
  window.postMessage({ type: "CloseCashier" }, window.location.href);
4065
- }, $ = () => {
4069
+ }, R = () => {
4066
4070
  window.postMessage({ type: "BackCashier" }, window.location.href);
4067
- }, ie = () => {
4071
+ }, se = () => {
4068
4072
  r(1, m = !!a && a !== "false");
4069
4073
  }, qt = () => {
4070
4074
  r(3, v = !!c && c !== "false");
4071
4075
  }, Yt = () => {
4072
- r(2, g = u || "header.general");
4076
+ r(2, g = h || "header.general");
4073
4077
  };
4074
4078
  function Kt(_) {
4075
- Pe[_ ? "unshift" : "push"](() => {
4079
+ Ne[_ ? "unshift" : "push"](() => {
4076
4080
  p = _, r(0, p);
4077
4081
  });
4078
4082
  }
4079
4083
  return e.$$set = (_) => {
4080
- "clientstyling" in _ && r(7, h = _.clientstyling), "clientstylingurl" in _ && r(8, o = _.clientstylingurl), "translationurl" in _ && r(9, l = _.translationurl), "showbackbutton" in _ && r(10, a = _.showbackbutton), "title" in _ && r(11, u = _.title), "lang" in _ && r(12, f = _.lang), "showclosebutton" in _ && r(13, c = _.showclosebutton), "$$scope" in _ && r(14, s = _.$$scope);
4084
+ "clientstyling" in _ && r(7, u = _.clientstyling), "clientstylingurl" in _ && r(8, o = _.clientstylingurl), "translationurl" in _ && r(9, l = _.translationurl), "showbackbutton" in _ && r(10, a = _.showbackbutton), "title" in _ && r(11, h = _.title), "lang" in _ && r(12, f = _.lang), "showclosebutton" in _ && r(13, c = _.showclosebutton), "$$scope" in _ && r(14, s = _.$$scope);
4081
4085
  }, e.$$.update = () => {
4082
4086
  e.$$.dirty & /*lang*/
4083
- 4096 && f && N(), e.$$.dirty & /*lang, title*/
4084
- 6144 && f && u && Yt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4085
- 129 && h && p && A(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4087
+ 4096 && f && I(), e.$$.dirty & /*lang, title*/
4088
+ 6144 && f && h && Yt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4089
+ 129 && u && p && O(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4086
4090
  257 && o && p && H(), e.$$.dirty & /*lang, translationurl*/
4087
- 4608 && f && l && L(), e.$$.dirty & /*showbackbutton*/
4088
- 1024 && a && ie(), e.$$.dirty & /*showclosebutton*/
4091
+ 4608 && f && l && N(), e.$$.dirty & /*showbackbutton*/
4092
+ 1024 && a && se(), e.$$.dirty & /*showclosebutton*/
4089
4093
  8192 && c && qt();
4090
4094
  }, [
4091
4095
  p,
@@ -4093,13 +4097,13 @@ function Ei(e, t, r) {
4093
4097
  g,
4094
4098
  v,
4095
4099
  n,
4096
- T,
4097
- $,
4098
- h,
4100
+ w,
4101
+ R,
4102
+ u,
4099
4103
  o,
4100
4104
  l,
4101
4105
  a,
4102
- u,
4106
+ h,
4103
4107
  f,
4104
4108
  c,
4105
4109
  s,
@@ -4107,14 +4111,14 @@ function Ei(e, t, r) {
4107
4111
  Kt
4108
4112
  ];
4109
4113
  }
4110
- class vi extends yr {
4114
+ class Hi extends yr {
4111
4115
  constructor(t) {
4112
4116
  super(), gr(
4113
4117
  this,
4114
4118
  t,
4115
- Ei,
4119
+ vi,
4116
4120
  xi,
4117
- xt,
4121
+ Et,
4118
4122
  {
4119
4123
  clientstyling: 7,
4120
4124
  clientstylingurl: 8,
@@ -4124,53 +4128,53 @@ class vi extends yr {
4124
4128
  lang: 12,
4125
4129
  showclosebutton: 13
4126
4130
  },
4127
- mi
4131
+ pi
4128
4132
  );
4129
4133
  }
4130
4134
  get clientstyling() {
4131
4135
  return this.$$.ctx[7];
4132
4136
  }
4133
4137
  set clientstyling(t) {
4134
- this.$$set({ clientstyling: t }), S();
4138
+ this.$$set({ clientstyling: t }), A();
4135
4139
  }
4136
4140
  get clientstylingurl() {
4137
4141
  return this.$$.ctx[8];
4138
4142
  }
4139
4143
  set clientstylingurl(t) {
4140
- this.$$set({ clientstylingurl: t }), S();
4144
+ this.$$set({ clientstylingurl: t }), A();
4141
4145
  }
4142
4146
  get translationurl() {
4143
4147
  return this.$$.ctx[9];
4144
4148
  }
4145
4149
  set translationurl(t) {
4146
- this.$$set({ translationurl: t }), S();
4150
+ this.$$set({ translationurl: t }), A();
4147
4151
  }
4148
4152
  get showbackbutton() {
4149
4153
  return this.$$.ctx[10];
4150
4154
  }
4151
4155
  set showbackbutton(t) {
4152
- this.$$set({ showbackbutton: t }), S();
4156
+ this.$$set({ showbackbutton: t }), A();
4153
4157
  }
4154
4158
  get title() {
4155
4159
  return this.$$.ctx[11];
4156
4160
  }
4157
4161
  set title(t) {
4158
- this.$$set({ title: t }), S();
4162
+ this.$$set({ title: t }), A();
4159
4163
  }
4160
4164
  get lang() {
4161
4165
  return this.$$.ctx[12];
4162
4166
  }
4163
4167
  set lang(t) {
4164
- this.$$set({ lang: t }), S();
4168
+ this.$$set({ lang: t }), A();
4165
4169
  }
4166
4170
  get showclosebutton() {
4167
4171
  return this.$$.ctx[13];
4168
4172
  }
4169
4173
  set showclosebutton(t) {
4170
- this.$$set({ showclosebutton: t }), S();
4174
+ this.$$set({ showclosebutton: t }), A();
4171
4175
  }
4172
4176
  }
4173
- _r(vi, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4177
+ _r(Hi, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4174
4178
  export {
4175
- vi as C
4179
+ Hi as C
4176
4180
  };