@everymatrix/casino-403 1.55.0 → 1.56.2

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,4 +1,4 @@
1
- function P() {
1
+ function A() {
2
2
  }
3
3
  function it(e) {
4
4
  return e();
@@ -6,10 +6,10 @@ function it(e) {
6
6
  function Fe() {
7
7
  return /* @__PURE__ */ Object.create(null);
8
8
  }
9
- function K(e) {
9
+ function ee(e) {
10
10
  e.forEach(it);
11
11
  }
12
- function Ce(e) {
12
+ function $e(e) {
13
13
  return typeof e == "function";
14
14
  }
15
15
  function st(e, t) {
@@ -22,7 +22,7 @@ function ot(e, ...t) {
22
22
  if (e == null) {
23
23
  for (const n of t)
24
24
  n(void 0);
25
- return P;
25
+ return A;
26
26
  }
27
27
  const r = e.subscribe(...t);
28
28
  return r.unsubscribe ? () => r.unsubscribe() : r;
@@ -30,7 +30,7 @@ function ot(e, ...t) {
30
30
  function Ct(e, t, r) {
31
31
  e.$$.on_destroy.push(ot(t, r));
32
32
  }
33
- function T(e, t) {
33
+ function _(e, t) {
34
34
  e.appendChild(t);
35
35
  }
36
36
  function $t(e, t, r) {
@@ -41,7 +41,8 @@ function $t(e, t, r) {
41
41
  }
42
42
  }
43
43
  function Mt(e) {
44
- if (!e) return document;
44
+ if (!e)
45
+ return document;
45
46
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
46
47
  return t && /** @type {ShadowRoot} */
47
48
  t.host ? (
@@ -50,7 +51,7 @@ function Mt(e) {
50
51
  ) : e.ownerDocument;
51
52
  }
52
53
  function Rt(e, t) {
53
- return T(
54
+ return _(
54
55
  /** @type {Document} */
55
56
  e.head || e,
56
57
  t
@@ -59,20 +60,20 @@ function Rt(e, t) {
59
60
  function at(e, t, r) {
60
61
  e.insertBefore(t, r || null);
61
62
  }
62
- function $e(e) {
63
+ function Me(e) {
63
64
  e.parentNode && e.parentNode.removeChild(e);
64
65
  }
65
66
  function I(e) {
66
67
  return document.createElement(e);
67
68
  }
68
- function $(e) {
69
+ function M(e) {
69
70
  return document.createElementNS("http://www.w3.org/2000/svg", e);
70
71
  }
71
- function re(e) {
72
+ function ne(e) {
72
73
  return document.createTextNode(e);
73
74
  }
74
- function me() {
75
- return re(" ");
75
+ function pe() {
76
+ return ne(" ");
76
77
  }
77
78
  function Dt(e, t, r, n) {
78
79
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
@@ -83,7 +84,7 @@ function v(e, t, r) {
83
84
  function Ut(e) {
84
85
  return Array.from(e.childNodes);
85
86
  }
86
- function pe(e, t) {
87
+ function ge(e, t) {
87
88
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
88
89
  t);
89
90
  }
@@ -96,84 +97,93 @@ function Gt(e) {
96
97
  }
97
98
  ), t;
98
99
  }
99
- let Me;
100
+ let J;
100
101
  function Q(e) {
101
- Me = e;
102
+ J = e;
103
+ }
104
+ function Ft() {
105
+ if (!J)
106
+ throw new Error("Function called outside component initialization");
107
+ return J;
108
+ }
109
+ function jt(e) {
110
+ Ft().$$.on_mount.push(e);
102
111
  }
103
- const D = [], _e = [];
112
+ const U = [], He = [];
104
113
  let G = [];
105
- const je = [], Ft = /* @__PURE__ */ Promise.resolve();
106
- let He = !1;
107
- function jt() {
108
- He || (He = !0, Ft.then(U));
114
+ const je = [], Vt = /* @__PURE__ */ Promise.resolve();
115
+ let Te = !1;
116
+ function kt() {
117
+ Te || (Te = !0, Vt.then(C));
109
118
  }
110
- function Te(e) {
119
+ function Be(e) {
111
120
  G.push(e);
112
121
  }
113
- const ge = /* @__PURE__ */ new Set();
114
- let M = 0;
115
- function U() {
116
- if (M !== 0)
122
+ const de = /* @__PURE__ */ new Set();
123
+ let R = 0;
124
+ function C() {
125
+ if (R !== 0)
117
126
  return;
118
- const e = Me;
127
+ const e = J;
119
128
  do {
120
129
  try {
121
- for (; M < D.length; ) {
122
- const t = D[M];
123
- M++, Q(t), Vt(t.$$);
130
+ for (; R < U.length; ) {
131
+ const t = U[R];
132
+ R++, Q(t), Xt(t.$$);
124
133
  }
125
134
  } catch (t) {
126
- throw D.length = 0, M = 0, t;
135
+ throw U.length = 0, R = 0, t;
127
136
  }
128
- for (Q(null), D.length = 0, M = 0; _e.length; ) _e.pop()();
137
+ for (Q(null), U.length = 0, R = 0; He.length; )
138
+ He.pop()();
129
139
  for (let t = 0; t < G.length; t += 1) {
130
140
  const r = G[t];
131
- ge.has(r) || (ge.add(r), r());
141
+ de.has(r) || (de.add(r), r());
132
142
  }
133
143
  G.length = 0;
134
- } while (D.length);
144
+ } while (U.length);
135
145
  for (; je.length; )
136
146
  je.pop()();
137
- He = !1, ge.clear(), Q(e);
147
+ Te = !1, de.clear(), Q(e);
138
148
  }
139
- function Vt(e) {
149
+ function Xt(e) {
140
150
  if (e.fragment !== null) {
141
- e.update(), K(e.before_update);
151
+ e.update(), ee(e.before_update);
142
152
  const t = e.dirty;
143
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Te);
153
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Be);
144
154
  }
145
155
  }
146
- function kt(e) {
156
+ function zt(e) {
147
157
  const t = [], r = [];
148
158
  G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
149
159
  }
150
- const Xt = /* @__PURE__ */ new Set();
151
- function zt(e, t) {
152
- e && e.i && (Xt.delete(e), e.i(t));
160
+ const Wt = /* @__PURE__ */ new Set();
161
+ function Zt(e, t) {
162
+ e && e.i && (Wt.delete(e), e.i(t));
153
163
  }
154
- function Wt(e, t, r) {
164
+ function qt(e, t, r) {
155
165
  const { fragment: n, after_update: i } = e.$$;
156
- n && n.m(t, r), Te(() => {
157
- const s = e.$$.on_mount.map(it).filter(Ce);
158
- e.$$.on_destroy ? e.$$.on_destroy.push(...s) : K(s), e.$$.on_mount = [];
159
- }), i.forEach(Te);
166
+ n && n.m(t, r), Be(() => {
167
+ const s = e.$$.on_mount.map(it).filter($e);
168
+ e.$$.on_destroy ? e.$$.on_destroy.push(...s) : ee(s), e.$$.on_mount = [];
169
+ }), i.forEach(Be);
160
170
  }
161
- function Zt(e, t) {
171
+ function Qt(e, t) {
162
172
  const r = e.$$;
163
- r.fragment !== null && (kt(r.after_update), K(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
173
+ r.fragment !== null && (zt(r.after_update), ee(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
164
174
  }
165
- function qt(e, t) {
166
- e.$$.dirty[0] === -1 && (D.push(e), jt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
175
+ function Jt(e, t) {
176
+ e.$$.dirty[0] === -1 && (U.push(e), kt(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
167
177
  }
168
- function Qt(e, t, r, n, i, s, a = null, o = [-1]) {
169
- const l = Me;
178
+ function Yt(e, t, r, n, i, s, u = null, a = [-1]) {
179
+ const l = J;
170
180
  Q(e);
171
- const u = e.$$ = {
181
+ const o = e.$$ = {
172
182
  fragment: null,
173
183
  ctx: [],
174
184
  // state
175
185
  props: s,
176
- update: P,
186
+ update: A,
177
187
  not_equal: i,
178
188
  bound: Fe(),
179
189
  // lifecycle
@@ -185,22 +195,22 @@ function Qt(e, t, r, n, i, s, a = null, o = [-1]) {
185
195
  context: new Map(t.context || (l ? l.$$.context : [])),
186
196
  // everything else
187
197
  callbacks: Fe(),
188
- dirty: o,
198
+ dirty: a,
189
199
  skip_bound: !1,
190
200
  root: t.target || l.$$.root
191
201
  };
192
- a && a(u.root);
202
+ u && u(o.root);
193
203
  let h = !1;
194
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
204
+ if (o.ctx = r ? r(e, t.props || {}, (c, f, ...b) => {
195
205
  const y = b.length ? b[0] : f;
196
- return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && qt(e, c)), f;
197
- }) : [], u.update(), h = !0, K(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
206
+ return o.ctx && i(o.ctx[c], o.ctx[c] = y) && (!o.skip_bound && o.bound[c] && o.bound[c](y), h && Jt(e, c)), f;
207
+ }) : [], o.update(), h = !0, ee(o.before_update), o.fragment = n ? n(o.ctx) : !1, t.target) {
198
208
  if (t.hydrate) {
199
209
  const c = Ut(t.target);
200
- u.fragment && u.fragment.l(c), c.forEach($e);
210
+ o.fragment && o.fragment.l(c), c.forEach(Me);
201
211
  } else
202
- u.fragment && u.fragment.c();
203
- t.intro && zt(e.$$.fragment), Wt(e, t.target, t.anchor), U();
212
+ o.fragment && o.fragment.c();
213
+ t.intro && Zt(e.$$.fragment), qt(e, t.target, t.anchor), C();
204
214
  }
205
215
  Q(l);
206
216
  }
@@ -253,11 +263,11 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
253
263
  * @param {HTMLElement} target
254
264
  * @param {HTMLElement} [anchor]
255
265
  */
256
- m: function(l, u) {
257
- at(l, s, u);
266
+ m: function(l, o) {
267
+ at(l, s, o);
258
268
  },
259
269
  d: function(l) {
260
- l && $e(s);
270
+ l && Me(s);
261
271
  }
262
272
  };
263
273
  };
@@ -269,7 +279,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
269
279
  i in r && (t[i] = [e(i)]);
270
280
  for (const i of this.attributes) {
271
281
  const s = this.$$g_p(i.name);
272
- s in this.$$d || (this.$$d[s] = ne(s, i.value, this.$$p_d, "toProp"));
282
+ s in this.$$d || (this.$$d[s] = ie(s, i.value, this.$$p_d, "toProp"));
273
283
  }
274
284
  for (const i in this.$$p_d)
275
285
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -287,7 +297,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
287
297
  this.$$r = !0;
288
298
  for (const i in this.$$p_d)
289
299
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
290
- const s = ne(
300
+ const s = ie(
291
301
  i,
292
302
  this.$$d[i],
293
303
  this.$$p_d,
@@ -300,8 +310,8 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
300
310
  this.$$c.$$.after_update.push(n), n();
301
311
  for (const i in this.$$l)
302
312
  for (const s of this.$$l[i]) {
303
- const a = this.$$c.$on(i, s);
304
- this.$$l_u.set(s, a);
313
+ const u = this.$$c.$on(i, s);
314
+ this.$$l_u.set(s, u);
305
315
  }
306
316
  this.$$l = {};
307
317
  }
@@ -309,7 +319,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
309
319
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
310
320
  // and setting attributes through setAttribute etc, this is helpful
311
321
  attributeChangedCallback(e, t, r) {
312
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ne(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
322
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = ie(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
313
323
  }
314
324
  disconnectedCallback() {
315
325
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -322,7 +332,7 @@ typeof HTMLElement == "function" && (ut = class extends HTMLElement {
322
332
  ) || e;
323
333
  }
324
334
  });
325
- function ne(e, t, r, n) {
335
+ function ie(e, t, r, n) {
326
336
  const i = r[e]?.type;
327
337
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
328
338
  return t;
@@ -351,36 +361,36 @@ function ne(e, t, r, n) {
351
361
  return t;
352
362
  }
353
363
  }
354
- function Jt(e, t, r, n, i, s) {
355
- let a = class extends ut {
364
+ function Kt(e, t, r, n, i, s) {
365
+ let u = class extends ut {
356
366
  constructor() {
357
367
  super(e, r, i), this.$$p_d = t;
358
368
  }
359
369
  static get observedAttributes() {
360
370
  return Object.keys(t).map(
361
- (o) => (t[o].attribute || o).toLowerCase()
371
+ (a) => (t[a].attribute || a).toLowerCase()
362
372
  );
363
373
  }
364
374
  };
365
- return Object.keys(t).forEach((o) => {
366
- Object.defineProperty(a.prototype, o, {
375
+ return Object.keys(t).forEach((a) => {
376
+ Object.defineProperty(u.prototype, a, {
367
377
  get() {
368
- return this.$$c && o in this.$$c ? this.$$c[o] : this.$$d[o];
378
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
369
379
  },
370
380
  set(l) {
371
- l = ne(o, l, t), this.$$d[o] = l, this.$$c?.$set({ [o]: l });
381
+ l = ie(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
372
382
  }
373
383
  });
374
- }), n.forEach((o) => {
375
- Object.defineProperty(a.prototype, o, {
384
+ }), n.forEach((a) => {
385
+ Object.defineProperty(u.prototype, a, {
376
386
  get() {
377
- return this.$$c?.[o];
387
+ return this.$$c?.[a];
378
388
  }
379
389
  });
380
390
  }), e.element = /** @type {any} */
381
- a, a;
391
+ u, u;
382
392
  }
383
- class Yt {
393
+ class er {
384
394
  /**
385
395
  * ### PRIVATE API
386
396
  *
@@ -399,7 +409,7 @@ class Yt {
399
409
  $$set = void 0;
400
410
  /** @returns {void} */
401
411
  $destroy() {
402
- Zt(this, 1), this.$destroy = P;
412
+ Qt(this, 1), this.$destroy = A;
403
413
  }
404
414
  /**
405
415
  * @template {Extract<keyof Events, string>} K
@@ -408,8 +418,8 @@ class Yt {
408
418
  * @returns {() => void}
409
419
  */
410
420
  $on(t, r) {
411
- if (!Ce(r))
412
- return P;
421
+ if (!$e(r))
422
+ return A;
413
423
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
414
424
  return n.push(r), () => {
415
425
  const i = n.indexOf(r);
@@ -424,112 +434,112 @@ class Yt {
424
434
  this.$$set && !It(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
425
435
  }
426
436
  }
427
- const Kt = "4";
428
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kt);
429
- const R = [];
430
- function er(e, t) {
437
+ const tr = "4";
438
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(tr);
439
+ const D = [];
440
+ function rr(e, t) {
431
441
  return {
432
- subscribe: ue(e, t).subscribe
442
+ subscribe: he(e, t).subscribe
433
443
  };
434
444
  }
435
- function ue(e, t = P) {
445
+ function he(e, t = A) {
436
446
  let r;
437
447
  const n = /* @__PURE__ */ new Set();
438
- function i(o) {
439
- if (st(e, o) && (e = o, r)) {
440
- const l = !R.length;
441
- for (const u of n)
442
- u[1](), R.push(u, e);
448
+ function i(a) {
449
+ if (st(e, a) && (e = a, r)) {
450
+ const l = !D.length;
451
+ for (const o of n)
452
+ o[1](), D.push(o, e);
443
453
  if (l) {
444
- for (let u = 0; u < R.length; u += 2)
445
- R[u][0](R[u + 1]);
446
- R.length = 0;
454
+ for (let o = 0; o < D.length; o += 2)
455
+ D[o][0](D[o + 1]);
456
+ D.length = 0;
447
457
  }
448
458
  }
449
459
  }
450
- function s(o) {
451
- i(o(e));
460
+ function s(a) {
461
+ i(a(e));
452
462
  }
453
- function a(o, l = P) {
454
- const u = [o, l];
455
- return n.add(u), n.size === 1 && (r = t(i, s) || P), o(e), () => {
456
- n.delete(u), n.size === 0 && r && (r(), r = null);
463
+ function u(a, l = A) {
464
+ const o = [a, l];
465
+ return n.add(o), n.size === 1 && (r = t(i, s) || A), a(e), () => {
466
+ n.delete(o), n.size === 0 && r && (r(), r = null);
457
467
  };
458
468
  }
459
- return { set: i, update: s, subscribe: a };
469
+ return { set: i, update: s, subscribe: u };
460
470
  }
461
471
  function X(e, t, r) {
462
472
  const n = !Array.isArray(e), i = n ? [e] : e;
463
473
  if (!i.every(Boolean))
464
474
  throw new Error("derived() expects stores as input, got a falsy value");
465
475
  const s = t.length < 2;
466
- return er(r, (a, o) => {
476
+ return rr(r, (u, a) => {
467
477
  let l = !1;
468
- const u = [];
469
- let h = 0, c = P;
478
+ const o = [];
479
+ let h = 0, c = A;
470
480
  const f = () => {
471
481
  if (h)
472
482
  return;
473
483
  c();
474
- const y = t(n ? u[0] : u, a, o);
475
- s ? a(y) : c = Ce(y) ? y : P;
484
+ const y = t(n ? o[0] : o, u, a);
485
+ s ? u(y) : c = $e(y) ? y : A;
476
486
  }, b = i.map(
477
- (y, E) => ot(
487
+ (y, m) => ot(
478
488
  y,
479
- (m) => {
480
- u[E] = m, h &= ~(1 << E), l && f();
489
+ (E) => {
490
+ o[m] = E, h &= ~(1 << m), l && f();
481
491
  },
482
492
  () => {
483
- h |= 1 << E;
493
+ h |= 1 << m;
484
494
  }
485
495
  )
486
496
  );
487
497
  return l = !0, f(), function() {
488
- K(b), c(), l = !1;
498
+ ee(b), c(), l = !1;
489
499
  };
490
500
  });
491
501
  }
492
- function tr(e) {
502
+ function nr(e) {
493
503
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
494
504
  }
495
- var rr = function(t) {
496
- return nr(t) && !ir(t);
505
+ var ir = function(t) {
506
+ return sr(t) && !or(t);
497
507
  };
498
- function nr(e) {
508
+ function sr(e) {
499
509
  return !!e && typeof e == "object";
500
510
  }
501
- function ir(e) {
511
+ function or(e) {
502
512
  var t = Object.prototype.toString.call(e);
503
- return t === "[object RegExp]" || t === "[object Date]" || ar(e);
513
+ return t === "[object RegExp]" || t === "[object Date]" || hr(e);
504
514
  }
505
- var sr = typeof Symbol == "function" && Symbol.for, or = sr ? Symbol.for("react.element") : 60103;
506
- function ar(e) {
507
- return e.$$typeof === or;
515
+ var ar = typeof Symbol == "function" && Symbol.for, ur = ar ? Symbol.for("react.element") : 60103;
516
+ function hr(e) {
517
+ return e.$$typeof === ur;
508
518
  }
509
- function ur(e) {
519
+ function lr(e) {
510
520
  return Array.isArray(e) ? [] : {};
511
521
  }
512
- function J(e, t) {
513
- return t.clone !== !1 && t.isMergeableObject(e) ? F(ur(e), e, t) : e;
522
+ function Y(e, t) {
523
+ return t.clone !== !1 && t.isMergeableObject(e) ? F(lr(e), e, t) : e;
514
524
  }
515
- function hr(e, t, r) {
525
+ function cr(e, t, r) {
516
526
  return e.concat(t).map(function(n) {
517
- return J(n, r);
527
+ return Y(n, r);
518
528
  });
519
529
  }
520
- function lr(e, t) {
530
+ function fr(e, t) {
521
531
  if (!t.customMerge)
522
532
  return F;
523
533
  var r = t.customMerge(e);
524
534
  return typeof r == "function" ? r : F;
525
535
  }
526
- function cr(e) {
536
+ function mr(e) {
527
537
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
528
538
  return Object.propertyIsEnumerable.call(e, t);
529
539
  }) : [];
530
540
  }
531
541
  function Ve(e) {
532
- return Object.keys(e).concat(cr(e));
542
+ return Object.keys(e).concat(mr(e));
533
543
  }
534
544
  function ht(e, t) {
535
545
  try {
@@ -538,21 +548,21 @@ function ht(e, t) {
538
548
  return !1;
539
549
  }
540
550
  }
541
- function fr(e, t) {
551
+ function pr(e, t) {
542
552
  return ht(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
543
553
  }
544
- function mr(e, t, r) {
554
+ function gr(e, t, r) {
545
555
  var n = {};
546
556
  return r.isMergeableObject(e) && Ve(e).forEach(function(i) {
547
- n[i] = J(e[i], r);
557
+ n[i] = Y(e[i], r);
548
558
  }), Ve(t).forEach(function(i) {
549
- fr(e, i) || (ht(e, i) && r.isMergeableObject(t[i]) ? n[i] = lr(i, r)(e[i], t[i], r) : n[i] = J(t[i], r));
559
+ pr(e, i) || (ht(e, i) && r.isMergeableObject(t[i]) ? n[i] = fr(i, r)(e[i], t[i], r) : n[i] = Y(t[i], r));
550
560
  }), n;
551
561
  }
552
562
  function F(e, t, r) {
553
- r = r || {}, r.arrayMerge = r.arrayMerge || hr, r.isMergeableObject = r.isMergeableObject || rr, r.cloneUnlessOtherwiseSpecified = J;
563
+ r = r || {}, r.arrayMerge = r.arrayMerge || cr, r.isMergeableObject = r.isMergeableObject || ir, r.cloneUnlessOtherwiseSpecified = Y;
554
564
  var n = Array.isArray(t), i = Array.isArray(e), s = n === i;
555
- return s ? n ? r.arrayMerge(e, t, r) : mr(e, t, r) : J(t, r);
565
+ return s ? n ? r.arrayMerge(e, t, r) : gr(e, t, r) : Y(t, r);
556
566
  }
557
567
  F.all = function(t, r) {
558
568
  if (!Array.isArray(t))
@@ -561,19 +571,34 @@ F.all = function(t, r) {
561
571
  return F(n, i, r);
562
572
  }, {});
563
573
  };
564
- var pr = F, gr = pr;
565
- const dr = /* @__PURE__ */ tr(gr);
566
- var Be = function(e, t) {
567
- return Be = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
574
+ var dr = F, br = dr;
575
+ const yr = /* @__PURE__ */ nr(br);
576
+ /*! *****************************************************************************
577
+ Copyright (c) Microsoft Corporation.
578
+
579
+ Permission to use, copy, modify, and/or distribute this software for any
580
+ purpose with or without fee is hereby granted.
581
+
582
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
583
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
584
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
585
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
586
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
587
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
588
+ PERFORMANCE OF THIS SOFTWARE.
589
+ ***************************************************************************** */
590
+ var Se = function(e, t) {
591
+ return Se = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
568
592
  r.__proto__ = n;
569
593
  } || function(r, n) {
570
- for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
571
- }, Be(e, t);
594
+ for (var i in n)
595
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
596
+ }, Se(e, t);
572
597
  };
573
- function he(e, t) {
598
+ function le(e, t) {
574
599
  if (typeof t != "function" && t !== null)
575
600
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
576
- Be(e, t);
601
+ Se(e, t);
577
602
  function r() {
578
603
  this.constructor = e;
579
604
  }
@@ -583,36 +608,39 @@ var d = function() {
583
608
  return d = Object.assign || function(t) {
584
609
  for (var r, n = 1, i = arguments.length; n < i; n++) {
585
610
  r = arguments[n];
586
- for (var s in r) Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
611
+ for (var s in r)
612
+ Object.prototype.hasOwnProperty.call(r, s) && (t[s] = r[s]);
587
613
  }
588
614
  return t;
589
615
  }, d.apply(this, arguments);
590
616
  };
591
- function br(e, t) {
617
+ function xr(e, t) {
592
618
  var r = {};
593
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
619
+ for (var n in e)
620
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
594
621
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
595
622
  for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
596
623
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
597
624
  return r;
598
625
  }
599
- function de(e, t, r) {
600
- if (r || arguments.length === 2) for (var n = 0, i = t.length, s; n < i; n++)
601
- (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
602
- return e.concat(s || Array.prototype.slice.call(t));
626
+ function be(e, t, r) {
627
+ if (arguments.length === 2)
628
+ for (var n = 0, i = t.length, s; n < i; n++)
629
+ (s || !(n in t)) && (s || (s = Array.prototype.slice.call(t, 0, n)), s[n] = t[n]);
630
+ return e.concat(s || t);
603
631
  }
604
- function be(e, t) {
605
- var r = t && t.cache ? t.cache : Hr, n = t && t.serializer ? t.serializer : _r, i = t && t.strategy ? t.strategy : xr;
632
+ function ye(e, t) {
633
+ var r = t && t.cache ? t.cache : Br, n = t && t.serializer ? t.serializer : Tr, i = t && t.strategy ? t.strategy : Er;
606
634
  return i(e, {
607
635
  cache: r,
608
636
  serializer: n
609
637
  });
610
638
  }
611
- function yr(e) {
639
+ function vr(e) {
612
640
  return e == null || typeof e == "number" || typeof e == "boolean";
613
641
  }
614
642
  function lt(e, t, r, n) {
615
- var i = yr(n) ? n : r(n), s = t.get(i);
643
+ var i = vr(n) ? n : r(n), s = t.get(i);
616
644
  return typeof s > "u" && (s = e.call(this, n), t.set(i, s)), s;
617
645
  }
618
646
  function ct(e, t, r) {
@@ -622,17 +650,17 @@ function ct(e, t, r) {
622
650
  function Re(e, t, r, n, i) {
623
651
  return r.bind(t, e, n, i);
624
652
  }
625
- function xr(e, t) {
653
+ function Er(e, t) {
626
654
  var r = e.length === 1 ? lt : ct;
627
655
  return Re(e, this, r, t.cache.create(), t.serializer);
628
656
  }
629
- function vr(e, t) {
657
+ function _r(e, t) {
630
658
  return Re(e, this, ct, t.cache.create(), t.serializer);
631
659
  }
632
- function Er(e, t) {
660
+ function Hr(e, t) {
633
661
  return Re(e, this, lt, t.cache.create(), t.serializer);
634
662
  }
635
- var _r = function() {
663
+ var Tr = function() {
636
664
  return JSON.stringify(arguments);
637
665
  };
638
666
  function De() {
@@ -644,13 +672,13 @@ De.prototype.get = function(e) {
644
672
  De.prototype.set = function(e, t) {
645
673
  this.cache[e] = t;
646
674
  };
647
- var Hr = {
675
+ var Br = {
648
676
  create: function() {
649
677
  return new De();
650
678
  }
651
- }, ye = {
652
- variadic: vr,
653
- monadic: Er
679
+ }, xe = {
680
+ variadic: _r,
681
+ monadic: Hr
654
682
  }, p;
655
683
  (function(e) {
656
684
  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";
@@ -666,7 +694,7 @@ var j;
666
694
  function ke(e) {
667
695
  return e.type === x.literal;
668
696
  }
669
- function Tr(e) {
697
+ function Sr(e) {
670
698
  return e.type === x.argument;
671
699
  }
672
700
  function ft(e) {
@@ -684,7 +712,7 @@ function gt(e) {
684
712
  function dt(e) {
685
713
  return e.type === x.plural;
686
714
  }
687
- function Br(e) {
715
+ function Pr(e) {
688
716
  return e.type === x.pound;
689
717
  }
690
718
  function bt(e) {
@@ -693,13 +721,13 @@ function bt(e) {
693
721
  function yt(e) {
694
722
  return !!(e && typeof e == "object" && e.type === j.number);
695
723
  }
696
- function Se(e) {
724
+ function Pe(e) {
697
725
  return !!(e && typeof e == "object" && e.type === j.dateTime);
698
726
  }
699
- var xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Sr = /(?:[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;
700
- function Ar(e) {
727
+ var xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Ar = /(?:[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;
728
+ function wr(e) {
701
729
  var t = {};
702
- return e.replace(Sr, function(r) {
730
+ return e.replace(Ar, function(r) {
703
731
  var n = r.length;
704
732
  switch (r[0]) {
705
733
  case "G":
@@ -788,29 +816,29 @@ function Ar(e) {
788
816
  return "";
789
817
  }), t;
790
818
  }
791
- var Pr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
792
- function wr(e) {
819
+ var Nr = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
820
+ function Lr(e) {
793
821
  if (e.length === 0)
794
822
  throw new Error("Number skeleton cannot be empty");
795
- for (var t = e.split(Pr).filter(function(f) {
823
+ for (var t = e.split(Nr).filter(function(f) {
796
824
  return f.length > 0;
797
825
  }), r = [], n = 0, i = t; n < i.length; n++) {
798
- var s = i[n], a = s.split("/");
799
- if (a.length === 0)
826
+ var s = i[n], u = s.split("/");
827
+ if (u.length === 0)
800
828
  throw new Error("Invalid number skeleton");
801
- for (var o = a[0], l = a.slice(1), u = 0, h = l; u < h.length; u++) {
802
- var c = h[u];
829
+ for (var a = u[0], l = u.slice(1), o = 0, h = l; o < h.length; o++) {
830
+ var c = h[o];
803
831
  if (c.length === 0)
804
832
  throw new Error("Invalid number skeleton");
805
833
  }
806
- r.push({ stem: o, options: l });
834
+ r.push({ stem: a, options: l });
807
835
  }
808
836
  return r;
809
837
  }
810
- function Nr(e) {
838
+ function Or(e) {
811
839
  return e.replace(/^(.*?)-/, "");
812
840
  }
813
- var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vt = /^(@+)?(\+|#+)?[rs]?$/g, Or = /(\*)(0+)|(#+)(0+)|(0+)/g, Et = /^(0+)$/;
841
+ var Xe = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, vt = /^(@+)?(\+|#+)?[rs]?$/g, Ir = /(\*)(0+)|(#+)(0+)|(0+)/g, Et = /^(0+)$/;
814
842
  function ze(e) {
815
843
  var t = {};
816
844
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(vt, function(r, n, i) {
@@ -857,7 +885,7 @@ function _t(e) {
857
885
  };
858
886
  }
859
887
  }
860
- function Lr(e) {
888
+ function Cr(e) {
861
889
  var t;
862
890
  if (e[0] === "E" && e[1] === "E" ? (t = {
863
891
  notation: "engineering"
@@ -875,7 +903,7 @@ function We(e) {
875
903
  var t = {}, r = _t(e);
876
904
  return r || t;
877
905
  }
878
- function Ir(e) {
906
+ function $r(e) {
879
907
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
880
908
  var i = n[r];
881
909
  switch (i.stem) {
@@ -899,7 +927,7 @@ function Ir(e) {
899
927
  continue;
900
928
  case "measure-unit":
901
929
  case "unit":
902
- t.style = "unit", t.unit = Nr(i.options[0]);
930
+ t.style = "unit", t.unit = Or(i.options[0]);
903
931
  continue;
904
932
  case "compact-short":
905
933
  case "K":
@@ -910,13 +938,13 @@ function Ir(e) {
910
938
  t.notation = "compact", t.compactDisplay = "long";
911
939
  continue;
912
940
  case "scientific":
913
- t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
914
- return d(d({}, l), We(u));
941
+ t = d(d(d({}, t), { notation: "scientific" }), i.options.reduce(function(l, o) {
942
+ return d(d({}, l), We(o));
915
943
  }, {}));
916
944
  continue;
917
945
  case "engineering":
918
- t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
919
- return d(d({}, l), We(u));
946
+ t = d(d(d({}, t), { notation: "engineering" }), i.options.reduce(function(l, o) {
947
+ return d(d({}, l), We(o));
920
948
  }, {}));
921
949
  continue;
922
950
  case "notation-simple":
@@ -961,8 +989,8 @@ function Ir(e) {
961
989
  case "integer-width":
962
990
  if (i.options.length > 1)
963
991
  throw new RangeError("integer-width stems only accept a single optional option");
964
- i.options[0].replace(Or, function(l, u, h, c, f, b) {
965
- if (u)
992
+ i.options[0].replace(Ir, function(l, o, h, c, f, b) {
993
+ if (o)
966
994
  t.minimumIntegerDigits = h.length;
967
995
  else {
968
996
  if (c && f)
@@ -981,8 +1009,8 @@ function Ir(e) {
981
1009
  if (Xe.test(i.stem)) {
982
1010
  if (i.options.length > 1)
983
1011
  throw new RangeError("Fraction-precision stems only accept a single optional option");
984
- i.stem.replace(Xe, function(l, u, h, c, f, b) {
985
- return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1012
+ i.stem.replace(Xe, function(l, o, h, c, f, b) {
1013
+ return h === "*" ? t.minimumFractionDigits = o.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && b ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + b.length) : (t.minimumFractionDigits = o.length, t.maximumFractionDigits = o.length), "";
986
1014
  });
987
1015
  var s = i.options[0];
988
1016
  s === "w" ? t = d(d({}, t), { trailingZeroDisplay: "stripIfInteger" }) : s && (t = d(d({}, t), ze(s)));
@@ -992,14 +1020,14 @@ function Ir(e) {
992
1020
  t = d(d({}, t), ze(i.stem));
993
1021
  continue;
994
1022
  }
995
- var a = _t(i.stem);
1023
+ var u = _t(i.stem);
1024
+ u && (t = d(d({}, t), u));
1025
+ var a = Cr(i.stem);
996
1026
  a && (t = d(d({}, t), a));
997
- var o = Lr(i.stem);
998
- o && (t = d(d({}, t), o));
999
1027
  }
1000
1028
  return t;
1001
1029
  }
1002
- var te = {
1030
+ var re = {
1003
1031
  "001": [
1004
1032
  "H",
1005
1033
  "h"
@@ -2414,22 +2442,23 @@ var te = {
2414
2442
  "h"
2415
2443
  ]
2416
2444
  };
2417
- function Cr(e, t) {
2445
+ function Mr(e, t) {
2418
2446
  for (var r = "", n = 0; n < e.length; n++) {
2419
2447
  var i = e.charAt(n);
2420
2448
  if (i === "j") {
2421
2449
  for (var s = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2422
2450
  s++, n++;
2423
- var a = 1 + (s & 1), o = s < 2 ? 1 : 3 + (s >> 1), l = "a", u = $r(t);
2424
- for ((u == "H" || u == "k") && (o = 0); o-- > 0; )
2451
+ var u = 1 + (s & 1), a = s < 2 ? 1 : 3 + (s >> 1), l = "a", o = Rr(t);
2452
+ for ((o == "H" || o == "k") && (a = 0); a-- > 0; )
2425
2453
  r += l;
2426
- for (; a-- > 0; )
2427
- r = u + r;
2428
- } else i === "J" ? r += "H" : r += i;
2454
+ for (; u-- > 0; )
2455
+ r = o + r;
2456
+ } else
2457
+ i === "J" ? r += "H" : r += i;
2429
2458
  }
2430
2459
  return r;
2431
2460
  }
2432
- function $r(e) {
2461
+ function Rr(e) {
2433
2462
  var t = e.hourCycle;
2434
2463
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2435
2464
  e.hourCycles && // @ts-ignore
@@ -2448,23 +2477,23 @@ function $r(e) {
2448
2477
  }
2449
2478
  var r = e.language, n;
2450
2479
  r !== "root" && (n = e.maximize().region);
2451
- var i = te[n || ""] || te[r || ""] || te["".concat(r, "-001")] || te["001"];
2480
+ var i = re[n || ""] || re[r || ""] || re["".concat(r, "-001")] || re["001"];
2452
2481
  return i[0];
2453
2482
  }
2454
- var xe, Mr = new RegExp("^".concat(xt.source, "*")), Rr = new RegExp("".concat(xt.source, "*$"));
2483
+ var ve, Dr = new RegExp("^".concat(xt.source, "*")), Ur = new RegExp("".concat(xt.source, "*$"));
2455
2484
  function g(e, t) {
2456
2485
  return { start: e, end: t };
2457
2486
  }
2458
- var Dr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Ur = !!String.fromCodePoint, Gr = !!Object.fromEntries, Fr = !!String.prototype.codePointAt, jr = !!String.prototype.trimStart, Vr = !!String.prototype.trimEnd, kr = !!Number.isSafeInteger, Xr = kr ? Number.isSafeInteger : function(e) {
2487
+ var Gr = !!String.prototype.startsWith && "_a".startsWith("a", 1), Fr = !!String.fromCodePoint, jr = !!Object.fromEntries, Vr = !!String.prototype.codePointAt, kr = !!String.prototype.trimStart, Xr = !!String.prototype.trimEnd, zr = !!Number.isSafeInteger, Wr = zr ? Number.isSafeInteger : function(e) {
2459
2488
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2460
2489
  }, Ae = !0;
2461
2490
  try {
2462
- var zr = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2463
- Ae = ((xe = zr.exec("a")) === null || xe === void 0 ? void 0 : xe[0]) === "a";
2491
+ var Zr = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2492
+ Ae = ((ve = Zr.exec("a")) === null || ve === void 0 ? void 0 : ve[0]) === "a";
2464
2493
  } catch {
2465
2494
  Ae = !1;
2466
2495
  }
2467
- var Ze = Dr ? (
2496
+ var Ze = Gr ? (
2468
2497
  // Native
2469
2498
  function(t, r, n) {
2470
2499
  return t.startsWith(r, n);
@@ -2474,31 +2503,31 @@ var Ze = Dr ? (
2474
2503
  function(t, r, n) {
2475
2504
  return t.slice(n, n + r.length) === r;
2476
2505
  }
2477
- ), Pe = Ur ? String.fromCodePoint : (
2506
+ ), we = Fr ? String.fromCodePoint : (
2478
2507
  // IE11
2479
2508
  function() {
2480
2509
  for (var t = [], r = 0; r < arguments.length; r++)
2481
2510
  t[r] = arguments[r];
2482
- for (var n = "", i = t.length, s = 0, a; i > s; ) {
2483
- if (a = t[s++], a > 1114111)
2484
- throw RangeError(a + " is not a valid code point");
2485
- n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
2511
+ for (var n = "", i = t.length, s = 0, u; i > s; ) {
2512
+ if (u = t[s++], u > 1114111)
2513
+ throw RangeError(u + " is not a valid code point");
2514
+ n += u < 65536 ? String.fromCharCode(u) : String.fromCharCode(((u -= 65536) >> 10) + 55296, u % 1024 + 56320);
2486
2515
  }
2487
2516
  return n;
2488
2517
  }
2489
2518
  ), qe = (
2490
2519
  // native
2491
- Gr ? Object.fromEntries : (
2520
+ jr ? Object.fromEntries : (
2492
2521
  // Ponyfill
2493
2522
  function(t) {
2494
2523
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
2495
- var s = i[n], a = s[0], o = s[1];
2496
- r[a] = o;
2524
+ var s = i[n], u = s[0], a = s[1];
2525
+ r[u] = a;
2497
2526
  }
2498
2527
  return r;
2499
2528
  }
2500
2529
  )
2501
- ), Ht = Fr ? (
2530
+ ), Ht = Vr ? (
2502
2531
  // Native
2503
2532
  function(t, r) {
2504
2533
  return t.codePointAt(r);
@@ -2512,7 +2541,7 @@ var Ze = Dr ? (
2512
2541
  return i < 55296 || i > 56319 || r + 1 === n || (s = t.charCodeAt(r + 1)) < 56320 || s > 57343 ? i : (i - 55296 << 10) + (s - 56320) + 65536;
2513
2542
  }
2514
2543
  }
2515
- ), Wr = jr ? (
2544
+ ), qr = kr ? (
2516
2545
  // Native
2517
2546
  function(t) {
2518
2547
  return t.trimStart();
@@ -2520,9 +2549,9 @@ var Ze = Dr ? (
2520
2549
  ) : (
2521
2550
  // Ponyfill
2522
2551
  function(t) {
2523
- return t.replace(Mr, "");
2552
+ return t.replace(Dr, "");
2524
2553
  }
2525
- ), Zr = Vr ? (
2554
+ ), Qr = Xr ? (
2526
2555
  // Native
2527
2556
  function(t) {
2528
2557
  return t.trimEnd();
@@ -2530,32 +2559,32 @@ var Ze = Dr ? (
2530
2559
  ) : (
2531
2560
  // Ponyfill
2532
2561
  function(t) {
2533
- return t.replace(Rr, "");
2562
+ return t.replace(Ur, "");
2534
2563
  }
2535
2564
  );
2536
2565
  function Tt(e, t) {
2537
2566
  return new RegExp(e, t);
2538
2567
  }
2539
- var we;
2568
+ var Ne;
2540
2569
  if (Ae) {
2541
2570
  var Qe = Tt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2542
- we = function(t, r) {
2571
+ Ne = function(t, r) {
2543
2572
  var n;
2544
2573
  Qe.lastIndex = r;
2545
2574
  var i = Qe.exec(t);
2546
2575
  return (n = i[1]) !== null && n !== void 0 ? n : "";
2547
2576
  };
2548
2577
  } else
2549
- we = function(t, r) {
2578
+ Ne = function(t, r) {
2550
2579
  for (var n = []; ; ) {
2551
2580
  var i = Ht(t, r);
2552
- if (i === void 0 || Bt(i) || Yr(i))
2581
+ if (i === void 0 || Bt(i) || en(i))
2553
2582
  break;
2554
2583
  n.push(i), r += i >= 65536 ? 2 : 1;
2555
2584
  }
2556
- return Pe.apply(void 0, n);
2585
+ return we.apply(void 0, n);
2557
2586
  };
2558
- var qr = (
2587
+ var Jr = (
2559
2588
  /** @class */
2560
2589
  function() {
2561
2590
  function e(t, r) {
@@ -2569,33 +2598,33 @@ var qr = (
2569
2598
  for (var i = []; !this.isEOF(); ) {
2570
2599
  var s = this.char();
2571
2600
  if (s === 123) {
2572
- var a = this.parseArgument(t, n);
2573
- if (a.err)
2574
- return a;
2575
- i.push(a.val);
2601
+ var u = this.parseArgument(t, n);
2602
+ if (u.err)
2603
+ return u;
2604
+ i.push(u.val);
2576
2605
  } else {
2577
2606
  if (s === 125 && t > 0)
2578
2607
  break;
2579
2608
  if (s === 35 && (r === "plural" || r === "selectordinal")) {
2580
- var o = this.clonePosition();
2609
+ var a = this.clonePosition();
2581
2610
  this.bump(), i.push({
2582
2611
  type: x.pound,
2583
- location: g(o, this.clonePosition())
2612
+ location: g(a, this.clonePosition())
2584
2613
  });
2585
2614
  } else if (s === 60 && !this.ignoreTag && this.peek() === 47) {
2586
2615
  if (n)
2587
2616
  break;
2588
2617
  return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
2589
- } else if (s === 60 && !this.ignoreTag && Ne(this.peek() || 0)) {
2590
- var a = this.parseTag(t, r);
2591
- if (a.err)
2592
- return a;
2593
- i.push(a.val);
2618
+ } else if (s === 60 && !this.ignoreTag && Le(this.peek() || 0)) {
2619
+ var u = this.parseTag(t, r);
2620
+ if (u.err)
2621
+ return u;
2622
+ i.push(u.val);
2594
2623
  } else {
2595
- var a = this.parseLiteral(t, r);
2596
- if (a.err)
2597
- return a;
2598
- i.push(a.val);
2624
+ var u = this.parseLiteral(t, r);
2625
+ if (u.err)
2626
+ return u;
2627
+ i.push(u.val);
2599
2628
  }
2600
2629
  }
2601
2630
  }
@@ -2617,27 +2646,27 @@ var qr = (
2617
2646
  var s = this.parseMessage(t + 1, r, !0);
2618
2647
  if (s.err)
2619
2648
  return s;
2620
- var a = s.val, o = this.clonePosition();
2649
+ var u = s.val, a = this.clonePosition();
2621
2650
  if (this.bumpIf("</")) {
2622
- if (this.isEOF() || !Ne(this.char()))
2623
- return this.error(p.INVALID_TAG, g(o, this.clonePosition()));
2624
- var l = this.clonePosition(), u = this.parseTagName();
2625
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2651
+ if (this.isEOF() || !Le(this.char()))
2652
+ return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
2653
+ var l = this.clonePosition(), o = this.parseTagName();
2654
+ return i !== o ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
2626
2655
  val: {
2627
2656
  type: x.tag,
2628
2657
  value: i,
2629
- children: a,
2658
+ children: u,
2630
2659
  location: g(n, this.clonePosition())
2631
2660
  },
2632
2661
  err: null
2633
- } : this.error(p.INVALID_TAG, g(o, this.clonePosition())));
2662
+ } : this.error(p.INVALID_TAG, g(a, this.clonePosition())));
2634
2663
  } else
2635
2664
  return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
2636
2665
  } else
2637
2666
  return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
2638
2667
  }, e.prototype.parseTagName = function() {
2639
2668
  var t = this.offset();
2640
- for (this.bump(); !this.isEOF() && Jr(this.char()); )
2669
+ for (this.bump(); !this.isEOF() && Kr(this.char()); )
2641
2670
  this.bump();
2642
2671
  return this.message.slice(t, this.offset());
2643
2672
  }, e.prototype.parseLiteral = function(t, r) {
@@ -2647,14 +2676,14 @@ var qr = (
2647
2676
  i += s;
2648
2677
  continue;
2649
2678
  }
2650
- var a = this.tryParseUnquoted(t, r);
2651
- if (a) {
2652
- i += a;
2679
+ var u = this.tryParseUnquoted(t, r);
2680
+ if (u) {
2681
+ i += u;
2653
2682
  continue;
2654
2683
  }
2655
- var o = this.tryParseLeftAngleBracket();
2656
- if (o) {
2657
- i += o;
2684
+ var a = this.tryParseLeftAngleBracket();
2685
+ if (a) {
2686
+ i += a;
2658
2687
  continue;
2659
2688
  }
2660
2689
  break;
@@ -2666,7 +2695,7 @@ var qr = (
2666
2695
  };
2667
2696
  }, e.prototype.tryParseLeftAngleBracket = function() {
2668
2697
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
2669
- !Qr(this.peek() || 0)) ? (this.bump(), "<") : null;
2698
+ !Yr(this.peek() || 0)) ? (this.bump(), "<") : null;
2670
2699
  }, e.prototype.tryParseQuote = function(t) {
2671
2700
  if (this.isEOF() || this.char() !== 39)
2672
2701
  return null;
@@ -2700,12 +2729,12 @@ var qr = (
2700
2729
  r.push(n);
2701
2730
  this.bump();
2702
2731
  }
2703
- return Pe.apply(void 0, r);
2732
+ return we.apply(void 0, r);
2704
2733
  }, e.prototype.tryParseUnquoted = function(t, r) {
2705
2734
  if (this.isEOF())
2706
2735
  return null;
2707
2736
  var n = this.char();
2708
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Pe(n));
2737
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), we(n));
2709
2738
  }, e.prototype.parseArgument = function(t, r) {
2710
2739
  var n = this.clonePosition();
2711
2740
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -2734,66 +2763,66 @@ var qr = (
2734
2763
  return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
2735
2764
  }
2736
2765
  }, e.prototype.parseIdentifierIfPossible = function() {
2737
- var t = this.clonePosition(), r = this.offset(), n = we(this.message, r), i = r + n.length;
2766
+ var t = this.clonePosition(), r = this.offset(), n = Ne(this.message, r), i = r + n.length;
2738
2767
  this.bumpTo(i);
2739
- var s = this.clonePosition(), a = g(t, s);
2740
- return { value: n, location: a };
2768
+ var s = this.clonePosition(), u = g(t, s);
2769
+ return { value: n, location: u };
2741
2770
  }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
2742
- var s, a = this.clonePosition(), o = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2743
- switch (o) {
2771
+ var s, u = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
2772
+ switch (a) {
2744
2773
  case "":
2745
- return this.error(p.EXPECT_ARGUMENT_TYPE, g(a, l));
2774
+ return this.error(p.EXPECT_ARGUMENT_TYPE, g(u, l));
2746
2775
  case "number":
2747
2776
  case "date":
2748
2777
  case "time": {
2749
2778
  this.bumpSpace();
2750
- var u = null;
2779
+ var o = null;
2751
2780
  if (this.bumpIf(",")) {
2752
2781
  this.bumpSpace();
2753
2782
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
2754
2783
  if (c.err)
2755
2784
  return c;
2756
- var f = Zr(c.val);
2785
+ var f = Qr(c.val);
2757
2786
  if (f.length === 0)
2758
2787
  return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
2759
2788
  var b = g(h, this.clonePosition());
2760
- u = { style: f, styleLocation: b };
2789
+ o = { style: f, styleLocation: b };
2761
2790
  }
2762
2791
  var y = this.tryParseArgumentClose(i);
2763
2792
  if (y.err)
2764
2793
  return y;
2765
- var E = g(i, this.clonePosition());
2766
- if (u && Ze(u?.style, "::", 0)) {
2767
- var m = Wr(u.style.slice(2));
2768
- if (o === "number") {
2769
- var c = this.parseNumberSkeletonFromString(m, u.styleLocation);
2794
+ var m = g(i, this.clonePosition());
2795
+ if (o && Ze(o?.style, "::", 0)) {
2796
+ var E = qr(o.style.slice(2));
2797
+ if (a === "number") {
2798
+ var c = this.parseNumberSkeletonFromString(E, o.styleLocation);
2770
2799
  return c.err ? c : {
2771
- val: { type: x.number, value: n, location: E, style: c.val },
2800
+ val: { type: x.number, value: n, location: m, style: c.val },
2772
2801
  err: null
2773
2802
  };
2774
2803
  } else {
2775
- if (m.length === 0)
2776
- return this.error(p.EXPECT_DATE_TIME_SKELETON, E);
2777
- var H = m;
2778
- this.locale && (H = Cr(m, this.locale));
2804
+ if (E.length === 0)
2805
+ return this.error(p.EXPECT_DATE_TIME_SKELETON, m);
2806
+ var S = E;
2807
+ this.locale && (S = Mr(E, this.locale));
2779
2808
  var f = {
2780
2809
  type: j.dateTime,
2781
- pattern: H,
2782
- location: u.styleLocation,
2783
- parsedOptions: this.shouldParseSkeletons ? Ar(H) : {}
2784
- }, _ = o === "date" ? x.date : x.time;
2810
+ pattern: S,
2811
+ location: o.styleLocation,
2812
+ parsedOptions: this.shouldParseSkeletons ? wr(S) : {}
2813
+ }, B = a === "date" ? x.date : x.time;
2785
2814
  return {
2786
- val: { type: _, value: n, location: E, style: f },
2815
+ val: { type: B, value: n, location: m, style: f },
2787
2816
  err: null
2788
2817
  };
2789
2818
  }
2790
2819
  }
2791
2820
  return {
2792
2821
  val: {
2793
- type: o === "number" ? x.number : o === "date" ? x.date : x.time,
2822
+ type: a === "number" ? x.number : a === "date" ? x.date : x.time,
2794
2823
  value: n,
2795
- location: E,
2796
- style: (s = u?.style) !== null && s !== void 0 ? s : null
2824
+ location: m,
2825
+ style: (s = o?.style) !== null && s !== void 0 ? s : null
2797
2826
  },
2798
2827
  err: null
2799
2828
  };
@@ -2801,32 +2830,32 @@ var qr = (
2801
2830
  case "plural":
2802
2831
  case "selectordinal":
2803
2832
  case "select": {
2804
- var B = this.clonePosition();
2833
+ var H = this.clonePosition();
2805
2834
  if (this.bumpSpace(), !this.bumpIf(","))
2806
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(B, d({}, B)));
2835
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(H, d({}, H)));
2807
2836
  this.bumpSpace();
2808
- var N = this.parseIdentifierIfPossible(), A = 0;
2809
- if (o !== "select" && N.value === "offset") {
2837
+ var N = this.parseIdentifierIfPossible(), P = 0;
2838
+ if (a !== "select" && N.value === "offset") {
2810
2839
  if (!this.bumpIf(":"))
2811
2840
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
2812
2841
  this.bumpSpace();
2813
2842
  var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
2814
2843
  if (c.err)
2815
2844
  return c;
2816
- this.bumpSpace(), N = this.parseIdentifierIfPossible(), A = c.val;
2845
+ this.bumpSpace(), N = this.parseIdentifierIfPossible(), P = c.val;
2817
2846
  }
2818
- var L = this.tryParsePluralOrSelectOptions(t, o, r, N);
2819
- if (L.err)
2820
- return L;
2847
+ var O = this.tryParsePluralOrSelectOptions(t, a, r, N);
2848
+ if (O.err)
2849
+ return O;
2821
2850
  var y = this.tryParseArgumentClose(i);
2822
2851
  if (y.err)
2823
2852
  return y;
2824
2853
  var w = g(i, this.clonePosition());
2825
- return o === "select" ? {
2854
+ return a === "select" ? {
2826
2855
  val: {
2827
2856
  type: x.select,
2828
2857
  value: n,
2829
- options: qe(L.val),
2858
+ options: qe(O.val),
2830
2859
  location: w
2831
2860
  },
2832
2861
  err: null
@@ -2834,16 +2863,16 @@ var qr = (
2834
2863
  val: {
2835
2864
  type: x.plural,
2836
2865
  value: n,
2837
- options: qe(L.val),
2838
- offset: A,
2839
- pluralType: o === "plural" ? "cardinal" : "ordinal",
2866
+ options: qe(O.val),
2867
+ offset: P,
2868
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
2840
2869
  location: w
2841
2870
  },
2842
2871
  err: null
2843
2872
  };
2844
2873
  }
2845
2874
  default:
2846
- return this.error(p.INVALID_ARGUMENT_TYPE, g(a, l));
2875
+ return this.error(p.INVALID_ARGUMENT_TYPE, g(u, l));
2847
2876
  }
2848
2877
  }, e.prototype.tryParseArgumentClose = function(t) {
2849
2878
  return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -2885,7 +2914,7 @@ var qr = (
2885
2914
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
2886
2915
  var n = [];
2887
2916
  try {
2888
- n = wr(t);
2917
+ n = Lr(t);
2889
2918
  } catch {
2890
2919
  return this.error(p.INVALID_NUMBER_SKELETON, r);
2891
2920
  }
@@ -2894,55 +2923,55 @@ var qr = (
2894
2923
  type: j.number,
2895
2924
  tokens: n,
2896
2925
  location: r,
2897
- parsedOptions: this.shouldParseSkeletons ? Ir(n) : {}
2926
+ parsedOptions: this.shouldParseSkeletons ? $r(n) : {}
2898
2927
  },
2899
2928
  err: null
2900
2929
  };
2901
2930
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
2902
- for (var s, a = !1, o = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
2903
- if (u.length === 0) {
2931
+ for (var s, u = !1, a = [], l = /* @__PURE__ */ new Set(), o = i.value, h = i.location; ; ) {
2932
+ if (o.length === 0) {
2904
2933
  var c = this.clonePosition();
2905
2934
  if (r !== "select" && this.bumpIf("=")) {
2906
2935
  var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
2907
2936
  if (f.err)
2908
2937
  return f;
2909
- h = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
2938
+ h = g(c, this.clonePosition()), o = this.message.slice(c.offset, this.offset());
2910
2939
  } else
2911
2940
  break;
2912
2941
  }
2913
- if (l.has(u))
2942
+ if (l.has(o))
2914
2943
  return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
2915
- u === "other" && (a = !0), this.bumpSpace();
2944
+ o === "other" && (u = !0), this.bumpSpace();
2916
2945
  var b = this.clonePosition();
2917
2946
  if (!this.bumpIf("{"))
2918
2947
  return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
2919
2948
  var y = this.parseMessage(t + 1, r, n);
2920
2949
  if (y.err)
2921
2950
  return y;
2922
- var E = this.tryParseArgumentClose(b);
2923
- if (E.err)
2924
- return E;
2925
- o.push([
2926
- u,
2951
+ var m = this.tryParseArgumentClose(b);
2952
+ if (m.err)
2953
+ return m;
2954
+ a.push([
2955
+ o,
2927
2956
  {
2928
2957
  value: y.val,
2929
2958
  location: g(b, this.clonePosition())
2930
2959
  }
2931
- ]), l.add(u), this.bumpSpace(), s = this.parseIdentifierIfPossible(), u = s.value, h = s.location;
2960
+ ]), l.add(o), this.bumpSpace(), s = this.parseIdentifierIfPossible(), o = s.value, h = s.location;
2932
2961
  }
2933
- return o.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: o, err: null };
2962
+ return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !u ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
2934
2963
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
2935
2964
  var n = 1, i = this.clonePosition();
2936
2965
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
2937
- for (var s = !1, a = 0; !this.isEOF(); ) {
2938
- var o = this.char();
2939
- if (o >= 48 && o <= 57)
2940
- s = !0, a = a * 10 + (o - 48), this.bump();
2966
+ for (var s = !1, u = 0; !this.isEOF(); ) {
2967
+ var a = this.char();
2968
+ if (a >= 48 && a <= 57)
2969
+ s = !0, u = u * 10 + (a - 48), this.bump();
2941
2970
  else
2942
2971
  break;
2943
2972
  }
2944
2973
  var l = g(i, this.clonePosition());
2945
- return s ? (a *= n, Xr(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
2974
+ return s ? (u *= n, Wr(u) ? { val: u, err: null } : this.error(r, l)) : this.error(t, l);
2946
2975
  }, e.prototype.offset = function() {
2947
2976
  return this.position.offset;
2948
2977
  }, e.prototype.isEOF = function() {
@@ -3008,19 +3037,19 @@ var qr = (
3008
3037
  }, e;
3009
3038
  }()
3010
3039
  );
3011
- function Ne(e) {
3040
+ function Le(e) {
3012
3041
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3013
3042
  }
3014
- function Qr(e) {
3015
- return Ne(e) || e === 47;
3043
+ function Yr(e) {
3044
+ return Le(e) || e === 47;
3016
3045
  }
3017
- function Jr(e) {
3046
+ function Kr(e) {
3018
3047
  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;
3019
3048
  }
3020
3049
  function Bt(e) {
3021
3050
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3022
3051
  }
3023
- function Yr(e) {
3052
+ function en(e) {
3024
3053
  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;
3025
3054
  }
3026
3055
  function Oe(e) {
@@ -3028,12 +3057,13 @@ function Oe(e) {
3028
3057
  if (delete t.location, gt(t) || dt(t))
3029
3058
  for (var r in t.options)
3030
3059
  delete t.options[r].location, Oe(t.options[r].value);
3031
- else ft(t) && yt(t.style) || (mt(t) || pt(t)) && Se(t.style) ? delete t.style.location : bt(t) && Oe(t.children);
3060
+ else
3061
+ ft(t) && yt(t.style) || (mt(t) || pt(t)) && Pe(t.style) ? delete t.style.location : bt(t) && Oe(t.children);
3032
3062
  });
3033
3063
  }
3034
- function Kr(e, t) {
3064
+ function tn(e, t) {
3035
3065
  t === void 0 && (t = {}), t = d({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3036
- var r = new qr(e, t).parse();
3066
+ var r = new Jr(e, t).parse();
3037
3067
  if (r.err) {
3038
3068
  var n = SyntaxError(p[r.err.kind]);
3039
3069
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
@@ -3044,10 +3074,10 @@ var V;
3044
3074
  (function(e) {
3045
3075
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3046
3076
  })(V || (V = {}));
3047
- var le = (
3077
+ var ce = (
3048
3078
  /** @class */
3049
3079
  function(e) {
3050
- he(t, e);
3080
+ le(t, e);
3051
3081
  function t(r, n, i) {
3052
3082
  var s = e.call(this, r) || this;
3053
3083
  return s.code = n, s.originalMessage = i, s;
@@ -3059,152 +3089,152 @@ var le = (
3059
3089
  ), Je = (
3060
3090
  /** @class */
3061
3091
  function(e) {
3062
- he(t, e);
3092
+ le(t, e);
3063
3093
  function t(r, n, i, s) {
3064
3094
  return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, s) || this;
3065
3095
  }
3066
3096
  return t;
3067
- }(le)
3068
- ), en = (
3097
+ }(ce)
3098
+ ), rn = (
3069
3099
  /** @class */
3070
3100
  function(e) {
3071
- he(t, e);
3101
+ le(t, e);
3072
3102
  function t(r, n, i) {
3073
3103
  return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3074
3104
  }
3075
3105
  return t;
3076
- }(le)
3077
- ), tn = (
3106
+ }(ce)
3107
+ ), nn = (
3078
3108
  /** @class */
3079
3109
  function(e) {
3080
- he(t, e);
3110
+ le(t, e);
3081
3111
  function t(r, n) {
3082
3112
  return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3083
3113
  }
3084
3114
  return t;
3085
- }(le)
3086
- ), S;
3115
+ }(ce)
3116
+ ), T;
3087
3117
  (function(e) {
3088
3118
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3089
- })(S || (S = {}));
3090
- function rn(e) {
3119
+ })(T || (T = {}));
3120
+ function sn(e) {
3091
3121
  return e.length < 2 ? e : e.reduce(function(t, r) {
3092
3122
  var n = t[t.length - 1];
3093
- return !n || n.type !== S.literal || r.type !== S.literal ? t.push(r) : n.value += r.value, t;
3123
+ return !n || n.type !== T.literal || r.type !== T.literal ? t.push(r) : n.value += r.value, t;
3094
3124
  }, []);
3095
3125
  }
3096
- function nn(e) {
3126
+ function on(e) {
3097
3127
  return typeof e == "function";
3098
3128
  }
3099
- function ie(e, t, r, n, i, s, a) {
3129
+ function se(e, t, r, n, i, s, u) {
3100
3130
  if (e.length === 1 && ke(e[0]))
3101
3131
  return [
3102
3132
  {
3103
- type: S.literal,
3133
+ type: T.literal,
3104
3134
  value: e[0].value
3105
3135
  }
3106
3136
  ];
3107
- for (var o = [], l = 0, u = e; l < u.length; l++) {
3108
- var h = u[l];
3137
+ for (var a = [], l = 0, o = e; l < o.length; l++) {
3138
+ var h = o[l];
3109
3139
  if (ke(h)) {
3110
- o.push({
3111
- type: S.literal,
3140
+ a.push({
3141
+ type: T.literal,
3112
3142
  value: h.value
3113
3143
  });
3114
3144
  continue;
3115
3145
  }
3116
- if (Br(h)) {
3117
- typeof s == "number" && o.push({
3118
- type: S.literal,
3146
+ if (Pr(h)) {
3147
+ typeof s == "number" && a.push({
3148
+ type: T.literal,
3119
3149
  value: r.getNumberFormat(t).format(s)
3120
3150
  });
3121
3151
  continue;
3122
3152
  }
3123
3153
  var c = h.value;
3124
3154
  if (!(i && c in i))
3125
- throw new tn(c, a);
3155
+ throw new nn(c, u);
3126
3156
  var f = i[c];
3127
- if (Tr(h)) {
3128
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), o.push({
3129
- type: typeof f == "string" ? S.literal : S.object,
3157
+ if (Sr(h)) {
3158
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3159
+ type: typeof f == "string" ? T.literal : T.object,
3130
3160
  value: f
3131
3161
  });
3132
3162
  continue;
3133
3163
  }
3134
3164
  if (mt(h)) {
3135
- var b = typeof h.style == "string" ? n.date[h.style] : Se(h.style) ? h.style.parsedOptions : void 0;
3136
- o.push({
3137
- type: S.literal,
3165
+ var b = typeof h.style == "string" ? n.date[h.style] : Pe(h.style) ? h.style.parsedOptions : void 0;
3166
+ a.push({
3167
+ type: T.literal,
3138
3168
  value: r.getDateTimeFormat(t, b).format(f)
3139
3169
  });
3140
3170
  continue;
3141
3171
  }
3142
3172
  if (pt(h)) {
3143
- var b = typeof h.style == "string" ? n.time[h.style] : Se(h.style) ? h.style.parsedOptions : n.time.medium;
3144
- o.push({
3145
- type: S.literal,
3173
+ var b = typeof h.style == "string" ? n.time[h.style] : Pe(h.style) ? h.style.parsedOptions : n.time.medium;
3174
+ a.push({
3175
+ type: T.literal,
3146
3176
  value: r.getDateTimeFormat(t, b).format(f)
3147
3177
  });
3148
3178
  continue;
3149
3179
  }
3150
3180
  if (ft(h)) {
3151
3181
  var b = typeof h.style == "string" ? n.number[h.style] : yt(h.style) ? h.style.parsedOptions : void 0;
3152
- b && b.scale && (f = f * (b.scale || 1)), o.push({
3153
- type: S.literal,
3182
+ b && b.scale && (f = f * (b.scale || 1)), a.push({
3183
+ type: T.literal,
3154
3184
  value: r.getNumberFormat(t, b).format(f)
3155
3185
  });
3156
3186
  continue;
3157
3187
  }
3158
3188
  if (bt(h)) {
3159
- var y = h.children, E = h.value, m = i[E];
3160
- if (!nn(m))
3161
- throw new en(E, "function", a);
3162
- var H = ie(y, t, r, n, i, s), _ = m(H.map(function(A) {
3163
- return A.value;
3189
+ var y = h.children, m = h.value, E = i[m];
3190
+ if (!on(E))
3191
+ throw new rn(m, "function", u);
3192
+ var S = se(y, t, r, n, i, s), B = E(S.map(function(P) {
3193
+ return P.value;
3164
3194
  }));
3165
- Array.isArray(_) || (_ = [_]), o.push.apply(o, _.map(function(A) {
3195
+ Array.isArray(B) || (B = [B]), a.push.apply(a, B.map(function(P) {
3166
3196
  return {
3167
- type: typeof A == "string" ? S.literal : S.object,
3168
- value: A
3197
+ type: typeof P == "string" ? T.literal : T.object,
3198
+ value: P
3169
3199
  };
3170
3200
  }));
3171
3201
  }
3172
3202
  if (gt(h)) {
3173
- var B = h.options[f] || h.options.other;
3174
- if (!B)
3175
- throw new Je(h.value, f, Object.keys(h.options), a);
3176
- o.push.apply(o, ie(B.value, t, r, n, i));
3203
+ var H = h.options[f] || h.options.other;
3204
+ if (!H)
3205
+ throw new Je(h.value, f, Object.keys(h.options), u);
3206
+ a.push.apply(a, se(H.value, t, r, n, i));
3177
3207
  continue;
3178
3208
  }
3179
3209
  if (dt(h)) {
3180
- var B = h.options["=".concat(f)];
3181
- if (!B) {
3210
+ var H = h.options["=".concat(f)];
3211
+ if (!H) {
3182
3212
  if (!Intl.PluralRules)
3183
- throw new le(`Intl.PluralRules is not available in this environment.
3213
+ throw new ce(`Intl.PluralRules is not available in this environment.
3184
3214
  Try polyfilling it using "@formatjs/intl-pluralrules"
3185
- `, V.MISSING_INTL_API, a);
3215
+ `, V.MISSING_INTL_API, u);
3186
3216
  var N = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3187
- B = h.options[N] || h.options.other;
3217
+ H = h.options[N] || h.options.other;
3188
3218
  }
3189
- if (!B)
3190
- throw new Je(h.value, f, Object.keys(h.options), a);
3191
- o.push.apply(o, ie(B.value, t, r, n, i, f - (h.offset || 0)));
3219
+ if (!H)
3220
+ throw new Je(h.value, f, Object.keys(h.options), u);
3221
+ a.push.apply(a, se(H.value, t, r, n, i, f - (h.offset || 0)));
3192
3222
  continue;
3193
3223
  }
3194
3224
  }
3195
- return rn(o);
3225
+ return sn(a);
3196
3226
  }
3197
- function sn(e, t) {
3227
+ function an(e, t) {
3198
3228
  return t ? d(d(d({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3199
3229
  return r[n] = d(d({}, e[n]), t[n] || {}), r;
3200
3230
  }, {})) : e;
3201
3231
  }
3202
- function on(e, t) {
3232
+ function un(e, t) {
3203
3233
  return t ? Object.keys(e).reduce(function(r, n) {
3204
- return r[n] = sn(e[n], t[n]), r;
3234
+ return r[n] = an(e[n], t[n]), r;
3205
3235
  }, d({}, e)) : e;
3206
3236
  }
3207
- function ve(e) {
3237
+ function Ee(e) {
3208
3238
  return {
3209
3239
  create: function() {
3210
3240
  return {
@@ -3218,39 +3248,39 @@ function ve(e) {
3218
3248
  }
3219
3249
  };
3220
3250
  }
3221
- function an(e) {
3251
+ function hn(e) {
3222
3252
  return e === void 0 && (e = {
3223
3253
  number: {},
3224
3254
  dateTime: {},
3225
3255
  pluralRules: {}
3226
3256
  }), {
3227
- getNumberFormat: be(function() {
3257
+ getNumberFormat: ye(function() {
3228
3258
  for (var t, r = [], n = 0; n < arguments.length; n++)
3229
3259
  r[n] = arguments[n];
3230
- return new ((t = Intl.NumberFormat).bind.apply(t, de([void 0], r, !1)))();
3260
+ return new ((t = Intl.NumberFormat).bind.apply(t, be([void 0], r, !1)))();
3231
3261
  }, {
3232
- cache: ve(e.number),
3233
- strategy: ye.variadic
3262
+ cache: Ee(e.number),
3263
+ strategy: xe.variadic
3234
3264
  }),
3235
- getDateTimeFormat: be(function() {
3265
+ getDateTimeFormat: ye(function() {
3236
3266
  for (var t, r = [], n = 0; n < arguments.length; n++)
3237
3267
  r[n] = arguments[n];
3238
- return new ((t = Intl.DateTimeFormat).bind.apply(t, de([void 0], r, !1)))();
3268
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, be([void 0], r, !1)))();
3239
3269
  }, {
3240
- cache: ve(e.dateTime),
3241
- strategy: ye.variadic
3270
+ cache: Ee(e.dateTime),
3271
+ strategy: xe.variadic
3242
3272
  }),
3243
- getPluralRules: be(function() {
3273
+ getPluralRules: ye(function() {
3244
3274
  for (var t, r = [], n = 0; n < arguments.length; n++)
3245
3275
  r[n] = arguments[n];
3246
- return new ((t = Intl.PluralRules).bind.apply(t, de([void 0], r, !1)))();
3276
+ return new ((t = Intl.PluralRules).bind.apply(t, be([void 0], r, !1)))();
3247
3277
  }, {
3248
- cache: ve(e.pluralRules),
3249
- strategy: ye.variadic
3278
+ cache: Ee(e.pluralRules),
3279
+ strategy: xe.variadic
3250
3280
  })
3251
3281
  };
3252
3282
  }
3253
- var un = (
3283
+ var ln = (
3254
3284
  /** @class */
3255
3285
  function() {
3256
3286
  function e(t, r, n, i) {
@@ -3261,15 +3291,15 @@ var un = (
3261
3291
  dateTime: {},
3262
3292
  pluralRules: {}
3263
3293
  }, this.format = function(l) {
3264
- var u = s.formatToParts(l);
3265
- if (u.length === 1)
3266
- return u[0].value;
3267
- var h = u.reduce(function(c, f) {
3268
- return !c.length || f.type !== S.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3294
+ var o = s.formatToParts(l);
3295
+ if (o.length === 1)
3296
+ return o[0].value;
3297
+ var h = o.reduce(function(c, f) {
3298
+ return !c.length || f.type !== T.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3269
3299
  }, []);
3270
3300
  return h.length <= 1 ? h[0] || "" : h;
3271
3301
  }, this.formatToParts = function(l) {
3272
- return ie(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3302
+ return se(s.ast, s.locales, s.formatters, s.formats, l, void 0, s.message);
3273
3303
  }, this.resolvedOptions = function() {
3274
3304
  var l;
3275
3305
  return {
@@ -3280,15 +3310,15 @@ var un = (
3280
3310
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3281
3311
  if (this.message = t, !e.__parse)
3282
3312
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3283
- var a = i || {};
3284
- a.formatters;
3285
- var o = br(a, ["formatters"]);
3286
- this.ast = e.__parse(t, d(d({}, o), { locale: this.resolvedLocale }));
3313
+ var u = i || {};
3314
+ u.formatters;
3315
+ var a = xr(u, ["formatters"]);
3316
+ this.ast = e.__parse(t, d(d({}, a), { locale: this.resolvedLocale }));
3287
3317
  } else
3288
3318
  this.ast = t;
3289
3319
  if (!Array.isArray(this.ast))
3290
3320
  throw new TypeError("A message must be provided as a String or AST.");
3291
- this.formats = on(e.formats, n), this.formatters = i && i.formatters || an(this.formatterCache);
3321
+ this.formats = un(e.formats, n), this.formatters = i && i.formatters || hn(this.formatterCache);
3292
3322
  }
3293
3323
  return Object.defineProperty(e, "defaultLocale", {
3294
3324
  get: function() {
@@ -3301,7 +3331,7 @@ var un = (
3301
3331
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3302
3332
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3303
3333
  }
3304
- }, e.__parse = Kr, e.formats = {
3334
+ }, e.__parse = tn, e.formats = {
3305
3335
  number: {
3306
3336
  integer: {
3307
3337
  maximumFractionDigits: 0
@@ -3362,7 +3392,7 @@ var un = (
3362
3392
  }, e;
3363
3393
  }()
3364
3394
  );
3365
- function hn(e, t) {
3395
+ function cn(e, t) {
3366
3396
  if (t == null)
3367
3397
  return;
3368
3398
  if (t in e)
@@ -3383,92 +3413,92 @@ function hn(e, t) {
3383
3413
  n = void 0;
3384
3414
  return n;
3385
3415
  }
3386
- const O = {}, ln = (e, t, r) => r && (t in O || (O[t] = {}), e in O[t] || (O[t][e] = r), r), St = (e, t) => {
3416
+ const L = {}, fn = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), St = (e, t) => {
3387
3417
  if (t == null)
3388
3418
  return;
3389
- if (t in O && e in O[t])
3390
- return O[t][e];
3391
- const r = ce(t);
3419
+ if (t in L && e in L[t])
3420
+ return L[t][e];
3421
+ const r = fe(t);
3392
3422
  for (let n = 0; n < r.length; n++) {
3393
- const i = r[n], s = fn(i, e);
3423
+ const i = r[n], s = pn(i, e);
3394
3424
  if (s)
3395
- return ln(e, t, s);
3425
+ return fn(e, t, s);
3396
3426
  }
3397
3427
  };
3398
3428
  let Ue;
3399
- const ee = ue({});
3400
- function cn(e) {
3429
+ const te = he({});
3430
+ function mn(e) {
3401
3431
  return Ue[e] || null;
3402
3432
  }
3403
- function At(e) {
3433
+ function Pt(e) {
3404
3434
  return e in Ue;
3405
3435
  }
3406
- function fn(e, t) {
3407
- if (!At(e))
3436
+ function pn(e, t) {
3437
+ if (!Pt(e))
3408
3438
  return null;
3409
- const r = cn(e);
3410
- return hn(r, t);
3439
+ const r = mn(e);
3440
+ return cn(r, t);
3411
3441
  }
3412
- function mn(e) {
3442
+ function gn(e) {
3413
3443
  if (e == null)
3414
3444
  return;
3415
- const t = ce(e);
3445
+ const t = fe(e);
3416
3446
  for (let r = 0; r < t.length; r++) {
3417
3447
  const n = t[r];
3418
- if (At(n))
3448
+ if (Pt(n))
3419
3449
  return n;
3420
3450
  }
3421
3451
  }
3422
- function Pt(e, ...t) {
3423
- delete O[e], ee.update((r) => (r[e] = dr.all([r[e] || {}, ...t]), r));
3452
+ function At(e, ...t) {
3453
+ delete L[e], te.update((r) => (r[e] = yr.all([r[e] || {}, ...t]), r));
3424
3454
  }
3425
3455
  X(
3426
- [ee],
3456
+ [te],
3427
3457
  ([e]) => Object.keys(e)
3428
3458
  );
3429
- ee.subscribe((e) => Ue = e);
3430
- const se = {};
3431
- function pn(e, t) {
3432
- se[e].delete(t), se[e].size === 0 && delete se[e];
3459
+ te.subscribe((e) => Ue = e);
3460
+ const oe = {};
3461
+ function dn(e, t) {
3462
+ oe[e].delete(t), oe[e].size === 0 && delete oe[e];
3433
3463
  }
3434
3464
  function wt(e) {
3435
- return se[e];
3465
+ return oe[e];
3436
3466
  }
3437
- function gn(e) {
3438
- return ce(e).map((t) => {
3467
+ function bn(e) {
3468
+ return fe(e).map((t) => {
3439
3469
  const r = wt(t);
3440
3470
  return [t, r ? [...r] : []];
3441
3471
  }).filter(([, t]) => t.length > 0);
3442
3472
  }
3443
- function Le(e) {
3444
- return e == null ? !1 : ce(e).some(
3473
+ function Ie(e) {
3474
+ return e == null ? !1 : fe(e).some(
3445
3475
  (t) => {
3446
3476
  var r;
3447
3477
  return (r = wt(t)) == null ? void 0 : r.size;
3448
3478
  }
3449
3479
  );
3450
3480
  }
3451
- function dn(e, t) {
3481
+ function yn(e, t) {
3452
3482
  return Promise.all(
3453
- t.map((n) => (pn(e, n), n().then((i) => i.default || i)))
3454
- ).then((n) => Pt(e, ...n));
3483
+ t.map((n) => (dn(e, n), n().then((i) => i.default || i)))
3484
+ ).then((n) => At(e, ...n));
3455
3485
  }
3456
3486
  const q = {};
3457
3487
  function Nt(e) {
3458
- if (!Le(e))
3488
+ if (!Ie(e))
3459
3489
  return e in q ? q[e] : Promise.resolve();
3460
- const t = gn(e);
3490
+ const t = bn(e);
3461
3491
  return q[e] = Promise.all(
3462
3492
  t.map(
3463
- ([r, n]) => dn(r, n)
3493
+ ([r, n]) => yn(r, n)
3464
3494
  )
3465
3495
  ).then(() => {
3466
- if (Le(e))
3496
+ if (Ie(e))
3467
3497
  return Nt(e);
3468
3498
  delete q[e];
3469
3499
  }), q[e];
3470
3500
  }
3471
- const bn = {
3501
+ const xn = {
3472
3502
  number: {
3473
3503
  scientific: { notation: "scientific" },
3474
3504
  engineering: { notation: "engineering" },
@@ -3497,159 +3527,159 @@ const bn = {
3497
3527
  timeZoneName: "short"
3498
3528
  }
3499
3529
  }
3500
- }, yn = {
3530
+ }, vn = {
3501
3531
  fallbackLocale: null,
3502
3532
  loadingDelay: 200,
3503
- formats: bn,
3533
+ formats: xn,
3504
3534
  warnOnMissingMessages: !0,
3505
3535
  handleMissingMessage: void 0,
3506
3536
  ignoreTag: !0
3507
- }, xn = yn;
3537
+ }, En = vn;
3508
3538
  function k() {
3509
- return xn;
3539
+ return En;
3510
3540
  }
3511
- const Ee = ue(!1);
3512
- var vn = Object.defineProperty, En = Object.defineProperties, _n = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Hn = Object.prototype.hasOwnProperty, Tn = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? vn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bn = (e, t) => {
3541
+ const _e = he(!1);
3542
+ var _n = Object.defineProperty, Hn = Object.defineProperties, Tn = Object.getOwnPropertyDescriptors, Ye = Object.getOwnPropertySymbols, Bn = Object.prototype.hasOwnProperty, Sn = Object.prototype.propertyIsEnumerable, Ke = (e, t, r) => t in e ? _n(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pn = (e, t) => {
3513
3543
  for (var r in t || (t = {}))
3514
- Hn.call(t, r) && Ke(e, r, t[r]);
3544
+ Bn.call(t, r) && Ke(e, r, t[r]);
3515
3545
  if (Ye)
3516
3546
  for (var r of Ye(t))
3517
- Tn.call(t, r) && Ke(e, r, t[r]);
3547
+ Sn.call(t, r) && Ke(e, r, t[r]);
3518
3548
  return e;
3519
- }, Sn = (e, t) => En(e, _n(t));
3520
- let Ie;
3521
- const oe = ue(null);
3549
+ }, An = (e, t) => Hn(e, Tn(t));
3550
+ let Ce;
3551
+ const ae = he(null);
3522
3552
  function et(e) {
3523
3553
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
3524
3554
  }
3525
- function ce(e, t = k().fallbackLocale) {
3555
+ function fe(e, t = k().fallbackLocale) {
3526
3556
  const r = et(e);
3527
3557
  return t ? [.../* @__PURE__ */ new Set([...r, ...et(t)])] : r;
3528
3558
  }
3529
- function C() {
3530
- return Ie ?? void 0;
3559
+ function $() {
3560
+ return Ce ?? void 0;
3531
3561
  }
3532
- oe.subscribe((e) => {
3533
- Ie = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3562
+ ae.subscribe((e) => {
3563
+ Ce = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
3534
3564
  });
3535
- const An = (e) => {
3536
- if (e && mn(e) && Le(e)) {
3565
+ const wn = (e) => {
3566
+ if (e && gn(e) && Ie(e)) {
3537
3567
  const { loadingDelay: t } = k();
3538
3568
  let r;
3539
- return typeof window < "u" && C() != null && t ? r = window.setTimeout(
3540
- () => Ee.set(!0),
3569
+ return typeof window < "u" && $() != null && t ? r = window.setTimeout(
3570
+ () => _e.set(!0),
3541
3571
  t
3542
- ) : Ee.set(!0), Nt(e).then(() => {
3543
- oe.set(e);
3572
+ ) : _e.set(!0), Nt(e).then(() => {
3573
+ ae.set(e);
3544
3574
  }).finally(() => {
3545
- clearTimeout(r), Ee.set(!1);
3575
+ clearTimeout(r), _e.set(!1);
3546
3576
  });
3547
3577
  }
3548
- return oe.set(e);
3549
- }, z = Sn(Bn({}, oe), {
3550
- set: An
3551
- }), fe = (e) => {
3578
+ return ae.set(e);
3579
+ }, z = An(Pn({}, ae), {
3580
+ set: wn
3581
+ }), me = (e) => {
3552
3582
  const t = /* @__PURE__ */ Object.create(null);
3553
3583
  return (n) => {
3554
3584
  const i = JSON.stringify(n);
3555
3585
  return i in t ? t[i] : t[i] = e(n);
3556
3586
  };
3557
3587
  };
3558
- var Pn = Object.defineProperty, ae = Object.getOwnPropertySymbols, Ot = Object.prototype.hasOwnProperty, Lt = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? Pn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
3588
+ var Nn = Object.defineProperty, ue = Object.getOwnPropertySymbols, Lt = Object.prototype.hasOwnProperty, Ot = Object.prototype.propertyIsEnumerable, tt = (e, t, r) => t in e ? Nn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ge = (e, t) => {
3559
3589
  for (var r in t || (t = {}))
3560
- Ot.call(t, r) && tt(e, r, t[r]);
3561
- if (ae)
3562
- for (var r of ae(t))
3563
- Lt.call(t, r) && tt(e, r, t[r]);
3590
+ Lt.call(t, r) && tt(e, r, t[r]);
3591
+ if (ue)
3592
+ for (var r of ue(t))
3593
+ Ot.call(t, r) && tt(e, r, t[r]);
3564
3594
  return e;
3565
3595
  }, W = (e, t) => {
3566
3596
  var r = {};
3567
3597
  for (var n in e)
3568
- Ot.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3569
- if (e != null && ae)
3570
- for (var n of ae(e))
3571
- t.indexOf(n) < 0 && Lt.call(e, n) && (r[n] = e[n]);
3598
+ Lt.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
3599
+ if (e != null && ue)
3600
+ for (var n of ue(e))
3601
+ t.indexOf(n) < 0 && Ot.call(e, n) && (r[n] = e[n]);
3572
3602
  return r;
3573
3603
  };
3574
- const Y = (e, t) => {
3604
+ const K = (e, t) => {
3575
3605
  const { formats: r } = k();
3576
3606
  if (e in r && t in r[e])
3577
3607
  return r[e][t];
3578
3608
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
3579
- }, wn = fe(
3609
+ }, Ln = me(
3580
3610
  (e) => {
3581
3611
  var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3582
3612
  if (r == null)
3583
3613
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
3584
- return n && (i = Y("number", n)), new Intl.NumberFormat(r, i);
3614
+ return n && (i = K("number", n)), new Intl.NumberFormat(r, i);
3585
3615
  }
3586
- ), Nn = fe(
3616
+ ), On = me(
3587
3617
  (e) => {
3588
3618
  var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3589
3619
  if (r == null)
3590
3620
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
3591
- return n ? i = Y("date", n) : Object.keys(i).length === 0 && (i = Y("date", "short")), new Intl.DateTimeFormat(r, i);
3621
+ return n ? i = K("date", n) : Object.keys(i).length === 0 && (i = K("date", "short")), new Intl.DateTimeFormat(r, i);
3592
3622
  }
3593
- ), On = fe(
3623
+ ), In = me(
3594
3624
  (e) => {
3595
3625
  var t = e, { locale: r, format: n } = t, i = W(t, ["locale", "format"]);
3596
3626
  if (r == null)
3597
3627
  throw new Error(
3598
3628
  '[svelte-i18n] A "locale" must be set to format time values'
3599
3629
  );
3600
- return n ? i = Y("time", n) : Object.keys(i).length === 0 && (i = Y("time", "short")), new Intl.DateTimeFormat(r, i);
3630
+ return n ? i = K("time", n) : Object.keys(i).length === 0 && (i = K("time", "short")), new Intl.DateTimeFormat(r, i);
3601
3631
  }
3602
- ), Ln = (e = {}) => {
3632
+ ), Cn = (e = {}) => {
3603
3633
  var t = e, {
3604
- locale: r = C()
3634
+ locale: r = $()
3605
3635
  } = t, n = W(t, [
3606
3636
  "locale"
3607
3637
  ]);
3608
- return wn(Ge({ locale: r }, n));
3609
- }, In = (e = {}) => {
3638
+ return Ln(Ge({ locale: r }, n));
3639
+ }, $n = (e = {}) => {
3610
3640
  var t = e, {
3611
- locale: r = C()
3641
+ locale: r = $()
3612
3642
  } = t, n = W(t, [
3613
3643
  "locale"
3614
3644
  ]);
3615
- return Nn(Ge({ locale: r }, n));
3616
- }, Cn = (e = {}) => {
3645
+ return On(Ge({ locale: r }, n));
3646
+ }, Mn = (e = {}) => {
3617
3647
  var t = e, {
3618
- locale: r = C()
3648
+ locale: r = $()
3619
3649
  } = t, n = W(t, [
3620
3650
  "locale"
3621
3651
  ]);
3622
- return On(Ge({ locale: r }, n));
3623
- }, $n = fe(
3652
+ return In(Ge({ locale: r }, n));
3653
+ }, Rn = me(
3624
3654
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
3625
- (e, t = C()) => new un(e, t, k().formats, {
3655
+ (e, t = $()) => new ln(e, t, k().formats, {
3626
3656
  ignoreTag: k().ignoreTag
3627
3657
  })
3628
- ), Mn = (e, t = {}) => {
3658
+ ), Dn = (e, t = {}) => {
3629
3659
  var r, n, i, s;
3630
- let a = t;
3631
- typeof e == "object" && (a = e, e = a.id);
3660
+ let u = t;
3661
+ typeof e == "object" && (u = e, e = u.id);
3632
3662
  const {
3633
- values: o,
3634
- locale: l = C(),
3635
- default: u
3636
- } = a;
3663
+ values: a,
3664
+ locale: l = $(),
3665
+ default: o
3666
+ } = u;
3637
3667
  if (l == null)
3638
3668
  throw new Error(
3639
3669
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
3640
3670
  );
3641
3671
  let h = St(e, l);
3642
3672
  if (!h)
3643
- h = (s = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? s : e;
3673
+ h = (s = (i = (n = (r = k()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: o })) != null ? i : o) != null ? s : e;
3644
3674
  else if (typeof h != "string")
3645
3675
  return console.warn(
3646
3676
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
3647
3677
  ), h;
3648
- if (!o)
3678
+ if (!a)
3649
3679
  return h;
3650
3680
  let c = h;
3651
3681
  try {
3652
- c = $n(h, l).format(o);
3682
+ c = Rn(h, l).format(a);
3653
3683
  } catch (f) {
3654
3684
  f instanceof Error && console.warn(
3655
3685
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -3657,15 +3687,15 @@ const Y = (e, t) => {
3657
3687
  );
3658
3688
  }
3659
3689
  return c;
3660
- }, Rn = (e, t) => Cn(t).format(e), Dn = (e, t) => In(t).format(e), Un = (e, t) => Ln(t).format(e), Gn = (e, t = C()) => St(e, t), Fn = X([z, ee], () => Mn);
3661
- X([z], () => Rn);
3662
- X([z], () => Dn);
3690
+ }, Un = (e, t) => Mn(t).format(e), Gn = (e, t) => $n(t).format(e), Fn = (e, t) => Cn(t).format(e), jn = (e, t = $()) => St(e, t), Vn = X([z, te], () => Dn);
3663
3691
  X([z], () => Un);
3664
- X([z, ee], () => Gn);
3692
+ X([z], () => Gn);
3693
+ X([z], () => Fn);
3694
+ X([z, te], () => jn);
3665
3695
  function rt(e, t) {
3666
- Pt(e, t);
3696
+ At(e, t);
3667
3697
  }
3668
- function jn(e) {
3698
+ function kn(e) {
3669
3699
  z.set(e);
3670
3700
  }
3671
3701
  const nt = {
@@ -3760,150 +3790,172 @@ const nt = {
3760
3790
  login: "Login"
3761
3791
  }
3762
3792
  };
3763
- function Vn(e) {
3764
- $t(e, "svelte-17wxvp", '*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box;font-family:"Helvetica Neue", "Helvetica", sans-serif}.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, #D0046C))}.PageTitle{color:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));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, #D0046C));border:1px solid var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));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%;font-size:12px;padding:20px}.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}}');
3793
+ function Xn(e, t) {
3794
+ if (e) {
3795
+ const r = document.createElement("style");
3796
+ r.innerHTML = t, e.appendChild(r);
3797
+ }
3765
3798
  }
3766
- function kn(e) {
3767
- let t, r, n, i, s, a, o, l, u, h, c = (
3799
+ function zn(e, t) {
3800
+ const r = new URL(t);
3801
+ fetch(r.href).then((n) => n.text()).then((n) => {
3802
+ const i = document.createElement("style");
3803
+ i.innerHTML = n, e && e.appendChild(i);
3804
+ }).catch((n) => {
3805
+ console.error("There was an error while trying to load client styling from URL", n);
3806
+ });
3807
+ }
3808
+ function Wn(e, t, r) {
3809
+ if (window.emMessageBus) {
3810
+ const n = document.createElement("style");
3811
+ window.emMessageBus.subscribe(t, (i) => {
3812
+ n.innerHTML = i, e && e.appendChild(n);
3813
+ });
3814
+ }
3815
+ }
3816
+ function Zn(e) {
3817
+ $t(e, "svelte-1osslvo", "*,*::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, #D0046C))}.PageTitle{color:var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));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, #D0046C));border:1px solid var(--emw--misc-color-primary, var(--emw--color-primary, #D0046C));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%;font-size:12px;padding:20px}.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}}");
3818
+ }
3819
+ function qn(e) {
3820
+ let t, r, n, i, s, u, a, l, o, h, c = (
3768
3821
  /*$_*/
3769
3822
  e[1]("sorry") + ""
3770
- ), f, b, y, E = (
3823
+ ), f, b, y, m = (
3771
3824
  /*$_*/
3772
3825
  e[1]("access") + ""
3773
- ), m, H, _, B = (
3826
+ ), E, S, B, H = (
3774
3827
  /*$_*/
3775
3828
  e[1]("login") + ""
3776
- ), N, A, L;
3829
+ ), N, P, O;
3777
3830
  return {
3778
3831
  c() {
3779
- t = I("div"), r = I("div"), n = $("svg"), i = $("g"), s = $("path"), a = $("path"), o = $("path"), l = $("path"), u = me(), h = I("p"), f = re(c), b = me(), y = I("p"), m = re(E), H = me(), _ = I("button"), N = re(B), v(s, "class", "a"), v(s, "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"), v(a, "class", "a"), v(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"), v(a, "transform", "translate(-116.772 -116.794)"), v(o, "class", "a"), v(o, "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"), v(o, "transform", "translate(-250.22 -116.794)"), v(l, "class", "a"), v(l, "d", "M199.816,81.307h-1.765V74.5c0-8.132-5.863-14.5-14.247-14.5s-14.12,6.493-14.12,14.5v6.745h-1.765a7.156,7.156,0,0,0-7.123,7.123v21.307a7.156,7.156,0,0,0,7.123,7.123h31.9a7.156,7.156,0,0,0,7.123-7.123V88.367a7.1,7.1,0,0,0-7.123-7.06Zm-26.6,0V74.5c0-6.052,4.16-10.969,10.59-10.969,6.367,0,10.716,4.791,10.716,10.969v6.745H173.215v.063Zm30.132,28.367a3.524,3.524,0,0,1-3.53,3.53h-31.9a3.524,3.524,0,0,1-3.53-3.53V88.367a3.524,3.524,0,0,1,3.53-3.53h31.9a3.524,3.524,0,0,1,3.53,3.53ZM187.4,95.49a3.548,3.548,0,0,1-1.765,3.089h0v5.8a1.765,1.765,0,1,1-3.53,0v-5.8h0a3.55,3.55,0,0,1,1.765-6.619,3.447,3.447,0,0,1,3.53,3.53Z"), v(l, "transform", "translate(-109.326 -3.172)"), v(i, "transform", "translate(-9.37 -9.34)"), v(n, "xmlns", "http://www.w3.org/2000/svg"), v(n, "width", "130.345"), v(n, "height", "130.345"), v(n, "viewBox", "0 0 130.345 130.345"), v(h, "class", "PageTitle"), v(y, "class", "PageContent"), v(_, "class", "ButtonDefaultSmall"), v(r, "class", "NotFoundPage"), v(t, "class", "PageWrapper");
3832
+ t = I("div"), r = I("div"), n = M("svg"), i = M("g"), s = M("path"), u = M("path"), a = M("path"), l = M("path"), o = pe(), h = I("p"), f = ne(c), b = pe(), y = I("p"), E = ne(m), S = pe(), B = I("button"), N = ne(H), v(s, "class", "a"), v(s, "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"), v(u, "class", "a"), v(u, "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"), v(u, "transform", "translate(-116.772 -116.794)"), v(a, "class", "a"), v(a, "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"), v(a, "transform", "translate(-250.22 -116.794)"), v(l, "class", "a"), v(l, "d", "M199.816,81.307h-1.765V74.5c0-8.132-5.863-14.5-14.247-14.5s-14.12,6.493-14.12,14.5v6.745h-1.765a7.156,7.156,0,0,0-7.123,7.123v21.307a7.156,7.156,0,0,0,7.123,7.123h31.9a7.156,7.156,0,0,0,7.123-7.123V88.367a7.1,7.1,0,0,0-7.123-7.06Zm-26.6,0V74.5c0-6.052,4.16-10.969,10.59-10.969,6.367,0,10.716,4.791,10.716,10.969v6.745H173.215v.063Zm30.132,28.367a3.524,3.524,0,0,1-3.53,3.53h-31.9a3.524,3.524,0,0,1-3.53-3.53V88.367a3.524,3.524,0,0,1,3.53-3.53h31.9a3.524,3.524,0,0,1,3.53,3.53ZM187.4,95.49a3.548,3.548,0,0,1-1.765,3.089h0v5.8a1.765,1.765,0,1,1-3.53,0v-5.8h0a3.55,3.55,0,0,1,1.765-6.619,3.447,3.447,0,0,1,3.53,3.53Z"), v(l, "transform", "translate(-109.326 -3.172)"), v(i, "transform", "translate(-9.37 -9.34)"), v(n, "xmlns", "http://www.w3.org/2000/svg"), v(n, "width", "130.345"), v(n, "height", "130.345"), v(n, "viewBox", "0 0 130.345 130.345"), v(h, "class", "PageTitle"), v(y, "class", "PageContent"), v(B, "class", "ButtonDefaultSmall"), v(r, "class", "NotFoundPage"), v(t, "class", "PageWrapper");
3780
3833
  },
3781
3834
  m(w, Z) {
3782
- at(w, t, Z), T(t, r), T(r, n), T(n, i), T(i, s), T(i, a), T(i, o), T(i, l), T(r, u), T(r, h), T(h, f), T(r, b), T(r, y), T(y, m), T(r, H), T(r, _), T(_, N), e[8](t), A || (L = Dt(
3783
- _,
3835
+ at(w, t, Z), _(t, r), _(r, n), _(n, i), _(i, s), _(i, u), _(i, a), _(i, l), _(r, o), _(r, h), _(h, f), _(r, b), _(r, y), _(y, E), _(r, S), _(r, B), _(B, N), e[9](t), P || (O = Dt(
3836
+ B,
3784
3837
  "click",
3785
3838
  /*click_handler*/
3786
- e[7]
3787
- ), A = !0);
3839
+ e[8]
3840
+ ), P = !0);
3788
3841
  },
3789
3842
  p(w, [Z]) {
3790
3843
  Z & /*$_*/
3791
3844
  2 && c !== (c = /*$_*/
3792
- w[1]("sorry") + "") && pe(f, c), Z & /*$_*/
3793
- 2 && E !== (E = /*$_*/
3794
- w[1]("access") + "") && pe(m, E), Z & /*$_*/
3795
- 2 && B !== (B = /*$_*/
3796
- w[1]("login") + "") && pe(N, B);
3845
+ w[1]("sorry") + "") && ge(f, c), Z & /*$_*/
3846
+ 2 && m !== (m = /*$_*/
3847
+ w[1]("access") + "") && ge(E, m), Z & /*$_*/
3848
+ 2 && H !== (H = /*$_*/
3849
+ w[1]("login") + "") && ge(N, H);
3797
3850
  },
3798
- i: P,
3799
- o: P,
3851
+ i: A,
3852
+ o: A,
3800
3853
  d(w) {
3801
- w && $e(t), e[8](null), A = !1, L();
3854
+ w && Me(t), e[9](null), P = !1, O();
3802
3855
  }
3803
3856
  };
3804
3857
  }
3805
- function Xn(e, t, r) {
3858
+ function Qn(e, t, r) {
3806
3859
  let n;
3807
- Ct(e, Fn, (m) => r(1, n = m));
3808
- let { lang: i = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, o, { translationurl: l = "" } = t;
3809
- const u = () => {
3810
- fetch(l).then((H) => H.json()).then((H) => {
3811
- Object.keys(H).forEach((_) => {
3812
- rt(_, H[_]);
3860
+ Ct(e, Vn, (m) => r(1, n = m));
3861
+ let { lang: i = "en" } = t, { clientstyling: s = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: a = "" } = t, { mbsource: l } = t, o;
3862
+ const h = () => {
3863
+ fetch(a).then((E) => E.json()).then((E) => {
3864
+ Object.keys(E).forEach((S) => {
3865
+ rt(S, E[S]);
3813
3866
  });
3814
- }).catch((H) => {
3815
- console.log(H);
3867
+ }).catch((E) => {
3868
+ console.log(E);
3816
3869
  });
3817
3870
  };
3818
3871
  Object.keys(nt).forEach((m) => {
3819
3872
  rt(m, nt[m]);
3820
3873
  });
3821
- const h = () => {
3874
+ const c = () => {
3822
3875
  window.postMessage({ type: "403ActionButton" }, window.location.href);
3823
- }, c = () => {
3824
- jn(i);
3825
3876
  }, f = () => {
3826
- let m = document.createElement("style");
3827
- m.innerHTML = s, o.appendChild(m);
3828
- }, b = () => {
3829
- let m = new URL(a), H = document.createElement("style");
3830
- fetch(m.href).then((_) => _.text()).then((_) => {
3831
- H.innerHTML = _, setTimeout(
3832
- () => {
3833
- o.appendChild(H);
3834
- },
3835
- 1
3836
- );
3837
- });
3838
- }, y = () => h();
3839
- function E(m) {
3840
- _e[m ? "unshift" : "push"](() => {
3877
+ kn(i);
3878
+ };
3879
+ jt(() => () => {
3880
+ });
3881
+ const b = () => c();
3882
+ function y(m) {
3883
+ He[m ? "unshift" : "push"](() => {
3841
3884
  o = m, r(0, o);
3842
3885
  });
3843
3886
  }
3844
3887
  return e.$$set = (m) => {
3845
- "lang" in m && r(3, i = m.lang), "clientstyling" in m && r(4, s = m.clientstyling), "clientstylingurl" in m && r(5, a = m.clientstylingurl), "translationurl" in m && r(6, l = m.translationurl);
3888
+ "lang" in m && r(3, i = m.lang), "clientstyling" in m && r(4, s = m.clientstyling), "clientstylingurl" in m && r(5, u = m.clientstylingurl), "translationurl" in m && r(6, a = m.translationurl), "mbsource" in m && r(7, l = m.mbsource);
3846
3889
  }, e.$$.update = () => {
3847
3890
  e.$$.dirty & /*lang*/
3848
- 8 && i && c(), e.$$.dirty & /*clientstyling, customStylingContainer*/
3849
- 17 && s && o && f(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
3850
- 33 && a && o && b(), e.$$.dirty & /*translationurl*/
3851
- 64 && l && u();
3891
+ 8 && i && f(), e.$$.dirty & /*clientstyling, customStylingContainer*/
3892
+ 17 && s && o && Xn(o, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
3893
+ 33 && u && o && zn(o, u), e.$$.dirty & /*translationurl*/
3894
+ 64 && a && h(), e.$$.dirty & /*mbsource, customStylingContainer*/
3895
+ 129 && l && o && Wn(o, `${l}.Style`);
3852
3896
  }, [
3853
3897
  o,
3854
3898
  n,
3855
- h,
3899
+ c,
3856
3900
  i,
3857
3901
  s,
3902
+ u,
3858
3903
  a,
3859
3904
  l,
3860
- y,
3861
- E
3905
+ b,
3906
+ y
3862
3907
  ];
3863
3908
  }
3864
- class zn extends Yt {
3909
+ class Jn extends er {
3865
3910
  constructor(t) {
3866
- super(), Qt(
3911
+ super(), Yt(
3867
3912
  this,
3868
3913
  t,
3869
- Xn,
3870
- kn,
3914
+ Qn,
3915
+ qn,
3871
3916
  st,
3872
3917
  {
3873
3918
  lang: 3,
3874
3919
  clientstyling: 4,
3875
3920
  clientstylingurl: 5,
3876
- translationurl: 6
3921
+ translationurl: 6,
3922
+ mbsource: 7
3877
3923
  },
3878
- Vn
3924
+ Zn
3879
3925
  );
3880
3926
  }
3881
3927
  get lang() {
3882
3928
  return this.$$.ctx[3];
3883
3929
  }
3884
3930
  set lang(t) {
3885
- this.$$set({ lang: t }), U();
3931
+ this.$$set({ lang: t }), C();
3886
3932
  }
3887
3933
  get clientstyling() {
3888
3934
  return this.$$.ctx[4];
3889
3935
  }
3890
3936
  set clientstyling(t) {
3891
- this.$$set({ clientstyling: t }), U();
3937
+ this.$$set({ clientstyling: t }), C();
3892
3938
  }
3893
3939
  get clientstylingurl() {
3894
3940
  return this.$$.ctx[5];
3895
3941
  }
3896
3942
  set clientstylingurl(t) {
3897
- this.$$set({ clientstylingurl: t }), U();
3943
+ this.$$set({ clientstylingurl: t }), C();
3898
3944
  }
3899
3945
  get translationurl() {
3900
3946
  return this.$$.ctx[6];
3901
3947
  }
3902
3948
  set translationurl(t) {
3903
- this.$$set({ translationurl: t }), U();
3949
+ this.$$set({ translationurl: t }), C();
3950
+ }
3951
+ get mbsource() {
3952
+ return this.$$.ctx[7];
3953
+ }
3954
+ set mbsource(t) {
3955
+ this.$$set({ mbsource: t }), C();
3904
3956
  }
3905
3957
  }
3906
- Jt(zn, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
3958
+ Kt(Jn, { lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, [], [], !0);
3907
3959
  export {
3908
- zn as C
3960
+ Jn as C
3909
3961
  };