@everymatrix/cashier-header 1.56.3 → 1.58.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var or = Object.defineProperty, ar = Object.defineProperties;
2
- var hr = Object.getOwnPropertyDescriptors;
3
- var qe = Object.getOwnPropertySymbols;
4
- var ur = 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 ir = Object.defineProperty, sr = Object.defineProperties;
2
+ var or = Object.getOwnPropertyDescriptors;
3
+ var Qe = Object.getOwnPropertySymbols;
4
+ var ar = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable;
5
+ var xe = (e, t, r) => t in e ? ir(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
- ur.call(t, r) && xe(e, r, t[r]);
8
- if (qe)
9
- for (var r of qe(t))
10
- lr.call(t, r) && xe(e, r, t[r]);
7
+ ar.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, hr(t));
12
+ }, qe = (e, t) => sr(e, or(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 Ye = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (l) => {
16
16
  try {
17
17
  o(r.next(l));
@@ -29,7 +29,7 @@ var et = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function T() {
31
31
  }
32
- function fr(e, t) {
32
+ function ur(e, t) {
33
33
  for (const r in t)
34
34
  e[r] = t[r];
35
35
  return (
@@ -37,25 +37,25 @@ function fr(e, t) {
37
37
  e
38
38
  );
39
39
  }
40
- function Tt(e) {
40
+ function Ht(e) {
41
41
  return e();
42
42
  }
43
- function tt() {
43
+ function Ke() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
46
  function te(e) {
47
- e.forEach(Tt);
47
+ e.forEach(Ht);
48
48
  }
49
49
  function Ve(e) {
50
50
  return typeof e == "function";
51
51
  }
52
- function wt(e, t) {
52
+ function Bt(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
- function cr(e) {
55
+ function lr(e) {
56
56
  return Object.keys(e).length === 0;
57
57
  }
58
- function St(e, ...t) {
58
+ function Tt(e, ...t) {
59
59
  if (e == null) {
60
60
  for (const n of t)
61
61
  n(void 0);
@@ -64,17 +64,17 @@ function St(e, ...t) {
64
64
  const r = e.subscribe(...t);
65
65
  return r.unsubscribe ? () => r.unsubscribe() : r;
66
66
  }
67
- function mr(e, t, r) {
68
- e.$$.on_destroy.push(St(t, r));
67
+ function fr(e, t, r) {
68
+ e.$$.on_destroy.push(Tt(t, r));
69
69
  }
70
70
  function Ee(e, t, r, n) {
71
71
  if (e) {
72
- const i = At(e, t, r, n);
72
+ const i = wt(e, t, r, n);
73
73
  return e[0](i);
74
74
  }
75
75
  }
76
- function At(e, t, r, n) {
77
- return e[1] && n ? fr(r.ctx.slice(), e[1](n(t))) : r.ctx;
76
+ function wt(e, t, r, n) {
77
+ return e[1] && n ? ur(r.ctx.slice(), e[1](n(t))) : r.ctx;
78
78
  }
79
79
  function ve(e, t, r, n) {
80
80
  if (e[2] && n) {
@@ -93,7 +93,7 @@ function ve(e, t, r, n) {
93
93
  }
94
94
  function He(e, t, r, n, i, s) {
95
95
  if (i) {
96
- const a = At(t, r, n, s);
96
+ const a = wt(t, r, n, s);
97
97
  e.p(a, i);
98
98
  }
99
99
  }
@@ -109,14 +109,14 @@ function Be(e) {
109
109
  function ce(e, t) {
110
110
  e.appendChild(t);
111
111
  }
112
- function dr(e, t, r) {
113
- const n = pr(e);
112
+ function cr(e, t, r) {
113
+ const n = mr(e);
114
114
  if (!n.getElementById(t)) {
115
- const i = W("style");
116
- i.id = t, i.textContent = r, br(n, i);
115
+ const i = z("style");
116
+ i.id = t, i.textContent = r, pr(n, i);
117
117
  }
118
118
  }
119
- function pr(e) {
119
+ function mr(e) {
120
120
  if (!e)
121
121
  return document;
122
122
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -126,7 +126,7 @@ function pr(e) {
126
126
  t
127
127
  ) : e.ownerDocument;
128
128
  }
129
- function br(e, t) {
129
+ function pr(e, t) {
130
130
  return ce(
131
131
  /** @type {Document} */
132
132
  e.head || e,
@@ -139,32 +139,32 @@ function M(e, t, r) {
139
139
  function P(e) {
140
140
  e.parentNode && e.parentNode.removeChild(e);
141
141
  }
142
- function W(e) {
142
+ function z(e) {
143
143
  return document.createElement(e);
144
144
  }
145
145
  function Xe(e) {
146
146
  return document.createTextNode(e);
147
147
  }
148
- function rt() {
148
+ function et() {
149
149
  return Xe(" ");
150
150
  }
151
- function Ct() {
151
+ function St() {
152
152
  return Xe("");
153
153
  }
154
- function Ot(e, t, r, n) {
154
+ function At(e, t, r, n) {
155
155
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
156
156
  }
157
157
  function re(e, t, r) {
158
158
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
159
159
  }
160
- function gr(e) {
160
+ function dr(e) {
161
161
  return Array.from(e.childNodes);
162
162
  }
163
- function _r(e, t) {
163
+ function br(e, t) {
164
164
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
165
165
  t);
166
166
  }
167
- function yr(e) {
167
+ function gr(e) {
168
168
  const t = {};
169
169
  return e.childNodes.forEach(
170
170
  /** @param {Element} node */
@@ -173,16 +173,16 @@ function yr(e) {
173
173
  }
174
174
  ), t;
175
175
  }
176
- let ze;
176
+ let We;
177
177
  function Y(e) {
178
- ze = e;
178
+ We = e;
179
179
  }
180
180
  const F = [], Ne = [];
181
181
  let j = [];
182
- const nt = [], xr = /* @__PURE__ */ Promise.resolve();
182
+ const tt = [], _r = /* @__PURE__ */ Promise.resolve();
183
183
  let Ie = !1;
184
- function Er() {
185
- Ie || (Ie = !0, xr.then(A));
184
+ function yr() {
185
+ Ie || (Ie = !0, _r.then(A));
186
186
  }
187
187
  function Me(e) {
188
188
  j.push(e);
@@ -192,12 +192,12 @@ let D = 0;
192
192
  function A() {
193
193
  if (D !== 0)
194
194
  return;
195
- const e = ze;
195
+ const e = We;
196
196
  do {
197
197
  try {
198
198
  for (; D < F.length; ) {
199
199
  const t = F[D];
200
- D++, Y(t), vr(t.$$);
200
+ D++, Y(t), xr(t.$$);
201
201
  }
202
202
  } catch (t) {
203
203
  throw F.length = 0, D = 0, t;
@@ -210,23 +210,23 @@ function A() {
210
210
  }
211
211
  j.length = 0;
212
212
  } while (F.length);
213
- for (; nt.length; )
214
- nt.pop()();
213
+ for (; tt.length; )
214
+ tt.pop()();
215
215
  Ie = !1, Te.clear(), Y(e);
216
216
  }
217
- function vr(e) {
217
+ function xr(e) {
218
218
  if (e.fragment !== null) {
219
219
  e.update(), te(e.before_update);
220
220
  const t = e.dirty;
221
221
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
222
222
  }
223
223
  }
224
- function Hr(e) {
224
+ function Er(e) {
225
225
  const t = [], r = [];
226
226
  j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
227
227
  }
228
228
  const ae = /* @__PURE__ */ new Set();
229
- let Br;
229
+ let vr;
230
230
  function he(e, t) {
231
231
  e && e.i && (ae.delete(e), e.i(t));
232
232
  }
@@ -234,27 +234,27 @@ function we(e, t, r, n) {
234
234
  if (e && e.o) {
235
235
  if (ae.has(e))
236
236
  return;
237
- ae.add(e), Br.c.push(() => {
237
+ ae.add(e), vr.c.push(() => {
238
238
  ae.delete(e);
239
239
  }), e.o(t);
240
240
  }
241
241
  }
242
- function Tr(e, t, r) {
242
+ function Hr(e, t, r) {
243
243
  const { fragment: n, after_update: i } = e.$$;
244
244
  n && n.m(t, r), Me(() => {
245
- const s = e.$$.on_mount.map(Tt).filter(Ve);
245
+ const s = e.$$.on_mount.map(Ht).filter(Ve);
246
246
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
247
247
  }), i.forEach(Me);
248
248
  }
249
- function wr(e, t) {
249
+ function Br(e, t) {
250
250
  const r = e.$$;
251
- r.fragment !== null && (Hr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
251
+ r.fragment !== null && (Er(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
252
252
  }
253
- function Sr(e, t) {
254
- e.$$.dirty[0] === -1 && (F.push(e), Er(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
253
+ function Tr(e, t) {
254
+ e.$$.dirty[0] === -1 && (F.push(e), yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
255
255
  }
256
- function Ar(e, t, r, n, i, s, a = null, o = [-1]) {
257
- const l = ze;
256
+ function wr(e, t, r, n, i, s, a = null, o = [-1]) {
257
+ const l = We;
258
258
  Y(e);
259
259
  const h = e.$$ = {
260
260
  fragment: null,
@@ -263,7 +263,7 @@ function Ar(e, t, r, n, i, s, a = null, o = [-1]) {
263
263
  props: s,
264
264
  update: T,
265
265
  not_equal: i,
266
- bound: tt(),
266
+ bound: Ke(),
267
267
  // lifecycle
268
268
  on_mount: [],
269
269
  on_destroy: [],
@@ -272,28 +272,28 @@ function Ar(e, t, r, n, i, s, a = null, o = [-1]) {
272
272
  after_update: [],
273
273
  context: new Map(t.context || (l ? l.$$.context : [])),
274
274
  // everything else
275
- callbacks: tt(),
275
+ callbacks: Ke(),
276
276
  dirty: o,
277
277
  skip_bound: !1,
278
278
  root: t.target || l.$$.root
279
279
  };
280
280
  a && a(h.root);
281
281
  let u = !1;
282
- if (h.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
283
- const m = d.length ? d[0] : c;
284
- return h.ctx && i(h.ctx[f], h.ctx[f] = m) && (!h.skip_bound && h.bound[f] && h.bound[f](m), u && Sr(e, f)), c;
282
+ if (h.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
283
+ const m = p.length ? p[0] : c;
284
+ return h.ctx && i(h.ctx[f], h.ctx[f] = m) && (!h.skip_bound && h.bound[f] && h.bound[f](m), u && Tr(e, f)), c;
285
285
  }) : [], h.update(), u = !0, te(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
286
286
  if (t.hydrate) {
287
- const f = gr(t.target);
287
+ const f = dr(t.target);
288
288
  h.fragment && h.fragment.l(f), f.forEach(P);
289
289
  } else
290
290
  h.fragment && h.fragment.c();
291
- t.intro && he(e.$$.fragment), Tr(e, t.target, t.anchor), A();
291
+ t.intro && he(e.$$.fragment), Hr(e, t.target, t.anchor), A();
292
292
  }
293
293
  Y(l);
294
294
  }
295
- let Pt;
296
- typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
295
+ let Ct;
296
+ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
297
297
  constructor(t, r, n) {
298
298
  super();
299
299
  /** The Svelte component constructor */
@@ -330,14 +330,14 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
330
330
  }
331
331
  }
332
332
  connectedCallback() {
333
- return et(this, null, function* () {
333
+ return Ye(this, null, function* () {
334
334
  if (this.$$cn = !0, !this.$$c) {
335
335
  let t = function(s) {
336
336
  return () => {
337
337
  let a;
338
338
  return {
339
339
  c: function() {
340
- a = W("slot"), s !== "default" && re(a, "name", s);
340
+ a = z("slot"), s !== "default" && re(a, "name", s);
341
341
  },
342
342
  /**
343
343
  * @param {HTMLElement} target
@@ -354,7 +354,7 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
354
354
  };
355
355
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
356
356
  return;
357
- const r = {}, n = yr(this);
357
+ const r = {}, n = gr(this);
358
358
  for (const s of this.$$s)
359
359
  s in n && (r[s] = [t(s)]);
360
360
  for (const s of this.attributes) {
@@ -365,7 +365,7 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
365
365
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
366
366
  this.$$c = new this.$$ctor({
367
367
  target: this.shadowRoot || this,
368
- props: Ke(Ye({}, this.$$d), {
368
+ props: qe(Je({}, this.$$d), {
369
369
  $$slots: r,
370
370
  $$scope: {
371
371
  ctx: []
@@ -443,8 +443,8 @@ function ue(e, t, r, n) {
443
443
  return t;
444
444
  }
445
445
  }
446
- function Cr(e, t, r, n, i, s) {
447
- let a = class extends Pt {
446
+ function Sr(e, t, r, n, i, s) {
447
+ let a = class extends Ct {
448
448
  constructor() {
449
449
  super(e, r, i), this.$$p_d = t;
450
450
  }
@@ -474,7 +474,7 @@ function Cr(e, t, r, n, i, s) {
474
474
  }), e.element = /** @type {any} */
475
475
  a, a;
476
476
  }
477
- class Or {
477
+ class Ar {
478
478
  constructor() {
479
479
  /**
480
480
  * ### PRIVATE API
@@ -495,7 +495,7 @@ class Or {
495
495
  }
496
496
  /** @returns {void} */
497
497
  $destroy() {
498
- wr(this, 1), this.$destroy = T;
498
+ Br(this, 1), this.$destroy = T;
499
499
  }
500
500
  /**
501
501
  * @template {Extract<keyof Events, string>} K
@@ -517,13 +517,13 @@ class Or {
517
517
  * @returns {void}
518
518
  */
519
519
  $set(t) {
520
- this.$$set && !cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
520
+ this.$$set && !lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
521
521
  }
522
522
  }
523
- const Pr = "4";
524
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Pr);
523
+ const Cr = "4";
524
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Cr);
525
525
  const G = [];
526
- function Lr(e, t) {
526
+ function Or(e, t) {
527
527
  return {
528
528
  subscribe: be(e, t).subscribe
529
529
  };
@@ -532,7 +532,7 @@ function be(e, t = T) {
532
532
  let r;
533
533
  const n = /* @__PURE__ */ new Set();
534
534
  function i(o) {
535
- if (wt(e, o) && (e = o, r)) {
535
+ if (Bt(e, o) && (e = o, r)) {
536
536
  const l = !G.length;
537
537
  for (const h of n)
538
538
  h[1](), G.push(h, e);
@@ -559,7 +559,7 @@ function Z(e, t, r) {
559
559
  if (!i.every(Boolean))
560
560
  throw new Error("derived() expects stores as input, got a falsy value");
561
561
  const s = t.length < 2;
562
- return Lr(r, (a, o) => {
562
+ return Or(r, (a, o) => {
563
563
  let l = !1;
564
564
  const h = [];
565
565
  let u = 0, f = T;
@@ -569,8 +569,8 @@ function Z(e, t, r) {
569
569
  f();
570
570
  const m = t(n ? h[0] : h, a, o);
571
571
  s ? a(m) : f = Ve(m) ? m : T;
572
- }, d = i.map(
573
- (m, g) => St(
572
+ }, p = i.map(
573
+ (m, g) => Tt(
574
574
  m,
575
575
  (v) => {
576
576
  h[g] = v, u &= ~(1 << g), l && c();
@@ -581,74 +581,74 @@ function Z(e, t, r) {
581
581
  )
582
582
  );
583
583
  return l = !0, c(), function() {
584
- te(d), f(), l = !1;
584
+ te(p), f(), l = !1;
585
585
  };
586
586
  });
587
587
  }
588
- function Nr(e) {
588
+ function Pr(e) {
589
589
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
590
590
  }
591
- var Ir = function(t) {
592
- return Mr(t) && !$r(t);
591
+ var Lr = function(t) {
592
+ return Nr(t) && !Ir(t);
593
593
  };
594
- function Mr(e) {
594
+ function Nr(e) {
595
595
  return !!e && typeof e == "object";
596
596
  }
597
- function $r(e) {
597
+ function Ir(e) {
598
598
  var t = Object.prototype.toString.call(e);
599
- return t === "[object RegExp]" || t === "[object Date]" || Dr(e);
599
+ return t === "[object RegExp]" || t === "[object Date]" || Rr(e);
600
600
  }
601
- var Rr = typeof Symbol == "function" && Symbol.for, Ur = Rr ? Symbol.for("react.element") : 60103;
602
- function Dr(e) {
603
- return e.$$typeof === Ur;
601
+ var Mr = typeof Symbol == "function" && Symbol.for, $r = Mr ? Symbol.for("react.element") : 60103;
602
+ function Rr(e) {
603
+ return e.$$typeof === $r;
604
604
  }
605
- function Gr(e) {
605
+ function Ur(e) {
606
606
  return Array.isArray(e) ? [] : {};
607
607
  }
608
608
  function K(e, t) {
609
- return t.clone !== !1 && t.isMergeableObject(e) ? k(Gr(e), e, t) : e;
609
+ return t.clone !== !1 && t.isMergeableObject(e) ? k(Ur(e), e, t) : e;
610
610
  }
611
- function Fr(e, t, r) {
611
+ function Dr(e, t, r) {
612
612
  return e.concat(t).map(function(n) {
613
613
  return K(n, r);
614
614
  });
615
615
  }
616
- function jr(e, t) {
616
+ function Gr(e, t) {
617
617
  if (!t.customMerge)
618
618
  return k;
619
619
  var r = t.customMerge(e);
620
620
  return typeof r == "function" ? r : k;
621
621
  }
622
- function kr(e) {
622
+ function Fr(e) {
623
623
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
624
624
  return Object.propertyIsEnumerable.call(e, t);
625
625
  }) : [];
626
626
  }
627
- function it(e) {
628
- return Object.keys(e).concat(kr(e));
627
+ function rt(e) {
628
+ return Object.keys(e).concat(Fr(e));
629
629
  }
630
- function Lt(e, t) {
630
+ function Ot(e, t) {
631
631
  try {
632
632
  return t in e;
633
633
  } catch (r) {
634
634
  return !1;
635
635
  }
636
636
  }
637
- function Vr(e, t) {
638
- return Lt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
637
+ function jr(e, t) {
638
+ return Ot(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
639
639
  }
640
- function Xr(e, t, r) {
640
+ function kr(e, t, r) {
641
641
  var n = {};
642
- return r.isMergeableObject(e) && it(e).forEach(function(i) {
642
+ return r.isMergeableObject(e) && rt(e).forEach(function(i) {
643
643
  n[i] = K(e[i], r);
644
- }), it(t).forEach(function(i) {
645
- Vr(e, i) || (Lt(e, i) && r.isMergeableObject(t[i]) ? n[i] = jr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
644
+ }), rt(t).forEach(function(i) {
645
+ jr(e, i) || (Ot(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
646
646
  }), n;
647
647
  }
648
648
  function k(e, t, r) {
649
- r = r || {}, r.arrayMerge = r.arrayMerge || Fr, r.isMergeableObject = r.isMergeableObject || Ir, r.cloneUnlessOtherwiseSpecified = K;
649
+ r = r || {}, r.arrayMerge = r.arrayMerge || Dr, r.isMergeableObject = r.isMergeableObject || Lr, r.cloneUnlessOtherwiseSpecified = K;
650
650
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
651
- return s ? n ? r.arrayMerge(e, t, r) : Xr(e, t, r) : K(t, r);
651
+ return s ? n ? r.arrayMerge(e, t, r) : kr(e, t, r) : K(t, r);
652
652
  }
653
653
  k.all = function(t, r) {
654
654
  if (!Array.isArray(t))
@@ -657,8 +657,8 @@ k.all = function(t, r) {
657
657
  return k(n, i, r);
658
658
  }, {});
659
659
  };
660
- var zr = k, Wr = zr;
661
- const Zr = /* @__PURE__ */ Nr(Wr);
660
+ var Vr = k, Xr = Vr;
661
+ const Wr = /* @__PURE__ */ Pr(Xr);
662
662
  /*! *****************************************************************************
663
663
  Copyright (c) Microsoft Corporation.
664
664
 
@@ -700,7 +700,7 @@ var y = function() {
700
700
  return t;
701
701
  }, y.apply(this, arguments);
702
702
  };
703
- function Qr(e, t) {
703
+ function zr(e, t) {
704
704
  var r = {};
705
705
  for (var n in e)
706
706
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -716,59 +716,57 @@ function Se(e, t, r) {
716
716
  return e.concat(s || t);
717
717
  }
718
718
  function Ae(e, t) {
719
- var r = t && t.cache ? t.cache : tn, n = t && t.serializer ? t.serializer : en, i = t && t.strategy ? t.strategy : qr;
719
+ var r = t && t.cache ? t.cache : en, n = t && t.serializer ? t.serializer : Yr, i = t && t.strategy ? t.strategy : Jr;
720
720
  return i(e, {
721
721
  cache: r,
722
722
  serializer: n
723
723
  });
724
724
  }
725
- function Jr(e) {
725
+ function Zr(e) {
726
726
  return e == null || typeof e == "number" || typeof e == "boolean";
727
727
  }
728
- function Nt(e, t, r, n) {
729
- var i = Jr(n) ? n : r(n), s = t.get(i);
728
+ function Qr(e, t, r, n) {
729
+ var i = Zr(n) ? n : r(n), s = t.get(i);
730
730
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
731
731
  }
732
- function It(e, t, r) {
732
+ function Pt(e, t, r) {
733
733
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
734
734
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
735
735
  }
736
- function We(e, t, r, n, i) {
736
+ function Lt(e, t, r, n, i) {
737
737
  return r.bind(t, e, n, i);
738
738
  }
739
- function qr(e, t) {
740
- var r = e.length === 1 ? Nt : It;
741
- return We(e, this, r, t.cache.create(), t.serializer);
742
- }
743
- function Yr(e, t) {
744
- return We(e, this, It, t.cache.create(), t.serializer);
739
+ function Jr(e, t) {
740
+ var r = e.length === 1 ? Qr : Pt;
741
+ return Lt(e, this, r, t.cache.create(), t.serializer);
745
742
  }
746
- function Kr(e, t) {
747
- return We(e, this, Nt, t.cache.create(), t.serializer);
743
+ function qr(e, t) {
744
+ return Lt(e, this, Pt, t.cache.create(), t.serializer);
748
745
  }
749
- var en = function() {
746
+ var Yr = function() {
750
747
  return JSON.stringify(arguments);
751
- };
752
- function Ze() {
753
- this.cache = /* @__PURE__ */ Object.create(null);
754
- }
755
- Ze.prototype.get = function(e) {
756
- return this.cache[e];
757
- };
758
- Ze.prototype.set = function(e, t) {
759
- this.cache[e] = t;
760
- };
761
- var tn = {
748
+ }, Kr = (
749
+ /** @class */
750
+ function() {
751
+ function e() {
752
+ this.cache = /* @__PURE__ */ Object.create(null);
753
+ }
754
+ return e.prototype.get = function(t) {
755
+ return this.cache[t];
756
+ }, e.prototype.set = function(t, r) {
757
+ this.cache[t] = r;
758
+ }, e;
759
+ }()
760
+ ), en = {
762
761
  create: function() {
763
- return new Ze();
762
+ return new Kr();
764
763
  }
765
764
  }, Ce = {
766
- variadic: Yr,
767
- monadic: Kr
768
- }, p;
765
+ variadic: qr
766
+ }, d;
769
767
  (function(e) {
770
768
  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";
771
- })(p || (p = {}));
769
+ })(d || (d = {}));
772
770
  var x;
773
771
  (function(e) {
774
772
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
@@ -777,43 +775,43 @@ var V;
777
775
  (function(e) {
778
776
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
779
777
  })(V || (V = {}));
780
- function st(e) {
778
+ function nt(e) {
781
779
  return e.type === x.literal;
782
780
  }
783
- function rn(e) {
781
+ function tn(e) {
784
782
  return e.type === x.argument;
785
783
  }
786
- function Mt(e) {
784
+ function Nt(e) {
787
785
  return e.type === x.number;
788
786
  }
789
- function $t(e) {
787
+ function It(e) {
790
788
  return e.type === x.date;
791
789
  }
792
- function Rt(e) {
790
+ function Mt(e) {
793
791
  return e.type === x.time;
794
792
  }
795
- function Ut(e) {
793
+ function $t(e) {
796
794
  return e.type === x.select;
797
795
  }
798
- function Dt(e) {
796
+ function Rt(e) {
799
797
  return e.type === x.plural;
800
798
  }
801
- function nn(e) {
799
+ function rn(e) {
802
800
  return e.type === x.pound;
803
801
  }
804
- function Gt(e) {
802
+ function Ut(e) {
805
803
  return e.type === x.tag;
806
804
  }
807
- function Ft(e) {
805
+ function Dt(e) {
808
806
  return !!(e && typeof e == "object" && e.type === V.number);
809
807
  }
810
808
  function Re(e) {
811
809
  return !!(e && typeof e == "object" && e.type === V.dateTime);
812
810
  }
813
- var jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, sn = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
814
- function on(e) {
811
+ var Gt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, nn = /(?:[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;
812
+ function sn(e) {
815
813
  var t = {};
816
- return e.replace(sn, function(r) {
814
+ return e.replace(nn, function(r) {
817
815
  var n = r.length;
818
816
  switch (r[0]) {
819
817
  case "G":
@@ -902,11 +900,11 @@ function on(e) {
902
900
  return "";
903
901
  }), t;
904
902
  }
905
- var an = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
906
- function hn(e) {
903
+ var on = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
904
+ function an(e) {
907
905
  if (e.length === 0)
908
906
  throw new Error("Number skeleton cannot be empty");
909
- for (var t = e.split(an).filter(function(c) {
907
+ for (var t = e.split(on).filter(function(c) {
910
908
  return c.length > 0;
911
909
  }), r = [], n = 0, i = t; n < i.length; n++) {
912
910
  var s = i[n], a = s.split("/");
@@ -921,17 +919,17 @@ function hn(e) {
921
919
  }
922
920
  return r;
923
921
  }
924
- function un(e) {
922
+ function hn(e) {
925
923
  return e.replace(/^(.*?)-/, "");
926
924
  }
927
- var ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kt = /^(@+)?(\+|#+)?[rs]?$/g, ln = /(\*)(0+)|(#+)(0+)|(0+)/g, Vt = /^(0+)$/;
928
- function at(e) {
925
+ var it = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ft = /^(@+)?(\+|#+)?[rs]?$/g, un = /(\*)(0+)|(#+)(0+)|(0+)/g, jt = /^(0+)$/;
926
+ function st(e) {
929
927
  var t = {};
930
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kt, function(r, n, i) {
928
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ft, function(r, n, i) {
931
929
  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)), "";
932
930
  }), t;
933
931
  }
934
- function Xt(e) {
932
+ function kt(e) {
935
933
  switch (e) {
936
934
  case "sign-auto":
937
935
  return {
@@ -971,7 +969,7 @@ function Xt(e) {
971
969
  };
972
970
  }
973
971
  }
974
- function fn(e) {
972
+ function ln(e) {
975
973
  var t;
976
974
  if (e[0] === "E" && e[1] === "E" ? (t = {
977
975
  notation: "engineering"
@@ -979,17 +977,17 @@ function fn(e) {
979
977
  notation: "scientific"
980
978
  }, e = e.slice(1)), t) {
981
979
  var r = e.slice(0, 2);
982
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Vt.test(e))
980
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jt.test(e))
983
981
  throw new Error("Malformed concise eng/scientific notation");
984
982
  t.minimumIntegerDigits = e.length;
985
983
  }
986
984
  return t;
987
985
  }
988
- function ht(e) {
989
- var t = {}, r = Xt(e);
986
+ function ot(e) {
987
+ var t = {}, r = kt(e);
990
988
  return r || t;
991
989
  }
992
- function cn(e) {
990
+ function fn(e) {
993
991
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
994
992
  var i = n[r];
995
993
  switch (i.stem) {
@@ -1013,7 +1011,7 @@ function cn(e) {
1013
1011
  continue;
1014
1012
  case "measure-unit":
1015
1013
  case "unit":
1016
- t.style = "unit", t.unit = un(i.options[0]);
1014
+ t.style = "unit", t.unit = hn(i.options[0]);
1017
1015
  continue;
1018
1016
  case "compact-short":
1019
1017
  case "K":
@@ -1025,12 +1023,12 @@ function cn(e) {
1025
1023
  continue;
1026
1024
  case "scientific":
1027
1025
  t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, h) {
1028
- return y(y({}, l), ht(h));
1026
+ return y(y({}, l), ot(h));
1029
1027
  }, {}));
1030
1028
  continue;
1031
1029
  case "engineering":
1032
1030
  t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, h) {
1033
- return y(y({}, l), ht(h));
1031
+ return y(y({}, l), ot(h));
1034
1032
  }, {}));
1035
1033
  continue;
1036
1034
  case "notation-simple":
@@ -1075,40 +1073,40 @@ function cn(e) {
1075
1073
  case "integer-width":
1076
1074
  if (i.options.length > 1)
1077
1075
  throw new RangeError("integer-width stems only accept a single optional option");
1078
- i.options[0].replace(ln, function(l, h, u, f, c, d) {
1076
+ i.options[0].replace(un, function(l, h, u, f, c, p) {
1079
1077
  if (h)
1080
1078
  t.minimumIntegerDigits = u.length;
1081
1079
  else {
1082
1080
  if (f && c)
1083
1081
  throw new Error("We currently do not support maximum integer digits");
1084
- if (d)
1082
+ if (p)
1085
1083
  throw new Error("We currently do not support exact integer digits");
1086
1084
  }
1087
1085
  return "";
1088
1086
  });
1089
1087
  continue;
1090
1088
  }
1091
- if (Vt.test(i.stem)) {
1089
+ if (jt.test(i.stem)) {
1092
1090
  t.minimumIntegerDigits = i.stem.length;
1093
1091
  continue;
1094
1092
  }
1095
- if (ot.test(i.stem)) {
1093
+ if (it.test(i.stem)) {
1096
1094
  if (i.options.length > 1)
1097
1095
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1098
- i.stem.replace(ot, function(l, h, u, f, c, d) {
1099
- return u === "*" ? t.minimumFractionDigits = h.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1096
+ i.stem.replace(it, function(l, h, u, f, c, p) {
1097
+ return u === "*" ? t.minimumFractionDigits = h.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1100
1098
  });
1101
1099
  var s = i.options[0];
1102
- s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), at(s)));
1100
+ s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), st(s)));
1103
1101
  continue;
1104
1102
  }
1105
- if (kt.test(i.stem)) {
1106
- t = y(y({}, t), at(i.stem));
1103
+ if (Ft.test(i.stem)) {
1104
+ t = y(y({}, t), st(i.stem));
1107
1105
  continue;
1108
1106
  }
1109
- var a = Xt(i.stem);
1107
+ var a = kt(i.stem);
1110
1108
  a && (t = y(y({}, t), a));
1111
- var o = fn(i.stem);
1109
+ var o = ln(i.stem);
1112
1110
  o && (t = y(y({}, t), o));
1113
1111
  }
1114
1112
  return t;
@@ -2528,13 +2526,13 @@ var oe = {
2528
2526
  "h"
2529
2527
  ]
2530
2528
  };
2531
- function mn(e, t) {
2529
+ function cn(e, t) {
2532
2530
  for (var r = "", n = 0; n < e.length; n++) {
2533
2531
  var i = e.charAt(n);
2534
2532
  if (i === "j") {
2535
2533
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2536
2534
  s++, n++;
2537
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", h = dn(t);
2535
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", h = mn(t);
2538
2536
  for ((h == "H" || h == "k") && (o = 0); o-- > 0; )
2539
2537
  r += l;
2540
2538
  for (; a-- > 0; )
@@ -2544,7 +2542,7 @@ function mn(e, t) {
2544
2542
  }
2545
2543
  return r;
2546
2544
  }
2547
- function dn(e) {
2545
+ function mn(e) {
2548
2546
  var t = e.hourCycle;
2549
2547
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2550
2548
  e.hourCycles && // @ts-ignore
@@ -2566,20 +2564,20 @@ function dn(e) {
2566
2564
  var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
2567
2565
  return i[0];
2568
2566
  }
2569
- var Oe, pn = new RegExp("^".concat(jt.source, "*")), bn = new RegExp("".concat(jt.source, "*$"));
2567
+ var Oe, pn = new RegExp("^".concat(Gt.source, "*")), dn = new RegExp("".concat(Gt.source, "*$"));
2570
2568
  function b(e, t) {
2571
2569
  return { start: e, end: t };
2572
2570
  }
2573
- var gn = !!String.prototype.startsWith && "_a".startsWith("a", 1), _n = !!String.fromCodePoint, yn = !!Object.fromEntries, xn = !!String.prototype.codePointAt, En = !!String.prototype.trimStart, vn = !!String.prototype.trimEnd, Hn = !!Number.isSafeInteger, Bn = Hn ? Number.isSafeInteger : function(e) {
2571
+ var bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), gn = !!String.fromCodePoint, _n = !!Object.fromEntries, yn = !!String.prototype.codePointAt, xn = !!String.prototype.trimStart, En = !!String.prototype.trimEnd, vn = !!Number.isSafeInteger, Hn = vn ? Number.isSafeInteger : function(e) {
2574
2572
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2575
2573
  }, Ue = !0;
2576
2574
  try {
2577
- var Tn = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2578
- Ue = ((Oe = Tn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2575
+ var Bn = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2576
+ Ue = ((Oe = Bn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2579
2577
  } catch (e) {
2580
2578
  Ue = !1;
2581
2579
  }
2582
- var ut = gn ? (
2580
+ var at = bn ? (
2583
2581
  // Native
2584
2582
  function(t, r, n) {
2585
2583
  return t.startsWith(r, n);
@@ -2589,7 +2587,7 @@ var ut = gn ? (
2589
2587
  function(t, r, n) {
2590
2588
  return t.slice(n, n + r.length) === r;
2591
2589
  }
2592
- ), De = _n ? String.fromCodePoint : (
2590
+ ), De = gn ? String.fromCodePoint : (
2593
2591
  // IE11
2594
2592
  function() {
2595
2593
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2601,9 +2599,9 @@ var ut = gn ? (
2601
2599
  }
2602
2600
  return n;
2603
2601
  }
2604
- ), lt = (
2602
+ ), ht = (
2605
2603
  // native
2606
- yn ? Object.fromEntries : (
2604
+ _n ? Object.fromEntries : (
2607
2605
  // Ponyfill
2608
2606
  function(t) {
2609
2607
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2613,7 +2611,7 @@ var ut = gn ? (
2613
2611
  return r;
2614
2612
  }
2615
2613
  )
2616
- ), zt = xn ? (
2614
+ ), Vt = yn ? (
2617
2615
  // Native
2618
2616
  function(t, r) {
2619
2617
  return t.codePointAt(r);
@@ -2627,7 +2625,7 @@ var ut = gn ? (
2627
2625
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2628
2626
  }
2629
2627
  }
2630
- ), wn = En ? (
2628
+ ), Tn = xn ? (
2631
2629
  // Native
2632
2630
  function(t) {
2633
2631
  return t.trimStart();
@@ -2637,7 +2635,7 @@ var ut = gn ? (
2637
2635
  function(t) {
2638
2636
  return t.replace(pn, "");
2639
2637
  }
2640
- ), Sn = vn ? (
2638
+ ), wn = En ? (
2641
2639
  // Native
2642
2640
  function(t) {
2643
2641
  return t.trimEnd();
@@ -2645,32 +2643,32 @@ var ut = gn ? (
2645
2643
  ) : (
2646
2644
  // Ponyfill
2647
2645
  function(t) {
2648
- return t.replace(bn, "");
2646
+ return t.replace(dn, "");
2649
2647
  }
2650
2648
  );
2651
- function Wt(e, t) {
2649
+ function Xt(e, t) {
2652
2650
  return new RegExp(e, t);
2653
2651
  }
2654
2652
  var Ge;
2655
2653
  if (Ue) {
2656
- var ft = Wt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2654
+ var ut = Xt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2657
2655
  Ge = function(t, r) {
2658
2656
  var n;
2659
- ft.lastIndex = r;
2660
- var i = ft.exec(t);
2657
+ ut.lastIndex = r;
2658
+ var i = ut.exec(t);
2661
2659
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2662
2660
  };
2663
2661
  } else
2664
2662
  Ge = function(t, r) {
2665
2663
  for (var n = []; ; ) {
2666
- var i = zt(t, r);
2667
- if (i === void 0 || Zt(i) || Pn(i))
2664
+ var i = Vt(t, r);
2665
+ if (i === void 0 || Wt(i) || On(i))
2668
2666
  break;
2669
2667
  n.push(i), r += i >= 65536 ? 2 : 1;
2670
2668
  }
2671
2669
  return De.apply(void 0, n);
2672
2670
  };
2673
- var An = (
2671
+ var Sn = (
2674
2672
  /** @class */
2675
2673
  function() {
2676
2674
  function e(t, r) {
@@ -2700,7 +2698,7 @@ var An = (
2700
2698
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2701
2699
  if (n)
2702
2700
  break;
2703
- return this.error(p.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2701
+ return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2704
2702
  } else if (s === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
2705
2703
  var a = this.parseTag(t, r);
2706
2704
  if (a.err)
@@ -2735,9 +2733,9 @@ var An = (
2735
2733
  var a = s.val, o = this.clonePosition();
2736
2734
  if (this.bumpIf("</")) {
2737
2735
  if (this.isEOF() || !Fe(this.char()))
2738
- return this.error(p.INVALID_TAG, b(o, this.clonePosition()));
2736
+ return this.error(d.INVALID_TAG, b(o, this.clonePosition()));
2739
2737
  var l = this.clonePosition(), h = this.parseTagName();
2740
- return i !== h ? this.error(p.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2738
+ return i !== h ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2741
2739
  val: {
2742
2740
  type: x.tag,
2743
2741
  value: i,
@@ -2745,14 +2743,14 @@ var An = (
2745
2743
  location: b(n, this.clonePosition())
2746
2744
  },
2747
2745
  err: null
2748
- } : this.error(p.INVALID_TAG, b(o, this.clonePosition())));
2746
+ } : this.error(d.INVALID_TAG, b(o, this.clonePosition())));
2749
2747
  } else
2750
- return this.error(p.UNCLOSED_TAG, b(n, this.clonePosition()));
2748
+ return this.error(d.UNCLOSED_TAG, b(n, this.clonePosition()));
2751
2749
  } else
2752
- return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
2750
+ return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
2753
2751
  }, e.prototype.parseTagName = function() {
2754
2752
  var t = this.offset();
2755
- for (this.bump(); !this.isEOF() && On(this.char()); )
2753
+ for (this.bump(); !this.isEOF() && Cn(this.char()); )
2756
2754
  this.bump();
2757
2755
  return this.message.slice(t, this.offset());
2758
2756
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2781,7 +2779,7 @@ var An = (
2781
2779
  };
2782
2780
  }, e.prototype.tryParseLeftAngleBracket = function() {
2783
2781
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2784
- !Cn(this.peek() || 0)) ? (this.bump(), "<") : null;
2782
+ !An(this.peek() || 0)) ? (this.bump(), "<") : null;
2785
2783
  }, e.prototype.tryParseQuote = function(t) {
2786
2784
  if (this.isEOF() || this.char() !== 39)
2787
2785
  return null;
@@ -2824,14 +2822,14 @@ var An = (
2824
2822
  }, e.prototype.parseArgument = function(t, r) {
2825
2823
  var n = this.clonePosition();
2826
2824
  if (this.bump(), this.bumpSpace(), this.isEOF())
2827
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2825
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2828
2826
  if (this.char() === 125)
2829
- return this.bump(), this.error(p.EMPTY_ARGUMENT, b(n, this.clonePosition()));
2827
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, b(n, this.clonePosition()));
2830
2828
  var i = this.parseIdentifierIfPossible().value;
2831
2829
  if (!i)
2832
- return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2830
+ return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2833
2831
  if (this.bumpSpace(), this.isEOF())
2834
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2832
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2835
2833
  switch (this.char()) {
2836
2834
  case 125:
2837
2835
  return this.bump(), {
@@ -2844,9 +2842,9 @@ var An = (
2844
2842
  err: null
2845
2843
  };
2846
2844
  case 44:
2847
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2845
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2848
2846
  default:
2849
- return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2847
+ return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2850
2848
  }
2851
2849
  }, e.prototype.parseIdentifierIfPossible = function() {
2852
2850
  var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
@@ -2857,7 +2855,7 @@ var An = (
2857
2855
  var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2858
2856
  switch (o) {
2859
2857
  case "":
2860
- return this.error(p.EXPECT_ARGUMENT_TYPE, b(a, l));
2858
+ return this.error(d.EXPECT_ARGUMENT_TYPE, b(a, l));
2861
2859
  case "number":
2862
2860
  case "date":
2863
2861
  case "time": {
@@ -2868,18 +2866,18 @@ var An = (
2868
2866
  var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2869
2867
  if (f.err)
2870
2868
  return f;
2871
- var c = Sn(f.val);
2869
+ var c = wn(f.val);
2872
2870
  if (c.length === 0)
2873
- return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2874
- var d = b(u, this.clonePosition());
2875
- h = { style: c, styleLocation: d };
2871
+ return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2872
+ var p = b(u, this.clonePosition());
2873
+ h = { style: c, styleLocation: p };
2876
2874
  }
2877
2875
  var m = this.tryParseArgumentClose(i);
2878
2876
  if (m.err)
2879
2877
  return m;
2880
2878
  var g = b(i, this.clonePosition());
2881
- if (h && ut(h == null ? void 0 : h.style, "::", 0)) {
2882
- var v = wn(h.style.slice(2));
2879
+ if (h && at(h == null ? void 0 : h.style, "::", 0)) {
2880
+ var v = Tn(h.style.slice(2));
2883
2881
  if (o === "number") {
2884
2882
  var f = this.parseNumberSkeletonFromString(v, h.styleLocation);
2885
2883
  return f.err ? f : {
@@ -2888,14 +2886,14 @@ var An = (
2888
2886
  };
2889
2887
  } else {
2890
2888
  if (v.length === 0)
2891
- return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
2889
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
2892
2890
  var N = v;
2893
- this.locale && (N = mn(v, this.locale));
2891
+ this.locale && (N = cn(v, this.locale));
2894
2892
  var c = {
2895
2893
  type: V.dateTime,
2896
2894
  pattern: N,
2897
2895
  location: h.styleLocation,
2898
- parsedOptions: this.shouldParseSkeletons ? on(N) : {}
2896
+ parsedOptions: this.shouldParseSkeletons ? sn(N) : {}
2899
2897
  }, C = o === "date" ? x.date : x.time;
2900
2898
  return {
2901
2899
  val: { type: C, value: n, location: g, style: c },
@@ -2918,14 +2916,14 @@ var An = (
2918
2916
  case "select": {
2919
2917
  var H = this.clonePosition();
2920
2918
  if (this.bumpSpace(), !this.bumpIf(","))
2921
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, y({}, H)));
2919
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, y({}, H)));
2922
2920
  this.bumpSpace();
2923
2921
  var I = this.parseIdentifierIfPossible(), w = 0;
2924
2922
  if (o !== "select" && I.value === "offset") {
2925
2923
  if (!this.bumpIf(":"))
2926
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2924
+ return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2927
2925
  this.bumpSpace();
2928
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2926
+ var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2929
2927
  if (f.err)
2930
2928
  return f;
2931
2929
  this.bumpSpace(), I = this.parseIdentifierIfPossible(), w = f.val;
@@ -2941,7 +2939,7 @@ var An = (
2941
2939
  val: {
2942
2940
  type: x.select,
2943
2941
  value: n,
2944
- options: lt(R.val),
2942
+ options: ht(R.val),
2945
2943
  location: se
2946
2944
  },
2947
2945
  err: null
@@ -2949,7 +2947,7 @@ var An = (
2949
2947
  val: {
2950
2948
  type: x.plural,
2951
2949
  value: n,
2952
- options: lt(R.val),
2950
+ options: ht(R.val),
2953
2951
  offset: w,
2954
2952
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2955
2953
  location: se
@@ -2958,10 +2956,10 @@ var An = (
2958
2956
  };
2959
2957
  }
2960
2958
  default:
2961
- return this.error(p.INVALID_ARGUMENT_TYPE, b(a, l));
2959
+ return this.error(d.INVALID_ARGUMENT_TYPE, b(a, l));
2962
2960
  }
2963
2961
  }, e.prototype.tryParseArgumentClose = function(t) {
2964
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2962
+ return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2965
2963
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2966
2964
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2967
2965
  var n = this.char();
@@ -2970,7 +2968,7 @@ var An = (
2970
2968
  this.bump();
2971
2969
  var i = this.clonePosition();
2972
2970
  if (!this.bumpUntil("'"))
2973
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
2971
+ return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
2974
2972
  this.bump();
2975
2973
  break;
2976
2974
  }
@@ -3000,16 +2998,16 @@ var An = (
3000
2998
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3001
2999
  var n = [];
3002
3000
  try {
3003
- n = hn(t);
3001
+ n = an(t);
3004
3002
  } catch (i) {
3005
- return this.error(p.INVALID_NUMBER_SKELETON, r);
3003
+ return this.error(d.INVALID_NUMBER_SKELETON, r);
3006
3004
  }
3007
3005
  return {
3008
3006
  val: {
3009
3007
  type: V.number,
3010
3008
  tokens: n,
3011
3009
  location: r,
3012
- parsedOptions: this.shouldParseSkeletons ? cn(n) : {}
3010
+ parsedOptions: this.shouldParseSkeletons ? fn(n) : {}
3013
3011
  },
3014
3012
  err: null
3015
3013
  };
@@ -3018,7 +3016,7 @@ var An = (
3018
3016
  if (h.length === 0) {
3019
3017
  var f = this.clonePosition();
3020
3018
  if (r !== "select" && this.bumpIf("=")) {
3021
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3019
+ var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3022
3020
  if (c.err)
3023
3021
  return c;
3024
3022
  u = b(f, this.clonePosition()), h = this.message.slice(f.offset, this.offset());
@@ -3026,26 +3024,26 @@ var An = (
3026
3024
  break;
3027
3025
  }
3028
3026
  if (l.has(h))
3029
- return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3027
+ return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3030
3028
  h === "other" && (a = !0), this.bumpSpace();
3031
- var d = this.clonePosition();
3029
+ var p = this.clonePosition();
3032
3030
  if (!this.bumpIf("{"))
3033
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3031
+ return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3034
3032
  var m = this.parseMessage(t + 1, r, n);
3035
3033
  if (m.err)
3036
3034
  return m;
3037
- var g = this.tryParseArgumentClose(d);
3035
+ var g = this.tryParseArgumentClose(p);
3038
3036
  if (g.err)
3039
3037
  return g;
3040
3038
  o.push([
3041
3039
  h,
3042
3040
  {
3043
3041
  value: m.val,
3044
- location: b(d, this.clonePosition())
3042
+ location: b(p, this.clonePosition())
3045
3043
  }
3046
3044
  ]), l.add(h), this.bumpSpace(), s = this.parseIdentifierIfPossible(), h = s.value, u = s.location;
3047
3045
  }
3048
- return o.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(p.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3046
+ return o.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3049
3047
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3050
3048
  var n = 1, i = this.clonePosition();
3051
3049
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3057,7 +3055,7 @@ var An = (
3057
3055
  break;
3058
3056
  }
3059
3057
  var l = b(i, this.clonePosition());
3060
- return s ? (a *= n, Bn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3058
+ return s ? (a *= n, Hn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3061
3059
  }, e.prototype.offset = function() {
3062
3060
  return this.position.offset;
3063
3061
  }, e.prototype.isEOF = function() {
@@ -3072,7 +3070,7 @@ var An = (
3072
3070
  var t = this.position.offset;
3073
3071
  if (t >= this.message.length)
3074
3072
  throw Error("out of bound");
3075
- var r = zt(this.message, t);
3073
+ var r = Vt(this.message, t);
3076
3074
  if (r === void 0)
3077
3075
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3078
3076
  return r;
@@ -3091,7 +3089,7 @@ var An = (
3091
3089
  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);
3092
3090
  }
3093
3091
  }, e.prototype.bumpIf = function(t) {
3094
- if (ut(this.message, t, this.offset())) {
3092
+ if (at(this.message, t, this.offset())) {
3095
3093
  for (var r = 0; r < t.length; r++)
3096
3094
  this.bump();
3097
3095
  return !0;
@@ -3113,7 +3111,7 @@ var An = (
3113
3111
  break;
3114
3112
  }
3115
3113
  }, e.prototype.bumpSpace = function() {
3116
- for (; !this.isEOF() && Zt(this.char()); )
3114
+ for (; !this.isEOF() && Wt(this.char()); )
3117
3115
  this.bump();
3118
3116
  }, e.prototype.peek = function() {
3119
3117
  if (this.isEOF())
@@ -3126,32 +3124,32 @@ var An = (
3126
3124
  function Fe(e) {
3127
3125
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3128
3126
  }
3129
- function Cn(e) {
3127
+ function An(e) {
3130
3128
  return Fe(e) || e === 47;
3131
3129
  }
3132
- function On(e) {
3130
+ function Cn(e) {
3133
3131
  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;
3134
3132
  }
3135
- function Zt(e) {
3133
+ function Wt(e) {
3136
3134
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3137
3135
  }
3138
- function Pn(e) {
3136
+ function On(e) {
3139
3137
  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;
3140
3138
  }
3141
3139
  function je(e) {
3142
3140
  e.forEach(function(t) {
3143
- if (delete t.location, Ut(t) || Dt(t))
3141
+ if (delete t.location, $t(t) || Rt(t))
3144
3142
  for (var r in t.options)
3145
3143
  delete t.options[r].location, je(t.options[r].value);
3146
3144
  else
3147
- Mt(t) && Ft(t.style) || ($t(t) || Rt(t)) && Re(t.style) ? delete t.style.location : Gt(t) && je(t.children);
3145
+ Nt(t) && Dt(t.style) || (It(t) || Mt(t)) && Re(t.style) ? delete t.style.location : Ut(t) && je(t.children);
3148
3146
  });
3149
3147
  }
3150
- function Ln(e, t) {
3148
+ function Pn(e, t) {
3151
3149
  t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3152
- var r = new An(e, t).parse();
3150
+ var r = new Sn(e, t).parse();
3153
3151
  if (r.err) {
3154
- var n = SyntaxError(p[r.err.kind]);
3152
+ var n = SyntaxError(d[r.err.kind]);
3155
3153
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3156
3154
  }
3157
3155
  return t != null && t.captureLocation || je(r.val), r.val;
@@ -3172,7 +3170,7 @@ var _e = (
3172
3170
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3173
3171
  }, t;
3174
3172
  }(Error)
3175
- ), ct = (
3173
+ ), lt = (
3176
3174
  /** @class */
3177
3175
  function(e) {
3178
3176
  ge(t, e);
@@ -3181,7 +3179,7 @@ var _e = (
3181
3179
  }
3182
3180
  return t;
3183
3181
  }(_e)
3184
- ), Nn = (
3182
+ ), Ln = (
3185
3183
  /** @class */
3186
3184
  function(e) {
3187
3185
  ge(t, e);
@@ -3190,7 +3188,7 @@ var _e = (
3190
3188
  }
3191
3189
  return t;
3192
3190
  }(_e)
3193
- ), In = (
3191
+ ), Nn = (
3194
3192
  /** @class */
3195
3193
  function(e) {
3196
3194
  ge(t, e);
@@ -3203,17 +3201,17 @@ var _e = (
3203
3201
  (function(e) {
3204
3202
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3205
3203
  })(E || (E = {}));
3206
- function Mn(e) {
3204
+ function In(e) {
3207
3205
  return e.length < 2 ? e : e.reduce(function(t, r) {
3208
3206
  var n = t[t.length - 1];
3209
3207
  return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3210
3208
  }, []);
3211
3209
  }
3212
- function $n(e) {
3210
+ function Mn(e) {
3213
3211
  return typeof e == "function";
3214
3212
  }
3215
3213
  function le(e, t, r, n, i, s, a) {
3216
- if (e.length === 1 && st(e[0]))
3214
+ if (e.length === 1 && nt(e[0]))
3217
3215
  return [
3218
3216
  {
3219
3217
  type: E.literal,
@@ -3222,14 +3220,14 @@ function le(e, t, r, n, i, s, a) {
3222
3220
  ];
3223
3221
  for (var o = [], l = 0, h = e; l < h.length; l++) {
3224
3222
  var u = h[l];
3225
- if (st(u)) {
3223
+ if (nt(u)) {
3226
3224
  o.push({
3227
3225
  type: E.literal,
3228
3226
  value: u.value
3229
3227
  });
3230
3228
  continue;
3231
3229
  }
3232
- if (nn(u)) {
3230
+ if (rn(u)) {
3233
3231
  typeof s == "number" && o.push({
3234
3232
  type: E.literal,
3235
3233
  value: r.getNumberFormat(t).format(s)
@@ -3238,43 +3236,43 @@ function le(e, t, r, n, i, s, a) {
3238
3236
  }
3239
3237
  var f = u.value;
3240
3238
  if (!(i && f in i))
3241
- throw new In(f, a);
3239
+ throw new Nn(f, a);
3242
3240
  var c = i[f];
3243
- if (rn(u)) {
3241
+ if (tn(u)) {
3244
3242
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3245
3243
  type: typeof c == "string" ? E.literal : E.object,
3246
3244
  value: c
3247
3245
  });
3248
3246
  continue;
3249
3247
  }
3250
- if ($t(u)) {
3251
- var d = typeof u.style == "string" ? n.date[u.style] : Re(u.style) ? u.style.parsedOptions : void 0;
3248
+ if (It(u)) {
3249
+ var p = typeof u.style == "string" ? n.date[u.style] : Re(u.style) ? u.style.parsedOptions : void 0;
3252
3250
  o.push({
3253
3251
  type: E.literal,
3254
- value: r.getDateTimeFormat(t, d).format(c)
3252
+ value: r.getDateTimeFormat(t, p).format(c)
3255
3253
  });
3256
3254
  continue;
3257
3255
  }
3258
- if (Rt(u)) {
3259
- var d = typeof u.style == "string" ? n.time[u.style] : Re(u.style) ? u.style.parsedOptions : n.time.medium;
3256
+ if (Mt(u)) {
3257
+ var p = typeof u.style == "string" ? n.time[u.style] : Re(u.style) ? u.style.parsedOptions : n.time.medium;
3260
3258
  o.push({
3261
3259
  type: E.literal,
3262
- value: r.getDateTimeFormat(t, d).format(c)
3260
+ value: r.getDateTimeFormat(t, p).format(c)
3263
3261
  });
3264
3262
  continue;
3265
3263
  }
3266
- if (Mt(u)) {
3267
- var d = typeof u.style == "string" ? n.number[u.style] : Ft(u.style) ? u.style.parsedOptions : void 0;
3268
- d && d.scale && (c = c * (d.scale || 1)), o.push({
3264
+ if (Nt(u)) {
3265
+ var p = typeof u.style == "string" ? n.number[u.style] : Dt(u.style) ? u.style.parsedOptions : void 0;
3266
+ p && p.scale && (c = c * (p.scale || 1)), o.push({
3269
3267
  type: E.literal,
3270
- value: r.getNumberFormat(t, d).format(c)
3268
+ value: r.getNumberFormat(t, p).format(c)
3271
3269
  });
3272
3270
  continue;
3273
3271
  }
3274
- if (Gt(u)) {
3272
+ if (Ut(u)) {
3275
3273
  var m = u.children, g = u.value, v = i[g];
3276
- if (!$n(v))
3277
- throw new Nn(g, "function", a);
3274
+ if (!Mn(v))
3275
+ throw new Ln(g, "function", a);
3278
3276
  var N = le(m, t, r, n, i, s), C = v(N.map(function(w) {
3279
3277
  return w.value;
3280
3278
  }));
@@ -3285,14 +3283,14 @@ function le(e, t, r, n, i, s, a) {
3285
3283
  };
3286
3284
  }));
3287
3285
  }
3288
- if (Ut(u)) {
3286
+ if ($t(u)) {
3289
3287
  var H = u.options[c] || u.options.other;
3290
3288
  if (!H)
3291
- throw new ct(u.value, c, Object.keys(u.options), a);
3289
+ throw new lt(u.value, c, Object.keys(u.options), a);
3292
3290
  o.push.apply(o, le(H.value, t, r, n, i));
3293
3291
  continue;
3294
3292
  }
3295
- if (Dt(u)) {
3293
+ if (Rt(u)) {
3296
3294
  var H = u.options["=".concat(c)];
3297
3295
  if (!H) {
3298
3296
  if (!Intl.PluralRules)
@@ -3303,21 +3301,21 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3303
3301
  H = u.options[I] || u.options.other;
3304
3302
  }
3305
3303
  if (!H)
3306
- throw new ct(u.value, c, Object.keys(u.options), a);
3304
+ throw new lt(u.value, c, Object.keys(u.options), a);
3307
3305
  o.push.apply(o, le(H.value, t, r, n, i, c - (u.offset || 0)));
3308
3306
  continue;
3309
3307
  }
3310
3308
  }
3311
- return Mn(o);
3309
+ return In(o);
3312
3310
  }
3313
- function Rn(e, t) {
3311
+ function $n(e, t) {
3314
3312
  return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3315
3313
  return r[n] = y(y({}, e[n]), t[n] || {}), r;
3316
3314
  }, {})) : e;
3317
3315
  }
3318
- function Un(e, t) {
3316
+ function Rn(e, t) {
3319
3317
  return t ? Object.keys(e).reduce(function(r, n) {
3320
- return r[n] = Rn(e[n], t[n]), r;
3318
+ return r[n] = $n(e[n], t[n]), r;
3321
3319
  }, y({}, e)) : e;
3322
3320
  }
3323
3321
  function Pe(e) {
@@ -3334,7 +3332,7 @@ function Pe(e) {
3334
3332
  }
3335
3333
  };
3336
3334
  }
3337
- function Dn(e) {
3335
+ function Un(e) {
3338
3336
  return e === void 0 && (e = {
3339
3337
  number: {},
3340
3338
  dateTime: {},
@@ -3366,7 +3364,7 @@ function Dn(e) {
3366
3364
  })
3367
3365
  };
3368
3366
  }
3369
- var Qt = (
3367
+ var zt = (
3370
3368
  /** @class */
3371
3369
  function() {
3372
3370
  function e(t, r, n, i) {
@@ -3398,13 +3396,13 @@ var Qt = (
3398
3396
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3399
3397
  var a = i || {};
3400
3398
  a.formatters;
3401
- var o = Qr(a, ["formatters"]);
3399
+ var o = zr(a, ["formatters"]);
3402
3400
  this.ast = e.__parse(t, y(y({}, o), { locale: this.resolvedLocale }));
3403
3401
  } else
3404
3402
  this.ast = t;
3405
3403
  if (!Array.isArray(this.ast))
3406
3404
  throw new TypeError("A message must be provided as a String or AST.");
3407
- this.formats = Un(e.formats, n), this.formatters = i && i.formatters || Dn(this.formatterCache);
3405
+ this.formats = Rn(e.formats, n), this.formatters = i && i.formatters || Un(this.formatterCache);
3408
3406
  }
3409
3407
  return Object.defineProperty(e, "defaultLocale", {
3410
3408
  get: function() {
@@ -3417,7 +3415,7 @@ var Qt = (
3417
3415
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3418
3416
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3419
3417
  }
3420
- }, e.__parse = Ln, e.formats = {
3418
+ }, e.__parse = Pn, e.formats = {
3421
3419
  number: {
3422
3420
  integer: {
3423
3421
  maximumFractionDigits: 0
@@ -3478,7 +3476,7 @@ var Qt = (
3478
3476
  }, e;
3479
3477
  }()
3480
3478
  );
3481
- function Gn(e, t) {
3479
+ function Dn(e, t) {
3482
3480
  if (t == null)
3483
3481
  return;
3484
3482
  if (t in e)
@@ -3499,60 +3497,60 @@ function Gn(e, t) {
3499
3497
  n = void 0;
3500
3498
  return n;
3501
3499
  }
3502
- const O = {}, Fn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Jt = (e, t) => {
3500
+ const O = {}, Gn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Zt = (e, t) => {
3503
3501
  if (t == null)
3504
3502
  return;
3505
3503
  if (t in O && e in O[t])
3506
3504
  return O[t][e];
3507
3505
  const r = ie(t);
3508
3506
  for (let n = 0; n < r.length; n++) {
3509
- const i = r[n], s = kn(i, e);
3507
+ const i = r[n], s = jn(i, e);
3510
3508
  if (s)
3511
- return Fn(e, t, s);
3509
+ return Gn(e, t, s);
3512
3510
  }
3513
3511
  };
3514
- let Qe;
3512
+ let ze;
3515
3513
  const ne = be({});
3516
- function jn(e) {
3517
- return Qe[e] || null;
3514
+ function Fn(e) {
3515
+ return ze[e] || null;
3518
3516
  }
3519
- function qt(e) {
3520
- return e in Qe;
3517
+ function Qt(e) {
3518
+ return e in ze;
3521
3519
  }
3522
- function kn(e, t) {
3523
- if (!qt(e))
3520
+ function jn(e, t) {
3521
+ if (!Qt(e))
3524
3522
  return null;
3525
- const r = jn(e);
3526
- return Gn(r, t);
3523
+ const r = Fn(e);
3524
+ return Dn(r, t);
3527
3525
  }
3528
- function Vn(e) {
3526
+ function kn(e) {
3529
3527
  if (e == null)
3530
3528
  return;
3531
3529
  const t = ie(e);
3532
3530
  for (let r = 0; r < t.length; r++) {
3533
3531
  const n = t[r];
3534
- if (qt(n))
3532
+ if (Qt(n))
3535
3533
  return n;
3536
3534
  }
3537
3535
  }
3538
- function Yt(e, ...t) {
3539
- delete O[e], ne.update((r) => (r[e] = Zr.all([r[e] || {}, ...t]), r));
3536
+ function Jt(e, ...t) {
3537
+ delete O[e], ne.update((r) => (r[e] = Wr.all([r[e] || {}, ...t]), r));
3540
3538
  }
3541
3539
  Z(
3542
3540
  [ne],
3543
3541
  ([e]) => Object.keys(e)
3544
3542
  );
3545
- ne.subscribe((e) => Qe = e);
3543
+ ne.subscribe((e) => ze = e);
3546
3544
  const fe = {};
3547
- function Xn(e, t) {
3545
+ function Vn(e, t) {
3548
3546
  fe[e].delete(t), fe[e].size === 0 && delete fe[e];
3549
3547
  }
3550
- function Kt(e) {
3548
+ function qt(e) {
3551
3549
  return fe[e];
3552
3550
  }
3553
- function zn(e) {
3551
+ function Xn(e) {
3554
3552
  return ie(e).map((t) => {
3555
- const r = Kt(t);
3553
+ const r = qt(t);
3556
3554
  return [t, r ? [...r] : []];
3557
3555
  }).filter(([, t]) => t.length > 0);
3558
3556
  }
@@ -3560,40 +3558,40 @@ function me(e) {
3560
3558
  return e == null ? !1 : ie(e).some(
3561
3559
  (t) => {
3562
3560
  var r;
3563
- return (r = Kt(t)) == null ? void 0 : r.size;
3561
+ return (r = qt(t)) == null ? void 0 : r.size;
3564
3562
  }
3565
3563
  );
3566
3564
  }
3567
3565
  function Wn(e, t) {
3568
3566
  return Promise.all(
3569
- t.map((n) => (Xn(e, n), n().then((i) => i.default || i)))
3570
- ).then((n) => Yt(e, ...n));
3567
+ t.map((n) => (Vn(e, n), n().then((i) => i.default || i)))
3568
+ ).then((n) => Jt(e, ...n));
3571
3569
  }
3572
3570
  const J = {};
3573
- function er(e) {
3571
+ function Yt(e) {
3574
3572
  if (!me(e))
3575
3573
  return e in J ? J[e] : Promise.resolve();
3576
- const t = zn(e);
3574
+ const t = Xn(e);
3577
3575
  return J[e] = Promise.all(
3578
3576
  t.map(
3579
3577
  ([r, n]) => Wn(r, n)
3580
3578
  )
3581
3579
  ).then(() => {
3582
3580
  if (me(e))
3583
- return er(e);
3581
+ return Yt(e);
3584
3582
  delete J[e];
3585
3583
  }), J[e];
3586
3584
  }
3587
- var mt = Object.getOwnPropertySymbols, Zn = Object.prototype.hasOwnProperty, Qn = Object.prototype.propertyIsEnumerable, Jn = (e, t) => {
3585
+ var ft = Object.getOwnPropertySymbols, zn = Object.prototype.hasOwnProperty, Zn = Object.prototype.propertyIsEnumerable, Qn = (e, t) => {
3588
3586
  var r = {};
3589
3587
  for (var n in e)
3590
- Zn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3591
- if (e != null && mt)
3592
- for (var n of mt(e))
3593
- t.indexOf(n) < 0 && Qn.call(e, n) && (r[n] = e[n]);
3588
+ zn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3589
+ if (e != null && ft)
3590
+ for (var n of ft(e))
3591
+ t.indexOf(n) < 0 && Zn.call(e, n) && (r[n] = e[n]);
3594
3592
  return r;
3595
3593
  };
3596
- const qn = {
3594
+ const Jn = {
3597
3595
  number: {
3598
3596
  scientific: { notation: "scientific" },
3599
3597
  engineering: { notation: "engineering" },
@@ -3623,7 +3621,7 @@ const qn = {
3623
3621
  }
3624
3622
  }
3625
3623
  };
3626
- function Yn({ locale: e, id: t }) {
3624
+ function qn({ locale: e, id: t }) {
3627
3625
  console.warn(
3628
3626
  `[svelte-i18n] The message "${t}" was not found in "${ie(
3629
3627
  e
@@ -3632,72 +3630,72 @@ function Yn({ locale: e, id: t }) {
3632
3630
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3633
3631
  );
3634
3632
  }
3635
- const Kn = {
3633
+ const Yn = {
3636
3634
  fallbackLocale: null,
3637
3635
  loadingDelay: 200,
3638
- formats: qn,
3636
+ formats: Jn,
3639
3637
  warnOnMissingMessages: !0,
3640
3638
  handleMissingMessage: void 0,
3641
3639
  ignoreTag: !0
3642
- }, q = Kn;
3643
- function z() {
3640
+ }, q = Yn;
3641
+ function W() {
3644
3642
  return q;
3645
3643
  }
3646
- function ei(e) {
3647
- const t = e, { formats: r } = t, n = Jn(t, ["formats"]);
3644
+ function Kn(e) {
3645
+ const t = e, { formats: r } = t, n = Qn(t, ["formats"]);
3648
3646
  let i = e.fallbackLocale;
3649
3647
  if (e.initialLocale)
3650
3648
  try {
3651
- Qt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3649
+ zt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3652
3650
  } catch (s) {
3653
3651
  console.warn(
3654
3652
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3655
3653
  );
3656
3654
  }
3657
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Yn : console.warn(
3655
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = qn : console.warn(
3658
3656
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3659
3657
  )), 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)), $.set(i);
3660
3658
  }
3661
3659
  const Le = be(!1);
3662
- var ti = Object.defineProperty, ri = Object.defineProperties, ni = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, ii = Object.prototype.hasOwnProperty, si = Object.prototype.propertyIsEnumerable, pt = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, oi = (e, t) => {
3660
+ var ei = Object.defineProperty, ti = Object.defineProperties, ri = Object.getOwnPropertyDescriptors, ct = Object.getOwnPropertySymbols, ni = Object.prototype.hasOwnProperty, ii = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, si = (e, t) => {
3663
3661
  for (var r in t || (t = {}))
3664
- ii.call(t, r) && pt(e, r, t[r]);
3665
- if (dt)
3666
- for (var r of dt(t))
3667
- si.call(t, r) && pt(e, r, t[r]);
3662
+ ni.call(t, r) && mt(e, r, t[r]);
3663
+ if (ct)
3664
+ for (var r of ct(t))
3665
+ ii.call(t, r) && mt(e, r, t[r]);
3668
3666
  return e;
3669
- }, ai = (e, t) => ri(e, ni(t));
3667
+ }, oi = (e, t) => ti(e, ri(t));
3670
3668
  let ke;
3671
- const de = be(null);
3672
- function bt(e) {
3669
+ const pe = be(null);
3670
+ function pt(e) {
3673
3671
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3674
3672
  }
3675
- function ie(e, t = z().fallbackLocale) {
3676
- const r = bt(e);
3677
- return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
3673
+ function ie(e, t = W().fallbackLocale) {
3674
+ const r = pt(e);
3675
+ return t ? [.../* @__PURE__ */ new Set([...r, ...pt(t)])] : r;
3678
3676
  }
3679
3677
  function L() {
3680
3678
  return ke != null ? ke : void 0;
3681
3679
  }
3682
- de.subscribe((e) => {
3680
+ pe.subscribe((e) => {
3683
3681
  ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3684
3682
  });
3685
- const hi = (e) => {
3686
- if (e && Vn(e) && me(e)) {
3687
- const { loadingDelay: t } = z();
3683
+ const ai = (e) => {
3684
+ if (e && kn(e) && me(e)) {
3685
+ const { loadingDelay: t } = W();
3688
3686
  let r;
3689
3687
  return typeof window != "undefined" && L() != null && t ? r = window.setTimeout(
3690
3688
  () => Le.set(!0),
3691
3689
  t
3692
- ) : Le.set(!0), er(e).then(() => {
3693
- de.set(e);
3690
+ ) : Le.set(!0), Yt(e).then(() => {
3691
+ pe.set(e);
3694
3692
  }).finally(() => {
3695
3693
  clearTimeout(r), Le.set(!1);
3696
3694
  });
3697
3695
  }
3698
- return de.set(e);
3699
- }, $ = ai(oi({}, de), {
3700
- set: hi
3696
+ return pe.set(e);
3697
+ }, $ = oi(si({}, pe), {
3698
+ set: ai
3701
3699
  }), ye = (e) => {
3702
3700
  const t = /* @__PURE__ */ Object.create(null);
3703
3701
  return (n) => {
@@ -3705,42 +3703,42 @@ const hi = (e) => {
3705
3703
  return i in t ? t[i] : t[i] = e(n);
3706
3704
  };
3707
3705
  };
3708
- var ui = Object.defineProperty, pe = Object.getOwnPropertySymbols, tr = Object.prototype.hasOwnProperty, rr = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? ui(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
3706
+ var hi = Object.defineProperty, de = Object.getOwnPropertySymbols, Kt = Object.prototype.hasOwnProperty, er = Object.prototype.propertyIsEnumerable, dt = (e, t, r) => t in e ? hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ze = (e, t) => {
3709
3707
  for (var r in t || (t = {}))
3710
- tr.call(t, r) && gt(e, r, t[r]);
3711
- if (pe)
3712
- for (var r of pe(t))
3713
- rr.call(t, r) && gt(e, r, t[r]);
3708
+ Kt.call(t, r) && dt(e, r, t[r]);
3709
+ if (de)
3710
+ for (var r of de(t))
3711
+ er.call(t, r) && dt(e, r, t[r]);
3714
3712
  return e;
3715
3713
  }, Q = (e, t) => {
3716
3714
  var r = {};
3717
3715
  for (var n in e)
3718
- tr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3719
- if (e != null && pe)
3720
- for (var n of pe(e))
3721
- t.indexOf(n) < 0 && rr.call(e, n) && (r[n] = e[n]);
3716
+ Kt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3717
+ if (e != null && de)
3718
+ for (var n of de(e))
3719
+ t.indexOf(n) < 0 && er.call(e, n) && (r[n] = e[n]);
3722
3720
  return r;
3723
3721
  };
3724
3722
  const ee = (e, t) => {
3725
- const { formats: r } = z();
3723
+ const { formats: r } = W();
3726
3724
  if (e in r && t in r[e])
3727
3725
  return r[e][t];
3728
3726
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3729
- }, li = ye(
3727
+ }, ui = ye(
3730
3728
  (e) => {
3731
3729
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3732
3730
  if (r == null)
3733
3731
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3734
3732
  return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
3735
3733
  }
3736
- ), fi = ye(
3734
+ ), li = ye(
3737
3735
  (e) => {
3738
3736
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3739
3737
  if (r == null)
3740
3738
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3741
3739
  return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
3742
3740
  }
3743
- ), ci = ye(
3741
+ ), fi = ye(
3744
3742
  (e) => {
3745
3743
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3746
3744
  if (r == null)
@@ -3749,33 +3747,33 @@ const ee = (e, t) => {
3749
3747
  );
3750
3748
  return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
3751
3749
  }
3752
- ), mi = (e = {}) => {
3750
+ ), ci = (e = {}) => {
3753
3751
  var t = e, {
3754
3752
  locale: r = L()
3755
3753
  } = t, n = Q(t, [
3756
3754
  "locale"
3757
3755
  ]);
3758
- return li(Je({ locale: r }, n));
3759
- }, di = (e = {}) => {
3756
+ return ui(Ze({ locale: r }, n));
3757
+ }, mi = (e = {}) => {
3760
3758
  var t = e, {
3761
3759
  locale: r = L()
3762
3760
  } = t, n = Q(t, [
3763
3761
  "locale"
3764
3762
  ]);
3765
- return fi(Je({ locale: r }, n));
3763
+ return li(Ze({ locale: r }, n));
3766
3764
  }, pi = (e = {}) => {
3767
3765
  var t = e, {
3768
3766
  locale: r = L()
3769
3767
  } = t, n = Q(t, [
3770
3768
  "locale"
3771
3769
  ]);
3772
- return ci(Je({ locale: r }, n));
3773
- }, bi = ye(
3770
+ return fi(Ze({ locale: r }, n));
3771
+ }, di = ye(
3774
3772
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3775
- (e, t = L()) => new Qt(e, t, z().formats, {
3776
- ignoreTag: z().ignoreTag
3773
+ (e, t = L()) => new zt(e, t, W().formats, {
3774
+ ignoreTag: W().ignoreTag
3777
3775
  })
3778
- ), gi = (e, t = {}) => {
3776
+ ), bi = (e, t = {}) => {
3779
3777
  var r, n, i, s;
3780
3778
  let a = t;
3781
3779
  typeof e == "object" && (a = e, e = a.id);
@@ -3788,9 +3786,9 @@ const ee = (e, t) => {
3788
3786
  throw new Error(
3789
3787
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3790
3788
  );
3791
- let u = Jt(e, l);
3789
+ let u = Zt(e, l);
3792
3790
  if (!u)
3793
- u = (s = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: h })) != null ? i : h) != null ? s : e;
3791
+ u = (s = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: h })) != null ? i : h) != null ? s : e;
3794
3792
  else if (typeof u != "string")
3795
3793
  return console.warn(
3796
3794
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3799,7 +3797,7 @@ const ee = (e, t) => {
3799
3797
  return u;
3800
3798
  let f = u;
3801
3799
  try {
3802
- f = bi(u, l).format(o);
3800
+ f = di(u, l).format(o);
3803
3801
  } catch (c) {
3804
3802
  c instanceof Error && console.warn(
3805
3803
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3807,20 +3805,20 @@ const ee = (e, t) => {
3807
3805
  );
3808
3806
  }
3809
3807
  return f;
3810
- }, _i = (e, t) => pi(t).format(e), yi = (e, t) => di(t).format(e), xi = (e, t) => mi(t).format(e), Ei = (e, t = L()) => Jt(e, t), vi = Z([$, ne], () => gi);
3808
+ }, gi = (e, t) => pi(t).format(e), _i = (e, t) => mi(t).format(e), yi = (e, t) => ci(t).format(e), xi = (e, t = L()) => Zt(e, t), Ei = Z([$, ne], () => bi);
3809
+ Z([$], () => gi);
3811
3810
  Z([$], () => _i);
3812
3811
  Z([$], () => yi);
3813
- Z([$], () => xi);
3814
- Z([$, ne], () => Ei);
3815
- function _t(e, t) {
3816
- Yt(e, t);
3812
+ Z([$, ne], () => xi);
3813
+ function bt(e, t) {
3814
+ Jt(e, t);
3817
3815
  }
3818
- function Hi(e) {
3819
- ei({
3816
+ function vi(e) {
3817
+ Kn({
3820
3818
  fallbackLocale: "en"
3821
3819
  }), $.set(e);
3822
3820
  }
3823
- const yt = {
3821
+ const gt = {
3824
3822
  en: {
3825
3823
  header: {
3826
3824
  general: "Cashier",
@@ -3843,18 +3841,18 @@ const yt = {
3843
3841
  }
3844
3842
  }
3845
3843
  };
3846
- function Bi(e) {
3847
- 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}");
3844
+ function Hi(e) {
3845
+ cr(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}");
3848
3846
  }
3849
- const Ti = (e) => ({}), xt = (e) => ({}), wi = (e) => ({}), Et = (e) => ({}), Si = (e) => ({}), vt = (e) => ({});
3850
- function Ht(e) {
3847
+ const Bi = (e) => ({}), _t = (e) => ({}), Ti = (e) => ({}), yt = (e) => ({}), wi = (e) => ({}), xt = (e) => ({});
3848
+ function Et(e) {
3851
3849
  let t, r, n;
3852
3850
  return {
3853
3851
  c() {
3854
- 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>', re(t, "class", "CashierHeaderLeftButton");
3852
+ t = z("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', re(t, "class", "CashierHeaderLeftButton");
3855
3853
  },
3856
3854
  m(i, s) {
3857
- M(i, t, s), r || (n = Ot(
3855
+ M(i, t, s), r || (n = At(
3858
3856
  t,
3859
3857
  "click",
3860
3858
  /*back*/
@@ -3867,28 +3865,28 @@ function Ht(e) {
3867
3865
  }
3868
3866
  };
3869
3867
  }
3870
- function Ai(e) {
3868
+ function Si(e) {
3871
3869
  let t, r = (
3872
3870
  /*backButton*/
3873
- e[1] && Ht(e)
3871
+ e[1] && Et(e)
3874
3872
  );
3875
3873
  return {
3876
3874
  c() {
3877
- r && r.c(), t = Ct();
3875
+ r && r.c(), t = St();
3878
3876
  },
3879
3877
  m(n, i) {
3880
3878
  r && r.m(n, i), M(n, t, i);
3881
3879
  },
3882
3880
  p(n, i) {
3883
3881
  /*backButton*/
3884
- n[1] ? r ? r.p(n, i) : (r = Ht(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3882
+ n[1] ? r ? r.p(n, i) : (r = Et(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3885
3883
  },
3886
3884
  d(n) {
3887
3885
  n && P(t), r && r.d(n);
3888
3886
  }
3889
3887
  };
3890
3888
  }
3891
- function Ci(e) {
3889
+ function Ai(e) {
3892
3890
  let t, r = (
3893
3891
  /*$_*/
3894
3892
  e[4](
@@ -3898,7 +3896,7 @@ function Ci(e) {
3898
3896
  ), n;
3899
3897
  return {
3900
3898
  c() {
3901
- t = W("span"), n = Xe(r), re(t, "class", "CashierHeaderTitle");
3899
+ t = z("span"), n = Xe(r), re(t, "class", "CashierHeaderTitle");
3902
3900
  },
3903
3901
  m(i, s) {
3904
3902
  M(i, t, s), ce(t, n);
@@ -3909,21 +3907,21 @@ function Ci(e) {
3909
3907
  i[4](
3910
3908
  /*titleText*/
3911
3909
  i[2]
3912
- ) + "") && _r(n, r);
3910
+ ) + "") && br(n, r);
3913
3911
  },
3914
3912
  d(i) {
3915
3913
  i && P(t);
3916
3914
  }
3917
3915
  };
3918
3916
  }
3919
- function Bt(e) {
3917
+ function vt(e) {
3920
3918
  let t, r, n;
3921
3919
  return {
3922
3920
  c() {
3923
- 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>', re(t, "class", "CashierHeaderRightButton");
3921
+ t = z("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', re(t, "class", "CashierHeaderRightButton");
3924
3922
  },
3925
3923
  m(i, s) {
3926
- M(i, t, s), r || (n = Ot(
3924
+ M(i, t, s), r || (n = At(
3927
3925
  t,
3928
3926
  "click",
3929
3927
  /*close*/
@@ -3936,28 +3934,28 @@ function Bt(e) {
3936
3934
  }
3937
3935
  };
3938
3936
  }
3939
- function Oi(e) {
3937
+ function Ci(e) {
3940
3938
  let t, r = (
3941
3939
  /*closeButton*/
3942
- e[3] && Bt(e)
3940
+ e[3] && vt(e)
3943
3941
  );
3944
3942
  return {
3945
3943
  c() {
3946
- r && r.c(), t = Ct();
3944
+ r && r.c(), t = St();
3947
3945
  },
3948
3946
  m(n, i) {
3949
3947
  r && r.m(n, i), M(n, t, i);
3950
3948
  },
3951
3949
  p(n, i) {
3952
3950
  /*closeButton*/
3953
- n[3] ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3951
+ n[3] ? r ? r.p(n, i) : (r = vt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3954
3952
  },
3955
3953
  d(n) {
3956
3954
  n && P(t), r && r.d(n);
3957
3955
  }
3958
3956
  };
3959
3957
  }
3960
- function Pi(e) {
3958
+ function Oi(e) {
3961
3959
  let t, r, n, i;
3962
3960
  const s = (
3963
3961
  /*#slots*/
@@ -3967,8 +3965,8 @@ function Pi(e) {
3967
3965
  e,
3968
3966
  /*$$scope*/
3969
3967
  e[14],
3970
- vt
3971
- ), o = a || Ai(e), l = (
3968
+ xt
3969
+ ), o = a || Si(e), l = (
3972
3970
  /*#slots*/
3973
3971
  e[15].title
3974
3972
  ), h = Ee(
@@ -3976,8 +3974,8 @@ function Pi(e) {
3976
3974
  e,
3977
3975
  /*$$scope*/
3978
3976
  e[14],
3979
- Et
3980
- ), u = h || Ci(e), f = (
3977
+ yt
3978
+ ), u = h || Ai(e), f = (
3981
3979
  /*#slots*/
3982
3980
  e[15].rightButton
3983
3981
  ), c = Ee(
@@ -3985,14 +3983,14 @@ function Pi(e) {
3985
3983
  e,
3986
3984
  /*$$scope*/
3987
3985
  e[14],
3988
- xt
3989
- ), d = c || Oi(e);
3986
+ _t
3987
+ ), p = c || Ci(e);
3990
3988
  return {
3991
3989
  c() {
3992
- t = W("div"), o && o.c(), r = rt(), u && u.c(), n = rt(), d && d.c(), re(t, "class", "CashierHeader");
3990
+ t = z("div"), o && o.c(), r = et(), u && u.c(), n = et(), p && p.c(), re(t, "class", "CashierHeader");
3993
3991
  },
3994
3992
  m(m, g) {
3995
- M(m, t, g), o && o.m(t, null), ce(t, r), u && u.m(t, null), ce(t, n), d && d.m(t, null), e[16](t), i = !0;
3993
+ M(m, t, g), o && o.m(t, null), ce(t, r), u && u.m(t, null), ce(t, n), p && p.m(t, null), e[16](t), i = !0;
3996
3994
  },
3997
3995
  p(m, [g]) {
3998
3996
  a ? a.p && (!i || g & /*$$scope*/
@@ -4007,12 +4005,12 @@ function Pi(e) {
4007
4005
  /*$$scope*/
4008
4006
  m[14],
4009
4007
  g,
4010
- Si
4008
+ wi
4011
4009
  ) : Be(
4012
4010
  /*$$scope*/
4013
4011
  m[14]
4014
4012
  ),
4015
- vt
4013
+ xt
4016
4014
  ) : o && o.p && (!i || g & /*backButton*/
4017
4015
  2) && o.p(m, i ? g : -1), h ? h.p && (!i || g & /*$$scope*/
4018
4016
  16384) && He(
@@ -4026,12 +4024,12 @@ function Pi(e) {
4026
4024
  /*$$scope*/
4027
4025
  m[14],
4028
4026
  g,
4029
- wi
4027
+ Ti
4030
4028
  ) : Be(
4031
4029
  /*$$scope*/
4032
4030
  m[14]
4033
4031
  ),
4034
- Et
4032
+ yt
4035
4033
  ) : u && u.p && (!i || g & /*$_, titleText*/
4036
4034
  20) && u.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
4037
4035
  16384) && He(
@@ -4045,72 +4043,72 @@ function Pi(e) {
4045
4043
  /*$$scope*/
4046
4044
  m[14],
4047
4045
  g,
4048
- Ti
4046
+ Bi
4049
4047
  ) : Be(
4050
4048
  /*$$scope*/
4051
4049
  m[14]
4052
4050
  ),
4053
- xt
4054
- ) : d && d.p && (!i || g & /*closeButton*/
4055
- 8) && d.p(m, i ? g : -1);
4051
+ _t
4052
+ ) : p && p.p && (!i || g & /*closeButton*/
4053
+ 8) && p.p(m, i ? g : -1);
4056
4054
  },
4057
4055
  i(m) {
4058
- i || (he(o, m), he(u, m), he(d, m), i = !0);
4056
+ i || (he(o, m), he(u, m), he(p, m), i = !0);
4059
4057
  },
4060
4058
  o(m) {
4061
- we(o, m), we(u, m), we(d, m), i = !1;
4059
+ we(o, m), we(u, m), we(p, m), i = !1;
4062
4060
  },
4063
4061
  d(m) {
4064
- m && P(t), o && o.d(m), u && u.d(m), d && d.d(m), e[16](null);
4062
+ m && P(t), o && o.d(m), u && u.d(m), p && p.d(m), e[16](null);
4065
4063
  }
4066
4064
  };
4067
4065
  }
4068
- function Li(e, t, r) {
4066
+ function Pi(e, t, r) {
4069
4067
  let n;
4070
- mr(e, vi, (_) => r(4, n = _));
4071
- let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: h = "" } = t, { title: u = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: c = "" } = t, d, m = !1, g, v = !1;
4068
+ fr(e, Ei, (_) => r(4, n = _));
4069
+ let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: h = "" } = t, { title: u = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: c = "" } = t, p, m = !1, g, v = !1;
4072
4070
  const N = () => {
4073
4071
  let _ = l;
4074
4072
  _ && fetch(_).then((S) => S.json()).then((S) => {
4075
4073
  Object.keys(S).forEach((U) => {
4076
- _t(U, S[U]);
4074
+ bt(U, S[U]);
4077
4075
  });
4078
4076
  }).catch((S) => {
4079
4077
  console.log(S);
4080
4078
  });
4081
4079
  };
4082
- Object.keys(yt).forEach((_) => {
4083
- _t(_, yt[_]);
4080
+ Object.keys(gt).forEach((_) => {
4081
+ bt(_, gt[_]);
4084
4082
  });
4085
4083
  const C = () => {
4086
4084
  let _ = document.createElement("style");
4087
- _.innerHTML = a, d.appendChild(_);
4085
+ _.innerHTML = a, p.appendChild(_);
4088
4086
  }, H = () => {
4089
4087
  let _ = new URL(o), S = document.createElement("style");
4090
4088
  fetch(_.href).then((U) => U.text()).then((U) => {
4091
4089
  S.innerHTML = U, setTimeout(
4092
4090
  () => {
4093
- d.appendChild(S);
4091
+ p.appendChild(S);
4094
4092
  },
4095
4093
  1
4096
4094
  );
4097
4095
  });
4098
4096
  }, I = () => {
4099
- Hi(f);
4097
+ vi(f);
4100
4098
  }, w = () => {
4101
4099
  window.postMessage({ type: "CloseCashier" }, window.location.href);
4102
4100
  }, R = () => {
4103
4101
  window.postMessage({ type: "BackCashier" }, window.location.href);
4104
4102
  }, se = () => {
4105
4103
  r(1, m = !!h && h !== "false");
4106
- }, nr = () => {
4104
+ }, tr = () => {
4107
4105
  r(3, v = !!c && c !== "false");
4108
- }, ir = () => {
4106
+ }, rr = () => {
4109
4107
  r(2, g = u || "header.general");
4110
4108
  };
4111
- function sr(_) {
4109
+ function nr(_) {
4112
4110
  Ne[_ ? "unshift" : "push"](() => {
4113
- d = _, r(0, d);
4111
+ p = _, r(0, p);
4114
4112
  });
4115
4113
  }
4116
4114
  return e.$$set = (_) => {
@@ -4118,14 +4116,14 @@ function Li(e, t, r) {
4118
4116
  }, e.$$.update = () => {
4119
4117
  e.$$.dirty & /*lang*/
4120
4118
  4096 && f && I(), e.$$.dirty & /*lang, title*/
4121
- 6144 && f && u && ir(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4122
- 129 && a && d && C(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4123
- 257 && o && d && H(), e.$$.dirty & /*lang, translationurl*/
4119
+ 6144 && f && u && rr(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4120
+ 129 && a && p && C(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4121
+ 257 && o && p && H(), e.$$.dirty & /*lang, translationurl*/
4124
4122
  4608 && f && l && N(), e.$$.dirty & /*showbackbutton*/
4125
4123
  1024 && h && se(), e.$$.dirty & /*showclosebutton*/
4126
- 8192 && c && nr();
4124
+ 8192 && c && tr();
4127
4125
  }, [
4128
- d,
4126
+ p,
4129
4127
  m,
4130
4128
  g,
4131
4129
  v,
@@ -4141,17 +4139,17 @@ function Li(e, t, r) {
4141
4139
  c,
4142
4140
  s,
4143
4141
  i,
4144
- sr
4142
+ nr
4145
4143
  ];
4146
4144
  }
4147
- class Ni extends Or {
4145
+ class Li extends Ar {
4148
4146
  constructor(t) {
4149
- super(), Ar(
4147
+ super(), wr(
4150
4148
  this,
4151
4149
  t,
4152
- Li,
4153
4150
  Pi,
4154
- wt,
4151
+ Oi,
4152
+ Bt,
4155
4153
  {
4156
4154
  clientstyling: 7,
4157
4155
  clientstylingurl: 8,
@@ -4161,7 +4159,7 @@ class Ni extends Or {
4161
4159
  lang: 12,
4162
4160
  showclosebutton: 13
4163
4161
  },
4164
- Bi
4162
+ Hi
4165
4163
  );
4166
4164
  }
4167
4165
  get clientstyling() {
@@ -4207,7 +4205,7 @@ class Ni extends Or {
4207
4205
  this.$$set({ showclosebutton: t }), A();
4208
4206
  }
4209
4207
  }
4210
- Cr(Ni, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4208
+ Sr(Li, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4211
4209
  export {
4212
- Ni as default
4210
+ Li as default
4213
4211
  };