@everymatrix/cashier-iframe-redirect 1.54.6 → 1.54.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,35 +1,35 @@
1
1
  function B() {
2
2
  }
3
- function tr(e, t) {
3
+ function er(e, t) {
4
4
  for (const r in t) e[r] = t[r];
5
5
  return (
6
6
  /** @type {T & S} */
7
7
  e
8
8
  );
9
9
  }
10
- function yt(e) {
10
+ function _t(e) {
11
11
  return e();
12
12
  }
13
- function Qe() {
13
+ function Ze() {
14
14
  return /* @__PURE__ */ Object.create(null);
15
15
  }
16
16
  function te(e) {
17
- e.forEach(yt);
17
+ e.forEach(_t);
18
18
  }
19
19
  function ke(e) {
20
20
  return typeof e == "function";
21
21
  }
22
- function Et(e, t) {
22
+ function yt(e, t) {
23
23
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
24
24
  }
25
25
  let se;
26
- function Bi(e, t) {
26
+ function Hi(e, t) {
27
27
  return e === t ? !0 : (se || (se = document.createElement("a")), se.href = t, e === se.href);
28
28
  }
29
- function rr(e) {
29
+ function tr(e) {
30
30
  return Object.keys(e).length === 0;
31
31
  }
32
- function xt(e, ...t) {
32
+ function Et(e, ...t) {
33
33
  if (e == null) {
34
34
  for (const n of t)
35
35
  n(void 0);
@@ -38,17 +38,17 @@ function xt(e, ...t) {
38
38
  const r = e.subscribe(...t);
39
39
  return r.unsubscribe ? () => r.unsubscribe() : r;
40
40
  }
41
- function nr(e, t, r) {
42
- e.$$.on_destroy.push(xt(t, r));
41
+ function rr(e, t, r) {
42
+ e.$$.on_destroy.push(Et(t, r));
43
43
  }
44
44
  function Ee(e, t, r, n) {
45
45
  if (e) {
46
- const i = vt(e, t, r, n);
46
+ const i = xt(e, t, r, n);
47
47
  return e[0](i);
48
48
  }
49
49
  }
50
- function vt(e, t, r, n) {
51
- return e[1] && n ? tr(r.ctx.slice(), e[1](n(t))) : r.ctx;
50
+ function xt(e, t, r, n) {
51
+ return e[1] && n ? er(r.ctx.slice(), e[1](n(t))) : r.ctx;
52
52
  }
53
53
  function xe(e, t, r, n) {
54
54
  if (e[2] && n) {
@@ -67,7 +67,7 @@ function xe(e, t, r, n) {
67
67
  }
68
68
  function ve(e, t, r, n, i, s) {
69
69
  if (i) {
70
- const u = vt(t, r, n, s);
70
+ const u = xt(t, r, n, s);
71
71
  e.p(u, i);
72
72
  }
73
73
  }
@@ -83,14 +83,14 @@ function He(e) {
83
83
  function ce(e, t) {
84
84
  e.appendChild(t);
85
85
  }
86
- function ir(e, t, r) {
87
- const n = sr(e);
86
+ function nr(e, t, r) {
87
+ const n = ir(e);
88
88
  if (!n.getElementById(t)) {
89
- const i = z("style");
90
- i.id = t, i.textContent = r, or(n, i);
89
+ const i = W("style");
90
+ i.id = t, i.textContent = r, sr(n, i);
91
91
  }
92
92
  }
93
- function sr(e) {
93
+ function ir(e) {
94
94
  if (!e) return document;
95
95
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
96
96
  return t && /** @type {ShadowRoot} */
@@ -99,7 +99,7 @@ function sr(e) {
99
99
  t
100
100
  ) : e.ownerDocument;
101
101
  }
102
- function or(e, t) {
102
+ function sr(e, t) {
103
103
  return ce(
104
104
  /** @type {Document} */
105
105
  e.head || e,
@@ -112,36 +112,36 @@ function I(e, t, r) {
112
112
  function O(e) {
113
113
  e.parentNode && e.parentNode.removeChild(e);
114
114
  }
115
- function z(e) {
115
+ function W(e) {
116
116
  return document.createElement(e);
117
117
  }
118
118
  function Ve(e) {
119
119
  return document.createTextNode(e);
120
120
  }
121
- function qe() {
121
+ function Qe() {
122
122
  return Ve(" ");
123
123
  }
124
- function Ht() {
124
+ function vt() {
125
125
  return Ve("");
126
126
  }
127
- function Bt(e, t, r, n) {
127
+ function Ht(e, t, r, n) {
128
128
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
129
129
  }
130
- function W(e, t, r) {
130
+ function z(e, t, r) {
131
131
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
132
132
  }
133
- function Ti(e, t, r) {
133
+ function Bi(e, t, r) {
134
134
  const n = t.toLowerCase();
135
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : W(e, t, r);
135
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : z(e, t, r);
136
136
  }
137
- function ar(e) {
137
+ function or(e) {
138
138
  return Array.from(e.childNodes);
139
139
  }
140
- function ur(e, t) {
140
+ function ar(e, t) {
141
141
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
142
142
  t);
143
143
  }
144
- function hr(e) {
144
+ function ur(e) {
145
145
  const t = {};
146
146
  return e.childNodes.forEach(
147
147
  /** @param {Element} node */
@@ -156,10 +156,10 @@ function Y(e) {
156
156
  }
157
157
  const G = [], Le = [];
158
158
  let F = [];
159
- const Je = [], lr = /* @__PURE__ */ Promise.resolve();
159
+ const qe = [], hr = /* @__PURE__ */ Promise.resolve();
160
160
  let Ne = !1;
161
- function fr() {
162
- Ne || (Ne = !0, lr.then(S));
161
+ function lr() {
162
+ Ne || (Ne = !0, hr.then(S));
163
163
  }
164
164
  function Ie(e) {
165
165
  F.push(e);
@@ -174,7 +174,7 @@ function S() {
174
174
  try {
175
175
  for (; U < G.length; ) {
176
176
  const t = G[U];
177
- U++, Y(t), cr(t.$$);
177
+ U++, Y(t), fr(t.$$);
178
178
  }
179
179
  } catch (t) {
180
180
  throw G.length = 0, U = 0, t;
@@ -186,49 +186,49 @@ function S() {
186
186
  }
187
187
  F.length = 0;
188
188
  } while (G.length);
189
- for (; Je.length; )
190
- Je.pop()();
189
+ for (; qe.length; )
190
+ qe.pop()();
191
191
  Ne = !1, Be.clear(), Y(e);
192
192
  }
193
- function cr(e) {
193
+ function fr(e) {
194
194
  if (e.fragment !== null) {
195
195
  e.update(), te(e.before_update);
196
196
  const t = e.dirty;
197
197
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
198
198
  }
199
199
  }
200
- function mr(e) {
200
+ function cr(e) {
201
201
  const t = [], r = [];
202
202
  F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
203
203
  }
204
204
  const ae = /* @__PURE__ */ new Set();
205
- let dr;
205
+ let mr;
206
206
  function ue(e, t) {
207
207
  e && e.i && (ae.delete(e), e.i(t));
208
208
  }
209
209
  function Te(e, t, r, n) {
210
210
  if (e && e.o) {
211
211
  if (ae.has(e)) return;
212
- ae.add(e), dr.c.push(() => {
212
+ ae.add(e), mr.c.push(() => {
213
213
  ae.delete(e);
214
214
  }), e.o(t);
215
215
  }
216
216
  }
217
- function pr(e, t, r) {
217
+ function dr(e, t, r) {
218
218
  const { fragment: n, after_update: i } = e.$$;
219
219
  n && n.m(t, r), Ie(() => {
220
- const s = e.$$.on_mount.map(yt).filter(ke);
220
+ const s = e.$$.on_mount.map(_t).filter(ke);
221
221
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
222
222
  }), i.forEach(Ie);
223
223
  }
224
- function br(e, t) {
224
+ function pr(e, t) {
225
225
  const r = e.$$;
226
- r.fragment !== null && (mr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
226
+ 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 = []);
227
227
  }
228
- function gr(e, t) {
229
- e.$$.dirty[0] === -1 && (G.push(e), fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
228
+ function br(e, t) {
229
+ e.$$.dirty[0] === -1 && (G.push(e), lr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
230
230
  }
231
- function _r(e, t, r, n, i, s, u = null, o = [-1]) {
231
+ function gr(e, t, r, n, i, s, u = null, o = [-1]) {
232
232
  const l = Xe;
233
233
  Y(e);
234
234
  const a = e.$$ = {
@@ -238,7 +238,7 @@ function _r(e, t, r, n, i, s, u = null, o = [-1]) {
238
238
  props: s,
239
239
  update: B,
240
240
  not_equal: i,
241
- bound: Qe(),
241
+ bound: Ze(),
242
242
  // lifecycle
243
243
  on_mount: [],
244
244
  on_destroy: [],
@@ -247,7 +247,7 @@ function _r(e, t, r, n, i, s, u = null, o = [-1]) {
247
247
  after_update: [],
248
248
  context: new Map(t.context || (l ? l.$$.context : [])),
249
249
  // everything else
250
- callbacks: Qe(),
250
+ callbacks: Ze(),
251
251
  dirty: o,
252
252
  skip_bound: !1,
253
253
  root: t.target || l.$$.root
@@ -256,19 +256,19 @@ function _r(e, t, r, n, i, s, u = null, o = [-1]) {
256
256
  let h = !1;
257
257
  if (a.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
258
258
  const m = d.length ? d[0] : c;
259
- return a.ctx && i(a.ctx[f], a.ctx[f] = m) && (!a.skip_bound && a.bound[f] && a.bound[f](m), h && gr(e, f)), c;
259
+ 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;
260
260
  }) : [], a.update(), h = !0, te(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
261
261
  if (t.hydrate) {
262
- const f = ar(t.target);
262
+ const f = or(t.target);
263
263
  a.fragment && a.fragment.l(f), f.forEach(O);
264
264
  } else
265
265
  a.fragment && a.fragment.c();
266
- t.intro && ue(e.$$.fragment), pr(e, t.target, t.anchor), S();
266
+ t.intro && ue(e.$$.fragment), dr(e, t.target, t.anchor), S();
267
267
  }
268
268
  Y(l);
269
269
  }
270
- let Tt;
271
- typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
270
+ let Bt;
271
+ typeof HTMLElement == "function" && (Bt = class extends HTMLElement {
272
272
  /** The Svelte component constructor */
273
273
  $$ctor;
274
274
  /** Slots */
@@ -310,7 +310,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
310
310
  let s;
311
311
  return {
312
312
  c: function() {
313
- s = z("slot"), i !== "default" && W(s, "name", i);
313
+ s = W("slot"), i !== "default" && z(s, "name", i);
314
314
  },
315
315
  /**
316
316
  * @param {HTMLElement} target
@@ -327,7 +327,7 @@ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
327
327
  };
328
328
  if (await Promise.resolve(), !this.$$cn || this.$$c)
329
329
  return;
330
- const t = {}, r = hr(this);
330
+ const t = {}, r = ur(this);
331
331
  for (const i of this.$$s)
332
332
  i in r && (t[i] = [e(i)]);
333
333
  for (const i of this.attributes) {
@@ -414,8 +414,8 @@ function he(e, t, r, n) {
414
414
  return t;
415
415
  }
416
416
  }
417
- function yr(e, t, r, n, i, s) {
418
- let u = class extends Tt {
417
+ function _r(e, t, r, n, i, s) {
418
+ let u = class extends Bt {
419
419
  constructor() {
420
420
  super(e, r, i), this.$$p_d = t;
421
421
  }
@@ -443,7 +443,7 @@ function yr(e, t, r, n, i, s) {
443
443
  }), e.element = /** @type {any} */
444
444
  u, u;
445
445
  }
446
- class Er {
446
+ class yr {
447
447
  /**
448
448
  * ### PRIVATE API
449
449
  *
@@ -462,7 +462,7 @@ class Er {
462
462
  $$set = void 0;
463
463
  /** @returns {void} */
464
464
  $destroy() {
465
- br(this, 1), this.$destroy = B;
465
+ pr(this, 1), this.$destroy = B;
466
466
  }
467
467
  /**
468
468
  * @template {Extract<keyof Events, string>} K
@@ -484,13 +484,13 @@ class Er {
484
484
  * @returns {void}
485
485
  */
486
486
  $set(t) {
487
- this.$$set && !rr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
487
+ this.$$set && !tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
488
488
  }
489
489
  }
490
- const xr = "4";
491
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xr);
490
+ const Er = "4";
491
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Er);
492
492
  const D = [];
493
- function vr(e, t) {
493
+ function xr(e, t) {
494
494
  return {
495
495
  subscribe: be(e, t).subscribe
496
496
  };
@@ -499,7 +499,7 @@ function be(e, t = B) {
499
499
  let r;
500
500
  const n = /* @__PURE__ */ new Set();
501
501
  function i(o) {
502
- if (Et(e, o) && (e = o, r)) {
502
+ if (yt(e, o) && (e = o, r)) {
503
503
  const l = !D.length;
504
504
  for (const a of n)
505
505
  a[1](), D.push(a, e);
@@ -526,7 +526,7 @@ function Z(e, t, r) {
526
526
  if (!i.every(Boolean))
527
527
  throw new Error("derived() expects stores as input, got a falsy value");
528
528
  const s = t.length < 2;
529
- return vr(r, (u, o) => {
529
+ return xr(r, (u, o) => {
530
530
  let l = !1;
531
531
  const a = [];
532
532
  let h = 0, f = B;
@@ -537,7 +537,7 @@ function Z(e, t, r) {
537
537
  const m = t(n ? a[0] : a, u, o);
538
538
  s ? u(m) : f = ke(m) ? m : B;
539
539
  }, d = i.map(
540
- (m, g) => xt(
540
+ (m, g) => Et(
541
541
  m,
542
542
  (v) => {
543
543
  a[g] = v, h &= ~(1 << g), l && c();
@@ -552,70 +552,70 @@ function Z(e, t, r) {
552
552
  };
553
553
  });
554
554
  }
555
- function Hr(e) {
556
- return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
555
+ function vr(e) {
556
+ return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
557
557
  }
558
- var Br = function(t) {
559
- return Tr(t) && !wr(t);
558
+ var Hr = function(t) {
559
+ return Br(t) && !Tr(t);
560
560
  };
561
- function Tr(e) {
561
+ function Br(e) {
562
562
  return !!e && typeof e == "object";
563
563
  }
564
- function wr(e) {
564
+ function Tr(e) {
565
565
  var t = Object.prototype.toString.call(e);
566
- return t === "[object RegExp]" || t === "[object Date]" || Cr(e);
566
+ return t === "[object RegExp]" || t === "[object Date]" || Ar(e);
567
567
  }
568
- var Sr = typeof Symbol == "function" && Symbol.for, Ar = Sr ? Symbol.for("react.element") : 60103;
569
- function Cr(e) {
570
- return e.$$typeof === Ar;
568
+ var wr = typeof Symbol == "function" && Symbol.for, Sr = wr ? Symbol.for("react.element") : 60103;
569
+ function Ar(e) {
570
+ return e.$$typeof === Sr;
571
571
  }
572
- function Or(e) {
572
+ function Cr(e) {
573
573
  return Array.isArray(e) ? [] : {};
574
574
  }
575
575
  function K(e, t) {
576
- return t.clone !== !1 && t.isMergeableObject(e) ? j(Or(e), e, t) : e;
576
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(Cr(e), e, t) : e;
577
577
  }
578
- function Pr(e, t, r) {
578
+ function Or(e, t, r) {
579
579
  return e.concat(t).map(function(n) {
580
580
  return K(n, r);
581
581
  });
582
582
  }
583
- function Lr(e, t) {
583
+ function Pr(e, t) {
584
584
  if (!t.customMerge)
585
585
  return j;
586
586
  var r = t.customMerge(e);
587
587
  return typeof r == "function" ? r : j;
588
588
  }
589
- function Nr(e) {
589
+ function Lr(e) {
590
590
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
591
591
  return Object.propertyIsEnumerable.call(e, t);
592
592
  }) : [];
593
593
  }
594
- function Ye(e) {
595
- return Object.keys(e).concat(Nr(e));
594
+ function Je(e) {
595
+ return Object.keys(e).concat(Lr(e));
596
596
  }
597
- function wt(e, t) {
597
+ function Tt(e, t) {
598
598
  try {
599
599
  return t in e;
600
600
  } catch {
601
601
  return !1;
602
602
  }
603
603
  }
604
- function Ir(e, t) {
605
- return wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
604
+ function Nr(e, t) {
605
+ return Tt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
606
606
  }
607
- function Mr(e, t, r) {
607
+ function Ir(e, t, r) {
608
608
  var n = {};
609
- return r.isMergeableObject(e) && Ye(e).forEach(function(i) {
609
+ return r.isMergeableObject(e) && Je(e).forEach(function(i) {
610
610
  n[i] = K(e[i], r);
611
- }), Ye(t).forEach(function(i) {
612
- Ir(e, i) || (wt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Lr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
611
+ }), Je(t).forEach(function(i) {
612
+ Nr(e, i) || (Tt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
613
613
  }), n;
614
614
  }
615
615
  function j(e, t, r) {
616
- r = r || {}, r.arrayMerge = r.arrayMerge || Pr, r.isMergeableObject = r.isMergeableObject || Br, r.cloneUnlessOtherwiseSpecified = K;
616
+ r = r || {}, r.arrayMerge = r.arrayMerge || Or, r.isMergeableObject = r.isMergeableObject || Hr, r.cloneUnlessOtherwiseSpecified = K;
617
617
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
618
- return s ? n ? r.arrayMerge(e, t, r) : Mr(e, t, r) : K(t, r);
618
+ return s ? n ? r.arrayMerge(e, t, r) : Ir(e, t, r) : K(t, r);
619
619
  }
620
620
  j.all = function(t, r) {
621
621
  if (!Array.isArray(t))
@@ -624,8 +624,8 @@ j.all = function(t, r) {
624
624
  return j(n, i, r);
625
625
  }, {});
626
626
  };
627
- var $r = j, Rr = $r;
628
- const Ur = /* @__PURE__ */ Hr(Rr);
627
+ var Mr = j, $r = Mr;
628
+ const Rr = /* @__PURE__ */ vr($r);
629
629
  var Me = function(e, t) {
630
630
  return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
631
631
  r.__proto__ = n;
@@ -651,7 +651,7 @@ var y = function() {
651
651
  return t;
652
652
  }, y.apply(this, arguments);
653
653
  };
654
- function Dr(e, t) {
654
+ function Ur(e, t) {
655
655
  var r = {};
656
656
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
657
657
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -665,39 +665,36 @@ function we(e, t, r) {
665
665
  return e.concat(s || Array.prototype.slice.call(t));
666
666
  }
667
667
  function Se(e, t) {
668
- var r = t && t.cache ? t.cache : zr, n = t && t.serializer ? t.serializer : Vr, i = t && t.strategy ? t.strategy : Fr;
668
+ var r = t && t.cache ? t.cache : Xr, n = t && t.serializer ? t.serializer : kr, i = t && t.strategy ? t.strategy : Fr;
669
669
  return i(e, {
670
670
  cache: r,
671
671
  serializer: n
672
672
  });
673
673
  }
674
- function Gr(e) {
674
+ function Dr(e) {
675
675
  return e == null || typeof e == "number" || typeof e == "boolean";
676
676
  }
677
- function St(e, t, r, n) {
678
- var i = Gr(n) ? n : r(n), s = t.get(i);
677
+ function Gr(e, t, r, n) {
678
+ var i = Dr(n) ? n : r(n), s = t.get(i);
679
679
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
680
680
  }
681
- function At(e, t, r) {
681
+ function wt(e, t, r) {
682
682
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
683
683
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
684
684
  }
685
- function ze(e, t, r, n, i) {
685
+ function St(e, t, r, n, i) {
686
686
  return r.bind(t, e, n, i);
687
687
  }
688
688
  function Fr(e, t) {
689
- var r = e.length === 1 ? St : At;
690
- return ze(e, this, r, t.cache.create(), t.serializer);
689
+ var r = e.length === 1 ? Gr : wt;
690
+ return St(e, this, r, t.cache.create(), t.serializer);
691
691
  }
692
692
  function jr(e, t) {
693
- return ze(e, this, At, t.cache.create(), t.serializer);
694
- }
695
- function kr(e, t) {
696
- return ze(e, this, St, t.cache.create(), t.serializer);
693
+ return St(e, this, wt, t.cache.create(), t.serializer);
697
694
  }
698
- var Vr = function() {
695
+ var kr = function() {
699
696
  return JSON.stringify(arguments);
700
- }, Xr = (
697
+ }, Vr = (
701
698
  /** @class */
702
699
  function() {
703
700
  function e() {
@@ -709,13 +706,12 @@ var Vr = function() {
709
706
  this.cache[t] = r;
710
707
  }, e;
711
708
  }()
712
- ), zr = {
709
+ ), Xr = {
713
710
  create: function() {
714
- return new Xr();
711
+ return new Vr();
715
712
  }
716
713
  }, Ae = {
717
- variadic: jr,
718
- monadic: kr
714
+ variadic: jr
719
715
  }, p;
720
716
  (function(e) {
721
717
  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";
@@ -728,43 +724,43 @@ var k;
728
724
  (function(e) {
729
725
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
730
726
  })(k || (k = {}));
731
- function Ke(e) {
727
+ function Ye(e) {
732
728
  return e.type === E.literal;
733
729
  }
734
730
  function Wr(e) {
735
731
  return e.type === E.argument;
736
732
  }
737
- function Ct(e) {
733
+ function At(e) {
738
734
  return e.type === E.number;
739
735
  }
740
- function Ot(e) {
736
+ function Ct(e) {
741
737
  return e.type === E.date;
742
738
  }
743
- function Pt(e) {
739
+ function Ot(e) {
744
740
  return e.type === E.time;
745
741
  }
746
- function Lt(e) {
742
+ function Pt(e) {
747
743
  return e.type === E.select;
748
744
  }
749
- function Nt(e) {
745
+ function Lt(e) {
750
746
  return e.type === E.plural;
751
747
  }
752
- function Zr(e) {
748
+ function zr(e) {
753
749
  return e.type === E.pound;
754
750
  }
755
- function It(e) {
751
+ function Nt(e) {
756
752
  return e.type === E.tag;
757
753
  }
758
- function Mt(e) {
754
+ function It(e) {
759
755
  return !!(e && typeof e == "object" && e.type === k.number);
760
756
  }
761
757
  function $e(e) {
762
758
  return !!(e && typeof e == "object" && e.type === k.dateTime);
763
759
  }
764
- var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Qr = /(?:[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;
765
- function qr(e) {
760
+ var Mt = /[ \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;
761
+ function Qr(e) {
766
762
  var t = {};
767
- return e.replace(Qr, function(r) {
763
+ return e.replace(Zr, function(r) {
768
764
  var n = r.length;
769
765
  switch (r[0]) {
770
766
  case "G":
@@ -853,11 +849,11 @@ function qr(e) {
853
849
  return "";
854
850
  }), t;
855
851
  }
856
- var Jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
857
- function Yr(e) {
852
+ var qr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
853
+ function Jr(e) {
858
854
  if (e.length === 0)
859
855
  throw new Error("Number skeleton cannot be empty");
860
- for (var t = e.split(Jr).filter(function(c) {
856
+ for (var t = e.split(qr).filter(function(c) {
861
857
  return c.length > 0;
862
858
  }), r = [], n = 0, i = t; n < i.length; n++) {
863
859
  var s = i[n], u = s.split("/");
@@ -872,17 +868,17 @@ function Yr(e) {
872
868
  }
873
869
  return r;
874
870
  }
875
- function Kr(e) {
871
+ function Yr(e) {
876
872
  return e.replace(/^(.*?)-/, "");
877
873
  }
878
- var et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rt = /^(@+)?(\+|#+)?[rs]?$/g, en = /(\*)(0+)|(#+)(0+)|(0+)/g, Ut = /^(0+)$/;
879
- function tt(e) {
874
+ var Ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $t = /^(@+)?(\+|#+)?[rs]?$/g, Kr = /(\*)(0+)|(#+)(0+)|(0+)/g, Rt = /^(0+)$/;
875
+ function et(e) {
880
876
  var t = {};
881
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rt, function(r, n, i) {
877
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace($t, function(r, n, i) {
882
878
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
883
879
  }), t;
884
880
  }
885
- function Dt(e) {
881
+ function Ut(e) {
886
882
  switch (e) {
887
883
  case "sign-auto":
888
884
  return {
@@ -922,7 +918,7 @@ function Dt(e) {
922
918
  };
923
919
  }
924
920
  }
925
- function tn(e) {
921
+ function en(e) {
926
922
  var t;
927
923
  if (e[0] === "E" && e[1] === "E" ? (t = {
928
924
  notation: "engineering"
@@ -930,17 +926,17 @@ function tn(e) {
930
926
  notation: "scientific"
931
927
  }, e = e.slice(1)), t) {
932
928
  var r = e.slice(0, 2);
933
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ut.test(e))
929
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Rt.test(e))
934
930
  throw new Error("Malformed concise eng/scientific notation");
935
931
  t.minimumIntegerDigits = e.length;
936
932
  }
937
933
  return t;
938
934
  }
939
- function rt(e) {
940
- var t = {}, r = Dt(e);
935
+ function tt(e) {
936
+ var t = {}, r = Ut(e);
941
937
  return r || t;
942
938
  }
943
- function rn(e) {
939
+ function tn(e) {
944
940
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
945
941
  var i = n[r];
946
942
  switch (i.stem) {
@@ -964,7 +960,7 @@ function rn(e) {
964
960
  continue;
965
961
  case "measure-unit":
966
962
  case "unit":
967
- t.style = "unit", t.unit = Kr(i.options[0]);
963
+ t.style = "unit", t.unit = Yr(i.options[0]);
968
964
  continue;
969
965
  case "compact-short":
970
966
  case "K":
@@ -976,12 +972,12 @@ function rn(e) {
976
972
  continue;
977
973
  case "scientific":
978
974
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
979
- return y(y({}, l), rt(a));
975
+ return y(y({}, l), tt(a));
980
976
  }, {}));
981
977
  continue;
982
978
  case "engineering":
983
979
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
984
- return y(y({}, l), rt(a));
980
+ return y(y({}, l), tt(a));
985
981
  }, {}));
986
982
  continue;
987
983
  case "notation-simple":
@@ -1026,7 +1022,7 @@ function rn(e) {
1026
1022
  case "integer-width":
1027
1023
  if (i.options.length > 1)
1028
1024
  throw new RangeError("integer-width stems only accept a single optional option");
1029
- i.options[0].replace(en, function(l, a, h, f, c, d) {
1025
+ i.options[0].replace(Kr, function(l, a, h, f, c, d) {
1030
1026
  if (a)
1031
1027
  t.minimumIntegerDigits = h.length;
1032
1028
  else {
@@ -1039,27 +1035,27 @@ function rn(e) {
1039
1035
  });
1040
1036
  continue;
1041
1037
  }
1042
- if (Ut.test(i.stem)) {
1038
+ if (Rt.test(i.stem)) {
1043
1039
  t.minimumIntegerDigits = i.stem.length;
1044
1040
  continue;
1045
1041
  }
1046
- if (et.test(i.stem)) {
1042
+ if (Ke.test(i.stem)) {
1047
1043
  if (i.options.length > 1)
1048
1044
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1049
- i.stem.replace(et, function(l, a, h, f, c, d) {
1045
+ i.stem.replace(Ke, function(l, a, h, f, c, d) {
1050
1046
  return h === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1051
1047
  });
1052
1048
  var s = i.options[0];
1053
- s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), tt(s)));
1049
+ s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), et(s)));
1054
1050
  continue;
1055
1051
  }
1056
- if (Rt.test(i.stem)) {
1057
- t = y(y({}, t), tt(i.stem));
1052
+ if ($t.test(i.stem)) {
1053
+ t = y(y({}, t), et(i.stem));
1058
1054
  continue;
1059
1055
  }
1060
- var u = Dt(i.stem);
1056
+ var u = Ut(i.stem);
1061
1057
  u && (t = y(y({}, t), u));
1062
- var o = tn(i.stem);
1058
+ var o = en(i.stem);
1063
1059
  o && (t = y(y({}, t), o));
1064
1060
  }
1065
1061
  return t;
@@ -2479,13 +2475,13 @@ var oe = {
2479
2475
  "h"
2480
2476
  ]
2481
2477
  };
2482
- function nn(e, t) {
2478
+ function rn(e, t) {
2483
2479
  for (var r = "", n = 0; n < e.length; n++) {
2484
2480
  var i = e.charAt(n);
2485
2481
  if (i === "j") {
2486
2482
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2487
2483
  s++, n++;
2488
- var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = sn(t);
2484
+ var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = nn(t);
2489
2485
  for ((a == "H" || a == "k") && (o = 0); o-- > 0; )
2490
2486
  r += l;
2491
2487
  for (; u-- > 0; )
@@ -2494,7 +2490,7 @@ function nn(e, t) {
2494
2490
  }
2495
2491
  return r;
2496
2492
  }
2497
- function sn(e) {
2493
+ function nn(e) {
2498
2494
  var t = e.hourCycle;
2499
2495
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2500
2496
  e.hourCycles && // @ts-ignore
@@ -2516,20 +2512,20 @@ function sn(e) {
2516
2512
  var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
2517
2513
  return i[0];
2518
2514
  }
2519
- var Ce, on = new RegExp("^".concat($t.source, "*")), an = new RegExp("".concat($t.source, "*$"));
2515
+ var Ce, sn = new RegExp("^".concat(Mt.source, "*")), on = new RegExp("".concat(Mt.source, "*$"));
2520
2516
  function b(e, t) {
2521
2517
  return { start: e, end: t };
2522
2518
  }
2523
- var un = !!String.prototype.startsWith && "_a".startsWith("a", 1), hn = !!String.fromCodePoint, ln = !!Object.fromEntries, fn = !!String.prototype.codePointAt, cn = !!String.prototype.trimStart, mn = !!String.prototype.trimEnd, dn = !!Number.isSafeInteger, pn = dn ? Number.isSafeInteger : function(e) {
2519
+ 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, dn = mn ? Number.isSafeInteger : function(e) {
2524
2520
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2525
2521
  }, Re = !0;
2526
2522
  try {
2527
- var bn = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2528
- Re = ((Ce = bn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2523
+ var pn = Gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2524
+ Re = ((Ce = pn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2529
2525
  } catch {
2530
2526
  Re = !1;
2531
2527
  }
2532
- var nt = un ? (
2528
+ var rt = an ? (
2533
2529
  // Native
2534
2530
  function(t, r, n) {
2535
2531
  return t.startsWith(r, n);
@@ -2539,7 +2535,7 @@ var nt = un ? (
2539
2535
  function(t, r, n) {
2540
2536
  return t.slice(n, n + r.length) === r;
2541
2537
  }
2542
- ), Ue = hn ? String.fromCodePoint : (
2538
+ ), Ue = un ? String.fromCodePoint : (
2543
2539
  // IE11
2544
2540
  function() {
2545
2541
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2551,9 +2547,9 @@ var nt = un ? (
2551
2547
  }
2552
2548
  return n;
2553
2549
  }
2554
- ), it = (
2550
+ ), nt = (
2555
2551
  // native
2556
- ln ? Object.fromEntries : (
2552
+ hn ? Object.fromEntries : (
2557
2553
  // Ponyfill
2558
2554
  function(t) {
2559
2555
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2563,7 +2559,7 @@ var nt = un ? (
2563
2559
  return r;
2564
2560
  }
2565
2561
  )
2566
- ), Gt = fn ? (
2562
+ ), Dt = ln ? (
2567
2563
  // Native
2568
2564
  function(t, r) {
2569
2565
  return t.codePointAt(r);
@@ -2577,7 +2573,7 @@ var nt = un ? (
2577
2573
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2578
2574
  }
2579
2575
  }
2580
- ), gn = cn ? (
2576
+ ), bn = fn ? (
2581
2577
  // Native
2582
2578
  function(t) {
2583
2579
  return t.trimStart();
@@ -2585,9 +2581,9 @@ var nt = un ? (
2585
2581
  ) : (
2586
2582
  // Ponyfill
2587
2583
  function(t) {
2588
- return t.replace(on, "");
2584
+ return t.replace(sn, "");
2589
2585
  }
2590
- ), _n = mn ? (
2586
+ ), gn = cn ? (
2591
2587
  // Native
2592
2588
  function(t) {
2593
2589
  return t.trimEnd();
@@ -2595,32 +2591,32 @@ var nt = un ? (
2595
2591
  ) : (
2596
2592
  // Ponyfill
2597
2593
  function(t) {
2598
- return t.replace(an, "");
2594
+ return t.replace(on, "");
2599
2595
  }
2600
2596
  );
2601
- function Ft(e, t) {
2597
+ function Gt(e, t) {
2602
2598
  return new RegExp(e, t);
2603
2599
  }
2604
2600
  var De;
2605
2601
  if (Re) {
2606
- var st = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2602
+ var it = Gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2607
2603
  De = function(t, r) {
2608
2604
  var n;
2609
- st.lastIndex = r;
2610
- var i = st.exec(t);
2605
+ it.lastIndex = r;
2606
+ var i = it.exec(t);
2611
2607
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2612
2608
  };
2613
2609
  } else
2614
2610
  De = function(t, r) {
2615
2611
  for (var n = []; ; ) {
2616
- var i = Gt(t, r);
2617
- if (i === void 0 || jt(i) || vn(i))
2612
+ var i = Dt(t, r);
2613
+ if (i === void 0 || Ft(i) || xn(i))
2618
2614
  break;
2619
2615
  n.push(i), r += i >= 65536 ? 2 : 1;
2620
2616
  }
2621
2617
  return Ue.apply(void 0, n);
2622
2618
  };
2623
- var yn = (
2619
+ var _n = (
2624
2620
  /** @class */
2625
2621
  function() {
2626
2622
  function e(t, r) {
@@ -2702,7 +2698,7 @@ var yn = (
2702
2698
  return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
2703
2699
  }, e.prototype.parseTagName = function() {
2704
2700
  var t = this.offset();
2705
- for (this.bump(); !this.isEOF() && xn(this.char()); )
2701
+ for (this.bump(); !this.isEOF() && En(this.char()); )
2706
2702
  this.bump();
2707
2703
  return this.message.slice(t, this.offset());
2708
2704
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2731,7 +2727,7 @@ var yn = (
2731
2727
  };
2732
2728
  }, e.prototype.tryParseLeftAngleBracket = function() {
2733
2729
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2734
- !En(this.peek() || 0)) ? (this.bump(), "<") : null;
2730
+ !yn(this.peek() || 0)) ? (this.bump(), "<") : null;
2735
2731
  }, e.prototype.tryParseQuote = function(t) {
2736
2732
  if (this.isEOF() || this.char() !== 39)
2737
2733
  return null;
@@ -2818,7 +2814,7 @@ var yn = (
2818
2814
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2819
2815
  if (f.err)
2820
2816
  return f;
2821
- var c = _n(f.val);
2817
+ var c = gn(f.val);
2822
2818
  if (c.length === 0)
2823
2819
  return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2824
2820
  var d = b(h, this.clonePosition());
@@ -2828,8 +2824,8 @@ var yn = (
2828
2824
  if (m.err)
2829
2825
  return m;
2830
2826
  var g = b(i, this.clonePosition());
2831
- if (a && nt(a?.style, "::", 0)) {
2832
- var v = gn(a.style.slice(2));
2827
+ if (a && rt(a?.style, "::", 0)) {
2828
+ var v = bn(a.style.slice(2));
2833
2829
  if (o === "number") {
2834
2830
  var f = this.parseNumberSkeletonFromString(v, a.styleLocation);
2835
2831
  return f.err ? f : {
@@ -2840,12 +2836,12 @@ var yn = (
2840
2836
  if (v.length === 0)
2841
2837
  return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
2842
2838
  var L = v;
2843
- this.locale && (L = nn(v, this.locale));
2839
+ this.locale && (L = rn(v, this.locale));
2844
2840
  var c = {
2845
2841
  type: k.dateTime,
2846
2842
  pattern: L,
2847
2843
  location: a.styleLocation,
2848
- parsedOptions: this.shouldParseSkeletons ? qr(L) : {}
2844
+ parsedOptions: this.shouldParseSkeletons ? Qr(L) : {}
2849
2845
  }, A = o === "date" ? E.date : E.time;
2850
2846
  return {
2851
2847
  val: { type: A, value: n, location: g, style: c },
@@ -2891,7 +2887,7 @@ var yn = (
2891
2887
  val: {
2892
2888
  type: E.select,
2893
2889
  value: n,
2894
- options: it($.val),
2890
+ options: nt($.val),
2895
2891
  location: ie
2896
2892
  },
2897
2893
  err: null
@@ -2899,7 +2895,7 @@ var yn = (
2899
2895
  val: {
2900
2896
  type: E.plural,
2901
2897
  value: n,
2902
- options: it($.val),
2898
+ options: nt($.val),
2903
2899
  offset: T,
2904
2900
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2905
2901
  location: ie
@@ -2950,7 +2946,7 @@ var yn = (
2950
2946
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2951
2947
  var n = [];
2952
2948
  try {
2953
- n = Yr(t);
2949
+ n = Jr(t);
2954
2950
  } catch {
2955
2951
  return this.error(p.INVALID_NUMBER_SKELETON, r);
2956
2952
  }
@@ -2959,7 +2955,7 @@ var yn = (
2959
2955
  type: k.number,
2960
2956
  tokens: n,
2961
2957
  location: r,
2962
- parsedOptions: this.shouldParseSkeletons ? rn(n) : {}
2958
+ parsedOptions: this.shouldParseSkeletons ? tn(n) : {}
2963
2959
  },
2964
2960
  err: null
2965
2961
  };
@@ -3007,7 +3003,7 @@ var yn = (
3007
3003
  break;
3008
3004
  }
3009
3005
  var l = b(i, this.clonePosition());
3010
- return s ? (u *= n, pn(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
3006
+ return s ? (u *= n, dn(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
3011
3007
  }, e.prototype.offset = function() {
3012
3008
  return this.position.offset;
3013
3009
  }, e.prototype.isEOF = function() {
@@ -3022,7 +3018,7 @@ var yn = (
3022
3018
  var t = this.position.offset;
3023
3019
  if (t >= this.message.length)
3024
3020
  throw Error("out of bound");
3025
- var r = Gt(this.message, t);
3021
+ var r = Dt(this.message, t);
3026
3022
  if (r === void 0)
3027
3023
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3028
3024
  return r;
@@ -3041,7 +3037,7 @@ var yn = (
3041
3037
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3042
3038
  }
3043
3039
  }, e.prototype.bumpIf = function(t) {
3044
- if (nt(this.message, t, this.offset())) {
3040
+ if (rt(this.message, t, this.offset())) {
3045
3041
  for (var r = 0; r < t.length; r++)
3046
3042
  this.bump();
3047
3043
  return !0;
@@ -3063,7 +3059,7 @@ var yn = (
3063
3059
  break;
3064
3060
  }
3065
3061
  }, e.prototype.bumpSpace = function() {
3066
- for (; !this.isEOF() && jt(this.char()); )
3062
+ for (; !this.isEOF() && Ft(this.char()); )
3067
3063
  this.bump();
3068
3064
  }, e.prototype.peek = function() {
3069
3065
  if (this.isEOF())
@@ -3076,29 +3072,29 @@ var yn = (
3076
3072
  function Ge(e) {
3077
3073
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3078
3074
  }
3079
- function En(e) {
3075
+ function yn(e) {
3080
3076
  return Ge(e) || e === 47;
3081
3077
  }
3082
- function xn(e) {
3078
+ function En(e) {
3083
3079
  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;
3084
3080
  }
3085
- function jt(e) {
3081
+ function Ft(e) {
3086
3082
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3087
3083
  }
3088
- function vn(e) {
3084
+ function xn(e) {
3089
3085
  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;
3090
3086
  }
3091
3087
  function Fe(e) {
3092
3088
  e.forEach(function(t) {
3093
- if (delete t.location, Lt(t) || Nt(t))
3089
+ if (delete t.location, Pt(t) || Lt(t))
3094
3090
  for (var r in t.options)
3095
3091
  delete t.options[r].location, Fe(t.options[r].value);
3096
- else Ct(t) && Mt(t.style) || (Ot(t) || Pt(t)) && $e(t.style) ? delete t.style.location : It(t) && Fe(t.children);
3092
+ else At(t) && It(t.style) || (Ct(t) || Ot(t)) && $e(t.style) ? delete t.style.location : Nt(t) && Fe(t.children);
3097
3093
  });
3098
3094
  }
3099
- function Hn(e, t) {
3095
+ function vn(e, t) {
3100
3096
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3101
- var r = new yn(e, t).parse();
3097
+ var r = new _n(e, t).parse();
3102
3098
  if (r.err) {
3103
3099
  var n = SyntaxError(p[r.err.kind]);
3104
3100
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3121,7 +3117,7 @@ var _e = (
3121
3117
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3122
3118
  }, t;
3123
3119
  }(Error)
3124
- ), ot = (
3120
+ ), st = (
3125
3121
  /** @class */
3126
3122
  function(e) {
3127
3123
  ge(t, e);
@@ -3130,7 +3126,7 @@ var _e = (
3130
3126
  }
3131
3127
  return t;
3132
3128
  }(_e)
3133
- ), Bn = (
3129
+ ), Hn = (
3134
3130
  /** @class */
3135
3131
  function(e) {
3136
3132
  ge(t, e);
@@ -3139,7 +3135,7 @@ var _e = (
3139
3135
  }
3140
3136
  return t;
3141
3137
  }(_e)
3142
- ), Tn = (
3138
+ ), Bn = (
3143
3139
  /** @class */
3144
3140
  function(e) {
3145
3141
  ge(t, e);
@@ -3152,17 +3148,17 @@ var _e = (
3152
3148
  (function(e) {
3153
3149
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3154
3150
  })(x || (x = {}));
3155
- function wn(e) {
3151
+ function Tn(e) {
3156
3152
  return e.length < 2 ? e : e.reduce(function(t, r) {
3157
3153
  var n = t[t.length - 1];
3158
3154
  return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3159
3155
  }, []);
3160
3156
  }
3161
- function Sn(e) {
3157
+ function wn(e) {
3162
3158
  return typeof e == "function";
3163
3159
  }
3164
3160
  function le(e, t, r, n, i, s, u) {
3165
- if (e.length === 1 && Ke(e[0]))
3161
+ if (e.length === 1 && Ye(e[0]))
3166
3162
  return [
3167
3163
  {
3168
3164
  type: x.literal,
@@ -3171,14 +3167,14 @@ function le(e, t, r, n, i, s, u) {
3171
3167
  ];
3172
3168
  for (var o = [], l = 0, a = e; l < a.length; l++) {
3173
3169
  var h = a[l];
3174
- if (Ke(h)) {
3170
+ if (Ye(h)) {
3175
3171
  o.push({
3176
3172
  type: x.literal,
3177
3173
  value: h.value
3178
3174
  });
3179
3175
  continue;
3180
3176
  }
3181
- if (Zr(h)) {
3177
+ if (zr(h)) {
3182
3178
  typeof s == "number" && o.push({
3183
3179
  type: x.literal,
3184
3180
  value: r.getNumberFormat(t).format(s)
@@ -3187,7 +3183,7 @@ function le(e, t, r, n, i, s, u) {
3187
3183
  }
3188
3184
  var f = h.value;
3189
3185
  if (!(i && f in i))
3190
- throw new Tn(f, u);
3186
+ throw new Bn(f, u);
3191
3187
  var c = i[f];
3192
3188
  if (Wr(h)) {
3193
3189
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
@@ -3196,7 +3192,7 @@ function le(e, t, r, n, i, s, u) {
3196
3192
  });
3197
3193
  continue;
3198
3194
  }
3199
- if (Ot(h)) {
3195
+ if (Ct(h)) {
3200
3196
  var d = typeof h.style == "string" ? n.date[h.style] : $e(h.style) ? h.style.parsedOptions : void 0;
3201
3197
  o.push({
3202
3198
  type: x.literal,
@@ -3204,7 +3200,7 @@ function le(e, t, r, n, i, s, u) {
3204
3200
  });
3205
3201
  continue;
3206
3202
  }
3207
- if (Pt(h)) {
3203
+ if (Ot(h)) {
3208
3204
  var d = typeof h.style == "string" ? n.time[h.style] : $e(h.style) ? h.style.parsedOptions : n.time.medium;
3209
3205
  o.push({
3210
3206
  type: x.literal,
@@ -3212,18 +3208,18 @@ function le(e, t, r, n, i, s, u) {
3212
3208
  });
3213
3209
  continue;
3214
3210
  }
3215
- if (Ct(h)) {
3216
- var d = typeof h.style == "string" ? n.number[h.style] : Mt(h.style) ? h.style.parsedOptions : void 0;
3211
+ if (At(h)) {
3212
+ var d = typeof h.style == "string" ? n.number[h.style] : It(h.style) ? h.style.parsedOptions : void 0;
3217
3213
  d && d.scale && (c = c * (d.scale || 1)), o.push({
3218
3214
  type: x.literal,
3219
3215
  value: r.getNumberFormat(t, d).format(c)
3220
3216
  });
3221
3217
  continue;
3222
3218
  }
3223
- if (It(h)) {
3219
+ if (Nt(h)) {
3224
3220
  var m = h.children, g = h.value, v = i[g];
3225
- if (!Sn(v))
3226
- throw new Bn(g, "function", u);
3221
+ if (!wn(v))
3222
+ throw new Hn(g, "function", u);
3227
3223
  var L = le(m, t, r, n, i, s), A = v(L.map(function(T) {
3228
3224
  return T.value;
3229
3225
  }));
@@ -3234,14 +3230,14 @@ function le(e, t, r, n, i, s, u) {
3234
3230
  };
3235
3231
  }));
3236
3232
  }
3237
- if (Lt(h)) {
3233
+ if (Pt(h)) {
3238
3234
  var H = h.options[c] || h.options.other;
3239
3235
  if (!H)
3240
- throw new ot(h.value, c, Object.keys(h.options), u);
3236
+ throw new st(h.value, c, Object.keys(h.options), u);
3241
3237
  o.push.apply(o, le(H.value, t, r, n, i));
3242
3238
  continue;
3243
3239
  }
3244
- if (Nt(h)) {
3240
+ if (Lt(h)) {
3245
3241
  var H = h.options["=".concat(c)];
3246
3242
  if (!H) {
3247
3243
  if (!Intl.PluralRules)
@@ -3252,21 +3248,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3252
3248
  H = h.options[N] || h.options.other;
3253
3249
  }
3254
3250
  if (!H)
3255
- throw new ot(h.value, c, Object.keys(h.options), u);
3251
+ throw new st(h.value, c, Object.keys(h.options), u);
3256
3252
  o.push.apply(o, le(H.value, t, r, n, i, c - (h.offset || 0)));
3257
3253
  continue;
3258
3254
  }
3259
3255
  }
3260
- return wn(o);
3256
+ return Tn(o);
3261
3257
  }
3262
- function An(e, t) {
3258
+ function Sn(e, t) {
3263
3259
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3264
3260
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3265
3261
  }, {})) : e;
3266
3262
  }
3267
- function Cn(e, t) {
3263
+ function An(e, t) {
3268
3264
  return t ? Object.keys(e).reduce(function(r, n) {
3269
- return r[n] = An(e[n], t[n]), r;
3265
+ return r[n] = Sn(e[n], t[n]), r;
3270
3266
  }, y({}, e)) : e;
3271
3267
  }
3272
3268
  function Oe(e) {
@@ -3283,7 +3279,7 @@ function Oe(e) {
3283
3279
  }
3284
3280
  };
3285
3281
  }
3286
- function On(e) {
3282
+ function Cn(e) {
3287
3283
  return e === void 0 && (e = {
3288
3284
  number: {},
3289
3285
  dateTime: {},
@@ -3315,7 +3311,7 @@ function On(e) {
3315
3311
  })
3316
3312
  };
3317
3313
  }
3318
- var kt = (
3314
+ var jt = (
3319
3315
  /** @class */
3320
3316
  function() {
3321
3317
  function e(t, r, n, i) {
@@ -3347,13 +3343,13 @@ var kt = (
3347
3343
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3348
3344
  var u = i || {};
3349
3345
  u.formatters;
3350
- var o = Dr(u, ["formatters"]);
3346
+ var o = Ur(u, ["formatters"]);
3351
3347
  this.ast = e.__parse(t, y(y({}, o), { locale: this.resolvedLocale }));
3352
3348
  } else
3353
3349
  this.ast = t;
3354
3350
  if (!Array.isArray(this.ast))
3355
3351
  throw new TypeError("A message must be provided as a String or AST.");
3356
- this.formats = Cn(e.formats, n), this.formatters = i && i.formatters || On(this.formatterCache);
3352
+ this.formats = An(e.formats, n), this.formatters = i && i.formatters || Cn(this.formatterCache);
3357
3353
  }
3358
3354
  return Object.defineProperty(e, "defaultLocale", {
3359
3355
  get: function() {
@@ -3366,7 +3362,7 @@ var kt = (
3366
3362
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3367
3363
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3368
3364
  }
3369
- }, e.__parse = Hn, e.formats = {
3365
+ }, e.__parse = vn, e.formats = {
3370
3366
  number: {
3371
3367
  integer: {
3372
3368
  maximumFractionDigits: 0
@@ -3427,7 +3423,7 @@ var kt = (
3427
3423
  }, e;
3428
3424
  }()
3429
3425
  );
3430
- function Pn(e, t) {
3426
+ function On(e, t) {
3431
3427
  if (t == null)
3432
3428
  return;
3433
3429
  if (t in e)
@@ -3448,44 +3444,44 @@ function Pn(e, t) {
3448
3444
  n = void 0;
3449
3445
  return n;
3450
3446
  }
3451
- const C = {}, Ln = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Vt = (e, t) => {
3447
+ const C = {}, Pn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), kt = (e, t) => {
3452
3448
  if (t == null)
3453
3449
  return;
3454
3450
  if (t in C && e in C[t])
3455
3451
  return C[t][e];
3456
3452
  const r = ne(t);
3457
3453
  for (let n = 0; n < r.length; n++) {
3458
- const i = r[n], s = In(i, e);
3454
+ const i = r[n], s = Nn(i, e);
3459
3455
  if (s)
3460
- return Ln(e, t, s);
3456
+ return Pn(e, t, s);
3461
3457
  }
3462
3458
  };
3463
3459
  let We;
3464
3460
  const re = be({});
3465
- function Nn(e) {
3461
+ function Ln(e) {
3466
3462
  return We[e] || null;
3467
3463
  }
3468
- function Xt(e) {
3464
+ function Vt(e) {
3469
3465
  return e in We;
3470
3466
  }
3471
- function In(e, t) {
3472
- if (!Xt(e))
3467
+ function Nn(e, t) {
3468
+ if (!Vt(e))
3473
3469
  return null;
3474
- const r = Nn(e);
3475
- return Pn(r, t);
3470
+ const r = Ln(e);
3471
+ return On(r, t);
3476
3472
  }
3477
- function Mn(e) {
3473
+ function In(e) {
3478
3474
  if (e == null)
3479
3475
  return;
3480
3476
  const t = ne(e);
3481
3477
  for (let r = 0; r < t.length; r++) {
3482
3478
  const n = t[r];
3483
- if (Xt(n))
3479
+ if (Vt(n))
3484
3480
  return n;
3485
3481
  }
3486
3482
  }
3487
- function zt(e, ...t) {
3488
- delete C[e], re.update((r) => (r[e] = Ur.all([r[e] || {}, ...t]), r));
3483
+ function Xt(e, ...t) {
3484
+ delete C[e], re.update((r) => (r[e] = Rr.all([r[e] || {}, ...t]), r));
3489
3485
  }
3490
3486
  Z(
3491
3487
  [re],
@@ -3493,13 +3489,13 @@ Z(
3493
3489
  );
3494
3490
  re.subscribe((e) => We = e);
3495
3491
  const fe = {};
3496
- function $n(e, t) {
3492
+ function Mn(e, t) {
3497
3493
  fe[e].delete(t), fe[e].size === 0 && delete fe[e];
3498
3494
  }
3499
3495
  function Wt(e) {
3500
3496
  return fe[e];
3501
3497
  }
3502
- function Rn(e) {
3498
+ function $n(e) {
3503
3499
  return ne(e).map((t) => {
3504
3500
  const r = Wt(t);
3505
3501
  return [t, r ? [...r] : []];
@@ -3513,36 +3509,36 @@ function me(e) {
3513
3509
  }
3514
3510
  );
3515
3511
  }
3516
- function Un(e, t) {
3512
+ function Rn(e, t) {
3517
3513
  return Promise.all(
3518
- t.map((n) => ($n(e, n), n().then((i) => i.default || i)))
3519
- ).then((n) => zt(e, ...n));
3514
+ t.map((n) => (Mn(e, n), n().then((i) => i.default || i)))
3515
+ ).then((n) => Xt(e, ...n));
3520
3516
  }
3521
3517
  const q = {};
3522
- function Zt(e) {
3518
+ function zt(e) {
3523
3519
  if (!me(e))
3524
3520
  return e in q ? q[e] : Promise.resolve();
3525
- const t = Rn(e);
3521
+ const t = $n(e);
3526
3522
  return q[e] = Promise.all(
3527
3523
  t.map(
3528
- ([r, n]) => Un(r, n)
3524
+ ([r, n]) => Rn(r, n)
3529
3525
  )
3530
3526
  ).then(() => {
3531
3527
  if (me(e))
3532
- return Zt(e);
3528
+ return zt(e);
3533
3529
  delete q[e];
3534
3530
  }), q[e];
3535
3531
  }
3536
- var at = Object.getOwnPropertySymbols, Dn = Object.prototype.hasOwnProperty, Gn = Object.prototype.propertyIsEnumerable, Fn = (e, t) => {
3532
+ var ot = Object.getOwnPropertySymbols, Un = Object.prototype.hasOwnProperty, Dn = Object.prototype.propertyIsEnumerable, Gn = (e, t) => {
3537
3533
  var r = {};
3538
3534
  for (var n in e)
3539
- Dn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3540
- if (e != null && at)
3541
- for (var n of at(e))
3542
- t.indexOf(n) < 0 && Gn.call(e, n) && (r[n] = e[n]);
3535
+ Un.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3536
+ if (e != null && ot)
3537
+ for (var n of ot(e))
3538
+ t.indexOf(n) < 0 && Dn.call(e, n) && (r[n] = e[n]);
3543
3539
  return r;
3544
3540
  };
3545
- const jn = {
3541
+ const Fn = {
3546
3542
  number: {
3547
3543
  scientific: { notation: "scientific" },
3548
3544
  engineering: { notation: "engineering" },
@@ -3572,7 +3568,7 @@ const jn = {
3572
3568
  }
3573
3569
  }
3574
3570
  };
3575
- function kn({ locale: e, id: t }) {
3571
+ function jn({ locale: e, id: t }) {
3576
3572
  console.warn(
3577
3573
  `[svelte-i18n] The message "${t}" was not found in "${ne(
3578
3574
  e
@@ -3581,49 +3577,49 @@ function kn({ locale: e, id: t }) {
3581
3577
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3582
3578
  );
3583
3579
  }
3584
- const Vn = {
3580
+ const kn = {
3585
3581
  fallbackLocale: null,
3586
3582
  loadingDelay: 200,
3587
- formats: jn,
3583
+ formats: Fn,
3588
3584
  warnOnMissingMessages: !0,
3589
3585
  handleMissingMessage: void 0,
3590
3586
  ignoreTag: !0
3591
- }, J = Vn;
3587
+ }, J = kn;
3592
3588
  function X() {
3593
3589
  return J;
3594
3590
  }
3595
- function Xn(e) {
3596
- const t = e, { formats: r } = t, n = Fn(t, ["formats"]);
3591
+ function Vn(e) {
3592
+ const t = e, { formats: r } = t, n = Gn(t, ["formats"]);
3597
3593
  let i = e.fallbackLocale;
3598
3594
  if (e.initialLocale)
3599
3595
  try {
3600
- kt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3596
+ jt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3601
3597
  } catch {
3602
3598
  console.warn(
3603
3599
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3604
3600
  );
3605
3601
  }
3606
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = kn : console.warn(
3602
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = jn : console.warn(
3607
3603
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3608
3604
  )), 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);
3609
3605
  }
3610
3606
  const Pe = be(!1);
3611
- var zn = Object.defineProperty, Wn = Object.defineProperties, Zn = Object.getOwnPropertyDescriptors, ut = Object.getOwnPropertySymbols, Qn = Object.prototype.hasOwnProperty, qn = Object.prototype.propertyIsEnumerable, ht = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Jn = (e, t) => {
3612
- for (var r in t)
3613
- Qn.call(t, r) && ht(e, r, t[r]);
3614
- if (ut)
3615
- for (var r of ut(t))
3616
- qn.call(t, r) && ht(e, r, t[r]);
3607
+ var Xn = Object.defineProperty, Wn = Object.defineProperties, zn = Object.getOwnPropertyDescriptors, at = Object.getOwnPropertySymbols, Zn = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? Xn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qn = (e, t) => {
3608
+ for (var r in t || (t = {}))
3609
+ Zn.call(t, r) && ut(e, r, t[r]);
3610
+ if (at)
3611
+ for (var r of at(t))
3612
+ Qn.call(t, r) && ut(e, r, t[r]);
3617
3613
  return e;
3618
- }, Yn = (e, t) => Wn(e, Zn(t));
3614
+ }, Jn = (e, t) => Wn(e, zn(t));
3619
3615
  let je;
3620
3616
  const de = be(null);
3621
- function lt(e) {
3617
+ function ht(e) {
3622
3618
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3623
3619
  }
3624
3620
  function ne(e, t = X().fallbackLocale) {
3625
- const r = lt(e);
3626
- return t ? [.../* @__PURE__ */ new Set([...r, ...lt(t)])] : r;
3621
+ const r = ht(e);
3622
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ht(t)])] : r;
3627
3623
  }
3628
3624
  function P() {
3629
3625
  return je ?? void 0;
@@ -3631,22 +3627,22 @@ function P() {
3631
3627
  de.subscribe((e) => {
3632
3628
  je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3633
3629
  });
3634
- const Kn = (e) => {
3635
- if (e && Mn(e) && me(e)) {
3630
+ const Yn = (e) => {
3631
+ if (e && In(e) && me(e)) {
3636
3632
  const { loadingDelay: t } = X();
3637
3633
  let r;
3638
3634
  return typeof window < "u" && P() != null && t ? r = window.setTimeout(
3639
3635
  () => Pe.set(!0),
3640
3636
  t
3641
- ) : Pe.set(!0), Zt(e).then(() => {
3637
+ ) : Pe.set(!0), zt(e).then(() => {
3642
3638
  de.set(e);
3643
3639
  }).finally(() => {
3644
3640
  clearTimeout(r), Pe.set(!1);
3645
3641
  });
3646
3642
  }
3647
3643
  return de.set(e);
3648
- }, M = Yn(Jn({}, de), {
3649
- set: Kn
3644
+ }, M = Jn(qn({}, de), {
3645
+ set: Yn
3650
3646
  }), ye = (e) => {
3651
3647
  const t = /* @__PURE__ */ Object.create(null);
3652
3648
  return (n) => {
@@ -3654,20 +3650,20 @@ const Kn = (e) => {
3654
3650
  return i in t ? t[i] : t[i] = e(n);
3655
3651
  };
3656
3652
  };
3657
- var ei = Object.defineProperty, pe = Object.getOwnPropertySymbols, Qt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable, ft = (e, t, r) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3653
+ var Kn = Object.defineProperty, pe = Object.getOwnPropertySymbols, Zt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? Kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
3658
3654
  for (var r in t || (t = {}))
3659
- Qt.call(t, r) && ft(e, r, t[r]);
3655
+ Zt.call(t, r) && lt(e, r, t[r]);
3660
3656
  if (pe)
3661
3657
  for (var r of pe(t))
3662
- qt.call(t, r) && ft(e, r, t[r]);
3658
+ Qt.call(t, r) && lt(e, r, t[r]);
3663
3659
  return e;
3664
3660
  }, Q = (e, t) => {
3665
3661
  var r = {};
3666
3662
  for (var n in e)
3667
- Qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3663
+ Zt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3668
3664
  if (e != null && pe)
3669
3665
  for (var n of pe(e))
3670
- t.indexOf(n) < 0 && qt.call(e, n) && (r[n] = e[n]);
3666
+ t.indexOf(n) < 0 && Qt.call(e, n) && (r[n] = e[n]);
3671
3667
  return r;
3672
3668
  };
3673
3669
  const ee = (e, t) => {
@@ -3675,21 +3671,21 @@ const ee = (e, t) => {
3675
3671
  if (e in r && t in r[e])
3676
3672
  return r[e][t];
3677
3673
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3678
- }, ti = ye(
3674
+ }, ei = ye(
3679
3675
  (e) => {
3680
3676
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3681
3677
  if (r == null)
3682
3678
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3683
3679
  return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
3684
3680
  }
3685
- ), ri = ye(
3681
+ ), ti = ye(
3686
3682
  (e) => {
3687
3683
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3688
3684
  if (r == null)
3689
3685
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3690
3686
  return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
3691
3687
  }
3692
- ), ni = ye(
3688
+ ), ri = ye(
3693
3689
  (e) => {
3694
3690
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3695
3691
  if (r == null)
@@ -3698,33 +3694,33 @@ const ee = (e, t) => {
3698
3694
  );
3699
3695
  return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
3700
3696
  }
3701
- ), ii = (e = {}) => {
3697
+ ), ni = (e = {}) => {
3702
3698
  var t = e, {
3703
3699
  locale: r = P()
3704
3700
  } = t, n = Q(t, [
3705
3701
  "locale"
3706
3702
  ]);
3707
- return ti(Ze({ locale: r }, n));
3708
- }, si = (e = {}) => {
3703
+ return ei(ze({ locale: r }, n));
3704
+ }, ii = (e = {}) => {
3709
3705
  var t = e, {
3710
3706
  locale: r = P()
3711
3707
  } = t, n = Q(t, [
3712
3708
  "locale"
3713
3709
  ]);
3714
- return ri(Ze({ locale: r }, n));
3715
- }, oi = (e = {}) => {
3710
+ return ti(ze({ locale: r }, n));
3711
+ }, si = (e = {}) => {
3716
3712
  var t = e, {
3717
3713
  locale: r = P()
3718
3714
  } = t, n = Q(t, [
3719
3715
  "locale"
3720
3716
  ]);
3721
- return ni(Ze({ locale: r }, n));
3722
- }, ai = ye(
3717
+ return ri(ze({ locale: r }, n));
3718
+ }, oi = ye(
3723
3719
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3724
- (e, t = P()) => new kt(e, t, X().formats, {
3720
+ (e, t = P()) => new jt(e, t, X().formats, {
3725
3721
  ignoreTag: X().ignoreTag
3726
3722
  })
3727
- ), ui = (e, t = {}) => {
3723
+ ), ai = (e, t = {}) => {
3728
3724
  var r, n, i, s;
3729
3725
  let u = t;
3730
3726
  typeof e == "object" && (u = e, e = u.id);
@@ -3737,7 +3733,7 @@ const ee = (e, t) => {
3737
3733
  throw new Error(
3738
3734
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3739
3735
  );
3740
- let h = Vt(e, l);
3736
+ let h = kt(e, l);
3741
3737
  if (!h)
3742
3738
  h = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3743
3739
  else if (typeof h != "string")
@@ -3748,7 +3744,7 @@ const ee = (e, t) => {
3748
3744
  return h;
3749
3745
  let f = h;
3750
3746
  try {
3751
- f = ai(h, l).format(o);
3747
+ f = oi(h, l).format(o);
3752
3748
  } catch (c) {
3753
3749
  c instanceof Error && console.warn(
3754
3750
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3756,20 +3752,20 @@ const ee = (e, t) => {
3756
3752
  );
3757
3753
  }
3758
3754
  return f;
3759
- }, hi = (e, t) => oi(t).format(e), li = (e, t) => si(t).format(e), fi = (e, t) => ii(t).format(e), ci = (e, t = P()) => Vt(e, t), mi = Z([M, re], () => ui);
3755
+ }, ui = (e, t) => si(t).format(e), hi = (e, t) => ii(t).format(e), li = (e, t) => ni(t).format(e), fi = (e, t = P()) => kt(e, t), ci = Z([M, re], () => ai);
3756
+ Z([M], () => ui);
3760
3757
  Z([M], () => hi);
3761
3758
  Z([M], () => li);
3762
- Z([M], () => fi);
3763
- Z([M, re], () => ci);
3764
- function ct(e, t) {
3765
- zt(e, t);
3759
+ Z([M, re], () => fi);
3760
+ function ft(e, t) {
3761
+ Xt(e, t);
3766
3762
  }
3767
- function di(e) {
3768
- Xn({
3763
+ function mi(e) {
3764
+ Vn({
3769
3765
  fallbackLocale: "en"
3770
3766
  }), M.set(e);
3771
3767
  }
3772
- const mt = {
3768
+ const ct = {
3773
3769
  en: {
3774
3770
  header: {
3775
3771
  general: "Cashier",
@@ -3792,18 +3788,18 @@ const mt = {
3792
3788
  }
3793
3789
  }
3794
3790
  };
3795
- function pi(e) {
3796
- ir(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}");
3791
+ function di(e) {
3792
+ 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}");
3797
3793
  }
3798
- const bi = (e) => ({}), dt = (e) => ({}), gi = (e) => ({}), pt = (e) => ({}), _i = (e) => ({}), bt = (e) => ({});
3799
- function gt(e) {
3794
+ const pi = (e) => ({}), mt = (e) => ({}), bi = (e) => ({}), dt = (e) => ({}), gi = (e) => ({}), pt = (e) => ({});
3795
+ function bt(e) {
3800
3796
  let t, r, n;
3801
3797
  return {
3802
3798
  c() {
3803
- 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>', W(t, "class", "CashierHeaderLeftButton");
3799
+ t = W("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>', z(t, "class", "CashierHeaderLeftButton");
3804
3800
  },
3805
3801
  m(i, s) {
3806
- I(i, t, s), r || (n = Bt(
3802
+ I(i, t, s), r || (n = Ht(
3807
3803
  t,
3808
3804
  "click",
3809
3805
  /*back*/
@@ -3816,28 +3812,28 @@ function gt(e) {
3816
3812
  }
3817
3813
  };
3818
3814
  }
3819
- function yi(e) {
3815
+ function _i(e) {
3820
3816
  let t, r = (
3821
3817
  /*backButton*/
3822
- e[1] && gt(e)
3818
+ e[1] && bt(e)
3823
3819
  );
3824
3820
  return {
3825
3821
  c() {
3826
- r && r.c(), t = Ht();
3822
+ r && r.c(), t = vt();
3827
3823
  },
3828
3824
  m(n, i) {
3829
3825
  r && r.m(n, i), I(n, t, i);
3830
3826
  },
3831
3827
  p(n, i) {
3832
3828
  /*backButton*/
3833
- n[1] ? r ? r.p(n, i) : (r = gt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3829
+ n[1] ? r ? r.p(n, i) : (r = bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3834
3830
  },
3835
3831
  d(n) {
3836
3832
  n && O(t), r && r.d(n);
3837
3833
  }
3838
3834
  };
3839
3835
  }
3840
- function Ei(e) {
3836
+ function yi(e) {
3841
3837
  let t, r = (
3842
3838
  /*$_*/
3843
3839
  e[4](
@@ -3847,7 +3843,7 @@ function Ei(e) {
3847
3843
  ), n;
3848
3844
  return {
3849
3845
  c() {
3850
- t = z("span"), n = Ve(r), W(t, "class", "CashierHeaderTitle");
3846
+ t = W("span"), n = Ve(r), z(t, "class", "CashierHeaderTitle");
3851
3847
  },
3852
3848
  m(i, s) {
3853
3849
  I(i, t, s), ce(t, n);
@@ -3858,21 +3854,21 @@ function Ei(e) {
3858
3854
  i[4](
3859
3855
  /*titleText*/
3860
3856
  i[2]
3861
- ) + "") && ur(n, r);
3857
+ ) + "") && ar(n, r);
3862
3858
  },
3863
3859
  d(i) {
3864
3860
  i && O(t);
3865
3861
  }
3866
3862
  };
3867
3863
  }
3868
- function _t(e) {
3864
+ function gt(e) {
3869
3865
  let t, r, n;
3870
3866
  return {
3871
3867
  c() {
3872
- 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>', W(t, "class", "CashierHeaderRightButton");
3868
+ t = W("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>', z(t, "class", "CashierHeaderRightButton");
3873
3869
  },
3874
3870
  m(i, s) {
3875
- I(i, t, s), r || (n = Bt(
3871
+ I(i, t, s), r || (n = Ht(
3876
3872
  t,
3877
3873
  "click",
3878
3874
  /*close*/
@@ -3885,28 +3881,28 @@ function _t(e) {
3885
3881
  }
3886
3882
  };
3887
3883
  }
3888
- function xi(e) {
3884
+ function Ei(e) {
3889
3885
  let t, r = (
3890
3886
  /*closeButton*/
3891
- e[3] && _t(e)
3887
+ e[3] && gt(e)
3892
3888
  );
3893
3889
  return {
3894
3890
  c() {
3895
- r && r.c(), t = Ht();
3891
+ r && r.c(), t = vt();
3896
3892
  },
3897
3893
  m(n, i) {
3898
3894
  r && r.m(n, i), I(n, t, i);
3899
3895
  },
3900
3896
  p(n, i) {
3901
3897
  /*closeButton*/
3902
- n[3] ? r ? r.p(n, i) : (r = _t(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3898
+ n[3] ? r ? r.p(n, i) : (r = gt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3903
3899
  },
3904
3900
  d(n) {
3905
3901
  n && O(t), r && r.d(n);
3906
3902
  }
3907
3903
  };
3908
3904
  }
3909
- function vi(e) {
3905
+ function xi(e) {
3910
3906
  let t, r, n, i;
3911
3907
  const s = (
3912
3908
  /*#slots*/
@@ -3916,8 +3912,8 @@ function vi(e) {
3916
3912
  e,
3917
3913
  /*$$scope*/
3918
3914
  e[14],
3919
- bt
3920
- ), o = u || yi(e), l = (
3915
+ pt
3916
+ ), o = u || _i(e), l = (
3921
3917
  /*#slots*/
3922
3918
  e[15].title
3923
3919
  ), a = Ee(
@@ -3925,8 +3921,8 @@ function vi(e) {
3925
3921
  e,
3926
3922
  /*$$scope*/
3927
3923
  e[14],
3928
- pt
3929
- ), h = a || Ei(e), f = (
3924
+ dt
3925
+ ), h = a || yi(e), f = (
3930
3926
  /*#slots*/
3931
3927
  e[15].rightButton
3932
3928
  ), c = Ee(
@@ -3934,14 +3930,14 @@ function vi(e) {
3934
3930
  e,
3935
3931
  /*$$scope*/
3936
3932
  e[14],
3937
- dt
3938
- ), d = c || xi(e);
3933
+ mt
3934
+ ), d = c || Ei(e);
3939
3935
  return {
3940
3936
  c() {
3941
- t = z("div"), o.c(), r = qe(), h.c(), n = qe(), d.c(), W(t, "class", "CashierHeader");
3937
+ t = W("div"), o && o.c(), r = Qe(), h && h.c(), n = Qe(), d && d.c(), z(t, "class", "CashierHeader");
3942
3938
  },
3943
3939
  m(m, g) {
3944
- I(m, t, g), o.m(t, null), ce(t, r), h.m(t, null), ce(t, n), d.m(t, null), e[16](t), i = !0;
3940
+ I(m, t, g), o && o.m(t, null), ce(t, r), h && h.m(t, null), ce(t, n), d && d.m(t, null), e[16](t), i = !0;
3945
3941
  },
3946
3942
  p(m, [g]) {
3947
3943
  u ? u.p && (!i || g & /*$$scope*/
@@ -3956,13 +3952,13 @@ function vi(e) {
3956
3952
  /*$$scope*/
3957
3953
  m[14],
3958
3954
  g,
3959
- _i
3955
+ gi
3960
3956
  ) : He(
3961
3957
  /*$$scope*/
3962
3958
  m[14]
3963
3959
  ),
3964
- bt
3965
- ) : o.p && (!i || g & /*backButton*/
3960
+ pt
3961
+ ) : o && o.p && (!i || g & /*backButton*/
3966
3962
  2) && o.p(m, i ? g : -1), a ? a.p && (!i || g & /*$$scope*/
3967
3963
  16384) && ve(
3968
3964
  a,
@@ -3975,13 +3971,13 @@ function vi(e) {
3975
3971
  /*$$scope*/
3976
3972
  m[14],
3977
3973
  g,
3978
- gi
3974
+ bi
3979
3975
  ) : He(
3980
3976
  /*$$scope*/
3981
3977
  m[14]
3982
3978
  ),
3983
- pt
3984
- ) : h.p && (!i || g & /*$_, titleText*/
3979
+ dt
3980
+ ) : h && h.p && (!i || g & /*$_, titleText*/
3985
3981
  20) && h.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
3986
3982
  16384) && ve(
3987
3983
  c,
@@ -3994,13 +3990,13 @@ function vi(e) {
3994
3990
  /*$$scope*/
3995
3991
  m[14],
3996
3992
  g,
3997
- bi
3993
+ pi
3998
3994
  ) : He(
3999
3995
  /*$$scope*/
4000
3996
  m[14]
4001
3997
  ),
4002
- dt
4003
- ) : d.p && (!i || g & /*closeButton*/
3998
+ mt
3999
+ ) : d && d.p && (!i || g & /*closeButton*/
4004
4000
  8) && d.p(m, i ? g : -1);
4005
4001
  },
4006
4002
  i(m) {
@@ -4010,26 +4006,26 @@ function vi(e) {
4010
4006
  Te(o, m), Te(h, m), Te(d, m), i = !1;
4011
4007
  },
4012
4008
  d(m) {
4013
- m && O(t), o.d(m), h.d(m), d.d(m), e[16](null);
4009
+ m && O(t), o && o.d(m), h && h.d(m), d && d.d(m), e[16](null);
4014
4010
  }
4015
4011
  };
4016
4012
  }
4017
- function Hi(e, t, r) {
4013
+ function vi(e, t, r) {
4018
4014
  let n;
4019
- nr(e, mi, (_) => r(4, n = _));
4015
+ rr(e, ci, (_) => r(4, n = _));
4020
4016
  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, d, m = !1, g, v = !1;
4021
4017
  const L = () => {
4022
4018
  let _ = l;
4023
4019
  _ && fetch(_).then((w) => w.json()).then((w) => {
4024
4020
  Object.keys(w).forEach((R) => {
4025
- ct(R, w[R]);
4021
+ ft(R, w[R]);
4026
4022
  });
4027
4023
  }).catch((w) => {
4028
4024
  console.log(w);
4029
4025
  });
4030
4026
  };
4031
- Object.keys(mt).forEach((_) => {
4032
- ct(_, mt[_]);
4027
+ Object.keys(ct).forEach((_) => {
4028
+ ft(_, ct[_]);
4033
4029
  });
4034
4030
  const A = () => {
4035
4031
  let _ = document.createElement("style");
@@ -4045,19 +4041,19 @@ function Hi(e, t, r) {
4045
4041
  );
4046
4042
  });
4047
4043
  }, N = () => {
4048
- di(f);
4044
+ mi(f);
4049
4045
  }, T = () => {
4050
4046
  window.postMessage({ type: "CloseCashier" }, window.location.href);
4051
4047
  }, $ = () => {
4052
4048
  window.postMessage({ type: "BackCashier" }, window.location.href);
4053
4049
  }, ie = () => {
4054
4050
  r(1, m = !!a && a !== "false");
4055
- }, Yt = () => {
4051
+ }, Jt = () => {
4056
4052
  r(3, v = !!c && c !== "false");
4057
- }, Kt = () => {
4053
+ }, Yt = () => {
4058
4054
  r(2, g = h || "header.general");
4059
4055
  };
4060
- function er(_) {
4056
+ function Kt(_) {
4061
4057
  Le[_ ? "unshift" : "push"](() => {
4062
4058
  d = _, r(0, d);
4063
4059
  });
@@ -4067,12 +4063,12 @@ function Hi(e, t, r) {
4067
4063
  }, e.$$.update = () => {
4068
4064
  e.$$.dirty & /*lang*/
4069
4065
  4096 && f && N(), e.$$.dirty & /*lang, title*/
4070
- 6144 && f && h && Kt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4066
+ 6144 && f && h && Yt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4071
4067
  129 && u && d && A(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4072
4068
  257 && o && d && H(), e.$$.dirty & /*lang, translationurl*/
4073
4069
  4608 && f && l && L(), e.$$.dirty & /*showbackbutton*/
4074
4070
  1024 && a && ie(), e.$$.dirty & /*showclosebutton*/
4075
- 8192 && c && Yt();
4071
+ 8192 && c && Jt();
4076
4072
  }, [
4077
4073
  d,
4078
4074
  m,
@@ -4090,17 +4086,17 @@ function Hi(e, t, r) {
4090
4086
  c,
4091
4087
  s,
4092
4088
  i,
4093
- er
4089
+ Kt
4094
4090
  ];
4095
4091
  }
4096
- class Jt extends Er {
4092
+ class qt extends yr {
4097
4093
  constructor(t) {
4098
- super(), _r(
4094
+ super(), gr(
4099
4095
  this,
4100
4096
  t,
4101
- Hi,
4102
4097
  vi,
4103
- Et,
4098
+ xi,
4099
+ yt,
4104
4100
  {
4105
4101
  clientstyling: 7,
4106
4102
  clientstylingurl: 8,
@@ -4110,7 +4106,7 @@ class Jt extends Er {
4110
4106
  lang: 12,
4111
4107
  showclosebutton: 13
4112
4108
  },
4113
- pi
4109
+ di
4114
4110
  );
4115
4111
  }
4116
4112
  get clientstyling() {
@@ -4156,31 +4152,31 @@ class Jt extends Er {
4156
4152
  this.$$set({ showclosebutton: t }), S();
4157
4153
  }
4158
4154
  }
4159
- yr(Jt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4160
- const wi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4155
+ _r(qt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4156
+ const Ti = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4161
4157
  __proto__: null,
4162
- default: Jt
4158
+ default: qt
4163
4159
  }, Symbol.toStringTag, { value: "Module" }));
4164
4160
  export {
4165
4161
  M as $,
4166
- wi as C,
4167
- Er as S,
4168
- zt as a,
4169
- _r as b,
4170
- yr as c,
4171
- ir as d,
4172
- z as e,
4162
+ Ti as C,
4163
+ yr as S,
4164
+ Xt as a,
4165
+ gr as b,
4166
+ _r as c,
4167
+ nr as d,
4168
+ O as e,
4173
4169
  S as f,
4174
- qe as g,
4175
- Ti as h,
4176
- Xn as i,
4177
- Bi as j,
4178
- W as k,
4179
- I as l,
4180
- ce as m,
4181
- Bt as n,
4182
- B as o,
4183
- O as p,
4170
+ Bi as g,
4171
+ Hi as h,
4172
+ Vn as i,
4173
+ z as j,
4174
+ I as k,
4175
+ ce as l,
4176
+ Ht as m,
4177
+ B as n,
4178
+ W as o,
4179
+ Qe as p,
4184
4180
  Le as q,
4185
- Et as s
4181
+ yt as s
4186
4182
  };