@everymatrix/player-panic-button 1.77.20 → 1.77.21

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var or = Object.defineProperty, sr = Object.defineProperties;
2
- var ar = Object.getOwnPropertyDescriptors;
3
- var Qe = Object.getOwnPropertySymbols;
4
- var ur = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable;
5
- var xe = (e, t, r) => t in e ? or(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
1
+ var lr = Object.defineProperty, cr = Object.defineProperties;
2
+ var fr = Object.getOwnPropertyDescriptors;
3
+ var et = Object.getOwnPropertySymbols;
4
+ var pr = Object.prototype.hasOwnProperty, mr = Object.prototype.propertyIsEnumerable;
5
+ var Se = (e, t, r) => t in e ? lr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- ur.call(t, r) && xe(e, r, t[r]);
8
- if (Qe)
9
- for (var r of Qe(t))
10
- hr.call(t, r) && xe(e, r, t[r]);
7
+ pr.call(t, r) && Se(e, r, t[r]);
8
+ if (et)
9
+ for (var r of et(t))
10
+ mr.call(t, r) && Se(e, r, t[r]);
11
11
  return e;
12
- }, Ye = (e, t) => sr(e, ar(t));
13
- var T = (e, t, r) => (xe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var qe = (e, t, r) => new Promise((n, i) => {
12
+ }, rt = (e, t) => cr(e, fr(t));
13
+ var w = (e, t, r) => (Se(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var nt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (u) => {
16
16
  try {
17
17
  a(r.next(u));
@@ -29,25 +29,25 @@ var qe = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function B() {
31
31
  }
32
- function Tt(e) {
32
+ function At(e) {
33
33
  return e();
34
34
  }
35
- function Ke() {
35
+ function it() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function re(e) {
39
- e.forEach(Tt);
38
+ function te(e) {
39
+ e.forEach(At);
40
40
  }
41
- function Ve(e) {
41
+ function Qe(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function wt(e, t) {
44
+ function Ot(e, t) {
45
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
46
46
  }
47
- function lr(e) {
47
+ function dr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function Bt(e, ...t) {
50
+ function It(e, ...t) {
51
51
  if (e == null) {
52
52
  for (const n of t)
53
53
  n(void 0);
@@ -56,20 +56,20 @@ function Bt(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function cr(e, t, r) {
60
- e.$$.on_destroy.push(Bt(t, r));
59
+ function br(e, t, r) {
60
+ e.$$.on_destroy.push(It(t, r));
61
61
  }
62
62
  function ue(e, t) {
63
63
  e.appendChild(t);
64
64
  }
65
- function fr(e, t, r) {
66
- const n = pr(e);
65
+ function gr(e, t, r) {
66
+ const n = yr(e);
67
67
  if (!n.getElementById(t)) {
68
- const i = Y("style");
69
- i.id = t, i.textContent = r, mr(n, i);
68
+ const i = J("style");
69
+ i.id = t, i.textContent = r, vr(n, i);
70
70
  }
71
71
  }
72
- function pr(e) {
72
+ function yr(e) {
73
73
  if (!e)
74
74
  return document;
75
75
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -79,39 +79,39 @@ function pr(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function mr(e, t) {
82
+ function vr(e, t) {
83
83
  return ue(
84
84
  /** @type {Document} */
85
85
  e.head || e,
86
86
  t
87
87
  ), t.sheet;
88
88
  }
89
- function Ht(e, t, r) {
89
+ function Nt(e, t, r) {
90
90
  e.insertBefore(t, r || null);
91
91
  }
92
- function Xe(e) {
92
+ function Je(e) {
93
93
  e.parentNode && e.parentNode.removeChild(e);
94
94
  }
95
- function Y(e) {
95
+ function J(e) {
96
96
  return document.createElement(e);
97
97
  }
98
- function dr(e) {
98
+ function Er(e) {
99
99
  return document.createTextNode(e);
100
100
  }
101
101
  function C(e, t, r) {
102
102
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
103
103
  }
104
- function br(e) {
104
+ function _r(e) {
105
105
  return Array.from(e.childNodes);
106
106
  }
107
- function gr(e, t) {
107
+ function xr(e, t) {
108
108
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
109
109
  t);
110
110
  }
111
- function et(e, t, r) {
111
+ function ot(e, t, r) {
112
112
  e.classList.toggle(t, !!r);
113
113
  }
114
- function yr(e) {
114
+ function Sr(e) {
115
115
  const t = {};
116
116
  return e.childNodes.forEach(
117
117
  /** @param {Element} node */
@@ -120,87 +120,87 @@ function yr(e) {
120
120
  }
121
121
  ), t;
122
122
  }
123
- let K;
124
- function q(e) {
125
- K = e;
123
+ let q;
124
+ function Y(e) {
125
+ q = e;
126
126
  }
127
- function vr() {
128
- if (!K)
127
+ function wr() {
128
+ if (!q)
129
129
  throw new Error("Function called outside component initialization");
130
- return K;
130
+ return q;
131
131
  }
132
- function Er(e) {
133
- vr().$$.on_mount.push(e);
132
+ function Tr(e) {
133
+ wr().$$.on_mount.push(e);
134
134
  }
135
135
  const G = [], pe = [];
136
136
  let F = [];
137
- const tt = [], xr = /* @__PURE__ */ Promise.resolve();
138
- let Ae = !1;
139
- function _r() {
140
- Ae || (Ae = !0, xr.then(P));
137
+ const st = [], Br = /* @__PURE__ */ Promise.resolve();
138
+ let Ne = !1;
139
+ function Hr() {
140
+ Ne || (Ne = !0, Br.then(A));
141
141
  }
142
- function Oe(e) {
142
+ function Le(e) {
143
143
  F.push(e);
144
144
  }
145
- const _e = /* @__PURE__ */ new Set();
145
+ const we = /* @__PURE__ */ new Set();
146
146
  let U = 0;
147
- function P() {
147
+ function A() {
148
148
  if (U !== 0)
149
149
  return;
150
- const e = K;
150
+ const e = q;
151
151
  do {
152
152
  try {
153
153
  for (; U < G.length; ) {
154
154
  const t = G[U];
155
- U++, q(t), Sr(t.$$);
155
+ U++, Y(t), Pr(t.$$);
156
156
  }
157
157
  } catch (t) {
158
158
  throw G.length = 0, U = 0, t;
159
159
  }
160
- for (q(null), G.length = 0, U = 0; pe.length; )
160
+ for (Y(null), G.length = 0, U = 0; pe.length; )
161
161
  pe.pop()();
162
162
  for (let t = 0; t < F.length; t += 1) {
163
163
  const r = F[t];
164
- _e.has(r) || (_e.add(r), r());
164
+ we.has(r) || (we.add(r), r());
165
165
  }
166
166
  F.length = 0;
167
167
  } while (G.length);
168
- for (; tt.length; )
169
- tt.pop()();
170
- Ae = !1, _e.clear(), q(e);
168
+ for (; st.length; )
169
+ st.pop()();
170
+ Ne = !1, we.clear(), Y(e);
171
171
  }
172
- function Sr(e) {
172
+ function Pr(e) {
173
173
  if (e.fragment !== null) {
174
- e.update(), re(e.before_update);
174
+ e.update(), te(e.before_update);
175
175
  const t = e.dirty;
176
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Oe);
176
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
177
177
  }
178
178
  }
179
- function Tr(e) {
179
+ function Ar(e) {
180
180
  const t = [], r = [];
181
181
  F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
182
182
  }
183
- const wr = /* @__PURE__ */ new Set();
184
- function Br(e, t) {
185
- e && e.i && (wr.delete(e), e.i(t));
183
+ const Or = /* @__PURE__ */ new Set();
184
+ function Ir(e, t) {
185
+ e && e.i && (Or.delete(e), e.i(t));
186
186
  }
187
- function Hr(e, t, r) {
187
+ function Nr(e, t, r) {
188
188
  const { fragment: n, after_update: i } = e.$$;
189
- n && n.m(t, r), Oe(() => {
190
- const o = e.$$.on_mount.map(Tt).filter(Ve);
191
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
192
- }), i.forEach(Oe);
189
+ n && n.m(t, r), Le(() => {
190
+ const o = e.$$.on_mount.map(At).filter(Qe);
191
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : te(o), e.$$.on_mount = [];
192
+ }), i.forEach(Le);
193
193
  }
194
- function Pr(e, t) {
194
+ function Lr(e, t) {
195
195
  const r = e.$$;
196
- r.fragment !== null && (Tr(r.after_update), re(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
196
+ r.fragment !== null && (Ar(r.after_update), te(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
197
197
  }
198
- function Ar(e, t) {
199
- e.$$.dirty[0] === -1 && (G.push(e), _r(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
198
+ function Cr(e, t) {
199
+ e.$$.dirty[0] === -1 && (G.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
200
200
  }
201
- function Or(e, t, r, n, i, o, s = null, a = [-1]) {
202
- const u = K;
203
- q(e);
201
+ function Mr(e, t, r, n, i, o, s = null, a = [-1]) {
202
+ const u = q;
203
+ Y(e);
204
204
  const h = e.$$ = {
205
205
  fragment: null,
206
206
  ctx: [],
@@ -208,7 +208,7 @@ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
208
208
  props: o,
209
209
  update: B,
210
210
  not_equal: i,
211
- bound: Ke(),
211
+ bound: it(),
212
212
  // lifecycle
213
213
  on_mount: [],
214
214
  on_destroy: [],
@@ -217,7 +217,7 @@ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
217
217
  after_update: [],
218
218
  context: new Map(t.context || (u ? u.$$.context : [])),
219
219
  // everything else
220
- callbacks: Ke(),
220
+ callbacks: it(),
221
221
  dirty: a,
222
222
  skip_bound: !1,
223
223
  root: t.target || u.$$.root
@@ -225,40 +225,40 @@ function Or(e, t, r, n, i, o, s = null, a = [-1]) {
225
225
  s && s(h.root);
226
226
  let l = !1;
227
227
  if (h.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
228
- const y = m.length ? m[0] : f;
229
- return h.ctx && i(h.ctx[c], h.ctx[c] = y) && (!h.skip_bound && h.bound[c] && h.bound[c](y), l && Ar(e, c)), f;
230
- }) : [], h.update(), l = !0, re(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
228
+ const g = m.length ? m[0] : f;
229
+ return h.ctx && i(h.ctx[c], h.ctx[c] = g) && (!h.skip_bound && h.bound[c] && h.bound[c](g), l && Cr(e, c)), f;
230
+ }) : [], h.update(), l = !0, te(h.before_update), h.fragment = n ? n(h.ctx) : !1, t.target) {
231
231
  if (t.hydrate) {
232
- const c = br(t.target);
233
- h.fragment && h.fragment.l(c), c.forEach(Xe);
232
+ const c = _r(t.target);
233
+ h.fragment && h.fragment.l(c), c.forEach(Je);
234
234
  } else
235
235
  h.fragment && h.fragment.c();
236
- t.intro && Br(e.$$.fragment), Hr(e, t.target, t.anchor), P();
236
+ t.intro && Ir(e.$$.fragment), Nr(e, t.target, t.anchor), A();
237
237
  }
238
- q(u);
238
+ Y(u);
239
239
  }
240
- let Pt;
241
- typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
240
+ let Lt;
241
+ typeof HTMLElement == "function" && (Lt = class extends HTMLElement {
242
242
  constructor(t, r, n) {
243
243
  super();
244
244
  /** The Svelte component constructor */
245
- T(this, "$$ctor");
245
+ w(this, "$$ctor");
246
246
  /** Slots */
247
- T(this, "$$s");
247
+ w(this, "$$s");
248
248
  /** The Svelte component instance */
249
- T(this, "$$c");
249
+ w(this, "$$c");
250
250
  /** Whether or not the custom element is connected */
251
- T(this, "$$cn", !1);
251
+ w(this, "$$cn", !1);
252
252
  /** Component props data */
253
- T(this, "$$d", {});
253
+ w(this, "$$d", {});
254
254
  /** `true` if currently in the process of reflecting component props back to attributes */
255
- T(this, "$$r", !1);
255
+ w(this, "$$r", !1);
256
256
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
257
- T(this, "$$p_d", {});
257
+ w(this, "$$p_d", {});
258
258
  /** @type {Record<string, Function[]>} Event listeners */
259
- T(this, "$$l", {});
259
+ w(this, "$$l", {});
260
260
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
261
- T(this, "$$l_u", /* @__PURE__ */ new Map());
261
+ w(this, "$$l_u", /* @__PURE__ */ new Map());
262
262
  this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
263
263
  }
264
264
  addEventListener(t, r, n) {
@@ -275,31 +275,31 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
275
275
  }
276
276
  }
277
277
  connectedCallback() {
278
- return qe(this, null, function* () {
278
+ return nt(this, null, function* () {
279
279
  if (this.$$cn = !0, !this.$$c) {
280
280
  let t = function(o) {
281
281
  return () => {
282
282
  let s;
283
283
  return {
284
284
  c: function() {
285
- s = Y("slot"), o !== "default" && C(s, "name", o);
285
+ s = J("slot"), o !== "default" && C(s, "name", o);
286
286
  },
287
287
  /**
288
288
  * @param {HTMLElement} target
289
289
  * @param {HTMLElement} [anchor]
290
290
  */
291
291
  m: function(h, l) {
292
- Ht(h, s, l);
292
+ Nt(h, s, l);
293
293
  },
294
294
  d: function(h) {
295
- h && Xe(s);
295
+ h && Je(s);
296
296
  }
297
297
  };
298
298
  };
299
299
  };
300
300
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
301
301
  return;
302
- const r = {}, n = yr(this);
302
+ const r = {}, n = Sr(this);
303
303
  for (const o of this.$$s)
304
304
  o in n && (r[o] = [t(o)]);
305
305
  for (const o of this.attributes) {
@@ -310,7 +310,7 @@ typeof HTMLElement == "function" && (Pt = class extends HTMLElement {
310
310
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
311
311
  this.$$c = new this.$$ctor({
312
312
  target: this.shadowRoot || this,
313
- props: Ye(Je({}, this.$$d), {
313
+ props: rt(tt({}, this.$$d), {
314
314
  $$slots: r,
315
315
  $$scope: {
316
316
  ctx: []
@@ -388,8 +388,8 @@ function he(e, t, r, n) {
388
388
  return t;
389
389
  }
390
390
  }
391
- function Ir(e, t, r, n, i, o) {
392
- let s = class extends Pt {
391
+ function $r(e, t, r, n, i, o) {
392
+ let s = class extends Lt {
393
393
  constructor() {
394
394
  super(e, r, i), this.$$p_d = t;
395
395
  }
@@ -419,7 +419,7 @@ function Ir(e, t, r, n, i, o) {
419
419
  }), e.element = /** @type {any} */
420
420
  s, s;
421
421
  }
422
- class Nr {
422
+ class Rr {
423
423
  constructor() {
424
424
  /**
425
425
  * ### PRIVATE API
@@ -428,7 +428,7 @@ class Nr {
428
428
  *
429
429
  * @type {any}
430
430
  */
431
- T(this, "$$");
431
+ w(this, "$$");
432
432
  /**
433
433
  * ### PRIVATE API
434
434
  *
@@ -436,11 +436,11 @@ class Nr {
436
436
  *
437
437
  * @type {any}
438
438
  */
439
- T(this, "$$set");
439
+ w(this, "$$set");
440
440
  }
441
441
  /** @returns {void} */
442
442
  $destroy() {
443
- Pr(this, 1), this.$destroy = B;
443
+ Lr(this, 1), this.$destroy = B;
444
444
  }
445
445
  /**
446
446
  * @template {Extract<keyof Events, string>} K
@@ -449,7 +449,7 @@ class Nr {
449
449
  * @returns {() => void}
450
450
  */
451
451
  $on(t, r) {
452
- if (!Ve(r))
452
+ if (!Qe(r))
453
453
  return B;
454
454
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
455
455
  return n.push(r), () => {
@@ -462,18 +462,18 @@ class Nr {
462
462
  * @returns {void}
463
463
  */
464
464
  $set(t) {
465
- this.$$set && !lr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
465
+ this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
466
466
  }
467
467
  }
468
- const Lr = "4";
469
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Lr);
470
- function Cr(e, t) {
468
+ const Ur = "4";
469
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Ur);
470
+ function Dr(e, t) {
471
471
  if (e) {
472
472
  const r = document.createElement("style");
473
473
  r.innerHTML = t, e.appendChild(r);
474
474
  }
475
475
  }
476
- function Mr(e, t) {
476
+ function Gr(e, t) {
477
477
  const r = new URL(t);
478
478
  fetch(r.href).then((n) => n.text()).then((n) => {
479
479
  const i = document.createElement("style");
@@ -482,7 +482,7 @@ function Mr(e, t) {
482
482
  console.error("There was an error while trying to load client styling from URL", n);
483
483
  });
484
484
  }
485
- function $r(e, t, r) {
485
+ function Fr(e, t, r) {
486
486
  if (window.emMessageBus) {
487
487
  const n = document.createElement("style");
488
488
  window.emMessageBus.subscribe(t, (i) => {
@@ -504,43 +504,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
504
504
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
505
505
  PERFORMANCE OF THIS SOFTWARE.
506
506
  ***************************************************************************** */
507
- var Ie = function(e, t) {
508
- return Ie = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
507
+ var Ce = function(e, t) {
508
+ return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
509
509
  r.__proto__ = n;
510
510
  } || function(r, n) {
511
511
  for (var i in n)
512
512
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
513
- }, Ie(e, t);
513
+ }, Ce(e, t);
514
514
  };
515
- function O(e, t) {
515
+ function re(e, t) {
516
516
  if (typeof t != "function" && t !== null)
517
517
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
518
- Ie(e, t);
518
+ Ce(e, t);
519
519
  function r() {
520
520
  this.constructor = e;
521
521
  }
522
522
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
523
523
  }
524
- var b = function() {
525
- return b = Object.assign || function(t) {
526
- for (var r, n = 1, i = arguments.length; n < i; n++) {
527
- r = arguments[n];
528
- for (var o in r)
529
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
530
- }
531
- return t;
532
- }, b.apply(this, arguments);
533
- };
534
- function Rr(e, t) {
535
- var r = {};
536
- for (var n in e)
537
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
538
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
539
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
540
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
541
- return r;
542
- }
543
- function Ne(e) {
524
+ function Me(e) {
544
525
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
545
526
  if (r)
546
527
  return r.call(e);
@@ -552,7 +533,7 @@ function Ne(e) {
552
533
  };
553
534
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
554
535
  }
555
- function Le(e, t) {
536
+ function $e(e, t) {
556
537
  var r = typeof Symbol == "function" && e[Symbol.iterator];
557
538
  if (!r)
558
539
  return e;
@@ -572,22 +553,22 @@ function Le(e, t) {
572
553
  }
573
554
  return o;
574
555
  }
575
- function j(e, t, r) {
576
- if (r || arguments.length === 2)
556
+ function Re(e, t, r) {
557
+ if (arguments.length === 2)
577
558
  for (var n = 0, i = t.length, o; n < i; n++)
578
559
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
579
560
  return e.concat(o || t);
580
561
  }
581
- function A(e) {
562
+ function O(e) {
582
563
  return typeof e == "function";
583
564
  }
584
- function At(e) {
565
+ function Ct(e) {
585
566
  var t = function(n) {
586
567
  Error.call(n), n.stack = new Error().stack;
587
568
  }, r = e(t);
588
569
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
589
570
  }
590
- var Se = At(function(e) {
571
+ var Te = Ct(function(e) {
591
572
  return function(r) {
592
573
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
593
574
  ` + r.map(function(n, i) {
@@ -596,13 +577,13 @@ var Se = At(function(e) {
596
577
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
597
578
  };
598
579
  });
599
- function Ce(e, t) {
580
+ function Ue(e, t) {
600
581
  if (e) {
601
582
  var r = e.indexOf(t);
602
583
  0 <= r && e.splice(r, 1);
603
584
  }
604
585
  }
605
- var be = function() {
586
+ var ge = function() {
606
587
  function e(t) {
607
588
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
608
589
  }
@@ -614,12 +595,12 @@ var be = function() {
614
595
  if (s)
615
596
  if (this._parentage = null, Array.isArray(s))
616
597
  try {
617
- for (var a = Ne(s), u = a.next(); !u.done; u = a.next()) {
598
+ for (var a = Me(s), u = a.next(); !u.done; u = a.next()) {
618
599
  var h = u.value;
619
600
  h.remove(this);
620
601
  }
621
- } catch (g) {
622
- t = { error: g };
602
+ } catch (b) {
603
+ t = { error: b };
623
604
  } finally {
624
605
  try {
625
606
  u && !u.done && (r = a.return) && r.call(a);
@@ -631,26 +612,26 @@ var be = function() {
631
612
  else
632
613
  s.remove(this);
633
614
  var l = this.initialTeardown;
634
- if (A(l))
615
+ if (O(l))
635
616
  try {
636
617
  l();
637
- } catch (g) {
638
- o = g instanceof Se ? g.errors : [g];
618
+ } catch (b) {
619
+ o = b instanceof Te ? b.errors : [b];
639
620
  }
640
621
  var c = this._finalizers;
641
622
  if (c) {
642
623
  this._finalizers = null;
643
624
  try {
644
- for (var f = Ne(c), m = f.next(); !m.done; m = f.next()) {
645
- var y = m.value;
625
+ for (var f = Me(c), m = f.next(); !m.done; m = f.next()) {
626
+ var g = m.value;
646
627
  try {
647
- rt(y);
648
- } catch (g) {
649
- o = o != null ? o : [], g instanceof Se ? o = j(j([], Le(o)), Le(g.errors)) : o.push(g);
628
+ at(g);
629
+ } catch (b) {
630
+ o = o != null ? o : [], b instanceof Te ? o = Re(Re([], $e(o)), $e(b.errors)) : o.push(b);
650
631
  }
651
632
  }
652
- } catch (g) {
653
- n = { error: g };
633
+ } catch (b) {
634
+ n = { error: b };
654
635
  } finally {
655
636
  try {
656
637
  m && !m.done && (i = f.return) && i.call(f);
@@ -661,13 +642,13 @@ var be = function() {
661
642
  }
662
643
  }
663
644
  if (o)
664
- throw new Se(o);
645
+ throw new Te(o);
665
646
  }
666
647
  }, e.prototype.add = function(t) {
667
648
  var r;
668
649
  if (t && t !== this)
669
650
  if (this.closed)
670
- rt(t);
651
+ at(t);
671
652
  else {
672
653
  if (t instanceof e) {
673
654
  if (t.closed || t._hasParent(this))
@@ -684,52 +665,52 @@ var be = function() {
684
665
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
685
666
  }, e.prototype._removeParent = function(t) {
686
667
  var r = this._parentage;
687
- r === t ? this._parentage = null : Array.isArray(r) && Ce(r, t);
668
+ r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
688
669
  }, e.prototype.remove = function(t) {
689
670
  var r = this._finalizers;
690
- r && Ce(r, t), t instanceof e && t._removeParent(this);
671
+ r && Ue(r, t), t instanceof e && t._removeParent(this);
691
672
  }, e.EMPTY = function() {
692
673
  var t = new e();
693
674
  return t.closed = !0, t;
694
675
  }(), e;
695
- }(), Ot = be.EMPTY;
696
- function It(e) {
697
- return e instanceof be || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
676
+ }(), Mt = ge.EMPTY;
677
+ function $t(e) {
678
+ return e instanceof ge || e && "closed" in e && O(e.remove) && O(e.add) && O(e.unsubscribe);
698
679
  }
699
- function rt(e) {
700
- A(e) ? e() : e.unsubscribe();
680
+ function at(e) {
681
+ O(e) ? e() : e.unsubscribe();
701
682
  }
702
- var Ur = {
683
+ var jr = {
703
684
  Promise: void 0
704
- }, Dr = {
685
+ }, kr = {
705
686
  setTimeout: function(e, t) {
706
687
  for (var r = [], n = 2; n < arguments.length; n++)
707
688
  r[n - 2] = arguments[n];
708
- return setTimeout.apply(void 0, j([e, t], Le(r)));
689
+ return setTimeout.apply(void 0, Re([e, t], $e(r)));
709
690
  },
710
691
  clearTimeout: function(e) {
711
692
  return clearTimeout(e);
712
693
  },
713
694
  delegate: void 0
714
695
  };
715
- function Gr(e) {
716
- Dr.setTimeout(function() {
696
+ function Vr(e) {
697
+ kr.setTimeout(function() {
717
698
  throw e;
718
699
  });
719
700
  }
720
- function nt() {
701
+ function ut() {
721
702
  }
722
703
  function le(e) {
723
704
  e();
724
705
  }
725
- var Nt = function(e) {
726
- O(t, e);
706
+ var Rt = function(e) {
707
+ re(t, e);
727
708
  function t(r) {
728
709
  var n = e.call(this) || this;
729
- return n.isStopped = !1, r ? (n.destination = r, It(r) && r.add(n)) : n.destination = kr, n;
710
+ return n.isStopped = !1, r ? (n.destination = r, $t(r) && r.add(n)) : n.destination = Wr, n;
730
711
  }
731
712
  return t.create = function(r, n, i) {
732
- return new Me(r, n, i);
713
+ return new De(r, n, i);
733
714
  }, t.prototype.next = function(r) {
734
715
  this.isStopped || this._next(r);
735
716
  }, t.prototype.error = function(r) {
@@ -753,7 +734,7 @@ var Nt = function(e) {
753
734
  this.unsubscribe();
754
735
  }
755
736
  }, t;
756
- }(be), Fr = function() {
737
+ }(ge), Xr = function() {
757
738
  function e(t) {
758
739
  this.partialObserver = t;
759
740
  }
@@ -784,43 +765,43 @@ var Nt = function(e) {
784
765
  oe(r);
785
766
  }
786
767
  }, e;
787
- }(), Me = function(e) {
788
- O(t, e);
768
+ }(), De = function(e) {
769
+ re(t, e);
789
770
  function t(r, n, i) {
790
771
  var o = e.call(this) || this, s;
791
- return A(r) || !r ? s = {
772
+ return O(r) || !r ? s = {
792
773
  next: r != null ? r : void 0,
793
774
  error: n != null ? n : void 0,
794
775
  complete: i != null ? i : void 0
795
- } : s = r, o.destination = new Fr(s), o;
776
+ } : s = r, o.destination = new Xr(s), o;
796
777
  }
797
778
  return t;
798
- }(Nt);
779
+ }(Rt);
799
780
  function oe(e) {
800
- Gr(e);
781
+ Vr(e);
801
782
  }
802
- function jr(e) {
783
+ function zr(e) {
803
784
  throw e;
804
785
  }
805
- var kr = {
786
+ var Wr = {
806
787
  closed: !0,
807
- next: nt,
808
- error: jr,
809
- complete: nt
810
- }, Vr = function() {
788
+ next: ut,
789
+ error: zr,
790
+ complete: ut
791
+ }, Zr = function() {
811
792
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
812
793
  }();
813
- function Xr(e) {
794
+ function Qr(e) {
814
795
  return e;
815
796
  }
816
- function zr(e) {
817
- return e.length === 0 ? Xr : e.length === 1 ? e[0] : function(r) {
797
+ function Jr(e) {
798
+ return e.length === 0 ? Qr : e.length === 1 ? e[0] : function(r) {
818
799
  return e.reduce(function(n, i) {
819
800
  return i(n);
820
801
  }, r);
821
802
  };
822
803
  }
823
- var it = function() {
804
+ var ht = function() {
824
805
  function e(t) {
825
806
  t && (this._subscribe = t);
826
807
  }
@@ -828,7 +809,7 @@ var it = function() {
828
809
  var r = new e();
829
810
  return r.source = this, r.operator = t, r;
830
811
  }, e.prototype.subscribe = function(t, r, n) {
831
- var i = this, o = Zr(t) ? t : new Me(t, r, n);
812
+ var i = this, o = qr(t) ? t : new De(t, r, n);
832
813
  return le(function() {
833
814
  var s = i, a = s.operator, u = s.source;
834
815
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -841,8 +822,8 @@ var it = function() {
841
822
  }
842
823
  }, e.prototype.forEach = function(t, r) {
843
824
  var n = this;
844
- return r = ot(r), new r(function(i, o) {
845
- var s = new Me({
825
+ return r = lt(r), new r(function(i, o) {
826
+ var s = new De({
846
827
  next: function(a) {
847
828
  try {
848
829
  t(a);
@@ -858,15 +839,15 @@ var it = function() {
858
839
  }, e.prototype._subscribe = function(t) {
859
840
  var r;
860
841
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
861
- }, e.prototype[Vr] = function() {
842
+ }, e.prototype[Zr] = function() {
862
843
  return this;
863
844
  }, e.prototype.pipe = function() {
864
845
  for (var t = [], r = 0; r < arguments.length; r++)
865
846
  t[r] = arguments[r];
866
- return zr(t)(this);
847
+ return Jr(t)(this);
867
848
  }, e.prototype.toPromise = function(t) {
868
849
  var r = this;
869
- return t = ot(t), new t(function(n, i) {
850
+ return t = lt(t), new t(function(n, i) {
870
851
  var o;
871
852
  r.subscribe(function(s) {
872
853
  return o = s;
@@ -880,32 +861,32 @@ var it = function() {
880
861
  return new e(t);
881
862
  }, e;
882
863
  }();
883
- function ot(e) {
864
+ function lt(e) {
884
865
  var t;
885
- return (t = e != null ? e : Ur.Promise) !== null && t !== void 0 ? t : Promise;
866
+ return (t = e != null ? e : jr.Promise) !== null && t !== void 0 ? t : Promise;
886
867
  }
887
- function Wr(e) {
888
- return e && A(e.next) && A(e.error) && A(e.complete);
868
+ function Yr(e) {
869
+ return e && O(e.next) && O(e.error) && O(e.complete);
889
870
  }
890
- function Zr(e) {
891
- return e && e instanceof Nt || Wr(e) && It(e);
871
+ function qr(e) {
872
+ return e && e instanceof Rt || Yr(e) && $t(e);
892
873
  }
893
- var Qr = At(function(e) {
874
+ var Kr = Ct(function(e) {
894
875
  return function() {
895
876
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
896
877
  };
897
- }), Lt = function(e) {
898
- O(t, e);
878
+ }), Ut = function(e) {
879
+ re(t, e);
899
880
  function t() {
900
881
  var r = e.call(this) || this;
901
882
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
902
883
  }
903
884
  return t.prototype.lift = function(r) {
904
- var n = new st(this, this);
885
+ var n = new ct(this, this);
905
886
  return n.operator = r, n;
906
887
  }, t.prototype._throwIfClosed = function() {
907
888
  if (this.closed)
908
- throw new Qr();
889
+ throw new Kr();
909
890
  }, t.prototype.next = function(r) {
910
891
  var n = this;
911
892
  le(function() {
@@ -913,7 +894,7 @@ var Qr = At(function(e) {
913
894
  if (n._throwIfClosed(), !n.isStopped) {
914
895
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
915
896
  try {
916
- for (var s = Ne(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
897
+ for (var s = Me(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
917
898
  var u = a.value;
918
899
  u.next(r);
919
900
  }
@@ -962,20 +943,20 @@ var Qr = At(function(e) {
962
943
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
963
944
  }, t.prototype._innerSubscribe = function(r) {
964
945
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
965
- return o || s ? Ot : (this.currentObservers = null, a.push(r), new be(function() {
966
- n.currentObservers = null, Ce(a, r);
946
+ return o || s ? Mt : (this.currentObservers = null, a.push(r), new ge(function() {
947
+ n.currentObservers = null, Ue(a, r);
967
948
  }));
968
949
  }, t.prototype._checkFinalizedStatuses = function(r) {
969
950
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
970
951
  i ? r.error(o) : s && r.complete();
971
952
  }, t.prototype.asObservable = function() {
972
- var r = new it();
953
+ var r = new ht();
973
954
  return r.source = this, r;
974
955
  }, t.create = function(r, n) {
975
- return new st(r, n);
956
+ return new ct(r, n);
976
957
  }, t;
977
- }(it), st = function(e) {
978
- O(t, e);
958
+ }(ht), ct = function(e) {
959
+ re(t, e);
979
960
  function t(r, n) {
980
961
  var i = e.call(this) || this;
981
962
  return i.destination = r, i.source = n, i;
@@ -991,17 +972,17 @@ var Qr = At(function(e) {
991
972
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
992
973
  }, t.prototype._subscribe = function(r) {
993
974
  var n, i;
994
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ot;
975
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mt;
995
976
  }, t;
996
- }(Lt), Ct = {
977
+ }(Ut), Dt = {
997
978
  now: function() {
998
- return (Ct.delegate || Date).now();
979
+ return (Dt.delegate || Date).now();
999
980
  },
1000
981
  delegate: void 0
1001
- }, Jr = function(e) {
1002
- O(t, e);
982
+ }, en = function(e) {
983
+ re(t, e);
1003
984
  function t(r, n, i) {
1004
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ct);
985
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dt);
1005
986
  var o = e.call(this) || this;
1006
987
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1007
988
  }
@@ -1021,24 +1002,24 @@ var Qr = At(function(e) {
1021
1002
  h && o.splice(0, h + 1);
1022
1003
  }
1023
1004
  }, t;
1024
- }(Lt);
1025
- const at = [], ut = {}, Yr = (e, t = 0) => {
1026
- if (at.indexOf(e) == -1) {
1027
- const r = new Jr(t);
1028
- ut[e] = r, at.push(e);
1005
+ }(Ut);
1006
+ const ft = [], pt = {}, tn = (e, t = 0) => {
1007
+ if (ft.indexOf(e) == -1) {
1008
+ const r = new en(t);
1009
+ pt[e] = r, ft.push(e);
1029
1010
  }
1030
- return ut[e];
1011
+ return pt[e];
1031
1012
  }, D = [];
1032
- function qr(e, t) {
1013
+ function rn(e, t) {
1033
1014
  return {
1034
- subscribe: ge(e, t).subscribe
1015
+ subscribe: ye(e, t).subscribe
1035
1016
  };
1036
1017
  }
1037
- function ge(e, t = B) {
1018
+ function ye(e, t = B) {
1038
1019
  let r;
1039
1020
  const n = /* @__PURE__ */ new Set();
1040
1021
  function i(a) {
1041
- if (wt(e, a) && (e = a, r)) {
1022
+ if (Ot(e, a) && (e = a, r)) {
1042
1023
  const u = !D.length;
1043
1024
  for (const h of n)
1044
1025
  h[1](), D.push(h, e);
@@ -1060,12 +1041,12 @@ function ge(e, t = B) {
1060
1041
  }
1061
1042
  return { set: i, update: o, subscribe: s };
1062
1043
  }
1063
- function W(e, t, r) {
1044
+ function z(e, t, r) {
1064
1045
  const n = !Array.isArray(e), i = n ? [e] : e;
1065
1046
  if (!i.every(Boolean))
1066
1047
  throw new Error("derived() expects stores as input, got a falsy value");
1067
1048
  const o = t.length < 2;
1068
- return qr(r, (s, a) => {
1049
+ return rn(r, (s, a) => {
1069
1050
  let u = !1;
1070
1051
  const h = [];
1071
1052
  let l = 0, c = B;
@@ -1073,129 +1054,171 @@ function W(e, t, r) {
1073
1054
  if (l)
1074
1055
  return;
1075
1056
  c();
1076
- const y = t(n ? h[0] : h, s, a);
1077
- o ? s(y) : c = Ve(y) ? y : B;
1057
+ const g = t(n ? h[0] : h, s, a);
1058
+ o ? s(g) : c = Qe(g) ? g : B;
1078
1059
  }, m = i.map(
1079
- (y, g) => Bt(
1080
- y,
1081
- (w) => {
1082
- h[g] = w, l &= ~(1 << g), u && f();
1060
+ (g, b) => It(
1061
+ g,
1062
+ (T) => {
1063
+ h[b] = T, l &= ~(1 << b), u && f();
1083
1064
  },
1084
1065
  () => {
1085
- l |= 1 << g;
1066
+ l |= 1 << b;
1086
1067
  }
1087
1068
  )
1088
1069
  );
1089
1070
  return u = !0, f(), function() {
1090
- re(m), c(), u = !1;
1071
+ te(m), c(), u = !1;
1091
1072
  };
1092
1073
  });
1093
1074
  }
1094
- function Kr(e) {
1075
+ function nn(e) {
1095
1076
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1096
1077
  }
1097
- var en = function(t) {
1098
- return tn(t) && !rn(t);
1078
+ var on = function(t) {
1079
+ return sn(t) && !an(t);
1099
1080
  };
1100
- function tn(e) {
1081
+ function sn(e) {
1101
1082
  return !!e && typeof e == "object";
1102
1083
  }
1103
- function rn(e) {
1084
+ function an(e) {
1104
1085
  var t = Object.prototype.toString.call(e);
1105
- return t === "[object RegExp]" || t === "[object Date]" || sn(e);
1086
+ return t === "[object RegExp]" || t === "[object Date]" || ln(e);
1106
1087
  }
1107
- var nn = typeof Symbol == "function" && Symbol.for, on = nn ? Symbol.for("react.element") : 60103;
1108
- function sn(e) {
1109
- return e.$$typeof === on;
1088
+ var un = typeof Symbol == "function" && Symbol.for, hn = un ? Symbol.for("react.element") : 60103;
1089
+ function ln(e) {
1090
+ return e.$$typeof === hn;
1110
1091
  }
1111
- function an(e) {
1092
+ function cn(e) {
1112
1093
  return Array.isArray(e) ? [] : {};
1113
1094
  }
1114
- function ee(e, t) {
1115
- return t.clone !== !1 && t.isMergeableObject(e) ? k(an(e), e, t) : e;
1095
+ function K(e, t) {
1096
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(cn(e), e, t) : e;
1116
1097
  }
1117
- function un(e, t, r) {
1098
+ function fn(e, t, r) {
1118
1099
  return e.concat(t).map(function(n) {
1119
- return ee(n, r);
1100
+ return K(n, r);
1120
1101
  });
1121
1102
  }
1122
- function hn(e, t) {
1103
+ function pn(e, t) {
1123
1104
  if (!t.customMerge)
1124
- return k;
1105
+ return j;
1125
1106
  var r = t.customMerge(e);
1126
- return typeof r == "function" ? r : k;
1107
+ return typeof r == "function" ? r : j;
1127
1108
  }
1128
- function ln(e) {
1109
+ function mn(e) {
1129
1110
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1130
1111
  return Object.propertyIsEnumerable.call(e, t);
1131
1112
  }) : [];
1132
1113
  }
1133
- function ht(e) {
1134
- return Object.keys(e).concat(ln(e));
1114
+ function mt(e) {
1115
+ return Object.keys(e).concat(mn(e));
1135
1116
  }
1136
- function Mt(e, t) {
1117
+ function Gt(e, t) {
1137
1118
  try {
1138
1119
  return t in e;
1139
1120
  } catch (r) {
1140
1121
  return !1;
1141
1122
  }
1142
1123
  }
1143
- function cn(e, t) {
1144
- return Mt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1124
+ function dn(e, t) {
1125
+ return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1145
1126
  }
1146
- function fn(e, t, r) {
1127
+ function bn(e, t, r) {
1147
1128
  var n = {};
1148
- return r.isMergeableObject(e) && ht(e).forEach(function(i) {
1149
- n[i] = ee(e[i], r);
1150
- }), ht(t).forEach(function(i) {
1151
- cn(e, i) || (Mt(e, i) && r.isMergeableObject(t[i]) ? n[i] = hn(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
1129
+ return r.isMergeableObject(e) && mt(e).forEach(function(i) {
1130
+ n[i] = K(e[i], r);
1131
+ }), mt(t).forEach(function(i) {
1132
+ dn(e, i) || (Gt(e, i) && r.isMergeableObject(t[i]) ? n[i] = pn(i, r)(e[i], t[i], r) : n[i] = K(t[i], r));
1152
1133
  }), n;
1153
1134
  }
1154
- function k(e, t, r) {
1155
- r = r || {}, r.arrayMerge = r.arrayMerge || un, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = ee;
1135
+ function j(e, t, r) {
1136
+ r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || on, r.cloneUnlessOtherwiseSpecified = K;
1156
1137
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1157
- return o ? n ? r.arrayMerge(e, t, r) : fn(e, t, r) : ee(t, r);
1138
+ return o ? n ? r.arrayMerge(e, t, r) : bn(e, t, r) : K(t, r);
1158
1139
  }
1159
- k.all = function(t, r) {
1140
+ j.all = function(t, r) {
1160
1141
  if (!Array.isArray(t))
1161
1142
  throw new Error("first argument should be an array");
1162
1143
  return t.reduce(function(n, i) {
1163
- return k(n, i, r);
1144
+ return j(n, i, r);
1164
1145
  }, {});
1165
1146
  };
1166
- var pn = k, mn = pn;
1167
- const dn = /* @__PURE__ */ Kr(mn);
1168
- function Te(e, t) {
1169
- var r = t && t.cache ? t.cache : _n, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : yn;
1147
+ var gn = j, yn = gn;
1148
+ const vn = /* @__PURE__ */ nn(yn);
1149
+ var Ge = function(e, t) {
1150
+ return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1151
+ r.__proto__ = n;
1152
+ } || function(r, n) {
1153
+ for (var i in n)
1154
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1155
+ }, Ge(e, t);
1156
+ };
1157
+ function ve(e, t) {
1158
+ if (typeof t != "function" && t !== null)
1159
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1160
+ Ge(e, t);
1161
+ function r() {
1162
+ this.constructor = e;
1163
+ }
1164
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1165
+ }
1166
+ var P = function() {
1167
+ return P = Object.assign || function(t) {
1168
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1169
+ r = arguments[n];
1170
+ for (var o in r)
1171
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1172
+ }
1173
+ return t;
1174
+ }, P.apply(this, arguments);
1175
+ };
1176
+ function En(e, t) {
1177
+ var r = {};
1178
+ for (var n in e)
1179
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1180
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1181
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1182
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1183
+ return r;
1184
+ }
1185
+ function Be(e, t, r) {
1186
+ if (r || arguments.length === 2)
1187
+ for (var n = 0, i = t.length, o; n < i; n++)
1188
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1189
+ return e.concat(o || Array.prototype.slice.call(t));
1190
+ }
1191
+ function He(e, t) {
1192
+ var r = t && t.cache ? t.cache : Hn, n = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : Sn;
1170
1193
  return i(e, {
1171
1194
  cache: r,
1172
1195
  serializer: n
1173
1196
  });
1174
1197
  }
1175
- function bn(e) {
1198
+ function _n(e) {
1176
1199
  return e == null || typeof e == "number" || typeof e == "boolean";
1177
1200
  }
1178
- function gn(e, t, r, n) {
1179
- var i = bn(n) ? n : r(n), o = t.get(i);
1201
+ function xn(e, t, r, n) {
1202
+ var i = _n(n) ? n : r(n), o = t.get(i);
1180
1203
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1181
1204
  }
1182
- function $t(e, t, r) {
1205
+ function Ft(e, t, r) {
1183
1206
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1184
1207
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1185
1208
  }
1186
- function Rt(e, t, r, n, i) {
1209
+ function jt(e, t, r, n, i) {
1187
1210
  return r.bind(t, e, n, i);
1188
1211
  }
1189
- function yn(e, t) {
1190
- var r = e.length === 1 ? gn : $t;
1191
- return Rt(e, this, r, t.cache.create(), t.serializer);
1212
+ function Sn(e, t) {
1213
+ var r = e.length === 1 ? xn : Ft;
1214
+ return jt(e, this, r, t.cache.create(), t.serializer);
1192
1215
  }
1193
- function vn(e, t) {
1194
- return Rt(e, this, $t, t.cache.create(), t.serializer);
1216
+ function wn(e, t) {
1217
+ return jt(e, this, Ft, t.cache.create(), t.serializer);
1195
1218
  }
1196
- var En = function() {
1219
+ var Tn = function() {
1197
1220
  return JSON.stringify(arguments);
1198
- }, xn = (
1221
+ }, Bn = (
1199
1222
  /** @class */
1200
1223
  function() {
1201
1224
  function e() {
@@ -1207,61 +1230,71 @@ var En = function() {
1207
1230
  this.cache[t] = r;
1208
1231
  }, e;
1209
1232
  }()
1210
- ), _n = {
1233
+ ), Hn = {
1211
1234
  create: function() {
1212
- return new xn();
1235
+ return new Bn();
1213
1236
  }
1214
- }, we = {
1215
- variadic: vn
1216
- }, p;
1237
+ }, Pe = {
1238
+ variadic: wn
1239
+ }, me = function() {
1240
+ return me = Object.assign || function(t) {
1241
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1242
+ r = arguments[n];
1243
+ for (var o in r)
1244
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1245
+ }
1246
+ return t;
1247
+ }, me.apply(this, arguments);
1248
+ };
1249
+ var p;
1217
1250
  (function(e) {
1218
1251
  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";
1219
1252
  })(p || (p = {}));
1220
- var E;
1253
+ var v;
1221
1254
  (function(e) {
1222
1255
  e[e.literal = 0] = "literal", e[e.argument = 1] = "argument", e[e.number = 2] = "number", e[e.date = 3] = "date", e[e.time = 4] = "time", e[e.select = 5] = "select", e[e.plural = 6] = "plural", e[e.pound = 7] = "pound", e[e.tag = 8] = "tag";
1223
- })(E || (E = {}));
1224
- var V;
1256
+ })(v || (v = {}));
1257
+ var k;
1225
1258
  (function(e) {
1226
1259
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1227
- })(V || (V = {}));
1228
- function lt(e) {
1229
- return e.type === E.literal;
1260
+ })(k || (k = {}));
1261
+ function dt(e) {
1262
+ return e.type === v.literal;
1230
1263
  }
1231
- function Sn(e) {
1232
- return e.type === E.argument;
1264
+ function Pn(e) {
1265
+ return e.type === v.argument;
1233
1266
  }
1234
- function Ut(e) {
1235
- return e.type === E.number;
1267
+ function kt(e) {
1268
+ return e.type === v.number;
1236
1269
  }
1237
- function Dt(e) {
1238
- return e.type === E.date;
1270
+ function Vt(e) {
1271
+ return e.type === v.date;
1239
1272
  }
1240
- function Gt(e) {
1241
- return e.type === E.time;
1273
+ function Xt(e) {
1274
+ return e.type === v.time;
1242
1275
  }
1243
- function Ft(e) {
1244
- return e.type === E.select;
1276
+ function zt(e) {
1277
+ return e.type === v.select;
1245
1278
  }
1246
- function jt(e) {
1247
- return e.type === E.plural;
1279
+ function Wt(e) {
1280
+ return e.type === v.plural;
1248
1281
  }
1249
- function Tn(e) {
1250
- return e.type === E.pound;
1282
+ function An(e) {
1283
+ return e.type === v.pound;
1251
1284
  }
1252
- function kt(e) {
1253
- return e.type === E.tag;
1285
+ function Zt(e) {
1286
+ return e.type === v.tag;
1254
1287
  }
1255
- function Vt(e) {
1256
- return !!(e && typeof e == "object" && e.type === V.number);
1288
+ function Qt(e) {
1289
+ return !!(e && typeof e == "object" && e.type === k.number);
1257
1290
  }
1258
- function $e(e) {
1259
- return !!(e && typeof e == "object" && e.type === V.dateTime);
1291
+ function Fe(e) {
1292
+ return !!(e && typeof e == "object" && e.type === k.dateTime);
1260
1293
  }
1261
- var Xt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, wn = /(?:[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;
1262
- function Bn(e) {
1294
+ var Jt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, On = /(?:[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;
1295
+ function In(e) {
1263
1296
  var t = {};
1264
- return e.replace(wn, function(r) {
1297
+ return e.replace(On, function(r) {
1265
1298
  var n = r.length;
1266
1299
  switch (r[0]) {
1267
1300
  case "G":
@@ -1350,11 +1383,21 @@ function Bn(e) {
1350
1383
  return "";
1351
1384
  }), t;
1352
1385
  }
1353
- var Hn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1354
- function Pn(e) {
1386
+ var E = function() {
1387
+ return E = Object.assign || function(t) {
1388
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1389
+ r = arguments[n];
1390
+ for (var o in r)
1391
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1392
+ }
1393
+ return t;
1394
+ }, E.apply(this, arguments);
1395
+ };
1396
+ var Nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1397
+ function Ln(e) {
1355
1398
  if (e.length === 0)
1356
1399
  throw new Error("Number skeleton cannot be empty");
1357
- for (var t = e.split(Hn).filter(function(f) {
1400
+ for (var t = e.split(Nn).filter(function(f) {
1358
1401
  return f.length > 0;
1359
1402
  }), r = [], n = 0, i = t; n < i.length; n++) {
1360
1403
  var o = i[n], s = o.split("/");
@@ -1369,17 +1412,17 @@ function Pn(e) {
1369
1412
  }
1370
1413
  return r;
1371
1414
  }
1372
- function An(e) {
1415
+ function Cn(e) {
1373
1416
  return e.replace(/^(.*?)-/, "");
1374
1417
  }
1375
- var ct = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, zt = /^(@+)?(\+|#+)?[rs]?$/g, On = /(\*)(0+)|(#+)(0+)|(0+)/g, Wt = /^(0+)$/;
1376
- function ft(e) {
1418
+ var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Yt = /^(@+)?(\+|#+)?[rs]?$/g, Mn = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
1419
+ function gt(e) {
1377
1420
  var t = {};
1378
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(zt, function(r, n, i) {
1421
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Yt, function(r, n, i) {
1379
1422
  return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1380
1423
  }), t;
1381
1424
  }
1382
- function Zt(e) {
1425
+ function Kt(e) {
1383
1426
  switch (e) {
1384
1427
  case "sign-auto":
1385
1428
  return {
@@ -1419,7 +1462,7 @@ function Zt(e) {
1419
1462
  };
1420
1463
  }
1421
1464
  }
1422
- function In(e) {
1465
+ function $n(e) {
1423
1466
  var t;
1424
1467
  if (e[0] === "E" && e[1] === "E" ? (t = {
1425
1468
  notation: "engineering"
@@ -1427,17 +1470,17 @@ function In(e) {
1427
1470
  notation: "scientific"
1428
1471
  }, e = e.slice(1)), t) {
1429
1472
  var r = e.slice(0, 2);
1430
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Wt.test(e))
1473
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
1431
1474
  throw new Error("Malformed concise eng/scientific notation");
1432
1475
  t.minimumIntegerDigits = e.length;
1433
1476
  }
1434
1477
  return t;
1435
1478
  }
1436
- function pt(e) {
1437
- var t = {}, r = Zt(e);
1479
+ function yt(e) {
1480
+ var t = {}, r = Kt(e);
1438
1481
  return r || t;
1439
1482
  }
1440
- function Nn(e) {
1483
+ function Rn(e) {
1441
1484
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1442
1485
  var i = n[r];
1443
1486
  switch (i.stem) {
@@ -1461,7 +1504,7 @@ function Nn(e) {
1461
1504
  continue;
1462
1505
  case "measure-unit":
1463
1506
  case "unit":
1464
- t.style = "unit", t.unit = An(i.options[0]);
1507
+ t.style = "unit", t.unit = Cn(i.options[0]);
1465
1508
  continue;
1466
1509
  case "compact-short":
1467
1510
  case "K":
@@ -1472,13 +1515,13 @@ function Nn(e) {
1472
1515
  t.notation = "compact", t.compactDisplay = "long";
1473
1516
  continue;
1474
1517
  case "scientific":
1475
- t = b(b(b({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
1476
- return b(b({}, u), pt(h));
1518
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
1519
+ return E(E({}, u), yt(h));
1477
1520
  }, {}));
1478
1521
  continue;
1479
1522
  case "engineering":
1480
- t = b(b(b({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
1481
- return b(b({}, u), pt(h));
1523
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
1524
+ return E(E({}, u), yt(h));
1482
1525
  }, {}));
1483
1526
  continue;
1484
1527
  case "notation-simple":
@@ -1523,7 +1566,7 @@ function Nn(e) {
1523
1566
  case "integer-width":
1524
1567
  if (i.options.length > 1)
1525
1568
  throw new RangeError("integer-width stems only accept a single optional option");
1526
- i.options[0].replace(On, function(u, h, l, c, f, m) {
1569
+ i.options[0].replace(Mn, function(u, h, l, c, f, m) {
1527
1570
  if (h)
1528
1571
  t.minimumIntegerDigits = l.length;
1529
1572
  else {
@@ -1536,28 +1579,28 @@ function Nn(e) {
1536
1579
  });
1537
1580
  continue;
1538
1581
  }
1539
- if (Wt.test(i.stem)) {
1582
+ if (qt.test(i.stem)) {
1540
1583
  t.minimumIntegerDigits = i.stem.length;
1541
1584
  continue;
1542
1585
  }
1543
- if (ct.test(i.stem)) {
1586
+ if (bt.test(i.stem)) {
1544
1587
  if (i.options.length > 1)
1545
1588
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1546
- i.stem.replace(ct, function(u, h, l, c, f, m) {
1589
+ i.stem.replace(bt, function(u, h, l, c, f, m) {
1547
1590
  return l === "*" ? t.minimumFractionDigits = h.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = h.length, t.maximumFractionDigits = h.length), "";
1548
1591
  });
1549
1592
  var o = i.options[0];
1550
- o === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = b(b({}, t), ft(o)));
1593
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), gt(o)));
1551
1594
  continue;
1552
1595
  }
1553
- if (zt.test(i.stem)) {
1554
- t = b(b({}, t), ft(i.stem));
1596
+ if (Yt.test(i.stem)) {
1597
+ t = E(E({}, t), gt(i.stem));
1555
1598
  continue;
1556
1599
  }
1557
- var s = Zt(i.stem);
1558
- s && (t = b(b({}, t), s));
1559
- var a = In(i.stem);
1560
- a && (t = b(b({}, t), a));
1600
+ var s = Kt(i.stem);
1601
+ s && (t = E(E({}, t), s));
1602
+ var a = $n(i.stem);
1603
+ a && (t = E(E({}, t), a));
1561
1604
  }
1562
1605
  return t;
1563
1606
  }
@@ -2976,13 +3019,13 @@ var se = {
2976
3019
  "h"
2977
3020
  ]
2978
3021
  };
2979
- function Ln(e, t) {
3022
+ function Un(e, t) {
2980
3023
  for (var r = "", n = 0; n < e.length; n++) {
2981
3024
  var i = e.charAt(n);
2982
3025
  if (i === "j") {
2983
3026
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2984
3027
  o++, n++;
2985
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = Cn(t);
3028
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = Dn(t);
2986
3029
  for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
2987
3030
  r += u;
2988
3031
  for (; s-- > 0; )
@@ -2992,7 +3035,7 @@ function Ln(e, t) {
2992
3035
  }
2993
3036
  return r;
2994
3037
  }
2995
- function Cn(e) {
3038
+ function Dn(e) {
2996
3039
  var t = e.hourCycle;
2997
3040
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2998
3041
  e.hourCycles && // @ts-ignore
@@ -3014,20 +3057,20 @@ function Cn(e) {
3014
3057
  var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
3015
3058
  return i[0];
3016
3059
  }
3017
- var Be, Mn = new RegExp("^".concat(Xt.source, "*")), $n = new RegExp("".concat(Xt.source, "*$"));
3060
+ var Ae, Gn = new RegExp("^".concat(Jt.source, "*")), Fn = new RegExp("".concat(Jt.source, "*$"));
3018
3061
  function d(e, t) {
3019
3062
  return { start: e, end: t };
3020
3063
  }
3021
- var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Dn = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Vn = kn ? Number.isSafeInteger : function(e) {
3064
+ var jn = !!String.prototype.startsWith && "_a".startsWith("a", 1), kn = !!String.fromCodePoint, Vn = !!Object.fromEntries, Xn = !!String.prototype.codePointAt, zn = !!String.prototype.trimStart, Wn = !!String.prototype.trimEnd, Zn = !!Number.isSafeInteger, Qn = Zn ? Number.isSafeInteger : function(e) {
3022
3065
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3023
- }, Re = !0;
3066
+ }, je = !0;
3024
3067
  try {
3025
- var Xn = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3026
- Re = ((Be = Xn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
3068
+ var Jn = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3069
+ je = ((Ae = Jn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
3027
3070
  } catch (e) {
3028
- Re = !1;
3071
+ je = !1;
3029
3072
  }
3030
- var mt = Rn ? (
3073
+ var vt = jn ? (
3031
3074
  // Native
3032
3075
  function(t, r, n) {
3033
3076
  return t.startsWith(r, n);
@@ -3037,7 +3080,7 @@ var mt = Rn ? (
3037
3080
  function(t, r, n) {
3038
3081
  return t.slice(n, n + r.length) === r;
3039
3082
  }
3040
- ), Ue = Un ? String.fromCodePoint : (
3083
+ ), ke = kn ? String.fromCodePoint : (
3041
3084
  // IE11
3042
3085
  function() {
3043
3086
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3049,9 +3092,9 @@ var mt = Rn ? (
3049
3092
  }
3050
3093
  return n;
3051
3094
  }
3052
- ), dt = (
3095
+ ), Et = (
3053
3096
  // native
3054
- Dn ? Object.fromEntries : (
3097
+ Vn ? Object.fromEntries : (
3055
3098
  // Ponyfill
3056
3099
  function(t) {
3057
3100
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3061,7 +3104,7 @@ var mt = Rn ? (
3061
3104
  return r;
3062
3105
  }
3063
3106
  )
3064
- ), Qt = Gn ? (
3107
+ ), er = Xn ? (
3065
3108
  // Native
3066
3109
  function(t, r) {
3067
3110
  return t.codePointAt(r);
@@ -3075,7 +3118,7 @@ var mt = Rn ? (
3075
3118
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3076
3119
  }
3077
3120
  }
3078
- ), zn = Fn ? (
3121
+ ), Yn = zn ? (
3079
3122
  // Native
3080
3123
  function(t) {
3081
3124
  return t.trimStart();
@@ -3083,9 +3126,9 @@ var mt = Rn ? (
3083
3126
  ) : (
3084
3127
  // Ponyfill
3085
3128
  function(t) {
3086
- return t.replace(Mn, "");
3129
+ return t.replace(Gn, "");
3087
3130
  }
3088
- ), Wn = jn ? (
3131
+ ), qn = Wn ? (
3089
3132
  // Native
3090
3133
  function(t) {
3091
3134
  return t.trimEnd();
@@ -3093,32 +3136,32 @@ var mt = Rn ? (
3093
3136
  ) : (
3094
3137
  // Ponyfill
3095
3138
  function(t) {
3096
- return t.replace($n, "");
3139
+ return t.replace(Fn, "");
3097
3140
  }
3098
3141
  );
3099
- function Jt(e, t) {
3142
+ function tr(e, t) {
3100
3143
  return new RegExp(e, t);
3101
3144
  }
3102
- var De;
3103
- if (Re) {
3104
- var bt = Jt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3105
- De = function(t, r) {
3145
+ var Ve;
3146
+ if (je) {
3147
+ var _t = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3148
+ Ve = function(t, r) {
3106
3149
  var n;
3107
- bt.lastIndex = r;
3108
- var i = bt.exec(t);
3150
+ _t.lastIndex = r;
3151
+ var i = _t.exec(t);
3109
3152
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3110
3153
  };
3111
3154
  } else
3112
- De = function(t, r) {
3155
+ Ve = function(t, r) {
3113
3156
  for (var n = []; ; ) {
3114
- var i = Qt(t, r);
3115
- if (i === void 0 || Yt(i) || Yn(i))
3157
+ var i = er(t, r);
3158
+ if (i === void 0 || rr(i) || ri(i))
3116
3159
  break;
3117
3160
  n.push(i), r += i >= 65536 ? 2 : 1;
3118
3161
  }
3119
- return Ue.apply(void 0, n);
3162
+ return ke.apply(void 0, n);
3120
3163
  };
3121
- var Zn = (
3164
+ var Kn = (
3122
3165
  /** @class */
3123
3166
  function() {
3124
3167
  function e(t, r) {
@@ -3142,14 +3185,14 @@ var Zn = (
3142
3185
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3143
3186
  var a = this.clonePosition();
3144
3187
  this.bump(), i.push({
3145
- type: E.pound,
3188
+ type: v.pound,
3146
3189
  location: d(a, this.clonePosition())
3147
3190
  });
3148
3191
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3149
3192
  if (n)
3150
3193
  break;
3151
3194
  return this.error(p.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
3152
- } else if (o === 60 && !this.ignoreTag && Ge(this.peek() || 0)) {
3195
+ } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3153
3196
  var s = this.parseTag(t, r);
3154
3197
  if (s.err)
3155
3198
  return s;
@@ -3170,7 +3213,7 @@ var Zn = (
3170
3213
  if (this.bumpSpace(), this.bumpIf("/>"))
3171
3214
  return {
3172
3215
  val: {
3173
- type: E.literal,
3216
+ type: v.literal,
3174
3217
  value: "<".concat(i, "/>"),
3175
3218
  location: d(n, this.clonePosition())
3176
3219
  },
@@ -3182,12 +3225,12 @@ var Zn = (
3182
3225
  return o;
3183
3226
  var s = o.val, a = this.clonePosition();
3184
3227
  if (this.bumpIf("</")) {
3185
- if (this.isEOF() || !Ge(this.char()))
3228
+ if (this.isEOF() || !Xe(this.char()))
3186
3229
  return this.error(p.INVALID_TAG, d(a, this.clonePosition()));
3187
3230
  var u = this.clonePosition(), h = this.parseTagName();
3188
3231
  return i !== h ? this.error(p.UNMATCHED_CLOSING_TAG, d(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3189
3232
  val: {
3190
- type: E.tag,
3233
+ type: v.tag,
3191
3234
  value: i,
3192
3235
  children: s,
3193
3236
  location: d(n, this.clonePosition())
@@ -3200,7 +3243,7 @@ var Zn = (
3200
3243
  return this.error(p.INVALID_TAG, d(n, this.clonePosition()));
3201
3244
  }, e.prototype.parseTagName = function() {
3202
3245
  var t = this.offset();
3203
- for (this.bump(); !this.isEOF() && Jn(this.char()); )
3246
+ for (this.bump(); !this.isEOF() && ti(this.char()); )
3204
3247
  this.bump();
3205
3248
  return this.message.slice(t, this.offset());
3206
3249
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3224,12 +3267,12 @@ var Zn = (
3224
3267
  }
3225
3268
  var u = d(n, this.clonePosition());
3226
3269
  return {
3227
- val: { type: E.literal, value: i, location: u },
3270
+ val: { type: v.literal, value: i, location: u },
3228
3271
  err: null
3229
3272
  };
3230
3273
  }, e.prototype.tryParseLeftAngleBracket = function() {
3231
3274
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3232
- !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3275
+ !ei(this.peek() || 0)) ? (this.bump(), "<") : null;
3233
3276
  }, e.prototype.tryParseQuote = function(t) {
3234
3277
  if (this.isEOF() || this.char() !== 39)
3235
3278
  return null;
@@ -3263,12 +3306,12 @@ var Zn = (
3263
3306
  r.push(n);
3264
3307
  this.bump();
3265
3308
  }
3266
- return Ue.apply(void 0, r);
3309
+ return ke.apply(void 0, r);
3267
3310
  }, e.prototype.tryParseUnquoted = function(t, r) {
3268
3311
  if (this.isEOF())
3269
3312
  return null;
3270
3313
  var n = this.char();
3271
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ue(n));
3314
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3272
3315
  }, e.prototype.parseArgument = function(t, r) {
3273
3316
  var n = this.clonePosition();
3274
3317
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3284,7 +3327,7 @@ var Zn = (
3284
3327
  case 125:
3285
3328
  return this.bump(), {
3286
3329
  val: {
3287
- type: E.argument,
3330
+ type: v.argument,
3288
3331
  // value does not include the opening and closing braces.
3289
3332
  value: i,
3290
3333
  location: d(n, this.clonePosition())
@@ -3297,7 +3340,7 @@ var Zn = (
3297
3340
  return this.error(p.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3298
3341
  }
3299
3342
  }, e.prototype.parseIdentifierIfPossible = function() {
3300
- var t = this.clonePosition(), r = this.offset(), n = De(this.message, r), i = r + n.length;
3343
+ var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3301
3344
  this.bumpTo(i);
3302
3345
  var o = this.clonePosition(), s = d(t, o);
3303
3346
  return { value: n, location: s };
@@ -3316,46 +3359,46 @@ var Zn = (
3316
3359
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3317
3360
  if (c.err)
3318
3361
  return c;
3319
- var f = Wn(c.val);
3362
+ var f = qn(c.val);
3320
3363
  if (f.length === 0)
3321
3364
  return this.error(p.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
3322
3365
  var m = d(l, this.clonePosition());
3323
3366
  h = { style: f, styleLocation: m };
3324
3367
  }
3325
- var y = this.tryParseArgumentClose(i);
3326
- if (y.err)
3327
- return y;
3328
- var g = d(i, this.clonePosition());
3329
- if (h && mt(h == null ? void 0 : h.style, "::", 0)) {
3330
- var w = zn(h.style.slice(2));
3368
+ var g = this.tryParseArgumentClose(i);
3369
+ if (g.err)
3370
+ return g;
3371
+ var b = d(i, this.clonePosition());
3372
+ if (h && vt(h == null ? void 0 : h.style, "::", 0)) {
3373
+ var T = Yn(h.style.slice(2));
3331
3374
  if (a === "number") {
3332
- var c = this.parseNumberSkeletonFromString(w, h.styleLocation);
3375
+ var c = this.parseNumberSkeletonFromString(T, h.styleLocation);
3333
3376
  return c.err ? c : {
3334
- val: { type: E.number, value: n, location: g, style: c.val },
3377
+ val: { type: v.number, value: n, location: b, style: c.val },
3335
3378
  err: null
3336
3379
  };
3337
3380
  } else {
3338
- if (w.length === 0)
3339
- return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
3340
- var L = w;
3341
- this.locale && (L = Ln(w, this.locale));
3381
+ if (T.length === 0)
3382
+ return this.error(p.EXPECT_DATE_TIME_SKELETON, b);
3383
+ var L = T;
3384
+ this.locale && (L = Un(T, this.locale));
3342
3385
  var f = {
3343
- type: V.dateTime,
3386
+ type: k.dateTime,
3344
3387
  pattern: L,
3345
3388
  location: h.styleLocation,
3346
- parsedOptions: this.shouldParseSkeletons ? Bn(L) : {}
3347
- }, I = a === "date" ? E.date : E.time;
3389
+ parsedOptions: this.shouldParseSkeletons ? In(L) : {}
3390
+ }, I = a === "date" ? v.date : v.time;
3348
3391
  return {
3349
- val: { type: I, value: n, location: g, style: f },
3392
+ val: { type: I, value: n, location: b, style: f },
3350
3393
  err: null
3351
3394
  };
3352
3395
  }
3353
3396
  }
3354
3397
  return {
3355
3398
  val: {
3356
- type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3399
+ type: a === "number" ? v.number : a === "date" ? v.date : v.time,
3357
3400
  value: n,
3358
- location: g,
3401
+ location: b,
3359
3402
  style: (o = h == null ? void 0 : h.style) !== null && o !== void 0 ? o : null
3360
3403
  },
3361
3404
  err: null
@@ -3364,9 +3407,9 @@ var Zn = (
3364
3407
  case "plural":
3365
3408
  case "selectordinal":
3366
3409
  case "select": {
3367
- var _ = this.clonePosition();
3410
+ var x = this.clonePosition();
3368
3411
  if (this.bumpSpace(), !this.bumpIf(","))
3369
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, d(_, b({}, _)));
3412
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, d(x, me({}, x)));
3370
3413
  this.bumpSpace();
3371
3414
  var H = this.parseIdentifierIfPossible(), S = 0;
3372
3415
  if (a !== "select" && H.value === "offset") {
@@ -3381,23 +3424,23 @@ var Zn = (
3381
3424
  var $ = this.tryParsePluralOrSelectOptions(t, a, r, H);
3382
3425
  if ($.err)
3383
3426
  return $;
3384
- var y = this.tryParseArgumentClose(i);
3385
- if (y.err)
3386
- return y;
3427
+ var g = this.tryParseArgumentClose(i);
3428
+ if (g.err)
3429
+ return g;
3387
3430
  var ie = d(i, this.clonePosition());
3388
3431
  return a === "select" ? {
3389
3432
  val: {
3390
- type: E.select,
3433
+ type: v.select,
3391
3434
  value: n,
3392
- options: dt($.val),
3435
+ options: Et($.val),
3393
3436
  location: ie
3394
3437
  },
3395
3438
  err: null
3396
3439
  } : {
3397
3440
  val: {
3398
- type: E.plural,
3441
+ type: v.plural,
3399
3442
  value: n,
3400
- options: dt($.val),
3443
+ options: Et($.val),
3401
3444
  offset: S,
3402
3445
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3403
3446
  location: ie
@@ -3448,16 +3491,16 @@ var Zn = (
3448
3491
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3449
3492
  var n = [];
3450
3493
  try {
3451
- n = Pn(t);
3494
+ n = Ln(t);
3452
3495
  } catch (i) {
3453
3496
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3454
3497
  }
3455
3498
  return {
3456
3499
  val: {
3457
- type: V.number,
3500
+ type: k.number,
3458
3501
  tokens: n,
3459
3502
  location: r,
3460
- parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
3503
+ parsedOptions: this.shouldParseSkeletons ? Rn(n) : {}
3461
3504
  },
3462
3505
  err: null
3463
3506
  };
@@ -3479,16 +3522,16 @@ var Zn = (
3479
3522
  var m = this.clonePosition();
3480
3523
  if (!this.bumpIf("{"))
3481
3524
  return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
3482
- var y = this.parseMessage(t + 1, r, n);
3483
- if (y.err)
3484
- return y;
3485
- var g = this.tryParseArgumentClose(m);
3525
+ var g = this.parseMessage(t + 1, r, n);
3486
3526
  if (g.err)
3487
3527
  return g;
3528
+ var b = this.tryParseArgumentClose(m);
3529
+ if (b.err)
3530
+ return b;
3488
3531
  a.push([
3489
3532
  h,
3490
3533
  {
3491
- value: y.val,
3534
+ value: g.val,
3492
3535
  location: d(m, this.clonePosition())
3493
3536
  }
3494
3537
  ]), u.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, l = o.location;
@@ -3505,7 +3548,7 @@ var Zn = (
3505
3548
  break;
3506
3549
  }
3507
3550
  var u = d(i, this.clonePosition());
3508
- return o ? (s *= n, Vn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3551
+ return o ? (s *= n, Qn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3509
3552
  }, e.prototype.offset = function() {
3510
3553
  return this.position.offset;
3511
3554
  }, e.prototype.isEOF = function() {
@@ -3520,7 +3563,7 @@ var Zn = (
3520
3563
  var t = this.position.offset;
3521
3564
  if (t >= this.message.length)
3522
3565
  throw Error("out of bound");
3523
- var r = Qt(this.message, t);
3566
+ var r = er(this.message, t);
3524
3567
  if (r === void 0)
3525
3568
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3526
3569
  return r;
@@ -3539,7 +3582,7 @@ var Zn = (
3539
3582
  t === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += t < 65536 ? 1 : 2);
3540
3583
  }
3541
3584
  }, e.prototype.bumpIf = function(t) {
3542
- if (mt(this.message, t, this.offset())) {
3585
+ if (vt(this.message, t, this.offset())) {
3543
3586
  for (var r = 0; r < t.length; r++)
3544
3587
  this.bump();
3545
3588
  return !0;
@@ -3561,7 +3604,7 @@ var Zn = (
3561
3604
  break;
3562
3605
  }
3563
3606
  }, e.prototype.bumpSpace = function() {
3564
- for (; !this.isEOF() && Yt(this.char()); )
3607
+ for (; !this.isEOF() && rr(this.char()); )
3565
3608
  this.bump();
3566
3609
  }, e.prototype.peek = function() {
3567
3610
  if (this.isEOF())
@@ -3571,47 +3614,47 @@ var Zn = (
3571
3614
  }, e;
3572
3615
  }()
3573
3616
  );
3574
- function Ge(e) {
3617
+ function Xe(e) {
3575
3618
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3576
3619
  }
3577
- function Qn(e) {
3578
- return Ge(e) || e === 47;
3620
+ function ei(e) {
3621
+ return Xe(e) || e === 47;
3579
3622
  }
3580
- function Jn(e) {
3623
+ function ti(e) {
3581
3624
  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;
3582
3625
  }
3583
- function Yt(e) {
3626
+ function rr(e) {
3584
3627
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3585
3628
  }
3586
- function Yn(e) {
3629
+ function ri(e) {
3587
3630
  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;
3588
3631
  }
3589
- function Fe(e) {
3632
+ function ze(e) {
3590
3633
  e.forEach(function(t) {
3591
- if (delete t.location, Ft(t) || jt(t))
3634
+ if (delete t.location, zt(t) || Wt(t))
3592
3635
  for (var r in t.options)
3593
- delete t.options[r].location, Fe(t.options[r].value);
3636
+ delete t.options[r].location, ze(t.options[r].value);
3594
3637
  else
3595
- Ut(t) && Vt(t.style) || (Dt(t) || Gt(t)) && $e(t.style) ? delete t.style.location : kt(t) && Fe(t.children);
3638
+ kt(t) && Qt(t.style) || (Vt(t) || Xt(t)) && Fe(t.style) ? delete t.style.location : Zt(t) && ze(t.children);
3596
3639
  });
3597
3640
  }
3598
- function qn(e, t) {
3599
- t === void 0 && (t = {}), t = b({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3600
- var r = new Zn(e, t).parse();
3641
+ function ni(e, t) {
3642
+ t === void 0 && (t = {}), t = me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3643
+ var r = new Kn(e, t).parse();
3601
3644
  if (r.err) {
3602
3645
  var n = SyntaxError(p[r.err.kind]);
3603
3646
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3604
3647
  }
3605
- return t != null && t.captureLocation || Fe(r.val), r.val;
3648
+ return t != null && t.captureLocation || ze(r.val), r.val;
3606
3649
  }
3607
- var X;
3650
+ var V;
3608
3651
  (function(e) {
3609
3652
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3610
- })(X || (X = {}));
3611
- var ye = (
3653
+ })(V || (V = {}));
3654
+ var Ee = (
3612
3655
  /** @class */
3613
3656
  function(e) {
3614
- O(t, e);
3657
+ ve(t, e);
3615
3658
  function t(r, n, i) {
3616
3659
  var o = e.call(this, r) || this;
3617
3660
  return o.code = n, o.originalMessage = i, o;
@@ -3620,155 +3663,155 @@ var ye = (
3620
3663
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3621
3664
  }, t;
3622
3665
  }(Error)
3623
- ), gt = (
3666
+ ), xt = (
3624
3667
  /** @class */
3625
3668
  function(e) {
3626
- O(t, e);
3669
+ ve(t, e);
3627
3670
  function t(r, n, i, o) {
3628
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, o) || this;
3671
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, o) || this;
3629
3672
  }
3630
3673
  return t;
3631
- }(ye)
3632
- ), Kn = (
3674
+ }(Ee)
3675
+ ), ii = (
3633
3676
  /** @class */
3634
3677
  function(e) {
3635
- O(t, e);
3678
+ ve(t, e);
3636
3679
  function t(r, n, i) {
3637
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3680
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3638
3681
  }
3639
3682
  return t;
3640
- }(ye)
3641
- ), ei = (
3683
+ }(Ee)
3684
+ ), oi = (
3642
3685
  /** @class */
3643
3686
  function(e) {
3644
- O(t, e);
3687
+ ve(t, e);
3645
3688
  function t(r, n) {
3646
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3689
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3647
3690
  }
3648
3691
  return t;
3649
- }(ye)
3650
- ), x;
3692
+ }(Ee)
3693
+ ), _;
3651
3694
  (function(e) {
3652
3695
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3653
- })(x || (x = {}));
3654
- function ti(e) {
3696
+ })(_ || (_ = {}));
3697
+ function si(e) {
3655
3698
  return e.length < 2 ? e : e.reduce(function(t, r) {
3656
3699
  var n = t[t.length - 1];
3657
- return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3700
+ return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
3658
3701
  }, []);
3659
3702
  }
3660
- function ri(e) {
3703
+ function ai(e) {
3661
3704
  return typeof e == "function";
3662
3705
  }
3663
3706
  function ce(e, t, r, n, i, o, s) {
3664
- if (e.length === 1 && lt(e[0]))
3707
+ if (e.length === 1 && dt(e[0]))
3665
3708
  return [
3666
3709
  {
3667
- type: x.literal,
3710
+ type: _.literal,
3668
3711
  value: e[0].value
3669
3712
  }
3670
3713
  ];
3671
3714
  for (var a = [], u = 0, h = e; u < h.length; u++) {
3672
3715
  var l = h[u];
3673
- if (lt(l)) {
3716
+ if (dt(l)) {
3674
3717
  a.push({
3675
- type: x.literal,
3718
+ type: _.literal,
3676
3719
  value: l.value
3677
3720
  });
3678
3721
  continue;
3679
3722
  }
3680
- if (Tn(l)) {
3723
+ if (An(l)) {
3681
3724
  typeof o == "number" && a.push({
3682
- type: x.literal,
3725
+ type: _.literal,
3683
3726
  value: r.getNumberFormat(t).format(o)
3684
3727
  });
3685
3728
  continue;
3686
3729
  }
3687
3730
  var c = l.value;
3688
3731
  if (!(i && c in i))
3689
- throw new ei(c, s);
3732
+ throw new oi(c, s);
3690
3733
  var f = i[c];
3691
- if (Sn(l)) {
3734
+ if (Pn(l)) {
3692
3735
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3693
- type: typeof f == "string" ? x.literal : x.object,
3736
+ type: typeof f == "string" ? _.literal : _.object,
3694
3737
  value: f
3695
3738
  });
3696
3739
  continue;
3697
3740
  }
3698
- if (Dt(l)) {
3699
- var m = typeof l.style == "string" ? n.date[l.style] : $e(l.style) ? l.style.parsedOptions : void 0;
3741
+ if (Vt(l)) {
3742
+ var m = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
3700
3743
  a.push({
3701
- type: x.literal,
3744
+ type: _.literal,
3702
3745
  value: r.getDateTimeFormat(t, m).format(f)
3703
3746
  });
3704
3747
  continue;
3705
3748
  }
3706
- if (Gt(l)) {
3707
- var m = typeof l.style == "string" ? n.time[l.style] : $e(l.style) ? l.style.parsedOptions : n.time.medium;
3749
+ if (Xt(l)) {
3750
+ var m = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
3708
3751
  a.push({
3709
- type: x.literal,
3752
+ type: _.literal,
3710
3753
  value: r.getDateTimeFormat(t, m).format(f)
3711
3754
  });
3712
3755
  continue;
3713
3756
  }
3714
- if (Ut(l)) {
3715
- var m = typeof l.style == "string" ? n.number[l.style] : Vt(l.style) ? l.style.parsedOptions : void 0;
3757
+ if (kt(l)) {
3758
+ var m = typeof l.style == "string" ? n.number[l.style] : Qt(l.style) ? l.style.parsedOptions : void 0;
3716
3759
  m && m.scale && (f = f * (m.scale || 1)), a.push({
3717
- type: x.literal,
3760
+ type: _.literal,
3718
3761
  value: r.getNumberFormat(t, m).format(f)
3719
3762
  });
3720
3763
  continue;
3721
3764
  }
3722
- if (kt(l)) {
3723
- var y = l.children, g = l.value, w = i[g];
3724
- if (!ri(w))
3725
- throw new Kn(g, "function", s);
3726
- var L = ce(y, t, r, n, i, o), I = w(L.map(function(S) {
3765
+ if (Zt(l)) {
3766
+ var g = l.children, b = l.value, T = i[b];
3767
+ if (!ai(T))
3768
+ throw new ii(b, "function", s);
3769
+ var L = ce(g, t, r, n, i, o), I = T(L.map(function(S) {
3727
3770
  return S.value;
3728
3771
  }));
3729
3772
  Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(S) {
3730
3773
  return {
3731
- type: typeof S == "string" ? x.literal : x.object,
3774
+ type: typeof S == "string" ? _.literal : _.object,
3732
3775
  value: S
3733
3776
  };
3734
3777
  }));
3735
3778
  }
3736
- if (Ft(l)) {
3737
- var _ = l.options[f] || l.options.other;
3738
- if (!_)
3739
- throw new gt(l.value, f, Object.keys(l.options), s);
3740
- a.push.apply(a, ce(_.value, t, r, n, i));
3779
+ if (zt(l)) {
3780
+ var x = l.options[f] || l.options.other;
3781
+ if (!x)
3782
+ throw new xt(l.value, f, Object.keys(l.options), s);
3783
+ a.push.apply(a, ce(x.value, t, r, n, i));
3741
3784
  continue;
3742
3785
  }
3743
- if (jt(l)) {
3744
- var _ = l.options["=".concat(f)];
3745
- if (!_) {
3786
+ if (Wt(l)) {
3787
+ var x = l.options["=".concat(f)];
3788
+ if (!x) {
3746
3789
  if (!Intl.PluralRules)
3747
- throw new ye(`Intl.PluralRules is not available in this environment.
3790
+ throw new Ee(`Intl.PluralRules is not available in this environment.
3748
3791
  Try polyfilling it using "@formatjs/intl-pluralrules"
3749
- `, X.MISSING_INTL_API, s);
3792
+ `, V.MISSING_INTL_API, s);
3750
3793
  var H = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3751
- _ = l.options[H] || l.options.other;
3794
+ x = l.options[H] || l.options.other;
3752
3795
  }
3753
- if (!_)
3754
- throw new gt(l.value, f, Object.keys(l.options), s);
3755
- a.push.apply(a, ce(_.value, t, r, n, i, f - (l.offset || 0)));
3796
+ if (!x)
3797
+ throw new xt(l.value, f, Object.keys(l.options), s);
3798
+ a.push.apply(a, ce(x.value, t, r, n, i, f - (l.offset || 0)));
3756
3799
  continue;
3757
3800
  }
3758
3801
  }
3759
- return ti(a);
3802
+ return si(a);
3760
3803
  }
3761
- function ni(e, t) {
3762
- return t ? b(b(b({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3763
- return r[n] = b(b({}, e[n]), t[n] || {}), r;
3804
+ function ui(e, t) {
3805
+ return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3806
+ return r[n] = P(P({}, e[n]), t[n] || {}), r;
3764
3807
  }, {})) : e;
3765
3808
  }
3766
- function ii(e, t) {
3809
+ function hi(e, t) {
3767
3810
  return t ? Object.keys(e).reduce(function(r, n) {
3768
- return r[n] = ni(e[n], t[n]), r;
3769
- }, b({}, e)) : e;
3811
+ return r[n] = ui(e[n], t[n]), r;
3812
+ }, P({}, e)) : e;
3770
3813
  }
3771
- function He(e) {
3814
+ function Oe(e) {
3772
3815
  return {
3773
3816
  create: function() {
3774
3817
  return {
@@ -3782,39 +3825,39 @@ function He(e) {
3782
3825
  }
3783
3826
  };
3784
3827
  }
3785
- function oi(e) {
3828
+ function li(e) {
3786
3829
  return e === void 0 && (e = {
3787
3830
  number: {},
3788
3831
  dateTime: {},
3789
3832
  pluralRules: {}
3790
3833
  }), {
3791
- getNumberFormat: Te(function() {
3834
+ getNumberFormat: He(function() {
3792
3835
  for (var t, r = [], n = 0; n < arguments.length; n++)
3793
3836
  r[n] = arguments[n];
3794
- return new ((t = Intl.NumberFormat).bind.apply(t, j([void 0], r, !1)))();
3837
+ return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
3795
3838
  }, {
3796
- cache: He(e.number),
3797
- strategy: we.variadic
3839
+ cache: Oe(e.number),
3840
+ strategy: Pe.variadic
3798
3841
  }),
3799
- getDateTimeFormat: Te(function() {
3842
+ getDateTimeFormat: He(function() {
3800
3843
  for (var t, r = [], n = 0; n < arguments.length; n++)
3801
3844
  r[n] = arguments[n];
3802
- return new ((t = Intl.DateTimeFormat).bind.apply(t, j([void 0], r, !1)))();
3845
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
3803
3846
  }, {
3804
- cache: He(e.dateTime),
3805
- strategy: we.variadic
3847
+ cache: Oe(e.dateTime),
3848
+ strategy: Pe.variadic
3806
3849
  }),
3807
- getPluralRules: Te(function() {
3850
+ getPluralRules: He(function() {
3808
3851
  for (var t, r = [], n = 0; n < arguments.length; n++)
3809
3852
  r[n] = arguments[n];
3810
- return new ((t = Intl.PluralRules).bind.apply(t, j([void 0], r, !1)))();
3853
+ return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
3811
3854
  }, {
3812
- cache: He(e.pluralRules),
3813
- strategy: we.variadic
3855
+ cache: Oe(e.pluralRules),
3856
+ strategy: Pe.variadic
3814
3857
  })
3815
3858
  };
3816
3859
  }
3817
- var si = (
3860
+ var ci = (
3818
3861
  /** @class */
3819
3862
  function() {
3820
3863
  function e(t, r, n, i) {
@@ -3829,7 +3872,7 @@ var si = (
3829
3872
  if (h.length === 1)
3830
3873
  return h[0].value;
3831
3874
  var l = h.reduce(function(c, f) {
3832
- return !c.length || f.type !== x.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3875
+ return !c.length || f.type !== _.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3833
3876
  }, []);
3834
3877
  return l.length <= 1 ? l[0] || "" : l;
3835
3878
  }, this.formatToParts = function(u) {
@@ -3846,13 +3889,13 @@ var si = (
3846
3889
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3847
3890
  var s = i || {};
3848
3891
  s.formatters;
3849
- var a = Rr(s, ["formatters"]);
3850
- this.ast = e.__parse(t, b(b({}, a), { locale: this.resolvedLocale }));
3892
+ var a = En(s, ["formatters"]);
3893
+ this.ast = e.__parse(t, P(P({}, a), { locale: this.resolvedLocale }));
3851
3894
  } else
3852
3895
  this.ast = t;
3853
3896
  if (!Array.isArray(this.ast))
3854
3897
  throw new TypeError("A message must be provided as a String or AST.");
3855
- this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3898
+ this.formats = hi(e.formats, n), this.formatters = i && i.formatters || li(this.formatterCache);
3856
3899
  }
3857
3900
  return Object.defineProperty(e, "defaultLocale", {
3858
3901
  get: function() {
@@ -3865,7 +3908,7 @@ var si = (
3865
3908
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3866
3909
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3867
3910
  }
3868
- }, e.__parse = qn, e.formats = {
3911
+ }, e.__parse = ni, e.formats = {
3869
3912
  number: {
3870
3913
  integer: {
3871
3914
  maximumFractionDigits: 0
@@ -3926,7 +3969,7 @@ var si = (
3926
3969
  }, e;
3927
3970
  }()
3928
3971
  );
3929
- function ai(e, t) {
3972
+ function fi(e, t) {
3930
3973
  if (t == null)
3931
3974
  return;
3932
3975
  if (t in e)
@@ -3947,92 +3990,92 @@ function ai(e, t) {
3947
3990
  n = void 0;
3948
3991
  return n;
3949
3992
  }
3950
- const N = {}, ui = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), qt = (e, t) => {
3993
+ const N = {}, pi = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), nr = (e, t) => {
3951
3994
  if (t == null)
3952
3995
  return;
3953
3996
  if (t in N && e in N[t])
3954
3997
  return N[t][e];
3955
- const r = ve(t);
3998
+ const r = _e(t);
3956
3999
  for (let n = 0; n < r.length; n++) {
3957
- const i = r[n], o = li(i, e);
4000
+ const i = r[n], o = di(i, e);
3958
4001
  if (o)
3959
- return ui(e, t, o);
4002
+ return pi(e, t, o);
3960
4003
  }
3961
4004
  };
3962
- let ze;
3963
- const ne = ge({});
3964
- function hi(e) {
3965
- return ze[e] || null;
4005
+ let Ye;
4006
+ const ne = ye({});
4007
+ function mi(e) {
4008
+ return Ye[e] || null;
3966
4009
  }
3967
- function Kt(e) {
3968
- return e in ze;
4010
+ function ir(e) {
4011
+ return e in Ye;
3969
4012
  }
3970
- function li(e, t) {
3971
- if (!Kt(e))
4013
+ function di(e, t) {
4014
+ if (!ir(e))
3972
4015
  return null;
3973
- const r = hi(e);
3974
- return ai(r, t);
4016
+ const r = mi(e);
4017
+ return fi(r, t);
3975
4018
  }
3976
- function ci(e) {
4019
+ function bi(e) {
3977
4020
  if (e == null)
3978
4021
  return;
3979
- const t = ve(e);
4022
+ const t = _e(e);
3980
4023
  for (let r = 0; r < t.length; r++) {
3981
4024
  const n = t[r];
3982
- if (Kt(n))
4025
+ if (ir(n))
3983
4026
  return n;
3984
4027
  }
3985
4028
  }
3986
- function er(e, ...t) {
3987
- delete N[e], ne.update((r) => (r[e] = dn.all([r[e] || {}, ...t]), r));
4029
+ function or(e, ...t) {
4030
+ delete N[e], ne.update((r) => (r[e] = vn.all([r[e] || {}, ...t]), r));
3988
4031
  }
3989
- W(
4032
+ z(
3990
4033
  [ne],
3991
4034
  ([e]) => Object.keys(e)
3992
4035
  );
3993
- ne.subscribe((e) => ze = e);
4036
+ ne.subscribe((e) => Ye = e);
3994
4037
  const fe = {};
3995
- function fi(e, t) {
4038
+ function gi(e, t) {
3996
4039
  fe[e].delete(t), fe[e].size === 0 && delete fe[e];
3997
4040
  }
3998
- function tr(e) {
4041
+ function sr(e) {
3999
4042
  return fe[e];
4000
4043
  }
4001
- function pi(e) {
4002
- return ve(e).map((t) => {
4003
- const r = tr(t);
4044
+ function yi(e) {
4045
+ return _e(e).map((t) => {
4046
+ const r = sr(t);
4004
4047
  return [t, r ? [...r] : []];
4005
4048
  }).filter(([, t]) => t.length > 0);
4006
4049
  }
4007
- function je(e) {
4008
- return e == null ? !1 : ve(e).some(
4050
+ function We(e) {
4051
+ return e == null ? !1 : _e(e).some(
4009
4052
  (t) => {
4010
4053
  var r;
4011
- return (r = tr(t)) == null ? void 0 : r.size;
4054
+ return (r = sr(t)) == null ? void 0 : r.size;
4012
4055
  }
4013
4056
  );
4014
4057
  }
4015
- function mi(e, t) {
4058
+ function vi(e, t) {
4016
4059
  return Promise.all(
4017
- t.map((n) => (fi(e, n), n().then((i) => i.default || i)))
4018
- ).then((n) => er(e, ...n));
4019
- }
4020
- const J = {};
4021
- function rr(e) {
4022
- if (!je(e))
4023
- return e in J ? J[e] : Promise.resolve();
4024
- const t = pi(e);
4025
- return J[e] = Promise.all(
4060
+ t.map((n) => (gi(e, n), n().then((i) => i.default || i)))
4061
+ ).then((n) => or(e, ...n));
4062
+ }
4063
+ const Q = {};
4064
+ function ar(e) {
4065
+ if (!We(e))
4066
+ return e in Q ? Q[e] : Promise.resolve();
4067
+ const t = yi(e);
4068
+ return Q[e] = Promise.all(
4026
4069
  t.map(
4027
- ([r, n]) => mi(r, n)
4070
+ ([r, n]) => vi(r, n)
4028
4071
  )
4029
4072
  ).then(() => {
4030
- if (je(e))
4031
- return rr(e);
4032
- delete J[e];
4033
- }), J[e];
4073
+ if (We(e))
4074
+ return ar(e);
4075
+ delete Q[e];
4076
+ }), Q[e];
4034
4077
  }
4035
- const di = {
4078
+ const Ei = {
4036
4079
  number: {
4037
4080
  scientific: { notation: "scientific" },
4038
4081
  engineering: { notation: "engineering" },
@@ -4061,135 +4104,135 @@ const di = {
4061
4104
  timeZoneName: "short"
4062
4105
  }
4063
4106
  }
4064
- }, bi = {
4107
+ }, _i = {
4065
4108
  fallbackLocale: null,
4066
4109
  loadingDelay: 200,
4067
- formats: di,
4110
+ formats: Ei,
4068
4111
  warnOnMissingMessages: !0,
4069
4112
  handleMissingMessage: void 0,
4070
4113
  ignoreTag: !0
4071
- }, gi = bi;
4072
- function z() {
4073
- return gi;
4114
+ }, xi = _i;
4115
+ function X() {
4116
+ return xi;
4074
4117
  }
4075
- const Pe = ge(!1);
4076
- var yi = Object.defineProperty, vi = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, xi = Object.prototype.hasOwnProperty, _i = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Si = (e, t) => {
4118
+ const Ie = ye(!1);
4119
+ var Si = Object.defineProperty, wi = Object.defineProperties, Ti = Object.getOwnPropertyDescriptors, St = Object.getOwnPropertySymbols, Bi = Object.prototype.hasOwnProperty, Hi = Object.prototype.propertyIsEnumerable, wt = (e, t, r) => t in e ? Si(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Pi = (e, t) => {
4077
4120
  for (var r in t || (t = {}))
4078
- xi.call(t, r) && vt(e, r, t[r]);
4079
- if (yt)
4080
- for (var r of yt(t))
4081
- _i.call(t, r) && vt(e, r, t[r]);
4121
+ Bi.call(t, r) && wt(e, r, t[r]);
4122
+ if (St)
4123
+ for (var r of St(t))
4124
+ Hi.call(t, r) && wt(e, r, t[r]);
4082
4125
  return e;
4083
- }, Ti = (e, t) => vi(e, Ei(t));
4084
- let ke;
4085
- const me = ge(null);
4086
- function Et(e) {
4126
+ }, Ai = (e, t) => wi(e, Ti(t));
4127
+ let Ze;
4128
+ const de = ye(null);
4129
+ function Tt(e) {
4087
4130
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4088
4131
  }
4089
- function ve(e, t = z().fallbackLocale) {
4090
- const r = Et(e);
4091
- return t ? [.../* @__PURE__ */ new Set([...r, ...Et(t)])] : r;
4132
+ function _e(e, t = X().fallbackLocale) {
4133
+ const r = Tt(e);
4134
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4092
4135
  }
4093
4136
  function M() {
4094
- return ke != null ? ke : void 0;
4137
+ return Ze != null ? Ze : void 0;
4095
4138
  }
4096
- me.subscribe((e) => {
4097
- ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4139
+ de.subscribe((e) => {
4140
+ Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4098
4141
  });
4099
- const wi = (e) => {
4100
- if (e && ci(e) && je(e)) {
4101
- const { loadingDelay: t } = z();
4142
+ const Oi = (e) => {
4143
+ if (e && bi(e) && We(e)) {
4144
+ const { loadingDelay: t } = X();
4102
4145
  let r;
4103
4146
  return typeof window != "undefined" && M() != null && t ? r = window.setTimeout(
4104
- () => Pe.set(!0),
4147
+ () => Ie.set(!0),
4105
4148
  t
4106
- ) : Pe.set(!0), rr(e).then(() => {
4107
- me.set(e);
4149
+ ) : Ie.set(!0), ar(e).then(() => {
4150
+ de.set(e);
4108
4151
  }).finally(() => {
4109
- clearTimeout(r), Pe.set(!1);
4152
+ clearTimeout(r), Ie.set(!1);
4110
4153
  });
4111
4154
  }
4112
- return me.set(e);
4113
- }, Z = Ti(Si({}, me), {
4114
- set: wi
4115
- }), Ee = (e) => {
4155
+ return de.set(e);
4156
+ }, W = Ai(Pi({}, de), {
4157
+ set: Oi
4158
+ }), xe = (e) => {
4116
4159
  const t = /* @__PURE__ */ Object.create(null);
4117
4160
  return (n) => {
4118
4161
  const i = JSON.stringify(n);
4119
4162
  return i in t ? t[i] : t[i] = e(n);
4120
4163
  };
4121
4164
  };
4122
- var Bi = Object.defineProperty, de = Object.getOwnPropertySymbols, nr = Object.prototype.hasOwnProperty, ir = Object.prototype.propertyIsEnumerable, xt = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, We = (e, t) => {
4165
+ var Ii = Object.defineProperty, be = Object.getOwnPropertySymbols, ur = Object.prototype.hasOwnProperty, hr = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
4123
4166
  for (var r in t || (t = {}))
4124
- nr.call(t, r) && xt(e, r, t[r]);
4125
- if (de)
4126
- for (var r of de(t))
4127
- ir.call(t, r) && xt(e, r, t[r]);
4167
+ ur.call(t, r) && Bt(e, r, t[r]);
4168
+ if (be)
4169
+ for (var r of be(t))
4170
+ hr.call(t, r) && Bt(e, r, t[r]);
4128
4171
  return e;
4129
- }, Q = (e, t) => {
4172
+ }, Z = (e, t) => {
4130
4173
  var r = {};
4131
4174
  for (var n in e)
4132
- nr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4133
- if (e != null && de)
4134
- for (var n of de(e))
4135
- t.indexOf(n) < 0 && ir.call(e, n) && (r[n] = e[n]);
4175
+ ur.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4176
+ if (e != null && be)
4177
+ for (var n of be(e))
4178
+ t.indexOf(n) < 0 && hr.call(e, n) && (r[n] = e[n]);
4136
4179
  return r;
4137
4180
  };
4138
- const te = (e, t) => {
4139
- const { formats: r } = z();
4181
+ const ee = (e, t) => {
4182
+ const { formats: r } = X();
4140
4183
  if (e in r && t in r[e])
4141
4184
  return r[e][t];
4142
4185
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4143
- }, Hi = Ee(
4186
+ }, Ni = xe(
4144
4187
  (e) => {
4145
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
4188
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4146
4189
  if (r == null)
4147
4190
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4148
- return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
4191
+ return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
4149
4192
  }
4150
- ), Pi = Ee(
4193
+ ), Li = xe(
4151
4194
  (e) => {
4152
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
4195
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4153
4196
  if (r == null)
4154
4197
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4155
- return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
4198
+ return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
4156
4199
  }
4157
- ), Ai = Ee(
4200
+ ), Ci = xe(
4158
4201
  (e) => {
4159
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
4202
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4160
4203
  if (r == null)
4161
4204
  throw new Error(
4162
4205
  '[svelte-i18n] A "locale" must be set to format time values'
4163
4206
  );
4164
- return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
4207
+ return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
4165
4208
  }
4166
- ), Oi = (e = {}) => {
4209
+ ), Mi = (e = {}) => {
4167
4210
  var t = e, {
4168
4211
  locale: r = M()
4169
- } = t, n = Q(t, [
4212
+ } = t, n = Z(t, [
4170
4213
  "locale"
4171
4214
  ]);
4172
- return Hi(We({ locale: r }, n));
4173
- }, Ii = (e = {}) => {
4215
+ return Ni(qe({ locale: r }, n));
4216
+ }, $i = (e = {}) => {
4174
4217
  var t = e, {
4175
4218
  locale: r = M()
4176
- } = t, n = Q(t, [
4219
+ } = t, n = Z(t, [
4177
4220
  "locale"
4178
4221
  ]);
4179
- return Pi(We({ locale: r }, n));
4180
- }, Ni = (e = {}) => {
4222
+ return Li(qe({ locale: r }, n));
4223
+ }, Ri = (e = {}) => {
4181
4224
  var t = e, {
4182
4225
  locale: r = M()
4183
- } = t, n = Q(t, [
4226
+ } = t, n = Z(t, [
4184
4227
  "locale"
4185
4228
  ]);
4186
- return Ai(We({ locale: r }, n));
4187
- }, Li = Ee(
4229
+ return Ci(qe({ locale: r }, n));
4230
+ }, Ui = xe(
4188
4231
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4189
- (e, t = M()) => new si(e, t, z().formats, {
4190
- ignoreTag: z().ignoreTag
4232
+ (e, t = M()) => new ci(e, t, X().formats, {
4233
+ ignoreTag: X().ignoreTag
4191
4234
  })
4192
- ), Ci = (e, t = {}) => {
4235
+ ), Di = (e, t = {}) => {
4193
4236
  var r, n, i, o;
4194
4237
  let s = t;
4195
4238
  typeof e == "object" && (s = e, e = s.id);
@@ -4202,9 +4245,9 @@ const te = (e, t) => {
4202
4245
  throw new Error(
4203
4246
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4204
4247
  );
4205
- let l = qt(e, u);
4248
+ let l = nr(e, u);
4206
4249
  if (!l)
4207
- l = (o = (i = (n = (r = z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4250
+ l = (o = (i = (n = (r = X()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: u, id: e, defaultValue: h })) != null ? i : h) != null ? o : e;
4208
4251
  else if (typeof l != "string")
4209
4252
  return console.warn(
4210
4253
  `[svelte-i18n] Message with id "${e}" must be of type "string", found: "${typeof l}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
@@ -4213,7 +4256,7 @@ const te = (e, t) => {
4213
4256
  return l;
4214
4257
  let c = l;
4215
4258
  try {
4216
- c = Li(l, u).format(a);
4259
+ c = Ui(l, u).format(a);
4217
4260
  } catch (f) {
4218
4261
  f instanceof Error && console.warn(
4219
4262
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4221,20 +4264,20 @@ const te = (e, t) => {
4221
4264
  );
4222
4265
  }
4223
4266
  return c;
4224
- }, Mi = (e, t) => Ni(t).format(e), $i = (e, t) => Ii(t).format(e), Ri = (e, t) => Oi(t).format(e), Ui = (e, t = M()) => qt(e, t), Di = W([Z, ne], () => Ci);
4225
- W([Z], () => Mi);
4226
- W([Z], () => $i);
4227
- W([Z], () => Ri);
4228
- W([Z, ne], () => Ui);
4229
- window.emWidgets = { topic: Yr };
4267
+ }, Gi = (e, t) => Ri(t).format(e), Fi = (e, t) => $i(t).format(e), ji = (e, t) => Mi(t).format(e), ki = (e, t = M()) => nr(e, t), Vi = z([W, ne], () => Di);
4268
+ z([W], () => Gi);
4269
+ z([W], () => Fi);
4270
+ z([W], () => ji);
4271
+ z([W, ne], () => ki);
4272
+ window.emWidgets = { topic: tn };
4230
4273
  const ae = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4231
- function _t(e, t) {
4232
- er(e, t);
4274
+ function Ht(e, t) {
4275
+ or(e, t);
4233
4276
  }
4234
- function Gi(e) {
4235
- Z.set(e);
4277
+ function Xi(e) {
4278
+ W.set(e);
4236
4279
  }
4237
- const St = {
4280
+ const Pt = {
4238
4281
  en: {
4239
4282
  panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
4240
4283
  },
@@ -4275,10 +4318,10 @@ const St = {
4275
4318
  panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
4276
4319
  }
4277
4320
  };
4278
- function Fi(e) {
4279
- fr(e, "svelte-1mifytr", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .PanicButton{border-radius:5px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:20px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:100% !important;height:30px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:280px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2 .PanicButton{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}");
4321
+ function zi(e) {
4322
+ gr(e, "svelte-1mifytr", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PanicSection{display:flex;align-items:center;gap:10px;margin:20px 0}.PanicSection .PanicButton{border-radius:5px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:10px;width:280px;height:fit-content;padding:15px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer}.PanicSectionMobile{position:absolute;top:0;left:0;width:100%;text-align:center;margin:20px 0 0 0 !important}.PanicButtonMobile{border-radius:5px;margin:0 10px;border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:100% !important;height:30px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));cursor:pointer;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.PanicButtonAnimation{background:-webkit-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-moz-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background:-o-linear-gradient(135deg, rgba(20, 20, 20, 0) 55%, rgba(20, 20, 20, 0.3) 100%);background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:280px;color:var(--emw--button-typography, var(--emw--color-white, #FFFFFF));-webkit-animation:bar-animation 2s linear}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:280px}}.PanicButtonV2 .PanicButton{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:388px;font-size:12px}.PanicButtonV2 .PanicButtonMobile{border:1px solid var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));font-size:10px}.PanicButtonV2 .PanicButtonAnimation{background-color:var(--emw--casino-color-primary, var(--emw--color-primary, #22B04E));width:388px}@-webkit-keyframes bar-animation{0%{background-position:0}100%{background-position:388px}}");
4280
4323
  }
4281
- function ji(e) {
4324
+ function Wi(e) {
4282
4325
  let t, r, n, i = (
4283
4326
  /*customtext*/
4284
4327
  (e[0] || /*$_*/
@@ -4286,13 +4329,13 @@ function ji(e) {
4286
4329
  ), o, s;
4287
4330
  return {
4288
4331
  c() {
4289
- t = Y("div"), r = Y("div"), n = Y("button"), o = dr(i), C(n, "class", "PanicButton " + (ae(
4332
+ t = J("div"), r = J("div"), n = J("button"), o = Er(i), C(n, "class", "PanicButton " + (ae(
4290
4333
  /*userAgent*/
4291
4334
  e[6]
4292
4335
  ) !== "PC" ? "PanicButtonMobile" : "")), C(n, "part", "PanicButton " + (ae(
4293
4336
  /*userAgent*/
4294
4337
  e[6]
4295
- ) !== "PC" ? "PanicButtonMobile" : "")), et(
4338
+ ) !== "PC" ? "PanicButtonMobile" : "")), ot(
4296
4339
  n,
4297
4340
  "PanicButtonAnimation",
4298
4341
  /*panicLoading*/
@@ -4307,14 +4350,14 @@ function ji(e) {
4307
4350
  e[1] == "true" ? "PanicButtonV2" : "");
4308
4351
  },
4309
4352
  m(a, u) {
4310
- Ht(a, t, u), ue(t, r), ue(r, n), ue(n, o), e[12](n), e[13](t);
4353
+ Nt(a, t, u), ue(t, r), ue(r, n), ue(n, o), e[12](n), e[13](t);
4311
4354
  },
4312
4355
  p(a, [u]) {
4313
4356
  u & /*customtext, $_*/
4314
4357
  33 && i !== (i = /*customtext*/
4315
4358
  (a[0] || /*$_*/
4316
- a[5]("panicButtonString")) + "") && gr(o, i), u & /*panicLoading*/
4317
- 16 && et(
4359
+ a[5]("panicButtonString")) + "") && xr(o, i), u & /*panicLoading*/
4360
+ 16 && ot(
4318
4361
  n,
4319
4362
  "PanicButtonAnimation",
4320
4363
  /*panicLoading*/
@@ -4326,62 +4369,62 @@ function ji(e) {
4326
4369
  i: B,
4327
4370
  o: B,
4328
4371
  d(a) {
4329
- a && Xe(t), e[12](null), e[13](null);
4372
+ a && Je(t), e[12](null), e[13](null);
4330
4373
  }
4331
4374
  };
4332
4375
  }
4333
- function ki(e, t, r) {
4376
+ function Zi(e, t, r) {
4334
4377
  let n;
4335
- cr(e, Di, (v) => r(5, n = v));
4336
- let { lang: i = "en" } = t, { customtext: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: u } = t, { alternativestyling: h = "" } = t, { translationurl: l = "" } = t, c, f, m = !1, y = 0, g, w = window.navigator.userAgent;
4378
+ br(e, Vi, (y) => r(5, n = y));
4379
+ let { lang: i = "en" } = t, { customtext: o = "" } = t, { clientstyling: s = "" } = t, { clientstylingurl: a = "" } = t, { mbsource: u } = t, { alternativestyling: h = "" } = t, { translationurl: l = "" } = t, c, f, m = !1, g = 0, b, T = window.navigator.userAgent;
4337
4380
  const L = () => {
4338
4381
  fetch(l).then((R) => R.json()).then((R) => {
4339
- Object.keys(R).forEach((Ze) => {
4340
- _t(Ze, R[Ze]);
4382
+ Object.keys(R).forEach((Ke) => {
4383
+ Ht(Ke, R[Ke]);
4341
4384
  });
4342
4385
  }).catch((R) => {
4343
4386
  console.log(R);
4344
4387
  });
4345
4388
  };
4346
- Object.keys(St).forEach((v) => {
4347
- _t(v, St[v]);
4389
+ Object.keys(Pt).forEach((y) => {
4390
+ Ht(y, Pt[y]);
4348
4391
  });
4349
4392
  const I = () => {
4350
4393
  c == null || c.addEventListener("mousedown", H, !1), c == null || c.addEventListener("touchstart", H, !1), c == null || c.addEventListener("mouseup", S, !1), c == null || c.addEventListener("touchend", S, !1);
4351
- }, _ = () => {
4394
+ }, x = () => {
4352
4395
  r(4, m = !1), c == null || c.removeEventListener("mousedown", H), c == null || c.removeEventListener("touchstart", H), c == null || c.removeEventListener("mouseup", S), c == null || c.removeEventListener("touchend", S);
4353
4396
  }, H = () => {
4354
- y = 0, r(4, m = !0), g = setInterval(
4397
+ g = 0, r(4, m = !0), b = setInterval(
4355
4398
  () => {
4356
- y++, y >= 2 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(g), typeof gtag == "function" && gtag("event", "PanicButtonClicked", { context: "PanicButton" }));
4399
+ g++, g >= 2 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(b), typeof gtag == "function" && gtag("event", "PanicButtonClicked", { context: "PanicButton" }));
4357
4400
  },
4358
4401
  1e3
4359
4402
  );
4360
4403
  }, S = () => {
4361
- r(4, m = !1), clearInterval(g);
4404
+ r(4, m = !1), clearInterval(b);
4362
4405
  };
4363
- Er(() => () => {
4364
- _();
4406
+ Tr(() => () => {
4407
+ x();
4365
4408
  });
4366
- function $(v) {
4367
- pe[v ? "unshift" : "push"](() => {
4368
- c = v, r(2, c);
4409
+ function $(y) {
4410
+ pe[y ? "unshift" : "push"](() => {
4411
+ c = y, r(2, c);
4369
4412
  });
4370
4413
  }
4371
- function ie(v) {
4372
- pe[v ? "unshift" : "push"](() => {
4373
- f = v, r(3, f);
4414
+ function ie(y) {
4415
+ pe[y ? "unshift" : "push"](() => {
4416
+ f = y, r(3, f);
4374
4417
  });
4375
4418
  }
4376
- return e.$$set = (v) => {
4377
- "lang" in v && r(7, i = v.lang), "customtext" in v && r(0, o = v.customtext), "clientstyling" in v && r(8, s = v.clientstyling), "clientstylingurl" in v && r(9, a = v.clientstylingurl), "mbsource" in v && r(10, u = v.mbsource), "alternativestyling" in v && r(1, h = v.alternativestyling), "translationurl" in v && r(11, l = v.translationurl);
4419
+ return e.$$set = (y) => {
4420
+ "lang" in y && r(7, i = y.lang), "customtext" in y && r(0, o = y.customtext), "clientstyling" in y && r(8, s = y.clientstyling), "clientstylingurl" in y && r(9, a = y.clientstylingurl), "mbsource" in y && r(10, u = y.mbsource), "alternativestyling" in y && r(1, h = y.alternativestyling), "translationurl" in y && r(11, l = y.translationurl);
4378
4421
  }, e.$$.update = () => {
4379
4422
  e.$$.dirty & /*panicButton*/
4380
4423
  4 && c && I(), e.$$.dirty & /*lang*/
4381
- 128 && i && Gi(i), e.$$.dirty & /*clientstyling, customStylingContainer*/
4382
- 264 && s && f && Cr(f, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4383
- 520 && a && f && Mr(f, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4384
- 1032 && u && f && $r(f, `${u}.Style`), e.$$.dirty & /*translationurl*/
4424
+ 128 && i && Xi(i), e.$$.dirty & /*clientstyling, customStylingContainer*/
4425
+ 264 && s && f && Dr(f, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4426
+ 520 && a && f && Gr(f, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4427
+ 1032 && u && f && Fr(f, `${u}.Style`), e.$$.dirty & /*translationurl*/
4385
4428
  2048 && l && L();
4386
4429
  }, [
4387
4430
  o,
@@ -4390,7 +4433,7 @@ function ki(e, t, r) {
4390
4433
  f,
4391
4434
  m,
4392
4435
  n,
4393
- w,
4436
+ T,
4394
4437
  i,
4395
4438
  s,
4396
4439
  a,
@@ -4400,14 +4443,14 @@ function ki(e, t, r) {
4400
4443
  ie
4401
4444
  ];
4402
4445
  }
4403
- class Vi extends Nr {
4446
+ class Qi extends Rr {
4404
4447
  constructor(t) {
4405
- super(), Or(
4448
+ super(), Mr(
4406
4449
  this,
4407
4450
  t,
4408
- ki,
4409
- ji,
4410
- wt,
4451
+ Zi,
4452
+ Wi,
4453
+ Ot,
4411
4454
  {
4412
4455
  lang: 7,
4413
4456
  customtext: 0,
@@ -4417,53 +4460,53 @@ class Vi extends Nr {
4417
4460
  alternativestyling: 1,
4418
4461
  translationurl: 11
4419
4462
  },
4420
- Fi
4463
+ zi
4421
4464
  );
4422
4465
  }
4423
4466
  get lang() {
4424
4467
  return this.$$.ctx[7];
4425
4468
  }
4426
4469
  set lang(t) {
4427
- this.$$set({ lang: t }), P();
4470
+ this.$$set({ lang: t }), A();
4428
4471
  }
4429
4472
  get customtext() {
4430
4473
  return this.$$.ctx[0];
4431
4474
  }
4432
4475
  set customtext(t) {
4433
- this.$$set({ customtext: t }), P();
4476
+ this.$$set({ customtext: t }), A();
4434
4477
  }
4435
4478
  get clientstyling() {
4436
4479
  return this.$$.ctx[8];
4437
4480
  }
4438
4481
  set clientstyling(t) {
4439
- this.$$set({ clientstyling: t }), P();
4482
+ this.$$set({ clientstyling: t }), A();
4440
4483
  }
4441
4484
  get clientstylingurl() {
4442
4485
  return this.$$.ctx[9];
4443
4486
  }
4444
4487
  set clientstylingurl(t) {
4445
- this.$$set({ clientstylingurl: t }), P();
4488
+ this.$$set({ clientstylingurl: t }), A();
4446
4489
  }
4447
4490
  get mbsource() {
4448
4491
  return this.$$.ctx[10];
4449
4492
  }
4450
4493
  set mbsource(t) {
4451
- this.$$set({ mbsource: t }), P();
4494
+ this.$$set({ mbsource: t }), A();
4452
4495
  }
4453
4496
  get alternativestyling() {
4454
4497
  return this.$$.ctx[1];
4455
4498
  }
4456
4499
  set alternativestyling(t) {
4457
- this.$$set({ alternativestyling: t }), P();
4500
+ this.$$set({ alternativestyling: t }), A();
4458
4501
  }
4459
4502
  get translationurl() {
4460
4503
  return this.$$.ctx[11];
4461
4504
  }
4462
4505
  set translationurl(t) {
4463
- this.$$set({ translationurl: t }), P();
4506
+ this.$$set({ translationurl: t }), A();
4464
4507
  }
4465
4508
  }
4466
- Ir(Vi, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
4509
+ $r(Qi, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
4467
4510
  export {
4468
- Vi as default
4511
+ Qi as default
4469
4512
  };