@everymatrix/cashier-iframe-redirect 1.70.1 → 1.71.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.
@@ -8,24 +8,24 @@ function rr(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function Et(e) {
11
+ function xt(e) {
12
12
  return e();
13
13
  }
14
14
  function qe() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function re(e) {
18
- e.forEach(Et);
17
+ function te(e) {
18
+ e.forEach(xt);
19
19
  }
20
- function Xe(e) {
20
+ function ke(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function xt(e, t) {
23
+ function Et(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
- let oe;
27
- function Ti(e, t) {
28
- return e === t ? !0 : (oe || (oe = document.createElement("a")), oe.href = t, e === oe.href);
26
+ let se;
27
+ function Bi(e, t) {
28
+ return e === t ? !0 : (se || (se = document.createElement("a")), se.href = t, e === se.href);
29
29
  }
30
30
  function nr(e) {
31
31
  return Object.keys(e).length === 0;
@@ -42,7 +42,7 @@ function vt(e, ...t) {
42
42
  function ir(e, t, r) {
43
43
  e.$$.on_destroy.push(vt(t, r));
44
44
  }
45
- function ve(e, t, r, n) {
45
+ function xe(e, t, r, n) {
46
46
  if (e) {
47
47
  const i = Ht(e, t, r, n);
48
48
  return e[0](i);
@@ -51,14 +51,14 @@ function ve(e, t, r, n) {
51
51
  function Ht(e, t, r, n) {
52
52
  return e[1] && n ? rr(r.ctx.slice(), e[1](n(t))) : r.ctx;
53
53
  }
54
- function He(e, t, r, n) {
54
+ function Ee(e, t, r, n) {
55
55
  if (e[2] && n) {
56
56
  const i = e[2](n(r));
57
57
  if (t.dirty === void 0)
58
58
  return i;
59
59
  if (typeof i == "object") {
60
- const s = [], u = Math.max(t.dirty.length, i.length);
61
- for (let o = 0; o < u; o += 1)
60
+ const s = [], h = Math.max(t.dirty.length, i.length);
61
+ for (let o = 0; o < h; o += 1)
62
62
  s[o] = t.dirty[o] | i[o];
63
63
  return s;
64
64
  }
@@ -66,13 +66,13 @@ function He(e, t, r, n) {
66
66
  }
67
67
  return t.dirty;
68
68
  }
69
- function Be(e, t, r, n, i, s) {
69
+ function ve(e, t, r, n, i, s) {
70
70
  if (i) {
71
- const u = Ht(t, r, n, s);
72
- e.p(u, i);
71
+ const h = Ht(t, r, n, s);
72
+ e.p(h, i);
73
73
  }
74
74
  }
75
- function Te(e) {
75
+ function He(e) {
76
76
  if (e.ctx.length > 32) {
77
77
  const t = [], r = e.ctx.length / 32;
78
78
  for (let n = 0; n < r; n++)
@@ -81,7 +81,7 @@ function Te(e) {
81
81
  }
82
82
  return -1;
83
83
  }
84
- function me(e, t) {
84
+ function ce(e, t) {
85
85
  e.appendChild(t);
86
86
  }
87
87
  function sr(e, t, r) {
@@ -102,44 +102,44 @@ function or(e) {
102
102
  ) : e.ownerDocument;
103
103
  }
104
104
  function ar(e, t) {
105
- return me(
105
+ return ce(
106
106
  /** @type {Document} */
107
107
  e.head || e,
108
108
  t
109
109
  ), t.sheet;
110
110
  }
111
- function M(e, t, r) {
111
+ function I(e, t, r) {
112
112
  e.insertBefore(t, r || null);
113
113
  }
114
- function P(e) {
114
+ function O(e) {
115
115
  e.parentNode && e.parentNode.removeChild(e);
116
116
  }
117
117
  function z(e) {
118
118
  return document.createElement(e);
119
119
  }
120
- function We(e) {
120
+ function Ve(e) {
121
121
  return document.createTextNode(e);
122
122
  }
123
123
  function Je() {
124
- return We(" ");
124
+ return Ve(" ");
125
125
  }
126
126
  function Bt() {
127
- return We("");
127
+ return Ve("");
128
128
  }
129
129
  function Tt(e, t, r, n) {
130
130
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
131
131
  }
132
- function Z(e, t, r) {
132
+ function W(e, t, r) {
133
133
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
134
134
  }
135
- function wi(e, t, r) {
135
+ function Ti(e, t, r) {
136
136
  const n = t.toLowerCase();
137
- 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);
137
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : W(e, t, r);
138
138
  }
139
- function ur(e) {
139
+ function hr(e) {
140
140
  return Array.from(e.childNodes);
141
141
  }
142
- function hr(e, t) {
142
+ function ur(e, t) {
143
143
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
144
144
  t);
145
145
  }
@@ -152,89 +152,89 @@ function lr(e) {
152
152
  }
153
153
  ), t;
154
154
  }
155
- let ze;
156
- function K(e) {
157
- ze = e;
155
+ let Xe;
156
+ function Y(e) {
157
+ Xe = e;
158
158
  }
159
- const F = [], Ie = [];
160
- let j = [];
159
+ const G = [], Le = [];
160
+ let F = [];
161
161
  const Ye = [], fr = /* @__PURE__ */ Promise.resolve();
162
- let Me = !1;
162
+ let Ne = !1;
163
163
  function cr() {
164
- Me || (Me = !0, fr.then(A));
164
+ Ne || (Ne = !0, fr.then(S));
165
165
  }
166
- function $e(e) {
167
- j.push(e);
166
+ function Ie(e) {
167
+ F.push(e);
168
168
  }
169
- const we = /* @__PURE__ */ new Set();
170
- let D = 0;
171
- function A() {
172
- if (D !== 0)
169
+ const Be = /* @__PURE__ */ new Set();
170
+ let U = 0;
171
+ function S() {
172
+ if (U !== 0)
173
173
  return;
174
- const e = ze;
174
+ const e = Xe;
175
175
  do {
176
176
  try {
177
- for (; D < F.length; ) {
178
- const t = F[D];
179
- D++, K(t), mr(t.$$);
177
+ for (; U < G.length; ) {
178
+ const t = G[U];
179
+ U++, Y(t), mr(t.$$);
180
180
  }
181
181
  } catch (t) {
182
- throw F.length = 0, D = 0, t;
182
+ throw G.length = 0, U = 0, t;
183
183
  }
184
- for (K(null), F.length = 0, D = 0; Ie.length; )
185
- Ie.pop()();
186
- for (let t = 0; t < j.length; t += 1) {
187
- const r = j[t];
188
- we.has(r) || (we.add(r), r());
184
+ for (Y(null), G.length = 0, U = 0; Le.length; )
185
+ Le.pop()();
186
+ for (let t = 0; t < F.length; t += 1) {
187
+ const r = F[t];
188
+ Be.has(r) || (Be.add(r), r());
189
189
  }
190
- j.length = 0;
191
- } while (F.length);
190
+ F.length = 0;
191
+ } while (G.length);
192
192
  for (; Ye.length; )
193
193
  Ye.pop()();
194
- Me = !1, we.clear(), K(e);
194
+ Ne = !1, Be.clear(), Y(e);
195
195
  }
196
196
  function mr(e) {
197
197
  if (e.fragment !== null) {
198
- e.update(), re(e.before_update);
198
+ e.update(), te(e.before_update);
199
199
  const t = e.dirty;
200
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
200
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
201
201
  }
202
202
  }
203
- function pr(e) {
203
+ function dr(e) {
204
204
  const t = [], r = [];
205
- j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
205
+ F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
206
206
  }
207
- const ue = /* @__PURE__ */ new Set();
208
- let dr;
207
+ const ae = /* @__PURE__ */ new Set();
208
+ let pr;
209
209
  function he(e, t) {
210
- e && e.i && (ue.delete(e), e.i(t));
210
+ e && e.i && (ae.delete(e), e.i(t));
211
211
  }
212
- function Se(e, t, r, n) {
212
+ function Te(e, t, r, n) {
213
213
  if (e && e.o) {
214
- if (ue.has(e))
214
+ if (ae.has(e))
215
215
  return;
216
- ue.add(e), dr.c.push(() => {
217
- ue.delete(e);
216
+ ae.add(e), pr.c.push(() => {
217
+ ae.delete(e);
218
218
  }), e.o(t);
219
219
  }
220
220
  }
221
221
  function br(e, t, r) {
222
222
  const { fragment: n, after_update: i } = e.$$;
223
- n && n.m(t, r), $e(() => {
224
- const s = e.$$.on_mount.map(Et).filter(Xe);
225
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : re(s), e.$$.on_mount = [];
226
- }), i.forEach($e);
223
+ n && n.m(t, r), Ie(() => {
224
+ const s = e.$$.on_mount.map(xt).filter(ke);
225
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : te(s), e.$$.on_mount = [];
226
+ }), i.forEach(Ie);
227
227
  }
228
228
  function gr(e, t) {
229
229
  const r = e.$$;
230
- r.fragment !== null && (pr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
230
+ r.fragment !== null && (dr(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
231
231
  }
232
232
  function _r(e, t) {
233
- e.$$.dirty[0] === -1 && (F.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
233
+ e.$$.dirty[0] === -1 && (G.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
234
234
  }
235
- function yr(e, t, r, n, i, s, u = null, o = [-1]) {
236
- const l = ze;
237
- K(e);
235
+ function yr(e, t, r, n, i, s, h = null, o = [-1]) {
236
+ const l = Xe;
237
+ Y(e);
238
238
  const a = e.$$ = {
239
239
  fragment: null,
240
240
  ctx: [],
@@ -256,20 +256,20 @@ function yr(e, t, r, n, i, s, u = null, o = [-1]) {
256
256
  skip_bound: !1,
257
257
  root: t.target || l.$$.root
258
258
  };
259
- u && u(a.root);
260
- let h = !1;
261
- if (a.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
262
- const m = p.length ? p[0] : c;
263
- return a.ctx && i(a.ctx[f], a.ctx[f] = m) && (!a.skip_bound && a.bound[f] && a.bound[f](m), h && _r(e, f)), c;
264
- }) : [], a.update(), h = !0, re(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
259
+ h && h(a.root);
260
+ let u = !1;
261
+ if (a.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
262
+ const m = d.length ? d[0] : c;
263
+ return a.ctx && i(a.ctx[f], a.ctx[f] = m) && (!a.skip_bound && a.bound[f] && a.bound[f](m), u && _r(e, f)), c;
264
+ }) : [], a.update(), u = !0, te(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
265
265
  if (t.hydrate) {
266
- const f = ur(t.target);
267
- a.fragment && a.fragment.l(f), f.forEach(P);
266
+ const f = hr(t.target);
267
+ a.fragment && a.fragment.l(f), f.forEach(O);
268
268
  } else
269
269
  a.fragment && a.fragment.c();
270
- t.intro && he(e.$$.fragment), br(e, t.target, t.anchor), A();
270
+ t.intro && he(e.$$.fragment), br(e, t.target, t.anchor), S();
271
271
  }
272
- K(l);
272
+ Y(l);
273
273
  }
274
274
  let wt;
275
275
  typeof HTMLElement == "function" && (wt = class extends HTMLElement {
@@ -314,17 +314,17 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
314
314
  let s;
315
315
  return {
316
316
  c: function() {
317
- s = z("slot"), i !== "default" && Z(s, "name", i);
317
+ s = z("slot"), i !== "default" && W(s, "name", i);
318
318
  },
319
319
  /**
320
320
  * @param {HTMLElement} target
321
321
  * @param {HTMLElement} [anchor]
322
322
  */
323
323
  m: function(l, a) {
324
- M(l, s, a);
324
+ I(l, s, a);
325
325
  },
326
326
  d: function(l) {
327
- l && P(s);
327
+ l && O(s);
328
328
  }
329
329
  };
330
330
  };
@@ -336,7 +336,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
336
336
  i in r && (t[i] = [e(i)]);
337
337
  for (const i of this.attributes) {
338
338
  const s = this.$$g_p(i.name);
339
- s in this.$$d || (this.$$d[s] = le(s, i.value, this.$$p_d, "toProp"));
339
+ s in this.$$d || (this.$$d[s] = ue(s, i.value, this.$$p_d, "toProp"));
340
340
  }
341
341
  for (const i in this.$$p_d)
342
342
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -354,7 +354,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
354
354
  this.$$r = !0;
355
355
  for (const i in this.$$p_d)
356
356
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
357
- const s = le(
357
+ const s = ue(
358
358
  i,
359
359
  this.$$d[i],
360
360
  this.$$p_d,
@@ -367,8 +367,8 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
367
367
  this.$$c.$$.after_update.push(n), n();
368
368
  for (const i in this.$$l)
369
369
  for (const s of this.$$l[i]) {
370
- const u = this.$$c.$on(i, s);
371
- this.$$l_u.set(s, u);
370
+ const h = this.$$c.$on(i, s);
371
+ this.$$l_u.set(s, h);
372
372
  }
373
373
  this.$$l = {};
374
374
  }
@@ -376,7 +376,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
376
376
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
377
377
  // and setting attributes through setAttribute etc, this is helpful
378
378
  attributeChangedCallback(e, t, r) {
379
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = le(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
379
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ue(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
380
380
  }
381
381
  disconnectedCallback() {
382
382
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -389,7 +389,7 @@ typeof HTMLElement == "function" && (wt = class extends HTMLElement {
389
389
  ) || e;
390
390
  }
391
391
  });
392
- function le(e, t, r, n) {
392
+ function ue(e, t, r, n) {
393
393
  const i = r[e]?.type;
394
394
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
395
395
  return t;
@@ -418,8 +418,8 @@ function le(e, t, r, n) {
418
418
  return t;
419
419
  }
420
420
  }
421
- function Er(e, t, r, n, i, s) {
422
- let u = class extends wt {
421
+ function xr(e, t, r, n, i, s) {
422
+ let h = class extends wt {
423
423
  constructor() {
424
424
  super(e, r, i), this.$$p_d = t;
425
425
  }
@@ -430,24 +430,24 @@ function Er(e, t, r, n, i, s) {
430
430
  }
431
431
  };
432
432
  return Object.keys(t).forEach((o) => {
433
- Object.defineProperty(u.prototype, o, {
433
+ Object.defineProperty(h.prototype, o, {
434
434
  get() {
435
435
  return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
436
436
  },
437
437
  set(l) {
438
- l = le(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
438
+ l = ue(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
439
439
  }
440
440
  });
441
441
  }), n.forEach((o) => {
442
- Object.defineProperty(u.prototype, o, {
442
+ Object.defineProperty(h.prototype, o, {
443
443
  get() {
444
444
  return this.$$c?.[o];
445
445
  }
446
446
  });
447
447
  }), e.element = /** @type {any} */
448
- u, u;
448
+ h, h;
449
449
  }
450
- class xr {
450
+ class Er {
451
451
  /**
452
452
  * ### PRIVATE API
453
453
  *
@@ -475,7 +475,7 @@ class xr {
475
475
  * @returns {() => void}
476
476
  */
477
477
  $on(t, r) {
478
- if (!Xe(r))
478
+ if (!ke(r))
479
479
  return B;
480
480
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
481
481
  return n.push(r), () => {
@@ -493,66 +493,66 @@ class xr {
493
493
  }
494
494
  const vr = "4";
495
495
  typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vr);
496
- const G = [];
496
+ const D = [];
497
497
  function Hr(e, t) {
498
498
  return {
499
- subscribe: _e(e, t).subscribe
499
+ subscribe: be(e, t).subscribe
500
500
  };
501
501
  }
502
- function _e(e, t = B) {
502
+ function be(e, t = B) {
503
503
  let r;
504
504
  const n = /* @__PURE__ */ new Set();
505
505
  function i(o) {
506
- if (xt(e, o) && (e = o, r)) {
507
- const l = !G.length;
506
+ if (Et(e, o) && (e = o, r)) {
507
+ const l = !D.length;
508
508
  for (const a of n)
509
- a[1](), G.push(a, e);
509
+ a[1](), D.push(a, e);
510
510
  if (l) {
511
- for (let a = 0; a < G.length; a += 2)
512
- G[a][0](G[a + 1]);
513
- G.length = 0;
511
+ for (let a = 0; a < D.length; a += 2)
512
+ D[a][0](D[a + 1]);
513
+ D.length = 0;
514
514
  }
515
515
  }
516
516
  }
517
517
  function s(o) {
518
518
  i(o(e));
519
519
  }
520
- function u(o, l = B) {
520
+ function h(o, l = B) {
521
521
  const a = [o, l];
522
522
  return n.add(a), n.size === 1 && (r = t(i, s) || B), o(e), () => {
523
523
  n.delete(a), n.size === 0 && r && (r(), r = null);
524
524
  };
525
525
  }
526
- return { set: i, update: s, subscribe: u };
526
+ return { set: i, update: s, subscribe: h };
527
527
  }
528
- function Q(e, t, r) {
528
+ function Z(e, t, r) {
529
529
  const n = !Array.isArray(e), i = n ? [e] : e;
530
530
  if (!i.every(Boolean))
531
531
  throw new Error("derived() expects stores as input, got a falsy value");
532
532
  const s = t.length < 2;
533
- return Hr(r, (u, o) => {
533
+ return Hr(r, (h, o) => {
534
534
  let l = !1;
535
535
  const a = [];
536
- let h = 0, f = B;
536
+ let u = 0, f = B;
537
537
  const c = () => {
538
- if (h)
538
+ if (u)
539
539
  return;
540
540
  f();
541
- const m = t(n ? a[0] : a, u, o);
542
- s ? u(m) : f = Xe(m) ? m : B;
543
- }, p = i.map(
541
+ const m = t(n ? a[0] : a, h, o);
542
+ s ? h(m) : f = ke(m) ? m : B;
543
+ }, d = i.map(
544
544
  (m, g) => vt(
545
545
  m,
546
546
  (v) => {
547
- a[g] = v, h &= ~(1 << g), l && c();
547
+ a[g] = v, u &= ~(1 << g), l && c();
548
548
  },
549
549
  () => {
550
- h |= 1 << g;
550
+ u |= 1 << g;
551
551
  }
552
552
  )
553
553
  );
554
554
  return l = !0, c(), function() {
555
- re(p), f(), l = !1;
555
+ te(d), f(), l = !1;
556
556
  };
557
557
  });
558
558
  }
@@ -567,28 +567,28 @@ function wr(e) {
567
567
  }
568
568
  function Sr(e) {
569
569
  var t = Object.prototype.toString.call(e);
570
- return t === "[object RegExp]" || t === "[object Date]" || Cr(e);
570
+ return t === "[object RegExp]" || t === "[object Date]" || Or(e);
571
571
  }
572
- var Ar = typeof Symbol == "function" && Symbol.for, Or = Ar ? Symbol.for("react.element") : 60103;
573
- function Cr(e) {
574
- return e.$$typeof === Or;
572
+ var Ar = typeof Symbol == "function" && Symbol.for, Cr = Ar ? Symbol.for("react.element") : 60103;
573
+ function Or(e) {
574
+ return e.$$typeof === Cr;
575
575
  }
576
576
  function Pr(e) {
577
577
  return Array.isArray(e) ? [] : {};
578
578
  }
579
- function ee(e, t) {
580
- return t.clone !== !1 && t.isMergeableObject(e) ? k(Pr(e), e, t) : e;
579
+ function K(e, t) {
580
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(Pr(e), e, t) : e;
581
581
  }
582
582
  function Lr(e, t, r) {
583
583
  return e.concat(t).map(function(n) {
584
- return ee(n, r);
584
+ return K(n, r);
585
585
  });
586
586
  }
587
587
  function Nr(e, t) {
588
588
  if (!t.customMerge)
589
- return k;
589
+ return j;
590
590
  var r = t.customMerge(e);
591
- return typeof r == "function" ? r : k;
591
+ return typeof r == "function" ? r : j;
592
592
  }
593
593
  function Ir(e) {
594
594
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
@@ -611,51 +611,65 @@ function Mr(e, t) {
611
611
  function $r(e, t, r) {
612
612
  var n = {};
613
613
  return r.isMergeableObject(e) && Ke(e).forEach(function(i) {
614
- n[i] = ee(e[i], r);
614
+ n[i] = K(e[i], r);
615
615
  }), Ke(t).forEach(function(i) {
616
- Mr(e, i) || (St(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
616
+ Mr(e, i) || (St(e, i) && r.isMergeableObject(t[i]) ? n[i] = Nr(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
617
617
  }), n;
618
618
  }
619
- function k(e, t, r) {
620
- r = r || {}, r.arrayMerge = r.arrayMerge || Lr, r.isMergeableObject = r.isMergeableObject || Tr, r.cloneUnlessOtherwiseSpecified = ee;
619
+ function j(e, t, r) {
620
+ r = r || {}, r.arrayMerge = r.arrayMerge || Lr, r.isMergeableObject = r.isMergeableObject || Tr, r.cloneUnlessOtherwiseSpecified = K;
621
621
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
622
- return s ? n ? r.arrayMerge(e, t, r) : $r(e, t, r) : ee(t, r);
622
+ return s ? n ? r.arrayMerge(e, t, r) : $r(e, t, r) : K(t, r);
623
623
  }
624
- k.all = function(t, r) {
624
+ j.all = function(t, r) {
625
625
  if (!Array.isArray(t))
626
626
  throw new Error("first argument should be an array");
627
627
  return t.reduce(function(n, i) {
628
- return k(n, i, r);
628
+ return j(n, i, r);
629
629
  }, {});
630
630
  };
631
- var Rr = k, Ur = Rr;
631
+ var Rr = j, Ur = Rr;
632
632
  const Dr = /* @__PURE__ */ Br(Ur);
633
- var Re = function(e, t) {
634
- return Re = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
633
+ /*! *****************************************************************************
634
+ Copyright (c) Microsoft Corporation.
635
+
636
+ Permission to use, copy, modify, and/or distribute this software for any
637
+ purpose with or without fee is hereby granted.
638
+
639
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
640
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
641
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
642
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
643
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
644
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
645
+ PERFORMANCE OF THIS SOFTWARE.
646
+ ***************************************************************************** */
647
+ var Me = function(e, t) {
648
+ return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
635
649
  r.__proto__ = n;
636
650
  } || function(r, n) {
637
651
  for (var i in n)
638
652
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
639
- }, Re(e, t);
653
+ }, Me(e, t);
640
654
  };
641
- function ye(e, t) {
655
+ function ge(e, t) {
642
656
  if (typeof t != "function" && t !== null)
643
657
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
644
- Re(e, t);
658
+ Me(e, t);
645
659
  function r() {
646
660
  this.constructor = e;
647
661
  }
648
662
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
649
663
  }
650
- var T = function() {
651
- return T = Object.assign || function(t) {
664
+ var y = function() {
665
+ return y = Object.assign || function(t) {
652
666
  for (var r, n = 1, i = arguments.length; n < i; n++) {
653
667
  r = arguments[n];
654
668
  for (var s in r)
655
669
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
656
670
  }
657
671
  return t;
658
- }, T.apply(this, arguments);
672
+ }, y.apply(this, arguments);
659
673
  };
660
674
  function Gr(e, t) {
661
675
  var r = {};
@@ -666,14 +680,14 @@ function Gr(e, t) {
666
680
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
667
681
  return r;
668
682
  }
669
- function Ae(e, t, r) {
670
- if (r || arguments.length === 2)
683
+ function we(e, t, r) {
684
+ if (arguments.length === 2)
671
685
  for (var n = 0, i = t.length, s; n < i; n++)
672
686
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
673
- return e.concat(s || Array.prototype.slice.call(t));
687
+ return e.concat(s || t);
674
688
  }
675
- function Oe(e, t) {
676
- var r = t && t.cache ? t.cache : zr, n = t && t.serializer ? t.serializer : Xr, i = t && t.strategy ? t.strategy : kr;
689
+ function Se(e, t) {
690
+ var r = t && t.cache ? t.cache : zr, n = t && t.serializer ? t.serializer : Xr, i = t && t.strategy ? t.strategy : jr;
677
691
  return i(e, {
678
692
  cache: r,
679
693
  serializer: n
@@ -682,103 +696,95 @@ function Oe(e, t) {
682
696
  function Fr(e) {
683
697
  return e == null || typeof e == "number" || typeof e == "boolean";
684
698
  }
685
- function jr(e, t, r, n) {
699
+ function At(e, t, r, n) {
686
700
  var i = Fr(n) ? n : r(n), s = t.get(i);
687
701
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
688
702
  }
689
- function At(e, t, r) {
703
+ function Ct(e, t, r) {
690
704
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
691
705
  return typeof s > "u" && (s = e.apply(this, n), t.set(i, s)), s;
692
706
  }
693
- function Ot(e, t, r, n, i) {
707
+ function ze(e, t, r, n, i) {
694
708
  return r.bind(t, e, n, i);
695
709
  }
710
+ function jr(e, t) {
711
+ var r = e.length === 1 ? At : Ct;
712
+ return ze(e, this, r, t.cache.create(), t.serializer);
713
+ }
696
714
  function kr(e, t) {
697
- var r = e.length === 1 ? jr : At;
698
- return Ot(e, this, r, t.cache.create(), t.serializer);
715
+ return ze(e, this, Ct, t.cache.create(), t.serializer);
699
716
  }
700
717
  function Vr(e, t) {
701
- return Ot(e, this, At, t.cache.create(), t.serializer);
718
+ return ze(e, this, At, t.cache.create(), t.serializer);
702
719
  }
703
720
  var Xr = function() {
704
721
  return JSON.stringify(arguments);
705
- }, Wr = (
706
- /** @class */
707
- function() {
708
- function e() {
709
- this.cache = /* @__PURE__ */ Object.create(null);
710
- }
711
- return e.prototype.get = function(t) {
712
- return this.cache[t];
713
- }, e.prototype.set = function(t, r) {
714
- this.cache[t] = r;
715
- }, e;
716
- }()
717
- ), zr = {
722
+ };
723
+ function We() {
724
+ this.cache = /* @__PURE__ */ Object.create(null);
725
+ }
726
+ We.prototype.get = function(e) {
727
+ return this.cache[e];
728
+ };
729
+ We.prototype.set = function(e, t) {
730
+ this.cache[e] = t;
731
+ };
732
+ var zr = {
718
733
  create: function() {
719
- return new Wr();
734
+ return new We();
720
735
  }
721
- }, Ce = {
722
- variadic: Vr
723
- }, pe = function() {
724
- return pe = Object.assign || function(t) {
725
- for (var r, n = 1, i = arguments.length; n < i; n++) {
726
- r = arguments[n];
727
- for (var s in r)
728
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
729
- }
730
- return t;
731
- }, pe.apply(this, arguments);
732
- };
733
- var d;
736
+ }, Ae = {
737
+ variadic: kr,
738
+ monadic: Vr
739
+ }, p;
734
740
  (function(e) {
735
741
  e[e.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", e[e.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", e[e.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", e[e.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", e[e.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", e[e.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", e[e.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", e[e.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", e[e.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", e[e.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", e[e.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", e[e.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", e[e.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", e[e.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", e[e.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", e[e.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", e[e.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", e[e.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", e[e.INVALID_TAG = 23] = "INVALID_TAG", e[e.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", e[e.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", e[e.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
736
- })(d || (d = {}));
737
- var y;
742
+ })(p || (p = {}));
743
+ var x;
738
744
  (function(e) {
739
745
  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";
740
- })(y || (y = {}));
741
- var V;
746
+ })(x || (x = {}));
747
+ var k;
742
748
  (function(e) {
743
749
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
744
- })(V || (V = {}));
750
+ })(k || (k = {}));
745
751
  function et(e) {
746
- return e.type === y.literal;
752
+ return e.type === x.literal;
747
753
  }
748
- function Zr(e) {
749
- return e.type === y.argument;
754
+ function Wr(e) {
755
+ return e.type === x.argument;
750
756
  }
751
- function Ct(e) {
752
- return e.type === y.number;
757
+ function Ot(e) {
758
+ return e.type === x.number;
753
759
  }
754
760
  function Pt(e) {
755
- return e.type === y.date;
761
+ return e.type === x.date;
756
762
  }
757
763
  function Lt(e) {
758
- return e.type === y.time;
764
+ return e.type === x.time;
759
765
  }
760
766
  function Nt(e) {
761
- return e.type === y.select;
767
+ return e.type === x.select;
762
768
  }
763
769
  function It(e) {
764
- return e.type === y.plural;
770
+ return e.type === x.plural;
765
771
  }
766
- function Qr(e) {
767
- return e.type === y.pound;
772
+ function Zr(e) {
773
+ return e.type === x.pound;
768
774
  }
769
775
  function Mt(e) {
770
- return e.type === y.tag;
776
+ return e.type === x.tag;
771
777
  }
772
778
  function $t(e) {
773
- return !!(e && typeof e == "object" && e.type === V.number);
779
+ return !!(e && typeof e == "object" && e.type === k.number);
774
780
  }
775
- function Ue(e) {
776
- return !!(e && typeof e == "object" && e.type === V.dateTime);
781
+ function $e(e) {
782
+ return !!(e && typeof e == "object" && e.type === k.dateTime);
777
783
  }
778
- var Rt = /[ \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;
779
- function Jr(e) {
784
+ var Rt = /[ \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;
785
+ function qr(e) {
780
786
  var t = {};
781
- return e.replace(qr, function(r) {
787
+ return e.replace(Qr, function(r) {
782
788
  var n = r.length;
783
789
  switch (r[0]) {
784
790
  case "G":
@@ -867,28 +873,18 @@ function Jr(e) {
867
873
  return "";
868
874
  }), t;
869
875
  }
870
- var E = function() {
871
- return E = Object.assign || function(t) {
872
- for (var r, n = 1, i = arguments.length; n < i; n++) {
873
- r = arguments[n];
874
- for (var s in r)
875
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
876
- }
877
- return t;
878
- }, E.apply(this, arguments);
879
- };
880
- var Yr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
881
- function Kr(e) {
876
+ var Jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
877
+ function Yr(e) {
882
878
  if (e.length === 0)
883
879
  throw new Error("Number skeleton cannot be empty");
884
- for (var t = e.split(Yr).filter(function(c) {
880
+ for (var t = e.split(Jr).filter(function(c) {
885
881
  return c.length > 0;
886
882
  }), r = [], n = 0, i = t; n < i.length; n++) {
887
- var s = i[n], u = s.split("/");
888
- if (u.length === 0)
883
+ var s = i[n], h = s.split("/");
884
+ if (h.length === 0)
889
885
  throw new Error("Invalid number skeleton");
890
- for (var o = u[0], l = u.slice(1), a = 0, h = l; a < h.length; a++) {
891
- var f = h[a];
886
+ for (var o = h[0], l = h.slice(1), a = 0, u = l; a < u.length; a++) {
887
+ var f = u[a];
892
888
  if (f.length === 0)
893
889
  throw new Error("Invalid number skeleton");
894
890
  }
@@ -896,10 +892,10 @@ function Kr(e) {
896
892
  }
897
893
  return r;
898
894
  }
899
- function en(e) {
895
+ function Kr(e) {
900
896
  return e.replace(/^(.*?)-/, "");
901
897
  }
902
- var tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ut = /^(@+)?(\+|#+)?[rs]?$/g, tn = /(\*)(0+)|(#+)(0+)|(0+)/g, Dt = /^(0+)$/;
898
+ var tt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Ut = /^(@+)?(\+|#+)?[rs]?$/g, en = /(\*)(0+)|(#+)(0+)|(0+)/g, Dt = /^(0+)$/;
903
899
  function rt(e) {
904
900
  var t = {};
905
901
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Ut, function(r, n, i) {
@@ -946,7 +942,7 @@ function Gt(e) {
946
942
  };
947
943
  }
948
944
  }
949
- function rn(e) {
945
+ function tn(e) {
950
946
  var t;
951
947
  if (e[0] === "E" && e[1] === "E" ? (t = {
952
948
  notation: "engineering"
@@ -964,7 +960,7 @@ function nt(e) {
964
960
  var t = {}, r = Gt(e);
965
961
  return r || t;
966
962
  }
967
- function nn(e) {
963
+ function rn(e) {
968
964
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
969
965
  var i = n[r];
970
966
  switch (i.stem) {
@@ -988,7 +984,7 @@ function nn(e) {
988
984
  continue;
989
985
  case "measure-unit":
990
986
  case "unit":
991
- t.style = "unit", t.unit = en(i.options[0]);
987
+ t.style = "unit", t.unit = Kr(i.options[0]);
992
988
  continue;
993
989
  case "compact-short":
994
990
  case "K":
@@ -999,13 +995,13 @@ function nn(e) {
999
995
  t.notation = "compact", t.compactDisplay = "long";
1000
996
  continue;
1001
997
  case "scientific":
1002
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
1003
- return E(E({}, l), nt(a));
998
+ t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, a) {
999
+ return y(y({}, l), nt(a));
1004
1000
  }, {}));
1005
1001
  continue;
1006
1002
  case "engineering":
1007
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
1008
- return E(E({}, l), nt(a));
1003
+ t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, a) {
1004
+ return y(y({}, l), nt(a));
1009
1005
  }, {}));
1010
1006
  continue;
1011
1007
  case "notation-simple":
@@ -1050,13 +1046,13 @@ function nn(e) {
1050
1046
  case "integer-width":
1051
1047
  if (i.options.length > 1)
1052
1048
  throw new RangeError("integer-width stems only accept a single optional option");
1053
- i.options[0].replace(tn, function(l, a, h, f, c, p) {
1049
+ i.options[0].replace(en, function(l, a, u, f, c, d) {
1054
1050
  if (a)
1055
- t.minimumIntegerDigits = h.length;
1051
+ t.minimumIntegerDigits = u.length;
1056
1052
  else {
1057
1053
  if (f && c)
1058
1054
  throw new Error("We currently do not support maximum integer digits");
1059
- if (p)
1055
+ if (d)
1060
1056
  throw new Error("We currently do not support exact integer digits");
1061
1057
  }
1062
1058
  return "";
@@ -1070,25 +1066,25 @@ function nn(e) {
1070
1066
  if (tt.test(i.stem)) {
1071
1067
  if (i.options.length > 1)
1072
1068
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1073
- i.stem.replace(tt, function(l, a, h, f, c, p) {
1074
- return h === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1069
+ i.stem.replace(tt, function(l, a, u, f, c, d) {
1070
+ return u === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1075
1071
  });
1076
1072
  var s = i.options[0];
1077
- s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), rt(s)));
1073
+ s === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = y(y({}, t), rt(s)));
1078
1074
  continue;
1079
1075
  }
1080
1076
  if (Ut.test(i.stem)) {
1081
- t = E(E({}, t), rt(i.stem));
1077
+ t = y(y({}, t), rt(i.stem));
1082
1078
  continue;
1083
1079
  }
1084
- var u = Gt(i.stem);
1085
- u && (t = E(E({}, t), u));
1086
- var o = rn(i.stem);
1087
- o && (t = E(E({}, t), o));
1080
+ var h = Gt(i.stem);
1081
+ h && (t = y(y({}, t), h));
1082
+ var o = tn(i.stem);
1083
+ o && (t = y(y({}, t), o));
1088
1084
  }
1089
1085
  return t;
1090
1086
  }
1091
- var ae = {
1087
+ var oe = {
1092
1088
  "001": [
1093
1089
  "H",
1094
1090
  "h"
@@ -2503,23 +2499,23 @@ var ae = {
2503
2499
  "h"
2504
2500
  ]
2505
2501
  };
2506
- function sn(e, t) {
2502
+ function nn(e, t) {
2507
2503
  for (var r = "", n = 0; n < e.length; n++) {
2508
2504
  var i = e.charAt(n);
2509
2505
  if (i === "j") {
2510
2506
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2511
2507
  s++, n++;
2512
- var u = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = on(t);
2508
+ var h = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", a = sn(t);
2513
2509
  for ((a == "H" || a == "k") && (o = 0); o-- > 0; )
2514
2510
  r += l;
2515
- for (; u-- > 0; )
2511
+ for (; h-- > 0; )
2516
2512
  r = a + r;
2517
2513
  } else
2518
2514
  i === "J" ? r += "H" : r += i;
2519
2515
  }
2520
2516
  return r;
2521
2517
  }
2522
- function on(e) {
2518
+ function sn(e) {
2523
2519
  var t = e.hourCycle;
2524
2520
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2525
2521
  e.hourCycles && // @ts-ignore
@@ -2538,21 +2534,21 @@ function on(e) {
2538
2534
  }
2539
2535
  var r = e.language, n;
2540
2536
  r !== "root" && (n = e.maximize().region);
2541
- var i = ae[n || ""] || ae[r || ""] || ae["".concat(r, "-001")] || ae["001"];
2537
+ var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
2542
2538
  return i[0];
2543
2539
  }
2544
- var Pe, an = new RegExp("^".concat(Rt.source, "*")), un = new RegExp("".concat(Rt.source, "*$"));
2540
+ var Ce, on = new RegExp("^".concat(Rt.source, "*")), an = new RegExp("".concat(Rt.source, "*$"));
2545
2541
  function b(e, t) {
2546
2542
  return { start: e, end: t };
2547
2543
  }
2548
- 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) {
2544
+ var hn = !!String.prototype.startsWith && "_a".startsWith("a", 1), un = !!String.fromCodePoint, ln = !!Object.fromEntries, fn = !!String.prototype.codePointAt, cn = !!String.prototype.trimStart, mn = !!String.prototype.trimEnd, dn = !!Number.isSafeInteger, pn = dn ? Number.isSafeInteger : function(e) {
2549
2545
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2550
- }, De = !0;
2546
+ }, Re = !0;
2551
2547
  try {
2552
- var gn = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2553
- De = ((Pe = gn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
2548
+ var bn = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2549
+ Re = ((Ce = bn.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2554
2550
  } catch {
2555
- De = !1;
2551
+ Re = !1;
2556
2552
  }
2557
2553
  var it = hn ? (
2558
2554
  // Native
@@ -2564,31 +2560,31 @@ var it = hn ? (
2564
2560
  function(t, r, n) {
2565
2561
  return t.slice(n, n + r.length) === r;
2566
2562
  }
2567
- ), Ge = ln ? String.fromCodePoint : (
2563
+ ), Ue = un ? String.fromCodePoint : (
2568
2564
  // IE11
2569
2565
  function() {
2570
2566
  for (var t = [], r = 0; r < arguments.length; r++)
2571
2567
  t[r] = arguments[r];
2572
- for (var n = "", i = t.length, s = 0, u; i > s; ) {
2573
- if (u = t[s++], u > 1114111)
2574
- throw RangeError(u + " is not a valid code point");
2575
- n += u < 65536 ? String.fromCharCode(u) : String.fromCharCode(((u -= 65536) >> 10) + 55296, u % 1024 + 56320);
2568
+ for (var n = "", i = t.length, s = 0, h; i > s; ) {
2569
+ if (h = t[s++], h > 1114111)
2570
+ throw RangeError(h + " is not a valid code point");
2571
+ n += h < 65536 ? String.fromCharCode(h) : String.fromCharCode(((h -= 65536) >> 10) + 55296, h % 1024 + 56320);
2576
2572
  }
2577
2573
  return n;
2578
2574
  }
2579
2575
  ), st = (
2580
2576
  // native
2581
- fn ? Object.fromEntries : (
2577
+ ln ? Object.fromEntries : (
2582
2578
  // Ponyfill
2583
2579
  function(t) {
2584
2580
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2585
- var s = i[n], u = s[0], o = s[1];
2586
- r[u] = o;
2581
+ var s = i[n], h = s[0], o = s[1];
2582
+ r[h] = o;
2587
2583
  }
2588
2584
  return r;
2589
2585
  }
2590
2586
  )
2591
- ), Ft = cn ? (
2587
+ ), Ft = fn ? (
2592
2588
  // Native
2593
2589
  function(t, r) {
2594
2590
  return t.codePointAt(r);
@@ -2602,7 +2598,7 @@ var it = hn ? (
2602
2598
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2603
2599
  }
2604
2600
  }
2605
- ), _n = mn ? (
2601
+ ), gn = cn ? (
2606
2602
  // Native
2607
2603
  function(t) {
2608
2604
  return t.trimStart();
@@ -2610,9 +2606,9 @@ var it = hn ? (
2610
2606
  ) : (
2611
2607
  // Ponyfill
2612
2608
  function(t) {
2613
- return t.replace(an, "");
2609
+ return t.replace(on, "");
2614
2610
  }
2615
- ), yn = pn ? (
2611
+ ), _n = mn ? (
2616
2612
  // Native
2617
2613
  function(t) {
2618
2614
  return t.trimEnd();
@@ -2620,32 +2616,32 @@ var it = hn ? (
2620
2616
  ) : (
2621
2617
  // Ponyfill
2622
2618
  function(t) {
2623
- return t.replace(un, "");
2619
+ return t.replace(an, "");
2624
2620
  }
2625
2621
  );
2626
2622
  function jt(e, t) {
2627
2623
  return new RegExp(e, t);
2628
2624
  }
2629
- var Fe;
2630
- if (De) {
2625
+ var De;
2626
+ if (Re) {
2631
2627
  var ot = jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2632
- Fe = function(t, r) {
2628
+ De = function(t, r) {
2633
2629
  var n;
2634
2630
  ot.lastIndex = r;
2635
2631
  var i = ot.exec(t);
2636
2632
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2637
2633
  };
2638
2634
  } else
2639
- Fe = function(t, r) {
2635
+ De = function(t, r) {
2640
2636
  for (var n = []; ; ) {
2641
2637
  var i = Ft(t, r);
2642
- if (i === void 0 || kt(i) || Hn(i))
2638
+ if (i === void 0 || kt(i) || vn(i))
2643
2639
  break;
2644
2640
  n.push(i), r += i >= 65536 ? 2 : 1;
2645
2641
  }
2646
- return Ge.apply(void 0, n);
2642
+ return Ue.apply(void 0, n);
2647
2643
  };
2648
- var En = (
2644
+ var yn = (
2649
2645
  /** @class */
2650
2646
  function() {
2651
2647
  function e(t, r) {
@@ -2659,33 +2655,33 @@ var En = (
2659
2655
  for (var i = []; !this.isEOF(); ) {
2660
2656
  var s = this.char();
2661
2657
  if (s === 123) {
2662
- var u = this.parseArgument(t, n);
2663
- if (u.err)
2664
- return u;
2665
- i.push(u.val);
2658
+ var h = this.parseArgument(t, n);
2659
+ if (h.err)
2660
+ return h;
2661
+ i.push(h.val);
2666
2662
  } else {
2667
2663
  if (s === 125 && t > 0)
2668
2664
  break;
2669
2665
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2670
2666
  var o = this.clonePosition();
2671
2667
  this.bump(), i.push({
2672
- type: y.pound,
2668
+ type: x.pound,
2673
2669
  location: b(o, this.clonePosition())
2674
2670
  });
2675
2671
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2676
2672
  if (n)
2677
2673
  break;
2678
- return this.error(d.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2679
- } else if (s === 60 && !this.ignoreTag && je(this.peek() || 0)) {
2680
- var u = this.parseTag(t, r);
2681
- if (u.err)
2682
- return u;
2683
- i.push(u.val);
2674
+ return this.error(p.UNMATCHED_CLOSING_TAG, b(this.clonePosition(), this.clonePosition()));
2675
+ } else if (s === 60 && !this.ignoreTag && Ge(this.peek() || 0)) {
2676
+ var h = this.parseTag(t, r);
2677
+ if (h.err)
2678
+ return h;
2679
+ i.push(h.val);
2684
2680
  } else {
2685
- var u = this.parseLiteral(t, r);
2686
- if (u.err)
2687
- return u;
2688
- i.push(u.val);
2681
+ var h = this.parseLiteral(t, r);
2682
+ if (h.err)
2683
+ return h;
2684
+ i.push(h.val);
2689
2685
  }
2690
2686
  }
2691
2687
  }
@@ -2697,7 +2693,7 @@ var En = (
2697
2693
  if (this.bumpSpace(), this.bumpIf("/>"))
2698
2694
  return {
2699
2695
  val: {
2700
- type: y.literal,
2696
+ type: x.literal,
2701
2697
  value: "<".concat(i, "/>"),
2702
2698
  location: b(n, this.clonePosition())
2703
2699
  },
@@ -2707,27 +2703,27 @@ var En = (
2707
2703
  var s = this.parseMessage(t + 1, r, !0);
2708
2704
  if (s.err)
2709
2705
  return s;
2710
- var u = s.val, o = this.clonePosition();
2706
+ var h = s.val, o = this.clonePosition();
2711
2707
  if (this.bumpIf("</")) {
2712
- if (this.isEOF() || !je(this.char()))
2713
- return this.error(d.INVALID_TAG, b(o, this.clonePosition()));
2708
+ if (this.isEOF() || !Ge(this.char()))
2709
+ return this.error(p.INVALID_TAG, b(o, this.clonePosition()));
2714
2710
  var l = this.clonePosition(), a = this.parseTagName();
2715
- return i !== a ? this.error(d.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2711
+ return i !== a ? this.error(p.UNMATCHED_CLOSING_TAG, b(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2716
2712
  val: {
2717
- type: y.tag,
2713
+ type: x.tag,
2718
2714
  value: i,
2719
- children: u,
2715
+ children: h,
2720
2716
  location: b(n, this.clonePosition())
2721
2717
  },
2722
2718
  err: null
2723
- } : this.error(d.INVALID_TAG, b(o, this.clonePosition())));
2719
+ } : this.error(p.INVALID_TAG, b(o, this.clonePosition())));
2724
2720
  } else
2725
- return this.error(d.UNCLOSED_TAG, b(n, this.clonePosition()));
2721
+ return this.error(p.UNCLOSED_TAG, b(n, this.clonePosition()));
2726
2722
  } else
2727
- return this.error(d.INVALID_TAG, b(n, this.clonePosition()));
2723
+ return this.error(p.INVALID_TAG, b(n, this.clonePosition()));
2728
2724
  }, e.prototype.parseTagName = function() {
2729
2725
  var t = this.offset();
2730
- for (this.bump(); !this.isEOF() && vn(this.char()); )
2726
+ for (this.bump(); !this.isEOF() && En(this.char()); )
2731
2727
  this.bump();
2732
2728
  return this.message.slice(t, this.offset());
2733
2729
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2737,9 +2733,9 @@ var En = (
2737
2733
  i += s;
2738
2734
  continue;
2739
2735
  }
2740
- var u = this.tryParseUnquoted(t, r);
2741
- if (u) {
2742
- i += u;
2736
+ var h = this.tryParseUnquoted(t, r);
2737
+ if (h) {
2738
+ i += h;
2743
2739
  continue;
2744
2740
  }
2745
2741
  var o = this.tryParseLeftAngleBracket();
@@ -2751,7 +2747,7 @@ var En = (
2751
2747
  }
2752
2748
  var l = b(n, this.clonePosition());
2753
2749
  return {
2754
- val: { type: y.literal, value: i, location: l },
2750
+ val: { type: x.literal, value: i, location: l },
2755
2751
  err: null
2756
2752
  };
2757
2753
  }, e.prototype.tryParseLeftAngleBracket = function() {
@@ -2790,28 +2786,28 @@ var En = (
2790
2786
  r.push(n);
2791
2787
  this.bump();
2792
2788
  }
2793
- return Ge.apply(void 0, r);
2789
+ return Ue.apply(void 0, r);
2794
2790
  }, e.prototype.tryParseUnquoted = function(t, r) {
2795
2791
  if (this.isEOF())
2796
2792
  return null;
2797
2793
  var n = this.char();
2798
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
2794
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ue(n));
2799
2795
  }, e.prototype.parseArgument = function(t, r) {
2800
2796
  var n = this.clonePosition();
2801
2797
  if (this.bump(), this.bumpSpace(), this.isEOF())
2802
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2798
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2803
2799
  if (this.char() === 125)
2804
- return this.bump(), this.error(d.EMPTY_ARGUMENT, b(n, this.clonePosition()));
2800
+ return this.bump(), this.error(p.EMPTY_ARGUMENT, b(n, this.clonePosition()));
2805
2801
  var i = this.parseIdentifierIfPossible().value;
2806
2802
  if (!i)
2807
- return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2803
+ return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2808
2804
  if (this.bumpSpace(), this.isEOF())
2809
- return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2805
+ return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition()));
2810
2806
  switch (this.char()) {
2811
2807
  case 125:
2812
2808
  return this.bump(), {
2813
2809
  val: {
2814
- type: y.argument,
2810
+ type: x.argument,
2815
2811
  // value does not include the opening and closing braces.
2816
2812
  value: i,
2817
2813
  location: b(n, this.clonePosition())
@@ -2819,20 +2815,20 @@ var En = (
2819
2815
  err: null
2820
2816
  };
2821
2817
  case 44:
2822
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2818
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
2823
2819
  default:
2824
- return this.error(d.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2820
+ return this.error(p.MALFORMED_ARGUMENT, b(n, this.clonePosition()));
2825
2821
  }
2826
2822
  }, e.prototype.parseIdentifierIfPossible = function() {
2827
- var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
2823
+ var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
2828
2824
  this.bumpTo(i);
2829
- var s = this.clonePosition(), u = b(t, s);
2830
- return { value: n, location: u };
2825
+ var s = this.clonePosition(), h = b(t, s);
2826
+ return { value: n, location: h };
2831
2827
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2832
- var s, u = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2828
+ var s, h = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2833
2829
  switch (o) {
2834
2830
  case "":
2835
- return this.error(d.EXPECT_ARGUMENT_TYPE, b(u, l));
2831
+ return this.error(p.EXPECT_ARGUMENT_TYPE, b(h, l));
2836
2832
  case "number":
2837
2833
  case "date":
2838
2834
  case "time": {
@@ -2840,47 +2836,47 @@ var En = (
2840
2836
  var a = null;
2841
2837
  if (this.bumpIf(",")) {
2842
2838
  this.bumpSpace();
2843
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2839
+ var u = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2844
2840
  if (f.err)
2845
2841
  return f;
2846
- var c = yn(f.val);
2842
+ var c = _n(f.val);
2847
2843
  if (c.length === 0)
2848
- return this.error(d.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2849
- var p = b(h, this.clonePosition());
2850
- a = { style: c, styleLocation: p };
2844
+ return this.error(p.EXPECT_ARGUMENT_STYLE, b(this.clonePosition(), this.clonePosition()));
2845
+ var d = b(u, this.clonePosition());
2846
+ a = { style: c, styleLocation: d };
2851
2847
  }
2852
2848
  var m = this.tryParseArgumentClose(i);
2853
2849
  if (m.err)
2854
2850
  return m;
2855
2851
  var g = b(i, this.clonePosition());
2856
2852
  if (a && it(a?.style, "::", 0)) {
2857
- var v = _n(a.style.slice(2));
2853
+ var v = gn(a.style.slice(2));
2858
2854
  if (o === "number") {
2859
2855
  var f = this.parseNumberSkeletonFromString(v, a.styleLocation);
2860
2856
  return f.err ? f : {
2861
- val: { type: y.number, value: n, location: g, style: f.val },
2857
+ val: { type: x.number, value: n, location: g, style: f.val },
2862
2858
  err: null
2863
2859
  };
2864
2860
  } else {
2865
2861
  if (v.length === 0)
2866
- return this.error(d.EXPECT_DATE_TIME_SKELETON, g);
2867
- var N = v;
2868
- this.locale && (N = sn(v, this.locale));
2862
+ return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
2863
+ var L = v;
2864
+ this.locale && (L = nn(v, this.locale));
2869
2865
  var c = {
2870
- type: V.dateTime,
2871
- pattern: N,
2866
+ type: k.dateTime,
2867
+ pattern: L,
2872
2868
  location: a.styleLocation,
2873
- parsedOptions: this.shouldParseSkeletons ? Jr(N) : {}
2874
- }, O = o === "date" ? y.date : y.time;
2869
+ parsedOptions: this.shouldParseSkeletons ? qr(L) : {}
2870
+ }, A = o === "date" ? x.date : x.time;
2875
2871
  return {
2876
- val: { type: O, value: n, location: g, style: c },
2872
+ val: { type: A, value: n, location: g, style: c },
2877
2873
  err: null
2878
2874
  };
2879
2875
  }
2880
2876
  }
2881
2877
  return {
2882
2878
  val: {
2883
- type: o === "number" ? y.number : o === "date" ? y.date : y.time,
2879
+ type: o === "number" ? x.number : o === "date" ? x.date : x.time,
2884
2880
  value: n,
2885
2881
  location: g,
2886
2882
  style: (s = a?.style) !== null && s !== void 0 ? s : null
@@ -2893,50 +2889,50 @@ var En = (
2893
2889
  case "select": {
2894
2890
  var H = this.clonePosition();
2895
2891
  if (this.bumpSpace(), !this.bumpIf(","))
2896
- return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, pe({}, H)));
2892
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, b(H, y({}, H)));
2897
2893
  this.bumpSpace();
2898
- var I = this.parseIdentifierIfPossible(), w = 0;
2899
- if (o !== "select" && I.value === "offset") {
2894
+ var N = this.parseIdentifierIfPossible(), T = 0;
2895
+ if (o !== "select" && N.value === "offset") {
2900
2896
  if (!this.bumpIf(":"))
2901
- return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2897
+ return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b(this.clonePosition(), this.clonePosition()));
2902
2898
  this.bumpSpace();
2903
- var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2899
+ var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2904
2900
  if (f.err)
2905
2901
  return f;
2906
- this.bumpSpace(), I = this.parseIdentifierIfPossible(), w = f.val;
2902
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), T = f.val;
2907
2903
  }
2908
- var R = this.tryParsePluralOrSelectOptions(t, o, r, I);
2909
- if (R.err)
2910
- return R;
2904
+ var $ = this.tryParsePluralOrSelectOptions(t, o, r, N);
2905
+ if ($.err)
2906
+ return $;
2911
2907
  var m = this.tryParseArgumentClose(i);
2912
2908
  if (m.err)
2913
2909
  return m;
2914
- var se = b(i, this.clonePosition());
2910
+ var ie = b(i, this.clonePosition());
2915
2911
  return o === "select" ? {
2916
2912
  val: {
2917
- type: y.select,
2913
+ type: x.select,
2918
2914
  value: n,
2919
- options: st(R.val),
2920
- location: se
2915
+ options: st($.val),
2916
+ location: ie
2921
2917
  },
2922
2918
  err: null
2923
2919
  } : {
2924
2920
  val: {
2925
- type: y.plural,
2921
+ type: x.plural,
2926
2922
  value: n,
2927
- options: st(R.val),
2928
- offset: w,
2923
+ options: st($.val),
2924
+ offset: T,
2929
2925
  pluralType: o === "plural" ? "cardinal" : "ordinal",
2930
- location: se
2926
+ location: ie
2931
2927
  },
2932
2928
  err: null
2933
2929
  };
2934
2930
  }
2935
2931
  default:
2936
- return this.error(d.INVALID_ARGUMENT_TYPE, b(u, l));
2932
+ return this.error(p.INVALID_ARGUMENT_TYPE, b(h, l));
2937
2933
  }
2938
2934
  }, e.prototype.tryParseArgumentClose = function(t) {
2939
- return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2935
+ return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, b(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
2940
2936
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
2941
2937
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
2942
2938
  var n = this.char();
@@ -2945,7 +2941,7 @@ var En = (
2945
2941
  this.bump();
2946
2942
  var i = this.clonePosition();
2947
2943
  if (!this.bumpUntil("'"))
2948
- return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
2944
+ return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, b(i, this.clonePosition()));
2949
2945
  this.bump();
2950
2946
  break;
2951
2947
  }
@@ -2975,64 +2971,64 @@ var En = (
2975
2971
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2976
2972
  var n = [];
2977
2973
  try {
2978
- n = Kr(t);
2974
+ n = Yr(t);
2979
2975
  } catch {
2980
- return this.error(d.INVALID_NUMBER_SKELETON, r);
2976
+ return this.error(p.INVALID_NUMBER_SKELETON, r);
2981
2977
  }
2982
2978
  return {
2983
2979
  val: {
2984
- type: V.number,
2980
+ type: k.number,
2985
2981
  tokens: n,
2986
2982
  location: r,
2987
- parsedOptions: this.shouldParseSkeletons ? nn(n) : {}
2983
+ parsedOptions: this.shouldParseSkeletons ? rn(n) : {}
2988
2984
  },
2989
2985
  err: null
2990
2986
  };
2991
2987
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2992
- for (var s, u = !1, o = [], l = /* @__PURE__ */ new Set(), a = i.value, h = i.location; ; ) {
2988
+ for (var s, h = !1, o = [], l = /* @__PURE__ */ new Set(), a = i.value, u = i.location; ; ) {
2993
2989
  if (a.length === 0) {
2994
2990
  var f = this.clonePosition();
2995
2991
  if (r !== "select" && this.bumpIf("=")) {
2996
- var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
2992
+ var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
2997
2993
  if (c.err)
2998
2994
  return c;
2999
- h = b(f, this.clonePosition()), a = this.message.slice(f.offset, this.offset());
2995
+ u = b(f, this.clonePosition()), a = this.message.slice(f.offset, this.offset());
3000
2996
  } else
3001
2997
  break;
3002
2998
  }
3003
2999
  if (l.has(a))
3004
- return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3005
- a === "other" && (u = !0), this.bumpSpace();
3006
- var p = this.clonePosition();
3000
+ return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, u);
3001
+ a === "other" && (h = !0), this.bumpSpace();
3002
+ var d = this.clonePosition();
3007
3003
  if (!this.bumpIf("{"))
3008
- return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3004
+ return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, b(this.clonePosition(), this.clonePosition()));
3009
3005
  var m = this.parseMessage(t + 1, r, n);
3010
3006
  if (m.err)
3011
3007
  return m;
3012
- var g = this.tryParseArgumentClose(p);
3008
+ var g = this.tryParseArgumentClose(d);
3013
3009
  if (g.err)
3014
3010
  return g;
3015
3011
  o.push([
3016
3012
  a,
3017
3013
  {
3018
3014
  value: m.val,
3019
- location: b(p, this.clonePosition())
3015
+ location: b(d, this.clonePosition())
3020
3016
  }
3021
- ]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, h = s.location;
3017
+ ]), l.add(a), this.bumpSpace(), s = this.parseIdentifierIfPossible(), a = s.value, u = s.location;
3022
3018
  }
3023
- return o.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(d.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3019
+ return o.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, b(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !h ? this.error(p.MISSING_OTHER_CLAUSE, b(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
3024
3020
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3025
3021
  var n = 1, i = this.clonePosition();
3026
3022
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3027
- for (var s = !1, u = 0; !this.isEOF(); ) {
3023
+ for (var s = !1, h = 0; !this.isEOF(); ) {
3028
3024
  var o = this.char();
3029
3025
  if (o >= 48 && o <= 57)
3030
- s = !0, u = u * 10 + (o - 48), this.bump();
3026
+ s = !0, h = h * 10 + (o - 48), this.bump();
3031
3027
  else
3032
3028
  break;
3033
3029
  }
3034
3030
  var l = b(i, this.clonePosition());
3035
- return s ? (u *= n, bn(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
3031
+ return s ? (h *= n, pn(h) ? { val: h, err: null } : this.error(r, l)) : this.error(t, l);
3036
3032
  }, e.prototype.offset = function() {
3037
3033
  return this.position.offset;
3038
3034
  }, e.prototype.isEOF = function() {
@@ -3098,47 +3094,47 @@ var En = (
3098
3094
  }, e;
3099
3095
  }()
3100
3096
  );
3101
- function je(e) {
3097
+ function Ge(e) {
3102
3098
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3103
3099
  }
3104
3100
  function xn(e) {
3105
- return je(e) || e === 47;
3101
+ return Ge(e) || e === 47;
3106
3102
  }
3107
- function vn(e) {
3103
+ function En(e) {
3108
3104
  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;
3109
3105
  }
3110
3106
  function kt(e) {
3111
3107
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3112
3108
  }
3113
- function Hn(e) {
3109
+ function vn(e) {
3114
3110
  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;
3115
3111
  }
3116
- function ke(e) {
3112
+ function Fe(e) {
3117
3113
  e.forEach(function(t) {
3118
3114
  if (delete t.location, Nt(t) || It(t))
3119
3115
  for (var r in t.options)
3120
- delete t.options[r].location, ke(t.options[r].value);
3116
+ delete t.options[r].location, Fe(t.options[r].value);
3121
3117
  else
3122
- Ct(t) && $t(t.style) || (Pt(t) || Lt(t)) && Ue(t.style) ? delete t.style.location : Mt(t) && ke(t.children);
3118
+ Ot(t) && $t(t.style) || (Pt(t) || Lt(t)) && $e(t.style) ? delete t.style.location : Mt(t) && Fe(t.children);
3123
3119
  });
3124
3120
  }
3125
- function Bn(e, t) {
3126
- t === void 0 && (t = {}), t = pe({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3127
- var r = new En(e, t).parse();
3121
+ function Hn(e, t) {
3122
+ t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3123
+ var r = new yn(e, t).parse();
3128
3124
  if (r.err) {
3129
- var n = SyntaxError(d[r.err.kind]);
3125
+ var n = SyntaxError(p[r.err.kind]);
3130
3126
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3131
3127
  }
3132
- return t?.captureLocation || ke(r.val), r.val;
3128
+ return t?.captureLocation || Fe(r.val), r.val;
3133
3129
  }
3134
- var X;
3130
+ var V;
3135
3131
  (function(e) {
3136
3132
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3137
- })(X || (X = {}));
3138
- var Ee = (
3133
+ })(V || (V = {}));
3134
+ var _e = (
3139
3135
  /** @class */
3140
3136
  function(e) {
3141
- ye(t, e);
3137
+ ge(t, e);
3142
3138
  function t(r, n, i) {
3143
3139
  var s = e.call(this, r) || this;
3144
3140
  return s.code = n, s.originalMessage = i, s;
@@ -3150,152 +3146,152 @@ var Ee = (
3150
3146
  ), at = (
3151
3147
  /** @class */
3152
3148
  function(e) {
3153
- ye(t, e);
3149
+ ge(t, e);
3154
3150
  function t(r, n, i, s) {
3155
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, s) || this;
3151
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3156
3152
  }
3157
3153
  return t;
3158
- }(Ee)
3159
- ), Tn = (
3154
+ }(_e)
3155
+ ), Bn = (
3160
3156
  /** @class */
3161
3157
  function(e) {
3162
- ye(t, e);
3158
+ ge(t, e);
3163
3159
  function t(r, n, i) {
3164
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3160
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3165
3161
  }
3166
3162
  return t;
3167
- }(Ee)
3168
- ), wn = (
3163
+ }(_e)
3164
+ ), Tn = (
3169
3165
  /** @class */
3170
3166
  function(e) {
3171
- ye(t, e);
3167
+ ge(t, e);
3172
3168
  function t(r, n) {
3173
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3169
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3174
3170
  }
3175
3171
  return t;
3176
- }(Ee)
3177
- ), x;
3172
+ }(_e)
3173
+ ), E;
3178
3174
  (function(e) {
3179
3175
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3180
- })(x || (x = {}));
3181
- function Sn(e) {
3176
+ })(E || (E = {}));
3177
+ function wn(e) {
3182
3178
  return e.length < 2 ? e : e.reduce(function(t, r) {
3183
3179
  var n = t[t.length - 1];
3184
- return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3180
+ return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3185
3181
  }, []);
3186
3182
  }
3187
- function An(e) {
3183
+ function Sn(e) {
3188
3184
  return typeof e == "function";
3189
3185
  }
3190
- function fe(e, t, r, n, i, s, u) {
3186
+ function le(e, t, r, n, i, s, h) {
3191
3187
  if (e.length === 1 && et(e[0]))
3192
3188
  return [
3193
3189
  {
3194
- type: x.literal,
3190
+ type: E.literal,
3195
3191
  value: e[0].value
3196
3192
  }
3197
3193
  ];
3198
3194
  for (var o = [], l = 0, a = e; l < a.length; l++) {
3199
- var h = a[l];
3200
- if (et(h)) {
3195
+ var u = a[l];
3196
+ if (et(u)) {
3201
3197
  o.push({
3202
- type: x.literal,
3203
- value: h.value
3198
+ type: E.literal,
3199
+ value: u.value
3204
3200
  });
3205
3201
  continue;
3206
3202
  }
3207
- if (Qr(h)) {
3203
+ if (Zr(u)) {
3208
3204
  typeof s == "number" && o.push({
3209
- type: x.literal,
3205
+ type: E.literal,
3210
3206
  value: r.getNumberFormat(t).format(s)
3211
3207
  });
3212
3208
  continue;
3213
3209
  }
3214
- var f = h.value;
3210
+ var f = u.value;
3215
3211
  if (!(i && f in i))
3216
- throw new wn(f, u);
3212
+ throw new Tn(f, h);
3217
3213
  var c = i[f];
3218
- if (Zr(h)) {
3214
+ if (Wr(u)) {
3219
3215
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), o.push({
3220
- type: typeof c == "string" ? x.literal : x.object,
3216
+ type: typeof c == "string" ? E.literal : E.object,
3221
3217
  value: c
3222
3218
  });
3223
3219
  continue;
3224
3220
  }
3225
- if (Pt(h)) {
3226
- var p = typeof h.style == "string" ? n.date[h.style] : Ue(h.style) ? h.style.parsedOptions : void 0;
3221
+ if (Pt(u)) {
3222
+ var d = typeof u.style == "string" ? n.date[u.style] : $e(u.style) ? u.style.parsedOptions : void 0;
3227
3223
  o.push({
3228
- type: x.literal,
3229
- value: r.getDateTimeFormat(t, p).format(c)
3224
+ type: E.literal,
3225
+ value: r.getDateTimeFormat(t, d).format(c)
3230
3226
  });
3231
3227
  continue;
3232
3228
  }
3233
- if (Lt(h)) {
3234
- var p = typeof h.style == "string" ? n.time[h.style] : Ue(h.style) ? h.style.parsedOptions : n.time.medium;
3229
+ if (Lt(u)) {
3230
+ var d = typeof u.style == "string" ? n.time[u.style] : $e(u.style) ? u.style.parsedOptions : n.time.medium;
3235
3231
  o.push({
3236
- type: x.literal,
3237
- value: r.getDateTimeFormat(t, p).format(c)
3232
+ type: E.literal,
3233
+ value: r.getDateTimeFormat(t, d).format(c)
3238
3234
  });
3239
3235
  continue;
3240
3236
  }
3241
- if (Ct(h)) {
3242
- var p = typeof h.style == "string" ? n.number[h.style] : $t(h.style) ? h.style.parsedOptions : void 0;
3243
- p && p.scale && (c = c * (p.scale || 1)), o.push({
3244
- type: x.literal,
3245
- value: r.getNumberFormat(t, p).format(c)
3237
+ if (Ot(u)) {
3238
+ var d = typeof u.style == "string" ? n.number[u.style] : $t(u.style) ? u.style.parsedOptions : void 0;
3239
+ d && d.scale && (c = c * (d.scale || 1)), o.push({
3240
+ type: E.literal,
3241
+ value: r.getNumberFormat(t, d).format(c)
3246
3242
  });
3247
3243
  continue;
3248
3244
  }
3249
- if (Mt(h)) {
3250
- var m = h.children, g = h.value, v = i[g];
3251
- if (!An(v))
3252
- throw new Tn(g, "function", u);
3253
- var N = fe(m, t, r, n, i, s), O = v(N.map(function(w) {
3254
- return w.value;
3245
+ if (Mt(u)) {
3246
+ var m = u.children, g = u.value, v = i[g];
3247
+ if (!Sn(v))
3248
+ throw new Bn(g, "function", h);
3249
+ var L = le(m, t, r, n, i, s), A = v(L.map(function(T) {
3250
+ return T.value;
3255
3251
  }));
3256
- Array.isArray(O) || (O = [O]), o.push.apply(o, O.map(function(w) {
3252
+ Array.isArray(A) || (A = [A]), o.push.apply(o, A.map(function(T) {
3257
3253
  return {
3258
- type: typeof w == "string" ? x.literal : x.object,
3259
- value: w
3254
+ type: typeof T == "string" ? E.literal : E.object,
3255
+ value: T
3260
3256
  };
3261
3257
  }));
3262
3258
  }
3263
- if (Nt(h)) {
3264
- var H = h.options[c] || h.options.other;
3259
+ if (Nt(u)) {
3260
+ var H = u.options[c] || u.options.other;
3265
3261
  if (!H)
3266
- throw new at(h.value, c, Object.keys(h.options), u);
3267
- o.push.apply(o, fe(H.value, t, r, n, i));
3262
+ throw new at(u.value, c, Object.keys(u.options), h);
3263
+ o.push.apply(o, le(H.value, t, r, n, i));
3268
3264
  continue;
3269
3265
  }
3270
- if (It(h)) {
3271
- var H = h.options["=".concat(c)];
3266
+ if (It(u)) {
3267
+ var H = u.options["=".concat(c)];
3272
3268
  if (!H) {
3273
3269
  if (!Intl.PluralRules)
3274
- throw new Ee(`Intl.PluralRules is not available in this environment.
3270
+ throw new _e(`Intl.PluralRules is not available in this environment.
3275
3271
  Try polyfilling it using "@formatjs/intl-pluralrules"
3276
- `, X.MISSING_INTL_API, u);
3277
- var I = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3278
- H = h.options[I] || h.options.other;
3272
+ `, V.MISSING_INTL_API, h);
3273
+ var N = r.getPluralRules(t, { type: u.pluralType }).select(c - (u.offset || 0));
3274
+ H = u.options[N] || u.options.other;
3279
3275
  }
3280
3276
  if (!H)
3281
- throw new at(h.value, c, Object.keys(h.options), u);
3282
- o.push.apply(o, fe(H.value, t, r, n, i, c - (h.offset || 0)));
3277
+ throw new at(u.value, c, Object.keys(u.options), h);
3278
+ o.push.apply(o, le(H.value, t, r, n, i, c - (u.offset || 0)));
3283
3279
  continue;
3284
3280
  }
3285
3281
  }
3286
- return Sn(o);
3282
+ return wn(o);
3287
3283
  }
3288
- function On(e, t) {
3289
- return t ? T(T(T({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3290
- return r[n] = T(T({}, e[n]), t[n] || {}), r;
3284
+ function An(e, t) {
3285
+ return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3286
+ return r[n] = y(y({}, e[n]), t[n] || {}), r;
3291
3287
  }, {})) : e;
3292
3288
  }
3293
3289
  function Cn(e, t) {
3294
3290
  return t ? Object.keys(e).reduce(function(r, n) {
3295
- return r[n] = On(e[n], t[n]), r;
3296
- }, T({}, e)) : e;
3291
+ return r[n] = An(e[n], t[n]), r;
3292
+ }, y({}, e)) : e;
3297
3293
  }
3298
- function Le(e) {
3294
+ function Oe(e) {
3299
3295
  return {
3300
3296
  create: function() {
3301
3297
  return {
@@ -3309,35 +3305,35 @@ function Le(e) {
3309
3305
  }
3310
3306
  };
3311
3307
  }
3312
- function Pn(e) {
3308
+ function On(e) {
3313
3309
  return e === void 0 && (e = {
3314
3310
  number: {},
3315
3311
  dateTime: {},
3316
3312
  pluralRules: {}
3317
3313
  }), {
3318
- getNumberFormat: Oe(function() {
3314
+ getNumberFormat: Se(function() {
3319
3315
  for (var t, r = [], n = 0; n < arguments.length; n++)
3320
3316
  r[n] = arguments[n];
3321
- return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3317
+ return new ((t = Intl.NumberFormat).bind.apply(t, we([void 0], r, !1)))();
3322
3318
  }, {
3323
- cache: Le(e.number),
3324
- strategy: Ce.variadic
3319
+ cache: Oe(e.number),
3320
+ strategy: Ae.variadic
3325
3321
  }),
3326
- getDateTimeFormat: Oe(function() {
3322
+ getDateTimeFormat: Se(function() {
3327
3323
  for (var t, r = [], n = 0; n < arguments.length; n++)
3328
3324
  r[n] = arguments[n];
3329
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3325
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, we([void 0], r, !1)))();
3330
3326
  }, {
3331
- cache: Le(e.dateTime),
3332
- strategy: Ce.variadic
3327
+ cache: Oe(e.dateTime),
3328
+ strategy: Ae.variadic
3333
3329
  }),
3334
- getPluralRules: Oe(function() {
3330
+ getPluralRules: Se(function() {
3335
3331
  for (var t, r = [], n = 0; n < arguments.length; n++)
3336
3332
  r[n] = arguments[n];
3337
- return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3333
+ return new ((t = Intl.PluralRules).bind.apply(t, we([void 0], r, !1)))();
3338
3334
  }, {
3339
- cache: Le(e.pluralRules),
3340
- strategy: Ce.variadic
3335
+ cache: Oe(e.pluralRules),
3336
+ strategy: Ae.variadic
3341
3337
  })
3342
3338
  };
3343
3339
  }
@@ -3355,12 +3351,12 @@ var Vt = (
3355
3351
  var a = s.formatToParts(l);
3356
3352
  if (a.length === 1)
3357
3353
  return a[0].value;
3358
- var h = a.reduce(function(f, c) {
3359
- return !f.length || c.type !== x.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3354
+ var u = a.reduce(function(f, c) {
3355
+ return !f.length || c.type !== E.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3360
3356
  }, []);
3361
- return h.length <= 1 ? h[0] || "" : h;
3357
+ return u.length <= 1 ? u[0] || "" : u;
3362
3358
  }, this.formatToParts = function(l) {
3363
- return fe(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3359
+ return le(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3364
3360
  }, this.resolvedOptions = function() {
3365
3361
  var l;
3366
3362
  return {
@@ -3371,15 +3367,15 @@ var Vt = (
3371
3367
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3372
3368
  if (this.message = t, !e.__parse)
3373
3369
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3374
- var u = i || {};
3375
- u.formatters;
3376
- var o = Gr(u, ["formatters"]);
3377
- this.ast = e.__parse(t, T(T({}, o), { locale: this.resolvedLocale }));
3370
+ var h = i || {};
3371
+ h.formatters;
3372
+ var o = Gr(h, ["formatters"]);
3373
+ this.ast = e.__parse(t, y(y({}, o), { locale: this.resolvedLocale }));
3378
3374
  } else
3379
3375
  this.ast = t;
3380
3376
  if (!Array.isArray(this.ast))
3381
3377
  throw new TypeError("A message must be provided as a String or AST.");
3382
- this.formats = Cn(e.formats, n), this.formatters = i && i.formatters || Pn(this.formatterCache);
3378
+ this.formats = Cn(e.formats, n), this.formatters = i && i.formatters || On(this.formatterCache);
3383
3379
  }
3384
3380
  return Object.defineProperty(e, "defaultLocale", {
3385
3381
  get: function() {
@@ -3392,7 +3388,7 @@ var Vt = (
3392
3388
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3393
3389
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3394
3390
  }
3395
- }, e.__parse = Bn, e.formats = {
3391
+ }, e.__parse = Hn, e.formats = {
3396
3392
  number: {
3397
3393
  integer: {
3398
3394
  maximumFractionDigits: 0
@@ -3453,7 +3449,7 @@ var Vt = (
3453
3449
  }, e;
3454
3450
  }()
3455
3451
  );
3456
- function Ln(e, t) {
3452
+ function Pn(e, t) {
3457
3453
  if (t == null)
3458
3454
  return;
3459
3455
  if (t in e)
@@ -3474,101 +3470,101 @@ function Ln(e, t) {
3474
3470
  n = void 0;
3475
3471
  return n;
3476
3472
  }
3477
- const C = {}, Nn = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Xt = (e, t) => {
3473
+ const C = {}, Ln = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), Xt = (e, t) => {
3478
3474
  if (t == null)
3479
3475
  return;
3480
3476
  if (t in C && e in C[t])
3481
3477
  return C[t][e];
3482
- const r = ie(t);
3478
+ const r = ne(t);
3483
3479
  for (let n = 0; n < r.length; n++) {
3484
- const i = r[n], s = Mn(i, e);
3480
+ const i = r[n], s = In(i, e);
3485
3481
  if (s)
3486
- return Nn(e, t, s);
3482
+ return Ln(e, t, s);
3487
3483
  }
3488
3484
  };
3489
3485
  let Ze;
3490
- const ne = _e({});
3491
- function In(e) {
3486
+ const re = be({});
3487
+ function Nn(e) {
3492
3488
  return Ze[e] || null;
3493
3489
  }
3494
- function Wt(e) {
3490
+ function zt(e) {
3495
3491
  return e in Ze;
3496
3492
  }
3497
- function Mn(e, t) {
3498
- if (!Wt(e))
3493
+ function In(e, t) {
3494
+ if (!zt(e))
3499
3495
  return null;
3500
- const r = In(e);
3501
- return Ln(r, t);
3496
+ const r = Nn(e);
3497
+ return Pn(r, t);
3502
3498
  }
3503
- function $n(e) {
3499
+ function Mn(e) {
3504
3500
  if (e == null)
3505
3501
  return;
3506
- const t = ie(e);
3502
+ const t = ne(e);
3507
3503
  for (let r = 0; r < t.length; r++) {
3508
3504
  const n = t[r];
3509
- if (Wt(n))
3505
+ if (zt(n))
3510
3506
  return n;
3511
3507
  }
3512
3508
  }
3513
- function zt(e, ...t) {
3514
- delete C[e], ne.update((r) => (r[e] = Dr.all([r[e] || {}, ...t]), r));
3509
+ function Wt(e, ...t) {
3510
+ delete C[e], re.update((r) => (r[e] = Dr.all([r[e] || {}, ...t]), r));
3515
3511
  }
3516
- Q(
3517
- [ne],
3512
+ Z(
3513
+ [re],
3518
3514
  ([e]) => Object.keys(e)
3519
3515
  );
3520
- ne.subscribe((e) => Ze = e);
3521
- const ce = {};
3522
- function Rn(e, t) {
3523
- ce[e].delete(t), ce[e].size === 0 && delete ce[e];
3516
+ re.subscribe((e) => Ze = e);
3517
+ const fe = {};
3518
+ function $n(e, t) {
3519
+ fe[e].delete(t), fe[e].size === 0 && delete fe[e];
3524
3520
  }
3525
3521
  function Zt(e) {
3526
- return ce[e];
3522
+ return fe[e];
3527
3523
  }
3528
- function Un(e) {
3529
- return ie(e).map((t) => {
3524
+ function Rn(e) {
3525
+ return ne(e).map((t) => {
3530
3526
  const r = Zt(t);
3531
3527
  return [t, r ? [...r] : []];
3532
3528
  }).filter(([, t]) => t.length > 0);
3533
3529
  }
3534
- function de(e) {
3535
- return e == null ? !1 : ie(e).some(
3530
+ function me(e) {
3531
+ return e == null ? !1 : ne(e).some(
3536
3532
  (t) => {
3537
3533
  var r;
3538
3534
  return (r = Zt(t)) == null ? void 0 : r.size;
3539
3535
  }
3540
3536
  );
3541
3537
  }
3542
- function Dn(e, t) {
3538
+ function Un(e, t) {
3543
3539
  return Promise.all(
3544
- t.map((n) => (Rn(e, n), n().then((i) => i.default || i)))
3545
- ).then((n) => zt(e, ...n));
3540
+ t.map((n) => ($n(e, n), n().then((i) => i.default || i)))
3541
+ ).then((n) => Wt(e, ...n));
3546
3542
  }
3547
- const J = {};
3543
+ const q = {};
3548
3544
  function Qt(e) {
3549
- if (!de(e))
3550
- return e in J ? J[e] : Promise.resolve();
3551
- const t = Un(e);
3552
- return J[e] = Promise.all(
3545
+ if (!me(e))
3546
+ return e in q ? q[e] : Promise.resolve();
3547
+ const t = Rn(e);
3548
+ return q[e] = Promise.all(
3553
3549
  t.map(
3554
- ([r, n]) => Dn(r, n)
3550
+ ([r, n]) => Un(r, n)
3555
3551
  )
3556
3552
  ).then(() => {
3557
- if (de(e))
3553
+ if (me(e))
3558
3554
  return Qt(e);
3559
- delete J[e];
3560
- }), J[e];
3555
+ delete q[e];
3556
+ }), q[e];
3561
3557
  }
3562
- var ut = Object.getOwnPropertySymbols, Gn = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable, jn = (e, t) => {
3558
+ var ht = Object.getOwnPropertySymbols, Dn = Object.prototype.hasOwnProperty, Gn = Object.prototype.propertyIsEnumerable, Fn = (e, t) => {
3563
3559
  var r = {};
3564
3560
  for (var n in e)
3565
- Gn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3566
- if (e != null && ut)
3567
- for (var n of ut(e))
3568
- t.indexOf(n) < 0 && Fn.call(e, n) && (r[n] = e[n]);
3561
+ Dn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3562
+ if (e != null && ht)
3563
+ for (var n of ht(e))
3564
+ t.indexOf(n) < 0 && Gn.call(e, n) && (r[n] = e[n]);
3569
3565
  return r;
3570
3566
  };
3571
- const kn = {
3567
+ const jn = {
3572
3568
  number: {
3573
3569
  scientific: { notation: "scientific" },
3574
3570
  engineering: { notation: "engineering" },
@@ -3598,28 +3594,28 @@ const kn = {
3598
3594
  }
3599
3595
  }
3600
3596
  };
3601
- function Vn({ locale: e, id: t }) {
3597
+ function kn({ locale: e, id: t }) {
3602
3598
  console.warn(
3603
- `[svelte-i18n] The message "${t}" was not found in "${ie(
3599
+ `[svelte-i18n] The message "${t}" was not found in "${ne(
3604
3600
  e
3605
- ).join('", "')}".${de(L()) ? `
3601
+ ).join('", "')}".${me(P()) ? `
3606
3602
 
3607
3603
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3608
3604
  );
3609
3605
  }
3610
- const Xn = {
3606
+ const Vn = {
3611
3607
  fallbackLocale: null,
3612
3608
  loadingDelay: 200,
3613
- formats: kn,
3609
+ formats: jn,
3614
3610
  warnOnMissingMessages: !0,
3615
3611
  handleMissingMessage: void 0,
3616
3612
  ignoreTag: !0
3617
- }, Y = Xn;
3618
- function W() {
3619
- return Y;
3613
+ }, J = Vn;
3614
+ function X() {
3615
+ return J;
3620
3616
  }
3621
- function Wn(e) {
3622
- const t = e, { formats: r } = t, n = jn(t, ["formats"]);
3617
+ function Xn(e) {
3618
+ const t = e, { formats: r } = t, n = Fn(t, ["formats"]);
3623
3619
  let i = e.fallbackLocale;
3624
3620
  if (e.initialLocale)
3625
3621
  try {
@@ -3629,152 +3625,152 @@ function Wn(e) {
3629
3625
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3630
3626
  );
3631
3627
  }
3632
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Vn : console.warn(
3628
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = kn : console.warn(
3633
3629
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3634
- )), 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);
3630
+ )), Object.assign(J, n, { initialLocale: i }), r && ("number" in r && Object.assign(J.formats.number, r.number), "date" in r && Object.assign(J.formats.date, r.date), "time" in r && Object.assign(J.formats.time, r.time)), M.set(i);
3635
3631
  }
3636
- const Ne = _e(!1);
3637
- var zn = Object.defineProperty, Zn = Object.defineProperties, Qn = Object.getOwnPropertyDescriptors, ht = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Jn = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Yn = (e, t) => {
3632
+ const Pe = be(!1);
3633
+ var zn = Object.defineProperty, Wn = Object.defineProperties, Zn = Object.getOwnPropertyDescriptors, ut = Object.getOwnPropertySymbols, Qn = Object.prototype.hasOwnProperty, qn = Object.prototype.propertyIsEnumerable, lt = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Jn = (e, t) => {
3638
3634
  for (var r in t || (t = {}))
3639
- qn.call(t, r) && lt(e, r, t[r]);
3640
- if (ht)
3641
- for (var r of ht(t))
3642
- Jn.call(t, r) && lt(e, r, t[r]);
3635
+ Qn.call(t, r) && lt(e, r, t[r]);
3636
+ if (ut)
3637
+ for (var r of ut(t))
3638
+ qn.call(t, r) && lt(e, r, t[r]);
3643
3639
  return e;
3644
- }, Kn = (e, t) => Zn(e, Qn(t));
3645
- let Ve;
3646
- const be = _e(null);
3640
+ }, Yn = (e, t) => Wn(e, Zn(t));
3641
+ let je;
3642
+ const de = be(null);
3647
3643
  function ft(e) {
3648
3644
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3649
3645
  }
3650
- function ie(e, t = W().fallbackLocale) {
3646
+ function ne(e, t = X().fallbackLocale) {
3651
3647
  const r = ft(e);
3652
3648
  return t ? [.../* @__PURE__ */ new Set([...r, ...ft(t)])] : r;
3653
3649
  }
3654
- function L() {
3655
- return Ve ?? void 0;
3650
+ function P() {
3651
+ return je ?? void 0;
3656
3652
  }
3657
- be.subscribe((e) => {
3658
- Ve = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3653
+ de.subscribe((e) => {
3654
+ je = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3659
3655
  });
3660
- const ei = (e) => {
3661
- if (e && $n(e) && de(e)) {
3662
- const { loadingDelay: t } = W();
3656
+ const Kn = (e) => {
3657
+ if (e && Mn(e) && me(e)) {
3658
+ const { loadingDelay: t } = X();
3663
3659
  let r;
3664
- return typeof window < "u" && L() != null && t ? r = window.setTimeout(
3665
- () => Ne.set(!0),
3660
+ return typeof window < "u" && P() != null && t ? r = window.setTimeout(
3661
+ () => Pe.set(!0),
3666
3662
  t
3667
- ) : Ne.set(!0), Qt(e).then(() => {
3668
- be.set(e);
3663
+ ) : Pe.set(!0), Qt(e).then(() => {
3664
+ de.set(e);
3669
3665
  }).finally(() => {
3670
- clearTimeout(r), Ne.set(!1);
3666
+ clearTimeout(r), Pe.set(!1);
3671
3667
  });
3672
3668
  }
3673
- return be.set(e);
3674
- }, $ = Kn(Yn({}, be), {
3675
- set: ei
3676
- }), xe = (e) => {
3669
+ return de.set(e);
3670
+ }, M = Yn(Jn({}, de), {
3671
+ set: Kn
3672
+ }), ye = (e) => {
3677
3673
  const t = /* @__PURE__ */ Object.create(null);
3678
3674
  return (n) => {
3679
3675
  const i = JSON.stringify(n);
3680
3676
  return i in t ? t[i] : t[i] = e(n);
3681
3677
  };
3682
3678
  };
3683
- var ti = Object.defineProperty, ge = Object.getOwnPropertySymbols, qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? ti(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
3679
+ var ei = Object.defineProperty, pe = Object.getOwnPropertySymbols, qt = Object.prototype.hasOwnProperty, Jt = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? ei(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
3684
3680
  for (var r in t || (t = {}))
3685
3681
  qt.call(t, r) && ct(e, r, t[r]);
3686
- if (ge)
3687
- for (var r of ge(t))
3682
+ if (pe)
3683
+ for (var r of pe(t))
3688
3684
  Jt.call(t, r) && ct(e, r, t[r]);
3689
3685
  return e;
3690
- }, q = (e, t) => {
3686
+ }, Q = (e, t) => {
3691
3687
  var r = {};
3692
3688
  for (var n in e)
3693
3689
  qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3694
- if (e != null && ge)
3695
- for (var n of ge(e))
3690
+ if (e != null && pe)
3691
+ for (var n of pe(e))
3696
3692
  t.indexOf(n) < 0 && Jt.call(e, n) && (r[n] = e[n]);
3697
3693
  return r;
3698
3694
  };
3699
- const te = (e, t) => {
3700
- const { formats: r } = W();
3695
+ const ee = (e, t) => {
3696
+ const { formats: r } = X();
3701
3697
  if (e in r && t in r[e])
3702
3698
  return r[e][t];
3703
3699
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3704
- }, ri = xe(
3700
+ }, ti = ye(
3705
3701
  (e) => {
3706
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3702
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3707
3703
  if (r == null)
3708
3704
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3709
- return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
3705
+ return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
3710
3706
  }
3711
- ), ni = xe(
3707
+ ), ri = ye(
3712
3708
  (e) => {
3713
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3709
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3714
3710
  if (r == null)
3715
3711
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3716
- return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
3712
+ return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
3717
3713
  }
3718
- ), ii = xe(
3714
+ ), ni = ye(
3719
3715
  (e) => {
3720
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3716
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3721
3717
  if (r == null)
3722
3718
  throw new Error(
3723
3719
  '[svelte-i18n] A "locale" must be set to format time values'
3724
3720
  );
3725
- return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
3721
+ return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
3726
3722
  }
3727
- ), si = (e = {}) => {
3723
+ ), ii = (e = {}) => {
3728
3724
  var t = e, {
3729
- locale: r = L()
3730
- } = t, n = q(t, [
3725
+ locale: r = P()
3726
+ } = t, n = Q(t, [
3731
3727
  "locale"
3732
3728
  ]);
3733
- return ri(Qe({ locale: r }, n));
3734
- }, oi = (e = {}) => {
3729
+ return ti(Qe({ locale: r }, n));
3730
+ }, si = (e = {}) => {
3735
3731
  var t = e, {
3736
- locale: r = L()
3737
- } = t, n = q(t, [
3732
+ locale: r = P()
3733
+ } = t, n = Q(t, [
3738
3734
  "locale"
3739
3735
  ]);
3740
- return ni(Qe({ locale: r }, n));
3741
- }, ai = (e = {}) => {
3736
+ return ri(Qe({ locale: r }, n));
3737
+ }, oi = (e = {}) => {
3742
3738
  var t = e, {
3743
- locale: r = L()
3744
- } = t, n = q(t, [
3739
+ locale: r = P()
3740
+ } = t, n = Q(t, [
3745
3741
  "locale"
3746
3742
  ]);
3747
- return ii(Qe({ locale: r }, n));
3748
- }, ui = xe(
3743
+ return ni(Qe({ locale: r }, n));
3744
+ }, ai = ye(
3749
3745
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3750
- (e, t = L()) => new Vt(e, t, W().formats, {
3751
- ignoreTag: W().ignoreTag
3746
+ (e, t = P()) => new Vt(e, t, X().formats, {
3747
+ ignoreTag: X().ignoreTag
3752
3748
  })
3753
3749
  ), hi = (e, t = {}) => {
3754
3750
  var r, n, i, s;
3755
- let u = t;
3756
- typeof e == "object" && (u = e, e = u.id);
3751
+ let h = t;
3752
+ typeof e == "object" && (h = e, e = h.id);
3757
3753
  const {
3758
3754
  values: o,
3759
- locale: l = L(),
3755
+ locale: l = P(),
3760
3756
  default: a
3761
- } = u;
3757
+ } = h;
3762
3758
  if (l == null)
3763
3759
  throw new Error(
3764
3760
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3765
3761
  );
3766
- let h = Xt(e, l);
3767
- if (!h)
3768
- h = (s = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3769
- else if (typeof h != "string")
3762
+ let u = Xt(e, l);
3763
+ if (!u)
3764
+ u = (s = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: a })) != null ? i : a) != null ? s : e;
3765
+ else if (typeof u != "string")
3770
3766
  return console.warn(
3771
- `[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.`
3772
- ), h;
3767
+ `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof u}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3768
+ ), u;
3773
3769
  if (!o)
3774
- return h;
3775
- let f = h;
3770
+ return u;
3771
+ let f = u;
3776
3772
  try {
3777
- f = ui(h, l).format(o);
3773
+ f = ai(u, l).format(o);
3778
3774
  } catch (c) {
3779
3775
  c instanceof Error && console.warn(
3780
3776
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3782,20 +3778,20 @@ const te = (e, t) => {
3782
3778
  );
3783
3779
  }
3784
3780
  return f;
3785
- }, li = (e, t) => ai(t).format(e), fi = (e, t) => oi(t).format(e), ci = (e, t) => si(t).format(e), mi = (e, t = L()) => Xt(e, t), pi = Q([$, ne], () => hi);
3786
- Q([$], () => li);
3787
- Q([$], () => fi);
3788
- Q([$], () => ci);
3789
- Q([$, ne], () => mi);
3781
+ }, ui = (e, t) => oi(t).format(e), li = (e, t) => si(t).format(e), fi = (e, t) => ii(t).format(e), ci = (e, t = P()) => Xt(e, t), mi = Z([M, re], () => hi);
3782
+ Z([M], () => ui);
3783
+ Z([M], () => li);
3784
+ Z([M], () => fi);
3785
+ Z([M, re], () => ci);
3790
3786
  function mt(e, t) {
3791
- zt(e, t);
3787
+ Wt(e, t);
3792
3788
  }
3793
3789
  function di(e) {
3794
- Wn({
3790
+ Xn({
3795
3791
  fallbackLocale: "en"
3796
- }), $.set(e);
3792
+ }), M.set(e);
3797
3793
  }
3798
- const pt = {
3794
+ const dt = {
3799
3795
  en: {
3800
3796
  header: {
3801
3797
  general: "Cashier",
@@ -3818,18 +3814,18 @@ const pt = {
3818
3814
  }
3819
3815
  }
3820
3816
  };
3821
- function bi(e) {
3817
+ function pi(e) {
3822
3818
  sr(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}");
3823
3819
  }
3824
- const gi = (e) => ({}), dt = (e) => ({}), _i = (e) => ({}), bt = (e) => ({}), yi = (e) => ({}), gt = (e) => ({});
3820
+ const bi = (e) => ({}), pt = (e) => ({}), gi = (e) => ({}), bt = (e) => ({}), _i = (e) => ({}), gt = (e) => ({});
3825
3821
  function _t(e) {
3826
3822
  let t, r, n;
3827
3823
  return {
3828
3824
  c() {
3829
- t = z("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', Z(t, "class", "CashierHeaderLeftButton");
3825
+ t = z("div"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20" fill="none"><path fill-rule="evenodd" clip-rule="evenodd" d="M12.5632 3.47782C12.4787 3.50138 12.3362 3.57505 12.2465 3.64153C12.1567 3.70806 10.8069 5.04216 9.24694 6.60626C6.11944 9.74192 6.25999 9.58204 6.25999 10.0037C6.25999 10.4243 6.13093 10.2784 9.34296 13.4903C12.4449 16.5921 12.356 16.5116 12.7278 16.5556C13.1855 16.6098 13.6413 16.2585 13.7301 15.783C13.7612 15.6164 13.7212 15.3395 13.6437 15.1847C13.6158 15.129 12.451 13.9396 11.0553 12.5417L8.51768 10L11.0553 7.45837C12.451 6.06048 13.6158 4.87114 13.6437 4.81544C13.7729 4.55751 13.7703 4.2006 13.6374 3.94274C13.4469 3.5731 12.9668 3.36532 12.5632 3.47782Z" fill="#111111"></path></svg>', W(t, "class", "CashierHeaderLeftButton");
3830
3826
  },
3831
3827
  m(i, s) {
3832
- M(i, t, s), r || (n = Tt(
3828
+ I(i, t, s), r || (n = Tt(
3833
3829
  t,
3834
3830
  "click",
3835
3831
  /*back*/
@@ -3838,11 +3834,11 @@ function _t(e) {
3838
3834
  },
3839
3835
  p: B,
3840
3836
  d(i) {
3841
- i && P(t), r = !1, n();
3837
+ i && O(t), r = !1, n();
3842
3838
  }
3843
3839
  };
3844
3840
  }
3845
- function Ei(e) {
3841
+ function yi(e) {
3846
3842
  let t, r = (
3847
3843
  /*backButton*/
3848
3844
  e[1] && _t(e)
@@ -3852,14 +3848,14 @@ function Ei(e) {
3852
3848
  r && r.c(), t = Bt();
3853
3849
  },
3854
3850
  m(n, i) {
3855
- r && r.m(n, i), M(n, t, i);
3851
+ r && r.m(n, i), I(n, t, i);
3856
3852
  },
3857
3853
  p(n, i) {
3858
3854
  /*backButton*/
3859
3855
  n[1] ? r ? r.p(n, i) : (r = _t(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3860
3856
  },
3861
3857
  d(n) {
3862
- n && P(t), r && r.d(n);
3858
+ n && O(t), r && r.d(n);
3863
3859
  }
3864
3860
  };
3865
3861
  }
@@ -3873,10 +3869,10 @@ function xi(e) {
3873
3869
  ), n;
3874
3870
  return {
3875
3871
  c() {
3876
- t = z("span"), n = We(r), Z(t, "class", "CashierHeaderTitle");
3872
+ t = z("span"), n = Ve(r), W(t, "class", "CashierHeaderTitle");
3877
3873
  },
3878
3874
  m(i, s) {
3879
- M(i, t, s), me(t, n);
3875
+ I(i, t, s), ce(t, n);
3880
3876
  },
3881
3877
  p(i, s) {
3882
3878
  s & /*$_, titleText*/
@@ -3884,10 +3880,10 @@ function xi(e) {
3884
3880
  i[4](
3885
3881
  /*titleText*/
3886
3882
  i[2]
3887
- ) + "") && hr(n, r);
3883
+ ) + "") && ur(n, r);
3888
3884
  },
3889
3885
  d(i) {
3890
- i && P(t);
3886
+ i && O(t);
3891
3887
  }
3892
3888
  };
3893
3889
  }
@@ -3895,10 +3891,10 @@ function yt(e) {
3895
3891
  let t, r, n;
3896
3892
  return {
3897
3893
  c() {
3898
- t = z("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', Z(t, "class", "CashierHeaderRightButton");
3894
+ t = z("span"), t.innerHTML = '<svg xmlns="http://www.w3.org/2000/svg" width="13" height="20" viewBox="0 0 13 13" fill="none"><path d="M12.7711 0.229435C13.0582 0.517619 13.0755 0.973729 12.8215 1.28141L12.7711 1.33721L7.60685 6.50068L12.7711 11.6641C12.9128 11.8066 12.9944 11.998 12.999 12.1988C13.0035 12.3997 12.9308 12.5946 12.7957 12.7433C12.6606 12.892 12.4735 12.9832 12.2731 12.9979C12.0728 13.0126 11.8744 12.9497 11.7191 12.8223L11.6633 12.7719L6.49958 7.60791L1.3359 12.7719C1.19349 12.9136 1.00207 12.9952 0.801203 12.9998C0.60034 13.0044 0.405398 12.9316 0.256676 12.7965C0.107955 12.6614 0.0168256 12.4744 0.00212786 12.274C-0.0125699 12.0736 0.0502877 11.8753 0.177706 11.7199L0.228086 11.6641L5.3923 6.50068L0.228086 1.33721C0.0863637 1.1948 0.00478102 1.00338 0.000203544 0.802529C-0.00437393 0.601674 0.0684038 0.40674 0.203491 0.258024C0.338579 0.109308 0.525647 0.0181829 0.726024 0.00348576C0.9264 -0.0112114 1.12476 0.0516437 1.28011 0.179057L1.3359 0.229435L6.49958 5.39345L11.6633 0.229435C11.736 0.156695 11.8223 0.0989949 11.9174 0.0596283C12.0124 0.0202617 12.1143 0 12.2172 0C12.32 0 12.4219 0.0202617 12.5169 0.0596283C12.612 0.0989949 12.6983 0.156695 12.7711 0.229435Z" fill="#111111"></path></svg>', W(t, "class", "CashierHeaderRightButton");
3899
3895
  },
3900
3896
  m(i, s) {
3901
- M(i, t, s), r || (n = Tt(
3897
+ I(i, t, s), r || (n = Tt(
3902
3898
  t,
3903
3899
  "click",
3904
3900
  /*close*/
@@ -3907,11 +3903,11 @@ function yt(e) {
3907
3903
  },
3908
3904
  p: B,
3909
3905
  d(i) {
3910
- i && P(t), r = !1, n();
3906
+ i && O(t), r = !1, n();
3911
3907
  }
3912
3908
  };
3913
3909
  }
3914
- function vi(e) {
3910
+ function Ei(e) {
3915
3911
  let t, r = (
3916
3912
  /*closeButton*/
3917
3913
  e[3] && yt(e)
@@ -3921,197 +3917,197 @@ function vi(e) {
3921
3917
  r && r.c(), t = Bt();
3922
3918
  },
3923
3919
  m(n, i) {
3924
- r && r.m(n, i), M(n, t, i);
3920
+ r && r.m(n, i), I(n, t, i);
3925
3921
  },
3926
3922
  p(n, i) {
3927
3923
  /*closeButton*/
3928
3924
  n[3] ? r ? r.p(n, i) : (r = yt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3929
3925
  },
3930
3926
  d(n) {
3931
- n && P(t), r && r.d(n);
3927
+ n && O(t), r && r.d(n);
3932
3928
  }
3933
3929
  };
3934
3930
  }
3935
- function Hi(e) {
3931
+ function vi(e) {
3936
3932
  let t, r, n, i;
3937
3933
  const s = (
3938
3934
  /*#slots*/
3939
3935
  e[15].leftButton
3940
- ), u = ve(
3936
+ ), h = xe(
3941
3937
  s,
3942
3938
  e,
3943
3939
  /*$$scope*/
3944
3940
  e[14],
3945
3941
  gt
3946
- ), o = u || Ei(e), l = (
3942
+ ), o = h || yi(e), l = (
3947
3943
  /*#slots*/
3948
3944
  e[15].title
3949
- ), a = ve(
3945
+ ), a = xe(
3950
3946
  l,
3951
3947
  e,
3952
3948
  /*$$scope*/
3953
3949
  e[14],
3954
3950
  bt
3955
- ), h = a || xi(e), f = (
3951
+ ), u = a || xi(e), f = (
3956
3952
  /*#slots*/
3957
3953
  e[15].rightButton
3958
- ), c = ve(
3954
+ ), c = xe(
3959
3955
  f,
3960
3956
  e,
3961
3957
  /*$$scope*/
3962
3958
  e[14],
3963
- dt
3964
- ), p = c || vi(e);
3959
+ pt
3960
+ ), d = c || Ei(e);
3965
3961
  return {
3966
3962
  c() {
3967
- t = z("div"), o && o.c(), r = Je(), h && h.c(), n = Je(), p && p.c(), Z(t, "class", "CashierHeader");
3963
+ t = z("div"), o && o.c(), r = Je(), u && u.c(), n = Je(), d && d.c(), W(t, "class", "CashierHeader");
3968
3964
  },
3969
3965
  m(m, g) {
3970
- 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;
3966
+ I(m, t, g), o && o.m(t, null), ce(t, r), u && u.m(t, null), ce(t, n), d && d.m(t, null), e[16](t), i = !0;
3971
3967
  },
3972
3968
  p(m, [g]) {
3973
- u ? u.p && (!i || g & /*$$scope*/
3974
- 16384) && Be(
3975
- u,
3969
+ h ? h.p && (!i || g & /*$$scope*/
3970
+ 16384) && ve(
3971
+ h,
3976
3972
  s,
3977
3973
  m,
3978
3974
  /*$$scope*/
3979
3975
  m[14],
3980
- i ? He(
3976
+ i ? Ee(
3981
3977
  s,
3982
3978
  /*$$scope*/
3983
3979
  m[14],
3984
3980
  g,
3985
- yi
3986
- ) : Te(
3981
+ _i
3982
+ ) : He(
3987
3983
  /*$$scope*/
3988
3984
  m[14]
3989
3985
  ),
3990
3986
  gt
3991
3987
  ) : o && o.p && (!i || g & /*backButton*/
3992
3988
  2) && o.p(m, i ? g : -1), a ? a.p && (!i || g & /*$$scope*/
3993
- 16384) && Be(
3989
+ 16384) && ve(
3994
3990
  a,
3995
3991
  l,
3996
3992
  m,
3997
3993
  /*$$scope*/
3998
3994
  m[14],
3999
- i ? He(
3995
+ i ? Ee(
4000
3996
  l,
4001
3997
  /*$$scope*/
4002
3998
  m[14],
4003
3999
  g,
4004
- _i
4005
- ) : Te(
4000
+ gi
4001
+ ) : He(
4006
4002
  /*$$scope*/
4007
4003
  m[14]
4008
4004
  ),
4009
4005
  bt
4010
- ) : h && h.p && (!i || g & /*$_, titleText*/
4011
- 20) && h.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
4012
- 16384) && Be(
4006
+ ) : u && u.p && (!i || g & /*$_, titleText*/
4007
+ 20) && u.p(m, i ? g : -1), c ? c.p && (!i || g & /*$$scope*/
4008
+ 16384) && ve(
4013
4009
  c,
4014
4010
  f,
4015
4011
  m,
4016
4012
  /*$$scope*/
4017
4013
  m[14],
4018
- i ? He(
4014
+ i ? Ee(
4019
4015
  f,
4020
4016
  /*$$scope*/
4021
4017
  m[14],
4022
4018
  g,
4023
- gi
4024
- ) : Te(
4019
+ bi
4020
+ ) : He(
4025
4021
  /*$$scope*/
4026
4022
  m[14]
4027
4023
  ),
4028
- dt
4029
- ) : p && p.p && (!i || g & /*closeButton*/
4030
- 8) && p.p(m, i ? g : -1);
4024
+ pt
4025
+ ) : d && d.p && (!i || g & /*closeButton*/
4026
+ 8) && d.p(m, i ? g : -1);
4031
4027
  },
4032
4028
  i(m) {
4033
- i || (he(o, m), he(h, m), he(p, m), i = !0);
4029
+ i || (he(o, m), he(u, m), he(d, m), i = !0);
4034
4030
  },
4035
4031
  o(m) {
4036
- Se(o, m), Se(h, m), Se(p, m), i = !1;
4032
+ Te(o, m), Te(u, m), Te(d, m), i = !1;
4037
4033
  },
4038
4034
  d(m) {
4039
- m && P(t), o && o.d(m), h && h.d(m), p && p.d(m), e[16](null);
4035
+ m && O(t), o && o.d(m), u && u.d(m), d && d.d(m), e[16](null);
4040
4036
  }
4041
4037
  };
4042
4038
  }
4043
- function Bi(e, t, r) {
4039
+ function Hi(e, t, r) {
4044
4040
  let n;
4045
- ir(e, pi, (_) => r(4, n = _));
4046
- let { $$slots: i = {}, $$scope: s } = t, { clientstyling: u = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: a = "" } = t, { title: h = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: c = "" } = t, p, m = !1, g, v = !1;
4047
- const N = () => {
4041
+ ir(e, mi, (_) => r(4, n = _));
4042
+ let { $$slots: i = {}, $$scope: s } = t, { clientstyling: h = "" } = t, { clientstylingurl: o = "" } = t, { translationurl: l = "" } = t, { showbackbutton: a = "" } = t, { title: u = "header.general" } = t, { lang: f = "en" } = t, { showclosebutton: c = "" } = t, d, m = !1, g, v = !1;
4043
+ const L = () => {
4048
4044
  let _ = l;
4049
- _ && fetch(_).then((S) => S.json()).then((S) => {
4050
- Object.keys(S).forEach((U) => {
4051
- mt(U, S[U]);
4045
+ _ && fetch(_).then((w) => w.json()).then((w) => {
4046
+ Object.keys(w).forEach((R) => {
4047
+ mt(R, w[R]);
4052
4048
  });
4053
- }).catch((S) => {
4054
- console.log(S);
4049
+ }).catch((w) => {
4050
+ console.log(w);
4055
4051
  });
4056
4052
  };
4057
- Object.keys(pt).forEach((_) => {
4058
- mt(_, pt[_]);
4053
+ Object.keys(dt).forEach((_) => {
4054
+ mt(_, dt[_]);
4059
4055
  });
4060
- const O = () => {
4056
+ const A = () => {
4061
4057
  let _ = document.createElement("style");
4062
- _.innerHTML = u, p.appendChild(_);
4058
+ _.innerHTML = h, d.appendChild(_);
4063
4059
  }, H = () => {
4064
- let _ = new URL(o), S = document.createElement("style");
4065
- fetch(_.href).then((U) => U.text()).then((U) => {
4066
- S.innerHTML = U, setTimeout(
4060
+ let _ = new URL(o), w = document.createElement("style");
4061
+ fetch(_.href).then((R) => R.text()).then((R) => {
4062
+ w.innerHTML = R, setTimeout(
4067
4063
  () => {
4068
- p.appendChild(S);
4064
+ d.appendChild(w);
4069
4065
  },
4070
4066
  1
4071
4067
  );
4072
4068
  });
4073
- }, I = () => {
4069
+ }, N = () => {
4074
4070
  di(f);
4075
- }, w = () => {
4071
+ }, T = () => {
4076
4072
  window.postMessage({ type: "CloseCashier" }, window.location.href);
4077
- }, R = () => {
4073
+ }, $ = () => {
4078
4074
  window.postMessage({ type: "BackCashier" }, window.location.href);
4079
- }, se = () => {
4075
+ }, ie = () => {
4080
4076
  r(1, m = !!a && a !== "false");
4081
4077
  }, Kt = () => {
4082
4078
  r(3, v = !!c && c !== "false");
4083
4079
  }, er = () => {
4084
- r(2, g = h || "header.general");
4080
+ r(2, g = u || "header.general");
4085
4081
  };
4086
4082
  function tr(_) {
4087
- Ie[_ ? "unshift" : "push"](() => {
4088
- p = _, r(0, p);
4083
+ Le[_ ? "unshift" : "push"](() => {
4084
+ d = _, r(0, d);
4089
4085
  });
4090
4086
  }
4091
4087
  return e.$$set = (_) => {
4092
- "clientstyling" in _ && r(7, u = _.clientstyling), "clientstylingurl" in _ && r(8, o = _.clientstylingurl), "translationurl" in _ && r(9, l = _.translationurl), "showbackbutton" in _ && r(10, a = _.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);
4088
+ "clientstyling" in _ && r(7, h = _.clientstyling), "clientstylingurl" in _ && r(8, o = _.clientstylingurl), "translationurl" in _ && r(9, l = _.translationurl), "showbackbutton" in _ && r(10, a = _.showbackbutton), "title" in _ && r(11, u = _.title), "lang" in _ && r(12, f = _.lang), "showclosebutton" in _ && r(13, c = _.showclosebutton), "$$scope" in _ && r(14, s = _.$$scope);
4093
4089
  }, e.$$.update = () => {
4094
4090
  e.$$.dirty & /*lang*/
4095
- 4096 && f && I(), e.$$.dirty & /*lang, title*/
4096
- 6144 && f && h && er(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4097
- 129 && u && p && O(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4098
- 257 && o && p && H(), e.$$.dirty & /*lang, translationurl*/
4099
- 4608 && f && l && N(), e.$$.dirty & /*showbackbutton*/
4100
- 1024 && a && se(), e.$$.dirty & /*showclosebutton*/
4091
+ 4096 && f && N(), e.$$.dirty & /*lang, title*/
4092
+ 6144 && f && u && er(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4093
+ 129 && h && d && A(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4094
+ 257 && o && d && H(), e.$$.dirty & /*lang, translationurl*/
4095
+ 4608 && f && l && L(), e.$$.dirty & /*showbackbutton*/
4096
+ 1024 && a && ie(), e.$$.dirty & /*showclosebutton*/
4101
4097
  8192 && c && Kt();
4102
4098
  }, [
4103
- p,
4099
+ d,
4104
4100
  m,
4105
4101
  g,
4106
4102
  v,
4107
4103
  n,
4108
- w,
4109
- R,
4110
- u,
4104
+ T,
4105
+ $,
4106
+ h,
4111
4107
  o,
4112
4108
  l,
4113
4109
  a,
4114
- h,
4110
+ u,
4115
4111
  f,
4116
4112
  c,
4117
4113
  s,
@@ -4119,14 +4115,14 @@ function Bi(e, t, r) {
4119
4115
  tr
4120
4116
  ];
4121
4117
  }
4122
- class Yt extends xr {
4118
+ class Yt extends Er {
4123
4119
  constructor(t) {
4124
4120
  super(), yr(
4125
4121
  this,
4126
4122
  t,
4127
- Bi,
4128
4123
  Hi,
4129
- xt,
4124
+ vi,
4125
+ Et,
4130
4126
  {
4131
4127
  clientstyling: 7,
4132
4128
  clientstylingurl: 8,
@@ -4136,77 +4132,77 @@ class Yt extends xr {
4136
4132
  lang: 12,
4137
4133
  showclosebutton: 13
4138
4134
  },
4139
- bi
4135
+ pi
4140
4136
  );
4141
4137
  }
4142
4138
  get clientstyling() {
4143
4139
  return this.$$.ctx[7];
4144
4140
  }
4145
4141
  set clientstyling(t) {
4146
- this.$$set({ clientstyling: t }), A();
4142
+ this.$$set({ clientstyling: t }), S();
4147
4143
  }
4148
4144
  get clientstylingurl() {
4149
4145
  return this.$$.ctx[8];
4150
4146
  }
4151
4147
  set clientstylingurl(t) {
4152
- this.$$set({ clientstylingurl: t }), A();
4148
+ this.$$set({ clientstylingurl: t }), S();
4153
4149
  }
4154
4150
  get translationurl() {
4155
4151
  return this.$$.ctx[9];
4156
4152
  }
4157
4153
  set translationurl(t) {
4158
- this.$$set({ translationurl: t }), A();
4154
+ this.$$set({ translationurl: t }), S();
4159
4155
  }
4160
4156
  get showbackbutton() {
4161
4157
  return this.$$.ctx[10];
4162
4158
  }
4163
4159
  set showbackbutton(t) {
4164
- this.$$set({ showbackbutton: t }), A();
4160
+ this.$$set({ showbackbutton: t }), S();
4165
4161
  }
4166
4162
  get title() {
4167
4163
  return this.$$.ctx[11];
4168
4164
  }
4169
4165
  set title(t) {
4170
- this.$$set({ title: t }), A();
4166
+ this.$$set({ title: t }), S();
4171
4167
  }
4172
4168
  get lang() {
4173
4169
  return this.$$.ctx[12];
4174
4170
  }
4175
4171
  set lang(t) {
4176
- this.$$set({ lang: t }), A();
4172
+ this.$$set({ lang: t }), S();
4177
4173
  }
4178
4174
  get showclosebutton() {
4179
4175
  return this.$$.ctx[13];
4180
4176
  }
4181
4177
  set showclosebutton(t) {
4182
- this.$$set({ showclosebutton: t }), A();
4178
+ this.$$set({ showclosebutton: t }), S();
4183
4179
  }
4184
4180
  }
4185
- Er(Yt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4186
- const Si = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4181
+ xr(Yt, { clientstyling: {}, clientstylingurl: {}, translationurl: {}, showbackbutton: {}, title: {}, lang: {}, showclosebutton: {} }, ["leftButton", "title", "rightButton"], [], !0);
4182
+ const wi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4187
4183
  __proto__: null,
4188
4184
  default: Yt
4189
4185
  }, Symbol.toStringTag, { value: "Module" }));
4190
4186
  export {
4191
- $,
4192
- Si as C,
4193
- xr as S,
4194
- zt as a,
4187
+ M as $,
4188
+ wi as C,
4189
+ Er as S,
4190
+ Wt as a,
4195
4191
  yr as b,
4196
- Er as c,
4192
+ xr as c,
4197
4193
  sr as d,
4198
- P as e,
4199
- A as f,
4200
- wi as g,
4194
+ z as e,
4195
+ S as f,
4196
+ Je as g,
4201
4197
  Ti as h,
4202
- Wn as i,
4203
- Z as j,
4204
- M as k,
4205
- me as l,
4206
- Tt as m,
4207
- B as n,
4208
- z as o,
4209
- Je as p,
4210
- Ie as q,
4211
- xt as s
4198
+ Xn as i,
4199
+ Bi as j,
4200
+ W as k,
4201
+ I as l,
4202
+ ce as m,
4203
+ Tt as n,
4204
+ B as o,
4205
+ O as p,
4206
+ Le as q,
4207
+ Et as s
4212
4208
  };