@everymatrix/cashier-iframe-redirect 1.45.4 → 1.45.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,15 +2,15 @@ var nr = Object.defineProperty, ir = Object.defineProperties;
2
2
  var sr = Object.getOwnPropertyDescriptors;
3
3
  var Ye = Object.getOwnPropertySymbols;
4
4
  var or = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable;
5
- var ve = (e, t, r) => t in e ? nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
5
+ var xe = (e, t, r) => t in e ? nr(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
- or.call(t, r) && ve(e, r, t[r]);
7
+ or.call(t, r) && xe(e, r, t[r]);
8
8
  if (Ye)
9
9
  for (var r of Ye(t))
10
- ar.call(t, r) && ve(e, r, t[r]);
10
+ ar.call(t, r) && xe(e, r, t[r]);
11
11
  return e;
12
12
  }, et = (e, t) => ir(e, sr(t));
13
- var H = (e, t, r) => ve(e, typeof t != "symbol" ? t + "" : t, r);
13
+ var H = (e, t, r) => xe(e, typeof t != "symbol" ? t + "" : t, r);
14
14
  var tt = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (l) => {
16
16
  try {
@@ -42,23 +42,23 @@ function Bt(e) {
42
42
  function rt() {
43
43
  return /* @__PURE__ */ Object.create(null);
44
44
  }
45
- function ne(e) {
45
+ function re(e) {
46
46
  e.forEach(Bt);
47
47
  }
48
- function ze(e) {
48
+ function Xe(e) {
49
49
  return typeof e == "function";
50
50
  }
51
- function wt(e, t) {
51
+ function St(e, t) {
52
52
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
53
53
  }
54
- let ae;
55
- function Ii(e, t) {
56
- return e === t ? !0 : (ae || (ae = document.createElement("a")), ae.href = t, e === ae.href);
54
+ let oe;
55
+ function Li(e, t) {
56
+ return e === t ? !0 : (oe || (oe = document.createElement("a")), oe.href = t, e === oe.href);
57
57
  }
58
58
  function hr(e) {
59
59
  return Object.keys(e).length === 0;
60
60
  }
61
- function St(e, ...t) {
61
+ function wt(e, ...t) {
62
62
  if (e == null) {
63
63
  for (const n of t)
64
64
  n(void 0);
@@ -68,9 +68,9 @@ function St(e, ...t) {
68
68
  return r.unsubscribe ? () => r.unsubscribe() : r;
69
69
  }
70
70
  function lr(e, t, r) {
71
- e.$$.on_destroy.push(St(t, r));
71
+ e.$$.on_destroy.push(wt(t, r));
72
72
  }
73
- function He(e, t, r, n) {
73
+ function ve(e, t, r, n) {
74
74
  if (e) {
75
75
  const i = At(e, t, r, n);
76
76
  return e[0](i);
@@ -79,7 +79,7 @@ function He(e, t, r, n) {
79
79
  function At(e, t, r, n) {
80
80
  return e[1] && n ? ur(r.ctx.slice(), e[1](n(t))) : r.ctx;
81
81
  }
82
- function Te(e, t, r, n) {
82
+ function He(e, t, r, n) {
83
83
  if (e[2] && n) {
84
84
  const i = e[2](n(r));
85
85
  if (t.dirty === void 0)
@@ -94,13 +94,13 @@ function Te(e, t, r, n) {
94
94
  }
95
95
  return t.dirty;
96
96
  }
97
- function Be(e, t, r, n, i, s) {
97
+ function Te(e, t, r, n, i, s) {
98
98
  if (i) {
99
99
  const a = At(t, r, n, s);
100
100
  e.p(a, i);
101
101
  }
102
102
  }
103
- function we(e) {
103
+ function Be(e) {
104
104
  if (e.ctx.length > 32) {
105
105
  const t = [], r = e.ctx.length / 32;
106
106
  for (let n = 0; n < r; n++)
@@ -109,7 +109,7 @@ function we(e) {
109
109
  }
110
110
  return -1;
111
111
  }
112
- function pe(e, t) {
112
+ function me(e, t) {
113
113
  e.appendChild(t);
114
114
  }
115
115
  function fr(e, t, r) {
@@ -129,7 +129,7 @@ function cr(e) {
129
129
  ) : e.ownerDocument;
130
130
  }
131
131
  function mr(e, t) {
132
- return pe(
132
+ return me(
133
133
  /** @type {Document} */
134
134
  e.head || e,
135
135
  t
@@ -144,22 +144,22 @@ function I(e) {
144
144
  function W(e) {
145
145
  return document.createElement(e);
146
146
  }
147
- function We(e) {
147
+ function ze(e) {
148
148
  return document.createTextNode(e);
149
149
  }
150
150
  function nt() {
151
- return We(" ");
151
+ return ze(" ");
152
152
  }
153
153
  function pr() {
154
- return We("");
154
+ return ze("");
155
155
  }
156
- function Ct(e, t, r, n) {
156
+ function Ot(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 Mi(e, t, r) {
162
+ function Ni(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
  }
@@ -170,10 +170,7 @@ function br(e, t) {
170
170
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
171
171
  t);
172
172
  }
173
- function gr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
174
- return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
175
- }
176
- function _r(e) {
173
+ function gr(e) {
177
174
  const t = {};
178
175
  return e.childNodes.forEach(
179
176
  /** @param {Element} node */
@@ -182,58 +179,36 @@ function _r(e) {
182
179
  }
183
180
  ), t;
184
181
  }
185
- let ee;
182
+ let We;
186
183
  function K(e) {
187
- ee = e;
188
- }
189
- function yr() {
190
- if (!ee) throw new Error("Function called outside component initialization");
191
- return ee;
192
- }
193
- function $i() {
194
- const e = yr();
195
- return (t, r, { cancelable: n = !1 } = {}) => {
196
- const i = e.$$.callbacks[t];
197
- if (i) {
198
- const s = gr(
199
- /** @type {string} */
200
- t,
201
- r,
202
- { cancelable: n }
203
- );
204
- return i.slice().forEach((a) => {
205
- a.call(e, s);
206
- }), !s.defaultPrevented;
207
- }
208
- return !0;
209
- };
184
+ We = e;
210
185
  }
211
- const G = [], Me = [];
186
+ const G = [], Ie = [];
212
187
  let F = [];
213
- const it = [], Er = /* @__PURE__ */ Promise.resolve();
214
- let $e = !1;
215
- function xr() {
216
- $e || ($e = !0, Er.then(C));
188
+ const it = [], _r = /* @__PURE__ */ Promise.resolve();
189
+ let Me = !1;
190
+ function yr() {
191
+ Me || (Me = !0, _r.then(O));
217
192
  }
218
- function Re(e) {
193
+ function $e(e) {
219
194
  F.push(e);
220
195
  }
221
196
  const Se = /* @__PURE__ */ new Set();
222
197
  let U = 0;
223
- function C() {
198
+ function O() {
224
199
  if (U !== 0)
225
200
  return;
226
- const e = ee;
201
+ const e = We;
227
202
  do {
228
203
  try {
229
204
  for (; U < G.length; ) {
230
205
  const t = G[U];
231
- U++, K(t), vr(t.$$);
206
+ U++, K(t), Er(t.$$);
232
207
  }
233
208
  } catch (t) {
234
209
  throw G.length = 0, U = 0, t;
235
210
  }
236
- for (K(null), G.length = 0, U = 0; Me.length; ) Me.pop()();
211
+ for (K(null), G.length = 0, U = 0; Ie.length; ) Ie.pop()();
237
212
  for (let t = 0; t < F.length; t += 1) {
238
213
  const r = F[t];
239
214
  Se.has(r) || (Se.add(r), r());
@@ -242,48 +217,48 @@ function C() {
242
217
  } while (G.length);
243
218
  for (; it.length; )
244
219
  it.pop()();
245
- $e = !1, Se.clear(), K(e);
220
+ Me = !1, Se.clear(), K(e);
246
221
  }
247
- function vr(e) {
222
+ function Er(e) {
248
223
  if (e.fragment !== null) {
249
- e.update(), ne(e.before_update);
224
+ e.update(), re(e.before_update);
250
225
  const t = e.dirty;
251
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
226
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
252
227
  }
253
228
  }
254
- function Hr(e) {
229
+ function xr(e) {
255
230
  const t = [], r = [];
256
231
  F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
257
232
  }
258
- const he = /* @__PURE__ */ new Set();
259
- let Tr;
260
- function le(e, t) {
261
- e && e.i && (he.delete(e), e.i(t));
233
+ const ue = /* @__PURE__ */ new Set();
234
+ let vr;
235
+ function he(e, t) {
236
+ e && e.i && (ue.delete(e), e.i(t));
262
237
  }
263
- function Ae(e, t, r, n) {
238
+ function we(e, t, r, n) {
264
239
  if (e && e.o) {
265
- if (he.has(e)) return;
266
- he.add(e), Tr.c.push(() => {
267
- he.delete(e);
240
+ if (ue.has(e)) return;
241
+ ue.add(e), vr.c.push(() => {
242
+ ue.delete(e);
268
243
  }), e.o(t);
269
244
  }
270
245
  }
271
- function Br(e, t, r) {
246
+ function Hr(e, t, r) {
272
247
  const { fragment: n, after_update: i } = e.$$;
273
- n && n.m(t, r), Re(() => {
274
- const s = e.$$.on_mount.map(Bt).filter(ze);
275
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ne(s), e.$$.on_mount = [];
276
- }), i.forEach(Re);
248
+ n && n.m(t, r), $e(() => {
249
+ const s = e.$$.on_mount.map(Bt).filter(Xe);
250
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
251
+ }), i.forEach($e);
277
252
  }
278
- function wr(e, t) {
253
+ function Tr(e, t) {
279
254
  const r = e.$$;
280
- r.fragment !== null && (Hr(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
255
+ r.fragment !== null && (xr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
281
256
  }
282
- function Sr(e, t) {
283
- e.$$.dirty[0] === -1 && (G.push(e), xr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
257
+ function Br(e, t) {
258
+ e.$$.dirty[0] === -1 && (G.push(e), yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
284
259
  }
285
- function Ar(e, t, r, n, i, s, a = null, o = [-1]) {
286
- const l = ee;
260
+ function Sr(e, t, r, n, i, s, a = null, o = [-1]) {
261
+ const l = We;
287
262
  K(e);
288
263
  const u = e.$$ = {
289
264
  fragment: null,
@@ -310,19 +285,19 @@ function Ar(e, t, r, n, i, s, a = null, o = [-1]) {
310
285
  let h = !1;
311
286
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
312
287
  const m = p.length ? p[0] : f;
313
- return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && Sr(e, c)), f;
314
- }) : [], u.update(), h = !0, ne(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
288
+ return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && Br(e, c)), f;
289
+ }) : [], u.update(), h = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
315
290
  if (t.hydrate) {
316
291
  const c = dr(t.target);
317
292
  u.fragment && u.fragment.l(c), c.forEach(I);
318
293
  } else
319
294
  u.fragment && u.fragment.c();
320
- t.intro && le(e.$$.fragment), Br(e, t.target, t.anchor), C();
295
+ t.intro && he(e.$$.fragment), Hr(e, t.target, t.anchor), O();
321
296
  }
322
297
  K(l);
323
298
  }
324
- let Ot;
325
- typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
299
+ let Ct;
300
+ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
326
301
  constructor(t, r, n) {
327
302
  super();
328
303
  /** The Svelte component constructor */
@@ -383,12 +358,12 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
383
358
  };
384
359
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
385
360
  return;
386
- const r = {}, n = _r(this);
361
+ const r = {}, n = gr(this);
387
362
  for (const s of this.$$s)
388
363
  s in n && (r[s] = [t(s)]);
389
364
  for (const s of this.attributes) {
390
365
  const a = this.$$g_p(s.name);
391
- a in this.$$d || (this.$$d[a] = fe(a, s.value, this.$$p_d, "toProp"));
366
+ a in this.$$d || (this.$$d[a] = le(a, s.value, this.$$p_d, "toProp"));
392
367
  }
393
368
  for (const s in this.$$p_d)
394
369
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
@@ -405,7 +380,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
405
380
  this.$$r = !0;
406
381
  for (const s in this.$$p_d)
407
382
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
408
- const a = fe(
383
+ const a = le(
409
384
  s,
410
385
  this.$$d[s],
411
386
  this.$$p_d,
@@ -429,7 +404,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
429
404
  // and setting attributes through setAttribute etc, this is helpful
430
405
  attributeChangedCallback(t, r, n) {
431
406
  var i;
432
- 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] }));
407
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = le(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
433
408
  }
434
409
  disconnectedCallback() {
435
410
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -442,7 +417,7 @@ typeof HTMLElement == "function" && (Ot = class extends HTMLElement {
442
417
  ) || t;
443
418
  }
444
419
  });
445
- function fe(e, t, r, n) {
420
+ function le(e, t, r, n) {
446
421
  var s;
447
422
  const i = (s = r[e]) == null ? void 0 : s.type;
448
423
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -472,8 +447,8 @@ function fe(e, t, r, n) {
472
447
  return t;
473
448
  }
474
449
  }
475
- function Cr(e, t, r, n, i, s) {
476
- let a = class extends Ot {
450
+ function wr(e, t, r, n, i, s) {
451
+ let a = class extends Ct {
477
452
  constructor() {
478
453
  super(e, r, i), this.$$p_d = t;
479
454
  }
@@ -490,7 +465,7 @@ function Cr(e, t, r, n, i, s) {
490
465
  },
491
466
  set(l) {
492
467
  var u;
493
- l = fe(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
468
+ l = le(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
494
469
  }
495
470
  });
496
471
  }), n.forEach((o) => {
@@ -503,7 +478,7 @@ function Cr(e, t, r, n, i, s) {
503
478
  }), e.element = /** @type {any} */
504
479
  a, a;
505
480
  }
506
- class Or {
481
+ class Ar {
507
482
  constructor() {
508
483
  /**
509
484
  * ### PRIVATE API
@@ -524,7 +499,7 @@ class Or {
524
499
  }
525
500
  /** @returns {void} */
526
501
  $destroy() {
527
- wr(this, 1), this.$destroy = B;
502
+ Tr(this, 1), this.$destroy = B;
528
503
  }
529
504
  /**
530
505
  * @template {Extract<keyof Events, string>} K
@@ -533,7 +508,7 @@ class Or {
533
508
  * @returns {() => void}
534
509
  */
535
510
  $on(t, r) {
536
- if (!ze(r))
511
+ if (!Xe(r))
537
512
  return B;
538
513
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
539
514
  return n.push(r), () => {
@@ -549,19 +524,19 @@ class Or {
549
524
  this.$$set && !hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
550
525
  }
551
526
  }
552
- const Pr = "4";
553
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pr);
527
+ const Or = "4";
528
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Or);
554
529
  const D = [];
555
- function Lr(e, t) {
530
+ function Cr(e, t) {
556
531
  return {
557
- subscribe: _e(e, t).subscribe
532
+ subscribe: ge(e, t).subscribe
558
533
  };
559
534
  }
560
- function _e(e, t = B) {
535
+ function ge(e, t = B) {
561
536
  let r;
562
537
  const n = /* @__PURE__ */ new Set();
563
538
  function i(o) {
564
- if (wt(e, o) && (e = o, r)) {
539
+ if (St(e, o) && (e = o, r)) {
565
540
  const l = !D.length;
566
541
  for (const u of n)
567
542
  u[1](), D.push(u, e);
@@ -588,7 +563,7 @@ function Q(e, t, r) {
588
563
  if (!i.every(Boolean))
589
564
  throw new Error("derived() expects stores as input, got a falsy value");
590
565
  const s = t.length < 2;
591
- return Lr(r, (a, o) => {
566
+ return Cr(r, (a, o) => {
592
567
  let l = !1;
593
568
  const u = [];
594
569
  let h = 0, c = B;
@@ -597,9 +572,9 @@ function Q(e, t, r) {
597
572
  return;
598
573
  c();
599
574
  const m = t(n ? u[0] : u, a, o);
600
- s ? a(m) : c = ze(m) ? m : B;
575
+ s ? a(m) : c = Xe(m) ? m : B;
601
576
  }, p = i.map(
602
- (m, y) => St(
577
+ (m, y) => wt(
603
578
  m,
604
579
  (T) => {
605
580
  u[y] = T, h &= ~(1 << y), l && f();
@@ -610,51 +585,51 @@ function Q(e, t, r) {
610
585
  )
611
586
  );
612
587
  return l = !0, f(), function() {
613
- ne(p), c(), l = !1;
588
+ re(p), c(), l = !1;
614
589
  };
615
590
  });
616
591
  }
617
- function Nr(e) {
592
+ function Pr(e) {
618
593
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
619
594
  }
620
- var Ir = function(t) {
621
- return Mr(t) && !$r(t);
595
+ var Lr = function(t) {
596
+ return Nr(t) && !Ir(t);
622
597
  };
623
- function Mr(e) {
598
+ function Nr(e) {
624
599
  return !!e && typeof e == "object";
625
600
  }
626
- function $r(e) {
601
+ function Ir(e) {
627
602
  var t = Object.prototype.toString.call(e);
628
- return t === "[object RegExp]" || t === "[object Date]" || Dr(e);
603
+ return t === "[object RegExp]" || t === "[object Date]" || Rr(e);
629
604
  }
630
- var Rr = typeof Symbol == "function" && Symbol.for, Ur = Rr ? Symbol.for("react.element") : 60103;
631
- function Dr(e) {
632
- return e.$$typeof === Ur;
605
+ var Mr = typeof Symbol == "function" && Symbol.for, $r = Mr ? Symbol.for("react.element") : 60103;
606
+ function Rr(e) {
607
+ return e.$$typeof === $r;
633
608
  }
634
- function Gr(e) {
609
+ function Ur(e) {
635
610
  return Array.isArray(e) ? [] : {};
636
611
  }
637
- function te(e, t) {
638
- return t.clone !== !1 && t.isMergeableObject(e) ? j(Gr(e), e, t) : e;
612
+ function ee(e, t) {
613
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(Ur(e), e, t) : e;
639
614
  }
640
- function Fr(e, t, r) {
615
+ function Dr(e, t, r) {
641
616
  return e.concat(t).map(function(n) {
642
- return te(n, r);
617
+ return ee(n, r);
643
618
  });
644
619
  }
645
- function jr(e, t) {
620
+ function Gr(e, t) {
646
621
  if (!t.customMerge)
647
622
  return j;
648
623
  var r = t.customMerge(e);
649
624
  return typeof r == "function" ? r : j;
650
625
  }
651
- function kr(e) {
626
+ function Fr(e) {
652
627
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
653
628
  return Object.propertyIsEnumerable.call(e, t);
654
629
  }) : [];
655
630
  }
656
631
  function st(e) {
657
- return Object.keys(e).concat(kr(e));
632
+ return Object.keys(e).concat(Fr(e));
658
633
  }
659
634
  function Pt(e, t) {
660
635
  try {
@@ -663,21 +638,21 @@ function Pt(e, t) {
663
638
  return !1;
664
639
  }
665
640
  }
666
- function Vr(e, t) {
641
+ function jr(e, t) {
667
642
  return Pt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
668
643
  }
669
- function Xr(e, t, r) {
644
+ function kr(e, t, r) {
670
645
  var n = {};
671
646
  return r.isMergeableObject(e) && st(e).forEach(function(i) {
672
- n[i] = te(e[i], r);
647
+ n[i] = ee(e[i], r);
673
648
  }), st(t).forEach(function(i) {
674
- Vr(e, i) || (Pt(e, i) && r.isMergeableObject(t[i]) ? n[i] = jr(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
649
+ jr(e, i) || (Pt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
675
650
  }), n;
676
651
  }
677
652
  function j(e, t, r) {
678
- r = r || {}, r.arrayMerge = r.arrayMerge || Fr, r.isMergeableObject = r.isMergeableObject || Ir, r.cloneUnlessOtherwiseSpecified = te;
653
+ r = r || {}, r.arrayMerge = r.arrayMerge || Dr, r.isMergeableObject = r.isMergeableObject || Lr, r.cloneUnlessOtherwiseSpecified = ee;
679
654
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
680
- return s ? n ? r.arrayMerge(e, t, r) : Xr(e, t, r) : te(t, r);
655
+ return s ? n ? r.arrayMerge(e, t, r) : kr(e, t, r) : ee(t, r);
681
656
  }
682
657
  j.all = function(t, r) {
683
658
  if (!Array.isArray(t))
@@ -686,19 +661,19 @@ j.all = function(t, r) {
686
661
  return j(n, i, r);
687
662
  }, {});
688
663
  };
689
- var zr = j, Wr = zr;
690
- const Zr = /* @__PURE__ */ Nr(Wr);
691
- var Ue = function(e, t) {
692
- return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
664
+ var Vr = j, Xr = Vr;
665
+ const zr = /* @__PURE__ */ Pr(Xr);
666
+ var Re = function(e, t) {
667
+ return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
693
668
  r.__proto__ = n;
694
669
  } || function(r, n) {
695
670
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
696
- }, Ue(e, t);
671
+ }, Re(e, t);
697
672
  };
698
- function ye(e, t) {
673
+ function _e(e, t) {
699
674
  if (typeof t != "function" && t !== null)
700
675
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
701
- Ue(e, t);
676
+ Re(e, t);
702
677
  function r() {
703
678
  this.constructor = e;
704
679
  }
@@ -713,7 +688,7 @@ var g = function() {
713
688
  return t;
714
689
  }, g.apply(this, arguments);
715
690
  };
716
- function Qr(e, t) {
691
+ function Wr(e, t) {
717
692
  var r = {};
718
693
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
719
694
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -721,7 +696,7 @@ function Qr(e, t) {
721
696
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
722
697
  return r;
723
698
  }
724
- function Ce(e, t, r) {
699
+ function Ae(e, t, r) {
725
700
  if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
726
701
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
727
702
  return e.concat(s || Array.prototype.slice.call(t));
@@ -741,7 +716,7 @@ var k;
741
716
  function ot(e) {
742
717
  return e.type === E.literal;
743
718
  }
744
- function qr(e) {
719
+ function Zr(e) {
745
720
  return e.type === E.argument;
746
721
  }
747
722
  function Lt(e) {
@@ -759,7 +734,7 @@ function Mt(e) {
759
734
  function $t(e) {
760
735
  return e.type === E.plural;
761
736
  }
762
- function Jr(e) {
737
+ function Qr(e) {
763
738
  return e.type === E.pound;
764
739
  }
765
740
  function Rt(e) {
@@ -768,13 +743,13 @@ function Rt(e) {
768
743
  function Ut(e) {
769
744
  return !!(e && typeof e == "object" && e.type === k.number);
770
745
  }
771
- function De(e) {
746
+ function Ue(e) {
772
747
  return !!(e && typeof e == "object" && e.type === k.dateTime);
773
748
  }
774
- var Dt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Yr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
775
- function Kr(e) {
749
+ var Dt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, qr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
750
+ function Jr(e) {
776
751
  var t = {};
777
- return e.replace(Yr, function(r) {
752
+ return e.replace(qr, function(r) {
778
753
  var n = r.length;
779
754
  switch (r[0]) {
780
755
  case "G":
@@ -863,11 +838,11 @@ function Kr(e) {
863
838
  return "";
864
839
  }), t;
865
840
  }
866
- var en = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
867
- function tn(e) {
841
+ var Yr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
842
+ function Kr(e) {
868
843
  if (e.length === 0)
869
844
  throw new Error("Number skeleton cannot be empty");
870
- for (var t = e.split(en).filter(function(f) {
845
+ for (var t = e.split(Yr).filter(function(f) {
871
846
  return f.length > 0;
872
847
  }), r = [], n = 0, i = t; n < i.length; n++) {
873
848
  var s = i[n], a = s.split("/");
@@ -882,10 +857,10 @@ function tn(e) {
882
857
  }
883
858
  return r;
884
859
  }
885
- function rn(e) {
860
+ function en(e) {
886
861
  return e.replace(/^(.*?)-/, "");
887
862
  }
888
- var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gt = /^(@+)?(\+|#+)?[rs]?$/g, nn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ft = /^(0+)$/;
863
+ var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gt = /^(@+)?(\+|#+)?[rs]?$/g, tn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ft = /^(0+)$/;
889
864
  function ut(e) {
890
865
  var t = {};
891
866
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gt, function(r, n, i) {
@@ -932,7 +907,7 @@ function jt(e) {
932
907
  };
933
908
  }
934
909
  }
935
- function sn(e) {
910
+ function rn(e) {
936
911
  var t;
937
912
  if (e[0] === "E" && e[1] === "E" ? (t = {
938
913
  notation: "engineering"
@@ -950,7 +925,7 @@ function ht(e) {
950
925
  var t = {}, r = jt(e);
951
926
  return r || t;
952
927
  }
953
- function on(e) {
928
+ function nn(e) {
954
929
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
955
930
  var i = n[r];
956
931
  switch (i.stem) {
@@ -974,7 +949,7 @@ function on(e) {
974
949
  continue;
975
950
  case "measure-unit":
976
951
  case "unit":
977
- t.style = "unit", t.unit = rn(i.options[0]);
952
+ t.style = "unit", t.unit = en(i.options[0]);
978
953
  continue;
979
954
  case "compact-short":
980
955
  case "K":
@@ -1036,7 +1011,7 @@ function on(e) {
1036
1011
  case "integer-width":
1037
1012
  if (i.options.length > 1)
1038
1013
  throw new RangeError("integer-width stems only accept a single optional option");
1039
- i.options[0].replace(nn, function(l, u, h, c, f, p) {
1014
+ i.options[0].replace(tn, function(l, u, h, c, f, p) {
1040
1015
  if (u)
1041
1016
  t.minimumIntegerDigits = h.length;
1042
1017
  else {
@@ -1069,12 +1044,12 @@ function on(e) {
1069
1044
  }
1070
1045
  var a = jt(i.stem);
1071
1046
  a && (t = g(g({}, t), a));
1072
- var o = sn(i.stem);
1047
+ var o = rn(i.stem);
1073
1048
  o && (t = g(g({}, t), o));
1074
1049
  }
1075
1050
  return t;
1076
1051
  }
1077
- var ue = {
1052
+ var ae = {
1078
1053
  "001": [
1079
1054
  "H",
1080
1055
  "h"
@@ -2483,13 +2458,13 @@ var ue = {
2483
2458
  "h"
2484
2459
  ]
2485
2460
  };
2486
- function an(e, t) {
2461
+ function sn(e, t) {
2487
2462
  for (var r = "", n = 0; n < e.length; n++) {
2488
2463
  var i = e.charAt(n);
2489
2464
  if (i === "j") {
2490
2465
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2491
2466
  s++, n++;
2492
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = un(t);
2467
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = on(t);
2493
2468
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2494
2469
  r += l;
2495
2470
  for (; a-- > 0; )
@@ -2498,7 +2473,7 @@ function an(e, t) {
2498
2473
  }
2499
2474
  return r;
2500
2475
  }
2501
- function un(e) {
2476
+ function on(e) {
2502
2477
  var t = e.hourCycle;
2503
2478
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2504
2479
  e.hourCycles && // @ts-ignore
@@ -2517,23 +2492,23 @@ function un(e) {
2517
2492
  }
2518
2493
  var r = e.language, n;
2519
2494
  r !== "root" && (n = e.maximize().region);
2520
- var i = ue[n || ""] || ue[r || ""] || ue["".concat(r, "-001")] || ue["001"];
2495
+ var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
2521
2496
  return i[0];
2522
2497
  }
2523
- var Oe, hn = new RegExp("^".concat(Dt.source, "*")), ln = new RegExp("".concat(Dt.source, "*$"));
2498
+ var Oe, an = new RegExp("^".concat(Dt.source, "*")), un = new RegExp("".concat(Dt.source, "*$"));
2524
2499
  function b(e, t) {
2525
2500
  return { start: e, end: t };
2526
2501
  }
2527
- var fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), cn = !!String.fromCodePoint, mn = !!Object.fromEntries, pn = !!String.prototype.codePointAt, dn = !!String.prototype.trimStart, bn = !!String.prototype.trimEnd, gn = !!Number.isSafeInteger, _n = gn ? Number.isSafeInteger : function(e) {
2502
+ var hn = !!String.prototype.startsWith && "_a".startsWith("a", 1), ln = !!String.fromCodePoint, fn = !!Object.fromEntries, cn = !!String.prototype.codePointAt, mn = !!String.prototype.trimStart, pn = !!String.prototype.trimEnd, dn = !!Number.isSafeInteger, bn = dn ? Number.isSafeInteger : function(e) {
2528
2503
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2529
- }, Ge = !0;
2504
+ }, De = !0;
2530
2505
  try {
2531
- var yn = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2532
- Ge = ((Oe = yn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2506
+ var gn = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2507
+ De = ((Oe = gn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2533
2508
  } catch (e) {
2534
- Ge = !1;
2509
+ De = !1;
2535
2510
  }
2536
- var lt = fn ? (
2511
+ var lt = hn ? (
2537
2512
  // Native
2538
2513
  function(t, r, n) {
2539
2514
  return t.startsWith(r, n);
@@ -2543,7 +2518,7 @@ var lt = fn ? (
2543
2518
  function(t, r, n) {
2544
2519
  return t.slice(n, n + r.length) === r;
2545
2520
  }
2546
- ), Fe = cn ? String.fromCodePoint : (
2521
+ ), Ge = ln ? String.fromCodePoint : (
2547
2522
  // IE11
2548
2523
  function() {
2549
2524
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2557,7 +2532,7 @@ var lt = fn ? (
2557
2532
  }
2558
2533
  ), ft = (
2559
2534
  // native
2560
- mn ? Object.fromEntries : (
2535
+ fn ? Object.fromEntries : (
2561
2536
  // Ponyfill
2562
2537
  function(t) {
2563
2538
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2567,7 +2542,7 @@ var lt = fn ? (
2567
2542
  return r;
2568
2543
  }
2569
2544
  )
2570
- ), kt = pn ? (
2545
+ ), kt = cn ? (
2571
2546
  // Native
2572
2547
  function(t, r) {
2573
2548
  return t.codePointAt(r);
@@ -2581,7 +2556,7 @@ var lt = fn ? (
2581
2556
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2582
2557
  }
2583
2558
  }
2584
- ), En = dn ? (
2559
+ ), _n = mn ? (
2585
2560
  // Native
2586
2561
  function(t) {
2587
2562
  return t.trimStart();
@@ -2589,9 +2564,9 @@ var lt = fn ? (
2589
2564
  ) : (
2590
2565
  // Ponyfill
2591
2566
  function(t) {
2592
- return t.replace(hn, "");
2567
+ return t.replace(an, "");
2593
2568
  }
2594
- ), xn = bn ? (
2569
+ ), yn = pn ? (
2595
2570
  // Native
2596
2571
  function(t) {
2597
2572
  return t.trimEnd();
@@ -2599,32 +2574,32 @@ var lt = fn ? (
2599
2574
  ) : (
2600
2575
  // Ponyfill
2601
2576
  function(t) {
2602
- return t.replace(ln, "");
2577
+ return t.replace(un, "");
2603
2578
  }
2604
2579
  );
2605
2580
  function Vt(e, t) {
2606
2581
  return new RegExp(e, t);
2607
2582
  }
2608
- var je;
2609
- if (Ge) {
2583
+ var Fe;
2584
+ if (De) {
2610
2585
  var ct = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2611
- je = function(t, r) {
2586
+ Fe = function(t, r) {
2612
2587
  var n;
2613
2588
  ct.lastIndex = r;
2614
2589
  var i = ct.exec(t);
2615
2590
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2616
2591
  };
2617
2592
  } else
2618
- je = function(t, r) {
2593
+ Fe = function(t, r) {
2619
2594
  for (var n = []; ; ) {
2620
2595
  var i = kt(t, r);
2621
- if (i === void 0 || Xt(i) || Bn(i))
2596
+ if (i === void 0 || Xt(i) || Hn(i))
2622
2597
  break;
2623
2598
  n.push(i), r += i >= 65536 ? 2 : 1;
2624
2599
  }
2625
- return Fe.apply(void 0, n);
2600
+ return Ge.apply(void 0, n);
2626
2601
  };
2627
- var vn = (
2602
+ var En = (
2628
2603
  /** @class */
2629
2604
  function() {
2630
2605
  function e(t, r) {
@@ -2655,7 +2630,7 @@ var vn = (
2655
2630
  if (n)
2656
2631
  break;
2657
2632
  return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2658
- } else if (s === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
2633
+ } else if (s === 60 && !this.ignoreTag && je(this.peek() || 0)) {
2659
2634
  var a = this.parseTag(t, r);
2660
2635
  if (a.err)
2661
2636
  return a;
@@ -2688,7 +2663,7 @@ var vn = (
2688
2663
  return s;
2689
2664
  var a = s.val, o = this.clonePosition();
2690
2665
  if (this.bumpIf("</")) {
2691
- if (this.isEOF() || !ke(this.char()))
2666
+ if (this.isEOF() || !je(this.char()))
2692
2667
  return this.error(d.INVALID_TAG, b(o, this.clonePosition()));
2693
2668
  var l = this.clonePosition(), u = this.parseTagName();
2694
2669
  return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -2706,7 +2681,7 @@ var vn = (
2706
2681
  return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
2707
2682
  }, e.prototype.parseTagName = function() {
2708
2683
  var t = this.offset();
2709
- for (this.bump(); !this.isEOF() && Tn(this.char()); )
2684
+ for (this.bump(); !this.isEOF() && vn(this.char()); )
2710
2685
  this.bump();
2711
2686
  return this.message.slice(t, this.offset());
2712
2687
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2735,7 +2710,7 @@ var vn = (
2735
2710
  };
2736
2711
  }, e.prototype.tryParseLeftAngleBracket = function() {
2737
2712
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2738
- !Hn(this.peek() || 0)) ? (this.bump(), "<") : null;
2713
+ !xn(this.peek() || 0)) ? (this.bump(), "<") : null;
2739
2714
  }, e.prototype.tryParseQuote = function(t) {
2740
2715
  if (this.isEOF() || this.char() !== 39)
2741
2716
  return null;
@@ -2769,12 +2744,12 @@ var vn = (
2769
2744
  r.push(n);
2770
2745
  this.bump();
2771
2746
  }
2772
- return Fe.apply(void 0, r);
2747
+ return Ge.apply(void 0, r);
2773
2748
  }, e.prototype.tryParseUnquoted = function(t, r) {
2774
2749
  if (this.isEOF())
2775
2750
  return null;
2776
2751
  var n = this.char();
2777
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
2752
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
2778
2753
  }, e.prototype.parseArgument = function(t, r) {
2779
2754
  var n = this.clonePosition();
2780
2755
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2803,7 +2778,7 @@ var vn = (
2803
2778
  return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2804
2779
  }
2805
2780
  }, e.prototype.parseIdentifierIfPossible = function() {
2806
- var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
2781
+ var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
2807
2782
  this.bumpTo(i);
2808
2783
  var s = this.clonePosition(), a = b(t, s);
2809
2784
  return { value: n, location: a };
@@ -2822,7 +2797,7 @@ var vn = (
2822
2797
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2823
2798
  if (c.err)
2824
2799
  return c;
2825
- var f = xn(c.val);
2800
+ var f = yn(c.val);
2826
2801
  if (f.length === 0)
2827
2802
  return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2828
2803
  var p = b(h, this.clonePosition());
@@ -2833,7 +2808,7 @@ var vn = (
2833
2808
  return m;
2834
2809
  var y = b(i, this.clonePosition());
2835
2810
  if (u && lt(u == null ? void 0 : u.style, "::", 0)) {
2836
- var T = En(u.style.slice(2));
2811
+ var T = _n(u.style.slice(2));
2837
2812
  if (o === "number") {
2838
2813
  var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
2839
2814
  return c.err ? c : {
@@ -2844,12 +2819,12 @@ var vn = (
2844
2819
  if (T.length === 0)
2845
2820
  return this.error(d.EXPECT_DATE_TIME_SKELETON, y);
2846
2821
  var L = T;
2847
- this.locale && (L = an(T, this.locale));
2822
+ this.locale && (L = sn(T, this.locale));
2848
2823
  var f = {
2849
2824
  type: k.dateTime,
2850
2825
  pattern: L,
2851
2826
  location: u.styleLocation,
2852
- parsedOptions: this.shouldParseSkeletons ? Kr(L) : {}
2827
+ parsedOptions: this.shouldParseSkeletons ? Jr(L) : {}
2853
2828
  }, A = o === "date" ? E.date : E.time;
2854
2829
  return {
2855
2830
  val: { type: A, value: n, location: y, style: f },
@@ -2874,7 +2849,7 @@ var vn = (
2874
2849
  if (this.bumpSpace(), !this.bumpIf(","))
2875
2850
  return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(v, g({}, v)));
2876
2851
  this.bumpSpace();
2877
- var N = this.parseIdentifierIfPossible(), w = 0;
2852
+ var N = this.parseIdentifierIfPossible(), S = 0;
2878
2853
  if (o !== "select" && N.value === "offset") {
2879
2854
  if (!this.bumpIf(":"))
2880
2855
  return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
@@ -2882,7 +2857,7 @@ var vn = (
2882
2857
  var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2883
2858
  if (c.err)
2884
2859
  return c;
2885
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), w = c.val;
2860
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), S = c.val;
2886
2861
  }
2887
2862
  var $ = this.tryParsePluralOrSelectOptions(t, o, r, N);
2888
2863
  if ($.err)
@@ -2890,13 +2865,13 @@ var vn = (
2890
2865
  var m = this.tryParseArgumentClose(i);
2891
2866
  if (m.err)
2892
2867
  return m;
2893
- var oe = b(i, this.clonePosition());
2868
+ var se = b(i, this.clonePosition());
2894
2869
  return o === "select" ? {
2895
2870
  val: {
2896
2871
  type: E.select,
2897
2872
  value: n,
2898
2873
  options: ft($.val),
2899
- location: oe
2874
+ location: se
2900
2875
  },
2901
2876
  err: null
2902
2877
  } : {
@@ -2904,9 +2879,9 @@ var vn = (
2904
2879
  type: E.plural,
2905
2880
  value: n,
2906
2881
  options: ft($.val),
2907
- offset: w,
2882
+ offset: S,
2908
2883
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2909
- location: oe
2884
+ location: se
2910
2885
  },
2911
2886
  err: null
2912
2887
  };
@@ -2954,7 +2929,7 @@ var vn = (
2954
2929
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2955
2930
  var n = [];
2956
2931
  try {
2957
- n = tn(t);
2932
+ n = Kr(t);
2958
2933
  } catch (i) {
2959
2934
  return this.error(d.INVALID_NUMBER_SKELETON, r);
2960
2935
  }
@@ -2963,7 +2938,7 @@ var vn = (
2963
2938
  type: k.number,
2964
2939
  tokens: n,
2965
2940
  location: r,
2966
- parsedOptions: this.shouldParseSkeletons ? on(n) : {}
2941
+ parsedOptions: this.shouldParseSkeletons ? nn(n) : {}
2967
2942
  },
2968
2943
  err: null
2969
2944
  };
@@ -3011,7 +2986,7 @@ var vn = (
3011
2986
  break;
3012
2987
  }
3013
2988
  var l = b(i, this.clonePosition());
3014
- return s ? (a *= n, _n(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
2989
+ return s ? (a *= n, bn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3015
2990
  }, e.prototype.offset = function() {
3016
2991
  return this.position.offset;
3017
2992
  }, e.prototype.isEOF = function() {
@@ -3077,50 +3052,50 @@ var vn = (
3077
3052
  }, e;
3078
3053
  }()
3079
3054
  );
3080
- function ke(e) {
3055
+ function je(e) {
3081
3056
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3082
3057
  }
3083
- function Hn(e) {
3084
- return ke(e) || e === 47;
3058
+ function xn(e) {
3059
+ return je(e) || e === 47;
3085
3060
  }
3086
- function Tn(e) {
3061
+ function vn(e) {
3087
3062
  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;
3088
3063
  }
3089
3064
  function Xt(e) {
3090
3065
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3091
3066
  }
3092
- function Bn(e) {
3067
+ function Hn(e) {
3093
3068
  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;
3094
3069
  }
3095
- function Ve(e) {
3070
+ function ke(e) {
3096
3071
  e.forEach(function(t) {
3097
3072
  if (delete t.location, Mt(t) || $t(t))
3098
3073
  for (var r in t.options)
3099
- delete t.options[r].location, Ve(t.options[r].value);
3100
- else Lt(t) && Ut(t.style) || (Nt(t) || It(t)) && De(t.style) ? delete t.style.location : Rt(t) && Ve(t.children);
3074
+ delete t.options[r].location, ke(t.options[r].value);
3075
+ else Lt(t) && Ut(t.style) || (Nt(t) || It(t)) && Ue(t.style) ? delete t.style.location : Rt(t) && ke(t.children);
3101
3076
  });
3102
3077
  }
3103
- function wn(e, t) {
3078
+ function Tn(e, t) {
3104
3079
  t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3105
- var r = new vn(e, t).parse();
3080
+ var r = new En(e, t).parse();
3106
3081
  if (r.err) {
3107
3082
  var n = SyntaxError(d[r.err.kind]);
3108
3083
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3109
3084
  }
3110
- return t != null && t.captureLocation || Ve(r.val), r.val;
3085
+ return t != null && t.captureLocation || ke(r.val), r.val;
3111
3086
  }
3112
- function Pe(e, t) {
3113
- var r = t && t.cache ? t.cache : Ln, n = t && t.serializer ? t.serializer : Pn, i = t && t.strategy ? t.strategy : An;
3087
+ function Ce(e, t) {
3088
+ var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer : On, i = t && t.strategy ? t.strategy : Sn;
3114
3089
  return i(e, {
3115
3090
  cache: r,
3116
3091
  serializer: n
3117
3092
  });
3118
3093
  }
3119
- function Sn(e) {
3094
+ function Bn(e) {
3120
3095
  return e == null || typeof e == "number" || typeof e == "boolean";
3121
3096
  }
3122
3097
  function zt(e, t, r, n) {
3123
- var i = Sn(n) ? n : r(n), s = t.get(i);
3098
+ var i = Bn(n) ? n : r(n), s = t.get(i);
3124
3099
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
3125
3100
  }
3126
3101
  function Wt(e, t, r) {
@@ -3130,17 +3105,17 @@ function Wt(e, t, r) {
3130
3105
  function Ze(e, t, r, n, i) {
3131
3106
  return r.bind(t, e, n, i);
3132
3107
  }
3133
- function An(e, t) {
3108
+ function Sn(e, t) {
3134
3109
  var r = e.length === 1 ? zt : Wt;
3135
3110
  return Ze(e, this, r, t.cache.create(), t.serializer);
3136
3111
  }
3137
- function Cn(e, t) {
3112
+ function wn(e, t) {
3138
3113
  return Ze(e, this, Wt, t.cache.create(), t.serializer);
3139
3114
  }
3140
- function On(e, t) {
3115
+ function An(e, t) {
3141
3116
  return Ze(e, this, zt, t.cache.create(), t.serializer);
3142
3117
  }
3143
- var Pn = function() {
3118
+ var On = function() {
3144
3119
  return JSON.stringify(arguments);
3145
3120
  };
3146
3121
  function Qe() {
@@ -3152,21 +3127,21 @@ Qe.prototype.get = function(e) {
3152
3127
  Qe.prototype.set = function(e, t) {
3153
3128
  this.cache[e] = t;
3154
3129
  };
3155
- var Ln = {
3130
+ var Cn = {
3156
3131
  create: function() {
3157
3132
  return new Qe();
3158
3133
  }
3159
- }, Le = {
3160
- variadic: Cn,
3161
- monadic: On
3134
+ }, Pe = {
3135
+ variadic: wn,
3136
+ monadic: An
3162
3137
  }, V;
3163
3138
  (function(e) {
3164
3139
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3165
3140
  })(V || (V = {}));
3166
- var Ee = (
3141
+ var ye = (
3167
3142
  /** @class */
3168
3143
  function(e) {
3169
- ye(t, e);
3144
+ _e(t, e);
3170
3145
  function t(r, n, i) {
3171
3146
  var s = e.call(this, r) || this;
3172
3147
  return s.code = n, s.originalMessage = i, s;
@@ -3178,44 +3153,44 @@ var Ee = (
3178
3153
  ), mt = (
3179
3154
  /** @class */
3180
3155
  function(e) {
3181
- ye(t, e);
3156
+ _e(t, e);
3182
3157
  function t(r, n, i, s) {
3183
3158
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3184
3159
  }
3185
3160
  return t;
3186
- }(Ee)
3187
- ), Nn = (
3161
+ }(ye)
3162
+ ), Pn = (
3188
3163
  /** @class */
3189
3164
  function(e) {
3190
- ye(t, e);
3165
+ _e(t, e);
3191
3166
  function t(r, n, i) {
3192
3167
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3193
3168
  }
3194
3169
  return t;
3195
- }(Ee)
3196
- ), In = (
3170
+ }(ye)
3171
+ ), Ln = (
3197
3172
  /** @class */
3198
3173
  function(e) {
3199
- ye(t, e);
3174
+ _e(t, e);
3200
3175
  function t(r, n) {
3201
3176
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3202
3177
  }
3203
3178
  return t;
3204
- }(Ee)
3179
+ }(ye)
3205
3180
  ), x;
3206
3181
  (function(e) {
3207
3182
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3208
3183
  })(x || (x = {}));
3209
- function Mn(e) {
3184
+ function Nn(e) {
3210
3185
  return e.length < 2 ? e : e.reduce(function(t, r) {
3211
3186
  var n = t[t.length - 1];
3212
3187
  return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3213
3188
  }, []);
3214
3189
  }
3215
- function $n(e) {
3190
+ function In(e) {
3216
3191
  return typeof e == "function";
3217
3192
  }
3218
- function ce(e, t, r, n, i, s, a) {
3193
+ function fe(e, t, r, n, i, s, a) {
3219
3194
  if (e.length === 1 && ot(e[0]))
3220
3195
  return [
3221
3196
  {
@@ -3232,7 +3207,7 @@ function ce(e, t, r, n, i, s, a) {
3232
3207
  });
3233
3208
  continue;
3234
3209
  }
3235
- if (Jr(h)) {
3210
+ if (Qr(h)) {
3236
3211
  typeof s == "number" && o.push({
3237
3212
  type: x.literal,
3238
3213
  value: r.getNumberFormat(t).format(s)
@@ -3241,9 +3216,9 @@ function ce(e, t, r, n, i, s, a) {
3241
3216
  }
3242
3217
  var c = h.value;
3243
3218
  if (!(i && c in i))
3244
- throw new In(c, a);
3219
+ throw new Ln(c, a);
3245
3220
  var f = i[c];
3246
- if (qr(h)) {
3221
+ if (Zr(h)) {
3247
3222
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3248
3223
  type: typeof f == "string" ? x.literal : x.object,
3249
3224
  value: f
@@ -3251,7 +3226,7 @@ function ce(e, t, r, n, i, s, a) {
3251
3226
  continue;
3252
3227
  }
3253
3228
  if (Nt(h)) {
3254
- var p = typeof h.style == "string" ? n.date[h.style] : De(h.style) ? h.style.parsedOptions : void 0;
3229
+ var p = typeof h.style == "string" ? n.date[h.style] : Ue(h.style) ? h.style.parsedOptions : void 0;
3255
3230
  o.push({
3256
3231
  type: x.literal,
3257
3232
  value: r.getDateTimeFormat(t, p).format(f)
@@ -3259,7 +3234,7 @@ function ce(e, t, r, n, i, s, a) {
3259
3234
  continue;
3260
3235
  }
3261
3236
  if (It(h)) {
3262
- var p = typeof h.style == "string" ? n.time[h.style] : De(h.style) ? h.style.parsedOptions : n.time.medium;
3237
+ var p = typeof h.style == "string" ? n.time[h.style] : Ue(h.style) ? h.style.parsedOptions : n.time.medium;
3263
3238
  o.push({
3264
3239
  type: x.literal,
3265
3240
  value: r.getDateTimeFormat(t, p).format(f)
@@ -3276,15 +3251,15 @@ function ce(e, t, r, n, i, s, a) {
3276
3251
  }
3277
3252
  if (Rt(h)) {
3278
3253
  var m = h.children, y = h.value, T = i[y];
3279
- if (!$n(T))
3280
- throw new Nn(y, "function", a);
3281
- var L = ce(m, t, r, n, i, s), A = T(L.map(function(w) {
3282
- return w.value;
3254
+ if (!In(T))
3255
+ throw new Pn(y, "function", a);
3256
+ var L = fe(m, t, r, n, i, s), A = T(L.map(function(S) {
3257
+ return S.value;
3283
3258
  }));
3284
- Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(w) {
3259
+ Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(S) {
3285
3260
  return {
3286
- type: typeof w == "string" ? x.literal : x.object,
3287
- value: w
3261
+ type: typeof S == "string" ? x.literal : x.object,
3262
+ value: S
3288
3263
  };
3289
3264
  }));
3290
3265
  }
@@ -3292,14 +3267,14 @@ function ce(e, t, r, n, i, s, a) {
3292
3267
  var v = h.options[f] || h.options.other;
3293
3268
  if (!v)
3294
3269
  throw new mt(h.value, f, Object.keys(h.options), a);
3295
- o.push.apply(o, ce(v.value, t, r, n, i));
3270
+ o.push.apply(o, fe(v.value, t, r, n, i));
3296
3271
  continue;
3297
3272
  }
3298
3273
  if ($t(h)) {
3299
3274
  var v = h.options["=".concat(f)];
3300
3275
  if (!v) {
3301
3276
  if (!Intl.PluralRules)
3302
- throw new Ee(`Intl.PluralRules is not available in this environment.
3277
+ throw new ye(`Intl.PluralRules is not available in this environment.
3303
3278
  Try polyfilling it using "@formatjs/intl-pluralrules"
3304
3279
  `, V.MISSING_INTL_API, a);
3305
3280
  var N = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
@@ -3307,23 +3282,23 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3307
3282
  }
3308
3283
  if (!v)
3309
3284
  throw new mt(h.value, f, Object.keys(h.options), a);
3310
- o.push.apply(o, ce(v.value, t, r, n, i, f - (h.offset || 0)));
3285
+ o.push.apply(o, fe(v.value, t, r, n, i, f - (h.offset || 0)));
3311
3286
  continue;
3312
3287
  }
3313
3288
  }
3314
- return Mn(o);
3289
+ return Nn(o);
3315
3290
  }
3316
- function Rn(e, t) {
3291
+ function Mn(e, t) {
3317
3292
  return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3318
3293
  return r[n] = g(g({}, e[n]), t[n] || {}), r;
3319
3294
  }, {})) : e;
3320
3295
  }
3321
- function Un(e, t) {
3296
+ function $n(e, t) {
3322
3297
  return t ? Object.keys(e).reduce(function(r, n) {
3323
- return r[n] = Rn(e[n], t[n]), r;
3298
+ return r[n] = Mn(e[n], t[n]), r;
3324
3299
  }, g({}, e)) : e;
3325
3300
  }
3326
- function Ne(e) {
3301
+ function Le(e) {
3327
3302
  return {
3328
3303
  create: function() {
3329
3304
  return {
@@ -3337,35 +3312,35 @@ function Ne(e) {
3337
3312
  }
3338
3313
  };
3339
3314
  }
3340
- function Dn(e) {
3315
+ function Rn(e) {
3341
3316
  return e === void 0 && (e = {
3342
3317
  number: {},
3343
3318
  dateTime: {},
3344
3319
  pluralRules: {}
3345
3320
  }), {
3346
- getNumberFormat: Pe(function() {
3321
+ getNumberFormat: Ce(function() {
3347
3322
  for (var t, r = [], n = 0; n < arguments.length; n++)
3348
3323
  r[n] = arguments[n];
3349
- return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
3324
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3350
3325
  }, {
3351
- cache: Ne(e.number),
3352
- strategy: Le.variadic
3326
+ cache: Le(e.number),
3327
+ strategy: Pe.variadic
3353
3328
  }),
3354
- getDateTimeFormat: Pe(function() {
3329
+ getDateTimeFormat: Ce(function() {
3355
3330
  for (var t, r = [], n = 0; n < arguments.length; n++)
3356
3331
  r[n] = arguments[n];
3357
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
3332
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3358
3333
  }, {
3359
- cache: Ne(e.dateTime),
3360
- strategy: Le.variadic
3334
+ cache: Le(e.dateTime),
3335
+ strategy: Pe.variadic
3361
3336
  }),
3362
- getPluralRules: Pe(function() {
3337
+ getPluralRules: Ce(function() {
3363
3338
  for (var t, r = [], n = 0; n < arguments.length; n++)
3364
3339
  r[n] = arguments[n];
3365
- return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
3340
+ return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3366
3341
  }, {
3367
- cache: Ne(e.pluralRules),
3368
- strategy: Le.variadic
3342
+ cache: Le(e.pluralRules),
3343
+ strategy: Pe.variadic
3369
3344
  })
3370
3345
  };
3371
3346
  }
@@ -3387,7 +3362,7 @@ var Zt = (
3387
3362
  }, []);
3388
3363
  return h.length <= 1 ? h[0] || "" : h;
3389
3364
  }, this.formatToParts = function(l) {
3390
- return ce(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3365
+ return fe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3391
3366
  }, this.resolvedOptions = function() {
3392
3367
  var l;
3393
3368
  return {
@@ -3400,13 +3375,13 @@ var Zt = (
3400
3375
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3401
3376
  var a = i || {};
3402
3377
  a.formatters;
3403
- var o = Qr(a, ["formatters"]);
3378
+ var o = Wr(a, ["formatters"]);
3404
3379
  this.ast = e.__parse(t, g(g({}, o), { locale: this.resolvedLocale }));
3405
3380
  } else
3406
3381
  this.ast = t;
3407
3382
  if (!Array.isArray(this.ast))
3408
3383
  throw new TypeError("A message must be provided as a String or AST.");
3409
- this.formats = Un(e.formats, n), this.formatters = i && i.formatters || Dn(this.formatterCache);
3384
+ this.formats = $n(e.formats, n), this.formatters = i && i.formatters || Rn(this.formatterCache);
3410
3385
  }
3411
3386
  return Object.defineProperty(e, "defaultLocale", {
3412
3387
  get: function() {
@@ -3419,7 +3394,7 @@ var Zt = (
3419
3394
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3420
3395
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3421
3396
  }
3422
- }, e.__parse = wn, e.formats = {
3397
+ }, e.__parse = Tn, e.formats = {
3423
3398
  number: {
3424
3399
  integer: {
3425
3400
  maximumFractionDigits: 0
@@ -3480,7 +3455,7 @@ var Zt = (
3480
3455
  }, e;
3481
3456
  }()
3482
3457
  );
3483
- function Gn(e, t) {
3458
+ function Un(e, t) {
3484
3459
  if (t == null)
3485
3460
  return;
3486
3461
  if (t in e)
@@ -3501,36 +3476,36 @@ function Gn(e, t) {
3501
3476
  n = void 0;
3502
3477
  return n;
3503
3478
  }
3504
- const O = {}, Fn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Qt = (e, t) => {
3479
+ const C = {}, Dn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Qt = (e, t) => {
3505
3480
  if (t == null)
3506
3481
  return;
3507
- if (t in O && e in O[t])
3508
- return O[t][e];
3509
- const r = se(t);
3482
+ if (t in C && e in C[t])
3483
+ return C[t][e];
3484
+ const r = ie(t);
3510
3485
  for (let n = 0; n < r.length; n++) {
3511
- const i = r[n], s = kn(i, e);
3486
+ const i = r[n], s = Fn(i, e);
3512
3487
  if (s)
3513
- return Fn(e, t, s);
3488
+ return Dn(e, t, s);
3514
3489
  }
3515
3490
  };
3516
3491
  let qe;
3517
- const ie = _e({});
3518
- function jn(e) {
3492
+ const ne = ge({});
3493
+ function Gn(e) {
3519
3494
  return qe[e] || null;
3520
3495
  }
3521
3496
  function qt(e) {
3522
3497
  return e in qe;
3523
3498
  }
3524
- function kn(e, t) {
3499
+ function Fn(e, t) {
3525
3500
  if (!qt(e))
3526
3501
  return null;
3527
- const r = jn(e);
3528
- return Gn(r, t);
3502
+ const r = Gn(e);
3503
+ return Un(r, t);
3529
3504
  }
3530
- function Vn(e) {
3505
+ function jn(e) {
3531
3506
  if (e == null)
3532
3507
  return;
3533
- const t = se(e);
3508
+ const t = ie(e);
3534
3509
  for (let r = 0; r < t.length; r++) {
3535
3510
  const n = t[r];
3536
3511
  if (qt(n))
@@ -3538,64 +3513,64 @@ function Vn(e) {
3538
3513
  }
3539
3514
  }
3540
3515
  function Jt(e, ...t) {
3541
- delete O[e], ie.update((r) => (r[e] = Zr.all([r[e] || {}, ...t]), r));
3516
+ delete C[e], ne.update((r) => (r[e] = zr.all([r[e] || {}, ...t]), r));
3542
3517
  }
3543
3518
  Q(
3544
- [ie],
3519
+ [ne],
3545
3520
  ([e]) => Object.keys(e)
3546
3521
  );
3547
- ie.subscribe((e) => qe = e);
3548
- const me = {};
3549
- function Xn(e, t) {
3550
- me[e].delete(t), me[e].size === 0 && delete me[e];
3522
+ ne.subscribe((e) => qe = e);
3523
+ const ce = {};
3524
+ function kn(e, t) {
3525
+ ce[e].delete(t), ce[e].size === 0 && delete ce[e];
3551
3526
  }
3552
3527
  function Yt(e) {
3553
- return me[e];
3528
+ return ce[e];
3554
3529
  }
3555
- function zn(e) {
3556
- return se(e).map((t) => {
3530
+ function Vn(e) {
3531
+ return ie(e).map((t) => {
3557
3532
  const r = Yt(t);
3558
3533
  return [t, r ? [...r] : []];
3559
3534
  }).filter(([, t]) => t.length > 0);
3560
3535
  }
3561
- function de(e) {
3562
- return e == null ? !1 : se(e).some(
3536
+ function pe(e) {
3537
+ return e == null ? !1 : ie(e).some(
3563
3538
  (t) => {
3564
3539
  var r;
3565
3540
  return (r = Yt(t)) == null ? void 0 : r.size;
3566
3541
  }
3567
3542
  );
3568
3543
  }
3569
- function Wn(e, t) {
3544
+ function Xn(e, t) {
3570
3545
  return Promise.all(
3571
- t.map((n) => (Xn(e, n), n().then((i) => i.default || i)))
3546
+ t.map((n) => (kn(e, n), n().then((i) => i.default || i)))
3572
3547
  ).then((n) => Jt(e, ...n));
3573
3548
  }
3574
3549
  const J = {};
3575
3550
  function Kt(e) {
3576
- if (!de(e))
3551
+ if (!pe(e))
3577
3552
  return e in J ? J[e] : Promise.resolve();
3578
- const t = zn(e);
3553
+ const t = Vn(e);
3579
3554
  return J[e] = Promise.all(
3580
3555
  t.map(
3581
- ([r, n]) => Wn(r, n)
3556
+ ([r, n]) => Xn(r, n)
3582
3557
  )
3583
3558
  ).then(() => {
3584
- if (de(e))
3559
+ if (pe(e))
3585
3560
  return Kt(e);
3586
3561
  delete J[e];
3587
3562
  }), J[e];
3588
3563
  }
3589
- var pt = Object.getOwnPropertySymbols, Zn = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, qn = (e, t) => {
3564
+ var pt = Object.getOwnPropertySymbols, zn = Object.prototype.hasOwnProperty, Wn = Object.prototype.propertyIsEnumerable, Zn = (e, t) => {
3590
3565
  var r = {};
3591
3566
  for (var n in e)
3592
- Zn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3567
+ zn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3593
3568
  if (e != null && pt)
3594
3569
  for (var n of pt(e))
3595
- t.indexOf(n) < 0 && Qn.call(e, n) && (r[n] = e[n]);
3570
+ t.indexOf(n) < 0 && Wn.call(e, n) && (r[n] = e[n]);
3596
3571
  return r;
3597
3572
  };
3598
- const Jn = {
3573
+ const Qn = {
3599
3574
  number: {
3600
3575
  scientific: { notation: "scientific" },
3601
3576
  engineering: { notation: "engineering" },
@@ -3625,28 +3600,28 @@ const Jn = {
3625
3600
  }
3626
3601
  }
3627
3602
  };
3628
- function Yn({ locale: e, id: t }) {
3603
+ function qn({ locale: e, id: t }) {
3629
3604
  console.warn(
3630
- `[svelte-i18n] The message "${t}" was not found in "${se(
3605
+ `[svelte-i18n] The message "${t}" was not found in "${ie(
3631
3606
  e
3632
- ).join('", "')}".${de(P()) ? `
3607
+ ).join('", "')}".${pe(P()) ? `
3633
3608
 
3634
3609
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3635
3610
  );
3636
3611
  }
3637
- const Kn = {
3612
+ const Jn = {
3638
3613
  fallbackLocale: null,
3639
3614
  loadingDelay: 200,
3640
- formats: Jn,
3615
+ formats: Qn,
3641
3616
  warnOnMissingMessages: !0,
3642
3617
  handleMissingMessage: void 0,
3643
3618
  ignoreTag: !0
3644
- }, Y = Kn;
3619
+ }, Y = Jn;
3645
3620
  function X() {
3646
3621
  return Y;
3647
3622
  }
3648
- function ei(e) {
3649
- const t = e, { formats: r } = t, n = qn(t, ["formats"]);
3623
+ function Yn(e) {
3624
+ const t = e, { formats: r } = t, n = Zn(t, ["formats"]);
3650
3625
  let i = e.fallbackLocale;
3651
3626
  if (e.initialLocale)
3652
3627
  try {
@@ -3656,128 +3631,128 @@ function ei(e) {
3656
3631
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3657
3632
  );
3658
3633
  }
3659
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Yn : console.warn(
3634
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = qn : console.warn(
3660
3635
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3661
3636
  )), 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)), M.set(i);
3662
3637
  }
3663
- const Ie = _e(!1);
3664
- var ti = Object.defineProperty, ri = Object.defineProperties, ni = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, si = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, oi = (e, t) => {
3638
+ const Ne = ge(!1);
3639
+ var Kn = Object.defineProperty, ei = Object.defineProperties, ti = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, ri = Object.prototype.hasOwnProperty, ni = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? Kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ii = (e, t) => {
3665
3640
  for (var r in t || (t = {}))
3666
- ii.call(t, r) && bt(e, r, t[r]);
3641
+ ri.call(t, r) && bt(e, r, t[r]);
3667
3642
  if (dt)
3668
3643
  for (var r of dt(t))
3669
- si.call(t, r) && bt(e, r, t[r]);
3644
+ ni.call(t, r) && bt(e, r, t[r]);
3670
3645
  return e;
3671
- }, ai = (e, t) => ri(e, ni(t));
3672
- let Xe;
3673
- const be = _e(null);
3646
+ }, si = (e, t) => ei(e, ti(t));
3647
+ let Ve;
3648
+ const de = ge(null);
3674
3649
  function gt(e) {
3675
3650
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3676
3651
  }
3677
- function se(e, t = X().fallbackLocale) {
3652
+ function ie(e, t = X().fallbackLocale) {
3678
3653
  const r = gt(e);
3679
3654
  return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
3680
3655
  }
3681
3656
  function P() {
3682
- return Xe != null ? Xe : void 0;
3657
+ return Ve != null ? Ve : void 0;
3683
3658
  }
3684
- be.subscribe((e) => {
3685
- Xe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3659
+ de.subscribe((e) => {
3660
+ Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3686
3661
  });
3687
- const ui = (e) => {
3688
- if (e && Vn(e) && de(e)) {
3662
+ const oi = (e) => {
3663
+ if (e && jn(e) && pe(e)) {
3689
3664
  const { loadingDelay: t } = X();
3690
3665
  let r;
3691
3666
  return typeof window != "undefined" && P() != null && t ? r = window.setTimeout(
3692
- () => Ie.set(!0),
3667
+ () => Ne.set(!0),
3693
3668
  t
3694
- ) : Ie.set(!0), Kt(e).then(() => {
3695
- be.set(e);
3669
+ ) : Ne.set(!0), Kt(e).then(() => {
3670
+ de.set(e);
3696
3671
  }).finally(() => {
3697
- clearTimeout(r), Ie.set(!1);
3672
+ clearTimeout(r), Ne.set(!1);
3698
3673
  });
3699
3674
  }
3700
- return be.set(e);
3701
- }, M = ai(oi({}, be), {
3702
- set: ui
3703
- }), xe = (e) => {
3675
+ return de.set(e);
3676
+ }, M = si(ii({}, de), {
3677
+ set: oi
3678
+ }), Ee = (e) => {
3704
3679
  const t = /* @__PURE__ */ Object.create(null);
3705
3680
  return (n) => {
3706
3681
  const i = JSON.stringify(n);
3707
3682
  return i in t ? t[i] : t[i] = e(n);
3708
3683
  };
3709
3684
  };
3710
- var hi = Object.defineProperty, ge = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
3685
+ var ai = Object.defineProperty, be = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
3711
3686
  for (var r in t || (t = {}))
3712
3687
  er.call(t, r) && _t(e, r, t[r]);
3713
- if (ge)
3714
- for (var r of ge(t))
3688
+ if (be)
3689
+ for (var r of be(t))
3715
3690
  tr.call(t, r) && _t(e, r, t[r]);
3716
3691
  return e;
3717
3692
  }, q = (e, t) => {
3718
3693
  var r = {};
3719
3694
  for (var n in e)
3720
3695
  er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3721
- if (e != null && ge)
3722
- for (var n of ge(e))
3696
+ if (e != null && be)
3697
+ for (var n of be(e))
3723
3698
  t.indexOf(n) < 0 && tr.call(e, n) && (r[n] = e[n]);
3724
3699
  return r;
3725
3700
  };
3726
- const re = (e, t) => {
3701
+ const te = (e, t) => {
3727
3702
  const { formats: r } = X();
3728
3703
  if (e in r && t in r[e])
3729
3704
  return r[e][t];
3730
3705
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3731
- }, li = xe(
3706
+ }, ui = Ee(
3732
3707
  (e) => {
3733
3708
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3734
3709
  if (r == null)
3735
3710
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3736
- return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
3711
+ return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
3737
3712
  }
3738
- ), fi = xe(
3713
+ ), hi = Ee(
3739
3714
  (e) => {
3740
3715
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3741
3716
  if (r == null)
3742
3717
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3743
- return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
3718
+ return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
3744
3719
  }
3745
- ), ci = xe(
3720
+ ), li = Ee(
3746
3721
  (e) => {
3747
3722
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3748
3723
  if (r == null)
3749
3724
  throw new Error(
3750
3725
  '[svelte-i18n] A "locale" must be set to format time values'
3751
3726
  );
3752
- return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
3727
+ return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
3753
3728
  }
3754
- ), mi = (e = {}) => {
3729
+ ), fi = (e = {}) => {
3755
3730
  var t = e, {
3756
3731
  locale: r = P()
3757
3732
  } = t, n = q(t, [
3758
3733
  "locale"
3759
3734
  ]);
3760
- return li(Je({ locale: r }, n));
3761
- }, pi = (e = {}) => {
3735
+ return ui(Je({ locale: r }, n));
3736
+ }, ci = (e = {}) => {
3762
3737
  var t = e, {
3763
3738
  locale: r = P()
3764
3739
  } = t, n = q(t, [
3765
3740
  "locale"
3766
3741
  ]);
3767
- return fi(Je({ locale: r }, n));
3768
- }, di = (e = {}) => {
3742
+ return hi(Je({ locale: r }, n));
3743
+ }, mi = (e = {}) => {
3769
3744
  var t = e, {
3770
3745
  locale: r = P()
3771
3746
  } = t, n = q(t, [
3772
3747
  "locale"
3773
3748
  ]);
3774
- return ci(Je({ locale: r }, n));
3775
- }, bi = xe(
3749
+ return li(Je({ locale: r }, n));
3750
+ }, pi = Ee(
3776
3751
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3777
3752
  (e, t = P()) => new Zt(e, t, X().formats, {
3778
3753
  ignoreTag: X().ignoreTag
3779
3754
  })
3780
- ), gi = (e, t = {}) => {
3755
+ ), di = (e, t = {}) => {
3781
3756
  var r, n, i, s;
3782
3757
  let a = t;
3783
3758
  typeof e == "object" && (a = e, e = a.id);
@@ -3801,7 +3776,7 @@ const re = (e, t) => {
3801
3776
  return h;
3802
3777
  let c = h;
3803
3778
  try {
3804
- c = bi(h, l).format(o);
3779
+ c = pi(h, l).format(o);
3805
3780
  } catch (f) {
3806
3781
  f instanceof Error && console.warn(
3807
3782
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3809,16 +3784,16 @@ const re = (e, t) => {
3809
3784
  );
3810
3785
  }
3811
3786
  return c;
3812
- }, _i = (e, t) => di(t).format(e), yi = (e, t) => pi(t).format(e), Ei = (e, t) => mi(t).format(e), xi = (e, t = P()) => Qt(e, t), vi = Q([M, ie], () => gi);
3787
+ }, bi = (e, t) => mi(t).format(e), gi = (e, t) => ci(t).format(e), _i = (e, t) => fi(t).format(e), yi = (e, t = P()) => Qt(e, t), Ei = Q([M, ne], () => di);
3788
+ Q([M], () => bi);
3789
+ Q([M], () => gi);
3813
3790
  Q([M], () => _i);
3814
- Q([M], () => yi);
3815
- Q([M], () => Ei);
3816
- Q([M, ie], () => xi);
3791
+ Q([M, ne], () => yi);
3817
3792
  function yt(e, t) {
3818
3793
  Jt(e, t);
3819
3794
  }
3820
- function Hi(e) {
3821
- ei({
3795
+ function xi(e) {
3796
+ Yn({
3822
3797
  fallbackLocale: "en"
3823
3798
  }), M.set(e);
3824
3799
  }
@@ -3838,10 +3813,10 @@ const Et = {
3838
3813
  }
3839
3814
  }
3840
3815
  };
3841
- function Ti(e) {
3816
+ function vi(e) {
3842
3817
  fr(e, "svelte-v7co4a", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 32px);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}");
3843
3818
  }
3844
- const Bi = (e) => ({}), xt = (e) => ({}), wi = (e) => ({}), vt = (e) => ({}), Si = (e) => ({}), Ht = (e) => ({});
3819
+ const Hi = (e) => ({}), xt = (e) => ({}), Ti = (e) => ({}), vt = (e) => ({}), Bi = (e) => ({}), Ht = (e) => ({});
3845
3820
  function Tt(e) {
3846
3821
  let t, r, n;
3847
3822
  return {
@@ -3849,7 +3824,7 @@ function Tt(e) {
3849
3824
  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");
3850
3825
  },
3851
3826
  m(i, s) {
3852
- z(i, t, s), r || (n = Ct(
3827
+ z(i, t, s), r || (n = Ot(
3853
3828
  t,
3854
3829
  "click",
3855
3830
  /*back*/
@@ -3862,7 +3837,7 @@ function Tt(e) {
3862
3837
  }
3863
3838
  };
3864
3839
  }
3865
- function Ai(e) {
3840
+ function Si(e) {
3866
3841
  let t, r = (
3867
3842
  /*backButton*/
3868
3843
  e[1] && Tt(e)
@@ -3883,7 +3858,7 @@ function Ai(e) {
3883
3858
  }
3884
3859
  };
3885
3860
  }
3886
- function Ci(e) {
3861
+ function wi(e) {
3887
3862
  let t, r = (
3888
3863
  /*$_*/
3889
3864
  e[3](
@@ -3893,10 +3868,10 @@ function Ci(e) {
3893
3868
  ), n;
3894
3869
  return {
3895
3870
  c() {
3896
- t = W("span"), n = We(r), Z(t, "class", "CashierHeaderTitle");
3871
+ t = W("span"), n = ze(r), Z(t, "class", "CashierHeaderTitle");
3897
3872
  },
3898
3873
  m(i, s) {
3899
- z(i, t, s), pe(t, n);
3874
+ z(i, t, s), me(t, n);
3900
3875
  },
3901
3876
  p(i, s) {
3902
3877
  s & /*$_, titleText*/
@@ -3911,14 +3886,14 @@ function Ci(e) {
3911
3886
  }
3912
3887
  };
3913
3888
  }
3914
- function Oi(e) {
3889
+ function Ai(e) {
3915
3890
  let t, r, n;
3916
3891
  return {
3917
3892
  c() {
3918
3893
  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");
3919
3894
  },
3920
3895
  m(i, s) {
3921
- z(i, t, s), r || (n = Ct(
3896
+ z(i, t, s), r || (n = Ot(
3922
3897
  t,
3923
3898
  "click",
3924
3899
  /*close*/
@@ -3931,96 +3906,96 @@ function Oi(e) {
3931
3906
  }
3932
3907
  };
3933
3908
  }
3934
- function Pi(e) {
3909
+ function Oi(e) {
3935
3910
  let t, r, n, i;
3936
3911
  const s = (
3937
3912
  /*#slots*/
3938
3913
  e[13].leftButton
3939
- ), a = He(
3914
+ ), a = ve(
3940
3915
  s,
3941
3916
  e,
3942
3917
  /*$$scope*/
3943
3918
  e[12],
3944
3919
  Ht
3945
- ), o = a || Ai(e), l = (
3920
+ ), o = a || Si(e), l = (
3946
3921
  /*#slots*/
3947
3922
  e[13].title
3948
- ), u = He(
3923
+ ), u = ve(
3949
3924
  l,
3950
3925
  e,
3951
3926
  /*$$scope*/
3952
3927
  e[12],
3953
3928
  vt
3954
- ), h = u || Ci(e), c = (
3929
+ ), h = u || wi(e), c = (
3955
3930
  /*#slots*/
3956
3931
  e[13].rightButton
3957
- ), f = He(
3932
+ ), f = ve(
3958
3933
  c,
3959
3934
  e,
3960
3935
  /*$$scope*/
3961
3936
  e[12],
3962
3937
  xt
3963
- ), p = f || Oi(e);
3938
+ ), p = f || Ai(e);
3964
3939
  return {
3965
3940
  c() {
3966
3941
  t = W("div"), o && o.c(), r = nt(), h && h.c(), n = nt(), p && p.c(), Z(t, "class", "CashierHeader");
3967
3942
  },
3968
3943
  m(m, y) {
3969
- z(m, t, y), o && o.m(t, null), pe(t, r), h && h.m(t, null), pe(t, n), p && p.m(t, null), e[14](t), i = !0;
3944
+ z(m, t, y), o && o.m(t, null), me(t, r), h && h.m(t, null), me(t, n), p && p.m(t, null), e[14](t), i = !0;
3970
3945
  },
3971
3946
  p(m, [y]) {
3972
3947
  a ? a.p && (!i || y & /*$$scope*/
3973
- 4096) && Be(
3948
+ 4096) && Te(
3974
3949
  a,
3975
3950
  s,
3976
3951
  m,
3977
3952
  /*$$scope*/
3978
3953
  m[12],
3979
- i ? Te(
3954
+ i ? He(
3980
3955
  s,
3981
3956
  /*$$scope*/
3982
3957
  m[12],
3983
3958
  y,
3984
- Si
3985
- ) : we(
3959
+ Bi
3960
+ ) : Be(
3986
3961
  /*$$scope*/
3987
3962
  m[12]
3988
3963
  ),
3989
3964
  Ht
3990
3965
  ) : o && o.p && (!i || y & /*backButton*/
3991
3966
  2) && o.p(m, i ? y : -1), u ? u.p && (!i || y & /*$$scope*/
3992
- 4096) && Be(
3967
+ 4096) && Te(
3993
3968
  u,
3994
3969
  l,
3995
3970
  m,
3996
3971
  /*$$scope*/
3997
3972
  m[12],
3998
- i ? Te(
3973
+ i ? He(
3999
3974
  l,
4000
3975
  /*$$scope*/
4001
3976
  m[12],
4002
3977
  y,
4003
- wi
4004
- ) : we(
3978
+ Ti
3979
+ ) : Be(
4005
3980
  /*$$scope*/
4006
3981
  m[12]
4007
3982
  ),
4008
3983
  vt
4009
3984
  ) : h && h.p && (!i || y & /*$_, titleText*/
4010
3985
  12) && h.p(m, i ? y : -1), f && f.p && (!i || y & /*$$scope*/
4011
- 4096) && Be(
3986
+ 4096) && Te(
4012
3987
  f,
4013
3988
  c,
4014
3989
  m,
4015
3990
  /*$$scope*/
4016
3991
  m[12],
4017
- i ? Te(
3992
+ i ? He(
4018
3993
  c,
4019
3994
  /*$$scope*/
4020
3995
  m[12],
4021
3996
  y,
4022
- Bi
4023
- ) : we(
3997
+ Hi
3998
+ ) : Be(
4024
3999
  /*$$scope*/
4025
4000
  m[12]
4026
4001
  ),
@@ -4028,28 +4003,28 @@ function Pi(e) {
4028
4003
  );
4029
4004
  },
4030
4005
  i(m) {
4031
- i || (le(o, m), le(h, m), le(p, m), i = !0);
4006
+ i || (he(o, m), he(h, m), he(p, m), i = !0);
4032
4007
  },
4033
4008
  o(m) {
4034
- Ae(o, m), Ae(h, m), Ae(p, m), i = !1;
4009
+ we(o, m), we(h, m), we(p, m), i = !1;
4035
4010
  },
4036
4011
  d(m) {
4037
4012
  m && I(t), o && o.d(m), h && h.d(m), p && p.d(m), e[14](null);
4038
4013
  }
4039
4014
  };
4040
4015
  }
4041
- function Li(e, t, r) {
4016
+ function Ci(e, t, r) {
4042
4017
  let n;
4043
- lr(e, vi, (_) => r(3, n = _));
4018
+ lr(e, Ei, (_) => r(3, n = _));
4044
4019
  let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: u = "" } = t, { title: h = "header.general" } = t, { lang: c = "en" } = t, f, p = !1, m;
4045
4020
  const y = () => {
4046
4021
  let _ = l;
4047
- _ && fetch(_).then((S) => S.json()).then((S) => {
4048
- Object.keys(S).forEach((R) => {
4049
- yt(R, S[R]);
4022
+ _ && fetch(_).then((w) => w.json()).then((w) => {
4023
+ Object.keys(w).forEach((R) => {
4024
+ yt(R, w[R]);
4050
4025
  });
4051
- }).catch((S) => {
4052
- console.log(S);
4026
+ }).catch((w) => {
4027
+ console.log(w);
4053
4028
  });
4054
4029
  };
4055
4030
  Object.keys(Et).forEach((_) => {
@@ -4059,28 +4034,28 @@ function Li(e, t, r) {
4059
4034
  let _ = document.createElement("style");
4060
4035
  _.innerHTML = a, f.appendChild(_);
4061
4036
  }, L = () => {
4062
- let _ = new URL(o), S = document.createElement("style");
4037
+ let _ = new URL(o), w = document.createElement("style");
4063
4038
  fetch(_.href).then((R) => R.text()).then((R) => {
4064
- S.innerHTML = R, setTimeout(
4039
+ w.innerHTML = R, setTimeout(
4065
4040
  () => {
4066
- f.appendChild(S);
4041
+ f.appendChild(w);
4067
4042
  },
4068
4043
  1
4069
4044
  );
4070
4045
  });
4071
4046
  }, A = () => {
4072
- Hi(c);
4047
+ xi(c);
4073
4048
  }, v = () => {
4074
4049
  window.postMessage({ type: "CloseCashier" }, window.location.href);
4075
4050
  }, N = () => {
4076
4051
  window.postMessage({ type: "BackCashier" }, window.location.href);
4077
- }, w = () => {
4052
+ }, S = () => {
4078
4053
  r(1, p = !!u && u !== "false");
4079
4054
  }, $ = () => {
4080
4055
  r(2, m = h || "header.general");
4081
4056
  };
4082
- function oe(_) {
4083
- Me[_ ? "unshift" : "push"](() => {
4057
+ function se(_) {
4058
+ Ie[_ ? "unshift" : "push"](() => {
4084
4059
  f = _, r(0, f);
4085
4060
  });
4086
4061
  }
@@ -4093,7 +4068,7 @@ function Li(e, t, r) {
4093
4068
  65 && a && f && T(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4094
4069
  129 && o && f && L(), e.$$.dirty & /*lang, translationurl*/
4095
4070
  2304 && c && l && y(), e.$$.dirty & /*showbackbutton*/
4096
- 512 && u && w();
4071
+ 512 && u && S();
4097
4072
  }, [
4098
4073
  f,
4099
4074
  p,
@@ -4109,17 +4084,17 @@ function Li(e, t, r) {
4109
4084
  c,
4110
4085
  s,
4111
4086
  i,
4112
- oe
4087
+ se
4113
4088
  ];
4114
4089
  }
4115
- class rr extends Or {
4090
+ class rr extends Ar {
4116
4091
  constructor(t) {
4117
- super(), Ar(
4092
+ super(), Sr(
4118
4093
  this,
4119
4094
  t,
4120
- Li,
4121
- Pi,
4122
- wt,
4095
+ Ci,
4096
+ Oi,
4097
+ St,
4123
4098
  {
4124
4099
  clientstyling: 6,
4125
4100
  clientstylingurl: 7,
@@ -4128,72 +4103,71 @@ class rr extends Or {
4128
4103
  title: 10,
4129
4104
  lang: 11
4130
4105
  },
4131
- Ti
4106
+ vi
4132
4107
  );
4133
4108
  }
4134
4109
  get clientstyling() {
4135
4110
  return this.$$.ctx[6];
4136
4111
  }
4137
4112
  set clientstyling(t) {
4138
- this.$$set({ clientstyling: t }), C();
4113
+ this.$$set({ clientstyling: t }), O();
4139
4114
  }
4140
4115
  get clientstylingurl() {
4141
4116
  return this.$$.ctx[7];
4142
4117
  }
4143
4118
  set clientstylingurl(t) {
4144
- this.$$set({ clientstylingurl: t }), C();
4119
+ this.$$set({ clientstylingurl: t }), O();
4145
4120
  }
4146
4121
  get translationurl() {
4147
4122
  return this.$$.ctx[8];
4148
4123
  }
4149
4124
  set translationurl(t) {
4150
- this.$$set({ translationurl: t }), C();
4125
+ this.$$set({ translationurl: t }), O();
4151
4126
  }
4152
4127
  get showbackbutton() {
4153
4128
  return this.$$.ctx[9];
4154
4129
  }
4155
4130
  set showbackbutton(t) {
4156
- this.$$set({ showbackbutton: t }), C();
4131
+ this.$$set({ showbackbutton: t }), O();
4157
4132
  }
4158
4133
  get title() {
4159
4134
  return this.$$.ctx[10];
4160
4135
  }
4161
4136
  set title(t) {
4162
- this.$$set({ title: t }), C();
4137
+ this.$$set({ title: t }), O();
4163
4138
  }
4164
4139
  get lang() {
4165
4140
  return this.$$.ctx[11];
4166
4141
  }
4167
4142
  set lang(t) {
4168
- this.$$set({ lang: t }), C();
4143
+ this.$$set({ lang: t }), O();
4169
4144
  }
4170
4145
  }
4171
- Cr(rr, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {} }, ["leftButton", "title", "rightButton"], [], !0);
4172
- const Ri = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4146
+ wr(rr, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {} }, ["leftButton", "title", "rightButton"], [], !0);
4147
+ const Ii = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4173
4148
  __proto__: null,
4174
4149
  default: rr
4175
4150
  }, Symbol.toStringTag, { value: "Module" }));
4176
4151
  export {
4177
4152
  M as $,
4178
- Ri as C,
4179
- Or as S,
4153
+ Ii as C,
4154
+ Ar as S,
4180
4155
  Jt as a,
4181
- Ar as b,
4182
- Cr as c,
4156
+ Sr as b,
4157
+ wr as c,
4183
4158
  fr as d,
4184
4159
  W as e,
4185
- C as f,
4160
+ O as f,
4186
4161
  nt as g,
4187
- Mi as h,
4188
- ei as i,
4189
- Ii as j,
4162
+ Ni as h,
4163
+ Yn as i,
4164
+ Li as j,
4190
4165
  Z as k,
4191
4166
  z as l,
4192
- pe as m,
4193
- Ct as n,
4167
+ me as m,
4168
+ Ot as n,
4194
4169
  B as o,
4195
4170
  I as p,
4196
- $i as q,
4197
- Me as r,
4198
- wt as s
4171
+ Ie as q,
4172
+ St as s
4199
4173
  };