@everymatrix/casino-404 1.65.2 → 1.65.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Dt = Object.defineProperty, jt = Object.defineProperties;
1
+ var Ut = Object.defineProperty, Dt = Object.defineProperties;
2
2
  var kt = Object.getOwnPropertyDescriptors;
3
- var Xe = Object.getOwnPropertySymbols;
4
- var Vt = Object.prototype.hasOwnProperty, Xt = Object.prototype.propertyIsEnumerable;
5
- var xe = (e, t, r) => t in e ? Dt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ze = (e, t) => {
3
+ var Ve = Object.getOwnPropertySymbols;
4
+ var jt = Object.prototype.hasOwnProperty, Vt = Object.prototype.propertyIsEnumerable;
5
+ var de = (e, t, r) => t in e ? Ut(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Xe = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Vt.call(t, r) && xe(e, r, t[r]);
8
- if (Xe)
9
- for (var r of Xe(t))
10
- Xt.call(t, r) && xe(e, r, t[r]);
7
+ jt.call(t, r) && de(e, r, t[r]);
8
+ if (Ve)
9
+ for (var r of Ve(t))
10
+ Vt.call(t, r) && de(e, r, t[r]);
11
11
  return e;
12
- }, Ze = (e, t) => jt(e, kt(t));
13
- var B = (e, t, r) => (xe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var We = (e, t, r) => new Promise((n, i) => {
12
+ }, ze = (e, t) => Dt(e, kt(t));
13
+ var N = (e, t, r) => (de(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var Ze = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (h) => {
16
16
  try {
17
17
  u(r.next(h));
@@ -29,25 +29,25 @@ var We = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function A() {
31
31
  }
32
- function ct(e) {
32
+ function ft(e) {
33
33
  return e();
34
34
  }
35
- function Qe() {
35
+ function We() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function ne(e) {
39
- e.forEach(ct);
38
+ function re(e) {
39
+ e.forEach(ft);
40
40
  }
41
- function Ue(e) {
41
+ function Fe(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function mt(e, t) {
44
+ function ct(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function zt(e) {
47
+ function Xt(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function pt(e, ...t) {
50
+ function mt(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,20 +56,20 @@ function pt(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function Zt(e, t, r) {
60
- e.$$.on_destroy.push(pt(t, r));
59
+ function zt(e, t, r) {
60
+ e.$$.on_destroy.push(mt(t, r));
61
61
  }
62
62
  function _(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function Wt(e, t, r) {
66
- const n = Qt(e);
65
+ function Zt(e, t, r) {
66
+ const n = Wt(e);
67
67
  if (!n.getElementById(t)) {
68
68
  const i = C("style");
69
- i.id = t, i.textContent = r, qt(n, i);
69
+ i.id = t, i.textContent = r, Qt(n, i);
70
70
  }
71
71
  }
72
- function Qt(e) {
72
+ function Wt(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,17 +79,17 @@ function Qt(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function qt(e, t) {
82
+ function Qt(e, t) {
83
83
  return _(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function gt(e, t, r) {
89
+ function pt(e, t, r) {
90
90
  e.insertBefore(t, r || null);
91
91
  }
92
- function De(e) {
92
+ function Ge(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
95
  function C(e) {
@@ -98,26 +98,26 @@ function C(e) {
98
98
  function M(e) {
99
99
  return document.createElementNS("http://www.w3.org/2000/svg", e);
100
100
  }
101
- function ae(e) {
101
+ function oe(e) {
102
102
  return document.createTextNode(e);
103
103
  }
104
- function ye() {
105
- return ae(" ");
104
+ function be() {
105
+ return oe(" ");
106
106
  }
107
- function Jt(e, t, r, n) {
107
+ function qt(e, t, r, n) {
108
108
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
109
109
  }
110
- function b(e, t, r) {
110
+ function x(e, t, r) {
111
111
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
112
112
  }
113
- function Yt(e) {
113
+ function Jt(e) {
114
114
  return Array.from(e.childNodes);
115
115
  }
116
- function Ee(e, t) {
116
+ function xe(e, t) {
117
117
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
118
118
  t);
119
119
  }
120
- function Kt(e) {
120
+ function Yt(e) {
121
121
  const t = {};
122
122
  return e.childNodes.forEach(
123
123
  /** @param {Element} node */
@@ -126,87 +126,87 @@ function Kt(e) {
126
126
  }
127
127
  ), t;
128
128
  }
129
- let ee;
130
- function K(e) {
131
- ee = e;
129
+ let K;
130
+ function Y(e) {
131
+ K = e;
132
132
  }
133
- function er() {
134
- if (!ee)
133
+ function Kt() {
134
+ if (!K)
135
135
  throw new Error("Function called outside component initialization");
136
- return ee;
136
+ return K;
137
137
  }
138
- function tr(e) {
139
- er().$$.on_mount.push(e);
138
+ function er(e) {
139
+ Kt().$$.on_mount.push(e);
140
140
  }
141
- const j = [], Ne = [];
141
+ const D = [], Be = [];
142
142
  let k = [];
143
- const qe = [], rr = /* @__PURE__ */ Promise.resolve();
144
- let Ae = !1;
145
- function nr() {
146
- Ae || (Ae = !0, rr.then(R));
143
+ const Qe = [], tr = /* @__PURE__ */ Promise.resolve();
144
+ let Ne = !1;
145
+ function rr() {
146
+ Ne || (Ne = !0, tr.then($));
147
147
  }
148
- function we(e) {
148
+ function Se(e) {
149
149
  k.push(e);
150
150
  }
151
- const ve = /* @__PURE__ */ new Set();
152
- let U = 0;
153
- function R() {
154
- if (U !== 0)
151
+ const ye = /* @__PURE__ */ new Set();
152
+ let G = 0;
153
+ function $() {
154
+ if (G !== 0)
155
155
  return;
156
- const e = ee;
156
+ const e = K;
157
157
  do {
158
158
  try {
159
- for (; U < j.length; ) {
160
- const t = j[U];
161
- U++, K(t), ir(t.$$);
159
+ for (; G < D.length; ) {
160
+ const t = D[G];
161
+ G++, Y(t), nr(t.$$);
162
162
  }
163
163
  } catch (t) {
164
- throw j.length = 0, U = 0, t;
164
+ throw D.length = 0, G = 0, t;
165
165
  }
166
- for (K(null), j.length = 0, U = 0; Ne.length; )
167
- Ne.pop()();
166
+ for (Y(null), D.length = 0, G = 0; Be.length; )
167
+ Be.pop()();
168
168
  for (let t = 0; t < k.length; t += 1) {
169
169
  const r = k[t];
170
- ve.has(r) || (ve.add(r), r());
170
+ ye.has(r) || (ye.add(r), r());
171
171
  }
172
172
  k.length = 0;
173
- } while (j.length);
174
- for (; qe.length; )
175
- qe.pop()();
176
- Ae = !1, ve.clear(), K(e);
173
+ } while (D.length);
174
+ for (; Qe.length; )
175
+ Qe.pop()();
176
+ Ne = !1, ye.clear(), Y(e);
177
177
  }
178
- function ir(e) {
178
+ function nr(e) {
179
179
  if (e.fragment !== null) {
180
- e.update(), ne(e.before_update);
180
+ e.update(), re(e.before_update);
181
181
  const t = e.dirty;
182
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(we);
182
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
183
183
  }
184
184
  }
185
- function or(e) {
185
+ function ir(e) {
186
186
  const t = [], r = [];
187
187
  k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
188
188
  }
189
- const ar = /* @__PURE__ */ new Set();
190
- function sr(e, t) {
191
- e && e.i && (ar.delete(e), e.i(t));
189
+ const or = /* @__PURE__ */ new Set();
190
+ function ar(e, t) {
191
+ e && e.i && (or.delete(e), e.i(t));
192
192
  }
193
- function ur(e, t, r) {
193
+ function sr(e, t, r) {
194
194
  const { fragment: n, after_update: i } = e.$$;
195
- n && n.m(t, r), we(() => {
196
- const o = e.$$.on_mount.map(ct).filter(Ue);
197
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ne(o), e.$$.on_mount = [];
198
- }), i.forEach(we);
195
+ n && n.m(t, r), Se(() => {
196
+ const o = e.$$.on_mount.map(ft).filter(Fe);
197
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
198
+ }), i.forEach(Se);
199
199
  }
200
- function hr(e, t) {
200
+ function ur(e, t) {
201
201
  const r = e.$$;
202
- r.fragment !== null && (or(r.after_update), ne(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
202
+ r.fragment !== null && (ir(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
203
203
  }
204
- function lr(e, t) {
205
- e.$$.dirty[0] === -1 && (j.push(e), nr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
204
+ function hr(e, t) {
205
+ e.$$.dirty[0] === -1 && (D.push(e), rr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
206
206
  }
207
- function fr(e, t, r, n, i, o, s = null, u = [-1]) {
208
- const h = ee;
209
- K(e);
207
+ function lr(e, t, r, n, i, o, s = null, u = [-1]) {
208
+ const h = K;
209
+ Y(e);
210
210
  const a = e.$$ = {
211
211
  fragment: null,
212
212
  ctx: [],
@@ -214,7 +214,7 @@ function fr(e, t, r, n, i, o, s = null, u = [-1]) {
214
214
  props: o,
215
215
  update: A,
216
216
  not_equal: i,
217
- bound: Qe(),
217
+ bound: We(),
218
218
  // lifecycle
219
219
  on_mount: [],
220
220
  on_destroy: [],
@@ -223,48 +223,48 @@ function fr(e, t, r, n, i, o, s = null, u = [-1]) {
223
223
  after_update: [],
224
224
  context: new Map(t.context || (h ? h.$$.context : [])),
225
225
  // everything else
226
- callbacks: Qe(),
226
+ callbacks: We(),
227
227
  dirty: u,
228
228
  skip_bound: !1,
229
229
  root: t.target || h.$$.root
230
230
  };
231
231
  s && s(a.root);
232
232
  let l = !1;
233
- if (a.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
234
- const x = d.length ? d[0] : c;
235
- return a.ctx && i(a.ctx[f], a.ctx[f] = x) && (!a.skip_bound && a.bound[f] && a.bound[f](x), l && lr(e, f)), c;
236
- }) : [], a.update(), l = !0, ne(a.before_update), a.fragment = n ? n(a.ctx) : !1, t.target) {
233
+ if (a.ctx = r(e, t.props || {}, (f, c, ...b) => {
234
+ const y = b.length ? b[0] : c;
235
+ return a.ctx && i(a.ctx[f], a.ctx[f] = y) && (!a.skip_bound && a.bound[f] && a.bound[f](y), l && hr(e, f)), c;
236
+ }), a.update(), l = !0, re(a.before_update), a.fragment = n(a.ctx), t.target) {
237
237
  if (t.hydrate) {
238
- const f = Yt(t.target);
239
- a.fragment && a.fragment.l(f), f.forEach(De);
238
+ const f = Jt(t.target);
239
+ a.fragment && a.fragment.l(f), f.forEach(Ge);
240
240
  } else
241
241
  a.fragment && a.fragment.c();
242
- t.intro && sr(e.$$.fragment), ur(e, t.target, t.anchor), R();
242
+ t.intro && ar(e.$$.fragment), sr(e, t.target, t.anchor), $();
243
243
  }
244
- K(h);
244
+ Y(h);
245
245
  }
246
- let dt;
247
- typeof HTMLElement == "function" && (dt = class extends HTMLElement {
246
+ let gt;
247
+ typeof HTMLElement == "function" && (gt = class extends HTMLElement {
248
248
  constructor(t, r, n) {
249
249
  super();
250
250
  /** The Svelte component constructor */
251
- B(this, "$$ctor");
251
+ N(this, "$$ctor");
252
252
  /** Slots */
253
- B(this, "$$s");
253
+ N(this, "$$s");
254
254
  /** The Svelte component instance */
255
- B(this, "$$c");
255
+ N(this, "$$c");
256
256
  /** Whether or not the custom element is connected */
257
- B(this, "$$cn", !1);
257
+ N(this, "$$cn", !1);
258
258
  /** Component props data */
259
- B(this, "$$d", {});
259
+ N(this, "$$d", {});
260
260
  /** `true` if currently in the process of reflecting component props back to attributes */
261
- B(this, "$$r", !1);
261
+ N(this, "$$r", !1);
262
262
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
263
- B(this, "$$p_d", {});
263
+ N(this, "$$p_d", {});
264
264
  /** @type {Record<string, Function[]>} Event listeners */
265
- B(this, "$$l", {});
265
+ N(this, "$$l", {});
266
266
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
267
- B(this, "$$l_u", /* @__PURE__ */ new Map());
267
+ N(this, "$$l_u", /* @__PURE__ */ new Map());
268
268
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
269
269
  }
270
270
  addEventListener(t, r, n) {
@@ -281,42 +281,42 @@ typeof HTMLElement == "function" && (dt = class extends HTMLElement {
281
281
  }
282
282
  }
283
283
  connectedCallback() {
284
- return We(this, null, function* () {
284
+ return Ze(this, null, function* () {
285
285
  if (this.$$cn = !0, !this.$$c) {
286
286
  let t = function(o) {
287
287
  return () => {
288
288
  let s;
289
289
  return {
290
290
  c: function() {
291
- s = C("slot"), o !== "default" && b(s, "name", o);
291
+ s = C("slot"), o !== "default" && x(s, "name", o);
292
292
  },
293
293
  /**
294
294
  * @param {HTMLElement} target
295
295
  * @param {HTMLElement} [anchor]
296
296
  */
297
297
  m: function(a, l) {
298
- gt(a, s, l);
298
+ pt(a, s, l);
299
299
  },
300
300
  d: function(a) {
301
- a && De(s);
301
+ a && Ge(s);
302
302
  }
303
303
  };
304
304
  };
305
305
  };
306
306
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
307
307
  return;
308
- const r = {}, n = Kt(this);
308
+ const r = {}, n = Yt(this);
309
309
  for (const o of this.$$s)
310
310
  o in n && (r[o] = [t(o)]);
311
311
  for (const o of this.attributes) {
312
312
  const s = this.$$g_p(o.name);
313
- s in this.$$d || (this.$$d[s] = se(s, o.value, this.$$p_d, "toProp"));
313
+ s in this.$$d || (this.$$d[s] = ae(s, o.value, this.$$p_d, "toProp"));
314
314
  }
315
315
  for (const o in this.$$p_d)
316
316
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
317
317
  this.$$c = new this.$$ctor({
318
318
  target: this.shadowRoot || this,
319
- props: Ze(ze({}, this.$$d), {
319
+ props: ze(Xe({}, this.$$d), {
320
320
  $$slots: r,
321
321
  $$scope: {
322
322
  ctx: []
@@ -327,7 +327,7 @@ typeof HTMLElement == "function" && (dt = class extends HTMLElement {
327
327
  this.$$r = !0;
328
328
  for (const o in this.$$p_d)
329
329
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
330
- const s = se(
330
+ const s = ae(
331
331
  o,
332
332
  this.$$d[o],
333
333
  this.$$p_d,
@@ -351,7 +351,7 @@ typeof HTMLElement == "function" && (dt = class extends HTMLElement {
351
351
  // and setting attributes through setAttribute etc, this is helpful
352
352
  attributeChangedCallback(t, r, n) {
353
353
  var i;
354
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = se(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
354
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = ae(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
355
355
  }
356
356
  disconnectedCallback() {
357
357
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -364,7 +364,7 @@ typeof HTMLElement == "function" && (dt = class extends HTMLElement {
364
364
  ) || t;
365
365
  }
366
366
  });
367
- function se(e, t, r, n) {
367
+ function ae(e, t, r, n) {
368
368
  var o;
369
369
  const i = (o = r[e]) == null ? void 0 : o.type;
370
370
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
@@ -394,8 +394,8 @@ function se(e, t, r, n) {
394
394
  return t;
395
395
  }
396
396
  }
397
- function cr(e, t, r, n, i, o) {
398
- let s = class extends dt {
397
+ function fr(e, t, r, n, i, o) {
398
+ let s = class extends gt {
399
399
  constructor() {
400
400
  super(e, r, i), this.$$p_d = t;
401
401
  }
@@ -412,7 +412,7 @@ function cr(e, t, r, n, i, o) {
412
412
  },
413
413
  set(h) {
414
414
  var a;
415
- h = se(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
415
+ h = ae(u, h, t), this.$$d[u] = h, (a = this.$$c) == null || a.$set({ [u]: h });
416
416
  }
417
417
  });
418
418
  }), n.forEach((u) => {
@@ -425,7 +425,7 @@ function cr(e, t, r, n, i, o) {
425
425
  }), e.element = /** @type {any} */
426
426
  s, s;
427
427
  }
428
- class mr {
428
+ class cr {
429
429
  constructor() {
430
430
  /**
431
431
  * ### PRIVATE API
@@ -434,7 +434,7 @@ class mr {
434
434
  *
435
435
  * @type {any}
436
436
  */
437
- B(this, "$$");
437
+ N(this, "$$");
438
438
  /**
439
439
  * ### PRIVATE API
440
440
  *
@@ -442,11 +442,11 @@ class mr {
442
442
  *
443
443
  * @type {any}
444
444
  */
445
- B(this, "$$set");
445
+ N(this, "$$set");
446
446
  }
447
447
  /** @returns {void} */
448
448
  $destroy() {
449
- hr(this, 1), this.$destroy = A;
449
+ ur(this, 1), this.$destroy = A;
450
450
  }
451
451
  /**
452
452
  * @template {Extract<keyof Events, string>} K
@@ -455,7 +455,7 @@ class mr {
455
455
  * @returns {() => void}
456
456
  */
457
457
  $on(t, r) {
458
- if (!Ue(r))
458
+ if (!Fe(r))
459
459
  return A;
460
460
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
461
461
  return n.push(r), () => {
@@ -468,29 +468,29 @@ class mr {
468
468
  * @returns {void}
469
469
  */
470
470
  $set(t) {
471
- this.$$set && !zt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
471
+ this.$$set && !Xt(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
472
472
  }
473
473
  }
474
- const pr = "4";
475
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(pr);
476
- const D = [];
477
- function gr(e, t) {
474
+ const mr = "4";
475
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mr);
476
+ const U = [];
477
+ function pr(e, t) {
478
478
  return {
479
- subscribe: me(e, t).subscribe
479
+ subscribe: fe(e, t).subscribe
480
480
  };
481
481
  }
482
- function me(e, t = A) {
482
+ function fe(e, t = A) {
483
483
  let r;
484
484
  const n = /* @__PURE__ */ new Set();
485
485
  function i(u) {
486
- if (mt(e, u) && (e = u, r)) {
487
- const h = !D.length;
486
+ if (ct(e, u) && (e = u, r)) {
487
+ const h = !U.length;
488
488
  for (const a of n)
489
- a[1](), D.push(a, e);
489
+ a[1](), U.push(a, e);
490
490
  if (h) {
491
- for (let a = 0; a < D.length; a += 2)
492
- D[a][0](D[a + 1]);
493
- D.length = 0;
491
+ for (let a = 0; a < U.length; a += 2)
492
+ U[a][0](U[a + 1]);
493
+ U.length = 0;
494
494
  }
495
495
  }
496
496
  }
@@ -505,12 +505,12 @@ function me(e, t = A) {
505
505
  }
506
506
  return { set: i, update: o, subscribe: s };
507
507
  }
508
- function W(e, t, r) {
508
+ function Z(e, t, r) {
509
509
  const n = !Array.isArray(e), i = n ? [e] : e;
510
510
  if (!i.every(Boolean))
511
511
  throw new Error("derived() expects stores as input, got a falsy value");
512
512
  const o = t.length < 2;
513
- return gr(r, (s, u) => {
513
+ return pr(r, (s, u) => {
514
514
  let h = !1;
515
515
  const a = [];
516
516
  let l = 0, f = A;
@@ -518,11 +518,11 @@ function W(e, t, r) {
518
518
  if (l)
519
519
  return;
520
520
  f();
521
- const x = t(n ? a[0] : a, s, u);
522
- o ? s(x) : f = Ue(x) ? x : A;
523
- }, d = i.map(
524
- (x, m) => pt(
525
- x,
521
+ const y = t(n ? a[0] : a, s, u);
522
+ o ? s(y) : f = Fe(y) ? y : A;
523
+ }, b = i.map(
524
+ (y, m) => mt(
525
+ y,
526
526
  (v) => {
527
527
  a[m] = v, l &= ~(1 << m), h && c();
528
528
  },
@@ -532,53 +532,53 @@ function W(e, t, r) {
532
532
  )
533
533
  );
534
534
  return h = !0, c(), function() {
535
- ne(d), f(), h = !1;
535
+ re(b), f(), h = !1;
536
536
  };
537
537
  });
538
538
  }
539
- function dr(e) {
540
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
539
+ function gr(e) {
540
+ return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
541
541
  }
542
- var br = function(t) {
543
- return xr(t) && !yr(t);
542
+ var dr = function(t) {
543
+ return br(t) && !xr(t);
544
544
  };
545
- function xr(e) {
545
+ function br(e) {
546
546
  return !!e && typeof e == "object";
547
547
  }
548
- function yr(e) {
548
+ function xr(e) {
549
549
  var t = Object.prototype.toString.call(e);
550
- return t === "[object RegExp]" || t === "[object Date]" || _r(e);
550
+ return t === "[object RegExp]" || t === "[object Date]" || vr(e);
551
551
  }
552
- var Er = typeof Symbol == "function" && Symbol.for, vr = Er ? Symbol.for("react.element") : 60103;
553
- function _r(e) {
554
- return e.$$typeof === vr;
552
+ var yr = typeof Symbol == "function" && Symbol.for, Er = yr ? Symbol.for("react.element") : 60103;
553
+ function vr(e) {
554
+ return e.$$typeof === Er;
555
555
  }
556
- function Hr(e) {
556
+ function _r(e) {
557
557
  return Array.isArray(e) ? [] : {};
558
558
  }
559
- function te(e, t) {
560
- return t.clone !== !1 && t.isMergeableObject(e) ? V(Hr(e), e, t) : e;
559
+ function ee(e, t) {
560
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(_r(e), e, t) : e;
561
561
  }
562
- function Tr(e, t, r) {
562
+ function Hr(e, t, r) {
563
563
  return e.concat(t).map(function(n) {
564
- return te(n, r);
564
+ return ee(n, r);
565
565
  });
566
566
  }
567
- function Pr(e, t) {
567
+ function Tr(e, t) {
568
568
  if (!t.customMerge)
569
- return V;
569
+ return j;
570
570
  var r = t.customMerge(e);
571
- return typeof r == "function" ? r : V;
571
+ return typeof r == "function" ? r : j;
572
572
  }
573
- function Sr(e) {
573
+ function Pr(e) {
574
574
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
575
575
  return Object.propertyIsEnumerable.call(e, t);
576
576
  }) : [];
577
577
  }
578
- function Je(e) {
579
- return Object.keys(e).concat(Sr(e));
578
+ function qe(e) {
579
+ return Object.keys(e).concat(Pr(e));
580
580
  }
581
- function bt(e, t) {
581
+ function dt(e, t) {
582
582
  try {
583
583
  return t in e;
584
584
  } catch (r) {
@@ -586,58 +586,72 @@ function bt(e, t) {
586
586
  }
587
587
  }
588
588
  function Br(e, t) {
589
- return bt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
589
+ return dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
590
590
  }
591
591
  function Nr(e, t, r) {
592
592
  var n = {};
593
- return r.isMergeableObject(e) && Je(e).forEach(function(i) {
594
- n[i] = te(e[i], r);
595
- }), Je(t).forEach(function(i) {
596
- Br(e, i) || (bt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Pr(i, r)(e[i], t[i], r) : n[i] = te(t[i], r));
593
+ return r.isMergeableObject(e) && qe(e).forEach(function(i) {
594
+ n[i] = ee(e[i], r);
595
+ }), qe(t).forEach(function(i) {
596
+ Br(e, i) || (dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tr(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
597
597
  }), n;
598
598
  }
599
- function V(e, t, r) {
600
- r = r || {}, r.arrayMerge = r.arrayMerge || Tr, r.isMergeableObject = r.isMergeableObject || br, r.cloneUnlessOtherwiseSpecified = te;
599
+ function j(e, t, r) {
600
+ r = r || {}, r.arrayMerge = r.arrayMerge || Hr, r.isMergeableObject = r.isMergeableObject || dr, r.cloneUnlessOtherwiseSpecified = ee;
601
601
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
602
- return o ? n ? r.arrayMerge(e, t, r) : Nr(e, t, r) : te(t, r);
602
+ return o ? n ? r.arrayMerge(e, t, r) : Nr(e, t, r) : ee(t, r);
603
603
  }
604
- V.all = function(t, r) {
604
+ j.all = function(t, r) {
605
605
  if (!Array.isArray(t))
606
606
  throw new Error("first argument should be an array");
607
607
  return t.reduce(function(n, i) {
608
- return V(n, i, r);
608
+ return j(n, i, r);
609
609
  }, {});
610
610
  };
611
- var Ar = V, wr = Ar;
612
- const Or = /* @__PURE__ */ dr(wr);
613
- var Oe = function(e, t) {
614
- return Oe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
611
+ var Sr = j, Ar = Sr;
612
+ const wr = /* @__PURE__ */ gr(Ar);
613
+ /*! *****************************************************************************
614
+ Copyright (c) Microsoft Corporation.
615
+
616
+ Permission to use, copy, modify, and/or distribute this software for any
617
+ purpose with or without fee is hereby granted.
618
+
619
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
620
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
621
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
622
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
623
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
624
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
625
+ PERFORMANCE OF THIS SOFTWARE.
626
+ ***************************************************************************** */
627
+ var Ae = function(e, t) {
628
+ return Ae = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
615
629
  r.__proto__ = n;
616
630
  } || function(r, n) {
617
631
  for (var i in n)
618
632
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
619
- }, Oe(e, t);
633
+ }, Ae(e, t);
620
634
  };
621
- function pe(e, t) {
635
+ function ce(e, t) {
622
636
  if (typeof t != "function" && t !== null)
623
637
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
624
- Oe(e, t);
638
+ Ae(e, t);
625
639
  function r() {
626
640
  this.constructor = e;
627
641
  }
628
642
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
629
643
  }
630
- var O = function() {
631
- return O = Object.assign || function(t) {
644
+ var d = function() {
645
+ return d = Object.assign || function(t) {
632
646
  for (var r, n = 1, i = arguments.length; n < i; n++) {
633
647
  r = arguments[n];
634
648
  for (var o in r)
635
649
  Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
636
650
  }
637
651
  return t;
638
- }, O.apply(this, arguments);
652
+ }, d.apply(this, arguments);
639
653
  };
640
- function Ir(e, t) {
654
+ function Or(e, t) {
641
655
  var r = {};
642
656
  for (var n in e)
643
657
  Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
@@ -646,14 +660,14 @@ function Ir(e, t) {
646
660
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
647
661
  return r;
648
662
  }
649
- function _e(e, t, r) {
650
- if (r || arguments.length === 2)
663
+ function Ee(e, t, r) {
664
+ if (arguments.length === 2)
651
665
  for (var n = 0, i = t.length, o; n < i; n++)
652
666
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
653
- return e.concat(o || Array.prototype.slice.call(t));
667
+ return e.concat(o || t);
654
668
  }
655
- function He(e, t) {
656
- var r = t && t.cache ? t.cache : Gr, n = t && t.serializer ? t.serializer : Rr, i = t && t.strategy ? t.strategy : $r;
669
+ function ve(e, t) {
670
+ var r = t && t.cache ? t.cache : Fr, n = t && t.serializer ? t.serializer : $r, i = t && t.strategy ? t.strategy : Ir;
657
671
  return i(e, {
658
672
  cache: r,
659
673
  serializer: n
@@ -662,7 +676,7 @@ function He(e, t) {
662
676
  function Mr(e) {
663
677
  return e == null || typeof e == "number" || typeof e == "boolean";
664
678
  }
665
- function Lr(e, t, r, n) {
679
+ function bt(e, t, r, n) {
666
680
  var i = Mr(n) ? n : r(n), o = t.get(i);
667
681
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
668
682
  }
@@ -670,19 +684,22 @@ function xt(e, t, r) {
670
684
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
671
685
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
672
686
  }
673
- function yt(e, t, r, n, i) {
687
+ function Ue(e, t, r, n, i) {
674
688
  return r.bind(t, e, n, i);
675
689
  }
676
- function $r(e, t) {
677
- var r = e.length === 1 ? Lr : xt;
678
- return yt(e, this, r, t.cache.create(), t.serializer);
690
+ function Ir(e, t) {
691
+ var r = e.length === 1 ? bt : xt;
692
+ return Ue(e, this, r, t.cache.create(), t.serializer);
693
+ }
694
+ function Lr(e, t) {
695
+ return Ue(e, this, xt, t.cache.create(), t.serializer);
679
696
  }
680
697
  function Cr(e, t) {
681
- return yt(e, this, xt, t.cache.create(), t.serializer);
698
+ return Ue(e, this, bt, t.cache.create(), t.serializer);
682
699
  }
683
- var Rr = function() {
700
+ var $r = function() {
684
701
  return JSON.stringify(arguments);
685
- }, Fr = (
702
+ }, Rr = (
686
703
  /** @class */
687
704
  function() {
688
705
  function e() {
@@ -694,71 +711,62 @@ var Rr = function() {
694
711
  this.cache[t] = r;
695
712
  }, e;
696
713
  }()
697
- ), Gr = {
714
+ ), Fr = {
698
715
  create: function() {
699
- return new Fr();
716
+ return new Rr();
700
717
  }
701
- }, Te = {
702
- variadic: Cr
703
- }, le = function() {
704
- return le = Object.assign || function(t) {
705
- for (var r, n = 1, i = arguments.length; n < i; n++) {
706
- r = arguments[n];
707
- for (var o in r)
708
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
709
- }
710
- return t;
711
- }, le.apply(this, arguments);
712
- };
713
- var p;
718
+ }, _e = {
719
+ variadic: Lr,
720
+ monadic: Cr
721
+ }, p;
714
722
  (function(e) {
715
723
  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";
716
724
  })(p || (p = {}));
717
- var y;
725
+ var E;
718
726
  (function(e) {
719
727
  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";
720
- })(y || (y = {}));
721
- var X;
728
+ })(E || (E = {}));
729
+ var V;
722
730
  (function(e) {
723
731
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
724
- })(X || (X = {}));
725
- function Ye(e) {
726
- return e.type === y.literal;
732
+ })(V || (V = {}));
733
+ function Je(e) {
734
+ return e.type === E.literal;
727
735
  }
728
- function Ur(e) {
729
- return e.type === y.argument;
736
+ function Gr(e) {
737
+ return e.type === E.argument;
738
+ }
739
+ function yt(e) {
740
+ return e.type === E.number;
730
741
  }
731
742
  function Et(e) {
732
- return e.type === y.number;
743
+ return e.type === E.date;
733
744
  }
734
745
  function vt(e) {
735
- return e.type === y.date;
746
+ return e.type === E.time;
736
747
  }
737
748
  function _t(e) {
738
- return e.type === y.time;
749
+ return e.type === E.select;
739
750
  }
740
751
  function Ht(e) {
741
- return e.type === y.select;
752
+ return e.type === E.plural;
742
753
  }
743
- function Tt(e) {
744
- return e.type === y.plural;
754
+ function Ur(e) {
755
+ return e.type === E.pound;
745
756
  }
746
- function Dr(e) {
747
- return e.type === y.pound;
757
+ function Tt(e) {
758
+ return e.type === E.tag;
748
759
  }
749
760
  function Pt(e) {
750
- return e.type === y.tag;
761
+ return !!(e && typeof e == "object" && e.type === V.number);
751
762
  }
752
- function St(e) {
753
- return !!(e && typeof e == "object" && e.type === X.number);
754
- }
755
- function Ie(e) {
756
- return !!(e && typeof e == "object" && e.type === X.dateTime);
763
+ function we(e) {
764
+ return !!(e && typeof e == "object" && e.type === V.dateTime);
757
765
  }
758
- var Bt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jr = /(?:[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;
766
+ var Bt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dr = /(?:[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;
759
767
  function kr(e) {
760
768
  var t = {};
761
- return e.replace(jr, function(r) {
769
+ return e.replace(Dr, function(r) {
762
770
  var n = r.length;
763
771
  switch (r[0]) {
764
772
  case "G":
@@ -847,21 +855,11 @@ function kr(e) {
847
855
  return "";
848
856
  }), t;
849
857
  }
850
- var E = function() {
851
- return E = Object.assign || function(t) {
852
- for (var r, n = 1, i = arguments.length; n < i; n++) {
853
- r = arguments[n];
854
- for (var o in r)
855
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
856
- }
857
- return t;
858
- }, E.apply(this, arguments);
859
- };
860
- var Vr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
861
- function Xr(e) {
858
+ var jr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
859
+ function Vr(e) {
862
860
  if (e.length === 0)
863
861
  throw new Error("Number skeleton cannot be empty");
864
- for (var t = e.split(Vr).filter(function(c) {
862
+ for (var t = e.split(jr).filter(function(c) {
865
863
  return c.length > 0;
866
864
  }), r = [], n = 0, i = t; n < i.length; n++) {
867
865
  var o = i[n], s = o.split("/");
@@ -876,17 +874,17 @@ function Xr(e) {
876
874
  }
877
875
  return r;
878
876
  }
879
- function zr(e) {
877
+ function Xr(e) {
880
878
  return e.replace(/^(.*?)-/, "");
881
879
  }
882
- var Ke = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nt = /^(@+)?(\+|#+)?[rs]?$/g, Zr = /(\*)(0+)|(#+)(0+)|(0+)/g, At = /^(0+)$/;
883
- function et(e) {
880
+ var Ye = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Nt = /^(@+)?(\+|#+)?[rs]?$/g, zr = /(\*)(0+)|(#+)(0+)|(0+)/g, St = /^(0+)$/;
881
+ function Ke(e) {
884
882
  var t = {};
885
883
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Nt, function(r, n, i) {
886
884
  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)), "";
887
885
  }), t;
888
886
  }
889
- function wt(e) {
887
+ function At(e) {
890
888
  switch (e) {
891
889
  case "sign-auto":
892
890
  return {
@@ -926,7 +924,7 @@ function wt(e) {
926
924
  };
927
925
  }
928
926
  }
929
- function Wr(e) {
927
+ function Zr(e) {
930
928
  var t;
931
929
  if (e[0] === "E" && e[1] === "E" ? (t = {
932
930
  notation: "engineering"
@@ -934,17 +932,17 @@ function Wr(e) {
934
932
  notation: "scientific"
935
933
  }, e = e.slice(1)), t) {
936
934
  var r = e.slice(0, 2);
937
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !At.test(e))
935
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !St.test(e))
938
936
  throw new Error("Malformed concise eng/scientific notation");
939
937
  t.minimumIntegerDigits = e.length;
940
938
  }
941
939
  return t;
942
940
  }
943
- function tt(e) {
944
- var t = {}, r = wt(e);
941
+ function et(e) {
942
+ var t = {}, r = At(e);
945
943
  return r || t;
946
944
  }
947
- function Qr(e) {
945
+ function Wr(e) {
948
946
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
949
947
  var i = n[r];
950
948
  switch (i.stem) {
@@ -968,7 +966,7 @@ function Qr(e) {
968
966
  continue;
969
967
  case "measure-unit":
970
968
  case "unit":
971
- t.style = "unit", t.unit = zr(i.options[0]);
969
+ t.style = "unit", t.unit = Xr(i.options[0]);
972
970
  continue;
973
971
  case "compact-short":
974
972
  case "K":
@@ -979,13 +977,13 @@ function Qr(e) {
979
977
  t.notation = "compact", t.compactDisplay = "long";
980
978
  continue;
981
979
  case "scientific":
982
- t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
983
- return E(E({}, h), tt(a));
980
+ t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(h, a) {
981
+ return d(d({}, h), et(a));
984
982
  }, {}));
985
983
  continue;
986
984
  case "engineering":
987
- t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
988
- return E(E({}, h), tt(a));
985
+ t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(h, a) {
986
+ return d(d({}, h), et(a));
989
987
  }, {}));
990
988
  continue;
991
989
  case "notation-simple":
@@ -1030,45 +1028,45 @@ function Qr(e) {
1030
1028
  case "integer-width":
1031
1029
  if (i.options.length > 1)
1032
1030
  throw new RangeError("integer-width stems only accept a single optional option");
1033
- i.options[0].replace(Zr, function(h, a, l, f, c, d) {
1031
+ i.options[0].replace(zr, function(h, a, l, f, c, b) {
1034
1032
  if (a)
1035
1033
  t.minimumIntegerDigits = l.length;
1036
1034
  else {
1037
1035
  if (f && c)
1038
1036
  throw new Error("We currently do not support maximum integer digits");
1039
- if (d)
1037
+ if (b)
1040
1038
  throw new Error("We currently do not support exact integer digits");
1041
1039
  }
1042
1040
  return "";
1043
1041
  });
1044
1042
  continue;
1045
1043
  }
1046
- if (At.test(i.stem)) {
1044
+ if (St.test(i.stem)) {
1047
1045
  t.minimumIntegerDigits = i.stem.length;
1048
1046
  continue;
1049
1047
  }
1050
- if (Ke.test(i.stem)) {
1048
+ if (Ye.test(i.stem)) {
1051
1049
  if (i.options.length > 1)
1052
1050
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1053
- i.stem.replace(Ke, function(h, a, l, f, c, d) {
1054
- return l === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1051
+ i.stem.replace(Ye, function(h, a, l, f, c, b) {
1052
+ return l === "*" ? t.minimumFractionDigits = a.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && b ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + b.length) : (t.minimumFractionDigits = a.length, t.maximumFractionDigits = a.length), "";
1055
1053
  });
1056
1054
  var o = i.options[0];
1057
- o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), et(o)));
1055
+ o === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = d(d({}, t), Ke(o)));
1058
1056
  continue;
1059
1057
  }
1060
1058
  if (Nt.test(i.stem)) {
1061
- t = E(E({}, t), et(i.stem));
1059
+ t = d(d({}, t), Ke(i.stem));
1062
1060
  continue;
1063
1061
  }
1064
- var s = wt(i.stem);
1065
- s && (t = E(E({}, t), s));
1066
- var u = Wr(i.stem);
1067
- u && (t = E(E({}, t), u));
1062
+ var s = At(i.stem);
1063
+ s && (t = d(d({}, t), s));
1064
+ var u = Zr(i.stem);
1065
+ u && (t = d(d({}, t), u));
1068
1066
  }
1069
1067
  return t;
1070
1068
  }
1071
- var oe = {
1069
+ var ie = {
1072
1070
  "001": [
1073
1071
  "H",
1074
1072
  "h"
@@ -2483,13 +2481,13 @@ var oe = {
2483
2481
  "h"
2484
2482
  ]
2485
2483
  };
2486
- function qr(e, t) {
2484
+ function Qr(e, t) {
2487
2485
  for (var r = "", n = 0; n < e.length; n++) {
2488
2486
  var i = e.charAt(n);
2489
2487
  if (i === "j") {
2490
2488
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2491
2489
  o++, n++;
2492
- var s = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), h = "a", a = Jr(t);
2490
+ var s = 1 + (o & 1), u = o < 2 ? 1 : 3 + (o >> 1), h = "a", a = qr(t);
2493
2491
  for ((a == "H" || a == "k") && (u = 0); u-- > 0; )
2494
2492
  r += h;
2495
2493
  for (; s-- > 0; )
@@ -2499,7 +2497,7 @@ function qr(e, t) {
2499
2497
  }
2500
2498
  return r;
2501
2499
  }
2502
- function Jr(e) {
2500
+ function qr(e) {
2503
2501
  var t = e.hourCycle;
2504
2502
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2505
2503
  e.hourCycles && // @ts-ignore
@@ -2518,23 +2516,23 @@ function Jr(e) {
2518
2516
  }
2519
2517
  var r = e.language, n;
2520
2518
  r !== "root" && (n = e.maximize().region);
2521
- var i = oe[n || ""] || oe[r || ""] || oe["".concat(r, "-001")] || oe["001"];
2519
+ var i = ie[n || ""] || ie[r || ""] || ie["".concat(r, "-001")] || ie["001"];
2522
2520
  return i[0];
2523
2521
  }
2524
- var Pe, Yr = new RegExp("^".concat(Bt.source, "*")), Kr = new RegExp("".concat(Bt.source, "*$"));
2522
+ var He, Jr = new RegExp("^".concat(Bt.source, "*")), Yr = new RegExp("".concat(Bt.source, "*$"));
2525
2523
  function g(e, t) {
2526
2524
  return { start: e, end: t };
2527
2525
  }
2528
- var en = !!String.prototype.startsWith && "_a".startsWith("a", 1), tn = !!String.fromCodePoint, rn = !!Object.fromEntries, nn = !!String.prototype.codePointAt, on = !!String.prototype.trimStart, an = !!String.prototype.trimEnd, sn = !!Number.isSafeInteger, un = sn ? Number.isSafeInteger : function(e) {
2526
+ var Kr = !!String.prototype.startsWith && "_a".startsWith("a", 1), en = !!String.fromCodePoint, tn = !!Object.fromEntries, rn = !!String.prototype.codePointAt, nn = !!String.prototype.trimStart, on = !!String.prototype.trimEnd, an = !!Number.isSafeInteger, sn = an ? Number.isSafeInteger : function(e) {
2529
2527
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2530
- }, Me = !0;
2528
+ }, Oe = !0;
2531
2529
  try {
2532
- var hn = It("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2533
- Me = ((Pe = hn.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
2530
+ var un = Ot("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2531
+ Oe = ((He = un.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
2534
2532
  } catch (e) {
2535
- Me = !1;
2533
+ Oe = !1;
2536
2534
  }
2537
- var rt = en ? (
2535
+ var tt = Kr ? (
2538
2536
  // Native
2539
2537
  function(t, r, n) {
2540
2538
  return t.startsWith(r, n);
@@ -2544,7 +2542,7 @@ var rt = en ? (
2544
2542
  function(t, r, n) {
2545
2543
  return t.slice(n, n + r.length) === r;
2546
2544
  }
2547
- ), Le = tn ? String.fromCodePoint : (
2545
+ ), Me = en ? String.fromCodePoint : (
2548
2546
  // IE11
2549
2547
  function() {
2550
2548
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2556,9 +2554,9 @@ var rt = en ? (
2556
2554
  }
2557
2555
  return n;
2558
2556
  }
2559
- ), nt = (
2557
+ ), rt = (
2560
2558
  // native
2561
- rn ? Object.fromEntries : (
2559
+ tn ? Object.fromEntries : (
2562
2560
  // Ponyfill
2563
2561
  function(t) {
2564
2562
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2568,7 +2566,7 @@ var rt = en ? (
2568
2566
  return r;
2569
2567
  }
2570
2568
  )
2571
- ), Ot = nn ? (
2569
+ ), wt = rn ? (
2572
2570
  // Native
2573
2571
  function(t, r) {
2574
2572
  return t.codePointAt(r);
@@ -2582,7 +2580,7 @@ var rt = en ? (
2582
2580
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2583
2581
  }
2584
2582
  }
2585
- ), ln = on ? (
2583
+ ), hn = nn ? (
2586
2584
  // Native
2587
2585
  function(t) {
2588
2586
  return t.trimStart();
@@ -2590,9 +2588,9 @@ var rt = en ? (
2590
2588
  ) : (
2591
2589
  // Ponyfill
2592
2590
  function(t) {
2593
- return t.replace(Yr, "");
2591
+ return t.replace(Jr, "");
2594
2592
  }
2595
- ), fn = an ? (
2593
+ ), ln = on ? (
2596
2594
  // Native
2597
2595
  function(t) {
2598
2596
  return t.trimEnd();
@@ -2600,32 +2598,32 @@ var rt = en ? (
2600
2598
  ) : (
2601
2599
  // Ponyfill
2602
2600
  function(t) {
2603
- return t.replace(Kr, "");
2601
+ return t.replace(Yr, "");
2604
2602
  }
2605
2603
  );
2606
- function It(e, t) {
2604
+ function Ot(e, t) {
2607
2605
  return new RegExp(e, t);
2608
2606
  }
2609
- var $e;
2610
- if (Me) {
2611
- var it = It("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2612
- $e = function(t, r) {
2607
+ var Ie;
2608
+ if (Oe) {
2609
+ var nt = Ot("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2610
+ Ie = function(t, r) {
2613
2611
  var n;
2614
- it.lastIndex = r;
2615
- var i = it.exec(t);
2612
+ nt.lastIndex = r;
2613
+ var i = nt.exec(t);
2616
2614
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2617
2615
  };
2618
2616
  } else
2619
- $e = function(t, r) {
2617
+ Ie = function(t, r) {
2620
2618
  for (var n = []; ; ) {
2621
- var i = Ot(t, r);
2622
- if (i === void 0 || Mt(i) || gn(i))
2619
+ var i = wt(t, r);
2620
+ if (i === void 0 || Mt(i) || pn(i))
2623
2621
  break;
2624
2622
  n.push(i), r += i >= 65536 ? 2 : 1;
2625
2623
  }
2626
- return Le.apply(void 0, n);
2624
+ return Me.apply(void 0, n);
2627
2625
  };
2628
- var cn = (
2626
+ var fn = (
2629
2627
  /** @class */
2630
2628
  function() {
2631
2629
  function e(t, r) {
@@ -2649,14 +2647,14 @@ var cn = (
2649
2647
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
2650
2648
  var u = this.clonePosition();
2651
2649
  this.bump(), i.push({
2652
- type: y.pound,
2650
+ type: E.pound,
2653
2651
  location: g(u, this.clonePosition())
2654
2652
  });
2655
2653
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
2656
2654
  if (n)
2657
2655
  break;
2658
2656
  return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
2659
- } else if (o === 60 && !this.ignoreTag && Ce(this.peek() || 0)) {
2657
+ } else if (o === 60 && !this.ignoreTag && Le(this.peek() || 0)) {
2660
2658
  var s = this.parseTag(t, r);
2661
2659
  if (s.err)
2662
2660
  return s;
@@ -2677,7 +2675,7 @@ var cn = (
2677
2675
  if (this.bumpSpace(), this.bumpIf("/>"))
2678
2676
  return {
2679
2677
  val: {
2680
- type: y.literal,
2678
+ type: E.literal,
2681
2679
  value: "<".concat(i, "/>"),
2682
2680
  location: g(n, this.clonePosition())
2683
2681
  },
@@ -2689,12 +2687,12 @@ var cn = (
2689
2687
  return o;
2690
2688
  var s = o.val, u = this.clonePosition();
2691
2689
  if (this.bumpIf("</")) {
2692
- if (this.isEOF() || !Ce(this.char()))
2690
+ if (this.isEOF() || !Le(this.char()))
2693
2691
  return this.error(p.INVALID_TAG, g(u, this.clonePosition()));
2694
2692
  var h = this.clonePosition(), a = this.parseTagName();
2695
2693
  return i !== a ? this.error(p.UNMATCHED_CLOSING_TAG, g(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2696
2694
  val: {
2697
- type: y.tag,
2695
+ type: E.tag,
2698
2696
  value: i,
2699
2697
  children: s,
2700
2698
  location: g(n, this.clonePosition())
@@ -2707,7 +2705,7 @@ var cn = (
2707
2705
  return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
2708
2706
  }, e.prototype.parseTagName = function() {
2709
2707
  var t = this.offset();
2710
- for (this.bump(); !this.isEOF() && pn(this.char()); )
2708
+ for (this.bump(); !this.isEOF() && mn(this.char()); )
2711
2709
  this.bump();
2712
2710
  return this.message.slice(t, this.offset());
2713
2711
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2731,12 +2729,12 @@ var cn = (
2731
2729
  }
2732
2730
  var h = g(n, this.clonePosition());
2733
2731
  return {
2734
- val: { type: y.literal, value: i, location: h },
2732
+ val: { type: E.literal, value: i, location: h },
2735
2733
  err: null
2736
2734
  };
2737
2735
  }, e.prototype.tryParseLeftAngleBracket = function() {
2738
2736
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2739
- !mn(this.peek() || 0)) ? (this.bump(), "<") : null;
2737
+ !cn(this.peek() || 0)) ? (this.bump(), "<") : null;
2740
2738
  }, e.prototype.tryParseQuote = function(t) {
2741
2739
  if (this.isEOF() || this.char() !== 39)
2742
2740
  return null;
@@ -2770,12 +2768,12 @@ var cn = (
2770
2768
  r.push(n);
2771
2769
  this.bump();
2772
2770
  }
2773
- return Le.apply(void 0, r);
2771
+ return Me.apply(void 0, r);
2774
2772
  }, e.prototype.tryParseUnquoted = function(t, r) {
2775
2773
  if (this.isEOF())
2776
2774
  return null;
2777
2775
  var n = this.char();
2778
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Le(n));
2776
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Me(n));
2779
2777
  }, e.prototype.parseArgument = function(t, r) {
2780
2778
  var n = this.clonePosition();
2781
2779
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2791,7 +2789,7 @@ var cn = (
2791
2789
  case 125:
2792
2790
  return this.bump(), {
2793
2791
  val: {
2794
- type: y.argument,
2792
+ type: E.argument,
2795
2793
  // value does not include the opening and closing braces.
2796
2794
  value: i,
2797
2795
  location: g(n, this.clonePosition())
@@ -2804,7 +2802,7 @@ var cn = (
2804
2802
  return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
2805
2803
  }
2806
2804
  }, e.prototype.parseIdentifierIfPossible = function() {
2807
- var t = this.clonePosition(), r = this.offset(), n = $e(this.message, r), i = r + n.length;
2805
+ var t = this.clonePosition(), r = this.offset(), n = Ie(this.message, r), i = r + n.length;
2808
2806
  this.bumpTo(i);
2809
2807
  var o = this.clonePosition(), s = g(t, o);
2810
2808
  return { value: n, location: s };
@@ -2823,35 +2821,35 @@ var cn = (
2823
2821
  var l = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
2824
2822
  if (f.err)
2825
2823
  return f;
2826
- var c = fn(f.val);
2824
+ var c = ln(f.val);
2827
2825
  if (c.length === 0)
2828
2826
  return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
2829
- var d = g(l, this.clonePosition());
2830
- a = { style: c, styleLocation: d };
2827
+ var b = g(l, this.clonePosition());
2828
+ a = { style: c, styleLocation: b };
2831
2829
  }
2832
- var x = this.tryParseArgumentClose(i);
2833
- if (x.err)
2834
- return x;
2830
+ var y = this.tryParseArgumentClose(i);
2831
+ if (y.err)
2832
+ return y;
2835
2833
  var m = g(i, this.clonePosition());
2836
- if (a && rt(a == null ? void 0 : a.style, "::", 0)) {
2837
- var v = ln(a.style.slice(2));
2834
+ if (a && tt(a == null ? void 0 : a.style, "::", 0)) {
2835
+ var v = hn(a.style.slice(2));
2838
2836
  if (u === "number") {
2839
2837
  var f = this.parseNumberSkeletonFromString(v, a.styleLocation);
2840
2838
  return f.err ? f : {
2841
- val: { type: y.number, value: n, location: m, style: f.val },
2839
+ val: { type: E.number, value: n, location: m, style: f.val },
2842
2840
  err: null
2843
2841
  };
2844
2842
  } else {
2845
2843
  if (v.length === 0)
2846
2844
  return this.error(p.EXPECT_DATE_TIME_SKELETON, m);
2847
2845
  var T = v;
2848
- this.locale && (T = qr(v, this.locale));
2846
+ this.locale && (T = Qr(v, this.locale));
2849
2847
  var c = {
2850
- type: X.dateTime,
2848
+ type: V.dateTime,
2851
2849
  pattern: T,
2852
2850
  location: a.styleLocation,
2853
2851
  parsedOptions: this.shouldParseSkeletons ? kr(T) : {}
2854
- }, w = u === "date" ? y.date : y.time;
2852
+ }, w = u === "date" ? E.date : E.time;
2855
2853
  return {
2856
2854
  val: { type: w, value: n, location: m, style: c },
2857
2855
  err: null
@@ -2860,7 +2858,7 @@ var cn = (
2860
2858
  }
2861
2859
  return {
2862
2860
  val: {
2863
- type: u === "number" ? y.number : u === "date" ? y.date : y.time,
2861
+ type: u === "number" ? E.number : u === "date" ? E.date : E.time,
2864
2862
  value: n,
2865
2863
  location: m,
2866
2864
  style: (o = a == null ? void 0 : a.style) !== null && o !== void 0 ? o : null
@@ -2873,41 +2871,41 @@ var cn = (
2873
2871
  case "select": {
2874
2872
  var P = this.clonePosition();
2875
2873
  if (this.bumpSpace(), !this.bumpIf(","))
2876
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(P, le({}, P)));
2874
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(P, d({}, P)));
2877
2875
  this.bumpSpace();
2878
- var N = this.parseIdentifierIfPossible(), S = 0;
2879
- if (u !== "select" && N.value === "offset") {
2876
+ var S = this.parseIdentifierIfPossible(), B = 0;
2877
+ if (u !== "select" && S.value === "offset") {
2880
2878
  if (!this.bumpIf(":"))
2881
2879
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
2882
2880
  this.bumpSpace();
2883
2881
  var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2884
2882
  if (f.err)
2885
2883
  return f;
2886
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), S = f.val;
2884
+ this.bumpSpace(), S = this.parseIdentifierIfPossible(), B = f.val;
2887
2885
  }
2888
- var I = this.tryParsePluralOrSelectOptions(t, u, r, N);
2889
- if (I.err)
2890
- return I;
2891
- var x = this.tryParseArgumentClose(i);
2892
- if (x.err)
2893
- return x;
2894
- var G = g(i, this.clonePosition());
2886
+ var O = this.tryParsePluralOrSelectOptions(t, u, r, S);
2887
+ if (O.err)
2888
+ return O;
2889
+ var y = this.tryParseArgumentClose(i);
2890
+ if (y.err)
2891
+ return y;
2892
+ var F = g(i, this.clonePosition());
2895
2893
  return u === "select" ? {
2896
2894
  val: {
2897
- type: y.select,
2895
+ type: E.select,
2898
2896
  value: n,
2899
- options: nt(I.val),
2900
- location: G
2897
+ options: rt(O.val),
2898
+ location: F
2901
2899
  },
2902
2900
  err: null
2903
2901
  } : {
2904
2902
  val: {
2905
- type: y.plural,
2903
+ type: E.plural,
2906
2904
  value: n,
2907
- options: nt(I.val),
2908
- offset: S,
2905
+ options: rt(O.val),
2906
+ offset: B,
2909
2907
  pluralType: u === "plural" ? "cardinal" : "ordinal",
2910
- location: G
2908
+ location: F
2911
2909
  },
2912
2910
  err: null
2913
2911
  };
@@ -2955,16 +2953,16 @@ var cn = (
2955
2953
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2956
2954
  var n = [];
2957
2955
  try {
2958
- n = Xr(t);
2956
+ n = Vr(t);
2959
2957
  } catch (i) {
2960
2958
  return this.error(p.INVALID_NUMBER_SKELETON, r);
2961
2959
  }
2962
2960
  return {
2963
2961
  val: {
2964
- type: X.number,
2962
+ type: V.number,
2965
2963
  tokens: n,
2966
2964
  location: r,
2967
- parsedOptions: this.shouldParseSkeletons ? Qr(n) : {}
2965
+ parsedOptions: this.shouldParseSkeletons ? Wr(n) : {}
2968
2966
  },
2969
2967
  err: null
2970
2968
  };
@@ -2983,20 +2981,20 @@ var cn = (
2983
2981
  if (h.has(a))
2984
2982
  return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
2985
2983
  a === "other" && (s = !0), this.bumpSpace();
2986
- var d = this.clonePosition();
2984
+ var b = this.clonePosition();
2987
2985
  if (!this.bumpIf("{"))
2988
2986
  return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
2989
- var x = this.parseMessage(t + 1, r, n);
2990
- if (x.err)
2991
- return x;
2992
- var m = this.tryParseArgumentClose(d);
2987
+ var y = this.parseMessage(t + 1, r, n);
2988
+ if (y.err)
2989
+ return y;
2990
+ var m = this.tryParseArgumentClose(b);
2993
2991
  if (m.err)
2994
2992
  return m;
2995
2993
  u.push([
2996
2994
  a,
2997
2995
  {
2998
- value: x.val,
2999
- location: g(d, this.clonePosition())
2996
+ value: y.val,
2997
+ location: g(b, this.clonePosition())
3000
2998
  }
3001
2999
  ]), h.add(a), this.bumpSpace(), o = this.parseIdentifierIfPossible(), a = o.value, l = o.location;
3002
3000
  }
@@ -3012,7 +3010,7 @@ var cn = (
3012
3010
  break;
3013
3011
  }
3014
3012
  var h = g(i, this.clonePosition());
3015
- return o ? (s *= n, un(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3013
+ return o ? (s *= n, sn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3016
3014
  }, e.prototype.offset = function() {
3017
3015
  return this.position.offset;
3018
3016
  }, e.prototype.isEOF = function() {
@@ -3027,7 +3025,7 @@ var cn = (
3027
3025
  var t = this.position.offset;
3028
3026
  if (t >= this.message.length)
3029
3027
  throw Error("out of bound");
3030
- var r = Ot(this.message, t);
3028
+ var r = wt(this.message, t);
3031
3029
  if (r === void 0)
3032
3030
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3033
3031
  return r;
@@ -3046,7 +3044,7 @@ var cn = (
3046
3044
  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);
3047
3045
  }
3048
3046
  }, e.prototype.bumpIf = function(t) {
3049
- if (rt(this.message, t, this.offset())) {
3047
+ if (tt(this.message, t, this.offset())) {
3050
3048
  for (var r = 0; r < t.length; r++)
3051
3049
  this.bump();
3052
3050
  return !0;
@@ -3078,47 +3076,47 @@ var cn = (
3078
3076
  }, e;
3079
3077
  }()
3080
3078
  );
3081
- function Ce(e) {
3079
+ function Le(e) {
3082
3080
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3083
3081
  }
3084
- function mn(e) {
3085
- return Ce(e) || e === 47;
3082
+ function cn(e) {
3083
+ return Le(e) || e === 47;
3086
3084
  }
3087
- function pn(e) {
3085
+ function mn(e) {
3088
3086
  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;
3089
3087
  }
3090
3088
  function Mt(e) {
3091
3089
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3092
3090
  }
3093
- function gn(e) {
3091
+ function pn(e) {
3094
3092
  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;
3095
3093
  }
3096
- function Re(e) {
3094
+ function Ce(e) {
3097
3095
  e.forEach(function(t) {
3098
- if (delete t.location, Ht(t) || Tt(t))
3096
+ if (delete t.location, _t(t) || Ht(t))
3099
3097
  for (var r in t.options)
3100
- delete t.options[r].location, Re(t.options[r].value);
3098
+ delete t.options[r].location, Ce(t.options[r].value);
3101
3099
  else
3102
- Et(t) && St(t.style) || (vt(t) || _t(t)) && Ie(t.style) ? delete t.style.location : Pt(t) && Re(t.children);
3100
+ yt(t) && Pt(t.style) || (Et(t) || vt(t)) && we(t.style) ? delete t.style.location : Tt(t) && Ce(t.children);
3103
3101
  });
3104
3102
  }
3105
- function dn(e, t) {
3106
- t === void 0 && (t = {}), t = le({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3107
- var r = new cn(e, t).parse();
3103
+ function gn(e, t) {
3104
+ t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3105
+ var r = new fn(e, t).parse();
3108
3106
  if (r.err) {
3109
3107
  var n = SyntaxError(p[r.err.kind]);
3110
3108
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3111
3109
  }
3112
- return t != null && t.captureLocation || Re(r.val), r.val;
3110
+ return t != null && t.captureLocation || Ce(r.val), r.val;
3113
3111
  }
3114
- var z;
3112
+ var X;
3115
3113
  (function(e) {
3116
3114
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3117
- })(z || (z = {}));
3118
- var ge = (
3115
+ })(X || (X = {}));
3116
+ var me = (
3119
3117
  /** @class */
3120
3118
  function(e) {
3121
- pe(t, e);
3119
+ ce(t, e);
3122
3120
  function t(r, n, i) {
3123
3121
  var o = e.call(this, r) || this;
3124
3122
  return o.code = n, o.originalMessage = i, o;
@@ -3127,48 +3125,48 @@ var ge = (
3127
3125
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3128
3126
  }, t;
3129
3127
  }(Error)
3130
- ), ot = (
3128
+ ), it = (
3131
3129
  /** @class */
3132
3130
  function(e) {
3133
- pe(t, e);
3131
+ ce(t, e);
3134
3132
  function t(r, n, i, o) {
3135
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
3133
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, o) || this;
3136
3134
  }
3137
3135
  return t;
3138
- }(ge)
3139
- ), bn = (
3136
+ }(me)
3137
+ ), dn = (
3140
3138
  /** @class */
3141
3139
  function(e) {
3142
- pe(t, e);
3140
+ ce(t, e);
3143
3141
  function t(r, n, i) {
3144
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
3142
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3145
3143
  }
3146
3144
  return t;
3147
- }(ge)
3148
- ), xn = (
3145
+ }(me)
3146
+ ), bn = (
3149
3147
  /** @class */
3150
3148
  function(e) {
3151
- pe(t, e);
3149
+ ce(t, e);
3152
3150
  function t(r, n) {
3153
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
3151
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3154
3152
  }
3155
3153
  return t;
3156
- }(ge)
3154
+ }(me)
3157
3155
  ), H;
3158
3156
  (function(e) {
3159
3157
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3160
3158
  })(H || (H = {}));
3161
- function yn(e) {
3159
+ function xn(e) {
3162
3160
  return e.length < 2 ? e : e.reduce(function(t, r) {
3163
3161
  var n = t[t.length - 1];
3164
3162
  return !n || n.type !== H.literal || r.type !== H.literal ? t.push(r) : n.value += r.value, t;
3165
3163
  }, []);
3166
3164
  }
3167
- function En(e) {
3165
+ function yn(e) {
3168
3166
  return typeof e == "function";
3169
3167
  }
3170
- function ue(e, t, r, n, i, o, s) {
3171
- if (e.length === 1 && Ye(e[0]))
3168
+ function se(e, t, r, n, i, o, s) {
3169
+ if (e.length === 1 && Je(e[0]))
3172
3170
  return [
3173
3171
  {
3174
3172
  type: H.literal,
@@ -3177,14 +3175,14 @@ function ue(e, t, r, n, i, o, s) {
3177
3175
  ];
3178
3176
  for (var u = [], h = 0, a = e; h < a.length; h++) {
3179
3177
  var l = a[h];
3180
- if (Ye(l)) {
3178
+ if (Je(l)) {
3181
3179
  u.push({
3182
3180
  type: H.literal,
3183
3181
  value: l.value
3184
3182
  });
3185
3183
  continue;
3186
3184
  }
3187
- if (Dr(l)) {
3185
+ if (Ur(l)) {
3188
3186
  typeof o == "number" && u.push({
3189
3187
  type: H.literal,
3190
3188
  value: r.getNumberFormat(t).format(o)
@@ -3193,89 +3191,89 @@ function ue(e, t, r, n, i, o, s) {
3193
3191
  }
3194
3192
  var f = l.value;
3195
3193
  if (!(i && f in i))
3196
- throw new xn(f, s);
3194
+ throw new bn(f, s);
3197
3195
  var c = i[f];
3198
- if (Ur(l)) {
3196
+ if (Gr(l)) {
3199
3197
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), u.push({
3200
3198
  type: typeof c == "string" ? H.literal : H.object,
3201
3199
  value: c
3202
3200
  });
3203
3201
  continue;
3204
3202
  }
3205
- if (vt(l)) {
3206
- var d = typeof l.style == "string" ? n.date[l.style] : Ie(l.style) ? l.style.parsedOptions : void 0;
3203
+ if (Et(l)) {
3204
+ var b = typeof l.style == "string" ? n.date[l.style] : we(l.style) ? l.style.parsedOptions : void 0;
3207
3205
  u.push({
3208
3206
  type: H.literal,
3209
- value: r.getDateTimeFormat(t, d).format(c)
3207
+ value: r.getDateTimeFormat(t, b).format(c)
3210
3208
  });
3211
3209
  continue;
3212
3210
  }
3213
- if (_t(l)) {
3214
- var d = typeof l.style == "string" ? n.time[l.style] : Ie(l.style) ? l.style.parsedOptions : n.time.medium;
3211
+ if (vt(l)) {
3212
+ var b = typeof l.style == "string" ? n.time[l.style] : we(l.style) ? l.style.parsedOptions : n.time.medium;
3215
3213
  u.push({
3216
3214
  type: H.literal,
3217
- value: r.getDateTimeFormat(t, d).format(c)
3215
+ value: r.getDateTimeFormat(t, b).format(c)
3218
3216
  });
3219
3217
  continue;
3220
3218
  }
3221
- if (Et(l)) {
3222
- var d = typeof l.style == "string" ? n.number[l.style] : St(l.style) ? l.style.parsedOptions : void 0;
3223
- d && d.scale && (c = c * (d.scale || 1)), u.push({
3219
+ if (yt(l)) {
3220
+ var b = typeof l.style == "string" ? n.number[l.style] : Pt(l.style) ? l.style.parsedOptions : void 0;
3221
+ b && b.scale && (c = c * (b.scale || 1)), u.push({
3224
3222
  type: H.literal,
3225
- value: r.getNumberFormat(t, d).format(c)
3223
+ value: r.getNumberFormat(t, b).format(c)
3226
3224
  });
3227
3225
  continue;
3228
3226
  }
3229
- if (Pt(l)) {
3230
- var x = l.children, m = l.value, v = i[m];
3231
- if (!En(v))
3232
- throw new bn(m, "function", s);
3233
- var T = ue(x, t, r, n, i, o), w = v(T.map(function(S) {
3234
- return S.value;
3227
+ if (Tt(l)) {
3228
+ var y = l.children, m = l.value, v = i[m];
3229
+ if (!yn(v))
3230
+ throw new dn(m, "function", s);
3231
+ var T = se(y, t, r, n, i, o), w = v(T.map(function(B) {
3232
+ return B.value;
3235
3233
  }));
3236
- Array.isArray(w) || (w = [w]), u.push.apply(u, w.map(function(S) {
3234
+ Array.isArray(w) || (w = [w]), u.push.apply(u, w.map(function(B) {
3237
3235
  return {
3238
- type: typeof S == "string" ? H.literal : H.object,
3239
- value: S
3236
+ type: typeof B == "string" ? H.literal : H.object,
3237
+ value: B
3240
3238
  };
3241
3239
  }));
3242
3240
  }
3243
- if (Ht(l)) {
3241
+ if (_t(l)) {
3244
3242
  var P = l.options[c] || l.options.other;
3245
3243
  if (!P)
3246
- throw new ot(l.value, c, Object.keys(l.options), s);
3247
- u.push.apply(u, ue(P.value, t, r, n, i));
3244
+ throw new it(l.value, c, Object.keys(l.options), s);
3245
+ u.push.apply(u, se(P.value, t, r, n, i));
3248
3246
  continue;
3249
3247
  }
3250
- if (Tt(l)) {
3248
+ if (Ht(l)) {
3251
3249
  var P = l.options["=".concat(c)];
3252
3250
  if (!P) {
3253
3251
  if (!Intl.PluralRules)
3254
- throw new ge(`Intl.PluralRules is not available in this environment.
3252
+ throw new me(`Intl.PluralRules is not available in this environment.
3255
3253
  Try polyfilling it using "@formatjs/intl-pluralrules"
3256
- `, z.MISSING_INTL_API, s);
3257
- var N = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3258
- P = l.options[N] || l.options.other;
3254
+ `, X.MISSING_INTL_API, s);
3255
+ var S = r.getPluralRules(t, { type: l.pluralType }).select(c - (l.offset || 0));
3256
+ P = l.options[S] || l.options.other;
3259
3257
  }
3260
3258
  if (!P)
3261
- throw new ot(l.value, c, Object.keys(l.options), s);
3262
- u.push.apply(u, ue(P.value, t, r, n, i, c - (l.offset || 0)));
3259
+ throw new it(l.value, c, Object.keys(l.options), s);
3260
+ u.push.apply(u, se(P.value, t, r, n, i, c - (l.offset || 0)));
3263
3261
  continue;
3264
3262
  }
3265
3263
  }
3266
- return yn(u);
3264
+ return xn(u);
3267
3265
  }
3268
- function vn(e, t) {
3269
- return t ? O(O(O({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3270
- return r[n] = O(O({}, e[n]), t[n] || {}), r;
3266
+ function En(e, t) {
3267
+ return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3268
+ return r[n] = d(d({}, e[n]), t[n] || {}), r;
3271
3269
  }, {})) : e;
3272
3270
  }
3273
- function _n(e, t) {
3271
+ function vn(e, t) {
3274
3272
  return t ? Object.keys(e).reduce(function(r, n) {
3275
- return r[n] = vn(e[n], t[n]), r;
3276
- }, O({}, e)) : e;
3273
+ return r[n] = En(e[n], t[n]), r;
3274
+ }, d({}, e)) : e;
3277
3275
  }
3278
- function Se(e) {
3276
+ function Te(e) {
3279
3277
  return {
3280
3278
  create: function() {
3281
3279
  return {
@@ -3289,39 +3287,39 @@ function Se(e) {
3289
3287
  }
3290
3288
  };
3291
3289
  }
3292
- function Hn(e) {
3290
+ function _n(e) {
3293
3291
  return e === void 0 && (e = {
3294
3292
  number: {},
3295
3293
  dateTime: {},
3296
3294
  pluralRules: {}
3297
3295
  }), {
3298
- getNumberFormat: He(function() {
3296
+ getNumberFormat: ve(function() {
3299
3297
  for (var t, r = [], n = 0; n < arguments.length; n++)
3300
3298
  r[n] = arguments[n];
3301
- return new ((t = Intl.NumberFormat).bind.apply(t, _e([void 0], r, !1)))();
3299
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ee([void 0], r, !1)))();
3302
3300
  }, {
3303
- cache: Se(e.number),
3304
- strategy: Te.variadic
3301
+ cache: Te(e.number),
3302
+ strategy: _e.variadic
3305
3303
  }),
3306
- getDateTimeFormat: He(function() {
3304
+ getDateTimeFormat: ve(function() {
3307
3305
  for (var t, r = [], n = 0; n < arguments.length; n++)
3308
3306
  r[n] = arguments[n];
3309
- return new ((t = Intl.DateTimeFormat).bind.apply(t, _e([void 0], r, !1)))();
3307
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ee([void 0], r, !1)))();
3310
3308
  }, {
3311
- cache: Se(e.dateTime),
3312
- strategy: Te.variadic
3309
+ cache: Te(e.dateTime),
3310
+ strategy: _e.variadic
3313
3311
  }),
3314
- getPluralRules: He(function() {
3312
+ getPluralRules: ve(function() {
3315
3313
  for (var t, r = [], n = 0; n < arguments.length; n++)
3316
3314
  r[n] = arguments[n];
3317
- return new ((t = Intl.PluralRules).bind.apply(t, _e([void 0], r, !1)))();
3315
+ return new ((t = Intl.PluralRules).bind.apply(t, Ee([void 0], r, !1)))();
3318
3316
  }, {
3319
- cache: Se(e.pluralRules),
3320
- strategy: Te.variadic
3317
+ cache: Te(e.pluralRules),
3318
+ strategy: _e.variadic
3321
3319
  })
3322
3320
  };
3323
3321
  }
3324
- var Tn = (
3322
+ var Hn = (
3325
3323
  /** @class */
3326
3324
  function() {
3327
3325
  function e(t, r, n, i) {
@@ -3340,7 +3338,7 @@ var Tn = (
3340
3338
  }, []);
3341
3339
  return l.length <= 1 ? l[0] || "" : l;
3342
3340
  }, this.formatToParts = function(h) {
3343
- return ue(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3341
+ return se(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3344
3342
  }, this.resolvedOptions = function() {
3345
3343
  var h;
3346
3344
  return {
@@ -3353,13 +3351,13 @@ var Tn = (
3353
3351
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3354
3352
  var s = i || {};
3355
3353
  s.formatters;
3356
- var u = Ir(s, ["formatters"]);
3357
- this.ast = e.__parse(t, O(O({}, u), { locale: this.resolvedLocale }));
3354
+ var u = Or(s, ["formatters"]);
3355
+ this.ast = e.__parse(t, d(d({}, u), { locale: this.resolvedLocale }));
3358
3356
  } else
3359
3357
  this.ast = t;
3360
3358
  if (!Array.isArray(this.ast))
3361
3359
  throw new TypeError("A message must be provided as a String or AST.");
3362
- this.formats = _n(e.formats, n), this.formatters = i && i.formatters || Hn(this.formatterCache);
3360
+ this.formats = vn(e.formats, n), this.formatters = i && i.formatters || _n(this.formatterCache);
3363
3361
  }
3364
3362
  return Object.defineProperty(e, "defaultLocale", {
3365
3363
  get: function() {
@@ -3372,7 +3370,7 @@ var Tn = (
3372
3370
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3373
3371
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3374
3372
  }
3375
- }, e.__parse = dn, e.formats = {
3373
+ }, e.__parse = gn, e.formats = {
3376
3374
  number: {
3377
3375
  integer: {
3378
3376
  maximumFractionDigits: 0
@@ -3433,7 +3431,7 @@ var Tn = (
3433
3431
  }, e;
3434
3432
  }()
3435
3433
  );
3436
- function Pn(e, t) {
3434
+ function Tn(e, t) {
3437
3435
  if (t == null)
3438
3436
  return;
3439
3437
  if (t in e)
@@ -3454,90 +3452,90 @@ function Pn(e, t) {
3454
3452
  n = void 0;
3455
3453
  return n;
3456
3454
  }
3457
- const L = {}, Sn = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), Lt = (e, t) => {
3455
+ const I = {}, Pn = (e, t, r) => r && (t in I || (I[t] = {}), e in I[t] || (I[t][e] = r), r), It = (e, t) => {
3458
3456
  if (t == null)
3459
3457
  return;
3460
- if (t in L && e in L[t])
3461
- return L[t][e];
3462
- const r = de(t);
3458
+ if (t in I && e in I[t])
3459
+ return I[t][e];
3460
+ const r = pe(t);
3463
3461
  for (let n = 0; n < r.length; n++) {
3464
3462
  const i = r[n], o = Nn(i, e);
3465
3463
  if (o)
3466
- return Sn(e, t, o);
3464
+ return Pn(e, t, o);
3467
3465
  }
3468
3466
  };
3469
- let je;
3470
- const ie = me({});
3467
+ let De;
3468
+ const ne = fe({});
3471
3469
  function Bn(e) {
3472
- return je[e] || null;
3470
+ return De[e] || null;
3473
3471
  }
3474
- function $t(e) {
3475
- return e in je;
3472
+ function Lt(e) {
3473
+ return e in De;
3476
3474
  }
3477
3475
  function Nn(e, t) {
3478
- if (!$t(e))
3476
+ if (!Lt(e))
3479
3477
  return null;
3480
3478
  const r = Bn(e);
3481
- return Pn(r, t);
3479
+ return Tn(r, t);
3482
3480
  }
3483
- function An(e) {
3481
+ function Sn(e) {
3484
3482
  if (e == null)
3485
3483
  return;
3486
- const t = de(e);
3484
+ const t = pe(e);
3487
3485
  for (let r = 0; r < t.length; r++) {
3488
3486
  const n = t[r];
3489
- if ($t(n))
3487
+ if (Lt(n))
3490
3488
  return n;
3491
3489
  }
3492
3490
  }
3493
3491
  function Ct(e, ...t) {
3494
- delete L[e], ie.update((r) => (r[e] = Or.all([r[e] || {}, ...t]), r));
3492
+ delete I[e], ne.update((r) => (r[e] = wr.all([r[e] || {}, ...t]), r));
3495
3493
  }
3496
- W(
3497
- [ie],
3494
+ Z(
3495
+ [ne],
3498
3496
  ([e]) => Object.keys(e)
3499
3497
  );
3500
- ie.subscribe((e) => je = e);
3501
- const he = {};
3502
- function wn(e, t) {
3503
- he[e].delete(t), he[e].size === 0 && delete he[e];
3498
+ ne.subscribe((e) => De = e);
3499
+ const ue = {};
3500
+ function An(e, t) {
3501
+ ue[e].delete(t), ue[e].size === 0 && delete ue[e];
3504
3502
  }
3505
- function Rt(e) {
3506
- return he[e];
3503
+ function $t(e) {
3504
+ return ue[e];
3507
3505
  }
3508
- function On(e) {
3509
- return de(e).map((t) => {
3510
- const r = Rt(t);
3506
+ function wn(e) {
3507
+ return pe(e).map((t) => {
3508
+ const r = $t(t);
3511
3509
  return [t, r ? [...r] : []];
3512
3510
  }).filter(([, t]) => t.length > 0);
3513
3511
  }
3514
- function Fe(e) {
3515
- return e == null ? !1 : de(e).some(
3512
+ function $e(e) {
3513
+ return e == null ? !1 : pe(e).some(
3516
3514
  (t) => {
3517
3515
  var r;
3518
- return (r = Rt(t)) == null ? void 0 : r.size;
3516
+ return (r = $t(t)) == null ? void 0 : r.size;
3519
3517
  }
3520
3518
  );
3521
3519
  }
3522
- function In(e, t) {
3520
+ function On(e, t) {
3523
3521
  return Promise.all(
3524
- t.map((n) => (wn(e, n), n().then((i) => i.default || i)))
3522
+ t.map((n) => (An(e, n), n().then((i) => i.default || i)))
3525
3523
  ).then((n) => Ct(e, ...n));
3526
3524
  }
3527
- const Y = {};
3528
- function Ft(e) {
3529
- if (!Fe(e))
3530
- return e in Y ? Y[e] : Promise.resolve();
3531
- const t = On(e);
3532
- return Y[e] = Promise.all(
3525
+ const J = {};
3526
+ function Rt(e) {
3527
+ if (!$e(e))
3528
+ return e in J ? J[e] : Promise.resolve();
3529
+ const t = wn(e);
3530
+ return J[e] = Promise.all(
3533
3531
  t.map(
3534
- ([r, n]) => In(r, n)
3532
+ ([r, n]) => On(r, n)
3535
3533
  )
3536
3534
  ).then(() => {
3537
- if (Fe(e))
3538
- return Ft(e);
3539
- delete Y[e];
3540
- }), Y[e];
3535
+ if ($e(e))
3536
+ return Rt(e);
3537
+ delete J[e];
3538
+ }), J[e];
3541
3539
  }
3542
3540
  const Mn = {
3543
3541
  number: {
@@ -3568,150 +3566,150 @@ const Mn = {
3568
3566
  timeZoneName: "short"
3569
3567
  }
3570
3568
  }
3571
- }, Ln = {
3569
+ }, In = {
3572
3570
  fallbackLocale: null,
3573
3571
  loadingDelay: 200,
3574
3572
  formats: Mn,
3575
3573
  warnOnMissingMessages: !0,
3576
3574
  handleMissingMessage: void 0,
3577
3575
  ignoreTag: !0
3578
- }, $n = Ln;
3579
- function Z() {
3580
- return $n;
3581
- }
3582
- const Be = me(!1);
3583
- var Cn = Object.defineProperty, Rn = Object.defineProperties, Fn = Object.getOwnPropertyDescriptors, at = Object.getOwnPropertySymbols, Gn = Object.prototype.hasOwnProperty, Un = Object.prototype.propertyIsEnumerable, st = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Dn = (e, t) => {
3584
- for (var r in t || (t = {}))
3585
- Gn.call(t, r) && st(e, r, t[r]);
3586
- if (at)
3587
- for (var r of at(t))
3588
- Un.call(t, r) && st(e, r, t[r]);
3576
+ }, Ln = In;
3577
+ function z() {
3578
+ return Ln;
3579
+ }
3580
+ const Pe = fe(!1);
3581
+ var Cn = Object.defineProperty, $n = Object.defineProperties, Rn = Object.getOwnPropertyDescriptors, ot = Object.getOwnPropertySymbols, Fn = Object.prototype.hasOwnProperty, Gn = Object.prototype.propertyIsEnumerable, at = (e, t, r) => t in e ? Cn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Un = (e, t) => {
3582
+ for (var r in t)
3583
+ Fn.call(t, r) && at(e, r, t[r]);
3584
+ if (ot)
3585
+ for (var r of ot(t))
3586
+ Gn.call(t, r) && at(e, r, t[r]);
3589
3587
  return e;
3590
- }, jn = (e, t) => Rn(e, Fn(t));
3591
- let Ge;
3592
- const fe = me(null);
3593
- function ut(e) {
3588
+ }, Dn = (e, t) => $n(e, Rn(t));
3589
+ let Re;
3590
+ const he = fe(null);
3591
+ function st(e) {
3594
3592
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3595
3593
  }
3596
- function de(e, t = Z().fallbackLocale) {
3597
- const r = ut(e);
3598
- return t ? [.../* @__PURE__ */ new Set([...r, ...ut(t)])] : r;
3594
+ function pe(e, t = z().fallbackLocale) {
3595
+ const r = st(e);
3596
+ return t ? [.../* @__PURE__ */ new Set([...r, ...st(t)])] : r;
3599
3597
  }
3600
- function F() {
3601
- return Ge != null ? Ge : void 0;
3598
+ function R() {
3599
+ return Re != null ? Re : void 0;
3602
3600
  }
3603
- fe.subscribe((e) => {
3604
- Ge = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3601
+ he.subscribe((e) => {
3602
+ Re = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
3605
3603
  });
3606
3604
  const kn = (e) => {
3607
- if (e && An(e) && Fe(e)) {
3608
- const { loadingDelay: t } = Z();
3605
+ if (e && Sn(e) && $e(e)) {
3606
+ const { loadingDelay: t } = z();
3609
3607
  let r;
3610
- return typeof window != "undefined" && F() != null && t ? r = window.setTimeout(
3611
- () => Be.set(!0),
3608
+ return typeof window != "undefined" && R() != null && t ? r = window.setTimeout(
3609
+ () => Pe.set(!0),
3612
3610
  t
3613
- ) : Be.set(!0), Ft(e).then(() => {
3614
- fe.set(e);
3611
+ ) : Pe.set(!0), Rt(e).then(() => {
3612
+ he.set(e);
3615
3613
  }).finally(() => {
3616
- clearTimeout(r), Be.set(!1);
3614
+ clearTimeout(r), Pe.set(!1);
3617
3615
  });
3618
3616
  }
3619
- return fe.set(e);
3620
- }, Q = jn(Dn({}, fe), {
3617
+ return he.set(e);
3618
+ }, W = Dn(Un({}, he), {
3621
3619
  set: kn
3622
- }), be = (e) => {
3620
+ }), ge = (e) => {
3623
3621
  const t = /* @__PURE__ */ Object.create(null);
3624
3622
  return (n) => {
3625
3623
  const i = JSON.stringify(n);
3626
3624
  return i in t ? t[i] : t[i] = e(n);
3627
3625
  };
3628
3626
  };
3629
- var Vn = Object.defineProperty, ce = Object.getOwnPropertySymbols, Gt = Object.prototype.hasOwnProperty, Ut = Object.prototype.propertyIsEnumerable, ht = (e, t, r) => t in e ? Vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ke = (e, t) => {
3627
+ var jn = Object.defineProperty, le = Object.getOwnPropertySymbols, Ft = Object.prototype.hasOwnProperty, Gt = Object.prototype.propertyIsEnumerable, ut = (e, t, r) => t in e ? jn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ke = (e, t) => {
3630
3628
  for (var r in t || (t = {}))
3631
- Gt.call(t, r) && ht(e, r, t[r]);
3632
- if (ce)
3633
- for (var r of ce(t))
3634
- Ut.call(t, r) && ht(e, r, t[r]);
3629
+ Ft.call(t, r) && ut(e, r, t[r]);
3630
+ if (le)
3631
+ for (var r of le(t))
3632
+ Gt.call(t, r) && ut(e, r, t[r]);
3635
3633
  return e;
3636
- }, q = (e, t) => {
3634
+ }, Q = (e, t) => {
3637
3635
  var r = {};
3638
3636
  for (var n in e)
3639
- Gt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3640
- if (e != null && ce)
3641
- for (var n of ce(e))
3642
- t.indexOf(n) < 0 && Ut.call(e, n) && (r[n] = e[n]);
3637
+ Ft.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3638
+ if (e != null && le)
3639
+ for (var n of le(e))
3640
+ t.indexOf(n) < 0 && Gt.call(e, n) && (r[n] = e[n]);
3643
3641
  return r;
3644
3642
  };
3645
- const re = (e, t) => {
3646
- const { formats: r } = Z();
3643
+ const te = (e, t) => {
3644
+ const { formats: r } = z();
3647
3645
  if (e in r && t in r[e])
3648
3646
  return r[e][t];
3649
3647
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3650
- }, Xn = be(
3648
+ }, Vn = ge(
3651
3649
  (e) => {
3652
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3650
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3653
3651
  if (r == null)
3654
3652
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3655
- return n && (i = re("number", n)), new Intl.NumberFormat(r, i);
3653
+ return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
3656
3654
  }
3657
- ), zn = be(
3655
+ ), Xn = ge(
3658
3656
  (e) => {
3659
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3657
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3660
3658
  if (r == null)
3661
3659
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3662
- return n ? i = re("date", n) : Object.keys(i).length === 0 && (i = re("date", "short")), new Intl.DateTimeFormat(r, i);
3660
+ return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
3663
3661
  }
3664
- ), Zn = be(
3662
+ ), zn = ge(
3665
3663
  (e) => {
3666
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
3664
+ var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
3667
3665
  if (r == null)
3668
3666
  throw new Error(
3669
3667
  '[svelte-i18n] A "locale" must be set to format time values'
3670
3668
  );
3671
- return n ? i = re("time", n) : Object.keys(i).length === 0 && (i = re("time", "short")), new Intl.DateTimeFormat(r, i);
3669
+ return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
3672
3670
  }
3673
- ), Wn = (e = {}) => {
3671
+ ), Zn = (e = {}) => {
3674
3672
  var t = e, {
3675
- locale: r = F()
3676
- } = t, n = q(t, [
3673
+ locale: r = R()
3674
+ } = t, n = Q(t, [
3677
3675
  "locale"
3678
3676
  ]);
3679
- return Xn(ke({ locale: r }, n));
3680
- }, Qn = (e = {}) => {
3677
+ return Vn(ke({ locale: r }, n));
3678
+ }, Wn = (e = {}) => {
3681
3679
  var t = e, {
3682
- locale: r = F()
3683
- } = t, n = q(t, [
3680
+ locale: r = R()
3681
+ } = t, n = Q(t, [
3684
3682
  "locale"
3685
3683
  ]);
3686
- return zn(ke({ locale: r }, n));
3687
- }, qn = (e = {}) => {
3684
+ return Xn(ke({ locale: r }, n));
3685
+ }, Qn = (e = {}) => {
3688
3686
  var t = e, {
3689
- locale: r = F()
3690
- } = t, n = q(t, [
3687
+ locale: r = R()
3688
+ } = t, n = Q(t, [
3691
3689
  "locale"
3692
3690
  ]);
3693
- return Zn(ke({ locale: r }, n));
3694
- }, Jn = be(
3691
+ return zn(ke({ locale: r }, n));
3692
+ }, qn = ge(
3695
3693
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3696
- (e, t = F()) => new Tn(e, t, Z().formats, {
3697
- ignoreTag: Z().ignoreTag
3694
+ (e, t = R()) => new Hn(e, t, z().formats, {
3695
+ ignoreTag: z().ignoreTag
3698
3696
  })
3699
- ), Yn = (e, t = {}) => {
3697
+ ), Jn = (e, t = {}) => {
3700
3698
  var r, n, i, o;
3701
3699
  let s = t;
3702
3700
  typeof e == "object" && (s = e, e = s.id);
3703
3701
  const {
3704
3702
  values: u,
3705
- locale: h = F(),
3703
+ locale: h = R(),
3706
3704
  default: a
3707
3705
  } = s;
3708
3706
  if (h == null)
3709
3707
  throw new Error(
3710
3708
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3711
3709
  );
3712
- let l = Lt(e, h);
3710
+ let l = It(e, h);
3713
3711
  if (!l)
3714
- l = (o = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
3712
+ l = (o = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: a })) != null ? i : a) != null ? o : e;
3715
3713
  else if (typeof l != "string")
3716
3714
  return console.warn(
3717
3715
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -3720,7 +3718,7 @@ const re = (e, t) => {
3720
3718
  return l;
3721
3719
  let f = l;
3722
3720
  try {
3723
- f = Jn(l, h).format(u);
3721
+ f = qn(l, h).format(u);
3724
3722
  } catch (c) {
3725
3723
  c instanceof Error && console.warn(
3726
3724
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3728,18 +3726,18 @@ const re = (e, t) => {
3728
3726
  );
3729
3727
  }
3730
3728
  return f;
3731
- }, Kn = (e, t) => qn(t).format(e), ei = (e, t) => Qn(t).format(e), ti = (e, t) => Wn(t).format(e), ri = (e, t = F()) => Lt(e, t), ni = W([Q, ie], () => Yn);
3732
- W([Q], () => Kn);
3733
- W([Q], () => ei);
3734
- W([Q], () => ti);
3735
- W([Q, ie], () => ri);
3736
- function lt(e, t) {
3729
+ }, Yn = (e, t) => Qn(t).format(e), Kn = (e, t) => Wn(t).format(e), ei = (e, t) => Zn(t).format(e), ti = (e, t = R()) => It(e, t), ri = Z([W, ne], () => Jn);
3730
+ Z([W], () => Yn);
3731
+ Z([W], () => Kn);
3732
+ Z([W], () => ei);
3733
+ Z([W, ne], () => ti);
3734
+ function ht(e, t) {
3737
3735
  Ct(e, t);
3738
3736
  }
3739
- function ii(e) {
3740
- Q.set(e);
3737
+ function ni(e) {
3738
+ W.set(e);
3741
3739
  }
3742
- const ft = {
3740
+ const lt = {
3743
3741
  en: {
3744
3742
  pageNotFound: "Page not found",
3745
3743
  pageNotFoundMessage: "The page you were looking for could not be found. Please go back to our Homepage.",
@@ -3831,13 +3829,13 @@ const ft = {
3831
3829
  home: "Go to homepage"
3832
3830
  }
3833
3831
  };
3834
- function oi(e, t) {
3832
+ function ii(e, t) {
3835
3833
  if (e) {
3836
3834
  const r = document.createElement("style");
3837
3835
  r.innerHTML = t, e.appendChild(r);
3838
3836
  }
3839
3837
  }
3840
- function ai(e, t) {
3838
+ function oi(e, t) {
3841
3839
  const r = new URL(t);
3842
3840
  fetch(r.href).then((n) => n.text()).then((n) => {
3843
3841
  const i = document.createElement("style");
@@ -3846,7 +3844,7 @@ function ai(e, t) {
3846
3844
  console.error("There was an error while trying to load client styling from URL", n);
3847
3845
  });
3848
3846
  }
3849
- function si(e, t, r) {
3847
+ function ai(e, t, r) {
3850
3848
  if (window.emMessageBus) {
3851
3849
  const n = document.createElement("style");
3852
3850
  window.emMessageBus.subscribe(t, (i) => {
@@ -3854,74 +3852,74 @@ function si(e, t, r) {
3854
3852
  });
3855
3853
  }
3856
3854
  }
3857
- function ui(e) {
3858
- Wt(e, "svelte-xvkdgv", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:50px 0;width:100%;text-align:center}.NotFoundPage{display:flex;flex-direction:column;margin:auto;gap:40px;align-items:center;max-width:800px;padding:50px}.NotFoundPage svg{fill:var(--emw--misc-color-primary, var(--emw--color-primary, #22B04E))}.PageTitle{color:var(--emw--misc-color-primary, var(--emw--color-primary, #22B04E));font-weight:500;font-size:28px}.PageContent{color:#D1D1D1;font-size:18px;line-height:24px}.ErrorPageTitle{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-weight:500;font-size:28px}.ErrorPageContent{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:18px;line-height:24px}.ButtonDefaultSmall{background:var(--emw--misc-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--misc-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border-radius:5px;width:30%;height:60px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}@media only screen and (max-width: 475px){.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:20px 0;width:100%;text-align:center}.NotFoundPage{text-align:center;width:100%}.PageTitle{font-size:22px}.ButtonDefaultSmall{width:80%;height:50px;font-size:14px;grid-template-columns:1fr}.ErrorPageContent{font-size:16px;line-height:18px}.ErrorPageTitle{font-size:18px}.PageContent{font-size:16px;line-height:18px}}");
3855
+ function si(e) {
3856
+ Zt(e, "svelte-xvkdgv", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:inherit}.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:50px 0;width:100%;text-align:center}.NotFoundPage{display:flex;flex-direction:column;margin:auto;gap:40px;align-items:center;max-width:800px;padding:50px}.NotFoundPage svg{fill:var(--emw--misc-color-primary, var(--emw--color-primary, #22B04E))}.PageTitle{color:var(--emw--misc-color-primary, var(--emw--color-primary, #22B04E));font-weight:500;font-size:28px}.PageContent{color:#D1D1D1;font-size:18px;line-height:24px}.ErrorPageTitle{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-weight:500;font-size:28px}.ErrorPageContent{color:var(--emw--color-error, var(--emw--color-red, #ed0909));font-size:18px;line-height:24px}.ButtonDefaultSmall{background:var(--emw--misc-color-primary, var(--emw--color-primary, #22B04E));border:1px solid var(--emw--misc-color-primary, var(--emw--color-primary, #22B04E));color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));border-radius:5px;width:30%;height:60px;display:flex;align-items:center;justify-content:center;font-size:16px;text-transform:uppercase;transition-duration:0.3s;box-sizing:border-box;cursor:pointer}@media only screen and (max-width: 475px){.PageWrapper{color:var(--emw--misc-typography, var(--emw--color-white, #FFFFFF));background:var(--emw--misc-color-bg, var(--emw--color-background, #07072A));padding:20px 0;width:100%;text-align:center}.NotFoundPage{text-align:center;width:100%}.PageTitle{font-size:22px}.ButtonDefaultSmall{width:80%;height:50px;font-size:14px;grid-template-columns:1fr}.ErrorPageContent{font-size:16px;line-height:18px}.ErrorPageTitle{font-size:18px}.PageContent{font-size:16px;line-height:18px}}");
3859
3857
  }
3860
- function hi(e) {
3861
- let t, r, n, i, o, s, u, h, a, l, f, c, d = (
3858
+ function ui(e) {
3859
+ let t, r, n, i, o, s, u, h, a, l, f, c, b = (
3862
3860
  /*$_*/
3863
3861
  e[1]("pageNotFound") + ""
3864
- ), x, m, v, T = (
3862
+ ), y, m, v, T = (
3865
3863
  /*$_*/
3866
3864
  e[1]("pageNotFoundMessage") + ""
3867
- ), w, P, N, S = (
3865
+ ), w, P, S, B = (
3868
3866
  /*$_*/
3869
3867
  e[1]("home") + ""
3870
- ), I, G, Ve;
3868
+ ), O, F, je;
3871
3869
  return {
3872
3870
  c() {
3873
- t = C("div"), r = C("div"), n = M("svg"), i = M("g"), o = M("path"), s = M("path"), u = M("path"), h = M("path"), a = M("path"), l = M("path"), f = ye(), c = C("p"), x = ae(d), m = ye(), v = C("p"), w = ae(T), P = ye(), N = C("button"), I = ae(S), b(o, "class", "a"), b(o, "d", "M753.094,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,0,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.262,3.262,0,0,0-3.517,1.552l-14.483,26.9a3.305,3.305,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62H756.2Z"), b(o, "transform", "translate(-658.898 -446.452)"), b(s, "class", "a"), b(s, "d", "M508.259,555.422a11.346,11.346,0,0,0,11.379-11.379V522.319a11.379,11.379,0,1,0-22.757,0v21.725A11.346,11.346,0,0,0,508.259,555.422Zm-5.172-33.1a5.172,5.172,0,1,1,10.345,0v21.725a5.172,5.172,0,0,1-10.345,0Z"), b(s, "transform", "translate(-433.716 -446.252)"), b(u, "class", "a"), b(u, "d", "M237.474,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,1,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.2,3.2,0,0,0-3.517,1.552l-14.483,26.9a3.3,3.3,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62h-8.276Z"), b(u, "transform", "translate(-200.173 -446.452)"), b(h, "class", "a"), b(h, "d", "M22.819,139.685H126.266a13.422,13.422,0,0,0,13.449-13.449V22.789A13.422,13.422,0,0,0,126.266,9.34H22.819A13.422,13.422,0,0,0,9.37,22.789V126.236A13.422,13.422,0,0,0,22.819,139.685Zm-7.241-116.9a7.2,7.2,0,0,1,7.241-7.241H126.266a7.2,7.2,0,0,1,7.241,7.241V38.3H15.572Zm0,21.725H133.513v81.723a7.2,7.2,0,0,1-7.241,7.241H22.824a7.2,7.2,0,0,1-7.241-7.241Z"), b(a, "class", "a"), b(a, "d", "M147.866,140.62h-4.138a3.1,3.1,0,0,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), b(a, "transform", "translate(-116.772 -116.794)"), b(l, "class", "a"), b(l, "d", "M297.866,140.62h-4.138a3.1,3.1,0,1,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), b(l, "transform", "translate(-250.22 -116.794)"), b(i, "transform", "translate(-9.37 -9.34)"), b(n, "class", "svgColor"), b(n, "xmlns", "http://www.w3.org/2000/svg"), b(n, "width", "130.345"), b(n, "height", "130.345"), b(n, "viewBox", "0 0 130.345 130.345"), b(c, "class", "PageTitle"), b(v, "class", "PageContent"), b(N, "class", "ButtonDefaultSmall"), b(r, "class", "NotFoundPage"), b(t, "class", "PageWrapper");
3871
+ t = C("div"), r = C("div"), n = M("svg"), i = M("g"), o = M("path"), s = M("path"), u = M("path"), h = M("path"), a = M("path"), l = M("path"), f = be(), c = C("p"), y = oe(b), m = be(), v = C("p"), w = oe(T), P = be(), S = C("button"), O = oe(B), x(o, "class", "a"), x(o, "d", "M753.094,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,0,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.262,3.262,0,0,0-3.517,1.552l-14.483,26.9a3.305,3.305,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62H756.2Z"), x(o, "transform", "translate(-658.898 -446.452)"), x(s, "class", "a"), x(s, "d", "M508.259,555.422a11.346,11.346,0,0,0,11.379-11.379V522.319a11.379,11.379,0,1,0-22.757,0v21.725A11.346,11.346,0,0,0,508.259,555.422Zm-5.172-33.1a5.172,5.172,0,1,1,10.345,0v21.725a5.172,5.172,0,0,1-10.345,0Z"), x(s, "transform", "translate(-433.716 -446.252)"), x(u, "class", "a"), x(u, "d", "M237.474,548.381h11.379v4.138a3.1,3.1,0,1,0,6.207,0v-4.138a3.1,3.1,0,1,0,0-6.207v-27.93a3,3,0,0,0-2.379-3,3.2,3.2,0,0,0-3.517,1.552l-14.483,26.9a3.3,3.3,0,0,0-.31,1.448v4.138a3.048,3.048,0,0,0,3.1,3.1Zm3.1-6.414,8.276-15.414v15.62h-8.276Z"), x(u, "transform", "translate(-200.173 -446.452)"), x(h, "class", "a"), x(h, "d", "M22.819,139.685H126.266a13.422,13.422,0,0,0,13.449-13.449V22.789A13.422,13.422,0,0,0,126.266,9.34H22.819A13.422,13.422,0,0,0,9.37,22.789V126.236A13.422,13.422,0,0,0,22.819,139.685Zm-7.241-116.9a7.2,7.2,0,0,1,7.241-7.241H126.266a7.2,7.2,0,0,1,7.241,7.241V38.3H15.572Zm0,21.725H133.513v81.723a7.2,7.2,0,0,1-7.241,7.241H22.824a7.2,7.2,0,0,1-7.241-7.241Z"), x(a, "class", "a"), x(a, "d", "M147.866,140.62h-4.138a3.1,3.1,0,0,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), x(a, "transform", "translate(-116.772 -116.794)"), x(l, "class", "a"), x(l, "d", "M297.866,140.62h-4.138a3.1,3.1,0,1,0,0,6.207h4.138a3.1,3.1,0,0,0,0-6.207Z"), x(l, "transform", "translate(-250.22 -116.794)"), x(i, "transform", "translate(-9.37 -9.34)"), x(n, "class", "svgColor"), x(n, "xmlns", "http://www.w3.org/2000/svg"), x(n, "width", "130.345"), x(n, "height", "130.345"), x(n, "viewBox", "0 0 130.345 130.345"), x(c, "class", "PageTitle"), x(v, "class", "PageContent"), x(S, "class", "ButtonDefaultSmall"), x(r, "class", "NotFoundPage"), x(t, "class", "PageWrapper");
3874
3872
  },
3875
- m($, J) {
3876
- gt($, t, J), _(t, r), _(r, n), _(n, i), _(i, o), _(i, s), _(i, u), _(i, h), _(i, a), _(i, l), _(r, f), _(r, c), _(c, x), _(r, m), _(r, v), _(v, w), _(r, P), _(r, N), _(N, I), e[9](t), G || (Ve = Jt(
3877
- N,
3873
+ m(L, q) {
3874
+ pt(L, t, q), _(t, r), _(r, n), _(n, i), _(i, o), _(i, s), _(i, u), _(i, h), _(i, a), _(i, l), _(r, f), _(r, c), _(c, y), _(r, m), _(r, v), _(v, w), _(r, P), _(r, S), _(S, O), e[9](t), F || (je = qt(
3875
+ S,
3878
3876
  "click",
3879
3877
  /*click_handler*/
3880
3878
  e[8]
3881
- ), G = !0);
3879
+ ), F = !0);
3882
3880
  },
3883
- p($, [J]) {
3884
- J & /*$_*/
3885
- 2 && d !== (d = /*$_*/
3886
- $[1]("pageNotFound") + "") && Ee(x, d), J & /*$_*/
3881
+ p(L, [q]) {
3882
+ q & /*$_*/
3883
+ 2 && b !== (b = /*$_*/
3884
+ L[1]("pageNotFound") + "") && xe(y, b), q & /*$_*/
3887
3885
  2 && T !== (T = /*$_*/
3888
- $[1]("pageNotFoundMessage") + "") && Ee(w, T), J & /*$_*/
3889
- 2 && S !== (S = /*$_*/
3890
- $[1]("home") + "") && Ee(I, S);
3886
+ L[1]("pageNotFoundMessage") + "") && xe(w, T), q & /*$_*/
3887
+ 2 && B !== (B = /*$_*/
3888
+ L[1]("home") + "") && xe(O, B);
3891
3889
  },
3892
3890
  i: A,
3893
3891
  o: A,
3894
- d($) {
3895
- $ && De(t), e[9](null), G = !1, Ve();
3892
+ d(L) {
3893
+ L && Ge(t), e[9](null), F = !1, je();
3896
3894
  }
3897
3895
  };
3898
3896
  }
3899
- function li(e, t, r) {
3897
+ function hi(e, t, r) {
3900
3898
  let n;
3901
- Zt(e, ni, (m) => r(1, n = m));
3899
+ zt(e, ri, (m) => r(1, n = m));
3902
3900
  let { lang: i = "en" } = t, { clientstyling: o = "" } = t, { clientstylingurl: s = "" } = t, { translationurl: u = "" } = t, { mbsource: h } = t, a;
3903
3901
  const l = () => {
3904
3902
  fetch(u).then((v) => v.json()).then((v) => {
3905
3903
  Object.keys(v).forEach((T) => {
3906
- lt(T, v[T]);
3904
+ ht(T, v[T]);
3907
3905
  });
3908
3906
  }).catch((v) => {
3909
3907
  console.log(v);
3910
3908
  });
3911
3909
  };
3912
- Object.keys(ft).forEach((m) => {
3913
- lt(m, ft[m]);
3910
+ Object.keys(lt).forEach((m) => {
3911
+ ht(m, lt[m]);
3914
3912
  });
3915
3913
  const f = () => {
3916
3914
  window.postMessage({ type: "GoToHomepage" }, window.location.href);
3917
3915
  }, c = () => {
3918
- ii(i);
3916
+ ni(i);
3919
3917
  };
3920
- tr(() => () => {
3918
+ er(() => () => {
3921
3919
  });
3922
- const d = () => f();
3923
- function x(m) {
3924
- Ne[m ? "unshift" : "push"](() => {
3920
+ const b = () => f();
3921
+ function y(m) {
3922
+ Be[m ? "unshift" : "push"](() => {
3925
3923
  a = m, r(0, a);
3926
3924
  });
3927
3925
  }
@@ -3931,9 +3929,9 @@ function li(e, t, r) {
3931
3929
  e.$$.dirty & /*lang*/
3932
3930
  8 && i && c(), e.$$.dirty & /*translationurl*/
3933
3931
  64 && u && l(), e.$$.dirty & /*clientstyling, customStylingContainer*/
3934
- 17 && o && a && oi(a, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
3935
- 33 && s && a && ai(a, s), e.$$.dirty & /*mbsource, customStylingContainer*/
3936
- 129 && h && a && si(a, `${h}.Style`);
3932
+ 17 && o && a && ii(a, o), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
3933
+ 33 && s && a && oi(a, s), e.$$.dirty & /*mbsource, customStylingContainer*/
3934
+ 129 && h && a && ai(a, `${h}.Style`);
3937
3935
  }, [
3938
3936
  a,
3939
3937
  n,
@@ -3943,18 +3941,18 @@ function li(e, t, r) {
3943
3941
  s,
3944
3942
  u,
3945
3943
  h,
3946
- d,
3947
- x
3944
+ b,
3945
+ y
3948
3946
  ];
3949
3947
  }
3950
- class fi extends mr {
3948
+ class li extends cr {
3951
3949
  constructor(t) {
3952
- super(), fr(
3950
+ super(), lr(
3953
3951
  this,
3954
3952
  t,
3955
- li,
3956
3953
  hi,
3957
- mt,
3954
+ ui,
3955
+ ct,
3958
3956
  {
3959
3957
  lang: 3,
3960
3958
  clientstyling: 4,
@@ -3962,41 +3960,41 @@ class fi extends mr {
3962
3960
  translationurl: 6,
3963
3961
  mbsource: 7
3964
3962
  },
3965
- ui
3963
+ si
3966
3964
  );
3967
3965
  }
3968
3966
  get lang() {
3969
3967
  return this.$$.ctx[3];
3970
3968
  }
3971
3969
  set lang(t) {
3972
- this.$$set({ lang: t }), R();
3970
+ this.$$set({ lang: t }), $();
3973
3971
  }
3974
3972
  get clientstyling() {
3975
3973
  return this.$$.ctx[4];
3976
3974
  }
3977
3975
  set clientstyling(t) {
3978
- this.$$set({ clientstyling: t }), R();
3976
+ this.$$set({ clientstyling: t }), $();
3979
3977
  }
3980
3978
  get clientstylingurl() {
3981
3979
  return this.$$.ctx[5];
3982
3980
  }
3983
3981
  set clientstylingurl(t) {
3984
- this.$$set({ clientstylingurl: t }), R();
3982
+ this.$$set({ clientstylingurl: t }), $();
3985
3983
  }
3986
3984
  get translationurl() {
3987
3985
  return this.$$.ctx[6];
3988
3986
  }
3989
3987
  set translationurl(t) {
3990
- this.$$set({ translationurl: t }), R();
3988
+ this.$$set({ translationurl: t }), $();
3991
3989
  }
3992
3990
  get mbsource() {
3993
3991
  return this.$$.ctx[7];
3994
3992
  }
3995
3993
  set mbsource(t) {
3996
- this.$$set({ mbsource: t }), R();
3994
+ this.$$set({ mbsource: t }), $();
3997
3995
  }
3998
3996
  }
3999
- cr(fi, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
3997
+ fr(li, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
4000
3998
  export {
4001
- fi as default
3999
+ li as default
4002
4000
  };