@everymatrix/cashier-header 1.59.1 → 1.59.2

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,6 +1,6 @@
1
1
  function B() {
2
2
  }
3
- function Yt(e, t) {
3
+ function er(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -8,25 +8,25 @@ function Yt(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function gt(e) {
11
+ function yt(e) {
12
12
  return e();
13
13
  }
14
- function ze() {
14
+ function Qe() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
17
  function ee(e) {
18
- e.forEach(gt);
18
+ e.forEach(yt);
19
19
  }
20
20
  function je(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function _t(e, t) {
23
+ function xt(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
- function Kt(e) {
26
+ function tr(e) {
27
27
  return Object.keys(e).length === 0;
28
28
  }
29
- function yt(e, ...t) {
29
+ function Et(e, ...t) {
30
30
  if (e == null) {
31
31
  for (const n of t)
32
32
  n(void 0);
@@ -35,17 +35,17 @@ function yt(e, ...t) {
35
35
  const r = e.subscribe(...t);
36
36
  return r.unsubscribe ? () => r.unsubscribe() : r;
37
37
  }
38
- function er(e, t, r) {
39
- e.$$.on_destroy.push(yt(t, r));
38
+ function rr(e, t, r) {
39
+ e.$$.on_destroy.push(Et(t, r));
40
40
  }
41
41
  function ye(e, t, r, n) {
42
42
  if (e) {
43
- const i = xt(e, t, r, n);
43
+ const i = vt(e, t, r, n);
44
44
  return e[0](i);
45
45
  }
46
46
  }
47
- function xt(e, t, r, n) {
48
- return e[1] && n ? Yt(r.ctx.slice(), e[1](n(t))) : r.ctx;
47
+ function vt(e, t, r, n) {
48
+ return e[1] && n ? er(r.ctx.slice(), e[1](n(t))) : r.ctx;
49
49
  }
50
50
  function xe(e, t, r, n) {
51
51
  if (e[2] && n) {
@@ -64,7 +64,7 @@ function xe(e, t, r, n) {
64
64
  }
65
65
  function Ee(e, t, r, n, i, s) {
66
66
  if (i) {
67
- const h = xt(t, r, n, s);
67
+ const h = vt(t, r, n, s);
68
68
  e.p(h, i);
69
69
  }
70
70
  }
@@ -80,14 +80,14 @@ function ve(e) {
80
80
  function fe(e, t) {
81
81
  e.appendChild(t);
82
82
  }
83
- function tr(e, t, r) {
84
- const n = rr(e);
83
+ function nr(e, t, r) {
84
+ const n = ir(e);
85
85
  if (!n.getElementById(t)) {
86
- const i = W("style");
87
- i.id = t, i.textContent = r, nr(n, i);
86
+ const i = z("style");
87
+ i.id = t, i.textContent = r, sr(n, i);
88
88
  }
89
89
  }
90
- function rr(e) {
90
+ function ir(e) {
91
91
  if (!e)
92
92
  return document;
93
93
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -97,7 +97,7 @@ function rr(e) {
97
97
  t
98
98
  ) : e.ownerDocument;
99
99
  }
100
- function nr(e, t) {
100
+ function sr(e, t) {
101
101
  return fe(
102
102
  /** @type {Document} */
103
103
  e.head || e,
@@ -110,32 +110,32 @@ function I(e, t, r) {
110
110
  function O(e) {
111
111
  e.parentNode && e.parentNode.removeChild(e);
112
112
  }
113
- function W(e) {
113
+ function z(e) {
114
114
  return document.createElement(e);
115
115
  }
116
116
  function ke(e) {
117
117
  return document.createTextNode(e);
118
118
  }
119
- function Ze() {
119
+ function Je() {
120
120
  return ke(" ");
121
121
  }
122
- function Et() {
122
+ function Ht() {
123
123
  return ke("");
124
124
  }
125
- function vt(e, t, r, n) {
125
+ function Bt(e, t, r, n) {
126
126
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
127
127
  }
128
128
  function te(e, t, r) {
129
129
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
130
130
  }
131
- function ir(e) {
131
+ function or(e) {
132
132
  return Array.from(e.childNodes);
133
133
  }
134
- function sr(e, t) {
134
+ function ar(e, t) {
135
135
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
136
136
  t);
137
137
  }
138
- function or(e) {
138
+ function hr(e) {
139
139
  const t = {};
140
140
  return e.childNodes.forEach(
141
141
  /** @param {Element} node */
@@ -150,10 +150,10 @@ function q(e) {
150
150
  }
151
151
  const G = [], Pe = [];
152
152
  let F = [];
153
- const Qe = [], ar = /* @__PURE__ */ Promise.resolve();
153
+ const qe = [], ur = /* @__PURE__ */ Promise.resolve();
154
154
  let Le = !1;
155
- function hr() {
156
- Le || (Le = !0, ar.then(S));
155
+ function lr() {
156
+ Le || (Le = !0, ur.then(S));
157
157
  }
158
158
  function Ne(e) {
159
159
  F.push(e);
@@ -168,7 +168,7 @@ function S() {
168
168
  try {
169
169
  for (; U < G.length; ) {
170
170
  const t = G[U];
171
- U++, q(t), ur(t.$$);
171
+ U++, q(t), fr(t.$$);
172
172
  }
173
173
  } catch (t) {
174
174
  throw G.length = 0, U = 0, t;
@@ -181,23 +181,23 @@ function S() {
181
181
  }
182
182
  F.length = 0;
183
183
  } while (G.length);
184
- for (; Qe.length; )
185
- Qe.pop()();
184
+ for (; qe.length; )
185
+ qe.pop()();
186
186
  Le = !1, He.clear(), q(e);
187
187
  }
188
- function ur(e) {
188
+ function fr(e) {
189
189
  if (e.fragment !== null) {
190
190
  e.update(), ee(e.before_update);
191
191
  const t = e.dirty;
192
192
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ne);
193
193
  }
194
194
  }
195
- function lr(e) {
195
+ function cr(e) {
196
196
  const t = [], r = [];
197
197
  F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
198
198
  }
199
199
  const oe = /* @__PURE__ */ new Set();
200
- let fr;
200
+ let mr;
201
201
  function ae(e, t) {
202
202
  e && e.i && (oe.delete(e), e.i(t));
203
203
  }
@@ -205,26 +205,26 @@ function Be(e, t, r, n) {
205
205
  if (e && e.o) {
206
206
  if (oe.has(e))
207
207
  return;
208
- oe.add(e), fr.c.push(() => {
208
+ oe.add(e), mr.c.push(() => {
209
209
  oe.delete(e);
210
210
  }), e.o(t);
211
211
  }
212
212
  }
213
- function cr(e, t, r) {
213
+ function pr(e, t, r) {
214
214
  const { fragment: n, after_update: i } = e.$$;
215
215
  n && n.m(t, r), Ne(() => {
216
- const s = e.$$.on_mount.map(gt).filter(je);
216
+ const s = e.$$.on_mount.map(yt).filter(je);
217
217
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ee(s), e.$$.on_mount = [];
218
218
  }), i.forEach(Ne);
219
219
  }
220
- function mr(e, t) {
220
+ function dr(e, t) {
221
221
  const r = e.$$;
222
- r.fragment !== null && (lr(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), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
223
223
  }
224
- function pr(e, t) {
225
- e.$$.dirty[0] === -1 && (G.push(e), hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
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;
226
226
  }
227
- function dr(e, t, r, n, i, s, h = null, o = [-1]) {
227
+ function gr(e, t, r, n, i, s, h = null, o = [-1]) {
228
228
  const l = Ve;
229
229
  q(e);
230
230
  const a = e.$$ = {
@@ -234,7 +234,7 @@ function dr(e, t, r, n, i, s, h = null, o = [-1]) {
234
234
  props: s,
235
235
  update: B,
236
236
  not_equal: i,
237
- bound: ze(),
237
+ bound: Qe(),
238
238
  // lifecycle
239
239
  on_mount: [],
240
240
  on_destroy: [],
@@ -243,7 +243,7 @@ function dr(e, t, r, n, i, s, h = null, o = [-1]) {
243
243
  after_update: [],
244
244
  context: new Map(t.context || (l ? l.$$.context : [])),
245
245
  // everything else
246
- callbacks: ze(),
246
+ callbacks: Qe(),
247
247
  dirty: o,
248
248
  skip_bound: !1,
249
249
  root: t.target || l.$$.root
@@ -252,19 +252,19 @@ function dr(e, t, r, n, i, s, h = null, o = [-1]) {
252
252
  let u = !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 && pr(e, f)), 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
256
  }) : [], a.update(), u = !0, ee(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
257
257
  if (t.hydrate) {
258
- const f = ir(t.target);
258
+ const f = or(t.target);
259
259
  a.fragment && a.fragment.l(f), f.forEach(O);
260
260
  } else
261
261
  a.fragment && a.fragment.c();
262
- t.intro && ae(e.$$.fragment), cr(e, t.target, t.anchor), S();
262
+ t.intro && ae(e.$$.fragment), pr(e, t.target, t.anchor), S();
263
263
  }
264
264
  q(l);
265
265
  }
266
- let Ht;
267
- typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
266
+ let Tt;
267
+ typeof HTMLElement == "function" && (Tt = class extends HTMLElement {
268
268
  /** The Svelte component constructor */
269
269
  $$ctor;
270
270
  /** Slots */
@@ -306,7 +306,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
306
306
  let s;
307
307
  return {
308
308
  c: function() {
309
- s = W("slot"), i !== "default" && te(s, "name", i);
309
+ s = z("slot"), i !== "default" && te(s, "name", i);
310
310
  },
311
311
  /**
312
312
  * @param {HTMLElement} target
@@ -323,7 +323,7 @@ typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
323
323
  };
324
324
  if (await Promise.resolve(), !this.$$cn || this.$$c)
325
325
  return;
326
- const t = {}, r = or(this);
326
+ const t = {}, r = hr(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) {
@@ -410,8 +410,8 @@ function he(e, t, r, n) {
410
410
  return t;
411
411
  }
412
412
  }
413
- function br(e, t, r, n, i, s) {
414
- let h = class extends Ht {
413
+ function _r(e, t, r, n, i, s) {
414
+ let h = class extends Tt {
415
415
  constructor() {
416
416
  super(e, r, i), this.$$p_d = t;
417
417
  }
@@ -439,7 +439,7 @@ function br(e, t, r, n, i, s) {
439
439
  }), e.element = /** @type {any} */
440
440
  h, h;
441
441
  }
442
- class gr {
442
+ class yr {
443
443
  /**
444
444
  * ### PRIVATE API
445
445
  *
@@ -458,7 +458,7 @@ class gr {
458
458
  $$set = void 0;
459
459
  /** @returns {void} */
460
460
  $destroy() {
461
- mr(this, 1), this.$destroy = B;
461
+ dr(this, 1), this.$destroy = B;
462
462
  }
463
463
  /**
464
464
  * @template {Extract<keyof Events, string>} K
@@ -480,13 +480,13 @@ class gr {
480
480
  * @returns {void}
481
481
  */
482
482
  $set(t) {
483
- this.$$set && !Kt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
483
+ this.$$set && !tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
484
484
  }
485
485
  }
486
- const _r = "4";
487
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_r);
486
+ const xr = "4";
487
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xr);
488
488
  const D = [];
489
- function yr(e, t) {
489
+ function Er(e, t) {
490
490
  return {
491
491
  subscribe: de(e, t).subscribe
492
492
  };
@@ -495,7 +495,7 @@ function de(e, t = B) {
495
495
  let r;
496
496
  const n = /* @__PURE__ */ new Set();
497
497
  function i(o) {
498
- if (_t(e, o) && (e = o, r)) {
498
+ if (xt(e, o) && (e = o, r)) {
499
499
  const l = !D.length;
500
500
  for (const a of n)
501
501
  a[1](), D.push(a, e);
@@ -517,12 +517,12 @@ function de(e, t = B) {
517
517
  }
518
518
  return { set: i, update: s, subscribe: h };
519
519
  }
520
- function z(e, t, r) {
520
+ function W(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 yr(r, (h, o) => {
525
+ return Er(r, (h, o) => {
526
526
  let l = !1;
527
527
  const a = [];
528
528
  let u = 0, f = B;
@@ -533,7 +533,7 @@ function z(e, t, r) {
533
533
  const m = t(n ? a[0] : a, h, o);
534
534
  s ? h(m) : f = je(m) ? m : B;
535
535
  }, p = i.map(
536
- (m, g) => yt(
536
+ (m, g) => Et(
537
537
  m,
538
538
  (v) => {
539
539
  a[g] = v, u &= ~(1 << g), l && c();
@@ -548,70 +548,70 @@ function z(e, t, r) {
548
548
  };
549
549
  });
550
550
  }
551
- function xr(e) {
551
+ function vr(e) {
552
552
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
553
553
  }
554
- var Er = function(t) {
555
- return vr(t) && !Hr(t);
554
+ var Hr = function(t) {
555
+ return Br(t) && !Tr(t);
556
556
  };
557
- function vr(e) {
557
+ function Br(e) {
558
558
  return !!e && typeof e == "object";
559
559
  }
560
- function Hr(e) {
560
+ function Tr(e) {
561
561
  var t = Object.prototype.toString.call(e);
562
- return t === "[object RegExp]" || t === "[object Date]" || wr(e);
562
+ return t === "[object RegExp]" || t === "[object Date]" || Ar(e);
563
563
  }
564
- var Br = typeof Symbol == "function" && Symbol.for, Tr = Br ? Symbol.for("react.element") : 60103;
565
- function wr(e) {
566
- return e.$$typeof === Tr;
564
+ var wr = typeof Symbol == "function" && Symbol.for, Sr = wr ? Symbol.for("react.element") : 60103;
565
+ function Ar(e) {
566
+ return e.$$typeof === Sr;
567
567
  }
568
- function Sr(e) {
568
+ function Cr(e) {
569
569
  return Array.isArray(e) ? [] : {};
570
570
  }
571
571
  function Y(e, t) {
572
- return t.clone !== !1 && t.isMergeableObject(e) ? j(Sr(e), e, t) : e;
572
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(Cr(e), e, t) : e;
573
573
  }
574
- function Ar(e, t, r) {
574
+ function Or(e, t, r) {
575
575
  return e.concat(t).map(function(n) {
576
576
  return Y(n, r);
577
577
  });
578
578
  }
579
- function Cr(e, t) {
579
+ function Pr(e, t) {
580
580
  if (!t.customMerge)
581
581
  return j;
582
582
  var r = t.customMerge(e);
583
583
  return typeof r == "function" ? r : j;
584
584
  }
585
- function Or(e) {
585
+ function Lr(e) {
586
586
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
587
587
  return Object.propertyIsEnumerable.call(e, t);
588
588
  }) : [];
589
589
  }
590
- function Je(e) {
591
- return Object.keys(e).concat(Or(e));
590
+ function Ye(e) {
591
+ return Object.keys(e).concat(Lr(e));
592
592
  }
593
- function Bt(e, t) {
593
+ function wt(e, t) {
594
594
  try {
595
595
  return t in e;
596
596
  } catch {
597
597
  return !1;
598
598
  }
599
599
  }
600
- function Pr(e, t) {
601
- return Bt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
600
+ function Nr(e, t) {
601
+ return wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
602
602
  }
603
- function Lr(e, t, r) {
603
+ function Ir(e, t, r) {
604
604
  var n = {};
605
- return r.isMergeableObject(e) && Je(e).forEach(function(i) {
605
+ return r.isMergeableObject(e) && Ye(e).forEach(function(i) {
606
606
  n[i] = Y(e[i], r);
607
- }), Je(t).forEach(function(i) {
608
- Pr(e, i) || (Bt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Cr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
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));
609
609
  }), n;
610
610
  }
611
611
  function j(e, t, r) {
612
- r = r || {}, r.arrayMerge = r.arrayMerge || Ar, r.isMergeableObject = r.isMergeableObject || Er, r.cloneUnlessOtherwiseSpecified = Y;
612
+ r = r || {}, r.arrayMerge = r.arrayMerge || Or, r.isMergeableObject = r.isMergeableObject || Hr, r.cloneUnlessOtherwiseSpecified = Y;
613
613
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
614
- return s ? n ? r.arrayMerge(e, t, r) : Lr(e, t, r) : Y(t, r);
614
+ return s ? n ? r.arrayMerge(e, t, r) : Ir(e, t, r) : Y(t, r);
615
615
  }
616
616
  j.all = function(t, r) {
617
617
  if (!Array.isArray(t))
@@ -620,8 +620,8 @@ j.all = function(t, r) {
620
620
  return j(n, i, r);
621
621
  }, {});
622
622
  };
623
- var Nr = j, Ir = Nr;
624
- const Mr = /* @__PURE__ */ xr(Ir);
623
+ var Mr = j, $r = Mr;
624
+ const Rr = /* @__PURE__ */ vr($r);
625
625
  /*! *****************************************************************************
626
626
  Copyright (c) Microsoft Corporation.
627
627
 
@@ -663,7 +663,7 @@ var y = function() {
663
663
  return t;
664
664
  }, y.apply(this, arguments);
665
665
  };
666
- function $r(e, t) {
666
+ function Ur(e, t) {
667
667
  var r = {};
668
668
  for (var n in e)
669
669
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -679,53 +679,55 @@ function Te(e, t, r) {
679
679
  return e.concat(s || t);
680
680
  }
681
681
  function we(e, t) {
682
- var r = t && t.cache ? t.cache : kr, n = t && t.serializer ? t.serializer : Fr, i = t && t.strategy ? t.strategy : Dr;
682
+ var r = t && t.cache ? t.cache : Vr, n = t && t.serializer ? t.serializer : kr, i = t && t.strategy ? t.strategy : Gr;
683
683
  return i(e, {
684
684
  cache: r,
685
685
  serializer: n
686
686
  });
687
687
  }
688
- function Rr(e) {
688
+ function Dr(e) {
689
689
  return e == null || typeof e == "number" || typeof e == "boolean";
690
690
  }
691
- function Ur(e, t, r, n) {
692
- var i = Rr(n) ? n : r(n), s = t.get(i);
691
+ function St(e, t, r, n) {
692
+ var i = Dr(n) ? n : r(n), s = t.get(i);
693
693
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
694
694
  }
695
- function Tt(e, t, r) {
695
+ function At(e, t, r) {
696
696
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
697
697
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
698
698
  }
699
- function wt(e, t, r, n, i) {
699
+ function Xe(e, t, r, n, i) {
700
700
  return r.bind(t, e, n, i);
701
701
  }
702
- function Dr(e, t) {
703
- var r = e.length === 1 ? Ur : Tt;
704
- return wt(e, this, r, t.cache.create(), t.serializer);
705
- }
706
702
  function Gr(e, t) {
707
- return wt(e, this, Tt, t.cache.create(), t.serializer);
703
+ var r = e.length === 1 ? St : At;
704
+ return Xe(e, this, r, t.cache.create(), t.serializer);
705
+ }
706
+ function Fr(e, t) {
707
+ return Xe(e, this, At, t.cache.create(), t.serializer);
708
708
  }
709
- var Fr = function() {
709
+ function jr(e, t) {
710
+ return Xe(e, this, St, t.cache.create(), t.serializer);
711
+ }
712
+ var kr = function() {
710
713
  return JSON.stringify(arguments);
711
- }, jr = (
712
- /** @class */
713
- function() {
714
- function e() {
715
- this.cache = /* @__PURE__ */ Object.create(null);
716
- }
717
- return e.prototype.get = function(t) {
718
- return this.cache[t];
719
- }, e.prototype.set = function(t, r) {
720
- this.cache[t] = r;
721
- }, e;
722
- }()
723
- ), kr = {
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 = {
724
725
  create: function() {
725
- return new jr();
726
+ return new ze();
726
727
  }
727
728
  }, Se = {
728
- variadic: Gr
729
+ variadic: Fr,
730
+ monadic: jr
729
731
  }, d;
730
732
  (function(e) {
731
733
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
@@ -738,41 +740,41 @@ var k;
738
740
  (function(e) {
739
741
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
740
742
  })(k || (k = {}));
741
- function qe(e) {
743
+ function Ke(e) {
742
744
  return e.type === x.literal;
743
745
  }
744
- function Vr(e) {
746
+ function Xr(e) {
745
747
  return e.type === x.argument;
746
748
  }
747
- function St(e) {
749
+ function Ct(e) {
748
750
  return e.type === x.number;
749
751
  }
750
- function At(e) {
752
+ function Ot(e) {
751
753
  return e.type === x.date;
752
754
  }
753
- function Ct(e) {
755
+ function Pt(e) {
754
756
  return e.type === x.time;
755
757
  }
756
- function Ot(e) {
758
+ function Lt(e) {
757
759
  return e.type === x.select;
758
760
  }
759
- function Pt(e) {
761
+ function Nt(e) {
760
762
  return e.type === x.plural;
761
763
  }
762
- function Xr(e) {
764
+ function zr(e) {
763
765
  return e.type === x.pound;
764
766
  }
765
- function Lt(e) {
767
+ function It(e) {
766
768
  return e.type === x.tag;
767
769
  }
768
- function Nt(e) {
770
+ function Mt(e) {
769
771
  return !!(e && typeof e == "object" && e.type === k.number);
770
772
  }
771
773
  function Me(e) {
772
774
  return !!(e && typeof e == "object" && e.type === k.dateTime);
773
775
  }
774
- var It = /[ \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;
775
- function zr(e) {
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) {
776
778
  var t = {};
777
779
  return e.replace(Wr, function(r) {
778
780
  var n = r.length;
@@ -863,11 +865,11 @@ function zr(e) {
863
865
  return "";
864
866
  }), t;
865
867
  }
866
- var Zr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
867
- function Qr(e) {
868
+ var Qr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
869
+ function Jr(e) {
868
870
  if (e.length === 0)
869
871
  throw new Error("Number skeleton cannot be empty");
870
- for (var t = e.split(Zr).filter(function(c) {
872
+ for (var t = e.split(Qr).filter(function(c) {
871
873
  return c.length > 0;
872
874
  }), r = [], n = 0, i = t; n < i.length; n++) {
873
875
  var s = i[n], h = s.split("/");
@@ -882,17 +884,17 @@ function Qr(e) {
882
884
  }
883
885
  return r;
884
886
  }
885
- function Jr(e) {
887
+ function qr(e) {
886
888
  return e.replace(/^(.*?)-/, "");
887
889
  }
888
- var Ye = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Mt = /^(@+)?(\+|#+)?[rs]?$/g, qr = /(\*)(0+)|(#+)(0+)|(0+)/g, $t = /^(0+)$/;
889
- function Ke(e) {
890
+ var et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rt = /^(@+)?(\+|#+)?[rs]?$/g, Yr = /(\*)(0+)|(#+)(0+)|(0+)/g, Ut = /^(0+)$/;
891
+ function tt(e) {
890
892
  var t = {};
891
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Mt, function(r, n, i) {
893
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rt, function(r, n, i) {
892
894
  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)), "";
893
895
  }), t;
894
896
  }
895
- function Rt(e) {
897
+ function Dt(e) {
896
898
  switch (e) {
897
899
  case "sign-auto":
898
900
  return {
@@ -932,7 +934,7 @@ function Rt(e) {
932
934
  };
933
935
  }
934
936
  }
935
- function Yr(e) {
937
+ function Kr(e) {
936
938
  var t;
937
939
  if (e[0] === "E" && e[1] === "E" ? (t = {
938
940
  notation: "engineering"
@@ -940,17 +942,17 @@ function Yr(e) {
940
942
  notation: "scientific"
941
943
  }, e = e.slice(1)), t) {
942
944
  var r = e.slice(0, 2);
943
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !$t.test(e))
945
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ut.test(e))
944
946
  throw new Error("Malformed concise eng/scientific notation");
945
947
  t.minimumIntegerDigits = e.length;
946
948
  }
947
949
  return t;
948
950
  }
949
- function et(e) {
950
- var t = {}, r = Rt(e);
951
+ function rt(e) {
952
+ var t = {}, r = Dt(e);
951
953
  return r || t;
952
954
  }
953
- function Kr(e) {
955
+ function en(e) {
954
956
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
955
957
  var i = n[r];
956
958
  switch (i.stem) {
@@ -974,7 +976,7 @@ function Kr(e) {
974
976
  continue;
975
977
  case "measure-unit":
976
978
  case "unit":
977
- t.style = "unit", t.unit = Jr(i.options[0]);
979
+ t.style = "unit", t.unit = qr(i.options[0]);
978
980
  continue;
979
981
  case "compact-short":
980
982
  case "K":
@@ -986,12 +988,12 @@ function Kr(e) {
986
988
  continue;
987
989
  case "scientific":
988
990
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
989
- return y(y({}, l), et(a));
991
+ return y(y({}, l), rt(a));
990
992
  }, {}));
991
993
  continue;
992
994
  case "engineering":
993
995
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
994
- return y(y({}, l), et(a));
996
+ return y(y({}, l), rt(a));
995
997
  }, {}));
996
998
  continue;
997
999
  case "notation-simple":
@@ -1036,7 +1038,7 @@ function Kr(e) {
1036
1038
  case "integer-width":
1037
1039
  if (i.options.length > 1)
1038
1040
  throw new RangeError("integer-width stems only accept a single optional option");
1039
- i.options[0].replace(qr, function(l, a, u, f, c, p) {
1041
+ i.options[0].replace(Yr, function(l, a, u, f, c, p) {
1040
1042
  if (a)
1041
1043
  t.minimumIntegerDigits = u.length;
1042
1044
  else {
@@ -1049,27 +1051,27 @@ function Kr(e) {
1049
1051
  });
1050
1052
  continue;
1051
1053
  }
1052
- if ($t.test(i.stem)) {
1054
+ if (Ut.test(i.stem)) {
1053
1055
  t.minimumIntegerDigits = i.stem.length;
1054
1056
  continue;
1055
1057
  }
1056
- if (Ye.test(i.stem)) {
1058
+ if (et.test(i.stem)) {
1057
1059
  if (i.options.length > 1)
1058
1060
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1059
- i.stem.replace(Ye, function(l, a, u, f, c, p) {
1061
+ i.stem.replace(et, function(l, a, u, f, c, p) {
1060
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), "";
1061
1063
  });
1062
1064
  var s = i.options[0];
1063
- s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), Ke(s)));
1065
+ s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), tt(s)));
1064
1066
  continue;
1065
1067
  }
1066
- if (Mt.test(i.stem)) {
1067
- t = y(y({}, t), Ke(i.stem));
1068
+ if (Rt.test(i.stem)) {
1069
+ t = y(y({}, t), tt(i.stem));
1068
1070
  continue;
1069
1071
  }
1070
- var h = Rt(i.stem);
1072
+ var h = Dt(i.stem);
1071
1073
  h && (t = y(y({}, t), h));
1072
- var o = Yr(i.stem);
1074
+ var o = Kr(i.stem);
1073
1075
  o && (t = y(y({}, t), o));
1074
1076
  }
1075
1077
  return t;
@@ -2489,13 +2491,13 @@ var se = {
2489
2491
  "h"
2490
2492
  ]
2491
2493
  };
2492
- function en(e, t) {
2494
+ function tn(e, t) {
2493
2495
  for (var r = "", n = 0; n < e.length; n++) {
2494
2496
  var i = e.charAt(n);
2495
2497
  if (i === "j") {
2496
2498
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2497
2499
  s++, n++;
2498
- var h = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = tn(t);
2500
+ var h = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = rn(t);
2499
2501
  for ((a == "H" || a == "k") && (o = 0); o-- > 0; )
2500
2502
  r += l;
2501
2503
  for (; h-- > 0; )
@@ -2505,7 +2507,7 @@ function en(e, t) {
2505
2507
  }
2506
2508
  return r;
2507
2509
  }
2508
- function tn(e) {
2510
+ function rn(e) {
2509
2511
  var t = e.hourCycle;
2510
2512
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2511
2513
  e.hourCycles && // @ts-ignore
@@ -2527,20 +2529,20 @@ function tn(e) {
2527
2529
  var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
2528
2530
  return i[0];
2529
2531
  }
2530
- var Ae, rn = new RegExp("^".concat(It.source, "*")), nn = new RegExp("".concat(It.source, "*$"));
2532
+ var Ae, nn = new RegExp("^".concat($t.source, "*")), sn = new RegExp("".concat($t.source, "*$"));
2531
2533
  function b(e, t) {
2532
2534
  return { start: e, end: t };
2533
2535
  }
2534
- var sn = !!String.prototype.startsWith && "_a".startsWith("a", 1), on = !!String.fromCodePoint, an = !!Object.fromEntries, hn = !!String.prototype.codePointAt, un = !!String.prototype.trimStart, ln = !!String.prototype.trimEnd, fn = !!Number.isSafeInteger, cn = fn ? Number.isSafeInteger : function(e) {
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) {
2535
2537
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2536
2538
  }, $e = !0;
2537
2539
  try {
2538
- var mn = Dt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2539
- $e = ((Ae = mn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
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";
2540
2542
  } catch {
2541
2543
  $e = !1;
2542
2544
  }
2543
- var tt = sn ? (
2545
+ var nt = on ? (
2544
2546
  // Native
2545
2547
  function(t, r, n) {
2546
2548
  return t.startsWith(r, n);
@@ -2550,7 +2552,7 @@ var tt = sn ? (
2550
2552
  function(t, r, n) {
2551
2553
  return t.slice(n, n + r.length) === r;
2552
2554
  }
2553
- ), Re = on ? String.fromCodePoint : (
2555
+ ), Re = an ? String.fromCodePoint : (
2554
2556
  // IE11
2555
2557
  function() {
2556
2558
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2562,9 +2564,9 @@ var tt = sn ? (
2562
2564
  }
2563
2565
  return n;
2564
2566
  }
2565
- ), rt = (
2567
+ ), it = (
2566
2568
  // native
2567
- an ? Object.fromEntries : (
2569
+ hn ? Object.fromEntries : (
2568
2570
  // Ponyfill
2569
2571
  function(t) {
2570
2572
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2574,7 +2576,7 @@ var tt = sn ? (
2574
2576
  return r;
2575
2577
  }
2576
2578
  )
2577
- ), Ut = hn ? (
2579
+ ), Gt = un ? (
2578
2580
  // Native
2579
2581
  function(t, r) {
2580
2582
  return t.codePointAt(r);
@@ -2588,7 +2590,7 @@ var tt = sn ? (
2588
2590
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2589
2591
  }
2590
2592
  }
2591
- ), pn = un ? (
2593
+ ), dn = ln ? (
2592
2594
  // Native
2593
2595
  function(t) {
2594
2596
  return t.trimStart();
@@ -2596,9 +2598,9 @@ var tt = sn ? (
2596
2598
  ) : (
2597
2599
  // Ponyfill
2598
2600
  function(t) {
2599
- return t.replace(rn, "");
2601
+ return t.replace(nn, "");
2600
2602
  }
2601
- ), dn = ln ? (
2603
+ ), bn = fn ? (
2602
2604
  // Native
2603
2605
  function(t) {
2604
2606
  return t.trimEnd();
@@ -2606,32 +2608,32 @@ var tt = sn ? (
2606
2608
  ) : (
2607
2609
  // Ponyfill
2608
2610
  function(t) {
2609
- return t.replace(nn, "");
2611
+ return t.replace(sn, "");
2610
2612
  }
2611
2613
  );
2612
- function Dt(e, t) {
2614
+ function Ft(e, t) {
2613
2615
  return new RegExp(e, t);
2614
2616
  }
2615
2617
  var Ue;
2616
2618
  if ($e) {
2617
- var nt = Dt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2619
+ var st = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2618
2620
  Ue = function(t, r) {
2619
2621
  var n;
2620
- nt.lastIndex = r;
2621
- var i = nt.exec(t);
2622
+ st.lastIndex = r;
2623
+ var i = st.exec(t);
2622
2624
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2623
2625
  };
2624
2626
  } else
2625
2627
  Ue = function(t, r) {
2626
2628
  for (var n = []; ; ) {
2627
- var i = Ut(t, r);
2628
- if (i === void 0 || Gt(i) || yn(i))
2629
+ var i = Gt(t, r);
2630
+ if (i === void 0 || jt(i) || xn(i))
2629
2631
  break;
2630
2632
  n.push(i), r += i >= 65536 ? 2 : 1;
2631
2633
  }
2632
2634
  return Re.apply(void 0, n);
2633
2635
  };
2634
- var bn = (
2636
+ var gn = (
2635
2637
  /** @class */
2636
2638
  function() {
2637
2639
  function e(t, r) {
@@ -2713,7 +2715,7 @@ var bn = (
2713
2715
  return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
2714
2716
  }, e.prototype.parseTagName = function() {
2715
2717
  var t = this.offset();
2716
- for (this.bump(); !this.isEOF() && _n(this.char()); )
2718
+ for (this.bump(); !this.isEOF() && yn(this.char()); )
2717
2719
  this.bump();
2718
2720
  return this.message.slice(t, this.offset());
2719
2721
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2742,7 +2744,7 @@ var bn = (
2742
2744
  };
2743
2745
  }, e.prototype.tryParseLeftAngleBracket = function() {
2744
2746
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2745
- !gn(this.peek() || 0)) ? (this.bump(), "<") : null;
2747
+ !_n(this.peek() || 0)) ? (this.bump(), "<") : null;
2746
2748
  }, e.prototype.tryParseQuote = function(t) {
2747
2749
  if (this.isEOF() || this.char() !== 39)
2748
2750
  return null;
@@ -2829,7 +2831,7 @@ var bn = (
2829
2831
  var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2830
2832
  if (f.err)
2831
2833
  return f;
2832
- var c = dn(f.val);
2834
+ var c = bn(f.val);
2833
2835
  if (c.length === 0)
2834
2836
  return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2835
2837
  var p = b(u, this.clonePosition());
@@ -2839,8 +2841,8 @@ var bn = (
2839
2841
  if (m.err)
2840
2842
  return m;
2841
2843
  var g = b(i, this.clonePosition());
2842
- if (a && tt(a?.style, "::", 0)) {
2843
- var v = pn(a.style.slice(2));
2844
+ if (a && nt(a?.style, "::", 0)) {
2845
+ var v = dn(a.style.slice(2));
2844
2846
  if (o === "number") {
2845
2847
  var f = this.parseNumberSkeletonFromString(v, a.styleLocation);
2846
2848
  return f.err ? f : {
@@ -2851,12 +2853,12 @@ var bn = (
2851
2853
  if (v.length === 0)
2852
2854
  return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
2853
2855
  var L = v;
2854
- this.locale && (L = en(v, this.locale));
2856
+ this.locale && (L = tn(v, this.locale));
2855
2857
  var c = {
2856
2858
  type: k.dateTime,
2857
2859
  pattern: L,
2858
2860
  location: a.styleLocation,
2859
- parsedOptions: this.shouldParseSkeletons ? zr(L) : {}
2861
+ parsedOptions: this.shouldParseSkeletons ? Zr(L) : {}
2860
2862
  }, A = o === "date" ? x.date : x.time;
2861
2863
  return {
2862
2864
  val: { type: A, value: n, location: g, style: c },
@@ -2902,7 +2904,7 @@ var bn = (
2902
2904
  val: {
2903
2905
  type: x.select,
2904
2906
  value: n,
2905
- options: rt($.val),
2907
+ options: it($.val),
2906
2908
  location: ie
2907
2909
  },
2908
2910
  err: null
@@ -2910,7 +2912,7 @@ var bn = (
2910
2912
  val: {
2911
2913
  type: x.plural,
2912
2914
  value: n,
2913
- options: rt($.val),
2915
+ options: it($.val),
2914
2916
  offset: T,
2915
2917
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2916
2918
  location: ie
@@ -2961,7 +2963,7 @@ var bn = (
2961
2963
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2962
2964
  var n = [];
2963
2965
  try {
2964
- n = Qr(t);
2966
+ n = Jr(t);
2965
2967
  } catch {
2966
2968
  return this.error(d.INVALID_NUMBER_SKELETON, r);
2967
2969
  }
@@ -2970,7 +2972,7 @@ var bn = (
2970
2972
  type: k.number,
2971
2973
  tokens: n,
2972
2974
  location: r,
2973
- parsedOptions: this.shouldParseSkeletons ? Kr(n) : {}
2975
+ parsedOptions: this.shouldParseSkeletons ? en(n) : {}
2974
2976
  },
2975
2977
  err: null
2976
2978
  };
@@ -3018,7 +3020,7 @@ var bn = (
3018
3020
  break;
3019
3021
  }
3020
3022
  var l = b(i, this.clonePosition());
3021
- return s ? (h *= n, cn(h) ? { val: h, err: null } : this.error(r, l)) : this.error(t, l);
3023
+ return s ? (h *= n, mn(h) ? { val: h, err: null } : this.error(r, l)) : this.error(t, l);
3022
3024
  }, e.prototype.offset = function() {
3023
3025
  return this.position.offset;
3024
3026
  }, e.prototype.isEOF = function() {
@@ -3033,7 +3035,7 @@ var bn = (
3033
3035
  var t = this.position.offset;
3034
3036
  if (t >= this.message.length)
3035
3037
  throw Error("out of bound");
3036
- var r = Ut(this.message, t);
3038
+ var r = Gt(this.message, t);
3037
3039
  if (r === void 0)
3038
3040
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3039
3041
  return r;
@@ -3052,7 +3054,7 @@ var bn = (
3052
3054
  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);
3053
3055
  }
3054
3056
  }, e.prototype.bumpIf = function(t) {
3055
- if (tt(this.message, t, this.offset())) {
3057
+ if (nt(this.message, t, this.offset())) {
3056
3058
  for (var r = 0; r < t.length; r++)
3057
3059
  this.bump();
3058
3060
  return !0;
@@ -3074,7 +3076,7 @@ var bn = (
3074
3076
  break;
3075
3077
  }
3076
3078
  }, e.prototype.bumpSpace = function() {
3077
- for (; !this.isEOF() && Gt(this.char()); )
3079
+ for (; !this.isEOF() && jt(this.char()); )
3078
3080
  this.bump();
3079
3081
  }, e.prototype.peek = function() {
3080
3082
  if (this.isEOF())
@@ -3087,30 +3089,30 @@ var bn = (
3087
3089
  function De(e) {
3088
3090
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3089
3091
  }
3090
- function gn(e) {
3092
+ function _n(e) {
3091
3093
  return De(e) || e === 47;
3092
3094
  }
3093
- function _n(e) {
3095
+ function yn(e) {
3094
3096
  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;
3095
3097
  }
3096
- function Gt(e) {
3098
+ function jt(e) {
3097
3099
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3098
3100
  }
3099
- function yn(e) {
3101
+ function xn(e) {
3100
3102
  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;
3101
3103
  }
3102
3104
  function Ge(e) {
3103
3105
  e.forEach(function(t) {
3104
- if (delete t.location, Ot(t) || Pt(t))
3106
+ if (delete t.location, Lt(t) || Nt(t))
3105
3107
  for (var r in t.options)
3106
3108
  delete t.options[r].location, Ge(t.options[r].value);
3107
3109
  else
3108
- St(t) && Nt(t.style) || (At(t) || Ct(t)) && Me(t.style) ? delete t.style.location : Lt(t) && Ge(t.children);
3110
+ Ct(t) && Mt(t.style) || (Ot(t) || Pt(t)) && Me(t.style) ? delete t.style.location : It(t) && Ge(t.children);
3109
3111
  });
3110
3112
  }
3111
- function xn(e, t) {
3113
+ function En(e, t) {
3112
3114
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3113
- var r = new bn(e, t).parse();
3115
+ var r = new gn(e, t).parse();
3114
3116
  if (r.err) {
3115
3117
  var n = SyntaxError(d[r.err.kind]);
3116
3118
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3133,7 +3135,7 @@ var ge = (
3133
3135
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3134
3136
  }, t;
3135
3137
  }(Error)
3136
- ), it = (
3138
+ ), ot = (
3137
3139
  /** @class */
3138
3140
  function(e) {
3139
3141
  be(t, e);
@@ -3142,7 +3144,7 @@ var ge = (
3142
3144
  }
3143
3145
  return t;
3144
3146
  }(ge)
3145
- ), En = (
3147
+ ), vn = (
3146
3148
  /** @class */
3147
3149
  function(e) {
3148
3150
  be(t, e);
@@ -3151,7 +3153,7 @@ var ge = (
3151
3153
  }
3152
3154
  return t;
3153
3155
  }(ge)
3154
- ), vn = (
3156
+ ), Hn = (
3155
3157
  /** @class */
3156
3158
  function(e) {
3157
3159
  be(t, e);
@@ -3164,17 +3166,17 @@ var ge = (
3164
3166
  (function(e) {
3165
3167
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3166
3168
  })(E || (E = {}));
3167
- function Hn(e) {
3169
+ function Bn(e) {
3168
3170
  return e.length < 2 ? e : e.reduce(function(t, r) {
3169
3171
  var n = t[t.length - 1];
3170
3172
  return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3171
3173
  }, []);
3172
3174
  }
3173
- function Bn(e) {
3175
+ function Tn(e) {
3174
3176
  return typeof e == "function";
3175
3177
  }
3176
3178
  function ue(e, t, r, n, i, s, h) {
3177
- if (e.length === 1 && qe(e[0]))
3179
+ if (e.length === 1 && Ke(e[0]))
3178
3180
  return [
3179
3181
  {
3180
3182
  type: E.literal,
@@ -3183,14 +3185,14 @@ function ue(e, t, r, n, i, s, h) {
3183
3185
  ];
3184
3186
  for (var o = [], l = 0, a = e; l < a.length; l++) {
3185
3187
  var u = a[l];
3186
- if (qe(u)) {
3188
+ if (Ke(u)) {
3187
3189
  o.push({
3188
3190
  type: E.literal,
3189
3191
  value: u.value
3190
3192
  });
3191
3193
  continue;
3192
3194
  }
3193
- if (Xr(u)) {
3195
+ if (zr(u)) {
3194
3196
  typeof s == "number" && o.push({
3195
3197
  type: E.literal,
3196
3198
  value: r.getNumberFormat(t).format(s)
@@ -3199,16 +3201,16 @@ function ue(e, t, r, n, i, s, h) {
3199
3201
  }
3200
3202
  var f = u.value;
3201
3203
  if (!(i && f in i))
3202
- throw new vn(f, h);
3204
+ throw new Hn(f, h);
3203
3205
  var c = i[f];
3204
- if (Vr(u)) {
3206
+ if (Xr(u)) {
3205
3207
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3206
3208
  type: typeof c == "string" ? E.literal : E.object,
3207
3209
  value: c
3208
3210
  });
3209
3211
  continue;
3210
3212
  }
3211
- if (At(u)) {
3213
+ if (Ot(u)) {
3212
3214
  var p = typeof u.style == "string" ? n.date[u.style] : Me(u.style) ? u.style.parsedOptions : void 0;
3213
3215
  o.push({
3214
3216
  type: E.literal,
@@ -3216,7 +3218,7 @@ function ue(e, t, r, n, i, s, h) {
3216
3218
  });
3217
3219
  continue;
3218
3220
  }
3219
- if (Ct(u)) {
3221
+ if (Pt(u)) {
3220
3222
  var p = typeof u.style == "string" ? n.time[u.style] : Me(u.style) ? u.style.parsedOptions : n.time.medium;
3221
3223
  o.push({
3222
3224
  type: E.literal,
@@ -3224,18 +3226,18 @@ function ue(e, t, r, n, i, s, h) {
3224
3226
  });
3225
3227
  continue;
3226
3228
  }
3227
- if (St(u)) {
3228
- var p = typeof u.style == "string" ? n.number[u.style] : Nt(u.style) ? u.style.parsedOptions : void 0;
3229
+ if (Ct(u)) {
3230
+ var p = typeof u.style == "string" ? n.number[u.style] : Mt(u.style) ? u.style.parsedOptions : void 0;
3229
3231
  p && p.scale && (c = c * (p.scale || 1)), o.push({
3230
3232
  type: E.literal,
3231
3233
  value: r.getNumberFormat(t, p).format(c)
3232
3234
  });
3233
3235
  continue;
3234
3236
  }
3235
- if (Lt(u)) {
3237
+ if (It(u)) {
3236
3238
  var m = u.children, g = u.value, v = i[g];
3237
- if (!Bn(v))
3238
- throw new En(g, "function", h);
3239
+ if (!Tn(v))
3240
+ throw new vn(g, "function", h);
3239
3241
  var L = ue(m, t, r, n, i, s), A = v(L.map(function(T) {
3240
3242
  return T.value;
3241
3243
  }));
@@ -3246,14 +3248,14 @@ function ue(e, t, r, n, i, s, h) {
3246
3248
  };
3247
3249
  }));
3248
3250
  }
3249
- if (Ot(u)) {
3251
+ if (Lt(u)) {
3250
3252
  var H = u.options[c] || u.options.other;
3251
3253
  if (!H)
3252
- throw new it(u.value, c, Object.keys(u.options), h);
3254
+ throw new ot(u.value, c, Object.keys(u.options), h);
3253
3255
  o.push.apply(o, ue(H.value, t, r, n, i));
3254
3256
  continue;
3255
3257
  }
3256
- if (Pt(u)) {
3258
+ if (Nt(u)) {
3257
3259
  var H = u.options["=".concat(c)];
3258
3260
  if (!H) {
3259
3261
  if (!Intl.PluralRules)
@@ -3264,21 +3266,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3264
3266
  H = u.options[N] || u.options.other;
3265
3267
  }
3266
3268
  if (!H)
3267
- throw new it(u.value, c, Object.keys(u.options), h);
3269
+ throw new ot(u.value, c, Object.keys(u.options), h);
3268
3270
  o.push.apply(o, ue(H.value, t, r, n, i, c - (u.offset || 0)));
3269
3271
  continue;
3270
3272
  }
3271
3273
  }
3272
- return Hn(o);
3274
+ return Bn(o);
3273
3275
  }
3274
- function Tn(e, t) {
3276
+ function wn(e, t) {
3275
3277
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3276
3278
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3277
3279
  }, {})) : e;
3278
3280
  }
3279
- function wn(e, t) {
3281
+ function Sn(e, t) {
3280
3282
  return t ? Object.keys(e).reduce(function(r, n) {
3281
- return r[n] = Tn(e[n], t[n]), r;
3283
+ return r[n] = wn(e[n], t[n]), r;
3282
3284
  }, y({}, e)) : e;
3283
3285
  }
3284
3286
  function Ce(e) {
@@ -3295,7 +3297,7 @@ function Ce(e) {
3295
3297
  }
3296
3298
  };
3297
3299
  }
3298
- function Sn(e) {
3300
+ function An(e) {
3299
3301
  return e === void 0 && (e = {
3300
3302
  number: {},
3301
3303
  dateTime: {},
@@ -3327,7 +3329,7 @@ function Sn(e) {
3327
3329
  })
3328
3330
  };
3329
3331
  }
3330
- var Ft = (
3332
+ var kt = (
3331
3333
  /** @class */
3332
3334
  function() {
3333
3335
  function e(t, r, n, i) {
@@ -3359,13 +3361,13 @@ var Ft = (
3359
3361
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3360
3362
  var h = i || {};
3361
3363
  h.formatters;
3362
- var o = $r(h, ["formatters"]);
3364
+ var o = Ur(h, ["formatters"]);
3363
3365
  this.ast = e.__parse(t, y(y({}, o), { locale: this.resolvedLocale }));
3364
3366
  } else
3365
3367
  this.ast = t;
3366
3368
  if (!Array.isArray(this.ast))
3367
3369
  throw new TypeError("A message must be provided as a String or AST.");
3368
- this.formats = wn(e.formats, n), this.formatters = i && i.formatters || Sn(this.formatterCache);
3370
+ this.formats = Sn(e.formats, n), this.formatters = i && i.formatters || An(this.formatterCache);
3369
3371
  }
3370
3372
  return Object.defineProperty(e, "defaultLocale", {
3371
3373
  get: function() {
@@ -3378,7 +3380,7 @@ var Ft = (
3378
3380
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3379
3381
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3380
3382
  }
3381
- }, e.__parse = xn, e.formats = {
3383
+ }, e.__parse = En, e.formats = {
3382
3384
  number: {
3383
3385
  integer: {
3384
3386
  maximumFractionDigits: 0
@@ -3439,7 +3441,7 @@ var Ft = (
3439
3441
  }, e;
3440
3442
  }()
3441
3443
  );
3442
- function An(e, t) {
3444
+ function Cn(e, t) {
3443
3445
  if (t == null)
3444
3446
  return;
3445
3447
  if (t in e)
@@ -3460,60 +3462,60 @@ function An(e, t) {
3460
3462
  n = void 0;
3461
3463
  return n;
3462
3464
  }
3463
- const C = {}, Cn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), jt = (e, t) => {
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) => {
3464
3466
  if (t == null)
3465
3467
  return;
3466
3468
  if (t in C && e in C[t])
3467
3469
  return C[t][e];
3468
3470
  const r = ne(t);
3469
3471
  for (let n = 0; n < r.length; n++) {
3470
- const i = r[n], s = Pn(i, e);
3472
+ const i = r[n], s = Ln(i, e);
3471
3473
  if (s)
3472
- return Cn(e, t, s);
3474
+ return On(e, t, s);
3473
3475
  }
3474
3476
  };
3475
- let Xe;
3477
+ let We;
3476
3478
  const re = de({});
3477
- function On(e) {
3478
- return Xe[e] || null;
3479
+ function Pn(e) {
3480
+ return We[e] || null;
3479
3481
  }
3480
- function kt(e) {
3481
- return e in Xe;
3482
+ function Xt(e) {
3483
+ return e in We;
3482
3484
  }
3483
- function Pn(e, t) {
3484
- if (!kt(e))
3485
+ function Ln(e, t) {
3486
+ if (!Xt(e))
3485
3487
  return null;
3486
- const r = On(e);
3487
- return An(r, t);
3488
+ const r = Pn(e);
3489
+ return Cn(r, t);
3488
3490
  }
3489
- function Ln(e) {
3491
+ function Nn(e) {
3490
3492
  if (e == null)
3491
3493
  return;
3492
3494
  const t = ne(e);
3493
3495
  for (let r = 0; r < t.length; r++) {
3494
3496
  const n = t[r];
3495
- if (kt(n))
3497
+ if (Xt(n))
3496
3498
  return n;
3497
3499
  }
3498
3500
  }
3499
- function Vt(e, ...t) {
3500
- delete C[e], re.update((r) => (r[e] = Mr.all([r[e] || {}, ...t]), r));
3501
+ function zt(e, ...t) {
3502
+ delete C[e], re.update((r) => (r[e] = Rr.all([r[e] || {}, ...t]), r));
3501
3503
  }
3502
- z(
3504
+ W(
3503
3505
  [re],
3504
3506
  ([e]) => Object.keys(e)
3505
3507
  );
3506
- re.subscribe((e) => Xe = e);
3508
+ re.subscribe((e) => We = e);
3507
3509
  const le = {};
3508
- function Nn(e, t) {
3510
+ function In(e, t) {
3509
3511
  le[e].delete(t), le[e].size === 0 && delete le[e];
3510
3512
  }
3511
- function Xt(e) {
3513
+ function Wt(e) {
3512
3514
  return le[e];
3513
3515
  }
3514
- function In(e) {
3516
+ function Mn(e) {
3515
3517
  return ne(e).map((t) => {
3516
- const r = Xt(t);
3518
+ const r = Wt(t);
3517
3519
  return [t, r ? [...r] : []];
3518
3520
  }).filter(([, t]) => t.length > 0);
3519
3521
  }
@@ -3521,40 +3523,40 @@ function ce(e) {
3521
3523
  return e == null ? !1 : ne(e).some(
3522
3524
  (t) => {
3523
3525
  var r;
3524
- return (r = Xt(t)) == null ? void 0 : r.size;
3526
+ return (r = Wt(t)) == null ? void 0 : r.size;
3525
3527
  }
3526
3528
  );
3527
3529
  }
3528
- function Mn(e, t) {
3530
+ function $n(e, t) {
3529
3531
  return Promise.all(
3530
- t.map((n) => (Nn(e, n), n().then((i) => i.default || i)))
3531
- ).then((n) => Vt(e, ...n));
3532
+ t.map((n) => (In(e, n), n().then((i) => i.default || i)))
3533
+ ).then((n) => zt(e, ...n));
3532
3534
  }
3533
3535
  const Q = {};
3534
- function Wt(e) {
3536
+ function Zt(e) {
3535
3537
  if (!ce(e))
3536
3538
  return e in Q ? Q[e] : Promise.resolve();
3537
- const t = In(e);
3539
+ const t = Mn(e);
3538
3540
  return Q[e] = Promise.all(
3539
3541
  t.map(
3540
- ([r, n]) => Mn(r, n)
3542
+ ([r, n]) => $n(r, n)
3541
3543
  )
3542
3544
  ).then(() => {
3543
3545
  if (ce(e))
3544
- return Wt(e);
3546
+ return Zt(e);
3545
3547
  delete Q[e];
3546
3548
  }), Q[e];
3547
3549
  }
3548
- var st = Object.getOwnPropertySymbols, $n = Object.prototype.hasOwnProperty, Rn = Object.prototype.propertyIsEnumerable, Un = (e, t) => {
3550
+ var at = Object.getOwnPropertySymbols, Rn = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, Dn = (e, t) => {
3549
3551
  var r = {};
3550
3552
  for (var n in e)
3551
- $n.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3552
- if (e != null && st)
3553
- for (var n of st(e))
3554
- t.indexOf(n) < 0 && Rn.call(e, n) && (r[n] = e[n]);
3553
+ Rn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3554
+ if (e != null && at)
3555
+ for (var n of at(e))
3556
+ t.indexOf(n) < 0 && Un.call(e, n) && (r[n] = e[n]);
3555
3557
  return r;
3556
3558
  };
3557
- const Dn = {
3559
+ const Gn = {
3558
3560
  number: {
3559
3561
  scientific: { notation: "scientific" },
3560
3562
  engineering: { notation: "engineering" },
@@ -3584,7 +3586,7 @@ const Dn = {
3584
3586
  }
3585
3587
  }
3586
3588
  };
3587
- function Gn({ locale: e, id: t }) {
3589
+ function Fn({ locale: e, id: t }) {
3588
3590
  console.warn(
3589
3591
  `[svelte-i18n] The message "${t}" was not found in "${ne(
3590
3592
  e
@@ -3593,49 +3595,49 @@ function Gn({ locale: e, id: t }) {
3593
3595
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3594
3596
  );
3595
3597
  }
3596
- const Fn = {
3598
+ const jn = {
3597
3599
  fallbackLocale: null,
3598
3600
  loadingDelay: 200,
3599
- formats: Dn,
3601
+ formats: Gn,
3600
3602
  warnOnMissingMessages: !0,
3601
3603
  handleMissingMessage: void 0,
3602
3604
  ignoreTag: !0
3603
- }, J = Fn;
3605
+ }, J = jn;
3604
3606
  function X() {
3605
3607
  return J;
3606
3608
  }
3607
- function jn(e) {
3608
- const t = e, { formats: r } = t, n = Un(t, ["formats"]);
3609
+ function kn(e) {
3610
+ const t = e, { formats: r } = t, n = Dn(t, ["formats"]);
3609
3611
  let i = e.fallbackLocale;
3610
3612
  if (e.initialLocale)
3611
3613
  try {
3612
- Ft.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3614
+ kt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3613
3615
  } catch {
3614
3616
  console.warn(
3615
3617
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3616
3618
  );
3617
3619
  }
3618
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Gn : console.warn(
3620
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Fn : console.warn(
3619
3621
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3620
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);
3621
3623
  }
3622
3624
  const Oe = de(!1);
3623
- var kn = Object.defineProperty, Vn = Object.defineProperties, Xn = Object.getOwnPropertyDescriptors, ot = Object.getOwnPropertySymbols, Wn = Object.prototype.hasOwnProperty, zn = Object.prototype.propertyIsEnumerable, at = (e, t, r) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Zn = (e, t) => {
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) => {
3624
3626
  for (var r in t || (t = {}))
3625
- Wn.call(t, r) && at(e, r, t[r]);
3626
- if (ot)
3627
- for (var r of ot(t))
3628
- zn.call(t, r) && at(e, r, t[r]);
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]);
3629
3631
  return e;
3630
- }, Qn = (e, t) => Vn(e, Xn(t));
3632
+ }, Jn = (e, t) => Xn(e, zn(t));
3631
3633
  let Fe;
3632
3634
  const me = de(null);
3633
- function ht(e) {
3635
+ function lt(e) {
3634
3636
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3635
3637
  }
3636
3638
  function ne(e, t = X().fallbackLocale) {
3637
- const r = ht(e);
3638
- return t ? [.../* @__PURE__ */ new Set([...r, ...ht(t)])] : r;
3639
+ const r = lt(e);
3640
+ return t ? [.../* @__PURE__ */ new Set([...r, ...lt(t)])] : r;
3639
3641
  }
3640
3642
  function P() {
3641
3643
  return Fe ?? void 0;
@@ -3643,22 +3645,22 @@ function P() {
3643
3645
  me.subscribe((e) => {
3644
3646
  Fe = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3645
3647
  });
3646
- const Jn = (e) => {
3647
- if (e && Ln(e) && ce(e)) {
3648
+ const qn = (e) => {
3649
+ if (e && Nn(e) && ce(e)) {
3648
3650
  const { loadingDelay: t } = X();
3649
3651
  let r;
3650
3652
  return typeof window < "u" && P() != null && t ? r = window.setTimeout(
3651
3653
  () => Oe.set(!0),
3652
3654
  t
3653
- ) : Oe.set(!0), Wt(e).then(() => {
3655
+ ) : Oe.set(!0), Zt(e).then(() => {
3654
3656
  me.set(e);
3655
3657
  }).finally(() => {
3656
3658
  clearTimeout(r), Oe.set(!1);
3657
3659
  });
3658
3660
  }
3659
3661
  return me.set(e);
3660
- }, M = Qn(Zn({}, me), {
3661
- set: Jn
3662
+ }, M = Jn(Qn({}, me), {
3663
+ set: qn
3662
3664
  }), _e = (e) => {
3663
3665
  const t = /* @__PURE__ */ Object.create(null);
3664
3666
  return (n) => {
@@ -3666,20 +3668,20 @@ const Jn = (e) => {
3666
3668
  return i in t ? t[i] : t[i] = e(n);
3667
3669
  };
3668
3670
  };
3669
- var qn = Object.defineProperty, pe = Object.getOwnPropertySymbols, zt = Object.prototype.hasOwnProperty, Zt = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
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) => {
3670
3672
  for (var r in t || (t = {}))
3671
- zt.call(t, r) && ut(e, r, t[r]);
3673
+ Qt.call(t, r) && ft(e, r, t[r]);
3672
3674
  if (pe)
3673
3675
  for (var r of pe(t))
3674
- Zt.call(t, r) && ut(e, r, t[r]);
3676
+ Jt.call(t, r) && ft(e, r, t[r]);
3675
3677
  return e;
3676
3678
  }, Z = (e, t) => {
3677
3679
  var r = {};
3678
3680
  for (var n in e)
3679
- zt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3681
+ Qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3680
3682
  if (e != null && pe)
3681
3683
  for (var n of pe(e))
3682
- t.indexOf(n) < 0 && Zt.call(e, n) && (r[n] = e[n]);
3684
+ t.indexOf(n) < 0 && Jt.call(e, n) && (r[n] = e[n]);
3683
3685
  return r;
3684
3686
  };
3685
3687
  const K = (e, t) => {
@@ -3687,21 +3689,21 @@ const K = (e, t) => {
3687
3689
  if (e in r && t in r[e])
3688
3690
  return r[e][t];
3689
3691
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3690
- }, Yn = _e(
3692
+ }, Kn = _e(
3691
3693
  (e) => {
3692
3694
  var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3693
3695
  if (r == null)
3694
3696
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3695
3697
  return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
3696
3698
  }
3697
- ), Kn = _e(
3699
+ ), ei = _e(
3698
3700
  (e) => {
3699
3701
  var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3700
3702
  if (r == null)
3701
3703
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3702
3704
  return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
3703
3705
  }
3704
- ), ei = _e(
3706
+ ), ti = _e(
3705
3707
  (e) => {
3706
3708
  var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3707
3709
  if (r == null)
@@ -3710,33 +3712,33 @@ const K = (e, t) => {
3710
3712
  );
3711
3713
  return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
3712
3714
  }
3713
- ), ti = (e = {}) => {
3715
+ ), ri = (e = {}) => {
3714
3716
  var t = e, {
3715
3717
  locale: r = P()
3716
3718
  } = t, n = Z(t, [
3717
3719
  "locale"
3718
3720
  ]);
3719
- return Yn(We({ locale: r }, n));
3720
- }, ri = (e = {}) => {
3721
+ return Kn(Ze({ locale: r }, n));
3722
+ }, ni = (e = {}) => {
3721
3723
  var t = e, {
3722
3724
  locale: r = P()
3723
3725
  } = t, n = Z(t, [
3724
3726
  "locale"
3725
3727
  ]);
3726
- return Kn(We({ locale: r }, n));
3727
- }, ni = (e = {}) => {
3728
+ return ei(Ze({ locale: r }, n));
3729
+ }, ii = (e = {}) => {
3728
3730
  var t = e, {
3729
3731
  locale: r = P()
3730
3732
  } = t, n = Z(t, [
3731
3733
  "locale"
3732
3734
  ]);
3733
- return ei(We({ locale: r }, n));
3734
- }, ii = _e(
3735
+ return ti(Ze({ locale: r }, n));
3736
+ }, si = _e(
3735
3737
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3736
- (e, t = P()) => new Ft(e, t, X().formats, {
3738
+ (e, t = P()) => new kt(e, t, X().formats, {
3737
3739
  ignoreTag: X().ignoreTag
3738
3740
  })
3739
- ), si = (e, t = {}) => {
3741
+ ), oi = (e, t = {}) => {
3740
3742
  var r, n, i, s;
3741
3743
  let h = t;
3742
3744
  typeof e == "object" && (h = e, e = h.id);
@@ -3749,7 +3751,7 @@ const K = (e, t) => {
3749
3751
  throw new Error(
3750
3752
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3751
3753
  );
3752
- let u = jt(e, l);
3754
+ let u = Vt(e, l);
3753
3755
  if (!u)
3754
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;
3755
3757
  else if (typeof u != "string")
@@ -3760,7 +3762,7 @@ const K = (e, t) => {
3760
3762
  return u;
3761
3763
  let f = u;
3762
3764
  try {
3763
- f = ii(u, l).format(o);
3765
+ f = si(u, l).format(o);
3764
3766
  } catch (c) {
3765
3767
  c instanceof Error && console.warn(
3766
3768
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3768,20 +3770,20 @@ const K = (e, t) => {
3768
3770
  );
3769
3771
  }
3770
3772
  return f;
3771
- }, oi = (e, t) => ni(t).format(e), ai = (e, t) => ri(t).format(e), hi = (e, t) => ti(t).format(e), ui = (e, t = P()) => jt(e, t), li = z([M, re], () => si);
3772
- z([M], () => oi);
3773
- z([M], () => ai);
3774
- z([M], () => hi);
3775
- z([M, re], () => ui);
3776
- function lt(e, t) {
3777
- Vt(e, t);
3778
- }
3779
- function fi(e) {
3780
- jn({
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);
3778
+ function ct(e, t) {
3779
+ zt(e, t);
3780
+ }
3781
+ function ci(e) {
3782
+ kn({
3781
3783
  fallbackLocale: "en"
3782
3784
  }), M.set(e);
3783
3785
  }
3784
- const ft = {
3786
+ const mt = {
3785
3787
  en: {
3786
3788
  header: {
3787
3789
  general: "Cashier",
@@ -3804,18 +3806,18 @@ const ft = {
3804
3806
  }
3805
3807
  }
3806
3808
  };
3807
- function ci(e) {
3808
- tr(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}");
3809
+ function mi(e) {
3810
+ 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}");
3809
3811
  }
3810
- const mi = (e) => ({}), ct = (e) => ({}), pi = (e) => ({}), mt = (e) => ({}), di = (e) => ({}), pt = (e) => ({});
3811
- function dt(e) {
3812
+ const pi = (e) => ({}), pt = (e) => ({}), di = (e) => ({}), dt = (e) => ({}), bi = (e) => ({}), bt = (e) => ({});
3813
+ function gt(e) {
3812
3814
  let t, r, n;
3813
3815
  return {
3814
3816
  c() {
3815
- 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>', te(t, "class", "CashierHeaderLeftButton");
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");
3816
3818
  },
3817
3819
  m(i, s) {
3818
- I(i, t, s), r || (n = vt(
3820
+ I(i, t, s), r || (n = Bt(
3819
3821
  t,
3820
3822
  "click",
3821
3823
  /*back*/
@@ -3828,28 +3830,28 @@ function dt(e) {
3828
3830
  }
3829
3831
  };
3830
3832
  }
3831
- function bi(e) {
3833
+ function gi(e) {
3832
3834
  let t, r = (
3833
3835
  /*backButton*/
3834
- e[1] && dt(e)
3836
+ e[1] && gt(e)
3835
3837
  );
3836
3838
  return {
3837
3839
  c() {
3838
- r && r.c(), t = Et();
3840
+ r && r.c(), t = Ht();
3839
3841
  },
3840
3842
  m(n, i) {
3841
3843
  r && r.m(n, i), I(n, t, i);
3842
3844
  },
3843
3845
  p(n, i) {
3844
3846
  /*backButton*/
3845
- n[1] ? r ? r.p(n, i) : (r = dt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3847
+ n[1] ? r ? r.p(n, i) : (r = gt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3846
3848
  },
3847
3849
  d(n) {
3848
3850
  n && O(t), r && r.d(n);
3849
3851
  }
3850
3852
  };
3851
3853
  }
3852
- function gi(e) {
3854
+ function _i(e) {
3853
3855
  let t, r = (
3854
3856
  /*$_*/
3855
3857
  e[4](
@@ -3859,7 +3861,7 @@ function gi(e) {
3859
3861
  ), n;
3860
3862
  return {
3861
3863
  c() {
3862
- t = W("span"), n = ke(r), te(t, "class", "CashierHeaderTitle");
3864
+ t = z("span"), n = ke(r), te(t, "class", "CashierHeaderTitle");
3863
3865
  },
3864
3866
  m(i, s) {
3865
3867
  I(i, t, s), fe(t, n);
@@ -3870,21 +3872,21 @@ function gi(e) {
3870
3872
  i[4](
3871
3873
  /*titleText*/
3872
3874
  i[2]
3873
- ) + "") && sr(n, r);
3875
+ ) + "") && ar(n, r);
3874
3876
  },
3875
3877
  d(i) {
3876
3878
  i && O(t);
3877
3879
  }
3878
3880
  };
3879
3881
  }
3880
- function bt(e) {
3882
+ function _t(e) {
3881
3883
  let t, r, n;
3882
3884
  return {
3883
3885
  c() {
3884
- 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>', te(t, "class", "CashierHeaderRightButton");
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");
3885
3887
  },
3886
3888
  m(i, s) {
3887
- I(i, t, s), r || (n = vt(
3889
+ I(i, t, s), r || (n = Bt(
3888
3890
  t,
3889
3891
  "click",
3890
3892
  /*close*/
@@ -3897,28 +3899,28 @@ function bt(e) {
3897
3899
  }
3898
3900
  };
3899
3901
  }
3900
- function _i(e) {
3902
+ function yi(e) {
3901
3903
  let t, r = (
3902
3904
  /*closeButton*/
3903
- e[3] && bt(e)
3905
+ e[3] && _t(e)
3904
3906
  );
3905
3907
  return {
3906
3908
  c() {
3907
- r && r.c(), t = Et();
3909
+ r && r.c(), t = Ht();
3908
3910
  },
3909
3911
  m(n, i) {
3910
3912
  r && r.m(n, i), I(n, t, i);
3911
3913
  },
3912
3914
  p(n, i) {
3913
3915
  /*closeButton*/
3914
- n[3] ? r ? r.p(n, i) : (r = bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3916
+ n[3] ? r ? r.p(n, i) : (r = _t(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3915
3917
  },
3916
3918
  d(n) {
3917
3919
  n && O(t), r && r.d(n);
3918
3920
  }
3919
3921
  };
3920
3922
  }
3921
- function yi(e) {
3923
+ function xi(e) {
3922
3924
  let t, r, n, i;
3923
3925
  const s = (
3924
3926
  /*#slots*/
@@ -3928,8 +3930,8 @@ function yi(e) {
3928
3930
  e,
3929
3931
  /*$$scope*/
3930
3932
  e[14],
3931
- pt
3932
- ), o = h || bi(e), l = (
3933
+ bt
3934
+ ), o = h || gi(e), l = (
3933
3935
  /*#slots*/
3934
3936
  e[15].title
3935
3937
  ), a = ye(
@@ -3937,8 +3939,8 @@ function yi(e) {
3937
3939
  e,
3938
3940
  /*$$scope*/
3939
3941
  e[14],
3940
- mt
3941
- ), u = a || gi(e), f = (
3942
+ dt
3943
+ ), u = a || _i(e), f = (
3942
3944
  /*#slots*/
3943
3945
  e[15].rightButton
3944
3946
  ), c = ye(
@@ -3946,11 +3948,11 @@ function yi(e) {
3946
3948
  e,
3947
3949
  /*$$scope*/
3948
3950
  e[14],
3949
- ct
3950
- ), p = c || _i(e);
3951
+ pt
3952
+ ), p = c || yi(e);
3951
3953
  return {
3952
3954
  c() {
3953
- t = W("div"), o && o.c(), r = Ze(), u && u.c(), n = Ze(), p && p.c(), te(t, "class", "CashierHeader");
3955
+ t = z("div"), o && o.c(), r = Je(), u && u.c(), n = Je(), p && p.c(), te(t, "class", "CashierHeader");
3954
3956
  },
3955
3957
  m(m, g) {
3956
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;
@@ -3968,12 +3970,12 @@ function yi(e) {
3968
3970
  /*$$scope*/
3969
3971
  m[14],
3970
3972
  g,
3971
- di
3973
+ bi
3972
3974
  ) : ve(
3973
3975
  /*$$scope*/
3974
3976
  m[14]
3975
3977
  ),
3976
- pt
3978
+ bt
3977
3979
  ) : o && o.p && (!i || g & /*backButton*/
3978
3980
  2) && o.p(m, i ? g : -1), a ? a.p && (!i || g & /*$$scope*/
3979
3981
  16384) && Ee(
@@ -3987,12 +3989,12 @@ function yi(e) {
3987
3989
  /*$$scope*/
3988
3990
  m[14],
3989
3991
  g,
3990
- pi
3992
+ di
3991
3993
  ) : ve(
3992
3994
  /*$$scope*/
3993
3995
  m[14]
3994
3996
  ),
3995
- mt
3997
+ dt
3996
3998
  ) : u && u.p && (!i || g & /*$_, titleText*/
3997
3999
  20) && u.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
3998
4000
  16384) && Ee(
@@ -4006,12 +4008,12 @@ function yi(e) {
4006
4008
  /*$$scope*/
4007
4009
  m[14],
4008
4010
  g,
4009
- mi
4011
+ pi
4010
4012
  ) : ve(
4011
4013
  /*$$scope*/
4012
4014
  m[14]
4013
4015
  ),
4014
- ct
4016
+ pt
4015
4017
  ) : p && p.p && (!i || g & /*closeButton*/
4016
4018
  8) && p.p(m, i ? g : -1);
4017
4019
  },
@@ -4026,22 +4028,22 @@ function yi(e) {
4026
4028
  }
4027
4029
  };
4028
4030
  }
4029
- function xi(e, t, r) {
4031
+ function Ei(e, t, r) {
4030
4032
  let n;
4031
- er(e, li, (_) => r(4, n = _));
4033
+ rr(e, fi, (_) => r(4, n = _));
4032
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;
4033
4035
  const L = () => {
4034
4036
  let _ = l;
4035
4037
  _ && fetch(_).then((w) => w.json()).then((w) => {
4036
4038
  Object.keys(w).forEach((R) => {
4037
- lt(R, w[R]);
4039
+ ct(R, w[R]);
4038
4040
  });
4039
4041
  }).catch((w) => {
4040
4042
  console.log(w);
4041
4043
  });
4042
4044
  };
4043
- Object.keys(ft).forEach((_) => {
4044
- lt(_, ft[_]);
4045
+ Object.keys(mt).forEach((_) => {
4046
+ ct(_, mt[_]);
4045
4047
  });
4046
4048
  const A = () => {
4047
4049
  let _ = document.createElement("style");
@@ -4057,19 +4059,19 @@ function xi(e, t, r) {
4057
4059
  );
4058
4060
  });
4059
4061
  }, N = () => {
4060
- fi(f);
4062
+ ci(f);
4061
4063
  }, T = () => {
4062
4064
  window.postMessage({ type: "CloseCashier" }, window.location.href);
4063
4065
  }, $ = () => {
4064
4066
  window.postMessage({ type: "BackCashier" }, window.location.href);
4065
4067
  }, ie = () => {
4066
4068
  r(1, m = !!a && a !== "false");
4067
- }, Qt = () => {
4069
+ }, qt = () => {
4068
4070
  r(3, v = !!c && c !== "false");
4069
- }, Jt = () => {
4071
+ }, Yt = () => {
4070
4072
  r(2, g = u || "header.general");
4071
4073
  };
4072
- function qt(_) {
4074
+ function Kt(_) {
4073
4075
  Pe[_ ? "unshift" : "push"](() => {
4074
4076
  p = _, r(0, p);
4075
4077
  });
@@ -4079,12 +4081,12 @@ function xi(e, t, r) {
4079
4081
  }, e.$$.update = () => {
4080
4082
  e.$$.dirty & /*lang*/
4081
4083
  4096 && f && N(), e.$$.dirty & /*lang, title*/
4082
- 6144 && f && u && Jt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4084
+ 6144 && f && u && Yt(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4083
4085
  129 && h && p && A(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4084
4086
  257 && o && p && H(), e.$$.dirty & /*lang, translationurl*/
4085
4087
  4608 && f && l && L(), e.$$.dirty & /*showbackbutton*/
4086
4088
  1024 && a && ie(), e.$$.dirty & /*showclosebutton*/
4087
- 8192 && c && Qt();
4089
+ 8192 && c && qt();
4088
4090
  }, [
4089
4091
  p,
4090
4092
  m,
@@ -4102,17 +4104,17 @@ function xi(e, t, r) {
4102
4104
  c,
4103
4105
  s,
4104
4106
  i,
4105
- qt
4107
+ Kt
4106
4108
  ];
4107
4109
  }
4108
- class Ei extends gr {
4110
+ class vi extends yr {
4109
4111
  constructor(t) {
4110
- super(), dr(
4112
+ super(), gr(
4111
4113
  this,
4112
4114
  t,
4115
+ Ei,
4113
4116
  xi,
4114
- yi,
4115
- _t,
4117
+ xt,
4116
4118
  {
4117
4119
  clientstyling: 7,
4118
4120
  clientstylingurl: 8,
@@ -4122,7 +4124,7 @@ class Ei extends gr {
4122
4124
  lang: 12,
4123
4125
  showclosebutton: 13
4124
4126
  },
4125
- ci
4127
+ mi
4126
4128
  );
4127
4129
  }
4128
4130
  get clientstyling() {
@@ -4168,7 +4170,7 @@ class Ei extends gr {
4168
4170
  this.$$set({ showclosebutton: t }), S();
4169
4171
  }
4170
4172
  }
4171
- br(Ei, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4173
+ _r(vi, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4172
4174
  export {
4173
- Ei as C
4175
+ vi as C
4174
4176
  };