@everymatrix/cashier-iframe-redirect 1.74.8 → 1.74.10

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,35 +1,35 @@
1
- var or = Object.defineProperty, ar = Object.defineProperties;
2
- var ur = Object.getOwnPropertyDescriptors;
3
- var Je = 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, Ye = (e, t) => {
1
+ var sr = Object.defineProperty, or = Object.defineProperties;
2
+ var ar = Object.getOwnPropertyDescriptors;
3
+ var qe = Object.getOwnPropertySymbols;
4
+ var ur = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable;
5
+ var xe = (e, t, r) => t in e ? sr(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
- hr.call(t, r) && xe(e, r, t[r]);
8
- if (Je)
9
- for (var r of Je(t))
10
- lr.call(t, r) && xe(e, r, t[r]);
7
+ ur.call(t, r) && xe(e, r, t[r]);
8
+ if (qe)
9
+ for (var r of qe(t))
10
+ hr.call(t, r) && xe(e, r, t[r]);
11
11
  return e;
12
- }, Ke = (e, t) => ar(e, ur(t));
12
+ }, Ye = (e, t) => or(e, ar(t));
13
13
  var B = (e, t, r) => (xe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var et = (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
- o(r.next(l));
17
+ a(r.next(l));
18
18
  } catch (u) {
19
19
  i(u);
20
20
  }
21
- }, a = (l) => {
21
+ }, o = (l) => {
22
22
  try {
23
- o(r.throw(l));
23
+ a(r.throw(l));
24
24
  } catch (u) {
25
25
  i(u);
26
26
  }
27
- }, o = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, a);
28
- o((r = r.apply(e, t)).next());
27
+ }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, o);
28
+ a((r = r.apply(e, t)).next());
29
29
  });
30
30
  function T() {
31
31
  }
32
- function fr(e, t) {
32
+ function lr(e, t) {
33
33
  for (const r in t)
34
34
  e[r] = t[r];
35
35
  return (
@@ -37,29 +37,29 @@ function fr(e, t) {
37
37
  e
38
38
  );
39
39
  }
40
- function Tt(e) {
40
+ function Bt(e) {
41
41
  return e();
42
42
  }
43
- function tt() {
43
+ function et() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
46
  function te(e) {
47
- e.forEach(Tt);
47
+ e.forEach(Bt);
48
48
  }
49
49
  function Ve(e) {
50
50
  return typeof e == "function";
51
51
  }
52
- function wt(e, t) {
52
+ function Tt(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
55
  let se;
56
56
  function Di(e, t) {
57
57
  return e === t ? !0 : (se || (se = document.createElement("a")), se.href = t, e === se.href);
58
58
  }
59
- function cr(e) {
59
+ function fr(e) {
60
60
  return Object.keys(e).length === 0;
61
61
  }
62
- function St(e, ...t) {
62
+ function wt(e, ...t) {
63
63
  if (e == null) {
64
64
  for (const n of t)
65
65
  n(void 0);
@@ -68,17 +68,17 @@ function St(e, ...t) {
68
68
  const r = e.subscribe(...t);
69
69
  return r.unsubscribe ? () => r.unsubscribe() : r;
70
70
  }
71
- function mr(e, t, r) {
72
- e.$$.on_destroy.push(St(t, r));
71
+ function cr(e, t, r) {
72
+ e.$$.on_destroy.push(wt(t, r));
73
73
  }
74
74
  function Ee(e, t, r, n) {
75
75
  if (e) {
76
- const i = At(e, t, r, n);
76
+ const i = St(e, t, r, n);
77
77
  return e[0](i);
78
78
  }
79
79
  }
80
- function At(e, t, r, n) {
81
- return e[1] && n ? fr(r.ctx.slice(), e[1](n(t))) : r.ctx;
80
+ function St(e, t, r, n) {
81
+ return e[1] && n ? lr(r.ctx.slice(), e[1](n(t))) : r.ctx;
82
82
  }
83
83
  function ve(e, t, r, n) {
84
84
  if (e[2] && n) {
@@ -86,9 +86,9 @@ function ve(e, t, r, n) {
86
86
  if (t.dirty === void 0)
87
87
  return i;
88
88
  if (typeof i == "object") {
89
- const s = [], a = Math.max(t.dirty.length, i.length);
90
- for (let o = 0; o < a; o += 1)
91
- s[o] = t.dirty[o] | i[o];
89
+ const s = [], o = Math.max(t.dirty.length, i.length);
90
+ for (let a = 0; a < o; a += 1)
91
+ s[a] = t.dirty[a] | i[a];
92
92
  return s;
93
93
  }
94
94
  return t.dirty | i;
@@ -97,8 +97,8 @@ function ve(e, t, r, n) {
97
97
  }
98
98
  function He(e, t, r, n, i, s) {
99
99
  if (i) {
100
- const a = At(t, r, n, s);
101
- e.p(a, i);
100
+ const o = St(t, r, n, s);
101
+ e.p(o, i);
102
102
  }
103
103
  }
104
104
  function Be(e) {
@@ -113,14 +113,14 @@ function Be(e) {
113
113
  function ce(e, t) {
114
114
  e.appendChild(t);
115
115
  }
116
- function dr(e, t, r) {
117
- const n = br(e);
116
+ function mr(e, t, r) {
117
+ const n = dr(e);
118
118
  if (!n.getElementById(t)) {
119
119
  const i = X("style");
120
- i.id = t, i.textContent = r, pr(n, i);
120
+ i.id = t, i.textContent = r, br(n, i);
121
121
  }
122
122
  }
123
- function br(e) {
123
+ function dr(e) {
124
124
  if (!e)
125
125
  return document;
126
126
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -130,7 +130,7 @@ function br(e) {
130
130
  t
131
131
  ) : e.ownerDocument;
132
132
  }
133
- function pr(e, t) {
133
+ function br(e, t) {
134
134
  return ce(
135
135
  /** @type {Document} */
136
136
  e.head || e,
@@ -149,13 +149,13 @@ function X(e) {
149
149
  function Xe(e) {
150
150
  return document.createTextNode(e);
151
151
  }
152
- function rt() {
152
+ function tt() {
153
153
  return Xe(" ");
154
154
  }
155
- function Ot() {
155
+ function At() {
156
156
  return Xe("");
157
157
  }
158
- function Ct(e, t, r, n) {
158
+ function Ot(e, t, r, n) {
159
159
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
160
160
  }
161
161
  function z(e, t, r) {
@@ -165,14 +165,14 @@ function Gi(e, t, r) {
165
165
  const n = t.toLowerCase();
166
166
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : z(e, t, r);
167
167
  }
168
- function gr(e) {
168
+ function pr(e) {
169
169
  return Array.from(e.childNodes);
170
170
  }
171
- function _r(e, t) {
171
+ function gr(e, t) {
172
172
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
173
173
  t);
174
174
  }
175
- function yr(e) {
175
+ function _r(e) {
176
176
  const t = {};
177
177
  return e.childNodes.forEach(
178
178
  /** @param {Element} node */
@@ -185,20 +185,20 @@ let Y;
185
185
  function J(e) {
186
186
  Y = e;
187
187
  }
188
- function xr() {
188
+ function yr() {
189
189
  if (!Y)
190
190
  throw new Error("Function called outside component initialization");
191
191
  return Y;
192
192
  }
193
- function Er(e) {
194
- xr().$$.on_mount.push(e);
193
+ function xr(e) {
194
+ yr().$$.on_mount.push(e);
195
195
  }
196
196
  const D = [], Ne = [];
197
197
  let G = [];
198
- const nt = [], vr = /* @__PURE__ */ Promise.resolve();
198
+ const rt = [], Er = /* @__PURE__ */ Promise.resolve();
199
199
  let Ie = !1;
200
- function Hr() {
201
- Ie || (Ie = !0, vr.then(w));
200
+ function vr() {
201
+ Ie || (Ie = !0, Er.then(w));
202
202
  }
203
203
  function Me(e) {
204
204
  G.push(e);
@@ -213,7 +213,7 @@ function w() {
213
213
  try {
214
214
  for (; R < D.length; ) {
215
215
  const t = D[R];
216
- R++, J(t), Br(t.$$);
216
+ R++, J(t), Hr(t.$$);
217
217
  }
218
218
  } catch (t) {
219
219
  throw D.length = 0, R = 0, t;
@@ -226,23 +226,23 @@ function w() {
226
226
  }
227
227
  G.length = 0;
228
228
  } while (D.length);
229
- for (; nt.length; )
230
- nt.pop()();
229
+ for (; rt.length; )
230
+ rt.pop()();
231
231
  Ie = !1, Te.clear(), J(e);
232
232
  }
233
- function Br(e) {
233
+ function Hr(e) {
234
234
  if (e.fragment !== null) {
235
235
  e.update(), te(e.before_update);
236
236
  const t = e.dirty;
237
237
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
238
238
  }
239
239
  }
240
- function Tr(e) {
240
+ function Br(e) {
241
241
  const t = [], r = [];
242
242
  G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
243
243
  }
244
244
  const ae = /* @__PURE__ */ new Set();
245
- let wr;
245
+ let Tr;
246
246
  function ue(e, t) {
247
247
  e && e.i && (ae.delete(e), e.i(t));
248
248
  }
@@ -250,26 +250,26 @@ function we(e, t, r, n) {
250
250
  if (e && e.o) {
251
251
  if (ae.has(e))
252
252
  return;
253
- ae.add(e), wr.c.push(() => {
253
+ ae.add(e), Tr.c.push(() => {
254
254
  ae.delete(e);
255
255
  }), e.o(t);
256
256
  }
257
257
  }
258
- function Sr(e, t, r) {
258
+ function wr(e, t, r) {
259
259
  const { fragment: n, after_update: i } = e.$$;
260
260
  n && n.m(t, r), Me(() => {
261
- const s = e.$$.on_mount.map(Tt).filter(Ve);
261
+ const s = e.$$.on_mount.map(Bt).filter(Ve);
262
262
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
263
263
  }), i.forEach(Me);
264
264
  }
265
- function Ar(e, t) {
265
+ function Sr(e, t) {
266
266
  const r = e.$$;
267
- r.fragment !== null && (Tr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
267
+ r.fragment !== null && (Br(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
268
268
  }
269
- function Or(e, t) {
270
- e.$$.dirty[0] === -1 && (D.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
269
+ function Ar(e, t) {
270
+ e.$$.dirty[0] === -1 && (D.push(e), vr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
271
271
  }
272
- function Cr(e, t, r, n, i, s, a = null, o = [-1]) {
272
+ function Or(e, t, r, n, i, s, o = null, a = [-1]) {
273
273
  const l = Y;
274
274
  J(e);
275
275
  const u = e.$$ = {
@@ -279,7 +279,7 @@ function Cr(e, t, r, n, i, s, a = null, o = [-1]) {
279
279
  props: s,
280
280
  update: T,
281
281
  not_equal: i,
282
- bound: tt(),
282
+ bound: et(),
283
283
  // lifecycle
284
284
  on_mount: [],
285
285
  on_destroy: [],
@@ -288,28 +288,28 @@ function Cr(e, t, r, n, i, s, a = null, o = [-1]) {
288
288
  after_update: [],
289
289
  context: new Map(t.context || (l ? l.$$.context : [])),
290
290
  // everything else
291
- callbacks: tt(),
292
- dirty: o,
291
+ callbacks: et(),
292
+ dirty: a,
293
293
  skip_bound: !1,
294
294
  root: t.target || l.$$.root
295
295
  };
296
- a && a(u.root);
296
+ o && o(u.root);
297
297
  let h = !1;
298
298
  if (u.ctx = r ? r(e, t.props || {}, (c, m, ...d) => {
299
299
  const f = d.length ? d[0] : m;
300
- return u.ctx && i(u.ctx[c], u.ctx[c] = f) && (!u.skip_bound && u.bound[c] && u.bound[c](f), h && Or(e, c)), m;
300
+ return u.ctx && i(u.ctx[c], u.ctx[c] = f) && (!u.skip_bound && u.bound[c] && u.bound[c](f), h && Ar(e, c)), m;
301
301
  }) : [], u.update(), h = !0, te(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
302
302
  if (t.hydrate) {
303
- const c = gr(t.target);
303
+ const c = pr(t.target);
304
304
  u.fragment && u.fragment.l(c), c.forEach(P);
305
305
  } else
306
306
  u.fragment && u.fragment.c();
307
- t.intro && ue(e.$$.fragment), Sr(e, t.target, t.anchor), w();
307
+ t.intro && ue(e.$$.fragment), wr(e, t.target, t.anchor), w();
308
308
  }
309
309
  J(l);
310
310
  }
311
- let Pt;
312
- typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
311
+ let Ct;
312
+ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
313
313
  constructor(t, r, n) {
314
314
  super();
315
315
  /** The Svelte component constructor */
@@ -346,42 +346,42 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
346
346
  }
347
347
  }
348
348
  connectedCallback() {
349
- return et(this, null, function* () {
349
+ return Ke(this, null, function* () {
350
350
  if (this.$$cn = !0, !this.$$c) {
351
351
  let t = function(s) {
352
352
  return () => {
353
- let a;
353
+ let o;
354
354
  return {
355
355
  c: function() {
356
- a = X("slot"), s !== "default" && z(a, "name", s);
356
+ o = X("slot"), s !== "default" && z(o, "name", s);
357
357
  },
358
358
  /**
359
359
  * @param {HTMLElement} target
360
360
  * @param {HTMLElement} [anchor]
361
361
  */
362
362
  m: function(u, h) {
363
- I(u, a, h);
363
+ I(u, o, h);
364
364
  },
365
365
  d: function(u) {
366
- u && P(a);
366
+ u && P(o);
367
367
  }
368
368
  };
369
369
  };
370
370
  };
371
371
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
372
372
  return;
373
- const r = {}, n = yr(this);
373
+ const r = {}, n = _r(this);
374
374
  for (const s of this.$$s)
375
375
  s in n && (r[s] = [t(s)]);
376
376
  for (const s of this.attributes) {
377
- const a = this.$$g_p(s.name);
378
- a in this.$$d || (this.$$d[a] = he(a, s.value, this.$$p_d, "toProp"));
377
+ const o = this.$$g_p(s.name);
378
+ o in this.$$d || (this.$$d[o] = he(o, s.value, this.$$p_d, "toProp"));
379
379
  }
380
380
  for (const s in this.$$p_d)
381
381
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
382
382
  this.$$c = new this.$$ctor({
383
383
  target: this.shadowRoot || this,
384
- props: Ke(Ye({}, this.$$d), {
384
+ props: Ye(Je({}, this.$$d), {
385
385
  $$slots: r,
386
386
  $$scope: {
387
387
  ctx: []
@@ -392,21 +392,21 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
392
392
  this.$$r = !0;
393
393
  for (const s in this.$$p_d)
394
394
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
395
- const a = he(
395
+ const o = he(
396
396
  s,
397
397
  this.$$d[s],
398
398
  this.$$p_d,
399
399
  "toAttribute"
400
400
  );
401
- a == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, a);
401
+ o == null ? this.removeAttribute(this.$$p_d[s].attribute || s) : this.setAttribute(this.$$p_d[s].attribute || s, o);
402
402
  }
403
403
  this.$$r = !1;
404
404
  };
405
405
  this.$$c.$$.after_update.push(i), i();
406
406
  for (const s in this.$$l)
407
- for (const a of this.$$l[s]) {
408
- const o = this.$$c.$on(s, a);
409
- this.$$l_u.set(a, o);
407
+ for (const o of this.$$l[s]) {
408
+ const a = this.$$c.$on(s, o);
409
+ this.$$l_u.set(o, a);
410
410
  }
411
411
  this.$$l = {};
412
412
  }
@@ -459,38 +459,38 @@ function he(e, t, r, n) {
459
459
  return t;
460
460
  }
461
461
  }
462
- function Pr(e, t, r, n, i, s) {
463
- let a = class extends Pt {
462
+ function Cr(e, t, r, n, i, s) {
463
+ let o = class extends Ct {
464
464
  constructor() {
465
465
  super(e, r, i), this.$$p_d = t;
466
466
  }
467
467
  static get observedAttributes() {
468
468
  return Object.keys(t).map(
469
- (o) => (t[o].attribute || o).toLowerCase()
469
+ (a) => (t[a].attribute || a).toLowerCase()
470
470
  );
471
471
  }
472
472
  };
473
- return Object.keys(t).forEach((o) => {
474
- Object.defineProperty(a.prototype, o, {
473
+ return Object.keys(t).forEach((a) => {
474
+ Object.defineProperty(o.prototype, a, {
475
475
  get() {
476
- return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
476
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
477
477
  },
478
478
  set(l) {
479
479
  var u;
480
- l = he(o, l, t), this.$$d[o] = l, (u = this.$$c) == null || u.$set({ [o]: l });
480
+ l = he(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
481
481
  }
482
482
  });
483
- }), n.forEach((o) => {
484
- Object.defineProperty(a.prototype, o, {
483
+ }), n.forEach((a) => {
484
+ Object.defineProperty(o.prototype, a, {
485
485
  get() {
486
486
  var l;
487
- return (l = this.$$c) == null ? void 0 : l[o];
487
+ return (l = this.$$c) == null ? void 0 : l[a];
488
488
  }
489
489
  });
490
490
  }), e.element = /** @type {any} */
491
- a, a;
491
+ o, o;
492
492
  }
493
- class Lr {
493
+ class Pr {
494
494
  constructor() {
495
495
  /**
496
496
  * ### PRIVATE API
@@ -511,7 +511,7 @@ class Lr {
511
511
  }
512
512
  /** @returns {void} */
513
513
  $destroy() {
514
- Ar(this, 1), this.$destroy = T;
514
+ Sr(this, 1), this.$destroy = T;
515
515
  }
516
516
  /**
517
517
  * @template {Extract<keyof Events, string>} K
@@ -533,13 +533,13 @@ class Lr {
533
533
  * @returns {void}
534
534
  */
535
535
  $set(t) {
536
- this.$$set && !cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
536
+ this.$$set && !fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
537
537
  }
538
538
  }
539
- const Nr = "4";
540
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
539
+ const Lr = "4";
540
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Lr);
541
541
  const U = [];
542
- function Ir(e, t) {
542
+ function Nr(e, t) {
543
543
  return {
544
544
  subscribe: pe(e, t).subscribe
545
545
  };
@@ -547,8 +547,8 @@ function Ir(e, t) {
547
547
  function pe(e, t = T) {
548
548
  let r;
549
549
  const n = /* @__PURE__ */ new Set();
550
- function i(o) {
551
- if (wt(e, o) && (e = o, r)) {
550
+ function i(a) {
551
+ if (Tt(e, a) && (e = a, r)) {
552
552
  const l = !U.length;
553
553
  for (const u of n)
554
554
  u[1](), U.push(u, e);
@@ -559,23 +559,23 @@ function pe(e, t = T) {
559
559
  }
560
560
  }
561
561
  }
562
- function s(o) {
563
- i(o(e));
562
+ function s(a) {
563
+ i(a(e));
564
564
  }
565
- function a(o, l = T) {
566
- const u = [o, l];
567
- return n.add(u), n.size === 1 && (r = t(i, s) || T), o(e), () => {
565
+ function o(a, l = T) {
566
+ const u = [a, l];
567
+ return n.add(u), n.size === 1 && (r = t(i, s) || T), a(e), () => {
568
568
  n.delete(u), n.size === 0 && r && (r(), r = null);
569
569
  };
570
570
  }
571
- return { set: i, update: s, subscribe: a };
571
+ return { set: i, update: s, subscribe: o };
572
572
  }
573
573
  function W(e, t, r) {
574
574
  const n = !Array.isArray(e), i = n ? [e] : e;
575
575
  if (!i.every(Boolean))
576
576
  throw new Error("derived() expects stores as input, got a falsy value");
577
577
  const s = t.length < 2;
578
- return Ir(r, (a, o) => {
578
+ return Nr(r, (o, a) => {
579
579
  let l = !1;
580
580
  const u = [];
581
581
  let h = 0, c = T;
@@ -583,10 +583,10 @@ function W(e, t, r) {
583
583
  if (h)
584
584
  return;
585
585
  c();
586
- const f = t(n ? u[0] : u, a, o);
587
- s ? a(f) : c = Ve(f) ? f : T;
586
+ const f = t(n ? u[0] : u, o, a);
587
+ s ? o(f) : c = Ve(f) ? f : T;
588
588
  }, d = i.map(
589
- (f, _) => St(
589
+ (f, _) => wt(
590
590
  f,
591
591
  (v) => {
592
592
  u[_] = v, h &= ~(1 << _), l && m();
@@ -601,70 +601,70 @@ function W(e, t, r) {
601
601
  };
602
602
  });
603
603
  }
604
- function Mr(e) {
605
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
604
+ function Ir(e) {
605
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
606
606
  }
607
- var $r = function(t) {
608
- return Rr(t) && !Ur(t);
607
+ var Mr = function(t) {
608
+ return $r(t) && !Rr(t);
609
609
  };
610
- function Rr(e) {
610
+ function $r(e) {
611
611
  return !!e && typeof e == "object";
612
612
  }
613
- function Ur(e) {
613
+ function Rr(e) {
614
614
  var t = Object.prototype.toString.call(e);
615
- return t === "[object RegExp]" || t === "[object Date]" || Fr(e);
615
+ return t === "[object RegExp]" || t === "[object Date]" || Gr(e);
616
616
  }
617
- var Dr = typeof Symbol == "function" && Symbol.for, Gr = Dr ? Symbol.for("react.element") : 60103;
618
- function Fr(e) {
619
- return e.$$typeof === Gr;
617
+ var Ur = typeof Symbol == "function" && Symbol.for, Dr = Ur ? Symbol.for("react.element") : 60103;
618
+ function Gr(e) {
619
+ return e.$$typeof === Dr;
620
620
  }
621
- function jr(e) {
621
+ function Fr(e) {
622
622
  return Array.isArray(e) ? [] : {};
623
623
  }
624
624
  function K(e, t) {
625
- return t.clone !== !1 && t.isMergeableObject(e) ? F(jr(e), e, t) : e;
625
+ return t.clone !== !1 && t.isMergeableObject(e) ? F(Fr(e), e, t) : e;
626
626
  }
627
- function kr(e, t, r) {
627
+ function jr(e, t, r) {
628
628
  return e.concat(t).map(function(n) {
629
629
  return K(n, r);
630
630
  });
631
631
  }
632
- function Vr(e, t) {
632
+ function kr(e, t) {
633
633
  if (!t.customMerge)
634
634
  return F;
635
635
  var r = t.customMerge(e);
636
636
  return typeof r == "function" ? r : F;
637
637
  }
638
- function Xr(e) {
638
+ function Vr(e) {
639
639
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
640
640
  return Object.propertyIsEnumerable.call(e, t);
641
641
  }) : [];
642
642
  }
643
- function it(e) {
644
- return Object.keys(e).concat(Xr(e));
643
+ function nt(e) {
644
+ return Object.keys(e).concat(Vr(e));
645
645
  }
646
- function Lt(e, t) {
646
+ function Pt(e, t) {
647
647
  try {
648
648
  return t in e;
649
649
  } catch (r) {
650
650
  return !1;
651
651
  }
652
652
  }
653
- function zr(e, t) {
654
- return Lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
653
+ function Xr(e, t) {
654
+ return Pt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
655
655
  }
656
- function Wr(e, t, r) {
656
+ function zr(e, t, r) {
657
657
  var n = {};
658
- return r.isMergeableObject(e) && it(e).forEach(function(i) {
658
+ return r.isMergeableObject(e) && nt(e).forEach(function(i) {
659
659
  n[i] = K(e[i], r);
660
- }), it(t).forEach(function(i) {
661
- zr(e, i) || (Lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Vr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
660
+ }), nt(t).forEach(function(i) {
661
+ Xr(e, i) || (Pt(e, i) && r.isMergeableObject(t[i]) ? n[i] = kr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
662
662
  }), n;
663
663
  }
664
664
  function F(e, t, r) {
665
- r = r || {}, r.arrayMerge = r.arrayMerge || kr, r.isMergeableObject = r.isMergeableObject || $r, r.cloneUnlessOtherwiseSpecified = K;
665
+ r = r || {}, r.arrayMerge = r.arrayMerge || jr, r.isMergeableObject = r.isMergeableObject || Mr, r.cloneUnlessOtherwiseSpecified = K;
666
666
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
667
- return s ? n ? r.arrayMerge(e, t, r) : Wr(e, t, r) : K(t, r);
667
+ return s ? n ? r.arrayMerge(e, t, r) : zr(e, t, r) : K(t, r);
668
668
  }
669
669
  F.all = function(t, r) {
670
670
  if (!Array.isArray(t))
@@ -673,8 +673,8 @@ F.all = function(t, r) {
673
673
  return F(n, i, r);
674
674
  }, {});
675
675
  };
676
- var Zr = F, Qr = Zr;
677
- const qr = /* @__PURE__ */ Mr(Qr);
676
+ var Wr = F, Zr = Wr;
677
+ const Qr = /* @__PURE__ */ Ir(Zr);
678
678
  /*! *****************************************************************************
679
679
  Copyright (c) Microsoft Corporation.
680
680
 
@@ -716,7 +716,7 @@ var y = function() {
716
716
  return t;
717
717
  }, y.apply(this, arguments);
718
718
  };
719
- function Jr(e, t) {
719
+ function qr(e, t) {
720
720
  var r = {};
721
721
  for (var n in e)
722
722
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -732,55 +732,57 @@ function Se(e, t, r) {
732
732
  return e.concat(s || t);
733
733
  }
734
734
  function Ae(e, t) {
735
- var r = t && t.cache ? t.cache : nn, n = t && t.serializer ? t.serializer : rn, i = t && t.strategy ? t.strategy : Kr;
735
+ var r = t && t.cache ? t.cache : nn, n = t && t.serializer ? t.serializer : tn, i = t && t.strategy ? t.strategy : Yr;
736
736
  return i(e, {
737
737
  cache: r,
738
738
  serializer: n
739
739
  });
740
740
  }
741
- function Yr(e) {
741
+ function Jr(e) {
742
742
  return e == null || typeof e == "number" || typeof e == "boolean";
743
743
  }
744
- function Nt(e, t, r, n) {
745
- var i = Yr(n) ? n : r(n), s = t.get(i);
744
+ function Lt(e, t, r, n) {
745
+ var i = Jr(n) ? n : r(n), s = t.get(i);
746
746
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
747
747
  }
748
- function It(e, t, r) {
748
+ function Nt(e, t, r) {
749
749
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
750
750
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
751
751
  }
752
752
  function ze(e, t, r, n, i) {
753
753
  return r.bind(t, e, n, i);
754
754
  }
755
- function Kr(e, t) {
756
- var r = e.length === 1 ? Nt : It;
755
+ function Yr(e, t) {
756
+ var r = e.length === 1 ? Lt : Nt;
757
757
  return ze(e, this, r, t.cache.create(), t.serializer);
758
758
  }
759
- function en(e, t) {
760
- return ze(e, this, It, t.cache.create(), t.serializer);
761
- }
762
- function tn(e, t) {
759
+ function Kr(e, t) {
763
760
  return ze(e, this, Nt, t.cache.create(), t.serializer);
764
761
  }
765
- var rn = function() {
766
- return JSON.stringify(arguments);
767
- };
768
- function We() {
769
- this.cache = /* @__PURE__ */ Object.create(null);
762
+ function en(e, t) {
763
+ return ze(e, this, Lt, t.cache.create(), t.serializer);
770
764
  }
771
- We.prototype.get = function(e) {
772
- return this.cache[e];
773
- };
774
- We.prototype.set = function(e, t) {
775
- this.cache[e] = t;
776
- };
777
- var nn = {
765
+ var tn = function() {
766
+ return JSON.stringify(arguments);
767
+ }, rn = (
768
+ /** @class */
769
+ function() {
770
+ function e() {
771
+ this.cache = /* @__PURE__ */ Object.create(null);
772
+ }
773
+ return e.prototype.get = function(t) {
774
+ return this.cache[t];
775
+ }, e.prototype.set = function(t, r) {
776
+ this.cache[t] = r;
777
+ }, e;
778
+ }()
779
+ ), nn = {
778
780
  create: function() {
779
- return new We();
781
+ return new rn();
780
782
  }
781
783
  }, Oe = {
782
- variadic: en,
783
- monadic: tn
784
+ variadic: Kr,
785
+ monadic: en
784
786
  }, b;
785
787
  (function(e) {
786
788
  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";
@@ -793,40 +795,40 @@ var j;
793
795
  (function(e) {
794
796
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
795
797
  })(j || (j = {}));
796
- function st(e) {
798
+ function it(e) {
797
799
  return e.type === x.literal;
798
800
  }
799
801
  function sn(e) {
800
802
  return e.type === x.argument;
801
803
  }
802
- function Mt(e) {
804
+ function It(e) {
803
805
  return e.type === x.number;
804
806
  }
805
- function $t(e) {
807
+ function Mt(e) {
806
808
  return e.type === x.date;
807
809
  }
808
- function Rt(e) {
810
+ function $t(e) {
809
811
  return e.type === x.time;
810
812
  }
811
- function Ut(e) {
813
+ function Rt(e) {
812
814
  return e.type === x.select;
813
815
  }
814
- function Dt(e) {
816
+ function Ut(e) {
815
817
  return e.type === x.plural;
816
818
  }
817
819
  function on(e) {
818
820
  return e.type === x.pound;
819
821
  }
820
- function Gt(e) {
822
+ function Dt(e) {
821
823
  return e.type === x.tag;
822
824
  }
823
- function Ft(e) {
825
+ function Gt(e) {
824
826
  return !!(e && typeof e == "object" && e.type === j.number);
825
827
  }
826
828
  function Re(e) {
827
829
  return !!(e && typeof e == "object" && e.type === j.dateTime);
828
830
  }
829
- var jt = /[ \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;
831
+ var Ft = /[ \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;
830
832
  function un(e) {
831
833
  var t = {};
832
834
  return e.replace(an, function(r) {
@@ -925,29 +927,29 @@ function ln(e) {
925
927
  for (var t = e.split(hn).filter(function(m) {
926
928
  return m.length > 0;
927
929
  }), r = [], n = 0, i = t; n < i.length; n++) {
928
- var s = i[n], a = s.split("/");
929
- if (a.length === 0)
930
+ var s = i[n], o = s.split("/");
931
+ if (o.length === 0)
930
932
  throw new Error("Invalid number skeleton");
931
- for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
933
+ for (var a = o[0], l = o.slice(1), u = 0, h = l; u < h.length; u++) {
932
934
  var c = h[u];
933
935
  if (c.length === 0)
934
936
  throw new Error("Invalid number skeleton");
935
937
  }
936
- r.push({ stem: o, options: l });
938
+ r.push({ stem: a, options: l });
937
939
  }
938
940
  return r;
939
941
  }
940
942
  function fn(e) {
941
943
  return e.replace(/^(.*?)-/, "");
942
944
  }
943
- var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kt = /^(@+)?(\+|#+)?[rs]?$/g, cn = /(\*)(0+)|(#+)(0+)|(0+)/g, Vt = /^(0+)$/;
944
- function at(e) {
945
+ var st = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, cn = /(\*)(0+)|(#+)(0+)|(0+)/g, kt = /^(0+)$/;
946
+ function ot(e) {
945
947
  var t = {};
946
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kt, function(r, n, i) {
948
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
947
949
  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)), "";
948
950
  }), t;
949
951
  }
950
- function Xt(e) {
952
+ function Vt(e) {
951
953
  switch (e) {
952
954
  case "sign-auto":
953
955
  return {
@@ -995,14 +997,14 @@ function mn(e) {
995
997
  notation: "scientific"
996
998
  }, e = e.slice(1)), t) {
997
999
  var r = e.slice(0, 2);
998
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Vt.test(e))
1000
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kt.test(e))
999
1001
  throw new Error("Malformed concise eng/scientific notation");
1000
1002
  t.minimumIntegerDigits = e.length;
1001
1003
  }
1002
1004
  return t;
1003
1005
  }
1004
- function ut(e) {
1005
- var t = {}, r = Xt(e);
1006
+ function at(e) {
1007
+ var t = {}, r = Vt(e);
1006
1008
  return r || t;
1007
1009
  }
1008
1010
  function dn(e) {
@@ -1041,12 +1043,12 @@ function dn(e) {
1041
1043
  continue;
1042
1044
  case "scientific":
1043
1045
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1044
- return y(y({}, l), ut(u));
1046
+ return y(y({}, l), at(u));
1045
1047
  }, {}));
1046
1048
  continue;
1047
1049
  case "engineering":
1048
1050
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1049
- return y(y({}, l), ut(u));
1051
+ return y(y({}, l), at(u));
1050
1052
  }, {}));
1051
1053
  continue;
1052
1054
  case "notation-simple":
@@ -1104,28 +1106,28 @@ function dn(e) {
1104
1106
  });
1105
1107
  continue;
1106
1108
  }
1107
- if (Vt.test(i.stem)) {
1109
+ if (kt.test(i.stem)) {
1108
1110
  t.minimumIntegerDigits = i.stem.length;
1109
1111
  continue;
1110
1112
  }
1111
- if (ot.test(i.stem)) {
1113
+ if (st.test(i.stem)) {
1112
1114
  if (i.options.length > 1)
1113
1115
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1114
- i.stem.replace(ot, function(l, u, h, c, m, d) {
1116
+ i.stem.replace(st, function(l, u, h, c, m, d) {
1115
1117
  return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && d ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1116
1118
  });
1117
1119
  var s = i.options[0];
1118
- s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), at(s)));
1120
+ s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), ot(s)));
1119
1121
  continue;
1120
1122
  }
1121
- if (kt.test(i.stem)) {
1122
- t = y(y({}, t), at(i.stem));
1123
+ if (jt.test(i.stem)) {
1124
+ t = y(y({}, t), ot(i.stem));
1123
1125
  continue;
1124
1126
  }
1125
- var a = Xt(i.stem);
1126
- a && (t = y(y({}, t), a));
1127
- var o = mn(i.stem);
1127
+ var o = Vt(i.stem);
1128
1128
  o && (t = y(y({}, t), o));
1129
+ var a = mn(i.stem);
1130
+ a && (t = y(y({}, t), a));
1129
1131
  }
1130
1132
  return t;
1131
1133
  }
@@ -2550,10 +2552,10 @@ function bn(e, t) {
2550
2552
  if (i === "j") {
2551
2553
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2552
2554
  s++, n++;
2553
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = pn(t);
2554
- for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2555
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = pn(t);
2556
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2555
2557
  r += l;
2556
- for (; a-- > 0; )
2558
+ for (; o-- > 0; )
2557
2559
  r = u + r;
2558
2560
  } else
2559
2561
  i === "J" ? r += "H" : r += i;
@@ -2582,7 +2584,7 @@ function pn(e) {
2582
2584
  var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
2583
2585
  return i[0];
2584
2586
  }
2585
- var Ce, gn = new RegExp("^".concat(jt.source, "*")), _n = new RegExp("".concat(jt.source, "*$"));
2587
+ var Ce, gn = new RegExp("^".concat(Ft.source, "*")), _n = new RegExp("".concat(Ft.source, "*$"));
2586
2588
  function p(e, t) {
2587
2589
  return { start: e, end: t };
2588
2590
  }
@@ -2590,12 +2592,12 @@ var yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), xn = !!String
2590
2592
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2591
2593
  }, Ue = !0;
2592
2594
  try {
2593
- var Sn = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2595
+ var Sn = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2594
2596
  Ue = ((Ce = Sn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2595
2597
  } catch (e) {
2596
2598
  Ue = !1;
2597
2599
  }
2598
- var ht = yn ? (
2600
+ var ut = yn ? (
2599
2601
  // Native
2600
2602
  function(t, r, n) {
2601
2603
  return t.startsWith(r, n);
@@ -2610,26 +2612,26 @@ var ht = yn ? (
2610
2612
  function() {
2611
2613
  for (var t = [], r = 0; r < arguments.length; r++)
2612
2614
  t[r] = arguments[r];
2613
- for (var n = "", i = t.length, s = 0, a; i > s; ) {
2614
- if (a = t[s++], a > 1114111)
2615
- throw RangeError(a + " is not a valid code point");
2616
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2615
+ for (var n = "", i = t.length, s = 0, o; i > s; ) {
2616
+ if (o = t[s++], o > 1114111)
2617
+ throw RangeError(o + " is not a valid code point");
2618
+ n += o < 65536 ? String.fromCharCode(o) : String.fromCharCode(((o -= 65536) >> 10) + 55296, o % 1024 + 56320);
2617
2619
  }
2618
2620
  return n;
2619
2621
  }
2620
- ), lt = (
2622
+ ), ht = (
2621
2623
  // native
2622
2624
  En ? Object.fromEntries : (
2623
2625
  // Ponyfill
2624
2626
  function(t) {
2625
2627
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2626
- var s = i[n], a = s[0], o = s[1];
2627
- r[a] = o;
2628
+ var s = i[n], o = s[0], a = s[1];
2629
+ r[o] = a;
2628
2630
  }
2629
2631
  return r;
2630
2632
  }
2631
2633
  )
2632
- ), zt = vn ? (
2634
+ ), Xt = vn ? (
2633
2635
  // Native
2634
2636
  function(t, r) {
2635
2637
  return t.codePointAt(r);
@@ -2664,23 +2666,23 @@ var ht = yn ? (
2664
2666
  return t.replace(_n, "");
2665
2667
  }
2666
2668
  );
2667
- function Wt(e, t) {
2669
+ function zt(e, t) {
2668
2670
  return new RegExp(e, t);
2669
2671
  }
2670
2672
  var Ge;
2671
2673
  if (Ue) {
2672
- var ft = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2674
+ var lt = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2673
2675
  Ge = function(t, r) {
2674
2676
  var n;
2675
- ft.lastIndex = r;
2676
- var i = ft.exec(t);
2677
+ lt.lastIndex = r;
2678
+ var i = lt.exec(t);
2677
2679
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2678
2680
  };
2679
2681
  } else
2680
2682
  Ge = function(t, r) {
2681
2683
  for (var n = []; ; ) {
2682
- var i = zt(t, r);
2683
- if (i === void 0 || Zt(i) || Nn(i))
2684
+ var i = Xt(t, r);
2685
+ if (i === void 0 || Wt(i) || Nn(i))
2684
2686
  break;
2685
2687
  n.push(i), r += i >= 65536 ? 2 : 1;
2686
2688
  }
@@ -2700,33 +2702,33 @@ var Cn = (
2700
2702
  for (var i = []; !this.isEOF(); ) {
2701
2703
  var s = this.char();
2702
2704
  if (s === 123) {
2703
- var a = this.parseArgument(t, n);
2704
- if (a.err)
2705
- return a;
2706
- i.push(a.val);
2705
+ var o = this.parseArgument(t, n);
2706
+ if (o.err)
2707
+ return o;
2708
+ i.push(o.val);
2707
2709
  } else {
2708
2710
  if (s === 125 && t > 0)
2709
2711
  break;
2710
2712
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2711
- var o = this.clonePosition();
2713
+ var a = this.clonePosition();
2712
2714
  this.bump(), i.push({
2713
2715
  type: x.pound,
2714
- location: p(o, this.clonePosition())
2716
+ location: p(a, this.clonePosition())
2715
2717
  });
2716
2718
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2717
2719
  if (n)
2718
2720
  break;
2719
2721
  return this.error(b.UNMATCHED_CLOSING_TAG, p(this.clonePosition(), this.clonePosition()));
2720
2722
  } else if (s === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
2721
- var a = this.parseTag(t, r);
2722
- if (a.err)
2723
- return a;
2724
- i.push(a.val);
2723
+ var o = this.parseTag(t, r);
2724
+ if (o.err)
2725
+ return o;
2726
+ i.push(o.val);
2725
2727
  } else {
2726
- var a = this.parseLiteral(t, r);
2727
- if (a.err)
2728
- return a;
2729
- i.push(a.val);
2728
+ var o = this.parseLiteral(t, r);
2729
+ if (o.err)
2730
+ return o;
2731
+ i.push(o.val);
2730
2732
  }
2731
2733
  }
2732
2734
  }
@@ -2748,20 +2750,20 @@ var Cn = (
2748
2750
  var s = this.parseMessage(t + 1, r, !0);
2749
2751
  if (s.err)
2750
2752
  return s;
2751
- var a = s.val, o = this.clonePosition();
2753
+ var o = s.val, a = this.clonePosition();
2752
2754
  if (this.bumpIf("</")) {
2753
2755
  if (this.isEOF() || !Fe(this.char()))
2754
- return this.error(b.INVALID_TAG, p(o, this.clonePosition()));
2756
+ return this.error(b.INVALID_TAG, p(a, this.clonePosition()));
2755
2757
  var l = this.clonePosition(), u = this.parseTagName();
2756
2758
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, p(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2757
2759
  val: {
2758
2760
  type: x.tag,
2759
2761
  value: i,
2760
- children: a,
2762
+ children: o,
2761
2763
  location: p(n, this.clonePosition())
2762
2764
  },
2763
2765
  err: null
2764
- } : this.error(b.INVALID_TAG, p(o, this.clonePosition())));
2766
+ } : this.error(b.INVALID_TAG, p(a, this.clonePosition())));
2765
2767
  } else
2766
2768
  return this.error(b.UNCLOSED_TAG, p(n, this.clonePosition()));
2767
2769
  } else
@@ -2778,16 +2780,16 @@ var Cn = (
2778
2780
  i += s;
2779
2781
  continue;
2780
2782
  }
2781
- var a = this.tryParseUnquoted(t, r);
2782
- if (a) {
2783
- i += a;
2784
- continue;
2785
- }
2786
- var o = this.tryParseLeftAngleBracket();
2783
+ var o = this.tryParseUnquoted(t, r);
2787
2784
  if (o) {
2788
2785
  i += o;
2789
2786
  continue;
2790
2787
  }
2788
+ var a = this.tryParseLeftAngleBracket();
2789
+ if (a) {
2790
+ i += a;
2791
+ continue;
2792
+ }
2791
2793
  break;
2792
2794
  }
2793
2795
  var l = p(n, this.clonePosition());
@@ -2867,13 +2869,13 @@ var Cn = (
2867
2869
  }, e.prototype.parseIdentifierIfPossible = function() {
2868
2870
  var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
2869
2871
  this.bumpTo(i);
2870
- var s = this.clonePosition(), a = p(t, s);
2871
- return { value: n, location: a };
2872
+ var s = this.clonePosition(), o = p(t, s);
2873
+ return { value: n, location: o };
2872
2874
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2873
- var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2874
- switch (o) {
2875
+ var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2876
+ switch (a) {
2875
2877
  case "":
2876
- return this.error(b.EXPECT_ARGUMENT_TYPE, p(a, l));
2878
+ return this.error(b.EXPECT_ARGUMENT_TYPE, p(o, l));
2877
2879
  case "number":
2878
2880
  case "date":
2879
2881
  case "time": {
@@ -2894,9 +2896,9 @@ var Cn = (
2894
2896
  if (f.err)
2895
2897
  return f;
2896
2898
  var _ = p(i, this.clonePosition());
2897
- if (u && ht(u == null ? void 0 : u.style, "::", 0)) {
2899
+ if (u && ut(u == null ? void 0 : u.style, "::", 0)) {
2898
2900
  var v = An(u.style.slice(2));
2899
- if (o === "number") {
2901
+ if (a === "number") {
2900
2902
  var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
2901
2903
  return c.err ? c : {
2902
2904
  val: { type: x.number, value: n, location: _, style: c.val },
@@ -2912,7 +2914,7 @@ var Cn = (
2912
2914
  pattern: A,
2913
2915
  location: u.styleLocation,
2914
2916
  parsedOptions: this.shouldParseSkeletons ? un(A) : {}
2915
- }, O = o === "date" ? x.date : x.time;
2917
+ }, O = a === "date" ? x.date : x.time;
2916
2918
  return {
2917
2919
  val: { type: O, value: n, location: _, style: m },
2918
2920
  err: null
@@ -2921,7 +2923,7 @@ var Cn = (
2921
2923
  }
2922
2924
  return {
2923
2925
  val: {
2924
- type: o === "number" ? x.number : o === "date" ? x.date : x.time,
2926
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
2925
2927
  value: n,
2926
2928
  location: _,
2927
2929
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
@@ -2937,7 +2939,7 @@ var Cn = (
2937
2939
  return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, p(H, y({}, H)));
2938
2940
  this.bumpSpace();
2939
2941
  var N = this.parseIdentifierIfPossible(), S = 0;
2940
- if (o !== "select" && N.value === "offset") {
2942
+ if (a !== "select" && N.value === "offset") {
2941
2943
  if (!this.bumpIf(":"))
2942
2944
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p(this.clonePosition(), this.clonePosition()));
2943
2945
  this.bumpSpace();
@@ -2946,18 +2948,18 @@ var Cn = (
2946
2948
  return c;
2947
2949
  this.bumpSpace(), N = this.parseIdentifierIfPossible(), S = c.val;
2948
2950
  }
2949
- var $ = this.tryParsePluralOrSelectOptions(t, o, r, N);
2951
+ var $ = this.tryParsePluralOrSelectOptions(t, a, r, N);
2950
2952
  if ($.err)
2951
2953
  return $;
2952
2954
  var f = this.tryParseArgumentClose(i);
2953
2955
  if (f.err)
2954
2956
  return f;
2955
2957
  var ie = p(i, this.clonePosition());
2956
- return o === "select" ? {
2958
+ return a === "select" ? {
2957
2959
  val: {
2958
2960
  type: x.select,
2959
2961
  value: n,
2960
- options: lt($.val),
2962
+ options: ht($.val),
2961
2963
  location: ie
2962
2964
  },
2963
2965
  err: null
@@ -2965,16 +2967,16 @@ var Cn = (
2965
2967
  val: {
2966
2968
  type: x.plural,
2967
2969
  value: n,
2968
- options: lt($.val),
2970
+ options: ht($.val),
2969
2971
  offset: S,
2970
- pluralType: o === "plural" ? "cardinal" : "ordinal",
2972
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
2971
2973
  location: ie
2972
2974
  },
2973
2975
  err: null
2974
2976
  };
2975
2977
  }
2976
2978
  default:
2977
- return this.error(b.INVALID_ARGUMENT_TYPE, p(a, l));
2979
+ return this.error(b.INVALID_ARGUMENT_TYPE, p(o, l));
2978
2980
  }
2979
2981
  }, e.prototype.tryParseArgumentClose = function(t) {
2980
2982
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, p(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3030,7 +3032,7 @@ var Cn = (
3030
3032
  err: null
3031
3033
  };
3032
3034
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3033
- for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3035
+ for (var s, o = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3034
3036
  if (u.length === 0) {
3035
3037
  var c = this.clonePosition();
3036
3038
  if (r !== "select" && this.bumpIf("=")) {
@@ -3043,7 +3045,7 @@ var Cn = (
3043
3045
  }
3044
3046
  if (l.has(u))
3045
3047
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3046
- u === "other" && (a = !0), this.bumpSpace();
3048
+ u === "other" && (o = !0), this.bumpSpace();
3047
3049
  var d = this.clonePosition();
3048
3050
  if (!this.bumpIf("{"))
3049
3051
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, p(this.clonePosition(), this.clonePosition()));
@@ -3053,7 +3055,7 @@ var Cn = (
3053
3055
  var _ = this.tryParseArgumentClose(d);
3054
3056
  if (_.err)
3055
3057
  return _;
3056
- o.push([
3058
+ a.push([
3057
3059
  u,
3058
3060
  {
3059
3061
  value: f.val,
@@ -3061,19 +3063,19 @@ var Cn = (
3061
3063
  }
3062
3064
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3063
3065
  }
3064
- return o.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3066
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, p(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(b.MISSING_OTHER_CLAUSE, p(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3065
3067
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3066
3068
  var n = 1, i = this.clonePosition();
3067
3069
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3068
- for (var s = !1, a = 0; !this.isEOF(); ) {
3069
- var o = this.char();
3070
- if (o >= 48 && o <= 57)
3071
- s = !0, a = a * 10 + (o - 48), this.bump();
3070
+ for (var s = !1, o = 0; !this.isEOF(); ) {
3071
+ var a = this.char();
3072
+ if (a >= 48 && a <= 57)
3073
+ s = !0, o = o * 10 + (a - 48), this.bump();
3072
3074
  else
3073
3075
  break;
3074
3076
  }
3075
3077
  var l = p(i, this.clonePosition());
3076
- return s ? (a *= n, wn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3078
+ return s ? (o *= n, wn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3077
3079
  }, e.prototype.offset = function() {
3078
3080
  return this.position.offset;
3079
3081
  }, e.prototype.isEOF = function() {
@@ -3088,7 +3090,7 @@ var Cn = (
3088
3090
  var t = this.position.offset;
3089
3091
  if (t >= this.message.length)
3090
3092
  throw Error("out of bound");
3091
- var r = zt(this.message, t);
3093
+ var r = Xt(this.message, t);
3092
3094
  if (r === void 0)
3093
3095
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3094
3096
  return r;
@@ -3107,7 +3109,7 @@ var Cn = (
3107
3109
  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);
3108
3110
  }
3109
3111
  }, e.prototype.bumpIf = function(t) {
3110
- if (ht(this.message, t, this.offset())) {
3112
+ if (ut(this.message, t, this.offset())) {
3111
3113
  for (var r = 0; r < t.length; r++)
3112
3114
  this.bump();
3113
3115
  return !0;
@@ -3129,7 +3131,7 @@ var Cn = (
3129
3131
  break;
3130
3132
  }
3131
3133
  }, e.prototype.bumpSpace = function() {
3132
- for (; !this.isEOF() && Zt(this.char()); )
3134
+ for (; !this.isEOF() && Wt(this.char()); )
3133
3135
  this.bump();
3134
3136
  }, e.prototype.peek = function() {
3135
3137
  if (this.isEOF())
@@ -3148,7 +3150,7 @@ function Pn(e) {
3148
3150
  function Ln(e) {
3149
3151
  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;
3150
3152
  }
3151
- function Zt(e) {
3153
+ function Wt(e) {
3152
3154
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3153
3155
  }
3154
3156
  function Nn(e) {
@@ -3156,11 +3158,11 @@ function Nn(e) {
3156
3158
  }
3157
3159
  function je(e) {
3158
3160
  e.forEach(function(t) {
3159
- if (delete t.location, Ut(t) || Dt(t))
3161
+ if (delete t.location, Rt(t) || Ut(t))
3160
3162
  for (var r in t.options)
3161
3163
  delete t.options[r].location, je(t.options[r].value);
3162
3164
  else
3163
- Mt(t) && Ft(t.style) || ($t(t) || Rt(t)) && Re(t.style) ? delete t.style.location : Gt(t) && je(t.children);
3165
+ It(t) && Gt(t.style) || (Mt(t) || $t(t)) && Re(t.style) ? delete t.style.location : Dt(t) && je(t.children);
3164
3166
  });
3165
3167
  }
3166
3168
  function In(e, t) {
@@ -3188,7 +3190,7 @@ var _e = (
3188
3190
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3189
3191
  }, t;
3190
3192
  }(Error)
3191
- ), ct = (
3193
+ ), ft = (
3192
3194
  /** @class */
3193
3195
  function(e) {
3194
3196
  ge(t, e);
@@ -3228,25 +3230,25 @@ function Rn(e) {
3228
3230
  function Un(e) {
3229
3231
  return typeof e == "function";
3230
3232
  }
3231
- function le(e, t, r, n, i, s, a) {
3232
- if (e.length === 1 && st(e[0]))
3233
+ function le(e, t, r, n, i, s, o) {
3234
+ if (e.length === 1 && it(e[0]))
3233
3235
  return [
3234
3236
  {
3235
3237
  type: E.literal,
3236
3238
  value: e[0].value
3237
3239
  }
3238
3240
  ];
3239
- for (var o = [], l = 0, u = e; l < u.length; l++) {
3241
+ for (var a = [], l = 0, u = e; l < u.length; l++) {
3240
3242
  var h = u[l];
3241
- if (st(h)) {
3242
- o.push({
3243
+ if (it(h)) {
3244
+ a.push({
3243
3245
  type: E.literal,
3244
3246
  value: h.value
3245
3247
  });
3246
3248
  continue;
3247
3249
  }
3248
3250
  if (on(h)) {
3249
- typeof s == "number" && o.push({
3251
+ typeof s == "number" && a.push({
3250
3252
  type: E.literal,
3251
3253
  value: r.getNumberFormat(t).format(s)
3252
3254
  });
@@ -3254,77 +3256,77 @@ function le(e, t, r, n, i, s, a) {
3254
3256
  }
3255
3257
  var c = h.value;
3256
3258
  if (!(i && c in i))
3257
- throw new $n(c, a);
3259
+ throw new $n(c, o);
3258
3260
  var m = i[c];
3259
3261
  if (sn(h)) {
3260
- (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), o.push({
3262
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3261
3263
  type: typeof m == "string" ? E.literal : E.object,
3262
3264
  value: m
3263
3265
  });
3264
3266
  continue;
3265
3267
  }
3266
- if ($t(h)) {
3268
+ if (Mt(h)) {
3267
3269
  var d = typeof h.style == "string" ? n.date[h.style] : Re(h.style) ? h.style.parsedOptions : void 0;
3268
- o.push({
3270
+ a.push({
3269
3271
  type: E.literal,
3270
3272
  value: r.getDateTimeFormat(t, d).format(m)
3271
3273
  });
3272
3274
  continue;
3273
3275
  }
3274
- if (Rt(h)) {
3276
+ if ($t(h)) {
3275
3277
  var d = typeof h.style == "string" ? n.time[h.style] : Re(h.style) ? h.style.parsedOptions : n.time.medium;
3276
- o.push({
3278
+ a.push({
3277
3279
  type: E.literal,
3278
3280
  value: r.getDateTimeFormat(t, d).format(m)
3279
3281
  });
3280
3282
  continue;
3281
3283
  }
3282
- if (Mt(h)) {
3283
- var d = typeof h.style == "string" ? n.number[h.style] : Ft(h.style) ? h.style.parsedOptions : void 0;
3284
- d && d.scale && (m = m * (d.scale || 1)), o.push({
3284
+ if (It(h)) {
3285
+ var d = typeof h.style == "string" ? n.number[h.style] : Gt(h.style) ? h.style.parsedOptions : void 0;
3286
+ d && d.scale && (m = m * (d.scale || 1)), a.push({
3285
3287
  type: E.literal,
3286
3288
  value: r.getNumberFormat(t, d).format(m)
3287
3289
  });
3288
3290
  continue;
3289
3291
  }
3290
- if (Gt(h)) {
3292
+ if (Dt(h)) {
3291
3293
  var f = h.children, _ = h.value, v = i[_];
3292
3294
  if (!Un(v))
3293
- throw new Mn(_, "function", a);
3295
+ throw new Mn(_, "function", o);
3294
3296
  var A = le(f, t, r, n, i, s), O = v(A.map(function(S) {
3295
3297
  return S.value;
3296
3298
  }));
3297
- Array.isArray(O) || (O = [O]), o.push.apply(o, O.map(function(S) {
3299
+ Array.isArray(O) || (O = [O]), a.push.apply(a, O.map(function(S) {
3298
3300
  return {
3299
3301
  type: typeof S == "string" ? E.literal : E.object,
3300
3302
  value: S
3301
3303
  };
3302
3304
  }));
3303
3305
  }
3304
- if (Ut(h)) {
3306
+ if (Rt(h)) {
3305
3307
  var H = h.options[m] || h.options.other;
3306
3308
  if (!H)
3307
- throw new ct(h.value, m, Object.keys(h.options), a);
3308
- o.push.apply(o, le(H.value, t, r, n, i));
3309
+ throw new ft(h.value, m, Object.keys(h.options), o);
3310
+ a.push.apply(a, le(H.value, t, r, n, i));
3309
3311
  continue;
3310
3312
  }
3311
- if (Dt(h)) {
3313
+ if (Ut(h)) {
3312
3314
  var H = h.options["=".concat(m)];
3313
3315
  if (!H) {
3314
3316
  if (!Intl.PluralRules)
3315
3317
  throw new _e(`Intl.PluralRules is not available in this environment.
3316
3318
  Try polyfilling it using "@formatjs/intl-pluralrules"
3317
- `, k.MISSING_INTL_API, a);
3319
+ `, k.MISSING_INTL_API, o);
3318
3320
  var N = r.getPluralRules(t, { type: h.pluralType }).select(m - (h.offset || 0));
3319
3321
  H = h.options[N] || h.options.other;
3320
3322
  }
3321
3323
  if (!H)
3322
- throw new ct(h.value, m, Object.keys(h.options), a);
3323
- o.push.apply(o, le(H.value, t, r, n, i, m - (h.offset || 0)));
3324
+ throw new ft(h.value, m, Object.keys(h.options), o);
3325
+ a.push.apply(a, le(H.value, t, r, n, i, m - (h.offset || 0)));
3324
3326
  continue;
3325
3327
  }
3326
3328
  }
3327
- return Rn(o);
3329
+ return Rn(a);
3328
3330
  }
3329
3331
  function Dn(e, t) {
3330
3332
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
@@ -3382,7 +3384,7 @@ function Fn(e) {
3382
3384
  })
3383
3385
  };
3384
3386
  }
3385
- var Qt = (
3387
+ var Zt = (
3386
3388
  /** @class */
3387
3389
  function() {
3388
3390
  function e(t, r, n, i) {
@@ -3412,10 +3414,10 @@ var Qt = (
3412
3414
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3413
3415
  if (this.message = t, !e.__parse)
3414
3416
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3415
- var a = i || {};
3416
- a.formatters;
3417
- var o = Jr(a, ["formatters"]);
3418
- this.ast = e.__parse(t, y(y({}, o), { locale: this.resolvedLocale }));
3417
+ var o = i || {};
3418
+ o.formatters;
3419
+ var a = qr(o, ["formatters"]);
3420
+ this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3419
3421
  } else
3420
3422
  this.ast = t;
3421
3423
  if (!Array.isArray(this.ast))
@@ -3515,7 +3517,7 @@ function jn(e, t) {
3515
3517
  n = void 0;
3516
3518
  return n;
3517
3519
  }
3518
- const C = {}, kn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), qt = (e, t) => {
3520
+ const C = {}, kn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Qt = (e, t) => {
3519
3521
  if (t == null)
3520
3522
  return;
3521
3523
  if (t in C && e in C[t])
@@ -3527,16 +3529,16 @@ const C = {}, kn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][
3527
3529
  return kn(e, t, s);
3528
3530
  }
3529
3531
  };
3530
- let Ze;
3532
+ let We;
3531
3533
  const re = pe({});
3532
3534
  function Vn(e) {
3533
- return Ze[e] || null;
3535
+ return We[e] || null;
3534
3536
  }
3535
- function Jt(e) {
3536
- return e in Ze;
3537
+ function qt(e) {
3538
+ return e in We;
3537
3539
  }
3538
3540
  function Xn(e, t) {
3539
- if (!Jt(e))
3541
+ if (!qt(e))
3540
3542
  return null;
3541
3543
  const r = Vn(e);
3542
3544
  return jn(r, t);
@@ -3547,28 +3549,28 @@ function zn(e) {
3547
3549
  const t = ne(e);
3548
3550
  for (let r = 0; r < t.length; r++) {
3549
3551
  const n = t[r];
3550
- if (Jt(n))
3552
+ if (qt(n))
3551
3553
  return n;
3552
3554
  }
3553
3555
  }
3554
- function Yt(e, ...t) {
3555
- delete C[e], re.update((r) => (r[e] = qr.all([r[e] || {}, ...t]), r));
3556
+ function Jt(e, ...t) {
3557
+ delete C[e], re.update((r) => (r[e] = Qr.all([r[e] || {}, ...t]), r));
3556
3558
  }
3557
3559
  W(
3558
3560
  [re],
3559
3561
  ([e]) => Object.keys(e)
3560
3562
  );
3561
- re.subscribe((e) => Ze = e);
3563
+ re.subscribe((e) => We = e);
3562
3564
  const fe = {};
3563
3565
  function Wn(e, t) {
3564
3566
  fe[e].delete(t), fe[e].size === 0 && delete fe[e];
3565
3567
  }
3566
- function Kt(e) {
3568
+ function Yt(e) {
3567
3569
  return fe[e];
3568
3570
  }
3569
3571
  function Zn(e) {
3570
3572
  return ne(e).map((t) => {
3571
- const r = Kt(t);
3573
+ const r = Yt(t);
3572
3574
  return [t, r ? [...r] : []];
3573
3575
  }).filter(([, t]) => t.length > 0);
3574
3576
  }
@@ -3576,17 +3578,17 @@ function me(e) {
3576
3578
  return e == null ? !1 : ne(e).some(
3577
3579
  (t) => {
3578
3580
  var r;
3579
- return (r = Kt(t)) == null ? void 0 : r.size;
3581
+ return (r = Yt(t)) == null ? void 0 : r.size;
3580
3582
  }
3581
3583
  );
3582
3584
  }
3583
3585
  function Qn(e, t) {
3584
3586
  return Promise.all(
3585
3587
  t.map((n) => (Wn(e, n), n().then((i) => i.default || i)))
3586
- ).then((n) => Yt(e, ...n));
3588
+ ).then((n) => Jt(e, ...n));
3587
3589
  }
3588
3590
  const Q = {};
3589
- function er(e) {
3591
+ function Kt(e) {
3590
3592
  if (!me(e))
3591
3593
  return e in Q ? Q[e] : Promise.resolve();
3592
3594
  const t = Zn(e);
@@ -3596,16 +3598,16 @@ function er(e) {
3596
3598
  )
3597
3599
  ).then(() => {
3598
3600
  if (me(e))
3599
- return er(e);
3601
+ return Kt(e);
3600
3602
  delete Q[e];
3601
3603
  }), Q[e];
3602
3604
  }
3603
- var mt = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, Yn = (e, t) => {
3605
+ var ct = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, Yn = (e, t) => {
3604
3606
  var r = {};
3605
3607
  for (var n in e)
3606
3608
  qn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3607
- if (e != null && mt)
3608
- for (var n of mt(e))
3609
+ if (e != null && ct)
3610
+ for (var n of ct(e))
3609
3611
  t.indexOf(n) < 0 && Jn.call(e, n) && (r[n] = e[n]);
3610
3612
  return r;
3611
3613
  };
@@ -3664,7 +3666,7 @@ function ri(e) {
3664
3666
  let i = e.fallbackLocale;
3665
3667
  if (e.initialLocale)
3666
3668
  try {
3667
- Qt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3669
+ Zt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3668
3670
  } catch (s) {
3669
3671
  console.warn(
3670
3672
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
@@ -3675,22 +3677,22 @@ function ri(e) {
3675
3677
  )), Object.assign(q, n, { initialLocale: i }), r && ("number" in r && Object.assign(q.formats.number, r.number), "date" in r && Object.assign(q.formats.date, r.date), "time" in r && Object.assign(q.formats.time, r.time)), M.set(i);
3676
3678
  }
3677
3679
  const Le = pe(!1);
3678
- 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) => {
3679
- for (var r in t || (t = {}))
3680
- oi.call(t, r) && bt(e, r, t[r]);
3681
- if (dt)
3682
- for (var r of dt(t))
3683
- ai.call(t, r) && bt(e, r, t[r]);
3680
+ var ni = Object.defineProperty, ii = Object.defineProperties, si = Object.getOwnPropertyDescriptors, mt = Object.getOwnPropertySymbols, oi = Object.prototype.hasOwnProperty, ai = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ui = (e, t) => {
3681
+ for (var r in t)
3682
+ oi.call(t, r) && dt(e, r, t[r]);
3683
+ if (mt)
3684
+ for (var r of mt(t))
3685
+ ai.call(t, r) && dt(e, r, t[r]);
3684
3686
  return e;
3685
3687
  }, hi = (e, t) => ii(e, si(t));
3686
3688
  let ke;
3687
3689
  const de = pe(null);
3688
- function pt(e) {
3690
+ function bt(e) {
3689
3691
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3690
3692
  }
3691
3693
  function ne(e, t = V().fallbackLocale) {
3692
- const r = pt(e);
3693
- return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
3694
+ const r = bt(e);
3695
+ return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
3694
3696
  }
3695
3697
  function L() {
3696
3698
  return ke != null ? ke : void 0;
@@ -3705,7 +3707,7 @@ const li = (e) => {
3705
3707
  return typeof window != "undefined" && L() != null && t ? r = window.setTimeout(
3706
3708
  () => Le.set(!0),
3707
3709
  t
3708
- ) : Le.set(!0), er(e).then(() => {
3710
+ ) : Le.set(!0), Kt(e).then(() => {
3709
3711
  de.set(e);
3710
3712
  }).finally(() => {
3711
3713
  clearTimeout(r), Le.set(!1);
@@ -3721,20 +3723,20 @@ const li = (e) => {
3721
3723
  return i in t ? t[i] : t[i] = e(n);
3722
3724
  };
3723
3725
  };
3724
- var fi = Object.defineProperty, be = Object.getOwnPropertySymbols, tr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
3726
+ var fi = Object.defineProperty, be = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3725
3727
  for (var r in t || (t = {}))
3726
- tr.call(t, r) && gt(e, r, t[r]);
3728
+ er.call(t, r) && pt(e, r, t[r]);
3727
3729
  if (be)
3728
3730
  for (var r of be(t))
3729
- rr.call(t, r) && gt(e, r, t[r]);
3731
+ tr.call(t, r) && pt(e, r, t[r]);
3730
3732
  return e;
3731
3733
  }, Z = (e, t) => {
3732
3734
  var r = {};
3733
3735
  for (var n in e)
3734
- tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3736
+ er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3735
3737
  if (e != null && be)
3736
3738
  for (var n of be(e))
3737
- t.indexOf(n) < 0 && rr.call(e, n) && (r[n] = e[n]);
3739
+ t.indexOf(n) < 0 && tr.call(e, n) && (r[n] = e[n]);
3738
3740
  return r;
3739
3741
  };
3740
3742
  const ee = (e, t) => {
@@ -3771,51 +3773,51 @@ const ee = (e, t) => {
3771
3773
  } = t, n = Z(t, [
3772
3774
  "locale"
3773
3775
  ]);
3774
- return ci(Qe({ locale: r }, n));
3776
+ return ci(Ze({ locale: r }, n));
3775
3777
  }, pi = (e = {}) => {
3776
3778
  var t = e, {
3777
3779
  locale: r = L()
3778
3780
  } = t, n = Z(t, [
3779
3781
  "locale"
3780
3782
  ]);
3781
- return mi(Qe({ locale: r }, n));
3783
+ return mi(Ze({ locale: r }, n));
3782
3784
  }, gi = (e = {}) => {
3783
3785
  var t = e, {
3784
3786
  locale: r = L()
3785
3787
  } = t, n = Z(t, [
3786
3788
  "locale"
3787
3789
  ]);
3788
- return di(Qe({ locale: r }, n));
3790
+ return di(Ze({ locale: r }, n));
3789
3791
  }, _i = ye(
3790
3792
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3791
- (e, t = L()) => new Qt(e, t, V().formats, {
3793
+ (e, t = L()) => new Zt(e, t, V().formats, {
3792
3794
  ignoreTag: V().ignoreTag
3793
3795
  })
3794
3796
  ), yi = (e, t = {}) => {
3795
3797
  var r, n, i, s;
3796
- let a = t;
3797
- typeof e == "object" && (a = e, e = a.id);
3798
+ let o = t;
3799
+ typeof e == "object" && (o = e, e = o.id);
3798
3800
  const {
3799
- values: o,
3801
+ values: a,
3800
3802
  locale: l = L(),
3801
3803
  default: u
3802
- } = a;
3804
+ } = o;
3803
3805
  if (l == null)
3804
3806
  throw new Error(
3805
3807
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3806
3808
  );
3807
- let h = qt(e, l);
3809
+ let h = Qt(e, l);
3808
3810
  if (!h)
3809
3811
  h = (s = (i = (n = (r = V()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3810
3812
  else if (typeof h != "string")
3811
3813
  return console.warn(
3812
3814
  `[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.`
3813
3815
  ), h;
3814
- if (!o)
3816
+ if (!a)
3815
3817
  return h;
3816
3818
  let c = h;
3817
3819
  try {
3818
- c = _i(h, l).format(o);
3820
+ c = _i(h, l).format(a);
3819
3821
  } catch (m) {
3820
3822
  m instanceof Error && console.warn(
3821
3823
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3823,7 +3825,7 @@ const ee = (e, t) => {
3823
3825
  );
3824
3826
  }
3825
3827
  return c;
3826
- }, xi = (e, t) => gi(t).format(e), Ei = (e, t) => pi(t).format(e), vi = (e, t) => bi(t).format(e), Hi = (e, t = L()) => qt(e, t), Bi = W([M, re], () => yi);
3828
+ }, xi = (e, t) => gi(t).format(e), Ei = (e, t) => pi(t).format(e), vi = (e, t) => bi(t).format(e), Hi = (e, t = L()) => Qt(e, t), Bi = W([M, re], () => yi);
3827
3829
  W([M], () => xi);
3828
3830
  W([M], () => Ei);
3829
3831
  W([M], () => vi);
@@ -3851,15 +3853,15 @@ function Si(e, t, r) {
3851
3853
  });
3852
3854
  }
3853
3855
  }
3854
- function _t(e, t) {
3855
- Yt(e, t);
3856
+ function gt(e, t) {
3857
+ Jt(e, t);
3856
3858
  }
3857
3859
  function Ai(e) {
3858
3860
  ri({
3859
3861
  fallbackLocale: "en"
3860
3862
  }), M.set(e);
3861
3863
  }
3862
- const yt = {
3864
+ const _t = {
3863
3865
  en: {
3864
3866
  header: {
3865
3867
  general: "Cashier",
@@ -3883,17 +3885,17 @@ const yt = {
3883
3885
  }
3884
3886
  };
3885
3887
  function Oi(e) {
3886
- dr(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}");
3888
+ mr(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}");
3887
3889
  }
3888
- const Ci = (e) => ({}), xt = (e) => ({}), Pi = (e) => ({}), Et = (e) => ({}), Li = (e) => ({}), vt = (e) => ({});
3889
- function Ht(e) {
3890
+ const Ci = (e) => ({}), yt = (e) => ({}), Pi = (e) => ({}), xt = (e) => ({}), Li = (e) => ({}), Et = (e) => ({});
3891
+ function vt(e) {
3890
3892
  let t, r, n;
3891
3893
  return {
3892
3894
  c() {
3893
3895
  t = X("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");
3894
3896
  },
3895
3897
  m(i, s) {
3896
- I(i, t, s), r || (n = Ct(
3898
+ I(i, t, s), r || (n = Ot(
3897
3899
  t,
3898
3900
  "click",
3899
3901
  /*back*/
@@ -3909,18 +3911,18 @@ function Ht(e) {
3909
3911
  function Ni(e) {
3910
3912
  let t, r = (
3911
3913
  /*backButton*/
3912
- e[1] && Ht(e)
3914
+ e[1] && vt(e)
3913
3915
  );
3914
3916
  return {
3915
3917
  c() {
3916
- r && r.c(), t = Ot();
3918
+ r && r.c(), t = At();
3917
3919
  },
3918
3920
  m(n, i) {
3919
3921
  r && r.m(n, i), I(n, t, i);
3920
3922
  },
3921
3923
  p(n, i) {
3922
3924
  /*backButton*/
3923
- n[1] ? r ? r.p(n, i) : (r = Ht(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3925
+ n[1] ? r ? r.p(n, i) : (r = vt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3924
3926
  },
3925
3927
  d(n) {
3926
3928
  n && P(t), r && r.d(n);
@@ -3948,21 +3950,21 @@ function Ii(e) {
3948
3950
  i[4](
3949
3951
  /*titleText*/
3950
3952
  i[2]
3951
- ) + "") && _r(n, r);
3953
+ ) + "") && gr(n, r);
3952
3954
  },
3953
3955
  d(i) {
3954
3956
  i && P(t);
3955
3957
  }
3956
3958
  };
3957
3959
  }
3958
- function Bt(e) {
3960
+ function Ht(e) {
3959
3961
  let t, r, n;
3960
3962
  return {
3961
3963
  c() {
3962
3964
  t = X("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");
3963
3965
  },
3964
3966
  m(i, s) {
3965
- I(i, t, s), r || (n = Ct(
3967
+ I(i, t, s), r || (n = Ot(
3966
3968
  t,
3967
3969
  "click",
3968
3970
  /*close*/
@@ -3978,18 +3980,18 @@ function Bt(e) {
3978
3980
  function Mi(e) {
3979
3981
  let t, r = (
3980
3982
  /*closeButton*/
3981
- e[3] && Bt(e)
3983
+ e[3] && Ht(e)
3982
3984
  );
3983
3985
  return {
3984
3986
  c() {
3985
- r && r.c(), t = Ot();
3987
+ r && r.c(), t = At();
3986
3988
  },
3987
3989
  m(n, i) {
3988
3990
  r && r.m(n, i), I(n, t, i);
3989
3991
  },
3990
3992
  p(n, i) {
3991
3993
  /*closeButton*/
3992
- n[3] ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3994
+ n[3] ? r ? r.p(n, i) : (r = Ht(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3993
3995
  },
3994
3996
  d(n) {
3995
3997
  n && P(t), r && r.d(n);
@@ -4001,13 +4003,13 @@ function $i(e) {
4001
4003
  const s = (
4002
4004
  /*#slots*/
4003
4005
  e[16].leftButton
4004
- ), a = Ee(
4006
+ ), o = Ee(
4005
4007
  s,
4006
4008
  e,
4007
4009
  /*$$scope*/
4008
4010
  e[15],
4009
- vt
4010
- ), o = a || Ni(e), l = (
4011
+ Et
4012
+ ), a = o || Ni(e), l = (
4011
4013
  /*#slots*/
4012
4014
  e[16].title
4013
4015
  ), u = Ee(
@@ -4015,7 +4017,7 @@ function $i(e) {
4015
4017
  e,
4016
4018
  /*$$scope*/
4017
4019
  e[15],
4018
- Et
4020
+ xt
4019
4021
  ), h = u || Ii(e), c = (
4020
4022
  /*#slots*/
4021
4023
  e[16].rightButton
@@ -4024,19 +4026,19 @@ function $i(e) {
4024
4026
  e,
4025
4027
  /*$$scope*/
4026
4028
  e[15],
4027
- xt
4029
+ yt
4028
4030
  ), d = m || Mi(e);
4029
4031
  return {
4030
4032
  c() {
4031
- t = X("div"), o && o.c(), r = rt(), h && h.c(), n = rt(), d && d.c(), z(t, "class", "CashierHeader");
4033
+ t = X("div"), a.c(), r = tt(), h.c(), n = tt(), d.c(), z(t, "class", "CashierHeader");
4032
4034
  },
4033
4035
  m(f, _) {
4034
- I(f, t, _), o && o.m(t, null), ce(t, r), h && h.m(t, null), ce(t, n), d && d.m(t, null), e[17](t), i = !0;
4036
+ I(f, t, _), a.m(t, null), ce(t, r), h.m(t, null), ce(t, n), d.m(t, null), e[17](t), i = !0;
4035
4037
  },
4036
4038
  p(f, [_]) {
4037
- a ? a.p && (!i || _ & /*$$scope*/
4039
+ o ? o.p && (!i || _ & /*$$scope*/
4038
4040
  32768) && He(
4039
- a,
4041
+ o,
4040
4042
  s,
4041
4043
  f,
4042
4044
  /*$$scope*/
@@ -4051,9 +4053,9 @@ function $i(e) {
4051
4053
  /*$$scope*/
4052
4054
  f[15]
4053
4055
  ),
4054
- vt
4055
- ) : o && o.p && (!i || _ & /*backButton*/
4056
- 2) && o.p(f, i ? _ : -1), u ? u.p && (!i || _ & /*$$scope*/
4056
+ Et
4057
+ ) : a.p && (!i || _ & /*backButton*/
4058
+ 2) && a.p(f, i ? _ : -1), u ? u.p && (!i || _ & /*$$scope*/
4057
4059
  32768) && He(
4058
4060
  u,
4059
4061
  l,
@@ -4070,8 +4072,8 @@ function $i(e) {
4070
4072
  /*$$scope*/
4071
4073
  f[15]
4072
4074
  ),
4073
- Et
4074
- ) : h && h.p && (!i || _ & /*$_, titleText*/
4075
+ xt
4076
+ ) : h.p && (!i || _ & /*$_, titleText*/
4075
4077
  20) && h.p(f, i ? _ : -1), m ? m.p && (!i || _ & /*$$scope*/
4076
4078
  32768) && He(
4077
4079
  m,
@@ -4089,36 +4091,36 @@ function $i(e) {
4089
4091
  /*$$scope*/
4090
4092
  f[15]
4091
4093
  ),
4092
- xt
4093
- ) : d && d.p && (!i || _ & /*closeButton*/
4094
+ yt
4095
+ ) : d.p && (!i || _ & /*closeButton*/
4094
4096
  8) && d.p(f, i ? _ : -1);
4095
4097
  },
4096
4098
  i(f) {
4097
- i || (ue(o, f), ue(h, f), ue(d, f), i = !0);
4099
+ i || (ue(a, f), ue(h, f), ue(d, f), i = !0);
4098
4100
  },
4099
4101
  o(f) {
4100
- we(o, f), we(h, f), we(d, f), i = !1;
4102
+ we(a, f), we(h, f), we(d, f), i = !1;
4101
4103
  },
4102
4104
  d(f) {
4103
- f && P(t), o && o.d(f), h && h.d(f), d && d.d(f), e[17](null);
4105
+ f && P(t), a.d(f), h.d(f), d.d(f), e[17](null);
4104
4106
  }
4105
4107
  };
4106
4108
  }
4107
4109
  function Ri(e, t, r) {
4108
4110
  let n;
4109
- mr(e, Bi, (g) => r(4, n = g));
4110
- let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: u = "" } = t, { title: h = "header.general" } = t, { lang: c = "en" } = t, { showclosebutton: m = "" } = t, { mbsource: d = "" } = t, f, _ = !1, v, A = !1;
4111
+ cr(e, Bi, (g) => r(4, n = g));
4112
+ let { $$slots: i = {}, $$scope: s } = t, { clientstyling: o = "" } = t, { clientstylingurl: a = "" } = t, { translationurl: l = "" } = t, { showbackbutton: u = "" } = t, { title: h = "header.general" } = t, { lang: c = "en" } = t, { showclosebutton: m = "" } = t, { mbsource: d = "" } = t, f, _ = !1, v, A = !1;
4111
4113
  const O = () => {
4112
4114
  fetch(l).then((g) => g.json()).then((g) => {
4113
- Object.keys(g).forEach((qe) => {
4114
- _t(qe, g[qe]);
4115
+ Object.keys(g).forEach((Qe) => {
4116
+ gt(Qe, g[Qe]);
4115
4117
  });
4116
4118
  }).catch((g) => {
4117
4119
  console.log(g);
4118
4120
  });
4119
4121
  };
4120
- Object.keys(yt).forEach((g) => {
4121
- _t(g, yt[g]);
4122
+ Object.keys(_t).forEach((g) => {
4123
+ gt(g, _t[g]);
4122
4124
  });
4123
4125
  const H = () => {
4124
4126
  Ai(c);
@@ -4130,24 +4132,24 @@ function Ri(e, t, r) {
4130
4132
  r(1, _ = !!u && u !== "false");
4131
4133
  }, ie = () => {
4132
4134
  r(3, A = !!m && m !== "false");
4133
- }, ir = () => {
4135
+ }, nr = () => {
4134
4136
  r(2, v = h || "header.general");
4135
4137
  };
4136
- Er(() => () => {
4138
+ xr(() => () => {
4137
4139
  });
4138
- function sr(g) {
4140
+ function ir(g) {
4139
4141
  Ne[g ? "unshift" : "push"](() => {
4140
4142
  f = g, r(0, f);
4141
4143
  });
4142
4144
  }
4143
4145
  return e.$$set = (g) => {
4144
- "clientstyling" in g && r(7, a = g.clientstyling), "clientstylingurl" in g && r(8, o = g.clientstylingurl), "translationurl" in g && r(9, l = g.translationurl), "showbackbutton" in g && r(10, u = g.showbackbutton), "title" in g && r(11, h = g.title), "lang" in g && r(12, c = g.lang), "showclosebutton" in g && r(13, m = g.showclosebutton), "mbsource" in g && r(14, d = g.mbsource), "$$scope" in g && r(15, s = g.$$scope);
4146
+ "clientstyling" in g && r(7, o = g.clientstyling), "clientstylingurl" in g && r(8, a = g.clientstylingurl), "translationurl" in g && r(9, l = g.translationurl), "showbackbutton" in g && r(10, u = g.showbackbutton), "title" in g && r(11, h = g.title), "lang" in g && r(12, c = g.lang), "showclosebutton" in g && r(13, m = g.showclosebutton), "mbsource" in g && r(14, d = g.mbsource), "$$scope" in g && r(15, s = g.$$scope);
4145
4147
  }, e.$$.update = () => {
4146
4148
  e.$$.dirty & /*lang*/
4147
4149
  4096 && c && H(), e.$$.dirty & /*lang, title*/
4148
- 6144 && c && h && ir(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4149
- 129 && a && f && Ti(f, a), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4150
- 257 && o && f && wi(f, o), e.$$.dirty & /*mbsource, customStylingContainer*/
4150
+ 6144 && c && h && nr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4151
+ 129 && o && f && Ti(f, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4152
+ 257 && a && f && wi(f, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4151
4153
  16385 && d && f && Si(f, `${d}.Style`), e.$$.dirty & /*lang, translationurl*/
4152
4154
  4608 && c && l && O(), e.$$.dirty & /*showbackbutton*/
4153
4155
  1024 && u && $(), e.$$.dirty & /*showclosebutton*/
@@ -4160,8 +4162,8 @@ function Ri(e, t, r) {
4160
4162
  n,
4161
4163
  N,
4162
4164
  S,
4163
- a,
4164
4165
  o,
4166
+ a,
4165
4167
  l,
4166
4168
  u,
4167
4169
  h,
@@ -4170,17 +4172,17 @@ function Ri(e, t, r) {
4170
4172
  d,
4171
4173
  s,
4172
4174
  i,
4173
- sr
4175
+ ir
4174
4176
  ];
4175
4177
  }
4176
- class nr extends Lr {
4178
+ class rr extends Pr {
4177
4179
  constructor(t) {
4178
- super(), Cr(
4180
+ super(), Or(
4179
4181
  this,
4180
4182
  t,
4181
4183
  Ri,
4182
4184
  $i,
4183
- wt,
4185
+ Tt,
4184
4186
  {
4185
4187
  clientstyling: 7,
4186
4188
  clientstylingurl: 8,
@@ -4243,35 +4245,35 @@ class nr extends Lr {
4243
4245
  this.$$set({ mbsource: t }), w();
4244
4246
  }
4245
4247
  }
4246
- Pr(nr, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
4248
+ Cr(rr, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {}, mbsource: {} }, ["leftButton", "title", "rightButton"], [], !0);
4247
4249
  const Fi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4248
4250
  __proto__: null,
4249
- default: nr
4251
+ default: rr
4250
4252
  }, Symbol.toStringTag, { value: "Module" }));
4251
4253
  export {
4252
4254
  M as $,
4253
4255
  Fi as C,
4254
- Lr as S,
4255
- Yt as a,
4256
- Cr as b,
4257
- Pr as c,
4258
- dr as d,
4256
+ Pr as S,
4257
+ Jt as a,
4258
+ Or as b,
4259
+ Cr as c,
4260
+ mr as d,
4259
4261
  X as e,
4260
4262
  w as f,
4261
- rt as g,
4263
+ tt as g,
4262
4264
  Gi as h,
4263
4265
  ri as i,
4264
4266
  Di as j,
4265
4267
  z as k,
4266
4268
  I as l,
4267
4269
  ce as m,
4268
- Ct as n,
4270
+ Ot as n,
4269
4271
  T as o,
4270
4272
  P as p,
4271
- Er as q,
4272
- wi as r,
4273
- wt as s,
4274
- Si as t,
4275
- Ne as u,
4276
- Ti as v
4273
+ xr as q,
4274
+ Ne as r,
4275
+ Tt as s,
4276
+ Ti as t,
4277
+ wi as u,
4278
+ Si as v
4277
4279
  };