@everymatrix/cashier-error 1.77.4 → 1.77.5

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,7 +1,7 @@
1
1
  import "../stencil/ui-image-C0Jfm_O4.js";
2
- function P() {
2
+ function O() {
3
3
  }
4
- function Qt(e, t) {
4
+ function Yt(e, t) {
5
5
  for (const r in t)
6
6
  e[r] = t[r];
7
7
  return (
@@ -9,48 +9,48 @@ function Qt(e, t) {
9
9
  e
10
10
  );
11
11
  }
12
- function vt(e) {
12
+ function xt(e) {
13
13
  return e();
14
14
  }
15
15
  function Qe() {
16
16
  return /* @__PURE__ */ Object.create(null);
17
17
  }
18
18
  function J(e) {
19
- e.forEach(vt);
19
+ e.forEach(xt);
20
20
  }
21
21
  function Xe(e) {
22
22
  return typeof e == "function";
23
23
  }
24
- function xt(e, t) {
24
+ function Tt(e, t) {
25
25
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
26
26
  }
27
27
  let ue;
28
28
  function Ye(e, t) {
29
29
  return e === t ? !0 : (ue || (ue = document.createElement("a")), ue.href = t, e === ue.href);
30
30
  }
31
- function Yt(e) {
31
+ function Kt(e) {
32
32
  return Object.keys(e).length === 0;
33
33
  }
34
- function Tt(e, ...t) {
34
+ function Ht(e, ...t) {
35
35
  if (e == null) {
36
36
  for (const n of t)
37
37
  n(void 0);
38
- return P;
38
+ return O;
39
39
  }
40
40
  const r = e.subscribe(...t);
41
41
  return r.unsubscribe ? () => r.unsubscribe() : r;
42
42
  }
43
- function Kt(e, t, r) {
44
- e.$$.on_destroy.push(Tt(t, r));
43
+ function er(e, t, r) {
44
+ e.$$.on_destroy.push(Ht(t, r));
45
45
  }
46
46
  function ce(e, t, r, n) {
47
47
  if (e) {
48
- const i = Ht(e, t, r, n);
48
+ const i = wt(e, t, r, n);
49
49
  return e[0](i);
50
50
  }
51
51
  }
52
- function Ht(e, t, r, n) {
53
- return e[1] && n ? Qt(r.ctx.slice(), e[1](n(t))) : r.ctx;
52
+ function wt(e, t, r, n) {
53
+ return e[1] && n ? Yt(r.ctx.slice(), e[1](n(t))) : r.ctx;
54
54
  }
55
55
  function fe(e, t, r, n) {
56
56
  if (e[2] && n) {
@@ -69,7 +69,7 @@ function fe(e, t, r, n) {
69
69
  }
70
70
  function me(e, t, r, n, i, o) {
71
71
  if (i) {
72
- const s = Ht(t, r, n, o);
72
+ const s = wt(t, r, n, o);
73
73
  e.p(s, i);
74
74
  }
75
75
  }
@@ -82,17 +82,17 @@ function de(e) {
82
82
  }
83
83
  return -1;
84
84
  }
85
- function I(e, t) {
85
+ function P(e, t) {
86
86
  e.appendChild(t);
87
87
  }
88
- function er(e, t, r) {
89
- const n = tr(e);
88
+ function tr(e, t, r) {
89
+ const n = rr(e);
90
90
  if (!n.getElementById(t)) {
91
- const i = O("style");
92
- i.id = t, i.textContent = r, rr(n, i);
91
+ const i = I("style");
92
+ i.id = t, i.textContent = r, nr(n, i);
93
93
  }
94
94
  }
95
- function tr(e) {
95
+ function rr(e) {
96
96
  if (!e)
97
97
  return document;
98
98
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -102,49 +102,49 @@ function tr(e) {
102
102
  t
103
103
  ) : e.ownerDocument;
104
104
  }
105
- function rr(e, t) {
106
- return I(
105
+ function nr(e, t) {
106
+ return P(
107
107
  /** @type {Document} */
108
108
  e.head || e,
109
109
  t
110
110
  ), t.sheet;
111
111
  }
112
- function $(e, t, r) {
112
+ function D(e, t, r) {
113
113
  e.insertBefore(t, r || null);
114
114
  }
115
- function C(e) {
115
+ function L(e) {
116
116
  e.parentNode && e.parentNode.removeChild(e);
117
117
  }
118
- function O(e) {
118
+ function I(e) {
119
119
  return document.createElement(e);
120
120
  }
121
121
  function ie(e) {
122
122
  return document.createTextNode(e);
123
123
  }
124
- function we() {
124
+ function Be() {
125
125
  return ie(" ");
126
126
  }
127
- function nr() {
127
+ function ir() {
128
128
  return ie("");
129
129
  }
130
- function ir(e, t, r, n) {
130
+ function or(e, t, r, n) {
131
131
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
132
132
  }
133
- function M(e, t, r) {
133
+ function R(e, t, r) {
134
134
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
135
135
  }
136
136
  function le(e, t, r) {
137
137
  const n = t.toLowerCase();
138
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : M(e, t, r);
138
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : R(e, t, r);
139
139
  }
140
- function or(e) {
140
+ function sr(e) {
141
141
  return Array.from(e.childNodes);
142
142
  }
143
143
  function We(e, t) {
144
144
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
145
145
  t);
146
146
  }
147
- function sr(e) {
147
+ function ar(e) {
148
148
  const t = {};
149
149
  return e.childNodes.forEach(
150
150
  /** @param {Element} node */
@@ -157,40 +157,40 @@ let te;
157
157
  function ee(e) {
158
158
  te = e;
159
159
  }
160
- function ar() {
160
+ function ur() {
161
161
  if (!te)
162
162
  throw new Error("Function called outside component initialization");
163
163
  return te;
164
164
  }
165
- function ur(e) {
166
- ar().$$.on_mount.push(e);
165
+ function lr(e) {
166
+ ur().$$.on_mount.push(e);
167
167
  }
168
168
  const F = [], Me = [];
169
169
  let z = [];
170
- const Ke = [], lr = /* @__PURE__ */ Promise.resolve();
170
+ const Ke = [], hr = /* @__PURE__ */ Promise.resolve();
171
171
  let $e = !1;
172
- function hr() {
173
- $e || ($e = !0, lr.then(w));
172
+ function cr() {
173
+ $e || ($e = !0, hr.then(B));
174
174
  }
175
175
  function Re(e) {
176
176
  z.push(e);
177
177
  }
178
178
  const Ae = /* @__PURE__ */ new Set();
179
- let k = 0;
180
- function w() {
181
- if (k !== 0)
179
+ let G = 0;
180
+ function B() {
181
+ if (G !== 0)
182
182
  return;
183
183
  const e = te;
184
184
  do {
185
185
  try {
186
- for (; k < F.length; ) {
187
- const t = F[k];
188
- k++, ee(t), cr(t.$$);
186
+ for (; G < F.length; ) {
187
+ const t = F[G];
188
+ G++, ee(t), fr(t.$$);
189
189
  }
190
190
  } catch (t) {
191
- throw F.length = 0, k = 0, t;
191
+ throw F.length = 0, G = 0, t;
192
192
  }
193
- for (ee(null), F.length = 0, k = 0; Me.length; )
193
+ for (ee(null), F.length = 0, G = 0; Me.length; )
194
194
  Me.pop()();
195
195
  for (let t = 0; t < z.length; t += 1) {
196
196
  const r = z[t];
@@ -202,58 +202,58 @@ function w() {
202
202
  Ke.pop()();
203
203
  $e = !1, Ae.clear(), ee(e);
204
204
  }
205
- function cr(e) {
205
+ function fr(e) {
206
206
  if (e.fragment !== null) {
207
207
  e.update(), J(e.before_update);
208
208
  const t = e.dirty;
209
209
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
210
210
  }
211
211
  }
212
- function fr(e) {
212
+ function mr(e) {
213
213
  const t = [], r = [];
214
214
  z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), z = t;
215
215
  }
216
216
  const pe = /* @__PURE__ */ new Set();
217
- let D;
218
- function mr() {
219
- D = {
217
+ let $;
218
+ function dr() {
219
+ $ = {
220
220
  r: 0,
221
221
  c: [],
222
- p: D
222
+ p: $
223
223
  // parent group
224
224
  };
225
225
  }
226
- function dr() {
227
- D.r || J(D.c), D = D.p;
226
+ function pr() {
227
+ $.r || J($.c), $ = $.p;
228
228
  }
229
- function N(e, t) {
229
+ function C(e, t) {
230
230
  e && e.i && (pe.delete(e), e.i(t));
231
231
  }
232
232
  function j(e, t, r, n) {
233
233
  if (e && e.o) {
234
234
  if (pe.has(e))
235
235
  return;
236
- pe.add(e), D.c.push(() => {
236
+ pe.add(e), $.c.push(() => {
237
237
  pe.delete(e), n && (r && e.d(1), n());
238
238
  }), e.o(t);
239
239
  } else
240
240
  n && n();
241
241
  }
242
- function pr(e, t, r) {
242
+ function br(e, t, r) {
243
243
  const { fragment: n, after_update: i } = e.$$;
244
244
  n && n.m(t, r), Re(() => {
245
- const o = e.$$.on_mount.map(vt).filter(Xe);
245
+ const o = e.$$.on_mount.map(xt).filter(Xe);
246
246
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
247
247
  }), i.forEach(Re);
248
248
  }
249
- function br(e, t) {
249
+ function gr(e, t) {
250
250
  const r = e.$$;
251
- r.fragment !== null && (fr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
251
+ r.fragment !== null && (mr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
252
252
  }
253
- function gr(e, t) {
254
- e.$$.dirty[0] === -1 && (F.push(e), hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
253
+ function yr(e, t) {
254
+ e.$$.dirty[0] === -1 && (F.push(e), cr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
255
255
  }
256
- function yr(e, t, r, n, i, o, s = null, a = [-1]) {
256
+ function _r(e, t, r, n, i, o, s = null, a = [-1]) {
257
257
  const h = te;
258
258
  ee(e);
259
259
  const u = e.$$ = {
@@ -261,7 +261,7 @@ function yr(e, t, r, n, i, o, s = null, a = [-1]) {
261
261
  ctx: [],
262
262
  // state
263
263
  props: o,
264
- update: P,
264
+ update: O,
265
265
  not_equal: i,
266
266
  bound: Qe(),
267
267
  // lifecycle
@@ -281,14 +281,14 @@ function yr(e, t, r, n, i, o, s = null, a = [-1]) {
281
281
  let l = !1;
282
282
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...y) => {
283
283
  const p = y.length ? y[0] : c;
284
- return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && gr(e, f)), c;
284
+ return u.ctx && i(u.ctx[f], u.ctx[f] = p) && (!u.skip_bound && u.bound[f] && u.bound[f](p), l && yr(e, f)), c;
285
285
  }) : [], u.update(), l = !0, J(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
286
286
  if (t.hydrate) {
287
- const f = or(t.target);
288
- u.fragment && u.fragment.l(f), f.forEach(C);
287
+ const f = sr(t.target);
288
+ u.fragment && u.fragment.l(f), f.forEach(L);
289
289
  } else
290
290
  u.fragment && u.fragment.c();
291
- t.intro && N(e.$$.fragment), pr(e, t.target, t.anchor), w();
291
+ t.intro && C(e.$$.fragment), br(e, t.target, t.anchor), B();
292
292
  }
293
293
  ee(h);
294
294
  }
@@ -335,24 +335,24 @@ typeof HTMLElement == "function" && (St = class extends HTMLElement {
335
335
  let o;
336
336
  return {
337
337
  c: function() {
338
- o = O("slot"), i !== "default" && M(o, "name", i);
338
+ o = I("slot"), i !== "default" && R(o, "name", i);
339
339
  },
340
340
  /**
341
341
  * @param {HTMLElement} target
342
342
  * @param {HTMLElement} [anchor]
343
343
  */
344
344
  m: function(h, u) {
345
- $(h, o, u);
345
+ D(h, o, u);
346
346
  },
347
347
  d: function(h) {
348
- h && C(o);
348
+ h && L(o);
349
349
  }
350
350
  };
351
351
  };
352
352
  };
353
353
  if (await Promise.resolve(), !this.$$cn || this.$$c)
354
354
  return;
355
- const t = {}, r = sr(this);
355
+ const t = {}, r = ar(this);
356
356
  for (const i of this.$$s)
357
357
  i in r && (t[i] = [e(i)]);
358
358
  for (const i of this.attributes) {
@@ -439,7 +439,7 @@ function be(e, t, r, n) {
439
439
  return t;
440
440
  }
441
441
  }
442
- function _r(e, t, r, n, i, o) {
442
+ function Er(e, t, r, n, i, o) {
443
443
  let s = class extends St {
444
444
  constructor() {
445
445
  super(e, r, i), this.$$p_d = t;
@@ -468,7 +468,7 @@ function _r(e, t, r, n, i, o) {
468
468
  }), e.element = /** @type {any} */
469
469
  s, s;
470
470
  }
471
- class Er {
471
+ class vr {
472
472
  /**
473
473
  * ### PRIVATE API
474
474
  *
@@ -487,7 +487,7 @@ class Er {
487
487
  $$set = void 0;
488
488
  /** @returns {void} */
489
489
  $destroy() {
490
- br(this, 1), this.$destroy = P;
490
+ gr(this, 1), this.$destroy = O;
491
491
  }
492
492
  /**
493
493
  * @template {Extract<keyof Events, string>} K
@@ -497,7 +497,7 @@ class Er {
497
497
  */
498
498
  $on(t, r) {
499
499
  if (!Xe(r))
500
- return P;
500
+ return O;
501
501
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
502
502
  return n.push(r), () => {
503
503
  const i = n.indexOf(r);
@@ -509,18 +509,18 @@ class Er {
509
509
  * @returns {void}
510
510
  */
511
511
  $set(t) {
512
- this.$$set && !Yt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
512
+ this.$$set && !Kt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
513
513
  }
514
514
  }
515
- const vr = "4";
516
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vr);
517
- function xr(e, t) {
515
+ const xr = "4";
516
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(xr);
517
+ function Tr(e, t) {
518
518
  if (e) {
519
519
  const r = document.createElement("style");
520
520
  r.innerHTML = t, e.appendChild(r);
521
521
  }
522
522
  }
523
- function Tr(e, t) {
523
+ function Hr(e, t) {
524
524
  const r = new URL(t);
525
525
  fetch(r.href).then((n) => n.text()).then((n) => {
526
526
  const i = document.createElement("style");
@@ -529,7 +529,7 @@ function Tr(e, t) {
529
529
  console.error("There was an error while trying to load client styling from URL", n);
530
530
  });
531
531
  }
532
- function Hr(e, t, r) {
532
+ function wr(e, t, r) {
533
533
  if (window.emMessageBus) {
534
534
  const n = document.createElement("style");
535
535
  window.emMessageBus.subscribe(t, (i) => {
@@ -537,33 +537,33 @@ function Hr(e, t, r) {
537
537
  });
538
538
  }
539
539
  }
540
- const G = [];
540
+ const k = [];
541
541
  function Sr(e, t) {
542
542
  return {
543
543
  subscribe: Te(e, t).subscribe
544
544
  };
545
545
  }
546
- function Te(e, t = P) {
546
+ function Te(e, t = O) {
547
547
  let r;
548
548
  const n = /* @__PURE__ */ new Set();
549
549
  function i(a) {
550
- if (xt(e, a) && (e = a, r)) {
551
- const h = !G.length;
550
+ if (Tt(e, a) && (e = a, r)) {
551
+ const h = !k.length;
552
552
  for (const u of n)
553
- u[1](), G.push(u, e);
553
+ u[1](), k.push(u, e);
554
554
  if (h) {
555
- for (let u = 0; u < G.length; u += 2)
556
- G[u][0](G[u + 1]);
557
- G.length = 0;
555
+ for (let u = 0; u < k.length; u += 2)
556
+ k[u][0](k[u + 1]);
557
+ k.length = 0;
558
558
  }
559
559
  }
560
560
  }
561
561
  function o(a) {
562
562
  i(a(e));
563
563
  }
564
- function s(a, h = P) {
564
+ function s(a, h = O) {
565
565
  const u = [a, h];
566
- return n.add(u), n.size === 1 && (r = t(i, o) || P), a(e), () => {
566
+ return n.add(u), n.size === 1 && (r = t(i, o) || O), a(e), () => {
567
567
  n.delete(u), n.size === 0 && r && (r(), r = null);
568
568
  };
569
569
  }
@@ -577,15 +577,15 @@ function q(e, t, r) {
577
577
  return Sr(r, (s, a) => {
578
578
  let h = !1;
579
579
  const u = [];
580
- let l = 0, f = P;
580
+ let l = 0, f = O;
581
581
  const c = () => {
582
582
  if (l)
583
583
  return;
584
584
  f();
585
585
  const p = t(n ? u[0] : u, s, a);
586
- o ? s(p) : f = Xe(p) ? p : P;
586
+ o ? s(p) : f = Xe(p) ? p : O;
587
587
  }, y = i.map(
588
- (p, E) => Tt(
588
+ (p, E) => Ht(
589
589
  p,
590
590
  (_) => {
591
591
  u[E] = _, l &= ~(1 << E), h && c();
@@ -603,44 +603,44 @@ function q(e, t, r) {
603
603
  function Br(e) {
604
604
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
605
605
  }
606
- var wr = function(t) {
607
- return Ar(t) && !Pr(t);
606
+ var Ar = function(t) {
607
+ return Pr(t) && !Or(t);
608
608
  };
609
- function Ar(e) {
609
+ function Pr(e) {
610
610
  return !!e && typeof e == "object";
611
611
  }
612
- function Pr(e) {
612
+ function Or(e) {
613
613
  var t = Object.prototype.toString.call(e);
614
- return t === "[object RegExp]" || t === "[object Date]" || Cr(e);
615
- }
616
- var Or = typeof Symbol == "function" && Symbol.for, Ir = Or ? Symbol.for("react.element") : 60103;
617
- function Cr(e) {
618
- return e.$$typeof === Ir;
614
+ return t === "[object RegExp]" || t === "[object Date]" || Nr(e);
619
615
  }
616
+ var Ir = typeof Symbol == "function" && Symbol.for, Cr = Ir ? Symbol.for("react.element") : 60103;
620
617
  function Nr(e) {
618
+ return e.$$typeof === Cr;
619
+ }
620
+ function Lr(e) {
621
621
  return Array.isArray(e) ? [] : {};
622
622
  }
623
623
  function re(e, t) {
624
- return t.clone !== !1 && t.isMergeableObject(e) ? V(Nr(e), e, t) : e;
624
+ return t.clone !== !1 && t.isMergeableObject(e) ? V(Lr(e), e, t) : e;
625
625
  }
626
- function Lr(e, t, r) {
626
+ function Mr(e, t, r) {
627
627
  return e.concat(t).map(function(n) {
628
628
  return re(n, r);
629
629
  });
630
630
  }
631
- function Mr(e, t) {
631
+ function $r(e, t) {
632
632
  if (!t.customMerge)
633
633
  return V;
634
634
  var r = t.customMerge(e);
635
635
  return typeof r == "function" ? r : V;
636
636
  }
637
- function $r(e) {
637
+ function Rr(e) {
638
638
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
639
639
  return Object.propertyIsEnumerable.call(e, t);
640
640
  }) : [];
641
641
  }
642
642
  function et(e) {
643
- return Object.keys(e).concat($r(e));
643
+ return Object.keys(e).concat(Rr(e));
644
644
  }
645
645
  function Bt(e, t) {
646
646
  try {
@@ -649,21 +649,21 @@ function Bt(e, t) {
649
649
  return !1;
650
650
  }
651
651
  }
652
- function Rr(e, t) {
652
+ function Dr(e, t) {
653
653
  return Bt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
654
654
  }
655
- function Dr(e, t, r) {
655
+ function Ur(e, t, r) {
656
656
  var n = {};
657
657
  return r.isMergeableObject(e) && et(e).forEach(function(i) {
658
658
  n[i] = re(e[i], r);
659
659
  }), et(t).forEach(function(i) {
660
- Rr(e, i) || (Bt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Mr(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
660
+ Dr(e, i) || (Bt(e, i) && r.isMergeableObject(t[i]) ? n[i] = $r(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
661
661
  }), n;
662
662
  }
663
663
  function V(e, t, r) {
664
- r = r || {}, r.arrayMerge = r.arrayMerge || Lr, r.isMergeableObject = r.isMergeableObject || wr, r.cloneUnlessOtherwiseSpecified = re;
664
+ r = r || {}, r.arrayMerge = r.arrayMerge || Mr, r.isMergeableObject = r.isMergeableObject || Ar, r.cloneUnlessOtherwiseSpecified = re;
665
665
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
666
- return o ? n ? r.arrayMerge(e, t, r) : Dr(e, t, r) : re(t, r);
666
+ return o ? n ? r.arrayMerge(e, t, r) : Ur(e, t, r) : re(t, r);
667
667
  }
668
668
  V.all = function(t, r) {
669
669
  if (!Array.isArray(t))
@@ -672,8 +672,8 @@ V.all = function(t, r) {
672
672
  return V(n, i, r);
673
673
  }, {});
674
674
  };
675
- var Ur = V, kr = Ur;
676
- const Gr = /* @__PURE__ */ Br(kr);
675
+ var Gr = V, kr = Gr;
676
+ const Fr = /* @__PURE__ */ Br(kr);
677
677
  var De = function(e, t) {
678
678
  return De = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
679
679
  r.__proto__ = n;
@@ -701,7 +701,7 @@ var A = function() {
701
701
  return t;
702
702
  }, A.apply(this, arguments);
703
703
  };
704
- function Fr(e, t) {
704
+ function jr(e, t) {
705
705
  var r = {};
706
706
  for (var n in e)
707
707
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -717,36 +717,36 @@ function Pe(e, t, r) {
717
717
  return e.concat(o || Array.prototype.slice.call(t));
718
718
  }
719
719
  function Oe(e, t) {
720
- var r = t && t.cache ? t.cache : Jr, n = t && t.serializer ? t.serializer : Wr, i = t && t.strategy ? t.strategy : Vr;
720
+ var r = t && t.cache ? t.cache : qr, n = t && t.serializer ? t.serializer : Zr, i = t && t.strategy ? t.strategy : Xr;
721
721
  return i(e, {
722
722
  cache: r,
723
723
  serializer: n
724
724
  });
725
725
  }
726
- function jr(e) {
726
+ function zr(e) {
727
727
  return e == null || typeof e == "number" || typeof e == "boolean";
728
728
  }
729
- function zr(e, t, r, n) {
730
- var i = jr(n) ? n : r(n), o = t.get(i);
729
+ function Vr(e, t, r, n) {
730
+ var i = zr(n) ? n : r(n), o = t.get(i);
731
731
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
732
732
  }
733
- function wt(e, t, r) {
733
+ function At(e, t, r) {
734
734
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
735
735
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
736
736
  }
737
- function At(e, t, r, n, i) {
737
+ function Pt(e, t, r, n, i) {
738
738
  return r.bind(t, e, n, i);
739
739
  }
740
- function Vr(e, t) {
741
- var r = e.length === 1 ? zr : wt;
742
- return At(e, this, r, t.cache.create(), t.serializer);
743
- }
744
740
  function Xr(e, t) {
745
- return At(e, this, wt, t.cache.create(), t.serializer);
741
+ var r = e.length === 1 ? Vr : At;
742
+ return Pt(e, this, r, t.cache.create(), t.serializer);
743
+ }
744
+ function Wr(e, t) {
745
+ return Pt(e, this, At, t.cache.create(), t.serializer);
746
746
  }
747
- var Wr = function() {
747
+ var Zr = function() {
748
748
  return JSON.stringify(arguments);
749
- }, Zr = (
749
+ }, Jr = (
750
750
  /** @class */
751
751
  function() {
752
752
  function e() {
@@ -758,12 +758,12 @@ var Wr = function() {
758
758
  this.cache[t] = r;
759
759
  }, e;
760
760
  }()
761
- ), Jr = {
761
+ ), qr = {
762
762
  create: function() {
763
- return new Zr();
763
+ return new Jr();
764
764
  }
765
765
  }, Ie = {
766
- variadic: Xr
766
+ variadic: Wr
767
767
  }, _e = function() {
768
768
  return _e = Object.assign || function(t) {
769
769
  for (var r, n = 1, i = arguments.length; n < i; n++) {
@@ -789,40 +789,40 @@ var X;
789
789
  function tt(e) {
790
790
  return e.type === x.literal;
791
791
  }
792
- function qr(e) {
792
+ function Qr(e) {
793
793
  return e.type === x.argument;
794
794
  }
795
- function Pt(e) {
795
+ function Ot(e) {
796
796
  return e.type === x.number;
797
797
  }
798
- function Ot(e) {
798
+ function It(e) {
799
799
  return e.type === x.date;
800
800
  }
801
- function It(e) {
801
+ function Ct(e) {
802
802
  return e.type === x.time;
803
803
  }
804
- function Ct(e) {
804
+ function Nt(e) {
805
805
  return e.type === x.select;
806
806
  }
807
- function Nt(e) {
807
+ function Lt(e) {
808
808
  return e.type === x.plural;
809
809
  }
810
- function Qr(e) {
810
+ function Yr(e) {
811
811
  return e.type === x.pound;
812
812
  }
813
- function Lt(e) {
813
+ function Mt(e) {
814
814
  return e.type === x.tag;
815
815
  }
816
- function Mt(e) {
816
+ function $t(e) {
817
817
  return !!(e && typeof e == "object" && e.type === X.number);
818
818
  }
819
819
  function Ue(e) {
820
820
  return !!(e && typeof e == "object" && e.type === X.dateTime);
821
821
  }
822
- var $t = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Yr = /(?:[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;
823
- function Kr(e) {
822
+ var Rt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kr = /(?:[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;
823
+ function en(e) {
824
824
  var t = {};
825
- return e.replace(Yr, function(r) {
825
+ return e.replace(Kr, function(r) {
826
826
  var n = r.length;
827
827
  switch (r[0]) {
828
828
  case "G":
@@ -921,11 +921,11 @@ var T = function() {
921
921
  return t;
922
922
  }, T.apply(this, arguments);
923
923
  };
924
- var en = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
925
- function tn(e) {
924
+ var tn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
925
+ function rn(e) {
926
926
  if (e.length === 0)
927
927
  throw new Error("Number skeleton cannot be empty");
928
- for (var t = e.split(en).filter(function(c) {
928
+ for (var t = e.split(tn).filter(function(c) {
929
929
  return c.length > 0;
930
930
  }), r = [], n = 0, i = t; n < i.length; n++) {
931
931
  var o = i[n], s = o.split("/");
@@ -940,17 +940,17 @@ function tn(e) {
940
940
  }
941
941
  return r;
942
942
  }
943
- function rn(e) {
943
+ function nn(e) {
944
944
  return e.replace(/^(.*?)-/, "");
945
945
  }
946
- var rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Rt = /^(@+)?(\+|#+)?[rs]?$/g, nn = /(\*)(0+)|(#+)(0+)|(0+)/g, Dt = /^(0+)$/;
946
+ var rt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Dt = /^(@+)?(\+|#+)?[rs]?$/g, on = /(\*)(0+)|(#+)(0+)|(0+)/g, Ut = /^(0+)$/;
947
947
  function nt(e) {
948
948
  var t = {};
949
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Rt, function(r, n, i) {
949
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Dt, function(r, n, i) {
950
950
  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)), "";
951
951
  }), t;
952
952
  }
953
- function Ut(e) {
953
+ function Gt(e) {
954
954
  switch (e) {
955
955
  case "sign-auto":
956
956
  return {
@@ -990,7 +990,7 @@ function Ut(e) {
990
990
  };
991
991
  }
992
992
  }
993
- function on(e) {
993
+ function sn(e) {
994
994
  var t;
995
995
  if (e[0] === "E" && e[1] === "E" ? (t = {
996
996
  notation: "engineering"
@@ -998,17 +998,17 @@ function on(e) {
998
998
  notation: "scientific"
999
999
  }, e = e.slice(1)), t) {
1000
1000
  var r = e.slice(0, 2);
1001
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Dt.test(e))
1001
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Ut.test(e))
1002
1002
  throw new Error("Malformed concise eng/scientific notation");
1003
1003
  t.minimumIntegerDigits = e.length;
1004
1004
  }
1005
1005
  return t;
1006
1006
  }
1007
1007
  function it(e) {
1008
- var t = {}, r = Ut(e);
1008
+ var t = {}, r = Gt(e);
1009
1009
  return r || t;
1010
1010
  }
1011
- function sn(e) {
1011
+ function an(e) {
1012
1012
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1013
1013
  var i = n[r];
1014
1014
  switch (i.stem) {
@@ -1032,7 +1032,7 @@ function sn(e) {
1032
1032
  continue;
1033
1033
  case "measure-unit":
1034
1034
  case "unit":
1035
- t.style = "unit", t.unit = rn(i.options[0]);
1035
+ t.style = "unit", t.unit = nn(i.options[0]);
1036
1036
  continue;
1037
1037
  case "compact-short":
1038
1038
  case "K":
@@ -1094,7 +1094,7 @@ function sn(e) {
1094
1094
  case "integer-width":
1095
1095
  if (i.options.length > 1)
1096
1096
  throw new RangeError("integer-width stems only accept a single optional option");
1097
- i.options[0].replace(nn, function(h, u, l, f, c, y) {
1097
+ i.options[0].replace(on, function(h, u, l, f, c, y) {
1098
1098
  if (u)
1099
1099
  t.minimumIntegerDigits = l.length;
1100
1100
  else {
@@ -1107,7 +1107,7 @@ function sn(e) {
1107
1107
  });
1108
1108
  continue;
1109
1109
  }
1110
- if (Dt.test(i.stem)) {
1110
+ if (Ut.test(i.stem)) {
1111
1111
  t.minimumIntegerDigits = i.stem.length;
1112
1112
  continue;
1113
1113
  }
@@ -1121,13 +1121,13 @@ function sn(e) {
1121
1121
  o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), nt(o)));
1122
1122
  continue;
1123
1123
  }
1124
- if (Rt.test(i.stem)) {
1124
+ if (Dt.test(i.stem)) {
1125
1125
  t = T(T({}, t), nt(i.stem));
1126
1126
  continue;
1127
1127
  }
1128
- var s = Ut(i.stem);
1128
+ var s = Gt(i.stem);
1129
1129
  s && (t = T(T({}, t), s));
1130
- var a = on(i.stem);
1130
+ var a = sn(i.stem);
1131
1131
  a && (t = T(T({}, t), a));
1132
1132
  }
1133
1133
  return t;
@@ -2547,13 +2547,13 @@ var he = {
2547
2547
  "h"
2548
2548
  ]
2549
2549
  };
2550
- function an(e, t) {
2550
+ function un(e, t) {
2551
2551
  for (var r = "", n = 0; n < e.length; n++) {
2552
2552
  var i = e.charAt(n);
2553
2553
  if (i === "j") {
2554
2554
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2555
2555
  o++, n++;
2556
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = un(t);
2556
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = ln(t);
2557
2557
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2558
2558
  r += h;
2559
2559
  for (; s-- > 0; )
@@ -2563,7 +2563,7 @@ function an(e, t) {
2563
2563
  }
2564
2564
  return r;
2565
2565
  }
2566
- function un(e) {
2566
+ function ln(e) {
2567
2567
  var t = e.hourCycle;
2568
2568
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2569
2569
  e.hourCycles && // @ts-ignore
@@ -2585,20 +2585,20 @@ function un(e) {
2585
2585
  var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
2586
2586
  return i[0];
2587
2587
  }
2588
- var Ce, ln = new RegExp("^".concat($t.source, "*")), hn = new RegExp("".concat($t.source, "*$"));
2588
+ var Ce, hn = new RegExp("^".concat(Rt.source, "*")), cn = new RegExp("".concat(Rt.source, "*$"));
2589
2589
  function g(e, t) {
2590
2590
  return { start: e, end: t };
2591
2591
  }
2592
- var cn = !!String.prototype.startsWith && "_a".startsWith("a", 1), fn = !!String.fromCodePoint, mn = !!Object.fromEntries, dn = !!String.prototype.codePointAt, pn = !!String.prototype.trimStart, bn = !!String.prototype.trimEnd, gn = !!Number.isSafeInteger, yn = gn ? Number.isSafeInteger : function(e) {
2592
+ var fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), mn = !!String.fromCodePoint, dn = !!Object.fromEntries, pn = !!String.prototype.codePointAt, bn = !!String.prototype.trimStart, gn = !!String.prototype.trimEnd, yn = !!Number.isSafeInteger, _n = yn ? Number.isSafeInteger : function(e) {
2593
2593
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2594
- }, ke = !0;
2594
+ }, Ge = !0;
2595
2595
  try {
2596
- var _n = Gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2597
- ke = ((Ce = _n.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2596
+ var En = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2597
+ Ge = ((Ce = En.exec("a")) === null || Ce === void 0 ? void 0 : Ce[0]) === "a";
2598
2598
  } catch {
2599
- ke = !1;
2599
+ Ge = !1;
2600
2600
  }
2601
- var ot = cn ? (
2601
+ var ot = fn ? (
2602
2602
  // Native
2603
2603
  function(t, r, n) {
2604
2604
  return t.startsWith(r, n);
@@ -2608,7 +2608,7 @@ var ot = cn ? (
2608
2608
  function(t, r, n) {
2609
2609
  return t.slice(n, n + r.length) === r;
2610
2610
  }
2611
- ), Ge = fn ? String.fromCodePoint : (
2611
+ ), ke = mn ? String.fromCodePoint : (
2612
2612
  // IE11
2613
2613
  function() {
2614
2614
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2622,7 +2622,7 @@ var ot = cn ? (
2622
2622
  }
2623
2623
  ), st = (
2624
2624
  // native
2625
- mn ? Object.fromEntries : (
2625
+ dn ? Object.fromEntries : (
2626
2626
  // Ponyfill
2627
2627
  function(t) {
2628
2628
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2632,7 +2632,7 @@ var ot = cn ? (
2632
2632
  return r;
2633
2633
  }
2634
2634
  )
2635
- ), kt = dn ? (
2635
+ ), kt = pn ? (
2636
2636
  // Native
2637
2637
  function(t, r) {
2638
2638
  return t.codePointAt(r);
@@ -2646,7 +2646,7 @@ var ot = cn ? (
2646
2646
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2647
2647
  }
2648
2648
  }
2649
- ), En = pn ? (
2649
+ ), vn = bn ? (
2650
2650
  // Native
2651
2651
  function(t) {
2652
2652
  return t.trimStart();
@@ -2654,9 +2654,9 @@ var ot = cn ? (
2654
2654
  ) : (
2655
2655
  // Ponyfill
2656
2656
  function(t) {
2657
- return t.replace(ln, "");
2657
+ return t.replace(hn, "");
2658
2658
  }
2659
- ), vn = bn ? (
2659
+ ), xn = gn ? (
2660
2660
  // Native
2661
2661
  function(t) {
2662
2662
  return t.trimEnd();
@@ -2664,15 +2664,15 @@ var ot = cn ? (
2664
2664
  ) : (
2665
2665
  // Ponyfill
2666
2666
  function(t) {
2667
- return t.replace(hn, "");
2667
+ return t.replace(cn, "");
2668
2668
  }
2669
2669
  );
2670
- function Gt(e, t) {
2670
+ function Ft(e, t) {
2671
2671
  return new RegExp(e, t);
2672
2672
  }
2673
2673
  var Fe;
2674
- if (ke) {
2675
- var at = Gt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2674
+ if (Ge) {
2675
+ var at = Ft("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2676
2676
  Fe = function(t, r) {
2677
2677
  var n;
2678
2678
  at.lastIndex = r;
@@ -2683,13 +2683,13 @@ if (ke) {
2683
2683
  Fe = function(t, r) {
2684
2684
  for (var n = []; ; ) {
2685
2685
  var i = kt(t, r);
2686
- if (i === void 0 || Ft(i) || Sn(i))
2686
+ if (i === void 0 || jt(i) || Sn(i))
2687
2687
  break;
2688
2688
  n.push(i), r += i >= 65536 ? 2 : 1;
2689
2689
  }
2690
- return Ge.apply(void 0, n);
2690
+ return ke.apply(void 0, n);
2691
2691
  };
2692
- var xn = (
2692
+ var Tn = (
2693
2693
  /** @class */
2694
2694
  function() {
2695
2695
  function e(t, r) {
@@ -2771,7 +2771,7 @@ var xn = (
2771
2771
  return this.error(b.INVALID_TAG, g(n, this.clonePosition()));
2772
2772
  }, e.prototype.parseTagName = function() {
2773
2773
  var t = this.offset();
2774
- for (this.bump(); !this.isEOF() && Hn(this.char()); )
2774
+ for (this.bump(); !this.isEOF() && wn(this.char()); )
2775
2775
  this.bump();
2776
2776
  return this.message.slice(t, this.offset());
2777
2777
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2800,7 +2800,7 @@ var xn = (
2800
2800
  };
2801
2801
  }, e.prototype.tryParseLeftAngleBracket = function() {
2802
2802
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2803
- !Tn(this.peek() || 0)) ? (this.bump(), "<") : null;
2803
+ !Hn(this.peek() || 0)) ? (this.bump(), "<") : null;
2804
2804
  }, e.prototype.tryParseQuote = function(t) {
2805
2805
  if (this.isEOF() || this.char() !== 39)
2806
2806
  return null;
@@ -2834,12 +2834,12 @@ var xn = (
2834
2834
  r.push(n);
2835
2835
  this.bump();
2836
2836
  }
2837
- return Ge.apply(void 0, r);
2837
+ return ke.apply(void 0, r);
2838
2838
  }, e.prototype.tryParseUnquoted = function(t, r) {
2839
2839
  if (this.isEOF())
2840
2840
  return null;
2841
2841
  var n = this.char();
2842
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ge(n));
2842
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
2843
2843
  }, e.prototype.parseArgument = function(t, r) {
2844
2844
  var n = this.clonePosition();
2845
2845
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2887,7 +2887,7 @@ var xn = (
2887
2887
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2888
2888
  if (f.err)
2889
2889
  return f;
2890
- var c = vn(f.val);
2890
+ var c = xn(f.val);
2891
2891
  if (c.length === 0)
2892
2892
  return this.error(b.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
2893
2893
  var y = g(l, this.clonePosition());
@@ -2898,7 +2898,7 @@ var xn = (
2898
2898
  return p;
2899
2899
  var E = g(i, this.clonePosition());
2900
2900
  if (u && ot(u?.style, "::", 0)) {
2901
- var _ = En(u.style.slice(2));
2901
+ var _ = vn(u.style.slice(2));
2902
2902
  if (a === "number") {
2903
2903
  var f = this.parseNumberSkeletonFromString(_, u.styleLocation);
2904
2904
  return f.err ? f : {
@@ -2909,12 +2909,12 @@ var xn = (
2909
2909
  if (_.length === 0)
2910
2910
  return this.error(b.EXPECT_DATE_TIME_SKELETON, E);
2911
2911
  var m = _;
2912
- this.locale && (m = an(_, this.locale));
2912
+ this.locale && (m = un(_, this.locale));
2913
2913
  var c = {
2914
2914
  type: X.dateTime,
2915
2915
  pattern: m,
2916
2916
  location: u.styleLocation,
2917
- parsedOptions: this.shouldParseSkeletons ? Kr(m) : {}
2917
+ parsedOptions: this.shouldParseSkeletons ? en(m) : {}
2918
2918
  }, v = a === "date" ? x.date : x.time;
2919
2919
  return {
2920
2920
  val: { type: v, value: n, location: E, style: c },
@@ -2939,17 +2939,17 @@ var xn = (
2939
2939
  if (this.bumpSpace(), !this.bumpIf(","))
2940
2940
  return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, g(d, _e({}, d)));
2941
2941
  this.bumpSpace();
2942
- var S = this.parseIdentifierIfPossible(), B = 0;
2943
- if (a !== "select" && S.value === "offset") {
2942
+ var w = this.parseIdentifierIfPossible(), S = 0;
2943
+ if (a !== "select" && w.value === "offset") {
2944
2944
  if (!this.bumpIf(":"))
2945
2945
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
2946
2946
  this.bumpSpace();
2947
2947
  var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2948
2948
  if (f.err)
2949
2949
  return f;
2950
- this.bumpSpace(), S = this.parseIdentifierIfPossible(), B = f.val;
2950
+ this.bumpSpace(), w = this.parseIdentifierIfPossible(), S = f.val;
2951
2951
  }
2952
- var ae = this.tryParsePluralOrSelectOptions(t, a, r, S);
2952
+ var ae = this.tryParsePluralOrSelectOptions(t, a, r, w);
2953
2953
  if (ae.err)
2954
2954
  return ae;
2955
2955
  var p = this.tryParseArgumentClose(i);
@@ -2969,7 +2969,7 @@ var xn = (
2969
2969
  type: x.plural,
2970
2970
  value: n,
2971
2971
  options: st(ae.val),
2972
- offset: B,
2972
+ offset: S,
2973
2973
  pluralType: a === "plural" ? "cardinal" : "ordinal",
2974
2974
  location: qe
2975
2975
  },
@@ -3019,7 +3019,7 @@ var xn = (
3019
3019
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3020
3020
  var n = [];
3021
3021
  try {
3022
- n = tn(t);
3022
+ n = rn(t);
3023
3023
  } catch {
3024
3024
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3025
3025
  }
@@ -3028,7 +3028,7 @@ var xn = (
3028
3028
  type: X.number,
3029
3029
  tokens: n,
3030
3030
  location: r,
3031
- parsedOptions: this.shouldParseSkeletons ? sn(n) : {}
3031
+ parsedOptions: this.shouldParseSkeletons ? an(n) : {}
3032
3032
  },
3033
3033
  err: null
3034
3034
  };
@@ -3076,7 +3076,7 @@ var xn = (
3076
3076
  break;
3077
3077
  }
3078
3078
  var h = g(i, this.clonePosition());
3079
- return o ? (s *= n, yn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3079
+ return o ? (s *= n, _n(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3080
3080
  }, e.prototype.offset = function() {
3081
3081
  return this.position.offset;
3082
3082
  }, e.prototype.isEOF = function() {
@@ -3132,7 +3132,7 @@ var xn = (
3132
3132
  break;
3133
3133
  }
3134
3134
  }, e.prototype.bumpSpace = function() {
3135
- for (; !this.isEOF() && Ft(this.char()); )
3135
+ for (; !this.isEOF() && jt(this.char()); )
3136
3136
  this.bump();
3137
3137
  }, e.prototype.peek = function() {
3138
3138
  if (this.isEOF())
@@ -3145,13 +3145,13 @@ var xn = (
3145
3145
  function je(e) {
3146
3146
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3147
3147
  }
3148
- function Tn(e) {
3148
+ function Hn(e) {
3149
3149
  return je(e) || e === 47;
3150
3150
  }
3151
- function Hn(e) {
3151
+ function wn(e) {
3152
3152
  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;
3153
3153
  }
3154
- function Ft(e) {
3154
+ function jt(e) {
3155
3155
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3156
3156
  }
3157
3157
  function Sn(e) {
@@ -3159,16 +3159,16 @@ function Sn(e) {
3159
3159
  }
3160
3160
  function ze(e) {
3161
3161
  e.forEach(function(t) {
3162
- if (delete t.location, Ct(t) || Nt(t))
3162
+ if (delete t.location, Nt(t) || Lt(t))
3163
3163
  for (var r in t.options)
3164
3164
  delete t.options[r].location, ze(t.options[r].value);
3165
3165
  else
3166
- Pt(t) && Mt(t.style) || (Ot(t) || It(t)) && Ue(t.style) ? delete t.style.location : Lt(t) && ze(t.children);
3166
+ Ot(t) && $t(t.style) || (It(t) || Ct(t)) && Ue(t.style) ? delete t.style.location : Mt(t) && ze(t.children);
3167
3167
  });
3168
3168
  }
3169
3169
  function Bn(e, t) {
3170
3170
  t === void 0 && (t = {}), t = _e({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3171
- var r = new xn(e, t).parse();
3171
+ var r = new Tn(e, t).parse();
3172
3172
  if (r.err) {
3173
3173
  var n = SyntaxError(b[r.err.kind]);
3174
3174
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3179,7 +3179,7 @@ var W;
3179
3179
  (function(e) {
3180
3180
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3181
3181
  })(W || (W = {}));
3182
- var Se = (
3182
+ var we = (
3183
3183
  /** @class */
3184
3184
  function(e) {
3185
3185
  He(t, e);
@@ -3199,8 +3199,8 @@ var Se = (
3199
3199
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, o) || this;
3200
3200
  }
3201
3201
  return t;
3202
- }(Se)
3203
- ), wn = (
3202
+ }(we)
3203
+ ), An = (
3204
3204
  /** @class */
3205
3205
  function(e) {
3206
3206
  He(t, e);
@@ -3208,8 +3208,8 @@ var Se = (
3208
3208
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
3209
3209
  }
3210
3210
  return t;
3211
- }(Se)
3212
- ), An = (
3211
+ }(we)
3212
+ ), Pn = (
3213
3213
  /** @class */
3214
3214
  function(e) {
3215
3215
  He(t, e);
@@ -3217,18 +3217,18 @@ var Se = (
3217
3217
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
3218
3218
  }
3219
3219
  return t;
3220
- }(Se)
3220
+ }(we)
3221
3221
  ), H;
3222
3222
  (function(e) {
3223
3223
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3224
3224
  })(H || (H = {}));
3225
- function Pn(e) {
3225
+ function On(e) {
3226
3226
  return e.length < 2 ? e : e.reduce(function(t, r) {
3227
3227
  var n = t[t.length - 1];
3228
3228
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3229
3229
  }, []);
3230
3230
  }
3231
- function On(e) {
3231
+ function In(e) {
3232
3232
  return typeof e == "function";
3233
3233
  }
3234
3234
  function ge(e, t, r, n, i, o, s) {
@@ -3248,7 +3248,7 @@ function ge(e, t, r, n, i, o, s) {
3248
3248
  });
3249
3249
  continue;
3250
3250
  }
3251
- if (Qr(l)) {
3251
+ if (Yr(l)) {
3252
3252
  typeof o == "number" && a.push({
3253
3253
  type: H.literal,
3254
3254
  value: r.getNumberFormat(t).format(o)
@@ -3257,16 +3257,16 @@ function ge(e, t, r, n, i, o, s) {
3257
3257
  }
3258
3258
  var f = l.value;
3259
3259
  if (!(i && f in i))
3260
- throw new An(f, s);
3260
+ throw new Pn(f, s);
3261
3261
  var c = i[f];
3262
- if (qr(l)) {
3262
+ if (Qr(l)) {
3263
3263
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3264
3264
  type: typeof c == "string" ? H.literal : H.object,
3265
3265
  value: c
3266
3266
  });
3267
3267
  continue;
3268
3268
  }
3269
- if (Ot(l)) {
3269
+ if (It(l)) {
3270
3270
  var y = typeof l.style == "string" ? n.date[l.style] : Ue(l.style) ? l.style.parsedOptions : void 0;
3271
3271
  a.push({
3272
3272
  type: H.literal,
@@ -3274,7 +3274,7 @@ function ge(e, t, r, n, i, o, s) {
3274
3274
  });
3275
3275
  continue;
3276
3276
  }
3277
- if (It(l)) {
3277
+ if (Ct(l)) {
3278
3278
  var y = typeof l.style == "string" ? n.time[l.style] : Ue(l.style) ? l.style.parsedOptions : n.time.medium;
3279
3279
  a.push({
3280
3280
  type: H.literal,
@@ -3282,44 +3282,44 @@ function ge(e, t, r, n, i, o, s) {
3282
3282
  });
3283
3283
  continue;
3284
3284
  }
3285
- if (Pt(l)) {
3286
- var y = typeof l.style == "string" ? n.number[l.style] : Mt(l.style) ? l.style.parsedOptions : void 0;
3285
+ if (Ot(l)) {
3286
+ var y = typeof l.style == "string" ? n.number[l.style] : $t(l.style) ? l.style.parsedOptions : void 0;
3287
3287
  y && y.scale && (c = c * (y.scale || 1)), a.push({
3288
3288
  type: H.literal,
3289
3289
  value: r.getNumberFormat(t, y).format(c)
3290
3290
  });
3291
3291
  continue;
3292
3292
  }
3293
- if (Lt(l)) {
3293
+ if (Mt(l)) {
3294
3294
  var p = l.children, E = l.value, _ = i[E];
3295
- if (!On(_))
3296
- throw new wn(E, "function", s);
3297
- var m = ge(p, t, r, n, i, o), v = _(m.map(function(B) {
3298
- return B.value;
3295
+ if (!In(_))
3296
+ throw new An(E, "function", s);
3297
+ var m = ge(p, t, r, n, i, o), v = _(m.map(function(S) {
3298
+ return S.value;
3299
3299
  }));
3300
- Array.isArray(v) || (v = [v]), a.push.apply(a, v.map(function(B) {
3300
+ Array.isArray(v) || (v = [v]), a.push.apply(a, v.map(function(S) {
3301
3301
  return {
3302
- type: typeof B == "string" ? H.literal : H.object,
3303
- value: B
3302
+ type: typeof S == "string" ? H.literal : H.object,
3303
+ value: S
3304
3304
  };
3305
3305
  }));
3306
3306
  }
3307
- if (Ct(l)) {
3307
+ if (Nt(l)) {
3308
3308
  var d = l.options[c] || l.options.other;
3309
3309
  if (!d)
3310
3310
  throw new ut(l.value, c, Object.keys(l.options), s);
3311
3311
  a.push.apply(a, ge(d.value, t, r, n, i));
3312
3312
  continue;
3313
3313
  }
3314
- if (Nt(l)) {
3314
+ if (Lt(l)) {
3315
3315
  var d = l.options["=".concat(c)];
3316
3316
  if (!d) {
3317
3317
  if (!Intl.PluralRules)
3318
- throw new Se(`Intl.PluralRules is not available in this environment.
3318
+ throw new we(`Intl.PluralRules is not available in this environment.
3319
3319
  Try polyfilling it using "@formatjs/intl-pluralrules"
3320
3320
  `, W.MISSING_INTL_API, s);
3321
- var S = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3322
- d = l.options[S] || l.options.other;
3321
+ var w = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3322
+ d = l.options[w] || l.options.other;
3323
3323
  }
3324
3324
  if (!d)
3325
3325
  throw new ut(l.value, c, Object.keys(l.options), s);
@@ -3327,16 +3327,16 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
3327
3327
  continue;
3328
3328
  }
3329
3329
  }
3330
- return Pn(a);
3330
+ return On(a);
3331
3331
  }
3332
- function In(e, t) {
3332
+ function Cn(e, t) {
3333
3333
  return t ? A(A(A({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3334
3334
  return r[n] = A(A({}, e[n]), t[n] || {}), r;
3335
3335
  }, {})) : e;
3336
3336
  }
3337
- function Cn(e, t) {
3337
+ function Nn(e, t) {
3338
3338
  return t ? Object.keys(e).reduce(function(r, n) {
3339
- return r[n] = In(e[n], t[n]), r;
3339
+ return r[n] = Cn(e[n], t[n]), r;
3340
3340
  }, A({}, e)) : e;
3341
3341
  }
3342
3342
  function Ne(e) {
@@ -3353,7 +3353,7 @@ function Ne(e) {
3353
3353
  }
3354
3354
  };
3355
3355
  }
3356
- function Nn(e) {
3356
+ function Ln(e) {
3357
3357
  return e === void 0 && (e = {
3358
3358
  number: {},
3359
3359
  dateTime: {},
@@ -3385,7 +3385,7 @@ function Nn(e) {
3385
3385
  })
3386
3386
  };
3387
3387
  }
3388
- var jt = (
3388
+ var zt = (
3389
3389
  /** @class */
3390
3390
  function() {
3391
3391
  function e(t, r, n, i) {
@@ -3417,13 +3417,13 @@ var jt = (
3417
3417
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3418
3418
  var s = i || {};
3419
3419
  s.formatters;
3420
- var a = Fr(s, ["formatters"]);
3420
+ var a = jr(s, ["formatters"]);
3421
3421
  this.ast = e.__parse(t, A(A({}, a), { locale: this.resolvedLocale }));
3422
3422
  } else
3423
3423
  this.ast = t;
3424
3424
  if (!Array.isArray(this.ast))
3425
3425
  throw new TypeError("A message must be provided as a String or AST.");
3426
- this.formats = Cn(e.formats, n), this.formatters = i && i.formatters || Nn(this.formatterCache);
3426
+ this.formats = Nn(e.formats, n), this.formatters = i && i.formatters || Ln(this.formatterCache);
3427
3427
  }
3428
3428
  return Object.defineProperty(e, "defaultLocale", {
3429
3429
  get: function() {
@@ -3497,7 +3497,7 @@ var jt = (
3497
3497
  }, e;
3498
3498
  }()
3499
3499
  );
3500
- function Ln(e, t) {
3500
+ function Mn(e, t) {
3501
3501
  if (t == null)
3502
3502
  return;
3503
3503
  if (t in e)
@@ -3518,44 +3518,44 @@ function Ln(e, t) {
3518
3518
  n = void 0;
3519
3519
  return n;
3520
3520
  }
3521
- const L = {}, Mn = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), zt = (e, t) => {
3521
+ const N = {}, $n = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), Vt = (e, t) => {
3522
3522
  if (t == null)
3523
3523
  return;
3524
- if (t in L && e in L[t])
3525
- return L[t][e];
3524
+ if (t in N && e in N[t])
3525
+ return N[t][e];
3526
3526
  const r = se(t);
3527
3527
  for (let n = 0; n < r.length; n++) {
3528
- const i = r[n], o = Rn(i, e);
3528
+ const i = r[n], o = Dn(i, e);
3529
3529
  if (o)
3530
- return Mn(e, t, o);
3530
+ return $n(e, t, o);
3531
3531
  }
3532
3532
  };
3533
3533
  let Ze;
3534
3534
  const oe = Te({});
3535
- function $n(e) {
3535
+ function Rn(e) {
3536
3536
  return Ze[e] || null;
3537
3537
  }
3538
- function Vt(e) {
3538
+ function Xt(e) {
3539
3539
  return e in Ze;
3540
3540
  }
3541
- function Rn(e, t) {
3542
- if (!Vt(e))
3541
+ function Dn(e, t) {
3542
+ if (!Xt(e))
3543
3543
  return null;
3544
- const r = $n(e);
3545
- return Ln(r, t);
3544
+ const r = Rn(e);
3545
+ return Mn(r, t);
3546
3546
  }
3547
- function Dn(e) {
3547
+ function Un(e) {
3548
3548
  if (e == null)
3549
3549
  return;
3550
3550
  const t = se(e);
3551
3551
  for (let r = 0; r < t.length; r++) {
3552
3552
  const n = t[r];
3553
- if (Vt(n))
3553
+ if (Xt(n))
3554
3554
  return n;
3555
3555
  }
3556
3556
  }
3557
- function Xt(e, ...t) {
3558
- delete L[e], oe.update((r) => (r[e] = Gr.all([r[e] || {}, ...t]), r));
3557
+ function Wt(e, ...t) {
3558
+ delete N[e], oe.update((r) => (r[e] = Fr.all([r[e] || {}, ...t]), r));
3559
3559
  }
3560
3560
  q(
3561
3561
  [oe],
@@ -3563,15 +3563,15 @@ q(
3563
3563
  );
3564
3564
  oe.subscribe((e) => Ze = e);
3565
3565
  const ye = {};
3566
- function Un(e, t) {
3566
+ function Gn(e, t) {
3567
3567
  ye[e].delete(t), ye[e].size === 0 && delete ye[e];
3568
3568
  }
3569
- function Wt(e) {
3569
+ function Zt(e) {
3570
3570
  return ye[e];
3571
3571
  }
3572
3572
  function kn(e) {
3573
3573
  return se(e).map((t) => {
3574
- const r = Wt(t);
3574
+ const r = Zt(t);
3575
3575
  return [t, r ? [...r] : []];
3576
3576
  }).filter(([, t]) => t.length > 0);
3577
3577
  }
@@ -3579,40 +3579,40 @@ function Ee(e) {
3579
3579
  return e == null ? !1 : se(e).some(
3580
3580
  (t) => {
3581
3581
  var r;
3582
- return (r = Wt(t)) == null ? void 0 : r.size;
3582
+ return (r = Zt(t)) == null ? void 0 : r.size;
3583
3583
  }
3584
3584
  );
3585
3585
  }
3586
- function Gn(e, t) {
3586
+ function Fn(e, t) {
3587
3587
  return Promise.all(
3588
- t.map((n) => (Un(e, n), n().then((i) => i.default || i)))
3589
- ).then((n) => Xt(e, ...n));
3588
+ t.map((n) => (Gn(e, n), n().then((i) => i.default || i)))
3589
+ ).then((n) => Wt(e, ...n));
3590
3590
  }
3591
3591
  const Y = {};
3592
- function Zt(e) {
3592
+ function Jt(e) {
3593
3593
  if (!Ee(e))
3594
3594
  return e in Y ? Y[e] : Promise.resolve();
3595
3595
  const t = kn(e);
3596
3596
  return Y[e] = Promise.all(
3597
3597
  t.map(
3598
- ([r, n]) => Gn(r, n)
3598
+ ([r, n]) => Fn(r, n)
3599
3599
  )
3600
3600
  ).then(() => {
3601
3601
  if (Ee(e))
3602
- return Zt(e);
3602
+ return Jt(e);
3603
3603
  delete Y[e];
3604
3604
  }), Y[e];
3605
3605
  }
3606
- var lt = Object.getOwnPropertySymbols, Fn = Object.prototype.hasOwnProperty, jn = Object.prototype.propertyIsEnumerable, zn = (e, t) => {
3606
+ var lt = Object.getOwnPropertySymbols, jn = Object.prototype.hasOwnProperty, zn = Object.prototype.propertyIsEnumerable, Vn = (e, t) => {
3607
3607
  var r = {};
3608
3608
  for (var n in e)
3609
- Fn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3609
+ jn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3610
3610
  if (e != null && lt)
3611
3611
  for (var n of lt(e))
3612
- t.indexOf(n) < 0 && jn.call(e, n) && (r[n] = e[n]);
3612
+ t.indexOf(n) < 0 && zn.call(e, n) && (r[n] = e[n]);
3613
3613
  return r;
3614
3614
  };
3615
- const Vn = {
3615
+ const Xn = {
3616
3616
  number: {
3617
3617
  scientific: { notation: "scientific" },
3618
3618
  engineering: { notation: "engineering" },
@@ -3642,50 +3642,50 @@ const Vn = {
3642
3642
  }
3643
3643
  }
3644
3644
  };
3645
- function Xn({ locale: e, id: t }) {
3645
+ function Wn({ locale: e, id: t }) {
3646
3646
  console.warn(
3647
3647
  `[svelte-i18n] The message "${t}" was not found in "${se(
3648
3648
  e
3649
- ).join('", "')}".${Ee(R()) ? `
3649
+ ).join('", "')}".${Ee(M()) ? `
3650
3650
 
3651
3651
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3652
3652
  );
3653
3653
  }
3654
- const Wn = {
3654
+ const Zn = {
3655
3655
  fallbackLocale: null,
3656
3656
  loadingDelay: 200,
3657
- formats: Vn,
3657
+ formats: Xn,
3658
3658
  warnOnMissingMessages: !0,
3659
3659
  handleMissingMessage: void 0,
3660
3660
  ignoreTag: !0
3661
- }, K = Wn;
3661
+ }, K = Zn;
3662
3662
  function Z() {
3663
3663
  return K;
3664
3664
  }
3665
- function Zn(e) {
3666
- const t = e, { formats: r } = t, n = zn(t, ["formats"]);
3665
+ function Jn(e) {
3666
+ const t = e, { formats: r } = t, n = Vn(t, ["formats"]);
3667
3667
  let i = e.fallbackLocale;
3668
3668
  if (e.initialLocale)
3669
3669
  try {
3670
- jt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3670
+ zt.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3671
3671
  } catch {
3672
3672
  console.warn(
3673
3673
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3674
3674
  );
3675
3675
  }
3676
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Xn : console.warn(
3676
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = Wn : console.warn(
3677
3677
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3678
3678
  )), Object.assign(K, n, { initialLocale: i }), r && ("number" in r && Object.assign(K.formats.number, r.number), "date" in r && Object.assign(K.formats.date, r.date), "time" in r && Object.assign(K.formats.time, r.time)), U.set(i);
3679
3679
  }
3680
3680
  const Le = Te(!1);
3681
- var Jn = Object.defineProperty, qn = Object.defineProperties, Qn = Object.getOwnPropertyDescriptors, ht = Object.getOwnPropertySymbols, Yn = Object.prototype.hasOwnProperty, Kn = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? Jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ei = (e, t) => {
3681
+ var qn = Object.defineProperty, Qn = Object.defineProperties, Yn = Object.getOwnPropertyDescriptors, ht = Object.getOwnPropertySymbols, Kn = Object.prototype.hasOwnProperty, ei = Object.prototype.propertyIsEnumerable, ct = (e, t, r) => t in e ? qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ti = (e, t) => {
3682
3682
  for (var r in t || (t = {}))
3683
- Yn.call(t, r) && ct(e, r, t[r]);
3683
+ Kn.call(t, r) && ct(e, r, t[r]);
3684
3684
  if (ht)
3685
3685
  for (var r of ht(t))
3686
- Kn.call(t, r) && ct(e, r, t[r]);
3686
+ ei.call(t, r) && ct(e, r, t[r]);
3687
3687
  return e;
3688
- }, ti = (e, t) => qn(e, Qn(t));
3688
+ }, ri = (e, t) => Qn(e, Yn(t));
3689
3689
  let Ve;
3690
3690
  const ve = Te(null);
3691
3691
  function ft(e) {
@@ -3695,49 +3695,49 @@ function se(e, t = Z().fallbackLocale) {
3695
3695
  const r = ft(e);
3696
3696
  return t ? [.../* @__PURE__ */ new Set([...r, ...ft(t)])] : r;
3697
3697
  }
3698
- function R() {
3698
+ function M() {
3699
3699
  return Ve ?? void 0;
3700
3700
  }
3701
3701
  ve.subscribe((e) => {
3702
3702
  Ve = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3703
3703
  });
3704
- const ri = (e) => {
3705
- if (e && Dn(e) && Ee(e)) {
3704
+ const ni = (e) => {
3705
+ if (e && Un(e) && Ee(e)) {
3706
3706
  const { loadingDelay: t } = Z();
3707
3707
  let r;
3708
- return typeof window < "u" && R() != null && t ? r = window.setTimeout(
3708
+ return typeof window < "u" && M() != null && t ? r = window.setTimeout(
3709
3709
  () => Le.set(!0),
3710
3710
  t
3711
- ) : Le.set(!0), Zt(e).then(() => {
3711
+ ) : Le.set(!0), Jt(e).then(() => {
3712
3712
  ve.set(e);
3713
3713
  }).finally(() => {
3714
3714
  clearTimeout(r), Le.set(!1);
3715
3715
  });
3716
3716
  }
3717
3717
  return ve.set(e);
3718
- }, U = ti(ei({}, ve), {
3719
- set: ri
3720
- }), Be = (e) => {
3718
+ }, U = ri(ti({}, ve), {
3719
+ set: ni
3720
+ }), Se = (e) => {
3721
3721
  const t = /* @__PURE__ */ Object.create(null);
3722
3722
  return (n) => {
3723
3723
  const i = JSON.stringify(n);
3724
3724
  return i in t ? t[i] : t[i] = e(n);
3725
3725
  };
3726
3726
  };
3727
- var ni = Object.defineProperty, xe = Object.getOwnPropertySymbols, Jt = Object.prototype.hasOwnProperty, qt = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
3727
+ var ii = Object.defineProperty, xe = Object.getOwnPropertySymbols, qt = Object.prototype.hasOwnProperty, Qt = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
3728
3728
  for (var r in t || (t = {}))
3729
- Jt.call(t, r) && mt(e, r, t[r]);
3729
+ qt.call(t, r) && mt(e, r, t[r]);
3730
3730
  if (xe)
3731
3731
  for (var r of xe(t))
3732
- qt.call(t, r) && mt(e, r, t[r]);
3732
+ Qt.call(t, r) && mt(e, r, t[r]);
3733
3733
  return e;
3734
3734
  }, Q = (e, t) => {
3735
3735
  var r = {};
3736
3736
  for (var n in e)
3737
- Jt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3737
+ qt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3738
3738
  if (e != null && xe)
3739
3739
  for (var n of xe(e))
3740
- t.indexOf(n) < 0 && qt.call(e, n) && (r[n] = e[n]);
3740
+ t.indexOf(n) < 0 && Qt.call(e, n) && (r[n] = e[n]);
3741
3741
  return r;
3742
3742
  };
3743
3743
  const ne = (e, t) => {
@@ -3745,21 +3745,21 @@ const ne = (e, t) => {
3745
3745
  if (e in r && t in r[e])
3746
3746
  return r[e][t];
3747
3747
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3748
- }, ii = Be(
3748
+ }, oi = Se(
3749
3749
  (e) => {
3750
3750
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3751
3751
  if (r == null)
3752
3752
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3753
3753
  return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
3754
3754
  }
3755
- ), oi = Be(
3755
+ ), si = Se(
3756
3756
  (e) => {
3757
3757
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3758
3758
  if (r == null)
3759
3759
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3760
3760
  return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
3761
3761
  }
3762
- ), si = Be(
3762
+ ), ai = Se(
3763
3763
  (e) => {
3764
3764
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3765
3765
  if (r == null)
@@ -3768,46 +3768,46 @@ const ne = (e, t) => {
3768
3768
  );
3769
3769
  return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
3770
3770
  }
3771
- ), ai = (e = {}) => {
3771
+ ), ui = (e = {}) => {
3772
3772
  var t = e, {
3773
- locale: r = R()
3773
+ locale: r = M()
3774
3774
  } = t, n = Q(t, [
3775
3775
  "locale"
3776
3776
  ]);
3777
- return ii(Je({ locale: r }, n));
3778
- }, ui = (e = {}) => {
3777
+ return oi(Je({ locale: r }, n));
3778
+ }, li = (e = {}) => {
3779
3779
  var t = e, {
3780
- locale: r = R()
3780
+ locale: r = M()
3781
3781
  } = t, n = Q(t, [
3782
3782
  "locale"
3783
3783
  ]);
3784
- return oi(Je({ locale: r }, n));
3785
- }, li = (e = {}) => {
3784
+ return si(Je({ locale: r }, n));
3785
+ }, hi = (e = {}) => {
3786
3786
  var t = e, {
3787
- locale: r = R()
3787
+ locale: r = M()
3788
3788
  } = t, n = Q(t, [
3789
3789
  "locale"
3790
3790
  ]);
3791
- return si(Je({ locale: r }, n));
3792
- }, hi = Be(
3791
+ return ai(Je({ locale: r }, n));
3792
+ }, ci = Se(
3793
3793
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3794
- (e, t = R()) => new jt(e, t, Z().formats, {
3794
+ (e, t = M()) => new zt(e, t, Z().formats, {
3795
3795
  ignoreTag: Z().ignoreTag
3796
3796
  })
3797
- ), ci = (e, t = {}) => {
3797
+ ), fi = (e, t = {}) => {
3798
3798
  var r, n, i, o;
3799
3799
  let s = t;
3800
3800
  typeof e == "object" && (s = e, e = s.id);
3801
3801
  const {
3802
3802
  values: a,
3803
- locale: h = R(),
3803
+ locale: h = M(),
3804
3804
  default: u
3805
3805
  } = s;
3806
3806
  if (h == null)
3807
3807
  throw new Error(
3808
3808
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3809
3809
  );
3810
- let l = zt(e, h);
3810
+ let l = Vt(e, h);
3811
3811
  if (!l)
3812
3812
  l = (o = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
3813
3813
  else if (typeof l != "string")
@@ -3818,7 +3818,7 @@ const ne = (e, t) => {
3818
3818
  return l;
3819
3819
  let f = l;
3820
3820
  try {
3821
- f = hi(l, h).format(a);
3821
+ f = ci(l, h).format(a);
3822
3822
  } catch (c) {
3823
3823
  c instanceof Error && console.warn(
3824
3824
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3826,16 +3826,16 @@ const ne = (e, t) => {
3826
3826
  );
3827
3827
  }
3828
3828
  return f;
3829
- }, fi = (e, t) => li(t).format(e), mi = (e, t) => ui(t).format(e), di = (e, t) => ai(t).format(e), pi = (e, t = R()) => zt(e, t), bi = q([U, oe], () => ci);
3830
- q([U], () => fi);
3829
+ }, mi = (e, t) => hi(t).format(e), di = (e, t) => li(t).format(e), pi = (e, t) => ui(t).format(e), bi = (e, t = M()) => Vt(e, t), gi = q([U, oe], () => fi);
3831
3830
  q([U], () => mi);
3832
3831
  q([U], () => di);
3833
- q([U, oe], () => pi);
3832
+ q([U], () => pi);
3833
+ q([U, oe], () => bi);
3834
3834
  function dt(e, t) {
3835
- Xt(e, t);
3835
+ Wt(e, t);
3836
3836
  }
3837
- function gi(e) {
3838
- Zn({
3837
+ function yi(e) {
3838
+ Jn({
3839
3839
  fallbackLocale: "en"
3840
3840
  }), U.set(e);
3841
3841
  }
@@ -3893,34 +3893,19 @@ const pt = {
3893
3893
  DeclinedByMerchant: "Özür dileriz, ancak işlem satıcı tarafından kapatıldı. Daha fazla yardım için lütfen Müşteri Desteği ile iletişime geçin."
3894
3894
  }
3895
3895
  };
3896
- function yi(e) {
3897
- er(e, "svelte-s6qloq", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.ImagePlaceholder{margin-top:20px;height:200px;width:100%;background:#E6E6E6}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #FFF);text-align:center;cursor:pointer;font-size:var(--emw--font-size-medium, 16px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:120%;border:none;border-radius:var(--emw--border-radius-medium, 4px);background:var(--emw--color-primary, #7EC51E)}.CashierErrorButton:hover{background:var(--emw--color-main-button-hover, #71B11B)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #5C950F)}.CashierErrorContent ui-image img{width:300px}");
3898
- }
3899
- const _i = (e) => ({}), bt = (e) => ({}), Ei = (e) => ({}), gt = (e) => ({}), vi = (e) => ({}), yt = (e) => ({}), xi = (e) => ({}), _t = (e) => ({ class: "CashierErrorIcon" });
3900
- function Ti(e) {
3901
- let t;
3902
- return {
3903
- c() {
3904
- t = O("div"), M(t, "class", "ImagePlaceholder Error");
3905
- },
3906
- m(r, n) {
3907
- $(r, t, n);
3908
- },
3909
- p: P,
3910
- d(r) {
3911
- r && C(t);
3912
- }
3913
- };
3896
+ function _i(e) {
3897
+ tr(e, "svelte-1dt5wyw", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;border-radius:10px;border:1px solid var(--emw--color-grey-105, #E8E9EB);background-color:var(--emw--color-white, #ffffff);padding:15px 0}.CashierErrorContent{display:flex;flex-direction:column;width:100%;max-width:300px;align-items:center;gap:var(--emw--spacing-large, 20px);box-sizing:border-box;padding:1px var(--emw--spacing-medium, 15px);height:inherit}.CashierErrorTitle{color:var(--emw--color-black, #000);font-weight:var(--emw--font-weight-semibold, 500);font-size:var(--emw--font-size-medium, 16px);line-height:125%;text-align:center}.CashierErrorText{color:var(--emw--color-gray-290, #666);font-weight:var(--emw--font-weight-normal, 400);font-size:var(--emw--font-size-small, 14px);line-height:125%;text-align:center}.CashierErrorButton{width:100%;height:36px;color:var(--emw--color-white, #fff);text-align:center;cursor:pointer;font-size:var(--emw--font-size-x-small, 12px);font-style:normal;font-weight:var(--emw--font-weight-semibold, 500);font-family:inherit;line-height:36px;border:none;border-radius:var(--emw--border-radius-medium, 10px);background:var(--emw--color-primary, #3854FF)}.CashierErrorButton:hover{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorButton:active{background:var(--emw--color-main-button-active, #3348ce)}.CashierErrorContent ui-image img{width:300px}");
3914
3898
  }
3915
- function Hi(e) {
3899
+ const Ei = (e) => ({}), bt = (e) => ({}), vi = (e) => ({}), gt = (e) => ({}), xi = (e) => ({}), yt = (e) => ({}), Ti = (e) => ({}), _t = (e) => ({ class: "CashierErrorIcon" });
3900
+ function Et(e) {
3916
3901
  let t, r;
3917
3902
  return {
3918
3903
  c() {
3919
- t = O("ui-image"), Ye(t.src, r = `${/*assetsurl*/
3904
+ t = I("ui-image"), Ye(t.src, r = `${/*assetsurl*/
3920
3905
  e[0]}/error-general-icon.png`) || le(t, "src", r), le(t, "width", "300px"), le(t, "alt", "error");
3921
3906
  },
3922
3907
  m(n, i) {
3923
- $(n, t, i);
3908
+ D(n, t, i);
3924
3909
  },
3925
3910
  p(n, i) {
3926
3911
  i & /*assetsurl*/
@@ -3928,45 +3913,42 @@ function Hi(e) {
3928
3913
  n[0]}/error-general-icon.png`) && le(t, "src", r);
3929
3914
  },
3930
3915
  d(n) {
3931
- n && C(t);
3916
+ n && L(t);
3932
3917
  }
3933
3918
  };
3934
3919
  }
3935
- function Si(e) {
3936
- let t;
3937
- function r(o, s) {
3938
- return (
3939
- /*assetsurl*/
3940
- o[0] ? Hi : Ti
3941
- );
3942
- }
3943
- let n = r(e), i = n(e);
3920
+ function Hi(e) {
3921
+ let t, r = (
3922
+ /*assetsurl*/
3923
+ e[0] && Et(e)
3924
+ );
3944
3925
  return {
3945
3926
  c() {
3946
- i.c(), t = nr();
3927
+ r && r.c(), t = ir();
3947
3928
  },
3948
- m(o, s) {
3949
- i.m(o, s), $(o, t, s);
3929
+ m(n, i) {
3930
+ r && r.m(n, i), D(n, t, i);
3950
3931
  },
3951
- p(o, s) {
3952
- n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t.parentNode, t)));
3932
+ p(n, i) {
3933
+ /*assetsurl*/
3934
+ n[0] ? r ? r.p(n, i) : (r = Et(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
3953
3935
  },
3954
- d(o) {
3955
- o && C(t), i.d(o);
3936
+ d(n) {
3937
+ n && L(t), r && r.d(n);
3956
3938
  }
3957
3939
  };
3958
3940
  }
3959
- function Bi(e) {
3941
+ function wi(e) {
3960
3942
  let t, r = (
3961
3943
  /*$_*/
3962
3944
  e[4]("errorGeneralTitle") + ""
3963
3945
  ), n;
3964
3946
  return {
3965
3947
  c() {
3966
- t = O("span"), n = ie(r), M(t, "class", "CashierErrorTitle");
3948
+ t = I("span"), n = ie(r), R(t, "class", "CashierErrorTitle");
3967
3949
  },
3968
3950
  m(i, o) {
3969
- $(i, t, o), I(t, n);
3951
+ D(i, t, o), P(t, n);
3970
3952
  },
3971
3953
  p(i, o) {
3972
3954
  o & /*$_*/
@@ -3974,11 +3956,11 @@ function Bi(e) {
3974
3956
  i[4]("errorGeneralTitle") + "") && We(n, r);
3975
3957
  },
3976
3958
  d(i) {
3977
- i && C(t);
3959
+ i && L(t);
3978
3960
  }
3979
3961
  };
3980
3962
  }
3981
- function wi(e) {
3963
+ function Si(e) {
3982
3964
  let t, r = (
3983
3965
  /*$_*/
3984
3966
  e[4](`${/*errorcode*/
@@ -3986,10 +3968,10 @@ function wi(e) {
3986
3968
  ), n;
3987
3969
  return {
3988
3970
  c() {
3989
- t = O("span"), n = ie(r), M(t, "class", "CashierErrorText");
3971
+ t = I("span"), n = ie(r), R(t, "class", "CashierErrorText");
3990
3972
  },
3991
3973
  m(i, o) {
3992
- $(i, t, o), I(t, n);
3974
+ D(i, t, o), P(t, n);
3993
3975
  },
3994
3976
  p(i, o) {
3995
3977
  o & /*$_, errorcode*/
@@ -3998,11 +3980,11 @@ function wi(e) {
3998
3980
  i[2] || "errorGeneralText"}`) + "") && We(n, r);
3999
3981
  },
4000
3982
  d(i) {
4001
- i && C(t);
3983
+ i && L(t);
4002
3984
  }
4003
3985
  };
4004
3986
  }
4005
- function Et(e) {
3987
+ function vt(e) {
4006
3988
  let t;
4007
3989
  const r = (
4008
3990
  /*#slots*/
@@ -4013,7 +3995,7 @@ function Et(e) {
4013
3995
  /*$$scope*/
4014
3996
  e[11],
4015
3997
  bt
4016
- ), i = n || Ai(e);
3998
+ ), i = n || Bi(e);
4017
3999
  return {
4018
4000
  c() {
4019
4001
  i && i.c();
@@ -4034,7 +4016,7 @@ function Et(e) {
4034
4016
  /*$$scope*/
4035
4017
  o[11],
4036
4018
  s,
4037
- _i
4019
+ Ei
4038
4020
  ) : de(
4039
4021
  /*$$scope*/
4040
4022
  o[11]
@@ -4044,7 +4026,7 @@ function Et(e) {
4044
4026
  16) && i.p(o, t ? s : -1);
4045
4027
  },
4046
4028
  i(o) {
4047
- t || (N(i, o), t = !0);
4029
+ t || (C(i, o), t = !0);
4048
4030
  },
4049
4031
  o(o) {
4050
4032
  j(i, o), t = !1;
@@ -4054,17 +4036,17 @@ function Et(e) {
4054
4036
  }
4055
4037
  };
4056
4038
  }
4057
- function Ai(e) {
4039
+ function Bi(e) {
4058
4040
  let t, r, n = (
4059
4041
  /*$_*/
4060
4042
  e[4]("errorGeneralButton") + ""
4061
4043
  ), i, o, s;
4062
4044
  return {
4063
4045
  c() {
4064
- t = O("button"), r = O("span"), i = ie(n), M(t, "class", "CashierErrorButton");
4046
+ t = I("button"), r = I("span"), i = ie(n), R(t, "class", "CashierErrorButton");
4065
4047
  },
4066
4048
  m(a, h) {
4067
- $(a, t, h), I(t, r), I(r, i), o || (s = ir(
4049
+ D(a, t, h), P(t, r), P(r, i), o || (s = or(
4068
4050
  t,
4069
4051
  "click",
4070
4052
  /*close*/
@@ -4077,11 +4059,11 @@ function Ai(e) {
4077
4059
  a[4]("errorGeneralButton") + "") && We(i, n);
4078
4060
  },
4079
4061
  d(a) {
4080
- a && C(t), o = !1, s();
4062
+ a && L(t), o = !1, s();
4081
4063
  }
4082
4064
  };
4083
4065
  }
4084
- function Pi(e) {
4066
+ function Ai(e) {
4085
4067
  let t, r, n, i, o, s;
4086
4068
  const a = (
4087
4069
  /*#slots*/
@@ -4092,7 +4074,7 @@ function Pi(e) {
4092
4074
  /*$$scope*/
4093
4075
  e[11],
4094
4076
  _t
4095
- ), u = h || Si(e), l = (
4077
+ ), u = h || Hi(e), l = (
4096
4078
  /*#slots*/
4097
4079
  e[12].title
4098
4080
  ), f = ce(
@@ -4101,7 +4083,7 @@ function Pi(e) {
4101
4083
  /*$$scope*/
4102
4084
  e[11],
4103
4085
  yt
4104
- ), c = f || Bi(e), y = (
4086
+ ), c = f || wi(e), y = (
4105
4087
  /*#slots*/
4106
4088
  e[12].text
4107
4089
  ), p = ce(
@@ -4110,16 +4092,16 @@ function Pi(e) {
4110
4092
  /*$$scope*/
4111
4093
  e[11],
4112
4094
  gt
4113
- ), E = p || wi(e);
4095
+ ), E = p || Si(e);
4114
4096
  let _ = (!/*hidebuttons*/
4115
4097
  e[1] || /*hidebuttons*/
4116
- e[1] === "false") && Et(e);
4098
+ e[1] === "false") && vt(e);
4117
4099
  return {
4118
4100
  c() {
4119
- t = O("div"), r = O("div"), u && u.c(), n = we(), c && c.c(), i = we(), E && E.c(), o = we(), _ && _.c(), M(r, "class", "CashierErrorContent"), M(t, "class", "CashierError");
4101
+ t = I("div"), r = I("div"), u && u.c(), n = Be(), c && c.c(), i = Be(), E && E.c(), o = Be(), _ && _.c(), R(r, "class", "CashierErrorContent"), R(t, "class", "CashierError");
4120
4102
  },
4121
4103
  m(m, v) {
4122
- $(m, t, v), I(t, r), u && u.m(r, null), I(r, n), c && c.m(r, null), I(r, i), E && E.m(r, null), I(r, o), _ && _.m(r, null), e[13](t), s = !0;
4104
+ D(m, t, v), P(t, r), u && u.m(r, null), P(r, n), c && c.m(r, null), P(r, i), E && E.m(r, null), P(r, o), _ && _.m(r, null), e[13](t), s = !0;
4123
4105
  },
4124
4106
  p(m, [v]) {
4125
4107
  h ? h.p && (!s || v & /*$$scope*/
@@ -4134,7 +4116,7 @@ function Pi(e) {
4134
4116
  /*$$scope*/
4135
4117
  m[11],
4136
4118
  v,
4137
- xi
4119
+ Ti
4138
4120
  ) : de(
4139
4121
  /*$$scope*/
4140
4122
  m[11]
@@ -4153,7 +4135,7 @@ function Pi(e) {
4153
4135
  /*$$scope*/
4154
4136
  m[11],
4155
4137
  v,
4156
- vi
4138
+ xi
4157
4139
  ) : de(
4158
4140
  /*$$scope*/
4159
4141
  m[11]
@@ -4172,7 +4154,7 @@ function Pi(e) {
4172
4154
  /*$$scope*/
4173
4155
  m[11],
4174
4156
  v,
4175
- Ei
4157
+ vi
4176
4158
  ) : de(
4177
4159
  /*$$scope*/
4178
4160
  m[11]
@@ -4182,34 +4164,34 @@ function Pi(e) {
4182
4164
  20) && E.p(m, s ? v : -1), !/*hidebuttons*/
4183
4165
  m[1] || /*hidebuttons*/
4184
4166
  m[1] === "false" ? _ ? (_.p(m, v), v & /*hidebuttons*/
4185
- 2 && N(_, 1)) : (_ = Et(m), _.c(), N(_, 1), _.m(r, null)) : _ && (mr(), j(_, 1, 1, () => {
4167
+ 2 && C(_, 1)) : (_ = vt(m), _.c(), C(_, 1), _.m(r, null)) : _ && (dr(), j(_, 1, 1, () => {
4186
4168
  _ = null;
4187
- }), dr());
4169
+ }), pr());
4188
4170
  },
4189
4171
  i(m) {
4190
- s || (N(u, m), N(c, m), N(E, m), N(_), s = !0);
4172
+ s || (C(u, m), C(c, m), C(E, m), C(_), s = !0);
4191
4173
  },
4192
4174
  o(m) {
4193
4175
  j(u, m), j(c, m), j(E, m), j(_), s = !1;
4194
4176
  },
4195
4177
  d(m) {
4196
- m && C(t), u && u.d(m), c && c.d(m), E && E.d(m), _ && _.d(), e[13](null);
4178
+ m && L(t), u && u.d(m), c && c.d(m), E && E.d(m), _ && _.d(), e[13](null);
4197
4179
  }
4198
4180
  };
4199
4181
  }
4200
- function Oi(e, t, r) {
4182
+ function Pi(e, t, r) {
4201
4183
  let n;
4202
- Kt(e, bi, (d) => r(4, n = d));
4184
+ er(e, gi, (d) => r(4, n = d));
4203
4185
  let { $$slots: i = {}, $$scope: o } = t, { assetsurl: s = "" } = t, { lang: a = "en" } = t, { hidebuttons: h = "" } = t, { errorcode: u = "" } = t, { clientstyling: l = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: c = "" } = t, { mbsource: y = "" } = t, p;
4204
4186
  const E = () => {
4205
- gi(a);
4187
+ yi(a);
4206
4188
  }, _ = () => {
4207
- fetch(c).then((S) => S.json()).then((S) => {
4208
- Object.keys(S).forEach((B) => {
4209
- dt(B, S[B]);
4189
+ fetch(c).then((w) => w.json()).then((w) => {
4190
+ Object.keys(w).forEach((S) => {
4191
+ dt(S, w[S]);
4210
4192
  });
4211
- }).catch((S) => {
4212
- console.error(S);
4193
+ }).catch((w) => {
4194
+ console.error(w);
4213
4195
  });
4214
4196
  };
4215
4197
  Object.keys(pt).forEach((d) => {
@@ -4218,7 +4200,7 @@ function Oi(e, t, r) {
4218
4200
  const m = () => {
4219
4201
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4220
4202
  };
4221
- ur(() => () => {
4203
+ lr(() => () => {
4222
4204
  });
4223
4205
  function v(d) {
4224
4206
  Me[d ? "unshift" : "push"](() => {
@@ -4230,9 +4212,9 @@ function Oi(e, t, r) {
4230
4212
  }, e.$$.update = () => {
4231
4213
  e.$$.dirty & /*lang*/
4232
4214
  64 && a && E(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4233
- 136 && l && p && xr(p, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4234
- 264 && f && p && Tr(p, f), e.$$.dirty & /*mbsource, customStylingContainer*/
4235
- 1032 && y && p && Hr(p, `${y}.Style`), e.$$.dirty & /*translationurl*/
4215
+ 136 && l && p && Tr(p, l), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4216
+ 264 && f && p && Hr(p, f), e.$$.dirty & /*mbsource, customStylingContainer*/
4217
+ 1032 && y && p && wr(p, `${y}.Style`), e.$$.dirty & /*translationurl*/
4236
4218
  512 && c && _();
4237
4219
  }, [
4238
4220
  s,
@@ -4251,14 +4233,14 @@ function Oi(e, t, r) {
4251
4233
  v
4252
4234
  ];
4253
4235
  }
4254
- class Ii extends Er {
4236
+ class Oi extends vr {
4255
4237
  constructor(t) {
4256
- super(), yr(
4238
+ super(), _r(
4257
4239
  this,
4258
4240
  t,
4259
- Oi,
4260
4241
  Pi,
4261
- xt,
4242
+ Ai,
4243
+ Tt,
4262
4244
  {
4263
4245
  assetsurl: 0,
4264
4246
  lang: 6,
@@ -4269,59 +4251,59 @@ class Ii extends Er {
4269
4251
  translationurl: 9,
4270
4252
  mbsource: 10
4271
4253
  },
4272
- yi
4254
+ _i
4273
4255
  );
4274
4256
  }
4275
4257
  get assetsurl() {
4276
4258
  return this.$$.ctx[0];
4277
4259
  }
4278
4260
  set assetsurl(t) {
4279
- this.$$set({ assetsurl: t }), w();
4261
+ this.$$set({ assetsurl: t }), B();
4280
4262
  }
4281
4263
  get lang() {
4282
4264
  return this.$$.ctx[6];
4283
4265
  }
4284
4266
  set lang(t) {
4285
- this.$$set({ lang: t }), w();
4267
+ this.$$set({ lang: t }), B();
4286
4268
  }
4287
4269
  get hidebuttons() {
4288
4270
  return this.$$.ctx[1];
4289
4271
  }
4290
4272
  set hidebuttons(t) {
4291
- this.$$set({ hidebuttons: t }), w();
4273
+ this.$$set({ hidebuttons: t }), B();
4292
4274
  }
4293
4275
  get errorcode() {
4294
4276
  return this.$$.ctx[2];
4295
4277
  }
4296
4278
  set errorcode(t) {
4297
- this.$$set({ errorcode: t }), w();
4279
+ this.$$set({ errorcode: t }), B();
4298
4280
  }
4299
4281
  get clientstyling() {
4300
4282
  return this.$$.ctx[7];
4301
4283
  }
4302
4284
  set clientstyling(t) {
4303
- this.$$set({ clientstyling: t }), w();
4285
+ this.$$set({ clientstyling: t }), B();
4304
4286
  }
4305
4287
  get clientstylingurl() {
4306
4288
  return this.$$.ctx[8];
4307
4289
  }
4308
4290
  set clientstylingurl(t) {
4309
- this.$$set({ clientstylingurl: t }), w();
4291
+ this.$$set({ clientstylingurl: t }), B();
4310
4292
  }
4311
4293
  get translationurl() {
4312
4294
  return this.$$.ctx[9];
4313
4295
  }
4314
4296
  set translationurl(t) {
4315
- this.$$set({ translationurl: t }), w();
4297
+ this.$$set({ translationurl: t }), B();
4316
4298
  }
4317
4299
  get mbsource() {
4318
4300
  return this.$$.ctx[10];
4319
4301
  }
4320
4302
  set mbsource(t) {
4321
- this.$$set({ mbsource: t }), w();
4303
+ this.$$set({ mbsource: t }), B();
4322
4304
  }
4323
4305
  }
4324
- _r(Ii, { assetsurl: {}, lang: {}, hidebuttons: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4306
+ Er(Oi, { assetsurl: {}, lang: {}, hidebuttons: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4325
4307
  export {
4326
- Ii as C
4308
+ Oi as C
4327
4309
  };