@everymatrix/casino-hamburger-menu-nd 1.71.1 → 1.72.1

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,57 +1,57 @@
1
1
  var dn = Object.defineProperty, mn = Object.defineProperties;
2
- var pn = Object.getOwnPropertyDescriptors;
3
- var Mt = Object.getOwnPropertySymbols;
4
- var gn = Object.prototype.hasOwnProperty, bn = Object.prototype.propertyIsEnumerable;
5
- var Xe = (e, t, r) => t in e ? dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, At = (e, t) => {
2
+ var gn = Object.getOwnPropertyDescriptors;
3
+ var Pt = Object.getOwnPropertySymbols;
4
+ var bn = Object.prototype.hasOwnProperty, vn = Object.prototype.propertyIsEnumerable;
5
+ var Ze = (e, t, r) => t in e ? dn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- gn.call(t, r) && Xe(e, r, t[r]);
8
- if (Mt)
9
- for (var r of Mt(t))
10
- bn.call(t, r) && Xe(e, r, t[r]);
7
+ bn.call(t, r) && Ze(e, r, t[r]);
8
+ if (Pt)
9
+ for (var r of Pt(t))
10
+ vn.call(t, r) && Ze(e, r, t[r]);
11
11
  return e;
12
- }, Bt = (e, t) => mn(e, pn(t));
13
- var V = (e, t, r) => (Xe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var Lt = (e, t, r) => new Promise((n, i) => {
15
- var o = (l) => {
12
+ }, Lt = (e, t) => mn(e, gn(t));
13
+ var V = (e, t, r) => (Ze(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var It = (e, t, r) => new Promise((n, i) => {
15
+ var o = (u) => {
16
16
  try {
17
- s(r.next(l));
18
- } catch (u) {
19
- i(u);
17
+ s(r.next(u));
18
+ } catch (l) {
19
+ i(l);
20
20
  }
21
- }, a = (l) => {
21
+ }, a = (u) => {
22
22
  try {
23
- s(r.throw(l));
24
- } catch (u) {
25
- i(u);
23
+ s(r.throw(u));
24
+ } catch (l) {
25
+ i(l);
26
26
  }
27
- }, s = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, a);
27
+ }, s = (u) => u.done ? n(u.value) : Promise.resolve(u.value).then(o, a);
28
28
  s((r = r.apply(e, t)).next());
29
29
  });
30
30
  function $() {
31
31
  }
32
- function vr(e) {
32
+ function _r(e) {
33
33
  return e();
34
34
  }
35
- function Pt() {
35
+ function Ct() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function pe(e) {
39
- e.forEach(vr);
38
+ function de(e) {
39
+ e.forEach(_r);
40
40
  }
41
- function pt(e) {
41
+ function yt(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function yr(e, t) {
44
+ function xr(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- let Me;
47
+ let Ae;
48
48
  function ee(e, t) {
49
- return e === t ? !0 : (Me || (Me = document.createElement("a")), Me.href = t, e === Me.href);
49
+ return e === t ? !0 : (Ae || (Ae = document.createElement("a")), Ae.href = t, e === Ae.href);
50
50
  }
51
- function vn(e) {
51
+ function yn(e) {
52
52
  return Object.keys(e).length === 0;
53
53
  }
54
- function _r(e, ...t) {
54
+ function Er(e, ...t) {
55
55
  if (e == null) {
56
56
  for (const n of t)
57
57
  n(void 0);
@@ -60,20 +60,20 @@ function _r(e, ...t) {
60
60
  const r = e.subscribe(...t);
61
61
  return r.unsubscribe ? () => r.unsubscribe() : r;
62
62
  }
63
- function yn(e, t, r) {
64
- e.$$.on_destroy.push(_r(t, r));
63
+ function _n(e, t, r) {
64
+ e.$$.on_destroy.push(Er(t, r));
65
65
  }
66
66
  function v(e, t) {
67
67
  e.appendChild(t);
68
68
  }
69
- function _n(e, t, r) {
70
- const n = xn(e);
69
+ function xn(e, t, r) {
70
+ const n = En(e);
71
71
  if (!n.getElementById(t)) {
72
72
  const i = y("style");
73
- i.id = t, i.textContent = r, En(n, i);
73
+ i.id = t, i.textContent = r, wn(n, i);
74
74
  }
75
75
  }
76
- function xn(e) {
76
+ function En(e) {
77
77
  if (!e)
78
78
  return document;
79
79
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -83,7 +83,7 @@ function xn(e) {
83
83
  t
84
84
  ) : e.ownerDocument;
85
85
  }
86
- function En(e, t) {
86
+ function wn(e, t) {
87
87
  return v(
88
88
  /** @type {Document} */
89
89
  e.head || e,
@@ -96,14 +96,14 @@ function F(e, t, r) {
96
96
  function I(e) {
97
97
  e.parentNode && e.parentNode.removeChild(e);
98
98
  }
99
- function He(e, t) {
99
+ function Se(e, t) {
100
100
  for (let r = 0; r < e.length; r += 1)
101
101
  e[r] && e[r].d(t);
102
102
  }
103
103
  function y(e) {
104
104
  return document.createElement(e);
105
105
  }
106
- function It(e) {
106
+ function Nt(e) {
107
107
  return document.createElementNS("http://www.w3.org/2000/svg", e);
108
108
  }
109
109
  function te(e) {
@@ -112,26 +112,26 @@ function te(e) {
112
112
  function U() {
113
113
  return te(" ");
114
114
  }
115
- function xr() {
115
+ function wr() {
116
116
  return te("");
117
117
  }
118
118
  function re(e, t, r, n) {
119
119
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
120
120
  }
121
- function p(e, t, r) {
121
+ function m(e, t, r) {
122
122
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
123
123
  }
124
- function wn(e) {
124
+ function Sn(e) {
125
125
  return Array.from(e.childNodes);
126
126
  }
127
- function ge(e, t) {
127
+ function me(e, t) {
128
128
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
129
129
  t);
130
130
  }
131
- function Ct(e, t) {
131
+ function Rt(e, t) {
132
132
  e.value = t == null ? "" : t;
133
133
  }
134
- function Nt(e, t, r) {
134
+ function Ut(e, t, r) {
135
135
  for (let n = 0; n < e.options.length; n += 1) {
136
136
  const i = e.options[n];
137
137
  if (i.__value === t) {
@@ -141,11 +141,11 @@ function Nt(e, t, r) {
141
141
  }
142
142
  (!r || t !== void 0) && (e.selectedIndex = -1);
143
143
  }
144
- function Sn(e) {
144
+ function Hn(e) {
145
145
  const t = e.querySelector(":checked");
146
146
  return t && t.__value;
147
147
  }
148
- function Hn(e) {
148
+ function Tn(e) {
149
149
  const t = {};
150
150
  return e.childNodes.forEach(
151
151
  /** @param {Element} node */
@@ -154,128 +154,128 @@ function Hn(e) {
154
154
  }
155
155
  ), t;
156
156
  }
157
- let Ee;
158
- function xe(e) {
159
- Ee = e;
157
+ let xe;
158
+ function _e(e) {
159
+ xe = e;
160
160
  }
161
- function Tn() {
162
- if (!Ee)
161
+ function On() {
162
+ if (!xe)
163
163
  throw new Error("Function called outside component initialization");
164
- return Ee;
164
+ return xe;
165
165
  }
166
- function On(e) {
167
- Tn().$$.on_mount.push(e);
166
+ function An(e) {
167
+ On().$$.on_mount.push(e);
168
168
  }
169
- const le = [], Ne = [];
170
- let ue = [];
171
- const Rt = [], Mn = /* @__PURE__ */ Promise.resolve();
172
- let tt = !1;
173
- function An() {
174
- tt || (tt = !0, Mn.then(D));
169
+ const ue = [], Ne = [];
170
+ let le = [];
171
+ const Ft = [], Mn = /* @__PURE__ */ Promise.resolve();
172
+ let nt = !1;
173
+ function Pn() {
174
+ nt || (nt = !0, Mn.then(D));
175
175
  }
176
176
  function Re(e) {
177
- ue.push(e);
177
+ le.push(e);
178
178
  }
179
- const ze = /* @__PURE__ */ new Set();
179
+ const Qe = /* @__PURE__ */ new Set();
180
180
  let ae = 0;
181
181
  function D() {
182
182
  if (ae !== 0)
183
183
  return;
184
- const e = Ee;
184
+ const e = xe;
185
185
  do {
186
186
  try {
187
- for (; ae < le.length; ) {
188
- const t = le[ae];
189
- ae++, xe(t), Bn(t.$$);
187
+ for (; ae < ue.length; ) {
188
+ const t = ue[ae];
189
+ ae++, _e(t), Bn(t.$$);
190
190
  }
191
191
  } catch (t) {
192
- throw le.length = 0, ae = 0, t;
192
+ throw ue.length = 0, ae = 0, t;
193
193
  }
194
- for (xe(null), le.length = 0, ae = 0; Ne.length; )
194
+ for (_e(null), ue.length = 0, ae = 0; Ne.length; )
195
195
  Ne.pop()();
196
- for (let t = 0; t < ue.length; t += 1) {
197
- const r = ue[t];
198
- ze.has(r) || (ze.add(r), r());
196
+ for (let t = 0; t < le.length; t += 1) {
197
+ const r = le[t];
198
+ Qe.has(r) || (Qe.add(r), r());
199
199
  }
200
- ue.length = 0;
201
- } while (le.length);
202
- for (; Rt.length; )
203
- Rt.pop()();
204
- tt = !1, ze.clear(), xe(e);
200
+ le.length = 0;
201
+ } while (ue.length);
202
+ for (; Ft.length; )
203
+ Ft.pop()();
204
+ nt = !1, Qe.clear(), _e(e);
205
205
  }
206
206
  function Bn(e) {
207
207
  if (e.fragment !== null) {
208
- e.update(), pe(e.before_update);
208
+ e.update(), de(e.before_update);
209
209
  const t = e.dirty;
210
210
  e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
211
211
  }
212
212
  }
213
213
  function Ln(e) {
214
214
  const t = [], r = [];
215
- ue.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), ue = t;
215
+ le.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), le = t;
216
216
  }
217
- const Pn = /* @__PURE__ */ new Set();
218
- function In(e, t) {
219
- e && e.i && (Pn.delete(e), e.i(t));
217
+ const In = /* @__PURE__ */ new Set();
218
+ function Cn(e, t) {
219
+ e && e.i && (In.delete(e), e.i(t));
220
220
  }
221
- function Y(e) {
221
+ function q(e) {
222
222
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
223
223
  }
224
- function Cn(e, t, r) {
224
+ function Nn(e, t, r) {
225
225
  const { fragment: n, after_update: i } = e.$$;
226
226
  n && n.m(t, r), Re(() => {
227
- const o = e.$$.on_mount.map(vr).filter(pt);
228
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : pe(o), e.$$.on_mount = [];
227
+ const o = e.$$.on_mount.map(_r).filter(yt);
228
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : de(o), e.$$.on_mount = [];
229
229
  }), i.forEach(Re);
230
230
  }
231
- function Nn(e, t) {
231
+ function Rn(e, t) {
232
232
  const r = e.$$;
233
- r.fragment !== null && (Ln(r.after_update), pe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
233
+ r.fragment !== null && (Ln(r.after_update), de(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
234
234
  }
235
- function Rn(e, t) {
236
- e.$$.dirty[0] === -1 && (le.push(e), An(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
235
+ function Un(e, t) {
236
+ e.$$.dirty[0] === -1 && (ue.push(e), Pn(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
237
237
  }
238
- function Un(e, t, r, n, i, o, a = null, s = [-1]) {
239
- const l = Ee;
240
- xe(e);
241
- const u = e.$$ = {
238
+ function Fn(e, t, r, n, i, o, a = null, s = [-1]) {
239
+ const u = xe;
240
+ _e(e);
241
+ const l = e.$$ = {
242
242
  fragment: null,
243
243
  ctx: [],
244
244
  // state
245
245
  props: o,
246
246
  update: $,
247
247
  not_equal: i,
248
- bound: Pt(),
248
+ bound: Ct(),
249
249
  // lifecycle
250
250
  on_mount: [],
251
251
  on_destroy: [],
252
252
  on_disconnect: [],
253
253
  before_update: [],
254
254
  after_update: [],
255
- context: new Map(t.context || (l ? l.$$.context : [])),
255
+ context: new Map(t.context || (u ? u.$$.context : [])),
256
256
  // everything else
257
- callbacks: Pt(),
257
+ callbacks: Ct(),
258
258
  dirty: s,
259
259
  skip_bound: !1,
260
- root: t.target || l.$$.root
260
+ root: t.target || u.$$.root
261
261
  };
262
- a && a(u.root);
262
+ a && a(l.root);
263
263
  let h = !1;
264
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
265
- const g = m.length ? m[0] : f;
266
- return u.ctx && i(u.ctx[c], u.ctx[c] = g) && (!u.skip_bound && u.bound[c] && u.bound[c](g), h && Rn(e, c)), f;
267
- }) : [], u.update(), h = !0, pe(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
264
+ if (l.ctx = r ? r(e, t.props || {}, (c, f, ...d) => {
265
+ const g = d.length ? d[0] : f;
266
+ return l.ctx && i(l.ctx[c], l.ctx[c] = g) && (!l.skip_bound && l.bound[c] && l.bound[c](g), h && Un(e, c)), f;
267
+ }) : [], l.update(), h = !0, de(l.before_update), l.fragment = n ? n(l.ctx) : !1, t.target) {
268
268
  if (t.hydrate) {
269
- const c = wn(t.target);
270
- u.fragment && u.fragment.l(c), c.forEach(I);
269
+ const c = Sn(t.target);
270
+ l.fragment && l.fragment.l(c), c.forEach(I);
271
271
  } else
272
- u.fragment && u.fragment.c();
273
- t.intro && In(e.$$.fragment), Cn(e, t.target, t.anchor), D();
272
+ l.fragment && l.fragment.c();
273
+ t.intro && Cn(e.$$.fragment), Nn(e, t.target, t.anchor), D();
274
274
  }
275
- xe(l);
275
+ _e(u);
276
276
  }
277
- let Er;
278
- typeof HTMLElement == "function" && (Er = class extends HTMLElement {
277
+ let Sr;
278
+ typeof HTMLElement == "function" && (Sr = class extends HTMLElement {
279
279
  constructor(t, r, n) {
280
280
  super();
281
281
  /** The Svelte component constructor */
@@ -312,42 +312,42 @@ typeof HTMLElement == "function" && (Er = class extends HTMLElement {
312
312
  }
313
313
  }
314
314
  connectedCallback() {
315
- return Lt(this, null, function* () {
315
+ return It(this, null, function* () {
316
316
  if (this.$$cn = !0, !this.$$c) {
317
317
  let t = function(o) {
318
318
  return () => {
319
319
  let a;
320
320
  return {
321
321
  c: function() {
322
- a = y("slot"), o !== "default" && p(a, "name", o);
322
+ a = y("slot"), o !== "default" && m(a, "name", o);
323
323
  },
324
324
  /**
325
325
  * @param {HTMLElement} target
326
326
  * @param {HTMLElement} [anchor]
327
327
  */
328
- m: function(u, h) {
329
- F(u, a, h);
328
+ m: function(l, h) {
329
+ F(l, a, h);
330
330
  },
331
- d: function(u) {
332
- u && I(a);
331
+ d: function(l) {
332
+ l && I(a);
333
333
  }
334
334
  };
335
335
  };
336
336
  };
337
337
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
338
338
  return;
339
- const r = {}, n = Hn(this);
339
+ const r = {}, n = Tn(this);
340
340
  for (const o of this.$$s)
341
341
  o in n && (r[o] = [t(o)]);
342
342
  for (const o of this.attributes) {
343
343
  const a = this.$$g_p(o.name);
344
- a in this.$$d || (this.$$d[a] = Le(a, o.value, this.$$p_d, "toProp"));
344
+ a in this.$$d || (this.$$d[a] = Be(a, o.value, this.$$p_d, "toProp"));
345
345
  }
346
346
  for (const o in this.$$p_d)
347
347
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
348
348
  this.$$c = new this.$$ctor({
349
349
  target: this.shadowRoot || this,
350
- props: Bt(At({}, this.$$d), {
350
+ props: Lt(Bt({}, this.$$d), {
351
351
  $$slots: r,
352
352
  $$scope: {
353
353
  ctx: []
@@ -358,7 +358,7 @@ typeof HTMLElement == "function" && (Er = class extends HTMLElement {
358
358
  this.$$r = !0;
359
359
  for (const o in this.$$p_d)
360
360
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
361
- const a = Le(
361
+ const a = Be(
362
362
  o,
363
363
  this.$$d[o],
364
364
  this.$$p_d,
@@ -382,7 +382,7 @@ typeof HTMLElement == "function" && (Er = class extends HTMLElement {
382
382
  // and setting attributes through setAttribute etc, this is helpful
383
383
  attributeChangedCallback(t, r, n) {
384
384
  var i;
385
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = Le(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
385
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = Be(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
386
386
  }
387
387
  disconnectedCallback() {
388
388
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -395,7 +395,7 @@ typeof HTMLElement == "function" && (Er = class extends HTMLElement {
395
395
  ) || t;
396
396
  }
397
397
  });
398
- function Le(e, t, r, n) {
398
+ function Be(e, t, r, n) {
399
399
  var o;
400
400
  const i = (o = r[e]) == null ? void 0 : o.type;
401
401
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -425,8 +425,8 @@ function Le(e, t, r, n) {
425
425
  return t;
426
426
  }
427
427
  }
428
- function Fn(e, t, r, n, i, o) {
429
- let a = class extends Er {
428
+ function Dn(e, t, r, n, i, o) {
429
+ let a = class extends Sr {
430
430
  constructor() {
431
431
  super(e, r, i), this.$$p_d = t;
432
432
  }
@@ -441,22 +441,22 @@ function Fn(e, t, r, n, i, o) {
441
441
  get() {
442
442
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
443
443
  },
444
- set(l) {
445
- var u;
446
- l = Le(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
444
+ set(u) {
445
+ var l;
446
+ u = Be(s, u, t), this.$$d[s] = u, (l = this.$$c) == null || l.$set({ [s]: u });
447
447
  }
448
448
  });
449
449
  }), n.forEach((s) => {
450
450
  Object.defineProperty(a.prototype, s, {
451
451
  get() {
452
- var l;
453
- return (l = this.$$c) == null ? void 0 : l[s];
452
+ var u;
453
+ return (u = this.$$c) == null ? void 0 : u[s];
454
454
  }
455
455
  });
456
456
  }), e.element = /** @type {any} */
457
457
  a, a;
458
458
  }
459
- class Dn {
459
+ class kn {
460
460
  constructor() {
461
461
  /**
462
462
  * ### PRIVATE API
@@ -477,7 +477,7 @@ class Dn {
477
477
  }
478
478
  /** @returns {void} */
479
479
  $destroy() {
480
- Nn(this, 1), this.$destroy = $;
480
+ Rn(this, 1), this.$destroy = $;
481
481
  }
482
482
  /**
483
483
  * @template {Extract<keyof Events, string>} K
@@ -486,7 +486,7 @@ class Dn {
486
486
  * @returns {() => void}
487
487
  */
488
488
  $on(t, r) {
489
- if (!pt(r))
489
+ if (!yt(r))
490
490
  return $;
491
491
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
492
492
  return n.push(r), () => {
@@ -499,11 +499,11 @@ class Dn {
499
499
  * @returns {void}
500
500
  */
501
501
  $set(t) {
502
- this.$$set && !vn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
502
+ this.$$set && !yn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
503
503
  }
504
504
  }
505
- const kn = "4";
506
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(kn);
505
+ const Gn = "4";
506
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gn);
507
507
  /*! *****************************************************************************
508
508
  Copyright (c) Microsoft Corporation.
509
509
 
@@ -518,43 +518,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
518
518
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
519
519
  PERFORMANCE OF THIS SOFTWARE.
520
520
  ***************************************************************************** */
521
- var rt = function(e, t) {
522
- return rt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
521
+ var it = function(e, t) {
522
+ return it = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
523
523
  r.__proto__ = n;
524
524
  } || function(r, n) {
525
525
  for (var i in n)
526
526
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
527
- }, rt(e, t);
527
+ }, it(e, t);
528
528
  };
529
- function q(e, t) {
529
+ function He(e, t) {
530
530
  if (typeof t != "function" && t !== null)
531
531
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
532
- rt(e, t);
532
+ it(e, t);
533
533
  function r() {
534
534
  this.constructor = e;
535
535
  }
536
536
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
537
537
  }
538
- var S = function() {
539
- return S = Object.assign || function(t) {
540
- for (var r, n = 1, i = arguments.length; n < i; n++) {
541
- r = arguments[n];
542
- for (var o in r)
543
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
544
- }
545
- return t;
546
- }, S.apply(this, arguments);
547
- };
548
- function Gn(e, t) {
549
- var r = {};
550
- for (var n in e)
551
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
552
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
553
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
554
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
555
- return r;
556
- }
557
- function nt(e) {
538
+ function ot(e) {
558
539
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
559
540
  if (r)
560
541
  return r.call(e);
@@ -566,7 +547,7 @@ function nt(e) {
566
547
  };
567
548
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
568
549
  }
569
- function it(e, t) {
550
+ function at(e, t) {
570
551
  var r = typeof Symbol == "function" && e[Symbol.iterator];
571
552
  if (!r)
572
553
  return e;
@@ -586,22 +567,22 @@ function it(e, t) {
586
567
  }
587
568
  return o;
588
569
  }
589
- function he(e, t, r) {
590
- if (r || arguments.length === 2)
570
+ function st(e, t, r) {
571
+ if (arguments.length === 2)
591
572
  for (var n = 0, i = t.length, o; n < i; n++)
592
573
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
593
574
  return e.concat(o || t);
594
575
  }
595
- function Q(e) {
576
+ function Y(e) {
596
577
  return typeof e == "function";
597
578
  }
598
- function wr(e) {
579
+ function Hr(e) {
599
580
  var t = function(n) {
600
581
  Error.call(n), n.stack = new Error().stack;
601
582
  }, r = e(t);
602
583
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
603
584
  }
604
- var Ze = wr(function(e) {
585
+ var Ye = Hr(function(e) {
605
586
  return function(r) {
606
587
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
607
588
  ` + r.map(function(n, i) {
@@ -610,13 +591,13 @@ var Ze = wr(function(e) {
610
591
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
611
592
  };
612
593
  });
613
- function ot(e, t) {
594
+ function ut(e, t) {
614
595
  if (e) {
615
596
  var r = e.indexOf(t);
616
597
  0 <= r && e.splice(r, 1);
617
598
  }
618
599
  }
619
- var De = function() {
600
+ var ke = function() {
620
601
  function e(t) {
621
602
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
622
603
  }
@@ -628,15 +609,15 @@ var De = function() {
628
609
  if (a)
629
610
  if (this._parentage = null, Array.isArray(a))
630
611
  try {
631
- for (var s = nt(a), l = s.next(); !l.done; l = s.next()) {
632
- var u = l.value;
633
- u.remove(this);
612
+ for (var s = ot(a), u = s.next(); !u.done; u = s.next()) {
613
+ var l = u.value;
614
+ l.remove(this);
634
615
  }
635
616
  } catch (b) {
636
617
  t = { error: b };
637
618
  } finally {
638
619
  try {
639
- l && !l.done && (r = s.return) && r.call(s);
620
+ u && !u.done && (r = s.return) && r.call(s);
640
621
  } finally {
641
622
  if (t)
642
623
  throw t.error;
@@ -645,29 +626,29 @@ var De = function() {
645
626
  else
646
627
  a.remove(this);
647
628
  var h = this.initialTeardown;
648
- if (Q(h))
629
+ if (Y(h))
649
630
  try {
650
631
  h();
651
632
  } catch (b) {
652
- o = b instanceof Ze ? b.errors : [b];
633
+ o = b instanceof Ye ? b.errors : [b];
653
634
  }
654
635
  var c = this._finalizers;
655
636
  if (c) {
656
637
  this._finalizers = null;
657
638
  try {
658
- for (var f = nt(c), m = f.next(); !m.done; m = f.next()) {
659
- var g = m.value;
639
+ for (var f = ot(c), d = f.next(); !d.done; d = f.next()) {
640
+ var g = d.value;
660
641
  try {
661
- Ut(g);
642
+ Dt(g);
662
643
  } catch (b) {
663
- o = o != null ? o : [], b instanceof Ze ? o = he(he([], it(o)), it(b.errors)) : o.push(b);
644
+ o = o != null ? o : [], b instanceof Ye ? o = st(st([], at(o)), at(b.errors)) : o.push(b);
664
645
  }
665
646
  }
666
647
  } catch (b) {
667
648
  n = { error: b };
668
649
  } finally {
669
650
  try {
670
- m && !m.done && (i = f.return) && i.call(f);
651
+ d && !d.done && (i = f.return) && i.call(f);
671
652
  } finally {
672
653
  if (n)
673
654
  throw n.error;
@@ -675,13 +656,13 @@ var De = function() {
675
656
  }
676
657
  }
677
658
  if (o)
678
- throw new Ze(o);
659
+ throw new Ye(o);
679
660
  }
680
661
  }, e.prototype.add = function(t) {
681
662
  var r;
682
663
  if (t && t !== this)
683
664
  if (this.closed)
684
- Ut(t);
665
+ Dt(t);
685
666
  else {
686
667
  if (t instanceof e) {
687
668
  if (t.closed || t._hasParent(this))
@@ -698,56 +679,52 @@ var De = function() {
698
679
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
699
680
  }, e.prototype._removeParent = function(t) {
700
681
  var r = this._parentage;
701
- r === t ? this._parentage = null : Array.isArray(r) && ot(r, t);
682
+ r === t ? this._parentage = null : Array.isArray(r) && ut(r, t);
702
683
  }, e.prototype.remove = function(t) {
703
684
  var r = this._finalizers;
704
- r && ot(r, t), t instanceof e && t._removeParent(this);
685
+ r && ut(r, t), t instanceof e && t._removeParent(this);
705
686
  }, e.EMPTY = function() {
706
687
  var t = new e();
707
688
  return t.closed = !0, t;
708
689
  }(), e;
709
- }(), Sr = De.EMPTY;
710
- function Hr(e) {
711
- return e instanceof De || e && "closed" in e && Q(e.remove) && Q(e.add) && Q(e.unsubscribe);
712
- }
713
- function Ut(e) {
714
- Q(e) ? e() : e.unsubscribe();
715
- }
716
- var Tr = {
717
- onUnhandledError: null,
718
- onStoppedNotification: null,
719
- Promise: void 0,
720
- useDeprecatedSynchronousErrorHandling: !1,
721
- useDeprecatedNextContext: !1
722
- }, $n = {
690
+ }(), Tr = ke.EMPTY;
691
+ function Or(e) {
692
+ return e instanceof ke || e && "closed" in e && Y(e.remove) && Y(e.add) && Y(e.unsubscribe);
693
+ }
694
+ function Dt(e) {
695
+ Y(e) ? e() : e.unsubscribe();
696
+ }
697
+ var $n = {
698
+ Promise: void 0
699
+ }, jn = {
723
700
  setTimeout: function(e, t) {
724
701
  for (var r = [], n = 2; n < arguments.length; n++)
725
702
  r[n - 2] = arguments[n];
726
- return setTimeout.apply(void 0, he([e, t], it(r)));
703
+ return setTimeout.apply(void 0, st([e, t], at(r)));
727
704
  },
728
705
  clearTimeout: function(e) {
729
706
  return clearTimeout(e);
730
707
  },
731
708
  delegate: void 0
732
709
  };
733
- function jn(e) {
734
- $n.setTimeout(function() {
710
+ function Wn(e) {
711
+ jn.setTimeout(function() {
735
712
  throw e;
736
713
  });
737
714
  }
738
- function Ft() {
715
+ function kt() {
739
716
  }
740
- function Pe(e) {
717
+ function Le(e) {
741
718
  e();
742
719
  }
743
- var Or = function(e) {
744
- q(t, e);
720
+ var Ar = function(e) {
721
+ He(t, e);
745
722
  function t(r) {
746
723
  var n = e.call(this) || this;
747
- return n.isStopped = !1, r ? (n.destination = r, Hr(r) && r.add(n)) : n.destination = zn, n;
724
+ return n.isStopped = !1, r ? (n.destination = r, Or(r) && r.add(n)) : n.destination = zn, n;
748
725
  }
749
726
  return t.create = function(r, n, i) {
750
- return new at(r, n, i);
727
+ return new lt(r, n, i);
751
728
  }, t.prototype.next = function(r) {
752
729
  this.isStopped || this._next(r);
753
730
  }, t.prototype.error = function(r) {
@@ -771,11 +748,7 @@ var Or = function(e) {
771
748
  this.unsubscribe();
772
749
  }
773
750
  }, t;
774
- }(De), Wn = Function.prototype.bind;
775
- function Qe(e, t) {
776
- return Wn.call(e, t);
777
- }
778
- var Vn = function() {
751
+ }(ke), Vn = function() {
779
752
  function e(t) {
780
753
  this.partialObserver = t;
781
754
  }
@@ -785,7 +758,7 @@ var Vn = function() {
785
758
  try {
786
759
  r.next(t);
787
760
  } catch (n) {
788
- Ae(n);
761
+ Me(n);
789
762
  }
790
763
  }, e.prototype.error = function(t) {
791
764
  var r = this.partialObserver;
@@ -793,54 +766,42 @@ var Vn = function() {
793
766
  try {
794
767
  r.error(t);
795
768
  } catch (n) {
796
- Ae(n);
769
+ Me(n);
797
770
  }
798
771
  else
799
- Ae(t);
772
+ Me(t);
800
773
  }, e.prototype.complete = function() {
801
774
  var t = this.partialObserver;
802
775
  if (t.complete)
803
776
  try {
804
777
  t.complete();
805
778
  } catch (r) {
806
- Ae(r);
779
+ Me(r);
807
780
  }
808
781
  }, e;
809
- }(), at = function(e) {
810
- q(t, e);
782
+ }(), lt = function(e) {
783
+ He(t, e);
811
784
  function t(r, n, i) {
812
785
  var o = e.call(this) || this, a;
813
- if (Q(r) || !r)
814
- a = {
815
- next: r != null ? r : void 0,
816
- error: n != null ? n : void 0,
817
- complete: i != null ? i : void 0
818
- };
819
- else {
820
- var s;
821
- o && Tr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
822
- return o.unsubscribe();
823
- }, a = {
824
- next: r.next && Qe(r.next, s),
825
- error: r.error && Qe(r.error, s),
826
- complete: r.complete && Qe(r.complete, s)
827
- }) : a = r;
828
- }
829
- return o.destination = new Vn(a), o;
786
+ return Y(r) || !r ? a = {
787
+ next: r != null ? r : void 0,
788
+ error: n != null ? n : void 0,
789
+ complete: i != null ? i : void 0
790
+ } : a = r, o.destination = new Vn(a), o;
830
791
  }
831
792
  return t;
832
- }(Or);
833
- function Ae(e) {
834
- jn(e);
793
+ }(Ar);
794
+ function Me(e) {
795
+ Wn(e);
835
796
  }
836
797
  function Xn(e) {
837
798
  throw e;
838
799
  }
839
800
  var zn = {
840
801
  closed: !0,
841
- next: Ft,
802
+ next: kt,
842
803
  error: Xn,
843
- complete: Ft
804
+ complete: kt
844
805
  }, Zn = function() {
845
806
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
846
807
  }();
@@ -854,7 +815,7 @@ function Yn(e) {
854
815
  }, r);
855
816
  };
856
817
  }
857
- var Dt = function() {
818
+ var Gt = function() {
858
819
  function e(t) {
859
820
  t && (this._subscribe = t);
860
821
  }
@@ -862,10 +823,10 @@ var Dt = function() {
862
823
  var r = new e();
863
824
  return r.source = this, r.operator = t, r;
864
825
  }, e.prototype.subscribe = function(t, r, n) {
865
- var i = this, o = Jn(t) ? t : new at(t, r, n);
866
- return Pe(function() {
867
- var a = i, s = a.operator, l = a.source;
868
- o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
826
+ var i = this, o = Jn(t) ? t : new lt(t, r, n);
827
+ return Le(function() {
828
+ var a = i, s = a.operator, u = a.source;
829
+ o.add(s ? s.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
869
830
  }), o;
870
831
  }, e.prototype._trySubscribe = function(t) {
871
832
  try {
@@ -875,13 +836,13 @@ var Dt = function() {
875
836
  }
876
837
  }, e.prototype.forEach = function(t, r) {
877
838
  var n = this;
878
- return r = kt(r), new r(function(i, o) {
879
- var a = new at({
839
+ return r = $t(r), new r(function(i, o) {
840
+ var a = new lt({
880
841
  next: function(s) {
881
842
  try {
882
843
  t(s);
883
- } catch (l) {
884
- o(l), a.unsubscribe();
844
+ } catch (u) {
845
+ o(u), a.unsubscribe();
885
846
  }
886
847
  },
887
848
  error: o,
@@ -900,7 +861,7 @@ var Dt = function() {
900
861
  return Yn(t)(this);
901
862
  }, e.prototype.toPromise = function(t) {
902
863
  var r = this;
903
- return t = kt(t), new t(function(n, i) {
864
+ return t = $t(t), new t(function(n, i) {
904
865
  var o;
905
866
  r.subscribe(function(a) {
906
867
  return o = a;
@@ -914,45 +875,45 @@ var Dt = function() {
914
875
  return new e(t);
915
876
  }, e;
916
877
  }();
917
- function kt(e) {
878
+ function $t(e) {
918
879
  var t;
919
- return (t = e != null ? e : Tr.Promise) !== null && t !== void 0 ? t : Promise;
880
+ return (t = e != null ? e : $n.Promise) !== null && t !== void 0 ? t : Promise;
920
881
  }
921
882
  function qn(e) {
922
- return e && Q(e.next) && Q(e.error) && Q(e.complete);
883
+ return e && Y(e.next) && Y(e.error) && Y(e.complete);
923
884
  }
924
885
  function Jn(e) {
925
- return e && e instanceof Or || qn(e) && Hr(e);
886
+ return e && e instanceof Ar || qn(e) && Or(e);
926
887
  }
927
- var Kn = wr(function(e) {
888
+ var Kn = Hr(function(e) {
928
889
  return function() {
929
890
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
930
891
  };
931
892
  }), Mr = function(e) {
932
- q(t, e);
893
+ He(t, e);
933
894
  function t() {
934
895
  var r = e.call(this) || this;
935
896
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
936
897
  }
937
898
  return t.prototype.lift = function(r) {
938
- var n = new Gt(this, this);
899
+ var n = new jt(this, this);
939
900
  return n.operator = r, n;
940
901
  }, t.prototype._throwIfClosed = function() {
941
902
  if (this.closed)
942
903
  throw new Kn();
943
904
  }, t.prototype.next = function(r) {
944
905
  var n = this;
945
- Pe(function() {
906
+ Le(function() {
946
907
  var i, o;
947
908
  if (n._throwIfClosed(), !n.isStopped) {
948
909
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
949
910
  try {
950
- for (var a = nt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
951
- var l = s.value;
952
- l.next(r);
911
+ for (var a = ot(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
912
+ var u = s.value;
913
+ u.next(r);
953
914
  }
954
- } catch (u) {
955
- i = { error: u };
915
+ } catch (l) {
916
+ i = { error: l };
956
917
  } finally {
957
918
  try {
958
919
  s && !s.done && (o = a.return) && o.call(a);
@@ -965,7 +926,7 @@ var Kn = wr(function(e) {
965
926
  });
966
927
  }, t.prototype.error = function(r) {
967
928
  var n = this;
968
- Pe(function() {
929
+ Le(function() {
969
930
  if (n._throwIfClosed(), !n.isStopped) {
970
931
  n.hasError = n.isStopped = !0, n.thrownError = r;
971
932
  for (var i = n.observers; i.length; )
@@ -974,7 +935,7 @@ var Kn = wr(function(e) {
974
935
  });
975
936
  }, t.prototype.complete = function() {
976
937
  var r = this;
977
- Pe(function() {
938
+ Le(function() {
978
939
  if (r._throwIfClosed(), !r.isStopped) {
979
940
  r.isStopped = !0;
980
941
  for (var n = r.observers; n.length; )
@@ -996,20 +957,20 @@ var Kn = wr(function(e) {
996
957
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
997
958
  }, t.prototype._innerSubscribe = function(r) {
998
959
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
999
- return o || a ? Sr : (this.currentObservers = null, s.push(r), new De(function() {
1000
- n.currentObservers = null, ot(s, r);
960
+ return o || a ? Tr : (this.currentObservers = null, s.push(r), new ke(function() {
961
+ n.currentObservers = null, ut(s, r);
1001
962
  }));
1002
963
  }, t.prototype._checkFinalizedStatuses = function(r) {
1003
964
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1004
965
  i ? r.error(o) : a && r.complete();
1005
966
  }, t.prototype.asObservable = function() {
1006
- var r = new Dt();
967
+ var r = new Gt();
1007
968
  return r.source = this, r;
1008
969
  }, t.create = function(r, n) {
1009
- return new Gt(r, n);
970
+ return new jt(r, n);
1010
971
  }, t;
1011
- }(Dt), Gt = function(e) {
1012
- q(t, e);
972
+ }(Gt), jt = function(e) {
973
+ He(t, e);
1013
974
  function t(r, n) {
1014
975
  var i = e.call(this) || this;
1015
976
  return i.destination = r, i.source = n, i;
@@ -1025,60 +986,60 @@ var Kn = wr(function(e) {
1025
986
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1026
987
  }, t.prototype._subscribe = function(r) {
1027
988
  var n, i;
1028
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Sr;
989
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Tr;
1029
990
  }, t;
1030
- }(Mr), Ar = {
991
+ }(Mr), Pr = {
1031
992
  now: function() {
1032
- return (Ar.delegate || Date).now();
993
+ return (Pr.delegate || Date).now();
1033
994
  },
1034
995
  delegate: void 0
1035
996
  }, ei = function(e) {
1036
- q(t, e);
997
+ He(t, e);
1037
998
  function t(r, n, i) {
1038
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ar);
999
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Pr);
1039
1000
  var o = e.call(this) || this;
1040
1001
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1041
1002
  }
1042
1003
  return t.prototype.next = function(r) {
1043
- var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
1044
- i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1004
+ var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, u = n._windowTime;
1005
+ i || (o.push(r), !a && o.push(s.now() + u)), this._trimBuffer(), e.prototype.next.call(this, r);
1045
1006
  }, t.prototype._subscribe = function(r) {
1046
1007
  this._throwIfClosed(), this._trimBuffer();
1047
- for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
1048
- r.next(s[l]);
1008
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), u = 0; u < s.length && !r.closed; u += o ? 1 : 2)
1009
+ r.next(s[u]);
1049
1010
  return this._checkFinalizedStatuses(r), n;
1050
1011
  }, t.prototype._trimBuffer = function() {
1051
1012
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1052
1013
  if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1053
- for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1054
- u = h;
1055
- u && o.splice(0, u + 1);
1014
+ for (var u = i.now(), l = 0, h = 1; h < o.length && o[h] <= u; h += 2)
1015
+ l = h;
1016
+ l && o.splice(0, l + 1);
1056
1017
  }
1057
1018
  }, t;
1058
1019
  }(Mr);
1059
- const $t = [], jt = {}, ti = (e, t = 0) => {
1060
- if ($t.indexOf(e) == -1) {
1020
+ const Wt = [], Vt = {}, ti = (e, t = 0) => {
1021
+ if (Wt.indexOf(e) == -1) {
1061
1022
  const r = new ei(t);
1062
- jt[e] = r, $t.push(e);
1023
+ Vt[e] = r, Wt.push(e);
1063
1024
  }
1064
- return jt[e];
1025
+ return Vt[e];
1065
1026
  }, se = [];
1066
1027
  function ri(e, t) {
1067
1028
  return {
1068
- subscribe: ke(e, t).subscribe
1029
+ subscribe: Ge(e, t).subscribe
1069
1030
  };
1070
1031
  }
1071
- function ke(e, t = $) {
1032
+ function Ge(e, t = $) {
1072
1033
  let r;
1073
1034
  const n = /* @__PURE__ */ new Set();
1074
1035
  function i(s) {
1075
- if (yr(e, s) && (e = s, r)) {
1076
- const l = !se.length;
1077
- for (const u of n)
1078
- u[1](), se.push(u, e);
1079
- if (l) {
1080
- for (let u = 0; u < se.length; u += 2)
1081
- se[u][0](se[u + 1]);
1036
+ if (xr(e, s) && (e = s, r)) {
1037
+ const u = !se.length;
1038
+ for (const l of n)
1039
+ l[1](), se.push(l, e);
1040
+ if (u) {
1041
+ for (let l = 0; l < se.length; l += 2)
1042
+ se[l][0](se[l + 1]);
1082
1043
  se.length = 0;
1083
1044
  }
1084
1045
  }
@@ -1086,42 +1047,42 @@ function ke(e, t = $) {
1086
1047
  function o(s) {
1087
1048
  i(s(e));
1088
1049
  }
1089
- function a(s, l = $) {
1090
- const u = [s, l];
1091
- return n.add(u), n.size === 1 && (r = t(i, o) || $), s(e), () => {
1092
- n.delete(u), n.size === 0 && r && (r(), r = null);
1050
+ function a(s, u = $) {
1051
+ const l = [s, u];
1052
+ return n.add(l), n.size === 1 && (r = t(i, o) || $), s(e), () => {
1053
+ n.delete(l), n.size === 0 && r && (r(), r = null);
1093
1054
  };
1094
1055
  }
1095
1056
  return { set: i, update: o, subscribe: a };
1096
1057
  }
1097
- function be(e, t, r) {
1058
+ function ge(e, t, r) {
1098
1059
  const n = !Array.isArray(e), i = n ? [e] : e;
1099
1060
  if (!i.every(Boolean))
1100
1061
  throw new Error("derived() expects stores as input, got a falsy value");
1101
1062
  const o = t.length < 2;
1102
1063
  return ri(r, (a, s) => {
1103
- let l = !1;
1104
- const u = [];
1064
+ let u = !1;
1065
+ const l = [];
1105
1066
  let h = 0, c = $;
1106
1067
  const f = () => {
1107
1068
  if (h)
1108
1069
  return;
1109
1070
  c();
1110
- const g = t(n ? u[0] : u, a, s);
1111
- o ? a(g) : c = pt(g) ? g : $;
1112
- }, m = i.map(
1113
- (g, b) => _r(
1071
+ const g = t(n ? l[0] : l, a, s);
1072
+ o ? a(g) : c = yt(g) ? g : $;
1073
+ }, d = i.map(
1074
+ (g, b) => Er(
1114
1075
  g,
1115
1076
  (w) => {
1116
- u[b] = w, h &= ~(1 << b), l && f();
1077
+ l[b] = w, h &= ~(1 << b), u && f();
1117
1078
  },
1118
1079
  () => {
1119
1080
  h |= 1 << b;
1120
1081
  }
1121
1082
  )
1122
1083
  );
1123
- return l = !0, f(), function() {
1124
- pe(m), c(), l = !1;
1084
+ return u = !0, f(), function() {
1085
+ de(d), c(), u = !1;
1125
1086
  };
1126
1087
  });
1127
1088
  }
@@ -1136,36 +1097,36 @@ function oi(e) {
1136
1097
  }
1137
1098
  function ai(e) {
1138
1099
  var t = Object.prototype.toString.call(e);
1139
- return t === "[object RegExp]" || t === "[object Date]" || ui(e);
1100
+ return t === "[object RegExp]" || t === "[object Date]" || li(e);
1140
1101
  }
1141
- var si = typeof Symbol == "function" && Symbol.for, li = si ? Symbol.for("react.element") : 60103;
1142
- function ui(e) {
1143
- return e.$$typeof === li;
1102
+ var si = typeof Symbol == "function" && Symbol.for, ui = si ? Symbol.for("react.element") : 60103;
1103
+ function li(e) {
1104
+ return e.$$typeof === ui;
1144
1105
  }
1145
1106
  function hi(e) {
1146
1107
  return Array.isArray(e) ? [] : {};
1147
1108
  }
1148
- function we(e, t) {
1149
- return t.clone !== !1 && t.isMergeableObject(e) ? ce(hi(e), e, t) : e;
1109
+ function Ee(e, t) {
1110
+ return t.clone !== !1 && t.isMergeableObject(e) ? he(hi(e), e, t) : e;
1150
1111
  }
1151
1112
  function ci(e, t, r) {
1152
1113
  return e.concat(t).map(function(n) {
1153
- return we(n, r);
1114
+ return Ee(n, r);
1154
1115
  });
1155
1116
  }
1156
1117
  function fi(e, t) {
1157
1118
  if (!t.customMerge)
1158
- return ce;
1119
+ return he;
1159
1120
  var r = t.customMerge(e);
1160
- return typeof r == "function" ? r : ce;
1121
+ return typeof r == "function" ? r : he;
1161
1122
  }
1162
- function di(e) {
1123
+ function pi(e) {
1163
1124
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1164
1125
  return Object.propertyIsEnumerable.call(e, t);
1165
1126
  }) : [];
1166
1127
  }
1167
- function Wt(e) {
1168
- return Object.keys(e).concat(di(e));
1128
+ function Xt(e) {
1129
+ return Object.keys(e).concat(pi(e));
1169
1130
  }
1170
1131
  function Br(e, t) {
1171
1132
  try {
@@ -1174,130 +1135,180 @@ function Br(e, t) {
1174
1135
  return !1;
1175
1136
  }
1176
1137
  }
1177
- function mi(e, t) {
1138
+ function di(e, t) {
1178
1139
  return Br(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1179
1140
  }
1180
- function pi(e, t, r) {
1141
+ function mi(e, t, r) {
1181
1142
  var n = {};
1182
- return r.isMergeableObject(e) && Wt(e).forEach(function(i) {
1183
- n[i] = we(e[i], r);
1184
- }), Wt(t).forEach(function(i) {
1185
- mi(e, i) || (Br(e, i) && r.isMergeableObject(t[i]) ? n[i] = fi(i, r)(e[i], t[i], r) : n[i] = we(t[i], r));
1143
+ return r.isMergeableObject(e) && Xt(e).forEach(function(i) {
1144
+ n[i] = Ee(e[i], r);
1145
+ }), Xt(t).forEach(function(i) {
1146
+ di(e, i) || (Br(e, i) && r.isMergeableObject(t[i]) ? n[i] = fi(i, r)(e[i], t[i], r) : n[i] = Ee(t[i], r));
1186
1147
  }), n;
1187
1148
  }
1188
- function ce(e, t, r) {
1189
- r = r || {}, r.arrayMerge = r.arrayMerge || ci, r.isMergeableObject = r.isMergeableObject || ii, r.cloneUnlessOtherwiseSpecified = we;
1149
+ function he(e, t, r) {
1150
+ r = r || {}, r.arrayMerge = r.arrayMerge || ci, r.isMergeableObject = r.isMergeableObject || ii, r.cloneUnlessOtherwiseSpecified = Ee;
1190
1151
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1191
- return o ? n ? r.arrayMerge(e, t, r) : pi(e, t, r) : we(t, r);
1152
+ return o ? n ? r.arrayMerge(e, t, r) : mi(e, t, r) : Ee(t, r);
1192
1153
  }
1193
- ce.all = function(t, r) {
1154
+ he.all = function(t, r) {
1194
1155
  if (!Array.isArray(t))
1195
1156
  throw new Error("first argument should be an array");
1196
1157
  return t.reduce(function(n, i) {
1197
- return ce(n, i, r);
1158
+ return he(n, i, r);
1198
1159
  }, {});
1199
1160
  };
1200
- var gi = ce, bi = gi;
1161
+ var gi = he, bi = gi;
1201
1162
  const vi = /* @__PURE__ */ ni(bi);
1202
- function Ye(e, t) {
1203
- var r = t && t.cache ? t.cache : Si, n = t && t.serializer ? t.serializer : wi, i = t && t.strategy ? t.strategy : _i;
1163
+ var ht = function(e, t) {
1164
+ return ht = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1165
+ r.__proto__ = n;
1166
+ } || function(r, n) {
1167
+ for (var i in n)
1168
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1169
+ }, ht(e, t);
1170
+ };
1171
+ function $e(e, t) {
1172
+ if (typeof t != "function" && t !== null)
1173
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1174
+ ht(e, t);
1175
+ function r() {
1176
+ this.constructor = e;
1177
+ }
1178
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1179
+ }
1180
+ var z = function() {
1181
+ return z = Object.assign || function(t) {
1182
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1183
+ r = arguments[n];
1184
+ for (var o in r)
1185
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1186
+ }
1187
+ return t;
1188
+ }, z.apply(this, arguments);
1189
+ };
1190
+ function yi(e, t) {
1191
+ var r = {};
1192
+ for (var n in e)
1193
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1194
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1195
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1196
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1197
+ return r;
1198
+ }
1199
+ function qe(e, t, r) {
1200
+ if (r || arguments.length === 2)
1201
+ for (var n = 0, i = t.length, o; n < i; n++)
1202
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1203
+ return e.concat(o || Array.prototype.slice.call(t));
1204
+ }
1205
+ function Je(e, t) {
1206
+ var r = t && t.cache ? t.cache : Ti, n = t && t.serializer ? t.serializer : Si, i = t && t.strategy ? t.strategy : Ei;
1204
1207
  return i(e, {
1205
1208
  cache: r,
1206
1209
  serializer: n
1207
1210
  });
1208
1211
  }
1209
- function yi(e) {
1212
+ function _i(e) {
1210
1213
  return e == null || typeof e == "number" || typeof e == "boolean";
1211
1214
  }
1212
- function Lr(e, t, r, n) {
1213
- var i = yi(n) ? n : r(n), o = t.get(i);
1215
+ function xi(e, t, r, n) {
1216
+ var i = _i(n) ? n : r(n), o = t.get(i);
1214
1217
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1215
1218
  }
1216
- function Pr(e, t, r) {
1219
+ function Lr(e, t, r) {
1217
1220
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1218
1221
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1219
1222
  }
1220
- function gt(e, t, r, n, i) {
1223
+ function Ir(e, t, r, n, i) {
1221
1224
  return r.bind(t, e, n, i);
1222
1225
  }
1223
- function _i(e, t) {
1224
- var r = e.length === 1 ? Lr : Pr;
1225
- return gt(e, this, r, t.cache.create(), t.serializer);
1226
- }
1227
- function xi(e, t) {
1228
- return gt(e, this, Pr, t.cache.create(), t.serializer);
1229
- }
1230
1226
  function Ei(e, t) {
1231
- return gt(e, this, Lr, t.cache.create(), t.serializer);
1227
+ var r = e.length === 1 ? xi : Lr;
1228
+ return Ir(e, this, r, t.cache.create(), t.serializer);
1232
1229
  }
1233
- var wi = function() {
1234
- return JSON.stringify(arguments);
1235
- };
1236
- function bt() {
1237
- this.cache = /* @__PURE__ */ Object.create(null);
1230
+ function wi(e, t) {
1231
+ return Ir(e, this, Lr, t.cache.create(), t.serializer);
1238
1232
  }
1239
- bt.prototype.get = function(e) {
1240
- return this.cache[e];
1241
- };
1242
- bt.prototype.set = function(e, t) {
1243
- this.cache[e] = t;
1244
- };
1245
- var Si = {
1233
+ var Si = function() {
1234
+ return JSON.stringify(arguments);
1235
+ }, Hi = (
1236
+ /** @class */
1237
+ function() {
1238
+ function e() {
1239
+ this.cache = /* @__PURE__ */ Object.create(null);
1240
+ }
1241
+ return e.prototype.get = function(t) {
1242
+ return this.cache[t];
1243
+ }, e.prototype.set = function(t, r) {
1244
+ this.cache[t] = r;
1245
+ }, e;
1246
+ }()
1247
+ ), Ti = {
1246
1248
  create: function() {
1247
- return new bt();
1249
+ return new Hi();
1248
1250
  }
1249
- }, qe = {
1250
- variadic: xi,
1251
- monadic: Ei
1252
- }, _;
1251
+ }, Ke = {
1252
+ variadic: wi
1253
+ }, Ue = function() {
1254
+ return Ue = Object.assign || function(t) {
1255
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1256
+ r = arguments[n];
1257
+ for (var o in r)
1258
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1259
+ }
1260
+ return t;
1261
+ }, Ue.apply(this, arguments);
1262
+ };
1263
+ var _;
1253
1264
  (function(e) {
1254
1265
  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";
1255
1266
  })(_ || (_ = {}));
1256
- var O;
1267
+ var T;
1257
1268
  (function(e) {
1258
1269
  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";
1259
- })(O || (O = {}));
1260
- var fe;
1270
+ })(T || (T = {}));
1271
+ var ce;
1261
1272
  (function(e) {
1262
1273
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1263
- })(fe || (fe = {}));
1264
- function Vt(e) {
1265
- return e.type === O.literal;
1266
- }
1267
- function Hi(e) {
1268
- return e.type === O.argument;
1274
+ })(ce || (ce = {}));
1275
+ function zt(e) {
1276
+ return e.type === T.literal;
1269
1277
  }
1270
- function Ir(e) {
1271
- return e.type === O.number;
1278
+ function Oi(e) {
1279
+ return e.type === T.argument;
1272
1280
  }
1273
1281
  function Cr(e) {
1274
- return e.type === O.date;
1282
+ return e.type === T.number;
1275
1283
  }
1276
1284
  function Nr(e) {
1277
- return e.type === O.time;
1285
+ return e.type === T.date;
1278
1286
  }
1279
1287
  function Rr(e) {
1280
- return e.type === O.select;
1288
+ return e.type === T.time;
1281
1289
  }
1282
1290
  function Ur(e) {
1283
- return e.type === O.plural;
1284
- }
1285
- function Ti(e) {
1286
- return e.type === O.pound;
1291
+ return e.type === T.select;
1287
1292
  }
1288
1293
  function Fr(e) {
1289
- return e.type === O.tag;
1294
+ return e.type === T.plural;
1295
+ }
1296
+ function Ai(e) {
1297
+ return e.type === T.pound;
1290
1298
  }
1291
1299
  function Dr(e) {
1292
- return !!(e && typeof e == "object" && e.type === fe.number);
1300
+ return e.type === T.tag;
1301
+ }
1302
+ function kr(e) {
1303
+ return !!(e && typeof e == "object" && e.type === ce.number);
1293
1304
  }
1294
- function st(e) {
1295
- return !!(e && typeof e == "object" && e.type === fe.dateTime);
1305
+ function ct(e) {
1306
+ return !!(e && typeof e == "object" && e.type === ce.dateTime);
1296
1307
  }
1297
- var kr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Oi = /(?:[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;
1298
- function Mi(e) {
1308
+ var Gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Mi = /(?:[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;
1309
+ function Pi(e) {
1299
1310
  var t = {};
1300
- return e.replace(Oi, function(r) {
1311
+ return e.replace(Mi, function(r) {
1301
1312
  var n = r.length;
1302
1313
  switch (r[0]) {
1303
1314
  case "G":
@@ -1386,36 +1397,46 @@ function Mi(e) {
1386
1397
  return "";
1387
1398
  }), t;
1388
1399
  }
1389
- var Ai = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1390
- function Bi(e) {
1400
+ var M = function() {
1401
+ return M = Object.assign || function(t) {
1402
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1403
+ r = arguments[n];
1404
+ for (var o in r)
1405
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1406
+ }
1407
+ return t;
1408
+ }, M.apply(this, arguments);
1409
+ };
1410
+ var Bi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1411
+ function Li(e) {
1391
1412
  if (e.length === 0)
1392
1413
  throw new Error("Number skeleton cannot be empty");
1393
- for (var t = e.split(Ai).filter(function(f) {
1414
+ for (var t = e.split(Bi).filter(function(f) {
1394
1415
  return f.length > 0;
1395
1416
  }), r = [], n = 0, i = t; n < i.length; n++) {
1396
1417
  var o = i[n], a = o.split("/");
1397
1418
  if (a.length === 0)
1398
1419
  throw new Error("Invalid number skeleton");
1399
- for (var s = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
1400
- var c = h[u];
1420
+ for (var s = a[0], u = a.slice(1), l = 0, h = u; l < h.length; l++) {
1421
+ var c = h[l];
1401
1422
  if (c.length === 0)
1402
1423
  throw new Error("Invalid number skeleton");
1403
1424
  }
1404
- r.push({ stem: s, options: l });
1425
+ r.push({ stem: s, options: u });
1405
1426
  }
1406
1427
  return r;
1407
1428
  }
1408
- function Li(e) {
1429
+ function Ii(e) {
1409
1430
  return e.replace(/^(.*?)-/, "");
1410
1431
  }
1411
- var Xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Gr = /^(@+)?(\+|#+)?[rs]?$/g, Pi = /(\*)(0+)|(#+)(0+)|(0+)/g, $r = /^(0+)$/;
1412
- function zt(e) {
1432
+ var Zt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, $r = /^(@+)?(\+|#+)?[rs]?$/g, Ci = /(\*)(0+)|(#+)(0+)|(0+)/g, jr = /^(0+)$/;
1433
+ function Qt(e) {
1413
1434
  var t = {};
1414
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Gr, function(r, n, i) {
1435
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace($r, function(r, n, i) {
1415
1436
  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)), "";
1416
1437
  }), t;
1417
1438
  }
1418
- function jr(e) {
1439
+ function Wr(e) {
1419
1440
  switch (e) {
1420
1441
  case "sign-auto":
1421
1442
  return {
@@ -1455,7 +1476,7 @@ function jr(e) {
1455
1476
  };
1456
1477
  }
1457
1478
  }
1458
- function Ii(e) {
1479
+ function Ni(e) {
1459
1480
  var t;
1460
1481
  if (e[0] === "E" && e[1] === "E" ? (t = {
1461
1482
  notation: "engineering"
@@ -1463,17 +1484,17 @@ function Ii(e) {
1463
1484
  notation: "scientific"
1464
1485
  }, e = e.slice(1)), t) {
1465
1486
  var r = e.slice(0, 2);
1466
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !$r.test(e))
1487
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !jr.test(e))
1467
1488
  throw new Error("Malformed concise eng/scientific notation");
1468
1489
  t.minimumIntegerDigits = e.length;
1469
1490
  }
1470
1491
  return t;
1471
1492
  }
1472
- function Zt(e) {
1473
- var t = {}, r = jr(e);
1493
+ function Yt(e) {
1494
+ var t = {}, r = Wr(e);
1474
1495
  return r || t;
1475
1496
  }
1476
- function Ci(e) {
1497
+ function Ri(e) {
1477
1498
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1478
1499
  var i = n[r];
1479
1500
  switch (i.stem) {
@@ -1497,7 +1518,7 @@ function Ci(e) {
1497
1518
  continue;
1498
1519
  case "measure-unit":
1499
1520
  case "unit":
1500
- t.style = "unit", t.unit = Li(i.options[0]);
1521
+ t.style = "unit", t.unit = Ii(i.options[0]);
1501
1522
  continue;
1502
1523
  case "compact-short":
1503
1524
  case "K":
@@ -1508,13 +1529,13 @@ function Ci(e) {
1508
1529
  t.notation = "compact", t.compactDisplay = "long";
1509
1530
  continue;
1510
1531
  case "scientific":
1511
- t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1512
- return S(S({}, l), Zt(u));
1532
+ t = M(M(M({}, t), { notation: "scientific" }), i.options.reduce(function(u, l) {
1533
+ return M(M({}, u), Yt(l));
1513
1534
  }, {}));
1514
1535
  continue;
1515
1536
  case "engineering":
1516
- t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1517
- return S(S({}, l), Zt(u));
1537
+ t = M(M(M({}, t), { notation: "engineering" }), i.options.reduce(function(u, l) {
1538
+ return M(M({}, u), Yt(l));
1518
1539
  }, {}));
1519
1540
  continue;
1520
1541
  case "notation-simple":
@@ -1559,45 +1580,45 @@ function Ci(e) {
1559
1580
  case "integer-width":
1560
1581
  if (i.options.length > 1)
1561
1582
  throw new RangeError("integer-width stems only accept a single optional option");
1562
- i.options[0].replace(Pi, function(l, u, h, c, f, m) {
1563
- if (u)
1583
+ i.options[0].replace(Ci, function(u, l, h, c, f, d) {
1584
+ if (l)
1564
1585
  t.minimumIntegerDigits = h.length;
1565
1586
  else {
1566
1587
  if (c && f)
1567
1588
  throw new Error("We currently do not support maximum integer digits");
1568
- if (m)
1589
+ if (d)
1569
1590
  throw new Error("We currently do not support exact integer digits");
1570
1591
  }
1571
1592
  return "";
1572
1593
  });
1573
1594
  continue;
1574
1595
  }
1575
- if ($r.test(i.stem)) {
1596
+ if (jr.test(i.stem)) {
1576
1597
  t.minimumIntegerDigits = i.stem.length;
1577
1598
  continue;
1578
1599
  }
1579
- if (Xt.test(i.stem)) {
1600
+ if (Zt.test(i.stem)) {
1580
1601
  if (i.options.length > 1)
1581
1602
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1582
- i.stem.replace(Xt, function(l, u, h, c, f, m) {
1583
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1603
+ i.stem.replace(Zt, function(u, l, h, c, f, d) {
1604
+ 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), "";
1584
1605
  });
1585
1606
  var o = i.options[0];
1586
- o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), zt(o)));
1607
+ o === "w" ? t = M(M({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = M(M({}, t), Qt(o)));
1587
1608
  continue;
1588
1609
  }
1589
- if (Gr.test(i.stem)) {
1590
- t = S(S({}, t), zt(i.stem));
1610
+ if ($r.test(i.stem)) {
1611
+ t = M(M({}, t), Qt(i.stem));
1591
1612
  continue;
1592
1613
  }
1593
- var a = jr(i.stem);
1594
- a && (t = S(S({}, t), a));
1595
- var s = Ii(i.stem);
1596
- s && (t = S(S({}, t), s));
1614
+ var a = Wr(i.stem);
1615
+ a && (t = M(M({}, t), a));
1616
+ var s = Ni(i.stem);
1617
+ s && (t = M(M({}, t), s));
1597
1618
  }
1598
1619
  return t;
1599
1620
  }
1600
- var Be = {
1621
+ var Pe = {
1601
1622
  "001": [
1602
1623
  "H",
1603
1624
  "h"
@@ -3012,23 +3033,23 @@ var Be = {
3012
3033
  "h"
3013
3034
  ]
3014
3035
  };
3015
- function Ni(e, t) {
3036
+ function Ui(e, t) {
3016
3037
  for (var r = "", n = 0; n < e.length; n++) {
3017
3038
  var i = e.charAt(n);
3018
3039
  if (i === "j") {
3019
3040
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3020
3041
  o++, n++;
3021
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Ri(t);
3022
- for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3023
- r += l;
3042
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), u = "a", l = Fi(t);
3043
+ for ((l == "H" || l == "k") && (s = 0); s-- > 0; )
3044
+ r += u;
3024
3045
  for (; a-- > 0; )
3025
- r = u + r;
3046
+ r = l + r;
3026
3047
  } else
3027
3048
  i === "J" ? r += "H" : r += i;
3028
3049
  }
3029
3050
  return r;
3030
3051
  }
3031
- function Ri(e) {
3052
+ function Fi(e) {
3032
3053
  var t = e.hourCycle;
3033
3054
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3034
3055
  e.hourCycles && // @ts-ignore
@@ -3047,23 +3068,23 @@ function Ri(e) {
3047
3068
  }
3048
3069
  var r = e.language, n;
3049
3070
  r !== "root" && (n = e.maximize().region);
3050
- var i = Be[n || ""] || Be[r || ""] || Be["".concat(r, "-001")] || Be["001"];
3071
+ var i = Pe[n || ""] || Pe[r || ""] || Pe["".concat(r, "-001")] || Pe["001"];
3051
3072
  return i[0];
3052
3073
  }
3053
- var Je, Ui = new RegExp("^".concat(kr.source, "*")), Fi = new RegExp("".concat(kr.source, "*$"));
3074
+ var et, Di = new RegExp("^".concat(Gr.source, "*")), ki = new RegExp("".concat(Gr.source, "*$"));
3054
3075
  function E(e, t) {
3055
3076
  return { start: e, end: t };
3056
3077
  }
3057
- var Di = !!String.prototype.startsWith && "_a".startsWith("a", 1), ki = !!String.fromCodePoint, Gi = !!Object.fromEntries, $i = !!String.prototype.codePointAt, ji = !!String.prototype.trimStart, Wi = !!String.prototype.trimEnd, Vi = !!Number.isSafeInteger, Xi = Vi ? Number.isSafeInteger : function(e) {
3078
+ var Gi = !!String.prototype.startsWith && "_a".startsWith("a", 1), $i = !!String.fromCodePoint, ji = !!Object.fromEntries, Wi = !!String.prototype.codePointAt, Vi = !!String.prototype.trimStart, Xi = !!String.prototype.trimEnd, zi = !!Number.isSafeInteger, Zi = zi ? Number.isSafeInteger : function(e) {
3058
3079
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3059
- }, lt = !0;
3080
+ }, ft = !0;
3060
3081
  try {
3061
- var zi = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3062
- lt = ((Je = zi.exec("a")) === null || Je === void 0 ? void 0 : Je[0]) === "a";
3082
+ var Qi = Xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3083
+ ft = ((et = Qi.exec("a")) === null || et === void 0 ? void 0 : et[0]) === "a";
3063
3084
  } catch (e) {
3064
- lt = !1;
3085
+ ft = !1;
3065
3086
  }
3066
- var Qt = Di ? (
3087
+ var qt = Gi ? (
3067
3088
  // Native
3068
3089
  function(t, r, n) {
3069
3090
  return t.startsWith(r, n);
@@ -3073,7 +3094,7 @@ var Qt = Di ? (
3073
3094
  function(t, r, n) {
3074
3095
  return t.slice(n, n + r.length) === r;
3075
3096
  }
3076
- ), ut = ki ? String.fromCodePoint : (
3097
+ ), pt = $i ? String.fromCodePoint : (
3077
3098
  // IE11
3078
3099
  function() {
3079
3100
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3085,9 +3106,9 @@ var Qt = Di ? (
3085
3106
  }
3086
3107
  return n;
3087
3108
  }
3088
- ), Yt = (
3109
+ ), Jt = (
3089
3110
  // native
3090
- Gi ? Object.fromEntries : (
3111
+ ji ? Object.fromEntries : (
3091
3112
  // Ponyfill
3092
3113
  function(t) {
3093
3114
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3097,7 +3118,7 @@ var Qt = Di ? (
3097
3118
  return r;
3098
3119
  }
3099
3120
  )
3100
- ), Wr = $i ? (
3121
+ ), Vr = Wi ? (
3101
3122
  // Native
3102
3123
  function(t, r) {
3103
3124
  return t.codePointAt(r);
@@ -3111,7 +3132,7 @@ var Qt = Di ? (
3111
3132
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3112
3133
  }
3113
3134
  }
3114
- ), Zi = ji ? (
3135
+ ), Yi = Vi ? (
3115
3136
  // Native
3116
3137
  function(t) {
3117
3138
  return t.trimStart();
@@ -3119,9 +3140,9 @@ var Qt = Di ? (
3119
3140
  ) : (
3120
3141
  // Ponyfill
3121
3142
  function(t) {
3122
- return t.replace(Ui, "");
3143
+ return t.replace(Di, "");
3123
3144
  }
3124
- ), Qi = Wi ? (
3145
+ ), qi = Xi ? (
3125
3146
  // Native
3126
3147
  function(t) {
3127
3148
  return t.trimEnd();
@@ -3129,32 +3150,32 @@ var Qt = Di ? (
3129
3150
  ) : (
3130
3151
  // Ponyfill
3131
3152
  function(t) {
3132
- return t.replace(Fi, "");
3153
+ return t.replace(ki, "");
3133
3154
  }
3134
3155
  );
3135
- function Vr(e, t) {
3156
+ function Xr(e, t) {
3136
3157
  return new RegExp(e, t);
3137
3158
  }
3138
- var ht;
3139
- if (lt) {
3140
- var qt = Vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3141
- ht = function(t, r) {
3159
+ var dt;
3160
+ if (ft) {
3161
+ var Kt = Xr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3162
+ dt = function(t, r) {
3142
3163
  var n;
3143
- qt.lastIndex = r;
3144
- var i = qt.exec(t);
3164
+ Kt.lastIndex = r;
3165
+ var i = Kt.exec(t);
3145
3166
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3146
3167
  };
3147
3168
  } else
3148
- ht = function(t, r) {
3169
+ dt = function(t, r) {
3149
3170
  for (var n = []; ; ) {
3150
- var i = Wr(t, r);
3151
- if (i === void 0 || Xr(i) || Ki(i))
3171
+ var i = Vr(t, r);
3172
+ if (i === void 0 || zr(i) || to(i))
3152
3173
  break;
3153
3174
  n.push(i), r += i >= 65536 ? 2 : 1;
3154
3175
  }
3155
- return ut.apply(void 0, n);
3176
+ return pt.apply(void 0, n);
3156
3177
  };
3157
- var Yi = (
3178
+ var Ji = (
3158
3179
  /** @class */
3159
3180
  function() {
3160
3181
  function e(t, r) {
@@ -3178,14 +3199,14 @@ var Yi = (
3178
3199
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3179
3200
  var s = this.clonePosition();
3180
3201
  this.bump(), i.push({
3181
- type: O.pound,
3202
+ type: T.pound,
3182
3203
  location: E(s, this.clonePosition())
3183
3204
  });
3184
3205
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3185
3206
  if (n)
3186
3207
  break;
3187
3208
  return this.error(_.UNMATCHED_CLOSING_TAG, E(this.clonePosition(), this.clonePosition()));
3188
- } else if (o === 60 && !this.ignoreTag && ct(this.peek() || 0)) {
3209
+ } else if (o === 60 && !this.ignoreTag && mt(this.peek() || 0)) {
3189
3210
  var a = this.parseTag(t, r);
3190
3211
  if (a.err)
3191
3212
  return a;
@@ -3206,7 +3227,7 @@ var Yi = (
3206
3227
  if (this.bumpSpace(), this.bumpIf("/>"))
3207
3228
  return {
3208
3229
  val: {
3209
- type: O.literal,
3230
+ type: T.literal,
3210
3231
  value: "<".concat(i, "/>"),
3211
3232
  location: E(n, this.clonePosition())
3212
3233
  },
@@ -3218,12 +3239,12 @@ var Yi = (
3218
3239
  return o;
3219
3240
  var a = o.val, s = this.clonePosition();
3220
3241
  if (this.bumpIf("</")) {
3221
- if (this.isEOF() || !ct(this.char()))
3242
+ if (this.isEOF() || !mt(this.char()))
3222
3243
  return this.error(_.INVALID_TAG, E(s, this.clonePosition()));
3223
- var l = this.clonePosition(), u = this.parseTagName();
3224
- return i !== u ? this.error(_.UNMATCHED_CLOSING_TAG, E(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3244
+ var u = this.clonePosition(), l = this.parseTagName();
3245
+ return i !== l ? this.error(_.UNMATCHED_CLOSING_TAG, E(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3225
3246
  val: {
3226
- type: O.tag,
3247
+ type: T.tag,
3227
3248
  value: i,
3228
3249
  children: a,
3229
3250
  location: E(n, this.clonePosition())
@@ -3236,7 +3257,7 @@ var Yi = (
3236
3257
  return this.error(_.INVALID_TAG, E(n, this.clonePosition()));
3237
3258
  }, e.prototype.parseTagName = function() {
3238
3259
  var t = this.offset();
3239
- for (this.bump(); !this.isEOF() && Ji(this.char()); )
3260
+ for (this.bump(); !this.isEOF() && eo(this.char()); )
3240
3261
  this.bump();
3241
3262
  return this.message.slice(t, this.offset());
3242
3263
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3258,14 +3279,14 @@ var Yi = (
3258
3279
  }
3259
3280
  break;
3260
3281
  }
3261
- var l = E(n, this.clonePosition());
3282
+ var u = E(n, this.clonePosition());
3262
3283
  return {
3263
- val: { type: O.literal, value: i, location: l },
3284
+ val: { type: T.literal, value: i, location: u },
3264
3285
  err: null
3265
3286
  };
3266
3287
  }, e.prototype.tryParseLeftAngleBracket = function() {
3267
3288
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3268
- !qi(this.peek() || 0)) ? (this.bump(), "<") : null;
3289
+ !Ki(this.peek() || 0)) ? (this.bump(), "<") : null;
3269
3290
  }, e.prototype.tryParseQuote = function(t) {
3270
3291
  if (this.isEOF() || this.char() !== 39)
3271
3292
  return null;
@@ -3299,12 +3320,12 @@ var Yi = (
3299
3320
  r.push(n);
3300
3321
  this.bump();
3301
3322
  }
3302
- return ut.apply(void 0, r);
3323
+ return pt.apply(void 0, r);
3303
3324
  }, e.prototype.tryParseUnquoted = function(t, r) {
3304
3325
  if (this.isEOF())
3305
3326
  return null;
3306
3327
  var n = this.char();
3307
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ut(n));
3328
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), pt(n));
3308
3329
  }, e.prototype.parseArgument = function(t, r) {
3309
3330
  var n = this.clonePosition();
3310
3331
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3320,7 +3341,7 @@ var Yi = (
3320
3341
  case 125:
3321
3342
  return this.bump(), {
3322
3343
  val: {
3323
- type: O.argument,
3344
+ type: T.argument,
3324
3345
  // value does not include the opening and closing braces.
3325
3346
  value: i,
3326
3347
  location: E(n, this.clonePosition())
@@ -3333,66 +3354,66 @@ var Yi = (
3333
3354
  return this.error(_.MALFORMED_ARGUMENT, E(n, this.clonePosition()));
3334
3355
  }
3335
3356
  }, e.prototype.parseIdentifierIfPossible = function() {
3336
- var t = this.clonePosition(), r = this.offset(), n = ht(this.message, r), i = r + n.length;
3357
+ var t = this.clonePosition(), r = this.offset(), n = dt(this.message, r), i = r + n.length;
3337
3358
  this.bumpTo(i);
3338
3359
  var o = this.clonePosition(), a = E(t, o);
3339
3360
  return { value: n, location: a };
3340
3361
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3341
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3362
+ var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, u = this.clonePosition();
3342
3363
  switch (s) {
3343
3364
  case "":
3344
- return this.error(_.EXPECT_ARGUMENT_TYPE, E(a, l));
3365
+ return this.error(_.EXPECT_ARGUMENT_TYPE, E(a, u));
3345
3366
  case "number":
3346
3367
  case "date":
3347
3368
  case "time": {
3348
3369
  this.bumpSpace();
3349
- var u = null;
3370
+ var l = null;
3350
3371
  if (this.bumpIf(",")) {
3351
3372
  this.bumpSpace();
3352
3373
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3353
3374
  if (c.err)
3354
3375
  return c;
3355
- var f = Qi(c.val);
3376
+ var f = qi(c.val);
3356
3377
  if (f.length === 0)
3357
3378
  return this.error(_.EXPECT_ARGUMENT_STYLE, E(this.clonePosition(), this.clonePosition()));
3358
- var m = E(h, this.clonePosition());
3359
- u = { style: f, styleLocation: m };
3379
+ var d = E(h, this.clonePosition());
3380
+ l = { style: f, styleLocation: d };
3360
3381
  }
3361
3382
  var g = this.tryParseArgumentClose(i);
3362
3383
  if (g.err)
3363
3384
  return g;
3364
3385
  var b = E(i, this.clonePosition());
3365
- if (u && Qt(u == null ? void 0 : u.style, "::", 0)) {
3366
- var w = Zi(u.style.slice(2));
3386
+ if (l && qt(l == null ? void 0 : l.style, "::", 0)) {
3387
+ var w = Yi(l.style.slice(2));
3367
3388
  if (s === "number") {
3368
- var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
3389
+ var c = this.parseNumberSkeletonFromString(w, l.styleLocation);
3369
3390
  return c.err ? c : {
3370
- val: { type: O.number, value: n, location: b, style: c.val },
3391
+ val: { type: T.number, value: n, location: b, style: c.val },
3371
3392
  err: null
3372
3393
  };
3373
3394
  } else {
3374
3395
  if (w.length === 0)
3375
3396
  return this.error(_.EXPECT_DATE_TIME_SKELETON, b);
3376
- var T = w;
3377
- this.locale && (T = Ni(w, this.locale));
3397
+ var H = w;
3398
+ this.locale && (H = Ui(w, this.locale));
3378
3399
  var f = {
3379
- type: fe.dateTime,
3380
- pattern: T,
3381
- location: u.styleLocation,
3382
- parsedOptions: this.shouldParseSkeletons ? Mi(T) : {}
3383
- }, P = s === "date" ? O.date : O.time;
3400
+ type: ce.dateTime,
3401
+ pattern: H,
3402
+ location: l.styleLocation,
3403
+ parsedOptions: this.shouldParseSkeletons ? Pi(H) : {}
3404
+ }, L = s === "date" ? T.date : T.time;
3384
3405
  return {
3385
- val: { type: P, value: n, location: b, style: f },
3406
+ val: { type: L, value: n, location: b, style: f },
3386
3407
  err: null
3387
3408
  };
3388
3409
  }
3389
3410
  }
3390
3411
  return {
3391
3412
  val: {
3392
- type: s === "number" ? O.number : s === "date" ? O.date : O.time,
3413
+ type: s === "number" ? T.number : s === "date" ? T.date : T.time,
3393
3414
  value: n,
3394
3415
  location: b,
3395
- style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3416
+ style: (o = l == null ? void 0 : l.style) !== null && o !== void 0 ? o : null
3396
3417
  },
3397
3418
  err: null
3398
3419
  };
@@ -3400,9 +3421,9 @@ var Yi = (
3400
3421
  case "plural":
3401
3422
  case "selectordinal":
3402
3423
  case "select": {
3403
- var B = this.clonePosition();
3424
+ var P = this.clonePosition();
3404
3425
  if (this.bumpSpace(), !this.bumpIf(","))
3405
- return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(B, S({}, B)));
3426
+ return this.error(_.EXPECT_SELECT_ARGUMENT_OPTIONS, E(P, Ue({}, P)));
3406
3427
  this.bumpSpace();
3407
3428
  var G = this.parseIdentifierIfPossible(), C = 0;
3408
3429
  if (s !== "select" && G.value === "offset") {
@@ -3420,29 +3441,29 @@ var Yi = (
3420
3441
  var g = this.tryParseArgumentClose(i);
3421
3442
  if (g.err)
3422
3443
  return g;
3423
- var z = E(i, this.clonePosition());
3444
+ var Z = E(i, this.clonePosition());
3424
3445
  return s === "select" ? {
3425
3446
  val: {
3426
- type: O.select,
3447
+ type: T.select,
3427
3448
  value: n,
3428
- options: Yt(X.val),
3429
- location: z
3449
+ options: Jt(X.val),
3450
+ location: Z
3430
3451
  },
3431
3452
  err: null
3432
3453
  } : {
3433
3454
  val: {
3434
- type: O.plural,
3455
+ type: T.plural,
3435
3456
  value: n,
3436
- options: Yt(X.val),
3457
+ options: Jt(X.val),
3437
3458
  offset: C,
3438
3459
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3439
- location: z
3460
+ location: Z
3440
3461
  },
3441
3462
  err: null
3442
3463
  };
3443
3464
  }
3444
3465
  default:
3445
- return this.error(_.INVALID_ARGUMENT_TYPE, E(a, l));
3466
+ return this.error(_.INVALID_ARGUMENT_TYPE, E(a, u));
3446
3467
  }
3447
3468
  }, e.prototype.tryParseArgumentClose = function(t) {
3448
3469
  return this.isEOF() || this.char() !== 125 ? this.error(_.EXPECT_ARGUMENT_CLOSING_BRACE, E(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3484,50 +3505,50 @@ var Yi = (
3484
3505
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3485
3506
  var n = [];
3486
3507
  try {
3487
- n = Bi(t);
3508
+ n = Li(t);
3488
3509
  } catch (i) {
3489
3510
  return this.error(_.INVALID_NUMBER_SKELETON, r);
3490
3511
  }
3491
3512
  return {
3492
3513
  val: {
3493
- type: fe.number,
3514
+ type: ce.number,
3494
3515
  tokens: n,
3495
3516
  location: r,
3496
- parsedOptions: this.shouldParseSkeletons ? Ci(n) : {}
3517
+ parsedOptions: this.shouldParseSkeletons ? Ri(n) : {}
3497
3518
  },
3498
3519
  err: null
3499
3520
  };
3500
3521
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3501
- for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3502
- if (u.length === 0) {
3522
+ for (var o, a = !1, s = [], u = /* @__PURE__ */ new Set(), l = i.value, h = i.location; ; ) {
3523
+ if (l.length === 0) {
3503
3524
  var c = this.clonePosition();
3504
3525
  if (r !== "select" && this.bumpIf("=")) {
3505
3526
  var f = this.tryParseDecimalInteger(_.EXPECT_PLURAL_ARGUMENT_SELECTOR, _.INVALID_PLURAL_ARGUMENT_SELECTOR);
3506
3527
  if (f.err)
3507
3528
  return f;
3508
- h = E(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3529
+ h = E(c, this.clonePosition()), l = this.message.slice(c.offset, this.offset());
3509
3530
  } else
3510
3531
  break;
3511
3532
  }
3512
- if (l.has(u))
3533
+ if (u.has(l))
3513
3534
  return this.error(r === "select" ? _.DUPLICATE_SELECT_ARGUMENT_SELECTOR : _.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3514
- u === "other" && (a = !0), this.bumpSpace();
3515
- var m = this.clonePosition();
3535
+ l === "other" && (a = !0), this.bumpSpace();
3536
+ var d = this.clonePosition();
3516
3537
  if (!this.bumpIf("{"))
3517
3538
  return this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : _.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, E(this.clonePosition(), this.clonePosition()));
3518
3539
  var g = this.parseMessage(t + 1, r, n);
3519
3540
  if (g.err)
3520
3541
  return g;
3521
- var b = this.tryParseArgumentClose(m);
3542
+ var b = this.tryParseArgumentClose(d);
3522
3543
  if (b.err)
3523
3544
  return b;
3524
3545
  s.push([
3525
- u,
3546
+ l,
3526
3547
  {
3527
3548
  value: g.val,
3528
- location: E(m, this.clonePosition())
3549
+ location: E(d, this.clonePosition())
3529
3550
  }
3530
- ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3551
+ ]), u.add(l), this.bumpSpace(), o = this.parseIdentifierIfPossible(), l = o.value, h = o.location;
3531
3552
  }
3532
3553
  return s.length === 0 ? this.error(r === "select" ? _.EXPECT_SELECT_ARGUMENT_SELECTOR : _.EXPECT_PLURAL_ARGUMENT_SELECTOR, E(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(_.MISSING_OTHER_CLAUSE, E(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3533
3554
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
@@ -3540,8 +3561,8 @@ var Yi = (
3540
3561
  else
3541
3562
  break;
3542
3563
  }
3543
- var l = E(i, this.clonePosition());
3544
- return o ? (a *= n, Xi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3564
+ var u = E(i, this.clonePosition());
3565
+ return o ? (a *= n, Zi(a) ? { val: a, err: null } : this.error(r, u)) : this.error(t, u);
3545
3566
  }, e.prototype.offset = function() {
3546
3567
  return this.position.offset;
3547
3568
  }, e.prototype.isEOF = function() {
@@ -3556,7 +3577,7 @@ var Yi = (
3556
3577
  var t = this.position.offset;
3557
3578
  if (t >= this.message.length)
3558
3579
  throw Error("out of bound");
3559
- var r = Wr(this.message, t);
3580
+ var r = Vr(this.message, t);
3560
3581
  if (r === void 0)
3561
3582
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3562
3583
  return r;
@@ -3575,7 +3596,7 @@ var Yi = (
3575
3596
  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);
3576
3597
  }
3577
3598
  }, e.prototype.bumpIf = function(t) {
3578
- if (Qt(this.message, t, this.offset())) {
3599
+ if (qt(this.message, t, this.offset())) {
3579
3600
  for (var r = 0; r < t.length; r++)
3580
3601
  this.bump();
3581
3602
  return !0;
@@ -3597,7 +3618,7 @@ var Yi = (
3597
3618
  break;
3598
3619
  }
3599
3620
  }, e.prototype.bumpSpace = function() {
3600
- for (; !this.isEOF() && Xr(this.char()); )
3621
+ for (; !this.isEOF() && zr(this.char()); )
3601
3622
  this.bump();
3602
3623
  }, e.prototype.peek = function() {
3603
3624
  if (this.isEOF())
@@ -3607,47 +3628,47 @@ var Yi = (
3607
3628
  }, e;
3608
3629
  }()
3609
3630
  );
3610
- function ct(e) {
3631
+ function mt(e) {
3611
3632
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3612
3633
  }
3613
- function qi(e) {
3614
- return ct(e) || e === 47;
3634
+ function Ki(e) {
3635
+ return mt(e) || e === 47;
3615
3636
  }
3616
- function Ji(e) {
3637
+ function eo(e) {
3617
3638
  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;
3618
3639
  }
3619
- function Xr(e) {
3640
+ function zr(e) {
3620
3641
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3621
3642
  }
3622
- function Ki(e) {
3643
+ function to(e) {
3623
3644
  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;
3624
3645
  }
3625
- function ft(e) {
3646
+ function gt(e) {
3626
3647
  e.forEach(function(t) {
3627
- if (delete t.location, Rr(t) || Ur(t))
3648
+ if (delete t.location, Ur(t) || Fr(t))
3628
3649
  for (var r in t.options)
3629
- delete t.options[r].location, ft(t.options[r].value);
3650
+ delete t.options[r].location, gt(t.options[r].value);
3630
3651
  else
3631
- Ir(t) && Dr(t.style) || (Cr(t) || Nr(t)) && st(t.style) ? delete t.style.location : Fr(t) && ft(t.children);
3652
+ Cr(t) && kr(t.style) || (Nr(t) || Rr(t)) && ct(t.style) ? delete t.style.location : Dr(t) && gt(t.children);
3632
3653
  });
3633
3654
  }
3634
- function eo(e, t) {
3635
- t === void 0 && (t = {}), t = S({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3636
- var r = new Yi(e, t).parse();
3655
+ function ro(e, t) {
3656
+ t === void 0 && (t = {}), t = Ue({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3657
+ var r = new Ji(e, t).parse();
3637
3658
  if (r.err) {
3638
3659
  var n = SyntaxError(_[r.err.kind]);
3639
3660
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3640
3661
  }
3641
- return t != null && t.captureLocation || ft(r.val), r.val;
3662
+ return t != null && t.captureLocation || gt(r.val), r.val;
3642
3663
  }
3643
- var de;
3664
+ var fe;
3644
3665
  (function(e) {
3645
3666
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3646
- })(de || (de = {}));
3647
- var Ge = (
3667
+ })(fe || (fe = {}));
3668
+ var je = (
3648
3669
  /** @class */
3649
3670
  function(e) {
3650
- q(t, e);
3671
+ $e(t, e);
3651
3672
  function t(r, n, i) {
3652
3673
  var o = e.call(this, r) || this;
3653
3674
  return o.code = n, o.originalMessage = i, o;
@@ -3656,64 +3677,64 @@ var Ge = (
3656
3677
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3657
3678
  }, t;
3658
3679
  }(Error)
3659
- ), Jt = (
3680
+ ), er = (
3660
3681
  /** @class */
3661
3682
  function(e) {
3662
- q(t, e);
3683
+ $e(t, e);
3663
3684
  function t(r, n, i, o) {
3664
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), de.INVALID_VALUE, o) || this;
3685
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), fe.INVALID_VALUE, o) || this;
3665
3686
  }
3666
3687
  return t;
3667
- }(Ge)
3668
- ), to = (
3688
+ }(je)
3689
+ ), no = (
3669
3690
  /** @class */
3670
3691
  function(e) {
3671
- q(t, e);
3692
+ $e(t, e);
3672
3693
  function t(r, n, i) {
3673
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), de.INVALID_VALUE, i) || this;
3694
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), fe.INVALID_VALUE, i) || this;
3674
3695
  }
3675
3696
  return t;
3676
- }(Ge)
3677
- ), ro = (
3697
+ }(je)
3698
+ ), io = (
3678
3699
  /** @class */
3679
3700
  function(e) {
3680
- q(t, e);
3701
+ $e(t, e);
3681
3702
  function t(r, n) {
3682
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), de.MISSING_VALUE, n) || this;
3703
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), fe.MISSING_VALUE, n) || this;
3683
3704
  }
3684
3705
  return t;
3685
- }(Ge)
3706
+ }(je)
3686
3707
  ), k;
3687
3708
  (function(e) {
3688
3709
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3689
3710
  })(k || (k = {}));
3690
- function no(e) {
3711
+ function oo(e) {
3691
3712
  return e.length < 2 ? e : e.reduce(function(t, r) {
3692
3713
  var n = t[t.length - 1];
3693
3714
  return !n || n.type !== k.literal || r.type !== k.literal ? t.push(r) : n.value += r.value, t;
3694
3715
  }, []);
3695
3716
  }
3696
- function io(e) {
3717
+ function ao(e) {
3697
3718
  return typeof e == "function";
3698
3719
  }
3699
3720
  function Ie(e, t, r, n, i, o, a) {
3700
- if (e.length === 1 && Vt(e[0]))
3721
+ if (e.length === 1 && zt(e[0]))
3701
3722
  return [
3702
3723
  {
3703
3724
  type: k.literal,
3704
3725
  value: e[0].value
3705
3726
  }
3706
3727
  ];
3707
- for (var s = [], l = 0, u = e; l < u.length; l++) {
3708
- var h = u[l];
3709
- if (Vt(h)) {
3728
+ for (var s = [], u = 0, l = e; u < l.length; u++) {
3729
+ var h = l[u];
3730
+ if (zt(h)) {
3710
3731
  s.push({
3711
3732
  type: k.literal,
3712
3733
  value: h.value
3713
3734
  });
3714
3735
  continue;
3715
3736
  }
3716
- if (Ti(h)) {
3737
+ if (Ai(h)) {
3717
3738
  typeof o == "number" && s.push({
3718
3739
  type: k.literal,
3719
3740
  value: r.getNumberFormat(t).format(o)
@@ -3722,89 +3743,89 @@ function Ie(e, t, r, n, i, o, a) {
3722
3743
  }
3723
3744
  var c = h.value;
3724
3745
  if (!(i && c in i))
3725
- throw new ro(c, a);
3746
+ throw new io(c, a);
3726
3747
  var f = i[c];
3727
- if (Hi(h)) {
3748
+ if (Oi(h)) {
3728
3749
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3729
3750
  type: typeof f == "string" ? k.literal : k.object,
3730
3751
  value: f
3731
3752
  });
3732
3753
  continue;
3733
3754
  }
3734
- if (Cr(h)) {
3735
- var m = typeof h.style == "string" ? n.date[h.style] : st(h.style) ? h.style.parsedOptions : void 0;
3755
+ if (Nr(h)) {
3756
+ var d = typeof h.style == "string" ? n.date[h.style] : ct(h.style) ? h.style.parsedOptions : void 0;
3736
3757
  s.push({
3737
3758
  type: k.literal,
3738
- value: r.getDateTimeFormat(t, m).format(f)
3759
+ value: r.getDateTimeFormat(t, d).format(f)
3739
3760
  });
3740
3761
  continue;
3741
3762
  }
3742
- if (Nr(h)) {
3743
- var m = typeof h.style == "string" ? n.time[h.style] : st(h.style) ? h.style.parsedOptions : n.time.medium;
3763
+ if (Rr(h)) {
3764
+ var d = typeof h.style == "string" ? n.time[h.style] : ct(h.style) ? h.style.parsedOptions : n.time.medium;
3744
3765
  s.push({
3745
3766
  type: k.literal,
3746
- value: r.getDateTimeFormat(t, m).format(f)
3767
+ value: r.getDateTimeFormat(t, d).format(f)
3747
3768
  });
3748
3769
  continue;
3749
3770
  }
3750
- if (Ir(h)) {
3751
- var m = typeof h.style == "string" ? n.number[h.style] : Dr(h.style) ? h.style.parsedOptions : void 0;
3752
- m && m.scale && (f = f * (m.scale || 1)), s.push({
3771
+ if (Cr(h)) {
3772
+ var d = typeof h.style == "string" ? n.number[h.style] : kr(h.style) ? h.style.parsedOptions : void 0;
3773
+ d && d.scale && (f = f * (d.scale || 1)), s.push({
3753
3774
  type: k.literal,
3754
- value: r.getNumberFormat(t, m).format(f)
3775
+ value: r.getNumberFormat(t, d).format(f)
3755
3776
  });
3756
3777
  continue;
3757
3778
  }
3758
- if (Fr(h)) {
3779
+ if (Dr(h)) {
3759
3780
  var g = h.children, b = h.value, w = i[b];
3760
- if (!io(w))
3761
- throw new to(b, "function", a);
3762
- var T = Ie(g, t, r, n, i, o), P = w(T.map(function(C) {
3781
+ if (!ao(w))
3782
+ throw new no(b, "function", a);
3783
+ var H = Ie(g, t, r, n, i, o), L = w(H.map(function(C) {
3763
3784
  return C.value;
3764
3785
  }));
3765
- Array.isArray(P) || (P = [P]), s.push.apply(s, P.map(function(C) {
3786
+ Array.isArray(L) || (L = [L]), s.push.apply(s, L.map(function(C) {
3766
3787
  return {
3767
3788
  type: typeof C == "string" ? k.literal : k.object,
3768
3789
  value: C
3769
3790
  };
3770
3791
  }));
3771
3792
  }
3772
- if (Rr(h)) {
3773
- var B = h.options[f] || h.options.other;
3774
- if (!B)
3775
- throw new Jt(h.value, f, Object.keys(h.options), a);
3776
- s.push.apply(s, Ie(B.value, t, r, n, i));
3793
+ if (Ur(h)) {
3794
+ var P = h.options[f] || h.options.other;
3795
+ if (!P)
3796
+ throw new er(h.value, f, Object.keys(h.options), a);
3797
+ s.push.apply(s, Ie(P.value, t, r, n, i));
3777
3798
  continue;
3778
3799
  }
3779
- if (Ur(h)) {
3780
- var B = h.options["=".concat(f)];
3781
- if (!B) {
3800
+ if (Fr(h)) {
3801
+ var P = h.options["=".concat(f)];
3802
+ if (!P) {
3782
3803
  if (!Intl.PluralRules)
3783
- throw new Ge(`Intl.PluralRules is not available in this environment.
3804
+ throw new je(`Intl.PluralRules is not available in this environment.
3784
3805
  Try polyfilling it using "@formatjs/intl-pluralrules"
3785
- `, de.MISSING_INTL_API, a);
3806
+ `, fe.MISSING_INTL_API, a);
3786
3807
  var G = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3787
- B = h.options[G] || h.options.other;
3808
+ P = h.options[G] || h.options.other;
3788
3809
  }
3789
- if (!B)
3790
- throw new Jt(h.value, f, Object.keys(h.options), a);
3791
- s.push.apply(s, Ie(B.value, t, r, n, i, f - (h.offset || 0)));
3810
+ if (!P)
3811
+ throw new er(h.value, f, Object.keys(h.options), a);
3812
+ s.push.apply(s, Ie(P.value, t, r, n, i, f - (h.offset || 0)));
3792
3813
  continue;
3793
3814
  }
3794
3815
  }
3795
- return no(s);
3816
+ return oo(s);
3796
3817
  }
3797
- function oo(e, t) {
3798
- return t ? S(S(S({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3799
- return r[n] = S(S({}, e[n]), t[n] || {}), r;
3818
+ function so(e, t) {
3819
+ return t ? z(z(z({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3820
+ return r[n] = z(z({}, e[n]), t[n] || {}), r;
3800
3821
  }, {})) : e;
3801
3822
  }
3802
- function ao(e, t) {
3823
+ function uo(e, t) {
3803
3824
  return t ? Object.keys(e).reduce(function(r, n) {
3804
- return r[n] = oo(e[n], t[n]), r;
3805
- }, S({}, e)) : e;
3825
+ return r[n] = so(e[n], t[n]), r;
3826
+ }, z({}, e)) : e;
3806
3827
  }
3807
- function Ke(e) {
3828
+ function tt(e) {
3808
3829
  return {
3809
3830
  create: function() {
3810
3831
  return {
@@ -3818,39 +3839,39 @@ function Ke(e) {
3818
3839
  }
3819
3840
  };
3820
3841
  }
3821
- function so(e) {
3842
+ function lo(e) {
3822
3843
  return e === void 0 && (e = {
3823
3844
  number: {},
3824
3845
  dateTime: {},
3825
3846
  pluralRules: {}
3826
3847
  }), {
3827
- getNumberFormat: Ye(function() {
3848
+ getNumberFormat: Je(function() {
3828
3849
  for (var t, r = [], n = 0; n < arguments.length; n++)
3829
3850
  r[n] = arguments[n];
3830
- return new ((t = Intl.NumberFormat).bind.apply(t, he([void 0], r, !1)))();
3851
+ return new ((t = Intl.NumberFormat).bind.apply(t, qe([void 0], r, !1)))();
3831
3852
  }, {
3832
- cache: Ke(e.number),
3833
- strategy: qe.variadic
3853
+ cache: tt(e.number),
3854
+ strategy: Ke.variadic
3834
3855
  }),
3835
- getDateTimeFormat: Ye(function() {
3856
+ getDateTimeFormat: Je(function() {
3836
3857
  for (var t, r = [], n = 0; n < arguments.length; n++)
3837
3858
  r[n] = arguments[n];
3838
- return new ((t = Intl.DateTimeFormat).bind.apply(t, he([void 0], r, !1)))();
3859
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, qe([void 0], r, !1)))();
3839
3860
  }, {
3840
- cache: Ke(e.dateTime),
3841
- strategy: qe.variadic
3861
+ cache: tt(e.dateTime),
3862
+ strategy: Ke.variadic
3842
3863
  }),
3843
- getPluralRules: Ye(function() {
3864
+ getPluralRules: Je(function() {
3844
3865
  for (var t, r = [], n = 0; n < arguments.length; n++)
3845
3866
  r[n] = arguments[n];
3846
- return new ((t = Intl.PluralRules).bind.apply(t, he([void 0], r, !1)))();
3867
+ return new ((t = Intl.PluralRules).bind.apply(t, qe([void 0], r, !1)))();
3847
3868
  }, {
3848
- cache: Ke(e.pluralRules),
3849
- strategy: qe.variadic
3869
+ cache: tt(e.pluralRules),
3870
+ strategy: Ke.variadic
3850
3871
  })
3851
3872
  };
3852
3873
  }
3853
- var lo = (
3874
+ var ho = (
3854
3875
  /** @class */
3855
3876
  function() {
3856
3877
  function e(t, r, n, i) {
@@ -3860,20 +3881,20 @@ var lo = (
3860
3881
  number: {},
3861
3882
  dateTime: {},
3862
3883
  pluralRules: {}
3863
- }, this.format = function(l) {
3864
- var u = o.formatToParts(l);
3865
- if (u.length === 1)
3866
- return u[0].value;
3867
- var h = u.reduce(function(c, f) {
3884
+ }, this.format = function(u) {
3885
+ var l = o.formatToParts(u);
3886
+ if (l.length === 1)
3887
+ return l[0].value;
3888
+ var h = l.reduce(function(c, f) {
3868
3889
  return !c.length || f.type !== k.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3869
3890
  }, []);
3870
3891
  return h.length <= 1 ? h[0] || "" : h;
3871
- }, this.formatToParts = function(l) {
3872
- return Ie(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3892
+ }, this.formatToParts = function(u) {
3893
+ return Ie(o.ast, o.locales, o.formatters, o.formats, u, void 0, o.message);
3873
3894
  }, this.resolvedOptions = function() {
3874
- var l;
3895
+ var u;
3875
3896
  return {
3876
- locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3897
+ locale: ((u = o.resolvedLocale) === null || u === void 0 ? void 0 : u.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3877
3898
  };
3878
3899
  }, this.getAst = function() {
3879
3900
  return o.ast;
@@ -3882,13 +3903,13 @@ var lo = (
3882
3903
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3883
3904
  var a = i || {};
3884
3905
  a.formatters;
3885
- var s = Gn(a, ["formatters"]);
3886
- this.ast = e.__parse(t, S(S({}, s), { locale: this.resolvedLocale }));
3906
+ var s = yi(a, ["formatters"]);
3907
+ this.ast = e.__parse(t, z(z({}, s), { locale: this.resolvedLocale }));
3887
3908
  } else
3888
3909
  this.ast = t;
3889
3910
  if (!Array.isArray(this.ast))
3890
3911
  throw new TypeError("A message must be provided as a String or AST.");
3891
- this.formats = ao(e.formats, n), this.formatters = i && i.formatters || so(this.formatterCache);
3912
+ this.formats = uo(e.formats, n), this.formatters = i && i.formatters || lo(this.formatterCache);
3892
3913
  }
3893
3914
  return Object.defineProperty(e, "defaultLocale", {
3894
3915
  get: function() {
@@ -3901,7 +3922,7 @@ var lo = (
3901
3922
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3902
3923
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3903
3924
  }
3904
- }, e.__parse = eo, e.formats = {
3925
+ }, e.__parse = ro, e.formats = {
3905
3926
  number: {
3906
3927
  integer: {
3907
3928
  maximumFractionDigits: 0
@@ -3962,7 +3983,7 @@ var lo = (
3962
3983
  }, e;
3963
3984
  }()
3964
3985
  );
3965
- function uo(e, t) {
3986
+ function co(e, t) {
3966
3987
  if (t == null)
3967
3988
  return;
3968
3989
  if (t in e)
@@ -3983,92 +4004,92 @@ function uo(e, t) {
3983
4004
  n = void 0;
3984
4005
  return n;
3985
4006
  }
3986
- const K = {}, ho = (e, t, r) => r && (t in K || (K[t] = {}), e in K[t] || (K[t][e] = r), r), zr = (e, t) => {
4007
+ const K = {}, fo = (e, t, r) => r && (t in K || (K[t] = {}), e in K[t] || (K[t][e] = r), r), Zr = (e, t) => {
3987
4008
  if (t == null)
3988
4009
  return;
3989
4010
  if (t in K && e in K[t])
3990
4011
  return K[t][e];
3991
- const r = $e(t);
4012
+ const r = We(t);
3992
4013
  for (let n = 0; n < r.length; n++) {
3993
- const i = r[n], o = fo(i, e);
4014
+ const i = r[n], o = mo(i, e);
3994
4015
  if (o)
3995
- return ho(e, t, o);
4016
+ return fo(e, t, o);
3996
4017
  }
3997
4018
  };
3998
- let vt;
3999
- const Te = ke({});
4000
- function co(e) {
4001
- return vt[e] || null;
4019
+ let _t;
4020
+ const Te = Ge({});
4021
+ function po(e) {
4022
+ return _t[e] || null;
4002
4023
  }
4003
- function Zr(e) {
4004
- return e in vt;
4024
+ function Qr(e) {
4025
+ return e in _t;
4005
4026
  }
4006
- function fo(e, t) {
4007
- if (!Zr(e))
4027
+ function mo(e, t) {
4028
+ if (!Qr(e))
4008
4029
  return null;
4009
- const r = co(e);
4010
- return uo(r, t);
4030
+ const r = po(e);
4031
+ return co(r, t);
4011
4032
  }
4012
- function mo(e) {
4033
+ function go(e) {
4013
4034
  if (e == null)
4014
4035
  return;
4015
- const t = $e(e);
4036
+ const t = We(e);
4016
4037
  for (let r = 0; r < t.length; r++) {
4017
4038
  const n = t[r];
4018
- if (Zr(n))
4039
+ if (Qr(n))
4019
4040
  return n;
4020
4041
  }
4021
4042
  }
4022
- function Qr(e, ...t) {
4043
+ function Yr(e, ...t) {
4023
4044
  delete K[e], Te.update((r) => (r[e] = vi.all([r[e] || {}, ...t]), r));
4024
4045
  }
4025
- be(
4046
+ ge(
4026
4047
  [Te],
4027
4048
  ([e]) => Object.keys(e)
4028
4049
  );
4029
- Te.subscribe((e) => vt = e);
4050
+ Te.subscribe((e) => _t = e);
4030
4051
  const Ce = {};
4031
- function po(e, t) {
4052
+ function bo(e, t) {
4032
4053
  Ce[e].delete(t), Ce[e].size === 0 && delete Ce[e];
4033
4054
  }
4034
- function Yr(e) {
4055
+ function qr(e) {
4035
4056
  return Ce[e];
4036
4057
  }
4037
- function go(e) {
4038
- return $e(e).map((t) => {
4039
- const r = Yr(t);
4058
+ function vo(e) {
4059
+ return We(e).map((t) => {
4060
+ const r = qr(t);
4040
4061
  return [t, r ? [...r] : []];
4041
4062
  }).filter(([, t]) => t.length > 0);
4042
4063
  }
4043
- function dt(e) {
4044
- return e == null ? !1 : $e(e).some(
4064
+ function bt(e) {
4065
+ return e == null ? !1 : We(e).some(
4045
4066
  (t) => {
4046
4067
  var r;
4047
- return (r = Yr(t)) == null ? void 0 : r.size;
4068
+ return (r = qr(t)) == null ? void 0 : r.size;
4048
4069
  }
4049
4070
  );
4050
4071
  }
4051
- function bo(e, t) {
4072
+ function yo(e, t) {
4052
4073
  return Promise.all(
4053
- t.map((n) => (po(e, n), n().then((i) => i.default || i)))
4054
- ).then((n) => Qr(e, ...n));
4055
- }
4056
- const _e = {};
4057
- function qr(e) {
4058
- if (!dt(e))
4059
- return e in _e ? _e[e] : Promise.resolve();
4060
- const t = go(e);
4061
- return _e[e] = Promise.all(
4074
+ t.map((n) => (bo(e, n), n().then((i) => i.default || i)))
4075
+ ).then((n) => Yr(e, ...n));
4076
+ }
4077
+ const ye = {};
4078
+ function Jr(e) {
4079
+ if (!bt(e))
4080
+ return e in ye ? ye[e] : Promise.resolve();
4081
+ const t = vo(e);
4082
+ return ye[e] = Promise.all(
4062
4083
  t.map(
4063
- ([r, n]) => bo(r, n)
4084
+ ([r, n]) => yo(r, n)
4064
4085
  )
4065
4086
  ).then(() => {
4066
- if (dt(e))
4067
- return qr(e);
4068
- delete _e[e];
4069
- }), _e[e];
4087
+ if (bt(e))
4088
+ return Jr(e);
4089
+ delete ye[e];
4090
+ }), ye[e];
4070
4091
  }
4071
- const vo = {
4092
+ const _o = {
4072
4093
  number: {
4073
4094
  scientific: { notation: "scientific" },
4074
4095
  engineering: { notation: "engineering" },
@@ -4097,150 +4118,150 @@ const vo = {
4097
4118
  timeZoneName: "short"
4098
4119
  }
4099
4120
  }
4100
- }, yo = {
4121
+ }, xo = {
4101
4122
  fallbackLocale: null,
4102
4123
  loadingDelay: 200,
4103
- formats: vo,
4124
+ formats: _o,
4104
4125
  warnOnMissingMessages: !0,
4105
4126
  handleMissingMessage: void 0,
4106
4127
  ignoreTag: !0
4107
- }, _o = yo;
4108
- function me() {
4109
- return _o;
4128
+ }, Eo = xo;
4129
+ function pe() {
4130
+ return Eo;
4110
4131
  }
4111
- const et = ke(!1);
4112
- var xo = Object.defineProperty, Eo = Object.defineProperties, wo = Object.getOwnPropertyDescriptors, Kt = Object.getOwnPropertySymbols, So = Object.prototype.hasOwnProperty, Ho = Object.prototype.propertyIsEnumerable, er = (e, t, r) => t in e ? xo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, To = (e, t) => {
4132
+ const rt = Ge(!1);
4133
+ var wo = Object.defineProperty, So = Object.defineProperties, Ho = Object.getOwnPropertyDescriptors, tr = Object.getOwnPropertySymbols, To = Object.prototype.hasOwnProperty, Oo = Object.prototype.propertyIsEnumerable, rr = (e, t, r) => t in e ? wo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ao = (e, t) => {
4113
4134
  for (var r in t || (t = {}))
4114
- So.call(t, r) && er(e, r, t[r]);
4115
- if (Kt)
4116
- for (var r of Kt(t))
4117
- Ho.call(t, r) && er(e, r, t[r]);
4135
+ To.call(t, r) && rr(e, r, t[r]);
4136
+ if (tr)
4137
+ for (var r of tr(t))
4138
+ Oo.call(t, r) && rr(e, r, t[r]);
4118
4139
  return e;
4119
- }, Oo = (e, t) => Eo(e, wo(t));
4120
- let mt;
4121
- const Ue = ke(null);
4122
- function tr(e) {
4140
+ }, Mo = (e, t) => So(e, Ho(t));
4141
+ let vt;
4142
+ const Fe = Ge(null);
4143
+ function nr(e) {
4123
4144
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4124
4145
  }
4125
- function $e(e, t = me().fallbackLocale) {
4126
- const r = tr(e);
4127
- return t ? [.../* @__PURE__ */ new Set([...r, ...tr(t)])] : r;
4146
+ function We(e, t = pe().fallbackLocale) {
4147
+ const r = nr(e);
4148
+ return t ? [.../* @__PURE__ */ new Set([...r, ...nr(t)])] : r;
4128
4149
  }
4129
4150
  function ne() {
4130
- return mt != null ? mt : void 0;
4151
+ return vt != null ? vt : void 0;
4131
4152
  }
4132
- Ue.subscribe((e) => {
4133
- mt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4153
+ Fe.subscribe((e) => {
4154
+ vt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4134
4155
  });
4135
- const Mo = (e) => {
4136
- if (e && mo(e) && dt(e)) {
4137
- const { loadingDelay: t } = me();
4156
+ const Po = (e) => {
4157
+ if (e && go(e) && bt(e)) {
4158
+ const { loadingDelay: t } = pe();
4138
4159
  let r;
4139
4160
  return typeof window != "undefined" && ne() != null && t ? r = window.setTimeout(
4140
- () => et.set(!0),
4161
+ () => rt.set(!0),
4141
4162
  t
4142
- ) : et.set(!0), qr(e).then(() => {
4143
- Ue.set(e);
4163
+ ) : rt.set(!0), Jr(e).then(() => {
4164
+ Fe.set(e);
4144
4165
  }).finally(() => {
4145
- clearTimeout(r), et.set(!1);
4166
+ clearTimeout(r), rt.set(!1);
4146
4167
  });
4147
4168
  }
4148
- return Ue.set(e);
4149
- }, ve = Oo(To({}, Ue), {
4150
- set: Mo
4151
- }), je = (e) => {
4169
+ return Fe.set(e);
4170
+ }, be = Mo(Ao({}, Fe), {
4171
+ set: Po
4172
+ }), Ve = (e) => {
4152
4173
  const t = /* @__PURE__ */ Object.create(null);
4153
4174
  return (n) => {
4154
4175
  const i = JSON.stringify(n);
4155
4176
  return i in t ? t[i] : t[i] = e(n);
4156
4177
  };
4157
4178
  };
4158
- var Ao = Object.defineProperty, Fe = Object.getOwnPropertySymbols, Jr = Object.prototype.hasOwnProperty, Kr = Object.prototype.propertyIsEnumerable, rr = (e, t, r) => t in e ? Ao(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, yt = (e, t) => {
4179
+ var Bo = Object.defineProperty, De = Object.getOwnPropertySymbols, Kr = Object.prototype.hasOwnProperty, en = Object.prototype.propertyIsEnumerable, ir = (e, t, r) => t in e ? Bo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, xt = (e, t) => {
4159
4180
  for (var r in t || (t = {}))
4160
- Jr.call(t, r) && rr(e, r, t[r]);
4161
- if (Fe)
4162
- for (var r of Fe(t))
4163
- Kr.call(t, r) && rr(e, r, t[r]);
4181
+ Kr.call(t, r) && ir(e, r, t[r]);
4182
+ if (De)
4183
+ for (var r of De(t))
4184
+ en.call(t, r) && ir(e, r, t[r]);
4164
4185
  return e;
4165
- }, ye = (e, t) => {
4186
+ }, ve = (e, t) => {
4166
4187
  var r = {};
4167
4188
  for (var n in e)
4168
- Jr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4169
- if (e != null && Fe)
4170
- for (var n of Fe(e))
4171
- t.indexOf(n) < 0 && Kr.call(e, n) && (r[n] = e[n]);
4189
+ Kr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4190
+ if (e != null && De)
4191
+ for (var n of De(e))
4192
+ t.indexOf(n) < 0 && en.call(e, n) && (r[n] = e[n]);
4172
4193
  return r;
4173
4194
  };
4174
- const Se = (e, t) => {
4175
- const { formats: r } = me();
4195
+ const we = (e, t) => {
4196
+ const { formats: r } = pe();
4176
4197
  if (e in r && t in r[e])
4177
4198
  return r[e][t];
4178
4199
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4179
- }, Bo = je(
4200
+ }, Lo = Ve(
4180
4201
  (e) => {
4181
- var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4202
+ var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4182
4203
  if (r == null)
4183
4204
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4184
- return n && (i = Se("number", n)), new Intl.NumberFormat(r, i);
4205
+ return n && (i = we("number", n)), new Intl.NumberFormat(r, i);
4185
4206
  }
4186
- ), Lo = je(
4207
+ ), Io = Ve(
4187
4208
  (e) => {
4188
- var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4209
+ var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4189
4210
  if (r == null)
4190
4211
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4191
- return n ? i = Se("date", n) : Object.keys(i).length === 0 && (i = Se("date", "short")), new Intl.DateTimeFormat(r, i);
4212
+ return n ? i = we("date", n) : Object.keys(i).length === 0 && (i = we("date", "short")), new Intl.DateTimeFormat(r, i);
4192
4213
  }
4193
- ), Po = je(
4214
+ ), Co = Ve(
4194
4215
  (e) => {
4195
- var t = e, { locale: r, format: n } = t, i = ye(t, ["locale", "format"]);
4216
+ var t = e, { locale: r, format: n } = t, i = ve(t, ["locale", "format"]);
4196
4217
  if (r == null)
4197
4218
  throw new Error(
4198
4219
  '[svelte-i18n] A "locale" must be set to format time values'
4199
4220
  );
4200
- return n ? i = Se("time", n) : Object.keys(i).length === 0 && (i = Se("time", "short")), new Intl.DateTimeFormat(r, i);
4221
+ return n ? i = we("time", n) : Object.keys(i).length === 0 && (i = we("time", "short")), new Intl.DateTimeFormat(r, i);
4201
4222
  }
4202
- ), Io = (e = {}) => {
4223
+ ), No = (e = {}) => {
4203
4224
  var t = e, {
4204
4225
  locale: r = ne()
4205
- } = t, n = ye(t, [
4226
+ } = t, n = ve(t, [
4206
4227
  "locale"
4207
4228
  ]);
4208
- return Bo(yt({ locale: r }, n));
4209
- }, Co = (e = {}) => {
4229
+ return Lo(xt({ locale: r }, n));
4230
+ }, Ro = (e = {}) => {
4210
4231
  var t = e, {
4211
4232
  locale: r = ne()
4212
- } = t, n = ye(t, [
4233
+ } = t, n = ve(t, [
4213
4234
  "locale"
4214
4235
  ]);
4215
- return Lo(yt({ locale: r }, n));
4216
- }, No = (e = {}) => {
4236
+ return Io(xt({ locale: r }, n));
4237
+ }, Uo = (e = {}) => {
4217
4238
  var t = e, {
4218
4239
  locale: r = ne()
4219
- } = t, n = ye(t, [
4240
+ } = t, n = ve(t, [
4220
4241
  "locale"
4221
4242
  ]);
4222
- return Po(yt({ locale: r }, n));
4223
- }, Ro = je(
4243
+ return Co(xt({ locale: r }, n));
4244
+ }, Fo = Ve(
4224
4245
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4225
- (e, t = ne()) => new lo(e, t, me().formats, {
4226
- ignoreTag: me().ignoreTag
4246
+ (e, t = ne()) => new ho(e, t, pe().formats, {
4247
+ ignoreTag: pe().ignoreTag
4227
4248
  })
4228
- ), Uo = (e, t = {}) => {
4249
+ ), Do = (e, t = {}) => {
4229
4250
  var r, n, i, o;
4230
4251
  let a = t;
4231
4252
  typeof e == "object" && (a = e, e = a.id);
4232
4253
  const {
4233
4254
  values: s,
4234
- locale: l = ne(),
4235
- default: u
4255
+ locale: u = ne(),
4256
+ default: l
4236
4257
  } = a;
4237
- if (l == null)
4258
+ if (u == null)
4238
4259
  throw new Error(
4239
4260
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4240
4261
  );
4241
- let h = zr(e, l);
4262
+ let h = Zr(e, u);
4242
4263
  if (!h)
4243
- h = (o = (i = (n = (r = me()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4264
+ 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;
4244
4265
  else if (typeof h != "string")
4245
4266
  return console.warn(
4246
4267
  `[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.`
@@ -4249,7 +4270,7 @@ const Se = (e, t) => {
4249
4270
  return h;
4250
4271
  let c = h;
4251
4272
  try {
4252
- c = Ro(h, l).format(s);
4273
+ c = Fo(h, u).format(s);
4253
4274
  } catch (f) {
4254
4275
  f instanceof Error && console.warn(
4255
4276
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4257,20 +4278,20 @@ const Se = (e, t) => {
4257
4278
  );
4258
4279
  }
4259
4280
  return c;
4260
- }, Fo = (e, t) => No(t).format(e), Do = (e, t) => Co(t).format(e), ko = (e, t) => Io(t).format(e), Go = (e, t = ne()) => zr(e, t), $o = be([ve, Te], () => Uo);
4261
- be([ve], () => Fo);
4262
- be([ve], () => Do);
4263
- be([ve], () => ko);
4264
- be([ve, Te], () => Go);
4281
+ }, ko = (e, t) => Uo(t).format(e), Go = (e, t) => Ro(t).format(e), $o = (e, t) => No(t).format(e), jo = (e, t = ne()) => Zr(e, t), Wo = ge([be, Te], () => Do);
4282
+ ge([be], () => ko);
4283
+ ge([be], () => Go);
4284
+ ge([be], () => $o);
4285
+ ge([be, Te], () => jo);
4265
4286
  window.emWidgets = { topic: ti };
4266
- const jo = (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)), Wo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4267
- function Vo(e, t) {
4287
+ const Vo = (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)), Xo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4288
+ function zo(e, t) {
4268
4289
  if (e) {
4269
4290
  const r = document.createElement("style");
4270
4291
  r.innerHTML = t, e.appendChild(r);
4271
4292
  }
4272
4293
  }
4273
- function Xo(e, t) {
4294
+ function Zo(e, t) {
4274
4295
  const r = new URL(t);
4275
4296
  fetch(r.href).then((n) => n.text()).then((n) => {
4276
4297
  const i = document.createElement("style");
@@ -4279,7 +4300,7 @@ function Xo(e, t) {
4279
4300
  console.error("There was an error while trying to load client styling from URL", n);
4280
4301
  });
4281
4302
  }
4282
- function zo(e, t, r) {
4303
+ function Qo(e, t, r) {
4283
4304
  if (window.emMessageBus) {
4284
4305
  const n = document.createElement("style");
4285
4306
  window.emMessageBus.subscribe(t, (i) => {
@@ -4287,13 +4308,13 @@ function zo(e, t, r) {
4287
4308
  });
4288
4309
  }
4289
4310
  }
4290
- function nr(e, t) {
4291
- Qr(e, t);
4311
+ function or(e, t) {
4312
+ Yr(e, t);
4292
4313
  }
4293
- function Zo(e) {
4294
- ve.set(e);
4314
+ function Yo(e) {
4315
+ be.set(e);
4295
4316
  }
4296
- const ir = {
4317
+ const ar = {
4297
4318
  en: {
4298
4319
  language: "Select Language"
4299
4320
  },
@@ -4328,65 +4349,65 @@ const ir = {
4328
4349
  language: "Select Language"
4329
4350
  }
4330
4351
  };
4331
- function Qo(e) {
4332
- _n(e, "svelte-53sucd", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.Skeleton{animation:skeleton-loading 0.6s linear infinite alternate}@keyframes skeleton-loading{0%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%)}12%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.225) 0%, rgba(0, 61, 93, 0.225) 100%)}25%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.25) 0%, rgba(0, 61, 93, 0.25) 100%)}33%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.275) 0%, rgba(0, 61, 93, 0.275) 100%)}50%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.3) 0%, rgba(0, 61, 93, 0.3) 100%)}63%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.325) 0%, rgba(0, 61, 93, 0.325) 100%)}75%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.35) 0%, rgba(0, 61, 93, 0.35) 100%)}88%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.375) 0%, rgba(0, 61, 93, 0.375) 100%)}100%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.4) 0%, rgba(0, 61, 93, 0.4) 100%)}}@keyframes increaseTransparency{0%{opacity:0}25%{opacity:0.25}75%{opacity:0.75}100%{opacity:1}}@keyframes decreaseTransparency{100%{opacity:1}75%{opacity:0.75}25%{opacity:0.25}0%{opacity:0}}@keyframes growWidthPercent{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes growWidth{from{transform:translateY(0)}to{transform:translateY(0)}}@keyframes decreaseWidth{from{transform:translateX(1)}to{transform:translateX(0)}}.NavIcon{width:30px;height:28px;position:relative;margin:3px auto;transform:rotate(0deg);transition:transform 0.2s ease-in-out;cursor:pointer}.NavIcon span{display:block;position:absolute;height:3px;width:100%;background:#ffffff;border-radius:9px;opacity:1;left:0;transform:rotate(0deg);transition:transform 0.2s ease-in-out, opacity 0.2s ease-in-out}.NavIcon span:nth-child(1){top:0px;width:80%}.NavIcon span:nth-child(2){top:9px}.NavIcon span:nth-child(3){top:18px}.NavIcon.Open span:nth-child(1){top:9px;width:100%;transform:rotate(135deg);transition:transform 0.3s ease-in-out}.NavIcon.Open span:nth-child(2){opacity:0;left:-60px}.NavIcon.Open span:nth-child(3){top:9px;transform:rotate(-135deg);transition:transform 0.3s ease-in-out}.SelectedOption{display:flex;align-items:center;justify-content:center}.SelectedOption .TriangleActive,.SelectedOption .TriangleInactive{display:block;margin:0 0 0 10px;transform:rotateX(0deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive svg,.SelectedOption .TriangleInactive svg{margin:-2px 0px;fill:white}.SelectedOption .TriangleActive{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive:hover{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.FlagIcon>img{width:20px;height:14px;margin-right:8px;border-radius:2px}.LanguageSelector{padding:5px 0;margin-bottom:0;display:flex;justify-content:space-between;background:linear-gradient(90deg, rgba(35, 178, 78, 0.9) 0%, rgba(0, 61, 93, 0.9) 100%);transition:transform 0.2s linear}.LanguageSelector span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));opacity:0.8;padding:5px 0;display:flex;align-items:center;gap:15px;font-size:14px}.LanguageSelector:active{transition:all 0.2s ease}.LanguageSelector:active span{transition:all 0.1s linear;opacity:1}.LanguageSelector.Open{box-shadow:inset 0 -3.25em 0 0 var(--emw--color-primary)}.LanguageSelector .LanguageSelectorTitle{margin:0 20px}.LanguageSelector .LanguageDropdown{margin-right:16px;display:inline-block}.LanguageSelector .OptionList{position:absolute;background:linear-gradient(90deg, rgba(35, 178, 78, 0.1) 0%, rgba(0, 61, 93, 0.1) 100%);min-width:180px;z-index:1;overflow-y:auto;display:flex;flex-direction:column-reverse;bottom:44px;left:0;gap:5px;padding-bottom:5px;width:100%;height:0px;transition:transform 0.2s linear}.LanguageSelector .OptionList.Open{transition:transform 0.2s linear;height:auto;background-color:var(--emw--color-background-secondary, #000000);overflow:auto}.LanguageSelector .OptionList .LanguageOption{display:flex;border:2px solid #22B04E;border-radius:13px;align-items:center;opacity:0.2;height:0px;background:linear-gradient(90deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%);margin:0 5px;transition:transform 0.3s linear}.LanguageSelector .OptionList .LanguageOption.Open{height:50px;opacity:1;padding:10px 5px}.LanguageSelector .OptionList .LanguageOption:active,.LanguageSelector .OptionList .LanguageOption:hover{background:linear-gradient(90deg, rgb(35, 178, 78) 0%, rgb(0, 61, 93) 100%);transform:scale(1.03);transition:transform 0.2s ease-in-out}.LanguageSelector .OptionList .LanguageOption:active span,.LanguageSelector .OptionList .LanguageOption:hover span{color:black}.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:flex;align-items:flex-start;position:fixed;width:100%;height:100%;z-index:100;z-index:999999;top:0;left:0;background-color:rgba(0, 0, 0, 0.85);animation:increaseTransparency 0.2s ease-in forwards}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--color-primary);display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:0;border-top:0;border-radius:0;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{animation:growWidth 0.2s forwards;transform-origin:left;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer.Closing{animation:decreaseWidth 0.2s backwards;transform-origin:right;animation-fill-mode:backwards;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer .Separator{width:100%;height:5px;background:rgb(0, 0, 0);background:linear-gradient(90deg, rgb(13, 78, 2) 0%, rgb(35, 172, 77) 50%, rgb(13, 78, 2) 100%);z-index:3}.HamburgerModalWindow .ModalCloseBtn{position:relative;top:25px;width:30px;height:30px;opacity:1;margin-left:7px;margin-right:9px;cursor:pointer}.HamburgerModalWindow .ModalCloseBtn .NavIcon .Open{width:90vw}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));transform-origin:left;transform:scaleX(0);animation:growWidthPercent 0.2s both;animation-delay:0.1s}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:transform 150ms ease-in-out, opacity 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #000000));white-space:nowrap;overflow-x:scroll;list-style:none;width:90vw;text-transform:uppercase;font-size:11px;transition:all 0.2s}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:125px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li:active{transform:scale(1.1)}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04F));color:black}.HamburgerModalWindow .HamburgerPrimaryMenu .Loading{width:150px;height:86px;margin:0 2px}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;height:85%;overflow:auto;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.Overlay{opacity:0.5;transition:opacity 0.2s ease-in-out}.HamburgerModalWindow .HamburgerSecondaryMenu li{padding:10px;display:flex;align-items:center;gap:15px;transition:transform 0.2s linear}.HamburgerModalWindow .HamburgerSecondaryMenu li:active{background-color:var(--emw--color-primary);transform:scale(1.1)}.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, #22B04F)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
4352
+ function qo(e) {
4353
+ xn(e, "svelte-1dofr0a", "*,*::before,*::after{margin:0;padding:0;box-sizing:border-box;font-family:inherit}:host{font-family:inherit}input,textarea,button{font-family:inherit}.Skeleton{animation:skeleton-loading 0.6s linear infinite alternate}@keyframes skeleton-loading{0%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%)}12%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.225) 0%, rgba(0, 61, 93, 0.225) 100%)}25%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.25) 0%, rgba(0, 61, 93, 0.25) 100%)}33%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.275) 0%, rgba(0, 61, 93, 0.275) 100%)}50%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.3) 0%, rgba(0, 61, 93, 0.3) 100%)}63%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.325) 0%, rgba(0, 61, 93, 0.325) 100%)}75%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.35) 0%, rgba(0, 61, 93, 0.35) 100%)}88%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.375) 0%, rgba(0, 61, 93, 0.375) 100%)}100%{background:linear-gradient(0deg, rgba(35, 178, 78, 0.4) 0%, rgba(0, 61, 93, 0.4) 100%)}}@keyframes increaseTransparency{0%{opacity:0}25%{opacity:0.25}75%{opacity:0.75}100%{opacity:1}}@keyframes decreaseTransparency{100%{opacity:1}75%{opacity:0.75}25%{opacity:0.25}0%{opacity:0}}@keyframes growWidthPercent{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes growWidth{from{transform:translateY(0)}to{transform:translateY(0)}}@keyframes decreaseWidth{from{transform:translateX(1)}to{transform:translateX(0)}}.NavIcon{width:30px;height:28px;position:relative;margin:3px auto;transform:rotate(0deg);transition:transform 0.2s ease-in-out;cursor:pointer}.NavIcon span{display:block;position:absolute;height:3px;width:100%;background:#ffffff;border-radius:9px;opacity:1;left:0;transform:rotate(0deg);transition:transform 0.2s ease-in-out, opacity 0.2s ease-in-out}.NavIcon span:nth-child(1){top:0px;width:80%}.NavIcon span:nth-child(2){top:9px}.NavIcon span:nth-child(3){top:18px}.NavIcon.Open span:nth-child(1){top:9px;width:100%;transform:rotate(135deg);transition:transform 0.3s ease-in-out}.NavIcon.Open span:nth-child(2){opacity:0;left:-60px}.NavIcon.Open span:nth-child(3){top:9px;transform:rotate(-135deg);transition:transform 0.3s ease-in-out}.SelectedOption{display:flex;align-items:center;justify-content:center}.SelectedOption .TriangleActive,.SelectedOption .TriangleInactive{display:block;margin:0 0 0 10px;transform:rotateX(0deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive svg,.SelectedOption .TriangleInactive svg{margin:-2px 0px;fill:white}.SelectedOption .TriangleActive{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.SelectedOption .TriangleActive:hover{transform:rotateX(180deg);transition:transform 0.2s ease-in-out}.FlagIcon>img{width:20px;height:14px;margin-right:8px;border-radius:2px}.LanguageSelector{padding:5px 0;margin-bottom:0;display:flex;justify-content:space-between;background:linear-gradient(90deg, rgba(35, 178, 78, 0.9) 0%, rgba(0, 61, 93, 0.9) 100%);transition:transform 0.2s linear}.LanguageSelector span{display:inline;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));opacity:0.8;padding:5px 0;display:flex;align-items:center;gap:15px;font-size:14px}.LanguageSelector:active{transition:all 0.2s ease}.LanguageSelector:active span{transition:all 0.1s linear;opacity:1}.LanguageSelector.Open{box-shadow:inset 0 -3.25em 0 0 var(--emw--color-primary)}.LanguageSelector .LanguageSelectorTitle{margin:0 20px}.LanguageSelector .LanguageDropdown{margin-right:16px;display:inline-block}.LanguageSelector .OptionList{position:absolute;background:linear-gradient(90deg, rgba(35, 178, 78, 0.1) 0%, rgba(0, 61, 93, 0.1) 100%);min-width:180px;z-index:1;overflow-y:auto;display:flex;flex-direction:column-reverse;bottom:44px;left:0;gap:5px;padding-bottom:5px;width:100%;height:0px;transition:transform 0.2s linear}.LanguageSelector .OptionList.Open{transition:transform 0.2s linear;height:auto;background-color:var(--emw--color-background-secondary, #000000);overflow:auto}.LanguageSelector .OptionList .LanguageOption{display:flex;border:2px solid #22B04E;border-radius:13px;align-items:center;opacity:0.2;height:0px;background:linear-gradient(90deg, rgba(35, 178, 78, 0.2) 0%, rgba(0, 61, 93, 0.2) 100%);margin:0 5px;transition:transform 0.3s linear}.LanguageSelector .OptionList .LanguageOption.Open{height:50px;opacity:1;padding:10px 5px}.LanguageSelector .OptionList .LanguageOption:active,.LanguageSelector .OptionList .LanguageOption:hover{background:linear-gradient(90deg, rgb(35, 178, 78) 0%, rgb(0, 61, 93) 100%);transform:scale(1.03);transition:transform 0.2s ease-in-out}.LanguageSelector .OptionList .LanguageOption:active span,.LanguageSelector .OptionList .LanguageOption:hover span{color:black}.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:flex;align-items:flex-start;position:fixed;width:100%;height:100%;z-index:100;z-index:999999;top:0;left:0;background-color:rgba(0, 0, 0, 0.85);animation:increaseTransparency 0.2s ease-in forwards}.HamburgerModalWindow>span{opacity:0}.HamburgerModalWindow .HamburgerModalContainer{max-width:992px;position:relative;background:var(--emw--color-primary);display:flex;flex-direction:column;justify-content:space-between;height:100%;padding:0;border-top:0;border-radius:0;overflow-x:hidden;overflow-y:scroll}.HamburgerModalWindow .HamburgerModalContainer.ActiveHamburgerMenu{animation:growWidth 0.2s forwards;transform-origin:left;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer.Closing{animation:decreaseWidth 0.2s backwards;transform-origin:right;animation-fill-mode:backwards;will-change:transform}.HamburgerModalWindow .HamburgerModalContainer .Separator{width:100%;height:5px;background:rgb(0, 0, 0);background:linear-gradient(90deg, rgb(13, 78, 2) 0%, rgb(35, 172, 77) 50%, rgb(13, 78, 2) 100%);z-index:3}.HamburgerModalWindow .ModalCloseBtn{position:relative;top:25px;width:30px;height:30px;opacity:1;margin-left:7px;margin-right:9px;cursor:pointer}.HamburgerModalWindow .ModalCloseBtn .NavIcon .Open{width:90vw}.HamburgerModalWindow .ModalCloseBtn svg{width:20px;height:20px;padding:2px}.HamburgerModalWindow .HamburgerPrimaryMenu,.HamburgerModalWindow .HamburgerSecondaryMenu{font-size:12px;display:flex;color:var(--emw--header-typography, var(--emw--color-white, #FFFFFF));transform-origin:left;transform:scaleX(0);animation:growWidthPercent 0.2s both;animation-delay:0.1s}.HamburgerModalWindow .HamburgerPrimaryMenu li,.HamburgerModalWindow .HamburgerSecondaryMenu li{transition:transform 150ms ease-in-out, opacity 150ms ease-in-out}.HamburgerModalWindow .HamburgerPrimaryMenu img,.HamburgerModalWindow .HamburgerSecondaryMenu img{max-width:40px}.HamburgerModalWindow .HamburgerPrimaryMenu{background:var(--emw--header-color-menu-bg, var(--emw--color-background-secondary, #000000));white-space:nowrap;overflow-x:scroll;list-style:none;width:90vw;text-transform:uppercase;font-size:11px;transition:all 0.2s;min-height:max-content}.HamburgerModalWindow .HamburgerPrimaryMenu>li{max-width:125px;padding:14px 25px;display:inline-block}.HamburgerModalWindow .HamburgerPrimaryMenu>li:active{transform:scale(1.1)}.HamburgerModalWindow .HamburgerPrimaryMenu>li.ActiveItem{background:var(--emw--header-color-primary, var(--emw--color-primary, #22B04F));color:black}.HamburgerModalWindow .HamburgerPrimaryMenu .Loading{width:150px;height:86px;margin:0 2px}.HamburgerModalWindow .HamburgerPrimaryMenu .HamburgerItemContainer{display:flex;flex-direction:column;justify-content:center;align-items:center;gap:14px}.HamburgerModalWindow .HamburgerSecondaryMenu{margin-top:10px;list-style:none;height:85%;overflow:auto;width:90vw;display:flex;flex-direction:column}.HamburgerModalWindow .HamburgerSecondaryMenu.Overlay{opacity:0.5;transition:opacity 0.2s ease-in-out}.HamburgerModalWindow .HamburgerSecondaryMenu li{padding:10px;display:flex;align-items:center;gap:15px;transition:transform 0.2s linear}.HamburgerModalWindow .HamburgerSecondaryMenu li:active{background-color:var(--emw--color-primary);transform:scale(1.1)}.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, #22B04F)}.FlagIcon{margin-left:12px}.NoFlag{width:88%;margin:0 20px}");
4333
4354
  }
4334
- function or(e, t, r) {
4355
+ function sr(e, t, r) {
4335
4356
  const n = e.slice();
4336
4357
  return n[57] = t[r], n;
4337
4358
  }
4338
- function ar(e, t, r) {
4359
+ function ur(e, t, r) {
4339
4360
  const n = e.slice();
4340
4361
  return n[1] = t[r], n;
4341
4362
  }
4342
- function sr(e, t, r) {
4363
+ function lr(e, t, r) {
4343
4364
  const n = e.slice();
4344
4365
  return n[60] = t[r], n;
4345
4366
  }
4346
- function Yo(e, t, r) {
4367
+ function Jo(e, t, r) {
4347
4368
  const n = e.slice();
4348
4369
  return n[66] = t[r], n;
4349
4370
  }
4350
- function lr(e, t, r) {
4371
+ function hr(e, t, r) {
4351
4372
  const n = e.slice();
4352
4373
  return n[63] = t[r], n;
4353
4374
  }
4354
- function ur(e) {
4355
- let t, r, n, i, o, a, s, l, u, h, c, f, m, g, b, w, T, P, B, G, C, X, z;
4375
+ function cr(e) {
4376
+ let t, r, n, i, o, a, s, u, l, h, c, f, d, g, b, w, H, L, P, G, C, X, Z;
4356
4377
  function ie(x, R) {
4357
4378
  return (
4358
4379
  /*HamburgerMenuItems*/
4359
- x[4].length > 0 ? Jo : qo
4380
+ x[4].length > 0 ? ea : Ko
4360
4381
  );
4361
4382
  }
4362
- let J = ie(e), N = J(e), j = Y(
4383
+ let J = ie(e), N = J(e), j = q(
4363
4384
  /*activeMenuItemChildren*/
4364
4385
  e[6]
4365
- ), M = [];
4386
+ ), O = [];
4366
4387
  for (let x = 0; x < j.length; x += 1)
4367
- M[x] = dr(sr(e, j, x));
4368
- let L = (
4388
+ O[x] = mr(lr(e, j, x));
4389
+ let B = (
4369
4390
  /*languagesArray*/
4370
- e[9].length > 1 && mr(e)
4391
+ e[9].length > 1 && gr(e)
4371
4392
  );
4372
4393
  return {
4373
4394
  c() {
4374
4395
  t = y("div"), r = y("div"), n = y("ul"), N.c(), i = U(), o = y("div"), a = U(), s = y("ul");
4375
- for (let x = 0; x < M.length; x += 1)
4376
- M[x].c();
4377
- u = U(), L && L.c(), c = U(), f = y("span"), m = y("div"), g = y("span"), b = U(), w = y("span"), T = U(), P = y("span"), p(n, "class", "HamburgerPrimaryMenu"), p(o, "class", "Separator"), p(s, "class", l = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4378
- (e[10] ? "Overlay" : "")), p(r, "class", h = "HamburgerModalContainer " + /*modalIsOpen*/
4396
+ for (let x = 0; x < O.length; x += 1)
4397
+ O[x].c();
4398
+ l = U(), B && B.c(), c = U(), f = y("span"), d = y("div"), g = y("span"), b = U(), w = y("span"), H = U(), L = y("span"), m(n, "class", "HamburgerPrimaryMenu"), m(o, "class", "Separator"), m(s, "class", u = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4399
+ (e[10] ? "Overlay" : "")), m(r, "class", h = "HamburgerModalContainer " + /*modalIsOpen*/
4379
4400
  (e[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
4380
- (e[12] ? "Closing" : "")), p(m, "class", B = "NavIcon " + (/*navIconClosing*/
4381
- e[13] ? "" : "Open")), p(f, "class", G = /*modalIsOpen*/
4382
- e[7] ? "ModalCloseBtn" : ""), p(f, "role", "button"), p(t, "class", C = "HamburgerModalWindow " + /*isClosing*/
4401
+ (e[12] ? "Closing" : "")), m(d, "class", P = "NavIcon " + (/*navIconClosing*/
4402
+ e[13] ? "" : "Open")), m(f, "class", G = /*modalIsOpen*/
4403
+ e[7] ? "ModalCloseBtn" : ""), m(f, "role", "button"), m(t, "class", C = "HamburgerModalWindow " + /*isClosing*/
4383
4404
  (e[12] ? " Closing" : ""));
4384
4405
  },
4385
4406
  m(x, R) {
4386
4407
  F(x, t, R), v(t, r), v(r, n), N.m(n, null), v(r, i), v(r, o), v(r, a), v(r, s);
4387
- for (let H = 0; H < M.length; H += 1)
4388
- M[H] && M[H].m(s, null);
4389
- v(r, u), L && L.m(r, null), v(t, c), v(t, f), v(f, m), v(m, g), v(m, b), v(m, w), v(m, T), v(m, P), e[40](t), X || (z = re(
4408
+ for (let S = 0; S < O.length; S += 1)
4409
+ O[S] && O[S].m(s, null);
4410
+ v(r, l), B && B.m(r, null), v(t, c), v(t, f), v(f, d), v(d, g), v(d, b), v(d, w), v(d, H), v(d, L), e[40](t), X || (Z = re(
4390
4411
  f,
4391
4412
  "click",
4392
4413
  /*close*/
@@ -4396,47 +4417,47 @@ function ur(e) {
4396
4417
  p(x, R) {
4397
4418
  if (J === (J = ie(x)) && N ? N.p(x, R) : (N.d(1), N = J(x), N && (N.c(), N.m(n, null))), R[0] & /*handleClick, activeMenuItemChildren*/
4398
4419
  262208) {
4399
- j = Y(
4420
+ j = q(
4400
4421
  /*activeMenuItemChildren*/
4401
4422
  x[6]
4402
4423
  );
4403
- let H;
4404
- for (H = 0; H < j.length; H += 1) {
4405
- const W = sr(x, j, H);
4406
- M[H] ? M[H].p(W, R) : (M[H] = dr(W), M[H].c(), M[H].m(s, null));
4424
+ let S;
4425
+ for (S = 0; S < j.length; S += 1) {
4426
+ const W = lr(x, j, S);
4427
+ O[S] ? O[S].p(W, R) : (O[S] = mr(W), O[S].c(), O[S].m(s, null));
4407
4428
  }
4408
- for (; H < M.length; H += 1)
4409
- M[H].d(1);
4410
- M.length = j.length;
4429
+ for (; S < O.length; S += 1)
4430
+ O[S].d(1);
4431
+ O.length = j.length;
4411
4432
  }
4412
4433
  R[0] & /*isOptionsListVisible*/
4413
- 1024 && l !== (l = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4414
- (x[10] ? "Overlay" : "")) && p(s, "class", l), /*languagesArray*/
4415
- x[9].length > 1 ? L ? L.p(x, R) : (L = mr(x), L.c(), L.m(r, null)) : L && (L.d(1), L = null), R[0] & /*modalIsOpen, isClosing*/
4434
+ 1024 && u !== (u = "HamburgerSecondaryMenu " + /*isOptionsListVisible*/
4435
+ (x[10] ? "Overlay" : "")) && m(s, "class", u), /*languagesArray*/
4436
+ x[9].length > 1 ? B ? B.p(x, R) : (B = gr(x), B.c(), B.m(r, null)) : B && (B.d(1), B = null), R[0] & /*modalIsOpen, isClosing*/
4416
4437
  4224 && h !== (h = "HamburgerModalContainer " + /*modalIsOpen*/
4417
4438
  (x[7] ? "ActiveHamburgerMenu" : "") + " " + /*isClosing*/
4418
- (x[12] ? "Closing" : "")) && p(r, "class", h), R[0] & /*navIconClosing*/
4419
- 8192 && B !== (B = "NavIcon " + (/*navIconClosing*/
4420
- x[13] ? "" : "Open")) && p(m, "class", B), R[0] & /*modalIsOpen*/
4439
+ (x[12] ? "Closing" : "")) && m(r, "class", h), R[0] & /*navIconClosing*/
4440
+ 8192 && P !== (P = "NavIcon " + (/*navIconClosing*/
4441
+ x[13] ? "" : "Open")) && m(d, "class", P), R[0] & /*modalIsOpen*/
4421
4442
  128 && G !== (G = /*modalIsOpen*/
4422
- x[7] ? "ModalCloseBtn" : "") && p(f, "class", G), R[0] & /*isClosing*/
4443
+ x[7] ? "ModalCloseBtn" : "") && m(f, "class", G), R[0] & /*isClosing*/
4423
4444
  4096 && C !== (C = "HamburgerModalWindow " + /*isClosing*/
4424
- (x[12] ? " Closing" : "")) && p(t, "class", C);
4445
+ (x[12] ? " Closing" : "")) && m(t, "class", C);
4425
4446
  },
4426
4447
  d(x) {
4427
- x && I(t), N.d(), He(M, x), L && L.d(), e[40](null), X = !1, z();
4448
+ x && I(t), N.d(), Se(O, x), B && B.d(), e[40](null), X = !1, Z();
4428
4449
  }
4429
4450
  };
4430
4451
  }
4431
- function qo(e) {
4432
- let t, r = Y(new Array(5)), n = [];
4452
+ function Ko(e) {
4453
+ let t, r = q(new Array(5)), n = [];
4433
4454
  for (let i = 0; i < r.length; i += 1)
4434
- n[i] = Ko(Yo(e, r, i));
4455
+ n[i] = ta(Jo(e, r, i));
4435
4456
  return {
4436
4457
  c() {
4437
4458
  for (let i = 0; i < n.length; i += 1)
4438
4459
  n[i].c();
4439
- t = xr();
4460
+ t = wr();
4440
4461
  },
4441
4462
  m(i, o) {
4442
4463
  for (let a = 0; a < n.length; a += 1)
@@ -4445,22 +4466,22 @@ function qo(e) {
4445
4466
  },
4446
4467
  p: $,
4447
4468
  d(i) {
4448
- i && I(t), He(n, i);
4469
+ i && I(t), Se(n, i);
4449
4470
  }
4450
4471
  };
4451
4472
  }
4452
- function Jo(e) {
4453
- let t, r = Y(
4473
+ function ea(e) {
4474
+ let t, r = q(
4454
4475
  /*HamburgerMenuItems*/
4455
4476
  e[4]
4456
4477
  ), n = [];
4457
4478
  for (let i = 0; i < r.length; i += 1)
4458
- n[i] = cr(lr(e, r, i));
4479
+ n[i] = pr(hr(e, r, i));
4459
4480
  return {
4460
4481
  c() {
4461
4482
  for (let i = 0; i < n.length; i += 1)
4462
4483
  n[i].c();
4463
- t = xr();
4484
+ t = wr();
4464
4485
  },
4465
4486
  m(i, o) {
4466
4487
  for (let a = 0; a < n.length; a += 1)
@@ -4470,14 +4491,14 @@ function Jo(e) {
4470
4491
  p(i, o) {
4471
4492
  if (o[0] & /*activeMenuItemId, HamburgerMenuItems, changeMenu*/
4472
4493
  131120) {
4473
- r = Y(
4494
+ r = q(
4474
4495
  /*HamburgerMenuItems*/
4475
4496
  i[4]
4476
4497
  );
4477
4498
  let a;
4478
4499
  for (a = 0; a < r.length; a += 1) {
4479
- const s = lr(i, r, a);
4480
- n[a] ? n[a].p(s, o) : (n[a] = cr(s), n[a].c(), n[a].m(t.parentNode, t));
4500
+ const s = hr(i, r, a);
4501
+ n[a] ? n[a].p(s, o) : (n[a] = pr(s), n[a].c(), n[a].m(t.parentNode, t));
4481
4502
  }
4482
4503
  for (; a < n.length; a += 1)
4483
4504
  n[a].d(1);
@@ -4485,15 +4506,15 @@ function Jo(e) {
4485
4506
  }
4486
4507
  },
4487
4508
  d(i) {
4488
- i && I(t), He(n, i);
4509
+ i && I(t), Se(n, i);
4489
4510
  }
4490
4511
  };
4491
4512
  }
4492
- function Ko(e) {
4513
+ function ta(e) {
4493
4514
  let t;
4494
4515
  return {
4495
4516
  c() {
4496
- t = y("div"), t.innerHTML = "", p(t, "class", "Loading Skeleton");
4517
+ t = y("div"), t.innerHTML = "", m(t, "class", "Loading Skeleton");
4497
4518
  },
4498
4519
  m(r, n) {
4499
4520
  F(r, t, n);
@@ -4504,12 +4525,12 @@ function Ko(e) {
4504
4525
  }
4505
4526
  };
4506
4527
  }
4507
- function hr(e) {
4528
+ function fr(e) {
4508
4529
  let t, r;
4509
4530
  return {
4510
4531
  c() {
4511
4532
  t = y("img"), ee(t.src, r = /*mainItem*/
4512
- e[63].img) || p(t, "src", r), p(t, "alt", "menu icon");
4533
+ e[63].img) || m(t, "src", r), m(t, "alt", "menu icon");
4513
4534
  },
4514
4535
  m(n, i) {
4515
4536
  F(n, t, i);
@@ -4517,21 +4538,21 @@ function hr(e) {
4517
4538
  p(n, i) {
4518
4539
  i[0] & /*HamburgerMenuItems*/
4519
4540
  16 && !ee(t.src, r = /*mainItem*/
4520
- n[63].img) && p(t, "src", r);
4541
+ n[63].img) && m(t, "src", r);
4521
4542
  },
4522
4543
  d(n) {
4523
4544
  n && I(t);
4524
4545
  }
4525
4546
  };
4526
4547
  }
4527
- function cr(e) {
4528
- var m;
4548
+ function pr(e) {
4549
+ var d;
4529
4550
  let t, r, n, i, o = (
4530
4551
  /*mainItem*/
4531
4552
  e[63].label + ""
4532
- ), a, s, l, u, h, c = (
4553
+ ), a, s, u, l, h, c = (
4533
4554
  /*mainItem*/
4534
- ((m = e[63]) == null ? void 0 : m.img) && hr(e)
4555
+ ((d = e[63]) == null ? void 0 : d.img) && fr(e)
4535
4556
  );
4536
4557
  function f() {
4537
4558
  return (
@@ -4544,34 +4565,34 @@ function cr(e) {
4544
4565
  }
4545
4566
  return {
4546
4567
  c() {
4547
- t = y("li"), r = y("div"), c && c.c(), n = U(), i = y("p"), a = te(o), s = U(), p(r, "class", "HamburgerItemContainer"), p(t, "class", l = /*activeMenuItemId*/
4568
+ t = y("li"), r = y("div"), c && c.c(), n = U(), i = y("p"), a = te(o), s = U(), m(r, "class", "HamburgerItemContainer"), m(t, "class", u = /*activeMenuItemId*/
4548
4569
  e[5] === /*mainItem*/
4549
4570
  e[63].id ? "ActiveItem" : "");
4550
4571
  },
4551
4572
  m(g, b) {
4552
- F(g, t, b), v(t, r), c && c.m(r, null), v(r, n), v(r, i), v(i, a), v(t, s), u || (h = re(t, "click", f), u = !0);
4573
+ F(g, t, b), v(t, r), c && c.m(r, null), v(r, n), v(r, i), v(i, a), v(t, s), l || (h = re(t, "click", f), l = !0);
4553
4574
  },
4554
4575
  p(g, b) {
4555
4576
  var w;
4556
4577
  e = g, /*mainItem*/
4557
- (w = e[63]) != null && w.img ? c ? c.p(e, b) : (c = hr(e), c.c(), c.m(r, n)) : c && (c.d(1), c = null), b[0] & /*HamburgerMenuItems*/
4578
+ (w = e[63]) != null && w.img ? c ? c.p(e, b) : (c = fr(e), c.c(), c.m(r, n)) : c && (c.d(1), c = null), b[0] & /*HamburgerMenuItems*/
4558
4579
  16 && o !== (o = /*mainItem*/
4559
- e[63].label + "") && ge(a, o), b[0] & /*activeMenuItemId, HamburgerMenuItems*/
4560
- 48 && l !== (l = /*activeMenuItemId*/
4580
+ e[63].label + "") && me(a, o), b[0] & /*activeMenuItemId, HamburgerMenuItems*/
4581
+ 48 && u !== (u = /*activeMenuItemId*/
4561
4582
  e[5] === /*mainItem*/
4562
- e[63].id ? "ActiveItem" : "") && p(t, "class", l);
4583
+ e[63].id ? "ActiveItem" : "") && m(t, "class", u);
4563
4584
  },
4564
4585
  d(g) {
4565
- g && I(t), c && c.d(), u = !1, h();
4586
+ g && I(t), c && c.d(), l = !1, h();
4566
4587
  }
4567
4588
  };
4568
4589
  }
4569
- function fr(e) {
4590
+ function dr(e) {
4570
4591
  let t, r;
4571
4592
  return {
4572
4593
  c() {
4573
4594
  t = y("img"), ee(t.src, r = /*secondaryItem*/
4574
- e[60].img) || p(t, "src", r), p(t, "alt", "menu icon");
4595
+ e[60].img) || m(t, "src", r), m(t, "alt", "menu icon");
4575
4596
  },
4576
4597
  m(n, i) {
4577
4598
  F(n, t, i);
@@ -4579,21 +4600,21 @@ function fr(e) {
4579
4600
  p(n, i) {
4580
4601
  i[0] & /*activeMenuItemChildren*/
4581
4602
  64 && !ee(t.src, r = /*secondaryItem*/
4582
- n[60].img) && p(t, "src", r);
4603
+ n[60].img) && m(t, "src", r);
4583
4604
  },
4584
4605
  d(n) {
4585
4606
  n && I(t);
4586
4607
  }
4587
4608
  };
4588
4609
  }
4589
- function dr(e) {
4610
+ function mr(e) {
4590
4611
  var c;
4591
4612
  let t, r, n, i = (
4592
4613
  /*secondaryItem*/
4593
4614
  e[60].label + ""
4594
- ), o, a, s, l, u = (
4615
+ ), o, a, s, u, l = (
4595
4616
  /*secondaryItem*/
4596
- ((c = e[60]) == null ? void 0 : c.img) && fr(e)
4617
+ ((c = e[60]) == null ? void 0 : c.img) && dr(e)
4597
4618
  );
4598
4619
  function h(...f) {
4599
4620
  return (
@@ -4607,111 +4628,111 @@ function dr(e) {
4607
4628
  }
4608
4629
  return {
4609
4630
  c() {
4610
- t = y("li"), u && u.c(), r = U(), n = y("p"), o = te(i), a = U();
4631
+ t = y("li"), l && l.c(), r = U(), n = y("p"), o = te(i), a = U();
4611
4632
  },
4612
- m(f, m) {
4613
- F(f, t, m), u && u.m(t, null), v(t, r), v(t, n), v(n, o), v(t, a), s || (l = re(t, "click", h), s = !0);
4633
+ m(f, d) {
4634
+ F(f, t, d), l && l.m(t, null), v(t, r), v(t, n), v(n, o), v(t, a), s || (u = re(t, "click", h), s = !0);
4614
4635
  },
4615
- p(f, m) {
4636
+ p(f, d) {
4616
4637
  var g;
4617
4638
  e = f, /*secondaryItem*/
4618
- (g = e[60]) != null && g.img ? u ? u.p(e, m) : (u = fr(e), u.c(), u.m(t, r)) : u && (u.d(1), u = null), m[0] & /*activeMenuItemChildren*/
4639
+ (g = e[60]) != null && g.img ? l ? l.p(e, d) : (l = dr(e), l.c(), l.m(t, r)) : l && (l.d(1), l = null), d[0] & /*activeMenuItemChildren*/
4619
4640
  64 && i !== (i = /*secondaryItem*/
4620
- e[60].label + "") && ge(o, i);
4641
+ e[60].label + "") && me(o, i);
4621
4642
  },
4622
4643
  d(f) {
4623
- f && I(t), u && u.d(), s = !1, l();
4644
+ f && I(t), l && l.d(), s = !1, u();
4624
4645
  }
4625
4646
  };
4626
4647
  }
4627
- function mr(e) {
4648
+ function gr(e) {
4628
4649
  let t, r, n = (
4629
4650
  /*$_*/
4630
4651
  e[15]("language") + ""
4631
- ), i, o, a, s, l;
4632
- function u(f, m) {
4652
+ ), i, o, a, s, u;
4653
+ function l(f, d) {
4633
4654
  return (
4634
4655
  /*countryflaghamburger*/
4635
- f[0] !== "true" ? ta : ea
4656
+ f[0] !== "true" ? na : ra
4636
4657
  );
4637
4658
  }
4638
- let h = u(e), c = h(e);
4659
+ let h = l(e), c = h(e);
4639
4660
  return {
4640
4661
  c() {
4641
- t = y("div"), r = y("span"), i = te(n), o = U(), c.c(), p(r, "class", "LanguageSelectorTitle"), p(t, "class", a = "LanguageSelector " + /*isOptionsListVisible*/
4662
+ t = y("div"), r = y("span"), i = te(n), o = U(), c.c(), m(r, "class", "LanguageSelectorTitle"), m(t, "class", a = "LanguageSelector " + /*isOptionsListVisible*/
4642
4663
  (e[10] ? "Open" : ""));
4643
4664
  },
4644
- m(f, m) {
4645
- F(f, t, m), v(t, r), v(r, i), v(t, o), c.m(t, null), s || (l = re(
4665
+ m(f, d) {
4666
+ F(f, t, d), v(t, r), v(r, i), v(t, o), c.m(t, null), s || (u = re(
4646
4667
  t,
4647
4668
  "click",
4648
4669
  /*toggleLanguageDropdown*/
4649
4670
  e[21]
4650
4671
  ), s = !0);
4651
4672
  },
4652
- p(f, m) {
4653
- m[0] & /*$_*/
4673
+ p(f, d) {
4674
+ d[0] & /*$_*/
4654
4675
  32768 && n !== (n = /*$_*/
4655
- f[15]("language") + "") && ge(i, n), h === (h = u(f)) && c ? c.p(f, m) : (c.d(1), c = h(f), c && (c.c(), c.m(t, null))), m[0] & /*isOptionsListVisible*/
4676
+ f[15]("language") + "") && me(i, n), h === (h = l(f)) && c ? c.p(f, d) : (c.d(1), c = h(f), c && (c.c(), c.m(t, null))), d[0] & /*isOptionsListVisible*/
4656
4677
  1024 && a !== (a = "LanguageSelector " + /*isOptionsListVisible*/
4657
- (f[10] ? "Open" : "")) && p(t, "class", a);
4678
+ (f[10] ? "Open" : "")) && m(t, "class", a);
4658
4679
  },
4659
4680
  d(f) {
4660
- f && I(t), c.d(), s = !1, l();
4681
+ f && I(t), c.d(), s = !1, u();
4661
4682
  }
4662
4683
  };
4663
4684
  }
4664
- function ea(e) {
4665
- let t, r, n, i, o, a, s, l = (
4685
+ function ra(e) {
4686
+ let t, r, n, i, o, a, s, u = (
4666
4687
  /*selectedLanguage*/
4667
4688
  e[14].slice(-2) + ""
4668
- ), u, h, c, f, m, g, b, w = (
4689
+ ), l, h, c, f, d, g, b, w = (
4669
4690
  /*isOptionsListVisible*/
4670
- e[10] && pr(e)
4691
+ e[10] && br(e)
4671
4692
  );
4672
4693
  return {
4673
4694
  c() {
4674
- t = y("div"), r = y("div"), n = y("span"), i = y("img"), a = U(), s = y("span"), u = te(l), h = U(), c = y("span"), f = It("svg"), m = It("path"), b = U(), w && w.c(), ee(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4695
+ t = y("div"), r = y("div"), n = y("span"), i = y("img"), a = U(), s = y("span"), l = te(u), h = U(), c = y("span"), f = Nt("svg"), d = Nt("path"), b = U(), w && w.c(), ee(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4675
4696
  e[22](
4676
4697
  /*selectedLanguage*/
4677
4698
  e[14]
4678
- )}.svg`) || p(i, "src", o), p(n, "class", "FlagIcon"), p(s, "class", "LanguageName"), p(m, "id", "arrow"), p(m, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), p(m, "transform", "translate(-274.511 -441.088)"), p(m, "fill", "#d1d1d1"), p(f, "xmlns", "http://www.w3.org/2000/svg"), p(f, "width", "14"), p(f, "height", "6.835"), p(f, "viewBox", "0 0 14 6.835"), p(c, "class", g = "TriangleInactive " + /*isOptionsListVisible*/
4679
- (e[10] ? "TriangleActive" : "")), p(r, "class", "SelectedOption Item ItemLanguage"), p(t, "class", "LanguageDropdown");
4699
+ )}.svg`) || m(i, "src", o), m(n, "class", "FlagIcon"), m(s, "class", "LanguageName"), m(d, "id", "arrow"), m(d, "d", "M281.541,447.921a.488.488,0,0,0,.295-.122l6.5-5.851a.488.488,0,1,0-.65-.726l-6.176,5.556-6.176-5.556h0a.488.488,0,1,0-.65.726l6.5,5.851a.488.488,0,0,0,.355.122Z"), m(d, "transform", "translate(-274.511 -441.088)"), m(d, "fill", "#d1d1d1"), m(f, "xmlns", "http://www.w3.org/2000/svg"), m(f, "width", "14"), m(f, "height", "6.835"), m(f, "viewBox", "0 0 14 6.835"), m(c, "class", g = "TriangleInactive " + /*isOptionsListVisible*/
4700
+ (e[10] ? "TriangleActive" : "")), m(r, "class", "SelectedOption Item ItemLanguage"), m(t, "class", "LanguageDropdown");
4680
4701
  },
4681
- m(T, P) {
4682
- F(T, t, P), v(t, r), v(r, n), v(n, i), v(r, a), v(r, s), v(s, u), v(r, h), v(r, c), v(c, f), v(f, m), v(t, b), w && w.m(t, null);
4702
+ m(H, L) {
4703
+ F(H, t, L), v(t, r), v(r, n), v(n, i), v(r, a), v(r, s), v(s, l), v(r, h), v(r, c), v(c, f), v(f, d), v(t, b), w && w.m(t, null);
4683
4704
  },
4684
- p(T, P) {
4685
- P[0] & /*selectedLanguage, languagesArray*/
4705
+ p(H, L) {
4706
+ L[0] & /*selectedLanguage, languagesArray*/
4686
4707
  16896 && !ee(i.src, o = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4687
- T[22](
4708
+ H[22](
4688
4709
  /*selectedLanguage*/
4689
- T[14]
4690
- )}.svg`) && p(i, "src", o), P[0] & /*selectedLanguage*/
4691
- 16384 && l !== (l = /*selectedLanguage*/
4692
- T[14].slice(-2) + "") && ge(u, l), P[0] & /*isOptionsListVisible*/
4710
+ H[14]
4711
+ )}.svg`) && m(i, "src", o), L[0] & /*selectedLanguage*/
4712
+ 16384 && u !== (u = /*selectedLanguage*/
4713
+ H[14].slice(-2) + "") && me(l, u), L[0] & /*isOptionsListVisible*/
4693
4714
  1024 && g !== (g = "TriangleInactive " + /*isOptionsListVisible*/
4694
- (T[10] ? "TriangleActive" : "")) && p(c, "class", g), /*isOptionsListVisible*/
4695
- T[10] ? w ? w.p(T, P) : (w = pr(T), w.c(), w.m(t, null)) : w && (w.d(1), w = null);
4715
+ (H[10] ? "TriangleActive" : "")) && m(c, "class", g), /*isOptionsListVisible*/
4716
+ H[10] ? w ? w.p(H, L) : (w = br(H), w.c(), w.m(t, null)) : w && (w.d(1), w = null);
4696
4717
  },
4697
- d(T) {
4698
- T && I(t), w && w.d();
4718
+ d(H) {
4719
+ H && I(t), w && w.d();
4699
4720
  }
4700
4721
  };
4701
4722
  }
4702
- function ta(e) {
4703
- let t, r, n, i = Y(
4723
+ function na(e) {
4724
+ let t, r, n, i = q(
4704
4725
  /*languagesArray*/
4705
4726
  e[9]
4706
4727
  ), o = [];
4707
4728
  for (let a = 0; a < i.length; a += 1)
4708
- o[a] = br(ar(e, i, a));
4729
+ o[a] = yr(ur(e, i, a));
4709
4730
  return {
4710
4731
  c() {
4711
4732
  t = y("select");
4712
4733
  for (let a = 0; a < o.length; a += 1)
4713
4734
  o[a].c();
4714
- p(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
4735
+ m(t, "class", "Item ItemLanguage NoFlag"), /*selectedLanguage*/
4715
4736
  e[14] === void 0 && Re(() => (
4716
4737
  /*select_change_handler*/
4717
4738
  e[37].call(t)
@@ -4719,9 +4740,9 @@ function ta(e) {
4719
4740
  },
4720
4741
  m(a, s) {
4721
4742
  F(a, t, s);
4722
- for (let l = 0; l < o.length; l += 1)
4723
- o[l] && o[l].m(t, null);
4724
- Nt(
4743
+ for (let u = 0; u < o.length; u += 1)
4744
+ o[u] && o[u].m(t, null);
4745
+ Ut(
4725
4746
  t,
4726
4747
  /*selectedLanguage*/
4727
4748
  e[14],
@@ -4744,44 +4765,44 @@ function ta(e) {
4744
4765
  p(a, s) {
4745
4766
  if (s[0] & /*languagesArray*/
4746
4767
  512) {
4747
- i = Y(
4768
+ i = q(
4748
4769
  /*languagesArray*/
4749
4770
  a[9]
4750
4771
  );
4751
- let l;
4752
- for (l = 0; l < i.length; l += 1) {
4753
- const u = ar(a, i, l);
4754
- o[l] ? o[l].p(u, s) : (o[l] = br(u), o[l].c(), o[l].m(t, null));
4772
+ let u;
4773
+ for (u = 0; u < i.length; u += 1) {
4774
+ const l = ur(a, i, u);
4775
+ o[u] ? o[u].p(l, s) : (o[u] = yr(l), o[u].c(), o[u].m(t, null));
4755
4776
  }
4756
- for (; l < o.length; l += 1)
4757
- o[l].d(1);
4777
+ for (; u < o.length; u += 1)
4778
+ o[u].d(1);
4758
4779
  o.length = i.length;
4759
4780
  }
4760
4781
  s[0] & /*selectedLanguage, languagesArray*/
4761
- 16896 && Nt(
4782
+ 16896 && Ut(
4762
4783
  t,
4763
4784
  /*selectedLanguage*/
4764
4785
  a[14]
4765
4786
  );
4766
4787
  },
4767
4788
  d(a) {
4768
- a && I(t), He(o, a), r = !1, pe(n);
4789
+ a && I(t), Se(o, a), r = !1, de(n);
4769
4790
  }
4770
4791
  };
4771
4792
  }
4772
- function pr(e) {
4773
- let t, r, n = Y(
4793
+ function br(e) {
4794
+ let t, r, n = q(
4774
4795
  /*languagesArray*/
4775
4796
  e[9]
4776
4797
  ), i = [];
4777
4798
  for (let o = 0; o < n.length; o += 1)
4778
- i[o] = gr(or(e, n, o));
4799
+ i[o] = vr(sr(e, n, o));
4779
4800
  return {
4780
4801
  c() {
4781
4802
  t = y("div");
4782
4803
  for (let o = 0; o < i.length; o += 1)
4783
4804
  i[o].c();
4784
- p(t, "class", r = "OptionList " + /*languageListOpen*/
4805
+ m(t, "class", r = "OptionList " + /*languageListOpen*/
4785
4806
  (e[11] ? "Open" : ""));
4786
4807
  },
4787
4808
  m(o, a) {
@@ -4792,14 +4813,14 @@ function pr(e) {
4792
4813
  p(o, a) {
4793
4814
  if (a[0] & /*languageListOpen, selectLanguage, languagesArray, determineFlag*/
4794
4815
  5245440) {
4795
- n = Y(
4816
+ n = q(
4796
4817
  /*languagesArray*/
4797
4818
  o[9]
4798
4819
  );
4799
4820
  let s;
4800
4821
  for (s = 0; s < n.length; s += 1) {
4801
- const l = or(o, n, s);
4802
- i[s] ? i[s].p(l, a) : (i[s] = gr(l), i[s].c(), i[s].m(t, null));
4822
+ const u = sr(o, n, s);
4823
+ i[s] ? i[s].p(u, a) : (i[s] = vr(u), i[s].c(), i[s].m(t, null));
4803
4824
  }
4804
4825
  for (; s < i.length; s += 1)
4805
4826
  i[s].d(1);
@@ -4807,19 +4828,19 @@ function pr(e) {
4807
4828
  }
4808
4829
  a[0] & /*languageListOpen*/
4809
4830
  2048 && r !== (r = "OptionList " + /*languageListOpen*/
4810
- (o[11] ? "Open" : "")) && p(t, "class", r);
4831
+ (o[11] ? "Open" : "")) && m(t, "class", r);
4811
4832
  },
4812
4833
  d(o) {
4813
- o && I(t), He(i, o);
4834
+ o && I(t), Se(i, o);
4814
4835
  }
4815
4836
  };
4816
4837
  }
4817
- function gr(e) {
4838
+ function vr(e) {
4818
4839
  let t, r, n, i, o, a, s = (
4819
4840
  /*operatorLanguage*/
4820
4841
  e[57] + ""
4821
- ), l, u, h, c, f;
4822
- function m() {
4842
+ ), u, l, h, c, f;
4843
+ function d() {
4823
4844
  return (
4824
4845
  /*click_handler_2*/
4825
4846
  e[39](
@@ -4830,15 +4851,15 @@ function gr(e) {
4830
4851
  }
4831
4852
  return {
4832
4853
  c() {
4833
- t = y("div"), r = y("span"), n = y("img"), o = U(), a = y("span"), l = te(s), u = U(), ee(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4854
+ t = y("div"), r = y("span"), n = y("img"), o = U(), a = y("span"), u = te(s), l = U(), ee(n.src, i = `http://purecatamphetamine.github.io/country-flag-icons/3x2/${/*determineFlag*/
4834
4855
  e[22](
4835
4856
  /*operatorLanguage*/
4836
4857
  e[57]
4837
- )}.svg`) || p(n, "src", i), p(r, "class", "FlagIcon"), p(a, "class", "LanguageName"), p(t, "class", h = "LanguageOption " + /*languageListOpen*/
4858
+ )}.svg`) || m(n, "src", i), m(r, "class", "FlagIcon"), m(a, "class", "LanguageName"), m(t, "class", h = "LanguageOption " + /*languageListOpen*/
4838
4859
  (e[11] ? "Open" : ""));
4839
4860
  },
4840
4861
  m(g, b) {
4841
- F(g, t, b), v(t, r), v(r, n), v(t, o), v(t, a), v(a, l), v(t, u), c || (f = re(t, "click", m), c = !0);
4862
+ F(g, t, b), v(t, r), v(r, n), v(t, o), v(t, a), v(a, u), v(t, l), c || (f = re(t, "click", d), c = !0);
4842
4863
  },
4843
4864
  p(g, b) {
4844
4865
  e = g, b[0] & /*languagesArray*/
@@ -4846,18 +4867,18 @@ function gr(e) {
4846
4867
  e[22](
4847
4868
  /*operatorLanguage*/
4848
4869
  e[57]
4849
- )}.svg`) && p(n, "src", i), b[0] & /*languagesArray*/
4870
+ )}.svg`) && m(n, "src", i), b[0] & /*languagesArray*/
4850
4871
  512 && s !== (s = /*operatorLanguage*/
4851
- e[57] + "") && ge(l, s), b[0] & /*languageListOpen*/
4872
+ e[57] + "") && me(u, s), b[0] & /*languageListOpen*/
4852
4873
  2048 && h !== (h = "LanguageOption " + /*languageListOpen*/
4853
- (e[11] ? "Open" : "")) && p(t, "class", h);
4874
+ (e[11] ? "Open" : "")) && m(t, "class", h);
4854
4875
  },
4855
4876
  d(g) {
4856
4877
  g && I(t), c = !1, f();
4857
4878
  }
4858
4879
  };
4859
4880
  }
4860
- function br(e) {
4881
+ function yr(e) {
4861
4882
  let t, r = (
4862
4883
  /*lang*/
4863
4884
  e[1].slice(-2) + ""
@@ -4865,7 +4886,7 @@ function br(e) {
4865
4886
  return {
4866
4887
  c() {
4867
4888
  t = y("option"), n = te(r), t.__value = i = /*lang*/
4868
- e[1], Ct(t, t.__value), t.selected = !0;
4889
+ e[1], Rt(t, t.__value), t.selected = !0;
4869
4890
  },
4870
4891
  m(o, a) {
4871
4892
  F(o, t, a), v(t, n);
@@ -4873,19 +4894,19 @@ function br(e) {
4873
4894
  p(o, a) {
4874
4895
  a[0] & /*languagesArray*/
4875
4896
  512 && r !== (r = /*lang*/
4876
- o[1].slice(-2) + "") && ge(n, r), a[0] & /*languagesArray*/
4897
+ o[1].slice(-2) + "") && me(n, r), a[0] & /*languagesArray*/
4877
4898
  512 && i !== (i = /*lang*/
4878
- o[1]) && (t.__value = i, Ct(t, t.__value));
4899
+ o[1]) && (t.__value = i, Rt(t, t.__value));
4879
4900
  },
4880
4901
  d(o) {
4881
4902
  o && I(t);
4882
4903
  }
4883
4904
  };
4884
4905
  }
4885
- function ra(e) {
4906
+ function ia(e) {
4886
4907
  let t, r = (
4887
4908
  /*show*/
4888
- e[8] === !0 && ur(e)
4909
+ e[8] === !0 && cr(e)
4889
4910
  );
4890
4911
  return {
4891
4912
  c() {
@@ -4896,7 +4917,7 @@ function ra(e) {
4896
4917
  },
4897
4918
  p(n, i) {
4898
4919
  /*show*/
4899
- n[8] === !0 ? r ? r.p(n, i) : (r = ur(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4920
+ n[8] === !0 ? r ? r.p(n, i) : (r = cr(n), r.c(), r.m(t, null)) : r && (r.d(1), r = null);
4900
4921
  },
4901
4922
  i: $,
4902
4923
  o: $,
@@ -4905,30 +4926,30 @@ function ra(e) {
4905
4926
  }
4906
4927
  };
4907
4928
  }
4908
- function na(e, t, r) {
4929
+ function oa(e, t, r) {
4909
4930
  let n;
4910
- yn(e, $o, (d) => r(15, n = d));
4911
- let { menuitemsurl: i = "" } = t, { cmsendpoint: o } = t, { cmsenv: a = "stage" } = t, { userroles: s } = t, { lang: l = "en" } = t, { activecategory: u = "" } = t, { languageslist: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, { clientstyling: m = "" } = t, { clientstylingurl: g = "" } = t, { customlocaleidentifier: b = "" } = t, { countryflaghamburger: w = "" } = t, T, P = window.navigator.userAgent, B = [], G, C = "", X = [], z = !1, ie = !1, J = !0, N = [], j = !1, M = !1, L = !1, x = !1, R = !0, H, W = "", Z;
4912
- const en = () => {
4913
- fetch(c).then((d) => d.json()).then((d) => {
4914
- Object.keys(d).forEach((A) => {
4915
- nr(A, d[A]);
4931
+ _n(e, Wo, (p) => r(15, n = p));
4932
+ let { menuitemsurl: i = "" } = t, { cmsendpoint: o } = t, { cmsenv: a = "stage" } = t, { userroles: s } = t, { lang: u = "en" } = t, { activecategory: l = "" } = t, { languageslist: h = "" } = t, { translationurl: c = "" } = t, { mbsource: f } = t, { clientstyling: d = "" } = t, { clientstylingurl: g = "" } = t, { customlocaleidentifier: b = "" } = t, { countryflaghamburger: w = "" } = t, H, L = window.navigator.userAgent, P = [], G, C = "", X = [], Z = !1, ie = !1, J = !0, N = [], j = !1, O = !1, B = !1, x = !1, R = !0, S, W = "", Q;
4933
+ const tn = () => {
4934
+ fetch(c).then((p) => p.json()).then((p) => {
4935
+ Object.keys(p).forEach((A) => {
4936
+ or(A, p[A]);
4916
4937
  });
4917
- }).catch((d) => {
4918
- console.log(d);
4938
+ }).catch((p) => {
4939
+ console.log(p);
4919
4940
  });
4920
4941
  };
4921
- Object.keys(ir).forEach((d) => {
4922
- nr(d, ir[d]);
4942
+ Object.keys(ar).forEach((p) => {
4943
+ or(p, ar[p]);
4923
4944
  });
4924
- const We = () => {
4925
- H = new URL(`${o}/${W.toLowerCase()}/hamburger-menu`);
4926
- let d = Wo(P);
4927
- d && (d === "PC" ? H.searchParams.append("device", "dk") : H.searchParams.append("device", "mtWeb")), H.searchParams.append("env", a), H.searchParams.append("language", W.toLowerCase()), H.searchParams.append("userRoles", s);
4928
- }, _t = () => {
4929
- r(12, x = !0), r(13, R = !0), r(10, M = !1), r(11, L = !1), setTimeout(
4945
+ const Xe = () => {
4946
+ S = new URL(`${o}/${W.toLowerCase()}/hamburger-menu`);
4947
+ let p = Xo(L);
4948
+ p && (p === "PC" ? S.searchParams.append("device", "dk") : S.searchParams.append("device", "mtWeb")), S.searchParams.append("env", a), S.searchParams.append("language", W.toLowerCase()), S.searchParams.append("userRoles", s);
4949
+ }, Et = () => {
4950
+ r(12, x = !0), r(13, R = !0), r(10, O = !1), r(11, B = !1), setTimeout(
4930
4951
  () => {
4931
- r(8, ie = !1), r(7, z = !1);
4952
+ r(8, ie = !1), r(7, Z = !1);
4932
4953
  },
4933
4954
  200
4934
4955
  ), window.postMessage(
@@ -4938,51 +4959,51 @@ function na(e, t, r) {
4938
4959
  },
4939
4960
  window.location.href
4940
4961
  );
4941
- }, xt = (d) => {
4942
- d.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(12, x = !1), setTimeout(
4962
+ }, wt = (p) => {
4963
+ p.data.type === "OpenHamburgerMenuModal" && (window.postMessage({ type: "DisableScroll" }, window.location.href), r(12, x = !1), setTimeout(
4943
4964
  () => {
4944
4965
  r(13, R = !1);
4945
4966
  },
4946
4967
  125
4947
- ), r(8, ie = !0), r(7, z = !0), We(), wt(H)), d.data.type === "LanguageChanged" && (j = !0, We(), wt(H));
4948
- }, Oe = (d, A) => {
4949
- r(5, C = d), r(6, X = A || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
4968
+ ), r(8, ie = !0), r(7, Z = !0), Xe(), Ht(S)), p.data.type === "LanguageChanged" && (j = !0, Xe(), Ht(S));
4969
+ }, Oe = (p, A) => {
4970
+ r(5, C = p), r(6, X = A || []), typeof gtag == "function" && gtag("event", "ChangeMenu", {
4950
4971
  context: "HamburgerMenu",
4951
4972
  menuItem: `${C}`
4952
4973
  });
4953
- }, Et = () => {
4954
- let d = B.filter((A) => {
4955
- var Ot;
4974
+ }, St = () => {
4975
+ let p = P.filter((A) => {
4976
+ var Mt;
4956
4977
  let oe = !1;
4957
- return (Ot = A.children) == null || Ot.forEach((fn) => {
4958
- fn.path.includes(u) && (oe = !0);
4978
+ return (Mt = A.children) == null || Mt.forEach((pn) => {
4979
+ pn.path.includes(l) && (oe = !0);
4959
4980
  }), oe;
4960
4981
  });
4961
- d.length > 0 ? Oe(d[0].id, d[0].children) : Oe(B[0].id, B[0].children);
4962
- }, wt = (d) => {
4963
- G && !j || St(d);
4964
- }, St = (d) => {
4965
- fetch(d).then((A) => A.json()).then(
4982
+ p.length > 0 ? Oe(p[0].id, p[0].children) : Oe(P[0].id, P[0].children);
4983
+ }, Ht = (p) => {
4984
+ G && !j || Tt(p);
4985
+ }, Tt = (p) => {
4986
+ fetch(p).then((A) => A.json()).then(
4966
4987
  (A) => {
4967
- r(4, B = A.filter((oe) => (oe == null ? void 0 : oe.type) !== "banner")), Et(), r(34, J = !1), G = A, j = !1;
4988
+ r(4, P = A.filter((oe) => (oe == null ? void 0 : oe.type) !== "banner")), St(), r(34, J = !1), G = A, j = !1;
4968
4989
  },
4969
4990
  (A) => {
4970
4991
  console.error(A);
4971
4992
  }
4972
4993
  );
4973
4994
  };
4974
- let Ht = (d) => {
4995
+ let Ot = (p) => {
4975
4996
  window.postMessage(
4976
4997
  {
4977
4998
  type: "NavigateTo",
4978
- path: d.path,
4979
- externalLink: d.externalLink || !1,
4980
- target: d.attrs.target || null
4999
+ path: p.path,
5000
+ externalLink: p.externalLink || !1,
5001
+ target: p.attrs.target || null
4981
5002
  },
4982
5003
  window.location.href
4983
- ), _t();
5004
+ ), Et();
4984
5005
  };
4985
- const Ve = () => {
5006
+ const ze = () => {
4986
5007
  j = !0, window.postMessage(
4987
5008
  {
4988
5009
  type: "LanguageChanged",
@@ -4990,122 +5011,122 @@ function na(e, t, r) {
4990
5011
  },
4991
5012
  window.location.href
4992
5013
  );
4993
- }, tn = () => {
4994
- Zo(l), We(), j && St(H), r(9, N = h.replace(/ /g, "").split(",")), r(9, N = N.map((d) => d.toUpperCase())), r(14, W = l.toUpperCase());
4995
- }, Tt = (d) => {
4996
- r(14, W = d), setTimeout(
5014
+ }, rn = () => {
5015
+ Yo(u), Xe(), j && Tt(S), r(9, N = h.replace(/ /g, "").split(",")), r(9, N = N.map((p) => p.toUpperCase())), r(14, W = u.toUpperCase());
5016
+ }, At = (p) => {
5017
+ r(14, W = p), setTimeout(
4997
5018
  () => {
4998
- r(11, L = !1);
5019
+ r(11, B = !1);
4999
5020
  },
5000
5021
  250
5001
5022
  ), setTimeout(
5002
5023
  () => {
5003
- r(10, M = !1);
5024
+ r(10, O = !1);
5004
5025
  },
5005
5026
  500
5006
- ), Ve();
5007
- }, rn = () => {
5008
- M ? (setTimeout(
5027
+ ), ze();
5028
+ }, nn = () => {
5029
+ O ? (setTimeout(
5009
5030
  () => {
5010
- r(10, M = !1);
5031
+ r(10, O = !1);
5011
5032
  },
5012
5033
  250
5013
- ), r(11, L = !1)) : (r(10, M = !0), setTimeout(
5034
+ ), r(11, B = !1)) : (r(10, O = !0), setTimeout(
5014
5035
  () => {
5015
- r(11, L = !0);
5036
+ r(11, B = !0);
5016
5037
  },
5017
5038
  300
5018
5039
  ));
5019
- }, nn = (d) => {
5020
- let A = d ? d.slice(-2) : W.slice(-2);
5040
+ }, on = (p) => {
5041
+ let A = p ? p.slice(-2) : W.slice(-2);
5021
5042
  return b && (A = b.includes(A.toLowerCase()) ? b.slice(-2) : A), A == "EN" ? "GB" : A.toUpperCase();
5022
5043
  };
5023
- On(() => (window.addEventListener("message", xt, !1), jo(P), () => {
5024
- window.removeEventListener("message", xt);
5044
+ An(() => (window.addEventListener("message", wt, !1), Vo(L), () => {
5045
+ window.removeEventListener("message", wt);
5025
5046
  }));
5026
- const on = (d) => Oe(d.id, d.children), an = (d, A) => {
5027
- Ht(d), A.preventDefault();
5047
+ const an = (p) => Oe(p.id, p.children), sn = (p, A) => {
5048
+ Ot(p), A.preventDefault();
5028
5049
  };
5029
- function sn() {
5030
- W = Sn(this), r(14, W), r(9, N);
5050
+ function un() {
5051
+ W = Hn(this), r(14, W), r(9, N);
5031
5052
  }
5032
- const ln = () => Ve(), un = (d) => Tt(d);
5033
- function hn(d) {
5034
- Ne[d ? "unshift" : "push"](() => {
5035
- T = d, r(3, T);
5053
+ const ln = () => ze(), hn = (p) => At(p);
5054
+ function cn(p) {
5055
+ Ne[p ? "unshift" : "push"](() => {
5056
+ H = p, r(3, H);
5036
5057
  });
5037
5058
  }
5038
- function cn(d) {
5039
- Ne[d ? "unshift" : "push"](() => {
5040
- Z = d, r(2, Z);
5059
+ function fn(p) {
5060
+ Ne[p ? "unshift" : "push"](() => {
5061
+ Q = p, r(2, Q);
5041
5062
  });
5042
5063
  }
5043
- return e.$$set = (d) => {
5044
- "menuitemsurl" in d && r(23, i = d.menuitemsurl), "cmsendpoint" in d && r(24, o = d.cmsendpoint), "cmsenv" in d && r(25, a = d.cmsenv), "userroles" in d && r(26, s = d.userroles), "lang" in d && r(1, l = d.lang), "activecategory" in d && r(27, u = d.activecategory), "languageslist" in d && r(28, h = d.languageslist), "translationurl" in d && r(29, c = d.translationurl), "mbsource" in d && r(30, f = d.mbsource), "clientstyling" in d && r(31, m = d.clientstyling), "clientstylingurl" in d && r(32, g = d.clientstylingurl), "customlocaleidentifier" in d && r(33, b = d.customlocaleidentifier), "countryflaghamburger" in d && r(0, w = d.countryflaghamburger);
5064
+ return e.$$set = (p) => {
5065
+ "menuitemsurl" in p && r(23, i = p.menuitemsurl), "cmsendpoint" in p && r(24, o = p.cmsendpoint), "cmsenv" in p && r(25, a = p.cmsenv), "userroles" in p && r(26, s = p.userroles), "lang" in p && r(1, u = p.lang), "activecategory" in p && r(27, l = p.activecategory), "languageslist" in p && r(28, h = p.languageslist), "translationurl" in p && r(29, c = p.translationurl), "mbsource" in p && r(30, f = p.mbsource), "clientstyling" in p && r(31, d = p.clientstyling), "clientstylingurl" in p && r(32, g = p.clientstylingurl), "customlocaleidentifier" in p && r(33, b = p.customlocaleidentifier), "countryflaghamburger" in p && r(0, w = p.countryflaghamburger);
5045
5066
  }, e.$$.update = () => {
5046
5067
  e.$$.dirty[0] & /*cmsendpoint, cmsenv, lang, languageslist*/
5047
- 318767106 && o && a && l && h && tn(), e.$$.dirty[0] & /*activecategory*/
5068
+ 318767106 && o && a && u && h && rn(), e.$$.dirty[0] & /*activecategory*/
5048
5069
  134217728 | e.$$.dirty[1] & /*isLoading*/
5049
- 8 && u && !J && Et(), e.$$.dirty[0] & /*translationurl*/
5050
- 536870912 && c && en(), e.$$.dirty[0] & /*customStylingContainer*/
5070
+ 8 && l && !J && St(), e.$$.dirty[0] & /*translationurl*/
5071
+ 536870912 && c && tn(), e.$$.dirty[0] & /*customStylingContainer*/
5051
5072
  4 | e.$$.dirty[1] & /*clientstyling*/
5052
- 1 && m && Z && Vo(Z, m), e.$$.dirty[0] & /*customStylingContainer*/
5073
+ 1 && d && Q && zo(Q, d), e.$$.dirty[0] & /*customStylingContainer*/
5053
5074
  4 | e.$$.dirty[1] & /*clientstylingurl*/
5054
- 2 && g && Z && Xo(Z, g), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5055
- 1073741828 && f && Z && zo(Z, `${f}.Style`);
5075
+ 2 && g && Q && Zo(Q, g), e.$$.dirty[0] & /*mbsource, customStylingContainer*/
5076
+ 1073741828 && f && Q && Qo(Q, `${f}.Style`);
5056
5077
  }, [
5057
5078
  w,
5058
- l,
5059
- Z,
5060
- T,
5061
- B,
5079
+ u,
5080
+ Q,
5081
+ H,
5082
+ P,
5062
5083
  C,
5063
5084
  X,
5064
- z,
5085
+ Z,
5065
5086
  ie,
5066
5087
  N,
5067
- M,
5068
- L,
5088
+ O,
5089
+ B,
5069
5090
  x,
5070
5091
  R,
5071
5092
  W,
5072
5093
  n,
5073
- _t,
5094
+ Et,
5074
5095
  Oe,
5075
- Ht,
5076
- Ve,
5077
- Tt,
5078
- rn,
5096
+ Ot,
5097
+ ze,
5098
+ At,
5079
5099
  nn,
5100
+ on,
5080
5101
  i,
5081
5102
  o,
5082
5103
  a,
5083
5104
  s,
5084
- u,
5105
+ l,
5085
5106
  h,
5086
5107
  c,
5087
5108
  f,
5088
- m,
5109
+ d,
5089
5110
  g,
5090
5111
  b,
5091
5112
  J,
5092
- on,
5093
5113
  an,
5094
5114
  sn,
5095
- ln,
5096
5115
  un,
5116
+ ln,
5097
5117
  hn,
5098
- cn
5118
+ cn,
5119
+ fn
5099
5120
  ];
5100
5121
  }
5101
- class ia extends Dn {
5122
+ class aa extends kn {
5102
5123
  constructor(t) {
5103
- super(), Un(
5124
+ super(), Fn(
5104
5125
  this,
5105
5126
  t,
5106
- na,
5107
- ra,
5108
- yr,
5127
+ oa,
5128
+ ia,
5129
+ xr,
5109
5130
  {
5110
5131
  menuitemsurl: 23,
5111
5132
  cmsendpoint: 24,
@@ -5121,7 +5142,7 @@ class ia extends Dn {
5121
5142
  customlocaleidentifier: 33,
5122
5143
  countryflaghamburger: 0
5123
5144
  },
5124
- Qo,
5145
+ qo,
5125
5146
  [-1, -1, -1]
5126
5147
  );
5127
5148
  }
@@ -5204,7 +5225,7 @@ class ia extends Dn {
5204
5225
  this.$$set({ countryflaghamburger: t }), D();
5205
5226
  }
5206
5227
  }
5207
- Fn(ia, { menuitemsurl: {}, cmsendpoint: {}, cmsenv: {}, userroles: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {} }, [], [], !0);
5228
+ Dn(aa, { menuitemsurl: {}, cmsendpoint: {}, cmsenv: {}, userroles: {}, lang: {}, activecategory: {}, languageslist: {}, translationurl: {}, mbsource: {}, clientstyling: {}, clientstylingurl: {}, customlocaleidentifier: {}, countryflaghamburger: {} }, [], [], !0);
5208
5229
  export {
5209
- ia as default
5230
+ aa as default
5210
5231
  };