@everymatrix/cashier-receipt-page-nd 1.69.170 → 1.69.181

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
1
  var vr = Object.defineProperty, xr = Object.defineProperties;
2
2
  var Tr = Object.getOwnPropertyDescriptors;
3
- var at = Object.getOwnPropertySymbols;
3
+ var ot = Object.getOwnPropertySymbols;
4
4
  var Hr = Object.prototype.hasOwnProperty, wr = Object.prototype.propertyIsEnumerable;
5
- var Me = (e, t, r) => t in e ? vr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ut = (e, t) => {
5
+ var Me = (e, t, r) => t in e ? vr(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
7
  Hr.call(t, r) && Me(e, r, t[r]);
8
- if (at)
9
- for (var r of at(t))
8
+ if (ot)
9
+ for (var r of ot(t))
10
10
  wr.call(t, r) && Me(e, r, t[r]);
11
11
  return e;
12
- }, lt = (e, t) => xr(e, Tr(t));
13
- var S = (e, t, r) => (Me(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ht = (e, t, r) => new Promise((n, i) => {
12
+ }, ut = (e, t) => xr(e, Tr(t));
13
+ var w = (e, t, r) => (Me(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var lt = (e, t, r) => new Promise((n, i) => {
15
15
  var s = (h) => {
16
16
  try {
17
17
  a(r.next(h));
@@ -28,9 +28,9 @@ var ht = (e, t, r) => new Promise((n, i) => {
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
30
  import "../stencil/ui-image-CP8Lp7fB.js";
31
- function B() {
31
+ function S() {
32
32
  }
33
- const Mt = (e) => e;
33
+ const Lt = (e) => e;
34
34
  function Sr(e, t) {
35
35
  for (const r in t)
36
36
  e[r] = t[r];
@@ -39,50 +39,50 @@ function Sr(e, t) {
39
39
  e
40
40
  );
41
41
  }
42
- function $t(e) {
42
+ function Mt(e) {
43
43
  return e();
44
44
  }
45
- function ct() {
45
+ function ht() {
46
46
  return /* @__PURE__ */ Object.create(null);
47
47
  }
48
- function D(e) {
49
- e.forEach($t);
48
+ function R(e) {
49
+ e.forEach(Mt);
50
50
  }
51
51
  function ae(e) {
52
52
  return typeof e == "function";
53
53
  }
54
- function Rt(e, t) {
54
+ function $t(e, t) {
55
55
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
56
56
  }
57
- let fe;
58
- function ft(e, t) {
59
- return e === t ? !0 : (fe || (fe = document.createElement("a")), fe.href = t, e === fe.href);
57
+ let ce;
58
+ function ct(e, t) {
59
+ return e === t ? !0 : (ce || (ce = document.createElement("a")), ce.href = t, e === ce.href);
60
60
  }
61
61
  function Br(e) {
62
62
  return Object.keys(e).length === 0;
63
63
  }
64
- function Dt(e, ...t) {
64
+ function Rt(e, ...t) {
65
65
  if (e == null) {
66
66
  for (const n of t)
67
67
  n(void 0);
68
- return B;
68
+ return S;
69
69
  }
70
70
  const r = e.subscribe(...t);
71
71
  return r.unsubscribe ? () => r.unsubscribe() : r;
72
72
  }
73
73
  function Ar(e, t, r) {
74
- e.$$.on_destroy.push(Dt(t, r));
74
+ e.$$.on_destroy.push(Rt(t, r));
75
75
  }
76
- function me(e, t, r, n) {
76
+ function fe(e, t, r, n) {
77
77
  if (e) {
78
- const i = Ut(e, t, r, n);
78
+ const i = Dt(e, t, r, n);
79
79
  return e[0](i);
80
80
  }
81
81
  }
82
- function Ut(e, t, r, n) {
82
+ function Dt(e, t, r, n) {
83
83
  return e[1] && n ? Sr(r.ctx.slice(), e[1](n(t))) : r.ctx;
84
84
  }
85
- function de(e, t, r, n) {
85
+ function me(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)
@@ -97,13 +97,13 @@ function de(e, t, r, n) {
97
97
  }
98
98
  return t.dirty;
99
99
  }
100
- function pe(e, t, r, n, i, s) {
100
+ function de(e, t, r, n, i, s) {
101
101
  if (i) {
102
- const o = Ut(t, r, n, s);
102
+ const o = Dt(t, r, n, s);
103
103
  e.p(o, i);
104
104
  }
105
105
  }
106
- function ge(e) {
106
+ function pe(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,33 +112,33 @@ function ge(e) {
112
112
  }
113
113
  return -1;
114
114
  }
115
- const Gt = typeof window != "undefined";
116
- let kt = Gt ? () => window.performance.now() : () => Date.now(), tt = Gt ? (e) => requestAnimationFrame(e) : B;
117
- const z = /* @__PURE__ */ new Set();
118
- function Ft(e) {
119
- z.forEach((t) => {
120
- t.c(e) || (z.delete(t), t.f());
121
- }), z.size !== 0 && tt(Ft);
115
+ const Ut = typeof window != "undefined";
116
+ let Gt = Ut ? () => window.performance.now() : () => Date.now(), tt = Ut ? (e) => requestAnimationFrame(e) : S;
117
+ const F = /* @__PURE__ */ new Set();
118
+ function kt(e) {
119
+ F.forEach((t) => {
120
+ t.c(e) || (F.delete(t), t.f());
121
+ }), F.size !== 0 && tt(kt);
122
122
  }
123
- function jt(e) {
123
+ function Ft(e) {
124
124
  let t;
125
- return z.size === 0 && tt(Ft), {
125
+ return F.size === 0 && tt(kt), {
126
126
  promise: new Promise((r) => {
127
- z.add(t = { c: e, f: r });
127
+ F.add(t = { c: e, f: r });
128
128
  }),
129
129
  abort() {
130
- z.delete(t);
130
+ F.delete(t);
131
131
  }
132
132
  };
133
133
  }
134
- function C(e, t) {
134
+ function I(e, t) {
135
135
  e.appendChild(t);
136
136
  }
137
137
  function Pr(e, t, r) {
138
138
  const n = rt(e);
139
139
  if (!n.getElementById(t)) {
140
- const i = P("style");
141
- i.id = t, i.textContent = r, zt(n, i);
140
+ const i = O("style");
141
+ i.id = t, i.textContent = r, jt(n, i);
142
142
  }
143
143
  }
144
144
  function rt(e) {
@@ -152,55 +152,55 @@ function rt(e) {
152
152
  ) : e.ownerDocument;
153
153
  }
154
154
  function Or(e) {
155
- const t = P("style");
156
- return t.textContent = "/* empty */", zt(rt(e), t), t.sheet;
155
+ const t = O("style");
156
+ return t.textContent = "/* empty */", jt(rt(e), t), t.sheet;
157
157
  }
158
- function zt(e, t) {
159
- return C(
158
+ function jt(e, t) {
159
+ return I(
160
160
  /** @type {Document} */
161
161
  e.head || e,
162
162
  t
163
163
  ), t.sheet;
164
164
  }
165
- function U(e, t, r) {
165
+ function J(e, t, r) {
166
166
  e.insertBefore(t, r || null);
167
167
  }
168
- function I(e) {
168
+ function L(e) {
169
169
  e.parentNode && e.parentNode.removeChild(e);
170
170
  }
171
- function as(e, t) {
171
+ function os(e, t) {
172
172
  for (let r = 0; r < e.length; r += 1)
173
173
  e[r] && e[r].d(t);
174
174
  }
175
- function P(e) {
175
+ function O(e) {
176
176
  return document.createElement(e);
177
177
  }
178
- function us(e) {
178
+ function as(e) {
179
179
  return document.createElementNS("http://www.w3.org/2000/svg", e);
180
180
  }
181
- function ue(e) {
181
+ function Oe(e) {
182
182
  return document.createTextNode(e);
183
183
  }
184
184
  function $e() {
185
- return ue(" ");
185
+ return Oe(" ");
186
186
  }
187
- function Cr() {
188
- return ue("");
187
+ function Ir() {
188
+ return Oe("");
189
189
  }
190
- function Ir(e, t, r, n) {
190
+ function Cr(e, t, r, n) {
191
191
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
192
192
  }
193
- function R(e, t, r) {
193
+ function z(e, t, r) {
194
194
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
195
195
  }
196
- function be(e, t, r) {
196
+ function ge(e, t, r) {
197
197
  const n = t.toLowerCase();
198
- 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);
198
+ n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : z(e, t, r);
199
199
  }
200
200
  function Nr(e) {
201
201
  return Array.from(e.childNodes);
202
202
  }
203
- function nt(e, t) {
203
+ function zt(e, t) {
204
204
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
205
205
  t);
206
206
  }
@@ -216,8 +216,8 @@ function Mr(e) {
216
216
  }
217
217
  ), t;
218
218
  }
219
- const He = /* @__PURE__ */ new Map();
220
- let we = 0;
219
+ const Te = /* @__PURE__ */ new Map();
220
+ let He = 0;
221
221
  function $r(e) {
222
222
  let t = 5381, r = e.length;
223
223
  for (; r--; )
@@ -226,36 +226,36 @@ function $r(e) {
226
226
  }
227
227
  function Rr(e, t) {
228
228
  const r = { stylesheet: Or(t), rules: {} };
229
- return He.set(e, r), r;
229
+ return Te.set(e, r), r;
230
230
  }
231
231
  function Vt(e, t, r, n, i, s, o, a = 0) {
232
232
  const h = 16.666 / n;
233
233
  let u = `{
234
234
  `;
235
235
  for (let v = 0; v <= 1; v += h) {
236
- const T = t + (r - t) * s(v);
237
- u += v * 100 + `%{${o(T, 1 - T)}}
236
+ const E = t + (r - t) * s(v);
237
+ u += v * 100 + `%{${o(E, 1 - E)}}
238
238
  `;
239
239
  }
240
240
  const l = u + `100% {${o(r, 1 - r)}}
241
- }`, f = `__svelte_${$r(l)}_${a}`, c = rt(e), { stylesheet: p, rules: b } = He.get(c) || Rr(c, e);
242
- b[f] || (b[f] = !0, p.insertRule(`@keyframes ${f} ${l}`, p.cssRules.length));
243
- const g = e.style.animation || "";
244
- return e.style.animation = `${g ? `${g}, ` : ""}${f} ${n}ms linear ${i}ms 1 both`, we += 1, f;
241
+ }`, c = `__svelte_${$r(l)}_${a}`, m = rt(e), { stylesheet: d, rules: p } = Te.get(m) || Rr(m, e);
242
+ p[c] || (p[c] = !0, d.insertRule(`@keyframes ${c} ${l}`, d.cssRules.length));
243
+ const _ = e.style.animation || "";
244
+ return e.style.animation = `${_ ? `${_}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, He += 1, c;
245
245
  }
246
246
  function ze(e, t) {
247
247
  const r = (e.style.animation || "").split(", "), n = r.filter(
248
248
  t ? (s) => s.indexOf(t) < 0 : (s) => s.indexOf("__svelte") === -1
249
249
  // remove all Svelte animations
250
250
  ), i = r.length - n.length;
251
- i && (e.style.animation = n.join(", "), we -= i, we || Dr());
251
+ i && (e.style.animation = n.join(", "), He -= i, He || Dr());
252
252
  }
253
253
  function Dr() {
254
254
  tt(() => {
255
- we || (He.forEach((e) => {
255
+ He || (Te.forEach((e) => {
256
256
  const { ownerNode: t } = e.stylesheet;
257
- t && I(t);
258
- }), He.clear());
257
+ t && L(t);
258
+ }), Te.clear());
259
259
  });
260
260
  }
261
261
  let ne;
@@ -270,53 +270,53 @@ function Ur() {
270
270
  function Gr(e) {
271
271
  Ur().$$.on_mount.push(e);
272
272
  }
273
- const j = [], Ve = [];
274
- let V = [];
275
- const mt = [], kr = /* @__PURE__ */ Promise.resolve();
273
+ const k = [], Ve = [];
274
+ let j = [];
275
+ const ft = [], kr = /* @__PURE__ */ Promise.resolve();
276
276
  let Xe = !1;
277
277
  function Fr() {
278
- Xe || (Xe = !0, kr.then(O));
278
+ Xe || (Xe = !0, kr.then(P));
279
279
  }
280
280
  function ie(e) {
281
- V.push(e);
281
+ j.push(e);
282
282
  }
283
283
  const Re = /* @__PURE__ */ new Set();
284
- let k = 0;
285
- function O() {
286
- if (k !== 0)
284
+ let U = 0;
285
+ function P() {
286
+ if (U !== 0)
287
287
  return;
288
288
  const e = ne;
289
289
  do {
290
290
  try {
291
- for (; k < j.length; ) {
292
- const t = j[k];
293
- k++, re(t), jr(t.$$);
291
+ for (; U < k.length; ) {
292
+ const t = k[U];
293
+ U++, re(t), jr(t.$$);
294
294
  }
295
295
  } catch (t) {
296
- throw j.length = 0, k = 0, t;
296
+ throw k.length = 0, U = 0, t;
297
297
  }
298
- for (re(null), j.length = 0, k = 0; Ve.length; )
298
+ for (re(null), k.length = 0, U = 0; Ve.length; )
299
299
  Ve.pop()();
300
- for (let t = 0; t < V.length; t += 1) {
301
- const r = V[t];
300
+ for (let t = 0; t < j.length; t += 1) {
301
+ const r = j[t];
302
302
  Re.has(r) || (Re.add(r), r());
303
303
  }
304
- V.length = 0;
305
- } while (j.length);
306
- for (; mt.length; )
307
- mt.pop()();
304
+ j.length = 0;
305
+ } while (k.length);
306
+ for (; ft.length; )
307
+ ft.pop()();
308
308
  Xe = !1, Re.clear(), re(e);
309
309
  }
310
310
  function jr(e) {
311
311
  if (e.fragment !== null) {
312
- e.update(), D(e.before_update);
312
+ e.update(), R(e.before_update);
313
313
  const t = e.dirty;
314
314
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ie);
315
315
  }
316
316
  }
317
317
  function zr(e) {
318
318
  const t = [], r = [];
319
- V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
319
+ j.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), j = t;
320
320
  }
321
321
  let Y;
322
322
  function Xt() {
@@ -324,37 +324,37 @@ function Xt() {
324
324
  Y = null;
325
325
  })), Y;
326
326
  }
327
- function Se(e, t, r) {
327
+ function we(e, t, r) {
328
328
  e.dispatchEvent(Lr(`${t ? "intro" : "outro"}${r}`));
329
329
  }
330
- const Ee = /* @__PURE__ */ new Set();
331
- let N;
332
- function ls() {
333
- N = {
330
+ const _e = /* @__PURE__ */ new Set();
331
+ let C;
332
+ function us() {
333
+ C = {
334
334
  r: 0,
335
335
  c: [],
336
- p: N
336
+ p: C
337
337
  // parent group
338
338
  };
339
339
  }
340
- function hs() {
341
- N.r || D(N.c), N = N.p;
340
+ function ls() {
341
+ C.r || R(C.c), C = C.p;
342
342
  }
343
343
  function ee(e, t) {
344
- e && e.i && (Ee.delete(e), e.i(t));
344
+ e && e.i && (_e.delete(e), e.i(t));
345
345
  }
346
- function ye(e, t, r, n) {
346
+ function be(e, t, r, n) {
347
347
  if (e && e.o) {
348
- if (Ee.has(e))
348
+ if (_e.has(e))
349
349
  return;
350
- Ee.add(e), N.c.push(() => {
351
- Ee.delete(e), n && (r && e.d(1), n());
350
+ _e.add(e), C.c.push(() => {
351
+ _e.delete(e), n && (r && e.d(1), n());
352
352
  }), e.o(t);
353
353
  } else
354
354
  n && n();
355
355
  }
356
356
  const Wt = { duration: 0 };
357
- function cs(e, t, r) {
357
+ function hs(e, t, r) {
358
358
  const n = { direction: "in" };
359
359
  let i = t(e, r, n), s = !1, o, a, h = 0;
360
360
  function u() {
@@ -362,63 +362,63 @@ function cs(e, t, r) {
362
362
  }
363
363
  function l() {
364
364
  const {
365
- delay: c = 0,
366
- duration: p = 300,
367
- easing: b = Mt,
368
- tick: g = B,
365
+ delay: m = 0,
366
+ duration: d = 300,
367
+ easing: p = Lt,
368
+ tick: _ = S,
369
369
  css: v
370
370
  } = i || Wt;
371
- v && (o = Vt(e, 0, 1, p, c, b, v, h++)), g(0, 1);
372
- const T = kt() + c, d = T + p;
373
- a && a.abort(), s = !0, ie(() => Se(e, !0, "start")), a = jt((m) => {
371
+ v && (o = Vt(e, 0, 1, d, m, p, v, h++)), _(0, 1);
372
+ const E = Gt() + m, f = E + d;
373
+ a && a.abort(), s = !0, ie(() => we(e, !0, "start")), a = Ft((g) => {
374
374
  if (s) {
375
- if (m >= d)
376
- return g(1, 0), Se(e, !0, "end"), u(), s = !1;
377
- if (m >= T) {
378
- const E = b((m - T) / p);
379
- g(E, 1 - E);
375
+ if (g >= f)
376
+ return _(1, 0), we(e, !0, "end"), u(), s = !1;
377
+ if (g >= E) {
378
+ const B = p((g - E) / d);
379
+ _(B, 1 - B);
380
380
  }
381
381
  }
382
382
  return s;
383
383
  });
384
384
  }
385
- let f = !1;
385
+ let c = !1;
386
386
  return {
387
387
  start() {
388
- f || (f = !0, ze(e), ae(i) ? (i = i(n), Xt().then(l)) : l());
388
+ c || (c = !0, ze(e), ae(i) ? (i = i(n), Xt().then(l)) : l());
389
389
  },
390
390
  invalidate() {
391
- f = !1;
391
+ c = !1;
392
392
  },
393
393
  end() {
394
394
  s && (u(), s = !1);
395
395
  }
396
396
  };
397
397
  }
398
- function fs(e, t, r) {
398
+ function cs(e, t, r) {
399
399
  const n = { direction: "out" };
400
400
  let i = t(e, r, n), s = !0, o;
401
- const a = N;
401
+ const a = C;
402
402
  a.r += 1;
403
403
  let h;
404
404
  function u() {
405
405
  const {
406
406
  delay: l = 0,
407
- duration: f = 300,
408
- easing: c = Mt,
409
- tick: p = B,
410
- css: b
407
+ duration: c = 300,
408
+ easing: m = Lt,
409
+ tick: d = S,
410
+ css: p
411
411
  } = i || Wt;
412
- b && (o = Vt(e, 1, 0, f, l, c, b));
413
- const g = kt() + l, v = g + f;
414
- ie(() => Se(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
415
- e.inert, e.inert = !0), jt((T) => {
412
+ p && (o = Vt(e, 1, 0, c, l, m, p));
413
+ const _ = Gt() + l, v = _ + c;
414
+ ie(() => we(e, !1, "start")), "inert" in e && (h = /** @type {HTMLElement} */
415
+ e.inert, e.inert = !0), Ft((E) => {
416
416
  if (s) {
417
- if (T >= v)
418
- return p(0, 1), Se(e, !1, "end"), --a.r || D(a.c), !1;
419
- if (T >= g) {
420
- const d = c((T - g) / f);
421
- p(1 - d, d);
417
+ if (E >= v)
418
+ return d(0, 1), we(e, !1, "end"), --a.r || R(a.c), !1;
419
+ if (E >= _) {
420
+ const f = m((E - _) / c);
421
+ d(1 - f, f);
422
422
  }
423
423
  }
424
424
  return s;
@@ -432,22 +432,22 @@ function fs(e, t, r) {
432
432
  }
433
433
  };
434
434
  }
435
- function ms(e) {
435
+ function fs(e) {
436
436
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
437
437
  }
438
438
  function Vr(e, t, r) {
439
439
  const { fragment: n, after_update: i } = e.$$;
440
440
  n && n.m(t, r), ie(() => {
441
- const s = e.$$.on_mount.map($t).filter(ae);
442
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : D(s), e.$$.on_mount = [];
441
+ const s = e.$$.on_mount.map(Mt).filter(ae);
442
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : R(s), e.$$.on_mount = [];
443
443
  }), i.forEach(ie);
444
444
  }
445
445
  function Xr(e, t) {
446
446
  const r = e.$$;
447
- r.fragment !== null && (zr(r.after_update), D(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
447
+ r.fragment !== null && (zr(r.after_update), R(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
448
448
  }
449
449
  function Wr(e, t) {
450
- e.$$.dirty[0] === -1 && (j.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
450
+ e.$$.dirty[0] === -1 && (k.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
451
451
  }
452
452
  function Zr(e, t, r, n, i, s, o = null, a = [-1]) {
453
453
  const h = ne;
@@ -457,9 +457,9 @@ function Zr(e, t, r, n, i, s, o = null, a = [-1]) {
457
457
  ctx: [],
458
458
  // state
459
459
  props: s,
460
- update: B,
460
+ update: S,
461
461
  not_equal: i,
462
- bound: ct(),
462
+ bound: ht(),
463
463
  // lifecycle
464
464
  on_mount: [],
465
465
  on_destroy: [],
@@ -468,23 +468,23 @@ function Zr(e, t, r, n, i, s, o = null, a = [-1]) {
468
468
  after_update: [],
469
469
  context: new Map(t.context || (h ? h.$$.context : [])),
470
470
  // everything else
471
- callbacks: ct(),
471
+ callbacks: ht(),
472
472
  dirty: a,
473
473
  skip_bound: !1,
474
474
  root: t.target || h.$$.root
475
475
  };
476
476
  o && o(u.root);
477
477
  let l = !1;
478
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...p) => {
479
- const b = p.length ? p[0] : c;
480
- return u.ctx && i(u.ctx[f], u.ctx[f] = b) && (!u.skip_bound && u.bound[f] && u.bound[f](b), l && Wr(e, f)), c;
481
- }) : [], u.update(), l = !0, D(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
478
+ if (u.ctx = r ? r(e, t.props || {}, (c, m, ...d) => {
479
+ const p = d.length ? d[0] : m;
480
+ return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), l && Wr(e, c)), m;
481
+ }) : [], u.update(), l = !0, R(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
482
482
  if (t.hydrate) {
483
- const f = Nr(t.target);
484
- u.fragment && u.fragment.l(f), f.forEach(I);
483
+ const c = Nr(t.target);
484
+ u.fragment && u.fragment.l(c), c.forEach(L);
485
485
  } else
486
486
  u.fragment && u.fragment.c();
487
- t.intro && ee(e.$$.fragment), Vr(e, t.target, t.anchor), O();
487
+ t.intro && ee(e.$$.fragment), Vr(e, t.target, t.anchor), P();
488
488
  }
489
489
  re(h);
490
490
  }
@@ -493,23 +493,23 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
493
493
  constructor(t, r, n) {
494
494
  super();
495
495
  /** The Svelte component constructor */
496
- S(this, "$$ctor");
496
+ w(this, "$$ctor");
497
497
  /** Slots */
498
- S(this, "$$s");
498
+ w(this, "$$s");
499
499
  /** The Svelte component instance */
500
- S(this, "$$c");
500
+ w(this, "$$c");
501
501
  /** Whether or not the custom element is connected */
502
- S(this, "$$cn", !1);
502
+ w(this, "$$cn", !1);
503
503
  /** Component props data */
504
- S(this, "$$d", {});
504
+ w(this, "$$d", {});
505
505
  /** `true` if currently in the process of reflecting component props back to attributes */
506
- S(this, "$$r", !1);
506
+ w(this, "$$r", !1);
507
507
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
508
- S(this, "$$p_d", {});
508
+ w(this, "$$p_d", {});
509
509
  /** @type {Record<string, Function[]>} Event listeners */
510
- S(this, "$$l", {});
510
+ w(this, "$$l", {});
511
511
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
512
- S(this, "$$l_u", /* @__PURE__ */ new Map());
512
+ w(this, "$$l_u", /* @__PURE__ */ new Map());
513
513
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
514
514
  }
515
515
  addEventListener(t, r, n) {
@@ -526,24 +526,24 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
526
526
  }
527
527
  }
528
528
  connectedCallback() {
529
- return ht(this, null, function* () {
529
+ return lt(this, null, function* () {
530
530
  if (this.$$cn = !0, !this.$$c) {
531
531
  let t = function(s) {
532
532
  return () => {
533
533
  let o;
534
534
  return {
535
535
  c: function() {
536
- o = P("slot"), s !== "default" && R(o, "name", s);
536
+ o = O("slot"), s !== "default" && z(o, "name", s);
537
537
  },
538
538
  /**
539
539
  * @param {HTMLElement} target
540
540
  * @param {HTMLElement} [anchor]
541
541
  */
542
542
  m: function(u, l) {
543
- U(u, o, l);
543
+ J(u, o, l);
544
544
  },
545
545
  d: function(u) {
546
- u && I(o);
546
+ u && L(o);
547
547
  }
548
548
  };
549
549
  };
@@ -555,13 +555,13 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
555
555
  s in n && (r[s] = [t(s)]);
556
556
  for (const s of this.attributes) {
557
557
  const o = this.$$g_p(s.name);
558
- o in this.$$d || (this.$$d[o] = ve(o, s.value, this.$$p_d, "toProp"));
558
+ o in this.$$d || (this.$$d[o] = Ee(o, s.value, this.$$p_d, "toProp"));
559
559
  }
560
560
  for (const s in this.$$p_d)
561
561
  !(s in this.$$d) && this[s] !== void 0 && (this.$$d[s] = this[s], delete this[s]);
562
562
  this.$$c = new this.$$ctor({
563
563
  target: this.shadowRoot || this,
564
- props: lt(ut({}, this.$$d), {
564
+ props: ut(at({}, this.$$d), {
565
565
  $$slots: r,
566
566
  $$scope: {
567
567
  ctx: []
@@ -572,7 +572,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
572
572
  this.$$r = !0;
573
573
  for (const s in this.$$p_d)
574
574
  if (this.$$d[s] = this.$$c.$$.ctx[this.$$c.$$.props[s]], this.$$p_d[s].reflect) {
575
- const o = ve(
575
+ const o = Ee(
576
576
  s,
577
577
  this.$$d[s],
578
578
  this.$$p_d,
@@ -596,7 +596,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
596
596
  // and setting attributes through setAttribute etc, this is helpful
597
597
  attributeChangedCallback(t, r, n) {
598
598
  var i;
599
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = ve(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
599
+ 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] }));
600
600
  }
601
601
  disconnectedCallback() {
602
602
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -609,7 +609,7 @@ typeof HTMLElement == "function" && (Zt = class extends HTMLElement {
609
609
  ) || t;
610
610
  }
611
611
  });
612
- function ve(e, t, r, n) {
612
+ function Ee(e, t, r, n) {
613
613
  var s;
614
614
  const i = (s = r[e]) == null ? void 0 : s.type;
615
615
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -657,7 +657,7 @@ function Jr(e, t, r, n, i, s) {
657
657
  },
658
658
  set(h) {
659
659
  var u;
660
- h = ve(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
660
+ h = Ee(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
661
661
  }
662
662
  });
663
663
  }), n.forEach((a) => {
@@ -679,7 +679,7 @@ class qr {
679
679
  *
680
680
  * @type {any}
681
681
  */
682
- S(this, "$$");
682
+ w(this, "$$");
683
683
  /**
684
684
  * ### PRIVATE API
685
685
  *
@@ -687,11 +687,11 @@ class qr {
687
687
  *
688
688
  * @type {any}
689
689
  */
690
- S(this, "$$set");
690
+ w(this, "$$set");
691
691
  }
692
692
  /** @returns {void} */
693
693
  $destroy() {
694
- Xr(this, 1), this.$destroy = B;
694
+ Xr(this, 1), this.$destroy = S;
695
695
  }
696
696
  /**
697
697
  * @template {Extract<keyof Events, string>} K
@@ -701,7 +701,7 @@ class qr {
701
701
  */
702
702
  $on(t, r) {
703
703
  if (!ae(r))
704
- return B;
704
+ return S;
705
705
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
706
706
  return n.push(r), () => {
707
707
  const i = n.indexOf(r);
@@ -718,33 +718,33 @@ class qr {
718
718
  }
719
719
  const Qr = "4";
720
720
  typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Qr);
721
- const F = [];
721
+ const G = [];
722
722
  function Yr(e, t) {
723
723
  return {
724
- subscribe: Ce(e, t).subscribe
724
+ subscribe: Ie(e, t).subscribe
725
725
  };
726
726
  }
727
- function Ce(e, t = B) {
727
+ function Ie(e, t = S) {
728
728
  let r;
729
729
  const n = /* @__PURE__ */ new Set();
730
730
  function i(a) {
731
- if (Rt(e, a) && (e = a, r)) {
732
- const h = !F.length;
731
+ if ($t(e, a) && (e = a, r)) {
732
+ const h = !G.length;
733
733
  for (const u of n)
734
- u[1](), F.push(u, e);
734
+ u[1](), G.push(u, e);
735
735
  if (h) {
736
- for (let u = 0; u < F.length; u += 2)
737
- F[u][0](F[u + 1]);
738
- F.length = 0;
736
+ for (let u = 0; u < G.length; u += 2)
737
+ G[u][0](G[u + 1]);
738
+ G.length = 0;
739
739
  }
740
740
  }
741
741
  }
742
742
  function s(a) {
743
743
  i(a(e));
744
744
  }
745
- function o(a, h = B) {
745
+ function o(a, h = S) {
746
746
  const u = [a, h];
747
- return n.add(u), n.size === 1 && (r = t(i, s) || B), a(e), () => {
747
+ return n.add(u), n.size === 1 && (r = t(i, s) || S), a(e), () => {
748
748
  n.delete(u), n.size === 0 && r && (r(), r = null);
749
749
  };
750
750
  }
@@ -758,30 +758,30 @@ function q(e, t, r) {
758
758
  return Yr(r, (o, a) => {
759
759
  let h = !1;
760
760
  const u = [];
761
- let l = 0, f = B;
762
- const c = () => {
761
+ let l = 0, c = S;
762
+ const m = () => {
763
763
  if (l)
764
764
  return;
765
- f();
766
- const b = t(n ? u[0] : u, o, a);
767
- s ? o(b) : f = ae(b) ? b : B;
768
- }, p = i.map(
769
- (b, g) => Dt(
770
- b,
765
+ c();
766
+ const p = t(n ? u[0] : u, o, a);
767
+ s ? o(p) : c = ae(p) ? p : S;
768
+ }, d = i.map(
769
+ (p, _) => Rt(
770
+ p,
771
771
  (v) => {
772
- u[g] = v, l &= ~(1 << g), h && c();
772
+ u[_] = v, l &= ~(1 << _), h && m();
773
773
  },
774
774
  () => {
775
- l |= 1 << g;
775
+ l |= 1 << _;
776
776
  }
777
777
  )
778
778
  );
779
- return h = !0, c(), function() {
780
- D(p), f(), h = !1;
779
+ return h = !0, m(), function() {
780
+ R(d), c(), h = !1;
781
781
  };
782
782
  });
783
783
  }
784
- var ds = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
784
+ var ms = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
785
785
  function Kr(e) {
786
786
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
787
787
  }
@@ -803,7 +803,7 @@ function an(e) {
803
803
  return Array.isArray(e) ? [] : {};
804
804
  }
805
805
  function se(e, t) {
806
- return t.clone !== !1 && t.isMergeableObject(e) ? X(an(e), e, t) : e;
806
+ return t.clone !== !1 && t.isMergeableObject(e) ? V(an(e), e, t) : e;
807
807
  }
808
808
  function un(e, t, r) {
809
809
  return e.concat(t).map(function(n) {
@@ -812,16 +812,16 @@ function un(e, t, r) {
812
812
  }
813
813
  function ln(e, t) {
814
814
  if (!t.customMerge)
815
- return X;
815
+ return V;
816
816
  var r = t.customMerge(e);
817
- return typeof r == "function" ? r : X;
817
+ return typeof r == "function" ? r : V;
818
818
  }
819
819
  function hn(e) {
820
820
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
821
821
  return Object.propertyIsEnumerable.call(e, t);
822
822
  }) : [];
823
823
  }
824
- function dt(e) {
824
+ function mt(e) {
825
825
  return Object.keys(e).concat(hn(e));
826
826
  }
827
827
  function Jt(e, t) {
@@ -836,25 +836,25 @@ function cn(e, t) {
836
836
  }
837
837
  function fn(e, t, r) {
838
838
  var n = {};
839
- return r.isMergeableObject(e) && dt(e).forEach(function(i) {
839
+ return r.isMergeableObject(e) && mt(e).forEach(function(i) {
840
840
  n[i] = se(e[i], r);
841
- }), dt(t).forEach(function(i) {
841
+ }), mt(t).forEach(function(i) {
842
842
  cn(e, i) || (Jt(e, i) && r.isMergeableObject(t[i]) ? n[i] = ln(i, r)(e[i], t[i], r) : n[i] = se(t[i], r));
843
843
  }), n;
844
844
  }
845
- function X(e, t, r) {
845
+ function V(e, t, r) {
846
846
  r = r || {}, r.arrayMerge = r.arrayMerge || un, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = se;
847
847
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
848
848
  return s ? n ? r.arrayMerge(e, t, r) : fn(e, t, r) : se(t, r);
849
849
  }
850
- X.all = function(t, r) {
850
+ V.all = function(t, r) {
851
851
  if (!Array.isArray(t))
852
852
  throw new Error("first argument should be an array");
853
853
  return t.reduce(function(n, i) {
854
- return X(n, i, r);
854
+ return V(n, i, r);
855
855
  }, {});
856
856
  };
857
- var mn = X, dn = mn;
857
+ var mn = V, dn = mn;
858
858
  const pn = /* @__PURE__ */ Kr(dn);
859
859
  var We = function(e, t) {
860
860
  return We = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
@@ -864,7 +864,7 @@ var We = function(e, t) {
864
864
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
865
865
  }, We(e, t);
866
866
  };
867
- function Ie(e, t) {
867
+ function Ce(e, t) {
868
868
  if (typeof t != "function" && t !== null)
869
869
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
870
870
  We(e, t);
@@ -946,29 +946,29 @@ var vn = function() {
946
946
  }
947
947
  }, Ge = {
948
948
  variadic: En
949
- }, Be = function() {
950
- return Be = Object.assign || function(t) {
949
+ }, Se = function() {
950
+ return Se = Object.assign || function(t) {
951
951
  for (var r, n = 1, i = arguments.length; n < i; n++) {
952
952
  r = arguments[n];
953
953
  for (var s in r)
954
954
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
955
955
  }
956
956
  return t;
957
- }, Be.apply(this, arguments);
957
+ }, Se.apply(this, arguments);
958
958
  };
959
- var y;
959
+ var b;
960
960
  (function(e) {
961
961
  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";
962
- })(y || (y = {}));
962
+ })(b || (b = {}));
963
963
  var x;
964
964
  (function(e) {
965
965
  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";
966
966
  })(x || (x = {}));
967
- var W;
967
+ var X;
968
968
  (function(e) {
969
969
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
970
- })(W || (W = {}));
971
- function pt(e) {
970
+ })(X || (X = {}));
971
+ function dt(e) {
972
972
  return e.type === x.literal;
973
973
  }
974
974
  function Hn(e) {
@@ -996,10 +996,10 @@ function nr(e) {
996
996
  return e.type === x.tag;
997
997
  }
998
998
  function ir(e) {
999
- return !!(e && typeof e == "object" && e.type === W.number);
999
+ return !!(e && typeof e == "object" && e.type === X.number);
1000
1000
  }
1001
1001
  function Ze(e) {
1002
- return !!(e && typeof e == "object" && e.type === W.dateTime);
1002
+ return !!(e && typeof e == "object" && e.type === X.dateTime);
1003
1003
  }
1004
1004
  var sr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sn = /(?:[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;
1005
1005
  function Bn(e) {
@@ -1093,29 +1093,29 @@ function Bn(e) {
1093
1093
  return "";
1094
1094
  }), t;
1095
1095
  }
1096
- var H = function() {
1097
- return H = Object.assign || function(t) {
1096
+ var T = function() {
1097
+ return T = Object.assign || function(t) {
1098
1098
  for (var r, n = 1, i = arguments.length; n < i; n++) {
1099
1099
  r = arguments[n];
1100
1100
  for (var s in r)
1101
1101
  Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
1102
1102
  }
1103
1103
  return t;
1104
- }, H.apply(this, arguments);
1104
+ }, T.apply(this, arguments);
1105
1105
  };
1106
1106
  var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1107
1107
  function Pn(e) {
1108
1108
  if (e.length === 0)
1109
1109
  throw new Error("Number skeleton cannot be empty");
1110
- for (var t = e.split(An).filter(function(c) {
1111
- return c.length > 0;
1110
+ for (var t = e.split(An).filter(function(m) {
1111
+ return m.length > 0;
1112
1112
  }), r = [], n = 0, i = t; n < i.length; n++) {
1113
1113
  var s = i[n], o = s.split("/");
1114
1114
  if (o.length === 0)
1115
1115
  throw new Error("Invalid number skeleton");
1116
1116
  for (var a = o[0], h = o.slice(1), u = 0, l = h; u < l.length; u++) {
1117
- var f = l[u];
1118
- if (f.length === 0)
1117
+ var c = l[u];
1118
+ if (c.length === 0)
1119
1119
  throw new Error("Invalid number skeleton");
1120
1120
  }
1121
1121
  r.push({ stem: a, options: h });
@@ -1125,8 +1125,8 @@ function Pn(e) {
1125
1125
  function On(e) {
1126
1126
  return e.replace(/^(.*?)-/, "");
1127
1127
  }
1128
- var gt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Cn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
1129
- function bt(e) {
1128
+ var pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
1129
+ function gt(e) {
1130
1130
  var t = {};
1131
1131
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
1132
1132
  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)), "";
@@ -1172,7 +1172,7 @@ function ur(e) {
1172
1172
  };
1173
1173
  }
1174
1174
  }
1175
- function In(e) {
1175
+ function Cn(e) {
1176
1176
  var t;
1177
1177
  if (e[0] === "E" && e[1] === "E" ? (t = {
1178
1178
  notation: "engineering"
@@ -1186,7 +1186,7 @@ function In(e) {
1186
1186
  }
1187
1187
  return t;
1188
1188
  }
1189
- function yt(e) {
1189
+ function bt(e) {
1190
1190
  var t = {}, r = ur(e);
1191
1191
  return r || t;
1192
1192
  }
@@ -1225,13 +1225,13 @@ function Nn(e) {
1225
1225
  t.notation = "compact", t.compactDisplay = "long";
1226
1226
  continue;
1227
1227
  case "scientific":
1228
- t = H(H(H({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1229
- return H(H({}, h), yt(u));
1228
+ t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1229
+ return T(T({}, h), bt(u));
1230
1230
  }, {}));
1231
1231
  continue;
1232
1232
  case "engineering":
1233
- t = H(H(H({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1234
- return H(H({}, h), yt(u));
1233
+ t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1234
+ return T(T({}, h), bt(u));
1235
1235
  }, {}));
1236
1236
  continue;
1237
1237
  case "notation-simple":
@@ -1276,13 +1276,13 @@ function Nn(e) {
1276
1276
  case "integer-width":
1277
1277
  if (i.options.length > 1)
1278
1278
  throw new RangeError("integer-width stems only accept a single optional option");
1279
- i.options[0].replace(Cn, function(h, u, l, f, c, p) {
1279
+ i.options[0].replace(In, function(h, u, l, c, m, d) {
1280
1280
  if (u)
1281
1281
  t.minimumIntegerDigits = l.length;
1282
1282
  else {
1283
- if (f && c)
1283
+ if (c && m)
1284
1284
  throw new Error("We currently do not support maximum integer digits");
1285
- if (p)
1285
+ if (d)
1286
1286
  throw new Error("We currently do not support exact integer digits");
1287
1287
  }
1288
1288
  return "";
@@ -1293,28 +1293,28 @@ function Nn(e) {
1293
1293
  t.minimumIntegerDigits = i.stem.length;
1294
1294
  continue;
1295
1295
  }
1296
- if (gt.test(i.stem)) {
1296
+ if (pt.test(i.stem)) {
1297
1297
  if (i.options.length > 1)
1298
1298
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1299
- i.stem.replace(gt, function(h, u, l, f, c, p) {
1300
- return l === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1299
+ i.stem.replace(pt, function(h, u, l, c, m, d) {
1300
+ return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : m && d ? (t.minimumFractionDigits = m.length, t.maximumFractionDigits = m.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1301
1301
  });
1302
1302
  var s = i.options[0];
1303
- s === "w" ? t = H(H({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = H(H({}, t), bt(s)));
1303
+ s === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = T(T({}, t), gt(s)));
1304
1304
  continue;
1305
1305
  }
1306
1306
  if (or.test(i.stem)) {
1307
- t = H(H({}, t), bt(i.stem));
1307
+ t = T(T({}, t), gt(i.stem));
1308
1308
  continue;
1309
1309
  }
1310
1310
  var o = ur(i.stem);
1311
- o && (t = H(H({}, t), o));
1312
- var a = In(i.stem);
1313
- a && (t = H(H({}, t), a));
1311
+ o && (t = T(T({}, t), o));
1312
+ var a = Cn(i.stem);
1313
+ a && (t = T(T({}, t), a));
1314
1314
  }
1315
1315
  return t;
1316
1316
  }
1317
- var _e = {
1317
+ var ye = {
1318
1318
  "001": [
1319
1319
  "H",
1320
1320
  "h"
@@ -2764,11 +2764,11 @@ function Mn(e) {
2764
2764
  }
2765
2765
  var r = e.language, n;
2766
2766
  r !== "root" && (n = e.maximize().region);
2767
- var i = _e[n || ""] || _e[r || ""] || _e["".concat(r, "-001")] || _e["001"];
2767
+ var i = ye[n || ""] || ye[r || ""] || ye["".concat(r, "-001")] || ye["001"];
2768
2768
  return i[0];
2769
2769
  }
2770
2770
  var ke, $n = new RegExp("^".concat(sr.source, "*")), Rn = new RegExp("".concat(sr.source, "*$"));
2771
- function _(e, t) {
2771
+ function y(e, t) {
2772
2772
  return { start: e, end: t };
2773
2773
  }
2774
2774
  var Dn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Gn = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Vn = zn ? Number.isSafeInteger : function(e) {
@@ -2780,7 +2780,7 @@ try {
2780
2780
  } catch (e) {
2781
2781
  Je = !1;
2782
2782
  }
2783
- var _t = Dn ? (
2783
+ var yt = Dn ? (
2784
2784
  // Native
2785
2785
  function(t, r, n) {
2786
2786
  return t.startsWith(r, n);
@@ -2802,7 +2802,7 @@ var _t = Dn ? (
2802
2802
  }
2803
2803
  return n;
2804
2804
  }
2805
- ), Et = (
2805
+ ), _t = (
2806
2806
  // native
2807
2807
  Gn ? Object.fromEntries : (
2808
2808
  // Ponyfill
@@ -2854,11 +2854,11 @@ function hr(e, t) {
2854
2854
  }
2855
2855
  var Qe;
2856
2856
  if (Je) {
2857
- var vt = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2857
+ var Et = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2858
2858
  Qe = function(t, r) {
2859
2859
  var n;
2860
- vt.lastIndex = r;
2861
- var i = vt.exec(t);
2860
+ Et.lastIndex = r;
2861
+ var i = Et.exec(t);
2862
2862
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2863
2863
  };
2864
2864
  } else
@@ -2896,12 +2896,12 @@ var Jn = (
2896
2896
  var a = this.clonePosition();
2897
2897
  this.bump(), i.push({
2898
2898
  type: x.pound,
2899
- location: _(a, this.clonePosition())
2899
+ location: y(a, this.clonePosition())
2900
2900
  });
2901
2901
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2902
2902
  if (n)
2903
2903
  break;
2904
- return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
2904
+ return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
2905
2905
  } else if (s === 60 && !this.ignoreTag && Ye(this.peek() || 0)) {
2906
2906
  var o = this.parseTag(t, r);
2907
2907
  if (o.err)
@@ -2925,7 +2925,7 @@ var Jn = (
2925
2925
  val: {
2926
2926
  type: x.literal,
2927
2927
  value: "<".concat(i, "/>"),
2928
- location: _(n, this.clonePosition())
2928
+ location: y(n, this.clonePosition())
2929
2929
  },
2930
2930
  err: null
2931
2931
  };
@@ -2936,21 +2936,21 @@ var Jn = (
2936
2936
  var o = s.val, a = this.clonePosition();
2937
2937
  if (this.bumpIf("</")) {
2938
2938
  if (this.isEOF() || !Ye(this.char()))
2939
- return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
2939
+ return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
2940
2940
  var h = this.clonePosition(), u = this.parseTagName();
2941
- return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2941
+ return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2942
2942
  val: {
2943
2943
  type: x.tag,
2944
2944
  value: i,
2945
2945
  children: o,
2946
- location: _(n, this.clonePosition())
2946
+ location: y(n, this.clonePosition())
2947
2947
  },
2948
2948
  err: null
2949
- } : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
2949
+ } : this.error(b.INVALID_TAG, y(a, this.clonePosition())));
2950
2950
  } else
2951
- return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
2951
+ return this.error(b.UNCLOSED_TAG, y(n, this.clonePosition()));
2952
2952
  } else
2953
- return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
2953
+ return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
2954
2954
  }, e.prototype.parseTagName = function() {
2955
2955
  var t = this.offset();
2956
2956
  for (this.bump(); !this.isEOF() && Qn(this.char()); )
@@ -2975,7 +2975,7 @@ var Jn = (
2975
2975
  }
2976
2976
  break;
2977
2977
  }
2978
- var h = _(n, this.clonePosition());
2978
+ var h = y(n, this.clonePosition());
2979
2979
  return {
2980
2980
  val: { type: x.literal, value: i, location: h },
2981
2981
  err: null
@@ -3025,14 +3025,14 @@ var Jn = (
3025
3025
  }, e.prototype.parseArgument = function(t, r) {
3026
3026
  var n = this.clonePosition();
3027
3027
  if (this.bump(), this.bumpSpace(), this.isEOF())
3028
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3028
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3029
3029
  if (this.char() === 125)
3030
- return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3030
+ return this.bump(), this.error(b.EMPTY_ARGUMENT, y(n, this.clonePosition()));
3031
3031
  var i = this.parseIdentifierIfPossible().value;
3032
3032
  if (!i)
3033
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3033
+ return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3034
3034
  if (this.bumpSpace(), this.isEOF())
3035
- return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3035
+ return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition()));
3036
3036
  switch (this.char()) {
3037
3037
  case 125:
3038
3038
  return this.bump(), {
@@ -3040,25 +3040,25 @@ var Jn = (
3040
3040
  type: x.argument,
3041
3041
  // value does not include the opening and closing braces.
3042
3042
  value: i,
3043
- location: _(n, this.clonePosition())
3043
+ location: y(n, this.clonePosition())
3044
3044
  },
3045
3045
  err: null
3046
3046
  };
3047
3047
  case 44:
3048
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3048
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3049
3049
  default:
3050
- return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3050
+ return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3051
3051
  }
3052
3052
  }, e.prototype.parseIdentifierIfPossible = function() {
3053
3053
  var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
3054
3054
  this.bumpTo(i);
3055
- var s = this.clonePosition(), o = _(t, s);
3055
+ var s = this.clonePosition(), o = y(t, s);
3056
3056
  return { value: n, location: o };
3057
3057
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3058
3058
  var s, o = this.clonePosition(), a = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3059
3059
  switch (a) {
3060
3060
  case "":
3061
- return this.error(y.EXPECT_ARGUMENT_TYPE, _(o, h));
3061
+ return this.error(b.EXPECT_ARGUMENT_TYPE, y(o, h));
3062
3062
  case "number":
3063
3063
  case "date":
3064
3064
  case "time": {
@@ -3066,40 +3066,40 @@ var Jn = (
3066
3066
  var u = null;
3067
3067
  if (this.bumpIf(",")) {
3068
3068
  this.bumpSpace();
3069
- var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3070
- if (f.err)
3071
- return f;
3072
- var c = Zn(f.val);
3073
- if (c.length === 0)
3074
- return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3075
- var p = _(l, this.clonePosition());
3076
- u = { style: c, styleLocation: p };
3069
+ var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3070
+ if (c.err)
3071
+ return c;
3072
+ var m = Zn(c.val);
3073
+ if (m.length === 0)
3074
+ return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3075
+ var d = y(l, this.clonePosition());
3076
+ u = { style: m, styleLocation: d };
3077
3077
  }
3078
- var b = this.tryParseArgumentClose(i);
3079
- if (b.err)
3080
- return b;
3081
- var g = _(i, this.clonePosition());
3082
- if (u && _t(u == null ? void 0 : u.style, "::", 0)) {
3078
+ var p = this.tryParseArgumentClose(i);
3079
+ if (p.err)
3080
+ return p;
3081
+ var _ = y(i, this.clonePosition());
3082
+ if (u && yt(u == null ? void 0 : u.style, "::", 0)) {
3083
3083
  var v = Wn(u.style.slice(2));
3084
3084
  if (a === "number") {
3085
- var f = this.parseNumberSkeletonFromString(v, u.styleLocation);
3086
- return f.err ? f : {
3087
- val: { type: x.number, value: n, location: g, style: f.val },
3085
+ var c = this.parseNumberSkeletonFromString(v, u.styleLocation);
3086
+ return c.err ? c : {
3087
+ val: { type: x.number, value: n, location: _, style: c.val },
3088
3088
  err: null
3089
3089
  };
3090
3090
  } else {
3091
3091
  if (v.length === 0)
3092
- return this.error(y.EXPECT_DATE_TIME_SKELETON, g);
3093
- var T = v;
3094
- this.locale && (T = Ln(v, this.locale));
3095
- var c = {
3096
- type: W.dateTime,
3097
- pattern: T,
3092
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, _);
3093
+ var E = v;
3094
+ this.locale && (E = Ln(v, this.locale));
3095
+ var m = {
3096
+ type: X.dateTime,
3097
+ pattern: E,
3098
3098
  location: u.styleLocation,
3099
- parsedOptions: this.shouldParseSkeletons ? Bn(T) : {}
3100
- }, d = a === "date" ? x.date : x.time;
3099
+ parsedOptions: this.shouldParseSkeletons ? Bn(E) : {}
3100
+ }, f = a === "date" ? x.date : x.time;
3101
3101
  return {
3102
- val: { type: d, value: n, location: g, style: c },
3102
+ val: { type: f, value: n, location: _, style: m },
3103
3103
  err: null
3104
3104
  };
3105
3105
  }
@@ -3108,7 +3108,7 @@ var Jn = (
3108
3108
  val: {
3109
3109
  type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3110
3110
  value: n,
3111
- location: g,
3111
+ location: _,
3112
3112
  style: (s = u == null ? void 0 : u.style) !== null && s !== void 0 ? s : null
3113
3113
  },
3114
3114
  err: null
@@ -3117,52 +3117,52 @@ var Jn = (
3117
3117
  case "plural":
3118
3118
  case "selectordinal":
3119
3119
  case "select": {
3120
- var m = this.clonePosition();
3120
+ var g = this.clonePosition();
3121
3121
  if (this.bumpSpace(), !this.bumpIf(","))
3122
- return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(m, Be({}, m)));
3122
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(g, Se({}, g)));
3123
3123
  this.bumpSpace();
3124
- var E = this.parseIdentifierIfPossible(), $ = 0;
3125
- if (a !== "select" && E.value === "offset") {
3124
+ var B = this.parseIdentifierIfPossible(), $ = 0;
3125
+ if (a !== "select" && B.value === "offset") {
3126
3126
  if (!this.bumpIf(":"))
3127
- return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3127
+ return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3128
3128
  this.bumpSpace();
3129
- var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3130
- if (f.err)
3131
- return f;
3132
- this.bumpSpace(), E = this.parseIdentifierIfPossible(), $ = f.val;
3129
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3130
+ if (c.err)
3131
+ return c;
3132
+ this.bumpSpace(), B = this.parseIdentifierIfPossible(), $ = c.val;
3133
3133
  }
3134
- var ce = this.tryParsePluralOrSelectOptions(t, a, r, E);
3135
- if (ce.err)
3136
- return ce;
3137
- var b = this.tryParseArgumentClose(i);
3138
- if (b.err)
3139
- return b;
3140
- var ot = _(i, this.clonePosition());
3134
+ var he = this.tryParsePluralOrSelectOptions(t, a, r, B);
3135
+ if (he.err)
3136
+ return he;
3137
+ var p = this.tryParseArgumentClose(i);
3138
+ if (p.err)
3139
+ return p;
3140
+ var st = y(i, this.clonePosition());
3141
3141
  return a === "select" ? {
3142
3142
  val: {
3143
3143
  type: x.select,
3144
3144
  value: n,
3145
- options: Et(ce.val),
3146
- location: ot
3145
+ options: _t(he.val),
3146
+ location: st
3147
3147
  },
3148
3148
  err: null
3149
3149
  } : {
3150
3150
  val: {
3151
3151
  type: x.plural,
3152
3152
  value: n,
3153
- options: Et(ce.val),
3153
+ options: _t(he.val),
3154
3154
  offset: $,
3155
3155
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3156
- location: ot
3156
+ location: st
3157
3157
  },
3158
3158
  err: null
3159
3159
  };
3160
3160
  }
3161
3161
  default:
3162
- return this.error(y.INVALID_ARGUMENT_TYPE, _(o, h));
3162
+ return this.error(b.INVALID_ARGUMENT_TYPE, y(o, h));
3163
3163
  }
3164
3164
  }, e.prototype.tryParseArgumentClose = function(t) {
3165
- return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3165
+ return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, y(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3166
3166
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3167
3167
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3168
3168
  var n = this.char();
@@ -3171,7 +3171,7 @@ var Jn = (
3171
3171
  this.bump();
3172
3172
  var i = this.clonePosition();
3173
3173
  if (!this.bumpUntil("'"))
3174
- return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3174
+ return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, y(i, this.clonePosition()));
3175
3175
  this.bump();
3176
3176
  break;
3177
3177
  }
@@ -3203,11 +3203,11 @@ var Jn = (
3203
3203
  try {
3204
3204
  n = Pn(t);
3205
3205
  } catch (i) {
3206
- return this.error(y.INVALID_NUMBER_SKELETON, r);
3206
+ return this.error(b.INVALID_NUMBER_SKELETON, r);
3207
3207
  }
3208
3208
  return {
3209
3209
  val: {
3210
- type: W.number,
3210
+ type: X.number,
3211
3211
  tokens: n,
3212
3212
  location: r,
3213
3213
  parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
@@ -3217,36 +3217,36 @@ var Jn = (
3217
3217
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3218
3218
  for (var s, o = !1, a = [], h = /* @__PURE__ */ new Set(), u = i.value, l = i.location; ; ) {
3219
3219
  if (u.length === 0) {
3220
- var f = this.clonePosition();
3220
+ var c = this.clonePosition();
3221
3221
  if (r !== "select" && this.bumpIf("=")) {
3222
- var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3223
- if (c.err)
3224
- return c;
3225
- l = _(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3222
+ var m = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3223
+ if (m.err)
3224
+ return m;
3225
+ l = y(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3226
3226
  } else
3227
3227
  break;
3228
3228
  }
3229
3229
  if (h.has(u))
3230
- return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3230
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3231
3231
  u === "other" && (o = !0), this.bumpSpace();
3232
- var p = this.clonePosition();
3232
+ var d = this.clonePosition();
3233
3233
  if (!this.bumpIf("{"))
3234
- return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3235
- var b = this.parseMessage(t + 1, r, n);
3236
- if (b.err)
3237
- return b;
3238
- var g = this.tryParseArgumentClose(p);
3239
- if (g.err)
3240
- return g;
3234
+ return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3235
+ var p = this.parseMessage(t + 1, r, n);
3236
+ if (p.err)
3237
+ return p;
3238
+ var _ = this.tryParseArgumentClose(d);
3239
+ if (_.err)
3240
+ return _;
3241
3241
  a.push([
3242
3242
  u,
3243
3243
  {
3244
- value: b.val,
3245
- location: _(p, this.clonePosition())
3244
+ value: p.val,
3245
+ location: y(d, this.clonePosition())
3246
3246
  }
3247
3247
  ]), h.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, l = s.location;
3248
3248
  }
3249
- return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3249
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, y(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !o ? this.error(b.MISSING_OTHER_CLAUSE, y(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3250
3250
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3251
3251
  var n = 1, i = this.clonePosition();
3252
3252
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3257,7 +3257,7 @@ var Jn = (
3257
3257
  else
3258
3258
  break;
3259
3259
  }
3260
- var h = _(i, this.clonePosition());
3260
+ var h = y(i, this.clonePosition());
3261
3261
  return s ? (o *= n, Vn(o) ? { val: o, err: null } : this.error(r, h)) : this.error(t, h);
3262
3262
  }, e.prototype.offset = function() {
3263
3263
  return this.position.offset;
@@ -3292,7 +3292,7 @@ var Jn = (
3292
3292
  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);
3293
3293
  }
3294
3294
  }, e.prototype.bumpIf = function(t) {
3295
- if (_t(this.message, t, this.offset())) {
3295
+ if (yt(this.message, t, this.offset())) {
3296
3296
  for (var r = 0; r < t.length; r++)
3297
3297
  this.bump();
3298
3298
  return !0;
@@ -3349,22 +3349,22 @@ function Ke(e) {
3349
3349
  });
3350
3350
  }
3351
3351
  function Kn(e, t) {
3352
- t === void 0 && (t = {}), t = Be({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3352
+ t === void 0 && (t = {}), t = Se({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3353
3353
  var r = new Jn(e, t).parse();
3354
3354
  if (r.err) {
3355
- var n = SyntaxError(y[r.err.kind]);
3355
+ var n = SyntaxError(b[r.err.kind]);
3356
3356
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3357
3357
  }
3358
3358
  return t != null && t.captureLocation || Ke(r.val), r.val;
3359
3359
  }
3360
- var Z;
3360
+ var W;
3361
3361
  (function(e) {
3362
3362
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3363
- })(Z || (Z = {}));
3363
+ })(W || (W = {}));
3364
3364
  var Ne = (
3365
3365
  /** @class */
3366
3366
  function(e) {
3367
- Ie(t, e);
3367
+ Ce(t, e);
3368
3368
  function t(r, n, i) {
3369
3369
  var s = e.call(this, r) || this;
3370
3370
  return s.code = n, s.originalMessage = i, s;
@@ -3373,139 +3373,139 @@ var Ne = (
3373
3373
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3374
3374
  }, t;
3375
3375
  }(Error)
3376
- ), xt = (
3376
+ ), vt = (
3377
3377
  /** @class */
3378
3378
  function(e) {
3379
- Ie(t, e);
3379
+ Ce(t, e);
3380
3380
  function t(r, n, i, s) {
3381
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, s) || this;
3381
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, s) || this;
3382
3382
  }
3383
3383
  return t;
3384
3384
  }(Ne)
3385
3385
  ), ei = (
3386
3386
  /** @class */
3387
3387
  function(e) {
3388
- Ie(t, e);
3388
+ Ce(t, e);
3389
3389
  function t(r, n, i) {
3390
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
3390
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
3391
3391
  }
3392
3392
  return t;
3393
3393
  }(Ne)
3394
3394
  ), ti = (
3395
3395
  /** @class */
3396
3396
  function(e) {
3397
- Ie(t, e);
3397
+ Ce(t, e);
3398
3398
  function t(r, n) {
3399
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
3399
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
3400
3400
  }
3401
3401
  return t;
3402
3402
  }(Ne)
3403
- ), w;
3403
+ ), H;
3404
3404
  (function(e) {
3405
3405
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3406
- })(w || (w = {}));
3406
+ })(H || (H = {}));
3407
3407
  function ri(e) {
3408
3408
  return e.length < 2 ? e : e.reduce(function(t, r) {
3409
3409
  var n = t[t.length - 1];
3410
- return !n || n.type !== w.literal || r.type !== w.literal ? t.push(r) : n.value += r.value, t;
3410
+ return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3411
3411
  }, []);
3412
3412
  }
3413
3413
  function ni(e) {
3414
3414
  return typeof e == "function";
3415
3415
  }
3416
- function xe(e, t, r, n, i, s, o) {
3417
- if (e.length === 1 && pt(e[0]))
3416
+ function ve(e, t, r, n, i, s, o) {
3417
+ if (e.length === 1 && dt(e[0]))
3418
3418
  return [
3419
3419
  {
3420
- type: w.literal,
3420
+ type: H.literal,
3421
3421
  value: e[0].value
3422
3422
  }
3423
3423
  ];
3424
3424
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3425
3425
  var l = u[h];
3426
- if (pt(l)) {
3426
+ if (dt(l)) {
3427
3427
  a.push({
3428
- type: w.literal,
3428
+ type: H.literal,
3429
3429
  value: l.value
3430
3430
  });
3431
3431
  continue;
3432
3432
  }
3433
3433
  if (wn(l)) {
3434
3434
  typeof s == "number" && a.push({
3435
- type: w.literal,
3435
+ type: H.literal,
3436
3436
  value: r.getNumberFormat(t).format(s)
3437
3437
  });
3438
3438
  continue;
3439
3439
  }
3440
- var f = l.value;
3441
- if (!(i && f in i))
3442
- throw new ti(f, o);
3443
- var c = i[f];
3440
+ var c = l.value;
3441
+ if (!(i && c in i))
3442
+ throw new ti(c, o);
3443
+ var m = i[c];
3444
3444
  if (Hn(l)) {
3445
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3446
- type: typeof c == "string" ? w.literal : w.object,
3447
- value: c
3445
+ (!m || typeof m == "string" || typeof m == "number") && (m = typeof m == "string" || typeof m == "number" ? String(m) : ""), a.push({
3446
+ type: typeof m == "string" ? H.literal : H.object,
3447
+ value: m
3448
3448
  });
3449
3449
  continue;
3450
3450
  }
3451
3451
  if (Kt(l)) {
3452
- var p = typeof l.style == "string" ? n.date[l.style] : Ze(l.style) ? l.style.parsedOptions : void 0;
3452
+ var d = typeof l.style == "string" ? n.date[l.style] : Ze(l.style) ? l.style.parsedOptions : void 0;
3453
3453
  a.push({
3454
- type: w.literal,
3455
- value: r.getDateTimeFormat(t, p).format(c)
3454
+ type: H.literal,
3455
+ value: r.getDateTimeFormat(t, d).format(m)
3456
3456
  });
3457
3457
  continue;
3458
3458
  }
3459
3459
  if (er(l)) {
3460
- var p = typeof l.style == "string" ? n.time[l.style] : Ze(l.style) ? l.style.parsedOptions : n.time.medium;
3460
+ var d = typeof l.style == "string" ? n.time[l.style] : Ze(l.style) ? l.style.parsedOptions : n.time.medium;
3461
3461
  a.push({
3462
- type: w.literal,
3463
- value: r.getDateTimeFormat(t, p).format(c)
3462
+ type: H.literal,
3463
+ value: r.getDateTimeFormat(t, d).format(m)
3464
3464
  });
3465
3465
  continue;
3466
3466
  }
3467
3467
  if (Yt(l)) {
3468
- var p = typeof l.style == "string" ? n.number[l.style] : ir(l.style) ? l.style.parsedOptions : void 0;
3469
- p && p.scale && (c = c * (p.scale || 1)), a.push({
3470
- type: w.literal,
3471
- value: r.getNumberFormat(t, p).format(c)
3468
+ var d = typeof l.style == "string" ? n.number[l.style] : ir(l.style) ? l.style.parsedOptions : void 0;
3469
+ d && d.scale && (m = m * (d.scale || 1)), a.push({
3470
+ type: H.literal,
3471
+ value: r.getNumberFormat(t, d).format(m)
3472
3472
  });
3473
3473
  continue;
3474
3474
  }
3475
3475
  if (nr(l)) {
3476
- var b = l.children, g = l.value, v = i[g];
3476
+ var p = l.children, _ = l.value, v = i[_];
3477
3477
  if (!ni(v))
3478
- throw new ei(g, "function", o);
3479
- var T = xe(b, t, r, n, i, s), d = v(T.map(function($) {
3478
+ throw new ei(_, "function", o);
3479
+ var E = ve(p, t, r, n, i, s), f = v(E.map(function($) {
3480
3480
  return $.value;
3481
3481
  }));
3482
- Array.isArray(d) || (d = [d]), a.push.apply(a, d.map(function($) {
3482
+ Array.isArray(f) || (f = [f]), a.push.apply(a, f.map(function($) {
3483
3483
  return {
3484
- type: typeof $ == "string" ? w.literal : w.object,
3484
+ type: typeof $ == "string" ? H.literal : H.object,
3485
3485
  value: $
3486
3486
  };
3487
3487
  }));
3488
3488
  }
3489
3489
  if (tr(l)) {
3490
- var m = l.options[c] || l.options.other;
3491
- if (!m)
3492
- throw new xt(l.value, c, Object.keys(l.options), o);
3493
- a.push.apply(a, xe(m.value, t, r, n, i));
3490
+ var g = l.options[m] || l.options.other;
3491
+ if (!g)
3492
+ throw new vt(l.value, m, Object.keys(l.options), o);
3493
+ a.push.apply(a, ve(g.value, t, r, n, i));
3494
3494
  continue;
3495
3495
  }
3496
3496
  if (rr(l)) {
3497
- var m = l.options["=".concat(c)];
3498
- if (!m) {
3497
+ var g = l.options["=".concat(m)];
3498
+ if (!g) {
3499
3499
  if (!Intl.PluralRules)
3500
3500
  throw new Ne(`Intl.PluralRules is not available in this environment.
3501
3501
  Try polyfilling it using "@formatjs/intl-pluralrules"
3502
- `, Z.MISSING_INTL_API, o);
3503
- var E = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3504
- m = l.options[E] || l.options.other;
3502
+ `, W.MISSING_INTL_API, o);
3503
+ var B = r.getPluralRules(t, { type: l.pluralType }).select(m - (l.offset || 0));
3504
+ g = l.options[B] || l.options.other;
3505
3505
  }
3506
- if (!m)
3507
- throw new xt(l.value, c, Object.keys(l.options), o);
3508
- a.push.apply(a, xe(m.value, t, r, n, i, c - (l.offset || 0)));
3506
+ if (!g)
3507
+ throw new vt(l.value, m, Object.keys(l.options), o);
3508
+ a.push.apply(a, ve(g.value, t, r, n, i, m - (l.offset || 0)));
3509
3509
  continue;
3510
3510
  }
3511
3511
  }
@@ -3581,12 +3581,12 @@ var fr = (
3581
3581
  var u = s.formatToParts(h);
3582
3582
  if (u.length === 1)
3583
3583
  return u[0].value;
3584
- var l = u.reduce(function(f, c) {
3585
- return !f.length || c.type !== w.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3584
+ var l = u.reduce(function(c, m) {
3585
+ return !c.length || m.type !== H.literal || typeof c[c.length - 1] != "string" ? c.push(m.value) : c[c.length - 1] += m.value, c;
3586
3586
  }, []);
3587
3587
  return l.length <= 1 ? l[0] || "" : l;
3588
3588
  }, this.formatToParts = function(h) {
3589
- return xe(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3589
+ return ve(s.ast, s.locales, s.formatters, s.formats, h, void 0, s.message);
3590
3590
  }, this.resolvedOptions = function() {
3591
3591
  var h;
3592
3592
  return {
@@ -3700,25 +3700,25 @@ function ai(e, t) {
3700
3700
  n = void 0;
3701
3701
  return n;
3702
3702
  }
3703
- const L = {}, ui = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), mr = (e, t) => {
3703
+ const N = {}, ui = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), mr = (e, t) => {
3704
3704
  if (t == null)
3705
3705
  return;
3706
- if (t in L && e in L[t])
3707
- return L[t][e];
3708
- const r = he(t);
3706
+ if (t in N && e in N[t])
3707
+ return N[t][e];
3708
+ const r = le(t);
3709
3709
  for (let n = 0; n < r.length; n++) {
3710
3710
  const i = r[n], s = hi(i, e);
3711
3711
  if (s)
3712
3712
  return ui(e, t, s);
3713
3713
  }
3714
3714
  };
3715
- let it;
3716
- const le = Ce({});
3715
+ let nt;
3716
+ const ue = Ie({});
3717
3717
  function li(e) {
3718
- return it[e] || null;
3718
+ return nt[e] || null;
3719
3719
  }
3720
3720
  function dr(e) {
3721
- return e in it;
3721
+ return e in nt;
3722
3722
  }
3723
3723
  function hi(e, t) {
3724
3724
  if (!dr(e))
@@ -3729,7 +3729,7 @@ function hi(e, t) {
3729
3729
  function ci(e) {
3730
3730
  if (e == null)
3731
3731
  return;
3732
- const t = he(e);
3732
+ const t = le(e);
3733
3733
  for (let r = 0; r < t.length; r++) {
3734
3734
  const n = t[r];
3735
3735
  if (dr(n))
@@ -3737,28 +3737,28 @@ function ci(e) {
3737
3737
  }
3738
3738
  }
3739
3739
  function pr(e, ...t) {
3740
- delete L[e], le.update((r) => (r[e] = pn.all([r[e] || {}, ...t]), r));
3740
+ delete N[e], ue.update((r) => (r[e] = pn.all([r[e] || {}, ...t]), r));
3741
3741
  }
3742
3742
  q(
3743
- [le],
3743
+ [ue],
3744
3744
  ([e]) => Object.keys(e)
3745
3745
  );
3746
- le.subscribe((e) => it = e);
3747
- const Te = {};
3746
+ ue.subscribe((e) => nt = e);
3747
+ const xe = {};
3748
3748
  function fi(e, t) {
3749
- Te[e].delete(t), Te[e].size === 0 && delete Te[e];
3749
+ xe[e].delete(t), xe[e].size === 0 && delete xe[e];
3750
3750
  }
3751
3751
  function gr(e) {
3752
- return Te[e];
3752
+ return xe[e];
3753
3753
  }
3754
3754
  function mi(e) {
3755
- return he(e).map((t) => {
3755
+ return le(e).map((t) => {
3756
3756
  const r = gr(t);
3757
3757
  return [t, r ? [...r] : []];
3758
3758
  }).filter(([, t]) => t.length > 0);
3759
3759
  }
3760
- function Ae(e) {
3761
- return e == null ? !1 : he(e).some(
3760
+ function Be(e) {
3761
+ return e == null ? !1 : le(e).some(
3762
3762
  (t) => {
3763
3763
  var r;
3764
3764
  return (r = gr(t)) == null ? void 0 : r.size;
@@ -3772,7 +3772,7 @@ function di(e, t) {
3772
3772
  }
3773
3773
  const K = {};
3774
3774
  function br(e) {
3775
- if (!Ae(e))
3775
+ if (!Be(e))
3776
3776
  return e in K ? K[e] : Promise.resolve();
3777
3777
  const t = mi(e);
3778
3778
  return K[e] = Promise.all(
@@ -3780,17 +3780,17 @@ function br(e) {
3780
3780
  ([r, n]) => di(r, n)
3781
3781
  )
3782
3782
  ).then(() => {
3783
- if (Ae(e))
3783
+ if (Be(e))
3784
3784
  return br(e);
3785
3785
  delete K[e];
3786
3786
  }), K[e];
3787
3787
  }
3788
- var Tt = Object.getOwnPropertySymbols, pi = Object.prototype.hasOwnProperty, gi = Object.prototype.propertyIsEnumerable, bi = (e, t) => {
3788
+ var xt = Object.getOwnPropertySymbols, pi = Object.prototype.hasOwnProperty, gi = Object.prototype.propertyIsEnumerable, bi = (e, t) => {
3789
3789
  var r = {};
3790
3790
  for (var n in e)
3791
3791
  pi.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3792
- if (e != null && Tt)
3793
- for (var n of Tt(e))
3792
+ if (e != null && xt)
3793
+ for (var n of xt(e))
3794
3794
  t.indexOf(n) < 0 && gi.call(e, n) && (r[n] = e[n]);
3795
3795
  return r;
3796
3796
  };
@@ -3826,9 +3826,9 @@ const yi = {
3826
3826
  };
3827
3827
  function _i({ locale: e, id: t }) {
3828
3828
  console.warn(
3829
- `[svelte-i18n] The message "${t}" was not found in "${he(
3829
+ `[svelte-i18n] The message "${t}" was not found in "${le(
3830
3830
  e
3831
- ).join('", "')}".${Ae(M()) ? `
3831
+ ).join('", "')}".${Be(M()) ? `
3832
3832
 
3833
3833
  Note: there are at least one loader still registered to this locale that wasn't executed.` : ""}`
3834
3834
  );
@@ -3841,7 +3841,7 @@ const Ei = {
3841
3841
  handleMissingMessage: void 0,
3842
3842
  ignoreTag: !0
3843
3843
  }, te = Ei;
3844
- function J() {
3844
+ function Z() {
3845
3845
  return te;
3846
3846
  }
3847
3847
  function vi(e) {
@@ -3857,47 +3857,47 @@ function vi(e) {
3857
3857
  }
3858
3858
  return n.warnOnMissingMessages && (delete n.warnOnMissingMessages, n.handleMissingMessage == null ? n.handleMissingMessage = _i : console.warn(
3859
3859
  '[svelte-i18n] The "warnOnMissingMessages" option is deprecated. Please use the "handleMissingMessage" option instead.'
3860
- )), Object.assign(te, n, { initialLocale: i }), r && ("number" in r && Object.assign(te.formats.number, r.number), "date" in r && Object.assign(te.formats.date, r.date), "time" in r && Object.assign(te.formats.time, r.time)), G.set(i);
3860
+ )), Object.assign(te, n, { initialLocale: i }), r && ("number" in r && Object.assign(te.formats.number, r.number), "date" in r && Object.assign(te.formats.date, r.date), "time" in r && Object.assign(te.formats.time, r.time)), D.set(i);
3861
3861
  }
3862
- const je = Ce(!1);
3863
- var xi = Object.defineProperty, Ti = Object.defineProperties, Hi = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, wi = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bi = (e, t) => {
3862
+ const je = Ie(!1);
3863
+ var xi = Object.defineProperty, Ti = Object.defineProperties, Hi = Object.getOwnPropertyDescriptors, Tt = Object.getOwnPropertySymbols, wi = Object.prototype.hasOwnProperty, Si = Object.prototype.propertyIsEnumerable, Ht = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bi = (e, t) => {
3864
3864
  for (var r in t || (t = {}))
3865
- wi.call(t, r) && wt(e, r, t[r]);
3866
- if (Ht)
3867
- for (var r of Ht(t))
3868
- Si.call(t, r) && wt(e, r, t[r]);
3865
+ wi.call(t, r) && Ht(e, r, t[r]);
3866
+ if (Tt)
3867
+ for (var r of Tt(t))
3868
+ Si.call(t, r) && Ht(e, r, t[r]);
3869
3869
  return e;
3870
3870
  }, Ai = (e, t) => Ti(e, Hi(t));
3871
3871
  let et;
3872
- const Pe = Ce(null);
3873
- function St(e) {
3872
+ const Ae = Ie(null);
3873
+ function wt(e) {
3874
3874
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3875
3875
  }
3876
- function he(e, t = J().fallbackLocale) {
3877
- const r = St(e);
3878
- return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
3876
+ function le(e, t = Z().fallbackLocale) {
3877
+ const r = wt(e);
3878
+ return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
3879
3879
  }
3880
3880
  function M() {
3881
3881
  return et != null ? et : void 0;
3882
3882
  }
3883
- Pe.subscribe((e) => {
3883
+ Ae.subscribe((e) => {
3884
3884
  et = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3885
3885
  });
3886
3886
  const Pi = (e) => {
3887
- if (e && ci(e) && Ae(e)) {
3888
- const { loadingDelay: t } = J();
3887
+ if (e && ci(e) && Be(e)) {
3888
+ const { loadingDelay: t } = Z();
3889
3889
  let r;
3890
3890
  return typeof window != "undefined" && M() != null && t ? r = window.setTimeout(
3891
3891
  () => je.set(!0),
3892
3892
  t
3893
3893
  ) : je.set(!0), br(e).then(() => {
3894
- Pe.set(e);
3894
+ Ae.set(e);
3895
3895
  }).finally(() => {
3896
3896
  clearTimeout(r), je.set(!1);
3897
3897
  });
3898
3898
  }
3899
- return Pe.set(e);
3900
- }, G = Ai(Bi({}, Pe), {
3899
+ return Ae.set(e);
3900
+ }, D = Ai(Bi({}, Ae), {
3901
3901
  set: Pi
3902
3902
  }), Le = (e) => {
3903
3903
  const t = /* @__PURE__ */ Object.create(null);
@@ -3906,35 +3906,35 @@ const Pi = (e) => {
3906
3906
  return i in t ? t[i] : t[i] = e(n);
3907
3907
  };
3908
3908
  };
3909
- var Oi = Object.defineProperty, Oe = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
3909
+ var Oi = Object.defineProperty, Pe = Object.getOwnPropertySymbols, yr = Object.prototype.hasOwnProperty, _r = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Oi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
3910
3910
  for (var r in t || (t = {}))
3911
- yr.call(t, r) && Bt(e, r, t[r]);
3912
- if (Oe)
3913
- for (var r of Oe(t))
3914
- _r.call(t, r) && Bt(e, r, t[r]);
3911
+ yr.call(t, r) && St(e, r, t[r]);
3912
+ if (Pe)
3913
+ for (var r of Pe(t))
3914
+ _r.call(t, r) && St(e, r, t[r]);
3915
3915
  return e;
3916
3916
  }, Q = (e, t) => {
3917
3917
  var r = {};
3918
3918
  for (var n in e)
3919
3919
  yr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3920
- if (e != null && Oe)
3921
- for (var n of Oe(e))
3920
+ if (e != null && Pe)
3921
+ for (var n of Pe(e))
3922
3922
  t.indexOf(n) < 0 && _r.call(e, n) && (r[n] = e[n]);
3923
3923
  return r;
3924
3924
  };
3925
3925
  const oe = (e, t) => {
3926
- const { formats: r } = J();
3926
+ const { formats: r } = Z();
3927
3927
  if (e in r && t in r[e])
3928
3928
  return r[e][t];
3929
3929
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3930
- }, Ci = Le(
3930
+ }, Ii = Le(
3931
3931
  (e) => {
3932
3932
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3933
3933
  if (r == null)
3934
3934
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3935
3935
  return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
3936
3936
  }
3937
- ), Ii = Le(
3937
+ ), Ci = Le(
3938
3938
  (e) => {
3939
3939
  var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3940
3940
  if (r == null)
@@ -3956,25 +3956,25 @@ const oe = (e, t) => {
3956
3956
  } = t, n = Q(t, [
3957
3957
  "locale"
3958
3958
  ]);
3959
- return Ci(st({ locale: r }, n));
3959
+ return Ii(it({ locale: r }, n));
3960
3960
  }, Mi = (e = {}) => {
3961
3961
  var t = e, {
3962
3962
  locale: r = M()
3963
3963
  } = t, n = Q(t, [
3964
3964
  "locale"
3965
3965
  ]);
3966
- return Ii(st({ locale: r }, n));
3966
+ return Ci(it({ locale: r }, n));
3967
3967
  }, $i = (e = {}) => {
3968
3968
  var t = e, {
3969
3969
  locale: r = M()
3970
3970
  } = t, n = Q(t, [
3971
3971
  "locale"
3972
3972
  ]);
3973
- return Ni(st({ locale: r }, n));
3973
+ return Ni(it({ locale: r }, n));
3974
3974
  }, Ri = Le(
3975
3975
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3976
- (e, t = M()) => new fr(e, t, J().formats, {
3977
- ignoreTag: J().ignoreTag
3976
+ (e, t = M()) => new fr(e, t, Z().formats, {
3977
+ ignoreTag: Z().ignoreTag
3978
3978
  })
3979
3979
  ), Di = (e, t = {}) => {
3980
3980
  var r, n, i, s;
@@ -3991,28 +3991,28 @@ const oe = (e, t) => {
3991
3991
  );
3992
3992
  let l = mr(e, h);
3993
3993
  if (!l)
3994
- l = (s = (i = (n = (r = J()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3994
+ l = (s = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3995
3995
  else if (typeof l != "string")
3996
3996
  return console.warn(
3997
3997
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3998
3998
  ), l;
3999
3999
  if (!a)
4000
4000
  return l;
4001
- let f = l;
4001
+ let c = l;
4002
4002
  try {
4003
- f = Ri(l, h).format(a);
4004
- } catch (c) {
4005
- c instanceof Error && console.warn(
4003
+ c = Ri(l, h).format(a);
4004
+ } catch (m) {
4005
+ m instanceof Error && console.warn(
4006
4006
  `[svelte-i18n] Message "${e}" has syntax error:`,
4007
- c.message
4007
+ m.message
4008
4008
  );
4009
4009
  }
4010
- return f;
4011
- }, Ui = (e, t) => $i(t).format(e), Gi = (e, t) => Mi(t).format(e), ki = (e, t) => Li(t).format(e), Fi = (e, t = M()) => mr(e, t), ji = q([G, le], () => Di);
4012
- q([G], () => Ui);
4013
- q([G], () => Gi);
4014
- q([G], () => ki);
4015
- q([G, le], () => Fi);
4010
+ return c;
4011
+ }, Ui = (e, t) => $i(t).format(e), Gi = (e, t) => Mi(t).format(e), ki = (e, t) => Li(t).format(e), Fi = (e, t = M()) => mr(e, t), ji = q([D, ue], () => Di);
4012
+ q([D], () => Ui);
4013
+ q([D], () => Gi);
4014
+ q([D], () => ki);
4015
+ q([D, ue], () => Fi);
4016
4016
  function zi(e, t) {
4017
4017
  if (e) {
4018
4018
  const r = document.createElement("style");
@@ -4038,15 +4038,15 @@ function Xi(e, t, r) {
4038
4038
  });
4039
4039
  }
4040
4040
  }
4041
- function At(e, t) {
4041
+ function Bt(e, t) {
4042
4042
  pr(e, t);
4043
4043
  }
4044
4044
  function Wi(e) {
4045
4045
  vi({
4046
4046
  fallbackLocale: "en"
4047
- }), G.set(e);
4047
+ }), D.set(e);
4048
4048
  }
4049
- const Pt = {
4049
+ const At = {
4050
4050
  en: {
4051
4051
  errorGeneralTitle: "Error Occurred",
4052
4052
  errorGeneralText: "Something went wrong",
@@ -4103,71 +4103,49 @@ const Pt = {
4103
4103
  function Zi(e) {
4104
4104
  Pr(e, "svelte-m958fw", ".CashierError{display:flex;width:100%;justify-content:center;align-items:center;overflow:hidden auto;background-color:transparent;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-typography, var(--emw--color-white, #ffffff));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-typography, var(--emw--color-white, #ffffff));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-typography-button, var(--emw--color-black, #000000));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, #F9C405)}.CashierErrorButton:hover{background:var(--emw--color-hover, #dbac03)}.CashierErrorButton:active{background:var(--emw--color-active, #fecd1c)}.CashierErrorContent ui-image img{width:300px}");
4105
4105
  }
4106
- const Ji = (e) => ({}), Ot = (e) => ({}), qi = (e) => ({}), Ct = (e) => ({}), Qi = (e) => ({}), It = (e) => ({}), Yi = (e) => ({}), Nt = (e) => ({ class: "CashierErrorIcon" });
4107
- function Lt(e) {
4106
+ const Ji = (e) => ({}), Pt = (e) => ({}), qi = (e) => ({}), Ot = (e) => ({}), Qi = (e) => ({}), It = (e) => ({}), Yi = (e) => ({}), Ct = (e) => ({ class: "CashierErrorIcon" });
4107
+ function Nt(e) {
4108
4108
  let t, r;
4109
4109
  return {
4110
4110
  c() {
4111
- t = P("ui-image"), ft(t.src, r = `${/*assetsurl*/
4112
- e[0]}/error-general-icon.png`) || be(t, "src", r), be(t, "width", "300px"), be(t, "alt", "error");
4111
+ t = O("ui-image"), ct(t.src, r = `${/*assetsurl*/
4112
+ e[0]}/error-general-icon.png`) || ge(t, "src", r), ge(t, "width", "300px"), ge(t, "alt", "error");
4113
4113
  },
4114
4114
  m(n, i) {
4115
- U(n, t, i);
4115
+ J(n, t, i);
4116
4116
  },
4117
4117
  p(n, i) {
4118
4118
  i & /*assetsurl*/
4119
- 1 && !ft(t.src, r = `${/*assetsurl*/
4120
- n[0]}/error-general-icon.png`) && be(t, "src", r);
4119
+ 1 && !ct(t.src, r = `${/*assetsurl*/
4120
+ n[0]}/error-general-icon.png`) && ge(t, "src", r);
4121
4121
  },
4122
4122
  d(n) {
4123
- n && I(t);
4123
+ n && L(t);
4124
4124
  }
4125
4125
  };
4126
4126
  }
4127
4127
  function Ki(e) {
4128
4128
  let t, r = (
4129
4129
  /*assetsurl*/
4130
- e[0] && Lt(e)
4130
+ e[0] && Nt(e)
4131
4131
  );
4132
4132
  return {
4133
4133
  c() {
4134
- r && r.c(), t = Cr();
4134
+ r && r.c(), t = Ir();
4135
4135
  },
4136
4136
  m(n, i) {
4137
- r && r.m(n, i), U(n, t, i);
4137
+ r && r.m(n, i), J(n, t, i);
4138
4138
  },
4139
4139
  p(n, i) {
4140
4140
  /*assetsurl*/
4141
- n[0] ? r ? r.p(n, i) : (r = Lt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4141
+ n[0] ? r ? r.p(n, i) : (r = Nt(n), r.c(), r.m(t.parentNode, t)) : r && (r.d(1), r = null);
4142
4142
  },
4143
4143
  d(n) {
4144
- n && I(t), r && r.d(n);
4144
+ n && L(t), r && r.d(n);
4145
4145
  }
4146
4146
  };
4147
4147
  }
4148
4148
  function es(e) {
4149
- let t, r = (
4150
- /*$_*/
4151
- e[3]("errorGeneralTitle") + ""
4152
- ), n;
4153
- return {
4154
- c() {
4155
- t = P("span"), n = ue(r), R(t, "class", "CashierErrorTitle");
4156
- },
4157
- m(i, s) {
4158
- U(i, t, s), C(t, n);
4159
- },
4160
- p(i, s) {
4161
- s & /*$_*/
4162
- 8 && r !== (r = /*$_*/
4163
- i[3]("errorGeneralTitle") + "") && nt(n, r);
4164
- },
4165
- d(i) {
4166
- i && I(t);
4167
- }
4168
- };
4169
- }
4170
- function ts(e) {
4171
4149
  let t, r = (
4172
4150
  /*$_*/
4173
4151
  e[3](`${/*errorcode*/
@@ -4175,33 +4153,33 @@ function ts(e) {
4175
4153
  ), n;
4176
4154
  return {
4177
4155
  c() {
4178
- t = P("span"), n = ue(r), R(t, "class", "CashierErrorText");
4156
+ t = O("span"), n = Oe(r), z(t, "class", "CashierErrorText");
4179
4157
  },
4180
4158
  m(i, s) {
4181
- U(i, t, s), C(t, n);
4159
+ J(i, t, s), I(t, n);
4182
4160
  },
4183
4161
  p(i, s) {
4184
4162
  s & /*$_, errorcode*/
4185
4163
  10 && r !== (r = /*$_*/
4186
4164
  i[3](`${/*errorcode*/
4187
- i[1] || "errorGeneralText"}`) + "") && nt(n, r);
4165
+ i[1] || "errorGeneralText"}`) + "") && zt(n, r);
4188
4166
  },
4189
4167
  d(i) {
4190
- i && I(t);
4168
+ i && L(t);
4191
4169
  }
4192
4170
  };
4193
4171
  }
4194
- function rs(e) {
4172
+ function ts(e) {
4195
4173
  let t, r, n = (
4196
4174
  /*$_*/
4197
4175
  e[3]("errorGeneralButton") + ""
4198
4176
  ), i, s, o;
4199
4177
  return {
4200
4178
  c() {
4201
- t = P("button"), r = P("span"), i = ue(n), R(t, "class", "CashierErrorButton");
4179
+ t = O("button"), r = O("span"), i = Oe(n), z(t, "class", "CashierErrorButton");
4202
4180
  },
4203
4181
  m(a, h) {
4204
- U(a, t, h), C(t, r), C(r, i), s || (o = Ir(
4182
+ J(a, t, h), I(t, r), I(r, i), s || (o = Cr(
4205
4183
  t,
4206
4184
  "click",
4207
4185
  /*close*/
@@ -4211,200 +4189,199 @@ function rs(e) {
4211
4189
  p(a, h) {
4212
4190
  h & /*$_*/
4213
4191
  8 && n !== (n = /*$_*/
4214
- a[3]("errorGeneralButton") + "") && nt(i, n);
4192
+ a[3]("errorGeneralButton") + "") && zt(i, n);
4215
4193
  },
4216
4194
  d(a) {
4217
- a && I(t), s = !1, o();
4195
+ a && L(t), s = !1, o();
4218
4196
  }
4219
4197
  };
4220
4198
  }
4221
- function ns(e) {
4199
+ function rs(e) {
4222
4200
  let t, r, n, i, s, o;
4223
4201
  const a = (
4224
4202
  /*#slots*/
4225
4203
  e[11].icon
4226
- ), h = me(
4204
+ ), h = fe(
4227
4205
  a,
4228
4206
  e,
4229
4207
  /*$$scope*/
4230
4208
  e[10],
4231
- Nt
4209
+ Ct
4232
4210
  ), u = h || Ki(e), l = (
4233
4211
  /*#slots*/
4234
4212
  e[11].title
4235
- ), f = me(
4213
+ ), c = fe(
4236
4214
  l,
4237
4215
  e,
4238
4216
  /*$$scope*/
4239
4217
  e[10],
4240
4218
  It
4241
- ), c = f || es(e), p = (
4219
+ ), m = (
4242
4220
  /*#slots*/
4243
4221
  e[11].text
4244
- ), b = me(
4245
- p,
4222
+ ), d = fe(
4223
+ m,
4246
4224
  e,
4247
4225
  /*$$scope*/
4248
4226
  e[10],
4249
- Ct
4250
- ), g = b || ts(e), v = (
4227
+ Ot
4228
+ ), p = d || es(e), _ = (
4251
4229
  /*#slots*/
4252
4230
  e[11].button
4253
- ), T = me(
4254
- v,
4231
+ ), v = fe(
4232
+ _,
4255
4233
  e,
4256
4234
  /*$$scope*/
4257
4235
  e[10],
4258
- Ot
4259
- ), d = T || rs(e);
4236
+ Pt
4237
+ ), E = v || ts(e);
4260
4238
  return {
4261
4239
  c() {
4262
- t = P("div"), r = P("div"), u && u.c(), n = $e(), c && c.c(), i = $e(), g && g.c(), s = $e(), d && d.c(), R(r, "class", "CashierErrorContent"), R(t, "class", "CashierError");
4240
+ t = O("div"), r = O("div"), u && u.c(), n = $e(), c && c.c(), i = $e(), p && p.c(), s = $e(), E && E.c(), z(r, "class", "CashierErrorContent"), z(t, "class", "CashierError");
4263
4241
  },
4264
- m(m, E) {
4265
- U(m, t, E), 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), d && d.m(r, null), e[12](t), o = !0;
4242
+ m(f, g) {
4243
+ J(f, t, g), I(t, r), u && u.m(r, null), I(r, n), c && c.m(r, null), I(r, i), p && p.m(r, null), I(r, s), E && E.m(r, null), e[12](t), o = !0;
4266
4244
  },
4267
- p(m, [E]) {
4268
- h ? h.p && (!o || E & /*$$scope*/
4269
- 1024) && pe(
4245
+ p(f, [g]) {
4246
+ h ? h.p && (!o || g & /*$$scope*/
4247
+ 1024) && de(
4270
4248
  h,
4271
4249
  a,
4272
- m,
4250
+ f,
4273
4251
  /*$$scope*/
4274
- m[10],
4275
- o ? de(
4252
+ f[10],
4253
+ o ? me(
4276
4254
  a,
4277
4255
  /*$$scope*/
4278
- m[10],
4279
- E,
4256
+ f[10],
4257
+ g,
4280
4258
  Yi
4281
- ) : ge(
4259
+ ) : pe(
4282
4260
  /*$$scope*/
4283
- m[10]
4261
+ f[10]
4284
4262
  ),
4285
- Nt
4286
- ) : u && u.p && (!o || E & /*assetsurl*/
4287
- 1) && u.p(m, o ? E : -1), f ? f.p && (!o || E & /*$$scope*/
4288
- 1024) && pe(
4289
- f,
4263
+ Ct
4264
+ ) : u && u.p && (!o || g & /*assetsurl*/
4265
+ 1) && u.p(f, o ? g : -1), c && c.p && (!o || g & /*$$scope*/
4266
+ 1024) && de(
4267
+ c,
4290
4268
  l,
4291
- m,
4269
+ f,
4292
4270
  /*$$scope*/
4293
- m[10],
4294
- o ? de(
4271
+ f[10],
4272
+ o ? me(
4295
4273
  l,
4296
4274
  /*$$scope*/
4297
- m[10],
4298
- E,
4275
+ f[10],
4276
+ g,
4299
4277
  Qi
4300
- ) : ge(
4278
+ ) : pe(
4301
4279
  /*$$scope*/
4302
- m[10]
4280
+ f[10]
4303
4281
  ),
4304
4282
  It
4305
- ) : c && c.p && (!o || E & /*$_*/
4306
- 8) && c.p(m, o ? E : -1), b ? b.p && (!o || E & /*$$scope*/
4307
- 1024) && pe(
4308
- b,
4309
- p,
4283
+ ), d ? d.p && (!o || g & /*$$scope*/
4284
+ 1024) && de(
4285
+ d,
4310
4286
  m,
4287
+ f,
4311
4288
  /*$$scope*/
4312
- m[10],
4313
- o ? de(
4314
- p,
4289
+ f[10],
4290
+ o ? me(
4291
+ m,
4315
4292
  /*$$scope*/
4316
- m[10],
4317
- E,
4293
+ f[10],
4294
+ g,
4318
4295
  qi
4319
- ) : ge(
4296
+ ) : pe(
4320
4297
  /*$$scope*/
4321
- m[10]
4298
+ f[10]
4322
4299
  ),
4323
- Ct
4324
- ) : g && g.p && (!o || E & /*$_, errorcode*/
4325
- 10) && g.p(m, o ? E : -1), T ? T.p && (!o || E & /*$$scope*/
4326
- 1024) && pe(
4327
- T,
4300
+ Ot
4301
+ ) : p && p.p && (!o || g & /*$_, errorcode*/
4302
+ 10) && p.p(f, o ? g : -1), v ? v.p && (!o || g & /*$$scope*/
4303
+ 1024) && de(
4328
4304
  v,
4329
- m,
4305
+ _,
4306
+ f,
4330
4307
  /*$$scope*/
4331
- m[10],
4332
- o ? de(
4333
- v,
4308
+ f[10],
4309
+ o ? me(
4310
+ _,
4334
4311
  /*$$scope*/
4335
- m[10],
4336
- E,
4312
+ f[10],
4313
+ g,
4337
4314
  Ji
4338
- ) : ge(
4315
+ ) : pe(
4339
4316
  /*$$scope*/
4340
- m[10]
4317
+ f[10]
4341
4318
  ),
4342
- Ot
4343
- ) : d && d.p && (!o || E & /*$_*/
4344
- 8) && d.p(m, o ? E : -1);
4319
+ Pt
4320
+ ) : E && E.p && (!o || g & /*$_*/
4321
+ 8) && E.p(f, o ? g : -1);
4345
4322
  },
4346
- i(m) {
4347
- o || (ee(u, m), ee(c, m), ee(g, m), ee(d, m), o = !0);
4323
+ i(f) {
4324
+ o || (ee(u, f), ee(c, f), ee(p, f), ee(E, f), o = !0);
4348
4325
  },
4349
- o(m) {
4350
- ye(u, m), ye(c, m), ye(g, m), ye(d, m), o = !1;
4326
+ o(f) {
4327
+ be(u, f), be(c, f), be(p, f), be(E, f), o = !1;
4351
4328
  },
4352
- d(m) {
4353
- m && I(t), u && u.d(m), c && c.d(m), g && g.d(m), d && d.d(m), e[12](null);
4329
+ d(f) {
4330
+ f && L(t), u && u.d(f), c && c.d(f), p && p.d(f), E && E.d(f), e[12](null);
4354
4331
  }
4355
4332
  };
4356
4333
  }
4357
- function is(e, t, r) {
4334
+ function ns(e, t, r) {
4358
4335
  let n;
4359
- Ar(e, ji, (d) => r(3, n = d));
4360
- let { $$slots: i = {}, $$scope: s } = t, { assetsurl: o = "" } = t, { lang: a = "en" } = t, { errorcode: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: f = "" } = t, { mbsource: c = "" } = t, p;
4361
- const b = () => {
4336
+ Ar(e, ji, (f) => r(3, n = f));
4337
+ let { $$slots: i = {}, $$scope: s } = t, { assetsurl: o = "" } = t, { lang: a = "en" } = t, { errorcode: h = "" } = t, { clientstyling: u = "" } = t, { clientstylingurl: l = "" } = t, { translationurl: c = "" } = t, { mbsource: m = "" } = t, d;
4338
+ const p = () => {
4362
4339
  Wi(a);
4363
- }, g = () => {
4364
- fetch(f).then((m) => m.json()).then((m) => {
4365
- Object.keys(m).forEach((E) => {
4366
- At(E, m[E]);
4340
+ }, _ = () => {
4341
+ fetch(c).then((g) => g.json()).then((g) => {
4342
+ Object.keys(g).forEach((B) => {
4343
+ Bt(B, g[B]);
4367
4344
  });
4368
- }).catch((m) => {
4369
- console.error(m);
4345
+ }).catch((g) => {
4346
+ console.error(g);
4370
4347
  });
4371
4348
  };
4372
- Object.keys(Pt).forEach((d) => {
4373
- At(d, Pt[d]);
4349
+ Object.keys(At).forEach((f) => {
4350
+ Bt(f, At[f]);
4374
4351
  });
4375
4352
  const v = () => {
4376
4353
  window.postMessage({ type: "ErrorClose" }, window.location.href);
4377
4354
  };
4378
4355
  Gr(() => () => {
4379
4356
  });
4380
- function T(d) {
4381
- Ve[d ? "unshift" : "push"](() => {
4382
- p = d, r(2, p);
4357
+ function E(f) {
4358
+ Ve[f ? "unshift" : "push"](() => {
4359
+ d = f, r(2, d);
4383
4360
  });
4384
4361
  }
4385
- return e.$$set = (d) => {
4386
- "assetsurl" in d && r(0, o = d.assetsurl), "lang" in d && r(5, a = d.lang), "errorcode" in d && r(1, h = d.errorcode), "clientstyling" in d && r(6, u = d.clientstyling), "clientstylingurl" in d && r(7, l = d.clientstylingurl), "translationurl" in d && r(8, f = d.translationurl), "mbsource" in d && r(9, c = d.mbsource), "$$scope" in d && r(10, s = d.$$scope);
4362
+ return e.$$set = (f) => {
4363
+ "assetsurl" in f && r(0, o = f.assetsurl), "lang" in f && r(5, a = f.lang), "errorcode" in f && r(1, h = f.errorcode), "clientstyling" in f && r(6, u = f.clientstyling), "clientstylingurl" in f && r(7, l = f.clientstylingurl), "translationurl" in f && r(8, c = f.translationurl), "mbsource" in f && r(9, m = f.mbsource), "$$scope" in f && r(10, s = f.$$scope);
4387
4364
  }, e.$$.update = () => {
4388
4365
  e.$$.dirty & /*lang*/
4389
- 32 && a && b(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4390
- 68 && u && p && zi(p, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4391
- 132 && l && p && Vi(p, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4392
- 516 && c && p && Xi(p, `${c}.Style`), e.$$.dirty & /*translationurl*/
4393
- 256 && f && g();
4366
+ 32 && a && p(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4367
+ 68 && u && d && zi(d, u), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4368
+ 132 && l && d && Vi(d, l), e.$$.dirty & /*mbsource, customStylingContainer*/
4369
+ 516 && m && d && Xi(d, `${m}.Style`), e.$$.dirty & /*translationurl*/
4370
+ 256 && c && _();
4394
4371
  }, [
4395
4372
  o,
4396
4373
  h,
4397
- p,
4374
+ d,
4398
4375
  n,
4399
4376
  v,
4400
4377
  a,
4401
4378
  u,
4402
4379
  l,
4403
- f,
4404
4380
  c,
4381
+ m,
4405
4382
  s,
4406
4383
  i,
4407
- T
4384
+ E
4408
4385
  ];
4409
4386
  }
4410
4387
  class Er extends qr {
@@ -4412,9 +4389,9 @@ class Er extends qr {
4412
4389
  super(), Zr(
4413
4390
  this,
4414
4391
  t,
4415
- is,
4416
4392
  ns,
4417
- Rt,
4393
+ rs,
4394
+ $t,
4418
4395
  {
4419
4396
  assetsurl: 0,
4420
4397
  lang: 5,
@@ -4431,93 +4408,93 @@ class Er extends qr {
4431
4408
  return this.$$.ctx[0];
4432
4409
  }
4433
4410
  set assetsurl(t) {
4434
- this.$$set({ assetsurl: t }), O();
4411
+ this.$$set({ assetsurl: t }), P();
4435
4412
  }
4436
4413
  get lang() {
4437
4414
  return this.$$.ctx[5];
4438
4415
  }
4439
4416
  set lang(t) {
4440
- this.$$set({ lang: t }), O();
4417
+ this.$$set({ lang: t }), P();
4441
4418
  }
4442
4419
  get errorcode() {
4443
4420
  return this.$$.ctx[1];
4444
4421
  }
4445
4422
  set errorcode(t) {
4446
- this.$$set({ errorcode: t }), O();
4423
+ this.$$set({ errorcode: t }), P();
4447
4424
  }
4448
4425
  get clientstyling() {
4449
4426
  return this.$$.ctx[6];
4450
4427
  }
4451
4428
  set clientstyling(t) {
4452
- this.$$set({ clientstyling: t }), O();
4429
+ this.$$set({ clientstyling: t }), P();
4453
4430
  }
4454
4431
  get clientstylingurl() {
4455
4432
  return this.$$.ctx[7];
4456
4433
  }
4457
4434
  set clientstylingurl(t) {
4458
- this.$$set({ clientstylingurl: t }), O();
4435
+ this.$$set({ clientstylingurl: t }), P();
4459
4436
  }
4460
4437
  get translationurl() {
4461
4438
  return this.$$.ctx[8];
4462
4439
  }
4463
4440
  set translationurl(t) {
4464
- this.$$set({ translationurl: t }), O();
4441
+ this.$$set({ translationurl: t }), P();
4465
4442
  }
4466
4443
  get mbsource() {
4467
4444
  return this.$$.ctx[9];
4468
4445
  }
4469
4446
  set mbsource(t) {
4470
- this.$$set({ mbsource: t }), O();
4447
+ this.$$set({ mbsource: t }), P();
4471
4448
  }
4472
4449
  }
4473
4450
  Jr(Er, { assetsurl: {}, lang: {}, errorcode: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["icon", "title", "text", "button"], [], !0);
4474
- const ps = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4451
+ const ds = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4475
4452
  __proto__: null,
4476
4453
  default: Er
4477
4454
  }, Symbol.toStringTag, { value: "Module" }));
4478
4455
  export {
4479
- G as $,
4480
- cs as A,
4481
- nt as B,
4482
- ue as C,
4483
- be as D,
4484
- Ir as E,
4456
+ D as $,
4457
+ hs as A,
4458
+ zt as B,
4459
+ Oe as C,
4460
+ ge as D,
4461
+ R as E,
4485
4462
  Cr as F,
4486
- ms as G,
4487
- as as H,
4488
- us as I,
4489
- D as J,
4490
- ft as K,
4463
+ Ir as G,
4464
+ fs as H,
4465
+ os as I,
4466
+ as as J,
4467
+ ct as K,
4491
4468
  ji as L,
4492
4469
  zi as M,
4493
4470
  Vi as N,
4494
4471
  Xi as O,
4495
- ps as P,
4472
+ ds as P,
4496
4473
  qr as S,
4497
4474
  pr as a,
4498
4475
  vi as b,
4499
- ds as c,
4476
+ ms as c,
4500
4477
  Zr as d,
4501
4478
  Jr as e,
4502
- O as f,
4479
+ P as f,
4503
4480
  Kr as g,
4504
4481
  Pr as h,
4505
- Mt as i,
4506
- I as j,
4507
- U as k,
4508
- P as l,
4509
- R as m,
4510
- B as n,
4482
+ Lt as i,
4483
+ L as j,
4484
+ J as k,
4485
+ O as l,
4486
+ z as m,
4487
+ S as n,
4511
4488
  Ar as o,
4512
4489
  Gr as p,
4513
4490
  Ve as q,
4514
- ls as r,
4515
- Rt as s,
4491
+ us as r,
4492
+ $t as s,
4516
4493
  ee as t,
4517
- ye as u,
4518
- hs as v,
4519
- C as w,
4494
+ be as u,
4495
+ ls as v,
4496
+ I as w,
4520
4497
  $e as x,
4521
- fs as y,
4498
+ cs as y,
4522
4499
  ie as z
4523
4500
  };