@everymatrix/cashier-header 1.86.4 → 1.86.6

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.
@@ -2,15 +2,15 @@ var ir = Object.defineProperty, sr = Object.defineProperties;
2
2
  var or = Object.getOwnPropertyDescriptors;
3
3
  var Je = Object.getOwnPropertySymbols;
4
4
  var ar = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable;
5
- var ye = (e, t, r) => t in e ? ir(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
5
+ var xe = (e, t, r) => t in e ? ir(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- ar.call(t, r) && ye(e, r, t[r]);
7
+ ar.call(t, r) && xe(e, r, t[r]);
8
8
  if (Je)
9
9
  for (var r of Je(t))
10
- ur.call(t, r) && ye(e, r, t[r]);
10
+ ur.call(t, r) && xe(e, r, t[r]);
11
11
  return e;
12
12
  }, Ye = (e, t) => sr(e, or(t));
13
- var B = (e, t, r) => (ye(e, typeof t != "symbol" ? t + "" : t, r), r);
13
+ var B = (e, t, r) => (xe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var Ke = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (l) => {
16
16
  try {
@@ -43,10 +43,10 @@ function Bt(e) {
43
43
  function et() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
- function ee(e) {
46
+ function te(e) {
47
47
  e.forEach(Bt);
48
48
  }
49
- function ke(e) {
49
+ function Xe(e) {
50
50
  return typeof e == "function";
51
51
  }
52
52
  function Tt(e, t) {
@@ -67,7 +67,7 @@ function wt(e, ...t) {
67
67
  function fr(e, t, r) {
68
68
  e.$$.on_destroy.push(wt(t, r));
69
69
  }
70
- function xe(e, t, r, n) {
70
+ function ve(e, t, r, n) {
71
71
  if (e) {
72
72
  const i = St(e, t, r, n);
73
73
  return e[0](i);
@@ -76,7 +76,7 @@ function xe(e, t, r, n) {
76
76
  function St(e, t, r, n) {
77
77
  return e[1] && n ? hr(r.ctx.slice(), e[1](n(t))) : r.ctx;
78
78
  }
79
- function Ee(e, t, r, n) {
79
+ function He(e, t, r, n) {
80
80
  if (e[2] && n) {
81
81
  const i = e[2](n(r));
82
82
  if (t.dirty === void 0)
@@ -91,13 +91,13 @@ function Ee(e, t, r, n) {
91
91
  }
92
92
  return t.dirty;
93
93
  }
94
- function ve(e, t, r, n, i, s) {
94
+ function Be(e, t, r, n, i, s) {
95
95
  if (i) {
96
96
  const a = St(t, r, n, s);
97
97
  e.p(a, i);
98
98
  }
99
99
  }
100
- function He(e) {
100
+ function Te(e) {
101
101
  if (e.ctx.length > 32) {
102
102
  const t = [], r = e.ctx.length / 32;
103
103
  for (let n = 0; n < r; n++)
@@ -106,14 +106,14 @@ function He(e) {
106
106
  }
107
107
  return -1;
108
108
  }
109
- function fe(e, t) {
109
+ function ce(e, t) {
110
110
  e.appendChild(t);
111
111
  }
112
112
  function cr(e, t, r) {
113
113
  const n = mr(e);
114
114
  if (!n.getElementById(t)) {
115
- const i = X("style");
116
- i.id = t, i.textContent = r, dr(n, i);
115
+ const i = z("style");
116
+ i.id = t, i.textContent = r, pr(n, i);
117
117
  }
118
118
  }
119
119
  function mr(e) {
@@ -126,38 +126,38 @@ function mr(e) {
126
126
  t
127
127
  ) : e.ownerDocument;
128
128
  }
129
- function dr(e, t) {
130
- return fe(
129
+ function pr(e, t) {
130
+ return ce(
131
131
  /** @type {Document} */
132
132
  e.head || e,
133
133
  t
134
134
  ), t.sheet;
135
135
  }
136
- function I(e, t, r) {
136
+ function M(e, t, r) {
137
137
  e.insertBefore(t, r || null);
138
138
  }
139
- function P(e) {
139
+ function L(e) {
140
140
  e.parentNode && e.parentNode.removeChild(e);
141
141
  }
142
- function X(e) {
142
+ function z(e) {
143
143
  return document.createElement(e);
144
144
  }
145
- function Ve(e) {
145
+ function ze(e) {
146
146
  return document.createTextNode(e);
147
147
  }
148
148
  function tt() {
149
- return Ve(" ");
149
+ return ze(" ");
150
150
  }
151
151
  function At() {
152
- return Ve("");
152
+ return ze("");
153
153
  }
154
- function Ct(e, t, r, n) {
154
+ function Ot(e, t, r, n) {
155
155
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
156
156
  }
157
- function te(e, t, r) {
157
+ function re(e, t, r) {
158
158
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
159
159
  }
160
- function pr(e) {
160
+ function dr(e) {
161
161
  return Array.from(e.childNodes);
162
162
  }
163
163
  function br(e, t) {
@@ -173,97 +173,97 @@ function gr(e) {
173
173
  }
174
174
  ), t;
175
175
  }
176
- let q;
177
- function J(e) {
178
- q = e;
176
+ let Y;
177
+ function q(e) {
178
+ Y = e;
179
179
  }
180
180
  function _r() {
181
- if (!q)
181
+ if (!Y)
182
182
  throw new Error("Function called outside component initialization");
183
- return q;
183
+ return Y;
184
184
  }
185
185
  function yr(e) {
186
186
  _r().$$.on_mount.push(e);
187
187
  }
188
- const D = [], Le = [];
189
- let G = [];
190
- const rt = [], xr = /* @__PURE__ */ Promise.resolve();
191
- let Ne = !1;
192
- function Er() {
193
- Ne || (Ne = !0, xr.then(w));
188
+ const G = [], Ie = [];
189
+ let F = [];
190
+ const rt = [], Er = /* @__PURE__ */ Promise.resolve();
191
+ let Me = !1;
192
+ function xr() {
193
+ Me || (Me = !0, Er.then(w));
194
194
  }
195
- function Ie(e) {
196
- G.push(e);
195
+ function $e(e) {
196
+ F.push(e);
197
197
  }
198
- const Be = /* @__PURE__ */ new Set();
199
- let $ = 0;
198
+ const we = /* @__PURE__ */ new Set();
199
+ let U = 0;
200
200
  function w() {
201
- if ($ !== 0)
201
+ if (U !== 0)
202
202
  return;
203
- const e = q;
203
+ const e = Y;
204
204
  do {
205
205
  try {
206
- for (; $ < D.length; ) {
207
- const t = D[$];
208
- $++, J(t), vr(t.$$);
206
+ for (; U < G.length; ) {
207
+ const t = G[U];
208
+ U++, q(t), vr(t.$$);
209
209
  }
210
210
  } catch (t) {
211
- throw D.length = 0, $ = 0, t;
211
+ throw G.length = 0, U = 0, t;
212
212
  }
213
- for (J(null), D.length = 0, $ = 0; Le.length; )
214
- Le.pop()();
215
- for (let t = 0; t < G.length; t += 1) {
216
- const r = G[t];
217
- Be.has(r) || (Be.add(r), r());
213
+ for (q(null), G.length = 0, U = 0; Ie.length; )
214
+ Ie.pop()();
215
+ for (let t = 0; t < F.length; t += 1) {
216
+ const r = F[t];
217
+ we.has(r) || (we.add(r), r());
218
218
  }
219
- G.length = 0;
220
- } while (D.length);
219
+ F.length = 0;
220
+ } while (G.length);
221
221
  for (; rt.length; )
222
222
  rt.pop()();
223
- Ne = !1, Be.clear(), J(e);
223
+ Me = !1, we.clear(), q(e);
224
224
  }
225
225
  function vr(e) {
226
226
  if (e.fragment !== null) {
227
- e.update(), ee(e.before_update);
227
+ e.update(), te(e.before_update);
228
228
  const t = e.dirty;
229
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
229
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
230
230
  }
231
231
  }
232
232
  function Hr(e) {
233
233
  const t = [], r = [];
234
- G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
234
+ F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
235
235
  }
236
- const oe = /* @__PURE__ */ new Set();
236
+ const ae = /* @__PURE__ */ new Set();
237
237
  let Br;
238
- function ae(e, t) {
239
- e && e.i && (oe.delete(e), e.i(t));
238
+ function ue(e, t) {
239
+ e && e.i && (ae.delete(e), e.i(t));
240
240
  }
241
- function Te(e, t, r, n) {
241
+ function Se(e, t, r, n) {
242
242
  if (e && e.o) {
243
- if (oe.has(e))
243
+ if (ae.has(e))
244
244
  return;
245
- oe.add(e), Br.c.push(() => {
246
- oe.delete(e);
245
+ ae.add(e), Br.c.push(() => {
246
+ ae.delete(e);
247
247
  }), e.o(t);
248
248
  }
249
249
  }
250
250
  function Tr(e, t, r) {
251
251
  const { fragment: n, after_update: i } = e.$$;
252
- n && n.m(t, r), Ie(() => {
253
- const s = e.$$.on_mount.map(Bt).filter(ke);
254
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ee(s), e.$$.on_mount = [];
255
- }), i.forEach(Ie);
252
+ n && n.m(t, r), $e(() => {
253
+ const s = e.$$.on_mount.map(Bt).filter(Xe);
254
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
255
+ }), i.forEach($e);
256
256
  }
257
257
  function wr(e, t) {
258
258
  const r = e.$$;
259
- r.fragment !== null && (Hr(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
259
+ r.fragment !== null && (Hr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
260
260
  }
261
261
  function Sr(e, t) {
262
- e.$$.dirty[0] === -1 && (D.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
262
+ e.$$.dirty[0] === -1 && (G.push(e), xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
263
263
  }
264
264
  function Ar(e, t, r, n, i, s, a = null, o = [-1]) {
265
- const l = q;
266
- J(e);
265
+ const l = Y;
266
+ q(e);
267
267
  const u = e.$$ = {
268
268
  fragment: null,
269
269
  ctx: [],
@@ -287,21 +287,21 @@ function Ar(e, t, r, n, i, s, a = null, o = [-1]) {
287
287
  };
288
288
  a && a(u.root);
289
289
  let h = !1;
290
- if (u.ctx = r ? r(e, t.props || {}, (c, m, ...d) => {
291
- const f = d.length ? d[0] : m;
290
+ if (u.ctx = r ? r(e, t.props || {}, (c, m, ...p) => {
291
+ const f = p.length ? p[0] : m;
292
292
  return u.ctx && i(u.ctx[c], u.ctx[c] = f) && (!u.skip_bound && u.bound[c] && u.bound[c](f), h && Sr(e, c)), m;
293
- }) : [], u.update(), h = !0, ee(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
293
+ }) : [], u.update(), h = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
294
294
  if (t.hydrate) {
295
- const c = pr(t.target);
296
- u.fragment && u.fragment.l(c), c.forEach(P);
295
+ const c = dr(t.target);
296
+ u.fragment && u.fragment.l(c), c.forEach(L);
297
297
  } else
298
298
  u.fragment && u.fragment.c();
299
- t.intro && ae(e.$$.fragment), Tr(e, t.target, t.anchor), w();
299
+ t.intro && ue(e.$$.fragment), Tr(e, t.target, t.anchor), w();
300
300
  }
301
- J(l);
301
+ q(l);
302
302
  }
303
- let Ot;
304
- typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
303
+ let Pt;
304
+ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
305
305
  constructor(t, r, n) {
306
306
  super();
307
307
  /** The Svelte component constructor */
@@ -345,17 +345,17 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
345
345
  let a;
346
346
  return {
347
347
  c: function() {
348
- a = X("slot"), s !== "default" && te(a, "name", s);
348
+ a = z("slot"), s !== "default" && re(a, "name", s);
349
349
  },
350
350
  /**
351
351
  * @param {HTMLElement} target
352
352
  * @param {HTMLElement} [anchor]
353
353
  */
354
354
  m: function(u, h) {
355
- I(u, a, h);
355
+ M(u, a, h);
356
356
  },
357
357
  d: function(u) {
358
- u && P(a);
358
+ u && L(a);
359
359
  }
360
360
  };
361
361
  };
@@ -367,7 +367,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
367
367
  s in n && (r[s] = [t(s)]);
368
368
  for (const s of this.attributes) {
369
369
  const a = this.$$g_p(s.name);
370
- a in this.$$d || (this.$$d[a] = ue(a, s.value, this.$$p_d, "toProp"));
370
+ a in this.$$d || (this.$$d[a] = he(a, s.value, this.$$p_d, "toProp"));
371
371
  }
372
372
  for (const s in this.$$p_d)
373
373
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
@@ -384,7 +384,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
384
384
  this.$$r = !0;
385
385
  for (const s in this.$$p_d)
386
386
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
387
- const a = ue(
387
+ const a = he(
388
388
  s,
389
389
  this.$$d[s],
390
390
  this.$$p_d,
@@ -408,7 +408,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
408
408
  // and setting attributes through setAttribute etc, this is helpful
409
409
  attributeChangedCallback(t, r, n) {
410
410
  var i;
411
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ue(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
411
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = he(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
412
412
  }
413
413
  disconnectedCallback() {
414
414
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -421,7 +421,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
421
421
  ) || t;
422
422
  }
423
423
  });
424
- function ue(e, t, r, n) {
424
+ function he(e, t, r, n) {
425
425
  var s;
426
426
  const i = (s = r[e]) == null ? void 0 : s.type;
427
427
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -451,8 +451,8 @@ function ue(e, t, r, n) {
451
451
  return t;
452
452
  }
453
453
  }
454
- function Cr(e, t, r, n, i, s) {
455
- let a = class extends Ot {
454
+ function Or(e, t, r, n, i, s) {
455
+ let a = class extends Pt {
456
456
  constructor() {
457
457
  super(e, r, i), this.$$p_d = t;
458
458
  }
@@ -469,7 +469,7 @@ function Cr(e, t, r, n, i, s) {
469
469
  },
470
470
  set(l) {
471
471
  var u;
472
- l = ue(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
472
+ l = he(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
473
473
  }
474
474
  });
475
475
  }), n.forEach((o) => {
@@ -482,7 +482,7 @@ function Cr(e, t, r, n, i, s) {
482
482
  }), e.element = /** @type {any} */
483
483
  a, a;
484
484
  }
485
- class Or {
485
+ class Pr {
486
486
  constructor() {
487
487
  /**
488
488
  * ### PRIVATE API
@@ -512,7 +512,7 @@ class Or {
512
512
  * @returns {() => void}
513
513
  */
514
514
  $on(t, r) {
515
- if (!ke(r))
515
+ if (!Xe(r))
516
516
  return T;
517
517
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
518
518
  return n.push(r), () => {
@@ -528,26 +528,26 @@ class Or {
528
528
  this.$$set && !lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
529
529
  }
530
530
  }
531
- const Pr = "4";
532
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pr);
533
- const U = [];
531
+ const Cr = "4";
532
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cr);
533
+ const D = [];
534
534
  function Lr(e, t) {
535
535
  return {
536
- subscribe: pe(e, t).subscribe
536
+ subscribe: ge(e, t).subscribe
537
537
  };
538
538
  }
539
- function pe(e, t = T) {
539
+ function ge(e, t = T) {
540
540
  let r;
541
541
  const n = /* @__PURE__ */ new Set();
542
542
  function i(o) {
543
543
  if (Tt(e, o) && (e = o, r)) {
544
- const l = !U.length;
544
+ const l = !D.length;
545
545
  for (const u of n)
546
- u[1](), U.push(u, e);
546
+ u[1](), D.push(u, e);
547
547
  if (l) {
548
- for (let u = 0; u < U.length; u += 2)
549
- U[u][0](U[u + 1]);
550
- U.length = 0;
548
+ for (let u = 0; u < D.length; u += 2)
549
+ D[u][0](D[u + 1]);
550
+ D.length = 0;
551
551
  }
552
552
  }
553
553
  }
@@ -562,7 +562,7 @@ function pe(e, t = T) {
562
562
  }
563
563
  return { set: i, update: s, subscribe: a };
564
564
  }
565
- function z(e, t, r) {
565
+ function W(e, t, r) {
566
566
  const n = !Array.isArray(e), i = n ? [e] : e;
567
567
  if (!i.every(Boolean))
568
568
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -576,8 +576,8 @@ function z(e, t, r) {
576
576
  return;
577
577
  c();
578
578
  const f = t(n ? u[0] : u, a, o);
579
- s ? a(f) : c = ke(f) ? f : T;
580
- }, d = i.map(
579
+ s ? a(f) : c = Xe(f) ? f : T;
580
+ }, p = i.map(
581
581
  (f, _) => wt(
582
582
  f,
583
583
  (v) => {
@@ -589,7 +589,7 @@ function z(e, t, r) {
589
589
  )
590
590
  );
591
591
  return l = !0, m(), function() {
592
- ee(d), c(), l = !1;
592
+ te(p), c(), l = !1;
593
593
  };
594
594
  });
595
595
  }
@@ -597,35 +597,35 @@ function Nr(e) {
597
597
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
598
598
  }
599
599
  var Ir = function(t) {
600
- return Mr(t) && !Rr(t);
600
+ return Mr(t) && !$r(t);
601
601
  };
602
602
  function Mr(e) {
603
603
  return !!e && typeof e == "object";
604
604
  }
605
- function Rr(e) {
605
+ function $r(e) {
606
606
  var t = Object.prototype.toString.call(e);
607
607
  return t === "[object RegExp]" || t === "[object Date]" || Dr(e);
608
608
  }
609
- var $r = typeof Symbol == "function" && Symbol.for, Ur = $r ? Symbol.for("react.element") : 60103;
609
+ var Rr = typeof Symbol == "function" && Symbol.for, Ur = Rr ? Symbol.for("react.element") : 60103;
610
610
  function Dr(e) {
611
611
  return e.$$typeof === Ur;
612
612
  }
613
613
  function Gr(e) {
614
614
  return Array.isArray(e) ? [] : {};
615
615
  }
616
- function Y(e, t) {
617
- return t.clone !== !1 && t.isMergeableObject(e) ? F(Gr(e), e, t) : e;
616
+ function K(e, t) {
617
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(Gr(e), e, t) : e;
618
618
  }
619
619
  function Fr(e, t, r) {
620
620
  return e.concat(t).map(function(n) {
621
- return Y(n, r);
621
+ return K(n, r);
622
622
  });
623
623
  }
624
624
  function jr(e, t) {
625
625
  if (!t.customMerge)
626
- return F;
626
+ return j;
627
627
  var r = t.customMerge(e);
628
- return typeof r == "function" ? r : F;
628
+ return typeof r == "function" ? r : j;
629
629
  }
630
630
  function kr(e) {
631
631
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -635,7 +635,7 @@ function kr(e) {
635
635
  function nt(e) {
636
636
  return Object.keys(e).concat(kr(e));
637
637
  }
638
- function Pt(e, t) {
638
+ function Ct(e, t) {
639
639
  try {
640
640
  return t in e;
641
641
  } catch (r) {
@@ -643,70 +643,56 @@ function Pt(e, t) {
643
643
  }
644
644
  }
645
645
  function Vr(e, t) {
646
- return Pt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
646
+ return Ct(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
647
647
  }
648
648
  function Xr(e, t, r) {
649
649
  var n = {};
650
650
  return r.isMergeableObject(e) && nt(e).forEach(function(i) {
651
- n[i] = Y(e[i], r);
651
+ n[i] = K(e[i], r);
652
652
  }), nt(t).forEach(function(i) {
653
- Vr(e, i) || (Pt(e, i) && r.isMergeableObject(t[i]) ? n[i] = jr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
653
+ Vr(e, i) || (Ct(e, i) && r.isMergeableObject(t[i]) ? n[i] = jr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
654
654
  }), n;
655
655
  }
656
- function F(e, t, r) {
657
- r = r || {}, r.arrayMerge = r.arrayMerge || Fr, r.isMergeableObject = r.isMergeableObject || Ir, r.cloneUnlessOtherwiseSpecified = Y;
656
+ function j(e, t, r) {
657
+ r = r || {}, r.arrayMerge = r.arrayMerge || Fr, r.isMergeableObject = r.isMergeableObject || Ir, r.cloneUnlessOtherwiseSpecified = K;
658
658
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
659
- return s ? n ? r.arrayMerge(e, t, r) : Xr(e, t, r) : Y(t, r);
659
+ return s ? n ? r.arrayMerge(e, t, r) : Xr(e, t, r) : K(t, r);
660
660
  }
661
- F.all = function(t, r) {
661
+ j.all = function(t, r) {
662
662
  if (!Array.isArray(t))
663
663
  throw new Error("first argument should be an array");
664
664
  return t.reduce(function(n, i) {
665
- return F(n, i, r);
665
+ return j(n, i, r);
666
666
  }, {});
667
667
  };
668
- var zr = F, Wr = zr;
668
+ var zr = j, Wr = zr;
669
669
  const Zr = /* @__PURE__ */ Nr(Wr);
670
- /*! *****************************************************************************
671
- Copyright (c) Microsoft Corporation.
672
-
673
- Permission to use, copy, modify, and/or distribute this software for any
674
- purpose with or without fee is hereby granted.
675
-
676
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
677
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
678
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
679
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
680
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
681
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
682
- PERFORMANCE OF THIS SOFTWARE.
683
- ***************************************************************************** */
684
- var Me = function(e, t) {
685
- return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
670
+ var Re = function(e, t) {
671
+ return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
686
672
  r.__proto__ = n;
687
673
  } || function(r, n) {
688
674
  for (var i in n)
689
675
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
690
- }, Me(e, t);
676
+ }, Re(e, t);
691
677
  };
692
- function be(e, t) {
678
+ function _e(e, t) {
693
679
  if (typeof t != "function" && t !== null)
694
680
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
695
- Me(e, t);
681
+ Re(e, t);
696
682
  function r() {
697
683
  this.constructor = e;
698
684
  }
699
685
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
700
686
  }
701
- var y = function() {
702
- return y = Object.assign || function(t) {
687
+ var S = function() {
688
+ return S = Object.assign || function(t) {
703
689
  for (var r, n = 1, i = arguments.length; n < i; n++) {
704
690
  r = arguments[n];
705
691
  for (var s in r)
706
692
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
707
693
  }
708
694
  return t;
709
- }, y.apply(this, arguments);
695
+ }, S.apply(this, arguments);
710
696
  };
711
697
  function Qr(e, t) {
712
698
  var r = {};
@@ -717,14 +703,14 @@ function Qr(e, t) {
717
703
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
718
704
  return r;
719
705
  }
720
- function we(e, t, r) {
721
- if (arguments.length === 2)
706
+ function Ae(e, t, r) {
707
+ if (r || arguments.length === 2)
722
708
  for (var n = 0, i = t.length, s; n < i; n++)
723
709
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
724
- return e.concat(s || t);
710
+ return e.concat(s || Array.prototype.slice.call(t));
725
711
  }
726
- function Se(e, t) {
727
- var r = t && t.cache ? t.cache : tn, n = t && t.serializer ? t.serializer : en, i = t && t.strategy ? t.strategy : qr;
712
+ function Oe(e, t) {
713
+ var r = t && t.cache ? t.cache : rn, n = t && t.serializer ? t.serializer : en, i = t && t.strategy ? t.strategy : Yr;
728
714
  return i(e, {
729
715
  cache: r,
730
716
  serializer: n
@@ -733,95 +719,103 @@ function Se(e, t) {
733
719
  function Jr(e) {
734
720
  return e == null || typeof e == "number" || typeof e == "boolean";
735
721
  }
736
- function Lt(e, t, r, n) {
722
+ function qr(e, t, r, n) {
737
723
  var i = Jr(n) ? n : r(n), s = t.get(i);
738
724
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
739
725
  }
740
- function Nt(e, t, r) {
726
+ function Lt(e, t, r) {
741
727
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
742
728
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
743
729
  }
744
- function Xe(e, t, r, n, i) {
730
+ function Nt(e, t, r, n, i) {
745
731
  return r.bind(t, e, n, i);
746
732
  }
747
- function qr(e, t) {
748
- var r = e.length === 1 ? Lt : Nt;
749
- return Xe(e, this, r, t.cache.create(), t.serializer);
750
- }
751
733
  function Yr(e, t) {
752
- return Xe(e, this, Nt, t.cache.create(), t.serializer);
734
+ var r = e.length === 1 ? qr : Lt;
735
+ return Nt(e, this, r, t.cache.create(), t.serializer);
753
736
  }
754
737
  function Kr(e, t) {
755
- return Xe(e, this, Lt, t.cache.create(), t.serializer);
738
+ return Nt(e, this, Lt, t.cache.create(), t.serializer);
756
739
  }
757
740
  var en = function() {
758
741
  return JSON.stringify(arguments);
759
- };
760
- function ze() {
761
- this.cache = /* @__PURE__ */ Object.create(null);
762
- }
763
- ze.prototype.get = function(e) {
764
- return this.cache[e];
765
- };
766
- ze.prototype.set = function(e, t) {
767
- this.cache[e] = t;
768
- };
769
- var tn = {
742
+ }, tn = (
743
+ /** @class */
744
+ function() {
745
+ function e() {
746
+ this.cache = /* @__PURE__ */ Object.create(null);
747
+ }
748
+ return e.prototype.get = function(t) {
749
+ return this.cache[t];
750
+ }, e.prototype.set = function(t, r) {
751
+ this.cache[t] = r;
752
+ }, e;
753
+ }()
754
+ ), rn = {
770
755
  create: function() {
771
- return new ze();
756
+ return new tn();
772
757
  }
773
- }, Ae = {
774
- variadic: Yr,
775
- monadic: Kr
776
- }, p;
758
+ }, Pe = {
759
+ variadic: Kr
760
+ }, me = function() {
761
+ return me = Object.assign || function(t) {
762
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
763
+ r = arguments[n];
764
+ for (var s in r)
765
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
766
+ }
767
+ return t;
768
+ }, me.apply(this, arguments);
769
+ };
770
+ var d;
777
771
  (function(e) {
778
772
  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";
779
- })(p || (p = {}));
780
- var x;
773
+ })(d || (d = {}));
774
+ var y;
781
775
  (function(e) {
782
776
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
783
- })(x || (x = {}));
784
- var j;
777
+ })(y || (y = {}));
778
+ var k;
785
779
  (function(e) {
786
780
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
787
- })(j || (j = {}));
781
+ })(k || (k = {}));
788
782
  function it(e) {
789
- return e.type === x.literal;
783
+ return e.type === y.literal;
790
784
  }
791
- function rn(e) {
792
- return e.type === x.argument;
785
+ function nn(e) {
786
+ return e.type === y.argument;
793
787
  }
794
788
  function It(e) {
795
- return e.type === x.number;
789
+ return e.type === y.number;
796
790
  }
797
791
  function Mt(e) {
798
- return e.type === x.date;
799
- }
800
- function Rt(e) {
801
- return e.type === x.time;
792
+ return e.type === y.date;
802
793
  }
803
794
  function $t(e) {
804
- return e.type === x.select;
795
+ return e.type === y.time;
796
+ }
797
+ function Rt(e) {
798
+ return e.type === y.select;
805
799
  }
806
800
  function Ut(e) {
807
- return e.type === x.plural;
801
+ return e.type === y.plural;
808
802
  }
809
- function nn(e) {
810
- return e.type === x.pound;
803
+ function sn(e) {
804
+ return e.type === y.pound;
811
805
  }
812
806
  function Dt(e) {
813
- return e.type === x.tag;
807
+ return e.type === y.tag;
814
808
  }
815
809
  function Gt(e) {
816
- return !!(e && typeof e == "object" && e.type === j.number);
810
+ return !!(e && typeof e == "object" && e.type === k.number);
817
811
  }
818
- function Re(e) {
819
- return !!(e && typeof e == "object" && e.type === j.dateTime);
812
+ function Ue(e) {
813
+ return !!(e && typeof e == "object" && e.type === k.dateTime);
820
814
  }
821
- var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, sn = /(?:[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;
822
- function on(e) {
815
+ var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, on = /(?:[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;
816
+ function an(e) {
823
817
  var t = {};
824
- return e.replace(sn, function(r) {
818
+ return e.replace(on, function(r) {
825
819
  var n = r.length;
826
820
  switch (r[0]) {
827
821
  case "G":
@@ -910,11 +904,21 @@ function on(e) {
910
904
  return "";
911
905
  }), t;
912
906
  }
913
- var an = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
914
- function un(e) {
907
+ var E = function() {
908
+ return E = Object.assign || function(t) {
909
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
910
+ r = arguments[n];
911
+ for (var s in r)
912
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
913
+ }
914
+ return t;
915
+ }, E.apply(this, arguments);
916
+ };
917
+ var un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
918
+ function hn(e) {
915
919
  if (e.length === 0)
916
920
  throw new Error("Number skeleton cannot be empty");
917
- for (var t = e.split(an).filter(function(m) {
921
+ for (var t = e.split(un).filter(function(m) {
918
922
  return m.length > 0;
919
923
  }), r = [], n = 0, i = t; n < i.length; n++) {
920
924
  var s = i[n], a = s.split("/");
@@ -929,10 +933,10 @@ function un(e) {
929
933
  }
930
934
  return r;
931
935
  }
932
- function hn(e) {
936
+ function ln(e) {
933
937
  return e.replace(/^(.*?)-/, "");
934
938
  }
935
- var st = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, ln = /(\*)(0+)|(#+)(0+)|(0+)/g, kt = /^(0+)$/;
939
+ var st = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, fn = /(\*)(0+)|(#+)(0+)|(0+)/g, kt = /^(0+)$/;
936
940
  function ot(e) {
937
941
  var t = {};
938
942
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
@@ -979,7 +983,7 @@ function Vt(e) {
979
983
  };
980
984
  }
981
985
  }
982
- function fn(e) {
986
+ function cn(e) {
983
987
  var t;
984
988
  if (e[0] === "E" && e[1] === "E" ? (t = {
985
989
  notation: "engineering"
@@ -997,7 +1001,7 @@ function at(e) {
997
1001
  var t = {}, r = Vt(e);
998
1002
  return r || t;
999
1003
  }
1000
- function cn(e) {
1004
+ function mn(e) {
1001
1005
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1002
1006
  var i = n[r];
1003
1007
  switch (i.stem) {
@@ -1021,7 +1025,7 @@ function cn(e) {
1021
1025
  continue;
1022
1026
  case "measure-unit":
1023
1027
  case "unit":
1024
- t.style = "unit", t.unit = hn(i.options[0]);
1028
+ t.style = "unit", t.unit = ln(i.options[0]);
1025
1029
  continue;
1026
1030
  case "compact-short":
1027
1031
  case "K":
@@ -1032,13 +1036,13 @@ function cn(e) {
1032
1036
  t.notation = "compact", t.compactDisplay = "long";
1033
1037
  continue;
1034
1038
  case "scientific":
1035
- t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1036
- return y(y({}, l), at(u));
1039
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1040
+ return E(E({}, l), at(u));
1037
1041
  }, {}));
1038
1042
  continue;
1039
1043
  case "engineering":
1040
- t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1041
- return y(y({}, l), at(u));
1044
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1045
+ return E(E({}, l), at(u));
1042
1046
  }, {}));
1043
1047
  continue;
1044
1048
  case "notation-simple":
@@ -1083,13 +1087,13 @@ function cn(e) {
1083
1087
  case "integer-width":
1084
1088
  if (i.options.length > 1)
1085
1089
  throw new RangeError("integer-width stems only accept a single optional option");
1086
- i.options[0].replace(ln, function(l, u, h, c, m, d) {
1090
+ i.options[0].replace(fn, function(l, u, h, c, m, p) {
1087
1091
  if (u)
1088
1092
  t.minimumIntegerDigits = h.length;
1089
1093
  else {
1090
1094
  if (c && m)
1091
1095
  throw new Error("We currently do not support maximum integer digits");
1092
- if (d)
1096
+ if (p)
1093
1097
  throw new Error("We currently do not support exact integer digits");
1094
1098
  }
1095
1099
  return "";
@@ -1103,25 +1107,25 @@ function cn(e) {
1103
1107
  if (st.test(i.stem)) {
1104
1108
  if (i.options.length > 1)
1105
1109
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1106
- i.stem.replace(st, function(l, u, h, c, m, d) {
1107
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && d ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1110
+ i.stem.replace(st, function(l, u, h, c, m, p) {
1111
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && p ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1108
1112
  });
1109
1113
  var s = i.options[0];
1110
- s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), ot(s)));
1114
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), ot(s)));
1111
1115
  continue;
1112
1116
  }
1113
1117
  if (jt.test(i.stem)) {
1114
- t = y(y({}, t), ot(i.stem));
1118
+ t = E(E({}, t), ot(i.stem));
1115
1119
  continue;
1116
1120
  }
1117
1121
  var a = Vt(i.stem);
1118
- a && (t = y(y({}, t), a));
1119
- var o = fn(i.stem);
1120
- o && (t = y(y({}, t), o));
1122
+ a && (t = E(E({}, t), a));
1123
+ var o = cn(i.stem);
1124
+ o && (t = E(E({}, t), o));
1121
1125
  }
1122
1126
  return t;
1123
1127
  }
1124
- var se = {
1128
+ var oe = {
1125
1129
  "001": [
1126
1130
  "H",
1127
1131
  "h"
@@ -2536,7 +2540,7 @@ var se = {
2536
2540
  "h"
2537
2541
  ]
2538
2542
  };
2539
- function mn(e, t) {
2543
+ function pn(e, t) {
2540
2544
  for (var r = "", n = 0; n < e.length; n++) {
2541
2545
  var i = e.charAt(n);
2542
2546
  if (i === "j") {
@@ -2571,23 +2575,23 @@ function dn(e) {
2571
2575
  }
2572
2576
  var r = e.language, n;
2573
2577
  r !== "root" && (n = e.maximize().region);
2574
- var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
2578
+ var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
2575
2579
  return i[0];
2576
2580
  }
2577
- var Ce, pn = new RegExp("^".concat(Ft.source, "*")), bn = new RegExp("".concat(Ft.source, "*$"));
2581
+ var Ce, bn = new RegExp("^".concat(Ft.source, "*")), gn = new RegExp("".concat(Ft.source, "*$"));
2578
2582
  function b(e, t) {
2579
2583
  return { start: e, end: t };
2580
2584
  }
2581
- var gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), _n = !!String.fromCodePoint, yn = !!Object.fromEntries, xn = !!String.prototype.codePointAt, En = !!String.prototype.trimStart, vn = !!String.prototype.trimEnd, Hn = !!Number.isSafeInteger, Bn = Hn ? Number.isSafeInteger : function(e) {
2585
+ var _n = !!String.prototype.startsWith && "_a".startsWith("a", 1), yn = !!String.fromCodePoint, En = !!Object.fromEntries, xn = !!String.prototype.codePointAt, vn = !!String.prototype.trimStart, Hn = !!String.prototype.trimEnd, Bn = !!Number.isSafeInteger, Tn = Bn ? Number.isSafeInteger : function(e) {
2582
2586
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2583
- }, $e = !0;
2587
+ }, De = !0;
2584
2588
  try {
2585
- var Tn = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2586
- $e = ((Ce = Tn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2589
+ var wn = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2590
+ De = ((Ce = wn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2587
2591
  } catch (e) {
2588
- $e = !1;
2592
+ De = !1;
2589
2593
  }
2590
- var ut = gn ? (
2594
+ var ut = _n ? (
2591
2595
  // Native
2592
2596
  function(t, r, n) {
2593
2597
  return t.startsWith(r, n);
@@ -2597,7 +2601,7 @@ var ut = gn ? (
2597
2601
  function(t, r, n) {
2598
2602
  return t.slice(n, n + r.length) === r;
2599
2603
  }
2600
- ), Ue = _n ? String.fromCodePoint : (
2604
+ ), Ge = yn ? String.fromCodePoint : (
2601
2605
  // IE11
2602
2606
  function() {
2603
2607
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2611,7 +2615,7 @@ var ut = gn ? (
2611
2615
  }
2612
2616
  ), ht = (
2613
2617
  // native
2614
- yn ? Object.fromEntries : (
2618
+ En ? Object.fromEntries : (
2615
2619
  // Ponyfill
2616
2620
  function(t) {
2617
2621
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2635,7 +2639,7 @@ var ut = gn ? (
2635
2639
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2636
2640
  }
2637
2641
  }
2638
- ), wn = En ? (
2642
+ ), Sn = vn ? (
2639
2643
  // Native
2640
2644
  function(t) {
2641
2645
  return t.trimStart();
@@ -2643,9 +2647,9 @@ var ut = gn ? (
2643
2647
  ) : (
2644
2648
  // Ponyfill
2645
2649
  function(t) {
2646
- return t.replace(pn, "");
2650
+ return t.replace(bn, "");
2647
2651
  }
2648
- ), Sn = vn ? (
2652
+ ), An = Hn ? (
2649
2653
  // Native
2650
2654
  function(t) {
2651
2655
  return t.trimEnd();
@@ -2653,32 +2657,32 @@ var ut = gn ? (
2653
2657
  ) : (
2654
2658
  // Ponyfill
2655
2659
  function(t) {
2656
- return t.replace(bn, "");
2660
+ return t.replace(gn, "");
2657
2661
  }
2658
2662
  );
2659
2663
  function zt(e, t) {
2660
2664
  return new RegExp(e, t);
2661
2665
  }
2662
- var De;
2663
- if ($e) {
2666
+ var Fe;
2667
+ if (De) {
2664
2668
  var lt = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2665
- De = function(t, r) {
2669
+ Fe = function(t, r) {
2666
2670
  var n;
2667
2671
  lt.lastIndex = r;
2668
2672
  var i = lt.exec(t);
2669
2673
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2670
2674
  };
2671
2675
  } else
2672
- De = function(t, r) {
2676
+ Fe = function(t, r) {
2673
2677
  for (var n = []; ; ) {
2674
2678
  var i = Xt(t, r);
2675
- if (i === void 0 || Wt(i) || Pn(i))
2679
+ if (i === void 0 || Wt(i) || Ln(i))
2676
2680
  break;
2677
2681
  n.push(i), r += i >= 65536 ? 2 : 1;
2678
2682
  }
2679
- return Ue.apply(void 0, n);
2683
+ return Ge.apply(void 0, n);
2680
2684
  };
2681
- var An = (
2685
+ var On = (
2682
2686
  /** @class */
2683
2687
  function() {
2684
2688
  function e(t, r) {
@@ -2702,14 +2706,14 @@ var An = (
2702
2706
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2703
2707
  var o = this.clonePosition();
2704
2708
  this.bump(), i.push({
2705
- type: x.pound,
2709
+ type: y.pound,
2706
2710
  location: b(o, this.clonePosition())
2707
2711
  });
2708
2712
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2709
2713
  if (n)
2710
2714
  break;
2711
- return this.error(p.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2712
- } else if (s === 60 && !this.ignoreTag && Ge(this.peek() || 0)) {
2715
+ return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2716
+ } else if (s === 60 && !this.ignoreTag && je(this.peek() || 0)) {
2713
2717
  var a = this.parseTag(t, r);
2714
2718
  if (a.err)
2715
2719
  return a;
@@ -2730,7 +2734,7 @@ var An = (
2730
2734
  if (this.bumpSpace(), this.bumpIf("/>"))
2731
2735
  return {
2732
2736
  val: {
2733
- type: x.literal,
2737
+ type: y.literal,
2734
2738
  value: "<".concat(i, "/>"),
2735
2739
  location: b(n, this.clonePosition())
2736
2740
  },
@@ -2742,25 +2746,25 @@ var An = (
2742
2746
  return s;
2743
2747
  var a = s.val, o = this.clonePosition();
2744
2748
  if (this.bumpIf("</")) {
2745
- if (this.isEOF() || !Ge(this.char()))
2746
- return this.error(p.INVALID_TAG, b(o, this.clonePosition()));
2749
+ if (this.isEOF() || !je(this.char()))
2750
+ return this.error(d.INVALID_TAG, b(o, this.clonePosition()));
2747
2751
  var l = this.clonePosition(), u = this.parseTagName();
2748
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2752
+ return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2749
2753
  val: {
2750
- type: x.tag,
2754
+ type: y.tag,
2751
2755
  value: i,
2752
2756
  children: a,
2753
2757
  location: b(n, this.clonePosition())
2754
2758
  },
2755
2759
  err: null
2756
- } : this.error(p.INVALID_TAG, b(o, this.clonePosition())));
2760
+ } : this.error(d.INVALID_TAG, b(o, this.clonePosition())));
2757
2761
  } else
2758
- return this.error(p.UNCLOSED_TAG, b(n, this.clonePosition()));
2762
+ return this.error(d.UNCLOSED_TAG, b(n, this.clonePosition()));
2759
2763
  } else
2760
- return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
2764
+ return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
2761
2765
  }, e.prototype.parseTagName = function() {
2762
2766
  var t = this.offset();
2763
- for (this.bump(); !this.isEOF() && On(this.char()); )
2767
+ for (this.bump(); !this.isEOF() && Cn(this.char()); )
2764
2768
  this.bump();
2765
2769
  return this.message.slice(t, this.offset());
2766
2770
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2784,12 +2788,12 @@ var An = (
2784
2788
  }
2785
2789
  var l = b(n, this.clonePosition());
2786
2790
  return {
2787
- val: { type: x.literal, value: i, location: l },
2791
+ val: { type: y.literal, value: i, location: l },
2788
2792
  err: null
2789
2793
  };
2790
2794
  }, e.prototype.tryParseLeftAngleBracket = function() {
2791
2795
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2792
- !Cn(this.peek() || 0)) ? (this.bump(), "<") : null;
2796
+ !Pn(this.peek() || 0)) ? (this.bump(), "<") : null;
2793
2797
  }, e.prototype.tryParseQuote = function(t) {
2794
2798
  if (this.isEOF() || this.char() !== 39)
2795
2799
  return null;
@@ -2823,28 +2827,28 @@ var An = (
2823
2827
  r.push(n);
2824
2828
  this.bump();
2825
2829
  }
2826
- return Ue.apply(void 0, r);
2830
+ return Ge.apply(void 0, r);
2827
2831
  }, e.prototype.tryParseUnquoted = function(t, r) {
2828
2832
  if (this.isEOF())
2829
2833
  return null;
2830
2834
  var n = this.char();
2831
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ue(n));
2835
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
2832
2836
  }, e.prototype.parseArgument = function(t, r) {
2833
2837
  var n = this.clonePosition();
2834
2838
  if (this.bump(), this.bumpSpace(), this.isEOF())
2835
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2839
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2836
2840
  if (this.char() === 125)
2837
- return this.bump(), this.error(p.EMPTY_ARGUMENT, b(n, this.clonePosition()));
2841
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, b(n, this.clonePosition()));
2838
2842
  var i = this.parseIdentifierIfPossible().value;
2839
2843
  if (!i)
2840
- return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2844
+ return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2841
2845
  if (this.bumpSpace(), this.isEOF())
2842
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2846
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2843
2847
  switch (this.char()) {
2844
2848
  case 125:
2845
2849
  return this.bump(), {
2846
2850
  val: {
2847
- type: x.argument,
2851
+ type: y.argument,
2848
2852
  // value does not include the opening and closing braces.
2849
2853
  value: i,
2850
2854
  location: b(n, this.clonePosition())
@@ -2852,12 +2856,12 @@ var An = (
2852
2856
  err: null
2853
2857
  };
2854
2858
  case 44:
2855
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2859
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2856
2860
  default:
2857
- return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2861
+ return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2858
2862
  }
2859
2863
  }, e.prototype.parseIdentifierIfPossible = function() {
2860
- var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
2864
+ var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
2861
2865
  this.bumpTo(i);
2862
2866
  var s = this.clonePosition(), a = b(t, s);
2863
2867
  return { value: n, location: a };
@@ -2865,7 +2869,7 @@ var An = (
2865
2869
  var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2866
2870
  switch (o) {
2867
2871
  case "":
2868
- return this.error(p.EXPECT_ARGUMENT_TYPE, b(a, l));
2872
+ return this.error(d.EXPECT_ARGUMENT_TYPE, b(a, l));
2869
2873
  case "number":
2870
2874
  case "date":
2871
2875
  case "time": {
@@ -2876,44 +2880,44 @@ var An = (
2876
2880
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2877
2881
  if (c.err)
2878
2882
  return c;
2879
- var m = Sn(c.val);
2883
+ var m = An(c.val);
2880
2884
  if (m.length === 0)
2881
- return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2882
- var d = b(h, this.clonePosition());
2883
- u = { style: m, styleLocation: d };
2885
+ return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2886
+ var p = b(h, this.clonePosition());
2887
+ u = { style: m, styleLocation: p };
2884
2888
  }
2885
2889
  var f = this.tryParseArgumentClose(i);
2886
2890
  if (f.err)
2887
2891
  return f;
2888
2892
  var _ = b(i, this.clonePosition());
2889
2893
  if (u && ut(u == null ? void 0 : u.style, "::", 0)) {
2890
- var v = wn(u.style.slice(2));
2894
+ var v = Sn(u.style.slice(2));
2891
2895
  if (o === "number") {
2892
2896
  var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
2893
2897
  return c.err ? c : {
2894
- val: { type: x.number, value: n, location: _, style: c.val },
2898
+ val: { type: y.number, value: n, location: _, style: c.val },
2895
2899
  err: null
2896
2900
  };
2897
2901
  } else {
2898
2902
  if (v.length === 0)
2899
- return this.error(p.EXPECT_DATE_TIME_SKELETON, _);
2900
- var A = v;
2901
- this.locale && (A = mn(v, this.locale));
2903
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, _);
2904
+ var O = v;
2905
+ this.locale && (O = pn(v, this.locale));
2902
2906
  var m = {
2903
- type: j.dateTime,
2904
- pattern: A,
2907
+ type: k.dateTime,
2908
+ pattern: O,
2905
2909
  location: u.styleLocation,
2906
- parsedOptions: this.shouldParseSkeletons ? on(A) : {}
2907
- }, C = o === "date" ? x.date : x.time;
2910
+ parsedOptions: this.shouldParseSkeletons ? an(O) : {}
2911
+ }, P = o === "date" ? y.date : y.time;
2908
2912
  return {
2909
- val: { type: C, value: n, location: _, style: m },
2913
+ val: { type: P, value: n, location: _, style: m },
2910
2914
  err: null
2911
2915
  };
2912
2916
  }
2913
2917
  }
2914
2918
  return {
2915
2919
  val: {
2916
- type: o === "number" ? x.number : o === "date" ? x.date : x.time,
2920
+ type: o === "number" ? y.number : o === "date" ? y.date : y.time,
2917
2921
  value: n,
2918
2922
  location: _,
2919
2923
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
@@ -2926,50 +2930,50 @@ var An = (
2926
2930
  case "select": {
2927
2931
  var H = this.clonePosition();
2928
2932
  if (this.bumpSpace(), !this.bumpIf(","))
2929
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, y({}, H)));
2933
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, me({}, H)));
2930
2934
  this.bumpSpace();
2931
- var N = this.parseIdentifierIfPossible(), S = 0;
2932
- if (o !== "select" && N.value === "offset") {
2935
+ var I = this.parseIdentifierIfPossible(), A = 0;
2936
+ if (o !== "select" && I.value === "offset") {
2933
2937
  if (!this.bumpIf(":"))
2934
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2938
+ return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2935
2939
  this.bumpSpace();
2936
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2940
+ var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2937
2941
  if (c.err)
2938
2942
  return c;
2939
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), S = c.val;
2943
+ this.bumpSpace(), I = this.parseIdentifierIfPossible(), A = c.val;
2940
2944
  }
2941
- var R = this.tryParsePluralOrSelectOptions(t, o, r, N);
2945
+ var R = this.tryParsePluralOrSelectOptions(t, o, r, I);
2942
2946
  if (R.err)
2943
2947
  return R;
2944
2948
  var f = this.tryParseArgumentClose(i);
2945
2949
  if (f.err)
2946
2950
  return f;
2947
- var ie = b(i, this.clonePosition());
2951
+ var se = b(i, this.clonePosition());
2948
2952
  return o === "select" ? {
2949
2953
  val: {
2950
- type: x.select,
2954
+ type: y.select,
2951
2955
  value: n,
2952
2956
  options: ht(R.val),
2953
- location: ie
2957
+ location: se
2954
2958
  },
2955
2959
  err: null
2956
2960
  } : {
2957
2961
  val: {
2958
- type: x.plural,
2962
+ type: y.plural,
2959
2963
  value: n,
2960
2964
  options: ht(R.val),
2961
- offset: S,
2965
+ offset: A,
2962
2966
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2963
- location: ie
2967
+ location: se
2964
2968
  },
2965
2969
  err: null
2966
2970
  };
2967
2971
  }
2968
2972
  default:
2969
- return this.error(p.INVALID_ARGUMENT_TYPE, b(a, l));
2973
+ return this.error(d.INVALID_ARGUMENT_TYPE, b(a, l));
2970
2974
  }
2971
2975
  }, e.prototype.tryParseArgumentClose = function(t) {
2972
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2976
+ return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2973
2977
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2974
2978
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2975
2979
  var n = this.char();
@@ -2978,7 +2982,7 @@ var An = (
2978
2982
  this.bump();
2979
2983
  var i = this.clonePosition();
2980
2984
  if (!this.bumpUntil("'"))
2981
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
2985
+ return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
2982
2986
  this.bump();
2983
2987
  break;
2984
2988
  }
@@ -3008,16 +3012,16 @@ var An = (
3008
3012
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3009
3013
  var n = [];
3010
3014
  try {
3011
- n = un(t);
3015
+ n = hn(t);
3012
3016
  } catch (i) {
3013
- return this.error(p.INVALID_NUMBER_SKELETON, r);
3017
+ return this.error(d.INVALID_NUMBER_SKELETON, r);
3014
3018
  }
3015
3019
  return {
3016
3020
  val: {
3017
- type: j.number,
3021
+ type: k.number,
3018
3022
  tokens: n,
3019
3023
  location: r,
3020
- parsedOptions: this.shouldParseSkeletons ? cn(n) : {}
3024
+ parsedOptions: this.shouldParseSkeletons ? mn(n) : {}
3021
3025
  },
3022
3026
  err: null
3023
3027
  };
@@ -3026,7 +3030,7 @@ var An = (
3026
3030
  if (u.length === 0) {
3027
3031
  var c = this.clonePosition();
3028
3032
  if (r !== "select" && this.bumpIf("=")) {
3029
- var m = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3033
+ var m = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3030
3034
  if (m.err)
3031
3035
  return m;
3032
3036
  h = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
@@ -3034,26 +3038,26 @@ var An = (
3034
3038
  break;
3035
3039
  }
3036
3040
  if (l.has(u))
3037
- return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3041
+ return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3038
3042
  u === "other" && (a = !0), this.bumpSpace();
3039
- var d = this.clonePosition();
3043
+ var p = this.clonePosition();
3040
3044
  if (!this.bumpIf("{"))
3041
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3045
+ return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3042
3046
  var f = this.parseMessage(t + 1, r, n);
3043
3047
  if (f.err)
3044
3048
  return f;
3045
- var _ = this.tryParseArgumentClose(d);
3049
+ var _ = this.tryParseArgumentClose(p);
3046
3050
  if (_.err)
3047
3051
  return _;
3048
3052
  o.push([
3049
3053
  u,
3050
3054
  {
3051
3055
  value: f.val,
3052
- location: b(d, this.clonePosition())
3056
+ location: b(p, this.clonePosition())
3053
3057
  }
3054
3058
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3055
3059
  }
3056
- return o.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(p.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3060
+ return o.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3057
3061
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3058
3062
  var n = 1, i = this.clonePosition();
3059
3063
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3065,7 +3069,7 @@ var An = (
3065
3069
  break;
3066
3070
  }
3067
3071
  var l = b(i, this.clonePosition());
3068
- return s ? (a *= n, Bn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3072
+ return s ? (a *= n, Tn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3069
3073
  }, e.prototype.offset = function() {
3070
3074
  return this.position.offset;
3071
3075
  }, e.prototype.isEOF = function() {
@@ -3131,47 +3135,47 @@ var An = (
3131
3135
  }, e;
3132
3136
  }()
3133
3137
  );
3134
- function Ge(e) {
3138
+ function je(e) {
3135
3139
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3136
3140
  }
3137
- function Cn(e) {
3138
- return Ge(e) || e === 47;
3141
+ function Pn(e) {
3142
+ return je(e) || e === 47;
3139
3143
  }
3140
- function On(e) {
3144
+ function Cn(e) {
3141
3145
  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;
3142
3146
  }
3143
3147
  function Wt(e) {
3144
3148
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3145
3149
  }
3146
- function Pn(e) {
3150
+ function Ln(e) {
3147
3151
  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;
3148
3152
  }
3149
- function Fe(e) {
3153
+ function ke(e) {
3150
3154
  e.forEach(function(t) {
3151
- if (delete t.location, $t(t) || Ut(t))
3155
+ if (delete t.location, Rt(t) || Ut(t))
3152
3156
  for (var r in t.options)
3153
- delete t.options[r].location, Fe(t.options[r].value);
3157
+ delete t.options[r].location, ke(t.options[r].value);
3154
3158
  else
3155
- It(t) && Gt(t.style) || (Mt(t) || Rt(t)) && Re(t.style) ? delete t.style.location : Dt(t) && Fe(t.children);
3159
+ It(t) && Gt(t.style) || (Mt(t) || $t(t)) && Ue(t.style) ? delete t.style.location : Dt(t) && ke(t.children);
3156
3160
  });
3157
3161
  }
3158
- function Ln(e, t) {
3159
- t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3160
- var r = new An(e, t).parse();
3162
+ function Nn(e, t) {
3163
+ t === void 0 && (t = {}), t = me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3164
+ var r = new On(e, t).parse();
3161
3165
  if (r.err) {
3162
- var n = SyntaxError(p[r.err.kind]);
3166
+ var n = SyntaxError(d[r.err.kind]);
3163
3167
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3164
3168
  }
3165
- return t != null && t.captureLocation || Fe(r.val), r.val;
3169
+ return t != null && t.captureLocation || ke(r.val), r.val;
3166
3170
  }
3167
- var k;
3171
+ var V;
3168
3172
  (function(e) {
3169
3173
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3170
- })(k || (k = {}));
3171
- var ge = (
3174
+ })(V || (V = {}));
3175
+ var ye = (
3172
3176
  /** @class */
3173
3177
  function(e) {
3174
- be(t, e);
3178
+ _e(t, e);
3175
3179
  function t(r, n, i) {
3176
3180
  var s = e.call(this, r) || this;
3177
3181
  return s.code = n, s.originalMessage = i, s;
@@ -3183,48 +3187,48 @@ var ge = (
3183
3187
  ), ft = (
3184
3188
  /** @class */
3185
3189
  function(e) {
3186
- be(t, e);
3190
+ _e(t, e);
3187
3191
  function t(r, n, i, s) {
3188
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), k.INVALID_VALUE, s) || this;
3192
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3189
3193
  }
3190
3194
  return t;
3191
- }(ge)
3192
- ), Nn = (
3195
+ }(ye)
3196
+ ), In = (
3193
3197
  /** @class */
3194
3198
  function(e) {
3195
- be(t, e);
3199
+ _e(t, e);
3196
3200
  function t(r, n, i) {
3197
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), k.INVALID_VALUE, i) || this;
3201
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3198
3202
  }
3199
3203
  return t;
3200
- }(ge)
3201
- ), In = (
3204
+ }(ye)
3205
+ ), Mn = (
3202
3206
  /** @class */
3203
3207
  function(e) {
3204
- be(t, e);
3208
+ _e(t, e);
3205
3209
  function t(r, n) {
3206
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), k.MISSING_VALUE, n) || this;
3210
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3207
3211
  }
3208
3212
  return t;
3209
- }(ge)
3210
- ), E;
3213
+ }(ye)
3214
+ ), x;
3211
3215
  (function(e) {
3212
3216
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3213
- })(E || (E = {}));
3214
- function Mn(e) {
3217
+ })(x || (x = {}));
3218
+ function $n(e) {
3215
3219
  return e.length < 2 ? e : e.reduce(function(t, r) {
3216
3220
  var n = t[t.length - 1];
3217
- return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3221
+ return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3218
3222
  }, []);
3219
3223
  }
3220
3224
  function Rn(e) {
3221
3225
  return typeof e == "function";
3222
3226
  }
3223
- function he(e, t, r, n, i, s, a) {
3227
+ function le(e, t, r, n, i, s, a) {
3224
3228
  if (e.length === 1 && it(e[0]))
3225
3229
  return [
3226
3230
  {
3227
- type: E.literal,
3231
+ type: x.literal,
3228
3232
  value: e[0].value
3229
3233
  }
3230
3234
  ];
@@ -3232,103 +3236,103 @@ function he(e, t, r, n, i, s, a) {
3232
3236
  var h = u[l];
3233
3237
  if (it(h)) {
3234
3238
  o.push({
3235
- type: E.literal,
3239
+ type: x.literal,
3236
3240
  value: h.value
3237
3241
  });
3238
3242
  continue;
3239
3243
  }
3240
- if (nn(h)) {
3244
+ if (sn(h)) {
3241
3245
  typeof s == "number" && o.push({
3242
- type: E.literal,
3246
+ type: x.literal,
3243
3247
  value: r.getNumberFormat(t).format(s)
3244
3248
  });
3245
3249
  continue;
3246
3250
  }
3247
3251
  var c = h.value;
3248
3252
  if (!(i && c in i))
3249
- throw new In(c, a);
3253
+ throw new Mn(c, a);
3250
3254
  var m = i[c];
3251
- if (rn(h)) {
3255
+ if (nn(h)) {
3252
3256
  (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), o.push({
3253
- type: typeof m == "string" ? E.literal : E.object,
3257
+ type: typeof m == "string" ? x.literal : x.object,
3254
3258
  value: m
3255
3259
  });
3256
3260
  continue;
3257
3261
  }
3258
3262
  if (Mt(h)) {
3259
- var d = typeof h.style == "string" ? n.date[h.style] : Re(h.style) ? h.style.parsedOptions : void 0;
3263
+ var p = typeof h.style == "string" ? n.date[h.style] : Ue(h.style) ? h.style.parsedOptions : void 0;
3260
3264
  o.push({
3261
- type: E.literal,
3262
- value: r.getDateTimeFormat(t, d).format(m)
3265
+ type: x.literal,
3266
+ value: r.getDateTimeFormat(t, p).format(m)
3263
3267
  });
3264
3268
  continue;
3265
3269
  }
3266
- if (Rt(h)) {
3267
- var d = typeof h.style == "string" ? n.time[h.style] : Re(h.style) ? h.style.parsedOptions : n.time.medium;
3270
+ if ($t(h)) {
3271
+ var p = typeof h.style == "string" ? n.time[h.style] : Ue(h.style) ? h.style.parsedOptions : n.time.medium;
3268
3272
  o.push({
3269
- type: E.literal,
3270
- value: r.getDateTimeFormat(t, d).format(m)
3273
+ type: x.literal,
3274
+ value: r.getDateTimeFormat(t, p).format(m)
3271
3275
  });
3272
3276
  continue;
3273
3277
  }
3274
3278
  if (It(h)) {
3275
- var d = typeof h.style == "string" ? n.number[h.style] : Gt(h.style) ? h.style.parsedOptions : void 0;
3276
- d && d.scale && (m = m * (d.scale || 1)), o.push({
3277
- type: E.literal,
3278
- value: r.getNumberFormat(t, d).format(m)
3279
+ var p = typeof h.style == "string" ? n.number[h.style] : Gt(h.style) ? h.style.parsedOptions : void 0;
3280
+ p && p.scale && (m = m * (p.scale || 1)), o.push({
3281
+ type: x.literal,
3282
+ value: r.getNumberFormat(t, p).format(m)
3279
3283
  });
3280
3284
  continue;
3281
3285
  }
3282
3286
  if (Dt(h)) {
3283
3287
  var f = h.children, _ = h.value, v = i[_];
3284
3288
  if (!Rn(v))
3285
- throw new Nn(_, "function", a);
3286
- var A = he(f, t, r, n, i, s), C = v(A.map(function(S) {
3287
- return S.value;
3289
+ throw new In(_, "function", a);
3290
+ var O = le(f, t, r, n, i, s), P = v(O.map(function(A) {
3291
+ return A.value;
3288
3292
  }));
3289
- Array.isArray(C) || (C = [C]), o.push.apply(o, C.map(function(S) {
3293
+ Array.isArray(P) || (P = [P]), o.push.apply(o, P.map(function(A) {
3290
3294
  return {
3291
- type: typeof S == "string" ? E.literal : E.object,
3292
- value: S
3295
+ type: typeof A == "string" ? x.literal : x.object,
3296
+ value: A
3293
3297
  };
3294
3298
  }));
3295
3299
  }
3296
- if ($t(h)) {
3300
+ if (Rt(h)) {
3297
3301
  var H = h.options[m] || h.options.other;
3298
3302
  if (!H)
3299
3303
  throw new ft(h.value, m, Object.keys(h.options), a);
3300
- o.push.apply(o, he(H.value, t, r, n, i));
3304
+ o.push.apply(o, le(H.value, t, r, n, i));
3301
3305
  continue;
3302
3306
  }
3303
3307
  if (Ut(h)) {
3304
3308
  var H = h.options["=".concat(m)];
3305
3309
  if (!H) {
3306
3310
  if (!Intl.PluralRules)
3307
- throw new ge(`Intl.PluralRules is not available in this environment.
3311
+ throw new ye(`Intl.PluralRules is not available in this environment.
3308
3312
  Try polyfilling it using "@formatjs/intl-pluralrules"
3309
- `, k.MISSING_INTL_API, a);
3310
- var N = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3311
- H = h.options[N] || h.options.other;
3313
+ `, V.MISSING_INTL_API, a);
3314
+ var I = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3315
+ H = h.options[I] || h.options.other;
3312
3316
  }
3313
3317
  if (!H)
3314
3318
  throw new ft(h.value, m, Object.keys(h.options), a);
3315
- o.push.apply(o, he(H.value, t, r, n, i, m - (h.offset || 0)));
3319
+ o.push.apply(o, le(H.value, t, r, n, i, m - (h.offset || 0)));
3316
3320
  continue;
3317
3321
  }
3318
3322
  }
3319
- return Mn(o);
3323
+ return $n(o);
3320
3324
  }
3321
- function $n(e, t) {
3322
- return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3323
- return r[n] = y(y({}, e[n]), t[n] || {}), r;
3325
+ function Un(e, t) {
3326
+ return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3327
+ return r[n] = S(S({}, e[n]), t[n] || {}), r;
3324
3328
  }, {})) : e;
3325
3329
  }
3326
- function Un(e, t) {
3330
+ function Dn(e, t) {
3327
3331
  return t ? Object.keys(e).reduce(function(r, n) {
3328
- return r[n] = $n(e[n], t[n]), r;
3329
- }, y({}, e)) : e;
3332
+ return r[n] = Un(e[n], t[n]), r;
3333
+ }, S({}, e)) : e;
3330
3334
  }
3331
- function Oe(e) {
3335
+ function Le(e) {
3332
3336
  return {
3333
3337
  create: function() {
3334
3338
  return {
@@ -3342,35 +3346,35 @@ function Oe(e) {
3342
3346
  }
3343
3347
  };
3344
3348
  }
3345
- function Dn(e) {
3349
+ function Gn(e) {
3346
3350
  return e === void 0 && (e = {
3347
3351
  number: {},
3348
3352
  dateTime: {},
3349
3353
  pluralRules: {}
3350
3354
  }), {
3351
- getNumberFormat: Se(function() {
3355
+ getNumberFormat: Oe(function() {
3352
3356
  for (var t, r = [], n = 0; n < arguments.length; n++)
3353
3357
  r[n] = arguments[n];
3354
- return new ((t = Intl.NumberFormat).bind.apply(t, we([void 0], r, !1)))();
3358
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3355
3359
  }, {
3356
- cache: Oe(e.number),
3357
- strategy: Ae.variadic
3360
+ cache: Le(e.number),
3361
+ strategy: Pe.variadic
3358
3362
  }),
3359
- getDateTimeFormat: Se(function() {
3363
+ getDateTimeFormat: Oe(function() {
3360
3364
  for (var t, r = [], n = 0; n < arguments.length; n++)
3361
3365
  r[n] = arguments[n];
3362
- return new ((t = Intl.DateTimeFormat).bind.apply(t, we([void 0], r, !1)))();
3366
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3363
3367
  }, {
3364
- cache: Oe(e.dateTime),
3365
- strategy: Ae.variadic
3368
+ cache: Le(e.dateTime),
3369
+ strategy: Pe.variadic
3366
3370
  }),
3367
- getPluralRules: Se(function() {
3371
+ getPluralRules: Oe(function() {
3368
3372
  for (var t, r = [], n = 0; n < arguments.length; n++)
3369
3373
  r[n] = arguments[n];
3370
- return new ((t = Intl.PluralRules).bind.apply(t, we([void 0], r, !1)))();
3374
+ return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3371
3375
  }, {
3372
- cache: Oe(e.pluralRules),
3373
- strategy: Ae.variadic
3376
+ cache: Le(e.pluralRules),
3377
+ strategy: Pe.variadic
3374
3378
  })
3375
3379
  };
3376
3380
  }
@@ -3389,11 +3393,11 @@ var Zt = (
3389
3393
  if (u.length === 1)
3390
3394
  return u[0].value;
3391
3395
  var h = u.reduce(function(c, m) {
3392
- return !c.length || m.type !== E.literal || typeof c[c.length - 1] != "string" ? c.push(m.value) : c[c.length - 1] += m.value, c;
3396
+ return !c.length || m.type !== x.literal || typeof c[c.length - 1] != "string" ? c.push(m.value) : c[c.length - 1] += m.value, c;
3393
3397
  }, []);
3394
3398
  return h.length <= 1 ? h[0] || "" : h;
3395
3399
  }, this.formatToParts = function(l) {
3396
- return he(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3400
+ return le(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3397
3401
  }, this.resolvedOptions = function() {
3398
3402
  var l;
3399
3403
  return {
@@ -3407,12 +3411,12 @@ var Zt = (
3407
3411
  var a = i || {};
3408
3412
  a.formatters;
3409
3413
  var o = Qr(a, ["formatters"]);
3410
- this.ast = e.__parse(t, y(y({}, o), { locale: this.resolvedLocale }));
3414
+ this.ast = e.__parse(t, S(S({}, o), { locale: this.resolvedLocale }));
3411
3415
  } else
3412
3416
  this.ast = t;
3413
3417
  if (!Array.isArray(this.ast))
3414
3418
  throw new TypeError("A message must be provided as a String or AST.");
3415
- this.formats = Un(e.formats, n), this.formatters = i && i.formatters || Dn(this.formatterCache);
3419
+ this.formats = Dn(e.formats, n), this.formatters = i && i.formatters || Gn(this.formatterCache);
3416
3420
  }
3417
3421
  return Object.defineProperty(e, "defaultLocale", {
3418
3422
  get: function() {
@@ -3425,7 +3429,7 @@ var Zt = (
3425
3429
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3426
3430
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3427
3431
  }
3428
- }, e.__parse = Ln, e.formats = {
3432
+ }, e.__parse = Nn, e.formats = {
3429
3433
  number: {
3430
3434
  integer: {
3431
3435
  maximumFractionDigits: 0
@@ -3486,7 +3490,7 @@ var Zt = (
3486
3490
  }, e;
3487
3491
  }()
3488
3492
  );
3489
- function Gn(e, t) {
3493
+ function Fn(e, t) {
3490
3494
  if (t == null)
3491
3495
  return;
3492
3496
  if (t in e)
@@ -3507,36 +3511,36 @@ function Gn(e, t) {
3507
3511
  n = void 0;
3508
3512
  return n;
3509
3513
  }
3510
- const O = {}, Fn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Qt = (e, t) => {
3514
+ const C = {}, jn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Qt = (e, t) => {
3511
3515
  if (t == null)
3512
3516
  return;
3513
- if (t in O && e in O[t])
3514
- return O[t][e];
3515
- const r = ne(t);
3517
+ if (t in C && e in C[t])
3518
+ return C[t][e];
3519
+ const r = ie(t);
3516
3520
  for (let n = 0; n < r.length; n++) {
3517
- const i = r[n], s = kn(i, e);
3521
+ const i = r[n], s = Vn(i, e);
3518
3522
  if (s)
3519
- return Fn(e, t, s);
3523
+ return jn(e, t, s);
3520
3524
  }
3521
3525
  };
3522
3526
  let We;
3523
- const re = pe({});
3524
- function jn(e) {
3527
+ const ne = ge({});
3528
+ function kn(e) {
3525
3529
  return We[e] || null;
3526
3530
  }
3527
3531
  function Jt(e) {
3528
3532
  return e in We;
3529
3533
  }
3530
- function kn(e, t) {
3534
+ function Vn(e, t) {
3531
3535
  if (!Jt(e))
3532
3536
  return null;
3533
- const r = jn(e);
3534
- return Gn(r, t);
3537
+ const r = kn(e);
3538
+ return Fn(r, t);
3535
3539
  }
3536
- function Vn(e) {
3540
+ function Xn(e) {
3537
3541
  if (e == null)
3538
3542
  return;
3539
- const t = ne(e);
3543
+ const t = ie(e);
3540
3544
  for (let r = 0; r < t.length; r++) {
3541
3545
  const n = t[r];
3542
3546
  if (Jt(n))
@@ -3544,64 +3548,64 @@ function Vn(e) {
3544
3548
  }
3545
3549
  }
3546
3550
  function qt(e, ...t) {
3547
- delete O[e], re.update((r) => (r[e] = Zr.all([r[e] || {}, ...t]), r));
3551
+ delete C[e], ne.update((r) => (r[e] = Zr.all([r[e] || {}, ...t]), r));
3548
3552
  }
3549
- z(
3550
- [re],
3553
+ W(
3554
+ [ne],
3551
3555
  ([e]) => Object.keys(e)
3552
3556
  );
3553
- re.subscribe((e) => We = e);
3554
- const le = {};
3555
- function Xn(e, t) {
3556
- le[e].delete(t), le[e].size === 0 && delete le[e];
3557
+ ne.subscribe((e) => We = e);
3558
+ const fe = {};
3559
+ function zn(e, t) {
3560
+ fe[e].delete(t), fe[e].size === 0 && delete fe[e];
3557
3561
  }
3558
3562
  function Yt(e) {
3559
- return le[e];
3563
+ return fe[e];
3560
3564
  }
3561
- function zn(e) {
3562
- return ne(e).map((t) => {
3565
+ function Wn(e) {
3566
+ return ie(e).map((t) => {
3563
3567
  const r = Yt(t);
3564
3568
  return [t, r ? [...r] : []];
3565
3569
  }).filter(([, t]) => t.length > 0);
3566
3570
  }
3567
- function ce(e) {
3568
- return e == null ? !1 : ne(e).some(
3571
+ function pe(e) {
3572
+ return e == null ? !1 : ie(e).some(
3569
3573
  (t) => {
3570
3574
  var r;
3571
3575
  return (r = Yt(t)) == null ? void 0 : r.size;
3572
3576
  }
3573
3577
  );
3574
3578
  }
3575
- function Wn(e, t) {
3579
+ function Zn(e, t) {
3576
3580
  return Promise.all(
3577
- t.map((n) => (Xn(e, n), n().then((i) => i.default || i)))
3581
+ t.map((n) => (zn(e, n), n().then((i) => i.default || i)))
3578
3582
  ).then((n) => qt(e, ...n));
3579
3583
  }
3580
- const Z = {};
3584
+ const Q = {};
3581
3585
  function Kt(e) {
3582
- if (!ce(e))
3583
- return e in Z ? Z[e] : Promise.resolve();
3584
- const t = zn(e);
3585
- return Z[e] = Promise.all(
3586
+ if (!pe(e))
3587
+ return e in Q ? Q[e] : Promise.resolve();
3588
+ const t = Wn(e);
3589
+ return Q[e] = Promise.all(
3586
3590
  t.map(
3587
- ([r, n]) => Wn(r, n)
3591
+ ([r, n]) => Zn(r, n)
3588
3592
  )
3589
3593
  ).then(() => {
3590
- if (ce(e))
3594
+ if (pe(e))
3591
3595
  return Kt(e);
3592
- delete Z[e];
3593
- }), Z[e];
3596
+ delete Q[e];
3597
+ }), Q[e];
3594
3598
  }
3595
- var ct = Object.getOwnPropertySymbols, Zn = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, Jn = (e, t) => {
3599
+ var ct = Object.getOwnPropertySymbols, Qn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, qn = (e, t) => {
3596
3600
  var r = {};
3597
3601
  for (var n in e)
3598
- Zn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3602
+ Qn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3599
3603
  if (e != null && ct)
3600
3604
  for (var n of ct(e))
3601
- t.indexOf(n) < 0 && Qn.call(e, n) && (r[n] = e[n]);
3605
+ t.indexOf(n) < 0 && Jn.call(e, n) && (r[n] = e[n]);
3602
3606
  return r;
3603
3607
  };
3604
- const qn = {
3608
+ const Yn = {
3605
3609
  number: {
3606
3610
  scientific: { notation: "scientific" },
3607
3611
  engineering: { notation: "engineering" },
@@ -3631,28 +3635,28 @@ const qn = {
3631
3635
  }
3632
3636
  }
3633
3637
  };
3634
- function Yn({ locale: e, id: t }) {
3638
+ function Kn({ locale: e, id: t }) {
3635
3639
  console.warn(
3636
- `[svelte-i18n] The message "${t}" was not found in "${ne(
3640
+ `[svelte-i18n] The message "${t}" was not found in "${ie(
3637
3641
  e
3638
- ).join('", "')}".${ce(L()) ? `
3642
+ ).join('", "')}".${pe(N()) ? `
3639
3643
 
3640
3644
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3641
3645
  );
3642
3646
  }
3643
- const Kn = {
3647
+ const ei = {
3644
3648
  fallbackLocale: null,
3645
3649
  loadingDelay: 200,
3646
- formats: qn,
3650
+ formats: Yn,
3647
3651
  warnOnMissingMessages: !0,
3648
3652
  handleMissingMessage: void 0,
3649
3653
  ignoreTag: !0
3650
- }, Q = Kn;
3651
- function V() {
3652
- return Q;
3654
+ }, J = ei;
3655
+ function X() {
3656
+ return J;
3653
3657
  }
3654
- function ei(e) {
3655
- const t = e, { formats: r } = t, n = Jn(t, ["formats"]);
3658
+ function ti(e) {
3659
+ const t = e, { formats: r } = t, n = qn(t, ["formats"]);
3656
3660
  let i = e.fallbackLocale;
3657
3661
  if (e.initialLocale)
3658
3662
  try {
@@ -3662,134 +3666,134 @@ function ei(e) {
3662
3666
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3663
3667
  );
3664
3668
  }
3665
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Yn : console.warn(
3669
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Kn : console.warn(
3666
3670
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3667
- )), Object.assign(Q, n, { initialLocale: i }), r && ("number" in r && Object.assign(Q.formats.number, r.number), "date" in r && Object.assign(Q.formats.date, r.date), "time" in r && Object.assign(Q.formats.time, r.time)), M.set(i);
3671
+ )), 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)), $.set(i);
3668
3672
  }
3669
- const Pe = pe(!1);
3670
- var ti = Object.defineProperty, ri = Object.defineProperties, ni = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, si = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, oi = (e, t) => {
3673
+ const Ne = ge(!1);
3674
+ var ri = Object.defineProperty, ni = Object.defineProperties, ii = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, si = Object.prototype.hasOwnProperty, oi = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ri(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ai = (e, t) => {
3671
3675
  for (var r in t || (t = {}))
3672
- ii.call(t, r) && dt(e, r, t[r]);
3676
+ si.call(t, r) && pt(e, r, t[r]);
3673
3677
  if (mt)
3674
3678
  for (var r of mt(t))
3675
- si.call(t, r) && dt(e, r, t[r]);
3679
+ oi.call(t, r) && pt(e, r, t[r]);
3676
3680
  return e;
3677
- }, ai = (e, t) => ri(e, ni(t));
3678
- let je;
3679
- const me = pe(null);
3680
- function pt(e) {
3681
+ }, ui = (e, t) => ni(e, ii(t));
3682
+ let Ve;
3683
+ const de = ge(null);
3684
+ function dt(e) {
3681
3685
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3682
3686
  }
3683
- function ne(e, t = V().fallbackLocale) {
3684
- const r = pt(e);
3685
- return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
3687
+ function ie(e, t = X().fallbackLocale) {
3688
+ const r = dt(e);
3689
+ return t ? [.../* @__PURE__ */ new Set([...r, ...dt(t)])] : r;
3686
3690
  }
3687
- function L() {
3688
- return je != null ? je : void 0;
3691
+ function N() {
3692
+ return Ve != null ? Ve : void 0;
3689
3693
  }
3690
- me.subscribe((e) => {
3691
- je = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3694
+ de.subscribe((e) => {
3695
+ Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3692
3696
  });
3693
- const ui = (e) => {
3694
- if (e && Vn(e) && ce(e)) {
3695
- const { loadingDelay: t } = V();
3697
+ const hi = (e) => {
3698
+ if (e && Xn(e) && pe(e)) {
3699
+ const { loadingDelay: t } = X();
3696
3700
  let r;
3697
- return typeof window != "undefined" && L() != null && t ? r = window.setTimeout(
3698
- () => Pe.set(!0),
3701
+ return typeof window != "undefined" && N() != null && t ? r = window.setTimeout(
3702
+ () => Ne.set(!0),
3699
3703
  t
3700
- ) : Pe.set(!0), Kt(e).then(() => {
3701
- me.set(e);
3704
+ ) : Ne.set(!0), Kt(e).then(() => {
3705
+ de.set(e);
3702
3706
  }).finally(() => {
3703
- clearTimeout(r), Pe.set(!1);
3707
+ clearTimeout(r), Ne.set(!1);
3704
3708
  });
3705
3709
  }
3706
- return me.set(e);
3707
- }, M = ai(oi({}, me), {
3708
- set: ui
3709
- }), _e = (e) => {
3710
+ return de.set(e);
3711
+ }, $ = ui(ai({}, de), {
3712
+ set: hi
3713
+ }), Ee = (e) => {
3710
3714
  const t = /* @__PURE__ */ Object.create(null);
3711
3715
  return (n) => {
3712
3716
  const i = JSON.stringify(n);
3713
3717
  return i in t ? t[i] : t[i] = e(n);
3714
3718
  };
3715
3719
  };
3716
- var hi = Object.defineProperty, de = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3720
+ var li = Object.defineProperty, be = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3717
3721
  for (var r in t || (t = {}))
3718
3722
  er.call(t, r) && bt(e, r, t[r]);
3719
- if (de)
3720
- for (var r of de(t))
3723
+ if (be)
3724
+ for (var r of be(t))
3721
3725
  tr.call(t, r) && bt(e, r, t[r]);
3722
3726
  return e;
3723
- }, W = (e, t) => {
3727
+ }, Z = (e, t) => {
3724
3728
  var r = {};
3725
3729
  for (var n in e)
3726
3730
  er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3727
- if (e != null && de)
3728
- for (var n of de(e))
3731
+ if (e != null && be)
3732
+ for (var n of be(e))
3729
3733
  t.indexOf(n) < 0 && tr.call(e, n) && (r[n] = e[n]);
3730
3734
  return r;
3731
3735
  };
3732
- const K = (e, t) => {
3733
- const { formats: r } = V();
3736
+ const ee = (e, t) => {
3737
+ const { formats: r } = X();
3734
3738
  if (e in r && t in r[e])
3735
3739
  return r[e][t];
3736
3740
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3737
- }, li = _e(
3741
+ }, fi = Ee(
3738
3742
  (e) => {
3739
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3743
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3740
3744
  if (r == null)
3741
3745
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3742
- return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
3746
+ return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
3743
3747
  }
3744
- ), fi = _e(
3748
+ ), ci = Ee(
3745
3749
  (e) => {
3746
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3750
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3747
3751
  if (r == null)
3748
3752
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3749
- return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
3753
+ return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
3750
3754
  }
3751
- ), ci = _e(
3755
+ ), mi = Ee(
3752
3756
  (e) => {
3753
- var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3757
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
3754
3758
  if (r == null)
3755
3759
  throw new Error(
3756
3760
  '[svelte-i18n] A "locale" must be set to format time values'
3757
3761
  );
3758
- return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
3762
+ return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
3759
3763
  }
3760
- ), mi = (e = {}) => {
3764
+ ), pi = (e = {}) => {
3761
3765
  var t = e, {
3762
- locale: r = L()
3763
- } = t, n = W(t, [
3766
+ locale: r = N()
3767
+ } = t, n = Z(t, [
3764
3768
  "locale"
3765
3769
  ]);
3766
- return li(Ze({ locale: r }, n));
3770
+ return fi(Ze({ locale: r }, n));
3767
3771
  }, di = (e = {}) => {
3768
3772
  var t = e, {
3769
- locale: r = L()
3770
- } = t, n = W(t, [
3773
+ locale: r = N()
3774
+ } = t, n = Z(t, [
3771
3775
  "locale"
3772
3776
  ]);
3773
- return fi(Ze({ locale: r }, n));
3774
- }, pi = (e = {}) => {
3777
+ return ci(Ze({ locale: r }, n));
3778
+ }, bi = (e = {}) => {
3775
3779
  var t = e, {
3776
- locale: r = L()
3777
- } = t, n = W(t, [
3780
+ locale: r = N()
3781
+ } = t, n = Z(t, [
3778
3782
  "locale"
3779
3783
  ]);
3780
- return ci(Ze({ locale: r }, n));
3781
- }, bi = _e(
3784
+ return mi(Ze({ locale: r }, n));
3785
+ }, gi = Ee(
3782
3786
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3783
- (e, t = L()) => new Zt(e, t, V().formats, {
3784
- ignoreTag: V().ignoreTag
3787
+ (e, t = N()) => new Zt(e, t, X().formats, {
3788
+ ignoreTag: X().ignoreTag
3785
3789
  })
3786
- ), gi = (e, t = {}) => {
3790
+ ), _i = (e, t = {}) => {
3787
3791
  var r, n, i, s;
3788
3792
  let a = t;
3789
3793
  typeof e == "object" && (a = e, e = a.id);
3790
3794
  const {
3791
3795
  values: o,
3792
- locale: l = L(),
3796
+ locale: l = N(),
3793
3797
  default: u
3794
3798
  } = a;
3795
3799
  if (l == null)
@@ -3798,7 +3802,7 @@ const K = (e, t) => {
3798
3802
  );
3799
3803
  let h = Qt(e, l);
3800
3804
  if (!h)
3801
- h = (s = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3805
+ h = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3802
3806
  else if (typeof h != "string")
3803
3807
  return console.warn(
3804
3808
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3807,7 +3811,7 @@ const K = (e, t) => {
3807
3811
  return h;
3808
3812
  let c = h;
3809
3813
  try {
3810
- c = bi(h, l).format(o);
3814
+ c = gi(h, l).format(o);
3811
3815
  } catch (m) {
3812
3816
  m instanceof Error && console.warn(
3813
3817
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3815,18 +3819,18 @@ const K = (e, t) => {
3815
3819
  );
3816
3820
  }
3817
3821
  return c;
3818
- }, _i = (e, t) => pi(t).format(e), yi = (e, t) => di(t).format(e), xi = (e, t) => mi(t).format(e), Ei = (e, t = L()) => Qt(e, t), vi = z([M, re], () => gi);
3819
- z([M], () => _i);
3820
- z([M], () => yi);
3821
- z([M], () => xi);
3822
- z([M, re], () => Ei);
3822
+ }, yi = (e, t) => bi(t).format(e), Ei = (e, t) => di(t).format(e), xi = (e, t) => pi(t).format(e), vi = (e, t = N()) => Qt(e, t), Hi = W([$, ne], () => _i);
3823
+ W([$], () => yi);
3824
+ W([$], () => Ei);
3825
+ W([$], () => xi);
3826
+ W([$, ne], () => vi);
3823
3827
  function gt(e, t) {
3824
3828
  qt(e, t);
3825
3829
  }
3826
- function Hi(e) {
3827
- ei({
3830
+ function Bi(e) {
3831
+ ti({
3828
3832
  fallbackLocale: "en"
3829
- }), M.set(e);
3833
+ }), $.set(e);
3830
3834
  }
3831
3835
  const _t = {
3832
3836
  en: {
@@ -3844,13 +3848,13 @@ const _t = {
3844
3848
  }
3845
3849
  }
3846
3850
  };
3847
- function Bi(e, t) {
3851
+ function Ti(e, t) {
3848
3852
  if (e) {
3849
3853
  const r = document.createElement("style");
3850
3854
  r.innerHTML = t, e.appendChild(r);
3851
3855
  }
3852
3856
  }
3853
- function Ti(e, t) {
3857
+ function wi(e, t) {
3854
3858
  if (!e || !t)
3855
3859
  return;
3856
3860
  const r = new URL(t);
@@ -3861,7 +3865,7 @@ function Ti(e, t) {
3861
3865
  console.error("There was an error while trying to load client styling from URL", n);
3862
3866
  });
3863
3867
  }
3864
- function wi(e, t, r) {
3868
+ function Si(e, t, r) {
3865
3869
  if (window.emMessageBus) {
3866
3870
  const n = document.createElement("style");
3867
3871
  window.emMessageBus.subscribe(t, (i) => {
@@ -3869,18 +3873,18 @@ function wi(e, t, r) {
3869
3873
  });
3870
3874
  }
3871
3875
  }
3872
- function Si(e) {
3876
+ function Ai(e) {
3873
3877
  cr(e, "svelte-1p7ag40", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--emw--header-height, 40px);background-color:var(--emw--color-background, #F9FAFF);padding:10px 0;width:100vw}.CashierHeaderLeftButton{font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;display:flex;align-items:center;font-variant:all-small-caps;height:32px;margin-left:5px;gap:2px;cursor:pointer;stroke:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton svg path{fill:var(--emw--color-primary, #F9C405)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--emw--color-primary, #F9C405);font-size:var(--emw--font-size-medium, 16px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin-left:15px;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;fill:var(--emw--color-primary, #F9C405)}");
3874
3878
  }
3875
- const Ai = (e) => ({}), yt = (e) => ({}), Ci = (e) => ({}), xt = (e) => ({}), Oi = (e) => ({}), Et = (e) => ({});
3879
+ const Oi = (e) => ({}), yt = (e) => ({}), Pi = (e) => ({}), Et = (e) => ({}), Ci = (e) => ({}), xt = (e) => ({});
3876
3880
  function vt(e) {
3877
3881
  let t, r, n;
3878
3882
  return {
3879
3883
  c() {
3880
- t = X("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><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"></path></svg>', te(t, "class", "CashierHeaderLeftButton");
3884
+ t = z("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><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"></path></svg>', re(t, "class", "CashierHeaderLeftButton");
3881
3885
  },
3882
3886
  m(i, s) {
3883
- I(i, t, s), r || (n = Ct(
3887
+ M(i, t, s), r || (n = Ot(
3884
3888
  t,
3885
3889
  "click",
3886
3890
  /*back*/
@@ -3889,11 +3893,11 @@ function vt(e) {
3889
3893
  },
3890
3894
  p: T,
3891
3895
  d(i) {
3892
- i && P(t), r = !1, n();
3896
+ i && L(t), r = !1, n();
3893
3897
  }
3894
3898
  };
3895
3899
  }
3896
- function Pi(e) {
3900
+ function Li(e) {
3897
3901
  let t, r = (
3898
3902
  /*backButton*/
3899
3903
  e[1] && vt(e)
@@ -3903,18 +3907,18 @@ function Pi(e) {
3903
3907
  r && r.c(), t = At();
3904
3908
  },
3905
3909
  m(n, i) {
3906
- r && r.m(n, i), I(n, t, i);
3910
+ r && r.m(n, i), M(n, t, i);
3907
3911
  },
3908
3912
  p(n, i) {
3909
3913
  /*backButton*/
3910
3914
  n[1] ? r ? r.p(n, i) : (r = vt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3911
3915
  },
3912
3916
  d(n) {
3913
- n && P(t), r && r.d(n);
3917
+ n && L(t), r && r.d(n);
3914
3918
  }
3915
3919
  };
3916
3920
  }
3917
- function Li(e) {
3921
+ function Ni(e) {
3918
3922
  let t, r = (
3919
3923
  /*$_*/
3920
3924
  e[4](
@@ -3924,10 +3928,10 @@ function Li(e) {
3924
3928
  ), n;
3925
3929
  return {
3926
3930
  c() {
3927
- t = X("span"), n = Ve(r), te(t, "class", "CashierHeaderTitle");
3931
+ t = z("span"), n = ze(r), re(t, "class", "CashierHeaderTitle");
3928
3932
  },
3929
3933
  m(i, s) {
3930
- I(i, t, s), fe(t, n);
3934
+ M(i, t, s), ce(t, n);
3931
3935
  },
3932
3936
  p(i, s) {
3933
3937
  s & /*$_, titleText*/
@@ -3938,7 +3942,7 @@ function Li(e) {
3938
3942
  ) + "") && br(n, r);
3939
3943
  },
3940
3944
  d(i) {
3941
- i && P(t);
3945
+ i && L(t);
3942
3946
  }
3943
3947
  };
3944
3948
  }
@@ -3946,10 +3950,10 @@ function Ht(e) {
3946
3950
  let t, r, n;
3947
3951
  return {
3948
3952
  c() {
3949
- t = X("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><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"></path></svg>', te(t, "class", "CashierHeaderRightButton");
3953
+ t = z("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13"><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"></path></svg>', re(t, "class", "CashierHeaderRightButton");
3950
3954
  },
3951
3955
  m(i, s) {
3952
- I(i, t, s), r || (n = Ct(
3956
+ M(i, t, s), r || (n = Ot(
3953
3957
  t,
3954
3958
  "click",
3955
3959
  /*close*/
@@ -3958,11 +3962,11 @@ function Ht(e) {
3958
3962
  },
3959
3963
  p: T,
3960
3964
  d(i) {
3961
- i && P(t), r = !1, n();
3965
+ i && L(t), r = !1, n();
3962
3966
  }
3963
3967
  };
3964
3968
  }
3965
- function Ni(e) {
3969
+ function Ii(e) {
3966
3970
  let t, r = (
3967
3971
  /*closeButton*/
3968
3972
  e[3] && Ht(e)
@@ -3972,130 +3976,130 @@ function Ni(e) {
3972
3976
  r && r.c(), t = At();
3973
3977
  },
3974
3978
  m(n, i) {
3975
- r && r.m(n, i), I(n, t, i);
3979
+ r && r.m(n, i), M(n, t, i);
3976
3980
  },
3977
3981
  p(n, i) {
3978
3982
  /*closeButton*/
3979
3983
  n[3] ? r ? r.p(n, i) : (r = Ht(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3980
3984
  },
3981
3985
  d(n) {
3982
- n && P(t), r && r.d(n);
3986
+ n && L(t), r && r.d(n);
3983
3987
  }
3984
3988
  };
3985
3989
  }
3986
- function Ii(e) {
3990
+ function Mi(e) {
3987
3991
  let t, r, n, i;
3988
3992
  const s = (
3989
3993
  /*#slots*/
3990
3994
  e[16].leftButton
3991
- ), a = xe(
3995
+ ), a = ve(
3992
3996
  s,
3993
3997
  e,
3994
3998
  /*$$scope*/
3995
3999
  e[15],
3996
- Et
3997
- ), o = a || Pi(e), l = (
4000
+ xt
4001
+ ), o = a || Li(e), l = (
3998
4002
  /*#slots*/
3999
4003
  e[16].title
4000
- ), u = xe(
4004
+ ), u = ve(
4001
4005
  l,
4002
4006
  e,
4003
4007
  /*$$scope*/
4004
4008
  e[15],
4005
- xt
4006
- ), h = u || Li(e), c = (
4009
+ Et
4010
+ ), h = u || Ni(e), c = (
4007
4011
  /*#slots*/
4008
4012
  e[16].rightButton
4009
- ), m = xe(
4013
+ ), m = ve(
4010
4014
  c,
4011
4015
  e,
4012
4016
  /*$$scope*/
4013
4017
  e[15],
4014
4018
  yt
4015
- ), d = m || Ni(e);
4019
+ ), p = m || Ii(e);
4016
4020
  return {
4017
4021
  c() {
4018
- t = X("div"), o && o.c(), r = tt(), h && h.c(), n = tt(), d && d.c(), te(t, "class", "CashierHeader");
4022
+ t = z("div"), o && o.c(), r = tt(), h && h.c(), n = tt(), p && p.c(), re(t, "class", "CashierHeader");
4019
4023
  },
4020
4024
  m(f, _) {
4021
- I(f, t, _), o && o.m(t, null), fe(t, r), h && h.m(t, null), fe(t, n), d && d.m(t, null), e[17](t), i = !0;
4025
+ M(f, t, _), o && o.m(t, null), ce(t, r), h && h.m(t, null), ce(t, n), p && p.m(t, null), e[17](t), i = !0;
4022
4026
  },
4023
4027
  p(f, [_]) {
4024
4028
  a ? a.p && (!i || _ & /*$$scope*/
4025
- 32768) && ve(
4029
+ 32768) && Be(
4026
4030
  a,
4027
4031
  s,
4028
4032
  f,
4029
4033
  /*$$scope*/
4030
4034
  f[15],
4031
- i ? Ee(
4035
+ i ? He(
4032
4036
  s,
4033
4037
  /*$$scope*/
4034
4038
  f[15],
4035
4039
  _,
4036
- Oi
4037
- ) : He(
4040
+ Ci
4041
+ ) : Te(
4038
4042
  /*$$scope*/
4039
4043
  f[15]
4040
4044
  ),
4041
- Et
4045
+ xt
4042
4046
  ) : o && o.p && (!i || _ & /*backButton*/
4043
4047
  2) && o.p(f, i ? _ : -1), u ? u.p && (!i || _ & /*$$scope*/
4044
- 32768) && ve(
4048
+ 32768) && Be(
4045
4049
  u,
4046
4050
  l,
4047
4051
  f,
4048
4052
  /*$$scope*/
4049
4053
  f[15],
4050
- i ? Ee(
4054
+ i ? He(
4051
4055
  l,
4052
4056
  /*$$scope*/
4053
4057
  f[15],
4054
4058
  _,
4055
- Ci
4056
- ) : He(
4059
+ Pi
4060
+ ) : Te(
4057
4061
  /*$$scope*/
4058
4062
  f[15]
4059
4063
  ),
4060
- xt
4064
+ Et
4061
4065
  ) : h && h.p && (!i || _ & /*$_, titleText*/
4062
4066
  20) && h.p(f, i ? _ : -1), m ? m.p && (!i || _ & /*$$scope*/
4063
- 32768) && ve(
4067
+ 32768) && Be(
4064
4068
  m,
4065
4069
  c,
4066
4070
  f,
4067
4071
  /*$$scope*/
4068
4072
  f[15],
4069
- i ? Ee(
4073
+ i ? He(
4070
4074
  c,
4071
4075
  /*$$scope*/
4072
4076
  f[15],
4073
4077
  _,
4074
- Ai
4075
- ) : He(
4078
+ Oi
4079
+ ) : Te(
4076
4080
  /*$$scope*/
4077
4081
  f[15]
4078
4082
  ),
4079
4083
  yt
4080
- ) : d && d.p && (!i || _ & /*closeButton*/
4081
- 8) && d.p(f, i ? _ : -1);
4084
+ ) : p && p.p && (!i || _ & /*closeButton*/
4085
+ 8) && p.p(f, i ? _ : -1);
4082
4086
  },
4083
4087
  i(f) {
4084
- i || (ae(o, f), ae(h, f), ae(d, f), i = !0);
4088
+ i || (ue(o, f), ue(h, f), ue(p, f), i = !0);
4085
4089
  },
4086
4090
  o(f) {
4087
- Te(o, f), Te(h, f), Te(d, f), i = !1;
4091
+ Se(o, f), Se(h, f), Se(p, f), i = !1;
4088
4092
  },
4089
4093
  d(f) {
4090
- f && P(t), o && o.d(f), h && h.d(f), d && d.d(f), e[17](null);
4094
+ f && L(t), o && o.d(f), h && h.d(f), p && p.d(f), e[17](null);
4091
4095
  }
4092
4096
  };
4093
4097
  }
4094
- function Mi(e, t, r) {
4098
+ function $i(e, t, r) {
4095
4099
  let n;
4096
- fr(e, vi, (g) => r(4, n = g));
4097
- let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: u = "" } = t, { title: h = "header.general" } = t, { lang: c = "en" } = t, { showclosebutton: m = "" } = t, { mbsource: d = "" } = t, f, _ = !1, v, A = !1;
4098
- const C = () => {
4100
+ fr(e, Hi, (g) => r(4, n = g));
4101
+ let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: u = "" } = t, { title: h = "header.general" } = t, { lang: c = "en" } = t, { showclosebutton: m = "" } = t, { mbsource: p = "" } = t, f, _ = !1, v, O = !1;
4102
+ const P = () => {
4099
4103
  fetch(l).then((g) => g.json()).then((g) => {
4100
4104
  Object.keys(g).forEach((Qe) => {
4101
4105
  gt(Qe, g[Qe]);
@@ -4108,45 +4112,45 @@ function Mi(e, t, r) {
4108
4112
  gt(g, _t[g]);
4109
4113
  });
4110
4114
  const H = () => {
4111
- Hi(c);
4112
- }, N = () => {
4115
+ Bi(c);
4116
+ }, I = () => {
4113
4117
  window.postMessage({ type: "CloseCashier" }, window.location.href);
4114
- }, S = () => {
4118
+ }, A = () => {
4115
4119
  window.postMessage({ type: "BackCashier" }, window.location.href);
4116
4120
  }, R = () => {
4117
4121
  r(1, _ = !!u && u !== "false");
4118
- }, ie = () => {
4119
- r(3, A = !!m && m !== "false");
4122
+ }, se = () => {
4123
+ r(3, O = !!m && m !== "false");
4120
4124
  }, rr = () => {
4121
4125
  r(2, v = h || "header.general");
4122
4126
  };
4123
4127
  yr(() => () => {
4124
4128
  });
4125
4129
  function nr(g) {
4126
- Le[g ? "unshift" : "push"](() => {
4130
+ Ie[g ? "unshift" : "push"](() => {
4127
4131
  f = g, r(0, f);
4128
4132
  });
4129
4133
  }
4130
4134
  return e.$$set = (g) => {
4131
- "clientstyling" in g && r(7, a = g.clientstyling), "clientstylingurl" in g && r(8, o = g.clientstylingurl), "translationurl" in g && r(9, l = g.translationurl), "showbackbutton" in g && r(10, u = g.showbackbutton), "title" in g && r(11, h = g.title), "lang" in g && r(12, c = g.lang), "showclosebutton" in g && r(13, m = g.showclosebutton), "mbsource" in g && r(14, d = g.mbsource), "$$scope" in g && r(15, s = g.$$scope);
4135
+ "clientstyling" in g && r(7, a = g.clientstyling), "clientstylingurl" in g && r(8, o = g.clientstylingurl), "translationurl" in g && r(9, l = g.translationurl), "showbackbutton" in g && r(10, u = g.showbackbutton), "title" in g && r(11, h = g.title), "lang" in g && r(12, c = g.lang), "showclosebutton" in g && r(13, m = g.showclosebutton), "mbsource" in g && r(14, p = g.mbsource), "$$scope" in g && r(15, s = g.$$scope);
4132
4136
  }, e.$$.update = () => {
4133
4137
  e.$$.dirty & /*lang*/
4134
4138
  4096 && c && H(), e.$$.dirty & /*lang, title*/
4135
4139
  6144 && c && h && rr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4136
- 129 && a && f && Bi(f, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4137
- 257 && o && f && Ti(f, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4138
- 16385 && d && f && wi(f, `${d}.Style`), e.$$.dirty & /*lang, translationurl*/
4139
- 4608 && c && l && C(), e.$$.dirty & /*showbackbutton*/
4140
+ 129 && a && f && Ti(f, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4141
+ 257 && o && f && wi(f, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4142
+ 16385 && p && f && Si(f, `${p}.Style`), e.$$.dirty & /*lang, translationurl*/
4143
+ 4608 && c && l && P(), e.$$.dirty & /*showbackbutton*/
4140
4144
  1024 && u && R(), e.$$.dirty & /*showclosebutton*/
4141
- 8192 && m && ie();
4145
+ 8192 && m && se();
4142
4146
  }, [
4143
4147
  f,
4144
4148
  _,
4145
4149
  v,
4146
- A,
4150
+ O,
4147
4151
  n,
4148
- N,
4149
- S,
4152
+ I,
4153
+ A,
4150
4154
  a,
4151
4155
  o,
4152
4156
  l,
@@ -4154,19 +4158,19 @@ function Mi(e, t, r) {
4154
4158
  h,
4155
4159
  c,
4156
4160
  m,
4157
- d,
4161
+ p,
4158
4162
  s,
4159
4163
  i,
4160
4164
  nr
4161
4165
  ];
4162
4166
  }
4163
- class Ri extends Or {
4167
+ class Ri extends Pr {
4164
4168
  constructor(t) {
4165
4169
  super(), Ar(
4166
4170
  this,
4167
4171
  t,
4172
+ $i,
4168
4173
  Mi,
4169
- Ii,
4170
4174
  Tt,
4171
4175
  {
4172
4176
  clientstyling: 7,
@@ -4178,7 +4182,7 @@ class Ri extends Or {
4178
4182
  showclosebutton: 13,
4179
4183
  mbsource: 14
4180
4184
  },
4181
- Si
4185
+ Ai
4182
4186
  );
4183
4187
  }
4184
4188
  get clientstyling() {
@@ -4230,7 +4234,7 @@ class Ri extends Or {
4230
4234
  this.$$set({ mbsource: t }), w();
4231
4235
  }
4232
4236
  }
4233
- Cr(Ri, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
4237
+ Or(Ri, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
4234
4238
  export {
4235
4239
  Ri as default
4236
4240
  };