@everymatrix/cashier-iframe-redirect 1.55.0 → 1.56.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.
@@ -1,17 +1,17 @@
1
- var ur = Object.defineProperty, hr = Object.defineProperties;
2
- var lr = Object.getOwnPropertyDescriptors;
3
- var Ye = Object.getOwnPropertySymbols;
4
- var fr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable;
5
- var xe = (e, t, r) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
1
+ var or = Object.defineProperty, ar = Object.defineProperties;
2
+ var ur = Object.getOwnPropertyDescriptors;
3
+ var qe = Object.getOwnPropertySymbols;
4
+ var hr = Object.prototype.hasOwnProperty, lr = Object.prototype.propertyIsEnumerable;
5
+ var xe = (e, t, r) => t in e ? or(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- fr.call(t, r) && xe(e, r, t[r]);
8
- if (Ye)
9
- for (var r of Ye(t))
10
- cr.call(t, r) && xe(e, r, t[r]);
7
+ hr.call(t, r) && xe(e, r, t[r]);
8
+ if (qe)
9
+ for (var r of qe(t))
10
+ lr.call(t, r) && xe(e, r, t[r]);
11
11
  return e;
12
- }, et = (e, t) => hr(e, lr(t));
12
+ }, Ye = (e, t) => ar(e, ur(t));
13
13
  var B = (e, t, r) => xe(e, typeof t != "symbol" ? t + "" : t, r);
14
- var tt = (e, t, r) => new Promise((n, i) => {
14
+ var Ke = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (l) => {
16
16
  try {
17
17
  o(r.next(l));
@@ -29,36 +29,36 @@ var tt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function T() {
31
31
  }
32
- function mr(e, t) {
32
+ function fr(e, t) {
33
33
  for (const r in t) e[r] = t[r];
34
34
  return (
35
35
  /** @type {T & S} */
36
36
  e
37
37
  );
38
38
  }
39
- function wt(e) {
39
+ function Bt(e) {
40
40
  return e();
41
41
  }
42
- function rt() {
42
+ function et() {
43
43
  return /* @__PURE__ */ Object.create(null);
44
44
  }
45
45
  function re(e) {
46
- e.forEach(wt);
46
+ e.forEach(Bt);
47
47
  }
48
48
  function Xe(e) {
49
49
  return typeof e == "function";
50
50
  }
51
- function St(e, t) {
51
+ function Tt(e, t) {
52
52
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
53
53
  }
54
54
  let oe;
55
- function $i(e, t) {
55
+ function Mi(e, t) {
56
56
  return e === t ? !0 : (oe || (oe = document.createElement("a")), oe.href = t, e === oe.href);
57
57
  }
58
- function pr(e) {
58
+ function cr(e) {
59
59
  return Object.keys(e).length === 0;
60
60
  }
61
- function At(e, ...t) {
61
+ function wt(e, ...t) {
62
62
  if (e == null) {
63
63
  for (const n of t)
64
64
  n(void 0);
@@ -67,17 +67,17 @@ function At(e, ...t) {
67
67
  const r = e.subscribe(...t);
68
68
  return r.unsubscribe ? () => r.unsubscribe() : r;
69
69
  }
70
- function dr(e, t, r) {
71
- e.$$.on_destroy.push(At(t, r));
70
+ function mr(e, t, r) {
71
+ e.$$.on_destroy.push(wt(t, r));
72
72
  }
73
73
  function ve(e, t, r, n) {
74
74
  if (e) {
75
- const i = Ct(e, t, r, n);
75
+ const i = St(e, t, r, n);
76
76
  return e[0](i);
77
77
  }
78
78
  }
79
- function Ct(e, t, r, n) {
80
- return e[1] && n ? mr(r.ctx.slice(), e[1](n(t))) : r.ctx;
79
+ function St(e, t, r, n) {
80
+ return e[1] && n ? fr(r.ctx.slice(), e[1](n(t))) : r.ctx;
81
81
  }
82
82
  function He(e, t, r, n) {
83
83
  if (e[2] && n) {
@@ -96,7 +96,7 @@ function He(e, t, r, n) {
96
96
  }
97
97
  function Be(e, t, r, n, i, s) {
98
98
  if (i) {
99
- const a = Ct(t, r, n, s);
99
+ const a = St(t, r, n, s);
100
100
  e.p(a, i);
101
101
  }
102
102
  }
@@ -112,14 +112,14 @@ function Te(e) {
112
112
  function me(e, t) {
113
113
  e.appendChild(t);
114
114
  }
115
- function br(e, t, r) {
116
- const n = gr(e);
115
+ function pr(e, t, r) {
116
+ const n = dr(e);
117
117
  if (!n.getElementById(t)) {
118
- const i = W("style");
119
- i.id = t, i.textContent = r, _r(n, i);
118
+ const i = z("style");
119
+ i.id = t, i.textContent = r, br(n, i);
120
120
  }
121
121
  }
122
- function gr(e) {
122
+ function dr(e) {
123
123
  if (!e) return document;
124
124
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
125
125
  return t && /** @type {ShadowRoot} */
@@ -128,7 +128,7 @@ function gr(e) {
128
128
  t
129
129
  ) : e.ownerDocument;
130
130
  }
131
- function _r(e, t) {
131
+ function br(e, t) {
132
132
  return me(
133
133
  /** @type {Document} */
134
134
  e.head || e,
@@ -141,36 +141,36 @@ function M(e, t, r) {
141
141
  function P(e) {
142
142
  e.parentNode && e.parentNode.removeChild(e);
143
143
  }
144
- function W(e) {
144
+ function z(e) {
145
145
  return document.createElement(e);
146
146
  }
147
- function ze(e) {
147
+ function We(e) {
148
148
  return document.createTextNode(e);
149
149
  }
150
- function nt() {
151
- return ze(" ");
150
+ function tt() {
151
+ return We(" ");
152
152
  }
153
- function Ot() {
154
- return ze("");
153
+ function At() {
154
+ return We("");
155
155
  }
156
- function Pt(e, t, r, n) {
156
+ function Ct(e, t, r, n) {
157
157
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
158
158
  }
159
159
  function Z(e, t, r) {
160
160
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
161
161
  }
162
- function Ri(e, t, r) {
162
+ function $i(e, t, r) {
163
163
  const n = t.toLowerCase();
164
164
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Z(e, t, r);
165
165
  }
166
- function yr(e) {
166
+ function gr(e) {
167
167
  return Array.from(e.childNodes);
168
168
  }
169
- function Er(e, t) {
169
+ function _r(e, t) {
170
170
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
171
171
  t);
172
172
  }
173
- function xr(e) {
173
+ function yr(e) {
174
174
  const t = {};
175
175
  return e.childNodes.forEach(
176
176
  /** @param {Element} node */
@@ -179,16 +179,16 @@ function xr(e) {
179
179
  }
180
180
  ), t;
181
181
  }
182
- let We;
182
+ let ze;
183
183
  function K(e) {
184
- We = e;
184
+ ze = e;
185
185
  }
186
186
  const F = [], Ie = [];
187
187
  let j = [];
188
- const it = [], vr = /* @__PURE__ */ Promise.resolve();
188
+ const rt = [], Er = /* @__PURE__ */ Promise.resolve();
189
189
  let Me = !1;
190
- function Hr() {
191
- Me || (Me = !0, vr.then(A));
190
+ function xr() {
191
+ Me || (Me = !0, Er.then(A));
192
192
  }
193
193
  function $e(e) {
194
194
  j.push(e);
@@ -198,12 +198,12 @@ let D = 0;
198
198
  function A() {
199
199
  if (D !== 0)
200
200
  return;
201
- const e = We;
201
+ const e = ze;
202
202
  do {
203
203
  try {
204
204
  for (; D < F.length; ) {
205
205
  const t = F[D];
206
- D++, K(t), Br(t.$$);
206
+ D++, K(t), vr(t.$$);
207
207
  }
208
208
  } catch (t) {
209
209
  throw F.length = 0, D = 0, t;
@@ -215,50 +215,50 @@ function A() {
215
215
  }
216
216
  j.length = 0;
217
217
  } while (F.length);
218
- for (; it.length; )
219
- it.pop()();
218
+ for (; rt.length; )
219
+ rt.pop()();
220
220
  Me = !1, we.clear(), K(e);
221
221
  }
222
- function Br(e) {
222
+ function vr(e) {
223
223
  if (e.fragment !== null) {
224
224
  e.update(), re(e.before_update);
225
225
  const t = e.dirty;
226
226
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
227
227
  }
228
228
  }
229
- function Tr(e) {
229
+ function Hr(e) {
230
230
  const t = [], r = [];
231
231
  j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
232
232
  }
233
233
  const ue = /* @__PURE__ */ new Set();
234
- let wr;
234
+ let Br;
235
235
  function he(e, t) {
236
236
  e && e.i && (ue.delete(e), e.i(t));
237
237
  }
238
238
  function Se(e, t, r, n) {
239
239
  if (e && e.o) {
240
240
  if (ue.has(e)) return;
241
- ue.add(e), wr.c.push(() => {
241
+ ue.add(e), Br.c.push(() => {
242
242
  ue.delete(e);
243
243
  }), e.o(t);
244
244
  }
245
245
  }
246
- function Sr(e, t, r) {
246
+ function Tr(e, t, r) {
247
247
  const { fragment: n, after_update: i } = e.$$;
248
248
  n && n.m(t, r), $e(() => {
249
- const s = e.$$.on_mount.map(wt).filter(Xe);
249
+ const s = e.$$.on_mount.map(Bt).filter(Xe);
250
250
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
251
251
  }), i.forEach($e);
252
252
  }
253
- function Ar(e, t) {
253
+ function wr(e, t) {
254
254
  const r = e.$$;
255
- r.fragment !== null && (Tr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
255
+ r.fragment !== null && (Hr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
256
256
  }
257
- function Cr(e, t) {
258
- e.$$.dirty[0] === -1 && (F.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
257
+ function Sr(e, t) {
258
+ e.$$.dirty[0] === -1 && (F.push(e), xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
259
259
  }
260
- function Or(e, t, r, n, i, s, a = null, o = [-1]) {
261
- const l = We;
260
+ function Ar(e, t, r, n, i, s, a = null, o = [-1]) {
261
+ const l = ze;
262
262
  K(e);
263
263
  const u = e.$$ = {
264
264
  fragment: null,
@@ -267,7 +267,7 @@ function Or(e, t, r, n, i, s, a = null, o = [-1]) {
267
267
  props: s,
268
268
  update: T,
269
269
  not_equal: i,
270
- bound: rt(),
270
+ bound: et(),
271
271
  // lifecycle
272
272
  on_mount: [],
273
273
  on_destroy: [],
@@ -276,7 +276,7 @@ function Or(e, t, r, n, i, s, a = null, o = [-1]) {
276
276
  after_update: [],
277
277
  context: new Map(t.context || (l ? l.$$.context : [])),
278
278
  // everything else
279
- callbacks: rt(),
279
+ callbacks: et(),
280
280
  dirty: o,
281
281
  skip_bound: !1,
282
282
  root: t.target || l.$$.root
@@ -285,19 +285,19 @@ function Or(e, t, r, n, i, s, a = null, o = [-1]) {
285
285
  let h = !1;
286
286
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
287
287
  const m = p.length ? p[0] : c;
288
- 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;
288
+ return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Sr(e, f)), c;
289
289
  }) : [], u.update(), h = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
290
290
  if (t.hydrate) {
291
- const f = yr(t.target);
291
+ const f = gr(t.target);
292
292
  u.fragment && u.fragment.l(f), f.forEach(P);
293
293
  } else
294
294
  u.fragment && u.fragment.c();
295
- t.intro && he(e.$$.fragment), Sr(e, t.target, t.anchor), A();
295
+ t.intro && he(e.$$.fragment), Tr(e, t.target, t.anchor), A();
296
296
  }
297
297
  K(l);
298
298
  }
299
- let Lt;
300
- typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
299
+ let Ot;
300
+ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
301
301
  constructor(t, r, n) {
302
302
  super();
303
303
  /** The Svelte component constructor */
@@ -334,14 +334,14 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
334
334
  }
335
335
  }
336
336
  connectedCallback() {
337
- return tt(this, null, function* () {
337
+ return Ke(this, null, function* () {
338
338
  if (this.$$cn = !0, !this.$$c) {
339
339
  let t = function(s) {
340
340
  return () => {
341
341
  let a;
342
342
  return {
343
343
  c: function() {
344
- a = W("slot"), s !== "default" && Z(a, "name", s);
344
+ a = z("slot"), s !== "default" && Z(a, "name", s);
345
345
  },
346
346
  /**
347
347
  * @param {HTMLElement} target
@@ -358,7 +358,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
358
358
  };
359
359
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
360
360
  return;
361
- const r = {}, n = xr(this);
361
+ const r = {}, n = yr(this);
362
362
  for (const s of this.$$s)
363
363
  s in n && (r[s] = [t(s)]);
364
364
  for (const s of this.attributes) {
@@ -369,7 +369,7 @@ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
369
369
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
370
370
  this.$$c = new this.$$ctor({
371
371
  target: this.shadowRoot || this,
372
- props: et(Ke({}, this.$$d), {
372
+ props: Ye(Je({}, this.$$d), {
373
373
  $$slots: r,
374
374
  $$scope: {
375
375
  ctx: []
@@ -447,8 +447,8 @@ function le(e, t, r, n) {
447
447
  return t;
448
448
  }
449
449
  }
450
- function Pr(e, t, r, n, i, s) {
451
- let a = class extends Lt {
450
+ function Cr(e, t, r, n, i, s) {
451
+ let a = class extends Ot {
452
452
  constructor() {
453
453
  super(e, r, i), this.$$p_d = t;
454
454
  }
@@ -478,7 +478,7 @@ function Pr(e, t, r, n, i, s) {
478
478
  }), e.element = /** @type {any} */
479
479
  a, a;
480
480
  }
481
- class Lr {
481
+ class Or {
482
482
  constructor() {
483
483
  /**
484
484
  * ### PRIVATE API
@@ -499,7 +499,7 @@ class Lr {
499
499
  }
500
500
  /** @returns {void} */
501
501
  $destroy() {
502
- Ar(this, 1), this.$destroy = T;
502
+ wr(this, 1), this.$destroy = T;
503
503
  }
504
504
  /**
505
505
  * @template {Extract<keyof Events, string>} K
@@ -521,13 +521,13 @@ class Lr {
521
521
  * @returns {void}
522
522
  */
523
523
  $set(t) {
524
- this.$$set && !pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
524
+ this.$$set && !cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
525
525
  }
526
526
  }
527
- const Nr = "4";
528
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
527
+ const Pr = "4";
528
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pr);
529
529
  const G = [];
530
- function Ir(e, t) {
530
+ function Lr(e, t) {
531
531
  return {
532
532
  subscribe: ge(e, t).subscribe
533
533
  };
@@ -536,7 +536,7 @@ function ge(e, t = T) {
536
536
  let r;
537
537
  const n = /* @__PURE__ */ new Set();
538
538
  function i(o) {
539
- if (St(e, o) && (e = o, r)) {
539
+ if (Tt(e, o) && (e = o, r)) {
540
540
  const l = !G.length;
541
541
  for (const u of n)
542
542
  u[1](), G.push(u, e);
@@ -563,7 +563,7 @@ function Q(e, t, r) {
563
563
  if (!i.every(Boolean))
564
564
  throw new Error("derived() expects stores as input, got a falsy value");
565
565
  const s = t.length < 2;
566
- return Ir(r, (a, o) => {
566
+ return Lr(r, (a, o) => {
567
567
  let l = !1;
568
568
  const u = [];
569
569
  let h = 0, f = T;
@@ -574,7 +574,7 @@ function Q(e, t, r) {
574
574
  const m = t(n ? u[0] : u, a, o);
575
575
  s ? a(m) : f = Xe(m) ? m : T;
576
576
  }, p = i.map(
577
- (m, g) => At(
577
+ (m, g) => wt(
578
578
  m,
579
579
  (v) => {
580
580
  u[g] = v, h &= ~(1 << g), l && c();
@@ -589,70 +589,70 @@ function Q(e, t, r) {
589
589
  };
590
590
  });
591
591
  }
592
- function Mr(e) {
592
+ function Nr(e) {
593
593
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
594
594
  }
595
- var $r = function(t) {
596
- return Rr(t) && !Ur(t);
595
+ var Ir = function(t) {
596
+ return Mr(t) && !$r(t);
597
597
  };
598
- function Rr(e) {
598
+ function Mr(e) {
599
599
  return !!e && typeof e == "object";
600
600
  }
601
- function Ur(e) {
601
+ function $r(e) {
602
602
  var t = Object.prototype.toString.call(e);
603
- return t === "[object RegExp]" || t === "[object Date]" || Fr(e);
603
+ return t === "[object RegExp]" || t === "[object Date]" || Dr(e);
604
604
  }
605
- var Dr = typeof Symbol == "function" && Symbol.for, Gr = Dr ? Symbol.for("react.element") : 60103;
606
- function Fr(e) {
607
- return e.$$typeof === Gr;
605
+ var Rr = typeof Symbol == "function" && Symbol.for, Ur = Rr ? Symbol.for("react.element") : 60103;
606
+ function Dr(e) {
607
+ return e.$$typeof === Ur;
608
608
  }
609
- function jr(e) {
609
+ function Gr(e) {
610
610
  return Array.isArray(e) ? [] : {};
611
611
  }
612
612
  function ee(e, t) {
613
- return t.clone !== !1 && t.isMergeableObject(e) ? k(jr(e), e, t) : e;
613
+ return t.clone !== !1 && t.isMergeableObject(e) ? k(Gr(e), e, t) : e;
614
614
  }
615
- function kr(e, t, r) {
615
+ function Fr(e, t, r) {
616
616
  return e.concat(t).map(function(n) {
617
617
  return ee(n, r);
618
618
  });
619
619
  }
620
- function Vr(e, t) {
620
+ function jr(e, t) {
621
621
  if (!t.customMerge)
622
622
  return k;
623
623
  var r = t.customMerge(e);
624
624
  return typeof r == "function" ? r : k;
625
625
  }
626
- function Xr(e) {
626
+ function kr(e) {
627
627
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
628
628
  return Object.propertyIsEnumerable.call(e, t);
629
629
  }) : [];
630
630
  }
631
- function st(e) {
632
- return Object.keys(e).concat(Xr(e));
631
+ function nt(e) {
632
+ return Object.keys(e).concat(kr(e));
633
633
  }
634
- function Nt(e, t) {
634
+ function Pt(e, t) {
635
635
  try {
636
636
  return t in e;
637
637
  } catch (r) {
638
638
  return !1;
639
639
  }
640
640
  }
641
- function zr(e, t) {
642
- return Nt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
641
+ function Vr(e, t) {
642
+ return Pt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
643
643
  }
644
- function Wr(e, t, r) {
644
+ function Xr(e, t, r) {
645
645
  var n = {};
646
- return r.isMergeableObject(e) && st(e).forEach(function(i) {
646
+ return r.isMergeableObject(e) && nt(e).forEach(function(i) {
647
647
  n[i] = ee(e[i], r);
648
- }), st(t).forEach(function(i) {
649
- zr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Vr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
648
+ }), nt(t).forEach(function(i) {
649
+ Vr(e, i) || (Pt(e, i) && r.isMergeableObject(t[i]) ? n[i] = jr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
650
650
  }), n;
651
651
  }
652
652
  function k(e, t, r) {
653
- r = r || {}, r.arrayMerge = r.arrayMerge || kr, r.isMergeableObject = r.isMergeableObject || $r, r.cloneUnlessOtherwiseSpecified = ee;
653
+ r = r || {}, r.arrayMerge = r.arrayMerge || Fr, r.isMergeableObject = r.isMergeableObject || Ir, r.cloneUnlessOtherwiseSpecified = ee;
654
654
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
655
- return s ? n ? r.arrayMerge(e, t, r) : Wr(e, t, r) : ee(t, r);
655
+ return s ? n ? r.arrayMerge(e, t, r) : Xr(e, t, r) : ee(t, r);
656
656
  }
657
657
  k.all = function(t, r) {
658
658
  if (!Array.isArray(t))
@@ -661,8 +661,8 @@ k.all = function(t, r) {
661
661
  return k(n, i, r);
662
662
  }, {});
663
663
  };
664
- var Zr = k, Qr = Zr;
665
- const qr = /* @__PURE__ */ Mr(Qr);
664
+ var Wr = k, zr = Wr;
665
+ const Zr = /* @__PURE__ */ Nr(zr);
666
666
  var Re = function(e, t) {
667
667
  return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
668
668
  r.__proto__ = n;
@@ -688,7 +688,7 @@ var y = function() {
688
688
  return t;
689
689
  }, y.apply(this, arguments);
690
690
  };
691
- function Jr(e, t) {
691
+ function Qr(e, t) {
692
692
  var r = {};
693
693
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
694
694
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -702,55 +702,53 @@ function Ae(e, t, r) {
702
702
  return e.concat(s || Array.prototype.slice.call(t));
703
703
  }
704
704
  function Ce(e, t) {
705
- var r = t && t.cache ? t.cache : nn, n = t && t.serializer ? t.serializer : rn, i = t && t.strategy ? t.strategy : Kr;
705
+ var r = t && t.cache ? t.cache : rn, n = t && t.serializer ? t.serializer : en, i = t && t.strategy ? t.strategy : Yr;
706
706
  return i(e, {
707
707
  cache: r,
708
708
  serializer: n
709
709
  });
710
710
  }
711
- function Yr(e) {
711
+ function qr(e) {
712
712
  return e == null || typeof e == "number" || typeof e == "boolean";
713
713
  }
714
- function It(e, t, r, n) {
715
- var i = Yr(n) ? n : r(n), s = t.get(i);
714
+ function Jr(e, t, r, n) {
715
+ var i = qr(n) ? n : r(n), s = t.get(i);
716
716
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
717
717
  }
718
- function Mt(e, t, r) {
718
+ function Lt(e, t, r) {
719
719
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
720
720
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
721
721
  }
722
- function Ze(e, t, r, n, i) {
722
+ function Nt(e, t, r, n, i) {
723
723
  return r.bind(t, e, n, i);
724
724
  }
725
- function Kr(e, t) {
726
- var r = e.length === 1 ? It : Mt;
727
- return Ze(e, this, r, t.cache.create(), t.serializer);
728
- }
729
- function en(e, t) {
730
- return Ze(e, this, Mt, t.cache.create(), t.serializer);
725
+ function Yr(e, t) {
726
+ var r = e.length === 1 ? Jr : Lt;
727
+ return Nt(e, this, r, t.cache.create(), t.serializer);
731
728
  }
732
- function tn(e, t) {
733
- return Ze(e, this, It, t.cache.create(), t.serializer);
729
+ function Kr(e, t) {
730
+ return Nt(e, this, Lt, t.cache.create(), t.serializer);
734
731
  }
735
- var rn = function() {
732
+ var en = function() {
736
733
  return JSON.stringify(arguments);
737
- };
738
- function Qe() {
739
- this.cache = /* @__PURE__ */ Object.create(null);
740
- }
741
- Qe.prototype.get = function(e) {
742
- return this.cache[e];
743
- };
744
- Qe.prototype.set = function(e, t) {
745
- this.cache[e] = t;
746
- };
747
- var nn = {
734
+ }, tn = (
735
+ /** @class */
736
+ function() {
737
+ function e() {
738
+ this.cache = /* @__PURE__ */ Object.create(null);
739
+ }
740
+ return e.prototype.get = function(t) {
741
+ return this.cache[t];
742
+ }, e.prototype.set = function(t, r) {
743
+ this.cache[t] = r;
744
+ }, e;
745
+ }()
746
+ ), rn = {
748
747
  create: function() {
749
- return new Qe();
748
+ return new tn();
750
749
  }
751
750
  }, Oe = {
752
- variadic: en,
753
- monadic: tn
751
+ variadic: Kr
754
752
  }, d;
755
753
  (function(e) {
756
754
  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";
@@ -763,43 +761,43 @@ var V;
763
761
  (function(e) {
764
762
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
765
763
  })(V || (V = {}));
766
- function ot(e) {
764
+ function it(e) {
767
765
  return e.type === E.literal;
768
766
  }
769
- function sn(e) {
767
+ function nn(e) {
770
768
  return e.type === E.argument;
771
769
  }
772
- function $t(e) {
770
+ function It(e) {
773
771
  return e.type === E.number;
774
772
  }
775
- function Rt(e) {
773
+ function Mt(e) {
776
774
  return e.type === E.date;
777
775
  }
778
- function Ut(e) {
776
+ function $t(e) {
779
777
  return e.type === E.time;
780
778
  }
781
- function Dt(e) {
779
+ function Rt(e) {
782
780
  return e.type === E.select;
783
781
  }
784
- function Gt(e) {
782
+ function Ut(e) {
785
783
  return e.type === E.plural;
786
784
  }
787
- function on(e) {
785
+ function sn(e) {
788
786
  return e.type === E.pound;
789
787
  }
790
- function Ft(e) {
788
+ function Dt(e) {
791
789
  return e.type === E.tag;
792
790
  }
793
- function jt(e) {
791
+ function Gt(e) {
794
792
  return !!(e && typeof e == "object" && e.type === V.number);
795
793
  }
796
794
  function Ue(e) {
797
795
  return !!(e && typeof e == "object" && e.type === V.dateTime);
798
796
  }
799
- var kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, an = /(?:[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;
800
- function un(e) {
797
+ 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;
798
+ function an(e) {
801
799
  var t = {};
802
- return e.replace(an, function(r) {
800
+ return e.replace(on, function(r) {
803
801
  var n = r.length;
804
802
  switch (r[0]) {
805
803
  case "G":
@@ -888,11 +886,11 @@ function un(e) {
888
886
  return "";
889
887
  }), t;
890
888
  }
891
- var hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
892
- function ln(e) {
889
+ var un = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
890
+ function hn(e) {
893
891
  if (e.length === 0)
894
892
  throw new Error("Number skeleton cannot be empty");
895
- for (var t = e.split(hn).filter(function(c) {
893
+ for (var t = e.split(un).filter(function(c) {
896
894
  return c.length > 0;
897
895
  }), r = [], n = 0, i = t; n < i.length; n++) {
898
896
  var s = i[n], a = s.split("/");
@@ -907,17 +905,17 @@ function ln(e) {
907
905
  }
908
906
  return r;
909
907
  }
910
- function fn(e) {
908
+ function ln(e) {
911
909
  return e.replace(/^(.*?)-/, "");
912
910
  }
913
- var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Vt = /^(@+)?(\+|#+)?[rs]?$/g, cn = /(\*)(0+)|(#+)(0+)|(0+)/g, Xt = /^(0+)$/;
914
- function ut(e) {
911
+ var st = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, fn = /(\*)(0+)|(#+)(0+)|(0+)/g, kt = /^(0+)$/;
912
+ function ot(e) {
915
913
  var t = {};
916
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Vt, function(r, n, i) {
914
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
917
915
  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)), "";
918
916
  }), t;
919
917
  }
920
- function zt(e) {
918
+ function Vt(e) {
921
919
  switch (e) {
922
920
  case "sign-auto":
923
921
  return {
@@ -957,7 +955,7 @@ function zt(e) {
957
955
  };
958
956
  }
959
957
  }
960
- function mn(e) {
958
+ function cn(e) {
961
959
  var t;
962
960
  if (e[0] === "E" && e[1] === "E" ? (t = {
963
961
  notation: "engineering"
@@ -965,17 +963,17 @@ function mn(e) {
965
963
  notation: "scientific"
966
964
  }, e = e.slice(1)), t) {
967
965
  var r = e.slice(0, 2);
968
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Xt.test(e))
966
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kt.test(e))
969
967
  throw new Error("Malformed concise eng/scientific notation");
970
968
  t.minimumIntegerDigits = e.length;
971
969
  }
972
970
  return t;
973
971
  }
974
- function ht(e) {
975
- var t = {}, r = zt(e);
972
+ function at(e) {
973
+ var t = {}, r = Vt(e);
976
974
  return r || t;
977
975
  }
978
- function pn(e) {
976
+ function mn(e) {
979
977
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
980
978
  var i = n[r];
981
979
  switch (i.stem) {
@@ -999,7 +997,7 @@ function pn(e) {
999
997
  continue;
1000
998
  case "measure-unit":
1001
999
  case "unit":
1002
- t.style = "unit", t.unit = fn(i.options[0]);
1000
+ t.style = "unit", t.unit = ln(i.options[0]);
1003
1001
  continue;
1004
1002
  case "compact-short":
1005
1003
  case "K":
@@ -1011,12 +1009,12 @@ function pn(e) {
1011
1009
  continue;
1012
1010
  case "scientific":
1013
1011
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1014
- return y(y({}, l), ht(u));
1012
+ return y(y({}, l), at(u));
1015
1013
  }, {}));
1016
1014
  continue;
1017
1015
  case "engineering":
1018
1016
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1019
- return y(y({}, l), ht(u));
1017
+ return y(y({}, l), at(u));
1020
1018
  }, {}));
1021
1019
  continue;
1022
1020
  case "notation-simple":
@@ -1061,7 +1059,7 @@ function pn(e) {
1061
1059
  case "integer-width":
1062
1060
  if (i.options.length > 1)
1063
1061
  throw new RangeError("integer-width stems only accept a single optional option");
1064
- i.options[0].replace(cn, function(l, u, h, f, c, p) {
1062
+ i.options[0].replace(fn, function(l, u, h, f, c, p) {
1065
1063
  if (u)
1066
1064
  t.minimumIntegerDigits = h.length;
1067
1065
  else {
@@ -1074,27 +1072,27 @@ function pn(e) {
1074
1072
  });
1075
1073
  continue;
1076
1074
  }
1077
- if (Xt.test(i.stem)) {
1075
+ if (kt.test(i.stem)) {
1078
1076
  t.minimumIntegerDigits = i.stem.length;
1079
1077
  continue;
1080
1078
  }
1081
- if (at.test(i.stem)) {
1079
+ if (st.test(i.stem)) {
1082
1080
  if (i.options.length > 1)
1083
1081
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1084
- i.stem.replace(at, function(l, u, h, f, c, p) {
1082
+ i.stem.replace(st, function(l, u, h, f, c, p) {
1085
1083
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1086
1084
  });
1087
1085
  var s = i.options[0];
1088
- s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), ut(s)));
1086
+ s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), ot(s)));
1089
1087
  continue;
1090
1088
  }
1091
- if (Vt.test(i.stem)) {
1092
- t = y(y({}, t), ut(i.stem));
1089
+ if (jt.test(i.stem)) {
1090
+ t = y(y({}, t), ot(i.stem));
1093
1091
  continue;
1094
1092
  }
1095
- var a = zt(i.stem);
1093
+ var a = Vt(i.stem);
1096
1094
  a && (t = y(y({}, t), a));
1097
- var o = mn(i.stem);
1095
+ var o = cn(i.stem);
1098
1096
  o && (t = y(y({}, t), o));
1099
1097
  }
1100
1098
  return t;
@@ -2514,13 +2512,13 @@ var ae = {
2514
2512
  "h"
2515
2513
  ]
2516
2514
  };
2517
- function dn(e, t) {
2515
+ function pn(e, t) {
2518
2516
  for (var r = "", n = 0; n < e.length; n++) {
2519
2517
  var i = e.charAt(n);
2520
2518
  if (i === "j") {
2521
2519
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2522
2520
  s++, n++;
2523
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = bn(t);
2521
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = dn(t);
2524
2522
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2525
2523
  r += l;
2526
2524
  for (; a-- > 0; )
@@ -2529,7 +2527,7 @@ function dn(e, t) {
2529
2527
  }
2530
2528
  return r;
2531
2529
  }
2532
- function bn(e) {
2530
+ function dn(e) {
2533
2531
  var t = e.hourCycle;
2534
2532
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2535
2533
  e.hourCycles && // @ts-ignore
@@ -2551,20 +2549,20 @@ function bn(e) {
2551
2549
  var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
2552
2550
  return i[0];
2553
2551
  }
2554
- var Pe, gn = new RegExp("^".concat(kt.source, "*")), _n = new RegExp("".concat(kt.source, "*$"));
2552
+ var Pe, bn = new RegExp("^".concat(Ft.source, "*")), gn = new RegExp("".concat(Ft.source, "*$"));
2555
2553
  function b(e, t) {
2556
2554
  return { start: e, end: t };
2557
2555
  }
2558
- var yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), En = !!String.fromCodePoint, xn = !!Object.fromEntries, vn = !!String.prototype.codePointAt, Hn = !!String.prototype.trimStart, Bn = !!String.prototype.trimEnd, Tn = !!Number.isSafeInteger, wn = Tn ? Number.isSafeInteger : function(e) {
2556
+ 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) {
2559
2557
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2560
2558
  }, De = !0;
2561
2559
  try {
2562
- var Sn = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2563
- De = ((Pe = Sn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
2560
+ var wn = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2561
+ De = ((Pe = wn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
2564
2562
  } catch (e) {
2565
2563
  De = !1;
2566
2564
  }
2567
- var lt = yn ? (
2565
+ var ut = _n ? (
2568
2566
  // Native
2569
2567
  function(t, r, n) {
2570
2568
  return t.startsWith(r, n);
@@ -2574,7 +2572,7 @@ var lt = yn ? (
2574
2572
  function(t, r, n) {
2575
2573
  return t.slice(n, n + r.length) === r;
2576
2574
  }
2577
- ), Ge = En ? String.fromCodePoint : (
2575
+ ), Ge = yn ? String.fromCodePoint : (
2578
2576
  // IE11
2579
2577
  function() {
2580
2578
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2586,9 +2584,9 @@ var lt = yn ? (
2586
2584
  }
2587
2585
  return n;
2588
2586
  }
2589
- ), ft = (
2587
+ ), ht = (
2590
2588
  // native
2591
- xn ? Object.fromEntries : (
2589
+ En ? Object.fromEntries : (
2592
2590
  // Ponyfill
2593
2591
  function(t) {
2594
2592
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2598,7 +2596,7 @@ var lt = yn ? (
2598
2596
  return r;
2599
2597
  }
2600
2598
  )
2601
- ), Wt = vn ? (
2599
+ ), Xt = xn ? (
2602
2600
  // Native
2603
2601
  function(t, r) {
2604
2602
  return t.codePointAt(r);
@@ -2612,7 +2610,7 @@ var lt = yn ? (
2612
2610
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2613
2611
  }
2614
2612
  }
2615
- ), An = Hn ? (
2613
+ ), Sn = vn ? (
2616
2614
  // Native
2617
2615
  function(t) {
2618
2616
  return t.trimStart();
@@ -2620,9 +2618,9 @@ var lt = yn ? (
2620
2618
  ) : (
2621
2619
  // Ponyfill
2622
2620
  function(t) {
2623
- return t.replace(gn, "");
2621
+ return t.replace(bn, "");
2624
2622
  }
2625
- ), Cn = Bn ? (
2623
+ ), An = Hn ? (
2626
2624
  // Native
2627
2625
  function(t) {
2628
2626
  return t.trimEnd();
@@ -2630,32 +2628,32 @@ var lt = yn ? (
2630
2628
  ) : (
2631
2629
  // Ponyfill
2632
2630
  function(t) {
2633
- return t.replace(_n, "");
2631
+ return t.replace(gn, "");
2634
2632
  }
2635
2633
  );
2636
- function Zt(e, t) {
2634
+ function Wt(e, t) {
2637
2635
  return new RegExp(e, t);
2638
2636
  }
2639
2637
  var Fe;
2640
2638
  if (De) {
2641
- var ct = Zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2639
+ var lt = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2642
2640
  Fe = function(t, r) {
2643
2641
  var n;
2644
- ct.lastIndex = r;
2645
- var i = ct.exec(t);
2642
+ lt.lastIndex = r;
2643
+ var i = lt.exec(t);
2646
2644
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2647
2645
  };
2648
2646
  } else
2649
2647
  Fe = function(t, r) {
2650
2648
  for (var n = []; ; ) {
2651
- var i = Wt(t, r);
2652
- if (i === void 0 || Qt(i) || Nn(i))
2649
+ var i = Xt(t, r);
2650
+ if (i === void 0 || zt(i) || Ln(i))
2653
2651
  break;
2654
2652
  n.push(i), r += i >= 65536 ? 2 : 1;
2655
2653
  }
2656
2654
  return Ge.apply(void 0, n);
2657
2655
  };
2658
- var On = (
2656
+ var Cn = (
2659
2657
  /** @class */
2660
2658
  function() {
2661
2659
  function e(t, r) {
@@ -2737,7 +2735,7 @@ var On = (
2737
2735
  return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
2738
2736
  }, e.prototype.parseTagName = function() {
2739
2737
  var t = this.offset();
2740
- for (this.bump(); !this.isEOF() && Ln(this.char()); )
2738
+ for (this.bump(); !this.isEOF() && Pn(this.char()); )
2741
2739
  this.bump();
2742
2740
  return this.message.slice(t, this.offset());
2743
2741
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2766,7 +2764,7 @@ var On = (
2766
2764
  };
2767
2765
  }, e.prototype.tryParseLeftAngleBracket = function() {
2768
2766
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2769
- !Pn(this.peek() || 0)) ? (this.bump(), "<") : null;
2767
+ !On(this.peek() || 0)) ? (this.bump(), "<") : null;
2770
2768
  }, e.prototype.tryParseQuote = function(t) {
2771
2769
  if (this.isEOF() || this.char() !== 39)
2772
2770
  return null;
@@ -2853,7 +2851,7 @@ var On = (
2853
2851
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2854
2852
  if (f.err)
2855
2853
  return f;
2856
- var c = Cn(f.val);
2854
+ var c = An(f.val);
2857
2855
  if (c.length === 0)
2858
2856
  return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2859
2857
  var p = b(h, this.clonePosition());
@@ -2863,8 +2861,8 @@ var On = (
2863
2861
  if (m.err)
2864
2862
  return m;
2865
2863
  var g = b(i, this.clonePosition());
2866
- if (u && lt(u == null ? void 0 : u.style, "::", 0)) {
2867
- var v = An(u.style.slice(2));
2864
+ if (u && ut(u == null ? void 0 : u.style, "::", 0)) {
2865
+ var v = Sn(u.style.slice(2));
2868
2866
  if (o === "number") {
2869
2867
  var f = this.parseNumberSkeletonFromString(v, u.styleLocation);
2870
2868
  return f.err ? f : {
@@ -2875,12 +2873,12 @@ var On = (
2875
2873
  if (v.length === 0)
2876
2874
  return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
2877
2875
  var N = v;
2878
- this.locale && (N = dn(v, this.locale));
2876
+ this.locale && (N = pn(v, this.locale));
2879
2877
  var c = {
2880
2878
  type: V.dateTime,
2881
2879
  pattern: N,
2882
2880
  location: u.styleLocation,
2883
- parsedOptions: this.shouldParseSkeletons ? un(N) : {}
2881
+ parsedOptions: this.shouldParseSkeletons ? an(N) : {}
2884
2882
  }, C = o === "date" ? E.date : E.time;
2885
2883
  return {
2886
2884
  val: { type: C, value: n, location: g, style: c },
@@ -2926,7 +2924,7 @@ var On = (
2926
2924
  val: {
2927
2925
  type: E.select,
2928
2926
  value: n,
2929
- options: ft(R.val),
2927
+ options: ht(R.val),
2930
2928
  location: se
2931
2929
  },
2932
2930
  err: null
@@ -2934,7 +2932,7 @@ var On = (
2934
2932
  val: {
2935
2933
  type: E.plural,
2936
2934
  value: n,
2937
- options: ft(R.val),
2935
+ options: ht(R.val),
2938
2936
  offset: w,
2939
2937
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2940
2938
  location: se
@@ -2985,7 +2983,7 @@ var On = (
2985
2983
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2986
2984
  var n = [];
2987
2985
  try {
2988
- n = ln(t);
2986
+ n = hn(t);
2989
2987
  } catch (i) {
2990
2988
  return this.error(d.INVALID_NUMBER_SKELETON, r);
2991
2989
  }
@@ -2994,7 +2992,7 @@ var On = (
2994
2992
  type: V.number,
2995
2993
  tokens: n,
2996
2994
  location: r,
2997
- parsedOptions: this.shouldParseSkeletons ? pn(n) : {}
2995
+ parsedOptions: this.shouldParseSkeletons ? mn(n) : {}
2998
2996
  },
2999
2997
  err: null
3000
2998
  };
@@ -3042,7 +3040,7 @@ var On = (
3042
3040
  break;
3043
3041
  }
3044
3042
  var l = b(i, this.clonePosition());
3045
- return s ? (a *= n, wn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3043
+ return s ? (a *= n, Tn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3046
3044
  }, e.prototype.offset = function() {
3047
3045
  return this.position.offset;
3048
3046
  }, e.prototype.isEOF = function() {
@@ -3057,7 +3055,7 @@ var On = (
3057
3055
  var t = this.position.offset;
3058
3056
  if (t >= this.message.length)
3059
3057
  throw Error("out of bound");
3060
- var r = Wt(this.message, t);
3058
+ var r = Xt(this.message, t);
3061
3059
  if (r === void 0)
3062
3060
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3063
3061
  return r;
@@ -3076,7 +3074,7 @@ var On = (
3076
3074
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3077
3075
  }
3078
3076
  }, e.prototype.bumpIf = function(t) {
3079
- if (lt(this.message, t, this.offset())) {
3077
+ if (ut(this.message, t, this.offset())) {
3080
3078
  for (var r = 0; r < t.length; r++)
3081
3079
  this.bump();
3082
3080
  return !0;
@@ -3098,7 +3096,7 @@ var On = (
3098
3096
  break;
3099
3097
  }
3100
3098
  }, e.prototype.bumpSpace = function() {
3101
- for (; !this.isEOF() && Qt(this.char()); )
3099
+ for (; !this.isEOF() && zt(this.char()); )
3102
3100
  this.bump();
3103
3101
  }, e.prototype.peek = function() {
3104
3102
  if (this.isEOF())
@@ -3111,29 +3109,29 @@ var On = (
3111
3109
  function je(e) {
3112
3110
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3113
3111
  }
3114
- function Pn(e) {
3112
+ function On(e) {
3115
3113
  return je(e) || e === 47;
3116
3114
  }
3117
- function Ln(e) {
3115
+ function Pn(e) {
3118
3116
  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;
3119
3117
  }
3120
- function Qt(e) {
3118
+ function zt(e) {
3121
3119
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3122
3120
  }
3123
- function Nn(e) {
3121
+ function Ln(e) {
3124
3122
  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;
3125
3123
  }
3126
3124
  function ke(e) {
3127
3125
  e.forEach(function(t) {
3128
- if (delete t.location, Dt(t) || Gt(t))
3126
+ if (delete t.location, Rt(t) || Ut(t))
3129
3127
  for (var r in t.options)
3130
3128
  delete t.options[r].location, ke(t.options[r].value);
3131
- else $t(t) && jt(t.style) || (Rt(t) || Ut(t)) && Ue(t.style) ? delete t.style.location : Ft(t) && ke(t.children);
3129
+ else It(t) && Gt(t.style) || (Mt(t) || $t(t)) && Ue(t.style) ? delete t.style.location : Dt(t) && ke(t.children);
3132
3130
  });
3133
3131
  }
3134
- function In(e, t) {
3132
+ function Nn(e, t) {
3135
3133
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3136
- var r = new On(e, t).parse();
3134
+ var r = new Cn(e, t).parse();
3137
3135
  if (r.err) {
3138
3136
  var n = SyntaxError(d[r.err.kind]);
3139
3137
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3156,7 +3154,7 @@ var ye = (
3156
3154
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3157
3155
  }, t;
3158
3156
  }(Error)
3159
- ), mt = (
3157
+ ), ft = (
3160
3158
  /** @class */
3161
3159
  function(e) {
3162
3160
  _e(t, e);
@@ -3165,7 +3163,7 @@ var ye = (
3165
3163
  }
3166
3164
  return t;
3167
3165
  }(ye)
3168
- ), Mn = (
3166
+ ), In = (
3169
3167
  /** @class */
3170
3168
  function(e) {
3171
3169
  _e(t, e);
@@ -3174,7 +3172,7 @@ var ye = (
3174
3172
  }
3175
3173
  return t;
3176
3174
  }(ye)
3177
- ), $n = (
3175
+ ), Mn = (
3178
3176
  /** @class */
3179
3177
  function(e) {
3180
3178
  _e(t, e);
@@ -3187,17 +3185,17 @@ var ye = (
3187
3185
  (function(e) {
3188
3186
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3189
3187
  })(x || (x = {}));
3190
- function Rn(e) {
3188
+ function $n(e) {
3191
3189
  return e.length < 2 ? e : e.reduce(function(t, r) {
3192
3190
  var n = t[t.length - 1];
3193
3191
  return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3194
3192
  }, []);
3195
3193
  }
3196
- function Un(e) {
3194
+ function Rn(e) {
3197
3195
  return typeof e == "function";
3198
3196
  }
3199
3197
  function fe(e, t, r, n, i, s, a) {
3200
- if (e.length === 1 && ot(e[0]))
3198
+ if (e.length === 1 && it(e[0]))
3201
3199
  return [
3202
3200
  {
3203
3201
  type: x.literal,
@@ -3206,14 +3204,14 @@ function fe(e, t, r, n, i, s, a) {
3206
3204
  ];
3207
3205
  for (var o = [], l = 0, u = e; l < u.length; l++) {
3208
3206
  var h = u[l];
3209
- if (ot(h)) {
3207
+ if (it(h)) {
3210
3208
  o.push({
3211
3209
  type: x.literal,
3212
3210
  value: h.value
3213
3211
  });
3214
3212
  continue;
3215
3213
  }
3216
- if (on(h)) {
3214
+ if (sn(h)) {
3217
3215
  typeof s == "number" && o.push({
3218
3216
  type: x.literal,
3219
3217
  value: r.getNumberFormat(t).format(s)
@@ -3222,16 +3220,16 @@ function fe(e, t, r, n, i, s, a) {
3222
3220
  }
3223
3221
  var f = h.value;
3224
3222
  if (!(i && f in i))
3225
- throw new $n(f, a);
3223
+ throw new Mn(f, a);
3226
3224
  var c = i[f];
3227
- if (sn(h)) {
3225
+ if (nn(h)) {
3228
3226
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3229
3227
  type: typeof c == "string" ? x.literal : x.object,
3230
3228
  value: c
3231
3229
  });
3232
3230
  continue;
3233
3231
  }
3234
- if (Rt(h)) {
3232
+ if (Mt(h)) {
3235
3233
  var p = typeof h.style == "string" ? n.date[h.style] : Ue(h.style) ? h.style.parsedOptions : void 0;
3236
3234
  o.push({
3237
3235
  type: x.literal,
@@ -3239,7 +3237,7 @@ function fe(e, t, r, n, i, s, a) {
3239
3237
  });
3240
3238
  continue;
3241
3239
  }
3242
- if (Ut(h)) {
3240
+ if ($t(h)) {
3243
3241
  var p = typeof h.style == "string" ? n.time[h.style] : Ue(h.style) ? h.style.parsedOptions : n.time.medium;
3244
3242
  o.push({
3245
3243
  type: x.literal,
@@ -3247,18 +3245,18 @@ function fe(e, t, r, n, i, s, a) {
3247
3245
  });
3248
3246
  continue;
3249
3247
  }
3250
- if ($t(h)) {
3251
- var p = typeof h.style == "string" ? n.number[h.style] : jt(h.style) ? h.style.parsedOptions : void 0;
3248
+ if (It(h)) {
3249
+ var p = typeof h.style == "string" ? n.number[h.style] : Gt(h.style) ? h.style.parsedOptions : void 0;
3252
3250
  p && p.scale && (c = c * (p.scale || 1)), o.push({
3253
3251
  type: x.literal,
3254
3252
  value: r.getNumberFormat(t, p).format(c)
3255
3253
  });
3256
3254
  continue;
3257
3255
  }
3258
- if (Ft(h)) {
3256
+ if (Dt(h)) {
3259
3257
  var m = h.children, g = h.value, v = i[g];
3260
- if (!Un(v))
3261
- throw new Mn(g, "function", a);
3258
+ if (!Rn(v))
3259
+ throw new In(g, "function", a);
3262
3260
  var N = fe(m, t, r, n, i, s), C = v(N.map(function(w) {
3263
3261
  return w.value;
3264
3262
  }));
@@ -3269,14 +3267,14 @@ function fe(e, t, r, n, i, s, a) {
3269
3267
  };
3270
3268
  }));
3271
3269
  }
3272
- if (Dt(h)) {
3270
+ if (Rt(h)) {
3273
3271
  var H = h.options[c] || h.options.other;
3274
3272
  if (!H)
3275
- throw new mt(h.value, c, Object.keys(h.options), a);
3273
+ throw new ft(h.value, c, Object.keys(h.options), a);
3276
3274
  o.push.apply(o, fe(H.value, t, r, n, i));
3277
3275
  continue;
3278
3276
  }
3279
- if (Gt(h)) {
3277
+ if (Ut(h)) {
3280
3278
  var H = h.options["=".concat(c)];
3281
3279
  if (!H) {
3282
3280
  if (!Intl.PluralRules)
@@ -3287,21 +3285,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3287
3285
  H = h.options[I] || h.options.other;
3288
3286
  }
3289
3287
  if (!H)
3290
- throw new mt(h.value, c, Object.keys(h.options), a);
3288
+ throw new ft(h.value, c, Object.keys(h.options), a);
3291
3289
  o.push.apply(o, fe(H.value, t, r, n, i, c - (h.offset || 0)));
3292
3290
  continue;
3293
3291
  }
3294
3292
  }
3295
- return Rn(o);
3293
+ return $n(o);
3296
3294
  }
3297
- function Dn(e, t) {
3295
+ function Un(e, t) {
3298
3296
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3299
3297
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3300
3298
  }, {})) : e;
3301
3299
  }
3302
- function Gn(e, t) {
3300
+ function Dn(e, t) {
3303
3301
  return t ? Object.keys(e).reduce(function(r, n) {
3304
- return r[n] = Dn(e[n], t[n]), r;
3302
+ return r[n] = Un(e[n], t[n]), r;
3305
3303
  }, y({}, e)) : e;
3306
3304
  }
3307
3305
  function Le(e) {
@@ -3318,7 +3316,7 @@ function Le(e) {
3318
3316
  }
3319
3317
  };
3320
3318
  }
3321
- function Fn(e) {
3319
+ function Gn(e) {
3322
3320
  return e === void 0 && (e = {
3323
3321
  number: {},
3324
3322
  dateTime: {},
@@ -3350,7 +3348,7 @@ function Fn(e) {
3350
3348
  })
3351
3349
  };
3352
3350
  }
3353
- var qt = (
3351
+ var Zt = (
3354
3352
  /** @class */
3355
3353
  function() {
3356
3354
  function e(t, r, n, i) {
@@ -3382,13 +3380,13 @@ var qt = (
3382
3380
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3383
3381
  var a = i || {};
3384
3382
  a.formatters;
3385
- var o = Jr(a, ["formatters"]);
3383
+ var o = Qr(a, ["formatters"]);
3386
3384
  this.ast = e.__parse(t, y(y({}, o), { locale: this.resolvedLocale }));
3387
3385
  } else
3388
3386
  this.ast = t;
3389
3387
  if (!Array.isArray(this.ast))
3390
3388
  throw new TypeError("A message must be provided as a String or AST.");
3391
- this.formats = Gn(e.formats, n), this.formatters = i && i.formatters || Fn(this.formatterCache);
3389
+ this.formats = Dn(e.formats, n), this.formatters = i && i.formatters || Gn(this.formatterCache);
3392
3390
  }
3393
3391
  return Object.defineProperty(e, "defaultLocale", {
3394
3392
  get: function() {
@@ -3401,7 +3399,7 @@ var qt = (
3401
3399
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3402
3400
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3403
3401
  }
3404
- }, e.__parse = In, e.formats = {
3402
+ }, e.__parse = Nn, e.formats = {
3405
3403
  number: {
3406
3404
  integer: {
3407
3405
  maximumFractionDigits: 0
@@ -3462,7 +3460,7 @@ var qt = (
3462
3460
  }, e;
3463
3461
  }()
3464
3462
  );
3465
- function jn(e, t) {
3463
+ function Fn(e, t) {
3466
3464
  if (t == null)
3467
3465
  return;
3468
3466
  if (t in e)
@@ -3483,60 +3481,60 @@ function jn(e, t) {
3483
3481
  n = void 0;
3484
3482
  return n;
3485
3483
  }
3486
- const O = {}, kn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Jt = (e, t) => {
3484
+ const O = {}, jn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Qt = (e, t) => {
3487
3485
  if (t == null)
3488
3486
  return;
3489
3487
  if (t in O && e in O[t])
3490
3488
  return O[t][e];
3491
3489
  const r = ie(t);
3492
3490
  for (let n = 0; n < r.length; n++) {
3493
- const i = r[n], s = Xn(i, e);
3491
+ const i = r[n], s = Vn(i, e);
3494
3492
  if (s)
3495
- return kn(e, t, s);
3493
+ return jn(e, t, s);
3496
3494
  }
3497
3495
  };
3498
- let qe;
3496
+ let Ze;
3499
3497
  const ne = ge({});
3500
- function Vn(e) {
3501
- return qe[e] || null;
3498
+ function kn(e) {
3499
+ return Ze[e] || null;
3502
3500
  }
3503
- function Yt(e) {
3504
- return e in qe;
3501
+ function qt(e) {
3502
+ return e in Ze;
3505
3503
  }
3506
- function Xn(e, t) {
3507
- if (!Yt(e))
3504
+ function Vn(e, t) {
3505
+ if (!qt(e))
3508
3506
  return null;
3509
- const r = Vn(e);
3510
- return jn(r, t);
3507
+ const r = kn(e);
3508
+ return Fn(r, t);
3511
3509
  }
3512
- function zn(e) {
3510
+ function Xn(e) {
3513
3511
  if (e == null)
3514
3512
  return;
3515
3513
  const t = ie(e);
3516
3514
  for (let r = 0; r < t.length; r++) {
3517
3515
  const n = t[r];
3518
- if (Yt(n))
3516
+ if (qt(n))
3519
3517
  return n;
3520
3518
  }
3521
3519
  }
3522
- function Kt(e, ...t) {
3523
- delete O[e], ne.update((r) => (r[e] = qr.all([r[e] || {}, ...t]), r));
3520
+ function Jt(e, ...t) {
3521
+ delete O[e], ne.update((r) => (r[e] = Zr.all([r[e] || {}, ...t]), r));
3524
3522
  }
3525
3523
  Q(
3526
3524
  [ne],
3527
3525
  ([e]) => Object.keys(e)
3528
3526
  );
3529
- ne.subscribe((e) => qe = e);
3527
+ ne.subscribe((e) => Ze = e);
3530
3528
  const ce = {};
3531
3529
  function Wn(e, t) {
3532
3530
  ce[e].delete(t), ce[e].size === 0 && delete ce[e];
3533
3531
  }
3534
- function er(e) {
3532
+ function Yt(e) {
3535
3533
  return ce[e];
3536
3534
  }
3537
- function Zn(e) {
3535
+ function zn(e) {
3538
3536
  return ie(e).map((t) => {
3539
- const r = er(t);
3537
+ const r = Yt(t);
3540
3538
  return [t, r ? [...r] : []];
3541
3539
  }).filter(([, t]) => t.length > 0);
3542
3540
  }
@@ -3544,40 +3542,40 @@ function pe(e) {
3544
3542
  return e == null ? !1 : ie(e).some(
3545
3543
  (t) => {
3546
3544
  var r;
3547
- return (r = er(t)) == null ? void 0 : r.size;
3545
+ return (r = Yt(t)) == null ? void 0 : r.size;
3548
3546
  }
3549
3547
  );
3550
3548
  }
3551
- function Qn(e, t) {
3549
+ function Zn(e, t) {
3552
3550
  return Promise.all(
3553
3551
  t.map((n) => (Wn(e, n), n().then((i) => i.default || i)))
3554
- ).then((n) => Kt(e, ...n));
3552
+ ).then((n) => Jt(e, ...n));
3555
3553
  }
3556
3554
  const J = {};
3557
- function tr(e) {
3555
+ function Kt(e) {
3558
3556
  if (!pe(e))
3559
3557
  return e in J ? J[e] : Promise.resolve();
3560
- const t = Zn(e);
3558
+ const t = zn(e);
3561
3559
  return J[e] = Promise.all(
3562
3560
  t.map(
3563
- ([r, n]) => Qn(r, n)
3561
+ ([r, n]) => Zn(r, n)
3564
3562
  )
3565
3563
  ).then(() => {
3566
3564
  if (pe(e))
3567
- return tr(e);
3565
+ return Kt(e);
3568
3566
  delete J[e];
3569
3567
  }), J[e];
3570
3568
  }
3571
- var pt = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, Yn = (e, t) => {
3569
+ var ct = Object.getOwnPropertySymbols, Qn = Object.prototype.hasOwnProperty, qn = Object.prototype.propertyIsEnumerable, Jn = (e, t) => {
3572
3570
  var r = {};
3573
3571
  for (var n in e)
3574
- qn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3575
- if (e != null && pt)
3576
- for (var n of pt(e))
3577
- t.indexOf(n) < 0 && Jn.call(e, n) && (r[n] = e[n]);
3572
+ Qn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3573
+ if (e != null && ct)
3574
+ for (var n of ct(e))
3575
+ t.indexOf(n) < 0 && qn.call(e, n) && (r[n] = e[n]);
3578
3576
  return r;
3579
3577
  };
3580
- const Kn = {
3578
+ const Yn = {
3581
3579
  number: {
3582
3580
  scientific: { notation: "scientific" },
3583
3581
  engineering: { notation: "engineering" },
@@ -3607,7 +3605,7 @@ const Kn = {
3607
3605
  }
3608
3606
  }
3609
3607
  };
3610
- function ei({ locale: e, id: t }) {
3608
+ function Kn({ locale: e, id: t }) {
3611
3609
  console.warn(
3612
3610
  `[svelte-i18n] The message "${t}" was not found in "${ie(
3613
3611
  e
@@ -3616,49 +3614,49 @@ function ei({ locale: e, id: t }) {
3616
3614
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3617
3615
  );
3618
3616
  }
3619
- const ti = {
3617
+ const ei = {
3620
3618
  fallbackLocale: null,
3621
3619
  loadingDelay: 200,
3622
- formats: Kn,
3620
+ formats: Yn,
3623
3621
  warnOnMissingMessages: !0,
3624
3622
  handleMissingMessage: void 0,
3625
3623
  ignoreTag: !0
3626
- }, Y = ti;
3627
- function z() {
3624
+ }, Y = ei;
3625
+ function W() {
3628
3626
  return Y;
3629
3627
  }
3630
- function ri(e) {
3631
- const t = e, { formats: r } = t, n = Yn(t, ["formats"]);
3628
+ function ti(e) {
3629
+ const t = e, { formats: r } = t, n = Jn(t, ["formats"]);
3632
3630
  let i = e.fallbackLocale;
3633
3631
  if (e.initialLocale)
3634
3632
  try {
3635
- qt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3633
+ Zt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3636
3634
  } catch (s) {
3637
3635
  console.warn(
3638
3636
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3639
3637
  );
3640
3638
  }
3641
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ei : console.warn(
3639
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Kn : console.warn(
3642
3640
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3643
3641
  )), Object.assign(Y, n, { initialLocale: i }), r && ("number" in r && Object.assign(Y.formats.number, r.number), "date" in r && Object.assign(Y.formats.date, r.date), "time" in r && Object.assign(Y.formats.time, r.time)), $.set(i);
3644
3642
  }
3645
3643
  const Ne = ge(!1);
3646
- var ni = Object.defineProperty, ii = Object.defineProperties, si = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, oi = Object.prototype.hasOwnProperty, ai = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ui = (e, t) => {
3644
+ 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) => {
3647
3645
  for (var r in t || (t = {}))
3648
- oi.call(t, r) && bt(e, r, t[r]);
3649
- if (dt)
3650
- for (var r of dt(t))
3651
- ai.call(t, r) && bt(e, r, t[r]);
3646
+ si.call(t, r) && pt(e, r, t[r]);
3647
+ if (mt)
3648
+ for (var r of mt(t))
3649
+ oi.call(t, r) && pt(e, r, t[r]);
3652
3650
  return e;
3653
- }, hi = (e, t) => ii(e, si(t));
3651
+ }, ui = (e, t) => ni(e, ii(t));
3654
3652
  let Ve;
3655
3653
  const de = ge(null);
3656
- function gt(e) {
3654
+ function dt(e) {
3657
3655
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3658
3656
  }
3659
- function ie(e, t = z().fallbackLocale) {
3660
- const r = gt(e);
3661
- return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
3657
+ function ie(e, t = W().fallbackLocale) {
3658
+ const r = dt(e);
3659
+ return t ? [.../* @__PURE__ */ new Set([...r, ...dt(t)])] : r;
3662
3660
  }
3663
3661
  function L() {
3664
3662
  return Ve != null ? Ve : void 0;
@@ -3666,22 +3664,22 @@ function L() {
3666
3664
  de.subscribe((e) => {
3667
3665
  Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3668
3666
  });
3669
- const li = (e) => {
3670
- if (e && zn(e) && pe(e)) {
3671
- const { loadingDelay: t } = z();
3667
+ const hi = (e) => {
3668
+ if (e && Xn(e) && pe(e)) {
3669
+ const { loadingDelay: t } = W();
3672
3670
  let r;
3673
3671
  return typeof window != "undefined" && L() != null && t ? r = window.setTimeout(
3674
3672
  () => Ne.set(!0),
3675
3673
  t
3676
- ) : Ne.set(!0), tr(e).then(() => {
3674
+ ) : Ne.set(!0), Kt(e).then(() => {
3677
3675
  de.set(e);
3678
3676
  }).finally(() => {
3679
3677
  clearTimeout(r), Ne.set(!1);
3680
3678
  });
3681
3679
  }
3682
3680
  return de.set(e);
3683
- }, $ = hi(ui({}, de), {
3684
- set: li
3681
+ }, $ = ui(ai({}, de), {
3682
+ set: hi
3685
3683
  }), Ee = (e) => {
3686
3684
  const t = /* @__PURE__ */ Object.create(null);
3687
3685
  return (n) => {
@@ -3689,42 +3687,42 @@ const li = (e) => {
3689
3687
  return i in t ? t[i] : t[i] = e(n);
3690
3688
  };
3691
3689
  };
3692
- var fi = Object.defineProperty, be = Object.getOwnPropertySymbols, rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
3690
+ 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, Qe = (e, t) => {
3693
3691
  for (var r in t || (t = {}))
3694
- rr.call(t, r) && _t(e, r, t[r]);
3692
+ er.call(t, r) && bt(e, r, t[r]);
3695
3693
  if (be)
3696
3694
  for (var r of be(t))
3697
- nr.call(t, r) && _t(e, r, t[r]);
3695
+ tr.call(t, r) && bt(e, r, t[r]);
3698
3696
  return e;
3699
3697
  }, q = (e, t) => {
3700
3698
  var r = {};
3701
3699
  for (var n in e)
3702
- rr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3700
+ er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3703
3701
  if (e != null && be)
3704
3702
  for (var n of be(e))
3705
- t.indexOf(n) < 0 && nr.call(e, n) && (r[n] = e[n]);
3703
+ t.indexOf(n) < 0 && tr.call(e, n) && (r[n] = e[n]);
3706
3704
  return r;
3707
3705
  };
3708
3706
  const te = (e, t) => {
3709
- const { formats: r } = z();
3707
+ const { formats: r } = W();
3710
3708
  if (e in r && t in r[e])
3711
3709
  return r[e][t];
3712
3710
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3713
- }, ci = Ee(
3711
+ }, fi = Ee(
3714
3712
  (e) => {
3715
3713
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3716
3714
  if (r == null)
3717
3715
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3718
3716
  return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
3719
3717
  }
3720
- ), mi = Ee(
3718
+ ), ci = Ee(
3721
3719
  (e) => {
3722
3720
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3723
3721
  if (r == null)
3724
3722
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3725
3723
  return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
3726
3724
  }
3727
- ), pi = Ee(
3725
+ ), mi = Ee(
3728
3726
  (e) => {
3729
3727
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3730
3728
  if (r == null)
@@ -3733,33 +3731,33 @@ const te = (e, t) => {
3733
3731
  );
3734
3732
  return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
3735
3733
  }
3736
- ), di = (e = {}) => {
3734
+ ), pi = (e = {}) => {
3737
3735
  var t = e, {
3738
3736
  locale: r = L()
3739
3737
  } = t, n = q(t, [
3740
3738
  "locale"
3741
3739
  ]);
3742
- return ci(Je({ locale: r }, n));
3743
- }, bi = (e = {}) => {
3740
+ return fi(Qe({ locale: r }, n));
3741
+ }, di = (e = {}) => {
3744
3742
  var t = e, {
3745
3743
  locale: r = L()
3746
3744
  } = t, n = q(t, [
3747
3745
  "locale"
3748
3746
  ]);
3749
- return mi(Je({ locale: r }, n));
3750
- }, gi = (e = {}) => {
3747
+ return ci(Qe({ locale: r }, n));
3748
+ }, bi = (e = {}) => {
3751
3749
  var t = e, {
3752
3750
  locale: r = L()
3753
3751
  } = t, n = q(t, [
3754
3752
  "locale"
3755
3753
  ]);
3756
- return pi(Je({ locale: r }, n));
3757
- }, _i = Ee(
3754
+ return mi(Qe({ locale: r }, n));
3755
+ }, gi = Ee(
3758
3756
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3759
- (e, t = L()) => new qt(e, t, z().formats, {
3760
- ignoreTag: z().ignoreTag
3757
+ (e, t = L()) => new Zt(e, t, W().formats, {
3758
+ ignoreTag: W().ignoreTag
3761
3759
  })
3762
- ), yi = (e, t = {}) => {
3760
+ ), _i = (e, t = {}) => {
3763
3761
  var r, n, i, s;
3764
3762
  let a = t;
3765
3763
  typeof e == "object" && (a = e, e = a.id);
@@ -3772,9 +3770,9 @@ const te = (e, t) => {
3772
3770
  throw new Error(
3773
3771
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3774
3772
  );
3775
- let h = Jt(e, l);
3773
+ let h = Qt(e, l);
3776
3774
  if (!h)
3777
- 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;
3775
+ 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;
3778
3776
  else if (typeof h != "string")
3779
3777
  return console.warn(
3780
3778
  `[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.`
@@ -3783,7 +3781,7 @@ const te = (e, t) => {
3783
3781
  return h;
3784
3782
  let f = h;
3785
3783
  try {
3786
- f = _i(h, l).format(o);
3784
+ f = gi(h, l).format(o);
3787
3785
  } catch (c) {
3788
3786
  c instanceof Error && console.warn(
3789
3787
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3791,20 +3789,20 @@ const te = (e, t) => {
3791
3789
  );
3792
3790
  }
3793
3791
  return f;
3794
- }, Ei = (e, t) => gi(t).format(e), xi = (e, t) => bi(t).format(e), vi = (e, t) => di(t).format(e), Hi = (e, t = L()) => Jt(e, t), Bi = Q([$, ne], () => yi);
3792
+ }, yi = (e, t) => bi(t).format(e), Ei = (e, t) => di(t).format(e), xi = (e, t) => pi(t).format(e), vi = (e, t = L()) => Qt(e, t), Hi = Q([$, ne], () => _i);
3793
+ Q([$], () => yi);
3795
3794
  Q([$], () => Ei);
3796
3795
  Q([$], () => xi);
3797
- Q([$], () => vi);
3798
- Q([$, ne], () => Hi);
3799
- function yt(e, t) {
3800
- Kt(e, t);
3796
+ Q([$, ne], () => vi);
3797
+ function gt(e, t) {
3798
+ Jt(e, t);
3801
3799
  }
3802
- function Ti(e) {
3803
- ri({
3800
+ function Bi(e) {
3801
+ ti({
3804
3802
  fallbackLocale: "en"
3805
3803
  }), $.set(e);
3806
3804
  }
3807
- const Et = {
3805
+ const _t = {
3808
3806
  en: {
3809
3807
  header: {
3810
3808
  general: "Cashier",
@@ -3827,18 +3825,18 @@ const Et = {
3827
3825
  }
3828
3826
  }
3829
3827
  };
3830
- function wi(e) {
3831
- 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}");
3828
+ function Ti(e) {
3829
+ pr(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}");
3832
3830
  }
3833
- const Si = (e) => ({}), xt = (e) => ({}), Ai = (e) => ({}), vt = (e) => ({}), Ci = (e) => ({}), Ht = (e) => ({});
3834
- function Bt(e) {
3831
+ const wi = (e) => ({}), yt = (e) => ({}), Si = (e) => ({}), Et = (e) => ({}), Ai = (e) => ({}), xt = (e) => ({});
3832
+ function vt(e) {
3835
3833
  let t, r, n;
3836
3834
  return {
3837
3835
  c() {
3838
- t = W("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', Z(t, "class", "CashierHeaderLeftButton");
3836
+ t = z("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', Z(t, "class", "CashierHeaderLeftButton");
3839
3837
  },
3840
3838
  m(i, s) {
3841
- M(i, t, s), r || (n = Pt(
3839
+ M(i, t, s), r || (n = Ct(
3842
3840
  t,
3843
3841
  "click",
3844
3842
  /*back*/
@@ -3851,28 +3849,28 @@ function Bt(e) {
3851
3849
  }
3852
3850
  };
3853
3851
  }
3854
- function Oi(e) {
3852
+ function Ci(e) {
3855
3853
  let t, r = (
3856
3854
  /*backButton*/
3857
- e[1] && Bt(e)
3855
+ e[1] && vt(e)
3858
3856
  );
3859
3857
  return {
3860
3858
  c() {
3861
- r && r.c(), t = Ot();
3859
+ r && r.c(), t = At();
3862
3860
  },
3863
3861
  m(n, i) {
3864
3862
  r && r.m(n, i), M(n, t, i);
3865
3863
  },
3866
3864
  p(n, i) {
3867
3865
  /*backButton*/
3868
- n[1] ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3866
+ n[1] ? r ? r.p(n, i) : (r = vt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3869
3867
  },
3870
3868
  d(n) {
3871
3869
  n && P(t), r && r.d(n);
3872
3870
  }
3873
3871
  };
3874
3872
  }
3875
- function Pi(e) {
3873
+ function Oi(e) {
3876
3874
  let t, r = (
3877
3875
  /*$_*/
3878
3876
  e[4](
@@ -3882,7 +3880,7 @@ function Pi(e) {
3882
3880
  ), n;
3883
3881
  return {
3884
3882
  c() {
3885
- t = W("span"), n = ze(r), Z(t, "class", "CashierHeaderTitle");
3883
+ t = z("span"), n = We(r), Z(t, "class", "CashierHeaderTitle");
3886
3884
  },
3887
3885
  m(i, s) {
3888
3886
  M(i, t, s), me(t, n);
@@ -3893,21 +3891,21 @@ function Pi(e) {
3893
3891
  i[4](
3894
3892
  /*titleText*/
3895
3893
  i[2]
3896
- ) + "") && Er(n, r);
3894
+ ) + "") && _r(n, r);
3897
3895
  },
3898
3896
  d(i) {
3899
3897
  i && P(t);
3900
3898
  }
3901
3899
  };
3902
3900
  }
3903
- function Tt(e) {
3901
+ function Ht(e) {
3904
3902
  let t, r, n;
3905
3903
  return {
3906
3904
  c() {
3907
- t = W("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', Z(t, "class", "CashierHeaderRightButton");
3905
+ t = z("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', Z(t, "class", "CashierHeaderRightButton");
3908
3906
  },
3909
3907
  m(i, s) {
3910
- M(i, t, s), r || (n = Pt(
3908
+ M(i, t, s), r || (n = Ct(
3911
3909
  t,
3912
3910
  "click",
3913
3911
  /*close*/
@@ -3920,28 +3918,28 @@ function Tt(e) {
3920
3918
  }
3921
3919
  };
3922
3920
  }
3923
- function Li(e) {
3921
+ function Pi(e) {
3924
3922
  let t, r = (
3925
3923
  /*closeButton*/
3926
- e[3] && Tt(e)
3924
+ e[3] && Ht(e)
3927
3925
  );
3928
3926
  return {
3929
3927
  c() {
3930
- r && r.c(), t = Ot();
3928
+ r && r.c(), t = At();
3931
3929
  },
3932
3930
  m(n, i) {
3933
3931
  r && r.m(n, i), M(n, t, i);
3934
3932
  },
3935
3933
  p(n, i) {
3936
3934
  /*closeButton*/
3937
- n[3] ? r ? r.p(n, i) : (r = Tt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3935
+ n[3] ? r ? r.p(n, i) : (r = Ht(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3938
3936
  },
3939
3937
  d(n) {
3940
3938
  n && P(t), r && r.d(n);
3941
3939
  }
3942
3940
  };
3943
3941
  }
3944
- function Ni(e) {
3942
+ function Li(e) {
3945
3943
  let t, r, n, i;
3946
3944
  const s = (
3947
3945
  /*#slots*/
@@ -3951,8 +3949,8 @@ function Ni(e) {
3951
3949
  e,
3952
3950
  /*$$scope*/
3953
3951
  e[14],
3954
- Ht
3955
- ), o = a || Oi(e), l = (
3952
+ xt
3953
+ ), o = a || Ci(e), l = (
3956
3954
  /*#slots*/
3957
3955
  e[15].title
3958
3956
  ), u = ve(
@@ -3960,8 +3958,8 @@ function Ni(e) {
3960
3958
  e,
3961
3959
  /*$$scope*/
3962
3960
  e[14],
3963
- vt
3964
- ), h = u || Pi(e), f = (
3961
+ Et
3962
+ ), h = u || Oi(e), f = (
3965
3963
  /*#slots*/
3966
3964
  e[15].rightButton
3967
3965
  ), c = ve(
@@ -3969,11 +3967,11 @@ function Ni(e) {
3969
3967
  e,
3970
3968
  /*$$scope*/
3971
3969
  e[14],
3972
- xt
3973
- ), p = c || Li(e);
3970
+ yt
3971
+ ), p = c || Pi(e);
3974
3972
  return {
3975
3973
  c() {
3976
- t = W("div"), o && o.c(), r = nt(), h && h.c(), n = nt(), p && p.c(), Z(t, "class", "CashierHeader");
3974
+ t = z("div"), o && o.c(), r = tt(), h && h.c(), n = tt(), p && p.c(), Z(t, "class", "CashierHeader");
3977
3975
  },
3978
3976
  m(m, g) {
3979
3977
  M(m, t, g), o && o.m(t, null), me(t, r), h && h.m(t, null), me(t, n), p && p.m(t, null), e[16](t), i = !0;
@@ -3991,12 +3989,12 @@ function Ni(e) {
3991
3989
  /*$$scope*/
3992
3990
  m[14],
3993
3991
  g,
3994
- Ci
3992
+ Ai
3995
3993
  ) : Te(
3996
3994
  /*$$scope*/
3997
3995
  m[14]
3998
3996
  ),
3999
- Ht
3997
+ xt
4000
3998
  ) : o && o.p && (!i || g & /*backButton*/
4001
3999
  2) && o.p(m, i ? g : -1), u ? u.p && (!i || g & /*$$scope*/
4002
4000
  16384) && Be(
@@ -4010,12 +4008,12 @@ function Ni(e) {
4010
4008
  /*$$scope*/
4011
4009
  m[14],
4012
4010
  g,
4013
- Ai
4011
+ Si
4014
4012
  ) : Te(
4015
4013
  /*$$scope*/
4016
4014
  m[14]
4017
4015
  ),
4018
- vt
4016
+ Et
4019
4017
  ) : h && h.p && (!i || g & /*$_, titleText*/
4020
4018
  20) && h.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
4021
4019
  16384) && Be(
@@ -4029,12 +4027,12 @@ function Ni(e) {
4029
4027
  /*$$scope*/
4030
4028
  m[14],
4031
4029
  g,
4032
- Si
4030
+ wi
4033
4031
  ) : Te(
4034
4032
  /*$$scope*/
4035
4033
  m[14]
4036
4034
  ),
4037
- xt
4035
+ yt
4038
4036
  ) : p && p.p && (!i || g & /*closeButton*/
4039
4037
  8) && p.p(m, i ? g : -1);
4040
4038
  },
@@ -4049,22 +4047,22 @@ function Ni(e) {
4049
4047
  }
4050
4048
  };
4051
4049
  }
4052
- function Ii(e, t, r) {
4050
+ function Ni(e, t, r) {
4053
4051
  let n;
4054
- dr(e, Bi, (_) => r(4, n = _));
4052
+ mr(e, Hi, (_) => r(4, n = _));
4055
4053
  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;
4056
4054
  const N = () => {
4057
4055
  let _ = l;
4058
4056
  _ && fetch(_).then((S) => S.json()).then((S) => {
4059
4057
  Object.keys(S).forEach((U) => {
4060
- yt(U, S[U]);
4058
+ gt(U, S[U]);
4061
4059
  });
4062
4060
  }).catch((S) => {
4063
4061
  console.log(S);
4064
4062
  });
4065
4063
  };
4066
- Object.keys(Et).forEach((_) => {
4067
- yt(_, Et[_]);
4064
+ Object.keys(_t).forEach((_) => {
4065
+ gt(_, _t[_]);
4068
4066
  });
4069
4067
  const C = () => {
4070
4068
  let _ = document.createElement("style");
@@ -4080,19 +4078,19 @@ function Ii(e, t, r) {
4080
4078
  );
4081
4079
  });
4082
4080
  }, I = () => {
4083
- Ti(f);
4081
+ Bi(f);
4084
4082
  }, w = () => {
4085
4083
  window.postMessage({ type: "CloseCashier" }, window.location.href);
4086
4084
  }, R = () => {
4087
4085
  window.postMessage({ type: "BackCashier" }, window.location.href);
4088
4086
  }, se = () => {
4089
4087
  r(1, m = !!u && u !== "false");
4090
- }, sr = () => {
4088
+ }, nr = () => {
4091
4089
  r(3, v = !!c && c !== "false");
4092
- }, or = () => {
4090
+ }, ir = () => {
4093
4091
  r(2, g = h || "header.general");
4094
4092
  };
4095
- function ar(_) {
4093
+ function sr(_) {
4096
4094
  Ie[_ ? "unshift" : "push"](() => {
4097
4095
  p = _, r(0, p);
4098
4096
  });
@@ -4102,12 +4100,12 @@ function Ii(e, t, r) {
4102
4100
  }, e.$$.update = () => {
4103
4101
  e.$$.dirty & /*lang*/
4104
4102
  4096 && f && I(), e.$$.dirty & /*lang, title*/
4105
- 6144 && f && h && or(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4103
+ 6144 && f && h && ir(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4106
4104
  129 && a && p && C(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4107
4105
  257 && o && p && H(), e.$$.dirty & /*lang, translationurl*/
4108
4106
  4608 && f && l && N(), e.$$.dirty & /*showbackbutton*/
4109
4107
  1024 && u && se(), e.$$.dirty & /*showclosebutton*/
4110
- 8192 && c && sr();
4108
+ 8192 && c && nr();
4111
4109
  }, [
4112
4110
  p,
4113
4111
  m,
@@ -4125,17 +4123,17 @@ function Ii(e, t, r) {
4125
4123
  c,
4126
4124
  s,
4127
4125
  i,
4128
- ar
4126
+ sr
4129
4127
  ];
4130
4128
  }
4131
- class ir extends Lr {
4129
+ class rr extends Or {
4132
4130
  constructor(t) {
4133
- super(), Or(
4131
+ super(), Ar(
4134
4132
  this,
4135
4133
  t,
4136
- Ii,
4137
4134
  Ni,
4138
- St,
4135
+ Li,
4136
+ Tt,
4139
4137
  {
4140
4138
  clientstyling: 7,
4141
4139
  clientstylingurl: 8,
@@ -4145,7 +4143,7 @@ class ir extends Lr {
4145
4143
  lang: 12,
4146
4144
  showclosebutton: 13
4147
4145
  },
4148
- wi
4146
+ Ti
4149
4147
  );
4150
4148
  }
4151
4149
  get clientstyling() {
@@ -4191,31 +4189,31 @@ class ir extends Lr {
4191
4189
  this.$$set({ showclosebutton: t }), A();
4192
4190
  }
4193
4191
  }
4194
- Pr(ir, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4195
- const Ui = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4192
+ Cr(rr, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4193
+ const Ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4196
4194
  __proto__: null,
4197
- default: ir
4195
+ default: rr
4198
4196
  }, Symbol.toStringTag, { value: "Module" }));
4199
4197
  export {
4200
4198
  $,
4201
- Ui as C,
4202
- Lr as S,
4203
- Kt as a,
4204
- Or as b,
4205
- Pr as c,
4206
- br as d,
4207
- W as e,
4199
+ Ri as C,
4200
+ Or as S,
4201
+ Jt as a,
4202
+ Ar as b,
4203
+ Cr as c,
4204
+ pr as d,
4205
+ P as e,
4208
4206
  A as f,
4209
- nt as g,
4210
- Ri as h,
4211
- ri as i,
4212
- $i as j,
4213
- Z as k,
4214
- M as l,
4215
- me as m,
4216
- Pt as n,
4217
- T as o,
4218
- P as p,
4207
+ $i as g,
4208
+ Mi as h,
4209
+ ti as i,
4210
+ Z as j,
4211
+ M as k,
4212
+ me as l,
4213
+ Ct as m,
4214
+ T as n,
4215
+ z as o,
4216
+ tt as p,
4219
4217
  Ie as q,
4220
- St as s
4218
+ Tt as s
4221
4219
  };