@everymatrix/cashier-carousel 1.77.22 → 1.77.23

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Dr = Object.defineProperty, Ur = Object.defineProperties;
2
- var Gr = Object.getOwnPropertyDescriptors;
3
- var xt = Object.getOwnPropertySymbols;
4
- var Fr = Object.prototype.hasOwnProperty, jr = Object.prototype.propertyIsEnumerable;
5
- var Ve = (e, t, r) => t in e ? Dr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Et = (e, t) => {
1
+ var Ur = Object.defineProperty, Gr = Object.defineProperties;
2
+ var Fr = Object.getOwnPropertyDescriptors;
3
+ var St = Object.getOwnPropertySymbols;
4
+ var jr = Object.prototype.hasOwnProperty, kr = Object.prototype.propertyIsEnumerable;
5
+ var We = (e, t, r) => t in e ? Ur(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Fr.call(t, r) && Ve(e, r, t[r]);
8
- if (xt)
9
- for (var r of xt(t))
10
- jr.call(t, r) && Ve(e, r, t[r]);
7
+ jr.call(t, r) && We(e, r, t[r]);
8
+ if (St)
9
+ for (var r of St(t))
10
+ kr.call(t, r) && We(e, r, t[r]);
11
11
  return e;
12
- }, St = (e, t) => Ur(e, Gr(t));
13
- var L = (e, t, r) => (Ve(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Tt = (e, t, r) => new Promise((n, i) => {
12
+ }, wt = (e, t) => Gr(e, Fr(t));
13
+ var L = (e, t, r) => (We(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Ht = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -29,29 +29,29 @@ var Tt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function U() {
31
31
  }
32
- function rr(e) {
32
+ function ir(e) {
33
33
  return e();
34
34
  }
35
- function wt() {
35
+ function Pt() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function le(e) {
39
- e.forEach(rr);
38
+ function ue(e) {
39
+ e.forEach(ir);
40
40
  }
41
- function bt(e) {
41
+ function _t(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function nr(e, t) {
44
+ function or(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
47
  let He;
48
- function Ht(e, t) {
48
+ function At(e, t) {
49
49
  return e === t ? !0 : (He || (He = document.createElement("a")), He.href = t, e === He.href);
50
50
  }
51
- function kr(e) {
51
+ function Vr(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function ir(e, ...t) {
54
+ function sr(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,20 +60,20 @@ function ir(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function Vr(e, t, r) {
64
- e.$$.on_destroy.push(ir(t, r));
63
+ function Xr(e, t, r) {
64
+ e.$$.on_destroy.push(sr(t, r));
65
65
  }
66
- function T(e, t) {
66
+ function S(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function Xr(e, t, r) {
70
- const n = Wr(e);
69
+ function Wr(e, t, r) {
70
+ const n = zr(e);
71
71
  if (!n.getElementById(t)) {
72
72
  const i = P("style");
73
- i.id = t, i.textContent = r, zr(n, i);
73
+ i.id = t, i.textContent = r, Zr(n, i);
74
74
  }
75
75
  }
76
- function Wr(e) {
76
+ function zr(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,8 +83,8 @@ function Wr(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function zr(e, t) {
87
- return T(
86
+ function Zr(e, t) {
87
+ return S(
88
88
  /** @type {Document} */
89
89
  e.head || e,
90
90
  t
@@ -96,7 +96,7 @@ function F(e, t, r) {
96
96
  function D(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function Pt(e, t) {
99
+ function Ot(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
@@ -106,23 +106,23 @@ function P(e) {
106
106
  function R(e) {
107
107
  return document.createTextNode(e);
108
108
  }
109
- function j() {
109
+ function k() {
110
110
  return R(" ");
111
111
  }
112
- function Oe(e, t, r, n) {
112
+ function Me(e, t, r, n) {
113
113
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
114
114
  }
115
- function B(e, t, r) {
115
+ function O(e, t, r) {
116
116
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
117
117
  }
118
- function Zr(e) {
118
+ function Qr(e) {
119
119
  return Array.from(e.childNodes);
120
120
  }
121
- function k(e, t) {
121
+ function V(e, t) {
122
122
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
123
123
  t);
124
124
  }
125
- function Qr(e) {
125
+ function Yr(e) {
126
126
  const t = {};
127
127
  return e.childNodes.forEach(
128
128
  /** @param {Element} node */
@@ -131,90 +131,90 @@ function Qr(e) {
131
131
  }
132
132
  ), t;
133
133
  }
134
- let ye;
135
- function ge(e) {
136
- ye = e;
134
+ let ge;
135
+ function be(e) {
136
+ ge = e;
137
137
  }
138
- function Yr() {
139
- if (!ye)
138
+ function Jr() {
139
+ if (!ge)
140
140
  throw new Error("Function called outside component initialization");
141
- return ye;
141
+ return ge;
142
142
  }
143
- function Jr(e) {
144
- Yr().$$.on_mount.push(e);
143
+ function qr(e) {
144
+ Jr().$$.on_mount.push(e);
145
145
  }
146
146
  const re = [], $e = [];
147
147
  let ne = [];
148
- const At = [], qr = /* @__PURE__ */ Promise.resolve();
149
- let Ke = !1;
150
- function Kr() {
151
- Ke || (Ke = !0, qr.then($));
148
+ const Bt = [], Kr = /* @__PURE__ */ Promise.resolve();
149
+ let tt = !1;
150
+ function en() {
151
+ tt || (tt = !0, Kr.then($));
152
152
  }
153
- function et(e) {
153
+ function rt(e) {
154
154
  ne.push(e);
155
155
  }
156
- const Xe = /* @__PURE__ */ new Set();
156
+ const ze = /* @__PURE__ */ new Set();
157
157
  let ee = 0;
158
158
  function $() {
159
159
  if (ee !== 0)
160
160
  return;
161
- const e = ye;
161
+ const e = ge;
162
162
  do {
163
163
  try {
164
164
  for (; ee < re.length; ) {
165
165
  const t = re[ee];
166
- ee++, ge(t), en(t.$$);
166
+ ee++, be(t), tn(t.$$);
167
167
  }
168
168
  } catch (t) {
169
169
  throw re.length = 0, ee = 0, t;
170
170
  }
171
- for (ge(null), re.length = 0, ee = 0; $e.length; )
171
+ for (be(null), re.length = 0, ee = 0; $e.length; )
172
172
  $e.pop()();
173
173
  for (let t = 0; t < ne.length; t += 1) {
174
174
  const r = ne[t];
175
- Xe.has(r) || (Xe.add(r), r());
175
+ ze.has(r) || (ze.add(r), r());
176
176
  }
177
177
  ne.length = 0;
178
178
  } while (re.length);
179
- for (; At.length; )
180
- At.pop()();
181
- Ke = !1, Xe.clear(), ge(e);
179
+ for (; Bt.length; )
180
+ Bt.pop()();
181
+ tt = !1, ze.clear(), be(e);
182
182
  }
183
- function en(e) {
183
+ function tn(e) {
184
184
  if (e.fragment !== null) {
185
- e.update(), le(e.before_update);
185
+ e.update(), ue(e.before_update);
186
186
  const t = e.dirty;
187
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(et);
187
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(rt);
188
188
  }
189
189
  }
190
- function tn(e) {
190
+ function rn(e) {
191
191
  const t = [], r = [];
192
192
  ne.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ne = t;
193
193
  }
194
- const rn = /* @__PURE__ */ new Set();
195
- function nn(e, t) {
196
- e && e.i && (rn.delete(e), e.i(t));
194
+ const nn = /* @__PURE__ */ new Set();
195
+ function on(e, t) {
196
+ e && e.i && (nn.delete(e), e.i(t));
197
197
  }
198
198
  function Pe(e) {
199
199
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
200
200
  }
201
- function on(e, t, r) {
201
+ function sn(e, t, r) {
202
202
  const { fragment: n, after_update: i } = e.$$;
203
- n && n.m(t, r), et(() => {
204
- const o = e.$$.on_mount.map(rr).filter(bt);
205
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : le(o), e.$$.on_mount = [];
206
- }), i.forEach(et);
203
+ n && n.m(t, r), rt(() => {
204
+ const o = e.$$.on_mount.map(ir).filter(_t);
205
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ue(o), e.$$.on_mount = [];
206
+ }), i.forEach(rt);
207
207
  }
208
- function sn(e, t) {
208
+ function an(e, t) {
209
209
  const r = e.$$;
210
- r.fragment !== null && (tn(r.after_update), le(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
210
+ r.fragment !== null && (rn(r.after_update), ue(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
211
211
  }
212
- function an(e, t) {
213
- e.$$.dirty[0] === -1 && (re.push(e), Kr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
212
+ function un(e, t) {
213
+ e.$$.dirty[0] === -1 && (re.push(e), en(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
214
214
  }
215
- function un(e, t, r, n, i, o, s = null, a = [-1]) {
216
- const l = ye;
217
- ge(e);
215
+ function ln(e, t, r, n, i, o, s = null, a = [-1]) {
216
+ const l = ge;
217
+ be(e);
218
218
  const u = e.$$ = {
219
219
  fragment: null,
220
220
  ctx: [],
@@ -222,7 +222,7 @@ function un(e, t, r, n, i, o, s = null, a = [-1]) {
222
222
  props: o,
223
223
  update: U,
224
224
  not_equal: i,
225
- bound: wt(),
225
+ bound: Pt(),
226
226
  // lifecycle
227
227
  on_mount: [],
228
228
  on_destroy: [],
@@ -231,7 +231,7 @@ function un(e, t, r, n, i, o, s = null, a = [-1]) {
231
231
  after_update: [],
232
232
  context: new Map(t.context || (l ? l.$$.context : [])),
233
233
  // everything else
234
- callbacks: wt(),
234
+ callbacks: Pt(),
235
235
  dirty: a,
236
236
  skip_bound: !1,
237
237
  root: t.target || l.$$.root
@@ -240,19 +240,19 @@ function un(e, t, r, n, i, o, s = null, a = [-1]) {
240
240
  let h = !1;
241
241
  if (u.ctx = r ? r(e, t.props || {}, (p, c, ...b) => {
242
242
  const y = b.length ? b[0] : c;
243
- return u.ctx && i(u.ctx[p], u.ctx[p] = y) && (!u.skip_bound && u.bound[p] && u.bound[p](y), h && an(e, p)), c;
244
- }) : [], u.update(), h = !0, le(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
243
+ return u.ctx && i(u.ctx[p], u.ctx[p] = y) && (!u.skip_bound && u.bound[p] && u.bound[p](y), h && un(e, p)), c;
244
+ }) : [], u.update(), h = !0, ue(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
245
245
  if (t.hydrate) {
246
- const p = Zr(t.target);
246
+ const p = Qr(t.target);
247
247
  u.fragment && u.fragment.l(p), p.forEach(D);
248
248
  } else
249
249
  u.fragment && u.fragment.c();
250
- t.intro && nn(e.$$.fragment), on(e, t.target, t.anchor), $();
250
+ t.intro && on(e.$$.fragment), sn(e, t.target, t.anchor), $();
251
251
  }
252
- ge(l);
252
+ be(l);
253
253
  }
254
- let or;
255
- typeof HTMLElement == "function" && (or = class extends HTMLElement {
254
+ let ar;
255
+ typeof HTMLElement == "function" && (ar = class extends HTMLElement {
256
256
  constructor(t, r, n) {
257
257
  super();
258
258
  /** The Svelte component constructor */
@@ -289,14 +289,14 @@ typeof HTMLElement == "function" && (or = class extends HTMLElement {
289
289
  }
290
290
  }
291
291
  connectedCallback() {
292
- return Tt(this, null, function* () {
292
+ return Ht(this, null, function* () {
293
293
  if (this.$$cn = !0, !this.$$c) {
294
294
  let t = function(o) {
295
295
  return () => {
296
296
  let s;
297
297
  return {
298
298
  c: function() {
299
- s = P("slot"), o !== "default" && B(s, "name", o);
299
+ s = P("slot"), o !== "default" && O(s, "name", o);
300
300
  },
301
301
  /**
302
302
  * @param {HTMLElement} target
@@ -313,7 +313,7 @@ typeof HTMLElement == "function" && (or = class extends HTMLElement {
313
313
  };
314
314
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
315
315
  return;
316
- const r = {}, n = Qr(this);
316
+ const r = {}, n = Yr(this);
317
317
  for (const o of this.$$s)
318
318
  o in n && (r[o] = [t(o)]);
319
319
  for (const o of this.attributes) {
@@ -324,7 +324,7 @@ typeof HTMLElement == "function" && (or = class extends HTMLElement {
324
324
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
325
325
  this.$$c = new this.$$ctor({
326
326
  target: this.shadowRoot || this,
327
- props: St(Et({}, this.$$d), {
327
+ props: wt(Tt({}, this.$$d), {
328
328
  $$slots: r,
329
329
  $$scope: {
330
330
  ctx: []
@@ -402,8 +402,8 @@ function Ce(e, t, r, n) {
402
402
  return t;
403
403
  }
404
404
  }
405
- function ln(e, t, r, n, i, o) {
406
- let s = class extends or {
405
+ function hn(e, t, r, n, i, o) {
406
+ let s = class extends ar {
407
407
  constructor() {
408
408
  super(e, r, i), this.$$p_d = t;
409
409
  }
@@ -433,7 +433,7 @@ function ln(e, t, r, n, i, o) {
433
433
  }), e.element = /** @type {any} */
434
434
  s, s;
435
435
  }
436
- class hn {
436
+ class cn {
437
437
  constructor() {
438
438
  /**
439
439
  * ### PRIVATE API
@@ -454,7 +454,7 @@ class hn {
454
454
  }
455
455
  /** @returns {void} */
456
456
  $destroy() {
457
- sn(this, 1), this.$destroy = U;
457
+ an(this, 1), this.$destroy = U;
458
458
  }
459
459
  /**
460
460
  * @template {Extract<keyof Events, string>} K
@@ -463,7 +463,7 @@ class hn {
463
463
  * @returns {() => void}
464
464
  */
465
465
  $on(t, r) {
466
- if (!bt(r))
466
+ if (!_t(r))
467
467
  return U;
468
468
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
469
469
  return n.push(r), () => {
@@ -476,22 +476,22 @@ class hn {
476
476
  * @returns {void}
477
477
  */
478
478
  $set(t) {
479
- this.$$set && !kr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
479
+ this.$$set && !Vr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
480
480
  }
481
481
  }
482
- const cn = "4";
483
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(cn);
482
+ const fn = "4";
483
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(fn);
484
484
  const te = [];
485
- function fn(e, t) {
485
+ function pn(e, t) {
486
486
  return {
487
- subscribe: Ge(e, t).subscribe
487
+ subscribe: Fe(e, t).subscribe
488
488
  };
489
489
  }
490
- function Ge(e, t = U) {
490
+ function Fe(e, t = U) {
491
491
  let r;
492
492
  const n = /* @__PURE__ */ new Set();
493
493
  function i(a) {
494
- if (nr(e, a) && (e = a, r)) {
494
+ if (or(e, a) && (e = a, r)) {
495
495
  const l = !te.length;
496
496
  for (const u of n)
497
497
  u[1](), te.push(u, e);
@@ -513,12 +513,12 @@ function Ge(e, t = U) {
513
513
  }
514
514
  return { set: i, update: o, subscribe: s };
515
515
  }
516
- function he(e, t, r) {
516
+ function le(e, t, r) {
517
517
  const n = !Array.isArray(e), i = n ? [e] : e;
518
518
  if (!i.every(Boolean))
519
519
  throw new Error("derived() expects stores as input, got a falsy value");
520
520
  const o = t.length < 2;
521
- return fn(r, (s, a) => {
521
+ return pn(r, (s, a) => {
522
522
  let l = !1;
523
523
  const u = [];
524
524
  let h = 0, p = U;
@@ -527,12 +527,12 @@ function he(e, t, r) {
527
527
  return;
528
528
  p();
529
529
  const y = t(n ? u[0] : u, s, a);
530
- o ? s(y) : p = bt(y) ? y : U;
530
+ o ? s(y) : p = _t(y) ? y : U;
531
531
  }, b = i.map(
532
- (y, g) => ir(
532
+ (y, g) => sr(
533
533
  y,
534
- (x) => {
535
- u[g] = x, h &= ~(1 << g), l && c();
534
+ (E) => {
535
+ u[g] = E, h &= ~(1 << g), l && c();
536
536
  },
537
537
  () => {
538
538
  h |= 1 << g;
@@ -540,124 +540,110 @@ function he(e, t, r) {
540
540
  )
541
541
  );
542
542
  return l = !0, c(), function() {
543
- le(b), p(), l = !1;
543
+ ue(b), p(), l = !1;
544
544
  };
545
545
  });
546
546
  }
547
- function pn(e) {
547
+ function mn(e) {
548
548
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
549
549
  }
550
- var mn = function(t) {
551
- return dn(t) && !bn(t);
550
+ var dn = function(t) {
551
+ return bn(t) && !gn(t);
552
552
  };
553
- function dn(e) {
553
+ function bn(e) {
554
554
  return !!e && typeof e == "object";
555
555
  }
556
- function bn(e) {
556
+ function gn(e) {
557
557
  var t = Object.prototype.toString.call(e);
558
- return t === "[object RegExp]" || t === "[object Date]" || vn(e);
559
- }
560
- var gn = typeof Symbol == "function" && Symbol.for, yn = gn ? Symbol.for("react.element") : 60103;
561
- function vn(e) {
562
- return e.$$typeof === yn;
558
+ return t === "[object RegExp]" || t === "[object Date]" || _n(e);
563
559
  }
560
+ var yn = typeof Symbol == "function" && Symbol.for, vn = yn ? Symbol.for("react.element") : 60103;
564
561
  function _n(e) {
562
+ return e.$$typeof === vn;
563
+ }
564
+ function En(e) {
565
565
  return Array.isArray(e) ? [] : {};
566
566
  }
567
- function ve(e, t) {
568
- return t.clone !== !1 && t.isMergeableObject(e) ? oe(_n(e), e, t) : e;
567
+ function ye(e, t) {
568
+ return t.clone !== !1 && t.isMergeableObject(e) ? ie(En(e), e, t) : e;
569
569
  }
570
570
  function xn(e, t, r) {
571
571
  return e.concat(t).map(function(n) {
572
- return ve(n, r);
572
+ return ye(n, r);
573
573
  });
574
574
  }
575
- function En(e, t) {
575
+ function Sn(e, t) {
576
576
  if (!t.customMerge)
577
- return oe;
577
+ return ie;
578
578
  var r = t.customMerge(e);
579
- return typeof r == "function" ? r : oe;
579
+ return typeof r == "function" ? r : ie;
580
580
  }
581
- function Sn(e) {
581
+ function Tn(e) {
582
582
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
583
583
  return Object.propertyIsEnumerable.call(e, t);
584
584
  }) : [];
585
585
  }
586
- function Bt(e) {
587
- return Object.keys(e).concat(Sn(e));
586
+ function Mt(e) {
587
+ return Object.keys(e).concat(Tn(e));
588
588
  }
589
- function sr(e, t) {
589
+ function ur(e, t) {
590
590
  try {
591
591
  return t in e;
592
592
  } catch (r) {
593
593
  return !1;
594
594
  }
595
595
  }
596
- function Tn(e, t) {
597
- return sr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
596
+ function wn(e, t) {
597
+ return ur(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
598
598
  }
599
- function wn(e, t, r) {
599
+ function Hn(e, t, r) {
600
600
  var n = {};
601
- return r.isMergeableObject(e) && Bt(e).forEach(function(i) {
602
- n[i] = ve(e[i], r);
603
- }), Bt(t).forEach(function(i) {
604
- Tn(e, i) || (sr(e, i) && r.isMergeableObject(t[i]) ? n[i] = En(i, r)(e[i], t[i], r) : n[i] = ve(t[i], r));
601
+ return r.isMergeableObject(e) && Mt(e).forEach(function(i) {
602
+ n[i] = ye(e[i], r);
603
+ }), Mt(t).forEach(function(i) {
604
+ wn(e, i) || (ur(e, i) && r.isMergeableObject(t[i]) ? n[i] = Sn(i, r)(e[i], t[i], r) : n[i] = ye(t[i], r));
605
605
  }), n;
606
606
  }
607
- function oe(e, t, r) {
608
- r = r || {}, r.arrayMerge = r.arrayMerge || xn, r.isMergeableObject = r.isMergeableObject || mn, r.cloneUnlessOtherwiseSpecified = ve;
607
+ function ie(e, t, r) {
608
+ r = r || {}, r.arrayMerge = r.arrayMerge || xn, r.isMergeableObject = r.isMergeableObject || dn, r.cloneUnlessOtherwiseSpecified = ye;
609
609
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
610
- return o ? n ? r.arrayMerge(e, t, r) : wn(e, t, r) : ve(t, r);
610
+ return o ? n ? r.arrayMerge(e, t, r) : Hn(e, t, r) : ye(t, r);
611
611
  }
612
- oe.all = function(t, r) {
612
+ ie.all = function(t, r) {
613
613
  if (!Array.isArray(t))
614
614
  throw new Error("first argument should be an array");
615
615
  return t.reduce(function(n, i) {
616
- return oe(n, i, r);
616
+ return ie(n, i, r);
617
617
  }, {});
618
618
  };
619
- var Hn = oe, Pn = Hn;
620
- const An = /* @__PURE__ */ pn(Pn);
621
- /*! *****************************************************************************
622
- Copyright (c) Microsoft Corporation.
623
-
624
- Permission to use, copy, modify, and/or distribute this software for any
625
- purpose with or without fee is hereby granted.
626
-
627
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
628
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
629
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
630
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
631
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
632
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
633
- PERFORMANCE OF THIS SOFTWARE.
634
- ***************************************************************************** */
635
- var tt = function(e, t) {
636
- return tt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
619
+ var Pn = ie, An = Pn;
620
+ const On = /* @__PURE__ */ mn(An);
621
+ var nt = function(e, t) {
622
+ return nt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
637
623
  r.__proto__ = n;
638
624
  } || function(r, n) {
639
625
  for (var i in n)
640
626
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
641
- }, tt(e, t);
627
+ }, nt(e, t);
642
628
  };
643
- function X(e, t) {
629
+ function je(e, t) {
644
630
  if (typeof t != "function" && t !== null)
645
631
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
646
- tt(e, t);
632
+ nt(e, t);
647
633
  function r() {
648
634
  this.constructor = e;
649
635
  }
650
636
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
651
637
  }
652
- var S = function() {
653
- return S = Object.assign || function(t) {
638
+ var j = function() {
639
+ return j = Object.assign || function(t) {
654
640
  for (var r, n = 1, i = arguments.length; n < i; n++) {
655
641
  r = arguments[n];
656
642
  for (var o in r)
657
643
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
658
644
  }
659
645
  return t;
660
- }, S.apply(this, arguments);
646
+ }, j.apply(this, arguments);
661
647
  };
662
648
  function Bn(e, t) {
663
649
  var r = {};
@@ -668,46 +654,14 @@ function Bn(e, t) {
668
654
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
669
655
  return r;
670
656
  }
671
- function rt(e) {
672
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
673
- if (r)
674
- return r.call(e);
675
- if (e && typeof e.length == "number")
676
- return {
677
- next: function() {
678
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
679
- }
680
- };
681
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
682
- }
683
- function nt(e, t) {
684
- var r = typeof Symbol == "function" && e[Symbol.iterator];
685
- if (!r)
686
- return e;
687
- var n = r.call(e), i, o = [], s;
688
- try {
689
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
690
- o.push(i.value);
691
- } catch (a) {
692
- s = { error: a };
693
- } finally {
694
- try {
695
- i && !i.done && (r = n.return) && r.call(n);
696
- } finally {
697
- if (s)
698
- throw s.error;
699
- }
700
- }
701
- return o;
702
- }
703
- function ie(e, t, r) {
657
+ function Ze(e, t, r) {
704
658
  if (r || arguments.length === 2)
705
659
  for (var n = 0, i = t.length, o; n < i; n++)
706
660
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
707
- return e.concat(o || t);
661
+ return e.concat(o || Array.prototype.slice.call(t));
708
662
  }
709
- function We(e, t) {
710
- var r = t && t.cache ? t.cache : Nn, n = t && t.serializer ? t.serializer : Ln, i = t && t.strategy ? t.strategy : On;
663
+ function Qe(e, t) {
664
+ var r = t && t.cache ? t.cache : Rn, n = t && t.serializer ? t.serializer : Nn, i = t && t.strategy ? t.strategy : In;
711
665
  return i(e, {
712
666
  cache: r,
713
667
  serializer: n
@@ -716,95 +670,103 @@ function We(e, t) {
716
670
  function Mn(e) {
717
671
  return e == null || typeof e == "number" || typeof e == "boolean";
718
672
  }
719
- function ar(e, t, r, n) {
673
+ function Cn(e, t, r, n) {
720
674
  var i = Mn(n) ? n : r(n), o = t.get(i);
721
675
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
722
676
  }
723
- function ur(e, t, r) {
677
+ function lr(e, t, r) {
724
678
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
725
679
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
726
680
  }
727
- function gt(e, t, r, n, i) {
681
+ function hr(e, t, r, n, i) {
728
682
  return r.bind(t, e, n, i);
729
683
  }
730
- function On(e, t) {
731
- var r = e.length === 1 ? ar : ur;
732
- return gt(e, this, r, t.cache.create(), t.serializer);
733
- }
734
- function Cn(e, t) {
735
- return gt(e, this, ur, t.cache.create(), t.serializer);
736
- }
737
684
  function In(e, t) {
738
- return gt(e, this, ar, t.cache.create(), t.serializer);
685
+ var r = e.length === 1 ? Cn : lr;
686
+ return hr(e, this, r, t.cache.create(), t.serializer);
739
687
  }
740
- var Ln = function() {
741
- return JSON.stringify(arguments);
742
- };
743
- function yt() {
744
- this.cache = /* @__PURE__ */ Object.create(null);
688
+ function Ln(e, t) {
689
+ return hr(e, this, lr, t.cache.create(), t.serializer);
745
690
  }
746
- yt.prototype.get = function(e) {
747
- return this.cache[e];
748
- };
749
- yt.prototype.set = function(e, t) {
750
- this.cache[e] = t;
751
- };
752
- var Nn = {
691
+ var Nn = function() {
692
+ return JSON.stringify(arguments);
693
+ }, $n = (
694
+ /** @class */
695
+ function() {
696
+ function e() {
697
+ this.cache = /* @__PURE__ */ Object.create(null);
698
+ }
699
+ return e.prototype.get = function(t) {
700
+ return this.cache[t];
701
+ }, e.prototype.set = function(t, r) {
702
+ this.cache[t] = r;
703
+ }, e;
704
+ }()
705
+ ), Rn = {
753
706
  create: function() {
754
- return new yt();
707
+ return new $n();
755
708
  }
756
- }, ze = {
757
- variadic: Cn,
758
- monadic: In
759
- }, v;
709
+ }, Ye = {
710
+ variadic: Ln
711
+ }, Re = function() {
712
+ return Re = Object.assign || function(t) {
713
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
714
+ r = arguments[n];
715
+ for (var o in r)
716
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
717
+ }
718
+ return t;
719
+ }, Re.apply(this, arguments);
720
+ };
721
+ var v;
760
722
  (function(e) {
761
723
  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";
762
724
  })(v || (v = {}));
763
- var H;
725
+ var w;
764
726
  (function(e) {
765
727
  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";
766
- })(H || (H = {}));
767
- var se;
728
+ })(w || (w = {}));
729
+ var oe;
768
730
  (function(e) {
769
731
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
770
- })(se || (se = {}));
771
- function Mt(e) {
772
- return e.type === H.literal;
773
- }
774
- function $n(e) {
775
- return e.type === H.argument;
776
- }
777
- function lr(e) {
778
- return e.type === H.number;
732
+ })(oe || (oe = {}));
733
+ function Ct(e) {
734
+ return e.type === w.literal;
779
735
  }
780
- function hr(e) {
781
- return e.type === H.date;
736
+ function Dn(e) {
737
+ return e.type === w.argument;
782
738
  }
783
739
  function cr(e) {
784
- return e.type === H.time;
740
+ return e.type === w.number;
785
741
  }
786
742
  function fr(e) {
787
- return e.type === H.select;
743
+ return e.type === w.date;
788
744
  }
789
745
  function pr(e) {
790
- return e.type === H.plural;
791
- }
792
- function Rn(e) {
793
- return e.type === H.pound;
746
+ return e.type === w.time;
794
747
  }
795
748
  function mr(e) {
796
- return e.type === H.tag;
749
+ return e.type === w.select;
797
750
  }
798
751
  function dr(e) {
799
- return !!(e && typeof e == "object" && e.type === se.number);
752
+ return e.type === w.plural;
753
+ }
754
+ function Un(e) {
755
+ return e.type === w.pound;
756
+ }
757
+ function br(e) {
758
+ return e.type === w.tag;
759
+ }
760
+ function gr(e) {
761
+ return !!(e && typeof e == "object" && e.type === oe.number);
800
762
  }
801
763
  function it(e) {
802
- return !!(e && typeof e == "object" && e.type === se.dateTime);
764
+ return !!(e && typeof e == "object" && e.type === oe.dateTime);
803
765
  }
804
- var br = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dn = /(?:[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;
805
- function Un(e) {
766
+ var yr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Gn = /(?:[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;
767
+ function Fn(e) {
806
768
  var t = {};
807
- return e.replace(Dn, function(r) {
769
+ return e.replace(Gn, function(r) {
808
770
  var n = r.length;
809
771
  switch (r[0]) {
810
772
  case "G":
@@ -893,11 +855,21 @@ function Un(e) {
893
855
  return "";
894
856
  }), t;
895
857
  }
896
- var Gn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
897
- function Fn(e) {
858
+ var H = function() {
859
+ return H = Object.assign || function(t) {
860
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
861
+ r = arguments[n];
862
+ for (var o in r)
863
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
864
+ }
865
+ return t;
866
+ }, H.apply(this, arguments);
867
+ };
868
+ var jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
869
+ function kn(e) {
898
870
  if (e.length === 0)
899
871
  throw new Error("Number skeleton cannot be empty");
900
- for (var t = e.split(Gn).filter(function(c) {
872
+ for (var t = e.split(jn).filter(function(c) {
901
873
  return c.length > 0;
902
874
  }), r = [], n = 0, i = t; n < i.length; n++) {
903
875
  var o = i[n], s = o.split("/");
@@ -912,17 +884,17 @@ function Fn(e) {
912
884
  }
913
885
  return r;
914
886
  }
915
- function jn(e) {
887
+ function Vn(e) {
916
888
  return e.replace(/^(.*?)-/, "");
917
889
  }
918
- var Ot = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, gr = /^(@+)?(\+|#+)?[rs]?$/g, kn = /(\*)(0+)|(#+)(0+)|(0+)/g, yr = /^(0+)$/;
919
- function Ct(e) {
890
+ var It = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vr = /^(@+)?(\+|#+)?[rs]?$/g, Xn = /(\*)(0+)|(#+)(0+)|(0+)/g, _r = /^(0+)$/;
891
+ function Lt(e) {
920
892
  var t = {};
921
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(gr, function(r, n, i) {
893
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vr, function(r, n, i) {
922
894
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
923
895
  }), t;
924
896
  }
925
- function vr(e) {
897
+ function Er(e) {
926
898
  switch (e) {
927
899
  case "sign-auto":
928
900
  return {
@@ -962,7 +934,7 @@ function vr(e) {
962
934
  };
963
935
  }
964
936
  }
965
- function Vn(e) {
937
+ function Wn(e) {
966
938
  var t;
967
939
  if (e[0] === "E" && e[1] === "E" ? (t = {
968
940
  notation: "engineering"
@@ -970,17 +942,17 @@ function Vn(e) {
970
942
  notation: "scientific"
971
943
  }, e = e.slice(1)), t) {
972
944
  var r = e.slice(0, 2);
973
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !yr.test(e))
945
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !_r.test(e))
974
946
  throw new Error("Malformed concise eng/scientific notation");
975
947
  t.minimumIntegerDigits = e.length;
976
948
  }
977
949
  return t;
978
950
  }
979
- function It(e) {
980
- var t = {}, r = vr(e);
951
+ function Nt(e) {
952
+ var t = {}, r = Er(e);
981
953
  return r || t;
982
954
  }
983
- function Xn(e) {
955
+ function zn(e) {
984
956
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
985
957
  var i = n[r];
986
958
  switch (i.stem) {
@@ -1004,7 +976,7 @@ function Xn(e) {
1004
976
  continue;
1005
977
  case "measure-unit":
1006
978
  case "unit":
1007
- t.style = "unit", t.unit = jn(i.options[0]);
979
+ t.style = "unit", t.unit = Vn(i.options[0]);
1008
980
  continue;
1009
981
  case "compact-short":
1010
982
  case "K":
@@ -1015,13 +987,13 @@ function Xn(e) {
1015
987
  t.notation = "compact", t.compactDisplay = "long";
1016
988
  continue;
1017
989
  case "scientific":
1018
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1019
- return S(S({}, l), It(u));
990
+ t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
991
+ return H(H({}, l), Nt(u));
1020
992
  }, {}));
1021
993
  continue;
1022
994
  case "engineering":
1023
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1024
- return S(S({}, l), It(u));
995
+ t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
996
+ return H(H({}, l), Nt(u));
1025
997
  }, {}));
1026
998
  continue;
1027
999
  case "notation-simple":
@@ -1066,7 +1038,7 @@ function Xn(e) {
1066
1038
  case "integer-width":
1067
1039
  if (i.options.length > 1)
1068
1040
  throw new RangeError("integer-width stems only accept a single optional option");
1069
- i.options[0].replace(kn, function(l, u, h, p, c, b) {
1041
+ i.options[0].replace(Xn, function(l, u, h, p, c, b) {
1070
1042
  if (u)
1071
1043
  t.minimumIntegerDigits = h.length;
1072
1044
  else {
@@ -1079,28 +1051,28 @@ function Xn(e) {
1079
1051
  });
1080
1052
  continue;
1081
1053
  }
1082
- if (yr.test(i.stem)) {
1054
+ if (_r.test(i.stem)) {
1083
1055
  t.minimumIntegerDigits = i.stem.length;
1084
1056
  continue;
1085
1057
  }
1086
- if (Ot.test(i.stem)) {
1058
+ if (It.test(i.stem)) {
1087
1059
  if (i.options.length > 1)
1088
1060
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1089
- i.stem.replace(Ot, function(l, u, h, p, c, b) {
1061
+ i.stem.replace(It, function(l, u, h, p, c, b) {
1090
1062
  return h === "*" ? t.minimumFractionDigits = u.length : p && p[0] === "#" ? t.maximumFractionDigits = p.length : c && b ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1091
1063
  });
1092
1064
  var o = i.options[0];
1093
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Ct(o)));
1065
+ o === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = H(H({}, t), Lt(o)));
1094
1066
  continue;
1095
1067
  }
1096
- if (gr.test(i.stem)) {
1097
- t = S(S({}, t), Ct(i.stem));
1068
+ if (vr.test(i.stem)) {
1069
+ t = H(H({}, t), Lt(i.stem));
1098
1070
  continue;
1099
1071
  }
1100
- var s = vr(i.stem);
1101
- s && (t = S(S({}, t), s));
1102
- var a = Vn(i.stem);
1103
- a && (t = S(S({}, t), a));
1072
+ var s = Er(i.stem);
1073
+ s && (t = H(H({}, t), s));
1074
+ var a = Wn(i.stem);
1075
+ a && (t = H(H({}, t), a));
1104
1076
  }
1105
1077
  return t;
1106
1078
  }
@@ -2519,13 +2491,13 @@ var Ae = {
2519
2491
  "h"
2520
2492
  ]
2521
2493
  };
2522
- function Wn(e, t) {
2494
+ function Zn(e, t) {
2523
2495
  for (var r = "", n = 0; n < e.length; n++) {
2524
2496
  var i = e.charAt(n);
2525
2497
  if (i === "j") {
2526
2498
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2527
2499
  o++, n++;
2528
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = zn(t);
2500
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Qn(t);
2529
2501
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2530
2502
  r += l;
2531
2503
  for (; s-- > 0; )
@@ -2535,7 +2507,7 @@ function Wn(e, t) {
2535
2507
  }
2536
2508
  return r;
2537
2509
  }
2538
- function zn(e) {
2510
+ function Qn(e) {
2539
2511
  var t = e.hourCycle;
2540
2512
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2541
2513
  e.hourCycles && // @ts-ignore
@@ -2557,20 +2529,20 @@ function zn(e) {
2557
2529
  var i = Ae[n || ""] || Ae[r || ""] || Ae["".concat(r, "-001")] || Ae["001"];
2558
2530
  return i[0];
2559
2531
  }
2560
- var Ze, Zn = new RegExp("^".concat(br.source, "*")), Qn = new RegExp("".concat(br.source, "*$"));
2532
+ var Je, Yn = new RegExp("^".concat(yr.source, "*")), Jn = new RegExp("".concat(yr.source, "*$"));
2561
2533
  function _(e, t) {
2562
2534
  return { start: e, end: t };
2563
2535
  }
2564
- var Yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Jn = !!String.fromCodePoint, qn = !!Object.fromEntries, Kn = !!String.prototype.codePointAt, ei = !!String.prototype.trimStart, ti = !!String.prototype.trimEnd, ri = !!Number.isSafeInteger, ni = ri ? Number.isSafeInteger : function(e) {
2536
+ var qn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kn = !!String.fromCodePoint, ei = !!Object.fromEntries, ti = !!String.prototype.codePointAt, ri = !!String.prototype.trimStart, ni = !!String.prototype.trimEnd, ii = !!Number.isSafeInteger, oi = ii ? Number.isSafeInteger : function(e) {
2565
2537
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2566
2538
  }, ot = !0;
2567
2539
  try {
2568
- var ii = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2569
- ot = ((Ze = ii.exec("a")) === null || Ze === void 0 ? void 0 : Ze[0]) === "a";
2540
+ var si = Sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2541
+ ot = ((Je = si.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
2570
2542
  } catch (e) {
2571
2543
  ot = !1;
2572
2544
  }
2573
- var Lt = Yn ? (
2545
+ var $t = qn ? (
2574
2546
  // Native
2575
2547
  function(t, r, n) {
2576
2548
  return t.startsWith(r, n);
@@ -2580,7 +2552,7 @@ var Lt = Yn ? (
2580
2552
  function(t, r, n) {
2581
2553
  return t.slice(n, n + r.length) === r;
2582
2554
  }
2583
- ), st = Jn ? String.fromCodePoint : (
2555
+ ), st = Kn ? String.fromCodePoint : (
2584
2556
  // IE11
2585
2557
  function() {
2586
2558
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2592,9 +2564,9 @@ var Lt = Yn ? (
2592
2564
  }
2593
2565
  return n;
2594
2566
  }
2595
- ), Nt = (
2567
+ ), Rt = (
2596
2568
  // native
2597
- qn ? Object.fromEntries : (
2569
+ ei ? Object.fromEntries : (
2598
2570
  // Ponyfill
2599
2571
  function(t) {
2600
2572
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2604,7 +2576,7 @@ var Lt = Yn ? (
2604
2576
  return r;
2605
2577
  }
2606
2578
  )
2607
- ), _r = Kn ? (
2579
+ ), xr = ti ? (
2608
2580
  // Native
2609
2581
  function(t, r) {
2610
2582
  return t.codePointAt(r);
@@ -2618,7 +2590,7 @@ var Lt = Yn ? (
2618
2590
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2619
2591
  }
2620
2592
  }
2621
- ), oi = ei ? (
2593
+ ), ai = ri ? (
2622
2594
  // Native
2623
2595
  function(t) {
2624
2596
  return t.trimStart();
@@ -2626,9 +2598,9 @@ var Lt = Yn ? (
2626
2598
  ) : (
2627
2599
  // Ponyfill
2628
2600
  function(t) {
2629
- return t.replace(Zn, "");
2601
+ return t.replace(Yn, "");
2630
2602
  }
2631
- ), si = ti ? (
2603
+ ), ui = ni ? (
2632
2604
  // Native
2633
2605
  function(t) {
2634
2606
  return t.trimEnd();
@@ -2636,32 +2608,32 @@ var Lt = Yn ? (
2636
2608
  ) : (
2637
2609
  // Ponyfill
2638
2610
  function(t) {
2639
- return t.replace(Qn, "");
2611
+ return t.replace(Jn, "");
2640
2612
  }
2641
2613
  );
2642
- function xr(e, t) {
2614
+ function Sr(e, t) {
2643
2615
  return new RegExp(e, t);
2644
2616
  }
2645
2617
  var at;
2646
2618
  if (ot) {
2647
- var $t = xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2619
+ var Dt = Sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2648
2620
  at = function(t, r) {
2649
2621
  var n;
2650
- $t.lastIndex = r;
2651
- var i = $t.exec(t);
2622
+ Dt.lastIndex = r;
2623
+ var i = Dt.exec(t);
2652
2624
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2653
2625
  };
2654
2626
  } else
2655
2627
  at = function(t, r) {
2656
2628
  for (var n = []; ; ) {
2657
- var i = _r(t, r);
2658
- if (i === void 0 || Er(i) || hi(i))
2629
+ var i = xr(t, r);
2630
+ if (i === void 0 || Tr(i) || fi(i))
2659
2631
  break;
2660
2632
  n.push(i), r += i >= 65536 ? 2 : 1;
2661
2633
  }
2662
2634
  return st.apply(void 0, n);
2663
2635
  };
2664
- var ai = (
2636
+ var li = (
2665
2637
  /** @class */
2666
2638
  function() {
2667
2639
  function e(t, r) {
@@ -2685,7 +2657,7 @@ var ai = (
2685
2657
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2686
2658
  var a = this.clonePosition();
2687
2659
  this.bump(), i.push({
2688
- type: H.pound,
2660
+ type: w.pound,
2689
2661
  location: _(a, this.clonePosition())
2690
2662
  });
2691
2663
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
@@ -2713,7 +2685,7 @@ var ai = (
2713
2685
  if (this.bumpSpace(), this.bumpIf("/>"))
2714
2686
  return {
2715
2687
  val: {
2716
- type: H.literal,
2688
+ type: w.literal,
2717
2689
  value: "<".concat(i, "/>"),
2718
2690
  location: _(n, this.clonePosition())
2719
2691
  },
@@ -2730,7 +2702,7 @@ var ai = (
2730
2702
  var l = this.clonePosition(), u = this.parseTagName();
2731
2703
  return i !== u ? this.error(v.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2732
2704
  val: {
2733
- type: H.tag,
2705
+ type: w.tag,
2734
2706
  value: i,
2735
2707
  children: s,
2736
2708
  location: _(n, this.clonePosition())
@@ -2743,7 +2715,7 @@ var ai = (
2743
2715
  return this.error(v.INVALID_TAG, _(n, this.clonePosition()));
2744
2716
  }, e.prototype.parseTagName = function() {
2745
2717
  var t = this.offset();
2746
- for (this.bump(); !this.isEOF() && li(this.char()); )
2718
+ for (this.bump(); !this.isEOF() && ci(this.char()); )
2747
2719
  this.bump();
2748
2720
  return this.message.slice(t, this.offset());
2749
2721
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2767,12 +2739,12 @@ var ai = (
2767
2739
  }
2768
2740
  var l = _(n, this.clonePosition());
2769
2741
  return {
2770
- val: { type: H.literal, value: i, location: l },
2742
+ val: { type: w.literal, value: i, location: l },
2771
2743
  err: null
2772
2744
  };
2773
2745
  }, e.prototype.tryParseLeftAngleBracket = function() {
2774
2746
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2775
- !ui(this.peek() || 0)) ? (this.bump(), "<") : null;
2747
+ !hi(this.peek() || 0)) ? (this.bump(), "<") : null;
2776
2748
  }, e.prototype.tryParseQuote = function(t) {
2777
2749
  if (this.isEOF() || this.char() !== 39)
2778
2750
  return null;
@@ -2827,7 +2799,7 @@ var ai = (
2827
2799
  case 125:
2828
2800
  return this.bump(), {
2829
2801
  val: {
2830
- type: H.argument,
2802
+ type: w.argument,
2831
2803
  // value does not include the opening and closing braces.
2832
2804
  value: i,
2833
2805
  location: _(n, this.clonePosition())
@@ -2859,7 +2831,7 @@ var ai = (
2859
2831
  var h = this.clonePosition(), p = this.parseSimpleArgStyleIfPossible();
2860
2832
  if (p.err)
2861
2833
  return p;
2862
- var c = si(p.val);
2834
+ var c = ui(p.val);
2863
2835
  if (c.length === 0)
2864
2836
  return this.error(v.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
2865
2837
  var b = _(h, this.clonePosition());
@@ -2869,34 +2841,34 @@ var ai = (
2869
2841
  if (y.err)
2870
2842
  return y;
2871
2843
  var g = _(i, this.clonePosition());
2872
- if (u && Lt(u == null ? void 0 : u.style, "::", 0)) {
2873
- var x = oi(u.style.slice(2));
2844
+ if (u && $t(u == null ? void 0 : u.style, "::", 0)) {
2845
+ var E = ai(u.style.slice(2));
2874
2846
  if (a === "number") {
2875
- var p = this.parseNumberSkeletonFromString(x, u.styleLocation);
2847
+ var p = this.parseNumberSkeletonFromString(E, u.styleLocation);
2876
2848
  return p.err ? p : {
2877
- val: { type: H.number, value: n, location: g, style: p.val },
2849
+ val: { type: w.number, value: n, location: g, style: p.val },
2878
2850
  err: null
2879
2851
  };
2880
2852
  } else {
2881
- if (x.length === 0)
2853
+ if (E.length === 0)
2882
2854
  return this.error(v.EXPECT_DATE_TIME_SKELETON, g);
2883
- var A = x;
2884
- this.locale && (A = Wn(x, this.locale));
2855
+ var A = E;
2856
+ this.locale && (A = Zn(E, this.locale));
2885
2857
  var c = {
2886
- type: se.dateTime,
2858
+ type: oe.dateTime,
2887
2859
  pattern: A,
2888
2860
  location: u.styleLocation,
2889
- parsedOptions: this.shouldParseSkeletons ? Un(A) : {}
2890
- }, E = a === "date" ? H.date : H.time;
2861
+ parsedOptions: this.shouldParseSkeletons ? Fn(A) : {}
2862
+ }, x = a === "date" ? w.date : w.time;
2891
2863
  return {
2892
- val: { type: E, value: n, location: g, style: c },
2864
+ val: { type: x, value: n, location: g, style: c },
2893
2865
  err: null
2894
2866
  };
2895
2867
  }
2896
2868
  }
2897
2869
  return {
2898
2870
  val: {
2899
- type: a === "number" ? H.number : a === "date" ? H.date : H.time,
2871
+ type: a === "number" ? w.number : a === "date" ? w.date : w.time,
2900
2872
  value: n,
2901
2873
  location: g,
2902
2874
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
@@ -2909,38 +2881,38 @@ var ai = (
2909
2881
  case "select": {
2910
2882
  var f = this.clonePosition();
2911
2883
  if (this.bumpSpace(), !this.bumpIf(","))
2912
- return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(f, S({}, f)));
2884
+ return this.error(v.EXPECT_SELECT_ARGUMENT_OPTIONS, _(f, Re({}, f)));
2913
2885
  this.bumpSpace();
2914
- var w = this.parseIdentifierIfPossible(), d = 0;
2915
- if (a !== "select" && w.value === "offset") {
2886
+ var T = this.parseIdentifierIfPossible(), d = 0;
2887
+ if (a !== "select" && T.value === "offset") {
2916
2888
  if (!this.bumpIf(":"))
2917
2889
  return this.error(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
2918
2890
  this.bumpSpace();
2919
2891
  var p = this.tryParseDecimalInteger(v.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2920
2892
  if (p.err)
2921
2893
  return p;
2922
- this.bumpSpace(), w = this.parseIdentifierIfPossible(), d = p.val;
2894
+ this.bumpSpace(), T = this.parseIdentifierIfPossible(), d = p.val;
2923
2895
  }
2924
- var M = this.tryParsePluralOrSelectOptions(t, a, r, w);
2925
- if (M.err)
2926
- return M;
2896
+ var B = this.tryParsePluralOrSelectOptions(t, a, r, T);
2897
+ if (B.err)
2898
+ return B;
2927
2899
  var y = this.tryParseArgumentClose(i);
2928
2900
  if (y.err)
2929
2901
  return y;
2930
2902
  var G = _(i, this.clonePosition());
2931
2903
  return a === "select" ? {
2932
2904
  val: {
2933
- type: H.select,
2905
+ type: w.select,
2934
2906
  value: n,
2935
- options: Nt(M.val),
2907
+ options: Rt(B.val),
2936
2908
  location: G
2937
2909
  },
2938
2910
  err: null
2939
2911
  } : {
2940
2912
  val: {
2941
- type: H.plural,
2913
+ type: w.plural,
2942
2914
  value: n,
2943
- options: Nt(M.val),
2915
+ options: Rt(B.val),
2944
2916
  offset: d,
2945
2917
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2946
2918
  location: G
@@ -2991,16 +2963,16 @@ var ai = (
2991
2963
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2992
2964
  var n = [];
2993
2965
  try {
2994
- n = Fn(t);
2966
+ n = kn(t);
2995
2967
  } catch (i) {
2996
2968
  return this.error(v.INVALID_NUMBER_SKELETON, r);
2997
2969
  }
2998
2970
  return {
2999
2971
  val: {
3000
- type: se.number,
2972
+ type: oe.number,
3001
2973
  tokens: n,
3002
2974
  location: r,
3003
- parsedOptions: this.shouldParseSkeletons ? Xn(n) : {}
2975
+ parsedOptions: this.shouldParseSkeletons ? zn(n) : {}
3004
2976
  },
3005
2977
  err: null
3006
2978
  };
@@ -3048,7 +3020,7 @@ var ai = (
3048
3020
  break;
3049
3021
  }
3050
3022
  var l = _(i, this.clonePosition());
3051
- return o ? (s *= n, ni(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3023
+ return o ? (s *= n, oi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3052
3024
  }, e.prototype.offset = function() {
3053
3025
  return this.position.offset;
3054
3026
  }, e.prototype.isEOF = function() {
@@ -3063,7 +3035,7 @@ var ai = (
3063
3035
  var t = this.position.offset;
3064
3036
  if (t >= this.message.length)
3065
3037
  throw Error("out of bound");
3066
- var r = _r(this.message, t);
3038
+ var r = xr(this.message, t);
3067
3039
  if (r === void 0)
3068
3040
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3069
3041
  return r;
@@ -3082,7 +3054,7 @@ var ai = (
3082
3054
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3083
3055
  }
3084
3056
  }, e.prototype.bumpIf = function(t) {
3085
- if (Lt(this.message, t, this.offset())) {
3057
+ if ($t(this.message, t, this.offset())) {
3086
3058
  for (var r = 0; r < t.length; r++)
3087
3059
  this.bump();
3088
3060
  return !0;
@@ -3104,7 +3076,7 @@ var ai = (
3104
3076
  break;
3105
3077
  }
3106
3078
  }, e.prototype.bumpSpace = function() {
3107
- for (; !this.isEOF() && Er(this.char()); )
3079
+ for (; !this.isEOF() && Tr(this.char()); )
3108
3080
  this.bump();
3109
3081
  }, e.prototype.peek = function() {
3110
3082
  if (this.isEOF())
@@ -3117,44 +3089,44 @@ var ai = (
3117
3089
  function ut(e) {
3118
3090
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3119
3091
  }
3120
- function ui(e) {
3092
+ function hi(e) {
3121
3093
  return ut(e) || e === 47;
3122
3094
  }
3123
- function li(e) {
3095
+ function ci(e) {
3124
3096
  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;
3125
3097
  }
3126
- function Er(e) {
3098
+ function Tr(e) {
3127
3099
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3128
3100
  }
3129
- function hi(e) {
3101
+ function fi(e) {
3130
3102
  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;
3131
3103
  }
3132
3104
  function lt(e) {
3133
3105
  e.forEach(function(t) {
3134
- if (delete t.location, fr(t) || pr(t))
3106
+ if (delete t.location, mr(t) || dr(t))
3135
3107
  for (var r in t.options)
3136
3108
  delete t.options[r].location, lt(t.options[r].value);
3137
3109
  else
3138
- lr(t) && dr(t.style) || (hr(t) || cr(t)) && it(t.style) ? delete t.style.location : mr(t) && lt(t.children);
3110
+ cr(t) && gr(t.style) || (fr(t) || pr(t)) && it(t.style) ? delete t.style.location : br(t) && lt(t.children);
3139
3111
  });
3140
3112
  }
3141
- function ci(e, t) {
3142
- t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3143
- var r = new ai(e, t).parse();
3113
+ function pi(e, t) {
3114
+ t === void 0 && (t = {}), t = Re({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3115
+ var r = new li(e, t).parse();
3144
3116
  if (r.err) {
3145
3117
  var n = SyntaxError(v[r.err.kind]);
3146
3118
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3147
3119
  }
3148
3120
  return t != null && t.captureLocation || lt(r.val), r.val;
3149
3121
  }
3150
- var ae;
3122
+ var se;
3151
3123
  (function(e) {
3152
3124
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3153
- })(ae || (ae = {}));
3154
- var Fe = (
3125
+ })(se || (se = {}));
3126
+ var ke = (
3155
3127
  /** @class */
3156
3128
  function(e) {
3157
- X(t, e);
3129
+ je(t, e);
3158
3130
  function t(r, n, i) {
3159
3131
  var o = e.call(this, r) || this;
3160
3132
  return o.code = n, o.originalMessage = i, o;
@@ -3163,48 +3135,48 @@ var Fe = (
3163
3135
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3164
3136
  }, t;
3165
3137
  }(Error)
3166
- ), Rt = (
3138
+ ), Ut = (
3167
3139
  /** @class */
3168
3140
  function(e) {
3169
- X(t, e);
3141
+ je(t, e);
3170
3142
  function t(r, n, i, o) {
3171
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), ae.INVALID_VALUE, o) || this;
3143
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), se.INVALID_VALUE, o) || this;
3172
3144
  }
3173
3145
  return t;
3174
- }(Fe)
3175
- ), fi = (
3146
+ }(ke)
3147
+ ), mi = (
3176
3148
  /** @class */
3177
3149
  function(e) {
3178
- X(t, e);
3150
+ je(t, e);
3179
3151
  function t(r, n, i) {
3180
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), ae.INVALID_VALUE, i) || this;
3152
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), se.INVALID_VALUE, i) || this;
3181
3153
  }
3182
3154
  return t;
3183
- }(Fe)
3184
- ), pi = (
3155
+ }(ke)
3156
+ ), di = (
3185
3157
  /** @class */
3186
3158
  function(e) {
3187
- X(t, e);
3159
+ je(t, e);
3188
3160
  function t(r, n) {
3189
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), ae.MISSING_VALUE, n) || this;
3161
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), se.MISSING_VALUE, n) || this;
3190
3162
  }
3191
3163
  return t;
3192
- }(Fe)
3164
+ }(ke)
3193
3165
  ), C;
3194
3166
  (function(e) {
3195
3167
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3196
3168
  })(C || (C = {}));
3197
- function mi(e) {
3169
+ function bi(e) {
3198
3170
  return e.length < 2 ? e : e.reduce(function(t, r) {
3199
3171
  var n = t[t.length - 1];
3200
3172
  return !n || n.type !== C.literal || r.type !== C.literal ? t.push(r) : n.value += r.value, t;
3201
3173
  }, []);
3202
3174
  }
3203
- function di(e) {
3175
+ function gi(e) {
3204
3176
  return typeof e == "function";
3205
3177
  }
3206
3178
  function Ie(e, t, r, n, i, o, s) {
3207
- if (e.length === 1 && Mt(e[0]))
3179
+ if (e.length === 1 && Ct(e[0]))
3208
3180
  return [
3209
3181
  {
3210
3182
  type: C.literal,
@@ -3213,14 +3185,14 @@ function Ie(e, t, r, n, i, o, s) {
3213
3185
  ];
3214
3186
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3215
3187
  var h = u[l];
3216
- if (Mt(h)) {
3188
+ if (Ct(h)) {
3217
3189
  a.push({
3218
3190
  type: C.literal,
3219
3191
  value: h.value
3220
3192
  });
3221
3193
  continue;
3222
3194
  }
3223
- if (Rn(h)) {
3195
+ if (Un(h)) {
3224
3196
  typeof o == "number" && a.push({
3225
3197
  type: C.literal,
3226
3198
  value: r.getNumberFormat(t).format(o)
@@ -3229,16 +3201,16 @@ function Ie(e, t, r, n, i, o, s) {
3229
3201
  }
3230
3202
  var p = h.value;
3231
3203
  if (!(i && p in i))
3232
- throw new pi(p, s);
3204
+ throw new di(p, s);
3233
3205
  var c = i[p];
3234
- if ($n(h)) {
3206
+ if (Dn(h)) {
3235
3207
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3236
3208
  type: typeof c == "string" ? C.literal : C.object,
3237
3209
  value: c
3238
3210
  });
3239
3211
  continue;
3240
3212
  }
3241
- if (hr(h)) {
3213
+ if (fr(h)) {
3242
3214
  var b = typeof h.style == "string" ? n.date[h.style] : it(h.style) ? h.style.parsedOptions : void 0;
3243
3215
  a.push({
3244
3216
  type: C.literal,
@@ -3246,7 +3218,7 @@ function Ie(e, t, r, n, i, o, s) {
3246
3218
  });
3247
3219
  continue;
3248
3220
  }
3249
- if (cr(h)) {
3221
+ if (pr(h)) {
3250
3222
  var b = typeof h.style == "string" ? n.time[h.style] : it(h.style) ? h.style.parsedOptions : n.time.medium;
3251
3223
  a.push({
3252
3224
  type: C.literal,
@@ -3254,64 +3226,64 @@ function Ie(e, t, r, n, i, o, s) {
3254
3226
  });
3255
3227
  continue;
3256
3228
  }
3257
- if (lr(h)) {
3258
- var b = typeof h.style == "string" ? n.number[h.style] : dr(h.style) ? h.style.parsedOptions : void 0;
3229
+ if (cr(h)) {
3230
+ var b = typeof h.style == "string" ? n.number[h.style] : gr(h.style) ? h.style.parsedOptions : void 0;
3259
3231
  b && b.scale && (c = c * (b.scale || 1)), a.push({
3260
3232
  type: C.literal,
3261
3233
  value: r.getNumberFormat(t, b).format(c)
3262
3234
  });
3263
3235
  continue;
3264
3236
  }
3265
- if (mr(h)) {
3266
- var y = h.children, g = h.value, x = i[g];
3267
- if (!di(x))
3268
- throw new fi(g, "function", s);
3269
- var A = Ie(y, t, r, n, i, o), E = x(A.map(function(d) {
3237
+ if (br(h)) {
3238
+ var y = h.children, g = h.value, E = i[g];
3239
+ if (!gi(E))
3240
+ throw new mi(g, "function", s);
3241
+ var A = Ie(y, t, r, n, i, o), x = E(A.map(function(d) {
3270
3242
  return d.value;
3271
3243
  }));
3272
- Array.isArray(E) || (E = [E]), a.push.apply(a, E.map(function(d) {
3244
+ Array.isArray(x) || (x = [x]), a.push.apply(a, x.map(function(d) {
3273
3245
  return {
3274
3246
  type: typeof d == "string" ? C.literal : C.object,
3275
3247
  value: d
3276
3248
  };
3277
3249
  }));
3278
3250
  }
3279
- if (fr(h)) {
3251
+ if (mr(h)) {
3280
3252
  var f = h.options[c] || h.options.other;
3281
3253
  if (!f)
3282
- throw new Rt(h.value, c, Object.keys(h.options), s);
3254
+ throw new Ut(h.value, c, Object.keys(h.options), s);
3283
3255
  a.push.apply(a, Ie(f.value, t, r, n, i));
3284
3256
  continue;
3285
3257
  }
3286
- if (pr(h)) {
3258
+ if (dr(h)) {
3287
3259
  var f = h.options["=".concat(c)];
3288
3260
  if (!f) {
3289
3261
  if (!Intl.PluralRules)
3290
- throw new Fe(`Intl.PluralRules is not available in this environment.
3262
+ throw new ke(`Intl.PluralRules is not available in this environment.
3291
3263
  Try polyfilling it using "@formatjs/intl-pluralrules"
3292
- `, ae.MISSING_INTL_API, s);
3293
- var w = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3294
- f = h.options[w] || h.options.other;
3264
+ `, se.MISSING_INTL_API, s);
3265
+ var T = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3266
+ f = h.options[T] || h.options.other;
3295
3267
  }
3296
3268
  if (!f)
3297
- throw new Rt(h.value, c, Object.keys(h.options), s);
3269
+ throw new Ut(h.value, c, Object.keys(h.options), s);
3298
3270
  a.push.apply(a, Ie(f.value, t, r, n, i, c - (h.offset || 0)));
3299
3271
  continue;
3300
3272
  }
3301
3273
  }
3302
- return mi(a);
3274
+ return bi(a);
3303
3275
  }
3304
- function bi(e, t) {
3305
- return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3306
- return r[n] = S(S({}, e[n]), t[n] || {}), r;
3276
+ function yi(e, t) {
3277
+ return t ? j(j(j({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3278
+ return r[n] = j(j({}, e[n]), t[n] || {}), r;
3307
3279
  }, {})) : e;
3308
3280
  }
3309
- function gi(e, t) {
3281
+ function vi(e, t) {
3310
3282
  return t ? Object.keys(e).reduce(function(r, n) {
3311
- return r[n] = bi(e[n], t[n]), r;
3312
- }, S({}, e)) : e;
3283
+ return r[n] = yi(e[n], t[n]), r;
3284
+ }, j({}, e)) : e;
3313
3285
  }
3314
- function Qe(e) {
3286
+ function qe(e) {
3315
3287
  return {
3316
3288
  create: function() {
3317
3289
  return {
@@ -3325,39 +3297,39 @@ function Qe(e) {
3325
3297
  }
3326
3298
  };
3327
3299
  }
3328
- function yi(e) {
3300
+ function _i(e) {
3329
3301
  return e === void 0 && (e = {
3330
3302
  number: {},
3331
3303
  dateTime: {},
3332
3304
  pluralRules: {}
3333
3305
  }), {
3334
- getNumberFormat: We(function() {
3306
+ getNumberFormat: Qe(function() {
3335
3307
  for (var t, r = [], n = 0; n < arguments.length; n++)
3336
3308
  r[n] = arguments[n];
3337
- return new ((t = Intl.NumberFormat).bind.apply(t, ie([void 0], r, !1)))();
3309
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ze([void 0], r, !1)))();
3338
3310
  }, {
3339
- cache: Qe(e.number),
3340
- strategy: ze.variadic
3311
+ cache: qe(e.number),
3312
+ strategy: Ye.variadic
3341
3313
  }),
3342
- getDateTimeFormat: We(function() {
3314
+ getDateTimeFormat: Qe(function() {
3343
3315
  for (var t, r = [], n = 0; n < arguments.length; n++)
3344
3316
  r[n] = arguments[n];
3345
- return new ((t = Intl.DateTimeFormat).bind.apply(t, ie([void 0], r, !1)))();
3317
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ze([void 0], r, !1)))();
3346
3318
  }, {
3347
- cache: Qe(e.dateTime),
3348
- strategy: ze.variadic
3319
+ cache: qe(e.dateTime),
3320
+ strategy: Ye.variadic
3349
3321
  }),
3350
- getPluralRules: We(function() {
3322
+ getPluralRules: Qe(function() {
3351
3323
  for (var t, r = [], n = 0; n < arguments.length; n++)
3352
3324
  r[n] = arguments[n];
3353
- return new ((t = Intl.PluralRules).bind.apply(t, ie([void 0], r, !1)))();
3325
+ return new ((t = Intl.PluralRules).bind.apply(t, Ze([void 0], r, !1)))();
3354
3326
  }, {
3355
- cache: Qe(e.pluralRules),
3356
- strategy: ze.variadic
3327
+ cache: qe(e.pluralRules),
3328
+ strategy: Ye.variadic
3357
3329
  })
3358
3330
  };
3359
3331
  }
3360
- var Sr = (
3332
+ var wr = (
3361
3333
  /** @class */
3362
3334
  function() {
3363
3335
  function e(t, r, n, i) {
@@ -3390,12 +3362,12 @@ var Sr = (
3390
3362
  var s = i || {};
3391
3363
  s.formatters;
3392
3364
  var a = Bn(s, ["formatters"]);
3393
- this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
3365
+ this.ast = e.__parse(t, j(j({}, a), { locale: this.resolvedLocale }));
3394
3366
  } else
3395
3367
  this.ast = t;
3396
3368
  if (!Array.isArray(this.ast))
3397
3369
  throw new TypeError("A message must be provided as a String or AST.");
3398
- this.formats = gi(e.formats, n), this.formatters = i && i.formatters || yi(this.formatterCache);
3370
+ this.formats = vi(e.formats, n), this.formatters = i && i.formatters || _i(this.formatterCache);
3399
3371
  }
3400
3372
  return Object.defineProperty(e, "defaultLocale", {
3401
3373
  get: function() {
@@ -3408,7 +3380,7 @@ var Sr = (
3408
3380
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3409
3381
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3410
3382
  }
3411
- }, e.__parse = ci, e.formats = {
3383
+ }, e.__parse = pi, e.formats = {
3412
3384
  number: {
3413
3385
  integer: {
3414
3386
  maximumFractionDigits: 0
@@ -3469,7 +3441,7 @@ var Sr = (
3469
3441
  }, e;
3470
3442
  }()
3471
3443
  );
3472
- function vi(e, t) {
3444
+ function Ei(e, t) {
3473
3445
  if (t == null)
3474
3446
  return;
3475
3447
  if (t in e)
@@ -3490,101 +3462,101 @@ function vi(e, t) {
3490
3462
  n = void 0;
3491
3463
  return n;
3492
3464
  }
3493
- const W = {}, _i = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), Tr = (e, t) => {
3465
+ const W = {}, xi = (e, t, r) => r && (t in W || (W[t] = {}), e in W[t] || (W[t][e] = r), r), Hr = (e, t) => {
3494
3466
  if (t == null)
3495
3467
  return;
3496
3468
  if (t in W && e in W[t])
3497
3469
  return W[t][e];
3498
3470
  const r = Ee(t);
3499
3471
  for (let n = 0; n < r.length; n++) {
3500
- const i = r[n], o = Ei(i, e);
3472
+ const i = r[n], o = Ti(i, e);
3501
3473
  if (o)
3502
- return _i(e, t, o);
3474
+ return xi(e, t, o);
3503
3475
  }
3504
3476
  };
3505
- let vt;
3506
- const xe = Ge({});
3507
- function xi(e) {
3508
- return vt[e] || null;
3477
+ let Et;
3478
+ const _e = Fe({});
3479
+ function Si(e) {
3480
+ return Et[e] || null;
3509
3481
  }
3510
- function wr(e) {
3511
- return e in vt;
3482
+ function Pr(e) {
3483
+ return e in Et;
3512
3484
  }
3513
- function Ei(e, t) {
3514
- if (!wr(e))
3485
+ function Ti(e, t) {
3486
+ if (!Pr(e))
3515
3487
  return null;
3516
- const r = xi(e);
3517
- return vi(r, t);
3488
+ const r = Si(e);
3489
+ return Ei(r, t);
3518
3490
  }
3519
- function Si(e) {
3491
+ function wi(e) {
3520
3492
  if (e == null)
3521
3493
  return;
3522
3494
  const t = Ee(e);
3523
3495
  for (let r = 0; r < t.length; r++) {
3524
3496
  const n = t[r];
3525
- if (wr(n))
3497
+ if (Pr(n))
3526
3498
  return n;
3527
3499
  }
3528
3500
  }
3529
- function Hr(e, ...t) {
3530
- delete W[e], xe.update((r) => (r[e] = An.all([r[e] || {}, ...t]), r));
3501
+ function Ar(e, ...t) {
3502
+ delete W[e], _e.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
3531
3503
  }
3532
- he(
3533
- [xe],
3504
+ le(
3505
+ [_e],
3534
3506
  ([e]) => Object.keys(e)
3535
3507
  );
3536
- xe.subscribe((e) => vt = e);
3508
+ _e.subscribe((e) => Et = e);
3537
3509
  const Le = {};
3538
- function Ti(e, t) {
3510
+ function Hi(e, t) {
3539
3511
  Le[e].delete(t), Le[e].size === 0 && delete Le[e];
3540
3512
  }
3541
- function Pr(e) {
3513
+ function Or(e) {
3542
3514
  return Le[e];
3543
3515
  }
3544
- function wi(e) {
3516
+ function Pi(e) {
3545
3517
  return Ee(e).map((t) => {
3546
- const r = Pr(t);
3518
+ const r = Or(t);
3547
3519
  return [t, r ? [...r] : []];
3548
3520
  }).filter(([, t]) => t.length > 0);
3549
3521
  }
3550
- function Re(e) {
3522
+ function De(e) {
3551
3523
  return e == null ? !1 : Ee(e).some(
3552
3524
  (t) => {
3553
3525
  var r;
3554
- return (r = Pr(t)) == null ? void 0 : r.size;
3526
+ return (r = Or(t)) == null ? void 0 : r.size;
3555
3527
  }
3556
3528
  );
3557
3529
  }
3558
- function Hi(e, t) {
3530
+ function Ai(e, t) {
3559
3531
  return Promise.all(
3560
- t.map((n) => (Ti(e, n), n().then((i) => i.default || i)))
3561
- ).then((n) => Hr(e, ...n));
3562
- }
3563
- const me = {};
3564
- function Ar(e) {
3565
- if (!Re(e))
3566
- return e in me ? me[e] : Promise.resolve();
3567
- const t = wi(e);
3568
- return me[e] = Promise.all(
3532
+ t.map((n) => (Hi(e, n), n().then((i) => i.default || i)))
3533
+ ).then((n) => Ar(e, ...n));
3534
+ }
3535
+ const pe = {};
3536
+ function Br(e) {
3537
+ if (!De(e))
3538
+ return e in pe ? pe[e] : Promise.resolve();
3539
+ const t = Pi(e);
3540
+ return pe[e] = Promise.all(
3569
3541
  t.map(
3570
- ([r, n]) => Hi(r, n)
3542
+ ([r, n]) => Ai(r, n)
3571
3543
  )
3572
3544
  ).then(() => {
3573
- if (Re(e))
3574
- return Ar(e);
3575
- delete me[e];
3576
- }), me[e];
3545
+ if (De(e))
3546
+ return Br(e);
3547
+ delete pe[e];
3548
+ }), pe[e];
3577
3549
  }
3578
- var Dt = Object.getOwnPropertySymbols, Pi = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, Bi = (e, t) => {
3550
+ var Gt = Object.getOwnPropertySymbols, Oi = Object.prototype.hasOwnProperty, Bi = Object.prototype.propertyIsEnumerable, Mi = (e, t) => {
3579
3551
  var r = {};
3580
3552
  for (var n in e)
3581
- Pi.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3582
- if (e != null && Dt)
3583
- for (var n of Dt(e))
3584
- t.indexOf(n) < 0 && Ai.call(e, n) && (r[n] = e[n]);
3553
+ Oi.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3554
+ if (e != null && Gt)
3555
+ for (var n of Gt(e))
3556
+ t.indexOf(n) < 0 && Bi.call(e, n) && (r[n] = e[n]);
3585
3557
  return r;
3586
3558
  };
3587
- const Mi = {
3559
+ const Ci = {
3588
3560
  number: {
3589
3561
  scientific: { notation: "scientific" },
3590
3562
  engineering: { notation: "engineering" },
@@ -3614,159 +3586,159 @@ const Mi = {
3614
3586
  }
3615
3587
  }
3616
3588
  };
3617
- function Oi({ locale: e, id: t }) {
3589
+ function Ii({ locale: e, id: t }) {
3618
3590
  console.warn(
3619
3591
  `[svelte-i18n] The message "${t}" was not found in "${Ee(
3620
3592
  e
3621
- ).join('", "')}".${Re(z()) ? `
3593
+ ).join('", "')}".${De(z()) ? `
3622
3594
 
3623
3595
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3624
3596
  );
3625
3597
  }
3626
- const Ci = {
3598
+ const Li = {
3627
3599
  fallbackLocale: null,
3628
3600
  loadingDelay: 200,
3629
- formats: Mi,
3601
+ formats: Ci,
3630
3602
  warnOnMissingMessages: !0,
3631
3603
  handleMissingMessage: void 0,
3632
3604
  ignoreTag: !0
3633
- }, de = Ci;
3634
- function ue() {
3635
- return de;
3605
+ }, me = Li;
3606
+ function ae() {
3607
+ return me;
3636
3608
  }
3637
- function Ii(e) {
3638
- const t = e, { formats: r } = t, n = Bi(t, ["formats"]);
3609
+ function Ni(e) {
3610
+ const t = e, { formats: r } = t, n = Mi(t, ["formats"]);
3639
3611
  let i = e.fallbackLocale;
3640
3612
  if (e.initialLocale)
3641
3613
  try {
3642
- Sr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3614
+ wr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3643
3615
  } catch (o) {
3644
3616
  console.warn(
3645
3617
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3646
3618
  );
3647
3619
  }
3648
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Oi : console.warn(
3620
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Ii : console.warn(
3649
3621
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3650
- )), Object.assign(de, n, { initialLocale: i }), r && ("number" in r && Object.assign(de.formats.number, r.number), "date" in r && Object.assign(de.formats.date, r.date), "time" in r && Object.assign(de.formats.time, r.time)), Q.set(i);
3622
+ )), Object.assign(me, n, { initialLocale: i }), r && ("number" in r && Object.assign(me.formats.number, r.number), "date" in r && Object.assign(me.formats.date, r.date), "time" in r && Object.assign(me.formats.time, r.time)), Q.set(i);
3651
3623
  }
3652
- const Ye = Ge(!1);
3653
- var Li = Object.defineProperty, Ni = Object.defineProperties, $i = Object.getOwnPropertyDescriptors, Ut = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, Di = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ui = (e, t) => {
3624
+ const Ke = Fe(!1);
3625
+ var $i = Object.defineProperty, Ri = Object.defineProperties, Di = Object.getOwnPropertyDescriptors, Ft = Object.getOwnPropertySymbols, Ui = Object.prototype.hasOwnProperty, Gi = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? $i(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Fi = (e, t) => {
3654
3626
  for (var r in t || (t = {}))
3655
- Ri.call(t, r) && Gt(e, r, t[r]);
3656
- if (Ut)
3657
- for (var r of Ut(t))
3658
- Di.call(t, r) && Gt(e, r, t[r]);
3627
+ Ui.call(t, r) && jt(e, r, t[r]);
3628
+ if (Ft)
3629
+ for (var r of Ft(t))
3630
+ Gi.call(t, r) && jt(e, r, t[r]);
3659
3631
  return e;
3660
- }, Gi = (e, t) => Ni(e, $i(t));
3632
+ }, ji = (e, t) => Ri(e, Di(t));
3661
3633
  let ht;
3662
- const De = Ge(null);
3663
- function Ft(e) {
3634
+ const Ue = Fe(null);
3635
+ function kt(e) {
3664
3636
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3665
3637
  }
3666
- function Ee(e, t = ue().fallbackLocale) {
3667
- const r = Ft(e);
3668
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ft(t)])] : r;
3638
+ function Ee(e, t = ae().fallbackLocale) {
3639
+ const r = kt(e);
3640
+ return t ? [.../* @__PURE__ */ new Set([...r, ...kt(t)])] : r;
3669
3641
  }
3670
3642
  function z() {
3671
3643
  return ht != null ? ht : void 0;
3672
3644
  }
3673
- De.subscribe((e) => {
3645
+ Ue.subscribe((e) => {
3674
3646
  ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3675
3647
  });
3676
- const Fi = (e) => {
3677
- if (e && Si(e) && Re(e)) {
3678
- const { loadingDelay: t } = ue();
3648
+ const ki = (e) => {
3649
+ if (e && wi(e) && De(e)) {
3650
+ const { loadingDelay: t } = ae();
3679
3651
  let r;
3680
3652
  return typeof window != "undefined" && z() != null && t ? r = window.setTimeout(
3681
- () => Ye.set(!0),
3653
+ () => Ke.set(!0),
3682
3654
  t
3683
- ) : Ye.set(!0), Ar(e).then(() => {
3684
- De.set(e);
3655
+ ) : Ke.set(!0), Br(e).then(() => {
3656
+ Ue.set(e);
3685
3657
  }).finally(() => {
3686
- clearTimeout(r), Ye.set(!1);
3658
+ clearTimeout(r), Ke.set(!1);
3687
3659
  });
3688
3660
  }
3689
- return De.set(e);
3690
- }, Q = Gi(Ui({}, De), {
3691
- set: Fi
3692
- }), je = (e) => {
3661
+ return Ue.set(e);
3662
+ }, Q = ji(Fi({}, Ue), {
3663
+ set: ki
3664
+ }), Ve = (e) => {
3693
3665
  const t = /* @__PURE__ */ Object.create(null);
3694
3666
  return (n) => {
3695
3667
  const i = JSON.stringify(n);
3696
3668
  return i in t ? t[i] : t[i] = e(n);
3697
3669
  };
3698
3670
  };
3699
- var ji = Object.defineProperty, Ue = Object.getOwnPropertySymbols, Br = Object.prototype.hasOwnProperty, Mr = Object.prototype.propertyIsEnumerable, jt = (e, t, r) => t in e ? ji(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, _t = (e, t) => {
3671
+ var Vi = Object.defineProperty, Ge = Object.getOwnPropertySymbols, Mr = Object.prototype.hasOwnProperty, Cr = Object.prototype.propertyIsEnumerable, Vt = (e, t, r) => t in e ? Vi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xt = (e, t) => {
3700
3672
  for (var r in t || (t = {}))
3701
- Br.call(t, r) && jt(e, r, t[r]);
3702
- if (Ue)
3703
- for (var r of Ue(t))
3704
- Mr.call(t, r) && jt(e, r, t[r]);
3673
+ Mr.call(t, r) && Vt(e, r, t[r]);
3674
+ if (Ge)
3675
+ for (var r of Ge(t))
3676
+ Cr.call(t, r) && Vt(e, r, t[r]);
3705
3677
  return e;
3706
- }, ce = (e, t) => {
3678
+ }, he = (e, t) => {
3707
3679
  var r = {};
3708
3680
  for (var n in e)
3709
- Br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3710
- if (e != null && Ue)
3711
- for (var n of Ue(e))
3712
- t.indexOf(n) < 0 && Mr.call(e, n) && (r[n] = e[n]);
3681
+ Mr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3682
+ if (e != null && Ge)
3683
+ for (var n of Ge(e))
3684
+ t.indexOf(n) < 0 && Cr.call(e, n) && (r[n] = e[n]);
3713
3685
  return r;
3714
3686
  };
3715
- const _e = (e, t) => {
3716
- const { formats: r } = ue();
3687
+ const ve = (e, t) => {
3688
+ const { formats: r } = ae();
3717
3689
  if (e in r && t in r[e])
3718
3690
  return r[e][t];
3719
3691
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3720
- }, ki = je(
3692
+ }, Xi = Ve(
3721
3693
  (e) => {
3722
- var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
3694
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
3723
3695
  if (r == null)
3724
3696
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3725
- return n && (i = _e("number", n)), new Intl.NumberFormat(r, i);
3697
+ return n && (i = ve("number", n)), new Intl.NumberFormat(r, i);
3726
3698
  }
3727
- ), Vi = je(
3699
+ ), Wi = Ve(
3728
3700
  (e) => {
3729
- var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
3701
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
3730
3702
  if (r == null)
3731
3703
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3732
- return n ? i = _e("date", n) : Object.keys(i).length === 0 && (i = _e("date", "short")), new Intl.DateTimeFormat(r, i);
3704
+ return n ? i = ve("date", n) : Object.keys(i).length === 0 && (i = ve("date", "short")), new Intl.DateTimeFormat(r, i);
3733
3705
  }
3734
- ), Xi = je(
3706
+ ), zi = Ve(
3735
3707
  (e) => {
3736
- var t = e, { locale: r, format: n } = t, i = ce(t, ["locale", "format"]);
3708
+ var t = e, { locale: r, format: n } = t, i = he(t, ["locale", "format"]);
3737
3709
  if (r == null)
3738
3710
  throw new Error(
3739
3711
  '[svelte-i18n] A "locale" must be set to format time values'
3740
3712
  );
3741
- return n ? i = _e("time", n) : Object.keys(i).length === 0 && (i = _e("time", "short")), new Intl.DateTimeFormat(r, i);
3713
+ return n ? i = ve("time", n) : Object.keys(i).length === 0 && (i = ve("time", "short")), new Intl.DateTimeFormat(r, i);
3742
3714
  }
3743
- ), Wi = (e = {}) => {
3715
+ ), Zi = (e = {}) => {
3744
3716
  var t = e, {
3745
3717
  locale: r = z()
3746
- } = t, n = ce(t, [
3718
+ } = t, n = he(t, [
3747
3719
  "locale"
3748
3720
  ]);
3749
- return ki(_t({ locale: r }, n));
3750
- }, zi = (e = {}) => {
3721
+ return Xi(xt({ locale: r }, n));
3722
+ }, Qi = (e = {}) => {
3751
3723
  var t = e, {
3752
3724
  locale: r = z()
3753
- } = t, n = ce(t, [
3725
+ } = t, n = he(t, [
3754
3726
  "locale"
3755
3727
  ]);
3756
- return Vi(_t({ locale: r }, n));
3757
- }, Zi = (e = {}) => {
3728
+ return Wi(xt({ locale: r }, n));
3729
+ }, Yi = (e = {}) => {
3758
3730
  var t = e, {
3759
3731
  locale: r = z()
3760
- } = t, n = ce(t, [
3732
+ } = t, n = he(t, [
3761
3733
  "locale"
3762
3734
  ]);
3763
- return Xi(_t({ locale: r }, n));
3764
- }, Qi = je(
3735
+ return zi(xt({ locale: r }, n));
3736
+ }, Ji = Ve(
3765
3737
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3766
- (e, t = z()) => new Sr(e, t, ue().formats, {
3767
- ignoreTag: ue().ignoreTag
3738
+ (e, t = z()) => new wr(e, t, ae().formats, {
3739
+ ignoreTag: ae().ignoreTag
3768
3740
  })
3769
- ), Yi = (e, t = {}) => {
3741
+ ), qi = (e, t = {}) => {
3770
3742
  var r, n, i, o;
3771
3743
  let s = t;
3772
3744
  typeof e == "object" && (s = e, e = s.id);
@@ -3779,9 +3751,9 @@ const _e = (e, t) => {
3779
3751
  throw new Error(
3780
3752
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3781
3753
  );
3782
- let h = Tr(e, l);
3754
+ let h = Hr(e, l);
3783
3755
  if (!h)
3784
- h = (o = (i = (n = (r = ue()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3756
+ h = (o = (i = (n = (r = ae()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3785
3757
  else if (typeof h != "string")
3786
3758
  return console.warn(
3787
3759
  `[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.`
@@ -3790,7 +3762,7 @@ const _e = (e, t) => {
3790
3762
  return h;
3791
3763
  let p = h;
3792
3764
  try {
3793
- p = Qi(h, l).format(a);
3765
+ p = Ji(h, l).format(a);
3794
3766
  } catch (c) {
3795
3767
  c instanceof Error && console.warn(
3796
3768
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3798,26 +3770,26 @@ const _e = (e, t) => {
3798
3770
  );
3799
3771
  }
3800
3772
  return p;
3801
- }, Ji = (e, t) => Zi(t).format(e), qi = (e, t) => zi(t).format(e), Ki = (e, t) => Wi(t).format(e), eo = (e, t = z()) => Tr(e, t), to = he([Q, xe], () => Yi);
3802
- he([Q], () => Ji);
3803
- he([Q], () => qi);
3804
- he([Q], () => Ki);
3805
- he([Q, xe], () => eo);
3806
- function kt(e, t) {
3807
- Hr(e, t);
3808
- }
3809
- function ro(e) {
3810
- Ii({
3773
+ }, Ki = (e, t) => Yi(t).format(e), eo = (e, t) => Qi(t).format(e), to = (e, t) => Zi(t).format(e), ro = (e, t = z()) => Hr(e, t), no = le([Q, _e], () => qi);
3774
+ le([Q], () => Ki);
3775
+ le([Q], () => eo);
3776
+ le([Q], () => to);
3777
+ le([Q, _e], () => ro);
3778
+ function Xt(e, t) {
3779
+ Ar(e, t);
3780
+ }
3781
+ function io(e) {
3782
+ Ni({
3811
3783
  fallbackLocale: "en"
3812
3784
  }), Q.set(e);
3813
3785
  }
3814
- function no(e, t) {
3786
+ function oo(e, t) {
3815
3787
  if (e) {
3816
3788
  const r = document.createElement("style");
3817
3789
  r.innerHTML = t, e.appendChild(r);
3818
3790
  }
3819
3791
  }
3820
- function io(e, t) {
3792
+ function so(e, t) {
3821
3793
  const r = new URL(t);
3822
3794
  fetch(r.href).then((n) => n.text()).then((n) => {
3823
3795
  const i = document.createElement("style");
@@ -3826,7 +3798,7 @@ function io(e, t) {
3826
3798
  console.error("There was an error while trying to load client styling from URL", n);
3827
3799
  });
3828
3800
  }
3829
- function oo(e, t, r) {
3801
+ function ao(e, t, r) {
3830
3802
  if (window.emMessageBus) {
3831
3803
  const n = document.createElement("style");
3832
3804
  window.emMessageBus.subscribe(t, (i) => {
@@ -3834,16 +3806,85 @@ function oo(e, t, r) {
3834
3806
  });
3835
3807
  }
3836
3808
  }
3837
- function V(e) {
3809
+ /*! *****************************************************************************
3810
+ Copyright (c) Microsoft Corporation.
3811
+
3812
+ Permission to use, copy, modify, and/or distribute this software for any
3813
+ purpose with or without fee is hereby granted.
3814
+
3815
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
3816
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
3817
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
3818
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
3819
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
3820
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
3821
+ PERFORMANCE OF THIS SOFTWARE.
3822
+ ***************************************************************************** */
3823
+ var ct = function(e, t) {
3824
+ return ct = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
3825
+ r.__proto__ = n;
3826
+ } || function(r, n) {
3827
+ for (var i in n)
3828
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
3829
+ }, ct(e, t);
3830
+ };
3831
+ function xe(e, t) {
3832
+ if (typeof t != "function" && t !== null)
3833
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
3834
+ ct(e, t);
3835
+ function r() {
3836
+ this.constructor = e;
3837
+ }
3838
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
3839
+ }
3840
+ function ft(e) {
3841
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
3842
+ if (r)
3843
+ return r.call(e);
3844
+ if (e && typeof e.length == "number")
3845
+ return {
3846
+ next: function() {
3847
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
3848
+ }
3849
+ };
3850
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
3851
+ }
3852
+ function pt(e, t) {
3853
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
3854
+ if (!r)
3855
+ return e;
3856
+ var n = r.call(e), i, o = [], s;
3857
+ try {
3858
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
3859
+ o.push(i.value);
3860
+ } catch (a) {
3861
+ s = { error: a };
3862
+ } finally {
3863
+ try {
3864
+ i && !i.done && (r = n.return) && r.call(n);
3865
+ } finally {
3866
+ if (s)
3867
+ throw s.error;
3868
+ }
3869
+ }
3870
+ return o;
3871
+ }
3872
+ function mt(e, t, r) {
3873
+ if (arguments.length === 2)
3874
+ for (var n = 0, i = t.length, o; n < i; n++)
3875
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
3876
+ return e.concat(o || t);
3877
+ }
3878
+ function X(e) {
3838
3879
  return typeof e == "function";
3839
3880
  }
3840
- function Or(e) {
3881
+ function Ir(e) {
3841
3882
  var t = function(n) {
3842
3883
  Error.call(n), n.stack = new Error().stack;
3843
3884
  }, r = e(t);
3844
3885
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
3845
3886
  }
3846
- var Je = Or(function(e) {
3887
+ var et = Ir(function(e) {
3847
3888
  return function(r) {
3848
3889
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
3849
3890
  ` + r.map(function(n, i) {
@@ -3852,13 +3893,13 @@ var Je = Or(function(e) {
3852
3893
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
3853
3894
  };
3854
3895
  });
3855
- function ct(e, t) {
3896
+ function dt(e, t) {
3856
3897
  if (e) {
3857
3898
  var r = e.indexOf(t);
3858
3899
  0 <= r && e.splice(r, 1);
3859
3900
  }
3860
3901
  }
3861
- var ke = function() {
3902
+ var Xe = function() {
3862
3903
  function e(t) {
3863
3904
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
3864
3905
  }
@@ -3870,7 +3911,7 @@ var ke = function() {
3870
3911
  if (s)
3871
3912
  if (this._parentage = null, Array.isArray(s))
3872
3913
  try {
3873
- for (var a = rt(s), l = a.next(); !l.done; l = a.next()) {
3914
+ for (var a = ft(s), l = a.next(); !l.done; l = a.next()) {
3874
3915
  var u = l.value;
3875
3916
  u.remove(this);
3876
3917
  }
@@ -3887,22 +3928,22 @@ var ke = function() {
3887
3928
  else
3888
3929
  s.remove(this);
3889
3930
  var h = this.initialTeardown;
3890
- if (V(h))
3931
+ if (X(h))
3891
3932
  try {
3892
3933
  h();
3893
3934
  } catch (g) {
3894
- o = g instanceof Je ? g.errors : [g];
3935
+ o = g instanceof et ? g.errors : [g];
3895
3936
  }
3896
3937
  var p = this._finalizers;
3897
3938
  if (p) {
3898
3939
  this._finalizers = null;
3899
3940
  try {
3900
- for (var c = rt(p), b = c.next(); !b.done; b = c.next()) {
3941
+ for (var c = ft(p), b = c.next(); !b.done; b = c.next()) {
3901
3942
  var y = b.value;
3902
3943
  try {
3903
- Vt(y);
3944
+ Wt(y);
3904
3945
  } catch (g) {
3905
- o = o != null ? o : [], g instanceof Je ? o = ie(ie([], nt(o)), nt(g.errors)) : o.push(g);
3946
+ o = o != null ? o : [], g instanceof et ? o = mt(mt([], pt(o)), pt(g.errors)) : o.push(g);
3906
3947
  }
3907
3948
  }
3908
3949
  } catch (g) {
@@ -3917,13 +3958,13 @@ var ke = function() {
3917
3958
  }
3918
3959
  }
3919
3960
  if (o)
3920
- throw new Je(o);
3961
+ throw new et(o);
3921
3962
  }
3922
3963
  }, e.prototype.add = function(t) {
3923
3964
  var r;
3924
3965
  if (t && t !== this)
3925
3966
  if (this.closed)
3926
- Vt(t);
3967
+ Wt(t);
3927
3968
  else {
3928
3969
  if (t instanceof e) {
3929
3970
  if (t.closed || t._hasParent(this))
@@ -3940,56 +3981,52 @@ var ke = function() {
3940
3981
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
3941
3982
  }, e.prototype._removeParent = function(t) {
3942
3983
  var r = this._parentage;
3943
- r === t ? this._parentage = null : Array.isArray(r) && ct(r, t);
3984
+ r === t ? this._parentage = null : Array.isArray(r) && dt(r, t);
3944
3985
  }, e.prototype.remove = function(t) {
3945
3986
  var r = this._finalizers;
3946
- r && ct(r, t), t instanceof e && t._removeParent(this);
3987
+ r && dt(r, t), t instanceof e && t._removeParent(this);
3947
3988
  }, e.EMPTY = function() {
3948
3989
  var t = new e();
3949
3990
  return t.closed = !0, t;
3950
3991
  }(), e;
3951
- }(), Cr = ke.EMPTY;
3952
- function Ir(e) {
3953
- return e instanceof ke || e && "closed" in e && V(e.remove) && V(e.add) && V(e.unsubscribe);
3954
- }
3955
- function Vt(e) {
3956
- V(e) ? e() : e.unsubscribe();
3957
- }
3958
- var Lr = {
3959
- onUnhandledError: null,
3960
- onStoppedNotification: null,
3961
- Promise: void 0,
3962
- useDeprecatedSynchronousErrorHandling: !1,
3963
- useDeprecatedNextContext: !1
3964
- }, so = {
3992
+ }(), Lr = Xe.EMPTY;
3993
+ function Nr(e) {
3994
+ return e instanceof Xe || e && "closed" in e && X(e.remove) && X(e.add) && X(e.unsubscribe);
3995
+ }
3996
+ function Wt(e) {
3997
+ X(e) ? e() : e.unsubscribe();
3998
+ }
3999
+ var uo = {
4000
+ Promise: void 0
4001
+ }, lo = {
3965
4002
  setTimeout: function(e, t) {
3966
4003
  for (var r = [], n = 2; n < arguments.length; n++)
3967
4004
  r[n - 2] = arguments[n];
3968
- return setTimeout.apply(void 0, ie([e, t], nt(r)));
4005
+ return setTimeout.apply(void 0, mt([e, t], pt(r)));
3969
4006
  },
3970
4007
  clearTimeout: function(e) {
3971
4008
  return clearTimeout(e);
3972
4009
  },
3973
4010
  delegate: void 0
3974
4011
  };
3975
- function ao(e) {
3976
- so.setTimeout(function() {
4012
+ function ho(e) {
4013
+ lo.setTimeout(function() {
3977
4014
  throw e;
3978
4015
  });
3979
4016
  }
3980
- function Xt() {
4017
+ function zt() {
3981
4018
  }
3982
4019
  function Ne(e) {
3983
4020
  e();
3984
4021
  }
3985
- var Nr = function(e) {
3986
- X(t, e);
4022
+ var $r = function(e) {
4023
+ xe(t, e);
3987
4024
  function t(r) {
3988
4025
  var n = e.call(this) || this;
3989
- return n.isStopped = !1, r ? (n.destination = r, Ir(r) && r.add(n)) : n.destination = co, n;
4026
+ return n.isStopped = !1, r ? (n.destination = r, Nr(r) && r.add(n)) : n.destination = po, n;
3990
4027
  }
3991
4028
  return t.create = function(r, n, i) {
3992
- return new ft(r, n, i);
4029
+ return new bt(r, n, i);
3993
4030
  }, t.prototype.next = function(r) {
3994
4031
  this.isStopped || this._next(r);
3995
4032
  }, t.prototype.error = function(r) {
@@ -4013,11 +4050,7 @@ var Nr = function(e) {
4013
4050
  this.unsubscribe();
4014
4051
  }
4015
4052
  }, t;
4016
- }(ke), uo = Function.prototype.bind;
4017
- function qe(e, t) {
4018
- return uo.call(e, t);
4019
- }
4020
- var lo = function() {
4053
+ }(Xe), co = function() {
4021
4054
  function e(t) {
4022
4055
  this.partialObserver = t;
4023
4056
  }
@@ -4027,7 +4060,7 @@ var lo = function() {
4027
4060
  try {
4028
4061
  r.next(t);
4029
4062
  } catch (n) {
4030
- Be(n);
4063
+ Oe(n);
4031
4064
  }
4032
4065
  }, e.prototype.error = function(t) {
4033
4066
  var r = this.partialObserver;
@@ -4035,68 +4068,56 @@ var lo = function() {
4035
4068
  try {
4036
4069
  r.error(t);
4037
4070
  } catch (n) {
4038
- Be(n);
4071
+ Oe(n);
4039
4072
  }
4040
4073
  else
4041
- Be(t);
4074
+ Oe(t);
4042
4075
  }, e.prototype.complete = function() {
4043
4076
  var t = this.partialObserver;
4044
4077
  if (t.complete)
4045
4078
  try {
4046
4079
  t.complete();
4047
4080
  } catch (r) {
4048
- Be(r);
4081
+ Oe(r);
4049
4082
  }
4050
4083
  }, e;
4051
- }(), ft = function(e) {
4052
- X(t, e);
4084
+ }(), bt = function(e) {
4085
+ xe(t, e);
4053
4086
  function t(r, n, i) {
4054
4087
  var o = e.call(this) || this, s;
4055
- if (V(r) || !r)
4056
- s = {
4057
- next: r != null ? r : void 0,
4058
- error: n != null ? n : void 0,
4059
- complete: i != null ? i : void 0
4060
- };
4061
- else {
4062
- var a;
4063
- o && Lr.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
4064
- return o.unsubscribe();
4065
- }, s = {
4066
- next: r.next && qe(r.next, a),
4067
- error: r.error && qe(r.error, a),
4068
- complete: r.complete && qe(r.complete, a)
4069
- }) : s = r;
4070
- }
4071
- return o.destination = new lo(s), o;
4088
+ return X(r) || !r ? s = {
4089
+ next: r != null ? r : void 0,
4090
+ error: n != null ? n : void 0,
4091
+ complete: i != null ? i : void 0
4092
+ } : s = r, o.destination = new co(s), o;
4072
4093
  }
4073
4094
  return t;
4074
- }(Nr);
4075
- function Be(e) {
4076
- ao(e);
4095
+ }($r);
4096
+ function Oe(e) {
4097
+ ho(e);
4077
4098
  }
4078
- function ho(e) {
4099
+ function fo(e) {
4079
4100
  throw e;
4080
4101
  }
4081
- var co = {
4102
+ var po = {
4082
4103
  closed: !0,
4083
- next: Xt,
4084
- error: ho,
4085
- complete: Xt
4086
- }, fo = function() {
4104
+ next: zt,
4105
+ error: fo,
4106
+ complete: zt
4107
+ }, mo = function() {
4087
4108
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
4088
4109
  }();
4089
- function po(e) {
4110
+ function bo(e) {
4090
4111
  return e;
4091
4112
  }
4092
- function mo(e) {
4093
- return e.length === 0 ? po : e.length === 1 ? e[0] : function(r) {
4113
+ function go(e) {
4114
+ return e.length === 0 ? bo : e.length === 1 ? e[0] : function(r) {
4094
4115
  return e.reduce(function(n, i) {
4095
4116
  return i(n);
4096
4117
  }, r);
4097
4118
  };
4098
4119
  }
4099
- var Wt = function() {
4120
+ var Zt = function() {
4100
4121
  function e(t) {
4101
4122
  t && (this._subscribe = t);
4102
4123
  }
@@ -4104,7 +4125,7 @@ var Wt = function() {
4104
4125
  var r = new e();
4105
4126
  return r.source = this, r.operator = t, r;
4106
4127
  }, e.prototype.subscribe = function(t, r, n) {
4107
- var i = this, o = go(t) ? t : new ft(t, r, n);
4128
+ var i = this, o = vo(t) ? t : new bt(t, r, n);
4108
4129
  return Ne(function() {
4109
4130
  var s = i, a = s.operator, l = s.source;
4110
4131
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -4117,8 +4138,8 @@ var Wt = function() {
4117
4138
  }
4118
4139
  }, e.prototype.forEach = function(t, r) {
4119
4140
  var n = this;
4120
- return r = zt(r), new r(function(i, o) {
4121
- var s = new ft({
4141
+ return r = Qt(r), new r(function(i, o) {
4142
+ var s = new bt({
4122
4143
  next: function(a) {
4123
4144
  try {
4124
4145
  t(a);
@@ -4134,15 +4155,15 @@ var Wt = function() {
4134
4155
  }, e.prototype._subscribe = function(t) {
4135
4156
  var r;
4136
4157
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
4137
- }, e.prototype[fo] = function() {
4158
+ }, e.prototype[mo] = function() {
4138
4159
  return this;
4139
4160
  }, e.prototype.pipe = function() {
4140
4161
  for (var t = [], r = 0; r < arguments.length; r++)
4141
4162
  t[r] = arguments[r];
4142
- return mo(t)(this);
4163
+ return go(t)(this);
4143
4164
  }, e.prototype.toPromise = function(t) {
4144
4165
  var r = this;
4145
- return t = zt(t), new t(function(n, i) {
4166
+ return t = Qt(t), new t(function(n, i) {
4146
4167
  var o;
4147
4168
  r.subscribe(function(s) {
4148
4169
  return o = s;
@@ -4156,32 +4177,32 @@ var Wt = function() {
4156
4177
  return new e(t);
4157
4178
  }, e;
4158
4179
  }();
4159
- function zt(e) {
4180
+ function Qt(e) {
4160
4181
  var t;
4161
- return (t = e != null ? e : Lr.Promise) !== null && t !== void 0 ? t : Promise;
4182
+ return (t = e != null ? e : uo.Promise) !== null && t !== void 0 ? t : Promise;
4162
4183
  }
4163
- function bo(e) {
4164
- return e && V(e.next) && V(e.error) && V(e.complete);
4184
+ function yo(e) {
4185
+ return e && X(e.next) && X(e.error) && X(e.complete);
4165
4186
  }
4166
- function go(e) {
4167
- return e && e instanceof Nr || bo(e) && Ir(e);
4187
+ function vo(e) {
4188
+ return e && e instanceof $r || yo(e) && Nr(e);
4168
4189
  }
4169
- var yo = Or(function(e) {
4190
+ var _o = Ir(function(e) {
4170
4191
  return function() {
4171
4192
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
4172
4193
  };
4173
- }), $r = function(e) {
4174
- X(t, e);
4194
+ }), Rr = function(e) {
4195
+ xe(t, e);
4175
4196
  function t() {
4176
4197
  var r = e.call(this) || this;
4177
4198
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
4178
4199
  }
4179
4200
  return t.prototype.lift = function(r) {
4180
- var n = new Zt(this, this);
4201
+ var n = new Yt(this, this);
4181
4202
  return n.operator = r, n;
4182
4203
  }, t.prototype._throwIfClosed = function() {
4183
4204
  if (this.closed)
4184
- throw new yo();
4205
+ throw new _o();
4185
4206
  }, t.prototype.next = function(r) {
4186
4207
  var n = this;
4187
4208
  Ne(function() {
@@ -4189,7 +4210,7 @@ var yo = Or(function(e) {
4189
4210
  if (n._throwIfClosed(), !n.isStopped) {
4190
4211
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
4191
4212
  try {
4192
- for (var s = rt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4213
+ for (var s = ft(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
4193
4214
  var l = a.value;
4194
4215
  l.next(r);
4195
4216
  }
@@ -4238,20 +4259,20 @@ var yo = Or(function(e) {
4238
4259
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
4239
4260
  }, t.prototype._innerSubscribe = function(r) {
4240
4261
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
4241
- return o || s ? Cr : (this.currentObservers = null, a.push(r), new ke(function() {
4242
- n.currentObservers = null, ct(a, r);
4262
+ return o || s ? Lr : (this.currentObservers = null, a.push(r), new Xe(function() {
4263
+ n.currentObservers = null, dt(a, r);
4243
4264
  }));
4244
4265
  }, t.prototype._checkFinalizedStatuses = function(r) {
4245
4266
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
4246
4267
  i ? r.error(o) : s && r.complete();
4247
4268
  }, t.prototype.asObservable = function() {
4248
- var r = new Wt();
4269
+ var r = new Zt();
4249
4270
  return r.source = this, r;
4250
4271
  }, t.create = function(r, n) {
4251
- return new Zt(r, n);
4272
+ return new Yt(r, n);
4252
4273
  }, t;
4253
- }(Wt), Zt = function(e) {
4254
- X(t, e);
4274
+ }(Zt), Yt = function(e) {
4275
+ xe(t, e);
4255
4276
  function t(r, n) {
4256
4277
  var i = e.call(this) || this;
4257
4278
  return i.destination = r, i.source = n, i;
@@ -4267,17 +4288,17 @@ var yo = Or(function(e) {
4267
4288
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
4268
4289
  }, t.prototype._subscribe = function(r) {
4269
4290
  var n, i;
4270
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Cr;
4291
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lr;
4271
4292
  }, t;
4272
- }($r), Rr = {
4293
+ }(Rr), Dr = {
4273
4294
  now: function() {
4274
- return (Rr.delegate || Date).now();
4295
+ return (Dr.delegate || Date).now();
4275
4296
  },
4276
4297
  delegate: void 0
4277
- }, vo = function(e) {
4278
- X(t, e);
4298
+ }, Eo = function(e) {
4299
+ xe(t, e);
4279
4300
  function t(r, n, i) {
4280
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rr);
4301
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dr);
4281
4302
  var o = e.call(this) || this;
4282
4303
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
4283
4304
  }
@@ -4297,25 +4318,25 @@ var yo = Or(function(e) {
4297
4318
  u && o.splice(0, u + 1);
4298
4319
  }
4299
4320
  }, t;
4300
- }($r);
4301
- const Qt = [], Yt = {}, _o = (e, t = 0) => {
4302
- if (Qt.indexOf(e) == -1) {
4303
- const r = new vo(t);
4304
- Yt[e] = r, Qt.push(e);
4321
+ }(Rr);
4322
+ const Jt = [], qt = {}, xo = (e, t = 0) => {
4323
+ if (Jt.indexOf(e) == -1) {
4324
+ const r = new Eo(t);
4325
+ qt[e] = r, Jt.push(e);
4305
4326
  }
4306
- return Yt[e];
4327
+ return qt[e];
4307
4328
  };
4308
- let pt = "en-UK", mt = "true", be = 2, dt = "";
4309
- const xo = (e, t, r, n) => {
4310
- pt = e || "en-UK", mt = t || "true", be = +n || 2, dt = r || "";
4311
- }, Me = (e, t) => {
4312
- if (!dt)
4313
- return new Intl.NumberFormat(pt, { style: "currency", currency: t, currencyDisplay: mt === "true" ? "symbol" : "code", maximumFractionDigits: be, minimumFractionDigits: be }).format(e);
4314
- const n = new Intl.NumberFormat(pt, { style: "currency", currency: t, currencyDisplay: mt === "true" ? "symbol" : "code", maximumFractionDigits: be, minimumFractionDigits: be }).formatToParts(e), i = n.find((l) => l.type === "currency"), s = n.filter((l) => l.type !== "currency").map((l) => l.value).join("");
4315
- return dt === "before" ? `${i.value} ${s}` : `${s} ${i.value}`;
4329
+ let gt = "en-UK", yt = "true", de = 2, vt = "";
4330
+ const So = (e, t, r, n) => {
4331
+ gt = e || "en-UK", yt = t || "true", de = +n || 2, vt = r || "";
4332
+ }, Be = (e, t) => {
4333
+ if (!vt)
4334
+ return new Intl.NumberFormat(gt, { style: "currency", currency: t, currencyDisplay: yt === "true" ? "symbol" : "code", maximumFractionDigits: de, minimumFractionDigits: de }).format(e);
4335
+ const n = new Intl.NumberFormat(gt, { style: "currency", currency: t, currencyDisplay: yt === "true" ? "symbol" : "code", maximumFractionDigits: de, minimumFractionDigits: de }).formatToParts(e), i = n.find((l) => l.type === "currency"), s = n.filter((l) => l.type !== "currency").map((l) => l.value).join("");
4336
+ return vt === "before" ? `${i.value} ${s}` : `${s} ${i.value}`;
4316
4337
  };
4317
- window.emWidgets = { topic: _o };
4318
- const Jt = {
4338
+ window.emWidgets = { topic: xo };
4339
+ const Kt = {
4319
4340
  en: {
4320
4341
  generalMin: "Min",
4321
4342
  generalMax: "Max",
@@ -4347,18 +4368,18 @@ const Jt = {
4347
4368
  generalMax: "Max"
4348
4369
  }
4349
4370
  };
4350
- function Eo(e) {
4351
- Xr(e, "svelte-19lknjo", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281F));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.Carousel{display:flex;gap:10px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #F9C405);height:10px;width:10px;opacity:0.5}.VisualDotIndicator .Dot.active{opacity:1;width:30px}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:15px;height:190px;width:160px}.CarouselCardWrapper.active{height:220px;width:180px}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #F9C405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281F)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281F)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CarouselCardWrapper .MethodLogo img{height:36px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:18px;font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #F9C405);font-style:italic;font-size:12px}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{max-width:100%;font-size:var(--emw--font-size-small, 11px);font-weight:var(--emw--font-weight-normal, 300)}');
4371
+ function To(e) {
4372
+ Wr(e, "svelte-19lknjo", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.CashierCarouselWarpper{background-color:var(--emw--color-cashier-bg, var(--emw--color-background, #23281F));color:var(--emw--color-typography, var(--emw--color-white, #ffffff));height:auto;width:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;padding:20px;position:relative;overflow:hidden}.CarouselHeader{margin-bottom:20px;text-align:center}.CarouselHeader h4{font-size:12px;text-transform:uppercase;margin:10px 0}.CarouselHeader p{color:var(--emw--color-typography, var(--emw--color-white, #ffffff));opacity:0.55;font-size:12px}.Carousel{display:flex;gap:10px;position:relative;align-items:center;transition:transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94)}.Carousel.dragging{transition:none}.VisualDotIndicator{display:flex;gap:5px;margin-top:16px}.VisualDotIndicator .Dot{border-radius:10px;background-color:var(--emw--color-primary, #F9C405);height:10px;width:10px;opacity:0.5}.VisualDotIndicator .Dot.active{opacity:1;width:30px}.CarouselCardWrapper{border-radius:16px;box-shadow:inset 0px 0px 0px 1px rgba(255, 255, 255, 0.2);position:relative;display:flex;flex-direction:column;justify-content:space-between;gap:10px;z-index:1;padding:15px;height:190px;width:160px}.CarouselCardWrapper.active{height:220px;width:180px}.CarouselCardWrapper.active::before{background:linear-gradient(140deg, var(--emw--color-primary, #F9C405) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281F)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.3}.CarouselCardWrapper::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;border-radius:16px;background:linear-gradient(140deg, var(--emw--color-white, #f5f5f5) 5%, var(--emw--color-cashier-bg, var(--emw--color-background, #23281F)) 40%, var(--emw--color-black, #000000) 60%);opacity:0.2}.CarouselCardWrapper .MethodLogo img{height:36px;width:auto}.CarouselCardWrapper .MethodInfo{display:flex;flex-direction:column;gap:10px;word-break:break-word}.CarouselCardWrapper .MethodInfo .MethodTitle{font-size:18px;font-weight:800}.CarouselCardWrapper .MethodInfo .MethodProcessingTime{color:var(--emw--color-primary, #F9C405);font-style:italic;font-size:12px}.CarouselCardWrapper .MethodInfo .MethodLimits{gap:var(--emw--spacing-small-minus, 10px);text-align:left}.CarouselCardWrapper .MethodInfo .Limits{max-width:100%;font-size:var(--emw--font-size-small, 11px);font-weight:var(--emw--font-weight-normal, 300)}');
4352
4373
  }
4353
- function qt(e, t, r) {
4374
+ function er(e, t, r) {
4354
4375
  const n = e.slice();
4355
4376
  return n[32] = t[r], n[34] = r, n;
4356
4377
  }
4357
- function Kt(e, t, r) {
4378
+ function tr(e, t, r) {
4358
4379
  const n = e.slice();
4359
4380
  return n[35] = t[r], n[34] = r, n;
4360
4381
  }
4361
- function So(e) {
4382
+ function wo(e) {
4362
4383
  let t, r = (
4363
4384
  /*$_*/
4364
4385
  e[4]("noPaymentMethods") + ""
@@ -4368,19 +4389,19 @@ function So(e) {
4368
4389
  t = P("p"), n = R(r);
4369
4390
  },
4370
4391
  m(i, o) {
4371
- F(i, t, o), T(t, n);
4392
+ F(i, t, o), S(t, n);
4372
4393
  },
4373
4394
  p(i, o) {
4374
4395
  o[0] & /*$_*/
4375
4396
  16 && r !== (r = /*$_*/
4376
- i[4]("noPaymentMethods") + "") && k(n, r);
4397
+ i[4]("noPaymentMethods") + "") && V(n, r);
4377
4398
  },
4378
4399
  d(i) {
4379
4400
  i && D(t);
4380
4401
  }
4381
4402
  };
4382
4403
  }
4383
- function To(e) {
4404
+ function Ho(e) {
4384
4405
  let t, r, n = (
4385
4406
  /*$_*/
4386
4407
  e[4]("carouselTitle") + ""
@@ -4390,46 +4411,46 @@ function To(e) {
4390
4411
  ), l, u, h, p, c, b, y, g = Pe(
4391
4412
  /*promotedPaymentMethods*/
4392
4413
  e[2]
4393
- ), x = [];
4414
+ ), E = [];
4394
4415
  for (let f = 0; f < g.length; f += 1)
4395
- x[f] = er(Kt(e, g, f));
4416
+ E[f] = rr(tr(e, g, f));
4396
4417
  let A = Pe(Array(
4397
4418
  /*promotedPaymentMethods*/
4398
4419
  e[2].length
4399
- )), E = [];
4420
+ )), x = [];
4400
4421
  for (let f = 0; f < A.length; f += 1)
4401
- E[f] = tr(qt(e, A, f));
4422
+ x[f] = nr(er(e, A, f));
4402
4423
  return {
4403
4424
  c() {
4404
- t = P("div"), r = P("h4"), i = R(n), o = j(), s = P("p"), l = R(a), u = j(), h = P("div");
4405
- for (let f = 0; f < x.length; f += 1)
4406
- x[f].c();
4407
- p = j(), c = P("div");
4425
+ t = P("div"), r = P("h4"), i = R(n), o = k(), s = P("p"), l = R(a), u = k(), h = P("div");
4408
4426
  for (let f = 0; f < E.length; f += 1)
4409
4427
  E[f].c();
4410
- B(t, "class", "CarouselHeader"), B(h, "class", "Carousel"), B(c, "class", "VisualDotIndicator");
4428
+ p = k(), c = P("div");
4429
+ for (let f = 0; f < x.length; f += 1)
4430
+ x[f].c();
4431
+ O(t, "class", "CarouselHeader"), O(h, "class", "Carousel"), O(c, "class", "VisualDotIndicator");
4411
4432
  },
4412
- m(f, w) {
4413
- F(f, t, w), T(t, r), T(r, i), T(t, o), T(t, s), T(s, l), F(f, u, w), F(f, h, w);
4414
- for (let d = 0; d < x.length; d += 1)
4415
- x[d] && x[d].m(h, null);
4416
- e[19](h), F(f, p, w), F(f, c, w);
4433
+ m(f, T) {
4434
+ F(f, t, T), S(t, r), S(r, i), S(t, o), S(t, s), S(s, l), F(f, u, T), F(f, h, T);
4417
4435
  for (let d = 0; d < E.length; d += 1)
4418
- E[d] && E[d].m(c, null);
4436
+ E[d] && E[d].m(h, null);
4437
+ e[19](h), F(f, p, T), F(f, c, T);
4438
+ for (let d = 0; d < x.length; d += 1)
4439
+ x[d] && x[d].m(c, null);
4419
4440
  b || (y = [
4420
- Oe(
4441
+ Me(
4421
4442
  h,
4422
4443
  "touchstart",
4423
4444
  /*handleTouchStart*/
4424
4445
  e[6]
4425
4446
  ),
4426
- Oe(
4447
+ Me(
4427
4448
  h,
4428
4449
  "touchmove",
4429
4450
  /*handleTouchMove*/
4430
4451
  e[7]
4431
4452
  ),
4432
- Oe(
4453
+ Me(
4433
4454
  h,
4434
4455
  "touchend",
4435
4456
  /*handleTouchEnd*/
@@ -4437,12 +4458,12 @@ function To(e) {
4437
4458
  )
4438
4459
  ], b = !0);
4439
4460
  },
4440
- p(f, w) {
4441
- if (w[0] & /*$_*/
4461
+ p(f, T) {
4462
+ if (T[0] & /*$_*/
4442
4463
  16 && n !== (n = /*$_*/
4443
- f[4]("carouselTitle") + "") && k(i, n), w[0] & /*$_*/
4464
+ f[4]("carouselTitle") + "") && V(i, n), T[0] & /*$_*/
4444
4465
  16 && a !== (a = /*$_*/
4445
- f[4]("carouselSubtitle") + "") && k(l, a), w[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, $_*/
4466
+ f[4]("carouselSubtitle") + "") && V(l, a), T[0] & /*activeIndex, selectPayMeth, promotedPaymentMethods, $_*/
4446
4467
  60) {
4447
4468
  g = Pe(
4448
4469
  /*promotedPaymentMethods*/
@@ -4450,14 +4471,14 @@ function To(e) {
4450
4471
  );
4451
4472
  let d;
4452
4473
  for (d = 0; d < g.length; d += 1) {
4453
- const M = Kt(f, g, d);
4454
- x[d] ? x[d].p(M, w) : (x[d] = er(M), x[d].c(), x[d].m(h, null));
4474
+ const B = tr(f, g, d);
4475
+ E[d] ? E[d].p(B, T) : (E[d] = rr(B), E[d].c(), E[d].m(h, null));
4455
4476
  }
4456
- for (; d < x.length; d += 1)
4457
- x[d].d(1);
4458
- x.length = g.length;
4477
+ for (; d < E.length; d += 1)
4478
+ E[d].d(1);
4479
+ E.length = g.length;
4459
4480
  }
4460
- if (w[0] & /*activeIndex, promotedPaymentMethods*/
4481
+ if (T[0] & /*activeIndex, promotedPaymentMethods*/
4461
4482
  12) {
4462
4483
  A = Pe(Array(
4463
4484
  /*promotedPaymentMethods*/
@@ -4465,20 +4486,20 @@ function To(e) {
4465
4486
  ));
4466
4487
  let d;
4467
4488
  for (d = 0; d < A.length; d += 1) {
4468
- const M = qt(f, A, d);
4469
- E[d] ? E[d].p(M, w) : (E[d] = tr(M), E[d].c(), E[d].m(c, null));
4489
+ const B = er(f, A, d);
4490
+ x[d] ? x[d].p(B, T) : (x[d] = nr(B), x[d].c(), x[d].m(c, null));
4470
4491
  }
4471
- for (; d < E.length; d += 1)
4472
- E[d].d(1);
4473
- E.length = A.length;
4492
+ for (; d < x.length; d += 1)
4493
+ x[d].d(1);
4494
+ x.length = A.length;
4474
4495
  }
4475
4496
  },
4476
4497
  d(f) {
4477
- f && (D(t), D(u), D(h), D(p), D(c)), Pt(x, f), e[19](null), Pt(E, f), b = !1, le(y);
4498
+ f && (D(t), D(u), D(h), D(p), D(c)), Ot(E, f), e[19](null), Ot(x, f), b = !1, ue(y);
4478
4499
  }
4479
4500
  };
4480
4501
  }
4481
- function er(e) {
4502
+ function rr(e) {
4482
4503
  let t, r, n, i, o, s, a, l, u, h = (
4483
4504
  /*method*/
4484
4505
  (e[35].Label || /*method*/
@@ -4487,10 +4508,10 @@ function er(e) {
4487
4508
  /*$_*/
4488
4509
  e[4](`${/*method*/
4489
4510
  e[35].ProcessingTime}`) + ""
4490
- ), x, A, E, f, w = (
4511
+ ), E, A, x, f, T = (
4491
4512
  /*$_*/
4492
4513
  e[4]("generalMin") + ""
4493
- ), d, M, G = Me(
4514
+ ), d, B, G = Be(
4494
4515
  /*method*/
4495
4516
  e[35].DisplayCurrency.MinAmountLimit,
4496
4517
  /*method*/
@@ -4498,12 +4519,12 @@ function er(e) {
4498
4519
  ) + "", Z, Se, Y = (
4499
4520
  /*$_*/
4500
4521
  e[4]("generalMax") + ""
4501
- ), fe, Te, J = Me(
4522
+ ), ce, Te, J = Be(
4502
4523
  /*method*/
4503
4524
  e[35].DisplayCurrency.MaxAmountLimit,
4504
4525
  /*method*/
4505
4526
  e[35].DisplayCurrency.Name
4506
- ) + "", pe, we, m, O, N;
4527
+ ) + "", fe, we, m, M, N;
4507
4528
  function q() {
4508
4529
  return (
4509
4530
  /*click_handler*/
@@ -4515,57 +4536,57 @@ function er(e) {
4515
4536
  }
4516
4537
  return {
4517
4538
  c() {
4518
- t = P("div"), r = P("div"), n = P("img"), s = j(), a = P("div"), l = P("div"), u = P("span"), p = R(h), c = j(), b = P("div"), y = P("span"), x = R(g), A = j(), E = P("div"), f = P("span"), d = R(w), M = j(), Z = R(G), Se = R(" / "), fe = R(Y), Te = j(), pe = R(J), we = j(), Ht(n.src, i = /*method*/
4519
- e[35].LogoUrl) || B(n, "src", i), B(n, "alt", o = /*method*/
4520
- e[35].Label), B(r, "class", "MethodLogo"), B(l, "class", "MethodTitle"), B(b, "class", "MethodProcessingTime"), B(f, "class", "Limits"), B(E, "class", "MethodLimits"), B(a, "class", "MethodInfo"), B(t, "class", m = `CarouselCardWrapper ${/*index*/
4539
+ t = P("div"), r = P("div"), n = P("img"), s = k(), a = P("div"), l = P("div"), u = P("span"), p = R(h), c = k(), b = P("div"), y = P("span"), E = R(g), A = k(), x = P("div"), f = P("span"), d = R(T), B = k(), Z = R(G), Se = R(" / "), ce = R(Y), Te = k(), fe = R(J), we = k(), At(n.src, i = /*method*/
4540
+ e[35].LogoUrl) || O(n, "src", i), O(n, "alt", o = /*method*/
4541
+ e[35].Label), O(r, "class", "MethodLogo"), O(l, "class", "MethodTitle"), O(b, "class", "MethodProcessingTime"), O(f, "class", "Limits"), O(x, "class", "MethodLimits"), O(a, "class", "MethodInfo"), O(t, "class", m = `CarouselCardWrapper ${/*index*/
4521
4542
  e[34] === /*activeIndex*/
4522
4543
  e[3] ? "active" : ""}`);
4523
4544
  },
4524
4545
  m(K, I) {
4525
- F(K, t, I), T(t, r), T(r, n), T(t, s), T(t, a), T(a, l), T(l, u), T(u, p), T(a, c), T(a, b), T(b, y), T(y, x), T(a, A), T(a, E), T(E, f), T(f, d), T(f, M), T(f, Z), T(f, Se), T(f, fe), T(f, Te), T(f, pe), T(t, we), O || (N = Oe(t, "click", q), O = !0);
4546
+ F(K, t, I), S(t, r), S(r, n), S(t, s), S(t, a), S(a, l), S(l, u), S(u, p), S(a, c), S(a, b), S(b, y), S(y, E), S(a, A), S(a, x), S(x, f), S(f, d), S(f, B), S(f, Z), S(f, Se), S(f, ce), S(f, Te), S(f, fe), S(t, we), M || (N = Me(t, "click", q), M = !0);
4526
4547
  },
4527
4548
  p(K, I) {
4528
4549
  e = K, I[0] & /*promotedPaymentMethods*/
4529
- 4 && !Ht(n.src, i = /*method*/
4530
- e[35].LogoUrl) && B(n, "src", i), I[0] & /*promotedPaymentMethods*/
4550
+ 4 && !At(n.src, i = /*method*/
4551
+ e[35].LogoUrl) && O(n, "src", i), I[0] & /*promotedPaymentMethods*/
4531
4552
  4 && o !== (o = /*method*/
4532
- e[35].Label) && B(n, "alt", o), I[0] & /*promotedPaymentMethods*/
4553
+ e[35].Label) && O(n, "alt", o), I[0] & /*promotedPaymentMethods*/
4533
4554
  4 && h !== (h = /*method*/
4534
4555
  (e[35].Label || /*method*/
4535
- e[35].Name) + "") && k(p, h), I[0] & /*$_, promotedPaymentMethods*/
4556
+ e[35].Name) + "") && V(p, h), I[0] & /*$_, promotedPaymentMethods*/
4536
4557
  20 && g !== (g = /*$_*/
4537
4558
  e[4](`${/*method*/
4538
- e[35].ProcessingTime}`) + "") && k(x, g), I[0] & /*$_*/
4539
- 16 && w !== (w = /*$_*/
4540
- e[4]("generalMin") + "") && k(d, w), I[0] & /*promotedPaymentMethods*/
4541
- 4 && G !== (G = Me(
4559
+ e[35].ProcessingTime}`) + "") && V(E, g), I[0] & /*$_*/
4560
+ 16 && T !== (T = /*$_*/
4561
+ e[4]("generalMin") + "") && V(d, T), I[0] & /*promotedPaymentMethods*/
4562
+ 4 && G !== (G = Be(
4542
4563
  /*method*/
4543
4564
  e[35].DisplayCurrency.MinAmountLimit,
4544
4565
  /*method*/
4545
4566
  e[35].DisplayCurrency.Name
4546
- ) + "") && k(Z, G), I[0] & /*$_*/
4567
+ ) + "") && V(Z, G), I[0] & /*$_*/
4547
4568
  16 && Y !== (Y = /*$_*/
4548
- e[4]("generalMax") + "") && k(fe, Y), I[0] & /*promotedPaymentMethods*/
4549
- 4 && J !== (J = Me(
4569
+ e[4]("generalMax") + "") && V(ce, Y), I[0] & /*promotedPaymentMethods*/
4570
+ 4 && J !== (J = Be(
4550
4571
  /*method*/
4551
4572
  e[35].DisplayCurrency.MaxAmountLimit,
4552
4573
  /*method*/
4553
4574
  e[35].DisplayCurrency.Name
4554
- ) + "") && k(pe, J), I[0] & /*activeIndex*/
4575
+ ) + "") && V(fe, J), I[0] & /*activeIndex*/
4555
4576
  8 && m !== (m = `CarouselCardWrapper ${/*index*/
4556
4577
  e[34] === /*activeIndex*/
4557
- e[3] ? "active" : ""}`) && B(t, "class", m);
4578
+ e[3] ? "active" : ""}`) && O(t, "class", m);
4558
4579
  },
4559
4580
  d(K) {
4560
- K && D(t), O = !1, N();
4581
+ K && D(t), M = !1, N();
4561
4582
  }
4562
4583
  };
4563
4584
  }
4564
- function tr(e) {
4585
+ function nr(e) {
4565
4586
  let t, r;
4566
4587
  return {
4567
4588
  c() {
4568
- t = P("div"), B(t, "class", r = `Dot ${/*index*/
4589
+ t = P("div"), O(t, "class", r = `Dot ${/*index*/
4569
4590
  e[34] === /*activeIndex*/
4570
4591
  e[3] ? "active" : ""}`);
4571
4592
  },
@@ -4576,28 +4597,28 @@ function tr(e) {
4576
4597
  i[0] & /*activeIndex*/
4577
4598
  8 && r !== (r = `Dot ${/*index*/
4578
4599
  n[34] === /*activeIndex*/
4579
- n[3] ? "active" : ""}`) && B(t, "class", r);
4600
+ n[3] ? "active" : ""}`) && O(t, "class", r);
4580
4601
  },
4581
4602
  d(n) {
4582
4603
  n && D(t);
4583
4604
  }
4584
4605
  };
4585
4606
  }
4586
- function wo(e) {
4607
+ function Po(e) {
4587
4608
  let t, r;
4588
4609
  function n(s, a) {
4589
4610
  return (
4590
4611
  /*promotedPaymentMethods*/
4591
- s[2].length > 0 ? To : So
4612
+ s[2].length > 0 ? Ho : wo
4592
4613
  );
4593
4614
  }
4594
4615
  let i = n(e), o = i(e);
4595
4616
  return {
4596
4617
  c() {
4597
- t = P("div"), r = P("div"), o.c(), B(r, "class", "CashierCarouselWarpper");
4618
+ t = P("div"), r = P("div"), o.c(), O(r, "class", "CashierCarouselWarpper");
4598
4619
  },
4599
4620
  m(s, a) {
4600
- F(s, t, a), T(t, r), o.m(r, null), e[20](t);
4621
+ F(s, t, a), S(t, r), o.m(r, null), e[20](t);
4601
4622
  },
4602
4623
  p(s, a) {
4603
4624
  i === (i = n(s)) && o ? o.p(s, a) : (o.d(1), o = i(s), o && (o.c(), o.m(r, null)));
@@ -4609,28 +4630,28 @@ function wo(e) {
4609
4630
  }
4610
4631
  };
4611
4632
  }
4612
- function Ho(e, t, r) {
4633
+ function Ao(e, t, r) {
4613
4634
  let n;
4614
- Vr(e, to, (m) => r(4, n = m));
4615
- let { lang: i = "en" } = t, { local: o = "en-US" } = t, { currencysymbol: s = "true" } = t, { currencyposition: a = "" } = t, { currencydecimals: l = "2" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: p = "" } = t, { translationurl: c = "" } = t, b, y = [], g = 0, x = !0, A = 0, E = !1, f;
4616
- const w = (m) => {
4635
+ Xr(e, no, (m) => r(4, n = m));
4636
+ let { lang: i = "en" } = t, { local: o = "en-US" } = t, { currencysymbol: s = "true" } = t, { currencyposition: a = "" } = t, { currencydecimals: l = "2" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { mbsource: p = "" } = t, { translationurl: c = "" } = t, b, y = [], g = 0, E = !0, A = 0, x = !1, f;
4637
+ const T = (m) => {
4617
4638
  m.data && m.data.type === "PromotedPaymentMethods" && (r(2, y = m.data.promotedPaymentMethods), r(3, g = Math.floor(y.length / 2)));
4618
4639
  };
4619
- Object.keys(Jt).forEach((m) => {
4620
- kt(m, Jt[m]);
4640
+ Object.keys(Kt).forEach((m) => {
4641
+ Xt(m, Kt[m]);
4621
4642
  });
4622
4643
  const d = () => {
4623
4644
  let m = c;
4624
4645
  if (m)
4625
- return fetch(m).then((O) => O.json()).then((O) => {
4626
- Object.keys(O).forEach((N) => {
4627
- kt(N, O[N]);
4646
+ return fetch(m).then((M) => M.json()).then((M) => {
4647
+ Object.keys(M).forEach((N) => {
4648
+ Xt(N, M[N]);
4628
4649
  });
4629
- }).catch((O) => {
4630
- console.log(O);
4650
+ }).catch((M) => {
4651
+ console.log(M);
4631
4652
  });
4632
- }, M = () => {
4633
- ro(i);
4653
+ }, B = () => {
4654
+ io(i);
4634
4655
  }, G = (m) => {
4635
4656
  m.Name, window.postMessage({ type: "SelectPayMeth", details: m }, window.location.href), dispatchEvent(new CustomEvent(
4636
4657
  "selectPayMeth",
@@ -4645,26 +4666,26 @@ function Ho(e, t, r) {
4645
4666
  let q;
4646
4667
  return y.length % 2 === 1 ? q = Math.floor(y.length / 2) : q = y.length / 2 - 0.5, `translateX(${(q - g) * 165}px)`;
4647
4668
  }, Se = (m) => {
4648
- A = m.touches[0].clientX, E = !0, f.classList.add("dragging");
4669
+ A = m.touches[0].clientX, x = !0, f.classList.add("dragging");
4649
4670
  }, Y = (m) => {
4650
- if (!E)
4671
+ if (!x)
4651
4672
  return;
4652
- const O = m.touches[0].clientX;
4653
- Math.abs(O - A) > 10 && m.preventDefault();
4654
- }, fe = (m) => {
4655
- if (!E)
4673
+ const M = m.touches[0].clientX;
4674
+ Math.abs(M - A) > 10 && m.preventDefault();
4675
+ }, ce = (m) => {
4676
+ if (!x)
4656
4677
  return;
4657
- E = !1, f.classList.remove("dragging");
4658
- const O = m.changedTouches[0].clientX, N = A - O;
4678
+ x = !1, f.classList.remove("dragging");
4679
+ const M = m.changedTouches[0].clientX, N = A - M;
4659
4680
  Math.abs(N) > 50 && (N > 0 && g < y.length - 1 ? r(3, g++, g) : N < 0 && g > 0 && r(3, g--, g), r(1, f.style.transform = Z(), f));
4660
4681
  }, Te = () => {
4661
- x && (r(1, f.style.transform = Z(), f), x = !1);
4682
+ E && (r(1, f.style.transform = Z(), f), E = !1);
4662
4683
  };
4663
- Jr(() => (xo(o, s, a, l), window.addEventListener("message", w), f && Z(), () => {
4664
- window.removeEventListener("message", w);
4684
+ qr(() => (So(o, s, a, l), window.addEventListener("message", T), f && Z(), () => {
4685
+ window.removeEventListener("message", T);
4665
4686
  }));
4666
4687
  const J = (m) => G(m);
4667
- function pe(m) {
4688
+ function fe(m) {
4668
4689
  $e[m ? "unshift" : "push"](() => {
4669
4690
  f = m, r(1, f);
4670
4691
  });
@@ -4678,12 +4699,12 @@ function Ho(e, t, r) {
4678
4699
  "lang" in m && r(9, i = m.lang), "local" in m && r(10, o = m.local), "currencysymbol" in m && r(11, s = m.currencysymbol), "currencyposition" in m && r(12, a = m.currencyposition), "currencydecimals" in m && r(13, l = m.currencydecimals), "clientstyling" in m && r(14, u = m.clientstyling), "clientstylingurl" in m && r(15, h = m.clientstylingurl), "mbsource" in m && r(16, p = m.mbsource), "translationurl" in m && r(17, c = m.translationurl);
4679
4700
  }, e.$$.update = () => {
4680
4701
  e.$$.dirty[0] & /*lang*/
4681
- 512 && i && M(), e.$$.dirty[0] & /*lang, translationurl*/
4702
+ 512 && i && B(), e.$$.dirty[0] & /*lang, translationurl*/
4682
4703
  131584 && i && c && d(), e.$$.dirty[0] & /*carouselContainer*/
4683
4704
  2 && f && Te(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4684
- 16385 && u && b && no(b, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4685
- 32769 && h && b && io(b, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4686
- 65537 && p && b && oo(b, `${p}.Style`);
4705
+ 16385 && u && b && oo(b, u), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
4706
+ 32769 && h && b && so(b, h), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
4707
+ 65537 && p && b && ao(b, `${p}.Style`);
4687
4708
  }, [
4688
4709
  b,
4689
4710
  f,
@@ -4693,7 +4714,7 @@ function Ho(e, t, r) {
4693
4714
  G,
4694
4715
  Se,
4695
4716
  Y,
4696
- fe,
4717
+ ce,
4697
4718
  i,
4698
4719
  o,
4699
4720
  s,
@@ -4704,18 +4725,18 @@ function Ho(e, t, r) {
4704
4725
  p,
4705
4726
  c,
4706
4727
  J,
4707
- pe,
4728
+ fe,
4708
4729
  we
4709
4730
  ];
4710
4731
  }
4711
- class Po extends hn {
4732
+ class Oo extends cn {
4712
4733
  constructor(t) {
4713
- super(), un(
4734
+ super(), ln(
4714
4735
  this,
4715
4736
  t,
4716
- Ho,
4717
- wo,
4718
- nr,
4737
+ Ao,
4738
+ Po,
4739
+ or,
4719
4740
  {
4720
4741
  lang: 9,
4721
4742
  local: 10,
@@ -4727,7 +4748,7 @@ class Po extends hn {
4727
4748
  mbsource: 16,
4728
4749
  translationurl: 17
4729
4750
  },
4730
- Eo,
4751
+ To,
4731
4752
  [-1, -1]
4732
4753
  );
4733
4754
  }
@@ -4786,7 +4807,7 @@ class Po extends hn {
4786
4807
  this.$$set({ translationurl: t }), $();
4787
4808
  }
4788
4809
  }
4789
- ln(Po, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4810
+ hn(Oo, { lang: {}, local: {}, currencysymbol: {}, currencyposition: {}, currencydecimals: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, translationurl: {} }, [], [], !0);
4790
4811
  export {
4791
- Po as default
4812
+ Oo as default
4792
4813
  };