@everymatrix/casino-hamburger-menu 1.86.4 → 1.86.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,16 +1,16 @@
1
- var An = Object.defineProperty, Bn = Object.defineProperties;
1
+ var Mn = Object.defineProperty, Bn = Object.defineProperties;
2
2
  var Pn = Object.getOwnPropertyDescriptors;
3
- var Rt = Object.getOwnPropertySymbols;
3
+ var Ft = Object.getOwnPropertySymbols;
4
4
  var On = Object.prototype.hasOwnProperty, In = Object.prototype.propertyIsEnumerable;
5
- var Qe = (e, t, r) => t in e ? An(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ft = (e, t) => {
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) => {
6
6
  for (var r in t || (t = {}))
7
- On.call(t, r) && Qe(e, r, t[r]);
8
- if (Rt)
9
- for (var r of Rt(t))
10
- In.call(t, r) && Qe(e, r, t[r]);
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]);
11
11
  return e;
12
- }, Ut = (e, t) => Bn(e, Pn(t));
13
- var $ = (e, t, r) => (Qe(e, typeof t != "symbol" ? t + "" : t, r), r);
12
+ }, $t = (e, t) => Bn(e, Pn(t));
13
+ var D = (e, t, r) => (Ye(e, typeof t != "symbol" ? t + "" : t, r), r);
14
14
  var Dt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
@@ -29,7 +29,7 @@ var Dt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function k() {
31
31
  }
32
- const Ar = (e) => e;
32
+ const Br = (e) => e;
33
33
  function Ln(e, t) {
34
34
  for (const r in t)
35
35
  e[r] = t[r];
@@ -38,19 +38,19 @@ function Ln(e, t) {
38
38
  e
39
39
  );
40
40
  }
41
- function Br(e) {
41
+ function Pr(e) {
42
42
  return e();
43
43
  }
44
- function $t() {
44
+ function Gt() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
47
  function K(e) {
48
- e.forEach(Br);
48
+ e.forEach(Pr);
49
49
  }
50
- function je(e) {
50
+ function Ve(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function Pr(e, t) {
53
+ function Or(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
56
  let Be;
@@ -60,7 +60,7 @@ function Y(e, t) {
60
60
  function Cn(e) {
61
61
  return Object.keys(e).length === 0;
62
62
  }
63
- function Or(e, ...t) {
63
+ function Ir(e, ...t) {
64
64
  if (e == null) {
65
65
  for (const n of t)
66
66
  n(void 0);
@@ -70,15 +70,15 @@ function Or(e, ...t) {
70
70
  return r.unsubscribe ? () => r.unsubscribe() : r;
71
71
  }
72
72
  function Nn(e, t, r) {
73
- e.$$.on_destroy.push(Or(t, r));
73
+ e.$$.on_destroy.push(Ir(t, r));
74
74
  }
75
75
  function Rn(e, t, r, n) {
76
76
  if (e) {
77
- const i = Ir(e, t, r, n);
77
+ const i = Lr(e, t, r, n);
78
78
  return e[0](i);
79
79
  }
80
80
  }
81
- function Ir(e, t, r, n) {
81
+ function Lr(e, t, r, n) {
82
82
  return e[1] && n ? Ln(r.ctx.slice(), e[1](n(t))) : r.ctx;
83
83
  }
84
84
  function Fn(e, t, r, n) {
@@ -98,11 +98,11 @@ function Fn(e, t, r, n) {
98
98
  }
99
99
  function Un(e, t, r, n, i, o) {
100
100
  if (i) {
101
- const s = Ir(t, r, n, o);
101
+ const s = Lr(t, r, n, o);
102
102
  e.p(s, i);
103
103
  }
104
104
  }
105
- function Dn(e) {
105
+ function $n(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 Dn(e) {
111
111
  }
112
112
  return -1;
113
113
  }
114
- const Lr = typeof window != "undefined";
115
- let $n = Lr ? () => window.performance.now() : () => Date.now(), xt = Lr ? (e) => requestAnimationFrame(e) : k;
114
+ const Cr = typeof window != "undefined";
115
+ let Dn = Cr ? () => window.performance.now() : () => Date.now(), St = Cr ? (e) => requestAnimationFrame(e) : k;
116
116
  const ue = /* @__PURE__ */ new Set();
117
- function Cr(e) {
117
+ function Nr(e) {
118
118
  ue.forEach((t) => {
119
119
  t.c(e) || (ue.delete(t), t.f());
120
- }), ue.size !== 0 && xt(Cr);
120
+ }), ue.size !== 0 && St(Nr);
121
121
  }
122
122
  function Gn(e) {
123
123
  let t;
124
- return ue.size === 0 && xt(Cr), {
124
+ return ue.size === 0 && St(Nr), {
125
125
  promise: new Promise((r) => {
126
126
  ue.add(t = { c: e, f: r });
127
127
  }),
@@ -134,13 +134,13 @@ function v(e, t) {
134
134
  e.appendChild(t);
135
135
  }
136
136
  function kn(e, t, r) {
137
- const n = Et(e);
137
+ const n = Tt(e);
138
138
  if (!n.getElementById(t)) {
139
- const i = B("style");
140
- i.id = t, i.textContent = r, Nr(n, i);
139
+ const i = M("style");
140
+ i.id = t, i.textContent = r, Rr(n, i);
141
141
  }
142
142
  }
143
- function Et(e) {
143
+ function Tt(e) {
144
144
  if (!e)
145
145
  return document;
146
146
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -151,10 +151,10 @@ function Et(e) {
151
151
  ) : e.ownerDocument;
152
152
  }
153
153
  function jn(e) {
154
- const t = B("style");
155
- return t.textContent = "/* empty */", Nr(Et(e), t), t.sheet;
154
+ const t = M("style");
155
+ return t.textContent = "/* empty */", Rr(Tt(e), t), t.sheet;
156
156
  }
157
- function Nr(e, t) {
157
+ function Rr(e, t) {
158
158
  return v(
159
159
  /** @type {Document} */
160
160
  e.head || e,
@@ -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 B(e) {
174
+ function M(e) {
175
175
  return document.createElement(e);
176
176
  }
177
177
  function ee(e) {
@@ -180,7 +180,7 @@ function ee(e) {
180
180
  function re(e) {
181
181
  return document.createTextNode(e);
182
182
  }
183
- function D() {
183
+ function $() {
184
184
  return re(" ");
185
185
  }
186
186
  function te(e, t, r, n) {
@@ -192,14 +192,14 @@ function g(e, t, r) {
192
192
  function Vn(e) {
193
193
  return Array.from(e.childNodes);
194
194
  }
195
- function ge(e, t) {
195
+ function de(e, t) {
196
196
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
197
197
  t);
198
198
  }
199
- function Gt(e, t) {
199
+ function kt(e, t) {
200
200
  e.value = t == null ? "" : t;
201
201
  }
202
- function kt(e, t, r) {
202
+ function jt(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) {
@@ -226,7 +226,7 @@ function zn(e) {
226
226
  ), t;
227
227
  }
228
228
  const Ue = /* @__PURE__ */ new Map();
229
- let De = 0;
229
+ let $e = 0;
230
230
  function Zn(e) {
231
231
  let t = 5381, r = e.length;
232
232
  for (; r--; )
@@ -237,189 +237,189 @@ function qn(e, t) {
237
237
  const r = { stylesheet: jn(t), rules: {} };
238
238
  return Ue.set(e, r), r;
239
239
  }
240
- function jt(e, t, r, n, i, o, s, a = 0) {
240
+ function Vt(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 I = t + (r - t) * o(H);
246
- l += H * 100 + `%{${s(I, 1 - I)}}
245
+ const O = t + (r - t) * o(H);
246
+ l += H * 100 + `%{${s(O, 1 - O)}}
247
247
  `;
248
248
  }
249
249
  const h = l + `100% {${s(r, 1 - r)}}
250
- }`, c = `__svelte_${Zn(h)}_${a}`, f = Et(e), { stylesheet: d, rules: m } = Ue.get(f) || qn(f, e);
251
- m[c] || (m[c] = !0, d.insertRule(`@keyframes ${c} ${h}`, d.cssRules.length));
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));
252
252
  const b = e.style.animation || "";
253
- return e.style.animation = `${b ? `${b}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, De += 1, c;
253
+ return e.style.animation = `${b ? `${b}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, $e += 1, c;
254
254
  }
255
255
  function Qn(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(", "), De -= i, De || Jn());
260
+ i && (e.style.animation = n.join(", "), $e -= i, $e || Jn());
261
261
  }
262
262
  function Jn() {
263
- xt(() => {
264
- De || (Ue.forEach((e) => {
263
+ St(() => {
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 He;
271
- function Ee(e) {
272
- He = e;
270
+ let we;
271
+ function xe(e) {
272
+ we = e;
273
273
  }
274
274
  function Yn() {
275
- if (!He)
275
+ if (!we)
276
276
  throw new Error("Function called outside component initialization");
277
- return He;
277
+ return we;
278
278
  }
279
279
  function Kn(e) {
280
280
  Yn().$$.on_mount.push(e);
281
281
  }
282
- const ae = [], $e = [];
282
+ const ae = [], De = [];
283
283
  let le = [];
284
- const Vt = [], ei = /* @__PURE__ */ Promise.resolve();
285
- let st = !1;
284
+ const Wt = [], ei = /* @__PURE__ */ Promise.resolve();
285
+ let ut = !1;
286
286
  function ti() {
287
- st || (st = !0, ei.then(G));
287
+ ut || (ut = !0, ei.then(G));
288
288
  }
289
- function ce(e) {
289
+ function he(e) {
290
290
  le.push(e);
291
291
  }
292
- const Je = /* @__PURE__ */ new Set();
292
+ const Ke = /* @__PURE__ */ new Set();
293
293
  let oe = 0;
294
294
  function G() {
295
295
  if (oe !== 0)
296
296
  return;
297
- const e = He;
297
+ const e = we;
298
298
  do {
299
299
  try {
300
300
  for (; oe < ae.length; ) {
301
301
  const t = ae[oe];
302
- oe++, Ee(t), ri(t.$$);
302
+ oe++, xe(t), ri(t.$$);
303
303
  }
304
304
  } catch (t) {
305
305
  throw ae.length = 0, oe = 0, t;
306
306
  }
307
- for (Ee(null), ae.length = 0, oe = 0; $e.length; )
308
- $e.pop()();
307
+ for (xe(null), ae.length = 0, oe = 0; De.length; )
308
+ De.pop()();
309
309
  for (let t = 0; t < le.length; t += 1) {
310
310
  const r = le[t];
311
- Je.has(r) || (Je.add(r), r());
311
+ Ke.has(r) || (Ke.add(r), r());
312
312
  }
313
313
  le.length = 0;
314
314
  } while (ae.length);
315
- for (; Vt.length; )
316
- Vt.pop()();
317
- st = !1, Je.clear(), Ee(e);
315
+ for (; Wt.length; )
316
+ Wt.pop()();
317
+ ut = !1, Ke.clear(), xe(e);
318
318
  }
319
319
  function ri(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(ce);
323
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(he);
324
324
  }
325
325
  }
326
326
  function ni(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 _e;
330
+ let ve;
331
331
  function ii() {
332
- return _e || (_e = Promise.resolve(), _e.then(() => {
333
- _e = null;
334
- })), _e;
332
+ return ve || (ve = Promise.resolve(), ve.then(() => {
333
+ ve = null;
334
+ })), ve;
335
335
  }
336
- function Ye(e, t, r) {
336
+ function et(e, t, r) {
337
337
  e.dispatchEvent(Xn(`${t ? "intro" : "outro"}${r}`));
338
338
  }
339
339
  const Ie = /* @__PURE__ */ new Set();
340
- let z;
340
+ let Z;
341
341
  function oi() {
342
- z = {
342
+ Z = {
343
343
  r: 0,
344
344
  c: [],
345
- p: z
345
+ p: Z
346
346
  // parent group
347
347
  };
348
348
  }
349
349
  function si() {
350
- z.r || K(z.c), z = z.p;
350
+ Z.r || K(Z.c), Z = Z.p;
351
351
  }
352
- function we(e, t) {
352
+ function Ee(e, t) {
353
353
  e && e.i && (Ie.delete(e), e.i(t));
354
354
  }
355
- function at(e, t, r, n) {
355
+ function lt(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
365
  const ai = { duration: 0 };
366
- function Wt(e, t, r, n) {
366
+ function Xt(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
369
  l && Qn(e, l);
370
370
  }
371
- function f(m, b) {
371
+ function f(p, b) {
372
372
  const H = (
373
373
  /** @type {Program['d']} */
374
- m.b - s
374
+ p.b - s
375
375
  );
376
376
  return b *= Math.abs(H), {
377
377
  a: s,
378
- b: m.b,
378
+ b: p.b,
379
379
  d: H,
380
380
  duration: b,
381
- start: m.start,
382
- end: m.start + b,
383
- group: m.group
381
+ start: p.start,
382
+ end: p.start + b,
383
+ group: p.group
384
384
  };
385
385
  }
386
- function d(m) {
386
+ function m(p) {
387
387
  const {
388
388
  delay: b = 0,
389
389
  duration: H = 300,
390
- easing: I = Ar,
391
- tick: P = k,
392
- css: T
393
- } = o || ai, L = {
394
- start: $n() + b,
395
- b: m
390
+ easing: O = Br,
391
+ tick: B = k,
392
+ css: S
393
+ } = o || ai, I = {
394
+ start: Dn() + b,
395
+ b: p
396
396
  };
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 = jt(e, s, m, H, b, I, T)), m && P(0, 1), a = f(L, H), ce(() => Ye(e, m, "start")), Gn((y) => {
399
- if (u && y > u.start && (a = f(u, H), u = null, Ye(e, a.b, "start"), T && (c(), l = jt(
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(
400
400
  e,
401
401
  s,
402
402
  a.b,
403
403
  a.duration,
404
404
  0,
405
- I,
405
+ O,
406
406
  o.css
407
407
  ))), a) {
408
408
  if (y >= 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;
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
410
  else if (y >= a.start) {
411
- const M = y - a.start;
412
- s = a.a + a.d * I(M / a.duration), P(s, 1 - s);
411
+ const T = y - a.start;
412
+ s = a.a + a.d * O(T / a.duration), B(s, 1 - s);
413
413
  }
414
414
  }
415
415
  return !!(a || u);
416
416
  }));
417
417
  }
418
418
  return {
419
- run(m) {
420
- je(o) ? ii().then(() => {
421
- o = o({ direction: m ? "in" : "out" }), d(m);
422
- }) : d(m);
419
+ run(p) {
420
+ Ve(o) ? ii().then(() => {
421
+ o = o({ direction: p ? "in" : "out" }), m(p);
422
+ }) : m(p);
423
423
  },
424
424
  end() {
425
425
  c(), a = u = null;
@@ -431,10 +431,10 @@ function Q(e) {
431
431
  }
432
432
  function ui(e, t, r) {
433
433
  const { fragment: n, after_update: i } = e.$$;
434
- n && n.m(t, r), ce(() => {
435
- const o = e.$$.on_mount.map(Br).filter(je);
434
+ n && n.m(t, r), he(() => {
435
+ const o = e.$$.on_mount.map(Pr).filter(Ve);
436
436
  e.$$.on_destroy ? e.$$.on_destroy.push(...o) : K(o), e.$$.on_mount = [];
437
- }), i.forEach(ce);
437
+ }), i.forEach(he);
438
438
  }
439
439
  function li(e, t) {
440
440
  const r = e.$$;
@@ -444,8 +444,8 @@ function hi(e, t) {
444
444
  e.$$.dirty[0] === -1 && (ae.push(e), ti(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
445
445
  }
446
446
  function ci(e, t, r, n, i, o, s = null, a = [-1]) {
447
- const u = He;
448
- Ee(e);
447
+ const u = we;
448
+ xe(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: $t(),
456
+ bound: Gt(),
457
457
  // lifecycle
458
458
  on_mount: [],
459
459
  on_destroy: [],
@@ -462,48 +462,48 @@ 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: $t(),
465
+ callbacks: Gt(),
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, ...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 && hi(e, c)), f;
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;
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
477
  const c = Vn(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 && we(e.$$.fragment), ui(e, t.target, t.anchor), G();
481
+ t.intro && Ee(e.$$.fragment), ui(e, t.target, t.anchor), G();
482
482
  }
483
- Ee(u);
483
+ xe(u);
484
484
  }
485
- let Rr;
486
- typeof HTMLElement == "function" && (Rr = class extends HTMLElement {
485
+ let Fr;
486
+ typeof HTMLElement == "function" && (Fr = class extends HTMLElement {
487
487
  constructor(t, r, n) {
488
488
  super();
489
489
  /** The Svelte component constructor */
490
- $(this, "$$ctor");
490
+ D(this, "$$ctor");
491
491
  /** Slots */
492
- $(this, "$$s");
492
+ D(this, "$$s");
493
493
  /** The Svelte component instance */
494
- $(this, "$$c");
494
+ D(this, "$$c");
495
495
  /** Whether or not the custom element is connected */
496
- $(this, "$$cn", !1);
496
+ D(this, "$$cn", !1);
497
497
  /** Component props data */
498
- $(this, "$$d", {});
498
+ D(this, "$$d", {});
499
499
  /** `true` if currently in the process of reflecting component props back to attributes */
500
- $(this, "$$r", !1);
500
+ D(this, "$$r", !1);
501
501
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
502
- $(this, "$$p_d", {});
502
+ D(this, "$$p_d", {});
503
503
  /** @type {Record<string, Function[]>} Event listeners */
504
- $(this, "$$l", {});
504
+ D(this, "$$l", {});
505
505
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
506
- $(this, "$$l_u", /* @__PURE__ */ new Map());
506
+ D(this, "$$l_u", /* @__PURE__ */ new Map());
507
507
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
508
508
  }
509
509
  addEventListener(t, r, n) {
@@ -527,7 +527,7 @@ typeof HTMLElement == "function" && (Rr = class extends HTMLElement {
527
527
  let s;
528
528
  return {
529
529
  c: function() {
530
- s = B("slot"), o !== "default" && g(s, "name", o);
530
+ s = M("slot"), o !== "default" && g(s, "name", o);
531
531
  },
532
532
  /**
533
533
  * @param {HTMLElement} target
@@ -555,7 +555,7 @@ typeof HTMLElement == "function" && (Rr = 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: Ut(Ft({}, this.$$d), {
558
+ props: $t(Ut({}, this.$$d), {
559
559
  $$slots: r,
560
560
  $$scope: {
561
561
  ctx: []
@@ -634,7 +634,7 @@ function Le(e, t, r, n) {
634
634
  }
635
635
  }
636
636
  function fi(e, t, r, n, i, o) {
637
- let s = class extends Rr {
637
+ let s = class extends Fr {
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 mi {
667
+ class pi {
668
668
  constructor() {
669
669
  /**
670
670
  * ### PRIVATE API
@@ -673,7 +673,7 @@ class mi {
673
673
  *
674
674
  * @type {any}
675
675
  */
676
- $(this, "$$");
676
+ D(this, "$$");
677
677
  /**
678
678
  * ### PRIVATE API
679
679
  *
@@ -681,7 +681,7 @@ class mi {
681
681
  *
682
682
  * @type {any}
683
683
  */
684
- $(this, "$$set");
684
+ D(this, "$$set");
685
685
  }
686
686
  /** @returns {void} */
687
687
  $destroy() {
@@ -694,7 +694,7 @@ class mi {
694
694
  * @returns {() => void}
695
695
  */
696
696
  $on(t, r) {
697
- if (!je(r))
697
+ if (!Ve(r))
698
698
  return k;
699
699
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
700
700
  return n.push(r), () => {
@@ -710,9 +710,9 @@ class mi {
710
710
  this.$$set && !Cn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
711
711
  }
712
712
  }
713
- const di = "4";
714
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(di);
715
- function Xt(e, { delay: t = 0, duration: r = 400, easing: n = Ar } = {}) {
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 } = {}) {
716
716
  const i = +getComputedStyle(e).opacity;
717
717
  return {
718
718
  delay: t,
@@ -735,43 +735,24 @@ 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 ut = function(e, t) {
739
- return ut = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
738
+ var ht = function(e, t) {
739
+ return ht = 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
- }, ut(e, t);
744
+ }, ht(e, t);
745
745
  };
746
- function q(e, t) {
746
+ function Te(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
- ut(e, t);
749
+ ht(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
- 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 pi(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 lt(e) {
755
+ function ct(e) {
775
756
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
776
757
  if (r)
777
758
  return r.call(e);
@@ -783,7 +764,7 @@ function lt(e) {
783
764
  };
784
765
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
785
766
  }
786
- function ht(e, t) {
767
+ function ft(e, t) {
787
768
  var r = typeof Symbol == "function" && e[Symbol.iterator];
788
769
  if (!r)
789
770
  return e;
@@ -803,22 +784,22 @@ function ht(e, t) {
803
784
  }
804
785
  return o;
805
786
  }
806
- function he(e, t, r) {
807
- if (r || arguments.length === 2)
787
+ function pt(e, t, r) {
788
+ if (arguments.length === 2)
808
789
  for (var n = 0, i = t.length, o; n < i; n++)
809
790
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
810
791
  return e.concat(o || t);
811
792
  }
812
- function Z(e) {
793
+ function q(e) {
813
794
  return typeof e == "function";
814
795
  }
815
- function Fr(e) {
796
+ function Ur(e) {
816
797
  var t = function(n) {
817
798
  Error.call(n), n.stack = new Error().stack;
818
799
  }, r = e(t);
819
800
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
820
801
  }
821
- var Ke = Fr(function(e) {
802
+ var tt = Ur(function(e) {
822
803
  return function(r) {
823
804
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
824
805
  ` + r.map(function(n, i) {
@@ -827,13 +808,13 @@ var Ke = Fr(function(e) {
827
808
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
828
809
  };
829
810
  });
830
- function ct(e, t) {
811
+ function mt(e, t) {
831
812
  if (e) {
832
813
  var r = e.indexOf(t);
833
814
  0 <= r && e.splice(r, 1);
834
815
  }
835
816
  }
836
- var Ve = function() {
817
+ var We = function() {
837
818
  function e(t) {
838
819
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
839
820
  }
@@ -845,7 +826,7 @@ var Ve = function() {
845
826
  if (s)
846
827
  if (this._parentage = null, Array.isArray(s))
847
828
  try {
848
- for (var a = lt(s), u = a.next(); !u.done; u = a.next()) {
829
+ for (var a = ct(s), u = a.next(); !u.done; u = a.next()) {
849
830
  var l = u.value;
850
831
  l.remove(this);
851
832
  }
@@ -862,29 +843,29 @@ var Ve = function() {
862
843
  else
863
844
  s.remove(this);
864
845
  var h = this.initialTeardown;
865
- if (Z(h))
846
+ if (q(h))
866
847
  try {
867
848
  h();
868
849
  } catch (b) {
869
- o = b instanceof Ke ? b.errors : [b];
850
+ o = b instanceof tt ? b.errors : [b];
870
851
  }
871
852
  var c = this._finalizers;
872
853
  if (c) {
873
854
  this._finalizers = null;
874
855
  try {
875
- for (var f = lt(c), d = f.next(); !d.done; d = f.next()) {
876
- var m = d.value;
856
+ for (var f = ct(c), m = f.next(); !m.done; m = f.next()) {
857
+ var p = m.value;
877
858
  try {
878
- zt(m);
859
+ Zt(p);
879
860
  } catch (b) {
880
- o = o != null ? o : [], b instanceof Ke ? o = he(he([], ht(o)), ht(b.errors)) : o.push(b);
861
+ o = o != null ? o : [], b instanceof tt ? o = pt(pt([], ft(o)), ft(b.errors)) : o.push(b);
881
862
  }
882
863
  }
883
864
  } catch (b) {
884
865
  n = { error: b };
885
866
  } finally {
886
867
  try {
887
- d && !d.done && (i = f.return) && i.call(f);
868
+ m && !m.done && (i = f.return) && i.call(f);
888
869
  } finally {
889
870
  if (n)
890
871
  throw n.error;
@@ -892,13 +873,13 @@ var Ve = function() {
892
873
  }
893
874
  }
894
875
  if (o)
895
- throw new Ke(o);
876
+ throw new tt(o);
896
877
  }
897
878
  }, e.prototype.add = function(t) {
898
879
  var r;
899
880
  if (t && t !== this)
900
881
  if (this.closed)
901
- zt(t);
882
+ Zt(t);
902
883
  else {
903
884
  if (t instanceof e) {
904
885
  if (t.closed || t._hasParent(this))
@@ -915,32 +896,28 @@ var Ve = function() {
915
896
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
916
897
  }, e.prototype._removeParent = function(t) {
917
898
  var r = this._parentage;
918
- r === t ? this._parentage = null : Array.isArray(r) && ct(r, t);
899
+ r === t ? this._parentage = null : Array.isArray(r) && mt(r, t);
919
900
  }, e.prototype.remove = function(t) {
920
901
  var r = this._finalizers;
921
- r && ct(r, t), t instanceof e && t._removeParent(this);
902
+ r && mt(r, t), t instanceof e && t._removeParent(this);
922
903
  }, e.EMPTY = function() {
923
904
  var t = new e();
924
905
  return t.closed = !0, t;
925
906
  }(), e;
926
- }(), Ur = Ve.EMPTY;
907
+ }(), $r = We.EMPTY;
927
908
  function Dr(e) {
928
- return e instanceof Ve || e && "closed" in e && Z(e.remove) && Z(e.add) && Z(e.unsubscribe);
909
+ return e instanceof We || e && "closed" in e && q(e.remove) && q(e.add) && q(e.unsubscribe);
929
910
  }
930
- function zt(e) {
931
- Z(e) ? e() : e.unsubscribe();
911
+ function Zt(e) {
912
+ q(e) ? e() : e.unsubscribe();
932
913
  }
933
- var $r = {
934
- onUnhandledError: null,
935
- onStoppedNotification: null,
936
- Promise: void 0,
937
- useDeprecatedSynchronousErrorHandling: !1,
938
- useDeprecatedNextContext: !1
914
+ var di = {
915
+ Promise: void 0
939
916
  }, gi = {
940
917
  setTimeout: function(e, t) {
941
918
  for (var r = [], n = 2; n < arguments.length; n++)
942
919
  r[n - 2] = arguments[n];
943
- return setTimeout.apply(void 0, he([e, t], ht(r)));
920
+ return setTimeout.apply(void 0, pt([e, t], ft(r)));
944
921
  },
945
922
  clearTimeout: function(e) {
946
923
  return clearTimeout(e);
@@ -952,19 +929,19 @@ function bi(e) {
952
929
  throw e;
953
930
  });
954
931
  }
955
- function Zt() {
932
+ function qt() {
956
933
  }
957
934
  function Ce(e) {
958
935
  e();
959
936
  }
960
937
  var Gr = function(e) {
961
- q(t, e);
938
+ Te(t, e);
962
939
  function t(r) {
963
940
  var n = e.call(this) || this;
964
- return n.isStopped = !1, r ? (n.destination = r, Dr(r) && r.add(n)) : n.destination = xi, n;
941
+ return n.isStopped = !1, r ? (n.destination = r, Dr(r) && r.add(n)) : n.destination = _i, n;
965
942
  }
966
943
  return t.create = function(r, n, i) {
967
- return new ft(r, n, i);
944
+ return new dt(r, n, i);
968
945
  }, t.prototype.next = function(r) {
969
946
  this.isStopped || this._next(r);
970
947
  }, t.prototype.error = function(r) {
@@ -988,11 +965,7 @@ var Gr = function(e) {
988
965
  this.unsubscribe();
989
966
  }
990
967
  }, t;
991
- }(Ve), yi = Function.prototype.bind;
992
- function et(e, t) {
993
- return yi.call(e, t);
994
- }
995
- var vi = function() {
968
+ }(We), yi = function() {
996
969
  function e(t) {
997
970
  this.partialObserver = t;
998
971
  }
@@ -1023,55 +996,43 @@ var vi = function() {
1023
996
  Pe(r);
1024
997
  }
1025
998
  }, e;
1026
- }(), ft = function(e) {
1027
- q(t, e);
999
+ }(), dt = function(e) {
1000
+ Te(t, e);
1028
1001
  function t(r, n, i) {
1029
1002
  var o = e.call(this) || this, s;
1030
- if (Z(r) || !r)
1031
- s = {
1032
- next: r != null ? r : void 0,
1033
- error: n != null ? n : void 0,
1034
- complete: i != null ? i : void 0
1035
- };
1036
- else {
1037
- var a;
1038
- o && $r.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
1039
- return o.unsubscribe();
1040
- }, s = {
1041
- next: r.next && et(r.next, a),
1042
- error: r.error && et(r.error, a),
1043
- complete: r.complete && et(r.complete, a)
1044
- }) : s = r;
1045
- }
1046
- return o.destination = new vi(s), o;
1003
+ return q(r) || !r ? s = {
1004
+ next: r != null ? r : void 0,
1005
+ error: n != null ? n : void 0,
1006
+ complete: i != null ? i : void 0
1007
+ } : s = r, o.destination = new yi(s), o;
1047
1008
  }
1048
1009
  return t;
1049
1010
  }(Gr);
1050
1011
  function Pe(e) {
1051
1012
  bi(e);
1052
1013
  }
1053
- function _i(e) {
1014
+ function vi(e) {
1054
1015
  throw e;
1055
1016
  }
1056
- var xi = {
1017
+ var _i = {
1057
1018
  closed: !0,
1058
- next: Zt,
1059
- error: _i,
1060
- complete: Zt
1061
- }, Ei = function() {
1019
+ next: qt,
1020
+ error: vi,
1021
+ complete: qt
1022
+ }, xi = function() {
1062
1023
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1063
1024
  }();
1064
- function wi(e) {
1025
+ function Ei(e) {
1065
1026
  return e;
1066
1027
  }
1067
- function Hi(e) {
1068
- return e.length === 0 ? wi : e.length === 1 ? e[0] : function(r) {
1028
+ function wi(e) {
1029
+ return e.length === 0 ? Ei : e.length === 1 ? e[0] : function(r) {
1069
1030
  return e.reduce(function(n, i) {
1070
1031
  return i(n);
1071
1032
  }, r);
1072
1033
  };
1073
1034
  }
1074
- var qt = function() {
1035
+ var Qt = function() {
1075
1036
  function e(t) {
1076
1037
  t && (this._subscribe = t);
1077
1038
  }
@@ -1079,7 +1040,7 @@ var qt = function() {
1079
1040
  var r = new e();
1080
1041
  return r.source = this, r.operator = t, r;
1081
1042
  }, e.prototype.subscribe = function(t, r, n) {
1082
- var i = this, o = Ti(t) ? t : new ft(t, r, n);
1043
+ var i = this, o = Si(t) ? t : new dt(t, r, n);
1083
1044
  return Ce(function() {
1084
1045
  var s = i, a = s.operator, u = s.source;
1085
1046
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -1092,8 +1053,8 @@ var qt = function() {
1092
1053
  }
1093
1054
  }, e.prototype.forEach = function(t, r) {
1094
1055
  var n = this;
1095
- return r = Qt(r), new r(function(i, o) {
1096
- var s = new ft({
1056
+ return r = Jt(r), new r(function(i, o) {
1057
+ var s = new dt({
1097
1058
  next: function(a) {
1098
1059
  try {
1099
1060
  t(a);
@@ -1109,15 +1070,15 @@ var qt = function() {
1109
1070
  }, e.prototype._subscribe = function(t) {
1110
1071
  var r;
1111
1072
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1112
- }, e.prototype[Ei] = function() {
1073
+ }, e.prototype[xi] = function() {
1113
1074
  return this;
1114
1075
  }, e.prototype.pipe = function() {
1115
1076
  for (var t = [], r = 0; r < arguments.length; r++)
1116
1077
  t[r] = arguments[r];
1117
- return Hi(t)(this);
1078
+ return wi(t)(this);
1118
1079
  }, e.prototype.toPromise = function(t) {
1119
1080
  var r = this;
1120
- return t = Qt(t), new t(function(n, i) {
1081
+ return t = Jt(t), new t(function(n, i) {
1121
1082
  var o;
1122
1083
  r.subscribe(function(s) {
1123
1084
  return o = s;
@@ -1131,32 +1092,32 @@ var qt = function() {
1131
1092
  return new e(t);
1132
1093
  }, e;
1133
1094
  }();
1134
- function Qt(e) {
1095
+ function Jt(e) {
1135
1096
  var t;
1136
- return (t = e != null ? e : $r.Promise) !== null && t !== void 0 ? t : Promise;
1097
+ return (t = e != null ? e : di.Promise) !== null && t !== void 0 ? t : Promise;
1137
1098
  }
1138
- function Si(e) {
1139
- return e && Z(e.next) && Z(e.error) && Z(e.complete);
1099
+ function Hi(e) {
1100
+ return e && q(e.next) && q(e.error) && q(e.complete);
1140
1101
  }
1141
- function Ti(e) {
1142
- return e && e instanceof Gr || Si(e) && Dr(e);
1102
+ function Si(e) {
1103
+ return e && e instanceof Gr || Hi(e) && Dr(e);
1143
1104
  }
1144
- var Mi = Fr(function(e) {
1105
+ var Ti = Ur(function(e) {
1145
1106
  return function() {
1146
1107
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1147
1108
  };
1148
1109
  }), kr = function(e) {
1149
- q(t, e);
1110
+ Te(t, e);
1150
1111
  function t() {
1151
1112
  var r = e.call(this) || this;
1152
1113
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1153
1114
  }
1154
1115
  return t.prototype.lift = function(r) {
1155
- var n = new Jt(this, this);
1116
+ var n = new Yt(this, this);
1156
1117
  return n.operator = r, n;
1157
1118
  }, t.prototype._throwIfClosed = function() {
1158
1119
  if (this.closed)
1159
- throw new Mi();
1120
+ throw new Ti();
1160
1121
  }, t.prototype.next = function(r) {
1161
1122
  var n = this;
1162
1123
  Ce(function() {
@@ -1164,7 +1125,7 @@ var Mi = Fr(function(e) {
1164
1125
  if (n._throwIfClosed(), !n.isStopped) {
1165
1126
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1166
1127
  try {
1167
- for (var s = lt(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1128
+ for (var s = ct(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1168
1129
  var u = a.value;
1169
1130
  u.next(r);
1170
1131
  }
@@ -1213,20 +1174,20 @@ var Mi = Fr(function(e) {
1213
1174
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1214
1175
  }, t.prototype._innerSubscribe = function(r) {
1215
1176
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1216
- return o || s ? Ur : (this.currentObservers = null, a.push(r), new Ve(function() {
1217
- n.currentObservers = null, ct(a, r);
1177
+ return o || s ? $r : (this.currentObservers = null, a.push(r), new We(function() {
1178
+ n.currentObservers = null, mt(a, r);
1218
1179
  }));
1219
1180
  }, t.prototype._checkFinalizedStatuses = function(r) {
1220
1181
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1221
1182
  i ? r.error(o) : s && r.complete();
1222
1183
  }, t.prototype.asObservable = function() {
1223
- var r = new qt();
1184
+ var r = new Qt();
1224
1185
  return r.source = this, r;
1225
1186
  }, t.create = function(r, n) {
1226
- return new Jt(r, n);
1187
+ return new Yt(r, n);
1227
1188
  }, t;
1228
- }(qt), Jt = function(e) {
1229
- q(t, e);
1189
+ }(Qt), Yt = function(e) {
1190
+ Te(t, e);
1230
1191
  function t(r, n) {
1231
1192
  var i = e.call(this) || this;
1232
1193
  return i.destination = r, i.source = n, i;
@@ -1242,7 +1203,7 @@ var Mi = Fr(function(e) {
1242
1203
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1243
1204
  }, t.prototype._subscribe = function(r) {
1244
1205
  var n, i;
1245
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ur;
1206
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : $r;
1246
1207
  }, t;
1247
1208
  }(kr), jr = {
1248
1209
  now: function() {
@@ -1250,7 +1211,7 @@ var Mi = Fr(function(e) {
1250
1211
  },
1251
1212
  delegate: void 0
1252
1213
  }, Ai = function(e) {
1253
- q(t, e);
1214
+ Te(t, e);
1254
1215
  function t(r, n, i) {
1255
1216
  r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jr);
1256
1217
  var o = e.call(this) || this;
@@ -1273,23 +1234,23 @@ var Mi = Fr(function(e) {
1273
1234
  }
1274
1235
  }, t;
1275
1236
  }(kr);
1276
- const Yt = [], Kt = {}, Bi = (e, t = 0) => {
1277
- if (Yt.indexOf(e) == -1) {
1237
+ const Kt = [], er = {}, Mi = (e, t = 0) => {
1238
+ if (Kt.indexOf(e) == -1) {
1278
1239
  const r = new Ai(t);
1279
- Kt[e] = r, Yt.push(e);
1240
+ er[e] = r, Kt.push(e);
1280
1241
  }
1281
- return Kt[e];
1242
+ return er[e];
1282
1243
  }, se = [];
1283
- function Pi(e, t) {
1244
+ function Bi(e, t) {
1284
1245
  return {
1285
- subscribe: We(e, t).subscribe
1246
+ subscribe: Xe(e, t).subscribe
1286
1247
  };
1287
1248
  }
1288
- function We(e, t = k) {
1249
+ function Xe(e, t = k) {
1289
1250
  let r;
1290
1251
  const n = /* @__PURE__ */ new Set();
1291
1252
  function i(a) {
1292
- if (Pr(e, a) && (e = a, r)) {
1253
+ if (Or(e, a) && (e = a, r)) {
1293
1254
  const u = !se.length;
1294
1255
  for (const l of n)
1295
1256
  l[1](), se.push(l, e);
@@ -1311,12 +1272,12 @@ function We(e, t = k) {
1311
1272
  }
1312
1273
  return { set: i, update: o, subscribe: s };
1313
1274
  }
1314
- function be(e, t, r) {
1275
+ function ge(e, t, r) {
1315
1276
  const n = !Array.isArray(e), i = n ? [e] : e;
1316
1277
  if (!i.every(Boolean))
1317
1278
  throw new Error("derived() expects stores as input, got a falsy value");
1318
1279
  const o = t.length < 2;
1319
- return Pi(r, (s, a) => {
1280
+ return Bi(r, (s, a) => {
1320
1281
  let u = !1;
1321
1282
  const l = [];
1322
1283
  let h = 0, c = k;
@@ -1324,11 +1285,11 @@ function be(e, t, r) {
1324
1285
  if (h)
1325
1286
  return;
1326
1287
  c();
1327
- const m = t(n ? l[0] : l, s, a);
1328
- o ? s(m) : c = je(m) ? m : k;
1329
- }, d = i.map(
1330
- (m, b) => Or(
1331
- m,
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,
1332
1293
  (H) => {
1333
1294
  l[b] = H, h &= ~(1 << b), u && f();
1334
1295
  },
@@ -1338,51 +1299,51 @@ function be(e, t, r) {
1338
1299
  )
1339
1300
  );
1340
1301
  return u = !0, f(), function() {
1341
- K(d), c(), u = !1;
1302
+ K(m), c(), u = !1;
1342
1303
  };
1343
1304
  });
1344
1305
  }
1345
- function Oi(e) {
1306
+ function Pi(e) {
1346
1307
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1347
1308
  }
1348
- var Ii = function(t) {
1349
- return Li(t) && !Ci(t);
1309
+ var Oi = function(t) {
1310
+ return Ii(t) && !Li(t);
1350
1311
  };
1351
- function Li(e) {
1312
+ function Ii(e) {
1352
1313
  return !!e && typeof e == "object";
1353
1314
  }
1354
- function Ci(e) {
1315
+ function Li(e) {
1355
1316
  var t = Object.prototype.toString.call(e);
1356
- return t === "[object RegExp]" || t === "[object Date]" || Fi(e);
1317
+ return t === "[object RegExp]" || t === "[object Date]" || Ri(e);
1357
1318
  }
1358
- var Ni = typeof Symbol == "function" && Symbol.for, Ri = Ni ? Symbol.for("react.element") : 60103;
1359
- function Fi(e) {
1360
- return e.$$typeof === Ri;
1319
+ var Ci = typeof Symbol == "function" && Symbol.for, Ni = Ci ? Symbol.for("react.element") : 60103;
1320
+ function Ri(e) {
1321
+ return e.$$typeof === Ni;
1361
1322
  }
1362
- function Ui(e) {
1323
+ function Fi(e) {
1363
1324
  return Array.isArray(e) ? [] : {};
1364
1325
  }
1365
- function Se(e, t) {
1366
- return t.clone !== !1 && t.isMergeableObject(e) ? fe(Ui(e), e, t) : e;
1326
+ function He(e, t) {
1327
+ return t.clone !== !1 && t.isMergeableObject(e) ? ce(Fi(e), e, t) : e;
1367
1328
  }
1368
- function Di(e, t, r) {
1329
+ function Ui(e, t, r) {
1369
1330
  return e.concat(t).map(function(n) {
1370
- return Se(n, r);
1331
+ return He(n, r);
1371
1332
  });
1372
1333
  }
1373
1334
  function $i(e, t) {
1374
1335
  if (!t.customMerge)
1375
- return fe;
1336
+ return ce;
1376
1337
  var r = t.customMerge(e);
1377
- return typeof r == "function" ? r : fe;
1338
+ return typeof r == "function" ? r : ce;
1378
1339
  }
1379
- function Gi(e) {
1340
+ function Di(e) {
1380
1341
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1381
1342
  return Object.propertyIsEnumerable.call(e, t);
1382
1343
  }) : [];
1383
1344
  }
1384
- function er(e) {
1385
- return Object.keys(e).concat(Gi(e));
1345
+ function tr(e) {
1346
+ return Object.keys(e).concat(Di(e));
1386
1347
  }
1387
1348
  function Vr(e, t) {
1388
1349
  try {
@@ -1391,33 +1352,75 @@ function Vr(e, t) {
1391
1352
  return !1;
1392
1353
  }
1393
1354
  }
1394
- function ki(e, t) {
1355
+ function Gi(e, t) {
1395
1356
  return Vr(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1396
1357
  }
1397
- function ji(e, t, r) {
1358
+ function ki(e, t, r) {
1398
1359
  var n = {};
1399
- return r.isMergeableObject(e) && er(e).forEach(function(i) {
1400
- n[i] = Se(e[i], r);
1401
- }), er(t).forEach(function(i) {
1402
- ki(e, i) || (Vr(e, i) && r.isMergeableObject(t[i]) ? n[i] = $i(i, r)(e[i], t[i], r) : n[i] = Se(t[i], r));
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));
1403
1364
  }), n;
1404
1365
  }
1405
- function fe(e, t, r) {
1406
- r = r || {}, r.arrayMerge = r.arrayMerge || Di, r.isMergeableObject = r.isMergeableObject || Ii, r.cloneUnlessOtherwiseSpecified = Se;
1366
+ function ce(e, t, r) {
1367
+ r = r || {}, r.arrayMerge = r.arrayMerge || Ui, r.isMergeableObject = r.isMergeableObject || Oi, r.cloneUnlessOtherwiseSpecified = He;
1407
1368
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1408
- return o ? n ? r.arrayMerge(e, t, r) : ji(e, t, r) : Se(t, r);
1369
+ return o ? n ? r.arrayMerge(e, t, r) : ki(e, t, r) : He(t, r);
1409
1370
  }
1410
- fe.all = function(t, r) {
1371
+ ce.all = function(t, r) {
1411
1372
  if (!Array.isArray(t))
1412
1373
  throw new Error("first argument should be an array");
1413
1374
  return t.reduce(function(n, i) {
1414
- return fe(n, i, r);
1375
+ return ce(n, i, r);
1415
1376
  }, {});
1416
1377
  };
1417
- var Vi = fe, Wi = Vi;
1418
- const Xi = /* @__PURE__ */ Oi(Wi);
1419
- function tt(e, t) {
1420
- var r = t && t.cache ? t.cache : Yi, n = t && t.serializer ? t.serializer : Ji, i = t && t.strategy ? t.strategy : Zi;
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;
1421
1424
  return i(e, {
1422
1425
  cache: r,
1423
1426
  serializer: n
@@ -1426,95 +1429,103 @@ function tt(e, t) {
1426
1429
  function zi(e) {
1427
1430
  return e == null || typeof e == "number" || typeof e == "boolean";
1428
1431
  }
1429
- function Wr(e, t, r, n) {
1432
+ function Zi(e, t, r, n) {
1430
1433
  var i = zi(n) ? n : r(n), o = t.get(i);
1431
1434
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1432
1435
  }
1433
- function Xr(e, t, r) {
1436
+ function Wr(e, t, r) {
1434
1437
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1435
1438
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1436
1439
  }
1437
- function wt(e, t, r, n, i) {
1440
+ function Xr(e, t, r, n, i) {
1438
1441
  return r.bind(t, e, n, i);
1439
1442
  }
1440
- function Zi(e, t) {
1441
- var r = e.length === 1 ? Wr : Xr;
1442
- return wt(e, this, r, t.cache.create(), t.serializer);
1443
- }
1444
1443
  function qi(e, t) {
1445
- return wt(e, this, Xr, t.cache.create(), t.serializer);
1444
+ var r = e.length === 1 ? Zi : Wr;
1445
+ return Xr(e, this, r, t.cache.create(), t.serializer);
1446
1446
  }
1447
1447
  function Qi(e, t) {
1448
- return wt(e, this, Wr, t.cache.create(), t.serializer);
1448
+ return Xr(e, this, Wr, t.cache.create(), t.serializer);
1449
1449
  }
1450
1450
  var Ji = function() {
1451
1451
  return JSON.stringify(arguments);
1452
- };
1453
- function Ht() {
1454
- this.cache = /* @__PURE__ */ Object.create(null);
1455
- }
1456
- Ht.prototype.get = function(e) {
1457
- return this.cache[e];
1458
- };
1459
- Ht.prototype.set = function(e, t) {
1460
- this.cache[e] = t;
1461
- };
1462
- var Yi = {
1452
+ }, Yi = (
1453
+ /** @class */
1454
+ function() {
1455
+ function e() {
1456
+ this.cache = /* @__PURE__ */ Object.create(null);
1457
+ }
1458
+ return e.prototype.get = function(t) {
1459
+ return this.cache[t];
1460
+ }, e.prototype.set = function(t, r) {
1461
+ this.cache[t] = r;
1462
+ }, e;
1463
+ }()
1464
+ ), Ki = {
1463
1465
  create: function() {
1464
- return new Ht();
1466
+ return new Yi();
1465
1467
  }
1466
- }, rt = {
1467
- variadic: qi,
1468
- monadic: Qi
1469
- }, E;
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;
1470
1481
  (function(e) {
1471
1482
  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";
1472
1483
  })(E || (E = {}));
1473
- var O;
1484
+ var P;
1474
1485
  (function(e) {
1475
1486
  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";
1476
- })(O || (O = {}));
1477
- var me;
1487
+ })(P || (P = {}));
1488
+ var fe;
1478
1489
  (function(e) {
1479
1490
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1480
- })(me || (me = {}));
1481
- function tr(e) {
1482
- return e.type === O.literal;
1491
+ })(fe || (fe = {}));
1492
+ function rr(e) {
1493
+ return e.type === P.literal;
1483
1494
  }
1484
- function Ki(e) {
1485
- return e.type === O.argument;
1495
+ function eo(e) {
1496
+ return e.type === P.argument;
1486
1497
  }
1487
1498
  function zr(e) {
1488
- return e.type === O.number;
1499
+ return e.type === P.number;
1489
1500
  }
1490
1501
  function Zr(e) {
1491
- return e.type === O.date;
1502
+ return e.type === P.date;
1492
1503
  }
1493
1504
  function qr(e) {
1494
- return e.type === O.time;
1505
+ return e.type === P.time;
1495
1506
  }
1496
1507
  function Qr(e) {
1497
- return e.type === O.select;
1508
+ return e.type === P.select;
1498
1509
  }
1499
1510
  function Jr(e) {
1500
- return e.type === O.plural;
1511
+ return e.type === P.plural;
1501
1512
  }
1502
- function eo(e) {
1503
- return e.type === O.pound;
1513
+ function to(e) {
1514
+ return e.type === P.pound;
1504
1515
  }
1505
1516
  function Yr(e) {
1506
- return e.type === O.tag;
1517
+ return e.type === P.tag;
1507
1518
  }
1508
1519
  function Kr(e) {
1509
- return !!(e && typeof e == "object" && e.type === me.number);
1520
+ return !!(e && typeof e == "object" && e.type === fe.number);
1510
1521
  }
1511
- function mt(e) {
1512
- return !!(e && typeof e == "object" && e.type === me.dateTime);
1522
+ function bt(e) {
1523
+ return !!(e && typeof e == "object" && e.type === fe.dateTime);
1513
1524
  }
1514
- var en = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, to = /(?:[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;
1515
- function ro(e) {
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) {
1516
1527
  var t = {};
1517
- return e.replace(to, function(r) {
1528
+ return e.replace(ro, function(r) {
1518
1529
  var n = r.length;
1519
1530
  switch (r[0]) {
1520
1531
  case "G":
@@ -1603,11 +1614,21 @@ function ro(e) {
1603
1614
  return "";
1604
1615
  }), t;
1605
1616
  }
1606
- var no = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1607
- function io(e) {
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) {
1608
1629
  if (e.length === 0)
1609
1630
  throw new Error("Number skeleton cannot be empty");
1610
- for (var t = e.split(no).filter(function(f) {
1631
+ for (var t = e.split(io).filter(function(f) {
1611
1632
  return f.length > 0;
1612
1633
  }), r = [], n = 0, i = t; n < i.length; n++) {
1613
1634
  var o = i[n], s = o.split("/");
@@ -1622,11 +1643,11 @@ function io(e) {
1622
1643
  }
1623
1644
  return r;
1624
1645
  }
1625
- function oo(e) {
1646
+ function so(e) {
1626
1647
  return e.replace(/^(.*?)-/, "");
1627
1648
  }
1628
- var rr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tn = /^(@+)?(\+|#+)?[rs]?$/g, so = /(\*)(0+)|(#+)(0+)|(0+)/g, rn = /^(0+)$/;
1629
- function nr(e) {
1649
+ var nr = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, tn = /^(@+)?(\+|#+)?[rs]?$/g, ao = /(\*)(0+)|(#+)(0+)|(0+)/g, rn = /^(0+)$/;
1650
+ function ir(e) {
1630
1651
  var t = {};
1631
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) {
1632
1653
  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)), "";
@@ -1672,7 +1693,7 @@ function nn(e) {
1672
1693
  };
1673
1694
  }
1674
1695
  }
1675
- function ao(e) {
1696
+ function uo(e) {
1676
1697
  var t;
1677
1698
  if (e[0] === "E" && e[1] === "E" ? (t = {
1678
1699
  notation: "engineering"
@@ -1686,11 +1707,11 @@ function ao(e) {
1686
1707
  }
1687
1708
  return t;
1688
1709
  }
1689
- function ir(e) {
1710
+ function or(e) {
1690
1711
  var t = {}, r = nn(e);
1691
1712
  return r || t;
1692
1713
  }
1693
- function uo(e) {
1714
+ function lo(e) {
1694
1715
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1695
1716
  var i = n[r];
1696
1717
  switch (i.stem) {
@@ -1714,7 +1735,7 @@ function uo(e) {
1714
1735
  continue;
1715
1736
  case "measure-unit":
1716
1737
  case "unit":
1717
- t.style = "unit", t.unit = oo(i.options[0]);
1738
+ t.style = "unit", t.unit = so(i.options[0]);
1718
1739
  continue;
1719
1740
  case "compact-short":
1720
1741
  case "K":
@@ -1725,13 +1746,13 @@ function uo(e) {
1725
1746
  t.notation = "compact", t.compactDisplay = "long";
1726
1747
  continue;
1727
1748
  case "scientific":
1728
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1729
- return S(S({}, u), ir(l));
1749
+ t = C(C(C({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1750
+ return C(C({}, u), or(l));
1730
1751
  }, {}));
1731
1752
  continue;
1732
1753
  case "engineering":
1733
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1734
- return S(S({}, u), ir(l));
1754
+ t = C(C(C({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1755
+ return C(C({}, u), or(l));
1735
1756
  }, {}));
1736
1757
  continue;
1737
1758
  case "notation-simple":
@@ -1776,13 +1797,13 @@ function uo(e) {
1776
1797
  case "integer-width":
1777
1798
  if (i.options.length > 1)
1778
1799
  throw new RangeError("integer-width stems only accept a single optional option");
1779
- i.options[0].replace(so, function(u, l, h, c, f, d) {
1800
+ i.options[0].replace(ao, function(u, l, h, c, f, m) {
1780
1801
  if (l)
1781
1802
  t.minimumIntegerDigits = h.length;
1782
1803
  else {
1783
1804
  if (c && f)
1784
1805
  throw new Error("We currently do not support maximum integer digits");
1785
- if (d)
1806
+ if (m)
1786
1807
  throw new Error("We currently do not support exact integer digits");
1787
1808
  }
1788
1809
  return "";
@@ -1793,24 +1814,24 @@ function uo(e) {
1793
1814
  t.minimumIntegerDigits = i.stem.length;
1794
1815
  continue;
1795
1816
  }
1796
- if (rr.test(i.stem)) {
1817
+ if (nr.test(i.stem)) {
1797
1818
  if (i.options.length > 1)
1798
1819
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1799
- i.stem.replace(rr, function(u, l, h, c, f, d) {
1800
- 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), "";
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), "";
1801
1822
  });
1802
1823
  var o = i.options[0];
1803
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), nr(o)));
1824
+ o === "w" ? t = C(C({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = C(C({}, t), ir(o)));
1804
1825
  continue;
1805
1826
  }
1806
1827
  if (tn.test(i.stem)) {
1807
- t = S(S({}, t), nr(i.stem));
1828
+ t = C(C({}, t), ir(i.stem));
1808
1829
  continue;
1809
1830
  }
1810
1831
  var s = nn(i.stem);
1811
- s && (t = S(S({}, t), s));
1812
- var a = ao(i.stem);
1813
- a && (t = S(S({}, t), a));
1832
+ s && (t = C(C({}, t), s));
1833
+ var a = uo(i.stem);
1834
+ a && (t = C(C({}, t), a));
1814
1835
  }
1815
1836
  return t;
1816
1837
  }
@@ -3229,13 +3250,13 @@ var Oe = {
3229
3250
  "h"
3230
3251
  ]
3231
3252
  };
3232
- function lo(e, t) {
3253
+ function ho(e, t) {
3233
3254
  for (var r = "", n = 0; n < e.length; n++) {
3234
3255
  var i = e.charAt(n);
3235
3256
  if (i === "j") {
3236
3257
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3237
3258
  o++, n++;
3238
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = ho(t);
3259
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = co(t);
3239
3260
  for ((l == "H" || l == "k") && (a = 0); a-- > 0; )
3240
3261
  r += u;
3241
3262
  for (; s-- > 0; )
@@ -3245,7 +3266,7 @@ function lo(e, t) {
3245
3266
  }
3246
3267
  return r;
3247
3268
  }
3248
- function ho(e) {
3269
+ function co(e) {
3249
3270
  var t = e.hourCycle;
3250
3271
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3251
3272
  e.hourCycles && // @ts-ignore
@@ -3267,20 +3288,20 @@ function ho(e) {
3267
3288
  var i = Oe[n || ""] || Oe[r || ""] || Oe["".concat(r, "-001")] || Oe["001"];
3268
3289
  return i[0];
3269
3290
  }
3270
- var nt, co = new RegExp("^".concat(en.source, "*")), fo = new RegExp("".concat(en.source, "*$"));
3291
+ var ot, fo = new RegExp("^".concat(en.source, "*")), po = new RegExp("".concat(en.source, "*$"));
3271
3292
  function w(e, t) {
3272
3293
  return { start: e, end: t };
3273
3294
  }
3274
- var mo = !!String.prototype.startsWith && "_a".startsWith("a", 1), po = !!String.fromCodePoint, go = !!Object.fromEntries, bo = !!String.prototype.codePointAt, yo = !!String.prototype.trimStart, vo = !!String.prototype.trimEnd, _o = !!Number.isSafeInteger, xo = _o ? Number.isSafeInteger : function(e) {
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) {
3275
3296
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3276
- }, dt = !0;
3297
+ }, yt = !0;
3277
3298
  try {
3278
- var Eo = sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3279
- dt = ((nt = Eo.exec("a")) === null || nt === void 0 ? void 0 : nt[0]) === "a";
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";
3280
3301
  } catch (e) {
3281
- dt = !1;
3302
+ yt = !1;
3282
3303
  }
3283
- var or = mo ? (
3304
+ var sr = mo ? (
3284
3305
  // Native
3285
3306
  function(t, r, n) {
3286
3307
  return t.startsWith(r, n);
@@ -3290,7 +3311,7 @@ var or = mo ? (
3290
3311
  function(t, r, n) {
3291
3312
  return t.slice(n, n + r.length) === r;
3292
3313
  }
3293
- ), pt = po ? String.fromCodePoint : (
3314
+ ), vt = go ? String.fromCodePoint : (
3294
3315
  // IE11
3295
3316
  function() {
3296
3317
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3302,9 +3323,9 @@ var or = mo ? (
3302
3323
  }
3303
3324
  return n;
3304
3325
  }
3305
- ), sr = (
3326
+ ), ar = (
3306
3327
  // native
3307
- go ? Object.fromEntries : (
3328
+ bo ? Object.fromEntries : (
3308
3329
  // Ponyfill
3309
3330
  function(t) {
3310
3331
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3314,7 +3335,7 @@ var or = mo ? (
3314
3335
  return r;
3315
3336
  }
3316
3337
  )
3317
- ), on = bo ? (
3338
+ ), on = yo ? (
3318
3339
  // Native
3319
3340
  function(t, r) {
3320
3341
  return t.codePointAt(r);
@@ -3328,7 +3349,7 @@ var or = mo ? (
3328
3349
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3329
3350
  }
3330
3351
  }
3331
- ), wo = yo ? (
3352
+ ), Ho = vo ? (
3332
3353
  // Native
3333
3354
  function(t) {
3334
3355
  return t.trimStart();
@@ -3336,9 +3357,9 @@ var or = mo ? (
3336
3357
  ) : (
3337
3358
  // Ponyfill
3338
3359
  function(t) {
3339
- return t.replace(co, "");
3360
+ return t.replace(fo, "");
3340
3361
  }
3341
- ), Ho = vo ? (
3362
+ ), So = _o ? (
3342
3363
  // Native
3343
3364
  function(t) {
3344
3365
  return t.trimEnd();
@@ -3346,32 +3367,32 @@ var or = mo ? (
3346
3367
  ) : (
3347
3368
  // Ponyfill
3348
3369
  function(t) {
3349
- return t.replace(fo, "");
3370
+ return t.replace(po, "");
3350
3371
  }
3351
3372
  );
3352
3373
  function sn(e, t) {
3353
3374
  return new RegExp(e, t);
3354
3375
  }
3355
- var gt;
3356
- if (dt) {
3357
- var ar = sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3358
- gt = function(t, r) {
3376
+ var _t;
3377
+ if (yt) {
3378
+ var ur = sn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3379
+ _t = function(t, r) {
3359
3380
  var n;
3360
- ar.lastIndex = r;
3361
- var i = ar.exec(t);
3381
+ ur.lastIndex = r;
3382
+ var i = ur.exec(t);
3362
3383
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3363
3384
  };
3364
3385
  } else
3365
- gt = function(t, r) {
3386
+ _t = function(t, r) {
3366
3387
  for (var n = []; ; ) {
3367
3388
  var i = on(t, r);
3368
- if (i === void 0 || an(i) || Ao(i))
3389
+ if (i === void 0 || an(i) || Bo(i))
3369
3390
  break;
3370
3391
  n.push(i), r += i >= 65536 ? 2 : 1;
3371
3392
  }
3372
- return pt.apply(void 0, n);
3393
+ return vt.apply(void 0, n);
3373
3394
  };
3374
- var So = (
3395
+ var To = (
3375
3396
  /** @class */
3376
3397
  function() {
3377
3398
  function e(t, r) {
@@ -3395,14 +3416,14 @@ var So = (
3395
3416
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3396
3417
  var a = this.clonePosition();
3397
3418
  this.bump(), i.push({
3398
- type: O.pound,
3419
+ type: P.pound,
3399
3420
  location: w(a, this.clonePosition())
3400
3421
  });
3401
3422
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3402
3423
  if (n)
3403
3424
  break;
3404
3425
  return this.error(E.UNMATCHED_CLOSING_TAG, w(this.clonePosition(), this.clonePosition()));
3405
- } else if (o === 60 && !this.ignoreTag && bt(this.peek() || 0)) {
3426
+ } else if (o === 60 && !this.ignoreTag && xt(this.peek() || 0)) {
3406
3427
  var s = this.parseTag(t, r);
3407
3428
  if (s.err)
3408
3429
  return s;
@@ -3423,7 +3444,7 @@ var So = (
3423
3444
  if (this.bumpSpace(), this.bumpIf("/>"))
3424
3445
  return {
3425
3446
  val: {
3426
- type: O.literal,
3447
+ type: P.literal,
3427
3448
  value: "<".concat(i, "/>"),
3428
3449
  location: w(n, this.clonePosition())
3429
3450
  },
@@ -3435,12 +3456,12 @@ var So = (
3435
3456
  return o;
3436
3457
  var s = o.val, a = this.clonePosition();
3437
3458
  if (this.bumpIf("</")) {
3438
- if (this.isEOF() || !bt(this.char()))
3459
+ if (this.isEOF() || !xt(this.char()))
3439
3460
  return this.error(E.INVALID_TAG, w(a, this.clonePosition()));
3440
3461
  var u = this.clonePosition(), l = this.parseTagName();
3441
3462
  return i !== l ? this.error(E.UNMATCHED_CLOSING_TAG, w(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3442
3463
  val: {
3443
- type: O.tag,
3464
+ type: P.tag,
3444
3465
  value: i,
3445
3466
  children: s,
3446
3467
  location: w(n, this.clonePosition())
@@ -3477,12 +3498,12 @@ var So = (
3477
3498
  }
3478
3499
  var u = w(n, this.clonePosition());
3479
3500
  return {
3480
- val: { type: O.literal, value: i, location: u },
3501
+ val: { type: P.literal, value: i, location: u },
3481
3502
  err: null
3482
3503
  };
3483
3504
  }, e.prototype.tryParseLeftAngleBracket = function() {
3484
3505
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3485
- !To(this.peek() || 0)) ? (this.bump(), "<") : null;
3506
+ !Ao(this.peek() || 0)) ? (this.bump(), "<") : null;
3486
3507
  }, e.prototype.tryParseQuote = function(t) {
3487
3508
  if (this.isEOF() || this.char() !== 39)
3488
3509
  return null;
@@ -3516,12 +3537,12 @@ var So = (
3516
3537
  r.push(n);
3517
3538
  this.bump();
3518
3539
  }
3519
- return pt.apply(void 0, r);
3540
+ return vt.apply(void 0, r);
3520
3541
  }, e.prototype.tryParseUnquoted = function(t, r) {
3521
3542
  if (this.isEOF())
3522
3543
  return null;
3523
3544
  var n = this.char();
3524
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), pt(n));
3545
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), vt(n));
3525
3546
  }, e.prototype.parseArgument = function(t, r) {
3526
3547
  var n = this.clonePosition();
3527
3548
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3537,7 +3558,7 @@ var So = (
3537
3558
  case 125:
3538
3559
  return this.bump(), {
3539
3560
  val: {
3540
- type: O.argument,
3561
+ type: P.argument,
3541
3562
  // value does not include the opening and closing braces.
3542
3563
  value: i,
3543
3564
  location: w(n, this.clonePosition())
@@ -3550,7 +3571,7 @@ var So = (
3550
3571
  return this.error(E.MALFORMED_ARGUMENT, w(n, this.clonePosition()));
3551
3572
  }
3552
3573
  }, e.prototype.parseIdentifierIfPossible = function() {
3553
- var t = this.clonePosition(), r = this.offset(), n = gt(this.message, r), i = r + n.length;
3574
+ var t = this.clonePosition(), r = this.offset(), n = _t(this.message, r), i = r + n.length;
3554
3575
  this.bumpTo(i);
3555
3576
  var o = this.clonePosition(), s = w(t, o);
3556
3577
  return { value: n, location: s };
@@ -3569,44 +3590,44 @@ var So = (
3569
3590
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3570
3591
  if (c.err)
3571
3592
  return c;
3572
- var f = Ho(c.val);
3593
+ var f = So(c.val);
3573
3594
  if (f.length === 0)
3574
3595
  return this.error(E.EXPECT_ARGUMENT_STYLE, w(this.clonePosition(), this.clonePosition()));
3575
- var d = w(h, this.clonePosition());
3576
- l = { style: f, styleLocation: d };
3596
+ var m = w(h, this.clonePosition());
3597
+ l = { style: f, styleLocation: m };
3577
3598
  }
3578
- var m = this.tryParseArgumentClose(i);
3579
- if (m.err)
3580
- return m;
3599
+ var p = this.tryParseArgumentClose(i);
3600
+ if (p.err)
3601
+ return p;
3581
3602
  var b = w(i, this.clonePosition());
3582
- if (l && or(l == null ? void 0 : l.style, "::", 0)) {
3583
- var H = wo(l.style.slice(2));
3603
+ if (l && sr(l == null ? void 0 : l.style, "::", 0)) {
3604
+ var H = Ho(l.style.slice(2));
3584
3605
  if (a === "number") {
3585
3606
  var c = this.parseNumberSkeletonFromString(H, l.styleLocation);
3586
3607
  return c.err ? c : {
3587
- val: { type: O.number, value: n, location: b, style: c.val },
3608
+ val: { type: P.number, value: n, location: b, style: c.val },
3588
3609
  err: null
3589
3610
  };
3590
3611
  } else {
3591
3612
  if (H.length === 0)
3592
3613
  return this.error(E.EXPECT_DATE_TIME_SKELETON, b);
3593
- var I = H;
3594
- this.locale && (I = lo(H, this.locale));
3614
+ var O = H;
3615
+ this.locale && (O = ho(H, this.locale));
3595
3616
  var f = {
3596
- type: me.dateTime,
3597
- pattern: I,
3617
+ type: fe.dateTime,
3618
+ pattern: O,
3598
3619
  location: l.styleLocation,
3599
- parsedOptions: this.shouldParseSkeletons ? ro(I) : {}
3600
- }, P = a === "date" ? O.date : O.time;
3620
+ parsedOptions: this.shouldParseSkeletons ? no(O) : {}
3621
+ }, B = a === "date" ? P.date : P.time;
3601
3622
  return {
3602
- val: { type: P, value: n, location: b, style: f },
3623
+ val: { type: B, value: n, location: b, style: f },
3603
3624
  err: null
3604
3625
  };
3605
3626
  }
3606
3627
  }
3607
3628
  return {
3608
3629
  val: {
3609
- type: a === "number" ? O.number : a === "date" ? O.date : O.time,
3630
+ type: a === "number" ? P.number : a === "date" ? P.date : P.time,
3610
3631
  value: n,
3611
3632
  location: b,
3612
3633
  style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
@@ -3617,40 +3638,40 @@ var So = (
3617
3638
  case "plural":
3618
3639
  case "selectordinal":
3619
3640
  case "select": {
3620
- var T = this.clonePosition();
3641
+ var S = this.clonePosition();
3621
3642
  if (this.bumpSpace(), !this.bumpIf(","))
3622
- return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, w(T, S({}, T)));
3643
+ return this.error(E.EXPECT_SELECT_ARGUMENT_OPTIONS, w(S, Ge({}, S)));
3623
3644
  this.bumpSpace();
3624
- var L = this.parseIdentifierIfPossible(), y = 0;
3625
- if (a !== "select" && L.value === "offset") {
3645
+ var I = this.parseIdentifierIfPossible(), y = 0;
3646
+ if (a !== "select" && I.value === "offset") {
3626
3647
  if (!this.bumpIf(":"))
3627
3648
  return this.error(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, w(this.clonePosition(), this.clonePosition()));
3628
3649
  this.bumpSpace();
3629
3650
  var c = this.tryParseDecimalInteger(E.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, E.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3630
3651
  if (c.err)
3631
3652
  return c;
3632
- this.bumpSpace(), L = this.parseIdentifierIfPossible(), y = c.val;
3653
+ this.bumpSpace(), I = this.parseIdentifierIfPossible(), y = c.val;
3633
3654
  }
3634
- var M = this.tryParsePluralOrSelectOptions(t, a, r, L);
3635
- if (M.err)
3636
- return M;
3637
- var m = this.tryParseArgumentClose(i);
3638
- if (m.err)
3639
- return m;
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;
3640
3661
  var A = w(i, this.clonePosition());
3641
3662
  return a === "select" ? {
3642
3663
  val: {
3643
- type: O.select,
3664
+ type: P.select,
3644
3665
  value: n,
3645
- options: sr(M.val),
3666
+ options: ar(T.val),
3646
3667
  location: A
3647
3668
  },
3648
3669
  err: null
3649
3670
  } : {
3650
3671
  val: {
3651
- type: O.plural,
3672
+ type: P.plural,
3652
3673
  value: n,
3653
- options: sr(M.val),
3674
+ options: ar(T.val),
3654
3675
  offset: y,
3655
3676
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3656
3677
  location: A
@@ -3701,16 +3722,16 @@ var So = (
3701
3722
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3702
3723
  var n = [];
3703
3724
  try {
3704
- n = io(t);
3725
+ n = oo(t);
3705
3726
  } catch (i) {
3706
3727
  return this.error(E.INVALID_NUMBER_SKELETON, r);
3707
3728
  }
3708
3729
  return {
3709
3730
  val: {
3710
- type: me.number,
3731
+ type: fe.number,
3711
3732
  tokens: n,
3712
3733
  location: r,
3713
- parsedOptions: this.shouldParseSkeletons ? uo(n) : {}
3734
+ parsedOptions: this.shouldParseSkeletons ? lo(n) : {}
3714
3735
  },
3715
3736
  err: null
3716
3737
  };
@@ -3729,20 +3750,20 @@ var So = (
3729
3750
  if (u.has(l))
3730
3751
  return this.error(r === "select" ? E.DUPLICATE_SELECT_ARGUMENT_SELECTOR : E.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3731
3752
  l === "other" && (s = !0), this.bumpSpace();
3732
- var d = this.clonePosition();
3753
+ var m = this.clonePosition();
3733
3754
  if (!this.bumpIf("{"))
3734
3755
  return this.error(r === "select" ? E.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : E.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, w(this.clonePosition(), this.clonePosition()));
3735
- var m = this.parseMessage(t + 1, r, n);
3736
- if (m.err)
3737
- return m;
3738
- var b = this.tryParseArgumentClose(d);
3756
+ var p = this.parseMessage(t + 1, r, n);
3757
+ if (p.err)
3758
+ return p;
3759
+ var b = this.tryParseArgumentClose(m);
3739
3760
  if (b.err)
3740
3761
  return b;
3741
3762
  a.push([
3742
3763
  l,
3743
3764
  {
3744
- value: m.val,
3745
- location: w(d, this.clonePosition())
3765
+ value: p.val,
3766
+ location: w(m, this.clonePosition())
3746
3767
  }
3747
3768
  ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3748
3769
  }
@@ -3758,7 +3779,7 @@ var So = (
3758
3779
  break;
3759
3780
  }
3760
3781
  var u = w(i, this.clonePosition());
3761
- return o ? (s *= n, xo(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3782
+ return o ? (s *= n, Eo(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3762
3783
  }, e.prototype.offset = function() {
3763
3784
  return this.position.offset;
3764
3785
  }, e.prototype.isEOF = function() {
@@ -3792,7 +3813,7 @@ var So = (
3792
3813
  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);
3793
3814
  }
3794
3815
  }, e.prototype.bumpIf = function(t) {
3795
- if (or(this.message, t, this.offset())) {
3816
+ if (sr(this.message, t, this.offset())) {
3796
3817
  for (var r = 0; r < t.length; r++)
3797
3818
  this.bump();
3798
3819
  return !0;
@@ -3824,11 +3845,11 @@ var So = (
3824
3845
  }, e;
3825
3846
  }()
3826
3847
  );
3827
- function bt(e) {
3848
+ function xt(e) {
3828
3849
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3829
3850
  }
3830
- function To(e) {
3831
- return bt(e) || e === 47;
3851
+ function Ao(e) {
3852
+ return xt(e) || e === 47;
3832
3853
  }
3833
3854
  function Mo(e) {
3834
3855
  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;
@@ -3836,35 +3857,35 @@ function Mo(e) {
3836
3857
  function an(e) {
3837
3858
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3838
3859
  }
3839
- function Ao(e) {
3860
+ function Bo(e) {
3840
3861
  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;
3841
3862
  }
3842
- function yt(e) {
3863
+ function Et(e) {
3843
3864
  e.forEach(function(t) {
3844
3865
  if (delete t.location, Qr(t) || Jr(t))
3845
3866
  for (var r in t.options)
3846
- delete t.options[r].location, yt(t.options[r].value);
3867
+ delete t.options[r].location, Et(t.options[r].value);
3847
3868
  else
3848
- zr(t) && Kr(t.style) || (Zr(t) || qr(t)) && mt(t.style) ? delete t.style.location : Yr(t) && yt(t.children);
3869
+ zr(t) && Kr(t.style) || (Zr(t) || qr(t)) && bt(t.style) ? delete t.style.location : Yr(t) && Et(t.children);
3849
3870
  });
3850
3871
  }
3851
- function Bo(e, t) {
3852
- t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3853
- var r = new So(e, t).parse();
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();
3854
3875
  if (r.err) {
3855
3876
  var n = SyntaxError(E[r.err.kind]);
3856
3877
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3857
3878
  }
3858
- return t != null && t.captureLocation || yt(r.val), r.val;
3879
+ return t != null && t.captureLocation || Et(r.val), r.val;
3859
3880
  }
3860
- var de;
3881
+ var pe;
3861
3882
  (function(e) {
3862
3883
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3863
- })(de || (de = {}));
3864
- var Xe = (
3884
+ })(pe || (pe = {}));
3885
+ var Ze = (
3865
3886
  /** @class */
3866
3887
  function(e) {
3867
- q(t, e);
3888
+ ze(t, e);
3868
3889
  function t(r, n, i) {
3869
3890
  var o = e.call(this, r) || this;
3870
3891
  return o.code = n, o.originalMessage = i, o;
@@ -3873,48 +3894,48 @@ var Xe = (
3873
3894
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3874
3895
  }, t;
3875
3896
  }(Error)
3876
- ), ur = (
3897
+ ), lr = (
3877
3898
  /** @class */
3878
3899
  function(e) {
3879
- q(t, e);
3900
+ ze(t, e);
3880
3901
  function t(r, n, i, o) {
3881
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), de.INVALID_VALUE, o) || this;
3902
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), pe.INVALID_VALUE, o) || this;
3882
3903
  }
3883
3904
  return t;
3884
- }(Xe)
3885
- ), Po = (
3905
+ }(Ze)
3906
+ ), Oo = (
3886
3907
  /** @class */
3887
3908
  function(e) {
3888
- q(t, e);
3909
+ ze(t, e);
3889
3910
  function t(r, n, i) {
3890
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), de.INVALID_VALUE, i) || this;
3911
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), pe.INVALID_VALUE, i) || this;
3891
3912
  }
3892
3913
  return t;
3893
- }(Xe)
3894
- ), Oo = (
3914
+ }(Ze)
3915
+ ), Io = (
3895
3916
  /** @class */
3896
3917
  function(e) {
3897
- q(t, e);
3918
+ ze(t, e);
3898
3919
  function t(r, n) {
3899
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), de.MISSING_VALUE, n) || this;
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;
3900
3921
  }
3901
3922
  return t;
3902
- }(Xe)
3923
+ }(Ze)
3903
3924
  ), F;
3904
3925
  (function(e) {
3905
3926
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3906
3927
  })(F || (F = {}));
3907
- function Io(e) {
3928
+ function Lo(e) {
3908
3929
  return e.length < 2 ? e : e.reduce(function(t, r) {
3909
3930
  var n = t[t.length - 1];
3910
3931
  return !n || n.type !== F.literal || r.type !== F.literal ? t.push(r) : n.value += r.value, t;
3911
3932
  }, []);
3912
3933
  }
3913
- function Lo(e) {
3934
+ function Co(e) {
3914
3935
  return typeof e == "function";
3915
3936
  }
3916
3937
  function Ne(e, t, r, n, i, o, s) {
3917
- if (e.length === 1 && tr(e[0]))
3938
+ if (e.length === 1 && rr(e[0]))
3918
3939
  return [
3919
3940
  {
3920
3941
  type: F.literal,
@@ -3923,14 +3944,14 @@ function Ne(e, t, r, n, i, o, s) {
3923
3944
  ];
3924
3945
  for (var a = [], u = 0, l = e; u < l.length; u++) {
3925
3946
  var h = l[u];
3926
- if (tr(h)) {
3947
+ if (rr(h)) {
3927
3948
  a.push({
3928
3949
  type: F.literal,
3929
3950
  value: h.value
3930
3951
  });
3931
3952
  continue;
3932
3953
  }
3933
- if (eo(h)) {
3954
+ if (to(h)) {
3934
3955
  typeof o == "number" && a.push({
3935
3956
  type: F.literal,
3936
3957
  value: r.getNumberFormat(t).format(o)
@@ -3939,9 +3960,9 @@ function Ne(e, t, r, n, i, o, s) {
3939
3960
  }
3940
3961
  var c = h.value;
3941
3962
  if (!(i && c in i))
3942
- throw new Oo(c, s);
3963
+ throw new Io(c, s);
3943
3964
  var f = i[c];
3944
- if (Ki(h)) {
3965
+ if (eo(h)) {
3945
3966
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3946
3967
  type: typeof f == "string" ? F.literal : F.object,
3947
3968
  value: f
@@ -3949,37 +3970,37 @@ function Ne(e, t, r, n, i, o, s) {
3949
3970
  continue;
3950
3971
  }
3951
3972
  if (Zr(h)) {
3952
- var d = typeof h.style == "string" ? n.date[h.style] : mt(h.style) ? h.style.parsedOptions : void 0;
3973
+ var m = typeof h.style == "string" ? n.date[h.style] : bt(h.style) ? h.style.parsedOptions : void 0;
3953
3974
  a.push({
3954
3975
  type: F.literal,
3955
- value: r.getDateTimeFormat(t, d).format(f)
3976
+ value: r.getDateTimeFormat(t, m).format(f)
3956
3977
  });
3957
3978
  continue;
3958
3979
  }
3959
3980
  if (qr(h)) {
3960
- var d = typeof h.style == "string" ? n.time[h.style] : mt(h.style) ? h.style.parsedOptions : n.time.medium;
3981
+ var m = typeof h.style == "string" ? n.time[h.style] : bt(h.style) ? h.style.parsedOptions : n.time.medium;
3961
3982
  a.push({
3962
3983
  type: F.literal,
3963
- value: r.getDateTimeFormat(t, d).format(f)
3984
+ value: r.getDateTimeFormat(t, m).format(f)
3964
3985
  });
3965
3986
  continue;
3966
3987
  }
3967
3988
  if (zr(h)) {
3968
- var d = typeof h.style == "string" ? n.number[h.style] : Kr(h.style) ? h.style.parsedOptions : void 0;
3969
- d && d.scale && (f = f * (d.scale || 1)), a.push({
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({
3970
3991
  type: F.literal,
3971
- value: r.getNumberFormat(t, d).format(f)
3992
+ value: r.getNumberFormat(t, m).format(f)
3972
3993
  });
3973
3994
  continue;
3974
3995
  }
3975
3996
  if (Yr(h)) {
3976
- var m = h.children, b = h.value, H = i[b];
3977
- if (!Lo(H))
3978
- throw new Po(b, "function", s);
3979
- var I = Ne(m, t, r, n, i, o), P = H(I.map(function(y) {
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) {
3980
4001
  return y.value;
3981
4002
  }));
3982
- Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(y) {
4003
+ Array.isArray(B) || (B = [B]), a.push.apply(a, B.map(function(y) {
3983
4004
  return {
3984
4005
  type: typeof y == "string" ? F.literal : F.object,
3985
4006
  value: y
@@ -3987,41 +4008,41 @@ function Ne(e, t, r, n, i, o, s) {
3987
4008
  }));
3988
4009
  }
3989
4010
  if (Qr(h)) {
3990
- var T = h.options[f] || h.options.other;
3991
- if (!T)
3992
- throw new ur(h.value, f, Object.keys(h.options), s);
3993
- a.push.apply(a, Ne(T.value, t, r, n, i));
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));
3994
4015
  continue;
3995
4016
  }
3996
4017
  if (Jr(h)) {
3997
- var T = h.options["=".concat(f)];
3998
- if (!T) {
4018
+ var S = h.options["=".concat(f)];
4019
+ if (!S) {
3999
4020
  if (!Intl.PluralRules)
4000
- throw new Xe(`Intl.PluralRules is not available in this environment.
4021
+ throw new Ze(`Intl.PluralRules is not available in this environment.
4001
4022
  Try polyfilling it using "@formatjs/intl-pluralrules"
4002
- `, de.MISSING_INTL_API, s);
4003
- var L = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
4004
- T = h.options[L] || h.options.other;
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;
4005
4026
  }
4006
- if (!T)
4007
- throw new ur(h.value, f, Object.keys(h.options), s);
4008
- a.push.apply(a, Ne(T.value, t, r, n, i, f - (h.offset || 0)));
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)));
4009
4030
  continue;
4010
4031
  }
4011
4032
  }
4012
- return Io(a);
4033
+ return Lo(a);
4013
4034
  }
4014
- function Co(e, t) {
4015
- return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4016
- return r[n] = S(S({}, e[n]), t[n] || {}), r;
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;
4017
4038
  }, {})) : e;
4018
4039
  }
4019
- function No(e, t) {
4040
+ function Ro(e, t) {
4020
4041
  return t ? Object.keys(e).reduce(function(r, n) {
4021
- return r[n] = Co(e[n], t[n]), r;
4022
- }, S({}, e)) : e;
4042
+ return r[n] = No(e[n], t[n]), r;
4043
+ }, X({}, e)) : e;
4023
4044
  }
4024
- function it(e) {
4045
+ function st(e) {
4025
4046
  return {
4026
4047
  create: function() {
4027
4048
  return {
@@ -4035,39 +4056,39 @@ function it(e) {
4035
4056
  }
4036
4057
  };
4037
4058
  }
4038
- function Ro(e) {
4059
+ function Fo(e) {
4039
4060
  return e === void 0 && (e = {
4040
4061
  number: {},
4041
4062
  dateTime: {},
4042
4063
  pluralRules: {}
4043
4064
  }), {
4044
- getNumberFormat: tt(function() {
4065
+ getNumberFormat: nt(function() {
4045
4066
  for (var t, r = [], n = 0; n < arguments.length; n++)
4046
4067
  r[n] = arguments[n];
4047
- return new ((t = Intl.NumberFormat).bind.apply(t, he([void 0], r, !1)))();
4068
+ return new ((t = Intl.NumberFormat).bind.apply(t, rt([void 0], r, !1)))();
4048
4069
  }, {
4049
- cache: it(e.number),
4050
- strategy: rt.variadic
4070
+ cache: st(e.number),
4071
+ strategy: it.variadic
4051
4072
  }),
4052
- getDateTimeFormat: tt(function() {
4073
+ getDateTimeFormat: nt(function() {
4053
4074
  for (var t, r = [], n = 0; n < arguments.length; n++)
4054
4075
  r[n] = arguments[n];
4055
- return new ((t = Intl.DateTimeFormat).bind.apply(t, he([void 0], r, !1)))();
4076
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, rt([void 0], r, !1)))();
4056
4077
  }, {
4057
- cache: it(e.dateTime),
4058
- strategy: rt.variadic
4078
+ cache: st(e.dateTime),
4079
+ strategy: it.variadic
4059
4080
  }),
4060
- getPluralRules: tt(function() {
4081
+ getPluralRules: nt(function() {
4061
4082
  for (var t, r = [], n = 0; n < arguments.length; n++)
4062
4083
  r[n] = arguments[n];
4063
- return new ((t = Intl.PluralRules).bind.apply(t, he([void 0], r, !1)))();
4084
+ return new ((t = Intl.PluralRules).bind.apply(t, rt([void 0], r, !1)))();
4064
4085
  }, {
4065
- cache: it(e.pluralRules),
4066
- strategy: rt.variadic
4086
+ cache: st(e.pluralRules),
4087
+ strategy: it.variadic
4067
4088
  })
4068
4089
  };
4069
4090
  }
4070
- var Fo = (
4091
+ var Uo = (
4071
4092
  /** @class */
4072
4093
  function() {
4073
4094
  function e(t, r, n, i) {
@@ -4099,13 +4120,13 @@ var Fo = (
4099
4120
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4100
4121
  var s = i || {};
4101
4122
  s.formatters;
4102
- var a = pi(s, ["formatters"]);
4103
- this.ast = e.__parse(t, S(S({}, a), { locale: this.resolvedLocale }));
4123
+ var a = Xi(s, ["formatters"]);
4124
+ this.ast = e.__parse(t, X(X({}, a), { locale: this.resolvedLocale }));
4104
4125
  } else
4105
4126
  this.ast = t;
4106
4127
  if (!Array.isArray(this.ast))
4107
4128
  throw new TypeError("A message must be provided as a String or AST.");
4108
- this.formats = No(e.formats, n), this.formatters = i && i.formatters || Ro(this.formatterCache);
4129
+ this.formats = Ro(e.formats, n), this.formatters = i && i.formatters || Fo(this.formatterCache);
4109
4130
  }
4110
4131
  return Object.defineProperty(e, "defaultLocale", {
4111
4132
  get: function() {
@@ -4118,7 +4139,7 @@ var Fo = (
4118
4139
  var r = Intl.NumberFormat.supportedLocalesOf(t);
4119
4140
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4120
4141
  }
4121
- }, e.__parse = Bo, e.formats = {
4142
+ }, e.__parse = Po, e.formats = {
4122
4143
  number: {
4123
4144
  integer: {
4124
4145
  maximumFractionDigits: 0
@@ -4179,7 +4200,7 @@ var Fo = (
4179
4200
  }, e;
4180
4201
  }()
4181
4202
  );
4182
- function Uo(e, t) {
4203
+ function $o(e, t) {
4183
4204
  if (t == null)
4184
4205
  return;
4185
4206
  if (t in e)
@@ -4205,31 +4226,31 @@ const J = {}, Do = (e, t, r) => r && (t in J || (J[t] = {}), e in J[t] || (J[t][
4205
4226
  return;
4206
4227
  if (t in J && e in J[t])
4207
4228
  return J[t][e];
4208
- const r = ze(t);
4229
+ const r = qe(t);
4209
4230
  for (let n = 0; n < r.length; n++) {
4210
- const i = r[n], o = Go(i, e);
4231
+ const i = r[n], o = ko(i, e);
4211
4232
  if (o)
4212
4233
  return Do(e, t, o);
4213
4234
  }
4214
4235
  };
4215
- let St;
4216
- const Me = We({});
4217
- function $o(e) {
4218
- return St[e] || null;
4236
+ let At;
4237
+ const Ae = Xe({});
4238
+ function Go(e) {
4239
+ return At[e] || null;
4219
4240
  }
4220
4241
  function ln(e) {
4221
- return e in St;
4242
+ return e in At;
4222
4243
  }
4223
- function Go(e, t) {
4244
+ function ko(e, t) {
4224
4245
  if (!ln(e))
4225
4246
  return null;
4226
- const r = $o(e);
4227
- return Uo(r, t);
4247
+ const r = Go(e);
4248
+ return $o(r, t);
4228
4249
  }
4229
- function ko(e) {
4250
+ function jo(e) {
4230
4251
  if (e == null)
4231
4252
  return;
4232
- const t = ze(e);
4253
+ const t = qe(e);
4233
4254
  for (let r = 0; r < t.length; r++) {
4234
4255
  const n = t[r];
4235
4256
  if (ln(n))
@@ -4237,55 +4258,55 @@ function ko(e) {
4237
4258
  }
4238
4259
  }
4239
4260
  function hn(e, ...t) {
4240
- delete J[e], Me.update((r) => (r[e] = Xi.all([r[e] || {}, ...t]), r));
4261
+ delete J[e], Ae.update((r) => (r[e] = Wi.all([r[e] || {}, ...t]), r));
4241
4262
  }
4242
- be(
4243
- [Me],
4263
+ ge(
4264
+ [Ae],
4244
4265
  ([e]) => Object.keys(e)
4245
4266
  );
4246
- Me.subscribe((e) => St = e);
4267
+ Ae.subscribe((e) => At = e);
4247
4268
  const Re = {};
4248
- function jo(e, t) {
4269
+ function Vo(e, t) {
4249
4270
  Re[e].delete(t), Re[e].size === 0 && delete Re[e];
4250
4271
  }
4251
4272
  function cn(e) {
4252
4273
  return Re[e];
4253
4274
  }
4254
- function Vo(e) {
4255
- return ze(e).map((t) => {
4275
+ function Wo(e) {
4276
+ return qe(e).map((t) => {
4256
4277
  const r = cn(t);
4257
4278
  return [t, r ? [...r] : []];
4258
4279
  }).filter(([, t]) => t.length > 0);
4259
4280
  }
4260
- function vt(e) {
4261
- return e == null ? !1 : ze(e).some(
4281
+ function wt(e) {
4282
+ return e == null ? !1 : qe(e).some(
4262
4283
  (t) => {
4263
4284
  var r;
4264
4285
  return (r = cn(t)) == null ? void 0 : r.size;
4265
4286
  }
4266
4287
  );
4267
4288
  }
4268
- function Wo(e, t) {
4289
+ function Xo(e, t) {
4269
4290
  return Promise.all(
4270
- t.map((n) => (jo(e, n), n().then((i) => i.default || i)))
4291
+ t.map((n) => (Vo(e, n), n().then((i) => i.default || i)))
4271
4292
  ).then((n) => hn(e, ...n));
4272
4293
  }
4273
- const xe = {};
4294
+ const _e = {};
4274
4295
  function fn(e) {
4275
- if (!vt(e))
4276
- return e in xe ? xe[e] : Promise.resolve();
4277
- const t = Vo(e);
4278
- return xe[e] = Promise.all(
4296
+ if (!wt(e))
4297
+ return e in _e ? _e[e] : Promise.resolve();
4298
+ const t = Wo(e);
4299
+ return _e[e] = Promise.all(
4279
4300
  t.map(
4280
- ([r, n]) => Wo(r, n)
4301
+ ([r, n]) => Xo(r, n)
4281
4302
  )
4282
4303
  ).then(() => {
4283
- if (vt(e))
4304
+ if (wt(e))
4284
4305
  return fn(e);
4285
- delete xe[e];
4286
- }), xe[e];
4306
+ delete _e[e];
4307
+ }), _e[e];
4287
4308
  }
4288
- const Xo = {
4309
+ const zo = {
4289
4310
  number: {
4290
4311
  scientific: { notation: "scientific" },
4291
4312
  engineering: { notation: "engineering" },
@@ -4314,135 +4335,135 @@ const Xo = {
4314
4335
  timeZoneName: "short"
4315
4336
  }
4316
4337
  }
4317
- }, zo = {
4338
+ }, Zo = {
4318
4339
  fallbackLocale: null,
4319
4340
  loadingDelay: 200,
4320
- formats: Xo,
4341
+ formats: zo,
4321
4342
  warnOnMissingMessages: !0,
4322
4343
  handleMissingMessage: void 0,
4323
4344
  ignoreTag: !0
4324
- }, Zo = zo;
4325
- function pe() {
4326
- return Zo;
4345
+ }, qo = Zo;
4346
+ function me() {
4347
+ return qo;
4327
4348
  }
4328
- const ot = We(!1);
4329
- var qo = Object.defineProperty, Qo = Object.defineProperties, Jo = Object.getOwnPropertyDescriptors, lr = Object.getOwnPropertySymbols, Yo = Object.prototype.hasOwnProperty, Ko = Object.prototype.propertyIsEnumerable, hr = (e, t, r) => t in e ? qo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, es = (e, t) => {
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) => {
4330
4351
  for (var r in t || (t = {}))
4331
- Yo.call(t, r) && hr(e, r, t[r]);
4332
- if (lr)
4333
- for (var r of lr(t))
4334
- Ko.call(t, r) && hr(e, r, t[r]);
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]);
4335
4356
  return e;
4336
- }, ts = (e, t) => Qo(e, Jo(t));
4337
- let _t;
4338
- const Ge = We(null);
4339
- function cr(e) {
4357
+ }, rs = (e, t) => Jo(e, Yo(t));
4358
+ let Ht;
4359
+ const ke = Xe(null);
4360
+ function fr(e) {
4340
4361
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4341
4362
  }
4342
- function ze(e, t = pe().fallbackLocale) {
4343
- const r = cr(e);
4344
- return t ? [.../* @__PURE__ */ new Set([...r, ...cr(t)])] : r;
4363
+ function qe(e, t = me().fallbackLocale) {
4364
+ const r = fr(e);
4365
+ return t ? [.../* @__PURE__ */ new Set([...r, ...fr(t)])] : r;
4345
4366
  }
4346
4367
  function ne() {
4347
- return _t != null ? _t : void 0;
4368
+ return Ht != null ? Ht : void 0;
4348
4369
  }
4349
- Ge.subscribe((e) => {
4350
- _t = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4370
+ ke.subscribe((e) => {
4371
+ Ht = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4351
4372
  });
4352
- const rs = (e) => {
4353
- if (e && ko(e) && vt(e)) {
4354
- const { loadingDelay: t } = pe();
4373
+ const ns = (e) => {
4374
+ if (e && jo(e) && wt(e)) {
4375
+ const { loadingDelay: t } = me();
4355
4376
  let r;
4356
4377
  return typeof window != "undefined" && ne() != null && t ? r = window.setTimeout(
4357
- () => ot.set(!0),
4378
+ () => at.set(!0),
4358
4379
  t
4359
- ) : ot.set(!0), fn(e).then(() => {
4360
- Ge.set(e);
4380
+ ) : at.set(!0), fn(e).then(() => {
4381
+ ke.set(e);
4361
4382
  }).finally(() => {
4362
- clearTimeout(r), ot.set(!1);
4383
+ clearTimeout(r), at.set(!1);
4363
4384
  });
4364
4385
  }
4365
- return Ge.set(e);
4366
- }, ye = ts(es({}, Ge), {
4367
- set: rs
4368
- }), Ze = (e) => {
4386
+ return ke.set(e);
4387
+ }, be = rs(ts({}, ke), {
4388
+ set: ns
4389
+ }), Qe = (e) => {
4369
4390
  const t = /* @__PURE__ */ Object.create(null);
4370
4391
  return (n) => {
4371
4392
  const i = JSON.stringify(n);
4372
4393
  return i in t ? t[i] : t[i] = e(n);
4373
4394
  };
4374
4395
  };
4375
- var ns = Object.defineProperty, ke = Object.getOwnPropertySymbols, mn = Object.prototype.hasOwnProperty, dn = Object.prototype.propertyIsEnumerable, fr = (e, t, r) => t in e ? ns(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Tt = (e, t) => {
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) => {
4376
4397
  for (var r in t || (t = {}))
4377
- mn.call(t, r) && fr(e, r, t[r]);
4378
- if (ke)
4379
- for (var r of ke(t))
4380
- dn.call(t, r) && fr(e, r, t[r]);
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]);
4381
4402
  return e;
4382
- }, ve = (e, t) => {
4403
+ }, ye = (e, t) => {
4383
4404
  var r = {};
4384
4405
  for (var n in e)
4385
- mn.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4386
- if (e != null && ke)
4387
- for (var n of ke(e))
4388
- t.indexOf(n) < 0 && dn.call(e, n) && (r[n] = e[n]);
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]);
4389
4410
  return r;
4390
4411
  };
4391
- const Te = (e, t) => {
4392
- const { formats: r } = pe();
4412
+ const Se = (e, t) => {
4413
+ const { formats: r } = me();
4393
4414
  if (e in r && t in r[e])
4394
4415
  return r[e][t];
4395
4416
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4396
- }, is = Ze(
4417
+ }, os = Qe(
4397
4418
  (e) => {
4398
- var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4419
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4399
4420
  if (r == null)
4400
4421
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4401
- return n && (i = Te("number", n)), new Intl.NumberFormat(r, i);
4422
+ return n && (i = Se("number", n)), new Intl.NumberFormat(r, i);
4402
4423
  }
4403
- ), os = Ze(
4424
+ ), ss = Qe(
4404
4425
  (e) => {
4405
- var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4426
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4406
4427
  if (r == null)
4407
4428
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4408
- return n ? i = Te("date", n) : Object.keys(i).length === 0 && (i = Te("date", "short")), new Intl.DateTimeFormat(r, i);
4429
+ return n ? i = Se("date", n) : Object.keys(i).length === 0 && (i = Se("date", "short")), new Intl.DateTimeFormat(r, i);
4409
4430
  }
4410
- ), ss = Ze(
4431
+ ), as = Qe(
4411
4432
  (e) => {
4412
- var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4433
+ var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4413
4434
  if (r == null)
4414
4435
  throw new Error(
4415
4436
  '[svelte-i18n] A "locale" must be set to format time values'
4416
4437
  );
4417
- return n ? i = Te("time", n) : Object.keys(i).length === 0 && (i = Te("time", "short")), new Intl.DateTimeFormat(r, i);
4438
+ return n ? i = Se("time", n) : Object.keys(i).length === 0 && (i = Se("time", "short")), new Intl.DateTimeFormat(r, i);
4418
4439
  }
4419
- ), as = (e = {}) => {
4440
+ ), us = (e = {}) => {
4420
4441
  var t = e, {
4421
4442
  locale: r = ne()
4422
- } = t, n = ve(t, [
4443
+ } = t, n = ye(t, [
4423
4444
  "locale"
4424
4445
  ]);
4425
- return is(Tt({ locale: r }, n));
4426
- }, us = (e = {}) => {
4446
+ return os(Mt({ locale: r }, n));
4447
+ }, ls = (e = {}) => {
4427
4448
  var t = e, {
4428
4449
  locale: r = ne()
4429
- } = t, n = ve(t, [
4450
+ } = t, n = ye(t, [
4430
4451
  "locale"
4431
4452
  ]);
4432
- return os(Tt({ locale: r }, n));
4433
- }, ls = (e = {}) => {
4453
+ return ss(Mt({ locale: r }, n));
4454
+ }, hs = (e = {}) => {
4434
4455
  var t = e, {
4435
4456
  locale: r = ne()
4436
- } = t, n = ve(t, [
4457
+ } = t, n = ye(t, [
4437
4458
  "locale"
4438
4459
  ]);
4439
- return ss(Tt({ locale: r }, n));
4440
- }, hs = Ze(
4460
+ return as(Mt({ locale: r }, n));
4461
+ }, cs = Qe(
4441
4462
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4442
- (e, t = ne()) => new Fo(e, t, pe().formats, {
4443
- ignoreTag: pe().ignoreTag
4463
+ (e, t = ne()) => new Uo(e, t, me().formats, {
4464
+ ignoreTag: me().ignoreTag
4444
4465
  })
4445
- ), cs = (e, t = {}) => {
4466
+ ), fs = (e, t = {}) => {
4446
4467
  var r, n, i, o;
4447
4468
  let s = t;
4448
4469
  typeof e == "object" && (s = e, e = s.id);
@@ -4457,7 +4478,7 @@ const Te = (e, t) => {
4457
4478
  );
4458
4479
  let h = un(e, u);
4459
4480
  if (!h)
4460
- 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;
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;
4461
4482
  else if (typeof h != "string")
4462
4483
  return console.warn(
4463
4484
  `[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.`
@@ -4466,7 +4487,7 @@ const Te = (e, t) => {
4466
4487
  return h;
4467
4488
  let c = h;
4468
4489
  try {
4469
- c = hs(h, u).format(a);
4490
+ c = cs(h, u).format(a);
4470
4491
  } catch (f) {
4471
4492
  f instanceof Error && console.warn(
4472
4493
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4474,21 +4495,21 @@ const Te = (e, t) => {
4474
4495
  );
4475
4496
  }
4476
4497
  return c;
4477
- }, fs = (e, t) => ls(t).format(e), ms = (e, t) => us(t).format(e), ds = (e, t) => as(t).format(e), ps = (e, t = ne()) => un(e, t), gs = be([ye, Me], () => cs);
4478
- be([ye], () => fs);
4479
- be([ye], () => ms);
4480
- be([ye], () => ds);
4481
- be([ye, Me], () => ps);
4482
- window.emWidgets = { topic: Bi };
4483
- const bs = (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));
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));
4484
4505
  String(Number.MAX_SAFE_INTEGER).length;
4485
- function ys(e, t) {
4506
+ function vs(e, t) {
4486
4507
  if (e) {
4487
4508
  const r = document.createElement("style");
4488
4509
  r.innerHTML = t, e.appendChild(r);
4489
4510
  }
4490
4511
  }
4491
- function vs(e, t) {
4512
+ function _s(e, t) {
4492
4513
  if (!e || !t)
4493
4514
  return;
4494
4515
  const r = new URL(t);
@@ -4499,7 +4520,7 @@ function vs(e, t) {
4499
4520
  console.error("There was an error while trying to load client styling from URL", n);
4500
4521
  });
4501
4522
  }
4502
- function _s(e, t, r) {
4523
+ function xs(e, t, r) {
4503
4524
  if (window.emMessageBus) {
4504
4525
  const n = document.createElement("style");
4505
4526
  window.emMessageBus.subscribe(t, (i) => {
@@ -4510,8 +4531,8 @@ function _s(e, t, r) {
4510
4531
  function mr(e, t) {
4511
4532
  hn(e, t);
4512
4533
  }
4513
- function xs(e) {
4514
- ye.set(e);
4534
+ function Es(e) {
4535
+ be.set(e);
4515
4536
  }
4516
4537
  const dr = {
4517
4538
  en: {
@@ -4548,76 +4569,76 @@ const dr = {
4548
4569
  language: "Select Language"
4549
4570
  }
4550
4571
  };
4551
- function Es(e) {
4572
+ function ws(e) {
4552
4573
  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}");
4553
4574
  }
4554
- function pr(e, t, r) {
4575
+ function gr(e, t, r) {
4555
4576
  const n = e.slice();
4556
4577
  return n[53] = t[r], n;
4557
4578
  }
4558
- function gr(e, t, r) {
4579
+ function br(e, t, r) {
4559
4580
  const n = e.slice();
4560
4581
  return n[1] = t[r], n;
4561
4582
  }
4562
- function br(e, t, r) {
4583
+ function yr(e, t, r) {
4563
4584
  const n = e.slice();
4564
4585
  return n[56] = t[r], n;
4565
4586
  }
4566
- function yr(e, t, r) {
4587
+ function vr(e, t, r) {
4567
4588
  const n = e.slice();
4568
4589
  return n[59] = t[r], n;
4569
4590
  }
4570
- const ws = (e) => ({}), vr = (e) => ({});
4571
- function _r(e) {
4572
- let t, r, n, i, o, s, a, u, l, h, c, f, d, m, b, H;
4573
- const I = (
4591
+ const Hs = (e) => ({}), _r = (e) => ({});
4592
+ function xr(e) {
4593
+ let t, r, n, i, o, s, a, u, l, h, c, f, m, p, b, H;
4594
+ const O = (
4574
4595
  /*#slots*/
4575
4596
  e[31].close
4576
- ), P = Rn(
4577
- I,
4597
+ ), B = Rn(
4598
+ O,
4578
4599
  e,
4579
4600
  /*$$scope*/
4580
4601
  e[30],
4581
- vr
4582
- ), T = P || Hs();
4583
- let L = Q(
4602
+ _r
4603
+ ), S = B || Ss();
4604
+ let I = Q(
4584
4605
  /*HamburgerMenuItems*/
4585
4606
  e[4]
4586
4607
  ), y = [];
4587
- for (let x = 0; x < L.length; x += 1)
4588
- y[x] = xr(yr(e, L, x));
4589
- let M = Q(
4608
+ for (let x = 0; x < I.length; x += 1)
4609
+ y[x] = Er(vr(e, I, x));
4610
+ let T = Q(
4590
4611
  /*activeMenuItemChildren*/
4591
4612
  e[6]
4592
4613
  ), A = [];
4593
- for (let x = 0; x < M.length; x += 1)
4594
- A[x] = Er(br(e, M, x));
4614
+ for (let x = 0; x < T.length; x += 1)
4615
+ A[x] = wr(yr(e, T, x));
4595
4616
  let R = (
4596
4617
  /*languagesArray*/
4597
- e[10].length > 1 && wr(e)
4618
+ e[10].length > 1 && Hr(e)
4598
4619
  );
4599
4620
  return {
4600
4621
  c() {
4601
- t = B("div"), r = B("span"), T && T.c(), i = D(), o = B("div"), s = B("ul");
4622
+ t = M("div"), r = M("span"), S && S.c(), i = $(), o = M("div"), s = M("ul");
4602
4623
  for (let x = 0; x < y.length; x += 1)
4603
4624
  y[x].c();
4604
- u = D(), l = B("ul");
4625
+ u = $(), l = M("ul");
4605
4626
  for (let x = 0; x < A.length; x += 1)
4606
4627
  A[x].c();
4607
- c = D(), R && R.c(), g(r, "class", n = /*modalIsOpen*/
4628
+ c = $(), R && R.c(), g(r, "class", n = /*modalIsOpen*/
4608
4629
  e[7] ? "ModalCloseBtn" : ""), g(r, "role", "button"), g(s, "class", a = "HamburgerPrimaryMenu " + /*menuIsFixed*/
4609
4630
  (e[8] ? "HamburgerPrimaryMenuFixed" : "")), g(l, "class", h = "HamburgerSecondaryMenu " + /*menuIsFixed*/
4610
4631
  (e[8] ? "HamburgerSecondaryMenuFixed" : "")), g(o, "class", f = "HamburgerModalContainer " + /*modalIsOpen*/
4611
4632
  (e[7] ? "ActiveHamburgerMenu" : "")), g(t, "class", "HamburgerModalWindow");
4612
4633
  },
4613
4634
  m(x, N) {
4614
- j(x, t, N), v(t, r), T && T.m(r, null), v(t, i), v(t, o), v(o, s);
4635
+ j(x, t, N), v(t, r), S && S.m(r, null), v(t, i), v(t, o), v(o, s);
4615
4636
  for (let _ = 0; _ < y.length; _ += 1)
4616
4637
  y[_] && y[_].m(s, null);
4617
4638
  v(o, u), v(o, l);
4618
4639
  for (let _ = 0; _ < A.length; _ += 1)
4619
4640
  A[_] && A[_].m(l, null);
4620
- v(o, c), R && R.m(o, null), e[38](t), m = !0, b || (H = te(
4641
+ v(o, c), R && R.m(o, null), e[38](t), p = !0, b || (H = te(
4621
4642
  r,
4622
4643
  "click",
4623
4644
  /*close*/
@@ -4625,79 +4646,79 @@ function _r(e) {
4625
4646
  ), b = !0);
4626
4647
  },
4627
4648
  p(x, N) {
4628
- if (e = x, P && P.p && (!m || N[0] & /*$$scope*/
4649
+ if (e = x, B && B.p && (!p || N[0] & /*$$scope*/
4629
4650
  1073741824) && Un(
4630
- P,
4631
- I,
4651
+ B,
4652
+ O,
4632
4653
  e,
4633
4654
  /*$$scope*/
4634
4655
  e[30],
4635
- m ? Fn(
4636
- I,
4656
+ p ? Fn(
4657
+ O,
4637
4658
  /*$$scope*/
4638
4659
  e[30],
4639
4660
  N,
4640
- ws
4641
- ) : Dn(
4661
+ Hs
4662
+ ) : $n(
4642
4663
  /*$$scope*/
4643
4664
  e[30]
4644
4665
  ),
4645
- vr
4646
- ), (!m || N[0] & /*modalIsOpen*/
4666
+ _r
4667
+ ), (!p || N[0] & /*modalIsOpen*/
4647
4668
  128 && n !== (n = /*modalIsOpen*/
4648
4669
  e[7] ? "ModalCloseBtn" : "")) && g(r, "class", n), N[0] & /*activeMenuItemId, HamburgerMenuItems, changeMenu*/
4649
4670
  32816) {
4650
- L = Q(
4671
+ I = Q(
4651
4672
  /*HamburgerMenuItems*/
4652
4673
  e[4]
4653
4674
  );
4654
4675
  let _;
4655
- for (_ = 0; _ < L.length; _ += 1) {
4656
- const V = yr(e, L, _);
4657
- y[_] ? y[_].p(V, N) : (y[_] = xr(V), y[_].c(), y[_].m(s, null));
4676
+ for (_ = 0; _ < I.length; _ += 1) {
4677
+ const V = vr(e, I, _);
4678
+ y[_] ? y[_].p(V, N) : (y[_] = Er(V), y[_].c(), y[_].m(s, null));
4658
4679
  }
4659
4680
  for (; _ < y.length; _ += 1)
4660
4681
  y[_].d(1);
4661
- y.length = L.length;
4682
+ y.length = I.length;
4662
4683
  }
4663
- if ((!m || N[0] & /*menuIsFixed*/
4684
+ if ((!p || N[0] & /*menuIsFixed*/
4664
4685
  256 && a !== (a = "HamburgerPrimaryMenu " + /*menuIsFixed*/
4665
4686
  (e[8] ? "HamburgerPrimaryMenuFixed" : ""))) && g(s, "class", a), N[0] & /*handleClick, activeMenuItemChildren*/
4666
4687
  65600) {
4667
- M = Q(
4688
+ T = Q(
4668
4689
  /*activeMenuItemChildren*/
4669
4690
  e[6]
4670
4691
  );
4671
4692
  let _;
4672
- for (_ = 0; _ < M.length; _ += 1) {
4673
- const V = br(e, M, _);
4674
- A[_] ? A[_].p(V, N) : (A[_] = Er(V), A[_].c(), A[_].m(l, null));
4693
+ for (_ = 0; _ < T.length; _ += 1) {
4694
+ const V = yr(e, T, _);
4695
+ A[_] ? A[_].p(V, N) : (A[_] = wr(V), A[_].c(), A[_].m(l, null));
4675
4696
  }
4676
4697
  for (; _ < A.length; _ += 1)
4677
4698
  A[_].d(1);
4678
- A.length = M.length;
4699
+ A.length = T.length;
4679
4700
  }
4680
- (!m || N[0] & /*menuIsFixed*/
4701
+ (!p || N[0] & /*menuIsFixed*/
4681
4702
  256 && h !== (h = "HamburgerSecondaryMenu " + /*menuIsFixed*/
4682
4703
  (e[8] ? "HamburgerSecondaryMenuFixed" : ""))) && g(l, "class", h), /*languagesArray*/
4683
- e[10].length > 1 ? R ? R.p(e, N) : (R = wr(e), R.c(), R.m(o, null)) : R && (R.d(1), R = null), (!m || N[0] & /*modalIsOpen*/
4704
+ 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*/
4684
4705
  128 && f !== (f = "HamburgerModalContainer " + /*modalIsOpen*/
4685
4706
  (e[7] ? "ActiveHamburgerMenu" : ""))) && g(o, "class", f);
4686
4707
  },
4687
4708
  i(x) {
4688
- m || (we(T, x), x && ce(() => {
4689
- m && (d || (d = Wt(t, Xt, { transitionDuration: Mr }, !0)), d.run(1));
4690
- }), m = !0);
4709
+ p || (Ee(S, x), x && he(() => {
4710
+ p && (m || (m = Xt(t, zt, { transitionDuration: Mr }, !0)), m.run(1));
4711
+ }), p = !0);
4691
4712
  },
4692
4713
  o(x) {
4693
- at(T, x), x && (d || (d = Wt(t, Xt, { transitionDuration: Mr }, !1)), d.run(0)), m = !1;
4714
+ lt(S, x), x && (m || (m = Xt(t, zt, { transitionDuration: Mr }, !1)), m.run(0)), p = !1;
4694
4715
  },
4695
4716
  d(x) {
4696
- x && U(t), T && T.d(x), Fe(y, x), Fe(A, x), R && R.d(), e[38](null), x && d && d.end(), b = !1, H();
4717
+ 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();
4697
4718
  }
4698
4719
  };
4699
4720
  }
4700
- function Hs(e) {
4721
+ function Ss(e) {
4701
4722
  let t, r;
4702
4723
  return {
4703
4724
  c() {
@@ -4712,7 +4733,7 @@ function Hs(e) {
4712
4733
  }
4713
4734
  };
4714
4735
  }
4715
- function xr(e) {
4736
+ function Er(e) {
4716
4737
  let t, r, n, i, o, s = (
4717
4738
  /*mainItem*/
4718
4739
  e[59].label + ""
@@ -4728,30 +4749,30 @@ function xr(e) {
4728
4749
  }
4729
4750
  return {
4730
4751
  c() {
4731
- t = B("li"), r = B("div"), n = B("img"), o = D(), a = re(s), u = D(), Y(n.src, i = /*mainItem*/
4752
+ t = M("li"), r = M("div"), n = M("img"), o = $(), a = re(s), u = $(), Y(n.src, i = /*mainItem*/
4732
4753
  e[59].img) || g(n, "src", i), g(n, "alt", "menu icon"), g(r, "class", "HamburgerItemContainer"), g(t, "class", l = /*activeMenuItemId*/
4733
4754
  e[5] === /*mainItem*/
4734
4755
  e[59].id ? "ActiveItem" : "");
4735
4756
  },
4736
- m(d, m) {
4737
- j(d, t, m), v(t, r), v(r, n), v(r, o), v(r, a), v(t, u), h || (c = te(t, "click", f), h = !0);
4757
+ m(m, p) {
4758
+ 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);
4738
4759
  },
4739
- p(d, m) {
4740
- e = d, m[0] & /*HamburgerMenuItems*/
4760
+ p(m, p) {
4761
+ e = m, p[0] & /*HamburgerMenuItems*/
4741
4762
  16 && !Y(n.src, i = /*mainItem*/
4742
- e[59].img) && g(n, "src", i), m[0] & /*HamburgerMenuItems*/
4763
+ e[59].img) && g(n, "src", i), p[0] & /*HamburgerMenuItems*/
4743
4764
  16 && s !== (s = /*mainItem*/
4744
- e[59].label + "") && ge(a, s), m[0] & /*activeMenuItemId, HamburgerMenuItems*/
4765
+ e[59].label + "") && de(a, s), p[0] & /*activeMenuItemId, HamburgerMenuItems*/
4745
4766
  48 && l !== (l = /*activeMenuItemId*/
4746
4767
  e[5] === /*mainItem*/
4747
4768
  e[59].id ? "ActiveItem" : "") && g(t, "class", l);
4748
4769
  },
4749
- d(d) {
4750
- d && U(t), h = !1, c();
4770
+ d(m) {
4771
+ m && U(t), h = !1, c();
4751
4772
  }
4752
4773
  };
4753
4774
  }
4754
- function Er(e) {
4775
+ function wr(e) {
4755
4776
  let t, r, n, i, o = (
4756
4777
  /*secondaryItem*/
4757
4778
  e[56].label + ""
@@ -4768,7 +4789,7 @@ function Er(e) {
4768
4789
  }
4769
4790
  return {
4770
4791
  c() {
4771
- t = B("li"), r = B("img"), i = D(), s = re(o), a = D(), Y(r.src, n = /*secondaryItem*/
4792
+ t = M("li"), r = M("img"), i = $(), s = re(o), a = $(), Y(r.src, n = /*secondaryItem*/
4772
4793
  e[56].img) || g(r, "src", n), g(r, "alt", "menu icon");
4773
4794
  },
4774
4795
  m(c, f) {
@@ -4779,14 +4800,14 @@ function Er(e) {
4779
4800
  64 && !Y(r.src, n = /*secondaryItem*/
4780
4801
  e[56].img) && g(r, "src", n), f[0] & /*activeMenuItemChildren*/
4781
4802
  64 && o !== (o = /*secondaryItem*/
4782
- e[56].label + "") && ge(s, o);
4803
+ e[56].label + "") && de(s, o);
4783
4804
  },
4784
4805
  d(c) {
4785
4806
  c && U(t), u = !1, l();
4786
4807
  }
4787
4808
  };
4788
4809
  }
4789
- function wr(e) {
4810
+ function Hr(e) {
4790
4811
  let t, r, n = (
4791
4812
  /*$_*/
4792
4813
  e[13]("language") + ""
@@ -4794,13 +4815,13 @@ function wr(e) {
4794
4815
  function s(l, h) {
4795
4816
  return (
4796
4817
  /*countryflaghamburger*/
4797
- l[0] !== "true" ? Ts : Ss
4818
+ l[0] !== "true" ? As : Ts
4798
4819
  );
4799
4820
  }
4800
4821
  let a = s(e), u = a(e);
4801
4822
  return {
4802
4823
  c() {
4803
- t = B("div"), r = B("span"), i = re(n), o = D(), u.c(), g(r, "class", "LanguageSelect"), g(t, "class", "LanguageSelectorTitle");
4824
+ t = M("div"), r = M("span"), i = re(n), o = $(), u.c(), g(r, "class", "LanguageSelect"), g(t, "class", "LanguageSelectorTitle");
4804
4825
  },
4805
4826
  m(l, h) {
4806
4827
  j(l, t, h), v(t, r), v(r, i), v(t, o), u.m(t, null);
@@ -4808,70 +4829,70 @@ function wr(e) {
4808
4829
  p(l, h) {
4809
4830
  h[0] & /*$_*/
4810
4831
  8192 && n !== (n = /*$_*/
4811
- 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)));
4832
+ 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)));
4812
4833
  },
4813
4834
  d(l) {
4814
4835
  l && U(t), u.d();
4815
4836
  }
4816
4837
  };
4817
4838
  }
4818
- function Ss(e) {
4839
+ function Ts(e) {
4819
4840
  let t, r, n, i, o, s, a, u = (
4820
4841
  /*selectedLanguage*/
4821
4842
  e[12].slice(-2) + ""
4822
- ), l, h, c, f, d, m, b, H, I, P, T, L, y = (
4843
+ ), l, h, c, f, m, p, b, H, O, B, S, I, y = (
4823
4844
  /*isOptionsListVisible*/
4824
- e[11] && Hr(e)
4845
+ e[11] && Sr(e)
4825
4846
  );
4826
4847
  return {
4827
4848
  c() {
4828
- t = B("div"), r = B("div"), n = B("span"), i = B("img"), s = D(), a = B("span"), l = re(u), h = D(), c = B("span"), f = ee("svg"), d = ee("g"), m = ee("g"), b = ee("g"), H = ee("path"), P = D(), y && y.c(), Y(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4849
+ 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*/
4829
4850
  e[20](
4830
4851
  /*selectedLanguage*/
4831
4852
  e[12].slice(-2)
4832
- )}.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*/
4853
+ )}.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*/
4833
4854
  (e[11] ? "TriangleActive" : "")), g(r, "class", "SelectedOption Item ItemLanguage"), g(t, "class", "LanguageDropdown");
4834
4855
  },
4835
- m(M, A) {
4836
- j(M, 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, d), v(d, m), v(m, b), v(b, H), v(t, P), y && y.m(t, null), T || (L = te(
4856
+ m(T, A) {
4857
+ 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(
4837
4858
  r,
4838
4859
  "click",
4839
4860
  /*click_handler_2*/
4840
4861
  e[36]
4841
- ), T = !0);
4862
+ ), S = !0);
4842
4863
  },
4843
- p(M, A) {
4864
+ p(T, A) {
4844
4865
  A[0] & /*selectedLanguage, languagesArray*/
4845
4866
  5120 && !Y(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4846
- M[20](
4867
+ T[20](
4847
4868
  /*selectedLanguage*/
4848
- M[12].slice(-2)
4869
+ T[12].slice(-2)
4849
4870
  )}.svg`) && g(i, "src", o), A[0] & /*selectedLanguage*/
4850
4871
  4096 && u !== (u = /*selectedLanguage*/
4851
- M[12].slice(-2) + "") && ge(l, u), A[0] & /*isOptionsListVisible*/
4852
- 2048 && I !== (I = "TriangleInactive " + /*isOptionsListVisible*/
4853
- (M[11] ? "TriangleActive" : "")) && g(c, "class", I), /*isOptionsListVisible*/
4854
- M[11] ? y ? y.p(M, A) : (y = Hr(M), y.c(), y.m(t, null)) : y && (y.d(1), y = null);
4872
+ T[12].slice(-2) + "") && de(l, u), A[0] & /*isOptionsListVisible*/
4873
+ 2048 && O !== (O = "TriangleInactive " + /*isOptionsListVisible*/
4874
+ (T[11] ? "TriangleActive" : "")) && g(c, "class", O), /*isOptionsListVisible*/
4875
+ T[11] ? y ? y.p(T, A) : (y = Sr(T), y.c(), y.m(t, null)) : y && (y.d(1), y = null);
4855
4876
  },
4856
- d(M) {
4857
- M && U(t), y && y.d(), T = !1, L();
4877
+ d(T) {
4878
+ T && U(t), y && y.d(), S = !1, I();
4858
4879
  }
4859
4880
  };
4860
4881
  }
4861
- function Ts(e) {
4882
+ function As(e) {
4862
4883
  let t, r, n, i = Q(
4863
4884
  /*languagesArray*/
4864
4885
  e[10]
4865
4886
  ), o = [];
4866
4887
  for (let s = 0; s < i.length; s += 1)
4867
- o[s] = Tr(gr(e, i, s));
4888
+ o[s] = Ar(br(e, i, s));
4868
4889
  return {
4869
4890
  c() {
4870
- t = B("select");
4891
+ t = M("select");
4871
4892
  for (let s = 0; s < o.length; s += 1)
4872
4893
  o[s].c();
4873
4894
  g(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
4874
- e[12] === void 0 && ce(() => (
4895
+ e[12] === void 0 && he(() => (
4875
4896
  /*select_change_handler*/
4876
4897
  e[34].call(t)
4877
4898
  ));
@@ -4880,7 +4901,7 @@ function Ts(e) {
4880
4901
  j(s, t, a);
4881
4902
  for (let u = 0; u < o.length; u += 1)
4882
4903
  o[u] && o[u].m(t, null);
4883
- kt(
4904
+ jt(
4884
4905
  t,
4885
4906
  /*selectedLanguage*/
4886
4907
  e[12],
@@ -4909,15 +4930,15 @@ function Ts(e) {
4909
4930
  );
4910
4931
  let u;
4911
4932
  for (u = 0; u < i.length; u += 1) {
4912
- const l = gr(s, i, u);
4913
- o[u] ? o[u].p(l, a) : (o[u] = Tr(l), o[u].c(), o[u].m(t, null));
4933
+ const l = br(s, i, u);
4934
+ o[u] ? o[u].p(l, a) : (o[u] = Ar(l), o[u].c(), o[u].m(t, null));
4914
4935
  }
4915
4936
  for (; u < o.length; u += 1)
4916
4937
  o[u].d(1);
4917
4938
  o.length = i.length;
4918
4939
  }
4919
4940
  a[0] & /*selectedLanguage, languagesArray*/
4920
- 5120 && kt(
4941
+ 5120 && jt(
4921
4942
  t,
4922
4943
  /*selectedLanguage*/
4923
4944
  s[12]
@@ -4928,16 +4949,16 @@ function Ts(e) {
4928
4949
  }
4929
4950
  };
4930
4951
  }
4931
- function Hr(e) {
4952
+ function Sr(e) {
4932
4953
  let t, r = Q(
4933
4954
  /*languagesArray*/
4934
4955
  e[10]
4935
4956
  ), n = [];
4936
4957
  for (let i = 0; i < r.length; i += 1)
4937
- n[i] = Sr(pr(e, r, i));
4958
+ n[i] = Tr(gr(e, r, i));
4938
4959
  return {
4939
4960
  c() {
4940
- t = B("div");
4961
+ t = M("div");
4941
4962
  for (let i = 0; i < n.length; i += 1)
4942
4963
  n[i].c();
4943
4964
  g(t, "class", "OptionList");
@@ -4956,8 +4977,8 @@ function Hr(e) {
4956
4977
  );
4957
4978
  let s;
4958
4979
  for (s = 0; s < r.length; s += 1) {
4959
- const a = pr(i, r, s);
4960
- n[s] ? n[s].p(a, o) : (n[s] = Sr(a), n[s].c(), n[s].m(t, null));
4980
+ const a = gr(i, r, s);
4981
+ n[s] ? n[s].p(a, o) : (n[s] = Tr(a), n[s].c(), n[s].m(t, null));
4961
4982
  }
4962
4983
  for (; s < n.length; s += 1)
4963
4984
  n[s].d(1);
@@ -4969,7 +4990,7 @@ function Hr(e) {
4969
4990
  }
4970
4991
  };
4971
4992
  }
4972
- function Sr(e) {
4993
+ function Tr(e) {
4973
4994
  let t, r, n, i, o, s, a = (
4974
4995
  /*operatorLanguage*/
4975
4996
  e[53] + ""
@@ -4985,39 +5006,39 @@ function Sr(e) {
4985
5006
  }
4986
5007
  return {
4987
5008
  c() {
4988
- t = B("div"), r = B("span"), n = B("img"), o = D(), s = B("span"), u = re(a), l = D(), Y(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
5009
+ 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*/
4989
5010
  e[20](
4990
5011
  /*operatorLanguage*/
4991
5012
  e[53]
4992
5013
  )}.svg`) || g(n, "src", i), g(r, "class", "FlagIcon"), g(s, "class", "LanguageName"), g(t, "class", "LanguageOption");
4993
5014
  },
4994
- m(d, m) {
4995
- j(d, t, m), 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);
5015
+ m(m, p) {
5016
+ 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);
4996
5017
  },
4997
- p(d, m) {
4998
- e = d, m[0] & /*languagesArray*/
5018
+ p(m, p) {
5019
+ e = m, p[0] & /*languagesArray*/
4999
5020
  1024 && !Y(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
5000
5021
  e[20](
5001
5022
  /*operatorLanguage*/
5002
5023
  e[53]
5003
- )}.svg`) && g(n, "src", i), m[0] & /*languagesArray*/
5024
+ )}.svg`) && g(n, "src", i), p[0] & /*languagesArray*/
5004
5025
  1024 && a !== (a = /*operatorLanguage*/
5005
- e[53] + "") && ge(u, a);
5026
+ e[53] + "") && de(u, a);
5006
5027
  },
5007
- d(d) {
5008
- d && U(t), h = !1, c();
5028
+ d(m) {
5029
+ m && U(t), h = !1, c();
5009
5030
  }
5010
5031
  };
5011
5032
  }
5012
- function Tr(e) {
5033
+ function Ar(e) {
5013
5034
  let t, r = (
5014
5035
  /*lang*/
5015
5036
  e[1].slice(-2) + ""
5016
5037
  ), n, i;
5017
5038
  return {
5018
5039
  c() {
5019
- t = B("option"), n = re(r), t.__value = i = /*lang*/
5020
- e[1], Gt(t, t.__value), t.selected = !0;
5040
+ t = M("option"), n = re(r), t.__value = i = /*lang*/
5041
+ e[1], kt(t, t.__value), t.selected = !0;
5021
5042
  },
5022
5043
  m(o, s) {
5023
5044
  j(o, t, s), v(t, n);
@@ -5025,9 +5046,9 @@ function Tr(e) {
5025
5046
  p(o, s) {
5026
5047
  s[0] & /*languagesArray*/
5027
5048
  1024 && r !== (r = /*lang*/
5028
- o[1].slice(-2) + "") && ge(n, r), s[0] & /*languagesArray*/
5049
+ o[1].slice(-2) + "") && de(n, r), s[0] & /*languagesArray*/
5029
5050
  1024 && i !== (i = /*lang*/
5030
- o[1]) && (t.__value = i, Gt(t, t.__value));
5051
+ o[1]) && (t.__value = i, kt(t, t.__value));
5031
5052
  },
5032
5053
  d(o) {
5033
5054
  o && U(t);
@@ -5037,11 +5058,11 @@ function Tr(e) {
5037
5058
  function Ms(e) {
5038
5059
  let t, r, n = (
5039
5060
  /*show*/
5040
- e[9] === !0 && _r(e)
5061
+ e[9] === !0 && xr(e)
5041
5062
  );
5042
5063
  return {
5043
5064
  c() {
5044
- t = B("div"), n && n.c();
5065
+ t = M("div"), n && n.c();
5045
5066
  },
5046
5067
  m(i, o) {
5047
5068
  j(i, t, o), n && n.m(t, null), e[39](t), r = !0;
@@ -5049,15 +5070,15 @@ function Ms(e) {
5049
5070
  p(i, o) {
5050
5071
  /*show*/
5051
5072
  i[9] === !0 ? n ? (n.p(i, o), o[0] & /*show*/
5052
- 512 && we(n, 1)) : (n = _r(i), n.c(), we(n, 1), n.m(t, null)) : n && (oi(), at(n, 1, 1, () => {
5073
+ 512 && Ee(n, 1)) : (n = xr(i), n.c(), Ee(n, 1), n.m(t, null)) : n && (oi(), lt(n, 1, 1, () => {
5053
5074
  n = null;
5054
5075
  }), si());
5055
5076
  },
5056
5077
  i(i) {
5057
- r || (we(n), r = !0);
5078
+ r || (Ee(n), r = !0);
5058
5079
  },
5059
5080
  o(i) {
5060
- at(n), r = !1;
5081
+ lt(n), r = !1;
5061
5082
  },
5062
5083
  d(i) {
5063
5084
  i && U(t), n && n.d(), e[39](null);
@@ -5065,34 +5086,34 @@ function Ms(e) {
5065
5086
  };
5066
5087
  }
5067
5088
  let Mr = 350;
5068
- function As(e, t, r) {
5089
+ function Bs(e, t, r) {
5069
5090
  let n;
5070
- Nn(e, gs, (p) => r(13, n = p));
5071
- 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 = "", y = [], M = !1, A = !1, R = !1, x = !0, N = [], _ = !1, V = !1, ie = "", X, Mt;
5072
- const pn = () => {
5073
- fetch(h).then((C) => C.json()).then((C) => {
5074
- Object.keys(C).forEach((W) => {
5075
- mr(W, C[W]);
5091
+ Nn(e, bs, (d) => r(13, n = d));
5092
+ 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;
5093
+ const dn = () => {
5094
+ fetch(h).then((L) => L.json()).then((L) => {
5095
+ Object.keys(L).forEach((W) => {
5096
+ mr(W, L[W]);
5076
5097
  });
5077
- }).catch((C) => {
5078
- console.log(C);
5098
+ }).catch((L) => {
5099
+ console.log(L);
5079
5100
  });
5080
5101
  };
5081
- Object.keys(dr).forEach((p) => {
5082
- mr(p, dr[p]);
5102
+ Object.keys(dr).forEach((d) => {
5103
+ mr(d, dr[d]);
5083
5104
  });
5084
- const At = () => {
5085
- r(9, R = !1), r(7, M = !1), r(8, A = !1), r(11, V = !1), window.postMessage(
5105
+ const Bt = () => {
5106
+ r(9, R = !1), r(7, T = !1), r(8, A = !1), r(11, V = !1), window.postMessage(
5086
5107
  {
5087
5108
  type: "CloseHamburgerMenu",
5088
5109
  showhamburger: !0
5089
5110
  },
5090
5111
  window.location.href
5091
5112
  );
5092
- }, Bt = (p) => {
5093
- p.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(9, R = !0), setTimeout(
5113
+ }, Pt = (d) => {
5114
+ d.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(9, R = !0), setTimeout(
5094
5115
  () => {
5095
- r(7, M = !0);
5116
+ r(7, T = !0);
5096
5117
  },
5097
5118
  500
5098
5119
  ), setTimeout(
@@ -5101,44 +5122,44 @@ function As(e, t, r) {
5101
5122
  },
5102
5123
  1500
5103
5124
  ), gn(s));
5104
- }, Ae = (p, C) => {
5105
- r(5, L = p), r(6, y = C || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5125
+ }, Me = (d, L) => {
5126
+ r(5, I = d), r(6, y = L || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
5106
5127
  context: "HamburgerMenu",
5107
- menuItem: `${L}`
5128
+ menuItem: `${I}`
5108
5129
  });
5109
- }, Pt = () => {
5110
- let p = P.filter((C) => {
5111
- var Nt;
5130
+ }, Ot = () => {
5131
+ let d = B.filter((L) => {
5132
+ var Rt;
5112
5133
  let W = !1;
5113
- return (Nt = C.children) == null || Nt.forEach((Mn) => {
5114
- Mn.path.includes(u) && (W = !0);
5134
+ return (Rt = L.children) == null || Rt.forEach((An) => {
5135
+ An.path.includes(u) && (W = !0);
5115
5136
  }), W;
5116
5137
  });
5117
- p.length > 0 ? Ae(p[0].id, p[0].children) : Ae(P[0].id, P[0].children);
5118
- }, gn = (p) => new Promise((C, W) => {
5119
- T && !_ ? C(T) : Ot(p);
5120
- }), Ot = (p) => {
5121
- fetch(p).then((C) => C.json()).then(
5122
- (C) => {
5123
- r(4, P = C.filter((W) => (W == null ? void 0 : W.type) !== "banner")), Pt(), r(29, x = !1), T = C, _ = !1;
5138
+ d.length > 0 ? Me(d[0].id, d[0].children) : Me(B[0].id, B[0].children);
5139
+ }, gn = (d) => new Promise((L, W) => {
5140
+ S && !_ ? L(S) : It(d);
5141
+ }), It = (d) => {
5142
+ fetch(d).then((L) => L.json()).then(
5143
+ (L) => {
5144
+ r(4, B = L.filter((W) => (W == null ? void 0 : W.type) !== "banner")), Ot(), r(29, x = !1), S = L, _ = !1;
5124
5145
  },
5125
- (C) => {
5126
- console.error(C);
5146
+ (L) => {
5147
+ console.error(L);
5127
5148
  }
5128
5149
  );
5129
5150
  };
5130
- let It = (p) => {
5151
+ let Lt = (d) => {
5131
5152
  window.postMessage(
5132
5153
  {
5133
5154
  type: "NavigateTo",
5134
- path: p.path,
5135
- externalLink: p.externalLink || !1,
5136
- target: p.attrs.target || null
5155
+ path: d.path,
5156
+ externalLink: d.externalLink || !1,
5157
+ target: d.attrs.target || null
5137
5158
  },
5138
5159
  window.location.href
5139
- ), At();
5160
+ ), Bt();
5140
5161
  };
5141
- const qe = () => {
5162
+ const Je = () => {
5142
5163
  _ = !0, window.postMessage(
5143
5164
  {
5144
5165
  type: "LanguageChanged",
@@ -5147,63 +5168,63 @@ function As(e, t, r) {
5147
5168
  window.location.href
5148
5169
  );
5149
5170
  }, bn = () => {
5150
- xs(a), _ && Ot(s), r(10, N = l.replace(/ /g, "").split(",")), r(10, N = N.map((p) => p.toUpperCase())), r(12, ie = a.toUpperCase());
5151
- }, Lt = (p) => {
5152
- r(12, ie = p), r(11, V = !1), qe();
5153
- }, Ct = () => {
5171
+ Es(a), _ && It(s), r(10, N = l.replace(/ /g, "").split(",")), r(10, N = N.map((d) => d.toUpperCase())), r(12, ie = a.toUpperCase());
5172
+ }, Ct = (d) => {
5173
+ r(12, ie = d), r(11, V = !1), Je();
5174
+ }, Nt = () => {
5154
5175
  r(11, V = !V);
5155
- }, yn = (p) => (d && (p = d.includes(p.toLowerCase()) ? d.slice(-2) : p), p == "EN" ? "US" : p.toUpperCase());
5156
- Kn(() => (window.addEventListener("message", Bt, !1), bs(I), () => {
5157
- window.emMessageBus && Mt && Mt.unsubscribe(), window.removeEventListener("message", Bt);
5176
+ }, yn = (d) => (m && (d = m.includes(d.toLowerCase()) ? m.slice(-2) : d), d == "EN" ? "US" : d.toUpperCase());
5177
+ Kn(() => (window.addEventListener("message", Pt, !1), ys(O), () => {
5178
+ window.removeEventListener("message", Pt);
5158
5179
  }));
5159
- const vn = (p) => Ae(p.id, p.children), _n = (p, C) => {
5160
- It(p), C.preventDefault();
5180
+ const vn = (d) => Me(d.id, d.children), _n = (d, L) => {
5181
+ Lt(d), L.preventDefault();
5161
5182
  };
5162
5183
  function xn() {
5163
5184
  ie = Wn(this), r(12, ie), r(10, N);
5164
5185
  }
5165
- const En = () => qe(), wn = () => Ct(), Hn = (p) => Lt(p);
5166
- function Sn(p) {
5167
- $e[p ? "unshift" : "push"](() => {
5168
- H = p, r(3, H);
5186
+ const En = () => Je(), wn = () => Nt(), Hn = (d) => Ct(d);
5187
+ function Sn(d) {
5188
+ De[d ? "unshift" : "push"](() => {
5189
+ H = d, r(3, H);
5169
5190
  });
5170
5191
  }
5171
- function Tn(p) {
5172
- $e[p ? "unshift" : "push"](() => {
5173
- X = p, r(2, X);
5192
+ function Tn(d) {
5193
+ De[d ? "unshift" : "push"](() => {
5194
+ z = d, r(2, z);
5174
5195
  });
5175
5196
  }
5176
- return e.$$set = (p) => {
5177
- "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);
5197
+ return e.$$set = (d) => {
5198
+ "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);
5178
5199
  }, e.$$.update = () => {
5179
5200
  e.$$.dirty[0] & /*lang, languageslist*/
5180
5201
  8388610 && a && l && bn(), e.$$.dirty[0] & /*activecategory, isLoading*/
5181
- 541065216 && u && !x && Pt(), e.$$.dirty[0] & /*translationurl*/
5182
- 16777216 && h && pn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5183
- 33554436 && c && X && ys(X, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5184
- 67108868 && f && X && vs(X, f), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5185
- 268435460 && X && _s(X, `${b}.Style`);
5202
+ 541065216 && u && !x && Ot(), e.$$.dirty[0] & /*translationurl*/
5203
+ 16777216 && h && dn(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
5204
+ 33554436 && c && z && vs(z, c), e.$$.dirty[0] & /*clientstylingurl, customStylingContainer*/
5205
+ 67108868 && f && z && _s(z, f), e.$$.dirty[0] & /*customStylingContainer, mbsource*/
5206
+ 268435460 && z && xs(z, `${b}.Style`);
5186
5207
  }, [
5187
- m,
5208
+ p,
5188
5209
  a,
5189
- X,
5210
+ z,
5190
5211
  H,
5191
- P,
5192
- L,
5212
+ B,
5213
+ I,
5193
5214
  y,
5194
- M,
5215
+ T,
5195
5216
  A,
5196
5217
  R,
5197
5218
  N,
5198
5219
  V,
5199
5220
  ie,
5200
5221
  n,
5201
- At,
5202
- Ae,
5203
- It,
5204
- qe,
5222
+ Bt,
5223
+ Me,
5205
5224
  Lt,
5225
+ Je,
5206
5226
  Ct,
5227
+ Nt,
5207
5228
  yn,
5208
5229
  s,
5209
5230
  u,
@@ -5211,7 +5232,7 @@ function As(e, t, r) {
5211
5232
  h,
5212
5233
  c,
5213
5234
  f,
5214
- d,
5235
+ m,
5215
5236
  b,
5216
5237
  x,
5217
5238
  o,
@@ -5226,14 +5247,14 @@ function As(e, t, r) {
5226
5247
  Tn
5227
5248
  ];
5228
5249
  }
5229
- class Bs extends mi {
5250
+ class Ps extends pi {
5230
5251
  constructor(t) {
5231
5252
  super(), ci(
5232
5253
  this,
5233
5254
  t,
5234
- As,
5255
+ Bs,
5235
5256
  Ms,
5236
- Pr,
5257
+ Or,
5237
5258
  {
5238
5259
  menuitemsurl: 21,
5239
5260
  lang: 1,
@@ -5246,7 +5267,7 @@ class Bs extends mi {
5246
5267
  countryflaghamburger: 0,
5247
5268
  mbsource: 28
5248
5269
  },
5249
- Es,
5270
+ ws,
5250
5271
  [-1, -1]
5251
5272
  );
5252
5273
  }
@@ -5311,7 +5332,7 @@ class Bs extends mi {
5311
5332
  this.$$set({ mbsource: t }), G();
5312
5333
  }
5313
5334
  }
5314
- fi(Bs, { menuitemsurl: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {}, mbsource: {} }, ["close"], [], !0);
5335
+ fi(Ps, { menuitemsurl: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {}, mbsource: {} }, ["close"], [], !0);
5315
5336
  export {
5316
- Bs as default
5337
+ Ps as default
5317
5338
  };