@everymatrix/cashier-iframe-redirect 1.46.1 → 1.47.1

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,16 +1,16 @@
1
- var nr = Object.defineProperty, ir = Object.defineProperties;
2
- var sr = Object.getOwnPropertyDescriptors;
1
+ var ur = Object.defineProperty, hr = Object.defineProperties;
2
+ var lr = Object.getOwnPropertyDescriptors;
3
3
  var Ye = Object.getOwnPropertySymbols;
4
- var or = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable;
5
- var xe = (e, t, r) => t in e ? nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
4
+ var fr = Object.prototype.hasOwnProperty, cr = Object.prototype.propertyIsEnumerable;
5
+ var xe = (e, t, r) => t in e ? ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- or.call(t, r) && xe(e, r, t[r]);
7
+ fr.call(t, r) && xe(e, r, t[r]);
8
8
  if (Ye)
9
9
  for (var r of Ye(t))
10
- ar.call(t, r) && xe(e, r, t[r]);
10
+ cr.call(t, r) && xe(e, r, t[r]);
11
11
  return e;
12
- }, et = (e, t) => ir(e, sr(t));
13
- var H = (e, t, r) => xe(e, typeof t != "symbol" ? t + "" : t, r);
12
+ }, et = (e, t) => hr(e, lr(t));
13
+ var B = (e, t, r) => xe(e, typeof t != "symbol" ? t + "" : t, r);
14
14
  var tt = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (l) => {
16
16
  try {
@@ -27,23 +27,23 @@ var tt = (e, t, r) => new Promise((n, i) => {
27
27
  }, o = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, a);
28
28
  o((r = r.apply(e, t)).next());
29
29
  });
30
- function B() {
30
+ function T() {
31
31
  }
32
- function ur(e, t) {
32
+ function mr(e, t) {
33
33
  for (const r in t) e[r] = t[r];
34
34
  return (
35
35
  /** @type {T & S} */
36
36
  e
37
37
  );
38
38
  }
39
- function Bt(e) {
39
+ function wt(e) {
40
40
  return e();
41
41
  }
42
42
  function rt() {
43
43
  return /* @__PURE__ */ Object.create(null);
44
44
  }
45
45
  function re(e) {
46
- e.forEach(Bt);
46
+ e.forEach(wt);
47
47
  }
48
48
  function Xe(e) {
49
49
  return typeof e == "function";
@@ -52,32 +52,32 @@ function St(e, t) {
52
52
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
53
53
  }
54
54
  let oe;
55
- function Li(e, t) {
55
+ function $i(e, t) {
56
56
  return e === t ? !0 : (oe || (oe = document.createElement("a")), oe.href = t, e === oe.href);
57
57
  }
58
- function hr(e) {
58
+ function pr(e) {
59
59
  return Object.keys(e).length === 0;
60
60
  }
61
- function wt(e, ...t) {
61
+ function At(e, ...t) {
62
62
  if (e == null) {
63
63
  for (const n of t)
64
64
  n(void 0);
65
- return B;
65
+ return T;
66
66
  }
67
67
  const r = e.subscribe(...t);
68
68
  return r.unsubscribe ? () => r.unsubscribe() : r;
69
69
  }
70
- function lr(e, t, r) {
71
- e.$$.on_destroy.push(wt(t, r));
70
+ function dr(e, t, r) {
71
+ e.$$.on_destroy.push(At(t, r));
72
72
  }
73
73
  function ve(e, t, r, n) {
74
74
  if (e) {
75
- const i = At(e, t, r, n);
75
+ const i = Ct(e, t, r, n);
76
76
  return e[0](i);
77
77
  }
78
78
  }
79
- function At(e, t, r, n) {
80
- return e[1] && n ? ur(r.ctx.slice(), e[1](n(t))) : r.ctx;
79
+ function Ct(e, t, r, n) {
80
+ return e[1] && n ? mr(r.ctx.slice(), e[1](n(t))) : r.ctx;
81
81
  }
82
82
  function He(e, t, r, n) {
83
83
  if (e[2] && n) {
@@ -94,13 +94,13 @@ function He(e, t, r, n) {
94
94
  }
95
95
  return t.dirty;
96
96
  }
97
- function Te(e, t, r, n, i, s) {
97
+ function Be(e, t, r, n, i, s) {
98
98
  if (i) {
99
- const a = At(t, r, n, s);
99
+ const a = Ct(t, r, n, s);
100
100
  e.p(a, i);
101
101
  }
102
102
  }
103
- function Be(e) {
103
+ function Te(e) {
104
104
  if (e.ctx.length > 32) {
105
105
  const t = [], r = e.ctx.length / 32;
106
106
  for (let n = 0; n < r; n++)
@@ -112,14 +112,14 @@ function Be(e) {
112
112
  function me(e, t) {
113
113
  e.appendChild(t);
114
114
  }
115
- function fr(e, t, r) {
116
- const n = cr(e);
115
+ function br(e, t, r) {
116
+ const n = gr(e);
117
117
  if (!n.getElementById(t)) {
118
118
  const i = W("style");
119
- i.id = t, i.textContent = r, mr(n, i);
119
+ i.id = t, i.textContent = r, _r(n, i);
120
120
  }
121
121
  }
122
- function cr(e) {
122
+ function gr(e) {
123
123
  if (!e) return document;
124
124
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
125
125
  return t && /** @type {ShadowRoot} */
@@ -128,17 +128,17 @@ function cr(e) {
128
128
  t
129
129
  ) : e.ownerDocument;
130
130
  }
131
- function mr(e, t) {
131
+ function _r(e, t) {
132
132
  return me(
133
133
  /** @type {Document} */
134
134
  e.head || e,
135
135
  t
136
136
  ), t.sheet;
137
137
  }
138
- function z(e, t, r) {
138
+ function M(e, t, r) {
139
139
  e.insertBefore(t, r || null);
140
140
  }
141
- function I(e) {
141
+ function P(e) {
142
142
  e.parentNode && e.parentNode.removeChild(e);
143
143
  }
144
144
  function W(e) {
@@ -150,27 +150,27 @@ function ze(e) {
150
150
  function nt() {
151
151
  return ze(" ");
152
152
  }
153
- function pr() {
153
+ function Ot() {
154
154
  return ze("");
155
155
  }
156
- function Ot(e, t, r, n) {
156
+ function Pt(e, t, r, n) {
157
157
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
158
158
  }
159
159
  function Z(e, t, r) {
160
160
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
161
161
  }
162
- function Ni(e, t, r) {
162
+ function Ri(e, t, r) {
163
163
  const n = t.toLowerCase();
164
164
  n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : Z(e, t, r);
165
165
  }
166
- function dr(e) {
166
+ function yr(e) {
167
167
  return Array.from(e.childNodes);
168
168
  }
169
- function br(e, t) {
169
+ function Er(e, t) {
170
170
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
171
171
  t);
172
172
  }
173
- function gr(e) {
173
+ function xr(e) {
174
174
  const t = {};
175
175
  return e.childNodes.forEach(
176
176
  /** @param {Element} node */
@@ -183,81 +183,81 @@ let We;
183
183
  function K(e) {
184
184
  We = e;
185
185
  }
186
- const G = [], Ie = [];
187
- let F = [];
188
- const it = [], _r = /* @__PURE__ */ Promise.resolve();
186
+ const F = [], Ie = [];
187
+ let j = [];
188
+ const it = [], vr = /* @__PURE__ */ Promise.resolve();
189
189
  let Me = !1;
190
- function yr() {
191
- Me || (Me = !0, _r.then(O));
190
+ function Hr() {
191
+ Me || (Me = !0, vr.then(A));
192
192
  }
193
193
  function $e(e) {
194
- F.push(e);
194
+ j.push(e);
195
195
  }
196
- const Se = /* @__PURE__ */ new Set();
197
- let U = 0;
198
- function O() {
199
- if (U !== 0)
196
+ const we = /* @__PURE__ */ new Set();
197
+ let D = 0;
198
+ function A() {
199
+ if (D !== 0)
200
200
  return;
201
201
  const e = We;
202
202
  do {
203
203
  try {
204
- for (; U < G.length; ) {
205
- const t = G[U];
206
- U++, K(t), Er(t.$$);
204
+ for (; D < F.length; ) {
205
+ const t = F[D];
206
+ D++, K(t), Br(t.$$);
207
207
  }
208
208
  } catch (t) {
209
- throw G.length = 0, U = 0, t;
209
+ throw F.length = 0, D = 0, t;
210
210
  }
211
- for (K(null), G.length = 0, U = 0; Ie.length; ) Ie.pop()();
212
- for (let t = 0; t < F.length; t += 1) {
213
- const r = F[t];
214
- Se.has(r) || (Se.add(r), r());
211
+ for (K(null), F.length = 0, D = 0; Ie.length; ) Ie.pop()();
212
+ for (let t = 0; t < j.length; t += 1) {
213
+ const r = j[t];
214
+ we.has(r) || (we.add(r), r());
215
215
  }
216
- F.length = 0;
217
- } while (G.length);
216
+ j.length = 0;
217
+ } while (F.length);
218
218
  for (; it.length; )
219
219
  it.pop()();
220
- Me = !1, Se.clear(), K(e);
220
+ Me = !1, we.clear(), K(e);
221
221
  }
222
- function Er(e) {
222
+ function Br(e) {
223
223
  if (e.fragment !== null) {
224
224
  e.update(), re(e.before_update);
225
225
  const t = e.dirty;
226
226
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
227
227
  }
228
228
  }
229
- function xr(e) {
229
+ function Tr(e) {
230
230
  const t = [], r = [];
231
- F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
231
+ j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
232
232
  }
233
233
  const ue = /* @__PURE__ */ new Set();
234
- let vr;
234
+ let wr;
235
235
  function he(e, t) {
236
236
  e && e.i && (ue.delete(e), e.i(t));
237
237
  }
238
- function we(e, t, r, n) {
238
+ function Se(e, t, r, n) {
239
239
  if (e && e.o) {
240
240
  if (ue.has(e)) return;
241
- ue.add(e), vr.c.push(() => {
241
+ ue.add(e), wr.c.push(() => {
242
242
  ue.delete(e);
243
243
  }), e.o(t);
244
244
  }
245
245
  }
246
- function Hr(e, t, r) {
246
+ function Sr(e, t, r) {
247
247
  const { fragment: n, after_update: i } = e.$$;
248
248
  n && n.m(t, r), $e(() => {
249
- const s = e.$$.on_mount.map(Bt).filter(Xe);
249
+ const s = e.$$.on_mount.map(wt).filter(Xe);
250
250
  e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
251
251
  }), i.forEach($e);
252
252
  }
253
- function Tr(e, t) {
253
+ function Ar(e, t) {
254
254
  const r = e.$$;
255
- r.fragment !== null && (xr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
255
+ r.fragment !== null && (Tr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
256
256
  }
257
- function Br(e, t) {
258
- e.$$.dirty[0] === -1 && (G.push(e), yr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
257
+ function Cr(e, t) {
258
+ e.$$.dirty[0] === -1 && (F.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
259
259
  }
260
- function Sr(e, t, r, n, i, s, a = null, o = [-1]) {
260
+ function Or(e, t, r, n, i, s, a = null, o = [-1]) {
261
261
  const l = We;
262
262
  K(e);
263
263
  const u = e.$$ = {
@@ -265,7 +265,7 @@ function Sr(e, t, r, n, i, s, a = null, o = [-1]) {
265
265
  ctx: [],
266
266
  // state
267
267
  props: s,
268
- update: B,
268
+ update: T,
269
269
  not_equal: i,
270
270
  bound: rt(),
271
271
  // lifecycle
@@ -283,41 +283,41 @@ function Sr(e, t, r, n, i, s, a = null, o = [-1]) {
283
283
  };
284
284
  a && a(u.root);
285
285
  let h = !1;
286
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
287
- const m = p.length ? p[0] : f;
288
- return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && Br(e, c)), f;
286
+ if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
287
+ const m = p.length ? p[0] : c;
288
+ return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Cr(e, f)), c;
289
289
  }) : [], u.update(), h = !0, re(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
290
290
  if (t.hydrate) {
291
- const c = dr(t.target);
292
- u.fragment && u.fragment.l(c), c.forEach(I);
291
+ const f = yr(t.target);
292
+ u.fragment && u.fragment.l(f), f.forEach(P);
293
293
  } else
294
294
  u.fragment && u.fragment.c();
295
- t.intro && he(e.$$.fragment), Hr(e, t.target, t.anchor), O();
295
+ t.intro && he(e.$$.fragment), Sr(e, t.target, t.anchor), A();
296
296
  }
297
297
  K(l);
298
298
  }
299
- let Ct;
300
- typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
299
+ let Lt;
300
+ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
301
301
  constructor(t, r, n) {
302
302
  super();
303
303
  /** The Svelte component constructor */
304
- H(this, "$$ctor");
304
+ B(this, "$$ctor");
305
305
  /** Slots */
306
- H(this, "$$s");
306
+ B(this, "$$s");
307
307
  /** The Svelte component instance */
308
- H(this, "$$c");
308
+ B(this, "$$c");
309
309
  /** Whether or not the custom element is connected */
310
- H(this, "$$cn", !1);
310
+ B(this, "$$cn", !1);
311
311
  /** Component props data */
312
- H(this, "$$d", {});
312
+ B(this, "$$d", {});
313
313
  /** `true` if currently in the process of reflecting component props back to attributes */
314
- H(this, "$$r", !1);
314
+ B(this, "$$r", !1);
315
315
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
316
- H(this, "$$p_d", {});
316
+ B(this, "$$p_d", {});
317
317
  /** @type {Record<string, Function[]>} Event listeners */
318
- H(this, "$$l", {});
318
+ B(this, "$$l", {});
319
319
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
320
- H(this, "$$l_u", /* @__PURE__ */ new Map());
320
+ B(this, "$$l_u", /* @__PURE__ */ new Map());
321
321
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
322
322
  }
323
323
  addEventListener(t, r, n) {
@@ -348,17 +348,17 @@ typeof HTMLElement == "function" && (Ct = class extends HTMLElement {
348
348
  * @param {HTMLElement} [anchor]
349
349
  */
350
350
  m: function(u, h) {
351
- z(u, a, h);
351
+ M(u, a, h);
352
352
  },
353
353
  d: function(u) {
354
- u && I(a);
354
+ u && P(a);
355
355
  }
356
356
  };
357
357
  };
358
358
  };
359
359
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
360
360
  return;
361
- const r = {}, n = gr(this);
361
+ const r = {}, n = xr(this);
362
362
  for (const s of this.$$s)
363
363
  s in n && (r[s] = [t(s)]);
364
364
  for (const s of this.attributes) {
@@ -447,8 +447,8 @@ function le(e, t, r, n) {
447
447
  return t;
448
448
  }
449
449
  }
450
- function wr(e, t, r, n, i, s) {
451
- let a = class extends Ct {
450
+ function Pr(e, t, r, n, i, s) {
451
+ let a = class extends Lt {
452
452
  constructor() {
453
453
  super(e, r, i), this.$$p_d = t;
454
454
  }
@@ -478,7 +478,7 @@ function wr(e, t, r, n, i, s) {
478
478
  }), e.element = /** @type {any} */
479
479
  a, a;
480
480
  }
481
- class Ar {
481
+ class Lr {
482
482
  constructor() {
483
483
  /**
484
484
  * ### PRIVATE API
@@ -487,7 +487,7 @@ class Ar {
487
487
  *
488
488
  * @type {any}
489
489
  */
490
- H(this, "$$");
490
+ B(this, "$$");
491
491
  /**
492
492
  * ### PRIVATE API
493
493
  *
@@ -495,11 +495,11 @@ class Ar {
495
495
  *
496
496
  * @type {any}
497
497
  */
498
- H(this, "$$set");
498
+ B(this, "$$set");
499
499
  }
500
500
  /** @returns {void} */
501
501
  $destroy() {
502
- Tr(this, 1), this.$destroy = B;
502
+ Ar(this, 1), this.$destroy = T;
503
503
  }
504
504
  /**
505
505
  * @template {Extract<keyof Events, string>} K
@@ -509,7 +509,7 @@ class Ar {
509
509
  */
510
510
  $on(t, r) {
511
511
  if (!Xe(r))
512
- return B;
512
+ return T;
513
513
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
514
514
  return n.push(r), () => {
515
515
  const i = n.indexOf(r);
@@ -521,38 +521,38 @@ class Ar {
521
521
  * @returns {void}
522
522
  */
523
523
  $set(t) {
524
- this.$$set && !hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
524
+ this.$$set && !pr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
525
525
  }
526
526
  }
527
- const Or = "4";
528
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Or);
529
- const D = [];
530
- function Cr(e, t) {
527
+ const Nr = "4";
528
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Nr);
529
+ const G = [];
530
+ function Ir(e, t) {
531
531
  return {
532
532
  subscribe: ge(e, t).subscribe
533
533
  };
534
534
  }
535
- function ge(e, t = B) {
535
+ function ge(e, t = T) {
536
536
  let r;
537
537
  const n = /* @__PURE__ */ new Set();
538
538
  function i(o) {
539
539
  if (St(e, o) && (e = o, r)) {
540
- const l = !D.length;
540
+ const l = !G.length;
541
541
  for (const u of n)
542
- u[1](), D.push(u, e);
542
+ u[1](), G.push(u, e);
543
543
  if (l) {
544
- for (let u = 0; u < D.length; u += 2)
545
- D[u][0](D[u + 1]);
546
- D.length = 0;
544
+ for (let u = 0; u < G.length; u += 2)
545
+ G[u][0](G[u + 1]);
546
+ G.length = 0;
547
547
  }
548
548
  }
549
549
  }
550
550
  function s(o) {
551
551
  i(o(e));
552
552
  }
553
- function a(o, l = B) {
553
+ function a(o, l = T) {
554
554
  const u = [o, l];
555
- return n.add(u), n.size === 1 && (r = t(i, s) || B), o(e), () => {
555
+ return n.add(u), n.size === 1 && (r = t(i, s) || T), o(e), () => {
556
556
  n.delete(u), n.size === 0 && r && (r(), r = null);
557
557
  };
558
558
  }
@@ -563,106 +563,106 @@ function Q(e, t, r) {
563
563
  if (!i.every(Boolean))
564
564
  throw new Error("derived() expects stores as input, got a falsy value");
565
565
  const s = t.length < 2;
566
- return Cr(r, (a, o) => {
566
+ return Ir(r, (a, o) => {
567
567
  let l = !1;
568
568
  const u = [];
569
- let h = 0, c = B;
570
- const f = () => {
569
+ let h = 0, f = T;
570
+ const c = () => {
571
571
  if (h)
572
572
  return;
573
- c();
573
+ f();
574
574
  const m = t(n ? u[0] : u, a, o);
575
- s ? a(m) : c = Xe(m) ? m : B;
575
+ s ? a(m) : f = Xe(m) ? m : T;
576
576
  }, p = i.map(
577
- (m, y) => wt(
577
+ (m, g) => At(
578
578
  m,
579
- (T) => {
580
- u[y] = T, h &= ~(1 << y), l && f();
579
+ (v) => {
580
+ u[g] = v, h &= ~(1 << g), l && c();
581
581
  },
582
582
  () => {
583
- h |= 1 << y;
583
+ h |= 1 << g;
584
584
  }
585
585
  )
586
586
  );
587
- return l = !0, f(), function() {
588
- re(p), c(), l = !1;
587
+ return l = !0, c(), function() {
588
+ re(p), f(), l = !1;
589
589
  };
590
590
  });
591
591
  }
592
- function Pr(e) {
592
+ function Mr(e) {
593
593
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
594
594
  }
595
- var Lr = function(t) {
596
- return Nr(t) && !Ir(t);
595
+ var $r = function(t) {
596
+ return Rr(t) && !Ur(t);
597
597
  };
598
- function Nr(e) {
598
+ function Rr(e) {
599
599
  return !!e && typeof e == "object";
600
600
  }
601
- function Ir(e) {
601
+ function Ur(e) {
602
602
  var t = Object.prototype.toString.call(e);
603
- return t === "[object RegExp]" || t === "[object Date]" || Rr(e);
603
+ return t === "[object RegExp]" || t === "[object Date]" || Fr(e);
604
604
  }
605
- var Mr = typeof Symbol == "function" && Symbol.for, $r = Mr ? Symbol.for("react.element") : 60103;
606
- function Rr(e) {
607
- return e.$$typeof === $r;
605
+ var Dr = typeof Symbol == "function" && Symbol.for, Gr = Dr ? Symbol.for("react.element") : 60103;
606
+ function Fr(e) {
607
+ return e.$$typeof === Gr;
608
608
  }
609
- function Ur(e) {
609
+ function jr(e) {
610
610
  return Array.isArray(e) ? [] : {};
611
611
  }
612
612
  function ee(e, t) {
613
- return t.clone !== !1 && t.isMergeableObject(e) ? j(Ur(e), e, t) : e;
613
+ return t.clone !== !1 && t.isMergeableObject(e) ? k(jr(e), e, t) : e;
614
614
  }
615
- function Dr(e, t, r) {
615
+ function kr(e, t, r) {
616
616
  return e.concat(t).map(function(n) {
617
617
  return ee(n, r);
618
618
  });
619
619
  }
620
- function Gr(e, t) {
620
+ function Vr(e, t) {
621
621
  if (!t.customMerge)
622
- return j;
622
+ return k;
623
623
  var r = t.customMerge(e);
624
- return typeof r == "function" ? r : j;
624
+ return typeof r == "function" ? r : k;
625
625
  }
626
- function Fr(e) {
626
+ function Xr(e) {
627
627
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
628
628
  return Object.propertyIsEnumerable.call(e, t);
629
629
  }) : [];
630
630
  }
631
631
  function st(e) {
632
- return Object.keys(e).concat(Fr(e));
632
+ return Object.keys(e).concat(Xr(e));
633
633
  }
634
- function Pt(e, t) {
634
+ function Nt(e, t) {
635
635
  try {
636
636
  return t in e;
637
637
  } catch (r) {
638
638
  return !1;
639
639
  }
640
640
  }
641
- function jr(e, t) {
642
- return Pt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
641
+ function zr(e, t) {
642
+ return Nt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
643
643
  }
644
- function kr(e, t, r) {
644
+ function Wr(e, t, r) {
645
645
  var n = {};
646
646
  return r.isMergeableObject(e) && st(e).forEach(function(i) {
647
647
  n[i] = ee(e[i], r);
648
648
  }), st(t).forEach(function(i) {
649
- jr(e, i) || (Pt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Gr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
649
+ zr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Vr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
650
650
  }), n;
651
651
  }
652
- function j(e, t, r) {
653
- r = r || {}, r.arrayMerge = r.arrayMerge || Dr, r.isMergeableObject = r.isMergeableObject || Lr, r.cloneUnlessOtherwiseSpecified = ee;
652
+ function k(e, t, r) {
653
+ r = r || {}, r.arrayMerge = r.arrayMerge || kr, r.isMergeableObject = r.isMergeableObject || $r, r.cloneUnlessOtherwiseSpecified = ee;
654
654
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
655
- return s ? n ? r.arrayMerge(e, t, r) : kr(e, t, r) : ee(t, r);
655
+ return s ? n ? r.arrayMerge(e, t, r) : Wr(e, t, r) : ee(t, r);
656
656
  }
657
- j.all = function(t, r) {
657
+ k.all = function(t, r) {
658
658
  if (!Array.isArray(t))
659
659
  throw new Error("first argument should be an array");
660
660
  return t.reduce(function(n, i) {
661
- return j(n, i, r);
661
+ return k(n, i, r);
662
662
  }, {});
663
663
  };
664
- var Vr = j, Xr = Vr;
665
- const zr = /* @__PURE__ */ Pr(Xr);
664
+ var Zr = k, Qr = Zr;
665
+ const qr = /* @__PURE__ */ Mr(Qr);
666
666
  var Re = function(e, t) {
667
667
  return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
668
668
  r.__proto__ = n;
@@ -679,16 +679,16 @@ function _e(e, t) {
679
679
  }
680
680
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
681
681
  }
682
- var g = function() {
683
- return g = Object.assign || function(t) {
682
+ var y = function() {
683
+ return y = Object.assign || function(t) {
684
684
  for (var r, n = 1, i = arguments.length; n < i; n++) {
685
685
  r = arguments[n];
686
686
  for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
687
687
  }
688
688
  return t;
689
- }, g.apply(this, arguments);
689
+ }, y.apply(this, arguments);
690
690
  };
691
- function Wr(e, t) {
691
+ function Jr(e, t) {
692
692
  var r = {};
693
693
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
694
694
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -709,47 +709,47 @@ var E;
709
709
  (function(e) {
710
710
  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";
711
711
  })(E || (E = {}));
712
- var k;
712
+ var V;
713
713
  (function(e) {
714
714
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
715
- })(k || (k = {}));
715
+ })(V || (V = {}));
716
716
  function ot(e) {
717
717
  return e.type === E.literal;
718
718
  }
719
- function Zr(e) {
719
+ function Yr(e) {
720
720
  return e.type === E.argument;
721
721
  }
722
- function Lt(e) {
722
+ function It(e) {
723
723
  return e.type === E.number;
724
724
  }
725
- function Nt(e) {
725
+ function Mt(e) {
726
726
  return e.type === E.date;
727
727
  }
728
- function It(e) {
728
+ function $t(e) {
729
729
  return e.type === E.time;
730
730
  }
731
- function Mt(e) {
731
+ function Rt(e) {
732
732
  return e.type === E.select;
733
733
  }
734
- function $t(e) {
734
+ function Ut(e) {
735
735
  return e.type === E.plural;
736
736
  }
737
- function Qr(e) {
737
+ function Kr(e) {
738
738
  return e.type === E.pound;
739
739
  }
740
- function Rt(e) {
740
+ function Dt(e) {
741
741
  return e.type === E.tag;
742
742
  }
743
- function Ut(e) {
744
- return !!(e && typeof e == "object" && e.type === k.number);
743
+ function Gt(e) {
744
+ return !!(e && typeof e == "object" && e.type === V.number);
745
745
  }
746
746
  function Ue(e) {
747
- return !!(e && typeof e == "object" && e.type === k.dateTime);
747
+ return !!(e && typeof e == "object" && e.type === V.dateTime);
748
748
  }
749
- var Dt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, qr = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
750
- function Jr(e) {
749
+ var Ft = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, en = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
750
+ function tn(e) {
751
751
  var t = {};
752
- return e.replace(qr, function(r) {
752
+ return e.replace(en, function(r) {
753
753
  var n = r.length;
754
754
  switch (r[0]) {
755
755
  case "G":
@@ -838,36 +838,36 @@ function Jr(e) {
838
838
  return "";
839
839
  }), t;
840
840
  }
841
- var Yr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
842
- function Kr(e) {
841
+ var rn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
842
+ function nn(e) {
843
843
  if (e.length === 0)
844
844
  throw new Error("Number skeleton cannot be empty");
845
- for (var t = e.split(Yr).filter(function(f) {
846
- return f.length > 0;
845
+ for (var t = e.split(rn).filter(function(c) {
846
+ return c.length > 0;
847
847
  }), r = [], n = 0, i = t; n < i.length; n++) {
848
848
  var s = i[n], a = s.split("/");
849
849
  if (a.length === 0)
850
850
  throw new Error("Invalid number skeleton");
851
851
  for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
852
- var c = h[u];
853
- if (c.length === 0)
852
+ var f = h[u];
853
+ if (f.length === 0)
854
854
  throw new Error("Invalid number skeleton");
855
855
  }
856
856
  r.push({ stem: o, options: l });
857
857
  }
858
858
  return r;
859
859
  }
860
- function en(e) {
860
+ function sn(e) {
861
861
  return e.replace(/^(.*?)-/, "");
862
862
  }
863
- var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gt = /^(@+)?(\+|#+)?[rs]?$/g, tn = /(\*)(0+)|(#+)(0+)|(0+)/g, Ft = /^(0+)$/;
863
+ var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, jt = /^(@+)?(\+|#+)?[rs]?$/g, on = /(\*)(0+)|(#+)(0+)|(0+)/g, kt = /^(0+)$/;
864
864
  function ut(e) {
865
865
  var t = {};
866
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gt, function(r, n, i) {
866
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(jt, function(r, n, i) {
867
867
  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)), "";
868
868
  }), t;
869
869
  }
870
- function jt(e) {
870
+ function Vt(e) {
871
871
  switch (e) {
872
872
  case "sign-auto":
873
873
  return {
@@ -907,7 +907,7 @@ function jt(e) {
907
907
  };
908
908
  }
909
909
  }
910
- function rn(e) {
910
+ function an(e) {
911
911
  var t;
912
912
  if (e[0] === "E" && e[1] === "E" ? (t = {
913
913
  notation: "engineering"
@@ -915,17 +915,17 @@ function rn(e) {
915
915
  notation: "scientific"
916
916
  }, e = e.slice(1)), t) {
917
917
  var r = e.slice(0, 2);
918
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ft.test(e))
918
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !kt.test(e))
919
919
  throw new Error("Malformed concise eng/scientific notation");
920
920
  t.minimumIntegerDigits = e.length;
921
921
  }
922
922
  return t;
923
923
  }
924
924
  function ht(e) {
925
- var t = {}, r = jt(e);
925
+ var t = {}, r = Vt(e);
926
926
  return r || t;
927
927
  }
928
- function nn(e) {
928
+ function un(e) {
929
929
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
930
930
  var i = n[r];
931
931
  switch (i.stem) {
@@ -949,7 +949,7 @@ function nn(e) {
949
949
  continue;
950
950
  case "measure-unit":
951
951
  case "unit":
952
- t.style = "unit", t.unit = en(i.options[0]);
952
+ t.style = "unit", t.unit = sn(i.options[0]);
953
953
  continue;
954
954
  case "compact-short":
955
955
  case "K":
@@ -960,13 +960,13 @@ function nn(e) {
960
960
  t.notation = "compact", t.compactDisplay = "long";
961
961
  continue;
962
962
  case "scientific":
963
- t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
964
- return g(g({}, l), ht(u));
963
+ t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
964
+ return y(y({}, l), ht(u));
965
965
  }, {}));
966
966
  continue;
967
967
  case "engineering":
968
- t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
969
- return g(g({}, l), ht(u));
968
+ t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
969
+ return y(y({}, l), ht(u));
970
970
  }, {}));
971
971
  continue;
972
972
  case "notation-simple":
@@ -1011,11 +1011,11 @@ function nn(e) {
1011
1011
  case "integer-width":
1012
1012
  if (i.options.length > 1)
1013
1013
  throw new RangeError("integer-width stems only accept a single optional option");
1014
- i.options[0].replace(tn, function(l, u, h, c, f, p) {
1014
+ i.options[0].replace(on, function(l, u, h, f, c, p) {
1015
1015
  if (u)
1016
1016
  t.minimumIntegerDigits = h.length;
1017
1017
  else {
1018
- if (c && f)
1018
+ if (f && c)
1019
1019
  throw new Error("We currently do not support maximum integer digits");
1020
1020
  if (p)
1021
1021
  throw new Error("We currently do not support exact integer digits");
@@ -1024,28 +1024,28 @@ function nn(e) {
1024
1024
  });
1025
1025
  continue;
1026
1026
  }
1027
- if (Ft.test(i.stem)) {
1027
+ if (kt.test(i.stem)) {
1028
1028
  t.minimumIntegerDigits = i.stem.length;
1029
1029
  continue;
1030
1030
  }
1031
1031
  if (at.test(i.stem)) {
1032
1032
  if (i.options.length > 1)
1033
1033
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1034
- i.stem.replace(at, function(l, u, h, c, f, p) {
1035
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1034
+ i.stem.replace(at, function(l, u, h, f, c, p) {
1035
+ return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1036
1036
  });
1037
1037
  var s = i.options[0];
1038
- s === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = g(g({}, t), ut(s)));
1038
+ s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), ut(s)));
1039
1039
  continue;
1040
1040
  }
1041
- if (Gt.test(i.stem)) {
1042
- t = g(g({}, t), ut(i.stem));
1041
+ if (jt.test(i.stem)) {
1042
+ t = y(y({}, t), ut(i.stem));
1043
1043
  continue;
1044
1044
  }
1045
- var a = jt(i.stem);
1046
- a && (t = g(g({}, t), a));
1047
- var o = rn(i.stem);
1048
- o && (t = g(g({}, t), o));
1045
+ var a = Vt(i.stem);
1046
+ a && (t = y(y({}, t), a));
1047
+ var o = an(i.stem);
1048
+ o && (t = y(y({}, t), o));
1049
1049
  }
1050
1050
  return t;
1051
1051
  }
@@ -2458,13 +2458,13 @@ var ae = {
2458
2458
  "h"
2459
2459
  ]
2460
2460
  };
2461
- function sn(e, t) {
2461
+ function hn(e, t) {
2462
2462
  for (var r = "", n = 0; n < e.length; n++) {
2463
2463
  var i = e.charAt(n);
2464
2464
  if (i === "j") {
2465
2465
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2466
2466
  s++, n++;
2467
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = on(t);
2467
+ var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = ln(t);
2468
2468
  for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2469
2469
  r += l;
2470
2470
  for (; a-- > 0; )
@@ -2473,7 +2473,7 @@ function sn(e, t) {
2473
2473
  }
2474
2474
  return r;
2475
2475
  }
2476
- function on(e) {
2476
+ function ln(e) {
2477
2477
  var t = e.hourCycle;
2478
2478
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2479
2479
  e.hourCycles && // @ts-ignore
@@ -2495,20 +2495,20 @@ function on(e) {
2495
2495
  var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
2496
2496
  return i[0];
2497
2497
  }
2498
- var Oe, an = new RegExp("^".concat(Dt.source, "*")), un = new RegExp("".concat(Dt.source, "*$"));
2498
+ var Ce, fn = new RegExp("^".concat(Ft.source, "*")), cn = new RegExp("".concat(Ft.source, "*$"));
2499
2499
  function b(e, t) {
2500
2500
  return { start: e, end: t };
2501
2501
  }
2502
- var hn = !!String.prototype.startsWith && "_a".startsWith("a", 1), ln = !!String.fromCodePoint, fn = !!Object.fromEntries, cn = !!String.prototype.codePointAt, mn = !!String.prototype.trimStart, pn = !!String.prototype.trimEnd, dn = !!Number.isSafeInteger, bn = dn ? Number.isSafeInteger : function(e) {
2502
+ var mn = !!String.prototype.startsWith && "_a".startsWith("a", 1), pn = !!String.fromCodePoint, dn = !!Object.fromEntries, bn = !!String.prototype.codePointAt, gn = !!String.prototype.trimStart, _n = !!String.prototype.trimEnd, yn = !!Number.isSafeInteger, En = yn ? Number.isSafeInteger : function(e) {
2503
2503
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2504
2504
  }, De = !0;
2505
2505
  try {
2506
- var gn = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2507
- De = ((Oe = gn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
2506
+ var xn = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2507
+ De = ((Ce = xn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2508
2508
  } catch (e) {
2509
2509
  De = !1;
2510
2510
  }
2511
- var lt = hn ? (
2511
+ var lt = mn ? (
2512
2512
  // Native
2513
2513
  function(t, r, n) {
2514
2514
  return t.startsWith(r, n);
@@ -2518,7 +2518,7 @@ var lt = hn ? (
2518
2518
  function(t, r, n) {
2519
2519
  return t.slice(n, n + r.length) === r;
2520
2520
  }
2521
- ), Ge = ln ? String.fromCodePoint : (
2521
+ ), Ge = pn ? String.fromCodePoint : (
2522
2522
  // IE11
2523
2523
  function() {
2524
2524
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2532,7 +2532,7 @@ var lt = hn ? (
2532
2532
  }
2533
2533
  ), ft = (
2534
2534
  // native
2535
- fn ? Object.fromEntries : (
2535
+ dn ? Object.fromEntries : (
2536
2536
  // Ponyfill
2537
2537
  function(t) {
2538
2538
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2542,7 +2542,7 @@ var lt = hn ? (
2542
2542
  return r;
2543
2543
  }
2544
2544
  )
2545
- ), kt = cn ? (
2545
+ ), Xt = bn ? (
2546
2546
  // Native
2547
2547
  function(t, r) {
2548
2548
  return t.codePointAt(r);
@@ -2556,7 +2556,7 @@ var lt = hn ? (
2556
2556
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2557
2557
  }
2558
2558
  }
2559
- ), _n = mn ? (
2559
+ ), vn = gn ? (
2560
2560
  // Native
2561
2561
  function(t) {
2562
2562
  return t.trimStart();
@@ -2564,9 +2564,9 @@ var lt = hn ? (
2564
2564
  ) : (
2565
2565
  // Ponyfill
2566
2566
  function(t) {
2567
- return t.replace(an, "");
2567
+ return t.replace(fn, "");
2568
2568
  }
2569
- ), yn = pn ? (
2569
+ ), Hn = _n ? (
2570
2570
  // Native
2571
2571
  function(t) {
2572
2572
  return t.trimEnd();
@@ -2574,15 +2574,15 @@ var lt = hn ? (
2574
2574
  ) : (
2575
2575
  // Ponyfill
2576
2576
  function(t) {
2577
- return t.replace(un, "");
2577
+ return t.replace(cn, "");
2578
2578
  }
2579
2579
  );
2580
- function Vt(e, t) {
2580
+ function zt(e, t) {
2581
2581
  return new RegExp(e, t);
2582
2582
  }
2583
2583
  var Fe;
2584
2584
  if (De) {
2585
- var ct = Vt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2585
+ var ct = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2586
2586
  Fe = function(t, r) {
2587
2587
  var n;
2588
2588
  ct.lastIndex = r;
@@ -2592,14 +2592,14 @@ if (De) {
2592
2592
  } else
2593
2593
  Fe = function(t, r) {
2594
2594
  for (var n = []; ; ) {
2595
- var i = kt(t, r);
2596
- if (i === void 0 || Xt(i) || Hn(i))
2595
+ var i = Xt(t, r);
2596
+ if (i === void 0 || Wt(i) || Sn(i))
2597
2597
  break;
2598
2598
  n.push(i), r += i >= 65536 ? 2 : 1;
2599
2599
  }
2600
2600
  return Ge.apply(void 0, n);
2601
2601
  };
2602
- var En = (
2602
+ var Bn = (
2603
2603
  /** @class */
2604
2604
  function() {
2605
2605
  function e(t, r) {
@@ -2681,7 +2681,7 @@ var En = (
2681
2681
  return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
2682
2682
  }, e.prototype.parseTagName = function() {
2683
2683
  var t = this.offset();
2684
- for (this.bump(); !this.isEOF() && vn(this.char()); )
2684
+ for (this.bump(); !this.isEOF() && wn(this.char()); )
2685
2685
  this.bump();
2686
2686
  return this.message.slice(t, this.offset());
2687
2687
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2710,7 +2710,7 @@ var En = (
2710
2710
  };
2711
2711
  }, e.prototype.tryParseLeftAngleBracket = function() {
2712
2712
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2713
- !xn(this.peek() || 0)) ? (this.bump(), "<") : null;
2713
+ !Tn(this.peek() || 0)) ? (this.bump(), "<") : null;
2714
2714
  }, e.prototype.tryParseQuote = function(t) {
2715
2715
  if (this.isEOF() || this.char() !== 39)
2716
2716
  return null;
@@ -2794,40 +2794,40 @@ var En = (
2794
2794
  var u = null;
2795
2795
  if (this.bumpIf(",")) {
2796
2796
  this.bumpSpace();
2797
- var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2798
- if (c.err)
2799
- return c;
2800
- var f = yn(c.val);
2801
- if (f.length === 0)
2797
+ var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2798
+ if (f.err)
2799
+ return f;
2800
+ var c = Hn(f.val);
2801
+ if (c.length === 0)
2802
2802
  return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2803
2803
  var p = b(h, this.clonePosition());
2804
- u = { style: f, styleLocation: p };
2804
+ u = { style: c, styleLocation: p };
2805
2805
  }
2806
2806
  var m = this.tryParseArgumentClose(i);
2807
2807
  if (m.err)
2808
2808
  return m;
2809
- var y = b(i, this.clonePosition());
2809
+ var g = b(i, this.clonePosition());
2810
2810
  if (u && lt(u == null ? void 0 : u.style, "::", 0)) {
2811
- var T = _n(u.style.slice(2));
2811
+ var v = vn(u.style.slice(2));
2812
2812
  if (o === "number") {
2813
- var c = this.parseNumberSkeletonFromString(T, u.styleLocation);
2814
- return c.err ? c : {
2815
- val: { type: E.number, value: n, location: y, style: c.val },
2813
+ var f = this.parseNumberSkeletonFromString(v, u.styleLocation);
2814
+ return f.err ? f : {
2815
+ val: { type: E.number, value: n, location: g, style: f.val },
2816
2816
  err: null
2817
2817
  };
2818
2818
  } else {
2819
- if (T.length === 0)
2820
- return this.error(d.EXPECT_DATE_TIME_SKELETON, y);
2821
- var L = T;
2822
- this.locale && (L = sn(T, this.locale));
2823
- var f = {
2824
- type: k.dateTime,
2825
- pattern: L,
2819
+ if (v.length === 0)
2820
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
2821
+ var N = v;
2822
+ this.locale && (N = hn(v, this.locale));
2823
+ var c = {
2824
+ type: V.dateTime,
2825
+ pattern: N,
2826
2826
  location: u.styleLocation,
2827
- parsedOptions: this.shouldParseSkeletons ? Jr(L) : {}
2828
- }, A = o === "date" ? E.date : E.time;
2827
+ parsedOptions: this.shouldParseSkeletons ? tn(N) : {}
2828
+ }, C = o === "date" ? E.date : E.time;
2829
2829
  return {
2830
- val: { type: A, value: n, location: y, style: f },
2830
+ val: { type: C, value: n, location: g, style: c },
2831
2831
  err: null
2832
2832
  };
2833
2833
  }
@@ -2836,7 +2836,7 @@ var En = (
2836
2836
  val: {
2837
2837
  type: o === "number" ? E.number : o === "date" ? E.date : E.time,
2838
2838
  value: n,
2839
- location: y,
2839
+ location: g,
2840
2840
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
2841
2841
  },
2842
2842
  err: null
@@ -2845,23 +2845,23 @@ var En = (
2845
2845
  case "plural":
2846
2846
  case "selectordinal":
2847
2847
  case "select": {
2848
- var v = this.clonePosition();
2848
+ var H = this.clonePosition();
2849
2849
  if (this.bumpSpace(), !this.bumpIf(","))
2850
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(v, g({}, v)));
2850
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, y({}, H)));
2851
2851
  this.bumpSpace();
2852
- var N = this.parseIdentifierIfPossible(), S = 0;
2853
- if (o !== "select" && N.value === "offset") {
2852
+ var I = this.parseIdentifierIfPossible(), w = 0;
2853
+ if (o !== "select" && I.value === "offset") {
2854
2854
  if (!this.bumpIf(":"))
2855
2855
  return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2856
2856
  this.bumpSpace();
2857
- var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2858
- if (c.err)
2859
- return c;
2860
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), S = c.val;
2857
+ var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2858
+ if (f.err)
2859
+ return f;
2860
+ this.bumpSpace(), I = this.parseIdentifierIfPossible(), w = f.val;
2861
2861
  }
2862
- var $ = this.tryParsePluralOrSelectOptions(t, o, r, N);
2863
- if ($.err)
2864
- return $;
2862
+ var R = this.tryParsePluralOrSelectOptions(t, o, r, I);
2863
+ if (R.err)
2864
+ return R;
2865
2865
  var m = this.tryParseArgumentClose(i);
2866
2866
  if (m.err)
2867
2867
  return m;
@@ -2870,7 +2870,7 @@ var En = (
2870
2870
  val: {
2871
2871
  type: E.select,
2872
2872
  value: n,
2873
- options: ft($.val),
2873
+ options: ft(R.val),
2874
2874
  location: se
2875
2875
  },
2876
2876
  err: null
@@ -2878,8 +2878,8 @@ var En = (
2878
2878
  val: {
2879
2879
  type: E.plural,
2880
2880
  value: n,
2881
- options: ft($.val),
2882
- offset: S,
2881
+ options: ft(R.val),
2882
+ offset: w,
2883
2883
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2884
2884
  location: se
2885
2885
  },
@@ -2929,28 +2929,28 @@ var En = (
2929
2929
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2930
2930
  var n = [];
2931
2931
  try {
2932
- n = Kr(t);
2932
+ n = nn(t);
2933
2933
  } catch (i) {
2934
2934
  return this.error(d.INVALID_NUMBER_SKELETON, r);
2935
2935
  }
2936
2936
  return {
2937
2937
  val: {
2938
- type: k.number,
2938
+ type: V.number,
2939
2939
  tokens: n,
2940
2940
  location: r,
2941
- parsedOptions: this.shouldParseSkeletons ? nn(n) : {}
2941
+ parsedOptions: this.shouldParseSkeletons ? un(n) : {}
2942
2942
  },
2943
2943
  err: null
2944
2944
  };
2945
2945
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2946
2946
  for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
2947
2947
  if (u.length === 0) {
2948
- var c = this.clonePosition();
2948
+ var f = this.clonePosition();
2949
2949
  if (r !== "select" && this.bumpIf("=")) {
2950
- var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
2951
- if (f.err)
2952
- return f;
2953
- h = b(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2950
+ var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
2951
+ if (c.err)
2952
+ return c;
2953
+ h = b(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
2954
2954
  } else
2955
2955
  break;
2956
2956
  }
@@ -2963,9 +2963,9 @@ var En = (
2963
2963
  var m = this.parseMessage(t + 1, r, n);
2964
2964
  if (m.err)
2965
2965
  return m;
2966
- var y = this.tryParseArgumentClose(p);
2967
- if (y.err)
2968
- return y;
2966
+ var g = this.tryParseArgumentClose(p);
2967
+ if (g.err)
2968
+ return g;
2969
2969
  o.push([
2970
2970
  u,
2971
2971
  {
@@ -2986,7 +2986,7 @@ var En = (
2986
2986
  break;
2987
2987
  }
2988
2988
  var l = b(i, this.clonePosition());
2989
- return s ? (a *= n, bn(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
2989
+ return s ? (a *= n, En(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
2990
2990
  }, e.prototype.offset = function() {
2991
2991
  return this.position.offset;
2992
2992
  }, e.prototype.isEOF = function() {
@@ -3001,7 +3001,7 @@ var En = (
3001
3001
  var t = this.position.offset;
3002
3002
  if (t >= this.message.length)
3003
3003
  throw Error("out of bound");
3004
- var r = kt(this.message, t);
3004
+ var r = Xt(this.message, t);
3005
3005
  if (r === void 0)
3006
3006
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3007
3007
  return r;
@@ -3042,7 +3042,7 @@ var En = (
3042
3042
  break;
3043
3043
  }
3044
3044
  }, e.prototype.bumpSpace = function() {
3045
- for (; !this.isEOF() && Xt(this.char()); )
3045
+ for (; !this.isEOF() && Wt(this.char()); )
3046
3046
  this.bump();
3047
3047
  }, e.prototype.peek = function() {
3048
3048
  if (this.isEOF())
@@ -3055,67 +3055,67 @@ var En = (
3055
3055
  function je(e) {
3056
3056
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3057
3057
  }
3058
- function xn(e) {
3058
+ function Tn(e) {
3059
3059
  return je(e) || e === 47;
3060
3060
  }
3061
- function vn(e) {
3061
+ function wn(e) {
3062
3062
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3063
3063
  }
3064
- function Xt(e) {
3064
+ function Wt(e) {
3065
3065
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3066
3066
  }
3067
- function Hn(e) {
3067
+ function Sn(e) {
3068
3068
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3069
3069
  }
3070
3070
  function ke(e) {
3071
3071
  e.forEach(function(t) {
3072
- if (delete t.location, Mt(t) || $t(t))
3072
+ if (delete t.location, Rt(t) || Ut(t))
3073
3073
  for (var r in t.options)
3074
3074
  delete t.options[r].location, ke(t.options[r].value);
3075
- else Lt(t) && Ut(t.style) || (Nt(t) || It(t)) && Ue(t.style) ? delete t.style.location : Rt(t) && ke(t.children);
3075
+ else It(t) && Gt(t.style) || (Mt(t) || $t(t)) && Ue(t.style) ? delete t.style.location : Dt(t) && ke(t.children);
3076
3076
  });
3077
3077
  }
3078
- function Tn(e, t) {
3079
- t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3080
- var r = new En(e, t).parse();
3078
+ function An(e, t) {
3079
+ t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3080
+ var r = new Bn(e, t).parse();
3081
3081
  if (r.err) {
3082
3082
  var n = SyntaxError(d[r.err.kind]);
3083
3083
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3084
3084
  }
3085
3085
  return t != null && t.captureLocation || ke(r.val), r.val;
3086
3086
  }
3087
- function Ce(e, t) {
3088
- var r = t && t.cache ? t.cache : Cn, n = t && t.serializer ? t.serializer : On, i = t && t.strategy ? t.strategy : Sn;
3087
+ function Oe(e, t) {
3088
+ var r = t && t.cache ? t.cache : In, n = t && t.serializer ? t.serializer : Nn, i = t && t.strategy ? t.strategy : On;
3089
3089
  return i(e, {
3090
3090
  cache: r,
3091
3091
  serializer: n
3092
3092
  });
3093
3093
  }
3094
- function Bn(e) {
3094
+ function Cn(e) {
3095
3095
  return e == null || typeof e == "number" || typeof e == "boolean";
3096
3096
  }
3097
- function zt(e, t, r, n) {
3098
- var i = Bn(n) ? n : r(n), s = t.get(i);
3097
+ function Zt(e, t, r, n) {
3098
+ var i = Cn(n) ? n : r(n), s = t.get(i);
3099
3099
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
3100
3100
  }
3101
- function Wt(e, t, r) {
3101
+ function Qt(e, t, r) {
3102
3102
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
3103
3103
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
3104
3104
  }
3105
3105
  function Ze(e, t, r, n, i) {
3106
3106
  return r.bind(t, e, n, i);
3107
3107
  }
3108
- function Sn(e, t) {
3109
- var r = e.length === 1 ? zt : Wt;
3108
+ function On(e, t) {
3109
+ var r = e.length === 1 ? Zt : Qt;
3110
3110
  return Ze(e, this, r, t.cache.create(), t.serializer);
3111
3111
  }
3112
- function wn(e, t) {
3113
- return Ze(e, this, Wt, t.cache.create(), t.serializer);
3112
+ function Pn(e, t) {
3113
+ return Ze(e, this, Qt, t.cache.create(), t.serializer);
3114
3114
  }
3115
- function An(e, t) {
3116
- return Ze(e, this, zt, t.cache.create(), t.serializer);
3115
+ function Ln(e, t) {
3116
+ return Ze(e, this, Zt, t.cache.create(), t.serializer);
3117
3117
  }
3118
- var On = function() {
3118
+ var Nn = function() {
3119
3119
  return JSON.stringify(arguments);
3120
3120
  };
3121
3121
  function Qe() {
@@ -3127,17 +3127,17 @@ Qe.prototype.get = function(e) {
3127
3127
  Qe.prototype.set = function(e, t) {
3128
3128
  this.cache[e] = t;
3129
3129
  };
3130
- var Cn = {
3130
+ var In = {
3131
3131
  create: function() {
3132
3132
  return new Qe();
3133
3133
  }
3134
3134
  }, Pe = {
3135
- variadic: wn,
3136
- monadic: An
3137
- }, V;
3135
+ variadic: Pn,
3136
+ monadic: Ln
3137
+ }, X;
3138
3138
  (function(e) {
3139
3139
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3140
- })(V || (V = {}));
3140
+ })(X || (X = {}));
3141
3141
  var ye = (
3142
3142
  /** @class */
3143
3143
  function(e) {
@@ -3155,25 +3155,25 @@ var ye = (
3155
3155
  function(e) {
3156
3156
  _e(t, e);
3157
3157
  function t(r, n, i, s) {
3158
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3158
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, s) || this;
3159
3159
  }
3160
3160
  return t;
3161
3161
  }(ye)
3162
- ), Pn = (
3162
+ ), Mn = (
3163
3163
  /** @class */
3164
3164
  function(e) {
3165
3165
  _e(t, e);
3166
3166
  function t(r, n, i) {
3167
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3167
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3168
3168
  }
3169
3169
  return t;
3170
3170
  }(ye)
3171
- ), Ln = (
3171
+ ), $n = (
3172
3172
  /** @class */
3173
3173
  function(e) {
3174
3174
  _e(t, e);
3175
3175
  function t(r, n) {
3176
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3176
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3177
3177
  }
3178
3178
  return t;
3179
3179
  }(ye)
@@ -3181,13 +3181,13 @@ var ye = (
3181
3181
  (function(e) {
3182
3182
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3183
3183
  })(x || (x = {}));
3184
- function Nn(e) {
3184
+ function Rn(e) {
3185
3185
  return e.length < 2 ? e : e.reduce(function(t, r) {
3186
3186
  var n = t[t.length - 1];
3187
3187
  return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3188
3188
  }, []);
3189
3189
  }
3190
- function In(e) {
3190
+ function Un(e) {
3191
3191
  return typeof e == "function";
3192
3192
  }
3193
3193
  function fe(e, t, r, n, i, s, a) {
@@ -3207,96 +3207,96 @@ function fe(e, t, r, n, i, s, a) {
3207
3207
  });
3208
3208
  continue;
3209
3209
  }
3210
- if (Qr(h)) {
3210
+ if (Kr(h)) {
3211
3211
  typeof s == "number" && o.push({
3212
3212
  type: x.literal,
3213
3213
  value: r.getNumberFormat(t).format(s)
3214
3214
  });
3215
3215
  continue;
3216
3216
  }
3217
- var c = h.value;
3218
- if (!(i && c in i))
3219
- throw new Ln(c, a);
3220
- var f = i[c];
3221
- if (Zr(h)) {
3222
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3223
- type: typeof f == "string" ? x.literal : x.object,
3224
- value: f
3217
+ var f = h.value;
3218
+ if (!(i && f in i))
3219
+ throw new $n(f, a);
3220
+ var c = i[f];
3221
+ if (Yr(h)) {
3222
+ (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3223
+ type: typeof c == "string" ? x.literal : x.object,
3224
+ value: c
3225
3225
  });
3226
3226
  continue;
3227
3227
  }
3228
- if (Nt(h)) {
3228
+ if (Mt(h)) {
3229
3229
  var p = typeof h.style == "string" ? n.date[h.style] : Ue(h.style) ? h.style.parsedOptions : void 0;
3230
3230
  o.push({
3231
3231
  type: x.literal,
3232
- value: r.getDateTimeFormat(t, p).format(f)
3232
+ value: r.getDateTimeFormat(t, p).format(c)
3233
3233
  });
3234
3234
  continue;
3235
3235
  }
3236
- if (It(h)) {
3236
+ if ($t(h)) {
3237
3237
  var p = typeof h.style == "string" ? n.time[h.style] : Ue(h.style) ? h.style.parsedOptions : n.time.medium;
3238
3238
  o.push({
3239
3239
  type: x.literal,
3240
- value: r.getDateTimeFormat(t, p).format(f)
3240
+ value: r.getDateTimeFormat(t, p).format(c)
3241
3241
  });
3242
3242
  continue;
3243
3243
  }
3244
- if (Lt(h)) {
3245
- var p = typeof h.style == "string" ? n.number[h.style] : Ut(h.style) ? h.style.parsedOptions : void 0;
3246
- p && p.scale && (f = f * (p.scale || 1)), o.push({
3244
+ if (It(h)) {
3245
+ var p = typeof h.style == "string" ? n.number[h.style] : Gt(h.style) ? h.style.parsedOptions : void 0;
3246
+ p && p.scale && (c = c * (p.scale || 1)), o.push({
3247
3247
  type: x.literal,
3248
- value: r.getNumberFormat(t, p).format(f)
3248
+ value: r.getNumberFormat(t, p).format(c)
3249
3249
  });
3250
3250
  continue;
3251
3251
  }
3252
- if (Rt(h)) {
3253
- var m = h.children, y = h.value, T = i[y];
3254
- if (!In(T))
3255
- throw new Pn(y, "function", a);
3256
- var L = fe(m, t, r, n, i, s), A = T(L.map(function(S) {
3257
- return S.value;
3252
+ if (Dt(h)) {
3253
+ var m = h.children, g = h.value, v = i[g];
3254
+ if (!Un(v))
3255
+ throw new Mn(g, "function", a);
3256
+ var N = fe(m, t, r, n, i, s), C = v(N.map(function(w) {
3257
+ return w.value;
3258
3258
  }));
3259
- Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(S) {
3259
+ Array.isArray(C) || (C = [C]), o.push.apply(o, C.map(function(w) {
3260
3260
  return {
3261
- type: typeof S == "string" ? x.literal : x.object,
3262
- value: S
3261
+ type: typeof w == "string" ? x.literal : x.object,
3262
+ value: w
3263
3263
  };
3264
3264
  }));
3265
3265
  }
3266
- if (Mt(h)) {
3267
- var v = h.options[f] || h.options.other;
3268
- if (!v)
3269
- throw new mt(h.value, f, Object.keys(h.options), a);
3270
- o.push.apply(o, fe(v.value, t, r, n, i));
3266
+ if (Rt(h)) {
3267
+ var H = h.options[c] || h.options.other;
3268
+ if (!H)
3269
+ throw new mt(h.value, c, Object.keys(h.options), a);
3270
+ o.push.apply(o, fe(H.value, t, r, n, i));
3271
3271
  continue;
3272
3272
  }
3273
- if ($t(h)) {
3274
- var v = h.options["=".concat(f)];
3275
- if (!v) {
3273
+ if (Ut(h)) {
3274
+ var H = h.options["=".concat(c)];
3275
+ if (!H) {
3276
3276
  if (!Intl.PluralRules)
3277
3277
  throw new ye(`Intl.PluralRules is not available in this environment.
3278
3278
  Try polyfilling it using "@formatjs/intl-pluralrules"
3279
- `, V.MISSING_INTL_API, a);
3280
- var N = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3281
- v = h.options[N] || h.options.other;
3279
+ `, X.MISSING_INTL_API, a);
3280
+ var I = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3281
+ H = h.options[I] || h.options.other;
3282
3282
  }
3283
- if (!v)
3284
- throw new mt(h.value, f, Object.keys(h.options), a);
3285
- o.push.apply(o, fe(v.value, t, r, n, i, f - (h.offset || 0)));
3283
+ if (!H)
3284
+ throw new mt(h.value, c, Object.keys(h.options), a);
3285
+ o.push.apply(o, fe(H.value, t, r, n, i, c - (h.offset || 0)));
3286
3286
  continue;
3287
3287
  }
3288
3288
  }
3289
- return Nn(o);
3289
+ return Rn(o);
3290
3290
  }
3291
- function Mn(e, t) {
3292
- return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3293
- return r[n] = g(g({}, e[n]), t[n] || {}), r;
3291
+ function Dn(e, t) {
3292
+ return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3293
+ return r[n] = y(y({}, e[n]), t[n] || {}), r;
3294
3294
  }, {})) : e;
3295
3295
  }
3296
- function $n(e, t) {
3296
+ function Gn(e, t) {
3297
3297
  return t ? Object.keys(e).reduce(function(r, n) {
3298
- return r[n] = Mn(e[n], t[n]), r;
3299
- }, g({}, e)) : e;
3298
+ return r[n] = Dn(e[n], t[n]), r;
3299
+ }, y({}, e)) : e;
3300
3300
  }
3301
3301
  function Le(e) {
3302
3302
  return {
@@ -3312,13 +3312,13 @@ function Le(e) {
3312
3312
  }
3313
3313
  };
3314
3314
  }
3315
- function Rn(e) {
3315
+ function Fn(e) {
3316
3316
  return e === void 0 && (e = {
3317
3317
  number: {},
3318
3318
  dateTime: {},
3319
3319
  pluralRules: {}
3320
3320
  }), {
3321
- getNumberFormat: Ce(function() {
3321
+ getNumberFormat: Oe(function() {
3322
3322
  for (var t, r = [], n = 0; n < arguments.length; n++)
3323
3323
  r[n] = arguments[n];
3324
3324
  return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
@@ -3326,7 +3326,7 @@ function Rn(e) {
3326
3326
  cache: Le(e.number),
3327
3327
  strategy: Pe.variadic
3328
3328
  }),
3329
- getDateTimeFormat: Ce(function() {
3329
+ getDateTimeFormat: Oe(function() {
3330
3330
  for (var t, r = [], n = 0; n < arguments.length; n++)
3331
3331
  r[n] = arguments[n];
3332
3332
  return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
@@ -3334,7 +3334,7 @@ function Rn(e) {
3334
3334
  cache: Le(e.dateTime),
3335
3335
  strategy: Pe.variadic
3336
3336
  }),
3337
- getPluralRules: Ce(function() {
3337
+ getPluralRules: Oe(function() {
3338
3338
  for (var t, r = [], n = 0; n < arguments.length; n++)
3339
3339
  r[n] = arguments[n];
3340
3340
  return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
@@ -3344,7 +3344,7 @@ function Rn(e) {
3344
3344
  })
3345
3345
  };
3346
3346
  }
3347
- var Zt = (
3347
+ var qt = (
3348
3348
  /** @class */
3349
3349
  function() {
3350
3350
  function e(t, r, n, i) {
@@ -3357,8 +3357,8 @@ var Zt = (
3357
3357
  var u = s.formatToParts(l);
3358
3358
  if (u.length === 1)
3359
3359
  return u[0].value;
3360
- var h = u.reduce(function(c, f) {
3361
- return !c.length || f.type !== x.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3360
+ var h = u.reduce(function(f, c) {
3361
+ return !f.length || c.type !== x.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3362
3362
  }, []);
3363
3363
  return h.length <= 1 ? h[0] || "" : h;
3364
3364
  }, this.formatToParts = function(l) {
@@ -3375,13 +3375,13 @@ var Zt = (
3375
3375
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3376
3376
  var a = i || {};
3377
3377
  a.formatters;
3378
- var o = Wr(a, ["formatters"]);
3379
- this.ast = e.__parse(t, g(g({}, o), { locale: this.resolvedLocale }));
3378
+ var o = Jr(a, ["formatters"]);
3379
+ this.ast = e.__parse(t, y(y({}, o), { locale: this.resolvedLocale }));
3380
3380
  } else
3381
3381
  this.ast = t;
3382
3382
  if (!Array.isArray(this.ast))
3383
3383
  throw new TypeError("A message must be provided as a String or AST.");
3384
- this.formats = $n(e.formats, n), this.formatters = i && i.formatters || Rn(this.formatterCache);
3384
+ this.formats = Gn(e.formats, n), this.formatters = i && i.formatters || Fn(this.formatterCache);
3385
3385
  }
3386
3386
  return Object.defineProperty(e, "defaultLocale", {
3387
3387
  get: function() {
@@ -3394,7 +3394,7 @@ var Zt = (
3394
3394
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3395
3395
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3396
3396
  }
3397
- }, e.__parse = Tn, e.formats = {
3397
+ }, e.__parse = An, e.formats = {
3398
3398
  number: {
3399
3399
  integer: {
3400
3400
  maximumFractionDigits: 0
@@ -3455,7 +3455,7 @@ var Zt = (
3455
3455
  }, e;
3456
3456
  }()
3457
3457
  );
3458
- function Un(e, t) {
3458
+ function jn(e, t) {
3459
3459
  if (t == null)
3460
3460
  return;
3461
3461
  if (t in e)
@@ -3476,44 +3476,44 @@ function Un(e, t) {
3476
3476
  n = void 0;
3477
3477
  return n;
3478
3478
  }
3479
- const C = {}, Dn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Qt = (e, t) => {
3479
+ const O = {}, kn = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), Jt = (e, t) => {
3480
3480
  if (t == null)
3481
3481
  return;
3482
- if (t in C && e in C[t])
3483
- return C[t][e];
3482
+ if (t in O && e in O[t])
3483
+ return O[t][e];
3484
3484
  const r = ie(t);
3485
3485
  for (let n = 0; n < r.length; n++) {
3486
- const i = r[n], s = Fn(i, e);
3486
+ const i = r[n], s = Xn(i, e);
3487
3487
  if (s)
3488
- return Dn(e, t, s);
3488
+ return kn(e, t, s);
3489
3489
  }
3490
3490
  };
3491
3491
  let qe;
3492
3492
  const ne = ge({});
3493
- function Gn(e) {
3493
+ function Vn(e) {
3494
3494
  return qe[e] || null;
3495
3495
  }
3496
- function qt(e) {
3496
+ function Yt(e) {
3497
3497
  return e in qe;
3498
3498
  }
3499
- function Fn(e, t) {
3500
- if (!qt(e))
3499
+ function Xn(e, t) {
3500
+ if (!Yt(e))
3501
3501
  return null;
3502
- const r = Gn(e);
3503
- return Un(r, t);
3502
+ const r = Vn(e);
3503
+ return jn(r, t);
3504
3504
  }
3505
- function jn(e) {
3505
+ function zn(e) {
3506
3506
  if (e == null)
3507
3507
  return;
3508
3508
  const t = ie(e);
3509
3509
  for (let r = 0; r < t.length; r++) {
3510
3510
  const n = t[r];
3511
- if (qt(n))
3511
+ if (Yt(n))
3512
3512
  return n;
3513
3513
  }
3514
3514
  }
3515
- function Jt(e, ...t) {
3516
- delete C[e], ne.update((r) => (r[e] = zr.all([r[e] || {}, ...t]), r));
3515
+ function Kt(e, ...t) {
3516
+ delete O[e], ne.update((r) => (r[e] = qr.all([r[e] || {}, ...t]), r));
3517
3517
  }
3518
3518
  Q(
3519
3519
  [ne],
@@ -3521,15 +3521,15 @@ Q(
3521
3521
  );
3522
3522
  ne.subscribe((e) => qe = e);
3523
3523
  const ce = {};
3524
- function kn(e, t) {
3524
+ function Wn(e, t) {
3525
3525
  ce[e].delete(t), ce[e].size === 0 && delete ce[e];
3526
3526
  }
3527
- function Yt(e) {
3527
+ function er(e) {
3528
3528
  return ce[e];
3529
3529
  }
3530
- function Vn(e) {
3530
+ function Zn(e) {
3531
3531
  return ie(e).map((t) => {
3532
- const r = Yt(t);
3532
+ const r = er(t);
3533
3533
  return [t, r ? [...r] : []];
3534
3534
  }).filter(([, t]) => t.length > 0);
3535
3535
  }
@@ -3537,40 +3537,40 @@ function pe(e) {
3537
3537
  return e == null ? !1 : ie(e).some(
3538
3538
  (t) => {
3539
3539
  var r;
3540
- return (r = Yt(t)) == null ? void 0 : r.size;
3540
+ return (r = er(t)) == null ? void 0 : r.size;
3541
3541
  }
3542
3542
  );
3543
3543
  }
3544
- function Xn(e, t) {
3544
+ function Qn(e, t) {
3545
3545
  return Promise.all(
3546
- t.map((n) => (kn(e, n), n().then((i) => i.default || i)))
3547
- ).then((n) => Jt(e, ...n));
3546
+ t.map((n) => (Wn(e, n), n().then((i) => i.default || i)))
3547
+ ).then((n) => Kt(e, ...n));
3548
3548
  }
3549
3549
  const J = {};
3550
- function Kt(e) {
3550
+ function tr(e) {
3551
3551
  if (!pe(e))
3552
3552
  return e in J ? J[e] : Promise.resolve();
3553
- const t = Vn(e);
3553
+ const t = Zn(e);
3554
3554
  return J[e] = Promise.all(
3555
3555
  t.map(
3556
- ([r, n]) => Xn(r, n)
3556
+ ([r, n]) => Qn(r, n)
3557
3557
  )
3558
3558
  ).then(() => {
3559
3559
  if (pe(e))
3560
- return Kt(e);
3560
+ return tr(e);
3561
3561
  delete J[e];
3562
3562
  }), J[e];
3563
3563
  }
3564
- var pt = Object.getOwnPropertySymbols, zn = Object.prototype.hasOwnProperty, Wn = Object.prototype.propertyIsEnumerable, Zn = (e, t) => {
3564
+ var pt = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, Yn = (e, t) => {
3565
3565
  var r = {};
3566
3566
  for (var n in e)
3567
- zn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3567
+ qn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3568
3568
  if (e != null && pt)
3569
3569
  for (var n of pt(e))
3570
- t.indexOf(n) < 0 && Wn.call(e, n) && (r[n] = e[n]);
3570
+ t.indexOf(n) < 0 && Jn.call(e, n) && (r[n] = e[n]);
3571
3571
  return r;
3572
3572
  };
3573
- const Qn = {
3573
+ const Kn = {
3574
3574
  number: {
3575
3575
  scientific: { notation: "scientific" },
3576
3576
  engineering: { notation: "engineering" },
@@ -3600,81 +3600,81 @@ const Qn = {
3600
3600
  }
3601
3601
  }
3602
3602
  };
3603
- function qn({ locale: e, id: t }) {
3603
+ function ei({ locale: e, id: t }) {
3604
3604
  console.warn(
3605
3605
  `[svelte-i18n] The message "${t}" was not found in "${ie(
3606
3606
  e
3607
- ).join('", "')}".${pe(P()) ? `
3607
+ ).join('", "')}".${pe(L()) ? `
3608
3608
 
3609
3609
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3610
3610
  );
3611
3611
  }
3612
- const Jn = {
3612
+ const ti = {
3613
3613
  fallbackLocale: null,
3614
3614
  loadingDelay: 200,
3615
- formats: Qn,
3615
+ formats: Kn,
3616
3616
  warnOnMissingMessages: !0,
3617
3617
  handleMissingMessage: void 0,
3618
3618
  ignoreTag: !0
3619
- }, Y = Jn;
3620
- function X() {
3619
+ }, Y = ti;
3620
+ function z() {
3621
3621
  return Y;
3622
3622
  }
3623
- function Yn(e) {
3624
- const t = e, { formats: r } = t, n = Zn(t, ["formats"]);
3623
+ function ri(e) {
3624
+ const t = e, { formats: r } = t, n = Yn(t, ["formats"]);
3625
3625
  let i = e.fallbackLocale;
3626
3626
  if (e.initialLocale)
3627
3627
  try {
3628
- Zt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3628
+ qt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3629
3629
  } catch (s) {
3630
3630
  console.warn(
3631
3631
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3632
3632
  );
3633
3633
  }
3634
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = qn : console.warn(
3634
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = ei : console.warn(
3635
3635
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3636
- )), Object.assign(Y, n, { initialLocale: i }), r && ("number" in r && Object.assign(Y.formats.number, r.number), "date" in r && Object.assign(Y.formats.date, r.date), "time" in r && Object.assign(Y.formats.time, r.time)), M.set(i);
3636
+ )), Object.assign(Y, n, { initialLocale: i }), r && ("number" in r && Object.assign(Y.formats.number, r.number), "date" in r && Object.assign(Y.formats.date, r.date), "time" in r && Object.assign(Y.formats.time, r.time)), $.set(i);
3637
3637
  }
3638
3638
  const Ne = ge(!1);
3639
- var Kn = Object.defineProperty, ei = Object.defineProperties, ti = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, ri = Object.prototype.hasOwnProperty, ni = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? Kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ii = (e, t) => {
3639
+ var ni = Object.defineProperty, ii = Object.defineProperties, si = Object.getOwnPropertyDescriptors, dt = Object.getOwnPropertySymbols, oi = Object.prototype.hasOwnProperty, ai = Object.prototype.propertyIsEnumerable, bt = (e, t, r) => t in e ? ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ui = (e, t) => {
3640
3640
  for (var r in t || (t = {}))
3641
- ri.call(t, r) && bt(e, r, t[r]);
3641
+ oi.call(t, r) && bt(e, r, t[r]);
3642
3642
  if (dt)
3643
3643
  for (var r of dt(t))
3644
- ni.call(t, r) && bt(e, r, t[r]);
3644
+ ai.call(t, r) && bt(e, r, t[r]);
3645
3645
  return e;
3646
- }, si = (e, t) => ei(e, ti(t));
3646
+ }, hi = (e, t) => ii(e, si(t));
3647
3647
  let Ve;
3648
3648
  const de = ge(null);
3649
3649
  function gt(e) {
3650
3650
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3651
3651
  }
3652
- function ie(e, t = X().fallbackLocale) {
3652
+ function ie(e, t = z().fallbackLocale) {
3653
3653
  const r = gt(e);
3654
3654
  return t ? [.../* @__PURE__ */ new Set([...r, ...gt(t)])] : r;
3655
3655
  }
3656
- function P() {
3656
+ function L() {
3657
3657
  return Ve != null ? Ve : void 0;
3658
3658
  }
3659
3659
  de.subscribe((e) => {
3660
3660
  Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3661
3661
  });
3662
- const oi = (e) => {
3663
- if (e && jn(e) && pe(e)) {
3664
- const { loadingDelay: t } = X();
3662
+ const li = (e) => {
3663
+ if (e && zn(e) && pe(e)) {
3664
+ const { loadingDelay: t } = z();
3665
3665
  let r;
3666
- return typeof window != "undefined" && P() != null && t ? r = window.setTimeout(
3666
+ return typeof window != "undefined" && L() != null && t ? r = window.setTimeout(
3667
3667
  () => Ne.set(!0),
3668
3668
  t
3669
- ) : Ne.set(!0), Kt(e).then(() => {
3669
+ ) : Ne.set(!0), tr(e).then(() => {
3670
3670
  de.set(e);
3671
3671
  }).finally(() => {
3672
3672
  clearTimeout(r), Ne.set(!1);
3673
3673
  });
3674
3674
  }
3675
3675
  return de.set(e);
3676
- }, M = si(ii({}, de), {
3677
- set: oi
3676
+ }, $ = hi(ui({}, de), {
3677
+ set: li
3678
3678
  }), Ee = (e) => {
3679
3679
  const t = /* @__PURE__ */ Object.create(null);
3680
3680
  return (n) => {
@@ -3682,42 +3682,42 @@ const oi = (e) => {
3682
3682
  return i in t ? t[i] : t[i] = e(n);
3683
3683
  };
3684
3684
  };
3685
- var ai = Object.defineProperty, be = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
3685
+ var fi = Object.defineProperty, be = Object.getOwnPropertySymbols, rr = Object.prototype.hasOwnProperty, nr = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
3686
3686
  for (var r in t || (t = {}))
3687
- er.call(t, r) && _t(e, r, t[r]);
3687
+ rr.call(t, r) && _t(e, r, t[r]);
3688
3688
  if (be)
3689
3689
  for (var r of be(t))
3690
- tr.call(t, r) && _t(e, r, t[r]);
3690
+ nr.call(t, r) && _t(e, r, t[r]);
3691
3691
  return e;
3692
3692
  }, q = (e, t) => {
3693
3693
  var r = {};
3694
3694
  for (var n in e)
3695
- er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3695
+ rr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3696
3696
  if (e != null && be)
3697
3697
  for (var n of be(e))
3698
- t.indexOf(n) < 0 && tr.call(e, n) && (r[n] = e[n]);
3698
+ t.indexOf(n) < 0 && nr.call(e, n) && (r[n] = e[n]);
3699
3699
  return r;
3700
3700
  };
3701
3701
  const te = (e, t) => {
3702
- const { formats: r } = X();
3702
+ const { formats: r } = z();
3703
3703
  if (e in r && t in r[e])
3704
3704
  return r[e][t];
3705
3705
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3706
- }, ui = Ee(
3706
+ }, ci = Ee(
3707
3707
  (e) => {
3708
3708
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3709
3709
  if (r == null)
3710
3710
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3711
3711
  return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
3712
3712
  }
3713
- ), hi = Ee(
3713
+ ), mi = Ee(
3714
3714
  (e) => {
3715
3715
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3716
3716
  if (r == null)
3717
3717
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3718
3718
  return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
3719
3719
  }
3720
- ), li = Ee(
3720
+ ), pi = Ee(
3721
3721
  (e) => {
3722
3722
  var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3723
3723
  if (r == null)
@@ -3726,76 +3726,76 @@ const te = (e, t) => {
3726
3726
  );
3727
3727
  return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
3728
3728
  }
3729
- ), fi = (e = {}) => {
3729
+ ), di = (e = {}) => {
3730
3730
  var t = e, {
3731
- locale: r = P()
3731
+ locale: r = L()
3732
3732
  } = t, n = q(t, [
3733
3733
  "locale"
3734
3734
  ]);
3735
- return ui(Je({ locale: r }, n));
3736
- }, ci = (e = {}) => {
3735
+ return ci(Je({ locale: r }, n));
3736
+ }, bi = (e = {}) => {
3737
3737
  var t = e, {
3738
- locale: r = P()
3738
+ locale: r = L()
3739
3739
  } = t, n = q(t, [
3740
3740
  "locale"
3741
3741
  ]);
3742
- return hi(Je({ locale: r }, n));
3743
- }, mi = (e = {}) => {
3742
+ return mi(Je({ locale: r }, n));
3743
+ }, gi = (e = {}) => {
3744
3744
  var t = e, {
3745
- locale: r = P()
3745
+ locale: r = L()
3746
3746
  } = t, n = q(t, [
3747
3747
  "locale"
3748
3748
  ]);
3749
- return li(Je({ locale: r }, n));
3750
- }, pi = Ee(
3749
+ return pi(Je({ locale: r }, n));
3750
+ }, _i = Ee(
3751
3751
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3752
- (e, t = P()) => new Zt(e, t, X().formats, {
3753
- ignoreTag: X().ignoreTag
3752
+ (e, t = L()) => new qt(e, t, z().formats, {
3753
+ ignoreTag: z().ignoreTag
3754
3754
  })
3755
- ), di = (e, t = {}) => {
3755
+ ), yi = (e, t = {}) => {
3756
3756
  var r, n, i, s;
3757
3757
  let a = t;
3758
3758
  typeof e == "object" && (a = e, e = a.id);
3759
3759
  const {
3760
3760
  values: o,
3761
- locale: l = P(),
3761
+ locale: l = L(),
3762
3762
  default: u
3763
3763
  } = a;
3764
3764
  if (l == null)
3765
3765
  throw new Error(
3766
3766
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3767
3767
  );
3768
- let h = Qt(e, l);
3768
+ let h = Jt(e, l);
3769
3769
  if (!h)
3770
- h = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3770
+ h = (s = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3771
3771
  else if (typeof h != "string")
3772
3772
  return console.warn(
3773
3773
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3774
3774
  ), h;
3775
3775
  if (!o)
3776
3776
  return h;
3777
- let c = h;
3777
+ let f = h;
3778
3778
  try {
3779
- c = pi(h, l).format(o);
3780
- } catch (f) {
3781
- f instanceof Error && console.warn(
3779
+ f = _i(h, l).format(o);
3780
+ } catch (c) {
3781
+ c instanceof Error && console.warn(
3782
3782
  `[svelte-i18n] Message "${e}" has syntax error:`,
3783
- f.message
3783
+ c.message
3784
3784
  );
3785
3785
  }
3786
- return c;
3787
- }, bi = (e, t) => mi(t).format(e), gi = (e, t) => ci(t).format(e), _i = (e, t) => fi(t).format(e), yi = (e, t = P()) => Qt(e, t), Ei = Q([M, ne], () => di);
3788
- Q([M], () => bi);
3789
- Q([M], () => gi);
3790
- Q([M], () => _i);
3791
- Q([M, ne], () => yi);
3786
+ return f;
3787
+ }, Ei = (e, t) => gi(t).format(e), xi = (e, t) => bi(t).format(e), vi = (e, t) => di(t).format(e), Hi = (e, t = L()) => Jt(e, t), Bi = Q([$, ne], () => yi);
3788
+ Q([$], () => Ei);
3789
+ Q([$], () => xi);
3790
+ Q([$], () => vi);
3791
+ Q([$, ne], () => Hi);
3792
3792
  function yt(e, t) {
3793
- Jt(e, t);
3793
+ Kt(e, t);
3794
3794
  }
3795
- function xi(e) {
3796
- Yn({
3795
+ function Ti(e) {
3796
+ ri({
3797
3797
  fallbackLocale: "en"
3798
- }), M.set(e);
3798
+ }), $.set(e);
3799
3799
  }
3800
3800
  const Et = {
3801
3801
  en: {
@@ -3813,55 +3813,55 @@ const Et = {
3813
3813
  }
3814
3814
  }
3815
3815
  };
3816
- function vi(e) {
3817
- fr(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}");
3816
+ function wi(e) {
3817
+ br(e, "svelte-bbilb", ".CashierHeader{display:flex;position:relative;align-items:center;height:var(--mmw--header-height, 40px);background-color:var(--mmw--color-grey-105, #E8E9EB);width:100%;border-radius:6px 6px 0 0}.CashierHeaderLeftButton{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-small, 14px);font-weight:var(--emw--font-weight-semibold, 500);margin-bottom:0;position:absolute;display:flex;align-items:center;font-variant:all-small-caps;height:32px;left:7px;gap:2px;cursor:pointer}.CashierHeaderLeftButton svg path{fill:var(--mmw--color-grey-10, #111)}.CashierHeaderLeftButton.disabled{pointer-events:none}.CashierHeaderTitle{color:var(--mmw--color-grey-10, #111);font-size:var(--emw--font-size-large, 18px);line-height:125%;font-weight:var(--emw--font-weight-semibold, 500);margin:auto;max-width:calc(100% - 150px);overflow:hidden;text-overflow:ellipsis}.CashierHeaderRightButton{position:absolute;display:flex;justify-content:space-between;align-items:center;padding:0 var(--emw--spacing-small, 12px);height:inherit;right:0;gap:var(--emw--spacing-small, 12px);cursor:pointer}");
3818
3818
  }
3819
- const Hi = (e) => ({}), xt = (e) => ({}), Ti = (e) => ({}), vt = (e) => ({}), Bi = (e) => ({}), Ht = (e) => ({});
3820
- function Tt(e) {
3819
+ const Si = (e) => ({}), xt = (e) => ({}), Ai = (e) => ({}), vt = (e) => ({}), Ci = (e) => ({}), Ht = (e) => ({});
3820
+ function Bt(e) {
3821
3821
  let t, r, n;
3822
3822
  return {
3823
3823
  c() {
3824
3824
  t = W("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', Z(t, "class", "CashierHeaderLeftButton");
3825
3825
  },
3826
3826
  m(i, s) {
3827
- z(i, t, s), r || (n = Ot(
3827
+ M(i, t, s), r || (n = Pt(
3828
3828
  t,
3829
3829
  "click",
3830
3830
  /*back*/
3831
- e[5]
3831
+ e[6]
3832
3832
  ), r = !0);
3833
3833
  },
3834
- p: B,
3834
+ p: T,
3835
3835
  d(i) {
3836
- i && I(t), r = !1, n();
3836
+ i && P(t), r = !1, n();
3837
3837
  }
3838
3838
  };
3839
3839
  }
3840
- function Si(e) {
3840
+ function Oi(e) {
3841
3841
  let t, r = (
3842
3842
  /*backButton*/
3843
- e[1] && Tt(e)
3843
+ e[1] && Bt(e)
3844
3844
  );
3845
3845
  return {
3846
3846
  c() {
3847
- r && r.c(), t = pr();
3847
+ r && r.c(), t = Ot();
3848
3848
  },
3849
3849
  m(n, i) {
3850
- r && r.m(n, i), z(n, t, i);
3850
+ r && r.m(n, i), M(n, t, i);
3851
3851
  },
3852
3852
  p(n, i) {
3853
3853
  /*backButton*/
3854
- n[1] ? r ? r.p(n, i) : (r = Tt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3854
+ n[1] ? r ? r.p(n, i) : (r = Bt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3855
3855
  },
3856
3856
  d(n) {
3857
- n && I(t), r && r.d(n);
3857
+ n && P(t), r && r.d(n);
3858
3858
  }
3859
3859
  };
3860
3860
  }
3861
- function wi(e) {
3861
+ function Pi(e) {
3862
3862
  let t, r = (
3863
3863
  /*$_*/
3864
- e[3](
3864
+ e[4](
3865
3865
  /*titleText*/
3866
3866
  e[2]
3867
3867
  ) + ""
@@ -3871,303 +3871,337 @@ function wi(e) {
3871
3871
  t = W("span"), n = ze(r), Z(t, "class", "CashierHeaderTitle");
3872
3872
  },
3873
3873
  m(i, s) {
3874
- z(i, t, s), me(t, n);
3874
+ M(i, t, s), me(t, n);
3875
3875
  },
3876
3876
  p(i, s) {
3877
3877
  s & /*$_, titleText*/
3878
- 12 && r !== (r = /*$_*/
3879
- i[3](
3878
+ 20 && r !== (r = /*$_*/
3879
+ i[4](
3880
3880
  /*titleText*/
3881
3881
  i[2]
3882
- ) + "") && br(n, r);
3882
+ ) + "") && Er(n, r);
3883
3883
  },
3884
3884
  d(i) {
3885
- i && I(t);
3885
+ i && P(t);
3886
3886
  }
3887
3887
  };
3888
3888
  }
3889
- function Ai(e) {
3889
+ function Tt(e) {
3890
3890
  let t, r, n;
3891
3891
  return {
3892
3892
  c() {
3893
3893
  t = W("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', Z(t, "class", "CashierHeaderRightButton");
3894
3894
  },
3895
3895
  m(i, s) {
3896
- z(i, t, s), r || (n = Ot(
3896
+ M(i, t, s), r || (n = Pt(
3897
3897
  t,
3898
3898
  "click",
3899
3899
  /*close*/
3900
- e[4]
3900
+ e[5]
3901
3901
  ), r = !0);
3902
3902
  },
3903
- p: B,
3903
+ p: T,
3904
3904
  d(i) {
3905
- i && I(t), r = !1, n();
3905
+ i && P(t), r = !1, n();
3906
3906
  }
3907
3907
  };
3908
3908
  }
3909
- function Oi(e) {
3909
+ function Li(e) {
3910
+ let t, r = (
3911
+ /*closeButton*/
3912
+ e[3] && Tt(e)
3913
+ );
3914
+ return {
3915
+ c() {
3916
+ r && r.c(), t = Ot();
3917
+ },
3918
+ m(n, i) {
3919
+ r && r.m(n, i), M(n, t, i);
3920
+ },
3921
+ p(n, i) {
3922
+ /*closeButton*/
3923
+ n[3] ? r ? r.p(n, i) : (r = Tt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3924
+ },
3925
+ d(n) {
3926
+ n && P(t), r && r.d(n);
3927
+ }
3928
+ };
3929
+ }
3930
+ function Ni(e) {
3910
3931
  let t, r, n, i;
3911
3932
  const s = (
3912
3933
  /*#slots*/
3913
- e[13].leftButton
3934
+ e[15].leftButton
3914
3935
  ), a = ve(
3915
3936
  s,
3916
3937
  e,
3917
3938
  /*$$scope*/
3918
- e[12],
3939
+ e[14],
3919
3940
  Ht
3920
- ), o = a || Si(e), l = (
3941
+ ), o = a || Oi(e), l = (
3921
3942
  /*#slots*/
3922
- e[13].title
3943
+ e[15].title
3923
3944
  ), u = ve(
3924
3945
  l,
3925
3946
  e,
3926
3947
  /*$$scope*/
3927
- e[12],
3948
+ e[14],
3928
3949
  vt
3929
- ), h = u || wi(e), c = (
3950
+ ), h = u || Pi(e), f = (
3930
3951
  /*#slots*/
3931
- e[13].rightButton
3932
- ), f = ve(
3933
- c,
3952
+ e[15].rightButton
3953
+ ), c = ve(
3954
+ f,
3934
3955
  e,
3935
3956
  /*$$scope*/
3936
- e[12],
3957
+ e[14],
3937
3958
  xt
3938
- ), p = f || Ai(e);
3959
+ ), p = c || Li(e);
3939
3960
  return {
3940
3961
  c() {
3941
3962
  t = W("div"), o && o.c(), r = nt(), h && h.c(), n = nt(), p && p.c(), Z(t, "class", "CashierHeader");
3942
3963
  },
3943
- m(m, y) {
3944
- z(m, t, y), o && o.m(t, null), me(t, r), h && h.m(t, null), me(t, n), p && p.m(t, null), e[14](t), i = !0;
3964
+ m(m, g) {
3965
+ M(m, t, g), o && o.m(t, null), me(t, r), h && h.m(t, null), me(t, n), p && p.m(t, null), e[16](t), i = !0;
3945
3966
  },
3946
- p(m, [y]) {
3947
- a ? a.p && (!i || y & /*$$scope*/
3948
- 4096) && Te(
3967
+ p(m, [g]) {
3968
+ a ? a.p && (!i || g & /*$$scope*/
3969
+ 16384) && Be(
3949
3970
  a,
3950
3971
  s,
3951
3972
  m,
3952
3973
  /*$$scope*/
3953
- m[12],
3974
+ m[14],
3954
3975
  i ? He(
3955
3976
  s,
3956
3977
  /*$$scope*/
3957
- m[12],
3958
- y,
3959
- Bi
3960
- ) : Be(
3978
+ m[14],
3979
+ g,
3980
+ Ci
3981
+ ) : Te(
3961
3982
  /*$$scope*/
3962
- m[12]
3983
+ m[14]
3963
3984
  ),
3964
3985
  Ht
3965
- ) : o && o.p && (!i || y & /*backButton*/
3966
- 2) && o.p(m, i ? y : -1), u ? u.p && (!i || y & /*$$scope*/
3967
- 4096) && Te(
3986
+ ) : o && o.p && (!i || g & /*backButton*/
3987
+ 2) && o.p(m, i ? g : -1), u ? u.p && (!i || g & /*$$scope*/
3988
+ 16384) && Be(
3968
3989
  u,
3969
3990
  l,
3970
3991
  m,
3971
3992
  /*$$scope*/
3972
- m[12],
3993
+ m[14],
3973
3994
  i ? He(
3974
3995
  l,
3975
3996
  /*$$scope*/
3976
- m[12],
3977
- y,
3978
- Ti
3979
- ) : Be(
3997
+ m[14],
3998
+ g,
3999
+ Ai
4000
+ ) : Te(
3980
4001
  /*$$scope*/
3981
- m[12]
4002
+ m[14]
3982
4003
  ),
3983
4004
  vt
3984
- ) : h && h.p && (!i || y & /*$_, titleText*/
3985
- 12) && h.p(m, i ? y : -1), f && f.p && (!i || y & /*$$scope*/
3986
- 4096) && Te(
3987
- f,
4005
+ ) : h && h.p && (!i || g & /*$_, titleText*/
4006
+ 20) && h.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
4007
+ 16384) && Be(
3988
4008
  c,
4009
+ f,
3989
4010
  m,
3990
4011
  /*$$scope*/
3991
- m[12],
4012
+ m[14],
3992
4013
  i ? He(
3993
- c,
4014
+ f,
3994
4015
  /*$$scope*/
3995
- m[12],
3996
- y,
3997
- Hi
3998
- ) : Be(
4016
+ m[14],
4017
+ g,
4018
+ Si
4019
+ ) : Te(
3999
4020
  /*$$scope*/
4000
- m[12]
4021
+ m[14]
4001
4022
  ),
4002
4023
  xt
4003
- );
4024
+ ) : p && p.p && (!i || g & /*closeButton*/
4025
+ 8) && p.p(m, i ? g : -1);
4004
4026
  },
4005
4027
  i(m) {
4006
4028
  i || (he(o, m), he(h, m), he(p, m), i = !0);
4007
4029
  },
4008
4030
  o(m) {
4009
- we(o, m), we(h, m), we(p, m), i = !1;
4031
+ Se(o, m), Se(h, m), Se(p, m), i = !1;
4010
4032
  },
4011
4033
  d(m) {
4012
- m && I(t), o && o.d(m), h && h.d(m), p && p.d(m), e[14](null);
4034
+ m && P(t), o && o.d(m), h && h.d(m), p && p.d(m), e[16](null);
4013
4035
  }
4014
4036
  };
4015
4037
  }
4016
- function Ci(e, t, r) {
4038
+ function Ii(e, t, r) {
4017
4039
  let n;
4018
- lr(e, Ei, (_) => r(3, n = _));
4019
- let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: u = "" } = t, { title: h = "header.general" } = t, { lang: c = "en" } = t, f, p = !1, m;
4020
- const y = () => {
4040
+ dr(e, Bi, (_) => r(4, n = _));
4041
+ let { $$slots: i = {}, $$scope: s } = t, { clientstyling: a = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: u = "" } = t, { title: h = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: c = "" } = t, p, m = !1, g, v = !1;
4042
+ const N = () => {
4021
4043
  let _ = l;
4022
- _ && fetch(_).then((w) => w.json()).then((w) => {
4023
- Object.keys(w).forEach((R) => {
4024
- yt(R, w[R]);
4044
+ _ && fetch(_).then((S) => S.json()).then((S) => {
4045
+ Object.keys(S).forEach((U) => {
4046
+ yt(U, S[U]);
4025
4047
  });
4026
- }).catch((w) => {
4027
- console.log(w);
4048
+ }).catch((S) => {
4049
+ console.log(S);
4028
4050
  });
4029
4051
  };
4030
4052
  Object.keys(Et).forEach((_) => {
4031
4053
  yt(_, Et[_]);
4032
4054
  });
4033
- const T = () => {
4055
+ const C = () => {
4034
4056
  let _ = document.createElement("style");
4035
- _.innerHTML = a, f.appendChild(_);
4036
- }, L = () => {
4037
- let _ = new URL(o), w = document.createElement("style");
4038
- fetch(_.href).then((R) => R.text()).then((R) => {
4039
- w.innerHTML = R, setTimeout(
4057
+ _.innerHTML = a, p.appendChild(_);
4058
+ }, H = () => {
4059
+ let _ = new URL(o), S = document.createElement("style");
4060
+ fetch(_.href).then((U) => U.text()).then((U) => {
4061
+ S.innerHTML = U, setTimeout(
4040
4062
  () => {
4041
- f.appendChild(w);
4063
+ p.appendChild(S);
4042
4064
  },
4043
4065
  1
4044
4066
  );
4045
4067
  });
4046
- }, A = () => {
4047
- xi(c);
4048
- }, v = () => {
4068
+ }, I = () => {
4069
+ Ti(f);
4070
+ }, w = () => {
4049
4071
  window.postMessage({ type: "CloseCashier" }, window.location.href);
4050
- }, N = () => {
4072
+ }, R = () => {
4051
4073
  window.postMessage({ type: "BackCashier" }, window.location.href);
4052
- }, S = () => {
4053
- r(1, p = !!u && u !== "false");
4054
- }, $ = () => {
4055
- r(2, m = h || "header.general");
4074
+ }, se = () => {
4075
+ r(1, m = !!u && u !== "false");
4076
+ }, sr = () => {
4077
+ r(3, v = !!c && c !== "false");
4078
+ }, or = () => {
4079
+ r(2, g = h || "header.general");
4056
4080
  };
4057
- function se(_) {
4081
+ function ar(_) {
4058
4082
  Ie[_ ? "unshift" : "push"](() => {
4059
- f = _, r(0, f);
4083
+ p = _, r(0, p);
4060
4084
  });
4061
4085
  }
4062
4086
  return e.$$set = (_) => {
4063
- "clientstyling" in _ && r(6, a = _.clientstyling), "clientstylingurl" in _ && r(7, o = _.clientstylingurl), "translationurl" in _ && r(8, l = _.translationurl), "showbackbutton" in _ && r(9, u = _.showbackbutton), "title" in _ && r(10, h = _.title), "lang" in _ && r(11, c = _.lang), "$$scope" in _ && r(12, s = _.$$scope);
4087
+ "clientstyling" in _ && r(7, a = _.clientstyling), "clientstylingurl" in _ && r(8, o = _.clientstylingurl), "translationurl" in _ && r(9, l = _.translationurl), "showbackbutton" in _ && r(10, u = _.showbackbutton), "title" in _ && r(11, h = _.title), "lang" in _ && r(12, f = _.lang), "showclosebutton" in _ && r(13, c = _.showclosebutton), "$$scope" in _ && r(14, s = _.$$scope);
4064
4088
  }, e.$$.update = () => {
4065
4089
  e.$$.dirty & /*lang*/
4066
- 2048 && c && A(), e.$$.dirty & /*lang, title*/
4067
- 3072 && c && h && $(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4068
- 65 && a && f && T(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4069
- 129 && o && f && L(), e.$$.dirty & /*lang, translationurl*/
4070
- 2304 && c && l && y(), e.$$.dirty & /*showbackbutton*/
4071
- 512 && u && S();
4090
+ 4096 && f && I(), e.$$.dirty & /*lang, title*/
4091
+ 6144 && f && h && or(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4092
+ 129 && a && p && C(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4093
+ 257 && o && p && H(), e.$$.dirty & /*lang, translationurl*/
4094
+ 4608 && f && l && N(), e.$$.dirty & /*showbackbutton*/
4095
+ 1024 && u && se(), e.$$.dirty & /*showclosebutton*/
4096
+ 8192 && c && sr();
4072
4097
  }, [
4073
- f,
4074
4098
  p,
4075
4099
  m,
4076
- n,
4100
+ g,
4077
4101
  v,
4078
- N,
4102
+ n,
4103
+ w,
4104
+ R,
4079
4105
  a,
4080
4106
  o,
4081
4107
  l,
4082
4108
  u,
4083
4109
  h,
4110
+ f,
4084
4111
  c,
4085
4112
  s,
4086
4113
  i,
4087
- se
4114
+ ar
4088
4115
  ];
4089
4116
  }
4090
- class rr extends Ar {
4117
+ class ir extends Lr {
4091
4118
  constructor(t) {
4092
- super(), Sr(
4119
+ super(), Or(
4093
4120
  this,
4094
4121
  t,
4095
- Ci,
4096
- Oi,
4122
+ Ii,
4123
+ Ni,
4097
4124
  St,
4098
4125
  {
4099
- clientstyling: 6,
4100
- clientstylingurl: 7,
4101
- translationurl: 8,
4102
- showbackbutton: 9,
4103
- title: 10,
4104
- lang: 11
4126
+ clientstyling: 7,
4127
+ clientstylingurl: 8,
4128
+ translationurl: 9,
4129
+ showbackbutton: 10,
4130
+ title: 11,
4131
+ lang: 12,
4132
+ showclosebutton: 13
4105
4133
  },
4106
- vi
4134
+ wi
4107
4135
  );
4108
4136
  }
4109
4137
  get clientstyling() {
4110
- return this.$$.ctx[6];
4138
+ return this.$$.ctx[7];
4111
4139
  }
4112
4140
  set clientstyling(t) {
4113
- this.$$set({ clientstyling: t }), O();
4141
+ this.$$set({ clientstyling: t }), A();
4114
4142
  }
4115
4143
  get clientstylingurl() {
4116
- return this.$$.ctx[7];
4144
+ return this.$$.ctx[8];
4117
4145
  }
4118
4146
  set clientstylingurl(t) {
4119
- this.$$set({ clientstylingurl: t }), O();
4147
+ this.$$set({ clientstylingurl: t }), A();
4120
4148
  }
4121
4149
  get translationurl() {
4122
- return this.$$.ctx[8];
4150
+ return this.$$.ctx[9];
4123
4151
  }
4124
4152
  set translationurl(t) {
4125
- this.$$set({ translationurl: t }), O();
4153
+ this.$$set({ translationurl: t }), A();
4126
4154
  }
4127
4155
  get showbackbutton() {
4128
- return this.$$.ctx[9];
4156
+ return this.$$.ctx[10];
4129
4157
  }
4130
4158
  set showbackbutton(t) {
4131
- this.$$set({ showbackbutton: t }), O();
4159
+ this.$$set({ showbackbutton: t }), A();
4132
4160
  }
4133
4161
  get title() {
4134
- return this.$$.ctx[10];
4162
+ return this.$$.ctx[11];
4135
4163
  }
4136
4164
  set title(t) {
4137
- this.$$set({ title: t }), O();
4165
+ this.$$set({ title: t }), A();
4138
4166
  }
4139
4167
  get lang() {
4140
- return this.$$.ctx[11];
4168
+ return this.$$.ctx[12];
4141
4169
  }
4142
4170
  set lang(t) {
4143
- this.$$set({ lang: t }), O();
4171
+ this.$$set({ lang: t }), A();
4172
+ }
4173
+ get showclosebutton() {
4174
+ return this.$$.ctx[13];
4175
+ }
4176
+ set showclosebutton(t) {
4177
+ this.$$set({ showclosebutton: t }), A();
4144
4178
  }
4145
4179
  }
4146
- wr(rr, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {} }, ["leftButton", "title", "rightButton"], [], !0);
4147
- const Ii = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4180
+ Pr(ir, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4181
+ const Ui = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4148
4182
  __proto__: null,
4149
- default: rr
4183
+ default: ir
4150
4184
  }, Symbol.toStringTag, { value: "Module" }));
4151
4185
  export {
4152
- M as $,
4153
- Ii as C,
4154
- Ar as S,
4155
- Jt as a,
4156
- Sr as b,
4157
- wr as c,
4158
- fr as d,
4186
+ $,
4187
+ Ui as C,
4188
+ Lr as S,
4189
+ Kt as a,
4190
+ Or as b,
4191
+ Pr as c,
4192
+ br as d,
4159
4193
  W as e,
4160
- O as f,
4194
+ A as f,
4161
4195
  nt as g,
4162
- Ni as h,
4163
- Yn as i,
4164
- Li as j,
4196
+ Ri as h,
4197
+ ri as i,
4198
+ $i as j,
4165
4199
  Z as k,
4166
- z as l,
4200
+ M as l,
4167
4201
  me as m,
4168
- Ot as n,
4169
- B as o,
4170
- I as p,
4202
+ Pt as n,
4203
+ T as o,
4204
+ P as p,
4171
4205
  Ie as q,
4172
4206
  St as s
4173
4207
  };