@everymatrix/cashier-method-details 1.77.19 → 1.77.20

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.
Files changed (33) hide show
  1. package/components/{CashierError-DRwaT1pY.js → CashierError-BcKJZbOX.js} +1037 -1007
  2. package/components/CashierError-CAqyJypB.cjs +21 -0
  3. package/components/{CashierError-CQcPfdgL.js → CashierError-CK9BtEQw.js} +933 -903
  4. package/components/{CashierMethodDetails-D-Kx493t.cjs → CashierMethodDetails-BaIgrxVU.cjs} +6 -19
  5. package/components/{CashierMethodDetails-BOdr7Ugc.js → CashierMethodDetails-BdRlogwg.js} +654 -723
  6. package/components/{CashierMethodDetails-DVpe60nK.js → CashierMethodDetails-DCN-FOmE.js} +373 -442
  7. package/components/{CashierModal-Be_PLY94.js → CashierModal-CCvgicOp.js} +46 -46
  8. package/components/{CashierModal-D2M2FMKW.js → CashierModal-D7fpWPDi.js} +46 -46
  9. package/components/{CashierModal-BnjSgd3W.cjs → CashierModal-DHVzDN_5.cjs} +1 -1
  10. package/components/{CashierNotifications-CTKkGkaV.js → CashierNotifications-AKcol5JG.js} +12 -12
  11. package/components/{CashierNotifications-CdIQ2vRy.cjs → CashierNotifications-BU4PLx1t.cjs} +1 -1
  12. package/components/{CashierNotifications--xosH5as.js → CashierNotifications-BWb0-asH.js} +13 -13
  13. package/components/{CashierReceiptPage-Bihgo9ap.js → CashierReceiptPage-BZPwJgbW.js} +78 -78
  14. package/components/{CashierReceiptPage-D_Q7MALa.cjs → CashierReceiptPage-DTGhNpwM.cjs} +1 -1
  15. package/components/{CashierReceiptPage-DuauNnLl.js → CashierReceiptPage-d4m2Jvc_.js} +70 -70
  16. package/es2015/cashier-method-details.cjs +1 -1
  17. package/es2015/cashier-method-details.js +1 -1
  18. package/esnext/cashier-method-details.js +1 -1
  19. package/package.json +1 -1
  20. package/stencil/{index-97d17652-CCFHkzJw.js → index-97d17652-B0NIExnR.js} +2 -2
  21. package/stencil/{index-97d17652--F7PvMq9.js → index-97d17652-D6HPqRtr.js} +2 -2
  22. package/stencil/index-97d17652-DNpK20ur.cjs +1 -0
  23. package/stencil/{ui-image-CHeV8e9p.js → ui-image-BY8ZO6br.js} +1 -1
  24. package/stencil/{ui-image-BaHsVAxH.cjs → ui-image-DJSOH8ZL.cjs} +1 -1
  25. package/stencil/{ui-image-C7s6Uvn5.js → ui-image-DfVgiF6v.js} +1 -1
  26. package/stencil/{ui-image-b7b48fe5-D6iig_uN.js → ui-image-b7b48fe5-BXmf73Ou.js} +1 -1
  27. package/stencil/{ui-image-b7b48fe5-DG83WzAo.cjs → ui-image-b7b48fe5-DaWM2RbJ.cjs} +1 -1
  28. package/stencil/{ui-image-b7b48fe5-ByRuJtdE.js → ui-image-b7b48fe5-c0NIgcTj.js} +1 -1
  29. package/stencil/{ui-image_2-DdFjzzNO.cjs → ui-image_2-Cdo33umq.cjs} +1 -1
  30. package/stencil/{ui-image_2-qO3reSlr.js → ui-image_2-DbQ7SENq.js} +2 -2
  31. package/stencil/{ui-image_2-Bm97-wkj.js → ui-image_2-L-CYescb.js} +2 -2
  32. package/components/CashierError-DzXuI7wS.cjs +0 -8
  33. package/stencil/index-97d17652-BhLhk_xz.cjs +0 -1
@@ -1,17 +1,17 @@
1
- var yr = Object.defineProperty, _r = Object.defineProperties;
2
- var Er = Object.getOwnPropertyDescriptors;
3
- var ut = Object.getOwnPropertySymbols;
4
- var vr = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable;
5
- var Le = (e, t, r) => t in e ? yr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, lt = (e, t) => {
1
+ var br = Object.defineProperty, gr = Object.defineProperties;
2
+ var yr = Object.getOwnPropertyDescriptors;
3
+ var ot = Object.getOwnPropertySymbols;
4
+ var _r = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable;
5
+ var Ne = (e, t, r) => t in e ? br(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- vr.call(t, r) && Le(e, r, t[r]);
8
- if (ut)
9
- for (var r of ut(t))
10
- xr.call(t, r) && Le(e, r, t[r]);
7
+ _r.call(t, r) && Ne(e, r, t[r]);
8
+ if (ot)
9
+ for (var r of ot(t))
10
+ vr.call(t, r) && Ne(e, r, t[r]);
11
11
  return e;
12
- }, ht = (e, t) => _r(e, Er(t));
13
- var B = (e, t, r) => (Le(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ct = (e, t, r) => new Promise((n, i) => {
12
+ }, ut = (e, t) => gr(e, yr(t));
13
+ var B = (e, t, r) => (Ne(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var lt = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -27,11 +27,11 @@ var ct = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(s, o);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- import "../stencil/ui-image-C7s6Uvn5.js";
30
+ import "../stencil/ui-image-DfVgiF6v.js";
31
31
  function A() {
32
32
  }
33
- const Tr = (e) => e;
34
- function wr(e, t) {
33
+ const Er = (e) => e;
34
+ function xr(e, t) {
35
35
  for (const r in t)
36
36
  e[r] = t[r];
37
37
  return (
@@ -39,29 +39,29 @@ function wr(e, t) {
39
39
  e
40
40
  );
41
41
  }
42
- function Dt(e) {
42
+ function $t(e) {
43
43
  return e();
44
44
  }
45
- function ft() {
45
+ function ht() {
46
46
  return /* @__PURE__ */ Object.create(null);
47
47
  }
48
- function U(e) {
49
- e.forEach(Dt);
48
+ function D(e) {
49
+ e.forEach($t);
50
50
  }
51
- function Oe(e) {
51
+ function Ae(e) {
52
52
  return typeof e == "function";
53
53
  }
54
- function Ut(e, t) {
54
+ function Rt(e, t) {
55
55
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
56
56
  }
57
- let ce;
58
- function mt(e, t) {
59
- return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
57
+ let he;
58
+ function ct(e, t) {
59
+ return e === t ? !0 : (he || (he = document.createElement("a")), he.href = t, e === he.href);
60
60
  }
61
- function Hr(e) {
61
+ function Tr(e) {
62
62
  return Object.keys(e).length === 0;
63
63
  }
64
- function Gt(e, ...t) {
64
+ function Dt(e, ...t) {
65
65
  if (e == null) {
66
66
  for (const n of t)
67
67
  n(void 0);
@@ -70,19 +70,19 @@ function Gt(e, ...t) {
70
70
  const r = e.subscribe(...t);
71
71
  return r.unsubscribe ? () => r.unsubscribe() : r;
72
72
  }
73
- function Sr(e, t, r) {
74
- e.$$.on_destroy.push(Gt(t, r));
73
+ function wr(e, t, r) {
74
+ e.$$.on_destroy.push(Dt(t, r));
75
75
  }
76
- function pe(e, t, r, n) {
76
+ function de(e, t, r, n) {
77
77
  if (e) {
78
- const i = kt(e, t, r, n);
78
+ const i = Ut(e, t, r, n);
79
79
  return e[0](i);
80
80
  }
81
81
  }
82
- function kt(e, t, r, n) {
83
- return e[1] && n ? wr(r.ctx.slice(), e[1](n(t))) : r.ctx;
82
+ function Ut(e, t, r, n) {
83
+ return e[1] && n ? xr(r.ctx.slice(), e[1](n(t))) : r.ctx;
84
84
  }
85
- function ge(e, t, r, n) {
85
+ function pe(e, t, r, n) {
86
86
  if (e[2] && n) {
87
87
  const i = e[2](n(r));
88
88
  if (t.dirty === void 0)
@@ -99,11 +99,11 @@ function ge(e, t, r, n) {
99
99
  }
100
100
  function be(e, t, r, n, i, s) {
101
101
  if (i) {
102
- const o = kt(t, r, n, s);
102
+ const o = Ut(t, r, n, s);
103
103
  e.p(o, i);
104
104
  }
105
105
  }
106
- function ye(e) {
106
+ function ge(e) {
107
107
  if (e.ctx.length > 32) {
108
108
  const t = [], r = e.ctx.length / 32;
109
109
  for (let n = 0; n < r; n++)
@@ -112,40 +112,40 @@ function ye(e) {
112
112
  }
113
113
  return -1;
114
114
  }
115
- const Ft = typeof window != "undefined";
116
- let Br = Ft ? () => window.performance.now() : () => Date.now(), rt = Ft ? (e) => requestAnimationFrame(e) : A;
117
- const W = /* @__PURE__ */ new Set();
118
- function jt(e) {
119
- W.forEach((t) => {
120
- t.c(e) || (W.delete(t), t.f());
121
- }), W.size !== 0 && rt(jt);
115
+ const Gt = typeof window != "undefined";
116
+ let Hr = Gt ? () => window.performance.now() : () => Date.now(), et = Gt ? (e) => requestAnimationFrame(e) : A;
117
+ const X = /* @__PURE__ */ new Set();
118
+ function kt(e) {
119
+ X.forEach((t) => {
120
+ t.c(e) || (X.delete(t), t.f());
121
+ }), X.size !== 0 && et(kt);
122
122
  }
123
- function Ar(e) {
123
+ function Sr(e) {
124
124
  let t;
125
- return W.size === 0 && rt(jt), {
125
+ return X.size === 0 && et(kt), {
126
126
  promise: new Promise((r) => {
127
- W.add(t = { c: e, f: r });
127
+ X.add(t = { c: e, f: r });
128
128
  }),
129
129
  abort() {
130
- W.delete(t);
130
+ X.delete(t);
131
131
  }
132
132
  };
133
133
  }
134
- const fs = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
134
+ const hs = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
135
135
  // @ts-ignore Node typings have this
136
136
  global
137
137
  );
138
- function I(e, t) {
138
+ function C(e, t) {
139
139
  e.appendChild(t);
140
140
  }
141
- function Pr(e, t, r) {
142
- const n = nt(e);
141
+ function Br(e, t, r) {
142
+ const n = tt(e);
143
143
  if (!n.getElementById(t)) {
144
144
  const i = P("style");
145
- i.id = t, i.textContent = r, zt(n, i);
145
+ i.id = t, i.textContent = r, Ft(n, i);
146
146
  }
147
147
  }
148
- function nt(e) {
148
+ function tt(e) {
149
149
  if (!e)
150
150
  return document;
151
151
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -155,95 +155,95 @@ function nt(e) {
155
155
  t
156
156
  ) : e.ownerDocument;
157
157
  }
158
- function Or(e) {
158
+ function Ar(e) {
159
159
  const t = P("style");
160
- return t.textContent = "/* empty */", zt(nt(e), t), t.sheet;
160
+ return t.textContent = "/* empty */", Ft(tt(e), t), t.sheet;
161
161
  }
162
- function zt(e, t) {
163
- return I(
162
+ function Ft(e, t) {
163
+ return C(
164
164
  /** @type {Document} */
165
165
  e.head || e,
166
166
  t
167
167
  ), t.sheet;
168
168
  }
169
- function G(e, t, r) {
169
+ function U(e, t, r) {
170
170
  e.insertBefore(t, r || null);
171
171
  }
172
- function N(e) {
172
+ function I(e) {
173
173
  e.parentNode && e.parentNode.removeChild(e);
174
174
  }
175
- function ms(e, t) {
175
+ function cs(e, t) {
176
176
  for (let r = 0; r < e.length; r += 1)
177
177
  e[r] && e[r].d(t);
178
178
  }
179
179
  function P(e) {
180
180
  return document.createElement(e);
181
181
  }
182
- function ds(e) {
182
+ function fs(e) {
183
183
  return document.createElementNS("http://www.w3.org/2000/svg", e);
184
184
  }
185
- function ue(e) {
185
+ function ae(e) {
186
186
  return document.createTextNode(e);
187
187
  }
188
- function $e() {
189
- return ue(" ");
188
+ function Me() {
189
+ return ae(" ");
190
190
  }
191
- function Cr() {
192
- return ue("");
191
+ function Pr() {
192
+ return ae("");
193
193
  }
194
- function Ve(e, t, r, n) {
194
+ function je(e, t, r, n) {
195
195
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
196
196
  }
197
- function ps(e) {
197
+ function ms(e) {
198
198
  return function(t) {
199
199
  return t.preventDefault(), e.call(this, t);
200
200
  };
201
201
  }
202
- function D(e, t, r) {
202
+ function R(e, t, r) {
203
203
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
204
204
  }
205
- function fe(e, t, r) {
205
+ function ce(e, t, r) {
206
206
  const n = t.toLowerCase();
207
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : D(e, t, r);
207
+ 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);
208
208
  }
209
- function gs(e) {
209
+ function ds(e) {
210
210
  return e === "" ? null : +e;
211
211
  }
212
- function Ir(e) {
212
+ function Or(e) {
213
213
  return Array.from(e.childNodes);
214
214
  }
215
- function it(e, t) {
215
+ function rt(e, t) {
216
216
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
217
217
  t);
218
218
  }
219
- function bs(e, t) {
219
+ function ps(e, t) {
220
220
  e.value = t == null ? "" : t;
221
221
  }
222
- function ys(e, t, r, n) {
222
+ function bs(e, t, r, n) {
223
223
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
224
224
  }
225
- let me;
226
- function Nr() {
227
- if (me === void 0) {
228
- me = !1;
225
+ let fe;
226
+ function Cr() {
227
+ if (fe === void 0) {
228
+ fe = !1;
229
229
  try {
230
230
  typeof window != "undefined" && window.parent && window.parent.document;
231
231
  } catch (e) {
232
- me = !0;
232
+ fe = !0;
233
233
  }
234
234
  }
235
- return me;
235
+ return fe;
236
236
  }
237
- function _s(e, t) {
237
+ function gs(e, t) {
238
238
  getComputedStyle(e).position === "static" && (e.style.position = "relative");
239
239
  const n = P("iframe");
240
240
  n.setAttribute(
241
241
  "style",
242
242
  "display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; overflow: hidden; border: 0; opacity: 0; pointer-events: none; z-index: -1;"
243
243
  ), n.setAttribute("aria-hidden", "true"), n.tabIndex = -1;
244
- const i = Nr();
244
+ const i = Cr();
245
245
  let s;
246
- return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = Ve(
246
+ return i ? (n.src = "data:text/html,<script>onresize=function(){parent.postMessage(0,'*')}<\/script>", s = je(
247
247
  window,
248
248
  "message",
249
249
  /** @param {MessageEvent} event */
@@ -251,18 +251,18 @@ function _s(e, t) {
251
251
  o.source === n.contentWindow && t();
252
252
  }
253
253
  )) : (n.src = "about:blank", n.onload = () => {
254
- s = Ve(n.contentWindow, "resize", t), t();
255
- }), I(e, n), () => {
256
- (i || s && n.contentWindow) && s(), N(n);
254
+ s = je(n.contentWindow, "resize", t), t();
255
+ }), C(e, n), () => {
256
+ (i || s && n.contentWindow) && s(), I(n);
257
257
  };
258
258
  }
259
- function Es(e, t, r) {
259
+ function ys(e, t, r) {
260
260
  e.classList.toggle(t, !!r);
261
261
  }
262
- function Mr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
262
+ function Ir(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
263
263
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
264
264
  }
265
- function Lr(e) {
265
+ function Nr(e) {
266
266
  const t = {};
267
267
  return e.childNodes.forEach(
268
268
  /** @param {Element} node */
@@ -271,19 +271,19 @@ function Lr(e) {
271
271
  }
272
272
  ), t;
273
273
  }
274
- const Te = /* @__PURE__ */ new Map();
275
- let we = 0;
276
- function $r(e) {
274
+ const xe = /* @__PURE__ */ new Map();
275
+ let Te = 0;
276
+ function Mr(e) {
277
277
  let t = 5381, r = e.length;
278
278
  for (; r--; )
279
279
  t = (t << 5) - t ^ e.charCodeAt(r);
280
280
  return t >>> 0;
281
281
  }
282
- function Rr(e, t) {
283
- const r = { stylesheet: Or(t), rules: {} };
284
- return Te.set(e, r), r;
282
+ function Lr(e, t) {
283
+ const r = { stylesheet: Ar(t), rules: {} };
284
+ return xe.set(e, r), r;
285
285
  }
286
- function dt(e, t, r, n, i, s, o, a = 0) {
286
+ function ft(e, t, r, n, i, s, o, a = 0) {
287
287
  const l = 16.666 / n;
288
288
  let u = `{
289
289
  `;
@@ -293,156 +293,156 @@ function dt(e, t, r, n, i, s, o, a = 0) {
293
293
  `;
294
294
  }
295
295
  const h = u + `100% {${o(r, 1 - r)}}
296
- }`, f = `__svelte_${$r(h)}_${a}`, c = nt(e), { stylesheet: y, rules: m } = Te.get(c) || Rr(c, e);
296
+ }`, f = `__svelte_${Mr(h)}_${a}`, c = tt(e), { stylesheet: y, rules: m } = xe.get(c) || Lr(c, e);
297
297
  m[f] || (m[f] = !0, y.insertRule(`@keyframes ${f} ${h}`, y.cssRules.length));
298
- const b = e.style.animation || "";
299
- return e.style.animation = `${b ? `${b}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, we += 1, f;
298
+ const g = e.style.animation || "";
299
+ return e.style.animation = `${g ? `${g}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, Te += 1, f;
300
300
  }
301
- function Dr(e, t) {
301
+ function $r(e, t) {
302
302
  const r = (e.style.animation || "").split(", "), n = r.filter(
303
303
  t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
304
304
  // remove all Svelte animations
305
305
  ), i = r.length - n.length;
306
- i && (e.style.animation = n.join(", "), we -= i, we || Ur());
306
+ i && (e.style.animation = n.join(", "), Te -= i, Te || Rr());
307
307
  }
308
- function Ur() {
309
- rt(() => {
310
- we || (Te.forEach((e) => {
308
+ function Rr() {
309
+ et(() => {
310
+ Te || (xe.forEach((e) => {
311
311
  const { ownerNode: t } = e.stylesheet;
312
- t && N(t);
313
- }), Te.clear());
312
+ t && I(t);
313
+ }), xe.clear());
314
314
  });
315
315
  }
316
- let se;
317
- function ie(e) {
318
- se = e;
316
+ let ie;
317
+ function ne(e) {
318
+ ie = e;
319
319
  }
320
- function Gr() {
321
- if (!se)
320
+ function Dr() {
321
+ if (!ie)
322
322
  throw new Error("Function called outside component initialization");
323
- return se;
323
+ return ie;
324
324
  }
325
- function kr(e) {
326
- Gr().$$.on_mount.push(e);
325
+ function Ur(e) {
326
+ Dr().$$.on_mount.push(e);
327
327
  }
328
- const V = [], Xe = [];
329
- let Z = [];
330
- const pt = [], Fr = /* @__PURE__ */ Promise.resolve();
331
- let We = !1;
332
- function jr() {
333
- We || (We = !0, Fr.then(O));
328
+ const z = [], ze = [];
329
+ let W = [];
330
+ const mt = [], Gr = /* @__PURE__ */ Promise.resolve();
331
+ let Ve = !1;
332
+ function kr() {
333
+ Ve || (Ve = !0, Gr.then(O));
334
334
  }
335
- function He(e) {
336
- Z.push(e);
335
+ function we(e) {
336
+ W.push(e);
337
337
  }
338
- const Re = /* @__PURE__ */ new Set();
339
- let j = 0;
338
+ const Le = /* @__PURE__ */ new Set();
339
+ let F = 0;
340
340
  function O() {
341
- if (j !== 0)
341
+ if (F !== 0)
342
342
  return;
343
- const e = se;
343
+ const e = ie;
344
344
  do {
345
345
  try {
346
- for (; j < V.length; ) {
347
- const t = V[j];
348
- j++, ie(t), zr(t.$$);
346
+ for (; F < z.length; ) {
347
+ const t = z[F];
348
+ F++, ne(t), Fr(t.$$);
349
349
  }
350
350
  } catch (t) {
351
- throw V.length = 0, j = 0, t;
351
+ throw z.length = 0, F = 0, t;
352
352
  }
353
- for (ie(null), V.length = 0, j = 0; Xe.length; )
354
- Xe.pop()();
355
- for (let t = 0; t < Z.length; t += 1) {
356
- const r = Z[t];
357
- Re.has(r) || (Re.add(r), r());
353
+ for (ne(null), z.length = 0, F = 0; ze.length; )
354
+ ze.pop()();
355
+ for (let t = 0; t < W.length; t += 1) {
356
+ const r = W[t];
357
+ Le.has(r) || (Le.add(r), r());
358
358
  }
359
- Z.length = 0;
360
- } while (V.length);
361
- for (; pt.length; )
362
- pt.pop()();
363
- We = !1, Re.clear(), ie(e);
359
+ W.length = 0;
360
+ } while (z.length);
361
+ for (; mt.length; )
362
+ mt.pop()();
363
+ Ve = !1, Le.clear(), ne(e);
364
364
  }
365
- function zr(e) {
365
+ function Fr(e) {
366
366
  if (e.fragment !== null) {
367
- e.update(), U(e.before_update);
367
+ e.update(), D(e.before_update);
368
368
  const t = e.dirty;
369
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(He);
369
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(we);
370
370
  }
371
371
  }
372
- function Vr(e) {
372
+ function jr(e) {
373
373
  const t = [], r = [];
374
- Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
374
+ W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
375
375
  }
376
- let te;
377
- function Xr() {
378
- return te || (te = Promise.resolve(), te.then(() => {
379
- te = null;
380
- })), te;
376
+ let ee;
377
+ function zr() {
378
+ return ee || (ee = Promise.resolve(), ee.then(() => {
379
+ ee = null;
380
+ })), ee;
381
381
  }
382
- function De(e, t, r) {
383
- e.dispatchEvent(Mr(`${t ? "intro" : "outro"}${r}`));
382
+ function $e(e, t, r) {
383
+ e.dispatchEvent(Ir(`${t ? "intro" : "outro"}${r}`));
384
384
  }
385
- const _e = /* @__PURE__ */ new Set();
386
- let M;
387
- function Wr() {
388
- M = {
385
+ const ye = /* @__PURE__ */ new Set();
386
+ let N;
387
+ function Vr() {
388
+ N = {
389
389
  r: 0,
390
390
  c: [],
391
- p: M
391
+ p: N
392
392
  // parent group
393
393
  };
394
394
  }
395
- function Zr() {
396
- M.r || U(M.c), M = M.p;
395
+ function Xr() {
396
+ N.r || D(N.c), N = N.p;
397
397
  }
398
- function L(e, t) {
399
- e && e.i && (_e.delete(e), e.i(t));
398
+ function M(e, t) {
399
+ e && e.i && (ye.delete(e), e.i(t));
400
400
  }
401
- function X(e, t, r, n) {
401
+ function V(e, t, r, n) {
402
402
  if (e && e.o) {
403
- if (_e.has(e))
403
+ if (ye.has(e))
404
404
  return;
405
- _e.add(e), M.c.push(() => {
406
- _e.delete(e), n && (r && e.d(1), n());
405
+ ye.add(e), N.c.push(() => {
406
+ ye.delete(e), n && (r && e.d(1), n());
407
407
  }), e.o(t);
408
408
  } else
409
409
  n && n();
410
410
  }
411
- const Jr = { duration: 0 };
412
- function vs(e, t, r, n) {
411
+ const Wr = { duration: 0 };
412
+ function _s(e, t, r, n) {
413
413
  let s = t(e, r, { direction: "both" }), o = n ? 0 : 1, a = null, l = null, u = null, h;
414
414
  function f() {
415
- u && Dr(e, u);
415
+ u && $r(e, u);
416
416
  }
417
- function c(m, b) {
417
+ function c(m, g) {
418
418
  const p = (
419
419
  /** @type {Program['d']} */
420
420
  m.b - o
421
421
  );
422
- return b *= Math.abs(p), {
422
+ return g *= Math.abs(p), {
423
423
  a: o,
424
424
  b: m.b,
425
425
  d: p,
426
- duration: b,
426
+ duration: g,
427
427
  start: m.start,
428
- end: m.start + b,
428
+ end: m.start + g,
429
429
  group: m.group
430
430
  };
431
431
  }
432
432
  function y(m) {
433
433
  const {
434
- delay: b = 0,
434
+ delay: g = 0,
435
435
  duration: p = 300,
436
- easing: d = Tr,
437
- tick: v = A,
438
- css: g
439
- } = s || Jr, w = {
440
- start: Br() + b,
436
+ easing: d = Er,
437
+ tick: x = A,
438
+ css: b
439
+ } = s || Wr, w = {
440
+ start: Hr() + g,
441
441
  b: m
442
442
  };
443
- m || (w.group = M, M.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
444
- e.inert, e.inert = !0)), a || l ? l = w : (g && (f(), u = dt(e, o, m, p, b, d, g)), m && v(0, 1), a = c(w, p), He(() => De(e, m, "start")), Ar((H) => {
445
- if (l && H > l.start && (a = c(l, p), l = null, De(e, a.b, "start"), g && (f(), u = dt(
443
+ m || (w.group = N, N.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
444
+ e.inert, e.inert = !0)), a || l ? l = w : (b && (f(), u = ft(e, o, m, p, g, d, b)), m && x(0, 1), a = c(w, p), we(() => $e(e, m, "start")), Sr((H) => {
445
+ if (l && H > l.start && (a = c(l, p), l = null, $e(e, a.b, "start"), b && (f(), u = ft(
446
446
  e,
447
447
  o,
448
448
  a.b,
@@ -452,10 +452,10 @@ function vs(e, t, r, n) {
452
452
  s.css
453
453
  ))), a) {
454
454
  if (H >= a.end)
455
- v(o = a.b, 1 - o), De(e, a.b, "end"), l || (a.b ? f() : --a.group.r || U(a.group.c)), a = null;
455
+ x(o = a.b, 1 - o), $e(e, a.b, "end"), l || (a.b ? f() : --a.group.r || D(a.group.c)), a = null;
456
456
  else if (H >= a.start) {
457
- const F = H - a.start;
458
- o = a.a + a.d * d(F / a.duration), v(o, 1 - o);
457
+ const k = H - a.start;
458
+ o = a.a + a.d * d(k / a.duration), x(o, 1 - o);
459
459
  }
460
460
  }
461
461
  return !!(a || l);
@@ -463,7 +463,7 @@ function vs(e, t, r, n) {
463
463
  }
464
464
  return {
465
465
  run(m) {
466
- Oe(s) ? Xr().then(() => {
466
+ Ae(s) ? zr().then(() => {
467
467
  s = s({ direction: m ? "in" : "out" }), y(m);
468
468
  }) : y(m);
469
469
  },
@@ -472,26 +472,26 @@ function vs(e, t, r, n) {
472
472
  }
473
473
  };
474
474
  }
475
- function xs(e) {
475
+ function vs(e) {
476
476
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
477
477
  }
478
- function qr(e, t, r) {
478
+ function Zr(e, t, r) {
479
479
  const { fragment: n, after_update: i } = e.$$;
480
- n && n.m(t, r), He(() => {
481
- const s = e.$$.on_mount.map(Dt).filter(Oe);
482
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : U(s), e.$$.on_mount = [];
483
- }), i.forEach(He);
480
+ n && n.m(t, r), we(() => {
481
+ const s = e.$$.on_mount.map($t).filter(Ae);
482
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : D(s), e.$$.on_mount = [];
483
+ }), i.forEach(we);
484
484
  }
485
- function Qr(e, t) {
485
+ function Jr(e, t) {
486
486
  const r = e.$$;
487
- r.fragment !== null && (Vr(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
487
+ r.fragment !== null && (jr(r.after_update), D(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
488
488
  }
489
- function Yr(e, t) {
490
- e.$$.dirty[0] === -1 && (V.push(e), jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
489
+ function qr(e, t) {
490
+ e.$$.dirty[0] === -1 && (z.push(e), kr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
491
491
  }
492
- function Kr(e, t, r, n, i, s, o = null, a = [-1]) {
493
- const l = se;
494
- ie(e);
492
+ function Qr(e, t, r, n, i, s, o = null, a = [-1]) {
493
+ const l = ie;
494
+ ne(e);
495
495
  const u = e.$$ = {
496
496
  fragment: null,
497
497
  ctx: [],
@@ -499,7 +499,7 @@ function Kr(e, t, r, n, i, s, o = null, a = [-1]) {
499
499
  props: s,
500
500
  update: A,
501
501
  not_equal: i,
502
- bound: ft(),
502
+ bound: ht(),
503
503
  // lifecycle
504
504
  on_mount: [],
505
505
  on_destroy: [],
@@ -508,7 +508,7 @@ function Kr(e, t, r, n, i, s, o = null, a = [-1]) {
508
508
  after_update: [],
509
509
  context: new Map(t.context || (l ? l.$$.context : [])),
510
510
  // everything else
511
- callbacks: ft(),
511
+ callbacks: ht(),
512
512
  dirty: a,
513
513
  skip_bound: !1,
514
514
  root: t.target || l.$$.root
@@ -517,19 +517,19 @@ function Kr(e, t, r, n, i, s, o = null, a = [-1]) {
517
517
  let h = !1;
518
518
  if (u.ctx = r ? r(e, t.props || {}, (f, c, ...y) => {
519
519
  const m = y.length ? y[0] : c;
520
- return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Yr(e, f)), c;
521
- }) : [], u.update(), h = !0, U(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
520
+ return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && qr(e, f)), c;
521
+ }) : [], u.update(), h = !0, D(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
522
522
  if (t.hydrate) {
523
- const f = Ir(t.target);
524
- u.fragment && u.fragment.l(f), f.forEach(N);
523
+ const f = Or(t.target);
524
+ u.fragment && u.fragment.l(f), f.forEach(I);
525
525
  } else
526
526
  u.fragment && u.fragment.c();
527
- t.intro && L(e.$$.fragment), qr(e, t.target, t.anchor), O();
527
+ t.intro && M(e.$$.fragment), Zr(e, t.target, t.anchor), O();
528
528
  }
529
- ie(l);
529
+ ne(l);
530
530
  }
531
- let Vt;
532
- typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
531
+ let jt;
532
+ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
533
533
  constructor(t, r, n) {
534
534
  super();
535
535
  /** The Svelte component constructor */
@@ -566,42 +566,42 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
566
566
  }
567
567
  }
568
568
  connectedCallback() {
569
- return ct(this, null, function* () {
569
+ return lt(this, null, function* () {
570
570
  if (this.$$cn = !0, !this.$$c) {
571
571
  let t = function(s) {
572
572
  return () => {
573
573
  let o;
574
574
  return {
575
575
  c: function() {
576
- o = P("slot"), s !== "default" && D(o, "name", s);
576
+ o = P("slot"), s !== "default" && R(o, "name", s);
577
577
  },
578
578
  /**
579
579
  * @param {HTMLElement} target
580
580
  * @param {HTMLElement} [anchor]
581
581
  */
582
582
  m: function(u, h) {
583
- G(u, o, h);
583
+ U(u, o, h);
584
584
  },
585
585
  d: function(u) {
586
- u && N(o);
586
+ u && I(o);
587
587
  }
588
588
  };
589
589
  };
590
590
  };
591
591
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
592
592
  return;
593
- const r = {}, n = Lr(this);
593
+ const r = {}, n = Nr(this);
594
594
  for (const s of this.$$s)
595
595
  s in n && (r[s] = [t(s)]);
596
596
  for (const s of this.attributes) {
597
597
  const o = this.$$g_p(s.name);
598
- o in this.$$d || (this.$$d[o] = Ee(o, s.value, this.$$p_d, "toProp"));
598
+ o in this.$$d || (this.$$d[o] = _e(o, s.value, this.$$p_d, "toProp"));
599
599
  }
600
600
  for (const s in this.$$p_d)
601
601
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
602
602
  this.$$c = new this.$$ctor({
603
603
  target: this.shadowRoot || this,
604
- props: ht(lt({}, this.$$d), {
604
+ props: ut(at({}, this.$$d), {
605
605
  $$slots: r,
606
606
  $$scope: {
607
607
  ctx: []
@@ -612,7 +612,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
612
612
  this.$$r = !0;
613
613
  for (const s in this.$$p_d)
614
614
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
615
- const o = Ee(
615
+ const o = _e(
616
616
  s,
617
617
  this.$$d[s],
618
618
  this.$$p_d,
@@ -636,7 +636,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
636
636
  // and setting attributes through setAttribute etc, this is helpful
637
637
  attributeChangedCallback(t, r, n) {
638
638
  var i;
639
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Ee(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
639
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = _e(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
640
640
  }
641
641
  disconnectedCallback() {
642
642
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -649,7 +649,7 @@ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
649
649
  ) || t;
650
650
  }
651
651
  });
652
- function Ee(e, t, r, n) {
652
+ function _e(e, t, r, n) {
653
653
  var s;
654
654
  const i = (s = r[e]) == null ? void 0 : s.type;
655
655
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -679,8 +679,8 @@ function Ee(e, t, r, n) {
679
679
  return t;
680
680
  }
681
681
  }
682
- function en(e, t, r, n, i, s) {
683
- let o = class extends Vt {
682
+ function Yr(e, t, r, n, i, s) {
683
+ let o = class extends jt {
684
684
  constructor() {
685
685
  super(e, r, i), this.$$p_d = t;
686
686
  }
@@ -697,7 +697,7 @@ function en(e, t, r, n, i, s) {
697
697
  },
698
698
  set(l) {
699
699
  var u;
700
- l = Ee(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
700
+ l = _e(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
701
701
  }
702
702
  });
703
703
  }), n.forEach((a) => {
@@ -710,7 +710,7 @@ function en(e, t, r, n, i, s) {
710
710
  }), e.element = /** @type {any} */
711
711
  o, o;
712
712
  }
713
- class tn {
713
+ class Kr {
714
714
  constructor() {
715
715
  /**
716
716
  * ### PRIVATE API
@@ -731,7 +731,7 @@ class tn {
731
731
  }
732
732
  /** @returns {void} */
733
733
  $destroy() {
734
- Qr(this, 1), this.$destroy = A;
734
+ Jr(this, 1), this.$destroy = A;
735
735
  }
736
736
  /**
737
737
  * @template {Extract<keyof Events, string>} K
@@ -740,7 +740,7 @@ class tn {
740
740
  * @returns {() => void}
741
741
  */
742
742
  $on(t, r) {
743
- if (!Oe(r))
743
+ if (!Ae(r))
744
744
  return A;
745
745
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
746
746
  return n.push(r), () => {
@@ -753,29 +753,29 @@ class tn {
753
753
  * @returns {void}
754
754
  */
755
755
  $set(t) {
756
- this.$$set && !Hr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
756
+ this.$$set && !Tr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
757
757
  }
758
758
  }
759
- const rn = "4";
760
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(rn);
761
- const z = [];
762
- function nn(e, t) {
759
+ const en = "4";
760
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(en);
761
+ const j = [];
762
+ function tn(e, t) {
763
763
  return {
764
- subscribe: Ce(e, t).subscribe
764
+ subscribe: Pe(e, t).subscribe
765
765
  };
766
766
  }
767
- function Ce(e, t = A) {
767
+ function Pe(e, t = A) {
768
768
  let r;
769
769
  const n = /* @__PURE__ */ new Set();
770
770
  function i(a) {
771
- if (Ut(e, a) && (e = a, r)) {
772
- const l = !z.length;
771
+ if (Rt(e, a) && (e = a, r)) {
772
+ const l = !j.length;
773
773
  for (const u of n)
774
- u[1](), z.push(u, e);
774
+ u[1](), j.push(u, e);
775
775
  if (l) {
776
- for (let u = 0; u < z.length; u += 2)
777
- z[u][0](z[u + 1]);
778
- z.length = 0;
776
+ for (let u = 0; u < j.length; u += 2)
777
+ j[u][0](j[u + 1]);
778
+ j.length = 0;
779
779
  }
780
780
  }
781
781
  }
@@ -790,12 +790,12 @@ function Ce(e, t = A) {
790
790
  }
791
791
  return { set: i, update: s, subscribe: o };
792
792
  }
793
- function K(e, t, r) {
793
+ function Y(e, t, r) {
794
794
  const n = !Array.isArray(e), i = n ? [e] : e;
795
795
  if (!i.every(Boolean))
796
796
  throw new Error("derived() expects stores as input, got a falsy value");
797
797
  const s = t.length < 2;
798
- return nn(r, (o, a) => {
798
+ return tn(r, (o, a) => {
799
799
  let l = !1;
800
800
  const u = [];
801
801
  let h = 0, f = A;
@@ -804,126 +804,140 @@ function K(e, t, r) {
804
804
  return;
805
805
  f();
806
806
  const m = t(n ? u[0] : u, o, a);
807
- s ? o(m) : f = Oe(m) ? m : A;
807
+ s ? o(m) : f = Ae(m) ? m : A;
808
808
  }, y = i.map(
809
- (m, b) => Gt(
809
+ (m, g) => Dt(
810
810
  m,
811
811
  (p) => {
812
- u[b] = p, h &= ~(1 << b), l && c();
812
+ u[g] = p, h &= ~(1 << g), l && c();
813
813
  },
814
814
  () => {
815
- h |= 1 << b;
815
+ h |= 1 << g;
816
816
  }
817
817
  )
818
818
  );
819
819
  return l = !0, c(), function() {
820
- U(y), f(), l = !1;
820
+ D(y), f(), l = !1;
821
821
  };
822
822
  });
823
823
  }
824
- var Ts = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
825
- function sn(e) {
824
+ var Es = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
825
+ function rn(e) {
826
826
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
827
827
  }
828
- var on = function(t) {
829
- return an(t) && !un(t);
828
+ var nn = function(t) {
829
+ return sn(t) && !on(t);
830
830
  };
831
- function an(e) {
831
+ function sn(e) {
832
832
  return !!e && typeof e == "object";
833
833
  }
834
- function un(e) {
834
+ function on(e) {
835
835
  var t = Object.prototype.toString.call(e);
836
- return t === "[object RegExp]" || t === "[object Date]" || cn(e);
836
+ return t === "[object RegExp]" || t === "[object Date]" || ln(e);
837
837
  }
838
- var ln = typeof Symbol == "function" && Symbol.for, hn = ln ? Symbol.for("react.element") : 60103;
839
- function cn(e) {
840
- return e.$$typeof === hn;
838
+ var an = typeof Symbol == "function" && Symbol.for, un = an ? Symbol.for("react.element") : 60103;
839
+ function ln(e) {
840
+ return e.$$typeof === un;
841
841
  }
842
- function fn(e) {
842
+ function hn(e) {
843
843
  return Array.isArray(e) ? [] : {};
844
844
  }
845
- function oe(e, t) {
846
- return t.clone !== !1 && t.isMergeableObject(e) ? J(fn(e), e, t) : e;
845
+ function se(e, t) {
846
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(hn(e), e, t) : e;
847
847
  }
848
- function mn(e, t, r) {
848
+ function cn(e, t, r) {
849
849
  return e.concat(t).map(function(n) {
850
- return oe(n, r);
850
+ return se(n, r);
851
851
  });
852
852
  }
853
- function dn(e, t) {
853
+ function fn(e, t) {
854
854
  if (!t.customMerge)
855
- return J;
855
+ return Z;
856
856
  var r = t.customMerge(e);
857
- return typeof r == "function" ? r : J;
857
+ return typeof r == "function" ? r : Z;
858
858
  }
859
- function pn(e) {
859
+ function mn(e) {
860
860
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
861
861
  return Object.propertyIsEnumerable.call(e, t);
862
862
  }) : [];
863
863
  }
864
- function gt(e) {
865
- return Object.keys(e).concat(pn(e));
864
+ function dt(e) {
865
+ return Object.keys(e).concat(mn(e));
866
866
  }
867
- function Xt(e, t) {
867
+ function zt(e, t) {
868
868
  try {
869
869
  return t in e;
870
870
  } catch (r) {
871
871
  return !1;
872
872
  }
873
873
  }
874
- function gn(e, t) {
875
- return Xt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
874
+ function dn(e, t) {
875
+ return zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
876
876
  }
877
- function bn(e, t, r) {
877
+ function pn(e, t, r) {
878
878
  var n = {};
879
- return r.isMergeableObject(e) && gt(e).forEach(function(i) {
880
- n[i] = oe(e[i], r);
881
- }), gt(t).forEach(function(i) {
882
- gn(e, i) || (Xt(e, i) && r.isMergeableObject(t[i]) ? n[i] = dn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
879
+ return r.isMergeableObject(e) && dt(e).forEach(function(i) {
880
+ n[i] = se(e[i], r);
881
+ }), dt(t).forEach(function(i) {
882
+ dn(e, i) || (zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = fn(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
883
883
  }), n;
884
884
  }
885
- function J(e, t, r) {
886
- r = r || {}, r.arrayMerge = r.arrayMerge || mn, r.isMergeableObject = r.isMergeableObject || on, r.cloneUnlessOtherwiseSpecified = oe;
885
+ function Z(e, t, r) {
886
+ r = r || {}, r.arrayMerge = r.arrayMerge || cn, r.isMergeableObject = r.isMergeableObject || nn, r.cloneUnlessOtherwiseSpecified = se;
887
887
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
888
- return s ? n ? r.arrayMerge(e, t, r) : bn(e, t, r) : oe(t, r);
888
+ return s ? n ? r.arrayMerge(e, t, r) : pn(e, t, r) : se(t, r);
889
889
  }
890
- J.all = function(t, r) {
890
+ Z.all = function(t, r) {
891
891
  if (!Array.isArray(t))
892
892
  throw new Error("first argument should be an array");
893
893
  return t.reduce(function(n, i) {
894
- return J(n, i, r);
894
+ return Z(n, i, r);
895
895
  }, {});
896
896
  };
897
- var yn = J, _n = yn;
898
- const En = /* @__PURE__ */ sn(_n);
899
- var Ze = function(e, t) {
900
- return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
897
+ var bn = Z, gn = bn;
898
+ const yn = /* @__PURE__ */ rn(gn);
899
+ /*! *****************************************************************************
900
+ Copyright (c) Microsoft Corporation.
901
+
902
+ Permission to use, copy, modify, and/or distribute this software for any
903
+ purpose with or without fee is hereby granted.
904
+
905
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
906
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
907
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
908
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
909
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
910
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
911
+ PERFORMANCE OF THIS SOFTWARE.
912
+ ***************************************************************************** */
913
+ var Xe = function(e, t) {
914
+ return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
901
915
  r.__proto__ = n;
902
916
  } || function(r, n) {
903
917
  for (var i in n)
904
918
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
905
- }, Ze(e, t);
919
+ }, Xe(e, t);
906
920
  };
907
- function Ie(e, t) {
921
+ function Oe(e, t) {
908
922
  if (typeof t != "function" && t !== null)
909
923
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
910
- Ze(e, t);
924
+ Xe(e, t);
911
925
  function r() {
912
926
  this.constructor = e;
913
927
  }
914
928
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
915
929
  }
916
- var C = function() {
917
- return C = Object.assign || function(t) {
930
+ var E = function() {
931
+ return E = Object.assign || function(t) {
918
932
  for (var r, n = 1, i = arguments.length; n < i; n++) {
919
933
  r = arguments[n];
920
934
  for (var s in r)
921
935
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
922
936
  }
923
937
  return t;
924
- }, C.apply(this, arguments);
938
+ }, E.apply(this, arguments);
925
939
  };
926
- function vn(e, t) {
940
+ function _n(e, t) {
927
941
  var r = {};
928
942
  for (var n in e)
929
943
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -932,43 +946,75 @@ function vn(e, t) {
932
946
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
933
947
  return r;
934
948
  }
935
- function Ue(e, t, r) {
949
+ function xs(e) {
950
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
951
+ if (r)
952
+ return r.call(e);
953
+ if (e && typeof e.length == "number")
954
+ return {
955
+ next: function() {
956
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
957
+ }
958
+ };
959
+ throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
960
+ }
961
+ function Ts(e, t) {
962
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
963
+ if (!r)
964
+ return e;
965
+ var n = r.call(e), i, s = [], o;
966
+ try {
967
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
968
+ s.push(i.value);
969
+ } catch (a) {
970
+ o = { error: a };
971
+ } finally {
972
+ try {
973
+ i && !i.done && (r = n.return) && r.call(n);
974
+ } finally {
975
+ if (o)
976
+ throw o.error;
977
+ }
978
+ }
979
+ return s;
980
+ }
981
+ function Re(e, t, r) {
936
982
  if (r || arguments.length === 2)
937
983
  for (var n = 0, i = t.length, s; n < i; n++)
938
984
  (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
939
- return e.concat(s || Array.prototype.slice.call(t));
985
+ return e.concat(s || t);
940
986
  }
941
- function Ge(e, t) {
942
- var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Sn, i = t && t.strategy ? t.strategy : wn;
987
+ function De(e, t) {
988
+ var r = t && t.cache ? t.cache : Sn, n = t && t.serializer ? t.serializer : wn, i = t && t.strategy ? t.strategy : xn;
943
989
  return i(e, {
944
990
  cache: r,
945
991
  serializer: n
946
992
  });
947
993
  }
948
- function xn(e) {
994
+ function vn(e) {
949
995
  return e == null || typeof e == "number" || typeof e == "boolean";
950
996
  }
951
- function Tn(e, t, r, n) {
952
- var i = xn(n) ? n : r(n), s = t.get(i);
997
+ function En(e, t, r, n) {
998
+ var i = vn(n) ? n : r(n), s = t.get(i);
953
999
  return typeof s == "undefined" && (s = e.call(this, n), t.set(i, s)), s;
954
1000
  }
955
- function Wt(e, t, r) {
1001
+ function Vt(e, t, r) {
956
1002
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), s = t.get(i);
957
1003
  return typeof s == "undefined" && (s = e.apply(this, n), t.set(i, s)), s;
958
1004
  }
959
- function Zt(e, t, r, n, i) {
1005
+ function Xt(e, t, r, n, i) {
960
1006
  return r.bind(t, e, n, i);
961
1007
  }
962
- function wn(e, t) {
963
- var r = e.length === 1 ? Tn : Wt;
964
- return Zt(e, this, r, t.cache.create(), t.serializer);
1008
+ function xn(e, t) {
1009
+ var r = e.length === 1 ? En : Vt;
1010
+ return Xt(e, this, r, t.cache.create(), t.serializer);
965
1011
  }
966
- function Hn(e, t) {
967
- return Zt(e, this, Wt, t.cache.create(), t.serializer);
1012
+ function Tn(e, t) {
1013
+ return Xt(e, this, Vt, t.cache.create(), t.serializer);
968
1014
  }
969
- var Sn = function() {
1015
+ var wn = function() {
970
1016
  return JSON.stringify(arguments);
971
- }, Bn = (
1017
+ }, Hn = (
972
1018
  /** @class */
973
1019
  function() {
974
1020
  function e() {
@@ -980,71 +1026,61 @@ var Sn = function() {
980
1026
  this.cache[t] = r;
981
1027
  }, e;
982
1028
  }()
983
- ), An = {
1029
+ ), Sn = {
984
1030
  create: function() {
985
- return new Bn();
1031
+ return new Hn();
986
1032
  }
987
- }, ke = {
988
- variadic: Hn
989
- }, Se = function() {
990
- return Se = Object.assign || function(t) {
991
- for (var r, n = 1, i = arguments.length; n < i; n++) {
992
- r = arguments[n];
993
- for (var s in r)
994
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
995
- }
996
- return t;
997
- }, Se.apply(this, arguments);
998
- };
999
- var _;
1033
+ }, Ue = {
1034
+ variadic: Tn
1035
+ }, _;
1000
1036
  (function(e) {
1001
1037
  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";
1002
1038
  })(_ || (_ = {}));
1003
- var x;
1039
+ var T;
1004
1040
  (function(e) {
1005
1041
  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";
1006
- })(x || (x = {}));
1007
- var q;
1042
+ })(T || (T = {}));
1043
+ var J;
1008
1044
  (function(e) {
1009
1045
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1010
- })(q || (q = {}));
1011
- function bt(e) {
1012
- return e.type === x.literal;
1046
+ })(J || (J = {}));
1047
+ function pt(e) {
1048
+ return e.type === T.literal;
1049
+ }
1050
+ function Bn(e) {
1051
+ return e.type === T.argument;
1013
1052
  }
1014
- function Pn(e) {
1015
- return e.type === x.argument;
1053
+ function Wt(e) {
1054
+ return e.type === T.number;
1055
+ }
1056
+ function Zt(e) {
1057
+ return e.type === T.date;
1016
1058
  }
1017
1059
  function Jt(e) {
1018
- return e.type === x.number;
1060
+ return e.type === T.time;
1019
1061
  }
1020
1062
  function qt(e) {
1021
- return e.type === x.date;
1063
+ return e.type === T.select;
1022
1064
  }
1023
1065
  function Qt(e) {
1024
- return e.type === x.time;
1066
+ return e.type === T.plural;
1067
+ }
1068
+ function An(e) {
1069
+ return e.type === T.pound;
1025
1070
  }
1026
1071
  function Yt(e) {
1027
- return e.type === x.select;
1072
+ return e.type === T.tag;
1028
1073
  }
1029
1074
  function Kt(e) {
1030
- return e.type === x.plural;
1031
- }
1032
- function On(e) {
1033
- return e.type === x.pound;
1034
- }
1035
- function er(e) {
1036
- return e.type === x.tag;
1075
+ return !!(e && typeof e == "object" && e.type === J.number);
1037
1076
  }
1038
- function tr(e) {
1039
- return !!(e && typeof e == "object" && e.type === q.number);
1077
+ function We(e) {
1078
+ return !!(e && typeof e == "object" && e.type === J.dateTime);
1040
1079
  }
1041
- function Je(e) {
1042
- return !!(e && typeof e == "object" && e.type === q.dateTime);
1043
- }
1044
- var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Cn = /(?:[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;
1045
- function In(e) {
1080
+ var er = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[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;
1081
+ function On(e) {
1046
1082
  var t = {};
1047
- return e.replace(Cn, function(r) {
1083
+ return e.replace(Pn, function(r) {
1048
1084
  var n = r.length;
1049
1085
  switch (r[0]) {
1050
1086
  case "G":
@@ -1133,21 +1169,11 @@ function In(e) {
1133
1169
  return "";
1134
1170
  }), t;
1135
1171
  }
1136
- var T = function() {
1137
- return T = Object.assign || function(t) {
1138
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1139
- r = arguments[n];
1140
- for (var s in r)
1141
- Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1142
- }
1143
- return t;
1144
- }, T.apply(this, arguments);
1145
- };
1146
- var Nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1147
- function Mn(e) {
1172
+ var Cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1173
+ function In(e) {
1148
1174
  if (e.length === 0)
1149
1175
  throw new Error("Number skeleton cannot be empty");
1150
- for (var t = e.split(Nn).filter(function(c) {
1176
+ for (var t = e.split(Cn).filter(function(c) {
1151
1177
  return c.length > 0;
1152
1178
  }), r = [], n = 0, i = t; n < i.length; n++) {
1153
1179
  var s = i[n], o = s.split("/");
@@ -1162,17 +1188,17 @@ function Mn(e) {
1162
1188
  }
1163
1189
  return r;
1164
1190
  }
1165
- function Ln(e) {
1191
+ function Nn(e) {
1166
1192
  return e.replace(/^(.*?)-/, "");
1167
1193
  }
1168
- var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, nr = /^(@+)?(\+|#+)?[rs]?$/g, $n = /(\*)(0+)|(#+)(0+)|(0+)/g, ir = /^(0+)$/;
1169
- function _t(e) {
1194
+ var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tr = /^(@+)?(\+|#+)?[rs]?$/g, Mn = /(\*)(0+)|(#+)(0+)|(0+)/g, rr = /^(0+)$/;
1195
+ function gt(e) {
1170
1196
  var t = {};
1171
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(nr, function(r, n, i) {
1197
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tr, function(r, n, i) {
1172
1198
  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)), "";
1173
1199
  }), t;
1174
1200
  }
1175
- function sr(e) {
1201
+ function nr(e) {
1176
1202
  switch (e) {
1177
1203
  case "sign-auto":
1178
1204
  return {
@@ -1212,7 +1238,7 @@ function sr(e) {
1212
1238
  };
1213
1239
  }
1214
1240
  }
1215
- function Rn(e) {
1241
+ function Ln(e) {
1216
1242
  var t;
1217
1243
  if (e[0] === "E" && e[1] === "E" ? (t = {
1218
1244
  notation: "engineering"
@@ -1220,17 +1246,17 @@ function Rn(e) {
1220
1246
  notation: "scientific"
1221
1247
  }, e = e.slice(1)), t) {
1222
1248
  var r = e.slice(0, 2);
1223
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ir.test(e))
1249
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rr.test(e))
1224
1250
  throw new Error("Malformed concise eng/scientific notation");
1225
1251
  t.minimumIntegerDigits = e.length;
1226
1252
  }
1227
1253
  return t;
1228
1254
  }
1229
- function Et(e) {
1230
- var t = {}, r = sr(e);
1255
+ function yt(e) {
1256
+ var t = {}, r = nr(e);
1231
1257
  return r || t;
1232
1258
  }
1233
- function Dn(e) {
1259
+ function $n(e) {
1234
1260
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1235
1261
  var i = n[r];
1236
1262
  switch (i.stem) {
@@ -1254,7 +1280,7 @@ function Dn(e) {
1254
1280
  continue;
1255
1281
  case "measure-unit":
1256
1282
  case "unit":
1257
- t.style = "unit", t.unit = Ln(i.options[0]);
1283
+ t.style = "unit", t.unit = Nn(i.options[0]);
1258
1284
  continue;
1259
1285
  case "compact-short":
1260
1286
  case "K":
@@ -1265,13 +1291,13 @@ function Dn(e) {
1265
1291
  t.notation = "compact", t.compactDisplay = "long";
1266
1292
  continue;
1267
1293
  case "scientific":
1268
- t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1269
- return T(T({}, l), Et(u));
1294
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1295
+ return E(E({}, l), yt(u));
1270
1296
  }, {}));
1271
1297
  continue;
1272
1298
  case "engineering":
1273
- t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1274
- return T(T({}, l), Et(u));
1299
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1300
+ return E(E({}, l), yt(u));
1275
1301
  }, {}));
1276
1302
  continue;
1277
1303
  case "notation-simple":
@@ -1316,7 +1342,7 @@ function Dn(e) {
1316
1342
  case "integer-width":
1317
1343
  if (i.options.length > 1)
1318
1344
  throw new RangeError("integer-width stems only accept a single optional option");
1319
- i.options[0].replace($n, function(l, u, h, f, c, y) {
1345
+ i.options[0].replace(Mn, function(l, u, h, f, c, y) {
1320
1346
  if (u)
1321
1347
  t.minimumIntegerDigits = h.length;
1322
1348
  else {
@@ -1329,32 +1355,32 @@ function Dn(e) {
1329
1355
  });
1330
1356
  continue;
1331
1357
  }
1332
- if (ir.test(i.stem)) {
1358
+ if (rr.test(i.stem)) {
1333
1359
  t.minimumIntegerDigits = i.stem.length;
1334
1360
  continue;
1335
1361
  }
1336
- if (yt.test(i.stem)) {
1362
+ if (bt.test(i.stem)) {
1337
1363
  if (i.options.length > 1)
1338
1364
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1339
- i.stem.replace(yt, function(l, u, h, f, c, y) {
1365
+ i.stem.replace(bt, function(l, u, h, f, c, y) {
1340
1366
  return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && y ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + y.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1341
1367
  });
1342
1368
  var s = i.options[0];
1343
- s === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = T(T({}, t), _t(s)));
1369
+ s === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = E(E({}, t), gt(s)));
1344
1370
  continue;
1345
1371
  }
1346
- if (nr.test(i.stem)) {
1347
- t = T(T({}, t), _t(i.stem));
1372
+ if (tr.test(i.stem)) {
1373
+ t = E(E({}, t), gt(i.stem));
1348
1374
  continue;
1349
1375
  }
1350
- var o = sr(i.stem);
1351
- o && (t = T(T({}, t), o));
1352
- var a = Rn(i.stem);
1353
- a && (t = T(T({}, t), a));
1376
+ var o = nr(i.stem);
1377
+ o && (t = E(E({}, t), o));
1378
+ var a = Ln(i.stem);
1379
+ a && (t = E(E({}, t), a));
1354
1380
  }
1355
1381
  return t;
1356
1382
  }
1357
- var de = {
1383
+ var me = {
1358
1384
  "001": [
1359
1385
  "H",
1360
1386
  "h"
@@ -2769,13 +2795,13 @@ var de = {
2769
2795
  "h"
2770
2796
  ]
2771
2797
  };
2772
- function Un(e, t) {
2798
+ function Rn(e, t) {
2773
2799
  for (var r = "", n = 0; n < e.length; n++) {
2774
2800
  var i = e.charAt(n);
2775
2801
  if (i === "j") {
2776
2802
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2777
2803
  s++, n++;
2778
- var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Gn(t);
2804
+ var o = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = Dn(t);
2779
2805
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2780
2806
  r += l;
2781
2807
  for (; o-- > 0; )
@@ -2785,7 +2811,7 @@ function Un(e, t) {
2785
2811
  }
2786
2812
  return r;
2787
2813
  }
2788
- function Gn(e) {
2814
+ function Dn(e) {
2789
2815
  var t = e.hourCycle;
2790
2816
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2791
2817
  e.hourCycles && // @ts-ignore
@@ -2804,23 +2830,23 @@ function Gn(e) {
2804
2830
  }
2805
2831
  var r = e.language, n;
2806
2832
  r !== "root" && (n = e.maximize().region);
2807
- var i = de[n || ""] || de[r || ""] || de["".concat(r, "-001")] || de["001"];
2833
+ var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
2808
2834
  return i[0];
2809
2835
  }
2810
- var Fe, kn = new RegExp("^".concat(rr.source, "*")), Fn = new RegExp("".concat(rr.source, "*$"));
2811
- function E(e, t) {
2836
+ var Ge, Un = new RegExp("^".concat(er.source, "*")), Gn = new RegExp("".concat(er.source, "*$"));
2837
+ function v(e, t) {
2812
2838
  return { start: e, end: t };
2813
2839
  }
2814
- var jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), zn = !!String.fromCodePoint, Vn = !!Object.fromEntries, Xn = !!String.prototype.codePointAt, Wn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, Jn = !!Number.isSafeInteger, qn = Jn ? Number.isSafeInteger : function(e) {
2840
+ var kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fn = !!String.fromCodePoint, jn = !!Object.fromEntries, zn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, Xn = !!String.prototype.trimEnd, Wn = !!Number.isSafeInteger, Zn = Wn ? Number.isSafeInteger : function(e) {
2815
2841
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2816
- }, qe = !0;
2842
+ }, Ze = !0;
2817
2843
  try {
2818
- var Qn = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2819
- qe = ((Fe = Qn.exec("a")) === null || Fe === void 0 ? void 0 : Fe[0]) === "a";
2844
+ var Jn = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2845
+ Ze = ((Ge = Jn.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
2820
2846
  } catch (e) {
2821
- qe = !1;
2847
+ Ze = !1;
2822
2848
  }
2823
- var vt = jn ? (
2849
+ var _t = kn ? (
2824
2850
  // Native
2825
2851
  function(t, r, n) {
2826
2852
  return t.startsWith(r, n);
@@ -2830,7 +2856,7 @@ var vt = jn ? (
2830
2856
  function(t, r, n) {
2831
2857
  return t.slice(n, n + r.length) === r;
2832
2858
  }
2833
- ), Qe = zn ? String.fromCodePoint : (
2859
+ ), Je = Fn ? String.fromCodePoint : (
2834
2860
  // IE11
2835
2861
  function() {
2836
2862
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2842,9 +2868,9 @@ var vt = jn ? (
2842
2868
  }
2843
2869
  return n;
2844
2870
  }
2845
- ), xt = (
2871
+ ), vt = (
2846
2872
  // native
2847
- Vn ? Object.fromEntries : (
2873
+ jn ? Object.fromEntries : (
2848
2874
  // Ponyfill
2849
2875
  function(t) {
2850
2876
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2854,7 +2880,7 @@ var vt = jn ? (
2854
2880
  return r;
2855
2881
  }
2856
2882
  )
2857
- ), or = Xn ? (
2883
+ ), ir = zn ? (
2858
2884
  // Native
2859
2885
  function(t, r) {
2860
2886
  return t.codePointAt(r);
@@ -2868,7 +2894,7 @@ var vt = jn ? (
2868
2894
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2869
2895
  }
2870
2896
  }
2871
- ), Yn = Wn ? (
2897
+ ), qn = Vn ? (
2872
2898
  // Native
2873
2899
  function(t) {
2874
2900
  return t.trimStart();
@@ -2876,9 +2902,9 @@ var vt = jn ? (
2876
2902
  ) : (
2877
2903
  // Ponyfill
2878
2904
  function(t) {
2879
- return t.replace(kn, "");
2905
+ return t.replace(Un, "");
2880
2906
  }
2881
- ), Kn = Zn ? (
2907
+ ), Qn = Xn ? (
2882
2908
  // Native
2883
2909
  function(t) {
2884
2910
  return t.trimEnd();
@@ -2886,32 +2912,32 @@ var vt = jn ? (
2886
2912
  ) : (
2887
2913
  // Ponyfill
2888
2914
  function(t) {
2889
- return t.replace(Fn, "");
2915
+ return t.replace(Gn, "");
2890
2916
  }
2891
2917
  );
2892
- function ar(e, t) {
2918
+ function sr(e, t) {
2893
2919
  return new RegExp(e, t);
2894
2920
  }
2895
- var Ye;
2896
- if (qe) {
2897
- var Tt = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2898
- Ye = function(t, r) {
2921
+ var qe;
2922
+ if (Ze) {
2923
+ var Et = sr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2924
+ qe = function(t, r) {
2899
2925
  var n;
2900
- Tt.lastIndex = r;
2901
- var i = Tt.exec(t);
2926
+ Et.lastIndex = r;
2927
+ var i = Et.exec(t);
2902
2928
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2903
2929
  };
2904
2930
  } else
2905
- Ye = function(t, r) {
2931
+ qe = function(t, r) {
2906
2932
  for (var n = []; ; ) {
2907
- var i = or(t, r);
2908
- if (i === void 0 || ur(i) || ni(i))
2933
+ var i = ir(t, r);
2934
+ if (i === void 0 || or(i) || ti(i))
2909
2935
  break;
2910
2936
  n.push(i), r += i >= 65536 ? 2 : 1;
2911
2937
  }
2912
- return Qe.apply(void 0, n);
2938
+ return Je.apply(void 0, n);
2913
2939
  };
2914
- var ei = (
2940
+ var Yn = (
2915
2941
  /** @class */
2916
2942
  function() {
2917
2943
  function e(t, r) {
@@ -2935,14 +2961,14 @@ var ei = (
2935
2961
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2936
2962
  var a = this.clonePosition();
2937
2963
  this.bump(), i.push({
2938
- type: x.pound,
2939
- location: E(a, this.clonePosition())
2964
+ type: T.pound,
2965
+ location: v(a, this.clonePosition())
2940
2966
  });
2941
2967
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2942
2968
  if (n)
2943
2969
  break;
2944
- return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
2945
- } else if (s === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
2970
+ return this.error(_.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
2971
+ } else if (s === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
2946
2972
  var o = this.parseTag(t, r);
2947
2973
  if (o.err)
2948
2974
  return o;
@@ -2963,9 +2989,9 @@ var ei = (
2963
2989
  if (this.bumpSpace(), this.bumpIf("/>"))
2964
2990
  return {
2965
2991
  val: {
2966
- type: x.literal,
2992
+ type: T.literal,
2967
2993
  value: "<".concat(i, "/>"),
2968
- location: E(n, this.clonePosition())
2994
+ location: v(n, this.clonePosition())
2969
2995
  },
2970
2996
  err: null
2971
2997
  };
@@ -2975,25 +3001,25 @@ var ei = (
2975
3001
  return s;
2976
3002
  var o = s.val, a = this.clonePosition();
2977
3003
  if (this.bumpIf("</")) {
2978
- if (this.isEOF() || !Ke(this.char()))
2979
- return this.error(_.INVALID_TAG, E(a, this.clonePosition()));
3004
+ if (this.isEOF() || !Qe(this.char()))
3005
+ return this.error(_.INVALID_TAG, v(a, this.clonePosition()));
2980
3006
  var l = this.clonePosition(), u = this.parseTagName();
2981
- return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3007
+ return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2982
3008
  val: {
2983
- type: x.tag,
3009
+ type: T.tag,
2984
3010
  value: i,
2985
3011
  children: o,
2986
- location: E(n, this.clonePosition())
3012
+ location: v(n, this.clonePosition())
2987
3013
  },
2988
3014
  err: null
2989
- } : this.error(_.INVALID_TAG, E(a, this.clonePosition())));
3015
+ } : this.error(_.INVALID_TAG, v(a, this.clonePosition())));
2990
3016
  } else
2991
- return this.error(_.UNCLOSED_TAG, E(n, this.clonePosition()));
3017
+ return this.error(_.UNCLOSED_TAG, v(n, this.clonePosition()));
2992
3018
  } else
2993
- return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3019
+ return this.error(_.INVALID_TAG, v(n, this.clonePosition()));
2994
3020
  }, e.prototype.parseTagName = function() {
2995
3021
  var t = this.offset();
2996
- for (this.bump(); !this.isEOF() && ri(this.char()); )
3022
+ for (this.bump(); !this.isEOF() && ei(this.char()); )
2997
3023
  this.bump();
2998
3024
  return this.message.slice(t, this.offset());
2999
3025
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3015,14 +3041,14 @@ var ei = (
3015
3041
  }
3016
3042
  break;
3017
3043
  }
3018
- var l = E(n, this.clonePosition());
3044
+ var l = v(n, this.clonePosition());
3019
3045
  return {
3020
- val: { type: x.literal, value: i, location: l },
3046
+ val: { type: T.literal, value: i, location: l },
3021
3047
  err: null
3022
3048
  };
3023
3049
  }, e.prototype.tryParseLeftAngleBracket = function() {
3024
3050
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3025
- !ti(this.peek() || 0)) ? (this.bump(), "<") : null;
3051
+ !Kn(this.peek() || 0)) ? (this.bump(), "<") : null;
3026
3052
  }, e.prototype.tryParseQuote = function(t) {
3027
3053
  if (this.isEOF() || this.char() !== 39)
3028
3054
  return null;
@@ -3056,49 +3082,49 @@ var ei = (
3056
3082
  r.push(n);
3057
3083
  this.bump();
3058
3084
  }
3059
- return Qe.apply(void 0, r);
3085
+ return Je.apply(void 0, r);
3060
3086
  }, e.prototype.tryParseUnquoted = function(t, r) {
3061
3087
  if (this.isEOF())
3062
3088
  return null;
3063
3089
  var n = this.char();
3064
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Qe(n));
3090
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Je(n));
3065
3091
  }, e.prototype.parseArgument = function(t, r) {
3066
3092
  var n = this.clonePosition();
3067
3093
  if (this.bump(), this.bumpSpace(), this.isEOF())
3068
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3094
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3069
3095
  if (this.char() === 125)
3070
- return this.bump(), this.error(_.EMPTY_ARGUMENT, E(n, this.clonePosition()));
3096
+ return this.bump(), this.error(_.EMPTY_ARGUMENT, v(n, this.clonePosition()));
3071
3097
  var i = this.parseIdentifierIfPossible().value;
3072
3098
  if (!i)
3073
- return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3099
+ return this.error(_.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3074
3100
  if (this.bumpSpace(), this.isEOF())
3075
- return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition()));
3101
+ return this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
3076
3102
  switch (this.char()) {
3077
3103
  case 125:
3078
3104
  return this.bump(), {
3079
3105
  val: {
3080
- type: x.argument,
3106
+ type: T.argument,
3081
3107
  // value does not include the opening and closing braces.
3082
3108
  value: i,
3083
- location: E(n, this.clonePosition())
3109
+ location: v(n, this.clonePosition())
3084
3110
  },
3085
3111
  err: null
3086
3112
  };
3087
3113
  case 44:
3088
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3114
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3089
3115
  default:
3090
- return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3116
+ return this.error(_.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3091
3117
  }
3092
3118
  }, e.prototype.parseIdentifierIfPossible = function() {
3093
- var t = this.clonePosition(), r = this.offset(), n = Ye(this.message, r), i = r + n.length;
3119
+ var t = this.clonePosition(), r = this.offset(), n = qe(this.message, r), i = r + n.length;
3094
3120
  this.bumpTo(i);
3095
- var s = this.clonePosition(), o = E(t, s);
3121
+ var s = this.clonePosition(), o = v(t, s);
3096
3122
  return { value: n, location: o };
3097
3123
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3098
3124
  var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3099
3125
  switch (a) {
3100
3126
  case "":
3101
- return this.error(_.EXPECT_ARGUMENT_TYPE, E(o, l));
3127
+ return this.error(_.EXPECT_ARGUMENT_TYPE, v(o, l));
3102
3128
  case "number":
3103
3129
  case "date":
3104
3130
  case "time": {
@@ -3109,46 +3135,46 @@ var ei = (
3109
3135
  var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3110
3136
  if (f.err)
3111
3137
  return f;
3112
- var c = Kn(f.val);
3138
+ var c = Qn(f.val);
3113
3139
  if (c.length === 0)
3114
- return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3115
- var y = E(h, this.clonePosition());
3140
+ return this.error(_.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3141
+ var y = v(h, this.clonePosition());
3116
3142
  u = { style: c, styleLocation: y };
3117
3143
  }
3118
3144
  var m = this.tryParseArgumentClose(i);
3119
3145
  if (m.err)
3120
3146
  return m;
3121
- var b = E(i, this.clonePosition());
3122
- if (u && vt(u == null ? void 0 : u.style, "::", 0)) {
3123
- var p = Yn(u.style.slice(2));
3147
+ var g = v(i, this.clonePosition());
3148
+ if (u && _t(u == null ? void 0 : u.style, "::", 0)) {
3149
+ var p = qn(u.style.slice(2));
3124
3150
  if (a === "number") {
3125
3151
  var f = this.parseNumberSkeletonFromString(p, u.styleLocation);
3126
3152
  return f.err ? f : {
3127
- val: { type: x.number, value: n, location: b, style: f.val },
3153
+ val: { type: T.number, value: n, location: g, style: f.val },
3128
3154
  err: null
3129
3155
  };
3130
3156
  } else {
3131
3157
  if (p.length === 0)
3132
- return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
3158
+ return this.error(_.EXPECT_DATE_TIME_SKELETON, g);
3133
3159
  var d = p;
3134
- this.locale && (d = Un(p, this.locale));
3160
+ this.locale && (d = Rn(p, this.locale));
3135
3161
  var c = {
3136
- type: q.dateTime,
3162
+ type: J.dateTime,
3137
3163
  pattern: d,
3138
3164
  location: u.styleLocation,
3139
- parsedOptions: this.shouldParseSkeletons ? In(d) : {}
3140
- }, v = a === "date" ? x.date : x.time;
3165
+ parsedOptions: this.shouldParseSkeletons ? On(d) : {}
3166
+ }, x = a === "date" ? T.date : T.time;
3141
3167
  return {
3142
- val: { type: v, value: n, location: b, style: c },
3168
+ val: { type: x, value: n, location: g, style: c },
3143
3169
  err: null
3144
3170
  };
3145
3171
  }
3146
3172
  }
3147
3173
  return {
3148
3174
  val: {
3149
- type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3175
+ type: a === "number" ? T.number : a === "date" ? T.date : T.time,
3150
3176
  value: n,
3151
- location: b,
3177
+ location: g,
3152
3178
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
3153
3179
  },
3154
3180
  err: null
@@ -3157,52 +3183,52 @@ var ei = (
3157
3183
  case "plural":
3158
3184
  case "selectordinal":
3159
3185
  case "select": {
3160
- var g = this.clonePosition();
3186
+ var b = this.clonePosition();
3161
3187
  if (this.bumpSpace(), !this.bumpIf(","))
3162
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(g, Se({}, g)));
3188
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, v(b, E({}, b)));
3163
3189
  this.bumpSpace();
3164
3190
  var w = this.parseIdentifierIfPossible(), H = 0;
3165
3191
  if (a !== "select" && w.value === "offset") {
3166
3192
  if (!this.bumpIf(":"))
3167
- return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E(this.clonePosition(), this.clonePosition()));
3193
+ return this.error(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3168
3194
  this.bumpSpace();
3169
3195
  var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3170
3196
  if (f.err)
3171
3197
  return f;
3172
3198
  this.bumpSpace(), w = this.parseIdentifierIfPossible(), H = f.val;
3173
3199
  }
3174
- var F = this.tryParsePluralOrSelectOptions(t, a, r, w);
3175
- if (F.err)
3176
- return F;
3200
+ var k = this.tryParsePluralOrSelectOptions(t, a, r, w);
3201
+ if (k.err)
3202
+ return k;
3177
3203
  var m = this.tryParseArgumentClose(i);
3178
3204
  if (m.err)
3179
3205
  return m;
3180
- var at = E(i, this.clonePosition());
3206
+ var st = v(i, this.clonePosition());
3181
3207
  return a === "select" ? {
3182
3208
  val: {
3183
- type: x.select,
3209
+ type: T.select,
3184
3210
  value: n,
3185
- options: xt(F.val),
3186
- location: at
3211
+ options: vt(k.val),
3212
+ location: st
3187
3213
  },
3188
3214
  err: null
3189
3215
  } : {
3190
3216
  val: {
3191
- type: x.plural,
3217
+ type: T.plural,
3192
3218
  value: n,
3193
- options: xt(F.val),
3219
+ options: vt(k.val),
3194
3220
  offset: H,
3195
3221
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3196
- location: at
3222
+ location: st
3197
3223
  },
3198
3224
  err: null
3199
3225
  };
3200
3226
  }
3201
3227
  default:
3202
- return this.error(_.INVALID_ARGUMENT_TYPE, E(o, l));
3228
+ return this.error(_.INVALID_ARGUMENT_TYPE, v(o, l));
3203
3229
  }
3204
3230
  }, e.prototype.tryParseArgumentClose = function(t) {
3205
- return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3231
+ return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3206
3232
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3207
3233
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3208
3234
  var n = this.char();
@@ -3211,7 +3237,7 @@ var ei = (
3211
3237
  this.bump();
3212
3238
  var i = this.clonePosition();
3213
3239
  if (!this.bumpUntil("'"))
3214
- return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, E(i, this.clonePosition()));
3240
+ return this.error(_.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3215
3241
  this.bump();
3216
3242
  break;
3217
3243
  }
@@ -3241,16 +3267,16 @@ var ei = (
3241
3267
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3242
3268
  var n = [];
3243
3269
  try {
3244
- n = Mn(t);
3270
+ n = In(t);
3245
3271
  } catch (i) {
3246
3272
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3247
3273
  }
3248
3274
  return {
3249
3275
  val: {
3250
- type: q.number,
3276
+ type: J.number,
3251
3277
  tokens: n,
3252
3278
  location: r,
3253
- parsedOptions: this.shouldParseSkeletons ? Dn(n) : {}
3279
+ parsedOptions: this.shouldParseSkeletons ? $n(n) : {}
3254
3280
  },
3255
3281
  err: null
3256
3282
  };
@@ -3262,7 +3288,7 @@ var ei = (
3262
3288
  var c = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3263
3289
  if (c.err)
3264
3290
  return c;
3265
- h = E(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3291
+ h = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3266
3292
  } else
3267
3293
  break;
3268
3294
  }
@@ -3271,22 +3297,22 @@ var ei = (
3271
3297
  u === "other" && (o = !0), this.bumpSpace();
3272
3298
  var y = this.clonePosition();
3273
3299
  if (!this.bumpIf("{"))
3274
- return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3300
+ return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3275
3301
  var m = this.parseMessage(t + 1, r, n);
3276
3302
  if (m.err)
3277
3303
  return m;
3278
- var b = this.tryParseArgumentClose(y);
3279
- if (b.err)
3280
- return b;
3304
+ var g = this.tryParseArgumentClose(y);
3305
+ if (g.err)
3306
+ return g;
3281
3307
  a.push([
3282
3308
  u,
3283
3309
  {
3284
3310
  value: m.val,
3285
- location: E(y, this.clonePosition())
3311
+ location: v(y, this.clonePosition())
3286
3312
  }
3287
3313
  ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
3288
3314
  }
3289
- return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3315
+ return a.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(_.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3290
3316
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3291
3317
  var n = 1, i = this.clonePosition();
3292
3318
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3297,8 +3323,8 @@ var ei = (
3297
3323
  else
3298
3324
  break;
3299
3325
  }
3300
- var l = E(i, this.clonePosition());
3301
- return s ? (o *= n, qn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3326
+ var l = v(i, this.clonePosition());
3327
+ return s ? (o *= n, Zn(o) ? { val: o, err: null } : this.error(r, l)) : this.error(t, l);
3302
3328
  }, e.prototype.offset = function() {
3303
3329
  return this.position.offset;
3304
3330
  }, e.prototype.isEOF = function() {
@@ -3313,7 +3339,7 @@ var ei = (
3313
3339
  var t = this.position.offset;
3314
3340
  if (t >= this.message.length)
3315
3341
  throw Error("out of bound");
3316
- var r = or(this.message, t);
3342
+ var r = ir(this.message, t);
3317
3343
  if (r === void 0)
3318
3344
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3319
3345
  return r;
@@ -3332,7 +3358,7 @@ var ei = (
3332
3358
  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);
3333
3359
  }
3334
3360
  }, e.prototype.bumpIf = function(t) {
3335
- if (vt(this.message, t, this.offset())) {
3361
+ if (_t(this.message, t, this.offset())) {
3336
3362
  for (var r = 0; r < t.length; r++)
3337
3363
  this.bump();
3338
3364
  return !0;
@@ -3354,7 +3380,7 @@ var ei = (
3354
3380
  break;
3355
3381
  }
3356
3382
  }, e.prototype.bumpSpace = function() {
3357
- for (; !this.isEOF() && ur(this.char()); )
3383
+ for (; !this.isEOF() && or(this.char()); )
3358
3384
  this.bump();
3359
3385
  }, e.prototype.peek = function() {
3360
3386
  if (this.isEOF())
@@ -3364,47 +3390,47 @@ var ei = (
3364
3390
  }, e;
3365
3391
  }()
3366
3392
  );
3367
- function Ke(e) {
3393
+ function Qe(e) {
3368
3394
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3369
3395
  }
3370
- function ti(e) {
3371
- return Ke(e) || e === 47;
3396
+ function Kn(e) {
3397
+ return Qe(e) || e === 47;
3372
3398
  }
3373
- function ri(e) {
3399
+ function ei(e) {
3374
3400
  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;
3375
3401
  }
3376
- function ur(e) {
3402
+ function or(e) {
3377
3403
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3378
3404
  }
3379
- function ni(e) {
3405
+ function ti(e) {
3380
3406
  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;
3381
3407
  }
3382
- function et(e) {
3408
+ function Ye(e) {
3383
3409
  e.forEach(function(t) {
3384
- if (delete t.location, Yt(t) || Kt(t))
3410
+ if (delete t.location, qt(t) || Qt(t))
3385
3411
  for (var r in t.options)
3386
- delete t.options[r].location, et(t.options[r].value);
3412
+ delete t.options[r].location, Ye(t.options[r].value);
3387
3413
  else
3388
- Jt(t) && tr(t.style) || (qt(t) || Qt(t)) && Je(t.style) ? delete t.style.location : er(t) && et(t.children);
3414
+ Wt(t) && Kt(t.style) || (Zt(t) || Jt(t)) && We(t.style) ? delete t.style.location : Yt(t) && Ye(t.children);
3389
3415
  });
3390
3416
  }
3391
- function ii(e, t) {
3392
- t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3393
- var r = new ei(e, t).parse();
3417
+ function ri(e, t) {
3418
+ t === void 0 && (t = {}), t = E({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3419
+ var r = new Yn(e, t).parse();
3394
3420
  if (r.err) {
3395
3421
  var n = SyntaxError(_[r.err.kind]);
3396
3422
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3397
3423
  }
3398
- return t != null && t.captureLocation || et(r.val), r.val;
3424
+ return t != null && t.captureLocation || Ye(r.val), r.val;
3399
3425
  }
3400
- var Q;
3426
+ var q;
3401
3427
  (function(e) {
3402
3428
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3403
- })(Q || (Q = {}));
3404
- var Ne = (
3429
+ })(q || (q = {}));
3430
+ var Ce = (
3405
3431
  /** @class */
3406
3432
  function(e) {
3407
- Ie(t, e);
3433
+ Oe(t, e);
3408
3434
  function t(r, n, i) {
3409
3435
  var s = e.call(this, r) || this;
3410
3436
  return s.code = n, s.originalMessage = i, s;
@@ -3413,48 +3439,48 @@ var Ne = (
3413
3439
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3414
3440
  }, t;
3415
3441
  }(Error)
3416
- ), wt = (
3442
+ ), xt = (
3417
3443
  /** @class */
3418
3444
  function(e) {
3419
- Ie(t, e);
3445
+ Oe(t, e);
3420
3446
  function t(r, n, i, s) {
3421
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Q.INVALID_VALUE, s) || this;
3447
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), q.INVALID_VALUE, s) || this;
3422
3448
  }
3423
3449
  return t;
3424
- }(Ne)
3425
- ), si = (
3450
+ }(Ce)
3451
+ ), ni = (
3426
3452
  /** @class */
3427
3453
  function(e) {
3428
- Ie(t, e);
3454
+ Oe(t, e);
3429
3455
  function t(r, n, i) {
3430
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Q.INVALID_VALUE, i) || this;
3456
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), q.INVALID_VALUE, i) || this;
3431
3457
  }
3432
3458
  return t;
3433
- }(Ne)
3434
- ), oi = (
3459
+ }(Ce)
3460
+ ), ii = (
3435
3461
  /** @class */
3436
3462
  function(e) {
3437
- Ie(t, e);
3463
+ Oe(t, e);
3438
3464
  function t(r, n) {
3439
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Q.MISSING_VALUE, n) || this;
3465
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), q.MISSING_VALUE, n) || this;
3440
3466
  }
3441
3467
  return t;
3442
- }(Ne)
3468
+ }(Ce)
3443
3469
  ), S;
3444
3470
  (function(e) {
3445
3471
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3446
3472
  })(S || (S = {}));
3447
- function ai(e) {
3473
+ function si(e) {
3448
3474
  return e.length < 2 ? e : e.reduce(function(t, r) {
3449
3475
  var n = t[t.length - 1];
3450
3476
  return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3451
3477
  }, []);
3452
3478
  }
3453
- function ui(e) {
3479
+ function oi(e) {
3454
3480
  return typeof e == "function";
3455
3481
  }
3456
3482
  function ve(e, t, r, n, i, s, o) {
3457
- if (e.length === 1 && bt(e[0]))
3483
+ if (e.length === 1 && pt(e[0]))
3458
3484
  return [
3459
3485
  {
3460
3486
  type: S.literal,
@@ -3463,14 +3489,14 @@ function ve(e, t, r, n, i, s, o) {
3463
3489
  ];
3464
3490
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3465
3491
  var h = u[l];
3466
- if (bt(h)) {
3492
+ if (pt(h)) {
3467
3493
  a.push({
3468
3494
  type: S.literal,
3469
3495
  value: h.value
3470
3496
  });
3471
3497
  continue;
3472
3498
  }
3473
- if (On(h)) {
3499
+ if (An(h)) {
3474
3500
  typeof s == "number" && a.push({
3475
3501
  type: S.literal,
3476
3502
  value: r.getNumberFormat(t).format(s)
@@ -3479,89 +3505,89 @@ function ve(e, t, r, n, i, s, o) {
3479
3505
  }
3480
3506
  var f = h.value;
3481
3507
  if (!(i && f in i))
3482
- throw new oi(f, o);
3508
+ throw new ii(f, o);
3483
3509
  var c = i[f];
3484
- if (Pn(h)) {
3510
+ if (Bn(h)) {
3485
3511
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3486
3512
  type: typeof c == "string" ? S.literal : S.object,
3487
3513
  value: c
3488
3514
  });
3489
3515
  continue;
3490
3516
  }
3491
- if (qt(h)) {
3492
- var y = typeof h.style == "string" ? n.date[h.style] : Je(h.style) ? h.style.parsedOptions : void 0;
3517
+ if (Zt(h)) {
3518
+ var y = typeof h.style == "string" ? n.date[h.style] : We(h.style) ? h.style.parsedOptions : void 0;
3493
3519
  a.push({
3494
3520
  type: S.literal,
3495
3521
  value: r.getDateTimeFormat(t, y).format(c)
3496
3522
  });
3497
3523
  continue;
3498
3524
  }
3499
- if (Qt(h)) {
3500
- var y = typeof h.style == "string" ? n.time[h.style] : Je(h.style) ? h.style.parsedOptions : n.time.medium;
3525
+ if (Jt(h)) {
3526
+ var y = typeof h.style == "string" ? n.time[h.style] : We(h.style) ? h.style.parsedOptions : n.time.medium;
3501
3527
  a.push({
3502
3528
  type: S.literal,
3503
3529
  value: r.getDateTimeFormat(t, y).format(c)
3504
3530
  });
3505
3531
  continue;
3506
3532
  }
3507
- if (Jt(h)) {
3508
- var y = typeof h.style == "string" ? n.number[h.style] : tr(h.style) ? h.style.parsedOptions : void 0;
3533
+ if (Wt(h)) {
3534
+ var y = typeof h.style == "string" ? n.number[h.style] : Kt(h.style) ? h.style.parsedOptions : void 0;
3509
3535
  y && y.scale && (c = c * (y.scale || 1)), a.push({
3510
3536
  type: S.literal,
3511
3537
  value: r.getNumberFormat(t, y).format(c)
3512
3538
  });
3513
3539
  continue;
3514
3540
  }
3515
- if (er(h)) {
3516
- var m = h.children, b = h.value, p = i[b];
3517
- if (!ui(p))
3518
- throw new si(b, "function", o);
3519
- var d = ve(m, t, r, n, i, s), v = p(d.map(function(H) {
3541
+ if (Yt(h)) {
3542
+ var m = h.children, g = h.value, p = i[g];
3543
+ if (!oi(p))
3544
+ throw new ni(g, "function", o);
3545
+ var d = ve(m, t, r, n, i, s), x = p(d.map(function(H) {
3520
3546
  return H.value;
3521
3547
  }));
3522
- Array.isArray(v) || (v = [v]), a.push.apply(a, v.map(function(H) {
3548
+ Array.isArray(x) || (x = [x]), a.push.apply(a, x.map(function(H) {
3523
3549
  return {
3524
3550
  type: typeof H == "string" ? S.literal : S.object,
3525
3551
  value: H
3526
3552
  };
3527
3553
  }));
3528
3554
  }
3529
- if (Yt(h)) {
3530
- var g = h.options[c] || h.options.other;
3531
- if (!g)
3532
- throw new wt(h.value, c, Object.keys(h.options), o);
3533
- a.push.apply(a, ve(g.value, t, r, n, i));
3555
+ if (qt(h)) {
3556
+ var b = h.options[c] || h.options.other;
3557
+ if (!b)
3558
+ throw new xt(h.value, c, Object.keys(h.options), o);
3559
+ a.push.apply(a, ve(b.value, t, r, n, i));
3534
3560
  continue;
3535
3561
  }
3536
- if (Kt(h)) {
3537
- var g = h.options["=".concat(c)];
3538
- if (!g) {
3562
+ if (Qt(h)) {
3563
+ var b = h.options["=".concat(c)];
3564
+ if (!b) {
3539
3565
  if (!Intl.PluralRules)
3540
- throw new Ne(`Intl.PluralRules is not available in this environment.
3566
+ throw new Ce(`Intl.PluralRules is not available in this environment.
3541
3567
  Try polyfilling it using "@formatjs/intl-pluralrules"
3542
- `, Q.MISSING_INTL_API, o);
3568
+ `, q.MISSING_INTL_API, o);
3543
3569
  var w = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3544
- g = h.options[w] || h.options.other;
3570
+ b = h.options[w] || h.options.other;
3545
3571
  }
3546
- if (!g)
3547
- throw new wt(h.value, c, Object.keys(h.options), o);
3548
- a.push.apply(a, ve(g.value, t, r, n, i, c - (h.offset || 0)));
3572
+ if (!b)
3573
+ throw new xt(h.value, c, Object.keys(h.options), o);
3574
+ a.push.apply(a, ve(b.value, t, r, n, i, c - (h.offset || 0)));
3549
3575
  continue;
3550
3576
  }
3551
3577
  }
3552
- return ai(a);
3578
+ return si(a);
3553
3579
  }
3554
- function li(e, t) {
3555
- return t ? C(C(C({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3556
- return r[n] = C(C({}, e[n]), t[n] || {}), r;
3580
+ function ai(e, t) {
3581
+ return t ? E(E(E({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3582
+ return r[n] = E(E({}, e[n]), t[n] || {}), r;
3557
3583
  }, {})) : e;
3558
3584
  }
3559
- function hi(e, t) {
3585
+ function ui(e, t) {
3560
3586
  return t ? Object.keys(e).reduce(function(r, n) {
3561
- return r[n] = li(e[n], t[n]), r;
3562
- }, C({}, e)) : e;
3587
+ return r[n] = ai(e[n], t[n]), r;
3588
+ }, E({}, e)) : e;
3563
3589
  }
3564
- function je(e) {
3590
+ function ke(e) {
3565
3591
  return {
3566
3592
  create: function() {
3567
3593
  return {
@@ -3575,39 +3601,39 @@ function je(e) {
3575
3601
  }
3576
3602
  };
3577
3603
  }
3578
- function ci(e) {
3604
+ function li(e) {
3579
3605
  return e === void 0 && (e = {
3580
3606
  number: {},
3581
3607
  dateTime: {},
3582
3608
  pluralRules: {}
3583
3609
  }), {
3584
- getNumberFormat: Ge(function() {
3610
+ getNumberFormat: De(function() {
3585
3611
  for (var t, r = [], n = 0; n < arguments.length; n++)
3586
3612
  r[n] = arguments[n];
3587
- return new ((t = Intl.NumberFormat).bind.apply(t, Ue([void 0], r, !1)))();
3613
+ return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
3588
3614
  }, {
3589
- cache: je(e.number),
3590
- strategy: ke.variadic
3615
+ cache: ke(e.number),
3616
+ strategy: Ue.variadic
3591
3617
  }),
3592
- getDateTimeFormat: Ge(function() {
3618
+ getDateTimeFormat: De(function() {
3593
3619
  for (var t, r = [], n = 0; n < arguments.length; n++)
3594
3620
  r[n] = arguments[n];
3595
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ue([void 0], r, !1)))();
3621
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
3596
3622
  }, {
3597
- cache: je(e.dateTime),
3598
- strategy: ke.variadic
3623
+ cache: ke(e.dateTime),
3624
+ strategy: Ue.variadic
3599
3625
  }),
3600
- getPluralRules: Ge(function() {
3626
+ getPluralRules: De(function() {
3601
3627
  for (var t, r = [], n = 0; n < arguments.length; n++)
3602
3628
  r[n] = arguments[n];
3603
- return new ((t = Intl.PluralRules).bind.apply(t, Ue([void 0], r, !1)))();
3629
+ return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
3604
3630
  }, {
3605
- cache: je(e.pluralRules),
3606
- strategy: ke.variadic
3631
+ cache: ke(e.pluralRules),
3632
+ strategy: Ue.variadic
3607
3633
  })
3608
3634
  };
3609
3635
  }
3610
- var lr = (
3636
+ var ar = (
3611
3637
  /** @class */
3612
3638
  function() {
3613
3639
  function e(t, r, n, i) {
@@ -3639,13 +3665,13 @@ var lr = (
3639
3665
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3640
3666
  var o = i || {};
3641
3667
  o.formatters;
3642
- var a = vn(o, ["formatters"]);
3643
- this.ast = e.__parse(t, C(C({}, a), { locale: this.resolvedLocale }));
3668
+ var a = _n(o, ["formatters"]);
3669
+ this.ast = e.__parse(t, E(E({}, a), { locale: this.resolvedLocale }));
3644
3670
  } else
3645
3671
  this.ast = t;
3646
3672
  if (!Array.isArray(this.ast))
3647
3673
  throw new TypeError("A message must be provided as a String or AST.");
3648
- this.formats = hi(e.formats, n), this.formatters = i && i.formatters || ci(this.formatterCache);
3674
+ this.formats = ui(e.formats, n), this.formatters = i && i.formatters || li(this.formatterCache);
3649
3675
  }
3650
3676
  return Object.defineProperty(e, "defaultLocale", {
3651
3677
  get: function() {
@@ -3658,7 +3684,7 @@ var lr = (
3658
3684
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3659
3685
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3660
3686
  }
3661
- }, e.__parse = ii, e.formats = {
3687
+ }, e.__parse = ri, e.formats = {
3662
3688
  number: {
3663
3689
  integer: {
3664
3690
  maximumFractionDigits: 0
@@ -3719,7 +3745,7 @@ var lr = (
3719
3745
  }, e;
3720
3746
  }()
3721
3747
  );
3722
- function fi(e, t) {
3748
+ function hi(e, t) {
3723
3749
  if (t == null)
3724
3750
  return;
3725
3751
  if (t in e)
@@ -3740,101 +3766,101 @@ function fi(e, t) {
3740
3766
  n = void 0;
3741
3767
  return n;
3742
3768
  }
3743
- const $ = {}, mi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), hr = (e, t) => {
3769
+ const L = {}, ci = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), ur = (e, t) => {
3744
3770
  if (t == null)
3745
3771
  return;
3746
- if (t in $ && e in $[t])
3747
- return $[t][e];
3748
- const r = he(t);
3772
+ if (t in L && e in L[t])
3773
+ return L[t][e];
3774
+ const r = le(t);
3749
3775
  for (let n = 0; n < r.length; n++) {
3750
- const i = r[n], s = pi(i, e);
3776
+ const i = r[n], s = mi(i, e);
3751
3777
  if (s)
3752
- return mi(e, t, s);
3778
+ return ci(e, t, s);
3753
3779
  }
3754
3780
  };
3755
- let st;
3756
- const le = Ce({});
3757
- function di(e) {
3758
- return st[e] || null;
3781
+ let nt;
3782
+ const ue = Pe({});
3783
+ function fi(e) {
3784
+ return nt[e] || null;
3759
3785
  }
3760
- function cr(e) {
3761
- return e in st;
3786
+ function lr(e) {
3787
+ return e in nt;
3762
3788
  }
3763
- function pi(e, t) {
3764
- if (!cr(e))
3789
+ function mi(e, t) {
3790
+ if (!lr(e))
3765
3791
  return null;
3766
- const r = di(e);
3767
- return fi(r, t);
3792
+ const r = fi(e);
3793
+ return hi(r, t);
3768
3794
  }
3769
- function gi(e) {
3795
+ function di(e) {
3770
3796
  if (e == null)
3771
3797
  return;
3772
- const t = he(e);
3798
+ const t = le(e);
3773
3799
  for (let r = 0; r < t.length; r++) {
3774
3800
  const n = t[r];
3775
- if (cr(n))
3801
+ if (lr(n))
3776
3802
  return n;
3777
3803
  }
3778
3804
  }
3779
- function fr(e, ...t) {
3780
- delete $[e], le.update((r) => (r[e] = En.all([r[e] || {}, ...t]), r));
3805
+ function hr(e, ...t) {
3806
+ delete L[e], ue.update((r) => (r[e] = yn.all([r[e] || {}, ...t]), r));
3781
3807
  }
3782
- K(
3783
- [le],
3808
+ Y(
3809
+ [ue],
3784
3810
  ([e]) => Object.keys(e)
3785
3811
  );
3786
- le.subscribe((e) => st = e);
3787
- const xe = {};
3788
- function bi(e, t) {
3789
- xe[e].delete(t), xe[e].size === 0 && delete xe[e];
3812
+ ue.subscribe((e) => nt = e);
3813
+ const Ee = {};
3814
+ function pi(e, t) {
3815
+ Ee[e].delete(t), Ee[e].size === 0 && delete Ee[e];
3790
3816
  }
3791
- function mr(e) {
3792
- return xe[e];
3817
+ function cr(e) {
3818
+ return Ee[e];
3793
3819
  }
3794
- function yi(e) {
3795
- return he(e).map((t) => {
3796
- const r = mr(t);
3820
+ function bi(e) {
3821
+ return le(e).map((t) => {
3822
+ const r = cr(t);
3797
3823
  return [t, r ? [...r] : []];
3798
3824
  }).filter(([, t]) => t.length > 0);
3799
3825
  }
3800
- function Be(e) {
3801
- return e == null ? !1 : he(e).some(
3826
+ function He(e) {
3827
+ return e == null ? !1 : le(e).some(
3802
3828
  (t) => {
3803
3829
  var r;
3804
- return (r = mr(t)) == null ? void 0 : r.size;
3830
+ return (r = cr(t)) == null ? void 0 : r.size;
3805
3831
  }
3806
3832
  );
3807
3833
  }
3808
- function _i(e, t) {
3834
+ function gi(e, t) {
3809
3835
  return Promise.all(
3810
- t.map((n) => (bi(e, n), n().then((i) => i.default || i)))
3811
- ).then((n) => fr(e, ...n));
3812
- }
3813
- const re = {};
3814
- function dr(e) {
3815
- if (!Be(e))
3816
- return e in re ? re[e] : Promise.resolve();
3817
- const t = yi(e);
3818
- return re[e] = Promise.all(
3836
+ t.map((n) => (pi(e, n), n().then((i) => i.default || i)))
3837
+ ).then((n) => hr(e, ...n));
3838
+ }
3839
+ const te = {};
3840
+ function fr(e) {
3841
+ if (!He(e))
3842
+ return e in te ? te[e] : Promise.resolve();
3843
+ const t = bi(e);
3844
+ return te[e] = Promise.all(
3819
3845
  t.map(
3820
- ([r, n]) => _i(r, n)
3846
+ ([r, n]) => gi(r, n)
3821
3847
  )
3822
3848
  ).then(() => {
3823
- if (Be(e))
3824
- return dr(e);
3825
- delete re[e];
3826
- }), re[e];
3849
+ if (He(e))
3850
+ return fr(e);
3851
+ delete te[e];
3852
+ }), te[e];
3827
3853
  }
3828
- var Ht = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, vi = Object.prototype.propertyIsEnumerable, xi = (e, t) => {
3854
+ var Tt = Object.getOwnPropertySymbols, yi = Object.prototype.hasOwnProperty, _i = Object.prototype.propertyIsEnumerable, vi = (e, t) => {
3829
3855
  var r = {};
3830
3856
  for (var n in e)
3831
- Ei.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3832
- if (e != null && Ht)
3833
- for (var n of Ht(e))
3834
- t.indexOf(n) < 0 && vi.call(e, n) && (r[n] = e[n]);
3857
+ yi.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3858
+ if (e != null && Tt)
3859
+ for (var n of Tt(e))
3860
+ t.indexOf(n) < 0 && _i.call(e, n) && (r[n] = e[n]);
3835
3861
  return r;
3836
3862
  };
3837
- const Ti = {
3863
+ const Ei = {
3838
3864
  number: {
3839
3865
  scientific: { notation: "scientific" },
3840
3866
  engineering: { notation: "engineering" },
@@ -3864,174 +3890,174 @@ const Ti = {
3864
3890
  }
3865
3891
  }
3866
3892
  };
3867
- function wi({ locale: e, id: t }) {
3893
+ function xi({ locale: e, id: t }) {
3868
3894
  console.warn(
3869
- `[svelte-i18n] The message "${t}" was not found in "${he(
3895
+ `[svelte-i18n] The message "${t}" was not found in "${le(
3870
3896
  e
3871
- ).join('", "')}".${Be(R()) ? `
3897
+ ).join('", "')}".${He($()) ? `
3872
3898
 
3873
3899
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3874
3900
  );
3875
3901
  }
3876
- const Hi = {
3902
+ const Ti = {
3877
3903
  fallbackLocale: null,
3878
3904
  loadingDelay: 200,
3879
- formats: Ti,
3905
+ formats: Ei,
3880
3906
  warnOnMissingMessages: !0,
3881
3907
  handleMissingMessage: void 0,
3882
3908
  ignoreTag: !0
3883
- }, ne = Hi;
3884
- function Y() {
3885
- return ne;
3909
+ }, re = Ti;
3910
+ function Q() {
3911
+ return re;
3886
3912
  }
3887
- function Si(e) {
3888
- const t = e, { formats: r } = t, n = xi(t, ["formats"]);
3913
+ function wi(e) {
3914
+ const t = e, { formats: r } = t, n = vi(t, ["formats"]);
3889
3915
  let i = e.fallbackLocale;
3890
3916
  if (e.initialLocale)
3891
3917
  try {
3892
- lr.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3918
+ ar.resolveLocale(e.initialLocale) && (i = e.initialLocale);
3893
3919
  } catch (s) {
3894
3920
  console.warn(
3895
3921
  `[svelte-i18n] The initial locale "${e.initialLocale}" is not a valid locale.`
3896
3922
  );
3897
3923
  }
3898
- return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = wi : console.warn(
3924
+ return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = xi : console.warn(
3899
3925
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3900
- )), Object.assign(ne, n, { initialLocale: i }), r && ("number" in r && Object.assign(ne.formats.number, r.number), "date" in r && Object.assign(ne.formats.date, r.date), "time" in r && Object.assign(ne.formats.time, r.time)), k.set(i);
3926
+ )), Object.assign(re, n, { initialLocale: i }), r && ("number" in r && Object.assign(re.formats.number, r.number), "date" in r && Object.assign(re.formats.date, r.date), "time" in r && Object.assign(re.formats.time, r.time)), G.set(i);
3901
3927
  }
3902
- const ze = Ce(!1);
3903
- var Bi = Object.defineProperty, Ai = Object.defineProperties, Pi = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Oi = Object.prototype.hasOwnProperty, Ci = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ii = (e, t) => {
3928
+ const Fe = Pe(!1);
3929
+ var Hi = Object.defineProperty, Si = Object.defineProperties, Bi = Object.getOwnPropertyDescriptors, wt = Object.getOwnPropertySymbols, Ai = Object.prototype.hasOwnProperty, Pi = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? Hi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Oi = (e, t) => {
3904
3930
  for (var r in t || (t = {}))
3905
- Oi.call(t, r) && Bt(e, r, t[r]);
3906
- if (St)
3907
- for (var r of St(t))
3908
- Ci.call(t, r) && Bt(e, r, t[r]);
3931
+ Ai.call(t, r) && Ht(e, r, t[r]);
3932
+ if (wt)
3933
+ for (var r of wt(t))
3934
+ Pi.call(t, r) && Ht(e, r, t[r]);
3909
3935
  return e;
3910
- }, Ni = (e, t) => Ai(e, Pi(t));
3911
- let tt;
3912
- const Ae = Ce(null);
3913
- function At(e) {
3936
+ }, Ci = (e, t) => Si(e, Bi(t));
3937
+ let Ke;
3938
+ const Se = Pe(null);
3939
+ function St(e) {
3914
3940
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3915
3941
  }
3916
- function he(e, t = Y().fallbackLocale) {
3917
- const r = At(e);
3918
- return t ? [.../* @__PURE__ */ new Set([...r, ...At(t)])] : r;
3942
+ function le(e, t = Q().fallbackLocale) {
3943
+ const r = St(e);
3944
+ return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
3919
3945
  }
3920
- function R() {
3921
- return tt != null ? tt : void 0;
3946
+ function $() {
3947
+ return Ke != null ? Ke : void 0;
3922
3948
  }
3923
- Ae.subscribe((e) => {
3924
- tt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3949
+ Se.subscribe((e) => {
3950
+ Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3925
3951
  });
3926
- const Mi = (e) => {
3927
- if (e && gi(e) && Be(e)) {
3928
- const { loadingDelay: t } = Y();
3952
+ const Ii = (e) => {
3953
+ if (e && di(e) && He(e)) {
3954
+ const { loadingDelay: t } = Q();
3929
3955
  let r;
3930
- return typeof window != "undefined" && R() != null && t ? r = window.setTimeout(
3931
- () => ze.set(!0),
3956
+ return typeof window != "undefined" && $() != null && t ? r = window.setTimeout(
3957
+ () => Fe.set(!0),
3932
3958
  t
3933
- ) : ze.set(!0), dr(e).then(() => {
3934
- Ae.set(e);
3959
+ ) : Fe.set(!0), fr(e).then(() => {
3960
+ Se.set(e);
3935
3961
  }).finally(() => {
3936
- clearTimeout(r), ze.set(!1);
3962
+ clearTimeout(r), Fe.set(!1);
3937
3963
  });
3938
3964
  }
3939
- return Ae.set(e);
3940
- }, k = Ni(Ii({}, Ae), {
3941
- set: Mi
3942
- }), Me = (e) => {
3965
+ return Se.set(e);
3966
+ }, G = Ci(Oi({}, Se), {
3967
+ set: Ii
3968
+ }), Ie = (e) => {
3943
3969
  const t = /* @__PURE__ */ Object.create(null);
3944
3970
  return (n) => {
3945
3971
  const i = JSON.stringify(n);
3946
3972
  return i in t ? t[i] : t[i] = e(n);
3947
3973
  };
3948
3974
  };
3949
- var Li = Object.defineProperty, Pe = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Pt = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ot = (e, t) => {
3975
+ var Ni = Object.defineProperty, Be = Object.getOwnPropertySymbols, mr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ni(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
3950
3976
  for (var r in t || (t = {}))
3951
- pr.call(t, r) && Pt(e, r, t[r]);
3952
- if (Pe)
3953
- for (var r of Pe(t))
3954
- gr.call(t, r) && Pt(e, r, t[r]);
3977
+ mr.call(t, r) && Bt(e, r, t[r]);
3978
+ if (Be)
3979
+ for (var r of Be(t))
3980
+ dr.call(t, r) && Bt(e, r, t[r]);
3955
3981
  return e;
3956
- }, ee = (e, t) => {
3982
+ }, K = (e, t) => {
3957
3983
  var r = {};
3958
3984
  for (var n in e)
3959
- pr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3960
- if (e != null && Pe)
3961
- for (var n of Pe(e))
3962
- t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
3985
+ mr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3986
+ if (e != null && Be)
3987
+ for (var n of Be(e))
3988
+ t.indexOf(n) < 0 && dr.call(e, n) && (r[n] = e[n]);
3963
3989
  return r;
3964
3990
  };
3965
- const ae = (e, t) => {
3966
- const { formats: r } = Y();
3991
+ const oe = (e, t) => {
3992
+ const { formats: r } = Q();
3967
3993
  if (e in r && t in r[e])
3968
3994
  return r[e][t];
3969
3995
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3970
- }, $i = Me(
3996
+ }, Mi = Ie(
3971
3997
  (e) => {
3972
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
3998
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
3973
3999
  if (r == null)
3974
4000
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3975
- return n && (i = ae("number", n)), new Intl.NumberFormat(r, i);
4001
+ return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
3976
4002
  }
3977
- ), Ri = Me(
4003
+ ), Li = Ie(
3978
4004
  (e) => {
3979
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4005
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
3980
4006
  if (r == null)
3981
4007
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3982
- return n ? i = ae("date", n) : Object.keys(i).length === 0 && (i = ae("date", "short")), new Intl.DateTimeFormat(r, i);
4008
+ return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
3983
4009
  }
3984
- ), Di = Me(
4010
+ ), $i = Ie(
3985
4011
  (e) => {
3986
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4012
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
3987
4013
  if (r == null)
3988
4014
  throw new Error(
3989
4015
  '[svelte-i18n] A "locale" must be set to format time values'
3990
4016
  );
3991
- return n ? i = ae("time", n) : Object.keys(i).length === 0 && (i = ae("time", "short")), new Intl.DateTimeFormat(r, i);
4017
+ return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
3992
4018
  }
3993
- ), Ui = (e = {}) => {
4019
+ ), Ri = (e = {}) => {
3994
4020
  var t = e, {
3995
- locale: r = R()
3996
- } = t, n = ee(t, [
4021
+ locale: r = $()
4022
+ } = t, n = K(t, [
3997
4023
  "locale"
3998
4024
  ]);
3999
- return $i(ot({ locale: r }, n));
4000
- }, Gi = (e = {}) => {
4025
+ return Mi(it({ locale: r }, n));
4026
+ }, Di = (e = {}) => {
4001
4027
  var t = e, {
4002
- locale: r = R()
4003
- } = t, n = ee(t, [
4028
+ locale: r = $()
4029
+ } = t, n = K(t, [
4004
4030
  "locale"
4005
4031
  ]);
4006
- return Ri(ot({ locale: r }, n));
4007
- }, ki = (e = {}) => {
4032
+ return Li(it({ locale: r }, n));
4033
+ }, Ui = (e = {}) => {
4008
4034
  var t = e, {
4009
- locale: r = R()
4010
- } = t, n = ee(t, [
4035
+ locale: r = $()
4036
+ } = t, n = K(t, [
4011
4037
  "locale"
4012
4038
  ]);
4013
- return Di(ot({ locale: r }, n));
4014
- }, Fi = Me(
4039
+ return $i(it({ locale: r }, n));
4040
+ }, Gi = Ie(
4015
4041
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4016
- (e, t = R()) => new lr(e, t, Y().formats, {
4017
- ignoreTag: Y().ignoreTag
4042
+ (e, t = $()) => new ar(e, t, Q().formats, {
4043
+ ignoreTag: Q().ignoreTag
4018
4044
  })
4019
- ), ji = (e, t = {}) => {
4045
+ ), ki = (e, t = {}) => {
4020
4046
  var r, n, i, s;
4021
4047
  let o = t;
4022
4048
  typeof e == "object" && (o = e, e = o.id);
4023
4049
  const {
4024
4050
  values: a,
4025
- locale: l = R(),
4051
+ locale: l = $(),
4026
4052
  default: u
4027
4053
  } = o;
4028
4054
  if (l == null)
4029
4055
  throw new Error(
4030
4056
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4031
4057
  );
4032
- let h = hr(e, l);
4058
+ let h = ur(e, l);
4033
4059
  if (!h)
4034
- h = (s = (i = (n = (r = Y()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4060
+ h = (s = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
4035
4061
  else if (typeof h != "string")
4036
4062
  return console.warn(
4037
4063
  `[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.`
@@ -4040,7 +4066,7 @@ const ae = (e, t) => {
4040
4066
  return h;
4041
4067
  let f = h;
4042
4068
  try {
4043
- f = Fi(h, l).format(a);
4069
+ f = Gi(h, l).format(a);
4044
4070
  } catch (c) {
4045
4071
  c instanceof Error && console.warn(
4046
4072
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4048,18 +4074,18 @@ const ae = (e, t) => {
4048
4074
  );
4049
4075
  }
4050
4076
  return f;
4051
- }, zi = (e, t) => ki(t).format(e), Vi = (e, t) => Gi(t).format(e), Xi = (e, t) => Ui(t).format(e), Wi = (e, t = R()) => hr(e, t), Zi = K([k, le], () => ji);
4052
- K([k], () => zi);
4053
- K([k], () => Vi);
4054
- K([k], () => Xi);
4055
- K([k, le], () => Wi);
4056
- function Ji(e, t) {
4077
+ }, Fi = (e, t) => Ui(t).format(e), ji = (e, t) => Di(t).format(e), zi = (e, t) => Ri(t).format(e), Vi = (e, t = $()) => ur(e, t), Xi = Y([G, ue], () => ki);
4078
+ Y([G], () => Fi);
4079
+ Y([G], () => ji);
4080
+ Y([G], () => zi);
4081
+ Y([G, ue], () => Vi);
4082
+ function Wi(e, t) {
4057
4083
  if (e) {
4058
4084
  const r = document.createElement("style");
4059
4085
  r.innerHTML = t, e.appendChild(r);
4060
4086
  }
4061
4087
  }
4062
- function qi(e, t) {
4088
+ function Zi(e, t) {
4063
4089
  const r = new URL(t);
4064
4090
  fetch(r.href).then((n) => n.text()).then((n) => {
4065
4091
  const i = document.createElement("style");
@@ -4068,7 +4094,7 @@ function qi(e, t) {
4068
4094
  console.error("There was an error while trying to load client styling from URL", n);
4069
4095
  });
4070
4096
  }
4071
- function Qi(e, t, r) {
4097
+ function Ji(e, t, r) {
4072
4098
  if (window.emMessageBus) {
4073
4099
  const n = document.createElement("style");
4074
4100
  window.emMessageBus.subscribe(t, (i) => {
@@ -4076,15 +4102,15 @@ function Qi(e, t, r) {
4076
4102
  });
4077
4103
  }
4078
4104
  }
4079
- function Ot(e, t) {
4080
- fr(e, t);
4105
+ function At(e, t) {
4106
+ hr(e, t);
4081
4107
  }
4082
- function Yi(e) {
4083
- Si({
4108
+ function qi(e) {
4109
+ wi({
4084
4110
  fallbackLocale: "en"
4085
- }), k.set(e);
4111
+ }), G.set(e);
4086
4112
  }
4087
- const Ct = {
4113
+ const Pt = {
4088
4114
  en: {
4089
4115
  errorGeneralTitle: "Error Occurred",
4090
4116
  errorGeneralText: "Something went wrong",
@@ -4138,74 +4164,74 @@ const Ct = {
4138
4164
  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."
4139
4165
  }
4140
4166
  };
4141
- function Ki(e) {
4142
- Pr(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}");
4167
+ function Qi(e) {
4168
+ Br(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}");
4143
4169
  }
4144
- const es = (e) => ({}), It = (e) => ({}), ts = (e) => ({}), Nt = (e) => ({}), rs = (e) => ({}), Mt = (e) => ({}), ns = (e) => ({}), Lt = (e) => ({ class: "CashierErrorIcon" });
4145
- function $t(e) {
4170
+ const Yi = (e) => ({}), Ot = (e) => ({}), Ki = (e) => ({}), Ct = (e) => ({}), es = (e) => ({}), It = (e) => ({}), ts = (e) => ({}), Nt = (e) => ({ class: "CashierErrorIcon" });
4171
+ function Mt(e) {
4146
4172
  let t, r;
4147
4173
  return {
4148
4174
  c() {
4149
- t = P("ui-image"), mt(t.src, r = `${/*assetsurl*/
4150
- e[0]}/error-general-icon.png`) || fe(t, "src", r), fe(t, "width", "300px"), fe(t, "alt", "error");
4175
+ t = P("ui-image"), ct(t.src, r = `${/*assetsurl*/
4176
+ e[0]}/error-general-icon.png`) || ce(t, "src", r), ce(t, "width", "300px"), ce(t, "alt", "error");
4151
4177
  },
4152
4178
  m(n, i) {
4153
- G(n, t, i);
4179
+ U(n, t, i);
4154
4180
  },
4155
4181
  p(n, i) {
4156
4182
  i & /*assetsurl*/
4157
- 1 && !mt(t.src, r = `${/*assetsurl*/
4158
- n[0]}/error-general-icon.png`) && fe(t, "src", r);
4183
+ 1 && !ct(t.src, r = `${/*assetsurl*/
4184
+ n[0]}/error-general-icon.png`) && ce(t, "src", r);
4159
4185
  },
4160
4186
  d(n) {
4161
- n && N(t);
4187
+ n && I(t);
4162
4188
  }
4163
4189
  };
4164
4190
  }
4165
- function is(e) {
4191
+ function rs(e) {
4166
4192
  let t, r = (
4167
4193
  /*assetsurl*/
4168
- e[0] && $t(e)
4194
+ e[0] && Mt(e)
4169
4195
  );
4170
4196
  return {
4171
4197
  c() {
4172
- r && r.c(), t = Cr();
4198
+ r && r.c(), t = Pr();
4173
4199
  },
4174
4200
  m(n, i) {
4175
- r && r.m(n, i), G(n, t, i);
4201
+ r && r.m(n, i), U(n, t, i);
4176
4202
  },
4177
4203
  p(n, i) {
4178
4204
  /*assetsurl*/
4179
- n[0] ? r ? r.p(n, i) : (r = $t(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4205
+ n[0] ? r ? r.p(n, i) : (r = Mt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4180
4206
  },
4181
4207
  d(n) {
4182
- n && N(t), r && r.d(n);
4208
+ n && I(t), r && r.d(n);
4183
4209
  }
4184
4210
  };
4185
4211
  }
4186
- function ss(e) {
4212
+ function ns(e) {
4187
4213
  let t, r = (
4188
4214
  /*$_*/
4189
4215
  e[4]("errorGeneralTitle") + ""
4190
4216
  ), n;
4191
4217
  return {
4192
4218
  c() {
4193
- t = P("span"), n = ue(r), D(t, "class", "CashierErrorTitle");
4219
+ t = P("span"), n = ae(r), R(t, "class", "CashierErrorTitle");
4194
4220
  },
4195
4221
  m(i, s) {
4196
- G(i, t, s), I(t, n);
4222
+ U(i, t, s), C(t, n);
4197
4223
  },
4198
4224
  p(i, s) {
4199
4225
  s & /*$_*/
4200
4226
  16 && r !== (r = /*$_*/
4201
- i[4]("errorGeneralTitle") + "") && it(n, r);
4227
+ i[4]("errorGeneralTitle") + "") && rt(n, r);
4202
4228
  },
4203
4229
  d(i) {
4204
- i && N(t);
4230
+ i && I(t);
4205
4231
  }
4206
4232
  };
4207
4233
  }
4208
- function os(e) {
4234
+ function is(e) {
4209
4235
  let t, r = (
4210
4236
  /*$_*/
4211
4237
  e[4](`${/*errorcode*/
@@ -4213,34 +4239,34 @@ function os(e) {
4213
4239
  ), n;
4214
4240
  return {
4215
4241
  c() {
4216
- t = P("span"), n = ue(r), D(t, "class", "CashierErrorText");
4242
+ t = P("span"), n = ae(r), R(t, "class", "CashierErrorText");
4217
4243
  },
4218
4244
  m(i, s) {
4219
- G(i, t, s), I(t, n);
4245
+ U(i, t, s), C(t, n);
4220
4246
  },
4221
4247
  p(i, s) {
4222
4248
  s & /*$_, errorcode*/
4223
4249
  20 && r !== (r = /*$_*/
4224
4250
  i[4](`${/*errorcode*/
4225
- i[2] || "errorGeneralText"}`) + "") && it(n, r);
4251
+ i[2] || "errorGeneralText"}`) + "") && rt(n, r);
4226
4252
  },
4227
4253
  d(i) {
4228
- i && N(t);
4254
+ i && I(t);
4229
4255
  }
4230
4256
  };
4231
4257
  }
4232
- function Rt(e) {
4258
+ function Lt(e) {
4233
4259
  let t;
4234
4260
  const r = (
4235
4261
  /*#slots*/
4236
4262
  e[12].button
4237
- ), n = pe(
4263
+ ), n = de(
4238
4264
  r,
4239
4265
  e,
4240
4266
  /*$$scope*/
4241
4267
  e[11],
4242
- It
4243
- ), i = n || as(e);
4268
+ Ot
4269
+ ), i = n || ss(e);
4244
4270
  return {
4245
4271
  c() {
4246
4272
  i && i.c();
@@ -4256,42 +4282,42 @@ function Rt(e) {
4256
4282
  s,
4257
4283
  /*$$scope*/
4258
4284
  s[11],
4259
- t ? ge(
4285
+ t ? pe(
4260
4286
  r,
4261
4287
  /*$$scope*/
4262
4288
  s[11],
4263
4289
  o,
4264
- es
4265
- ) : ye(
4290
+ Yi
4291
+ ) : ge(
4266
4292
  /*$$scope*/
4267
4293
  s[11]
4268
4294
  ),
4269
- It
4295
+ Ot
4270
4296
  ) : i && i.p && (!t || o & /*$_*/
4271
4297
  16) && i.p(s, t ? o : -1);
4272
4298
  },
4273
4299
  i(s) {
4274
- t || (L(i, s), t = !0);
4300
+ t || (M(i, s), t = !0);
4275
4301
  },
4276
4302
  o(s) {
4277
- X(i, s), t = !1;
4303
+ V(i, s), t = !1;
4278
4304
  },
4279
4305
  d(s) {
4280
4306
  i && i.d(s);
4281
4307
  }
4282
4308
  };
4283
4309
  }
4284
- function as(e) {
4310
+ function ss(e) {
4285
4311
  let t, r, n = (
4286
4312
  /*$_*/
4287
4313
  e[4]("errorGeneralButton") + ""
4288
4314
  ), i, s, o;
4289
4315
  return {
4290
4316
  c() {
4291
- t = P("button"), r = P("span"), i = ue(n), D(t, "class", "CashierErrorButton");
4317
+ t = P("button"), r = P("span"), i = ae(n), R(t, "class", "CashierErrorButton");
4292
4318
  },
4293
4319
  m(a, l) {
4294
- G(a, t, l), I(t, r), I(r, i), s || (o = Ve(
4320
+ U(a, t, l), C(t, r), C(r, i), s || (o = je(
4295
4321
  t,
4296
4322
  "click",
4297
4323
  /*close*/
@@ -4301,165 +4327,165 @@ function as(e) {
4301
4327
  p(a, l) {
4302
4328
  l & /*$_*/
4303
4329
  16 && n !== (n = /*$_*/
4304
- a[4]("errorGeneralButton") + "") && it(i, n);
4330
+ a[4]("errorGeneralButton") + "") && rt(i, n);
4305
4331
  },
4306
4332
  d(a) {
4307
- a && N(t), s = !1, o();
4333
+ a && I(t), s = !1, o();
4308
4334
  }
4309
4335
  };
4310
4336
  }
4311
- function us(e) {
4337
+ function os(e) {
4312
4338
  let t, r, n, i, s, o;
4313
4339
  const a = (
4314
4340
  /*#slots*/
4315
4341
  e[12].icon
4316
- ), l = pe(
4342
+ ), l = de(
4317
4343
  a,
4318
4344
  e,
4319
4345
  /*$$scope*/
4320
4346
  e[11],
4321
- Lt
4322
- ), u = l || is(e), h = (
4347
+ Nt
4348
+ ), u = l || rs(e), h = (
4323
4349
  /*#slots*/
4324
4350
  e[12].title
4325
- ), f = pe(
4351
+ ), f = de(
4326
4352
  h,
4327
4353
  e,
4328
4354
  /*$$scope*/
4329
4355
  e[11],
4330
- Mt
4331
- ), c = f || ss(e), y = (
4356
+ It
4357
+ ), c = f || ns(e), y = (
4332
4358
  /*#slots*/
4333
4359
  e[12].text
4334
- ), m = pe(
4360
+ ), m = de(
4335
4361
  y,
4336
4362
  e,
4337
4363
  /*$$scope*/
4338
4364
  e[11],
4339
- Nt
4340
- ), b = m || os(e);
4365
+ Ct
4366
+ ), g = m || is(e);
4341
4367
  let p = (!/*hidebuttons*/
4342
4368
  e[1] || /*hidebuttons*/
4343
- e[1] === "false") && Rt(e);
4369
+ e[1] === "false") && Lt(e);
4344
4370
  return {
4345
4371
  c() {
4346
- t = P("div"), r = P("div"), u && u.c(), n = $e(), c && c.c(), i = $e(), b && b.c(), s = $e(), p && p.c(), D(r, "class", "CashierErrorContent"), D(t, "class", "CashierError");
4372
+ t = P("div"), r = P("div"), u && u.c(), n = Me(), c && c.c(), i = Me(), g && g.c(), s = Me(), p && p.c(), R(r, "class", "CashierErrorContent"), R(t, "class", "CashierError");
4347
4373
  },
4348
- m(d, v) {
4349
- G(d, t, v), I(t, r), u && u.m(r, null), I(r, n), c && c.m(r, null), I(r, i), b && b.m(r, null), I(r, s), p && p.m(r, null), e[13](t), o = !0;
4374
+ m(d, x) {
4375
+ U(d, t, x), C(t, r), u && u.m(r, null), C(r, n), c && c.m(r, null), C(r, i), g && g.m(r, null), C(r, s), p && p.m(r, null), e[13](t), o = !0;
4350
4376
  },
4351
- p(d, [v]) {
4352
- l ? l.p && (!o || v & /*$$scope*/
4377
+ p(d, [x]) {
4378
+ l ? l.p && (!o || x & /*$$scope*/
4353
4379
  2048) && be(
4354
4380
  l,
4355
4381
  a,
4356
4382
  d,
4357
4383
  /*$$scope*/
4358
4384
  d[11],
4359
- o ? ge(
4385
+ o ? pe(
4360
4386
  a,
4361
4387
  /*$$scope*/
4362
4388
  d[11],
4363
- v,
4364
- ns
4365
- ) : ye(
4389
+ x,
4390
+ ts
4391
+ ) : ge(
4366
4392
  /*$$scope*/
4367
4393
  d[11]
4368
4394
  ),
4369
- Lt
4370
- ) : u && u.p && (!o || v & /*assetsurl*/
4371
- 1) && u.p(d, o ? v : -1), f ? f.p && (!o || v & /*$$scope*/
4395
+ Nt
4396
+ ) : u && u.p && (!o || x & /*assetsurl*/
4397
+ 1) && u.p(d, o ? x : -1), f ? f.p && (!o || x & /*$$scope*/
4372
4398
  2048) && be(
4373
4399
  f,
4374
4400
  h,
4375
4401
  d,
4376
4402
  /*$$scope*/
4377
4403
  d[11],
4378
- o ? ge(
4404
+ o ? pe(
4379
4405
  h,
4380
4406
  /*$$scope*/
4381
4407
  d[11],
4382
- v,
4383
- rs
4384
- ) : ye(
4408
+ x,
4409
+ es
4410
+ ) : ge(
4385
4411
  /*$$scope*/
4386
4412
  d[11]
4387
4413
  ),
4388
- Mt
4389
- ) : c && c.p && (!o || v & /*$_*/
4390
- 16) && c.p(d, o ? v : -1), m ? m.p && (!o || v & /*$$scope*/
4414
+ It
4415
+ ) : c && c.p && (!o || x & /*$_*/
4416
+ 16) && c.p(d, o ? x : -1), m ? m.p && (!o || x & /*$$scope*/
4391
4417
  2048) && be(
4392
4418
  m,
4393
4419
  y,
4394
4420
  d,
4395
4421
  /*$$scope*/
4396
4422
  d[11],
4397
- o ? ge(
4423
+ o ? pe(
4398
4424
  y,
4399
4425
  /*$$scope*/
4400
4426
  d[11],
4401
- v,
4402
- ts
4403
- ) : ye(
4427
+ x,
4428
+ Ki
4429
+ ) : ge(
4404
4430
  /*$$scope*/
4405
4431
  d[11]
4406
4432
  ),
4407
- Nt
4408
- ) : b && b.p && (!o || v & /*$_, errorcode*/
4409
- 20) && b.p(d, o ? v : -1), !/*hidebuttons*/
4433
+ Ct
4434
+ ) : g && g.p && (!o || x & /*$_, errorcode*/
4435
+ 20) && g.p(d, o ? x : -1), !/*hidebuttons*/
4410
4436
  d[1] || /*hidebuttons*/
4411
- d[1] === "false" ? p ? (p.p(d, v), v & /*hidebuttons*/
4412
- 2 && L(p, 1)) : (p = Rt(d), p.c(), L(p, 1), p.m(r, null)) : p && (Wr(), X(p, 1, 1, () => {
4437
+ d[1] === "false" ? p ? (p.p(d, x), x & /*hidebuttons*/
4438
+ 2 && M(p, 1)) : (p = Lt(d), p.c(), M(p, 1), p.m(r, null)) : p && (Vr(), V(p, 1, 1, () => {
4413
4439
  p = null;
4414
- }), Zr());
4440
+ }), Xr());
4415
4441
  },
4416
4442
  i(d) {
4417
- o || (L(u, d), L(c, d), L(b, d), L(p), o = !0);
4443
+ o || (M(u, d), M(c, d), M(g, d), M(p), o = !0);
4418
4444
  },
4419
4445
  o(d) {
4420
- X(u, d), X(c, d), X(b, d), X(p), o = !1;
4446
+ V(u, d), V(c, d), V(g, d), V(p), o = !1;
4421
4447
  },
4422
4448
  d(d) {
4423
- d && N(t), u && u.d(d), c && c.d(d), b && b.d(d), p && p.d(), e[13](null);
4449
+ d && I(t), u && u.d(d), c && c.d(d), g && g.d(d), p && p.d(), e[13](null);
4424
4450
  }
4425
4451
  };
4426
4452
  }
4427
- function ls(e, t, r) {
4453
+ function as(e, t, r) {
4428
4454
  let n;
4429
- Sr(e, Zi, (g) => r(4, n = g));
4455
+ wr(e, Xi, (b) => r(4, n = b));
4430
4456
  let { $$slots: i = {}, $$scope: s } = t, { assetsurl: o = "" } = t, { lang: a = "en" } = t, { hidebuttons: l = "" } = t, { errorcode: u = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: f = "" } = t, { translationurl: c = "" } = t, { mbsource: y = "" } = t, m;
4431
- const b = () => {
4432
- Yi(a);
4457
+ const g = () => {
4458
+ qi(a);
4433
4459
  }, p = () => {
4434
4460
  fetch(c).then((w) => w.json()).then((w) => {
4435
4461
  Object.keys(w).forEach((H) => {
4436
- Ot(H, w[H]);
4462
+ At(H, w[H]);
4437
4463
  });
4438
4464
  }).catch((w) => {
4439
4465
  console.error(w);
4440
4466
  });
4441
4467
  };
4442
- Object.keys(Ct).forEach((g) => {
4443
- Ot(g, Ct[g]);
4468
+ Object.keys(Pt).forEach((b) => {
4469
+ At(b, Pt[b]);
4444
4470
  });
4445
4471
  const d = () => {
4446
4472
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4447
4473
  };
4448
- kr(() => () => {
4474
+ Ur(() => () => {
4449
4475
  });
4450
- function v(g) {
4451
- Xe[g ? "unshift" : "push"](() => {
4452
- m = g, r(3, m);
4476
+ function x(b) {
4477
+ ze[b ? "unshift" : "push"](() => {
4478
+ m = b, r(3, m);
4453
4479
  });
4454
4480
  }
4455
- return e.$$set = (g) => {
4456
- "assetsurl" in g && r(0, o = g.assetsurl), "lang" in g && r(6, a = g.lang), "hidebuttons" in g && r(1, l = g.hidebuttons), "errorcode" in g && r(2, u = g.errorcode), "clientstyling" in g && r(7, h = g.clientstyling), "clientstylingurl" in g && r(8, f = g.clientstylingurl), "translationurl" in g && r(9, c = g.translationurl), "mbsource" in g && r(10, y = g.mbsource), "$$scope" in g && r(11, s = g.$$scope);
4481
+ return e.$$set = (b) => {
4482
+ "assetsurl" in b && r(0, o = b.assetsurl), "lang" in b && r(6, a = b.lang), "hidebuttons" in b && r(1, l = b.hidebuttons), "errorcode" in b && r(2, u = b.errorcode), "clientstyling" in b && r(7, h = b.clientstyling), "clientstylingurl" in b && r(8, f = b.clientstylingurl), "translationurl" in b && r(9, c = b.translationurl), "mbsource" in b && r(10, y = b.mbsource), "$$scope" in b && r(11, s = b.$$scope);
4457
4483
  }, e.$$.update = () => {
4458
4484
  e.$$.dirty & /*lang*/
4459
- 64 && a && b(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4460
- 136 && h && m && Ji(m, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4461
- 264 && f && m && qi(m, f), e.$$.dirty & /*mbsource, customStylingContainer*/
4462
- 1032 && y && m && Qi(m, `${y}.Style`), e.$$.dirty & /*translationurl*/
4485
+ 64 && a && g(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4486
+ 136 && h && m && Wi(m, h), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4487
+ 264 && f && m && Zi(m, f), e.$$.dirty & /*mbsource, customStylingContainer*/
4488
+ 1032 && y && m && Ji(m, `${y}.Style`), e.$$.dirty & /*translationurl*/
4463
4489
  512 && c && p();
4464
4490
  }, [
4465
4491
  o,
@@ -4475,17 +4501,17 @@ function ls(e, t, r) {
4475
4501
  y,
4476
4502
  s,
4477
4503
  i,
4478
- v
4504
+ x
4479
4505
  ];
4480
4506
  }
4481
- class br extends tn {
4507
+ class pr extends Kr {
4482
4508
  constructor(t) {
4483
- super(), Kr(
4509
+ super(), Qr(
4484
4510
  this,
4485
4511
  t,
4486
- ls,
4487
- us,
4488
- Ut,
4512
+ as,
4513
+ os,
4514
+ Rt,
4489
4515
  {
4490
4516
  assetsurl: 0,
4491
4517
  lang: 6,
@@ -4496,7 +4522,7 @@ class br extends tn {
4496
4522
  translationurl: 9,
4497
4523
  mbsource: 10
4498
4524
  },
4499
- Ki
4525
+ Qi
4500
4526
  );
4501
4527
  }
4502
4528
  get assetsurl() {
@@ -4548,65 +4574,69 @@ class br extends tn {
4548
4574
  this.$$set({ mbsource: t }), O();
4549
4575
  }
4550
4576
  }
4551
- en(br, { assetsurl: {}, lang: {}, hidebuttons: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4577
+ Yr(pr, { assetsurl: {}, lang: {}, hidebuttons: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4552
4578
  const ws = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4553
4579
  __proto__: null,
4554
- default: br
4580
+ default: pr
4555
4581
  }, Symbol.toStringTag, { value: "Module" }));
4556
4582
  export {
4557
- k as $,
4558
- gs as A,
4559
- Xe as B,
4560
- Es as C,
4561
- xs as D,
4562
- ms as E,
4563
- mt as F,
4564
- ps as G,
4565
- U as H,
4566
- bs as I,
4567
- ds as J,
4568
- ys as K,
4569
- Zi as L,
4570
- Ji as M,
4571
- qi as N,
4572
- Qi as O,
4573
- Tr as P,
4574
- X as Q,
4575
- L as R,
4576
- tn as S,
4577
- Wr as T,
4578
- Zr as U,
4579
- pe as V,
4580
- vs as W,
4581
- be as X,
4582
- ye as Y,
4583
- ge as Z,
4584
- _s as _,
4585
- fr as a,
4586
- ws as a0,
4587
- Kr as b,
4583
+ G as $,
4584
+ rt as A,
4585
+ ce as B,
4586
+ ae as C,
4587
+ ds as D,
4588
+ ze as E,
4589
+ ys as F,
4590
+ vs as G,
4591
+ cs as H,
4592
+ ct as I,
4593
+ ms as J,
4594
+ D as K,
4595
+ ps as L,
4596
+ fs as M,
4597
+ bs as N,
4598
+ Xi as O,
4599
+ Wi as P,
4600
+ Zi as Q,
4601
+ Ji as R,
4602
+ Kr as S,
4603
+ Er as T,
4604
+ V as U,
4605
+ M as V,
4606
+ Vr as W,
4607
+ Xr as X,
4608
+ de as Y,
4609
+ _s as Z,
4610
+ xs as _,
4611
+ hr as a,
4612
+ be as a0,
4613
+ ge as a1,
4614
+ pe as a2,
4615
+ gs as a3,
4616
+ ws as a4,
4617
+ Re as b,
4588
4618
  Ts as c,
4589
- en as d,
4590
- Pr as e,
4591
- O as f,
4592
- sn as g,
4593
- He as h,
4594
- Si as i,
4595
- N as j,
4596
- G as k,
4597
- I as l,
4598
- Ve as m,
4619
+ Oe as d,
4620
+ Es as e,
4621
+ Qr as f,
4622
+ rn as g,
4623
+ O as h,
4624
+ wi as i,
4625
+ Yr as j,
4626
+ Br as k,
4627
+ we as l,
4628
+ I as m,
4599
4629
  A as n,
4600
- fs as o,
4601
- P as p,
4602
- $e as q,
4603
- D as r,
4604
- Ut as s,
4605
- Sr as t,
4606
- kr as u,
4607
- Cr as v,
4608
- Ce as w,
4609
- it as x,
4610
- fe as y,
4611
- ue as z
4630
+ U as o,
4631
+ C as p,
4632
+ je as q,
4633
+ hs as r,
4634
+ Rt as s,
4635
+ P as t,
4636
+ Me as u,
4637
+ R as v,
4638
+ Pe as w,
4639
+ wr as x,
4640
+ Ur as y,
4641
+ Pr as z
4612
4642
  };