@everymatrix/casino-hamburger-menu 1.77.19 → 1.77.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Mn = Object.defineProperty, Bn = Object.defineProperties;
2
- var Pn = Object.getOwnPropertyDescriptors;
3
- var Ft = Object.getOwnPropertySymbols;
4
- var On = Object.prototype.hasOwnProperty, In = Object.prototype.propertyIsEnumerable;
5
- var Ye = (e, t, r) => t in e ? Mn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ut = (e, t) => {
1
+ var wn = Object.defineProperty, Hn = Object.defineProperties;
2
+ var Sn = Object.getOwnPropertyDescriptors;
3
+ var It = Object.getOwnPropertySymbols;
4
+ var Tn = Object.prototype.hasOwnProperty, Mn = Object.prototype.propertyIsEnumerable;
5
+ var Qe = (e, t, r) => t in e ? wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Lt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- On.call(t, r) && Ye(e, r, t[r]);
8
- if (Ft)
9
- for (var r of Ft(t))
10
- In.call(t, r) && Ye(e, r, t[r]);
7
+ Tn.call(t, r) && Qe(e, r, t[r]);
8
+ if (It)
9
+ for (var r of It(t))
10
+ Mn.call(t, r) && Qe(e, r, t[r]);
11
11
  return e;
12
- }, $t = (e, t) => Bn(e, Pn(t));
13
- var D = (e, t, r) => (Ye(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Dt = (e, t, r) => new Promise((n, i) => {
12
+ }, Ct = (e, t) => Hn(e, Sn(t));
13
+ var D = (e, t, r) => (Qe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Nt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
17
  a(r.next(u));
@@ -29,8 +29,8 @@ var Dt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function k() {
31
31
  }
32
- const Br = (e) => e;
33
- function Ln(e, t) {
32
+ const Hr = (e) => e;
33
+ function An(e, t) {
34
34
  for (const r in t)
35
35
  e[r] = t[r];
36
36
  return (
@@ -38,29 +38,29 @@ function Ln(e, t) {
38
38
  e
39
39
  );
40
40
  }
41
- function Pr(e) {
41
+ function Sr(e) {
42
42
  return e();
43
43
  }
44
- function Gt() {
44
+ function Rt() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
47
  function K(e) {
48
- e.forEach(Pr);
48
+ e.forEach(Sr);
49
49
  }
50
- function Ve(e) {
50
+ function je(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function Or(e, t) {
53
+ function Tr(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
56
  let Be;
57
57
  function Y(e, t) {
58
58
  return e === t ? !0 : (Be || (Be = document.createElement("a")), Be.href = t, e === Be.href);
59
59
  }
60
- function Cn(e) {
60
+ function Bn(e) {
61
61
  return Object.keys(e).length === 0;
62
62
  }
63
- function Ir(e, ...t) {
63
+ function Mr(e, ...t) {
64
64
  if (e == null) {
65
65
  for (const n of t)
66
66
  n(void 0);
@@ -69,19 +69,19 @@ function Ir(e, ...t) {
69
69
  const r = e.subscribe(...t);
70
70
  return r.unsubscribe ? () => r.unsubscribe() : r;
71
71
  }
72
- function Nn(e, t, r) {
73
- e.$$.on_destroy.push(Ir(t, r));
72
+ function Pn(e, t, r) {
73
+ e.$$.on_destroy.push(Mr(t, r));
74
74
  }
75
- function Rn(e, t, r, n) {
75
+ function On(e, t, r, n) {
76
76
  if (e) {
77
- const i = Lr(e, t, r, n);
77
+ const i = Ar(e, t, r, n);
78
78
  return e[0](i);
79
79
  }
80
80
  }
81
- function Lr(e, t, r, n) {
82
- return e[1] && n ? Ln(r.ctx.slice(), e[1](n(t))) : r.ctx;
81
+ function Ar(e, t, r, n) {
82
+ return e[1] && n ? An(r.ctx.slice(), e[1](n(t))) : r.ctx;
83
83
  }
84
- function Fn(e, t, r, n) {
84
+ function In(e, t, r, n) {
85
85
  if (e[2] && n) {
86
86
  const i = e[2](n(r));
87
87
  if (t.dirty === void 0)
@@ -96,13 +96,13 @@ function Fn(e, t, r, n) {
96
96
  }
97
97
  return t.dirty;
98
98
  }
99
- function Un(e, t, r, n, i, o) {
99
+ function Ln(e, t, r, n, i, o) {
100
100
  if (i) {
101
- const s = Lr(t, r, n, o);
101
+ const s = Ar(t, r, n, o);
102
102
  e.p(s, i);
103
103
  }
104
104
  }
105
- function $n(e) {
105
+ function Cn(e) {
106
106
  if (e.ctx.length > 32) {
107
107
  const t = [], r = e.ctx.length / 32;
108
108
  for (let n = 0; n < r; n++)
@@ -111,17 +111,17 @@ function $n(e) {
111
111
  }
112
112
  return -1;
113
113
  }
114
- const Cr = typeof window != "undefined";
115
- let Dn = Cr ? () => window.performance.now() : () => Date.now(), St = Cr ? (e) => requestAnimationFrame(e) : k;
114
+ const Br = typeof window != "undefined";
115
+ let Nn = Br ? () => window.performance.now() : () => Date.now(), _t = Br ? (e) => requestAnimationFrame(e) : k;
116
116
  const ue = /* @__PURE__ */ new Set();
117
- function Nr(e) {
117
+ function Pr(e) {
118
118
  ue.forEach((t) => {
119
119
  t.c(e) || (ue.delete(t), t.f());
120
- }), ue.size !== 0 && St(Nr);
120
+ }), ue.size !== 0 && _t(Pr);
121
121
  }
122
- function Gn(e) {
122
+ function Rn(e) {
123
123
  let t;
124
- return ue.size === 0 && St(Nr), {
124
+ return ue.size === 0 && _t(Pr), {
125
125
  promise: new Promise((r) => {
126
126
  ue.add(t = { c: e, f: r });
127
127
  }),
@@ -130,17 +130,17 @@ function Gn(e) {
130
130
  }
131
131
  };
132
132
  }
133
- function v(e, t) {
133
+ function y(e, t) {
134
134
  e.appendChild(t);
135
135
  }
136
- function kn(e, t, r) {
137
- const n = Tt(e);
136
+ function Fn(e, t, r) {
137
+ const n = xt(e);
138
138
  if (!n.getElementById(t)) {
139
- const i = M("style");
140
- i.id = t, i.textContent = r, Rr(n, i);
139
+ const i = B("style");
140
+ i.id = t, i.textContent = r, Or(n, i);
141
141
  }
142
142
  }
143
- function Tt(e) {
143
+ function xt(e) {
144
144
  if (!e)
145
145
  return document;
146
146
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -150,12 +150,12 @@ function Tt(e) {
150
150
  t
151
151
  ) : e.ownerDocument;
152
152
  }
153
- function jn(e) {
154
- const t = M("style");
155
- return t.textContent = "/* empty */", Rr(Tt(e), t), t.sheet;
153
+ function Un(e) {
154
+ const t = B("style");
155
+ return t.textContent = "/* empty */", Or(xt(e), t), t.sheet;
156
156
  }
157
- function Rr(e, t) {
158
- return v(
157
+ function Or(e, t) {
158
+ return y(
159
159
  /** @type {Document} */
160
160
  e.head || e,
161
161
  t
@@ -171,7 +171,7 @@ function Fe(e, t) {
171
171
  for (let r = 0; r < e.length; r += 1)
172
172
  e[r] && e[r].d(t);
173
173
  }
174
- function M(e) {
174
+ function B(e) {
175
175
  return document.createElement(e);
176
176
  }
177
177
  function ee(e) {
@@ -189,17 +189,17 @@ function te(e, t, r, n) {
189
189
  function g(e, t, r) {
190
190
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
191
191
  }
192
- function Vn(e) {
192
+ function $n(e) {
193
193
  return Array.from(e.childNodes);
194
194
  }
195
- function de(e, t) {
195
+ function ge(e, t) {
196
196
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
197
197
  t);
198
198
  }
199
- function kt(e, t) {
199
+ function Ft(e, t) {
200
200
  e.value = t == null ? "" : t;
201
201
  }
202
- function jt(e, t, r) {
202
+ function Ut(e, t, r) {
203
203
  for (let n = 0; n < e.options.length; n += 1) {
204
204
  const i = e.options[n];
205
205
  if (i.__value === t) {
@@ -209,14 +209,14 @@ function jt(e, t, r) {
209
209
  }
210
210
  (!r || t !== void 0) && (e.selectedIndex = -1);
211
211
  }
212
- function Wn(e) {
212
+ function Dn(e) {
213
213
  const t = e.querySelector(":checked");
214
214
  return t && t.__value;
215
215
  }
216
- function Xn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
216
+ function Gn(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
217
217
  return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
218
218
  }
219
- function zn(e) {
219
+ function kn(e) {
220
220
  const t = {};
221
221
  return e.childNodes.forEach(
222
222
  /** @param {Element} node */
@@ -227,199 +227,199 @@ function zn(e) {
227
227
  }
228
228
  const Ue = /* @__PURE__ */ new Map();
229
229
  let $e = 0;
230
- function Zn(e) {
230
+ function jn(e) {
231
231
  let t = 5381, r = e.length;
232
232
  for (; r--; )
233
233
  t = (t << 5) - t ^ e.charCodeAt(r);
234
234
  return t >>> 0;
235
235
  }
236
- function qn(e, t) {
237
- const r = { stylesheet: jn(t), rules: {} };
236
+ function Vn(e, t) {
237
+ const r = { stylesheet: Un(t), rules: {} };
238
238
  return Ue.set(e, r), r;
239
239
  }
240
- function Vt(e, t, r, n, i, o, s, a = 0) {
240
+ function $t(e, t, r, n, i, o, s, a = 0) {
241
241
  const u = 16.666 / n;
242
242
  let l = `{
243
243
  `;
244
244
  for (let H = 0; H <= 1; H += u) {
245
- const O = t + (r - t) * o(H);
246
- l += H * 100 + `%{${s(O, 1 - O)}}
245
+ const I = t + (r - t) * o(H);
246
+ l += H * 100 + `%{${s(I, 1 - I)}}
247
247
  `;
248
248
  }
249
249
  const h = l + `100% {${s(r, 1 - r)}}
250
- }`, c = `__svelte_${Zn(h)}_${a}`, f = Tt(e), { stylesheet: m, rules: p } = Ue.get(f) || qn(f, e);
251
- p[c] || (p[c] = !0, m.insertRule(`@keyframes ${c} ${h}`, m.cssRules.length));
250
+ }`, c = `__svelte_${jn(h)}_${a}`, f = xt(e), { stylesheet: d, rules: m } = Ue.get(f) || Vn(f, e);
251
+ m[c] || (m[c] = !0, d.insertRule(`@keyframes ${c} ${h}`, d.cssRules.length));
252
252
  const b = e.style.animation || "";
253
253
  return e.style.animation = `${b ? `${b}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, $e += 1, c;
254
254
  }
255
- function Qn(e, t) {
255
+ function Wn(e, t) {
256
256
  const r = (e.style.animation || "").split(", "), n = r.filter(
257
257
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
258
258
  // remove all Svelte animations
259
259
  ), i = r.length - n.length;
260
- i && (e.style.animation = n.join(", "), $e -= i, $e || Jn());
260
+ i && (e.style.animation = n.join(", "), $e -= i, $e || Xn());
261
261
  }
262
- function Jn() {
263
- St(() => {
262
+ function Xn() {
263
+ _t(() => {
264
264
  $e || (Ue.forEach((e) => {
265
265
  const { ownerNode: t } = e.stylesheet;
266
266
  t && U(t);
267
267
  }), Ue.clear());
268
268
  });
269
269
  }
270
- let we;
271
- function xe(e) {
272
- we = e;
270
+ let He;
271
+ function Ee(e) {
272
+ He = e;
273
273
  }
274
- function Yn() {
275
- if (!we)
274
+ function zn() {
275
+ if (!He)
276
276
  throw new Error("Function called outside component initialization");
277
- return we;
277
+ return He;
278
278
  }
279
- function Kn(e) {
280
- Yn().$$.on_mount.push(e);
279
+ function Zn(e) {
280
+ zn().$$.on_mount.push(e);
281
281
  }
282
282
  const ae = [], De = [];
283
283
  let le = [];
284
- const Wt = [], ei = /* @__PURE__ */ Promise.resolve();
285
- let ut = !1;
286
- function ti() {
287
- ut || (ut = !0, ei.then(G));
284
+ const Dt = [], qn = /* @__PURE__ */ Promise.resolve();
285
+ let ot = !1;
286
+ function Qn() {
287
+ ot || (ot = !0, qn.then(G));
288
288
  }
289
- function he(e) {
289
+ function ce(e) {
290
290
  le.push(e);
291
291
  }
292
- const Ke = /* @__PURE__ */ new Set();
292
+ const Je = /* @__PURE__ */ new Set();
293
293
  let oe = 0;
294
294
  function G() {
295
295
  if (oe !== 0)
296
296
  return;
297
- const e = we;
297
+ const e = He;
298
298
  do {
299
299
  try {
300
300
  for (; oe < ae.length; ) {
301
301
  const t = ae[oe];
302
- oe++, xe(t), ri(t.$$);
302
+ oe++, Ee(t), Jn(t.$$);
303
303
  }
304
304
  } catch (t) {
305
305
  throw ae.length = 0, oe = 0, t;
306
306
  }
307
- for (xe(null), ae.length = 0, oe = 0; De.length; )
307
+ for (Ee(null), ae.length = 0, oe = 0; De.length; )
308
308
  De.pop()();
309
309
  for (let t = 0; t < le.length; t += 1) {
310
310
  const r = le[t];
311
- Ke.has(r) || (Ke.add(r), r());
311
+ Je.has(r) || (Je.add(r), r());
312
312
  }
313
313
  le.length = 0;
314
314
  } while (ae.length);
315
- for (; Wt.length; )
316
- Wt.pop()();
317
- ut = !1, Ke.clear(), xe(e);
315
+ for (; Dt.length; )
316
+ Dt.pop()();
317
+ ot = !1, Je.clear(), Ee(e);
318
318
  }
319
- function ri(e) {
319
+ function Jn(e) {
320
320
  if (e.fragment !== null) {
321
321
  e.update(), K(e.before_update);
322
322
  const t = e.dirty;
323
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(he);
323
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ce);
324
324
  }
325
325
  }
326
- function ni(e) {
326
+ function Yn(e) {
327
327
  const t = [], r = [];
328
328
  le.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), le = t;
329
329
  }
330
- let ve;
331
- function ii() {
332
- return ve || (ve = Promise.resolve(), ve.then(() => {
333
- ve = null;
334
- })), ve;
330
+ let _e;
331
+ function Kn() {
332
+ return _e || (_e = Promise.resolve(), _e.then(() => {
333
+ _e = null;
334
+ })), _e;
335
335
  }
336
- function et(e, t, r) {
337
- e.dispatchEvent(Xn(`${t ? "intro" : "outro"}${r}`));
336
+ function Ye(e, t, r) {
337
+ e.dispatchEvent(Gn(`${t ? "intro" : "outro"}${r}`));
338
338
  }
339
339
  const Ie = /* @__PURE__ */ new Set();
340
- let Z;
341
- function oi() {
342
- Z = {
340
+ let z;
341
+ function ei() {
342
+ z = {
343
343
  r: 0,
344
344
  c: [],
345
- p: Z
345
+ p: z
346
346
  // parent group
347
347
  };
348
348
  }
349
- function si() {
350
- Z.r || K(Z.c), Z = Z.p;
349
+ function ti() {
350
+ z.r || K(z.c), z = z.p;
351
351
  }
352
- function Ee(e, t) {
352
+ function we(e, t) {
353
353
  e && e.i && (Ie.delete(e), e.i(t));
354
354
  }
355
- function lt(e, t, r, n) {
355
+ function st(e, t, r, n) {
356
356
  if (e && e.o) {
357
357
  if (Ie.has(e))
358
358
  return;
359
- Ie.add(e), Z.c.push(() => {
359
+ Ie.add(e), z.c.push(() => {
360
360
  Ie.delete(e), n && (r && e.d(1), n());
361
361
  }), e.o(t);
362
362
  } else
363
363
  n && n();
364
364
  }
365
- const ai = { duration: 0 };
366
- function Xt(e, t, r, n) {
365
+ const ri = { duration: 0 };
366
+ function Gt(e, t, r, n) {
367
367
  let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, u = null, l = null, h;
368
368
  function c() {
369
- l && Qn(e, l);
369
+ l && Wn(e, l);
370
370
  }
371
- function f(p, b) {
371
+ function f(m, b) {
372
372
  const H = (
373
373
  /** @type {Program['d']} */
374
- p.b - s
374
+ m.b - s
375
375
  );
376
376
  return b *= Math.abs(H), {
377
377
  a: s,
378
- b: p.b,
378
+ b: m.b,
379
379
  d: H,
380
380
  duration: b,
381
- start: p.start,
382
- end: p.start + b,
383
- group: p.group
381
+ start: m.start,
382
+ end: m.start + b,
383
+ group: m.group
384
384
  };
385
385
  }
386
- function m(p) {
386
+ function d(m) {
387
387
  const {
388
388
  delay: b = 0,
389
389
  duration: H = 300,
390
- easing: O = Br,
391
- tick: B = k,
392
- css: S
393
- } = o || ai, I = {
394
- start: Dn() + b,
395
- b: p
390
+ easing: I = Hr,
391
+ tick: P = k,
392
+ css: T
393
+ } = o || ri, L = {
394
+ start: Nn() + b,
395
+ b: m
396
396
  };
397
- p || (I.group = Z, Z.r += 1), "inert" in e && (p ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
398
- e.inert, e.inert = !0)), a || u ? u = I : (S && (c(), l = Vt(e, s, p, H, b, O, S)), p && B(0, 1), a = f(I, H), he(() => et(e, p, "start")), Gn((y) => {
399
- if (u && y > u.start && (a = f(u, H), u = null, et(e, a.b, "start"), S && (c(), l = Vt(
397
+ m || (L.group = z, z.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
398
+ e.inert, e.inert = !0)), a || u ? u = L : (T && (c(), l = $t(e, s, m, H, b, I, T)), m && P(0, 1), a = f(L, H), ce(() => Ye(e, m, "start")), Rn((v) => {
399
+ if (u && v > u.start && (a = f(u, H), u = null, Ye(e, a.b, "start"), T && (c(), l = $t(
400
400
  e,
401
401
  s,
402
402
  a.b,
403
403
  a.duration,
404
404
  0,
405
- O,
405
+ I,
406
406
  o.css
407
407
  ))), a) {
408
- if (y >= a.end)
409
- B(s = a.b, 1 - s), et(e, a.b, "end"), u || (a.b ? c() : --a.group.r || K(a.group.c)), a = null;
410
- else if (y >= a.start) {
411
- const T = y - a.start;
412
- s = a.a + a.d * O(T / a.duration), B(s, 1 - s);
408
+ if (v >= a.end)
409
+ P(s = a.b, 1 - s), Ye(e, a.b, "end"), u || (a.b ? c() : --a.group.r || K(a.group.c)), a = null;
410
+ else if (v >= a.start) {
411
+ const M = v - a.start;
412
+ s = a.a + a.d * I(M / a.duration), P(s, 1 - s);
413
413
  }
414
414
  }
415
415
  return !!(a || u);
416
416
  }));
417
417
  }
418
418
  return {
419
- run(p) {
420
- Ve(o) ? ii().then(() => {
421
- o = o({ direction: p ? "in" : "out" }), m(p);
422
- }) : m(p);
419
+ run(m) {
420
+ je(o) ? Kn().then(() => {
421
+ o = o({ direction: m ? "in" : "out" }), d(m);
422
+ }) : d(m);
423
423
  },
424
424
  end() {
425
425
  c(), a = u = null;
@@ -429,23 +429,23 @@ function Xt(e, t, r, n) {
429
429
  function Q(e) {
430
430
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
431
431
  }
432
- function ui(e, t, r) {
432
+ function ni(e, t, r) {
433
433
  const { fragment: n, after_update: i } = e.$$;
434
- n && n.m(t, r), he(() => {
435
- const o = e.$$.on_mount.map(Pr).filter(Ve);
434
+ n && n.m(t, r), ce(() => {
435
+ const o = e.$$.on_mount.map(Sr).filter(je);
436
436
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
437
- }), i.forEach(he);
437
+ }), i.forEach(ce);
438
438
  }
439
- function li(e, t) {
439
+ function ii(e, t) {
440
440
  const r = e.$$;
441
- r.fragment !== null && (ni(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
441
+ r.fragment !== null && (Yn(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
442
442
  }
443
- function hi(e, t) {
444
- e.$$.dirty[0] === -1 && (ae.push(e), ti(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
443
+ function oi(e, t) {
444
+ e.$$.dirty[0] === -1 && (ae.push(e), Qn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
445
445
  }
446
- function ci(e, t, r, n, i, o, s = null, a = [-1]) {
447
- const u = we;
448
- xe(e);
446
+ function si(e, t, r, n, i, o, s = null, a = [-1]) {
447
+ const u = He;
448
+ Ee(e);
449
449
  const l = e.$$ = {
450
450
  fragment: null,
451
451
  ctx: [],
@@ -453,7 +453,7 @@ function ci(e, t, r, n, i, o, s = null, a = [-1]) {
453
453
  props: o,
454
454
  update: k,
455
455
  not_equal: i,
456
- bound: Gt(),
456
+ bound: Rt(),
457
457
  // lifecycle
458
458
  on_mount: [],
459
459
  on_destroy: [],
@@ -462,28 +462,28 @@ function ci(e, t, r, n, i, o, s = null, a = [-1]) {
462
462
  after_update: [],
463
463
  context: new Map(t.context || (u ? u.$$.context : [])),
464
464
  // everything else
465
- callbacks: Gt(),
465
+ callbacks: Rt(),
466
466
  dirty: a,
467
467
  skip_bound: !1,
468
468
  root: t.target || u.$$.root
469
469
  };
470
470
  s && s(l.root);
471
471
  let h = !1;
472
- if (l.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
473
- const p = m.length ? m[0] : f;
474
- return l.ctx && i(l.ctx[c], l.ctx[c] = p) && (!l.skip_bound && l.bound[c] && l.bound[c](p), h && hi(e, c)), f;
472
+ if (l.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
473
+ const m = d.length ? d[0] : f;
474
+ return l.ctx && i(l.ctx[c], l.ctx[c] = m) && (!l.skip_bound && l.bound[c] && l.bound[c](m), h && oi(e, c)), f;
475
475
  }) : [], l.update(), h = !0, K(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
476
476
  if (t.hydrate) {
477
- const c = Vn(t.target);
477
+ const c = $n(t.target);
478
478
  l.fragment && l.fragment.l(c), c.forEach(U);
479
479
  } else
480
480
  l.fragment && l.fragment.c();
481
- t.intro && Ee(e.$$.fragment), ui(e, t.target, t.anchor), G();
481
+ t.intro && we(e.$$.fragment), ni(e, t.target, t.anchor), G();
482
482
  }
483
- xe(u);
483
+ Ee(u);
484
484
  }
485
- let Fr;
486
- typeof HTMLElement == "function" && (Fr = class extends HTMLElement {
485
+ let Ir;
486
+ typeof HTMLElement == "function" && (Ir = class extends HTMLElement {
487
487
  constructor(t, r, n) {
488
488
  super();
489
489
  /** The Svelte component constructor */
@@ -520,14 +520,14 @@ typeof HTMLElement == "function" && (Fr = class extends HTMLElement {
520
520
  }
521
521
  }
522
522
  connectedCallback() {
523
- return Dt(this, null, function* () {
523
+ return Nt(this, null, function* () {
524
524
  if (this.$$cn = !0, !this.$$c) {
525
525
  let t = function(o) {
526
526
  return () => {
527
527
  let s;
528
528
  return {
529
529
  c: function() {
530
- s = M("slot"), o !== "default" && g(s, "name", o);
530
+ s = B("slot"), o !== "default" && g(s, "name", o);
531
531
  },
532
532
  /**
533
533
  * @param {HTMLElement} target
@@ -544,7 +544,7 @@ typeof HTMLElement == "function" && (Fr = class extends HTMLElement {
544
544
  };
545
545
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
546
546
  return;
547
- const r = {}, n = zn(this);
547
+ const r = {}, n = kn(this);
548
548
  for (const o of this.$$s)
549
549
  o in n && (r[o] = [t(o)]);
550
550
  for (const o of this.attributes) {
@@ -555,7 +555,7 @@ typeof HTMLElement == "function" && (Fr = class extends HTMLElement {
555
555
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
556
556
  this.$$c = new this.$$ctor({
557
557
  target: this.shadowRoot || this,
558
- props: $t(Ut({}, this.$$d), {
558
+ props: Ct(Lt({}, this.$$d), {
559
559
  $$slots: r,
560
560
  $$scope: {
561
561
  ctx: []
@@ -633,8 +633,8 @@ function Le(e, t, r, n) {
633
633
  return t;
634
634
  }
635
635
  }
636
- function fi(e, t, r, n, i, o) {
637
- let s = class extends Fr {
636
+ function ai(e, t, r, n, i, o) {
637
+ let s = class extends Ir {
638
638
  constructor() {
639
639
  super(e, r, i), this.$$p_d = t;
640
640
  }
@@ -664,7 +664,7 @@ function fi(e, t, r, n, i, o) {
664
664
  }), e.element = /** @type {any} */
665
665
  s, s;
666
666
  }
667
- class pi {
667
+ class ui {
668
668
  constructor() {
669
669
  /**
670
670
  * ### PRIVATE API
@@ -685,7 +685,7 @@ class pi {
685
685
  }
686
686
  /** @returns {void} */
687
687
  $destroy() {
688
- li(this, 1), this.$destroy = k;
688
+ ii(this, 1), this.$destroy = k;
689
689
  }
690
690
  /**
691
691
  * @template {Extract<keyof Events, string>} K
@@ -694,7 +694,7 @@ class pi {
694
694
  * @returns {() => void}
695
695
  */
696
696
  $on(t, r) {
697
- if (!Ve(r))
697
+ if (!je(r))
698
698
  return k;
699
699
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
700
700
  return n.push(r), () => {
@@ -707,12 +707,12 @@ class pi {
707
707
  * @returns {void}
708
708
  */
709
709
  $set(t) {
710
- this.$$set && !Cn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
710
+ this.$$set && !Bn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
711
711
  }
712
712
  }
713
- const mi = "4";
714
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mi);
715
- function zt(e, { delay: t = 0, duration: r = 400, easing: n = Br } = {}) {
713
+ const li = "4";
714
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(li);
715
+ function kt(e, { delay: t = 0, duration: r = 400, easing: n = Hr } = {}) {
716
716
  const i = +getComputedStyle(e).opacity;
717
717
  return {
718
718
  delay: t,
@@ -735,24 +735,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
735
735
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
736
736
  PERFORMANCE OF THIS SOFTWARE.
737
737
  ***************************************************************************** */
738
- var ht = function(e, t) {
739
- return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
738
+ var at = function(e, t) {
739
+ return at = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
740
740
  r.__proto__ = n;
741
741
  } || function(r, n) {
742
742
  for (var i in n)
743
743
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
744
- }, ht(e, t);
744
+ }, at(e, t);
745
745
  };
746
- function Te(e, t) {
746
+ function q(e, t) {
747
747
  if (typeof t != "function" && t !== null)
748
748
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
749
- ht(e, t);
749
+ at(e, t);
750
750
  function r() {
751
751
  this.constructor = e;
752
752
  }
753
753
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
754
754
  }
755
- function ct(e) {
755
+ var S = function() {
756
+ return S = Object.assign || function(t) {
757
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
758
+ r = arguments[n];
759
+ for (var o in r)
760
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
761
+ }
762
+ return t;
763
+ }, S.apply(this, arguments);
764
+ };
765
+ function hi(e, t) {
766
+ var r = {};
767
+ for (var n in e)
768
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
769
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
770
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
771
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
772
+ return r;
773
+ }
774
+ function ut(e) {
756
775
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
757
776
  if (r)
758
777
  return r.call(e);
@@ -764,7 +783,7 @@ function ct(e) {
764
783
  };
765
784
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
766
785
  }
767
- function ft(e, t) {
786
+ function lt(e, t) {
768
787
  var r = typeof Symbol == "function" && e[Symbol.iterator];
769
788
  if (!r)
770
789
  return e;
@@ -784,22 +803,22 @@ function ft(e, t) {
784
803
  }
785
804
  return o;
786
805
  }
787
- function pt(e, t, r) {
788
- if (arguments.length === 2)
806
+ function he(e, t, r) {
807
+ if (r || arguments.length === 2)
789
808
  for (var n = 0, i = t.length, o; n < i; n++)
790
809
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
791
810
  return e.concat(o || t);
792
811
  }
793
- function q(e) {
812
+ function Z(e) {
794
813
  return typeof e == "function";
795
814
  }
796
- function Ur(e) {
815
+ function Lr(e) {
797
816
  var t = function(n) {
798
817
  Error.call(n), n.stack = new Error().stack;
799
818
  }, r = e(t);
800
819
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
801
820
  }
802
- var tt = Ur(function(e) {
821
+ var Ke = Lr(function(e) {
803
822
  return function(r) {
804
823
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
805
824
  ` + r.map(function(n, i) {
@@ -808,13 +827,13 @@ var tt = Ur(function(e) {
808
827
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
809
828
  };
810
829
  });
811
- function mt(e, t) {
830
+ function ht(e, t) {
812
831
  if (e) {
813
832
  var r = e.indexOf(t);
814
833
  0 <= r && e.splice(r, 1);
815
834
  }
816
835
  }
817
- var We = function() {
836
+ var Ve = function() {
818
837
  function e(t) {
819
838
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
820
839
  }
@@ -826,7 +845,7 @@ var We = function() {
826
845
  if (s)
827
846
  if (this._parentage = null, Array.isArray(s))
828
847
  try {
829
- for (var a = ct(s), u = a.next(); !u.done; u = a.next()) {
848
+ for (var a = ut(s), u = a.next(); !u.done; u = a.next()) {
830
849
  var l = u.value;
831
850
  l.remove(this);
832
851
  }
@@ -843,29 +862,29 @@ var We = function() {
843
862
  else
844
863
  s.remove(this);
845
864
  var h = this.initialTeardown;
846
- if (q(h))
865
+ if (Z(h))
847
866
  try {
848
867
  h();
849
868
  } catch (b) {
850
- o = b instanceof tt ? b.errors : [b];
869
+ o = b instanceof Ke ? b.errors : [b];
851
870
  }
852
871
  var c = this._finalizers;
853
872
  if (c) {
854
873
  this._finalizers = null;
855
874
  try {
856
- for (var f = ct(c), m = f.next(); !m.done; m = f.next()) {
857
- var p = m.value;
875
+ for (var f = ut(c), d = f.next(); !d.done; d = f.next()) {
876
+ var m = d.value;
858
877
  try {
859
- Zt(p);
878
+ jt(m);
860
879
  } catch (b) {
861
- o = o != null ? o : [], b instanceof tt ? o = pt(pt([], ft(o)), ft(b.errors)) : o.push(b);
880
+ o = o != null ? o : [], b instanceof Ke ? o = he(he([], lt(o)), lt(b.errors)) : o.push(b);
862
881
  }
863
882
  }
864
883
  } catch (b) {
865
884
  n = { error: b };
866
885
  } finally {
867
886
  try {
868
- m && !m.done && (i = f.return) && i.call(f);
887
+ d && !d.done && (i = f.return) && i.call(f);
869
888
  } finally {
870
889
  if (n)
871
890
  throw n.error;
@@ -873,13 +892,13 @@ var We = function() {
873
892
  }
874
893
  }
875
894
  if (o)
876
- throw new tt(o);
895
+ throw new Ke(o);
877
896
  }
878
897
  }, e.prototype.add = function(t) {
879
898
  var r;
880
899
  if (t && t !== this)
881
900
  if (this.closed)
882
- Zt(t);
901
+ jt(t);
883
902
  else {
884
903
  if (t instanceof e) {
885
904
  if (t.closed || t._hasParent(this))
@@ -896,52 +915,52 @@ var We = function() {
896
915
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
897
916
  }, e.prototype._removeParent = function(t) {
898
917
  var r = this._parentage;
899
- r === t ? this._parentage = null : Array.isArray(r) && mt(r, t);
918
+ r === t ? this._parentage = null : Array.isArray(r) && ht(r, t);
900
919
  }, e.prototype.remove = function(t) {
901
920
  var r = this._finalizers;
902
- r && mt(r, t), t instanceof e && t._removeParent(this);
921
+ r && ht(r, t), t instanceof e && t._removeParent(this);
903
922
  }, e.EMPTY = function() {
904
923
  var t = new e();
905
924
  return t.closed = !0, t;
906
925
  }(), e;
907
- }(), $r = We.EMPTY;
908
- function Dr(e) {
909
- return e instanceof We || e && "closed" in e && q(e.remove) && q(e.add) && q(e.unsubscribe);
926
+ }(), Cr = Ve.EMPTY;
927
+ function Nr(e) {
928
+ return e instanceof Ve || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
910
929
  }
911
- function Zt(e) {
912
- q(e) ? e() : e.unsubscribe();
930
+ function jt(e) {
931
+ Z(e) ? e() : e.unsubscribe();
913
932
  }
914
- var di = {
933
+ var ci = {
915
934
  Promise: void 0
916
- }, gi = {
935
+ }, fi = {
917
936
  setTimeout: function(e, t) {
918
937
  for (var r = [], n = 2; n < arguments.length; n++)
919
938
  r[n - 2] = arguments[n];
920
- return setTimeout.apply(void 0, pt([e, t], ft(r)));
939
+ return setTimeout.apply(void 0, he([e, t], lt(r)));
921
940
  },
922
941
  clearTimeout: function(e) {
923
942
  return clearTimeout(e);
924
943
  },
925
944
  delegate: void 0
926
945
  };
927
- function bi(e) {
928
- gi.setTimeout(function() {
946
+ function mi(e) {
947
+ fi.setTimeout(function() {
929
948
  throw e;
930
949
  });
931
950
  }
932
- function qt() {
951
+ function Vt() {
933
952
  }
934
953
  function Ce(e) {
935
954
  e();
936
955
  }
937
- var Gr = function(e) {
938
- Te(t, e);
956
+ var Rr = function(e) {
957
+ q(t, e);
939
958
  function t(r) {
940
959
  var n = e.call(this) || this;
941
- return n.isStopped = !1, r ? (n.destination = r, Dr(r) && r.add(n)) : n.destination = _i, n;
960
+ return n.isStopped = !1, r ? (n.destination = r, Nr(r) && r.add(n)) : n.destination = gi, n;
942
961
  }
943
962
  return t.create = function(r, n, i) {
944
- return new dt(r, n, i);
963
+ return new ct(r, n, i);
945
964
  }, t.prototype.next = function(r) {
946
965
  this.isStopped || this._next(r);
947
966
  }, t.prototype.error = function(r) {
@@ -965,7 +984,7 @@ var Gr = function(e) {
965
984
  this.unsubscribe();
966
985
  }
967
986
  }, t;
968
- }(We), yi = function() {
987
+ }(Ve), di = function() {
969
988
  function e(t) {
970
989
  this.partialObserver = t;
971
990
  }
@@ -996,43 +1015,43 @@ var Gr = function(e) {
996
1015
  Pe(r);
997
1016
  }
998
1017
  }, e;
999
- }(), dt = function(e) {
1000
- Te(t, e);
1018
+ }(), ct = function(e) {
1019
+ q(t, e);
1001
1020
  function t(r, n, i) {
1002
1021
  var o = e.call(this) || this, s;
1003
- return q(r) || !r ? s = {
1022
+ return Z(r) || !r ? s = {
1004
1023
  next: r != null ? r : void 0,
1005
1024
  error: n != null ? n : void 0,
1006
1025
  complete: i != null ? i : void 0
1007
- } : s = r, o.destination = new yi(s), o;
1026
+ } : s = r, o.destination = new di(s), o;
1008
1027
  }
1009
1028
  return t;
1010
- }(Gr);
1029
+ }(Rr);
1011
1030
  function Pe(e) {
1012
- bi(e);
1031
+ mi(e);
1013
1032
  }
1014
- function vi(e) {
1033
+ function pi(e) {
1015
1034
  throw e;
1016
1035
  }
1017
- var _i = {
1036
+ var gi = {
1018
1037
  closed: !0,
1019
- next: qt,
1020
- error: vi,
1021
- complete: qt
1022
- }, xi = function() {
1038
+ next: Vt,
1039
+ error: pi,
1040
+ complete: Vt
1041
+ }, bi = function() {
1023
1042
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1024
1043
  }();
1025
- function Ei(e) {
1044
+ function vi(e) {
1026
1045
  return e;
1027
1046
  }
1028
- function wi(e) {
1029
- return e.length === 0 ? Ei : e.length === 1 ? e[0] : function(r) {
1047
+ function yi(e) {
1048
+ return e.length === 0 ? vi : e.length === 1 ? e[0] : function(r) {
1030
1049
  return e.reduce(function(n, i) {
1031
1050
  return i(n);
1032
1051
  }, r);
1033
1052
  };
1034
1053
  }
1035
- var Qt = function() {
1054
+ var Wt = function() {
1036
1055
  function e(t) {
1037
1056
  t && (this._subscribe = t);
1038
1057
  }
@@ -1040,7 +1059,7 @@ var Qt = function() {
1040
1059
  var r = new e();
1041
1060
  return r.source = this, r.operator = t, r;
1042
1061
  }, e.prototype.subscribe = function(t, r, n) {
1043
- var i = this, o = Si(t) ? t : new dt(t, r, n);
1062
+ var i = this, o = xi(t) ? t : new ct(t, r, n);
1044
1063
  return Ce(function() {
1045
1064
  var s = i, a = s.operator, u = s.source;
1046
1065
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -1053,8 +1072,8 @@ var Qt = function() {
1053
1072
  }
1054
1073
  }, e.prototype.forEach = function(t, r) {
1055
1074
  var n = this;
1056
- return r = Jt(r), new r(function(i, o) {
1057
- var s = new dt({
1075
+ return r = Xt(r), new r(function(i, o) {
1076
+ var s = new ct({
1058
1077
  next: function(a) {
1059
1078
  try {
1060
1079
  t(a);
@@ -1070,15 +1089,15 @@ var Qt = function() {
1070
1089
  }, e.prototype._subscribe = function(t) {
1071
1090
  var r;
1072
1091
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1073
- }, e.prototype[xi] = function() {
1092
+ }, e.prototype[bi] = function() {
1074
1093
  return this;
1075
1094
  }, e.prototype.pipe = function() {
1076
1095
  for (var t = [], r = 0; r < arguments.length; r++)
1077
1096
  t[r] = arguments[r];
1078
- return wi(t)(this);
1097
+ return yi(t)(this);
1079
1098
  }, e.prototype.toPromise = function(t) {
1080
1099
  var r = this;
1081
- return t = Jt(t), new t(function(n, i) {
1100
+ return t = Xt(t), new t(function(n, i) {
1082
1101
  var o;
1083
1102
  r.subscribe(function(s) {
1084
1103
  return o = s;
@@ -1092,32 +1111,32 @@ var Qt = function() {
1092
1111
  return new e(t);
1093
1112
  }, e;
1094
1113
  }();
1095
- function Jt(e) {
1114
+ function Xt(e) {
1096
1115
  var t;
1097
- return (t = e != null ? e : di.Promise) !== null && t !== void 0 ? t : Promise;
1116
+ return (t = e != null ? e : ci.Promise) !== null && t !== void 0 ? t : Promise;
1098
1117
  }
1099
- function Hi(e) {
1100
- return e && q(e.next) && q(e.error) && q(e.complete);
1118
+ function _i(e) {
1119
+ return e && Z(e.next) && Z(e.error) && Z(e.complete);
1101
1120
  }
1102
- function Si(e) {
1103
- return e && e instanceof Gr || Hi(e) && Dr(e);
1121
+ function xi(e) {
1122
+ return e && e instanceof Rr || _i(e) && Nr(e);
1104
1123
  }
1105
- var Ti = Ur(function(e) {
1124
+ var Ei = Lr(function(e) {
1106
1125
  return function() {
1107
1126
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1108
1127
  };
1109
- }), kr = function(e) {
1110
- Te(t, e);
1128
+ }), Fr = function(e) {
1129
+ q(t, e);
1111
1130
  function t() {
1112
1131
  var r = e.call(this) || this;
1113
1132
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1114
1133
  }
1115
1134
  return t.prototype.lift = function(r) {
1116
- var n = new Yt(this, this);
1135
+ var n = new zt(this, this);
1117
1136
  return n.operator = r, n;
1118
1137
  }, t.prototype._throwIfClosed = function() {
1119
1138
  if (this.closed)
1120
- throw new Ti();
1139
+ throw new Ei();
1121
1140
  }, t.prototype.next = function(r) {
1122
1141
  var n = this;
1123
1142
  Ce(function() {
@@ -1125,7 +1144,7 @@ var Ti = Ur(function(e) {
1125
1144
  if (n._throwIfClosed(), !n.isStopped) {
1126
1145
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1127
1146
  try {
1128
- for (var s = ct(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1147
+ for (var s = ut(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1129
1148
  var u = a.value;
1130
1149
  u.next(r);
1131
1150
  }
@@ -1174,20 +1193,20 @@ var Ti = Ur(function(e) {
1174
1193
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1175
1194
  }, t.prototype._innerSubscribe = function(r) {
1176
1195
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1177
- return o || s ? $r : (this.currentObservers = null, a.push(r), new We(function() {
1178
- n.currentObservers = null, mt(a, r);
1196
+ return o || s ? Cr : (this.currentObservers = null, a.push(r), new Ve(function() {
1197
+ n.currentObservers = null, ht(a, r);
1179
1198
  }));
1180
1199
  }, t.prototype._checkFinalizedStatuses = function(r) {
1181
1200
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1182
1201
  i ? r.error(o) : s && r.complete();
1183
1202
  }, t.prototype.asObservable = function() {
1184
- var r = new Qt();
1203
+ var r = new Wt();
1185
1204
  return r.source = this, r;
1186
1205
  }, t.create = function(r, n) {
1187
- return new Yt(r, n);
1206
+ return new zt(r, n);
1188
1207
  }, t;
1189
- }(Qt), Yt = function(e) {
1190
- Te(t, e);
1208
+ }(Wt), zt = function(e) {
1209
+ q(t, e);
1191
1210
  function t(r, n) {
1192
1211
  var i = e.call(this) || this;
1193
1212
  return i.destination = r, i.source = n, i;
@@ -1203,17 +1222,17 @@ var Ti = Ur(function(e) {
1203
1222
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1204
1223
  }, t.prototype._subscribe = function(r) {
1205
1224
  var n, i;
1206
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $r;
1225
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Cr;
1207
1226
  }, t;
1208
- }(kr), jr = {
1227
+ }(Fr), Ur = {
1209
1228
  now: function() {
1210
- return (jr.delegate || Date).now();
1229
+ return (Ur.delegate || Date).now();
1211
1230
  },
1212
1231
  delegate: void 0
1213
- }, Ai = function(e) {
1214
- Te(t, e);
1232
+ }, wi = function(e) {
1233
+ q(t, e);
1215
1234
  function t(r, n, i) {
1216
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jr);
1235
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ur);
1217
1236
  var o = e.call(this) || this;
1218
1237
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1219
1238
  }
@@ -1233,24 +1252,24 @@ var Ti = Ur(function(e) {
1233
1252
  l && o.splice(0, l + 1);
1234
1253
  }
1235
1254
  }, t;
1236
- }(kr);
1237
- const Kt = [], er = {}, Mi = (e, t = 0) => {
1238
- if (Kt.indexOf(e) == -1) {
1239
- const r = new Ai(t);
1240
- er[e] = r, Kt.push(e);
1255
+ }(Fr);
1256
+ const Zt = [], qt = {}, Hi = (e, t = 0) => {
1257
+ if (Zt.indexOf(e) == -1) {
1258
+ const r = new wi(t);
1259
+ qt[e] = r, Zt.push(e);
1241
1260
  }
1242
- return er[e];
1261
+ return qt[e];
1243
1262
  }, se = [];
1244
- function Bi(e, t) {
1263
+ function Si(e, t) {
1245
1264
  return {
1246
- subscribe: Xe(e, t).subscribe
1265
+ subscribe: We(e, t).subscribe
1247
1266
  };
1248
1267
  }
1249
- function Xe(e, t = k) {
1268
+ function We(e, t = k) {
1250
1269
  let r;
1251
1270
  const n = /* @__PURE__ */ new Set();
1252
1271
  function i(a) {
1253
- if (Or(e, a) && (e = a, r)) {
1272
+ if (Tr(e, a) && (e = a, r)) {
1254
1273
  const u = !se.length;
1255
1274
  for (const l of n)
1256
1275
  l[1](), se.push(l, e);
@@ -1272,12 +1291,12 @@ function Xe(e, t = k) {
1272
1291
  }
1273
1292
  return { set: i, update: o, subscribe: s };
1274
1293
  }
1275
- function ge(e, t, r) {
1294
+ function be(e, t, r) {
1276
1295
  const n = !Array.isArray(e), i = n ? [e] : e;
1277
1296
  if (!i.every(Boolean))
1278
1297
  throw new Error("derived() expects stores as input, got a falsy value");
1279
1298
  const o = t.length < 2;
1280
- return Bi(r, (s, a) => {
1299
+ return Si(r, (s, a) => {
1281
1300
  let u = !1;
1282
1301
  const l = [];
1283
1302
  let h = 0, c = k;
@@ -1285,11 +1304,11 @@ function ge(e, t, r) {
1285
1304
  if (h)
1286
1305
  return;
1287
1306
  c();
1288
- const p = t(n ? l[0] : l, s, a);
1289
- o ? s(p) : c = Ve(p) ? p : k;
1290
- }, m = i.map(
1291
- (p, b) => Ir(
1292
- p,
1307
+ const m = t(n ? l[0] : l, s, a);
1308
+ o ? s(m) : c = je(m) ? m : k;
1309
+ }, d = i.map(
1310
+ (m, b) => Mr(
1311
+ m,
1293
1312
  (H) => {
1294
1313
  l[b] = H, h &= ~(1 << b), u && f();
1295
1314
  },
@@ -1299,157 +1318,115 @@ function ge(e, t, r) {
1299
1318
  )
1300
1319
  );
1301
1320
  return u = !0, f(), function() {
1302
- K(m), c(), u = !1;
1321
+ K(d), c(), u = !1;
1303
1322
  };
1304
1323
  });
1305
1324
  }
1306
- function Pi(e) {
1325
+ function Ti(e) {
1307
1326
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1308
1327
  }
1309
- var Oi = function(t) {
1310
- return Ii(t) && !Li(t);
1328
+ var Mi = function(t) {
1329
+ return Ai(t) && !Bi(t);
1311
1330
  };
1312
- function Ii(e) {
1331
+ function Ai(e) {
1313
1332
  return !!e && typeof e == "object";
1314
1333
  }
1315
- function Li(e) {
1334
+ function Bi(e) {
1316
1335
  var t = Object.prototype.toString.call(e);
1317
- return t === "[object RegExp]" || t === "[object Date]" || Ri(e);
1336
+ return t === "[object RegExp]" || t === "[object Date]" || Ii(e);
1318
1337
  }
1319
- var Ci = typeof Symbol == "function" && Symbol.for, Ni = Ci ? Symbol.for("react.element") : 60103;
1320
- function Ri(e) {
1321
- return e.$$typeof === Ni;
1338
+ var Pi = typeof Symbol == "function" && Symbol.for, Oi = Pi ? Symbol.for("react.element") : 60103;
1339
+ function Ii(e) {
1340
+ return e.$$typeof === Oi;
1322
1341
  }
1323
- function Fi(e) {
1342
+ function Li(e) {
1324
1343
  return Array.isArray(e) ? [] : {};
1325
1344
  }
1326
- function He(e, t) {
1327
- return t.clone !== !1 && t.isMergeableObject(e) ? ce(Fi(e), e, t) : e;
1345
+ function Se(e, t) {
1346
+ return t.clone !== !1 && t.isMergeableObject(e) ? fe(Li(e), e, t) : e;
1328
1347
  }
1329
- function Ui(e, t, r) {
1348
+ function Ci(e, t, r) {
1330
1349
  return e.concat(t).map(function(n) {
1331
- return He(n, r);
1350
+ return Se(n, r);
1332
1351
  });
1333
1352
  }
1334
- function $i(e, t) {
1353
+ function Ni(e, t) {
1335
1354
  if (!t.customMerge)
1336
- return ce;
1355
+ return fe;
1337
1356
  var r = t.customMerge(e);
1338
- return typeof r == "function" ? r : ce;
1357
+ return typeof r == "function" ? r : fe;
1339
1358
  }
1340
- function Di(e) {
1359
+ function Ri(e) {
1341
1360
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1342
1361
  return Object.propertyIsEnumerable.call(e, t);
1343
1362
  }) : [];
1344
1363
  }
1345
- function tr(e) {
1346
- return Object.keys(e).concat(Di(e));
1364
+ function Qt(e) {
1365
+ return Object.keys(e).concat(Ri(e));
1347
1366
  }
1348
- function Vr(e, t) {
1367
+ function $r(e, t) {
1349
1368
  try {
1350
1369
  return t in e;
1351
1370
  } catch (r) {
1352
1371
  return !1;
1353
1372
  }
1354
1373
  }
1355
- function Gi(e, t) {
1356
- return Vr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1374
+ function Fi(e, t) {
1375
+ return $r(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1357
1376
  }
1358
- function ki(e, t, r) {
1377
+ function Ui(e, t, r) {
1359
1378
  var n = {};
1360
- return r.isMergeableObject(e) && tr(e).forEach(function(i) {
1361
- n[i] = He(e[i], r);
1362
- }), tr(t).forEach(function(i) {
1363
- Gi(e, i) || (Vr(e, i) && r.isMergeableObject(t[i]) ? n[i] = $i(i, r)(e[i], t[i], r) : n[i] = He(t[i], r));
1379
+ return r.isMergeableObject(e) && Qt(e).forEach(function(i) {
1380
+ n[i] = Se(e[i], r);
1381
+ }), Qt(t).forEach(function(i) {
1382
+ Fi(e, i) || ($r(e, i) && r.isMergeableObject(t[i]) ? n[i] = Ni(i, r)(e[i], t[i], r) : n[i] = Se(t[i], r));
1364
1383
  }), n;
1365
1384
  }
1366
- function ce(e, t, r) {
1367
- r = r || {}, r.arrayMerge = r.arrayMerge || Ui, r.isMergeableObject = r.isMergeableObject || Oi, r.cloneUnlessOtherwiseSpecified = He;
1385
+ function fe(e, t, r) {
1386
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ci, r.isMergeableObject = r.isMergeableObject || Mi, r.cloneUnlessOtherwiseSpecified = Se;
1368
1387
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1369
- return o ? n ? r.arrayMerge(e, t, r) : ki(e, t, r) : He(t, r);
1388
+ return o ? n ? r.arrayMerge(e, t, r) : Ui(e, t, r) : Se(t, r);
1370
1389
  }
1371
- ce.all = function(t, r) {
1390
+ fe.all = function(t, r) {
1372
1391
  if (!Array.isArray(t))
1373
1392
  throw new Error("first argument should be an array");
1374
1393
  return t.reduce(function(n, i) {
1375
- return ce(n, i, r);
1394
+ return fe(n, i, r);
1376
1395
  }, {});
1377
1396
  };
1378
- var ji = ce, Vi = ji;
1379
- const Wi = /* @__PURE__ */ Pi(Vi);
1380
- var gt = function(e, t) {
1381
- return gt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1382
- r.__proto__ = n;
1383
- } || function(r, n) {
1384
- for (var i in n)
1385
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1386
- }, gt(e, t);
1387
- };
1388
- function ze(e, t) {
1389
- if (typeof t != "function" && t !== null)
1390
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1391
- gt(e, t);
1392
- function r() {
1393
- this.constructor = e;
1394
- }
1395
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1396
- }
1397
- var X = function() {
1398
- return X = Object.assign || function(t) {
1399
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1400
- r = arguments[n];
1401
- for (var o in r)
1402
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1403
- }
1404
- return t;
1405
- }, X.apply(this, arguments);
1406
- };
1407
- function Xi(e, t) {
1408
- var r = {};
1409
- for (var n in e)
1410
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1411
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1412
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1413
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1414
- return r;
1415
- }
1416
- function rt(e, t, r) {
1417
- if (r || arguments.length === 2)
1418
- for (var n = 0, i = t.length, o; n < i; n++)
1419
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1420
- return e.concat(o || Array.prototype.slice.call(t));
1421
- }
1422
- function nt(e, t) {
1423
- var r = t && t.cache ? t.cache : Ki, n = t && t.serializer ? t.serializer : Ji, i = t && t.strategy ? t.strategy : qi;
1397
+ var $i = fe, Di = $i;
1398
+ const Gi = /* @__PURE__ */ Ti(Di);
1399
+ function et(e, t) {
1400
+ var r = t && t.cache ? t.cache : Zi, n = t && t.serializer ? t.serializer : Xi, i = t && t.strategy ? t.strategy : Vi;
1424
1401
  return i(e, {
1425
1402
  cache: r,
1426
1403
  serializer: n
1427
1404
  });
1428
1405
  }
1429
- function zi(e) {
1406
+ function ki(e) {
1430
1407
  return e == null || typeof e == "number" || typeof e == "boolean";
1431
1408
  }
1432
- function Zi(e, t, r, n) {
1433
- var i = zi(n) ? n : r(n), o = t.get(i);
1409
+ function ji(e, t, r, n) {
1410
+ var i = ki(n) ? n : r(n), o = t.get(i);
1434
1411
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1435
1412
  }
1436
- function Wr(e, t, r) {
1413
+ function Dr(e, t, r) {
1437
1414
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1438
1415
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1439
1416
  }
1440
- function Xr(e, t, r, n, i) {
1417
+ function Gr(e, t, r, n, i) {
1441
1418
  return r.bind(t, e, n, i);
1442
1419
  }
1443
- function qi(e, t) {
1444
- var r = e.length === 1 ? Zi : Wr;
1445
- return Xr(e, this, r, t.cache.create(), t.serializer);
1420
+ function Vi(e, t) {
1421
+ var r = e.length === 1 ? ji : Dr;
1422
+ return Gr(e, this, r, t.cache.create(), t.serializer);
1446
1423
  }
1447
- function Qi(e, t) {
1448
- return Xr(e, this, Wr, t.cache.create(), t.serializer);
1424
+ function Wi(e, t) {
1425
+ return Gr(e, this, Dr, t.cache.create(), t.serializer);
1449
1426
  }
1450
- var Ji = function() {
1427
+ var Xi = function() {
1451
1428
  return JSON.stringify(arguments);
1452
- }, Yi = (
1429
+ }, zi = (
1453
1430
  /** @class */
1454
1431
  function() {
1455
1432
  function e() {
@@ -1461,71 +1438,61 @@ var Ji = function() {
1461
1438
  this.cache[t] = r;
1462
1439
  }, e;
1463
1440
  }()
1464
- ), Ki = {
1441
+ ), Zi = {
1465
1442
  create: function() {
1466
- return new Yi();
1443
+ return new zi();
1467
1444
  }
1468
- }, it = {
1469
- variadic: Qi
1470
- }, Ge = function() {
1471
- return Ge = Object.assign || function(t) {
1472
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1473
- r = arguments[n];
1474
- for (var o in r)
1475
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1476
- }
1477
- return t;
1478
- }, Ge.apply(this, arguments);
1479
- };
1480
- var E;
1445
+ }, tt = {
1446
+ variadic: Wi
1447
+ }, E;
1481
1448
  (function(e) {
1482
1449
  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";
1483
1450
  })(E || (E = {}));
1484
- var P;
1451
+ var O;
1485
1452
  (function(e) {
1486
1453
  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";
1487
- })(P || (P = {}));
1488
- var fe;
1454
+ })(O || (O = {}));
1455
+ var me;
1489
1456
  (function(e) {
1490
1457
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1491
- })(fe || (fe = {}));
1492
- function rr(e) {
1493
- return e.type === P.literal;
1458
+ })(me || (me = {}));
1459
+ function Jt(e) {
1460
+ return e.type === O.literal;
1494
1461
  }
1495
- function eo(e) {
1496
- return e.type === P.argument;
1462
+ function qi(e) {
1463
+ return e.type === O.argument;
1497
1464
  }
1498
- function zr(e) {
1499
- return e.type === P.number;
1465
+ function kr(e) {
1466
+ return e.type === O.number;
1500
1467
  }
1501
- function Zr(e) {
1502
- return e.type === P.date;
1468
+ function jr(e) {
1469
+ return e.type === O.date;
1503
1470
  }
1504
- function qr(e) {
1505
- return e.type === P.time;
1471
+ function Vr(e) {
1472
+ return e.type === O.time;
1506
1473
  }
1507
- function Qr(e) {
1508
- return e.type === P.select;
1474
+ function Wr(e) {
1475
+ return e.type === O.select;
1509
1476
  }
1510
- function Jr(e) {
1511
- return e.type === P.plural;
1477
+ function Xr(e) {
1478
+ return e.type === O.plural;
1512
1479
  }
1513
- function to(e) {
1514
- return e.type === P.pound;
1480
+ function Qi(e) {
1481
+ return e.type === O.pound;
1515
1482
  }
1516
- function Yr(e) {
1517
- return e.type === P.tag;
1483
+ function zr(e) {
1484
+ return e.type === O.tag;
1518
1485
  }
1519
- function Kr(e) {
1520
- return !!(e && typeof e == "object" && e.type === fe.number);
1486
+ function Zr(e) {
1487
+ return !!(e && typeof e == "object" && e.type === me.number);
1521
1488
  }
1522
- function bt(e) {
1523
- return !!(e && typeof e == "object" && e.type === fe.dateTime);
1489
+ function ft(e) {
1490
+ return !!(e && typeof e == "object" && e.type === me.dateTime);
1524
1491
  }
1525
- var en = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ro = /(?:[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;
1526
- function no(e) {
1492
+ var qr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ji = /(?:[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;
1493
+ function Yi(e) {
1527
1494
  var t = {};
1528
- return e.replace(ro, function(r) {
1495
+ return e.replace(Ji, function(r) {
1529
1496
  var n = r.length;
1530
1497
  switch (r[0]) {
1531
1498
  case "G":
@@ -1614,21 +1581,11 @@ function no(e) {
1614
1581
  return "";
1615
1582
  }), t;
1616
1583
  }
1617
- var C = function() {
1618
- return C = Object.assign || function(t) {
1619
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1620
- r = arguments[n];
1621
- for (var o in r)
1622
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1623
- }
1624
- return t;
1625
- }, C.apply(this, arguments);
1626
- };
1627
- var io = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1628
- function oo(e) {
1584
+ var Ki = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1585
+ function eo(e) {
1629
1586
  if (e.length === 0)
1630
1587
  throw new Error("Number skeleton cannot be empty");
1631
- for (var t = e.split(io).filter(function(f) {
1588
+ for (var t = e.split(Ki).filter(function(f) {
1632
1589
  return f.length > 0;
1633
1590
  }), r = [], n = 0, i = t; n < i.length; n++) {
1634
1591
  var o = i[n], s = o.split("/");
@@ -1643,17 +1600,17 @@ function oo(e) {
1643
1600
  }
1644
1601
  return r;
1645
1602
  }
1646
- function so(e) {
1603
+ function to(e) {
1647
1604
  return e.replace(/^(.*?)-/, "");
1648
1605
  }
1649
- var nr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tn = /^(@+)?(\+|#+)?[rs]?$/g, ao = /(\*)(0+)|(#+)(0+)|(0+)/g, rn = /^(0+)$/;
1650
- function ir(e) {
1606
+ var Yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qr = /^(@+)?(\+|#+)?[rs]?$/g, ro = /(\*)(0+)|(#+)(0+)|(0+)/g, Jr = /^(0+)$/;
1607
+ function Kt(e) {
1651
1608
  var t = {};
1652
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(tn, function(r, n, i) {
1609
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qr, function(r, n, i) {
1653
1610
  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)), "";
1654
1611
  }), t;
1655
1612
  }
1656
- function nn(e) {
1613
+ function Yr(e) {
1657
1614
  switch (e) {
1658
1615
  case "sign-auto":
1659
1616
  return {
@@ -1693,7 +1650,7 @@ function nn(e) {
1693
1650
  };
1694
1651
  }
1695
1652
  }
1696
- function uo(e) {
1653
+ function no(e) {
1697
1654
  var t;
1698
1655
  if (e[0] === "E" && e[1] === "E" ? (t = {
1699
1656
  notation: "engineering"
@@ -1701,17 +1658,17 @@ function uo(e) {
1701
1658
  notation: "scientific"
1702
1659
  }, e = e.slice(1)), t) {
1703
1660
  var r = e.slice(0, 2);
1704
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !rn.test(e))
1661
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Jr.test(e))
1705
1662
  throw new Error("Malformed concise eng/scientific notation");
1706
1663
  t.minimumIntegerDigits = e.length;
1707
1664
  }
1708
1665
  return t;
1709
1666
  }
1710
- function or(e) {
1711
- var t = {}, r = nn(e);
1667
+ function er(e) {
1668
+ var t = {}, r = Yr(e);
1712
1669
  return r || t;
1713
1670
  }
1714
- function lo(e) {
1671
+ function io(e) {
1715
1672
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1716
1673
  var i = n[r];
1717
1674
  switch (i.stem) {
@@ -1735,7 +1692,7 @@ function lo(e) {
1735
1692
  continue;
1736
1693
  case "measure-unit":
1737
1694
  case "unit":
1738
- t.style = "unit", t.unit = so(i.options[0]);
1695
+ t.style = "unit", t.unit = to(i.options[0]);
1739
1696
  continue;
1740
1697
  case "compact-short":
1741
1698
  case "K":
@@ -1746,13 +1703,13 @@ function lo(e) {
1746
1703
  t.notation = "compact", t.compactDisplay = "long";
1747
1704
  continue;
1748
1705
  case "scientific":
1749
- t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1750
- return C(C({}, u), or(l));
1706
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1707
+ return S(S({}, u), er(l));
1751
1708
  }, {}));
1752
1709
  continue;
1753
1710
  case "engineering":
1754
- t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1755
- return C(C({}, u), or(l));
1711
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1712
+ return S(S({}, u), er(l));
1756
1713
  }, {}));
1757
1714
  continue;
1758
1715
  case "notation-simple":
@@ -1797,41 +1754,41 @@ function lo(e) {
1797
1754
  case "integer-width":
1798
1755
  if (i.options.length > 1)
1799
1756
  throw new RangeError("integer-width stems only accept a single optional option");
1800
- i.options[0].replace(ao, function(u, l, h, c, f, m) {
1757
+ i.options[0].replace(ro, function(u, l, h, c, f, d) {
1801
1758
  if (l)
1802
1759
  t.minimumIntegerDigits = h.length;
1803
1760
  else {
1804
1761
  if (c && f)
1805
1762
  throw new Error("We currently do not support maximum integer digits");
1806
- if (m)
1763
+ if (d)
1807
1764
  throw new Error("We currently do not support exact integer digits");
1808
1765
  }
1809
1766
  return "";
1810
1767
  });
1811
1768
  continue;
1812
1769
  }
1813
- if (rn.test(i.stem)) {
1770
+ if (Jr.test(i.stem)) {
1814
1771
  t.minimumIntegerDigits = i.stem.length;
1815
1772
  continue;
1816
1773
  }
1817
- if (nr.test(i.stem)) {
1774
+ if (Yt.test(i.stem)) {
1818
1775
  if (i.options.length > 1)
1819
1776
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1820
- i.stem.replace(nr, function(u, l, h, c, f, m) {
1821
- return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1777
+ i.stem.replace(Yt, function(u, l, h, c, f, d) {
1778
+ return h === "*" ? t.minimumFractionDigits = l.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = l.length, t.maximumFractionDigits = l.length), "";
1822
1779
  });
1823
1780
  var o = i.options[0];
1824
- o === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = C(C({}, t), ir(o)));
1781
+ o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Kt(o)));
1825
1782
  continue;
1826
1783
  }
1827
- if (tn.test(i.stem)) {
1828
- t = C(C({}, t), ir(i.stem));
1784
+ if (Qr.test(i.stem)) {
1785
+ t = S(S({}, t), Kt(i.stem));
1829
1786
  continue;
1830
1787
  }
1831
- var s = nn(i.stem);
1832
- s && (t = C(C({}, t), s));
1833
- var a = uo(i.stem);
1834
- a && (t = C(C({}, t), a));
1788
+ var s = Yr(i.stem);
1789
+ s && (t = S(S({}, t), s));
1790
+ var a = no(i.stem);
1791
+ a && (t = S(S({}, t), a));
1835
1792
  }
1836
1793
  return t;
1837
1794
  }
@@ -3250,13 +3207,13 @@ var Oe = {
3250
3207
  "h"
3251
3208
  ]
3252
3209
  };
3253
- function ho(e, t) {
3210
+ function oo(e, t) {
3254
3211
  for (var r = "", n = 0; n < e.length; n++) {
3255
3212
  var i = e.charAt(n);
3256
3213
  if (i === "j") {
3257
3214
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3258
3215
  o++, n++;
3259
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = co(t);
3216
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = so(t);
3260
3217
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3261
3218
  r += u;
3262
3219
  for (; s-- > 0; )
@@ -3266,7 +3223,7 @@ function ho(e, t) {
3266
3223
  }
3267
3224
  return r;
3268
3225
  }
3269
- function co(e) {
3226
+ function so(e) {
3270
3227
  var t = e.hourCycle;
3271
3228
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3272
3229
  e.hourCycles && // @ts-ignore
@@ -3288,20 +3245,20 @@ function co(e) {
3288
3245
  var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
3289
3246
  return i[0];
3290
3247
  }
3291
- var ot, fo = new RegExp("^".concat(en.source, "*")), po = new RegExp("".concat(en.source, "*$"));
3248
+ var rt, ao = new RegExp("^".concat(qr.source, "*")), uo = new RegExp("".concat(qr.source, "*$"));
3292
3249
  function w(e, t) {
3293
3250
  return { start: e, end: t };
3294
3251
  }
3295
- var mo = !!String.prototype.startsWith && "_a".startsWith("a", 1), go = !!String.fromCodePoint, bo = !!Object.fromEntries, yo = !!String.prototype.codePointAt, vo = !!String.prototype.trimStart, _o = !!String.prototype.trimEnd, xo = !!Number.isSafeInteger, Eo = xo ? Number.isSafeInteger : function(e) {
3252
+ var lo = !!String.prototype.startsWith && "_a".startsWith("a", 1), ho = !!String.fromCodePoint, co = !!Object.fromEntries, fo = !!String.prototype.codePointAt, mo = !!String.prototype.trimStart, po = !!String.prototype.trimEnd, go = !!Number.isSafeInteger, bo = go ? Number.isSafeInteger : function(e) {
3296
3253
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3297
- }, yt = !0;
3254
+ }, mt = !0;
3298
3255
  try {
3299
- var wo = sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3300
- yt = ((ot = wo.exec("a")) === null || ot === void 0 ? void 0 : ot[0]) === "a";
3256
+ var vo = en("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3257
+ mt = ((rt = vo.exec("a")) === null || rt === void 0 ? void 0 : rt[0]) === "a";
3301
3258
  } catch (e) {
3302
- yt = !1;
3259
+ mt = !1;
3303
3260
  }
3304
- var sr = mo ? (
3261
+ var tr = lo ? (
3305
3262
  // Native
3306
3263
  function(t, r, n) {
3307
3264
  return t.startsWith(r, n);
@@ -3311,7 +3268,7 @@ var sr = mo ? (
3311
3268
  function(t, r, n) {
3312
3269
  return t.slice(n, n + r.length) === r;
3313
3270
  }
3314
- ), vt = go ? String.fromCodePoint : (
3271
+ ), dt = ho ? String.fromCodePoint : (
3315
3272
  // IE11
3316
3273
  function() {
3317
3274
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3323,9 +3280,9 @@ var sr = mo ? (
3323
3280
  }
3324
3281
  return n;
3325
3282
  }
3326
- ), ar = (
3283
+ ), rr = (
3327
3284
  // native
3328
- bo ? Object.fromEntries : (
3285
+ co ? Object.fromEntries : (
3329
3286
  // Ponyfill
3330
3287
  function(t) {
3331
3288
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3335,7 +3292,7 @@ var sr = mo ? (
3335
3292
  return r;
3336
3293
  }
3337
3294
  )
3338
- ), on = yo ? (
3295
+ ), Kr = fo ? (
3339
3296
  // Native
3340
3297
  function(t, r) {
3341
3298
  return t.codePointAt(r);
@@ -3349,7 +3306,7 @@ var sr = mo ? (
3349
3306
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3350
3307
  }
3351
3308
  }
3352
- ), Ho = vo ? (
3309
+ ), yo = mo ? (
3353
3310
  // Native
3354
3311
  function(t) {
3355
3312
  return t.trimStart();
@@ -3357,9 +3314,9 @@ var sr = mo ? (
3357
3314
  ) : (
3358
3315
  // Ponyfill
3359
3316
  function(t) {
3360
- return t.replace(fo, "");
3317
+ return t.replace(ao, "");
3361
3318
  }
3362
- ), So = _o ? (
3319
+ ), _o = po ? (
3363
3320
  // Native
3364
3321
  function(t) {
3365
3322
  return t.trimEnd();
@@ -3367,32 +3324,32 @@ var sr = mo ? (
3367
3324
  ) : (
3368
3325
  // Ponyfill
3369
3326
  function(t) {
3370
- return t.replace(po, "");
3327
+ return t.replace(uo, "");
3371
3328
  }
3372
3329
  );
3373
- function sn(e, t) {
3330
+ function en(e, t) {
3374
3331
  return new RegExp(e, t);
3375
3332
  }
3376
- var _t;
3377
- if (yt) {
3378
- var ur = sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3379
- _t = function(t, r) {
3333
+ var pt;
3334
+ if (mt) {
3335
+ var nr = en("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3336
+ pt = function(t, r) {
3380
3337
  var n;
3381
- ur.lastIndex = r;
3382
- var i = ur.exec(t);
3338
+ nr.lastIndex = r;
3339
+ var i = nr.exec(t);
3383
3340
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3384
3341
  };
3385
3342
  } else
3386
- _t = function(t, r) {
3343
+ pt = function(t, r) {
3387
3344
  for (var n = []; ; ) {
3388
- var i = on(t, r);
3389
- if (i === void 0 || an(i) || Bo(i))
3345
+ var i = Kr(t, r);
3346
+ if (i === void 0 || tn(i) || Ho(i))
3390
3347
  break;
3391
3348
  n.push(i), r += i >= 65536 ? 2 : 1;
3392
3349
  }
3393
- return vt.apply(void 0, n);
3350
+ return dt.apply(void 0, n);
3394
3351
  };
3395
- var To = (
3352
+ var xo = (
3396
3353
  /** @class */
3397
3354
  function() {
3398
3355
  function e(t, r) {
@@ -3416,14 +3373,14 @@ var To = (
3416
3373
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3417
3374
  var a = this.clonePosition();
3418
3375
  this.bump(), i.push({
3419
- type: P.pound,
3376
+ type: O.pound,
3420
3377
  location: w(a, this.clonePosition())
3421
3378
  });
3422
3379
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3423
3380
  if (n)
3424
3381
  break;
3425
3382
  return this.error(E.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3426
- } else if (o === 60 && !this.ignoreTag && xt(this.peek() || 0)) {
3383
+ } else if (o === 60 && !this.ignoreTag && gt(this.peek() || 0)) {
3427
3384
  var s = this.parseTag(t, r);
3428
3385
  if (s.err)
3429
3386
  return s;
@@ -3444,7 +3401,7 @@ var To = (
3444
3401
  if (this.bumpSpace(), this.bumpIf("/>"))
3445
3402
  return {
3446
3403
  val: {
3447
- type: P.literal,
3404
+ type: O.literal,
3448
3405
  value: "<".concat(i, "/>"),
3449
3406
  location: w(n, this.clonePosition())
3450
3407
  },
@@ -3456,12 +3413,12 @@ var To = (
3456
3413
  return o;
3457
3414
  var s = o.val, a = this.clonePosition();
3458
3415
  if (this.bumpIf("</")) {
3459
- if (this.isEOF() || !xt(this.char()))
3416
+ if (this.isEOF() || !gt(this.char()))
3460
3417
  return this.error(E.INVALID_TAG, w(a, this.clonePosition()));
3461
3418
  var u = this.clonePosition(), l = this.parseTagName();
3462
3419
  return i !== l ? this.error(E.UNMATCHED_CLOSING_TAG, w(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3463
3420
  val: {
3464
- type: P.tag,
3421
+ type: O.tag,
3465
3422
  value: i,
3466
3423
  children: s,
3467
3424
  location: w(n, this.clonePosition())
@@ -3474,7 +3431,7 @@ var To = (
3474
3431
  return this.error(E.INVALID_TAG, w(n, this.clonePosition()));
3475
3432
  }, e.prototype.parseTagName = function() {
3476
3433
  var t = this.offset();
3477
- for (this.bump(); !this.isEOF() && Mo(this.char()); )
3434
+ for (this.bump(); !this.isEOF() && wo(this.char()); )
3478
3435
  this.bump();
3479
3436
  return this.message.slice(t, this.offset());
3480
3437
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3498,12 +3455,12 @@ var To = (
3498
3455
  }
3499
3456
  var u = w(n, this.clonePosition());
3500
3457
  return {
3501
- val: { type: P.literal, value: i, location: u },
3458
+ val: { type: O.literal, value: i, location: u },
3502
3459
  err: null
3503
3460
  };
3504
3461
  }, e.prototype.tryParseLeftAngleBracket = function() {
3505
3462
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3506
- !Ao(this.peek() || 0)) ? (this.bump(), "<") : null;
3463
+ !Eo(this.peek() || 0)) ? (this.bump(), "<") : null;
3507
3464
  }, e.prototype.tryParseQuote = function(t) {
3508
3465
  if (this.isEOF() || this.char() !== 39)
3509
3466
  return null;
@@ -3537,12 +3494,12 @@ var To = (
3537
3494
  r.push(n);
3538
3495
  this.bump();
3539
3496
  }
3540
- return vt.apply(void 0, r);
3497
+ return dt.apply(void 0, r);
3541
3498
  }, e.prototype.tryParseUnquoted = function(t, r) {
3542
3499
  if (this.isEOF())
3543
3500
  return null;
3544
3501
  var n = this.char();
3545
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), vt(n));
3502
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), dt(n));
3546
3503
  }, e.prototype.parseArgument = function(t, r) {
3547
3504
  var n = this.clonePosition();
3548
3505
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3558,7 +3515,7 @@ var To = (
3558
3515
  case 125:
3559
3516
  return this.bump(), {
3560
3517
  val: {
3561
- type: P.argument,
3518
+ type: O.argument,
3562
3519
  // value does not include the opening and closing braces.
3563
3520
  value: i,
3564
3521
  location: w(n, this.clonePosition())
@@ -3571,7 +3528,7 @@ var To = (
3571
3528
  return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3572
3529
  }
3573
3530
  }, e.prototype.parseIdentifierIfPossible = function() {
3574
- var t = this.clonePosition(), r = this.offset(), n = _t(this.message, r), i = r + n.length;
3531
+ var t = this.clonePosition(), r = this.offset(), n = pt(this.message, r), i = r + n.length;
3575
3532
  this.bumpTo(i);
3576
3533
  var o = this.clonePosition(), s = w(t, o);
3577
3534
  return { value: n, location: s };
@@ -3590,44 +3547,44 @@ var To = (
3590
3547
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3591
3548
  if (c.err)
3592
3549
  return c;
3593
- var f = So(c.val);
3550
+ var f = _o(c.val);
3594
3551
  if (f.length === 0)
3595
3552
  return this.error(E.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3596
- var m = w(h, this.clonePosition());
3597
- l = { style: f, styleLocation: m };
3553
+ var d = w(h, this.clonePosition());
3554
+ l = { style: f, styleLocation: d };
3598
3555
  }
3599
- var p = this.tryParseArgumentClose(i);
3600
- if (p.err)
3601
- return p;
3556
+ var m = this.tryParseArgumentClose(i);
3557
+ if (m.err)
3558
+ return m;
3602
3559
  var b = w(i, this.clonePosition());
3603
- if (l && sr(l == null ? void 0 : l.style, "::", 0)) {
3604
- var H = Ho(l.style.slice(2));
3560
+ if (l && tr(l == null ? void 0 : l.style, "::", 0)) {
3561
+ var H = yo(l.style.slice(2));
3605
3562
  if (a === "number") {
3606
3563
  var c = this.parseNumberSkeletonFromString(H, l.styleLocation);
3607
3564
  return c.err ? c : {
3608
- val: { type: P.number, value: n, location: b, style: c.val },
3565
+ val: { type: O.number, value: n, location: b, style: c.val },
3609
3566
  err: null
3610
3567
  };
3611
3568
  } else {
3612
3569
  if (H.length === 0)
3613
3570
  return this.error(E.EXPECT_DATE_TIME_SKELETON, b);
3614
- var O = H;
3615
- this.locale && (O = ho(H, this.locale));
3571
+ var I = H;
3572
+ this.locale && (I = oo(H, this.locale));
3616
3573
  var f = {
3617
- type: fe.dateTime,
3618
- pattern: O,
3574
+ type: me.dateTime,
3575
+ pattern: I,
3619
3576
  location: l.styleLocation,
3620
- parsedOptions: this.shouldParseSkeletons ? no(O) : {}
3621
- }, B = a === "date" ? P.date : P.time;
3577
+ parsedOptions: this.shouldParseSkeletons ? Yi(I) : {}
3578
+ }, P = a === "date" ? O.date : O.time;
3622
3579
  return {
3623
- val: { type: B, value: n, location: b, style: f },
3580
+ val: { type: P, value: n, location: b, style: f },
3624
3581
  err: null
3625
3582
  };
3626
3583
  }
3627
3584
  }
3628
3585
  return {
3629
3586
  val: {
3630
- type: a === "number" ? P.number : a === "date" ? P.date : P.time,
3587
+ type: a === "number" ? O.number : a === "date" ? O.date : O.time,
3631
3588
  value: n,
3632
3589
  location: b,
3633
3590
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
@@ -3638,41 +3595,41 @@ var To = (
3638
3595
  case "plural":
3639
3596
  case "selectordinal":
3640
3597
  case "select": {
3641
- var S = this.clonePosition();
3598
+ var T = this.clonePosition();
3642
3599
  if (this.bumpSpace(), !this.bumpIf(","))
3643
- return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, w(S, Ge({}, S)));
3600
+ return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, w(T, S({}, T)));
3644
3601
  this.bumpSpace();
3645
- var I = this.parseIdentifierIfPossible(), y = 0;
3646
- if (a !== "select" && I.value === "offset") {
3602
+ var L = this.parseIdentifierIfPossible(), v = 0;
3603
+ if (a !== "select" && L.value === "offset") {
3647
3604
  if (!this.bumpIf(":"))
3648
3605
  return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
3649
3606
  this.bumpSpace();
3650
3607
  var c = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3651
3608
  if (c.err)
3652
3609
  return c;
3653
- this.bumpSpace(), I = this.parseIdentifierIfPossible(), y = c.val;
3610
+ this.bumpSpace(), L = this.parseIdentifierIfPossible(), v = c.val;
3654
3611
  }
3655
- var T = this.tryParsePluralOrSelectOptions(t, a, r, I);
3656
- if (T.err)
3657
- return T;
3658
- var p = this.tryParseArgumentClose(i);
3659
- if (p.err)
3660
- return p;
3612
+ var M = this.tryParsePluralOrSelectOptions(t, a, r, L);
3613
+ if (M.err)
3614
+ return M;
3615
+ var m = this.tryParseArgumentClose(i);
3616
+ if (m.err)
3617
+ return m;
3661
3618
  var A = w(i, this.clonePosition());
3662
3619
  return a === "select" ? {
3663
3620
  val: {
3664
- type: P.select,
3621
+ type: O.select,
3665
3622
  value: n,
3666
- options: ar(T.val),
3623
+ options: rr(M.val),
3667
3624
  location: A
3668
3625
  },
3669
3626
  err: null
3670
3627
  } : {
3671
3628
  val: {
3672
- type: P.plural,
3629
+ type: O.plural,
3673
3630
  value: n,
3674
- options: ar(T.val),
3675
- offset: y,
3631
+ options: rr(M.val),
3632
+ offset: v,
3676
3633
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3677
3634
  location: A
3678
3635
  },
@@ -3722,16 +3679,16 @@ var To = (
3722
3679
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3723
3680
  var n = [];
3724
3681
  try {
3725
- n = oo(t);
3682
+ n = eo(t);
3726
3683
  } catch (i) {
3727
3684
  return this.error(E.INVALID_NUMBER_SKELETON, r);
3728
3685
  }
3729
3686
  return {
3730
3687
  val: {
3731
- type: fe.number,
3688
+ type: me.number,
3732
3689
  tokens: n,
3733
3690
  location: r,
3734
- parsedOptions: this.shouldParseSkeletons ? lo(n) : {}
3691
+ parsedOptions: this.shouldParseSkeletons ? io(n) : {}
3735
3692
  },
3736
3693
  err: null
3737
3694
  };
@@ -3750,20 +3707,20 @@ var To = (
3750
3707
  if (u.has(l))
3751
3708
  return this.error(r === "select" ? E.DUPLICATE_SELECT_ARGUMENT_SELECTOR : E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3752
3709
  l === "other" && (s = !0), this.bumpSpace();
3753
- var m = this.clonePosition();
3710
+ var d = this.clonePosition();
3754
3711
  if (!this.bumpIf("{"))
3755
3712
  return this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
3756
- var p = this.parseMessage(t + 1, r, n);
3757
- if (p.err)
3758
- return p;
3759
- var b = this.tryParseArgumentClose(m);
3713
+ var m = this.parseMessage(t + 1, r, n);
3714
+ if (m.err)
3715
+ return m;
3716
+ var b = this.tryParseArgumentClose(d);
3760
3717
  if (b.err)
3761
3718
  return b;
3762
3719
  a.push([
3763
3720
  l,
3764
3721
  {
3765
- value: p.val,
3766
- location: w(m, this.clonePosition())
3722
+ value: m.val,
3723
+ location: w(d, this.clonePosition())
3767
3724
  }
3768
3725
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3769
3726
  }
@@ -3779,7 +3736,7 @@ var To = (
3779
3736
  break;
3780
3737
  }
3781
3738
  var u = w(i, this.clonePosition());
3782
- return o ? (s *= n, Eo(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3739
+ return o ? (s *= n, bo(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3783
3740
  }, e.prototype.offset = function() {
3784
3741
  return this.position.offset;
3785
3742
  }, e.prototype.isEOF = function() {
@@ -3794,7 +3751,7 @@ var To = (
3794
3751
  var t = this.position.offset;
3795
3752
  if (t >= this.message.length)
3796
3753
  throw Error("out of bound");
3797
- var r = on(this.message, t);
3754
+ var r = Kr(this.message, t);
3798
3755
  if (r === void 0)
3799
3756
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3800
3757
  return r;
@@ -3813,7 +3770,7 @@ var To = (
3813
3770
  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);
3814
3771
  }
3815
3772
  }, e.prototype.bumpIf = function(t) {
3816
- if (sr(this.message, t, this.offset())) {
3773
+ if (tr(this.message, t, this.offset())) {
3817
3774
  for (var r = 0; r < t.length; r++)
3818
3775
  this.bump();
3819
3776
  return !0;
@@ -3835,7 +3792,7 @@ var To = (
3835
3792
  break;
3836
3793
  }
3837
3794
  }, e.prototype.bumpSpace = function() {
3838
- for (; !this.isEOF() && an(this.char()); )
3795
+ for (; !this.isEOF() && tn(this.char()); )
3839
3796
  this.bump();
3840
3797
  }, e.prototype.peek = function() {
3841
3798
  if (this.isEOF())
@@ -3845,47 +3802,47 @@ var To = (
3845
3802
  }, e;
3846
3803
  }()
3847
3804
  );
3848
- function xt(e) {
3805
+ function gt(e) {
3849
3806
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3850
3807
  }
3851
- function Ao(e) {
3852
- return xt(e) || e === 47;
3808
+ function Eo(e) {
3809
+ return gt(e) || e === 47;
3853
3810
  }
3854
- function Mo(e) {
3811
+ function wo(e) {
3855
3812
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
3856
3813
  }
3857
- function an(e) {
3814
+ function tn(e) {
3858
3815
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3859
3816
  }
3860
- function Bo(e) {
3817
+ function Ho(e) {
3861
3818
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
3862
3819
  }
3863
- function Et(e) {
3820
+ function bt(e) {
3864
3821
  e.forEach(function(t) {
3865
- if (delete t.location, Qr(t) || Jr(t))
3822
+ if (delete t.location, Wr(t) || Xr(t))
3866
3823
  for (var r in t.options)
3867
- delete t.options[r].location, Et(t.options[r].value);
3824
+ delete t.options[r].location, bt(t.options[r].value);
3868
3825
  else
3869
- zr(t) && Kr(t.style) || (Zr(t) || qr(t)) && bt(t.style) ? delete t.style.location : Yr(t) && Et(t.children);
3826
+ kr(t) && Zr(t.style) || (jr(t) || Vr(t)) && ft(t.style) ? delete t.style.location : zr(t) && bt(t.children);
3870
3827
  });
3871
3828
  }
3872
- function Po(e, t) {
3873
- t === void 0 && (t = {}), t = Ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3874
- var r = new To(e, t).parse();
3829
+ function So(e, t) {
3830
+ t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3831
+ var r = new xo(e, t).parse();
3875
3832
  if (r.err) {
3876
3833
  var n = SyntaxError(E[r.err.kind]);
3877
3834
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3878
3835
  }
3879
- return t != null && t.captureLocation || Et(r.val), r.val;
3836
+ return t != null && t.captureLocation || bt(r.val), r.val;
3880
3837
  }
3881
- var pe;
3838
+ var de;
3882
3839
  (function(e) {
3883
3840
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3884
- })(pe || (pe = {}));
3885
- var Ze = (
3841
+ })(de || (de = {}));
3842
+ var Xe = (
3886
3843
  /** @class */
3887
3844
  function(e) {
3888
- ze(t, e);
3845
+ q(t, e);
3889
3846
  function t(r, n, i) {
3890
3847
  var o = e.call(this, r) || this;
3891
3848
  return o.code = n, o.originalMessage = i, o;
@@ -3894,48 +3851,48 @@ var Ze = (
3894
3851
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3895
3852
  }, t;
3896
3853
  }(Error)
3897
- ), lr = (
3854
+ ), ir = (
3898
3855
  /** @class */
3899
3856
  function(e) {
3900
- ze(t, e);
3857
+ q(t, e);
3901
3858
  function t(r, n, i, o) {
3902
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), pe.INVALID_VALUE, o) || this;
3859
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), de.INVALID_VALUE, o) || this;
3903
3860
  }
3904
3861
  return t;
3905
- }(Ze)
3906
- ), Oo = (
3862
+ }(Xe)
3863
+ ), To = (
3907
3864
  /** @class */
3908
3865
  function(e) {
3909
- ze(t, e);
3866
+ q(t, e);
3910
3867
  function t(r, n, i) {
3911
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), pe.INVALID_VALUE, i) || this;
3868
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), de.INVALID_VALUE, i) || this;
3912
3869
  }
3913
3870
  return t;
3914
- }(Ze)
3915
- ), Io = (
3871
+ }(Xe)
3872
+ ), Mo = (
3916
3873
  /** @class */
3917
3874
  function(e) {
3918
- ze(t, e);
3875
+ q(t, e);
3919
3876
  function t(r, n) {
3920
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), pe.MISSING_VALUE, n) || this;
3877
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), de.MISSING_VALUE, n) || this;
3921
3878
  }
3922
3879
  return t;
3923
- }(Ze)
3880
+ }(Xe)
3924
3881
  ), F;
3925
3882
  (function(e) {
3926
3883
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3927
3884
  })(F || (F = {}));
3928
- function Lo(e) {
3885
+ function Ao(e) {
3929
3886
  return e.length < 2 ? e : e.reduce(function(t, r) {
3930
3887
  var n = t[t.length - 1];
3931
3888
  return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
3932
3889
  }, []);
3933
3890
  }
3934
- function Co(e) {
3891
+ function Bo(e) {
3935
3892
  return typeof e == "function";
3936
3893
  }
3937
3894
  function Ne(e, t, r, n, i, o, s) {
3938
- if (e.length === 1 && rr(e[0]))
3895
+ if (e.length === 1 && Jt(e[0]))
3939
3896
  return [
3940
3897
  {
3941
3898
  type: F.literal,
@@ -3944,14 +3901,14 @@ function Ne(e, t, r, n, i, o, s) {
3944
3901
  ];
3945
3902
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3946
3903
  var h = l[u];
3947
- if (rr(h)) {
3904
+ if (Jt(h)) {
3948
3905
  a.push({
3949
3906
  type: F.literal,
3950
3907
  value: h.value
3951
3908
  });
3952
3909
  continue;
3953
3910
  }
3954
- if (to(h)) {
3911
+ if (Qi(h)) {
3955
3912
  typeof o == "number" && a.push({
3956
3913
  type: F.literal,
3957
3914
  value: r.getNumberFormat(t).format(o)
@@ -3960,89 +3917,89 @@ function Ne(e, t, r, n, i, o, s) {
3960
3917
  }
3961
3918
  var c = h.value;
3962
3919
  if (!(i && c in i))
3963
- throw new Io(c, s);
3920
+ throw new Mo(c, s);
3964
3921
  var f = i[c];
3965
- if (eo(h)) {
3922
+ if (qi(h)) {
3966
3923
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3967
3924
  type: typeof f == "string" ? F.literal : F.object,
3968
3925
  value: f
3969
3926
  });
3970
3927
  continue;
3971
3928
  }
3972
- if (Zr(h)) {
3973
- var m = typeof h.style == "string" ? n.date[h.style] : bt(h.style) ? h.style.parsedOptions : void 0;
3929
+ if (jr(h)) {
3930
+ var d = typeof h.style == "string" ? n.date[h.style] : ft(h.style) ? h.style.parsedOptions : void 0;
3974
3931
  a.push({
3975
3932
  type: F.literal,
3976
- value: r.getDateTimeFormat(t, m).format(f)
3933
+ value: r.getDateTimeFormat(t, d).format(f)
3977
3934
  });
3978
3935
  continue;
3979
3936
  }
3980
- if (qr(h)) {
3981
- var m = typeof h.style == "string" ? n.time[h.style] : bt(h.style) ? h.style.parsedOptions : n.time.medium;
3937
+ if (Vr(h)) {
3938
+ var d = typeof h.style == "string" ? n.time[h.style] : ft(h.style) ? h.style.parsedOptions : n.time.medium;
3982
3939
  a.push({
3983
3940
  type: F.literal,
3984
- value: r.getDateTimeFormat(t, m).format(f)
3941
+ value: r.getDateTimeFormat(t, d).format(f)
3985
3942
  });
3986
3943
  continue;
3987
3944
  }
3988
- if (zr(h)) {
3989
- var m = typeof h.style == "string" ? n.number[h.style] : Kr(h.style) ? h.style.parsedOptions : void 0;
3990
- m && m.scale && (f = f * (m.scale || 1)), a.push({
3945
+ if (kr(h)) {
3946
+ var d = typeof h.style == "string" ? n.number[h.style] : Zr(h.style) ? h.style.parsedOptions : void 0;
3947
+ d && d.scale && (f = f * (d.scale || 1)), a.push({
3991
3948
  type: F.literal,
3992
- value: r.getNumberFormat(t, m).format(f)
3949
+ value: r.getNumberFormat(t, d).format(f)
3993
3950
  });
3994
3951
  continue;
3995
3952
  }
3996
- if (Yr(h)) {
3997
- var p = h.children, b = h.value, H = i[b];
3998
- if (!Co(H))
3999
- throw new Oo(b, "function", s);
4000
- var O = Ne(p, t, r, n, i, o), B = H(O.map(function(y) {
4001
- return y.value;
3953
+ if (zr(h)) {
3954
+ var m = h.children, b = h.value, H = i[b];
3955
+ if (!Bo(H))
3956
+ throw new To(b, "function", s);
3957
+ var I = Ne(m, t, r, n, i, o), P = H(I.map(function(v) {
3958
+ return v.value;
4002
3959
  }));
4003
- Array.isArray(B) || (B = [B]), a.push.apply(a, B.map(function(y) {
3960
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(v) {
4004
3961
  return {
4005
- type: typeof y == "string" ? F.literal : F.object,
4006
- value: y
3962
+ type: typeof v == "string" ? F.literal : F.object,
3963
+ value: v
4007
3964
  };
4008
3965
  }));
4009
3966
  }
4010
- if (Qr(h)) {
4011
- var S = h.options[f] || h.options.other;
4012
- if (!S)
4013
- throw new lr(h.value, f, Object.keys(h.options), s);
4014
- a.push.apply(a, Ne(S.value, t, r, n, i));
3967
+ if (Wr(h)) {
3968
+ var T = h.options[f] || h.options.other;
3969
+ if (!T)
3970
+ throw new ir(h.value, f, Object.keys(h.options), s);
3971
+ a.push.apply(a, Ne(T.value, t, r, n, i));
4015
3972
  continue;
4016
3973
  }
4017
- if (Jr(h)) {
4018
- var S = h.options["=".concat(f)];
4019
- if (!S) {
3974
+ if (Xr(h)) {
3975
+ var T = h.options["=".concat(f)];
3976
+ if (!T) {
4020
3977
  if (!Intl.PluralRules)
4021
- throw new Ze(`Intl.PluralRules is not available in this environment.
3978
+ throw new Xe(`Intl.PluralRules is not available in this environment.
4022
3979
  Try polyfilling it using "@formatjs/intl-pluralrules"
4023
- `, pe.MISSING_INTL_API, s);
4024
- var I = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
4025
- S = h.options[I] || h.options.other;
3980
+ `, de.MISSING_INTL_API, s);
3981
+ var L = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3982
+ T = h.options[L] || h.options.other;
4026
3983
  }
4027
- if (!S)
4028
- throw new lr(h.value, f, Object.keys(h.options), s);
4029
- a.push.apply(a, Ne(S.value, t, r, n, i, f - (h.offset || 0)));
3984
+ if (!T)
3985
+ throw new ir(h.value, f, Object.keys(h.options), s);
3986
+ a.push.apply(a, Ne(T.value, t, r, n, i, f - (h.offset || 0)));
4030
3987
  continue;
4031
3988
  }
4032
3989
  }
4033
- return Lo(a);
3990
+ return Ao(a);
4034
3991
  }
4035
- function No(e, t) {
4036
- return t ? X(X(X({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4037
- return r[n] = X(X({}, e[n]), t[n] || {}), r;
3992
+ function Po(e, t) {
3993
+ return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3994
+ return r[n] = S(S({}, e[n]), t[n] || {}), r;
4038
3995
  }, {})) : e;
4039
3996
  }
4040
- function Ro(e, t) {
3997
+ function Oo(e, t) {
4041
3998
  return t ? Object.keys(e).reduce(function(r, n) {
4042
- return r[n] = No(e[n], t[n]), r;
4043
- }, X({}, e)) : e;
3999
+ return r[n] = Po(e[n], t[n]), r;
4000
+ }, S({}, e)) : e;
4044
4001
  }
4045
- function st(e) {
4002
+ function nt(e) {
4046
4003
  return {
4047
4004
  create: function() {
4048
4005
  return {
@@ -4056,39 +4013,39 @@ function st(e) {
4056
4013
  }
4057
4014
  };
4058
4015
  }
4059
- function Fo(e) {
4016
+ function Io(e) {
4060
4017
  return e === void 0 && (e = {
4061
4018
  number: {},
4062
4019
  dateTime: {},
4063
4020
  pluralRules: {}
4064
4021
  }), {
4065
- getNumberFormat: nt(function() {
4022
+ getNumberFormat: et(function() {
4066
4023
  for (var t, r = [], n = 0; n < arguments.length; n++)
4067
4024
  r[n] = arguments[n];
4068
- return new ((t = Intl.NumberFormat).bind.apply(t, rt([void 0], r, !1)))();
4025
+ return new ((t = Intl.NumberFormat).bind.apply(t, he([void 0], r, !1)))();
4069
4026
  }, {
4070
- cache: st(e.number),
4071
- strategy: it.variadic
4027
+ cache: nt(e.number),
4028
+ strategy: tt.variadic
4072
4029
  }),
4073
- getDateTimeFormat: nt(function() {
4030
+ getDateTimeFormat: et(function() {
4074
4031
  for (var t, r = [], n = 0; n < arguments.length; n++)
4075
4032
  r[n] = arguments[n];
4076
- return new ((t = Intl.DateTimeFormat).bind.apply(t, rt([void 0], r, !1)))();
4033
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, he([void 0], r, !1)))();
4077
4034
  }, {
4078
- cache: st(e.dateTime),
4079
- strategy: it.variadic
4035
+ cache: nt(e.dateTime),
4036
+ strategy: tt.variadic
4080
4037
  }),
4081
- getPluralRules: nt(function() {
4038
+ getPluralRules: et(function() {
4082
4039
  for (var t, r = [], n = 0; n < arguments.length; n++)
4083
4040
  r[n] = arguments[n];
4084
- return new ((t = Intl.PluralRules).bind.apply(t, rt([void 0], r, !1)))();
4041
+ return new ((t = Intl.PluralRules).bind.apply(t, he([void 0], r, !1)))();
4085
4042
  }, {
4086
- cache: st(e.pluralRules),
4087
- strategy: it.variadic
4043
+ cache: nt(e.pluralRules),
4044
+ strategy: tt.variadic
4088
4045
  })
4089
4046
  };
4090
4047
  }
4091
- var Uo = (
4048
+ var Lo = (
4092
4049
  /** @class */
4093
4050
  function() {
4094
4051
  function e(t, r, n, i) {
@@ -4120,13 +4077,13 @@ var Uo = (
4120
4077
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4121
4078
  var s = i || {};
4122
4079
  s.formatters;
4123
- var a = Xi(s, ["formatters"]);
4124
- this.ast = e.__parse(t, X(X({}, a), { locale: this.resolvedLocale }));
4080
+ var a = hi(s, ["formatters"]);
4081
+ this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
4125
4082
  } else
4126
4083
  this.ast = t;
4127
4084
  if (!Array.isArray(this.ast))
4128
4085
  throw new TypeError("A message must be provided as a String or AST.");
4129
- this.formats = Ro(e.formats, n), this.formatters = i && i.formatters || Fo(this.formatterCache);
4086
+ this.formats = Oo(e.formats, n), this.formatters = i && i.formatters || Io(this.formatterCache);
4130
4087
  }
4131
4088
  return Object.defineProperty(e, "defaultLocale", {
4132
4089
  get: function() {
@@ -4139,7 +4096,7 @@ var Uo = (
4139
4096
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4140
4097
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4141
4098
  }
4142
- }, e.__parse = Po, e.formats = {
4099
+ }, e.__parse = So, e.formats = {
4143
4100
  number: {
4144
4101
  integer: {
4145
4102
  maximumFractionDigits: 0
@@ -4200,7 +4157,7 @@ var Uo = (
4200
4157
  }, e;
4201
4158
  }()
4202
4159
  );
4203
- function $o(e, t) {
4160
+ function Co(e, t) {
4204
4161
  if (t == null)
4205
4162
  return;
4206
4163
  if (t in e)
@@ -4221,92 +4178,92 @@ function $o(e, t) {
4221
4178
  n = void 0;
4222
4179
  return n;
4223
4180
  }
4224
- const J = {}, Do = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), un = (e, t) => {
4181
+ const J = {}, No = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][e] = r), r), rn = (e, t) => {
4225
4182
  if (t == null)
4226
4183
  return;
4227
4184
  if (t in J && e in J[t])
4228
4185
  return J[t][e];
4229
- const r = qe(t);
4186
+ const r = ze(t);
4230
4187
  for (let n = 0; n < r.length; n++) {
4231
- const i = r[n], o = ko(i, e);
4188
+ const i = r[n], o = Fo(i, e);
4232
4189
  if (o)
4233
- return Do(e, t, o);
4190
+ return No(e, t, o);
4234
4191
  }
4235
4192
  };
4236
- let At;
4237
- const Ae = Xe({});
4238
- function Go(e) {
4239
- return At[e] || null;
4193
+ let Et;
4194
+ const Me = We({});
4195
+ function Ro(e) {
4196
+ return Et[e] || null;
4240
4197
  }
4241
- function ln(e) {
4242
- return e in At;
4198
+ function nn(e) {
4199
+ return e in Et;
4243
4200
  }
4244
- function ko(e, t) {
4245
- if (!ln(e))
4201
+ function Fo(e, t) {
4202
+ if (!nn(e))
4246
4203
  return null;
4247
- const r = Go(e);
4248
- return $o(r, t);
4204
+ const r = Ro(e);
4205
+ return Co(r, t);
4249
4206
  }
4250
- function jo(e) {
4207
+ function Uo(e) {
4251
4208
  if (e == null)
4252
4209
  return;
4253
- const t = qe(e);
4210
+ const t = ze(e);
4254
4211
  for (let r = 0; r < t.length; r++) {
4255
4212
  const n = t[r];
4256
- if (ln(n))
4213
+ if (nn(n))
4257
4214
  return n;
4258
4215
  }
4259
4216
  }
4260
- function hn(e, ...t) {
4261
- delete J[e], Ae.update((r) => (r[e] = Wi.all([r[e] || {}, ...t]), r));
4217
+ function on(e, ...t) {
4218
+ delete J[e], Me.update((r) => (r[e] = Gi.all([r[e] || {}, ...t]), r));
4262
4219
  }
4263
- ge(
4264
- [Ae],
4220
+ be(
4221
+ [Me],
4265
4222
  ([e]) => Object.keys(e)
4266
4223
  );
4267
- Ae.subscribe((e) => At = e);
4224
+ Me.subscribe((e) => Et = e);
4268
4225
  const Re = {};
4269
- function Vo(e, t) {
4226
+ function $o(e, t) {
4270
4227
  Re[e].delete(t), Re[e].size === 0 && delete Re[e];
4271
4228
  }
4272
- function cn(e) {
4229
+ function sn(e) {
4273
4230
  return Re[e];
4274
4231
  }
4275
- function Wo(e) {
4276
- return qe(e).map((t) => {
4277
- const r = cn(t);
4232
+ function Do(e) {
4233
+ return ze(e).map((t) => {
4234
+ const r = sn(t);
4278
4235
  return [t, r ? [...r] : []];
4279
4236
  }).filter(([, t]) => t.length > 0);
4280
4237
  }
4281
- function wt(e) {
4282
- return e == null ? !1 : qe(e).some(
4238
+ function vt(e) {
4239
+ return e == null ? !1 : ze(e).some(
4283
4240
  (t) => {
4284
4241
  var r;
4285
- return (r = cn(t)) == null ? void 0 : r.size;
4242
+ return (r = sn(t)) == null ? void 0 : r.size;
4286
4243
  }
4287
4244
  );
4288
4245
  }
4289
- function Xo(e, t) {
4246
+ function Go(e, t) {
4290
4247
  return Promise.all(
4291
- t.map((n) => (Vo(e, n), n().then((i) => i.default || i)))
4292
- ).then((n) => hn(e, ...n));
4293
- }
4294
- const _e = {};
4295
- function fn(e) {
4296
- if (!wt(e))
4297
- return e in _e ? _e[e] : Promise.resolve();
4298
- const t = Wo(e);
4299
- return _e[e] = Promise.all(
4248
+ t.map((n) => ($o(e, n), n().then((i) => i.default || i)))
4249
+ ).then((n) => on(e, ...n));
4250
+ }
4251
+ const xe = {};
4252
+ function an(e) {
4253
+ if (!vt(e))
4254
+ return e in xe ? xe[e] : Promise.resolve();
4255
+ const t = Do(e);
4256
+ return xe[e] = Promise.all(
4300
4257
  t.map(
4301
- ([r, n]) => Xo(r, n)
4258
+ ([r, n]) => Go(r, n)
4302
4259
  )
4303
4260
  ).then(() => {
4304
- if (wt(e))
4305
- return fn(e);
4306
- delete _e[e];
4307
- }), _e[e];
4261
+ if (vt(e))
4262
+ return an(e);
4263
+ delete xe[e];
4264
+ }), xe[e];
4308
4265
  }
4309
- const zo = {
4266
+ const ko = {
4310
4267
  number: {
4311
4268
  scientific: { notation: "scientific" },
4312
4269
  engineering: { notation: "engineering" },
@@ -4335,135 +4292,135 @@ const zo = {
4335
4292
  timeZoneName: "short"
4336
4293
  }
4337
4294
  }
4338
- }, Zo = {
4295
+ }, jo = {
4339
4296
  fallbackLocale: null,
4340
4297
  loadingDelay: 200,
4341
- formats: zo,
4298
+ formats: ko,
4342
4299
  warnOnMissingMessages: !0,
4343
4300
  handleMissingMessage: void 0,
4344
4301
  ignoreTag: !0
4345
- }, qo = Zo;
4346
- function me() {
4347
- return qo;
4302
+ }, Vo = jo;
4303
+ function pe() {
4304
+ return Vo;
4348
4305
  }
4349
- const at = Xe(!1);
4350
- var Qo = Object.defineProperty, Jo = Object.defineProperties, Yo = Object.getOwnPropertyDescriptors, hr = Object.getOwnPropertySymbols, Ko = Object.prototype.hasOwnProperty, es = Object.prototype.propertyIsEnumerable, cr = (e, t, r) => t in e ? Qo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ts = (e, t) => {
4306
+ const it = We(!1);
4307
+ var Wo = Object.defineProperty, Xo = Object.defineProperties, zo = Object.getOwnPropertyDescriptors, or = Object.getOwnPropertySymbols, Zo = Object.prototype.hasOwnProperty, qo = Object.prototype.propertyIsEnumerable, sr = (e, t, r) => t in e ? Wo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qo = (e, t) => {
4351
4308
  for (var r in t || (t = {}))
4352
- Ko.call(t, r) && cr(e, r, t[r]);
4353
- if (hr)
4354
- for (var r of hr(t))
4355
- es.call(t, r) && cr(e, r, t[r]);
4309
+ Zo.call(t, r) && sr(e, r, t[r]);
4310
+ if (or)
4311
+ for (var r of or(t))
4312
+ qo.call(t, r) && sr(e, r, t[r]);
4356
4313
  return e;
4357
- }, rs = (e, t) => Jo(e, Yo(t));
4358
- let Ht;
4359
- const ke = Xe(null);
4360
- function fr(e) {
4314
+ }, Jo = (e, t) => Xo(e, zo(t));
4315
+ let yt;
4316
+ const Ge = We(null);
4317
+ function ar(e) {
4361
4318
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4362
4319
  }
4363
- function qe(e, t = me().fallbackLocale) {
4364
- const r = fr(e);
4365
- return t ? [.../* @__PURE__ */ new Set([...r, ...fr(t)])] : r;
4320
+ function ze(e, t = pe().fallbackLocale) {
4321
+ const r = ar(e);
4322
+ return t ? [.../* @__PURE__ */ new Set([...r, ...ar(t)])] : r;
4366
4323
  }
4367
4324
  function ne() {
4368
- return Ht != null ? Ht : void 0;
4325
+ return yt != null ? yt : void 0;
4369
4326
  }
4370
- ke.subscribe((e) => {
4371
- Ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4327
+ Ge.subscribe((e) => {
4328
+ yt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4372
4329
  });
4373
- const ns = (e) => {
4374
- if (e && jo(e) && wt(e)) {
4375
- const { loadingDelay: t } = me();
4330
+ const Yo = (e) => {
4331
+ if (e && Uo(e) && vt(e)) {
4332
+ const { loadingDelay: t } = pe();
4376
4333
  let r;
4377
4334
  return typeof window != "undefined" && ne() != null && t ? r = window.setTimeout(
4378
- () => at.set(!0),
4335
+ () => it.set(!0),
4379
4336
  t
4380
- ) : at.set(!0), fn(e).then(() => {
4381
- ke.set(e);
4337
+ ) : it.set(!0), an(e).then(() => {
4338
+ Ge.set(e);
4382
4339
  }).finally(() => {
4383
- clearTimeout(r), at.set(!1);
4340
+ clearTimeout(r), it.set(!1);
4384
4341
  });
4385
4342
  }
4386
- return ke.set(e);
4387
- }, be = rs(ts({}, ke), {
4388
- set: ns
4389
- }), Qe = (e) => {
4343
+ return Ge.set(e);
4344
+ }, ve = Jo(Qo({}, Ge), {
4345
+ set: Yo
4346
+ }), Ze = (e) => {
4390
4347
  const t = /* @__PURE__ */ Object.create(null);
4391
4348
  return (n) => {
4392
4349
  const i = JSON.stringify(n);
4393
4350
  return i in t ? t[i] : t[i] = e(n);
4394
4351
  };
4395
4352
  };
4396
- var is = Object.defineProperty, je = Object.getOwnPropertySymbols, pn = Object.prototype.hasOwnProperty, mn = Object.prototype.propertyIsEnumerable, pr = (e, t, r) => t in e ? is(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Mt = (e, t) => {
4353
+ var Ko = Object.defineProperty, ke = Object.getOwnPropertySymbols, un = Object.prototype.hasOwnProperty, ln = Object.prototype.propertyIsEnumerable, ur = (e, t, r) => t in e ? Ko(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, wt = (e, t) => {
4397
4354
  for (var r in t || (t = {}))
4398
- pn.call(t, r) && pr(e, r, t[r]);
4399
- if (je)
4400
- for (var r of je(t))
4401
- mn.call(t, r) && pr(e, r, t[r]);
4355
+ un.call(t, r) && ur(e, r, t[r]);
4356
+ if (ke)
4357
+ for (var r of ke(t))
4358
+ ln.call(t, r) && ur(e, r, t[r]);
4402
4359
  return e;
4403
4360
  }, ye = (e, t) => {
4404
4361
  var r = {};
4405
4362
  for (var n in e)
4406
- pn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4407
- if (e != null && je)
4408
- for (var n of je(e))
4409
- t.indexOf(n) < 0 && mn.call(e, n) && (r[n] = e[n]);
4363
+ un.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4364
+ if (e != null && ke)
4365
+ for (var n of ke(e))
4366
+ t.indexOf(n) < 0 && ln.call(e, n) && (r[n] = e[n]);
4410
4367
  return r;
4411
4368
  };
4412
- const Se = (e, t) => {
4413
- const { formats: r } = me();
4369
+ const Te = (e, t) => {
4370
+ const { formats: r } = pe();
4414
4371
  if (e in r && t in r[e])
4415
4372
  return r[e][t];
4416
4373
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4417
- }, os = Qe(
4374
+ }, es = Ze(
4418
4375
  (e) => {
4419
4376
  var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4420
4377
  if (r == null)
4421
4378
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4422
- return n && (i = Se("number", n)), new Intl.NumberFormat(r, i);
4379
+ return n && (i = Te("number", n)), new Intl.NumberFormat(r, i);
4423
4380
  }
4424
- ), ss = Qe(
4381
+ ), ts = Ze(
4425
4382
  (e) => {
4426
4383
  var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4427
4384
  if (r == null)
4428
4385
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4429
- return n ? i = Se("date", n) : Object.keys(i).length === 0 && (i = Se("date", "short")), new Intl.DateTimeFormat(r, i);
4386
+ return n ? i = Te("date", n) : Object.keys(i).length === 0 && (i = Te("date", "short")), new Intl.DateTimeFormat(r, i);
4430
4387
  }
4431
- ), as = Qe(
4388
+ ), rs = Ze(
4432
4389
  (e) => {
4433
4390
  var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4434
4391
  if (r == null)
4435
4392
  throw new Error(
4436
4393
  '[svelte-i18n] A "locale" must be set to format time values'
4437
4394
  );
4438
- return n ? i = Se("time", n) : Object.keys(i).length === 0 && (i = Se("time", "short")), new Intl.DateTimeFormat(r, i);
4395
+ return n ? i = Te("time", n) : Object.keys(i).length === 0 && (i = Te("time", "short")), new Intl.DateTimeFormat(r, i);
4439
4396
  }
4440
- ), us = (e = {}) => {
4397
+ ), ns = (e = {}) => {
4441
4398
  var t = e, {
4442
4399
  locale: r = ne()
4443
4400
  } = t, n = ye(t, [
4444
4401
  "locale"
4445
4402
  ]);
4446
- return os(Mt({ locale: r }, n));
4447
- }, ls = (e = {}) => {
4403
+ return es(wt({ locale: r }, n));
4404
+ }, is = (e = {}) => {
4448
4405
  var t = e, {
4449
4406
  locale: r = ne()
4450
4407
  } = t, n = ye(t, [
4451
4408
  "locale"
4452
4409
  ]);
4453
- return ss(Mt({ locale: r }, n));
4454
- }, hs = (e = {}) => {
4410
+ return ts(wt({ locale: r }, n));
4411
+ }, os = (e = {}) => {
4455
4412
  var t = e, {
4456
4413
  locale: r = ne()
4457
4414
  } = t, n = ye(t, [
4458
4415
  "locale"
4459
4416
  ]);
4460
- return as(Mt({ locale: r }, n));
4461
- }, cs = Qe(
4417
+ return rs(wt({ locale: r }, n));
4418
+ }, ss = Ze(
4462
4419
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4463
- (e, t = ne()) => new Uo(e, t, me().formats, {
4464
- ignoreTag: me().ignoreTag
4420
+ (e, t = ne()) => new Lo(e, t, pe().formats, {
4421
+ ignoreTag: pe().ignoreTag
4465
4422
  })
4466
- ), fs = (e, t = {}) => {
4423
+ ), as = (e, t = {}) => {
4467
4424
  var r, n, i, o;
4468
4425
  let s = t;
4469
4426
  typeof e == "object" && (s = e, e = s.id);
@@ -4476,9 +4433,9 @@ const Se = (e, t) => {
4476
4433
  throw new Error(
4477
4434
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4478
4435
  );
4479
- let h = un(e, u);
4436
+ let h = rn(e, u);
4480
4437
  if (!h)
4481
- h = (o = (i = (n = (r = me()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4438
+ h = (o = (i = (n = (r = pe()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: l })) != null ? i : l) != null ? o : e;
4482
4439
  else if (typeof h != "string")
4483
4440
  return console.warn(
4484
4441
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4487,7 +4444,7 @@ const Se = (e, t) => {
4487
4444
  return h;
4488
4445
  let c = h;
4489
4446
  try {
4490
- c = cs(h, u).format(a);
4447
+ c = ss(h, u).format(a);
4491
4448
  } catch (f) {
4492
4449
  f instanceof Error && console.warn(
4493
4450
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4495,20 +4452,20 @@ const Se = (e, t) => {
4495
4452
  );
4496
4453
  }
4497
4454
  return c;
4498
- }, ps = (e, t) => hs(t).format(e), ms = (e, t) => ls(t).format(e), ds = (e, t) => us(t).format(e), gs = (e, t = ne()) => un(e, t), bs = ge([be, Ae], () => fs);
4499
- ge([be], () => ps);
4500
- ge([be], () => ms);
4501
- ge([be], () => ds);
4502
- ge([be, Ae], () => gs);
4503
- window.emWidgets = { topic: Mi };
4504
- const ys = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4505
- function vs(e, t) {
4455
+ }, us = (e, t) => os(t).format(e), ls = (e, t) => is(t).format(e), hs = (e, t) => ns(t).format(e), cs = (e, t = ne()) => rn(e, t), fs = be([ve, Me], () => as);
4456
+ be([ve], () => us);
4457
+ be([ve], () => ls);
4458
+ be([ve], () => hs);
4459
+ be([ve, Me], () => cs);
4460
+ window.emWidgets = { topic: Hi };
4461
+ const ms = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i));
4462
+ function ds(e, t) {
4506
4463
  if (e) {
4507
4464
  const r = document.createElement("style");
4508
4465
  r.innerHTML = t, e.appendChild(r);
4509
4466
  }
4510
4467
  }
4511
- function _s(e, t) {
4468
+ function ps(e, t) {
4512
4469
  const r = new URL(t);
4513
4470
  fetch(r.href).then((n) => n.text()).then((n) => {
4514
4471
  const i = document.createElement("style");
@@ -4517,7 +4474,7 @@ function _s(e, t) {
4517
4474
  console.error("There was an error while trying to load client styling from URL", n);
4518
4475
  });
4519
4476
  }
4520
- function xs(e, t, r) {
4477
+ function gs(e, t, r) {
4521
4478
  if (window.emMessageBus) {
4522
4479
  const n = document.createElement("style");
4523
4480
  window.emMessageBus.subscribe(t, (i) => {
@@ -4525,13 +4482,13 @@ function xs(e, t, r) {
4525
4482
  });
4526
4483
  }
4527
4484
  }
4528
- function mr(e, t) {
4529
- hn(e, t);
4485
+ function lr(e, t) {
4486
+ on(e, t);
4530
4487
  }
4531
- function Es(e) {
4532
- be.set(e);
4488
+ function bs(e) {
4489
+ ve.set(e);
4533
4490
  }
4534
- const dr = {
4491
+ const hr = {
4535
4492
  en: {
4536
4493
  language: "Select Language"
4537
4494
  },
@@ -4566,60 +4523,60 @@ const dr = {
4566
4523
  language: "Select Language"
4567
4524
  }
4568
4525
  };
4569
- function ws(e) {
4570
- kn(e, "svelte-1bq06b7", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.LanguageDropdown{width:100%;margin-right:16px;position:relative;display:inline-block}.SelectedOption,.OptionList{border:1px solid var(--emw--header-color-primary);padding:8px;cursor:pointer;width:200px;border-radius:2px}.SelectedOption{display:flex;align-items:center;margin:0;padding-left:9px}.SelectedOption svg{width:12px;margin-left:6px}.FlagIcon img{width:20px;height:14px;margin-right:8px;border-radius:2px}.OptionList{position:absolute;overflow-y:auto;transform:translateX(-50%);z-index:1;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));max-height:155px;overflow-y:auto;bottom:36px;width:50vw;left:30%;display:flex;gap:5px;flex-direction:column}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 10px;transition:all 0.5s}.TriangleInactive svg{margin:2px 0px}.TriangleActive{transform:rotate(180deg);position:relative}.TriangleActive svg{margin:2px 0px}.LanguageOption{display:flex;align-items:center;padding:4px;margin:0;background-color:white}.LanguageOption:hover{background-color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:2px}.LanguageSelect{margin:0 20px}.LanguageSelectorTitle{position:fixed;width:90vw;padding:5px 0;bottom:0;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518))}.LanguageSelectorTitle span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));padding:5px 0;display:flex;align-items:center;gap:15px;font-size:12px}.ItemLanguage{height:34px;width:100%;text-align:left;line-height:34px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none}.ItemLanguage option{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.HamburgerModalWindow{display:block;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.7)}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));width:0vw;height:100%;padding:0;border-top:0;border-radius:0;transition:width 0.4s ease-in-out;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{width:90vw}.HamburgerModalWindow .ModalCloseBtn{position:absolute;top:9px;right:9px;width:20px;height:20px;border-radius:100%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.2);opacity:1;cursor:pointer;transition:all 150ms ease-in-out;transition:opacity 500ms ease-in-out}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF))}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:all 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--color-primary);white-space:nowrap;overflow:scroll;list-style:none;border-bottom:2px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));width:90vw}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:100px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.HamburgerModalWindow .HamburgerPrimaryMenu.HamburgerPrimaryMenuFixed{position:fixed}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.HamburgerSecondaryMenuFixed{margin-top:106px;margin-bottom:70px}.HamburgerModalWindow .HamburgerSecondaryMenu li{margin:0 20px;padding:20px 0;display:flex;align-items:center;gap:15px}.HamburgerModalWindow .HamburgerSecondaryMenu li a{text-decoration:none;display:flex;align-items:center;gap:15px;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emw--color-gray-300, #58586B)}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:var(--emw--color-primary, #22B04E)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
4526
+ function vs(e) {
4527
+ Fn(e, "svelte-1bq06b7", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.LanguageDropdown{width:100%;margin-right:16px;position:relative;display:inline-block}.SelectedOption,.OptionList{border:1px solid var(--emw--header-color-primary);padding:8px;cursor:pointer;width:200px;border-radius:2px}.SelectedOption{display:flex;align-items:center;margin:0;padding-left:9px}.SelectedOption svg{width:12px;margin-left:6px}.FlagIcon img{width:20px;height:14px;margin-right:8px;border-radius:2px}.OptionList{position:absolute;overflow-y:auto;transform:translateX(-50%);z-index:1;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));max-height:155px;overflow-y:auto;bottom:36px;width:50vw;left:30%;display:flex;gap:5px;flex-direction:column}.TriangleInactive{display:block;color:currentColor;margin:0 0 0 10px;transition:all 0.5s}.TriangleInactive svg{margin:2px 0px}.TriangleActive{transform:rotate(180deg);position:relative}.TriangleActive svg{margin:2px 0px}.LanguageOption{display:flex;align-items:center;padding:4px;margin:0;background-color:white}.LanguageOption:hover{background-color:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));border-radius:2px}.LanguageSelect{margin:0 20px}.LanguageSelectorTitle{position:fixed;width:90vw;padding:5px 0;bottom:0;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518))}.LanguageSelectorTitle span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));padding:5px 0;display:flex;align-items:center;gap:15px;font-size:12px}.ItemLanguage{height:34px;width:100%;text-align:left;line-height:34px;background:transparent;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));border:none}.ItemLanguage option{color:var(--emw--header-contrast, var(--emw--color-contrast, #07072A))}.HamburgerModalWindow{display:block;position:fixed;align-items:center;justify-content:center;width:100%;height:100%;z-index:100;top:0;left:0;background-color:rgba(0, 0, 0, 0.7)}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--header-color-secondary-menu-bg, var(--emw--color-background-secondary, #050518));width:0vw;height:100%;padding:0;border-top:0;border-radius:0;transition:width 0.4s ease-in-out;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{width:90vw}.HamburgerModalWindow .ModalCloseBtn{position:absolute;top:9px;right:9px;width:20px;height:20px;border-radius:100%;color:var(--emw--color-white, #FFFFFF);background:rgba(255, 255, 255, 0.2);opacity:1;cursor:pointer;transition:all 150ms ease-in-out;transition:opacity 500ms ease-in-out}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF))}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:all 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--color-primary);white-space:nowrap;overflow:scroll;list-style:none;border-bottom:2px solid var(--emw--header-color-primary, var(--emw--color-primary, #22B04E));width:90vw}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:100px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04E))}.HamburgerModalWindow .HamburgerPrimaryMenu.HamburgerPrimaryMenuFixed{position:fixed}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.HamburgerSecondaryMenuFixed{margin-top:106px;margin-bottom:70px}.HamburgerModalWindow .HamburgerSecondaryMenu li{margin:0 20px;padding:20px 0;display:flex;align-items:center;gap:15px}.HamburgerModalWindow .HamburgerSecondaryMenu li a{text-decoration:none;display:flex;align-items:center;gap:15px;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));font-size:14px}.HamburgerModalWindow .HamburgerSecondaryMenu li:not(:last-child){border-bottom:1px solid var(--emw--color-gray-300, #58586B)}.HamburgerModalWindow .HamburgerSecondaryMenu li:active a{color:var(--emw--color-primary, #22B04E)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
4571
4528
  }
4572
- function gr(e, t, r) {
4529
+ function cr(e, t, r) {
4573
4530
  const n = e.slice();
4574
4531
  return n[53] = t[r], n;
4575
4532
  }
4576
- function br(e, t, r) {
4533
+ function fr(e, t, r) {
4577
4534
  const n = e.slice();
4578
4535
  return n[1] = t[r], n;
4579
4536
  }
4580
- function yr(e, t, r) {
4537
+ function mr(e, t, r) {
4581
4538
  const n = e.slice();
4582
4539
  return n[56] = t[r], n;
4583
4540
  }
4584
- function vr(e, t, r) {
4541
+ function dr(e, t, r) {
4585
4542
  const n = e.slice();
4586
4543
  return n[59] = t[r], n;
4587
4544
  }
4588
- const Hs = (e) => ({}), _r = (e) => ({});
4589
- function xr(e) {
4590
- let t, r, n, i, o, s, a, u, l, h, c, f, m, p, b, H;
4591
- const O = (
4545
+ const ys = (e) => ({}), pr = (e) => ({});
4546
+ function gr(e) {
4547
+ let t, r, n, i, o, s, a, u, l, h, c, f, d, m, b, H;
4548
+ const I = (
4592
4549
  /*#slots*/
4593
4550
  e[31].close
4594
- ), B = Rn(
4595
- O,
4551
+ ), P = On(
4552
+ I,
4596
4553
  e,
4597
4554
  /*$$scope*/
4598
4555
  e[30],
4599
- _r
4600
- ), S = B || Ss();
4601
- let I = Q(
4556
+ pr
4557
+ ), T = P || _s();
4558
+ let L = Q(
4602
4559
  /*HamburgerMenuItems*/
4603
4560
  e[4]
4604
- ), y = [];
4605
- for (let x = 0; x < I.length; x += 1)
4606
- y[x] = Er(vr(e, I, x));
4607
- let T = Q(
4561
+ ), v = [];
4562
+ for (let x = 0; x < L.length; x += 1)
4563
+ v[x] = br(dr(e, L, x));
4564
+ let M = Q(
4608
4565
  /*activeMenuItemChildren*/
4609
4566
  e[6]
4610
4567
  ), A = [];
4611
- for (let x = 0; x < T.length; x += 1)
4612
- A[x] = wr(yr(e, T, x));
4568
+ for (let x = 0; x < M.length; x += 1)
4569
+ A[x] = vr(mr(e, M, x));
4613
4570
  let R = (
4614
4571
  /*languagesArray*/
4615
- e[10].length > 1 && Hr(e)
4572
+ e[10].length > 1 && yr(e)
4616
4573
  );
4617
4574
  return {
4618
4575
  c() {
4619
- t = M("div"), r = M("span"), S && S.c(), i = $(), o = M("div"), s = M("ul");
4620
- for (let x = 0; x < y.length; x += 1)
4621
- y[x].c();
4622
- u = $(), l = M("ul");
4576
+ t = B("div"), r = B("span"), T && T.c(), i = $(), o = B("div"), s = B("ul");
4577
+ for (let x = 0; x < v.length; x += 1)
4578
+ v[x].c();
4579
+ u = $(), l = B("ul");
4623
4580
  for (let x = 0; x < A.length; x += 1)
4624
4581
  A[x].c();
4625
4582
  c = $(), R && R.c(), g(r, "class", n = /*modalIsOpen*/
@@ -4629,13 +4586,13 @@ function xr(e) {
4629
4586
  (e[7] ? "ActiveHamburgerMenu" : "")), g(t, "class", "HamburgerModalWindow");
4630
4587
  },
4631
4588
  m(x, N) {
4632
- j(x, t, N), v(t, r), S && S.m(r, null), v(t, i), v(t, o), v(o, s);
4633
- for (let _ = 0; _ < y.length; _ += 1)
4634
- y[_] && y[_].m(s, null);
4635
- v(o, u), v(o, l);
4589
+ j(x, t, N), y(t, r), T && T.m(r, null), y(t, i), y(t, o), y(o, s);
4590
+ for (let _ = 0; _ < v.length; _ += 1)
4591
+ v[_] && v[_].m(s, null);
4592
+ y(o, u), y(o, l);
4636
4593
  for (let _ = 0; _ < A.length; _ += 1)
4637
4594
  A[_] && A[_].m(l, null);
4638
- v(o, c), R && R.m(o, null), e[38](t), p = !0, b || (H = te(
4595
+ y(o, c), R && R.m(o, null), e[38](t), m = !0, b || (H = te(
4639
4596
  r,
4640
4597
  "click",
4641
4598
  /*close*/
@@ -4643,86 +4600,86 @@ function xr(e) {
4643
4600
  ), b = !0);
4644
4601
  },
4645
4602
  p(x, N) {
4646
- if (e = x, B && B.p && (!p || N[0] & /*$$scope*/
4647
- 1073741824) && Un(
4648
- B,
4649
- O,
4603
+ if (e = x, P && P.p && (!m || N[0] & /*$$scope*/
4604
+ 1073741824) && Ln(
4605
+ P,
4606
+ I,
4650
4607
  e,
4651
4608
  /*$$scope*/
4652
4609
  e[30],
4653
- p ? Fn(
4654
- O,
4610
+ m ? In(
4611
+ I,
4655
4612
  /*$$scope*/
4656
4613
  e[30],
4657
4614
  N,
4658
- Hs
4659
- ) : $n(
4615
+ ys
4616
+ ) : Cn(
4660
4617
  /*$$scope*/
4661
4618
  e[30]
4662
4619
  ),
4663
- _r
4664
- ), (!p || N[0] & /*modalIsOpen*/
4620
+ pr
4621
+ ), (!m || N[0] & /*modalIsOpen*/
4665
4622
  128 && n !== (n = /*modalIsOpen*/
4666
4623
  e[7] ? "ModalCloseBtn" : "")) && g(r, "class", n), N[0] & /*activeMenuItemId, HamburgerMenuItems, changeMenu*/
4667
4624
  32816) {
4668
- I = Q(
4625
+ L = Q(
4669
4626
  /*HamburgerMenuItems*/
4670
4627
  e[4]
4671
4628
  );
4672
4629
  let _;
4673
- for (_ = 0; _ < I.length; _ += 1) {
4674
- const V = vr(e, I, _);
4675
- y[_] ? y[_].p(V, N) : (y[_] = Er(V), y[_].c(), y[_].m(s, null));
4630
+ for (_ = 0; _ < L.length; _ += 1) {
4631
+ const V = dr(e, L, _);
4632
+ v[_] ? v[_].p(V, N) : (v[_] = br(V), v[_].c(), v[_].m(s, null));
4676
4633
  }
4677
- for (; _ < y.length; _ += 1)
4678
- y[_].d(1);
4679
- y.length = I.length;
4634
+ for (; _ < v.length; _ += 1)
4635
+ v[_].d(1);
4636
+ v.length = L.length;
4680
4637
  }
4681
- if ((!p || N[0] & /*menuIsFixed*/
4638
+ if ((!m || N[0] & /*menuIsFixed*/
4682
4639
  256 && a !== (a = "HamburgerPrimaryMenu " + /*menuIsFixed*/
4683
4640
  (e[8] ? "HamburgerPrimaryMenuFixed" : ""))) && g(s, "class", a), N[0] & /*handleClick, activeMenuItemChildren*/
4684
4641
  65600) {
4685
- T = Q(
4642
+ M = Q(
4686
4643
  /*activeMenuItemChildren*/
4687
4644
  e[6]
4688
4645
  );
4689
4646
  let _;
4690
- for (_ = 0; _ < T.length; _ += 1) {
4691
- const V = yr(e, T, _);
4692
- A[_] ? A[_].p(V, N) : (A[_] = wr(V), A[_].c(), A[_].m(l, null));
4647
+ for (_ = 0; _ < M.length; _ += 1) {
4648
+ const V = mr(e, M, _);
4649
+ A[_] ? A[_].p(V, N) : (A[_] = vr(V), A[_].c(), A[_].m(l, null));
4693
4650
  }
4694
4651
  for (; _ < A.length; _ += 1)
4695
4652
  A[_].d(1);
4696
- A.length = T.length;
4653
+ A.length = M.length;
4697
4654
  }
4698
- (!p || N[0] & /*menuIsFixed*/
4655
+ (!m || N[0] & /*menuIsFixed*/
4699
4656
  256 && h !== (h = "HamburgerSecondaryMenu " + /*menuIsFixed*/
4700
4657
  (e[8] ? "HamburgerSecondaryMenuFixed" : ""))) && g(l, "class", h), /*languagesArray*/
4701
- e[10].length > 1 ? R ? R.p(e, N) : (R = Hr(e), R.c(), R.m(o, null)) : R && (R.d(1), R = null), (!p || N[0] & /*modalIsOpen*/
4658
+ e[10].length > 1 ? R ? R.p(e, N) : (R = yr(e), R.c(), R.m(o, null)) : R && (R.d(1), R = null), (!m || N[0] & /*modalIsOpen*/
4702
4659
  128 && f !== (f = "HamburgerModalContainer " + /*modalIsOpen*/
4703
4660
  (e[7] ? "ActiveHamburgerMenu" : ""))) && g(o, "class", f);
4704
4661
  },
4705
4662
  i(x) {
4706
- p || (Ee(S, x), x && he(() => {
4707
- p && (m || (m = Xt(t, zt, { transitionDuration: Mr }, !0)), m.run(1));
4708
- }), p = !0);
4663
+ m || (we(T, x), x && ce(() => {
4664
+ m && (d || (d = Gt(t, kt, { transitionDuration: wr }, !0)), d.run(1));
4665
+ }), m = !0);
4709
4666
  },
4710
4667
  o(x) {
4711
- lt(S, x), x && (m || (m = Xt(t, zt, { transitionDuration: Mr }, !1)), m.run(0)), p = !1;
4668
+ st(T, x), x && (d || (d = Gt(t, kt, { transitionDuration: wr }, !1)), d.run(0)), m = !1;
4712
4669
  },
4713
4670
  d(x) {
4714
- x && U(t), S && S.d(x), Fe(y, x), Fe(A, x), R && R.d(), e[38](null), x && m && m.end(), b = !1, H();
4671
+ x && U(t), T && T.d(x), Fe(v, x), Fe(A, x), R && R.d(), e[38](null), x && d && d.end(), b = !1, H();
4715
4672
  }
4716
4673
  };
4717
4674
  }
4718
- function Ss(e) {
4675
+ function _s(e) {
4719
4676
  let t, r;
4720
4677
  return {
4721
4678
  c() {
4722
4679
  t = ee("svg"), r = ee("path"), g(r, "stroke-linecap", "round"), g(r, "stroke-linejoin", "round"), g(r, "stroke-width", "2"), g(r, "d", "M6 18L18 6M6 6l12 12"), g(t, "class", "w-6 h-6"), g(t, "fill", "none"), g(t, "stroke", "currentColor"), g(t, "viewBox", "0 0 24 24"), g(t, "xmlns", "http://www.w3.org/2000/svg");
4723
4680
  },
4724
4681
  m(n, i) {
4725
- j(n, t, i), v(t, r);
4682
+ j(n, t, i), y(t, r);
4726
4683
  },
4727
4684
  p: k,
4728
4685
  d(n) {
@@ -4730,7 +4687,7 @@ function Ss(e) {
4730
4687
  }
4731
4688
  };
4732
4689
  }
4733
- function Er(e) {
4690
+ function br(e) {
4734
4691
  let t, r, n, i, o, s = (
4735
4692
  /*mainItem*/
4736
4693
  e[59].label + ""
@@ -4746,30 +4703,30 @@ function Er(e) {
4746
4703
  }
4747
4704
  return {
4748
4705
  c() {
4749
- t = M("li"), r = M("div"), n = M("img"), o = $(), a = re(s), u = $(), Y(n.src, i = /*mainItem*/
4706
+ t = B("li"), r = B("div"), n = B("img"), o = $(), a = re(s), u = $(), Y(n.src, i = /*mainItem*/
4750
4707
  e[59].img) || g(n, "src", i), g(n, "alt", "menu icon"), g(r, "class", "HamburgerItemContainer"), g(t, "class", l = /*activeMenuItemId*/
4751
4708
  e[5] === /*mainItem*/
4752
4709
  e[59].id ? "ActiveItem" : "");
4753
4710
  },
4754
- m(m, p) {
4755
- j(m, t, p), v(t, r), v(r, n), v(r, o), v(r, a), v(t, u), h || (c = te(t, "click", f), h = !0);
4711
+ m(d, m) {
4712
+ j(d, t, m), y(t, r), y(r, n), y(r, o), y(r, a), y(t, u), h || (c = te(t, "click", f), h = !0);
4756
4713
  },
4757
- p(m, p) {
4758
- e = m, p[0] & /*HamburgerMenuItems*/
4714
+ p(d, m) {
4715
+ e = d, m[0] & /*HamburgerMenuItems*/
4759
4716
  16 && !Y(n.src, i = /*mainItem*/
4760
- e[59].img) && g(n, "src", i), p[0] & /*HamburgerMenuItems*/
4717
+ e[59].img) && g(n, "src", i), m[0] & /*HamburgerMenuItems*/
4761
4718
  16 && s !== (s = /*mainItem*/
4762
- e[59].label + "") && de(a, s), p[0] & /*activeMenuItemId, HamburgerMenuItems*/
4719
+ e[59].label + "") && ge(a, s), m[0] & /*activeMenuItemId, HamburgerMenuItems*/
4763
4720
  48 && l !== (l = /*activeMenuItemId*/
4764
4721
  e[5] === /*mainItem*/
4765
4722
  e[59].id ? "ActiveItem" : "") && g(t, "class", l);
4766
4723
  },
4767
- d(m) {
4768
- m && U(t), h = !1, c();
4724
+ d(d) {
4725
+ d && U(t), h = !1, c();
4769
4726
  }
4770
4727
  };
4771
4728
  }
4772
- function wr(e) {
4729
+ function vr(e) {
4773
4730
  let t, r, n, i, o = (
4774
4731
  /*secondaryItem*/
4775
4732
  e[56].label + ""
@@ -4786,25 +4743,25 @@ function wr(e) {
4786
4743
  }
4787
4744
  return {
4788
4745
  c() {
4789
- t = M("li"), r = M("img"), i = $(), s = re(o), a = $(), Y(r.src, n = /*secondaryItem*/
4746
+ t = B("li"), r = B("img"), i = $(), s = re(o), a = $(), Y(r.src, n = /*secondaryItem*/
4790
4747
  e[56].img) || g(r, "src", n), g(r, "alt", "menu icon");
4791
4748
  },
4792
4749
  m(c, f) {
4793
- j(c, t, f), v(t, r), v(t, i), v(t, s), v(t, a), u || (l = te(t, "click", h), u = !0);
4750
+ j(c, t, f), y(t, r), y(t, i), y(t, s), y(t, a), u || (l = te(t, "click", h), u = !0);
4794
4751
  },
4795
4752
  p(c, f) {
4796
4753
  e = c, f[0] & /*activeMenuItemChildren*/
4797
4754
  64 && !Y(r.src, n = /*secondaryItem*/
4798
4755
  e[56].img) && g(r, "src", n), f[0] & /*activeMenuItemChildren*/
4799
4756
  64 && o !== (o = /*secondaryItem*/
4800
- e[56].label + "") && de(s, o);
4757
+ e[56].label + "") && ge(s, o);
4801
4758
  },
4802
4759
  d(c) {
4803
4760
  c && U(t), u = !1, l();
4804
4761
  }
4805
4762
  };
4806
4763
  }
4807
- function Hr(e) {
4764
+ function yr(e) {
4808
4765
  let t, r, n = (
4809
4766
  /*$_*/
4810
4767
  e[13]("language") + ""
@@ -4812,84 +4769,84 @@ function Hr(e) {
4812
4769
  function s(l, h) {
4813
4770
  return (
4814
4771
  /*countryflaghamburger*/
4815
- l[0] !== "true" ? As : Ts
4772
+ l[0] !== "true" ? Es : xs
4816
4773
  );
4817
4774
  }
4818
4775
  let a = s(e), u = a(e);
4819
4776
  return {
4820
4777
  c() {
4821
- t = M("div"), r = M("span"), i = re(n), o = $(), u.c(), g(r, "class", "LanguageSelect"), g(t, "class", "LanguageSelectorTitle");
4778
+ t = B("div"), r = B("span"), i = re(n), o = $(), u.c(), g(r, "class", "LanguageSelect"), g(t, "class", "LanguageSelectorTitle");
4822
4779
  },
4823
4780
  m(l, h) {
4824
- j(l, t, h), v(t, r), v(r, i), v(t, o), u.m(t, null);
4781
+ j(l, t, h), y(t, r), y(r, i), y(t, o), u.m(t, null);
4825
4782
  },
4826
4783
  p(l, h) {
4827
4784
  h[0] & /*$_*/
4828
4785
  8192 && n !== (n = /*$_*/
4829
- l[13]("language") + "") && de(i, n), a === (a = s(l)) && u ? u.p(l, h) : (u.d(1), u = a(l), u && (u.c(), u.m(t, null)));
4786
+ l[13]("language") + "") && ge(i, n), a === (a = s(l)) && u ? u.p(l, h) : (u.d(1), u = a(l), u && (u.c(), u.m(t, null)));
4830
4787
  },
4831
4788
  d(l) {
4832
4789
  l && U(t), u.d();
4833
4790
  }
4834
4791
  };
4835
4792
  }
4836
- function Ts(e) {
4793
+ function xs(e) {
4837
4794
  let t, r, n, i, o, s, a, u = (
4838
4795
  /*selectedLanguage*/
4839
4796
  e[12].slice(-2) + ""
4840
- ), l, h, c, f, m, p, b, H, O, B, S, I, y = (
4797
+ ), l, h, c, f, d, m, b, H, I, P, T, L, v = (
4841
4798
  /*isOptionsListVisible*/
4842
- e[11] && Sr(e)
4799
+ e[11] && _r(e)
4843
4800
  );
4844
4801
  return {
4845
4802
  c() {
4846
- t = M("div"), r = M("div"), n = M("span"), i = M("img"), s = $(), a = M("span"), l = re(u), h = $(), c = M("span"), f = ee("svg"), m = ee("g"), p = ee("g"), b = ee("g"), H = ee("path"), B = $(), y && y.c(), Y(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4803
+ t = B("div"), r = B("div"), n = B("span"), i = B("img"), s = $(), a = B("span"), l = re(u), h = $(), c = B("span"), f = ee("svg"), d = ee("g"), m = ee("g"), b = ee("g"), H = ee("path"), P = $(), v && v.c(), Y(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4847
4804
  e[20](
4848
4805
  /*selectedLanguage*/
4849
4806
  e[12].slice(-2)
4850
- )}.svg`) || g(i, "src", o), g(n, "class", "FlagIcon"), g(a, "class", "LanguageName"), g(H, "d", "M223.708 6534.634c.39-.405.39-1.06 0-1.464l-8.264-8.563a1.95 1.95 0 0 0-2.827 0l-8.325 8.625c-.385.4-.39 1.048-.01 1.454a.976.976 0 0 0 1.425.01l7.617-7.893a.975.975 0 0 1 1.414 0l7.557 7.83a.974.974 0 0 0 1.413 0"), g(b, "transform", "translate(56 160)"), g(p, "fill", "#000"), g(p, "transform", "translate(-260 -6684)"), g(m, "fill", "none"), g(m, "fill-rule", "evenodd"), g(f, "xmlns", "http://www.w3.org/2000/svg"), g(f, "width", "20"), g(f, "height", "11"), g(f, "viewBox", "0 0 20 11"), g(f, "id", "arrow"), g(c, "class", O = "TriangleInactive " + /*isOptionsListVisible*/
4807
+ )}.svg`) || g(i, "src", o), g(n, "class", "FlagIcon"), g(a, "class", "LanguageName"), g(H, "d", "M223.708 6534.634c.39-.405.39-1.06 0-1.464l-8.264-8.563a1.95 1.95 0 0 0-2.827 0l-8.325 8.625c-.385.4-.39 1.048-.01 1.454a.976.976 0 0 0 1.425.01l7.617-7.893a.975.975 0 0 1 1.414 0l7.557 7.83a.974.974 0 0 0 1.413 0"), g(b, "transform", "translate(56 160)"), g(m, "fill", "#000"), g(m, "transform", "translate(-260 -6684)"), g(d, "fill", "none"), g(d, "fill-rule", "evenodd"), g(f, "xmlns", "http://www.w3.org/2000/svg"), g(f, "width", "20"), g(f, "height", "11"), g(f, "viewBox", "0 0 20 11"), g(f, "id", "arrow"), g(c, "class", I = "TriangleInactive " + /*isOptionsListVisible*/
4851
4808
  (e[11] ? "TriangleActive" : "")), g(r, "class", "SelectedOption Item ItemLanguage"), g(t, "class", "LanguageDropdown");
4852
4809
  },
4853
- m(T, A) {
4854
- j(T, t, A), v(t, r), v(r, n), v(n, i), v(r, s), v(r, a), v(a, l), v(r, h), v(r, c), v(c, f), v(f, m), v(m, p), v(p, b), v(b, H), v(t, B), y && y.m(t, null), S || (I = te(
4810
+ m(M, A) {
4811
+ j(M, t, A), y(t, r), y(r, n), y(n, i), y(r, s), y(r, a), y(a, l), y(r, h), y(r, c), y(c, f), y(f, d), y(d, m), y(m, b), y(b, H), y(t, P), v && v.m(t, null), T || (L = te(
4855
4812
  r,
4856
4813
  "click",
4857
4814
  /*click_handler_2*/
4858
4815
  e[36]
4859
- ), S = !0);
4816
+ ), T = !0);
4860
4817
  },
4861
- p(T, A) {
4818
+ p(M, A) {
4862
4819
  A[0] & /*selectedLanguage, languagesArray*/
4863
4820
  5120 && !Y(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4864
- T[20](
4821
+ M[20](
4865
4822
  /*selectedLanguage*/
4866
- T[12].slice(-2)
4823
+ M[12].slice(-2)
4867
4824
  )}.svg`) && g(i, "src", o), A[0] & /*selectedLanguage*/
4868
4825
  4096 && u !== (u = /*selectedLanguage*/
4869
- T[12].slice(-2) + "") && de(l, u), A[0] & /*isOptionsListVisible*/
4870
- 2048 && O !== (O = "TriangleInactive " + /*isOptionsListVisible*/
4871
- (T[11] ? "TriangleActive" : "")) && g(c, "class", O), /*isOptionsListVisible*/
4872
- T[11] ? y ? y.p(T, A) : (y = Sr(T), y.c(), y.m(t, null)) : y && (y.d(1), y = null);
4826
+ M[12].slice(-2) + "") && ge(l, u), A[0] & /*isOptionsListVisible*/
4827
+ 2048 && I !== (I = "TriangleInactive " + /*isOptionsListVisible*/
4828
+ (M[11] ? "TriangleActive" : "")) && g(c, "class", I), /*isOptionsListVisible*/
4829
+ M[11] ? v ? v.p(M, A) : (v = _r(M), v.c(), v.m(t, null)) : v && (v.d(1), v = null);
4873
4830
  },
4874
- d(T) {
4875
- T && U(t), y && y.d(), S = !1, I();
4831
+ d(M) {
4832
+ M && U(t), v && v.d(), T = !1, L();
4876
4833
  }
4877
4834
  };
4878
4835
  }
4879
- function As(e) {
4836
+ function Es(e) {
4880
4837
  let t, r, n, i = Q(
4881
4838
  /*languagesArray*/
4882
4839
  e[10]
4883
4840
  ), o = [];
4884
4841
  for (let s = 0; s < i.length; s += 1)
4885
- o[s] = Ar(br(e, i, s));
4842
+ o[s] = Er(fr(e, i, s));
4886
4843
  return {
4887
4844
  c() {
4888
- t = M("select");
4845
+ t = B("select");
4889
4846
  for (let s = 0; s < o.length; s += 1)
4890
4847
  o[s].c();
4891
4848
  g(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
4892
- e[12] === void 0 && he(() => (
4849
+ e[12] === void 0 && ce(() => (
4893
4850
  /*select_change_handler*/
4894
4851
  e[34].call(t)
4895
4852
  ));
@@ -4898,7 +4855,7 @@ function As(e) {
4898
4855
  j(s, t, a);
4899
4856
  for (let u = 0; u < o.length; u += 1)
4900
4857
  o[u] && o[u].m(t, null);
4901
- jt(
4858
+ Ut(
4902
4859
  t,
4903
4860
  /*selectedLanguage*/
4904
4861
  e[12],
@@ -4927,15 +4884,15 @@ function As(e) {
4927
4884
  );
4928
4885
  let u;
4929
4886
  for (u = 0; u < i.length; u += 1) {
4930
- const l = br(s, i, u);
4931
- o[u] ? o[u].p(l, a) : (o[u] = Ar(l), o[u].c(), o[u].m(t, null));
4887
+ const l = fr(s, i, u);
4888
+ o[u] ? o[u].p(l, a) : (o[u] = Er(l), o[u].c(), o[u].m(t, null));
4932
4889
  }
4933
4890
  for (; u < o.length; u += 1)
4934
4891
  o[u].d(1);
4935
4892
  o.length = i.length;
4936
4893
  }
4937
4894
  a[0] & /*selectedLanguage, languagesArray*/
4938
- 5120 && jt(
4895
+ 5120 && Ut(
4939
4896
  t,
4940
4897
  /*selectedLanguage*/
4941
4898
  s[12]
@@ -4946,16 +4903,16 @@ function As(e) {
4946
4903
  }
4947
4904
  };
4948
4905
  }
4949
- function Sr(e) {
4906
+ function _r(e) {
4950
4907
  let t, r = Q(
4951
4908
  /*languagesArray*/
4952
4909
  e[10]
4953
4910
  ), n = [];
4954
4911
  for (let i = 0; i < r.length; i += 1)
4955
- n[i] = Tr(gr(e, r, i));
4912
+ n[i] = xr(cr(e, r, i));
4956
4913
  return {
4957
4914
  c() {
4958
- t = M("div");
4915
+ t = B("div");
4959
4916
  for (let i = 0; i < n.length; i += 1)
4960
4917
  n[i].c();
4961
4918
  g(t, "class", "OptionList");
@@ -4974,8 +4931,8 @@ function Sr(e) {
4974
4931
  );
4975
4932
  let s;
4976
4933
  for (s = 0; s < r.length; s += 1) {
4977
- const a = gr(i, r, s);
4978
- n[s] ? n[s].p(a, o) : (n[s] = Tr(a), n[s].c(), n[s].m(t, null));
4934
+ const a = cr(i, r, s);
4935
+ n[s] ? n[s].p(a, o) : (n[s] = xr(a), n[s].c(), n[s].m(t, null));
4979
4936
  }
4980
4937
  for (; s < n.length; s += 1)
4981
4938
  n[s].d(1);
@@ -4987,7 +4944,7 @@ function Sr(e) {
4987
4944
  }
4988
4945
  };
4989
4946
  }
4990
- function Tr(e) {
4947
+ function xr(e) {
4991
4948
  let t, r, n, i, o, s, a = (
4992
4949
  /*operatorLanguage*/
4993
4950
  e[53] + ""
@@ -5003,63 +4960,63 @@ function Tr(e) {
5003
4960
  }
5004
4961
  return {
5005
4962
  c() {
5006
- t = M("div"), r = M("span"), n = M("img"), o = $(), s = M("span"), u = re(a), l = $(), Y(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4963
+ t = B("div"), r = B("span"), n = B("img"), o = $(), s = B("span"), u = re(a), l = $(), Y(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
5007
4964
  e[20](
5008
4965
  /*operatorLanguage*/
5009
4966
  e[53]
5010
4967
  )}.svg`) || g(n, "src", i), g(r, "class", "FlagIcon"), g(s, "class", "LanguageName"), g(t, "class", "LanguageOption");
5011
4968
  },
5012
- m(m, p) {
5013
- j(m, t, p), v(t, r), v(r, n), v(t, o), v(t, s), v(s, u), v(t, l), h || (c = te(t, "click", f), h = !0);
4969
+ m(d, m) {
4970
+ j(d, t, m), y(t, r), y(r, n), y(t, o), y(t, s), y(s, u), y(t, l), h || (c = te(t, "click", f), h = !0);
5014
4971
  },
5015
- p(m, p) {
5016
- e = m, p[0] & /*languagesArray*/
4972
+ p(d, m) {
4973
+ e = d, m[0] & /*languagesArray*/
5017
4974
  1024 && !Y(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
5018
4975
  e[20](
5019
4976
  /*operatorLanguage*/
5020
4977
  e[53]
5021
- )}.svg`) && g(n, "src", i), p[0] & /*languagesArray*/
4978
+ )}.svg`) && g(n, "src", i), m[0] & /*languagesArray*/
5022
4979
  1024 && a !== (a = /*operatorLanguage*/
5023
- e[53] + "") && de(u, a);
4980
+ e[53] + "") && ge(u, a);
5024
4981
  },
5025
- d(m) {
5026
- m && U(t), h = !1, c();
4982
+ d(d) {
4983
+ d && U(t), h = !1, c();
5027
4984
  }
5028
4985
  };
5029
4986
  }
5030
- function Ar(e) {
4987
+ function Er(e) {
5031
4988
  let t, r = (
5032
4989
  /*lang*/
5033
4990
  e[1].slice(-2) + ""
5034
4991
  ), n, i;
5035
4992
  return {
5036
4993
  c() {
5037
- t = M("option"), n = re(r), t.__value = i = /*lang*/
5038
- e[1], kt(t, t.__value), t.selected = !0;
4994
+ t = B("option"), n = re(r), t.__value = i = /*lang*/
4995
+ e[1], Ft(t, t.__value), t.selected = !0;
5039
4996
  },
5040
4997
  m(o, s) {
5041
- j(o, t, s), v(t, n);
4998
+ j(o, t, s), y(t, n);
5042
4999
  },
5043
5000
  p(o, s) {
5044
5001
  s[0] & /*languagesArray*/
5045
5002
  1024 && r !== (r = /*lang*/
5046
- o[1].slice(-2) + "") && de(n, r), s[0] & /*languagesArray*/
5003
+ o[1].slice(-2) + "") && ge(n, r), s[0] & /*languagesArray*/
5047
5004
  1024 && i !== (i = /*lang*/
5048
- o[1]) && (t.__value = i, kt(t, t.__value));
5005
+ o[1]) && (t.__value = i, Ft(t, t.__value));
5049
5006
  },
5050
5007
  d(o) {
5051
5008
  o && U(t);
5052
5009
  }
5053
5010
  };
5054
5011
  }
5055
- function Ms(e) {
5012
+ function ws(e) {
5056
5013
  let t, r, n = (
5057
5014
  /*show*/
5058
- e[9] === !0 && xr(e)
5015
+ e[9] === !0 && gr(e)
5059
5016
  );
5060
5017
  return {
5061
5018
  c() {
5062
- t = M("div"), n && n.c();
5019
+ t = B("div"), n && n.c();
5063
5020
  },
5064
5021
  m(i, o) {
5065
5022
  j(i, t, o), n && n.m(t, null), e[39](t), r = !0;
@@ -5067,50 +5024,50 @@ function Ms(e) {
5067
5024
  p(i, o) {
5068
5025
  /*show*/
5069
5026
  i[9] === !0 ? n ? (n.p(i, o), o[0] & /*show*/
5070
- 512 && Ee(n, 1)) : (n = xr(i), n.c(), Ee(n, 1), n.m(t, null)) : n && (oi(), lt(n, 1, 1, () => {
5027
+ 512 && we(n, 1)) : (n = gr(i), n.c(), we(n, 1), n.m(t, null)) : n && (ei(), st(n, 1, 1, () => {
5071
5028
  n = null;
5072
- }), si());
5029
+ }), ti());
5073
5030
  },
5074
5031
  i(i) {
5075
- r || (Ee(n), r = !0);
5032
+ r || (we(n), r = !0);
5076
5033
  },
5077
5034
  o(i) {
5078
- lt(n), r = !1;
5035
+ st(n), r = !1;
5079
5036
  },
5080
5037
  d(i) {
5081
5038
  i && U(t), n && n.d(), e[39](null);
5082
5039
  }
5083
5040
  };
5084
5041
  }
5085
- let Mr = 350;
5086
- function Bs(e, t, r) {
5042
+ let wr = 350;
5043
+ function Hs(e, t, r) {
5087
5044
  let n;
5088
- Nn(e, bs, (d) => r(13, n = d));
5089
- let { $$slots: i = {}, $$scope: o } = t, { menuitemsurl: s = "" } = t, { lang: a = "en" } = t, { activecategory: u = "" } = t, { languageslist: l = "" } = t, { translationurl: h = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { customlocaleidentifier: m = "" } = t, { countryflaghamburger: p = "" } = t, { mbsource: b } = t, H, O = window.navigator.userAgent, B = [], S, I = "", y = [], T = !1, A = !1, R = !1, x = !0, N = [], _ = !1, V = !1, ie = "", z;
5090
- const dn = () => {
5091
- fetch(h).then((L) => L.json()).then((L) => {
5092
- Object.keys(L).forEach((W) => {
5093
- mr(W, L[W]);
5045
+ Pn(e, fs, (p) => r(13, n = p));
5046
+ let { $$slots: i = {}, $$scope: o } = t, { menuitemsurl: s = "" } = t, { lang: a = "en" } = t, { activecategory: u = "" } = t, { languageslist: l = "" } = t, { translationurl: h = "" } = t, { clientstyling: c = "" } = t, { clientstylingurl: f = "" } = t, { customlocaleidentifier: d = "" } = t, { countryflaghamburger: m = "" } = t, { mbsource: b } = t, H, I = window.navigator.userAgent, P = [], T, L = "", v = [], M = !1, A = !1, R = !1, x = !0, N = [], _ = !1, V = !1, ie = "", X;
5047
+ const hn = () => {
5048
+ fetch(h).then((C) => C.json()).then((C) => {
5049
+ Object.keys(C).forEach((W) => {
5050
+ lr(W, C[W]);
5094
5051
  });
5095
- }).catch((L) => {
5096
- console.log(L);
5052
+ }).catch((C) => {
5053
+ console.log(C);
5097
5054
  });
5098
5055
  };
5099
- Object.keys(dr).forEach((d) => {
5100
- mr(d, dr[d]);
5056
+ Object.keys(hr).forEach((p) => {
5057
+ lr(p, hr[p]);
5101
5058
  });
5102
- const Bt = () => {
5103
- r(9, R = !1), r(7, T = !1), r(8, A = !1), r(11, V = !1), window.postMessage(
5059
+ const Ht = () => {
5060
+ r(9, R = !1), r(7, M = !1), r(8, A = !1), r(11, V = !1), window.postMessage(
5104
5061
  {
5105
5062
  type: "CloseHamburgerMenu",
5106
5063
  showhamburger: !0
5107
5064
  },
5108
5065
  window.location.href
5109
5066
  );
5110
- }, Pt = (d) => {
5111
- d.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(9, R = !0), setTimeout(
5067
+ }, St = (p) => {
5068
+ p.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(9, R = !0), setTimeout(
5112
5069
  () => {
5113
- r(7, T = !0);
5070
+ r(7, M = !0);
5114
5071
  },
5115
5072
  500
5116
5073
  ), setTimeout(
@@ -5118,45 +5075,45 @@ function Bs(e, t, r) {
5118
5075
  r(8, A = !0);
5119
5076
  },
5120
5077
  1500
5121
- ), gn(s));
5122
- }, Me = (d, L) => {
5123
- r(5, I = d), r(6, y = L || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5078
+ ), cn(s));
5079
+ }, Ae = (p, C) => {
5080
+ r(5, L = p), r(6, v = C || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5124
5081
  context: "HamburgerMenu",
5125
- menuItem: `${I}`
5082
+ menuItem: `${L}`
5126
5083
  });
5127
- }, Ot = () => {
5128
- let d = B.filter((L) => {
5129
- var Rt;
5084
+ }, Tt = () => {
5085
+ let p = P.filter((C) => {
5086
+ var Ot;
5130
5087
  let W = !1;
5131
- return (Rt = L.children) == null || Rt.forEach((An) => {
5132
- An.path.includes(u) && (W = !0);
5088
+ return (Ot = C.children) == null || Ot.forEach((En) => {
5089
+ En.path.includes(u) && (W = !0);
5133
5090
  }), W;
5134
5091
  });
5135
- d.length > 0 ? Me(d[0].id, d[0].children) : Me(B[0].id, B[0].children);
5136
- }, gn = (d) => new Promise((L, W) => {
5137
- S && !_ ? L(S) : It(d);
5138
- }), It = (d) => {
5139
- fetch(d).then((L) => L.json()).then(
5140
- (L) => {
5141
- r(4, B = L.filter((W) => (W == null ? void 0 : W.type) !== "banner")), Ot(), r(29, x = !1), S = L, _ = !1;
5092
+ p.length > 0 ? Ae(p[0].id, p[0].children) : Ae(P[0].id, P[0].children);
5093
+ }, cn = (p) => new Promise((C, W) => {
5094
+ T && !_ ? C(T) : Mt(p);
5095
+ }), Mt = (p) => {
5096
+ fetch(p).then((C) => C.json()).then(
5097
+ (C) => {
5098
+ r(4, P = C.filter((W) => (W == null ? void 0 : W.type) !== "banner")), Tt(), r(29, x = !1), T = C, _ = !1;
5142
5099
  },
5143
- (L) => {
5144
- console.error(L);
5100
+ (C) => {
5101
+ console.error(C);
5145
5102
  }
5146
5103
  );
5147
5104
  };
5148
- let Lt = (d) => {
5105
+ let At = (p) => {
5149
5106
  window.postMessage(
5150
5107
  {
5151
5108
  type: "NavigateTo",
5152
- path: d.path,
5153
- externalLink: d.externalLink || !1,
5154
- target: d.attrs.target || null
5109
+ path: p.path,
5110
+ externalLink: p.externalLink || !1,
5111
+ target: p.attrs.target || null
5155
5112
  },
5156
5113
  window.location.href
5157
- ), Bt();
5114
+ ), Ht();
5158
5115
  };
5159
- const Je = () => {
5116
+ const qe = () => {
5160
5117
  _ = !0, window.postMessage(
5161
5118
  {
5162
5119
  type: "LanguageChanged",
@@ -5164,94 +5121,94 @@ function Bs(e, t, r) {
5164
5121
  },
5165
5122
  window.location.href
5166
5123
  );
5167
- }, bn = () => {
5168
- Es(a), _ && It(s), r(10, N = l.replace(/ /g, "").split(",")), r(10, N = N.map((d) => d.toUpperCase())), r(12, ie = a.toUpperCase());
5169
- }, Ct = (d) => {
5170
- r(12, ie = d), r(11, V = !1), Je();
5171
- }, Nt = () => {
5124
+ }, fn = () => {
5125
+ bs(a), _ && Mt(s), r(10, N = l.replace(/ /g, "").split(",")), r(10, N = N.map((p) => p.toUpperCase())), r(12, ie = a.toUpperCase());
5126
+ }, Bt = (p) => {
5127
+ r(12, ie = p), r(11, V = !1), qe();
5128
+ }, Pt = () => {
5172
5129
  r(11, V = !V);
5173
- }, yn = (d) => (m && (d = m.includes(d.toLowerCase()) ? m.slice(-2) : d), d == "EN" ? "US" : d.toUpperCase());
5174
- Kn(() => (window.addEventListener("message", Pt, !1), ys(O), () => {
5175
- window.removeEventListener("message", Pt);
5130
+ }, mn = (p) => (d && (p = d.includes(p.toLowerCase()) ? d.slice(-2) : p), p == "EN" ? "US" : p.toUpperCase());
5131
+ Zn(() => (window.addEventListener("message", St, !1), ms(I), () => {
5132
+ window.removeEventListener("message", St);
5176
5133
  }));
5177
- const vn = (d) => Me(d.id, d.children), _n = (d, L) => {
5178
- Lt(d), L.preventDefault();
5134
+ const dn = (p) => Ae(p.id, p.children), pn = (p, C) => {
5135
+ At(p), C.preventDefault();
5179
5136
  };
5180
- function xn() {
5181
- ie = Wn(this), r(12, ie), r(10, N);
5137
+ function gn() {
5138
+ ie = Dn(this), r(12, ie), r(10, N);
5182
5139
  }
5183
- const En = () => Je(), wn = () => Nt(), Hn = (d) => Ct(d);
5184
- function Sn(d) {
5185
- De[d ? "unshift" : "push"](() => {
5186
- H = d, r(3, H);
5140
+ const bn = () => qe(), vn = () => Pt(), yn = (p) => Bt(p);
5141
+ function _n(p) {
5142
+ De[p ? "unshift" : "push"](() => {
5143
+ H = p, r(3, H);
5187
5144
  });
5188
5145
  }
5189
- function Tn(d) {
5190
- De[d ? "unshift" : "push"](() => {
5191
- z = d, r(2, z);
5146
+ function xn(p) {
5147
+ De[p ? "unshift" : "push"](() => {
5148
+ X = p, r(2, X);
5192
5149
  });
5193
5150
  }
5194
- return e.$$set = (d) => {
5195
- "menuitemsurl" in d && r(21, s = d.menuitemsurl), "lang" in d && r(1, a = d.lang), "activecategory" in d && r(22, u = d.activecategory), "languageslist" in d && r(23, l = d.languageslist), "translationurl" in d && r(24, h = d.translationurl), "clientstyling" in d && r(25, c = d.clientstyling), "clientstylingurl" in d && r(26, f = d.clientstylingurl), "customlocaleidentifier" in d && r(27, m = d.customlocaleidentifier), "countryflaghamburger" in d && r(0, p = d.countryflaghamburger), "mbsource" in d && r(28, b = d.mbsource), "$$scope" in d && r(30, o = d.$$scope);
5151
+ return e.$$set = (p) => {
5152
+ "menuitemsurl" in p && r(21, s = p.menuitemsurl), "lang" in p && r(1, a = p.lang), "activecategory" in p && r(22, u = p.activecategory), "languageslist" in p && r(23, l = p.languageslist), "translationurl" in p && r(24, h = p.translationurl), "clientstyling" in p && r(25, c = p.clientstyling), "clientstylingurl" in p && r(26, f = p.clientstylingurl), "customlocaleidentifier" in p && r(27, d = p.customlocaleidentifier), "countryflaghamburger" in p && r(0, m = p.countryflaghamburger), "mbsource" in p && r(28, b = p.mbsource), "$$scope" in p && r(30, o = p.$$scope);
5196
5153
  }, e.$$.update = () => {
5197
5154
  e.$$.dirty[0] & /*lang, languageslist*/
5198
- 8388610 && a && l && bn(), e.$$.dirty[0] & /*activecategory, isLoading*/
5199
- 541065216 && u && !x && Ot(), e.$$.dirty[0] & /*translationurl*/
5200
- 16777216 && h && dn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5201
- 33554436 && c && z && vs(z, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5202
- 67108868 && f && z && _s(z, f), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5203
- 268435460 && z && xs(z, `${b}.Style`);
5155
+ 8388610 && a && l && fn(), e.$$.dirty[0] & /*activecategory, isLoading*/
5156
+ 541065216 && u && !x && Tt(), e.$$.dirty[0] & /*translationurl*/
5157
+ 16777216 && h && hn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5158
+ 33554436 && c && X && ds(X, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5159
+ 67108868 && f && X && ps(X, f), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5160
+ 268435460 && X && gs(X, `${b}.Style`);
5204
5161
  }, [
5205
- p,
5162
+ m,
5206
5163
  a,
5207
- z,
5164
+ X,
5208
5165
  H,
5209
- B,
5210
- I,
5211
- y,
5212
- T,
5166
+ P,
5167
+ L,
5168
+ v,
5169
+ M,
5213
5170
  A,
5214
5171
  R,
5215
5172
  N,
5216
5173
  V,
5217
5174
  ie,
5218
5175
  n,
5176
+ Ht,
5177
+ Ae,
5178
+ At,
5179
+ qe,
5219
5180
  Bt,
5220
- Me,
5221
- Lt,
5222
- Je,
5223
- Ct,
5224
- Nt,
5225
- yn,
5181
+ Pt,
5182
+ mn,
5226
5183
  s,
5227
5184
  u,
5228
5185
  l,
5229
5186
  h,
5230
5187
  c,
5231
5188
  f,
5232
- m,
5189
+ d,
5233
5190
  b,
5234
5191
  x,
5235
5192
  o,
5236
5193
  i,
5194
+ dn,
5195
+ pn,
5196
+ gn,
5197
+ bn,
5237
5198
  vn,
5199
+ yn,
5238
5200
  _n,
5239
- xn,
5240
- En,
5241
- wn,
5242
- Hn,
5243
- Sn,
5244
- Tn
5201
+ xn
5245
5202
  ];
5246
5203
  }
5247
- class Ps extends pi {
5204
+ class Ss extends ui {
5248
5205
  constructor(t) {
5249
- super(), ci(
5206
+ super(), si(
5250
5207
  this,
5251
5208
  t,
5252
- Bs,
5253
- Ms,
5254
- Or,
5209
+ Hs,
5210
+ ws,
5211
+ Tr,
5255
5212
  {
5256
5213
  menuitemsurl: 21,
5257
5214
  lang: 1,
@@ -5264,7 +5221,7 @@ class Ps extends pi {
5264
5221
  countryflaghamburger: 0,
5265
5222
  mbsource: 28
5266
5223
  },
5267
- ws,
5224
+ vs,
5268
5225
  [-1, -1]
5269
5226
  );
5270
5227
  }
@@ -5329,7 +5286,7 @@ class Ps extends pi {
5329
5286
  this.$$set({ mbsource: t }), G();
5330
5287
  }
5331
5288
  }
5332
- fi(Ps, { menuitemsurl: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {}, mbsource: {} }, ["close"], [], !0);
5289
+ ai(Ss, { menuitemsurl: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {}, mbsource: {} }, ["close"], [], !0);
5333
5290
  export {
5334
- Ps as default
5291
+ Ss as default
5335
5292
  };