@everymatrix/cashier-iframe-redirect 1.72.2 → 1.73.0

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 ur = Object.defineProperty, hr = Object.defineProperties;
2
2
  var lr = Object.getOwnPropertyDescriptors;
3
3
  var Ye = Object.getOwnPropertySymbols;
4
4
  var fr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable;
5
- var He = (e, t, r) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
5
+ var Be = (e, t, r) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- fr.call(t, r) && He(e, r, t[r]);
7
+ fr.call(t, r) && Be(e, r, t[r]);
8
8
  if (Ye)
9
9
  for (var r of Ye(t))
10
- cr.call(t, r) && He(e, r, t[r]);
10
+ cr.call(t, r) && Be(e, r, t[r]);
11
11
  return e;
12
12
  }, et = (e, t) => hr(e, lr(t));
13
- var B = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
13
+ var B = (e, t, r) => (Be(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var tt = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (l) => {
16
16
  try {
@@ -43,18 +43,18 @@ function wt(e) {
43
43
  function rt() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
- function ne(e) {
46
+ function ie(e) {
47
47
  e.forEach(wt);
48
48
  }
49
- function ze(e) {
49
+ function Ze(e) {
50
50
  return typeof e == "function";
51
51
  }
52
52
  function St(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
- let ae;
56
- function Ri(e, t) {
57
- return e === t ? !0 : (ae || (ae = document.createElement("a")), ae.href = t, e === ae.href);
55
+ let ue;
56
+ function Ui(e, t) {
57
+ return e === t ? !0 : (ue || (ue = document.createElement("a")), ue.href = t, e === ue.href);
58
58
  }
59
59
  function pr(e) {
60
60
  return Object.keys(e).length === 0;
@@ -71,7 +71,7 @@ function At(e, ...t) {
71
71
  function dr(e, t, r) {
72
72
  e.$$.on_destroy.push(At(t, r));
73
73
  }
74
- function Be(e, t, r, n) {
74
+ function Te(e, t, r, n) {
75
75
  if (e) {
76
76
  const i = Ot(e, t, r, n);
77
77
  return e[0](i);
@@ -80,7 +80,7 @@ function Be(e, t, r, n) {
80
80
  function Ot(e, t, r, n) {
81
81
  return e[1] && n ? mr(r.ctx.slice(), e[1](n(t))) : r.ctx;
82
82
  }
83
- function Te(e, t, r, n) {
83
+ function we(e, t, r, n) {
84
84
  if (e[2] && n) {
85
85
  const i = e[2](n(r));
86
86
  if (t.dirty === void 0)
@@ -95,13 +95,13 @@ function Te(e, t, r, n) {
95
95
  }
96
96
  return t.dirty;
97
97
  }
98
- function we(e, t, r, n, i, s) {
98
+ function Se(e, t, r, n, i, s) {
99
99
  if (i) {
100
100
  const a = Ot(t, r, n, s);
101
101
  e.p(a, i);
102
102
  }
103
103
  }
104
- function Se(e) {
104
+ function Ae(e) {
105
105
  if (e.ctx.length > 32) {
106
106
  const t = [], r = e.ctx.length / 32;
107
107
  for (let n = 0; n < r; n++)
@@ -110,7 +110,7 @@ function Se(e) {
110
110
  }
111
111
  return -1;
112
112
  }
113
- function pe(e, t) {
113
+ function de(e, t) {
114
114
  e.appendChild(t);
115
115
  }
116
116
  function br(e, t, r) {
@@ -131,7 +131,7 @@ function gr(e) {
131
131
  ) : e.ownerDocument;
132
132
  }
133
133
  function _r(e, t) {
134
- return pe(
134
+ return de(
135
135
  /** @type {Document} */
136
136
  e.head || e,
137
137
  t
@@ -146,14 +146,14 @@ function L(e) {
146
146
  function Z(e) {
147
147
  return document.createElement(e);
148
148
  }
149
- function Ze(e) {
149
+ function Qe(e) {
150
150
  return document.createTextNode(e);
151
151
  }
152
152
  function nt() {
153
- return Ze(" ");
153
+ return Qe(" ");
154
154
  }
155
155
  function Ct() {
156
- return Ze("");
156
+ return Qe("");
157
157
  }
158
158
  function Pt(e, t, r, n) {
159
159
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
@@ -161,7 +161,7 @@ function Pt(e, t, r, n) {
161
161
  function Q(e, t, r) {
162
162
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
163
163
  }
164
- function Ui(e, t, r) {
164
+ function Di(e, t, r) {
165
165
  const n = t.toLowerCase();
166
166
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Q(e, t, r);
167
167
  }
@@ -181,88 +181,96 @@ function xr(e) {
181
181
  }
182
182
  ), t;
183
183
  }
184
- let Qe;
184
+ let te;
185
185
  function ee(e) {
186
- Qe = e;
186
+ te = e;
187
+ }
188
+ function vr() {
189
+ if (!te)
190
+ throw new Error("Function called outside component initialization");
191
+ return te;
187
192
  }
188
- const j = [], $e = [];
193
+ function Gi(e) {
194
+ vr().$$.on_mount.push(e);
195
+ }
196
+ const j = [], Re = [];
189
197
  let k = [];
190
- const it = [], vr = /* @__PURE__ */ Promise.resolve();
191
- let Re = !1;
192
- function Hr() {
193
- Re || (Re = !0, vr.then(O));
198
+ const it = [], Hr = /* @__PURE__ */ Promise.resolve();
199
+ let Ue = !1;
200
+ function Br() {
201
+ Ue || (Ue = !0, Hr.then(O));
194
202
  }
195
- function Ue(e) {
203
+ function De(e) {
196
204
  k.push(e);
197
205
  }
198
- const Ae = /* @__PURE__ */ new Set();
206
+ const Oe = /* @__PURE__ */ new Set();
199
207
  let G = 0;
200
208
  function O() {
201
209
  if (G !== 0)
202
210
  return;
203
- const e = Qe;
211
+ const e = te;
204
212
  do {
205
213
  try {
206
214
  for (; G < j.length; ) {
207
215
  const t = j[G];
208
- G++, ee(t), Br(t.$$);
216
+ G++, ee(t), Tr(t.$$);
209
217
  }
210
218
  } catch (t) {
211
219
  throw j.length = 0, G = 0, t;
212
220
  }
213
- for (ee(null), j.length = 0, G = 0; $e.length; )
214
- $e.pop()();
221
+ for (ee(null), j.length = 0, G = 0; Re.length; )
222
+ Re.pop()();
215
223
  for (let t = 0; t < k.length; t += 1) {
216
224
  const r = k[t];
217
- Ae.has(r) || (Ae.add(r), r());
225
+ Oe.has(r) || (Oe.add(r), r());
218
226
  }
219
227
  k.length = 0;
220
228
  } while (j.length);
221
229
  for (; it.length; )
222
230
  it.pop()();
223
- Re = !1, Ae.clear(), ee(e);
231
+ Ue = !1, Oe.clear(), ee(e);
224
232
  }
225
- function Br(e) {
233
+ function Tr(e) {
226
234
  if (e.fragment !== null) {
227
- e.update(), ne(e.before_update);
235
+ e.update(), ie(e.before_update);
228
236
  const t = e.dirty;
229
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ue);
237
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(De);
230
238
  }
231
239
  }
232
- function Tr(e) {
240
+ function wr(e) {
233
241
  const t = [], r = [];
234
242
  k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
235
243
  }
236
- const he = /* @__PURE__ */ new Set();
237
- let wr;
238
- function le(e, t) {
239
- e && e.i && (he.delete(e), e.i(t));
244
+ const le = /* @__PURE__ */ new Set();
245
+ let Sr;
246
+ function fe(e, t) {
247
+ e && e.i && (le.delete(e), e.i(t));
240
248
  }
241
- function Oe(e, t, r, n) {
249
+ function Ce(e, t, r, n) {
242
250
  if (e && e.o) {
243
- if (he.has(e))
251
+ if (le.has(e))
244
252
  return;
245
- he.add(e), wr.c.push(() => {
246
- he.delete(e);
253
+ le.add(e), Sr.c.push(() => {
254
+ le.delete(e);
247
255
  }), e.o(t);
248
256
  }
249
257
  }
250
- function Sr(e, t, r) {
258
+ function Ar(e, t, r) {
251
259
  const { fragment: n, after_update: i } = e.$$;
252
- n && n.m(t, r), Ue(() => {
253
- const s = e.$$.on_mount.map(wt).filter(ze);
254
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
255
- }), i.forEach(Ue);
260
+ n && n.m(t, r), De(() => {
261
+ const s = e.$$.on_mount.map(wt).filter(Ze);
262
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ie(s), e.$$.on_mount = [];
263
+ }), i.forEach(De);
256
264
  }
257
- function Ar(e, t) {
265
+ function Or(e, t) {
258
266
  const r = e.$$;
259
- r.fragment !== null && (Tr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
267
+ r.fragment !== null && (wr(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
260
268
  }
261
- function Or(e, t) {
262
- e.$$.dirty[0] === -1 && (j.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
269
+ function Cr(e, t) {
270
+ e.$$.dirty[0] === -1 && (j.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
263
271
  }
264
- function Cr(e, t, r, n, i, s, a = null, o = [-1]) {
265
- const l = Qe;
272
+ function Pr(e, t, r, n, i, s, a = null, o = [-1]) {
273
+ const l = te;
266
274
  ee(e);
267
275
  const u = e.$$ = {
268
276
  fragment: null,
@@ -289,14 +297,14 @@ function Cr(e, t, r, n, i, s, a = null, o = [-1]) {
289
297
  let h = !1;
290
298
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
291
299
  const m = p.length ? p[0] : c;
292
- return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Or(e, f)), c;
293
- }) : [], u.update(), h = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
300
+ return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Cr(e, f)), c;
301
+ }) : [], u.update(), h = !0, ie(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
294
302
  if (t.hydrate) {
295
303
  const f = yr(t.target);
296
304
  u.fragment && u.fragment.l(f), f.forEach(L);
297
305
  } else
298
306
  u.fragment && u.fragment.c();
299
- t.intro && le(e.$$.fragment), Sr(e, t.target, t.anchor), O();
307
+ t.intro && fe(e.$$.fragment), Ar(e, t.target, t.anchor), O();
300
308
  }
301
309
  ee(l);
302
310
  }
@@ -367,7 +375,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
367
375
  s in n && (r[s] = [t(s)]);
368
376
  for (const s of this.attributes) {
369
377
  const a = this.$$g_p(s.name);
370
- a in this.$$d || (this.$$d[a] = fe(a, s.value, this.$$p_d, "toProp"));
378
+ a in this.$$d || (this.$$d[a] = ce(a, s.value, this.$$p_d, "toProp"));
371
379
  }
372
380
  for (const s in this.$$p_d)
373
381
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
@@ -384,7 +392,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
384
392
  this.$$r = !0;
385
393
  for (const s in this.$$p_d)
386
394
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
387
- const a = fe(
395
+ const a = ce(
388
396
  s,
389
397
  this.$$d[s],
390
398
  this.$$p_d,
@@ -408,7 +416,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
408
416
  // and setting attributes through setAttribute etc, this is helpful
409
417
  attributeChangedCallback(t, r, n) {
410
418
  var i;
411
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = fe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
419
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ce(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
412
420
  }
413
421
  disconnectedCallback() {
414
422
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -421,7 +429,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
421
429
  ) || t;
422
430
  }
423
431
  });
424
- function fe(e, t, r, n) {
432
+ function ce(e, t, r, n) {
425
433
  var s;
426
434
  const i = (s = r[e]) == null ? void 0 : s.type;
427
435
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -451,7 +459,7 @@ function fe(e, t, r, n) {
451
459
  return t;
452
460
  }
453
461
  }
454
- function Pr(e, t, r, n, i, s) {
462
+ function Lr(e, t, r, n, i, s) {
455
463
  let a = class extends Lt {
456
464
  constructor() {
457
465
  super(e, r, i), this.$$p_d = t;
@@ -469,7 +477,7 @@ function Pr(e, t, r, n, i, s) {
469
477
  },
470
478
  set(l) {
471
479
  var u;
472
- l = fe(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
480
+ l = ce(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
473
481
  }
474
482
  });
475
483
  }), n.forEach((o) => {
@@ -482,7 +490,7 @@ function Pr(e, t, r, n, i, s) {
482
490
  }), e.element = /** @type {any} */
483
491
  a, a;
484
492
  }
485
- class Lr {
493
+ class Nr {
486
494
  constructor() {
487
495
  /**
488
496
  * ### PRIVATE API
@@ -503,7 +511,7 @@ class Lr {
503
511
  }
504
512
  /** @returns {void} */
505
513
  $destroy() {
506
- Ar(this, 1), this.$destroy = T;
514
+ Or(this, 1), this.$destroy = T;
507
515
  }
508
516
  /**
509
517
  * @template {Extract<keyof Events, string>} K
@@ -512,7 +520,7 @@ class Lr {
512
520
  * @returns {() => void}
513
521
  */
514
522
  $on(t, r) {
515
- if (!ze(r))
523
+ if (!Ze(r))
516
524
  return T;
517
525
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
518
526
  return n.push(r), () => {
@@ -528,15 +536,15 @@ class Lr {
528
536
  this.$$set && !pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
529
537
  }
530
538
  }
531
- const Nr = "4";
532
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
539
+ const Ir = "4";
540
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ir);
533
541
  const F = [];
534
- function Ir(e, t) {
542
+ function Mr(e, t) {
535
543
  return {
536
- subscribe: ye(e, t).subscribe
544
+ subscribe: Ee(e, t).subscribe
537
545
  };
538
546
  }
539
- function ye(e, t = T) {
547
+ function Ee(e, t = T) {
540
548
  let r;
541
549
  const n = /* @__PURE__ */ new Set();
542
550
  function i(o) {
@@ -567,7 +575,7 @@ function q(e, t, r) {
567
575
  if (!i.every(Boolean))
568
576
  throw new Error("derived() expects stores as input, got a falsy value");
569
577
  const s = t.length < 2;
570
- return Ir(r, (a, o) => {
578
+ return Mr(r, (a, o) => {
571
579
  let l = !1;
572
580
  const u = [];
573
581
  let h = 0, f = T;
@@ -576,7 +584,7 @@ function q(e, t, r) {
576
584
  return;
577
585
  f();
578
586
  const m = t(n ? u[0] : u, a, o);
579
- s ? a(m) : f = ze(m) ? m : T;
587
+ s ? a(m) : f = Ze(m) ? m : T;
580
588
  }, p = i.map(
581
589
  (m, g) => At(
582
590
  m,
@@ -589,51 +597,51 @@ function q(e, t, r) {
589
597
  )
590
598
  );
591
599
  return l = !0, c(), function() {
592
- ne(p), f(), l = !1;
600
+ ie(p), f(), l = !1;
593
601
  };
594
602
  });
595
603
  }
596
- function Mr(e) {
604
+ function $r(e) {
597
605
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
598
606
  }
599
- var $r = function(t) {
600
- return Rr(t) && !Ur(t);
607
+ var Rr = function(t) {
608
+ return Ur(t) && !Dr(t);
601
609
  };
602
- function Rr(e) {
610
+ function Ur(e) {
603
611
  return !!e && typeof e == "object";
604
612
  }
605
- function Ur(e) {
613
+ function Dr(e) {
606
614
  var t = Object.prototype.toString.call(e);
607
- return t === "[object RegExp]" || t === "[object Date]" || Fr(e);
608
- }
609
- var Dr = typeof Symbol == "function" && Symbol.for, Gr = Dr ? Symbol.for("react.element") : 60103;
610
- function Fr(e) {
611
- return e.$$typeof === Gr;
615
+ return t === "[object RegExp]" || t === "[object Date]" || jr(e);
612
616
  }
617
+ var Gr = typeof Symbol == "function" && Symbol.for, Fr = Gr ? Symbol.for("react.element") : 60103;
613
618
  function jr(e) {
619
+ return e.$$typeof === Fr;
620
+ }
621
+ function kr(e) {
614
622
  return Array.isArray(e) ? [] : {};
615
623
  }
616
- function te(e, t) {
617
- return t.clone !== !1 && t.isMergeableObject(e) ? V(jr(e), e, t) : e;
624
+ function re(e, t) {
625
+ return t.clone !== !1 && t.isMergeableObject(e) ? V(kr(e), e, t) : e;
618
626
  }
619
- function kr(e, t, r) {
627
+ function Vr(e, t, r) {
620
628
  return e.concat(t).map(function(n) {
621
- return te(n, r);
629
+ return re(n, r);
622
630
  });
623
631
  }
624
- function Vr(e, t) {
632
+ function Xr(e, t) {
625
633
  if (!t.customMerge)
626
634
  return V;
627
635
  var r = t.customMerge(e);
628
636
  return typeof r == "function" ? r : V;
629
637
  }
630
- function Xr(e) {
638
+ function zr(e) {
631
639
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
632
640
  return Object.propertyIsEnumerable.call(e, t);
633
641
  }) : [];
634
642
  }
635
643
  function st(e) {
636
- return Object.keys(e).concat(Xr(e));
644
+ return Object.keys(e).concat(zr(e));
637
645
  }
638
646
  function Nt(e, t) {
639
647
  try {
@@ -645,18 +653,18 @@ function Nt(e, t) {
645
653
  function Wr(e, t) {
646
654
  return Nt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
647
655
  }
648
- function zr(e, t, r) {
656
+ function Zr(e, t, r) {
649
657
  var n = {};
650
658
  return r.isMergeableObject(e) && st(e).forEach(function(i) {
651
- n[i] = te(e[i], r);
659
+ n[i] = re(e[i], r);
652
660
  }), st(t).forEach(function(i) {
653
- Wr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Vr(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
661
+ Wr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Xr(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
654
662
  }), n;
655
663
  }
656
664
  function V(e, t, r) {
657
- r = r || {}, r.arrayMerge = r.arrayMerge || kr, r.isMergeableObject = r.isMergeableObject || $r, r.cloneUnlessOtherwiseSpecified = te;
665
+ r = r || {}, r.arrayMerge = r.arrayMerge || Vr, r.isMergeableObject = r.isMergeableObject || Rr, r.cloneUnlessOtherwiseSpecified = re;
658
666
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
659
- return s ? n ? r.arrayMerge(e, t, r) : zr(e, t, r) : te(t, r);
667
+ return s ? n ? r.arrayMerge(e, t, r) : Zr(e, t, r) : re(t, r);
660
668
  }
661
669
  V.all = function(t, r) {
662
670
  if (!Array.isArray(t))
@@ -665,20 +673,20 @@ V.all = function(t, r) {
665
673
  return V(n, i, r);
666
674
  }, {});
667
675
  };
668
- var Zr = V, Qr = Zr;
669
- const qr = /* @__PURE__ */ Mr(Qr);
670
- var De = function(e, t) {
671
- return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
676
+ var Qr = V, qr = Qr;
677
+ const Jr = /* @__PURE__ */ $r(qr);
678
+ var Ge = function(e, t) {
679
+ return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
672
680
  r.__proto__ = n;
673
681
  } || function(r, n) {
674
682
  for (var i in n)
675
683
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
676
- }, De(e, t);
684
+ }, Ge(e, t);
677
685
  };
678
- function Ee(e, t) {
686
+ function xe(e, t) {
679
687
  if (typeof t != "function" && t !== null)
680
688
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
681
- De(e, t);
689
+ Ge(e, t);
682
690
  function r() {
683
691
  this.constructor = e;
684
692
  }
@@ -694,7 +702,7 @@ var w = function() {
694
702
  return t;
695
703
  }, w.apply(this, arguments);
696
704
  };
697
- function Jr(e, t) {
705
+ function Yr(e, t) {
698
706
  var r = {};
699
707
  for (var n in e)
700
708
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -703,24 +711,24 @@ function Jr(e, t) {
703
711
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
704
712
  return r;
705
713
  }
706
- function Ce(e, t, r) {
714
+ function Pe(e, t, r) {
707
715
  if (r || arguments.length === 2)
708
716
  for (var n = 0, i = t.length, s; n < i; n++)
709
717
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
710
718
  return e.concat(s || Array.prototype.slice.call(t));
711
719
  }
712
- function Pe(e, t) {
713
- var r = t && t.cache ? t.cache : sn, n = t && t.serializer ? t.serializer : rn, i = t && t.strategy ? t.strategy : en;
720
+ function Le(e, t) {
721
+ var r = t && t.cache ? t.cache : on, n = t && t.serializer ? t.serializer : nn, i = t && t.strategy ? t.strategy : tn;
714
722
  return i(e, {
715
723
  cache: r,
716
724
  serializer: n
717
725
  });
718
726
  }
719
- function Yr(e) {
727
+ function Kr(e) {
720
728
  return e == null || typeof e == "number" || typeof e == "boolean";
721
729
  }
722
- function Kr(e, t, r, n) {
723
- var i = Yr(n) ? n : r(n), s = t.get(i);
730
+ function en(e, t, r, n) {
731
+ var i = Kr(n) ? n : r(n), s = t.get(i);
724
732
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
725
733
  }
726
734
  function It(e, t, r) {
@@ -730,16 +738,16 @@ function It(e, t, r) {
730
738
  function Mt(e, t, r, n, i) {
731
739
  return r.bind(t, e, n, i);
732
740
  }
733
- function en(e, t) {
734
- var r = e.length === 1 ? Kr : It;
741
+ function tn(e, t) {
742
+ var r = e.length === 1 ? en : It;
735
743
  return Mt(e, this, r, t.cache.create(), t.serializer);
736
744
  }
737
- function tn(e, t) {
745
+ function rn(e, t) {
738
746
  return Mt(e, this, It, t.cache.create(), t.serializer);
739
747
  }
740
- var rn = function() {
748
+ var nn = function() {
741
749
  return JSON.stringify(arguments);
742
- }, nn = (
750
+ }, sn = (
743
751
  /** @class */
744
752
  function() {
745
753
  function e() {
@@ -751,21 +759,21 @@ var rn = function() {
751
759
  this.cache[t] = r;
752
760
  }, e;
753
761
  }()
754
- ), sn = {
762
+ ), on = {
755
763
  create: function() {
756
- return new nn();
764
+ return new sn();
757
765
  }
758
- }, Le = {
759
- variadic: tn
760
- }, de = function() {
761
- return de = Object.assign || function(t) {
766
+ }, Ne = {
767
+ variadic: rn
768
+ }, be = function() {
769
+ return be = Object.assign || function(t) {
762
770
  for (var r, n = 1, i = arguments.length; n < i; n++) {
763
771
  r = arguments[n];
764
772
  for (var s in r)
765
773
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
766
774
  }
767
775
  return t;
768
- }, de.apply(this, arguments);
776
+ }, be.apply(this, arguments);
769
777
  };
770
778
  var d;
771
779
  (function(e) {
@@ -782,7 +790,7 @@ var X;
782
790
  function ot(e) {
783
791
  return e.type === y.literal;
784
792
  }
785
- function on(e) {
793
+ function an(e) {
786
794
  return e.type === y.argument;
787
795
  }
788
796
  function $t(e) {
@@ -800,7 +808,7 @@ function Dt(e) {
800
808
  function Gt(e) {
801
809
  return e.type === y.plural;
802
810
  }
803
- function an(e) {
811
+ function un(e) {
804
812
  return e.type === y.pound;
805
813
  }
806
814
  function Ft(e) {
@@ -809,13 +817,13 @@ function Ft(e) {
809
817
  function jt(e) {
810
818
  return !!(e && typeof e == "object" && e.type === X.number);
811
819
  }
812
- function Ge(e) {
820
+ function Fe(e) {
813
821
  return !!(e && typeof e == "object" && e.type === X.dateTime);
814
822
  }
815
- var kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, un = /(?:[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 hn(e) {
823
+ var kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, hn = /(?:[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;
824
+ function ln(e) {
817
825
  var t = {};
818
- return e.replace(un, function(r) {
826
+ return e.replace(hn, function(r) {
819
827
  var n = r.length;
820
828
  switch (r[0]) {
821
829
  case "G":
@@ -914,11 +922,11 @@ var E = function() {
914
922
  return t;
915
923
  }, E.apply(this, arguments);
916
924
  };
917
- var ln = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
918
- function fn(e) {
925
+ var fn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
926
+ function cn(e) {
919
927
  if (e.length === 0)
920
928
  throw new Error("Number skeleton cannot be empty");
921
- for (var t = e.split(ln).filter(function(c) {
929
+ for (var t = e.split(fn).filter(function(c) {
922
930
  return c.length > 0;
923
931
  }), r = [], n = 0, i = t; n < i.length; n++) {
924
932
  var s = i[n], a = s.split("/");
@@ -933,17 +941,17 @@ function fn(e) {
933
941
  }
934
942
  return r;
935
943
  }
936
- function cn(e) {
944
+ function mn(e) {
937
945
  return e.replace(/^(.*?)-/, "");
938
946
  }
939
- var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vt = /^(@+)?(\+|#+)?[rs]?$/g, mn = /(\*)(0+)|(#+)(0+)|(0+)/g, Xt = /^(0+)$/;
947
+ var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vt = /^(@+)?(\+|#+)?[rs]?$/g, pn = /(\*)(0+)|(#+)(0+)|(0+)/g, Xt = /^(0+)$/;
940
948
  function ut(e) {
941
949
  var t = {};
942
950
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Vt, function(r, n, i) {
943
951
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
944
952
  }), t;
945
953
  }
946
- function Wt(e) {
954
+ function zt(e) {
947
955
  switch (e) {
948
956
  case "sign-auto":
949
957
  return {
@@ -983,7 +991,7 @@ function Wt(e) {
983
991
  };
984
992
  }
985
993
  }
986
- function pn(e) {
994
+ function dn(e) {
987
995
  var t;
988
996
  if (e[0] === "E" && e[1] === "E" ? (t = {
989
997
  notation: "engineering"
@@ -998,10 +1006,10 @@ function pn(e) {
998
1006
  return t;
999
1007
  }
1000
1008
  function ht(e) {
1001
- var t = {}, r = Wt(e);
1009
+ var t = {}, r = zt(e);
1002
1010
  return r || t;
1003
1011
  }
1004
- function dn(e) {
1012
+ function bn(e) {
1005
1013
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1006
1014
  var i = n[r];
1007
1015
  switch (i.stem) {
@@ -1025,7 +1033,7 @@ function dn(e) {
1025
1033
  continue;
1026
1034
  case "measure-unit":
1027
1035
  case "unit":
1028
- t.style = "unit", t.unit = cn(i.options[0]);
1036
+ t.style = "unit", t.unit = mn(i.options[0]);
1029
1037
  continue;
1030
1038
  case "compact-short":
1031
1039
  case "K":
@@ -1087,7 +1095,7 @@ function dn(e) {
1087
1095
  case "integer-width":
1088
1096
  if (i.options.length > 1)
1089
1097
  throw new RangeError("integer-width stems only accept a single optional option");
1090
- i.options[0].replace(mn, function(l, u, h, f, c, p) {
1098
+ i.options[0].replace(pn, function(l, u, h, f, c, p) {
1091
1099
  if (u)
1092
1100
  t.minimumIntegerDigits = h.length;
1093
1101
  else {
@@ -1118,14 +1126,14 @@ function dn(e) {
1118
1126
  t = E(E({}, t), ut(i.stem));
1119
1127
  continue;
1120
1128
  }
1121
- var a = Wt(i.stem);
1129
+ var a = zt(i.stem);
1122
1130
  a && (t = E(E({}, t), a));
1123
- var o = pn(i.stem);
1131
+ var o = dn(i.stem);
1124
1132
  o && (t = E(E({}, t), o));
1125
1133
  }
1126
1134
  return t;
1127
1135
  }
1128
- var ue = {
1136
+ var he = {
1129
1137
  "001": [
1130
1138
  "H",
1131
1139
  "h"
@@ -2540,13 +2548,13 @@ var ue = {
2540
2548
  "h"
2541
2549
  ]
2542
2550
  };
2543
- function bn(e, t) {
2551
+ function gn(e, t) {
2544
2552
  for (var r = "", n = 0; n < e.length; n++) {
2545
2553
  var i = e.charAt(n);
2546
2554
  if (i === "j") {
2547
2555
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2548
2556
  s++, n++;
2549
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = gn(t);
2557
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = _n(t);
2550
2558
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2551
2559
  r += l;
2552
2560
  for (; a-- > 0; )
@@ -2556,7 +2564,7 @@ function bn(e, t) {
2556
2564
  }
2557
2565
  return r;
2558
2566
  }
2559
- function gn(e) {
2567
+ function _n(e) {
2560
2568
  var t = e.hourCycle;
2561
2569
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2562
2570
  e.hourCycles && // @ts-ignore
@@ -2575,23 +2583,23 @@ function gn(e) {
2575
2583
  }
2576
2584
  var r = e.language, n;
2577
2585
  r !== "root" && (n = e.maximize().region);
2578
- var i = ue[n || ""] || ue[r || ""] || ue["".concat(r, "-001")] || ue["001"];
2586
+ var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
2579
2587
  return i[0];
2580
2588
  }
2581
- var Ne, _n = new RegExp("^".concat(kt.source, "*")), yn = new RegExp("".concat(kt.source, "*$"));
2589
+ var Ie, yn = new RegExp("^".concat(kt.source, "*")), En = new RegExp("".concat(kt.source, "*$"));
2582
2590
  function b(e, t) {
2583
2591
  return { start: e, end: t };
2584
2592
  }
2585
- var En = !!String.prototype.startsWith && "_a".startsWith("a", 1), xn = !!String.fromCodePoint, vn = !!Object.fromEntries, Hn = !!String.prototype.codePointAt, Bn = !!String.prototype.trimStart, Tn = !!String.prototype.trimEnd, wn = !!Number.isSafeInteger, Sn = wn ? Number.isSafeInteger : function(e) {
2593
+ var xn = !!String.prototype.startsWith && "_a".startsWith("a", 1), vn = !!String.fromCodePoint, Hn = !!Object.fromEntries, Bn = !!String.prototype.codePointAt, Tn = !!String.prototype.trimStart, wn = !!String.prototype.trimEnd, Sn = !!Number.isSafeInteger, An = Sn ? Number.isSafeInteger : function(e) {
2586
2594
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2587
- }, Fe = !0;
2595
+ }, je = !0;
2588
2596
  try {
2589
- var An = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2590
- Fe = ((Ne = An.exec("a")) === null || Ne === void 0 ? void 0 : Ne[0]) === "a";
2597
+ var On = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2598
+ je = ((Ie = On.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
2591
2599
  } catch (e) {
2592
- Fe = !1;
2600
+ je = !1;
2593
2601
  }
2594
- var lt = En ? (
2602
+ var lt = xn ? (
2595
2603
  // Native
2596
2604
  function(t, r, n) {
2597
2605
  return t.startsWith(r, n);
@@ -2601,7 +2609,7 @@ var lt = En ? (
2601
2609
  function(t, r, n) {
2602
2610
  return t.slice(n, n + r.length) === r;
2603
2611
  }
2604
- ), je = xn ? String.fromCodePoint : (
2612
+ ), ke = vn ? String.fromCodePoint : (
2605
2613
  // IE11
2606
2614
  function() {
2607
2615
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2615,7 +2623,7 @@ var lt = En ? (
2615
2623
  }
2616
2624
  ), ft = (
2617
2625
  // native
2618
- vn ? Object.fromEntries : (
2626
+ Hn ? Object.fromEntries : (
2619
2627
  // Ponyfill
2620
2628
  function(t) {
2621
2629
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2625,7 +2633,7 @@ var lt = En ? (
2625
2633
  return r;
2626
2634
  }
2627
2635
  )
2628
- ), zt = Hn ? (
2636
+ ), Wt = Bn ? (
2629
2637
  // Native
2630
2638
  function(t, r) {
2631
2639
  return t.codePointAt(r);
@@ -2639,7 +2647,7 @@ var lt = En ? (
2639
2647
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2640
2648
  }
2641
2649
  }
2642
- ), On = Bn ? (
2650
+ ), Cn = Tn ? (
2643
2651
  // Native
2644
2652
  function(t) {
2645
2653
  return t.trimStart();
@@ -2647,9 +2655,9 @@ var lt = En ? (
2647
2655
  ) : (
2648
2656
  // Ponyfill
2649
2657
  function(t) {
2650
- return t.replace(_n, "");
2658
+ return t.replace(yn, "");
2651
2659
  }
2652
- ), Cn = Tn ? (
2660
+ ), Pn = wn ? (
2653
2661
  // Native
2654
2662
  function(t) {
2655
2663
  return t.trimEnd();
@@ -2657,32 +2665,32 @@ var lt = En ? (
2657
2665
  ) : (
2658
2666
  // Ponyfill
2659
2667
  function(t) {
2660
- return t.replace(yn, "");
2668
+ return t.replace(En, "");
2661
2669
  }
2662
2670
  );
2663
2671
  function Zt(e, t) {
2664
2672
  return new RegExp(e, t);
2665
2673
  }
2666
- var ke;
2667
- if (Fe) {
2674
+ var Ve;
2675
+ if (je) {
2668
2676
  var ct = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2669
- ke = function(t, r) {
2677
+ Ve = function(t, r) {
2670
2678
  var n;
2671
2679
  ct.lastIndex = r;
2672
2680
  var i = ct.exec(t);
2673
2681
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2674
2682
  };
2675
2683
  } else
2676
- ke = function(t, r) {
2684
+ Ve = function(t, r) {
2677
2685
  for (var n = []; ; ) {
2678
- var i = zt(t, r);
2679
- if (i === void 0 || Qt(i) || In(i))
2686
+ var i = Wt(t, r);
2687
+ if (i === void 0 || Qt(i) || Mn(i))
2680
2688
  break;
2681
2689
  n.push(i), r += i >= 65536 ? 2 : 1;
2682
2690
  }
2683
- return je.apply(void 0, n);
2691
+ return ke.apply(void 0, n);
2684
2692
  };
2685
- var Pn = (
2693
+ var Ln = (
2686
2694
  /** @class */
2687
2695
  function() {
2688
2696
  function e(t, r) {
@@ -2713,7 +2721,7 @@ var Pn = (
2713
2721
  if (n)
2714
2722
  break;
2715
2723
  return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2716
- } else if (s === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
2724
+ } else if (s === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
2717
2725
  var a = this.parseTag(t, r);
2718
2726
  if (a.err)
2719
2727
  return a;
@@ -2746,7 +2754,7 @@ var Pn = (
2746
2754
  return s;
2747
2755
  var a = s.val, o = this.clonePosition();
2748
2756
  if (this.bumpIf("</")) {
2749
- if (this.isEOF() || !Ve(this.char()))
2757
+ if (this.isEOF() || !Xe(this.char()))
2750
2758
  return this.error(d.INVALID_TAG, b(o, this.clonePosition()));
2751
2759
  var l = this.clonePosition(), u = this.parseTagName();
2752
2760
  return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2764,7 +2772,7 @@ var Pn = (
2764
2772
  return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
2765
2773
  }, e.prototype.parseTagName = function() {
2766
2774
  var t = this.offset();
2767
- for (this.bump(); !this.isEOF() && Nn(this.char()); )
2775
+ for (this.bump(); !this.isEOF() && In(this.char()); )
2768
2776
  this.bump();
2769
2777
  return this.message.slice(t, this.offset());
2770
2778
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2793,7 +2801,7 @@ var Pn = (
2793
2801
  };
2794
2802
  }, e.prototype.tryParseLeftAngleBracket = function() {
2795
2803
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2796
- !Ln(this.peek() || 0)) ? (this.bump(), "<") : null;
2804
+ !Nn(this.peek() || 0)) ? (this.bump(), "<") : null;
2797
2805
  }, e.prototype.tryParseQuote = function(t) {
2798
2806
  if (this.isEOF() || this.char() !== 39)
2799
2807
  return null;
@@ -2827,12 +2835,12 @@ var Pn = (
2827
2835
  r.push(n);
2828
2836
  this.bump();
2829
2837
  }
2830
- return je.apply(void 0, r);
2838
+ return ke.apply(void 0, r);
2831
2839
  }, e.prototype.tryParseUnquoted = function(t, r) {
2832
2840
  if (this.isEOF())
2833
2841
  return null;
2834
2842
  var n = this.char();
2835
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
2843
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
2836
2844
  }, e.prototype.parseArgument = function(t, r) {
2837
2845
  var n = this.clonePosition();
2838
2846
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2861,7 +2869,7 @@ var Pn = (
2861
2869
  return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2862
2870
  }
2863
2871
  }, e.prototype.parseIdentifierIfPossible = function() {
2864
- var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
2872
+ var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
2865
2873
  this.bumpTo(i);
2866
2874
  var s = this.clonePosition(), a = b(t, s);
2867
2875
  return { value: n, location: a };
@@ -2880,7 +2888,7 @@ var Pn = (
2880
2888
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2881
2889
  if (f.err)
2882
2890
  return f;
2883
- var c = Cn(f.val);
2891
+ var c = Pn(f.val);
2884
2892
  if (c.length === 0)
2885
2893
  return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2886
2894
  var p = b(h, this.clonePosition());
@@ -2891,7 +2899,7 @@ var Pn = (
2891
2899
  return m;
2892
2900
  var g = b(i, this.clonePosition());
2893
2901
  if (u && lt(u == null ? void 0 : u.style, "::", 0)) {
2894
- var v = On(u.style.slice(2));
2902
+ var v = Cn(u.style.slice(2));
2895
2903
  if (o === "number") {
2896
2904
  var f = this.parseNumberSkeletonFromString(v, u.styleLocation);
2897
2905
  return f.err ? f : {
@@ -2902,12 +2910,12 @@ var Pn = (
2902
2910
  if (v.length === 0)
2903
2911
  return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
2904
2912
  var I = v;
2905
- this.locale && (I = bn(v, this.locale));
2913
+ this.locale && (I = gn(v, this.locale));
2906
2914
  var c = {
2907
2915
  type: X.dateTime,
2908
2916
  pattern: I,
2909
2917
  location: u.styleLocation,
2910
- parsedOptions: this.shouldParseSkeletons ? hn(I) : {}
2918
+ parsedOptions: this.shouldParseSkeletons ? ln(I) : {}
2911
2919
  }, C = o === "date" ? y.date : y.time;
2912
2920
  return {
2913
2921
  val: { type: C, value: n, location: g, style: c },
@@ -2930,7 +2938,7 @@ var Pn = (
2930
2938
  case "select": {
2931
2939
  var H = this.clonePosition();
2932
2940
  if (this.bumpSpace(), !this.bumpIf(","))
2933
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, de({}, H)));
2941
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, be({}, H)));
2934
2942
  this.bumpSpace();
2935
2943
  var M = this.parseIdentifierIfPossible(), S = 0;
2936
2944
  if (o !== "select" && M.value === "offset") {
@@ -2948,13 +2956,13 @@ var Pn = (
2948
2956
  var m = this.tryParseArgumentClose(i);
2949
2957
  if (m.err)
2950
2958
  return m;
2951
- var oe = b(i, this.clonePosition());
2959
+ var ae = b(i, this.clonePosition());
2952
2960
  return o === "select" ? {
2953
2961
  val: {
2954
2962
  type: y.select,
2955
2963
  value: n,
2956
2964
  options: ft(U.val),
2957
- location: oe
2965
+ location: ae
2958
2966
  },
2959
2967
  err: null
2960
2968
  } : {
@@ -2964,7 +2972,7 @@ var Pn = (
2964
2972
  options: ft(U.val),
2965
2973
  offset: S,
2966
2974
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2967
- location: oe
2975
+ location: ae
2968
2976
  },
2969
2977
  err: null
2970
2978
  };
@@ -3012,7 +3020,7 @@ var Pn = (
3012
3020
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3013
3021
  var n = [];
3014
3022
  try {
3015
- n = fn(t);
3023
+ n = cn(t);
3016
3024
  } catch (i) {
3017
3025
  return this.error(d.INVALID_NUMBER_SKELETON, r);
3018
3026
  }
@@ -3021,7 +3029,7 @@ var Pn = (
3021
3029
  type: X.number,
3022
3030
  tokens: n,
3023
3031
  location: r,
3024
- parsedOptions: this.shouldParseSkeletons ? dn(n) : {}
3032
+ parsedOptions: this.shouldParseSkeletons ? bn(n) : {}
3025
3033
  },
3026
3034
  err: null
3027
3035
  };
@@ -3069,7 +3077,7 @@ var Pn = (
3069
3077
  break;
3070
3078
  }
3071
3079
  var l = b(i, this.clonePosition());
3072
- return s ? (a *= n, Sn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3080
+ return s ? (a *= n, An(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3073
3081
  }, e.prototype.offset = function() {
3074
3082
  return this.position.offset;
3075
3083
  }, e.prototype.isEOF = function() {
@@ -3084,7 +3092,7 @@ var Pn = (
3084
3092
  var t = this.position.offset;
3085
3093
  if (t >= this.message.length)
3086
3094
  throw Error("out of bound");
3087
- var r = zt(this.message, t);
3095
+ var r = Wt(this.message, t);
3088
3096
  if (r === void 0)
3089
3097
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3090
3098
  return r;
@@ -3135,47 +3143,47 @@ var Pn = (
3135
3143
  }, e;
3136
3144
  }()
3137
3145
  );
3138
- function Ve(e) {
3146
+ function Xe(e) {
3139
3147
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3140
3148
  }
3141
- function Ln(e) {
3142
- return Ve(e) || e === 47;
3143
- }
3144
3149
  function Nn(e) {
3150
+ return Xe(e) || e === 47;
3151
+ }
3152
+ function In(e) {
3145
3153
  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;
3146
3154
  }
3147
3155
  function Qt(e) {
3148
3156
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3149
3157
  }
3150
- function In(e) {
3158
+ function Mn(e) {
3151
3159
  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;
3152
3160
  }
3153
- function Xe(e) {
3161
+ function ze(e) {
3154
3162
  e.forEach(function(t) {
3155
3163
  if (delete t.location, Dt(t) || Gt(t))
3156
3164
  for (var r in t.options)
3157
- delete t.options[r].location, Xe(t.options[r].value);
3165
+ delete t.options[r].location, ze(t.options[r].value);
3158
3166
  else
3159
- $t(t) && jt(t.style) || (Rt(t) || Ut(t)) && Ge(t.style) ? delete t.style.location : Ft(t) && Xe(t.children);
3167
+ $t(t) && jt(t.style) || (Rt(t) || Ut(t)) && Fe(t.style) ? delete t.style.location : Ft(t) && ze(t.children);
3160
3168
  });
3161
3169
  }
3162
- function Mn(e, t) {
3163
- t === void 0 && (t = {}), t = de({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3164
- var r = new Pn(e, t).parse();
3170
+ function $n(e, t) {
3171
+ t === void 0 && (t = {}), t = be({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3172
+ var r = new Ln(e, t).parse();
3165
3173
  if (r.err) {
3166
3174
  var n = SyntaxError(d[r.err.kind]);
3167
3175
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3168
3176
  }
3169
- return t != null && t.captureLocation || Xe(r.val), r.val;
3177
+ return t != null && t.captureLocation || ze(r.val), r.val;
3170
3178
  }
3171
- var W;
3179
+ var z;
3172
3180
  (function(e) {
3173
3181
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3174
- })(W || (W = {}));
3175
- var xe = (
3182
+ })(z || (z = {}));
3183
+ var ve = (
3176
3184
  /** @class */
3177
3185
  function(e) {
3178
- Ee(t, e);
3186
+ xe(t, e);
3179
3187
  function t(r, n, i) {
3180
3188
  var s = e.call(this, r) || this;
3181
3189
  return s.code = n, s.originalMessage = i, s;
@@ -3187,44 +3195,44 @@ var xe = (
3187
3195
  ), mt = (
3188
3196
  /** @class */
3189
3197
  function(e) {
3190
- Ee(t, e);
3198
+ xe(t, e);
3191
3199
  function t(r, n, i, s) {
3192
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, s) || this;
3200
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, s) || this;
3193
3201
  }
3194
3202
  return t;
3195
- }(xe)
3196
- ), $n = (
3203
+ }(ve)
3204
+ ), Rn = (
3197
3205
  /** @class */
3198
3206
  function(e) {
3199
- Ee(t, e);
3207
+ xe(t, e);
3200
3208
  function t(r, n, i) {
3201
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
3209
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
3202
3210
  }
3203
3211
  return t;
3204
- }(xe)
3205
- ), Rn = (
3212
+ }(ve)
3213
+ ), Un = (
3206
3214
  /** @class */
3207
3215
  function(e) {
3208
- Ee(t, e);
3216
+ xe(t, e);
3209
3217
  function t(r, n) {
3210
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
3218
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
3211
3219
  }
3212
3220
  return t;
3213
- }(xe)
3221
+ }(ve)
3214
3222
  ), x;
3215
3223
  (function(e) {
3216
3224
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3217
3225
  })(x || (x = {}));
3218
- function Un(e) {
3226
+ function Dn(e) {
3219
3227
  return e.length < 2 ? e : e.reduce(function(t, r) {
3220
3228
  var n = t[t.length - 1];
3221
3229
  return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3222
3230
  }, []);
3223
3231
  }
3224
- function Dn(e) {
3232
+ function Gn(e) {
3225
3233
  return typeof e == "function";
3226
3234
  }
3227
- function ce(e, t, r, n, i, s, a) {
3235
+ function me(e, t, r, n, i, s, a) {
3228
3236
  if (e.length === 1 && ot(e[0]))
3229
3237
  return [
3230
3238
  {
@@ -3241,7 +3249,7 @@ function ce(e, t, r, n, i, s, a) {
3241
3249
  });
3242
3250
  continue;
3243
3251
  }
3244
- if (an(h)) {
3252
+ if (un(h)) {
3245
3253
  typeof s == "number" && o.push({
3246
3254
  type: x.literal,
3247
3255
  value: r.getNumberFormat(t).format(s)
@@ -3250,9 +3258,9 @@ function ce(e, t, r, n, i, s, a) {
3250
3258
  }
3251
3259
  var f = h.value;
3252
3260
  if (!(i && f in i))
3253
- throw new Rn(f, a);
3261
+ throw new Un(f, a);
3254
3262
  var c = i[f];
3255
- if (on(h)) {
3263
+ if (an(h)) {
3256
3264
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3257
3265
  type: typeof c == "string" ? x.literal : x.object,
3258
3266
  value: c
@@ -3260,7 +3268,7 @@ function ce(e, t, r, n, i, s, a) {
3260
3268
  continue;
3261
3269
  }
3262
3270
  if (Rt(h)) {
3263
- var p = typeof h.style == "string" ? n.date[h.style] : Ge(h.style) ? h.style.parsedOptions : void 0;
3271
+ var p = typeof h.style == "string" ? n.date[h.style] : Fe(h.style) ? h.style.parsedOptions : void 0;
3264
3272
  o.push({
3265
3273
  type: x.literal,
3266
3274
  value: r.getDateTimeFormat(t, p).format(c)
@@ -3268,7 +3276,7 @@ function ce(e, t, r, n, i, s, a) {
3268
3276
  continue;
3269
3277
  }
3270
3278
  if (Ut(h)) {
3271
- var p = typeof h.style == "string" ? n.time[h.style] : Ge(h.style) ? h.style.parsedOptions : n.time.medium;
3279
+ var p = typeof h.style == "string" ? n.time[h.style] : Fe(h.style) ? h.style.parsedOptions : n.time.medium;
3272
3280
  o.push({
3273
3281
  type: x.literal,
3274
3282
  value: r.getDateTimeFormat(t, p).format(c)
@@ -3285,9 +3293,9 @@ function ce(e, t, r, n, i, s, a) {
3285
3293
  }
3286
3294
  if (Ft(h)) {
3287
3295
  var m = h.children, g = h.value, v = i[g];
3288
- if (!Dn(v))
3289
- throw new $n(g, "function", a);
3290
- var I = ce(m, t, r, n, i, s), C = v(I.map(function(S) {
3296
+ if (!Gn(v))
3297
+ throw new Rn(g, "function", a);
3298
+ var I = me(m, t, r, n, i, s), C = v(I.map(function(S) {
3291
3299
  return S.value;
3292
3300
  }));
3293
3301
  Array.isArray(C) || (C = [C]), o.push.apply(o, C.map(function(S) {
@@ -3301,38 +3309,38 @@ function ce(e, t, r, n, i, s, a) {
3301
3309
  var H = h.options[c] || h.options.other;
3302
3310
  if (!H)
3303
3311
  throw new mt(h.value, c, Object.keys(h.options), a);
3304
- o.push.apply(o, ce(H.value, t, r, n, i));
3312
+ o.push.apply(o, me(H.value, t, r, n, i));
3305
3313
  continue;
3306
3314
  }
3307
3315
  if (Gt(h)) {
3308
3316
  var H = h.options["=".concat(c)];
3309
3317
  if (!H) {
3310
3318
  if (!Intl.PluralRules)
3311
- throw new xe(`Intl.PluralRules is not available in this environment.
3319
+ throw new ve(`Intl.PluralRules is not available in this environment.
3312
3320
  Try polyfilling it using "@formatjs/intl-pluralrules"
3313
- `, W.MISSING_INTL_API, a);
3321
+ `, z.MISSING_INTL_API, a);
3314
3322
  var M = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3315
3323
  H = h.options[M] || h.options.other;
3316
3324
  }
3317
3325
  if (!H)
3318
3326
  throw new mt(h.value, c, Object.keys(h.options), a);
3319
- o.push.apply(o, ce(H.value, t, r, n, i, c - (h.offset || 0)));
3327
+ o.push.apply(o, me(H.value, t, r, n, i, c - (h.offset || 0)));
3320
3328
  continue;
3321
3329
  }
3322
3330
  }
3323
- return Un(o);
3331
+ return Dn(o);
3324
3332
  }
3325
- function Gn(e, t) {
3333
+ function Fn(e, t) {
3326
3334
  return t ? w(w(w({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3327
3335
  return r[n] = w(w({}, e[n]), t[n] || {}), r;
3328
3336
  }, {})) : e;
3329
3337
  }
3330
- function Fn(e, t) {
3338
+ function jn(e, t) {
3331
3339
  return t ? Object.keys(e).reduce(function(r, n) {
3332
- return r[n] = Gn(e[n], t[n]), r;
3340
+ return r[n] = Fn(e[n], t[n]), r;
3333
3341
  }, w({}, e)) : e;
3334
3342
  }
3335
- function Ie(e) {
3343
+ function Me(e) {
3336
3344
  return {
3337
3345
  create: function() {
3338
3346
  return {
@@ -3346,35 +3354,35 @@ function Ie(e) {
3346
3354
  }
3347
3355
  };
3348
3356
  }
3349
- function jn(e) {
3357
+ function kn(e) {
3350
3358
  return e === void 0 && (e = {
3351
3359
  number: {},
3352
3360
  dateTime: {},
3353
3361
  pluralRules: {}
3354
3362
  }), {
3355
- getNumberFormat: Pe(function() {
3363
+ getNumberFormat: Le(function() {
3356
3364
  for (var t, r = [], n = 0; n < arguments.length; n++)
3357
3365
  r[n] = arguments[n];
3358
- return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
3366
+ return new ((t = Intl.NumberFormat).bind.apply(t, Pe([void 0], r, !1)))();
3359
3367
  }, {
3360
- cache: Ie(e.number),
3361
- strategy: Le.variadic
3368
+ cache: Me(e.number),
3369
+ strategy: Ne.variadic
3362
3370
  }),
3363
- getDateTimeFormat: Pe(function() {
3371
+ getDateTimeFormat: Le(function() {
3364
3372
  for (var t, r = [], n = 0; n < arguments.length; n++)
3365
3373
  r[n] = arguments[n];
3366
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
3374
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Pe([void 0], r, !1)))();
3367
3375
  }, {
3368
- cache: Ie(e.dateTime),
3369
- strategy: Le.variadic
3376
+ cache: Me(e.dateTime),
3377
+ strategy: Ne.variadic
3370
3378
  }),
3371
- getPluralRules: Pe(function() {
3379
+ getPluralRules: Le(function() {
3372
3380
  for (var t, r = [], n = 0; n < arguments.length; n++)
3373
3381
  r[n] = arguments[n];
3374
- return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
3382
+ return new ((t = Intl.PluralRules).bind.apply(t, Pe([void 0], r, !1)))();
3375
3383
  }, {
3376
- cache: Ie(e.pluralRules),
3377
- strategy: Le.variadic
3384
+ cache: Me(e.pluralRules),
3385
+ strategy: Ne.variadic
3378
3386
  })
3379
3387
  };
3380
3388
  }
@@ -3397,7 +3405,7 @@ var qt = (
3397
3405
  }, []);
3398
3406
  return h.length <= 1 ? h[0] || "" : h;
3399
3407
  }, this.formatToParts = function(l) {
3400
- return ce(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3408
+ return me(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3401
3409
  }, this.resolvedOptions = function() {
3402
3410
  var l;
3403
3411
  return {
@@ -3410,13 +3418,13 @@ var qt = (
3410
3418
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3411
3419
  var a = i || {};
3412
3420
  a.formatters;
3413
- var o = Jr(a, ["formatters"]);
3421
+ var o = Yr(a, ["formatters"]);
3414
3422
  this.ast = e.__parse(t, w(w({}, o), { locale: this.resolvedLocale }));
3415
3423
  } else
3416
3424
  this.ast = t;
3417
3425
  if (!Array.isArray(this.ast))
3418
3426
  throw new TypeError("A message must be provided as a String or AST.");
3419
- this.formats = Fn(e.formats, n), this.formatters = i && i.formatters || jn(this.formatterCache);
3427
+ this.formats = jn(e.formats, n), this.formatters = i && i.formatters || kn(this.formatterCache);
3420
3428
  }
3421
3429
  return Object.defineProperty(e, "defaultLocale", {
3422
3430
  get: function() {
@@ -3429,7 +3437,7 @@ var qt = (
3429
3437
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3430
3438
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3431
3439
  }
3432
- }, e.__parse = Mn, e.formats = {
3440
+ }, e.__parse = $n, e.formats = {
3433
3441
  number: {
3434
3442
  integer: {
3435
3443
  maximumFractionDigits: 0
@@ -3490,7 +3498,7 @@ var qt = (
3490
3498
  }, e;
3491
3499
  }()
3492
3500
  );
3493
- function kn(e, t) {
3501
+ function Vn(e, t) {
3494
3502
  if (t == null)
3495
3503
  return;
3496
3504
  if (t in e)
@@ -3511,21 +3519,21 @@ function kn(e, t) {
3511
3519
  n = void 0;
3512
3520
  return n;
3513
3521
  }
3514
- const P = {}, Vn = (e, t, r) => r && (t in P || (P[t] = {}), e in P[t] || (P[t][e] = r), r), Jt = (e, t) => {
3522
+ const P = {}, Xn = (e, t, r) => r && (t in P || (P[t] = {}), e in P[t] || (P[t][e] = r), r), Jt = (e, t) => {
3515
3523
  if (t == null)
3516
3524
  return;
3517
3525
  if (t in P && e in P[t])
3518
3526
  return P[t][e];
3519
- const r = se(t);
3527
+ const r = oe(t);
3520
3528
  for (let n = 0; n < r.length; n++) {
3521
3529
  const i = r[n], s = Wn(i, e);
3522
3530
  if (s)
3523
- return Vn(e, t, s);
3531
+ return Xn(e, t, s);
3524
3532
  }
3525
3533
  };
3526
3534
  let qe;
3527
- const ie = ye({});
3528
- function Xn(e) {
3535
+ const se = Ee({});
3536
+ function zn(e) {
3529
3537
  return qe[e] || null;
3530
3538
  }
3531
3539
  function Yt(e) {
@@ -3534,13 +3542,13 @@ function Yt(e) {
3534
3542
  function Wn(e, t) {
3535
3543
  if (!Yt(e))
3536
3544
  return null;
3537
- const r = Xn(e);
3538
- return kn(r, t);
3545
+ const r = zn(e);
3546
+ return Vn(r, t);
3539
3547
  }
3540
- function zn(e) {
3548
+ function Zn(e) {
3541
3549
  if (e == null)
3542
3550
  return;
3543
- const t = se(e);
3551
+ const t = oe(e);
3544
3552
  for (let r = 0; r < t.length; r++) {
3545
3553
  const n = t[r];
3546
3554
  if (Yt(n))
@@ -3548,64 +3556,64 @@ function zn(e) {
3548
3556
  }
3549
3557
  }
3550
3558
  function Kt(e, ...t) {
3551
- delete P[e], ie.update((r) => (r[e] = qr.all([r[e] || {}, ...t]), r));
3559
+ delete P[e], se.update((r) => (r[e] = Jr.all([r[e] || {}, ...t]), r));
3552
3560
  }
3553
3561
  q(
3554
- [ie],
3562
+ [se],
3555
3563
  ([e]) => Object.keys(e)
3556
3564
  );
3557
- ie.subscribe((e) => qe = e);
3558
- const me = {};
3559
- function Zn(e, t) {
3560
- me[e].delete(t), me[e].size === 0 && delete me[e];
3565
+ se.subscribe((e) => qe = e);
3566
+ const pe = {};
3567
+ function Qn(e, t) {
3568
+ pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3561
3569
  }
3562
3570
  function er(e) {
3563
- return me[e];
3571
+ return pe[e];
3564
3572
  }
3565
- function Qn(e) {
3566
- return se(e).map((t) => {
3573
+ function qn(e) {
3574
+ return oe(e).map((t) => {
3567
3575
  const r = er(t);
3568
3576
  return [t, r ? [...r] : []];
3569
3577
  }).filter(([, t]) => t.length > 0);
3570
3578
  }
3571
- function be(e) {
3572
- return e == null ? !1 : se(e).some(
3579
+ function ge(e) {
3580
+ return e == null ? !1 : oe(e).some(
3573
3581
  (t) => {
3574
3582
  var r;
3575
3583
  return (r = er(t)) == null ? void 0 : r.size;
3576
3584
  }
3577
3585
  );
3578
3586
  }
3579
- function qn(e, t) {
3587
+ function Jn(e, t) {
3580
3588
  return Promise.all(
3581
- t.map((n) => (Zn(e, n), n().then((i) => i.default || i)))
3589
+ t.map((n) => (Qn(e, n), n().then((i) => i.default || i)))
3582
3590
  ).then((n) => Kt(e, ...n));
3583
3591
  }
3584
3592
  const Y = {};
3585
3593
  function tr(e) {
3586
- if (!be(e))
3594
+ if (!ge(e))
3587
3595
  return e in Y ? Y[e] : Promise.resolve();
3588
- const t = Qn(e);
3596
+ const t = qn(e);
3589
3597
  return Y[e] = Promise.all(
3590
3598
  t.map(
3591
- ([r, n]) => qn(r, n)
3599
+ ([r, n]) => Jn(r, n)
3592
3600
  )
3593
3601
  ).then(() => {
3594
- if (be(e))
3602
+ if (ge(e))
3595
3603
  return tr(e);
3596
3604
  delete Y[e];
3597
3605
  }), Y[e];
3598
3606
  }
3599
- var pt = Object.getOwnPropertySymbols, Jn = Object.prototype.hasOwnProperty, Yn = Object.prototype.propertyIsEnumerable, Kn = (e, t) => {
3607
+ var pt = Object.getOwnPropertySymbols, Yn = Object.prototype.hasOwnProperty, Kn = Object.prototype.propertyIsEnumerable, ei = (e, t) => {
3600
3608
  var r = {};
3601
3609
  for (var n in e)
3602
- Jn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3610
+ Yn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3603
3611
  if (e != null && pt)
3604
3612
  for (var n of pt(e))
3605
- t.indexOf(n) < 0 && Yn.call(e, n) && (r[n] = e[n]);
3613
+ t.indexOf(n) < 0 && Kn.call(e, n) && (r[n] = e[n]);
3606
3614
  return r;
3607
3615
  };
3608
- const ei = {
3616
+ const ti = {
3609
3617
  number: {
3610
3618
  scientific: { notation: "scientific" },
3611
3619
  engineering: { notation: "engineering" },
@@ -3635,28 +3643,28 @@ const ei = {
3635
3643
  }
3636
3644
  }
3637
3645
  };
3638
- function ti({ locale: e, id: t }) {
3646
+ function ri({ locale: e, id: t }) {
3639
3647
  console.warn(
3640
- `[svelte-i18n] The message "${t}" was not found in "${se(
3648
+ `[svelte-i18n] The message "${t}" was not found in "${oe(
3641
3649
  e
3642
- ).join('", "')}".${be(N()) ? `
3650
+ ).join('", "')}".${ge(N()) ? `
3643
3651
 
3644
3652
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3645
3653
  );
3646
3654
  }
3647
- const ri = {
3655
+ const ni = {
3648
3656
  fallbackLocale: null,
3649
3657
  loadingDelay: 200,
3650
- formats: ei,
3658
+ formats: ti,
3651
3659
  warnOnMissingMessages: !0,
3652
3660
  handleMissingMessage: void 0,
3653
3661
  ignoreTag: !0
3654
- }, K = ri;
3655
- function z() {
3662
+ }, K = ni;
3663
+ function W() {
3656
3664
  return K;
3657
3665
  }
3658
- function ni(e) {
3659
- const t = e, { formats: r } = t, n = Kn(t, ["formats"]);
3666
+ function ii(e) {
3667
+ const t = e, { formats: r } = t, n = ei(t, ["formats"]);
3660
3668
  let i = e.fallbackLocale;
3661
3669
  if (e.initialLocale)
3662
3670
  try {
@@ -3666,128 +3674,128 @@ function ni(e) {
3666
3674
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3667
3675
  );
3668
3676
  }
3669
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ti : console.warn(
3677
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ri : console.warn(
3670
3678
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3671
3679
  )), Object.assign(K, n, { initialLocale: i }), r && ("number" in r && Object.assign(K.formats.number, r.number), "date" in r && Object.assign(K.formats.date, r.date), "time" in r && Object.assign(K.formats.time, r.time)), R.set(i);
3672
3680
  }
3673
- const Me = ye(!1);
3674
- var ii = Object.defineProperty, si = Object.defineProperties, oi = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, ai = Object.prototype.hasOwnProperty, ui = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, hi = (e, t) => {
3681
+ const $e = Ee(!1);
3682
+ var si = Object.defineProperty, oi = Object.defineProperties, ai = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, ui = Object.prototype.hasOwnProperty, hi = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, li = (e, t) => {
3675
3683
  for (var r in t || (t = {}))
3676
- ai.call(t, r) && bt(e, r, t[r]);
3684
+ ui.call(t, r) && bt(e, r, t[r]);
3677
3685
  if (dt)
3678
3686
  for (var r of dt(t))
3679
- ui.call(t, r) && bt(e, r, t[r]);
3687
+ hi.call(t, r) && bt(e, r, t[r]);
3680
3688
  return e;
3681
- }, li = (e, t) => si(e, oi(t));
3689
+ }, fi = (e, t) => oi(e, ai(t));
3682
3690
  let We;
3683
- const ge = ye(null);
3691
+ const _e = Ee(null);
3684
3692
  function gt(e) {
3685
3693
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3686
3694
  }
3687
- function se(e, t = z().fallbackLocale) {
3695
+ function oe(e, t = W().fallbackLocale) {
3688
3696
  const r = gt(e);
3689
3697
  return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
3690
3698
  }
3691
3699
  function N() {
3692
3700
  return We != null ? We : void 0;
3693
3701
  }
3694
- ge.subscribe((e) => {
3702
+ _e.subscribe((e) => {
3695
3703
  We = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3696
3704
  });
3697
- const fi = (e) => {
3698
- if (e && zn(e) && be(e)) {
3699
- const { loadingDelay: t } = z();
3705
+ const ci = (e) => {
3706
+ if (e && Zn(e) && ge(e)) {
3707
+ const { loadingDelay: t } = W();
3700
3708
  let r;
3701
3709
  return typeof window != "undefined" && N() != null && t ? r = window.setTimeout(
3702
- () => Me.set(!0),
3710
+ () => $e.set(!0),
3703
3711
  t
3704
- ) : Me.set(!0), tr(e).then(() => {
3705
- ge.set(e);
3712
+ ) : $e.set(!0), tr(e).then(() => {
3713
+ _e.set(e);
3706
3714
  }).finally(() => {
3707
- clearTimeout(r), Me.set(!1);
3715
+ clearTimeout(r), $e.set(!1);
3708
3716
  });
3709
3717
  }
3710
- return ge.set(e);
3711
- }, R = li(hi({}, ge), {
3712
- set: fi
3713
- }), ve = (e) => {
3718
+ return _e.set(e);
3719
+ }, R = fi(li({}, _e), {
3720
+ set: ci
3721
+ }), He = (e) => {
3714
3722
  const t = /* @__PURE__ */ Object.create(null);
3715
3723
  return (n) => {
3716
3724
  const i = JSON.stringify(n);
3717
3725
  return i in t ? t[i] : t[i] = e(n);
3718
3726
  };
3719
3727
  };
3720
- var ci = Object.defineProperty, _e = Object.getOwnPropertySymbols, rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? ci(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
3728
+ var mi = Object.defineProperty, ye = Object.getOwnPropertySymbols, rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
3721
3729
  for (var r in t || (t = {}))
3722
3730
  rr.call(t, r) && _t(e, r, t[r]);
3723
- if (_e)
3724
- for (var r of _e(t))
3731
+ if (ye)
3732
+ for (var r of ye(t))
3725
3733
  nr.call(t, r) && _t(e, r, t[r]);
3726
3734
  return e;
3727
3735
  }, J = (e, t) => {
3728
3736
  var r = {};
3729
3737
  for (var n in e)
3730
3738
  rr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3731
- if (e != null && _e)
3732
- for (var n of _e(e))
3739
+ if (e != null && ye)
3740
+ for (var n of ye(e))
3733
3741
  t.indexOf(n) < 0 && nr.call(e, n) && (r[n] = e[n]);
3734
3742
  return r;
3735
3743
  };
3736
- const re = (e, t) => {
3737
- const { formats: r } = z();
3744
+ const ne = (e, t) => {
3745
+ const { formats: r } = W();
3738
3746
  if (e in r && t in r[e])
3739
3747
  return r[e][t];
3740
3748
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3741
- }, mi = ve(
3749
+ }, pi = He(
3742
3750
  (e) => {
3743
3751
  var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
3744
3752
  if (r == null)
3745
3753
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3746
- return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
3754
+ return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
3747
3755
  }
3748
- ), pi = ve(
3756
+ ), di = He(
3749
3757
  (e) => {
3750
3758
  var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
3751
3759
  if (r == null)
3752
3760
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3753
- return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
3761
+ return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
3754
3762
  }
3755
- ), di = ve(
3763
+ ), bi = He(
3756
3764
  (e) => {
3757
3765
  var t = e, { locale: r, format: n } = t, i = J(t, ["locale", "format"]);
3758
3766
  if (r == null)
3759
3767
  throw new Error(
3760
3768
  '[svelte-i18n] A "locale" must be set to format time values'
3761
3769
  );
3762
- return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
3770
+ return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
3763
3771
  }
3764
- ), bi = (e = {}) => {
3772
+ ), gi = (e = {}) => {
3765
3773
  var t = e, {
3766
3774
  locale: r = N()
3767
3775
  } = t, n = J(t, [
3768
3776
  "locale"
3769
3777
  ]);
3770
- return mi(Je({ locale: r }, n));
3771
- }, gi = (e = {}) => {
3778
+ return pi(Je({ locale: r }, n));
3779
+ }, _i = (e = {}) => {
3772
3780
  var t = e, {
3773
3781
  locale: r = N()
3774
3782
  } = t, n = J(t, [
3775
3783
  "locale"
3776
3784
  ]);
3777
- return pi(Je({ locale: r }, n));
3778
- }, _i = (e = {}) => {
3785
+ return di(Je({ locale: r }, n));
3786
+ }, yi = (e = {}) => {
3779
3787
  var t = e, {
3780
3788
  locale: r = N()
3781
3789
  } = t, n = J(t, [
3782
3790
  "locale"
3783
3791
  ]);
3784
- return di(Je({ locale: r }, n));
3785
- }, yi = ve(
3792
+ return bi(Je({ locale: r }, n));
3793
+ }, Ei = He(
3786
3794
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3787
- (e, t = N()) => new qt(e, t, z().formats, {
3788
- ignoreTag: z().ignoreTag
3795
+ (e, t = N()) => new qt(e, t, W().formats, {
3796
+ ignoreTag: W().ignoreTag
3789
3797
  })
3790
- ), Ei = (e, t = {}) => {
3798
+ ), xi = (e, t = {}) => {
3791
3799
  var r, n, i, s;
3792
3800
  let a = t;
3793
3801
  typeof e == "object" && (a = e, e = a.id);
@@ -3802,7 +3810,7 @@ const re = (e, t) => {
3802
3810
  );
3803
3811
  let h = Jt(e, l);
3804
3812
  if (!h)
3805
- h = (s = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3813
+ h = (s = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3806
3814
  else if (typeof h != "string")
3807
3815
  return console.warn(
3808
3816
  `[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.`
@@ -3811,7 +3819,7 @@ const re = (e, t) => {
3811
3819
  return h;
3812
3820
  let f = h;
3813
3821
  try {
3814
- f = yi(h, l).format(o);
3822
+ f = Ei(h, l).format(o);
3815
3823
  } catch (c) {
3816
3824
  c instanceof Error && console.warn(
3817
3825
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3819,16 +3827,16 @@ const re = (e, t) => {
3819
3827
  );
3820
3828
  }
3821
3829
  return f;
3822
- }, xi = (e, t) => _i(t).format(e), vi = (e, t) => gi(t).format(e), Hi = (e, t) => bi(t).format(e), Bi = (e, t = N()) => Jt(e, t), Ti = q([R, ie], () => Ei);
3823
- q([R], () => xi);
3830
+ }, vi = (e, t) => yi(t).format(e), Hi = (e, t) => _i(t).format(e), Bi = (e, t) => gi(t).format(e), Ti = (e, t = N()) => Jt(e, t), wi = q([R, se], () => xi);
3824
3831
  q([R], () => vi);
3825
3832
  q([R], () => Hi);
3826
- q([R, ie], () => Bi);
3833
+ q([R], () => Bi);
3834
+ q([R, se], () => Ti);
3827
3835
  function yt(e, t) {
3828
3836
  Kt(e, t);
3829
3837
  }
3830
- function wi(e) {
3831
- ni({
3838
+ function Si(e) {
3839
+ ii({
3832
3840
  fallbackLocale: "en"
3833
3841
  }), R.set(e);
3834
3842
  }
@@ -3855,10 +3863,10 @@ const Et = {
3855
3863
  }
3856
3864
  }
3857
3865
  };
3858
- function Si(e) {
3866
+ function Ai(e) {
3859
3867
  br(e, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
3860
3868
  }
3861
- const Ai = (e) => ({}), xt = (e) => ({}), Oi = (e) => ({}), vt = (e) => ({}), Ci = (e) => ({}), Ht = (e) => ({});
3869
+ const Oi = (e) => ({}), xt = (e) => ({}), Ci = (e) => ({}), vt = (e) => ({}), Pi = (e) => ({}), Ht = (e) => ({});
3862
3870
  function Bt(e) {
3863
3871
  let t, r, n;
3864
3872
  return {
@@ -3879,7 +3887,7 @@ function Bt(e) {
3879
3887
  }
3880
3888
  };
3881
3889
  }
3882
- function Pi(e) {
3890
+ function Li(e) {
3883
3891
  let t, r = (
3884
3892
  /*backButton*/
3885
3893
  e[1] && Bt(e)
@@ -3900,7 +3908,7 @@ function Pi(e) {
3900
3908
  }
3901
3909
  };
3902
3910
  }
3903
- function Li(e) {
3911
+ function Ni(e) {
3904
3912
  let t, r = (
3905
3913
  /*$_*/
3906
3914
  e[4](
@@ -3910,10 +3918,10 @@ function Li(e) {
3910
3918
  ), n;
3911
3919
  return {
3912
3920
  c() {
3913
- t = Z("span"), n = Ze(r), Q(t, "class", "CashierHeaderTitle");
3921
+ t = Z("span"), n = Qe(r), Q(t, "class", "CashierHeaderTitle");
3914
3922
  },
3915
3923
  m(i, s) {
3916
- $(i, t, s), pe(t, n);
3924
+ $(i, t, s), de(t, n);
3917
3925
  },
3918
3926
  p(i, s) {
3919
3927
  s & /*$_, titleText*/
@@ -3948,7 +3956,7 @@ function Tt(e) {
3948
3956
  }
3949
3957
  };
3950
3958
  }
3951
- function Ni(e) {
3959
+ function Ii(e) {
3952
3960
  let t, r = (
3953
3961
  /*closeButton*/
3954
3962
  e[3] && Tt(e)
@@ -3969,96 +3977,96 @@ function Ni(e) {
3969
3977
  }
3970
3978
  };
3971
3979
  }
3972
- function Ii(e) {
3980
+ function Mi(e) {
3973
3981
  let t, r, n, i;
3974
3982
  const s = (
3975
3983
  /*#slots*/
3976
3984
  e[15].leftButton
3977
- ), a = Be(
3985
+ ), a = Te(
3978
3986
  s,
3979
3987
  e,
3980
3988
  /*$$scope*/
3981
3989
  e[14],
3982
3990
  Ht
3983
- ), o = a || Pi(e), l = (
3991
+ ), o = a || Li(e), l = (
3984
3992
  /*#slots*/
3985
3993
  e[15].title
3986
- ), u = Be(
3994
+ ), u = Te(
3987
3995
  l,
3988
3996
  e,
3989
3997
  /*$$scope*/
3990
3998
  e[14],
3991
3999
  vt
3992
- ), h = u || Li(e), f = (
4000
+ ), h = u || Ni(e), f = (
3993
4001
  /*#slots*/
3994
4002
  e[15].rightButton
3995
- ), c = Be(
4003
+ ), c = Te(
3996
4004
  f,
3997
4005
  e,
3998
4006
  /*$$scope*/
3999
4007
  e[14],
4000
4008
  xt
4001
- ), p = c || Ni(e);
4009
+ ), p = c || Ii(e);
4002
4010
  return {
4003
4011
  c() {
4004
4012
  t = Z("div"), o && o.c(), r = nt(), h && h.c(), n = nt(), p && p.c(), Q(t, "class", "CashierHeader");
4005
4013
  },
4006
4014
  m(m, g) {
4007
- $(m, t, g), o && o.m(t, null), pe(t, r), h && h.m(t, null), pe(t, n), p && p.m(t, null), e[16](t), i = !0;
4015
+ $(m, t, g), o && o.m(t, null), de(t, r), h && h.m(t, null), de(t, n), p && p.m(t, null), e[16](t), i = !0;
4008
4016
  },
4009
4017
  p(m, [g]) {
4010
4018
  a ? a.p && (!i || g & /*$$scope*/
4011
- 16384) && we(
4019
+ 16384) && Se(
4012
4020
  a,
4013
4021
  s,
4014
4022
  m,
4015
4023
  /*$$scope*/
4016
4024
  m[14],
4017
- i ? Te(
4025
+ i ? we(
4018
4026
  s,
4019
4027
  /*$$scope*/
4020
4028
  m[14],
4021
4029
  g,
4022
- Ci
4023
- ) : Se(
4030
+ Pi
4031
+ ) : Ae(
4024
4032
  /*$$scope*/
4025
4033
  m[14]
4026
4034
  ),
4027
4035
  Ht
4028
4036
  ) : o && o.p && (!i || g & /*backButton*/
4029
4037
  2) && o.p(m, i ? g : -1), u ? u.p && (!i || g & /*$$scope*/
4030
- 16384) && we(
4038
+ 16384) && Se(
4031
4039
  u,
4032
4040
  l,
4033
4041
  m,
4034
4042
  /*$$scope*/
4035
4043
  m[14],
4036
- i ? Te(
4044
+ i ? we(
4037
4045
  l,
4038
4046
  /*$$scope*/
4039
4047
  m[14],
4040
4048
  g,
4041
- Oi
4042
- ) : Se(
4049
+ Ci
4050
+ ) : Ae(
4043
4051
  /*$$scope*/
4044
4052
  m[14]
4045
4053
  ),
4046
4054
  vt
4047
4055
  ) : h && h.p && (!i || g & /*$_, titleText*/
4048
4056
  20) && h.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
4049
- 16384) && we(
4057
+ 16384) && Se(
4050
4058
  c,
4051
4059
  f,
4052
4060
  m,
4053
4061
  /*$$scope*/
4054
4062
  m[14],
4055
- i ? Te(
4063
+ i ? we(
4056
4064
  f,
4057
4065
  /*$$scope*/
4058
4066
  m[14],
4059
4067
  g,
4060
- Ai
4061
- ) : Se(
4068
+ Oi
4069
+ ) : Ae(
4062
4070
  /*$$scope*/
4063
4071
  m[14]
4064
4072
  ),
@@ -4067,19 +4075,19 @@ function Ii(e) {
4067
4075
  8) && p.p(m, i ? g : -1);
4068
4076
  },
4069
4077
  i(m) {
4070
- i || (le(o, m), le(h, m), le(p, m), i = !0);
4078
+ i || (fe(o, m), fe(h, m), fe(p, m), i = !0);
4071
4079
  },
4072
4080
  o(m) {
4073
- Oe(o, m), Oe(h, m), Oe(p, m), i = !1;
4081
+ Ce(o, m), Ce(h, m), Ce(p, m), i = !1;
4074
4082
  },
4075
4083
  d(m) {
4076
4084
  m && L(t), o && o.d(m), h && h.d(m), p && p.d(m), e[16](null);
4077
4085
  }
4078
4086
  };
4079
4087
  }
4080
- function Mi(e, t, r) {
4088
+ function $i(e, t, r) {
4081
4089
  let n;
4082
- dr(e, Ti, (_) => r(4, n = _));
4090
+ dr(e, wi, (_) => r(4, n = _));
4083
4091
  let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: u = "" } = t, { title: h = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: c = "" } = t, p, m = !1, g, v = !1;
4084
4092
  const I = () => {
4085
4093
  let _ = l;
@@ -4108,12 +4116,12 @@ function Mi(e, t, r) {
4108
4116
  );
4109
4117
  });
4110
4118
  }, M = () => {
4111
- wi(f);
4119
+ Si(f);
4112
4120
  }, S = () => {
4113
4121
  window.postMessage({ type: "CloseCashier" }, window.location.href);
4114
4122
  }, U = () => {
4115
4123
  window.postMessage({ type: "BackCashier" }, window.location.href);
4116
- }, oe = () => {
4124
+ }, ae = () => {
4117
4125
  r(1, m = !!u && u !== "false");
4118
4126
  }, sr = () => {
4119
4127
  r(3, v = !!c && c !== "false");
@@ -4121,7 +4129,7 @@ function Mi(e, t, r) {
4121
4129
  r(2, g = h || "header.general");
4122
4130
  };
4123
4131
  function ar(_) {
4124
- $e[_ ? "unshift" : "push"](() => {
4132
+ Re[_ ? "unshift" : "push"](() => {
4125
4133
  p = _, r(0, p);
4126
4134
  });
4127
4135
  }
@@ -4134,7 +4142,7 @@ function Mi(e, t, r) {
4134
4142
  129 && a && p && C(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4135
4143
  257 && o && p && H(), e.$$.dirty & /*lang, translationurl*/
4136
4144
  4608 && f && l && I(), e.$$.dirty & /*showbackbutton*/
4137
- 1024 && u && oe(), e.$$.dirty & /*showclosebutton*/
4145
+ 1024 && u && ae(), e.$$.dirty & /*showclosebutton*/
4138
4146
  8192 && c && sr();
4139
4147
  }, [
4140
4148
  p,
@@ -4156,13 +4164,13 @@ function Mi(e, t, r) {
4156
4164
  ar
4157
4165
  ];
4158
4166
  }
4159
- class ir extends Lr {
4167
+ class ir extends Nr {
4160
4168
  constructor(t) {
4161
- super(), Cr(
4169
+ super(), Pr(
4162
4170
  this,
4163
4171
  t,
4172
+ $i,
4164
4173
  Mi,
4165
- Ii,
4166
4174
  St,
4167
4175
  {
4168
4176
  clientstyling: 7,
@@ -4173,7 +4181,7 @@ class ir extends Lr {
4173
4181
  lang: 12,
4174
4182
  showclosebutton: 13
4175
4183
  },
4176
- Si
4184
+ Ai
4177
4185
  );
4178
4186
  }
4179
4187
  get clientstyling() {
@@ -4219,31 +4227,32 @@ class ir extends Lr {
4219
4227
  this.$$set({ showclosebutton: t }), O();
4220
4228
  }
4221
4229
  }
4222
- Pr(ir, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4223
- const Di = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4230
+ Lr(ir, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4231
+ const Fi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4224
4232
  __proto__: null,
4225
4233
  default: ir
4226
4234
  }, Symbol.toStringTag, { value: "Module" }));
4227
4235
  export {
4228
4236
  R as $,
4229
- Di as C,
4230
- Lr as S,
4237
+ Fi as C,
4238
+ Nr as S,
4231
4239
  Kt as a,
4232
- Cr as b,
4233
- Pr as c,
4240
+ Pr as b,
4241
+ Lr as c,
4234
4242
  br as d,
4235
4243
  L as e,
4236
4244
  O as f,
4237
- Ui as g,
4238
- Ri as h,
4239
- ni as i,
4245
+ Di as g,
4246
+ Ui as h,
4247
+ ii as i,
4240
4248
  Q as j,
4241
4249
  $ as k,
4242
- pe as l,
4250
+ de as l,
4243
4251
  Pt as m,
4244
4252
  T as n,
4245
4253
  Z as o,
4246
4254
  nt as p,
4247
- $e as q,
4255
+ Gi as q,
4256
+ Re as r,
4248
4257
  St as s
4249
4258
  };