@everymatrix/player-panic-button 1.86.3 → 1.86.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var hr = Object.defineProperty, lr = Object.defineProperties;
2
- var cr = Object.getOwnPropertyDescriptors;
3
- var qe = Object.getOwnPropertySymbols;
4
- var fr = Object.prototype.hasOwnProperty, pr = Object.prototype.propertyIsEnumerable;
5
- var xe = (e, t, r) => t in e ? hr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ke = (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
- fr.call(t, r) && xe(e, r, t[r]);
8
- if (qe)
9
- for (var r of qe(t))
10
- pr.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
- }, et = (e, t) => lr(e, cr(t));
13
- var T = (e, t, r) => (xe(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var tt = (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 tt = (e, t, r) => new Promise((n, i) => {
29
29
  });
30
30
  function B() {
31
31
  }
32
- function Ht(e) {
32
+ function At(e) {
33
33
  return e();
34
34
  }
35
- function rt() {
35
+ function it() {
36
36
  return /* @__PURE__ */ Object.create(null);
37
37
  }
38
- function re(e) {
39
- e.forEach(Ht);
38
+ function te(e) {
39
+ e.forEach(At);
40
40
  }
41
- function Xe(e) {
41
+ function Qe(e) {
42
42
  return typeof e == "function";
43
43
  }
44
- function Pt(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 mr(e) {
47
+ function dr(e) {
48
48
  return Object.keys(e).length === 0;
49
49
  }
50
- function At(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 At(e, ...t) {
56
56
  const r = e.subscribe(...t);
57
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
58
58
  }
59
- function dr(e, t, r) {
60
- e.$$.on_destroy.push(At(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 br(e, t, r) {
66
- const n = gr(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, yr(n, i);
68
+ const i = J("style");
69
+ i.id = t, i.textContent = r, vr(n, i);
70
70
  }
71
71
  }
72
- function gr(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 gr(e) {
79
79
  t
80
80
  ) : e.ownerDocument;
81
81
  }
82
- function yr(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 Ot(e, t, r) {
89
+ function Nt(e, t, r) {
90
90
  e.insertBefore(t, r || null);
91
91
  }
92
- function ze(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 vr(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 Er(e) {
104
+ function _r(e) {
105
105
  return Array.from(e.childNodes);
106
106
  }
107
107
  function xr(e, t) {
108
108
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
109
109
  t);
110
110
  }
111
- function nt(e, t, r) {
111
+ function ot(e, t, r) {
112
112
  e.classList.toggle(t, !!r);
113
113
  }
114
- function _r(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 _r(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 Sr() {
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
132
  function Tr(e) {
133
- Sr().$$.on_mount.push(e);
133
+ wr().$$.on_mount.push(e);
134
134
  }
135
- const F = [], pe = [];
136
- let G = [];
137
- const it = [], wr = /* @__PURE__ */ Promise.resolve();
138
- let Oe = !1;
139
- function Br() {
140
- Oe || (Oe = !0, wr.then(P));
135
+ const G = [], pe = [];
136
+ let F = [];
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 Ie(e) {
143
- G.push(e);
142
+ function Le(e) {
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
- for (; U < F.length; ) {
154
- const t = F[U];
155
- U++, q(t), Hr(t.$$);
153
+ for (; U < G.length; ) {
154
+ const t = G[U];
155
+ U++, Y(t), Pr(t.$$);
156
156
  }
157
157
  } catch (t) {
158
- throw F.length = 0, U = 0, t;
158
+ throw G.length = 0, U = 0, t;
159
159
  }
160
- for (q(null), F.length = 0, U = 0; pe.length; )
160
+ for (Y(null), G.length = 0, U = 0; pe.length; )
161
161
  pe.pop()();
162
- for (let t = 0; t < G.length; t += 1) {
163
- const r = G[t];
164
- _e.has(r) || (_e.add(r), r());
162
+ for (let t = 0; t < F.length; t += 1) {
163
+ const r = F[t];
164
+ we.has(r) || (we.add(r), r());
165
165
  }
166
- G.length = 0;
167
- } while (F.length);
168
- for (; it.length; )
169
- it.pop()();
170
- Oe = !1, _e.clear(), q(e);
166
+ F.length = 0;
167
+ } while (G.length);
168
+ for (; st.length; )
169
+ st.pop()();
170
+ Ne = !1, we.clear(), Y(e);
171
171
  }
172
- function Hr(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(Ie);
176
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
177
177
  }
178
178
  }
179
- function Pr(e) {
179
+ function Ar(e) {
180
180
  const t = [], r = [];
181
- G.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), G = t;
181
+ F.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), F = t;
182
182
  }
183
- const Ar = /* @__PURE__ */ new Set();
184
- function Or(e, t) {
185
- e && e.i && (Ar.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 Ir(e, t, r) {
187
+ function Nr(e, t, r) {
188
188
  const { fragment: n, after_update: i } = e.$$;
189
- n && n.m(t, r), Ie(() => {
190
- const o = e.$$.on_mount.map(Ht).filter(Xe);
191
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : re(o), e.$$.on_mount = [];
192
- }), i.forEach(Ie);
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
194
  function Lr(e, t) {
195
195
  const r = e.$$;
196
- r.fragment !== null && (Pr(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 Nr(e, t) {
199
- e.$$.dirty[0] === -1 && (F.push(e), Br(), 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 Cr(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 Cr(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: rt(),
211
+ bound: it(),
212
212
  // lifecycle
213
213
  on_mount: [],
214
214
  on_destroy: [],
@@ -217,7 +217,7 @@ function Cr(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: rt(),
220
+ callbacks: it(),
221
221
  dirty: a,
222
222
  skip_bound: !1,
223
223
  root: t.target || u.$$.root
@@ -225,40 +225,40 @@ function Cr(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 && Nr(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 = Er(t.target);
233
- h.fragment && h.fragment.l(c), c.forEach(ze);
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 && Or(e.$$.fragment), Ir(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 It;
241
- typeof HTMLElement == "function" && (It = 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" && (It = class extends HTMLElement {
275
275
  }
276
276
  }
277
277
  connectedCallback() {
278
- return tt(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
- Ot(h, s, l);
292
+ Nt(h, s, l);
293
293
  },
294
294
  d: function(h) {
295
- h && ze(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 = _r(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" && (It = 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: et(Ke({}, 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 Mr(e, t, r, n, i, o) {
392
- let s = class extends It {
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
  }
@@ -428,7 +428,7 @@ class Rr {
428
428
  *
429
429
  * @type {any}
430
430
  */
431
- T(this, "$$");
431
+ w(this, "$$");
432
432
  /**
433
433
  * ### PRIVATE API
434
434
  *
@@ -436,7 +436,7 @@ class Rr {
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() {
@@ -449,7 +449,7 @@ class Rr {
449
449
  * @returns {() => void}
450
450
  */
451
451
  $on(t, r) {
452
- if (!Xe(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 Rr {
462
462
  * @returns {void}
463
463
  */
464
464
  $set(t) {
465
- this.$$set && !mr(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 $r = "4";
469
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($r);
470
- function Ur(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 Dr(e, t) {
476
+ function Gr(e, t) {
477
477
  if (!e || !t)
478
478
  return;
479
479
  const r = new URL(t);
@@ -506,43 +506,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
506
506
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
507
507
  PERFORMANCE OF THIS SOFTWARE.
508
508
  ***************************************************************************** */
509
- var Le = function(e, t) {
510
- return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
509
+ var Ce = function(e, t) {
510
+ return Ce = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
511
511
  r.__proto__ = n;
512
512
  } || function(r, n) {
513
513
  for (var i in n)
514
514
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
515
- }, Le(e, t);
515
+ }, Ce(e, t);
516
516
  };
517
- function O(e, t) {
517
+ function re(e, t) {
518
518
  if (typeof t != "function" && t !== null)
519
519
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
520
- Le(e, t);
520
+ Ce(e, t);
521
521
  function r() {
522
522
  this.constructor = e;
523
523
  }
524
524
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
525
525
  }
526
- var b = function() {
527
- return b = Object.assign || function(t) {
528
- for (var r, n = 1, i = arguments.length; n < i; n++) {
529
- r = arguments[n];
530
- for (var o in r)
531
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
532
- }
533
- return t;
534
- }, b.apply(this, arguments);
535
- };
536
- function Gr(e, t) {
537
- var r = {};
538
- for (var n in e)
539
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
540
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
541
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
542
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
543
- return r;
544
- }
545
- function Ne(e) {
526
+ function Me(e) {
546
527
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
547
528
  if (r)
548
529
  return r.call(e);
@@ -554,7 +535,7 @@ function Ne(e) {
554
535
  };
555
536
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
556
537
  }
557
- function Ce(e, t) {
538
+ function $e(e, t) {
558
539
  var r = typeof Symbol == "function" && e[Symbol.iterator];
559
540
  if (!r)
560
541
  return e;
@@ -574,22 +555,22 @@ function Ce(e, t) {
574
555
  }
575
556
  return o;
576
557
  }
577
- function j(e, t, r) {
578
- if (r || arguments.length === 2)
558
+ function Re(e, t, r) {
559
+ if (arguments.length === 2)
579
560
  for (var n = 0, i = t.length, o; n < i; n++)
580
561
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
581
562
  return e.concat(o || t);
582
563
  }
583
- function A(e) {
564
+ function O(e) {
584
565
  return typeof e == "function";
585
566
  }
586
- function Lt(e) {
567
+ function Ct(e) {
587
568
  var t = function(n) {
588
569
  Error.call(n), n.stack = new Error().stack;
589
570
  }, r = e(t);
590
571
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
591
572
  }
592
- var Se = Lt(function(e) {
573
+ var Te = Ct(function(e) {
593
574
  return function(r) {
594
575
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
595
576
  ` + r.map(function(n, i) {
@@ -598,13 +579,13 @@ var Se = Lt(function(e) {
598
579
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
599
580
  };
600
581
  });
601
- function Me(e, t) {
582
+ function Ue(e, t) {
602
583
  if (e) {
603
584
  var r = e.indexOf(t);
604
585
  0 <= r && e.splice(r, 1);
605
586
  }
606
587
  }
607
- var be = function() {
588
+ var ge = function() {
608
589
  function e(t) {
609
590
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
610
591
  }
@@ -616,12 +597,12 @@ var be = function() {
616
597
  if (s)
617
598
  if (this._parentage = null, Array.isArray(s))
618
599
  try {
619
- for (var a = Ne(s), u = a.next(); !u.done; u = a.next()) {
600
+ for (var a = Me(s), u = a.next(); !u.done; u = a.next()) {
620
601
  var h = u.value;
621
602
  h.remove(this);
622
603
  }
623
- } catch (g) {
624
- t = { error: g };
604
+ } catch (b) {
605
+ t = { error: b };
625
606
  } finally {
626
607
  try {
627
608
  u && !u.done && (r = a.return) && r.call(a);
@@ -633,26 +614,26 @@ var be = function() {
633
614
  else
634
615
  s.remove(this);
635
616
  var l = this.initialTeardown;
636
- if (A(l))
617
+ if (O(l))
637
618
  try {
638
619
  l();
639
- } catch (g) {
640
- o = g instanceof Se ? g.errors : [g];
620
+ } catch (b) {
621
+ o = b instanceof Te ? b.errors : [b];
641
622
  }
642
623
  var c = this._finalizers;
643
624
  if (c) {
644
625
  this._finalizers = null;
645
626
  try {
646
- for (var f = Ne(c), m = f.next(); !m.done; m = f.next()) {
647
- var y = m.value;
627
+ for (var f = Me(c), m = f.next(); !m.done; m = f.next()) {
628
+ var g = m.value;
648
629
  try {
649
- ot(y);
650
- } catch (g) {
651
- o = o != null ? o : [], g instanceof Se ? o = j(j([], Ce(o)), Ce(g.errors)) : o.push(g);
630
+ at(g);
631
+ } catch (b) {
632
+ o = o != null ? o : [], b instanceof Te ? o = Re(Re([], $e(o)), $e(b.errors)) : o.push(b);
652
633
  }
653
634
  }
654
- } catch (g) {
655
- n = { error: g };
635
+ } catch (b) {
636
+ n = { error: b };
656
637
  } finally {
657
638
  try {
658
639
  m && !m.done && (i = f.return) && i.call(f);
@@ -663,13 +644,13 @@ var be = function() {
663
644
  }
664
645
  }
665
646
  if (o)
666
- throw new Se(o);
647
+ throw new Te(o);
667
648
  }
668
649
  }, e.prototype.add = function(t) {
669
650
  var r;
670
651
  if (t && t !== this)
671
652
  if (this.closed)
672
- ot(t);
653
+ at(t);
673
654
  else {
674
655
  if (t instanceof e) {
675
656
  if (t.closed || t._hasParent(this))
@@ -686,56 +667,52 @@ var be = function() {
686
667
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
687
668
  }, e.prototype._removeParent = function(t) {
688
669
  var r = this._parentage;
689
- r === t ? this._parentage = null : Array.isArray(r) && Me(r, t);
670
+ r === t ? this._parentage = null : Array.isArray(r) && Ue(r, t);
690
671
  }, e.prototype.remove = function(t) {
691
672
  var r = this._finalizers;
692
- r && Me(r, t), t instanceof e && t._removeParent(this);
673
+ r && Ue(r, t), t instanceof e && t._removeParent(this);
693
674
  }, e.EMPTY = function() {
694
675
  var t = new e();
695
676
  return t.closed = !0, t;
696
677
  }(), e;
697
- }(), Nt = be.EMPTY;
698
- function Ct(e) {
699
- return e instanceof be || e && "closed" in e && A(e.remove) && A(e.add) && A(e.unsubscribe);
700
- }
701
- function ot(e) {
702
- A(e) ? e() : e.unsubscribe();
703
- }
704
- var Mt = {
705
- onUnhandledError: null,
706
- onStoppedNotification: null,
707
- Promise: void 0,
708
- useDeprecatedSynchronousErrorHandling: !1,
709
- useDeprecatedNextContext: !1
710
- }, jr = {
678
+ }(), Mt = ge.EMPTY;
679
+ function $t(e) {
680
+ return e instanceof ge || e && "closed" in e && O(e.remove) && O(e.add) && O(e.unsubscribe);
681
+ }
682
+ function at(e) {
683
+ O(e) ? e() : e.unsubscribe();
684
+ }
685
+ var jr = {
686
+ Promise: void 0
687
+ }, kr = {
711
688
  setTimeout: function(e, t) {
712
689
  for (var r = [], n = 2; n < arguments.length; n++)
713
690
  r[n - 2] = arguments[n];
714
- return setTimeout.apply(void 0, j([e, t], Ce(r)));
691
+ return setTimeout.apply(void 0, Re([e, t], $e(r)));
715
692
  },
716
693
  clearTimeout: function(e) {
717
694
  return clearTimeout(e);
718
695
  },
719
696
  delegate: void 0
720
697
  };
721
- function kr(e) {
722
- jr.setTimeout(function() {
698
+ function Vr(e) {
699
+ kr.setTimeout(function() {
723
700
  throw e;
724
701
  });
725
702
  }
726
- function st() {
703
+ function ut() {
727
704
  }
728
705
  function le(e) {
729
706
  e();
730
707
  }
731
708
  var Rt = function(e) {
732
- O(t, e);
709
+ re(t, e);
733
710
  function t(r) {
734
711
  var n = e.call(this) || this;
735
- return n.isStopped = !1, r ? (n.destination = r, Ct(r) && r.add(n)) : n.destination = Wr, n;
712
+ return n.isStopped = !1, r ? (n.destination = r, $t(r) && r.add(n)) : n.destination = Wr, n;
736
713
  }
737
714
  return t.create = function(r, n, i) {
738
- return new Re(r, n, i);
715
+ return new De(r, n, i);
739
716
  }, t.prototype.next = function(r) {
740
717
  this.isStopped || this._next(r);
741
718
  }, t.prototype.error = function(r) {
@@ -759,11 +736,7 @@ var Rt = function(e) {
759
736
  this.unsubscribe();
760
737
  }
761
738
  }, t;
762
- }(be), Vr = Function.prototype.bind;
763
- function Te(e, t) {
764
- return Vr.call(e, t);
765
- }
766
- var Xr = function() {
739
+ }(ge), Xr = function() {
767
740
  function e(t) {
768
741
  this.partialObserver = t;
769
742
  }
@@ -794,41 +767,29 @@ var Xr = function() {
794
767
  oe(r);
795
768
  }
796
769
  }, e;
797
- }(), Re = function(e) {
798
- O(t, e);
770
+ }(), De = function(e) {
771
+ re(t, e);
799
772
  function t(r, n, i) {
800
773
  var o = e.call(this) || this, s;
801
- if (A(r) || !r)
802
- s = {
803
- next: r != null ? r : void 0,
804
- error: n != null ? n : void 0,
805
- complete: i != null ? i : void 0
806
- };
807
- else {
808
- var a;
809
- o && Mt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
810
- return o.unsubscribe();
811
- }, s = {
812
- next: r.next && Te(r.next, a),
813
- error: r.error && Te(r.error, a),
814
- complete: r.complete && Te(r.complete, a)
815
- }) : s = r;
816
- }
817
- return o.destination = new Xr(s), o;
774
+ return O(r) || !r ? s = {
775
+ next: r != null ? r : void 0,
776
+ error: n != null ? n : void 0,
777
+ complete: i != null ? i : void 0
778
+ } : s = r, o.destination = new Xr(s), o;
818
779
  }
819
780
  return t;
820
781
  }(Rt);
821
782
  function oe(e) {
822
- kr(e);
783
+ Vr(e);
823
784
  }
824
785
  function zr(e) {
825
786
  throw e;
826
787
  }
827
788
  var Wr = {
828
789
  closed: !0,
829
- next: st,
790
+ next: ut,
830
791
  error: zr,
831
- complete: st
792
+ complete: ut
832
793
  }, Zr = function() {
833
794
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
834
795
  }();
@@ -842,7 +803,7 @@ function Jr(e) {
842
803
  }, r);
843
804
  };
844
805
  }
845
- var at = function() {
806
+ var ht = function() {
846
807
  function e(t) {
847
808
  t && (this._subscribe = t);
848
809
  }
@@ -850,7 +811,7 @@ var at = function() {
850
811
  var r = new e();
851
812
  return r.source = this, r.operator = t, r;
852
813
  }, e.prototype.subscribe = function(t, r, n) {
853
- var i = this, o = qr(t) ? t : new Re(t, r, n);
814
+ var i = this, o = qr(t) ? t : new De(t, r, n);
854
815
  return le(function() {
855
816
  var s = i, a = s.operator, u = s.source;
856
817
  o.add(a ? a.call(o, u) : u ? i._subscribe(o) : i._trySubscribe(o));
@@ -863,8 +824,8 @@ var at = function() {
863
824
  }
864
825
  }, e.prototype.forEach = function(t, r) {
865
826
  var n = this;
866
- return r = ut(r), new r(function(i, o) {
867
- var s = new Re({
827
+ return r = lt(r), new r(function(i, o) {
828
+ var s = new De({
868
829
  next: function(a) {
869
830
  try {
870
831
  t(a);
@@ -888,7 +849,7 @@ var at = function() {
888
849
  return Jr(t)(this);
889
850
  }, e.prototype.toPromise = function(t) {
890
851
  var r = this;
891
- return t = ut(t), new t(function(n, i) {
852
+ return t = lt(t), new t(function(n, i) {
892
853
  var o;
893
854
  r.subscribe(function(s) {
894
855
  return o = s;
@@ -902,28 +863,28 @@ var at = function() {
902
863
  return new e(t);
903
864
  }, e;
904
865
  }();
905
- function ut(e) {
866
+ function lt(e) {
906
867
  var t;
907
- return (t = e != null ? e : Mt.Promise) !== null && t !== void 0 ? t : Promise;
868
+ return (t = e != null ? e : jr.Promise) !== null && t !== void 0 ? t : Promise;
908
869
  }
909
870
  function Yr(e) {
910
- return e && A(e.next) && A(e.error) && A(e.complete);
871
+ return e && O(e.next) && O(e.error) && O(e.complete);
911
872
  }
912
873
  function qr(e) {
913
- return e && e instanceof Rt || Yr(e) && Ct(e);
874
+ return e && e instanceof Rt || Yr(e) && $t(e);
914
875
  }
915
- var Kr = Lt(function(e) {
876
+ var Kr = Ct(function(e) {
916
877
  return function() {
917
878
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
918
879
  };
919
- }), $t = function(e) {
920
- O(t, e);
880
+ }), Ut = function(e) {
881
+ re(t, e);
921
882
  function t() {
922
883
  var r = e.call(this) || this;
923
884
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
924
885
  }
925
886
  return t.prototype.lift = function(r) {
926
- var n = new ht(this, this);
887
+ var n = new ct(this, this);
927
888
  return n.operator = r, n;
928
889
  }, t.prototype._throwIfClosed = function() {
929
890
  if (this.closed)
@@ -935,7 +896,7 @@ var Kr = Lt(function(e) {
935
896
  if (n._throwIfClosed(), !n.isStopped) {
936
897
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
937
898
  try {
938
- for (var s = Ne(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
899
+ for (var s = Me(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
939
900
  var u = a.value;
940
901
  u.next(r);
941
902
  }
@@ -984,20 +945,20 @@ var Kr = Lt(function(e) {
984
945
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
985
946
  }, t.prototype._innerSubscribe = function(r) {
986
947
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
987
- return o || s ? Nt : (this.currentObservers = null, a.push(r), new be(function() {
988
- n.currentObservers = null, Me(a, r);
948
+ return o || s ? Mt : (this.currentObservers = null, a.push(r), new ge(function() {
949
+ n.currentObservers = null, Ue(a, r);
989
950
  }));
990
951
  }, t.prototype._checkFinalizedStatuses = function(r) {
991
952
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
992
953
  i ? r.error(o) : s && r.complete();
993
954
  }, t.prototype.asObservable = function() {
994
- var r = new at();
955
+ var r = new ht();
995
956
  return r.source = this, r;
996
957
  }, t.create = function(r, n) {
997
- return new ht(r, n);
958
+ return new ct(r, n);
998
959
  }, t;
999
- }(at), ht = function(e) {
1000
- O(t, e);
960
+ }(ht), ct = function(e) {
961
+ re(t, e);
1001
962
  function t(r, n) {
1002
963
  var i = e.call(this) || this;
1003
964
  return i.destination = r, i.source = n, i;
@@ -1013,17 +974,17 @@ var Kr = Lt(function(e) {
1013
974
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1014
975
  }, t.prototype._subscribe = function(r) {
1015
976
  var n, i;
1016
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Nt;
977
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mt;
1017
978
  }, t;
1018
- }($t), Ut = {
979
+ }(Ut), Dt = {
1019
980
  now: function() {
1020
- return (Ut.delegate || Date).now();
981
+ return (Dt.delegate || Date).now();
1021
982
  },
1022
983
  delegate: void 0
1023
984
  }, en = function(e) {
1024
- O(t, e);
985
+ re(t, e);
1025
986
  function t(r, n, i) {
1026
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Ut);
987
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Dt);
1027
988
  var o = e.call(this) || this;
1028
989
  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;
1029
990
  }
@@ -1043,24 +1004,24 @@ var Kr = Lt(function(e) {
1043
1004
  h && o.splice(0, h + 1);
1044
1005
  }
1045
1006
  }, t;
1046
- }($t);
1047
- const lt = [], ct = {}, tn = (e, t = 0) => {
1048
- if (lt.indexOf(e) == -1) {
1007
+ }(Ut);
1008
+ const ft = [], pt = {}, tn = (e, t = 0) => {
1009
+ if (ft.indexOf(e) == -1) {
1049
1010
  const r = new en(t);
1050
- ct[e] = r, lt.push(e);
1011
+ pt[e] = r, ft.push(e);
1051
1012
  }
1052
- return ct[e];
1013
+ return pt[e];
1053
1014
  }, D = [];
1054
1015
  function rn(e, t) {
1055
1016
  return {
1056
- subscribe: ge(e, t).subscribe
1017
+ subscribe: ye(e, t).subscribe
1057
1018
  };
1058
1019
  }
1059
- function ge(e, t = B) {
1020
+ function ye(e, t = B) {
1060
1021
  let r;
1061
1022
  const n = /* @__PURE__ */ new Set();
1062
1023
  function i(a) {
1063
- if (Pt(e, a) && (e = a, r)) {
1024
+ if (Ot(e, a) && (e = a, r)) {
1064
1025
  const u = !D.length;
1065
1026
  for (const h of n)
1066
1027
  h[1](), D.push(h, e);
@@ -1082,7 +1043,7 @@ function ge(e, t = B) {
1082
1043
  }
1083
1044
  return { set: i, update: o, subscribe: s };
1084
1045
  }
1085
- function W(e, t, r) {
1046
+ function z(e, t, r) {
1086
1047
  const n = !Array.isArray(e), i = n ? [e] : e;
1087
1048
  if (!i.every(Boolean))
1088
1049
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1095,21 +1056,21 @@ function W(e, t, r) {
1095
1056
  if (l)
1096
1057
  return;
1097
1058
  c();
1098
- const y = t(n ? h[0] : h, s, a);
1099
- o ? s(y) : c = Xe(y) ? y : B;
1059
+ const g = t(n ? h[0] : h, s, a);
1060
+ o ? s(g) : c = Qe(g) ? g : B;
1100
1061
  }, m = i.map(
1101
- (y, g) => At(
1102
- y,
1103
- (w) => {
1104
- h[g] = w, l &= ~(1 << g), u && f();
1062
+ (g, b) => It(
1063
+ g,
1064
+ (T) => {
1065
+ h[b] = T, l &= ~(1 << b), u && f();
1105
1066
  },
1106
1067
  () => {
1107
- l |= 1 << g;
1068
+ l |= 1 << b;
1108
1069
  }
1109
1070
  )
1110
1071
  );
1111
1072
  return u = !0, f(), function() {
1112
- re(m), c(), u = !1;
1073
+ te(m), c(), u = !1;
1113
1074
  };
1114
1075
  });
1115
1076
  }
@@ -1133,29 +1094,29 @@ function ln(e) {
1133
1094
  function cn(e) {
1134
1095
  return Array.isArray(e) ? [] : {};
1135
1096
  }
1136
- function ee(e, t) {
1137
- return t.clone !== !1 && t.isMergeableObject(e) ? k(cn(e), e, t) : e;
1097
+ function K(e, t) {
1098
+ return t.clone !== !1 && t.isMergeableObject(e) ? j(cn(e), e, t) : e;
1138
1099
  }
1139
1100
  function fn(e, t, r) {
1140
1101
  return e.concat(t).map(function(n) {
1141
- return ee(n, r);
1102
+ return K(n, r);
1142
1103
  });
1143
1104
  }
1144
1105
  function pn(e, t) {
1145
1106
  if (!t.customMerge)
1146
- return k;
1107
+ return j;
1147
1108
  var r = t.customMerge(e);
1148
- return typeof r == "function" ? r : k;
1109
+ return typeof r == "function" ? r : j;
1149
1110
  }
1150
1111
  function mn(e) {
1151
1112
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1152
1113
  return Object.propertyIsEnumerable.call(e, t);
1153
1114
  }) : [];
1154
1115
  }
1155
- function ft(e) {
1116
+ function mt(e) {
1156
1117
  return Object.keys(e).concat(mn(e));
1157
1118
  }
1158
- function Dt(e, t) {
1119
+ function Gt(e, t) {
1159
1120
  try {
1160
1121
  return t in e;
1161
1122
  } catch (r) {
@@ -1163,129 +1124,179 @@ function Dt(e, t) {
1163
1124
  }
1164
1125
  }
1165
1126
  function dn(e, t) {
1166
- return Dt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1127
+ return Gt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1167
1128
  }
1168
1129
  function bn(e, t, r) {
1169
1130
  var n = {};
1170
- return r.isMergeableObject(e) && ft(e).forEach(function(i) {
1171
- n[i] = ee(e[i], r);
1172
- }), ft(t).forEach(function(i) {
1173
- dn(e, i) || (Dt(e, i) && r.isMergeableObject(t[i]) ? n[i] = pn(i, r)(e[i], t[i], r) : n[i] = ee(t[i], r));
1131
+ return r.isMergeableObject(e) && mt(e).forEach(function(i) {
1132
+ n[i] = K(e[i], r);
1133
+ }), mt(t).forEach(function(i) {
1134
+ 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));
1174
1135
  }), n;
1175
1136
  }
1176
- function k(e, t, r) {
1177
- r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || on, r.cloneUnlessOtherwiseSpecified = ee;
1137
+ function j(e, t, r) {
1138
+ r = r || {}, r.arrayMerge = r.arrayMerge || fn, r.isMergeableObject = r.isMergeableObject || on, r.cloneUnlessOtherwiseSpecified = K;
1178
1139
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1179
- return o ? n ? r.arrayMerge(e, t, r) : bn(e, t, r) : ee(t, r);
1140
+ return o ? n ? r.arrayMerge(e, t, r) : bn(e, t, r) : K(t, r);
1180
1141
  }
1181
- k.all = function(t, r) {
1142
+ j.all = function(t, r) {
1182
1143
  if (!Array.isArray(t))
1183
1144
  throw new Error("first argument should be an array");
1184
1145
  return t.reduce(function(n, i) {
1185
- return k(n, i, r);
1146
+ return j(n, i, r);
1186
1147
  }, {});
1187
1148
  };
1188
- var gn = k, yn = gn;
1149
+ var gn = j, yn = gn;
1189
1150
  const vn = /* @__PURE__ */ nn(yn);
1190
- function we(e, t) {
1191
- var r = t && t.cache ? t.cache : wn, n = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : xn;
1151
+ var Ge = function(e, t) {
1152
+ return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1153
+ r.__proto__ = n;
1154
+ } || function(r, n) {
1155
+ for (var i in n)
1156
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1157
+ }, Ge(e, t);
1158
+ };
1159
+ function ve(e, t) {
1160
+ if (typeof t != "function" && t !== null)
1161
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1162
+ Ge(e, t);
1163
+ function r() {
1164
+ this.constructor = e;
1165
+ }
1166
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1167
+ }
1168
+ var P = function() {
1169
+ return P = Object.assign || function(t) {
1170
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1171
+ r = arguments[n];
1172
+ for (var o in r)
1173
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1174
+ }
1175
+ return t;
1176
+ }, P.apply(this, arguments);
1177
+ };
1178
+ function En(e, t) {
1179
+ var r = {};
1180
+ for (var n in e)
1181
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1182
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1183
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1184
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1185
+ return r;
1186
+ }
1187
+ function Be(e, t, r) {
1188
+ if (r || arguments.length === 2)
1189
+ for (var n = 0, i = t.length, o; n < i; n++)
1190
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1191
+ return e.concat(o || Array.prototype.slice.call(t));
1192
+ }
1193
+ function He(e, t) {
1194
+ var r = t && t.cache ? t.cache : Hn, n = t && t.serializer ? t.serializer : Tn, i = t && t.strategy ? t.strategy : Sn;
1192
1195
  return i(e, {
1193
1196
  cache: r,
1194
1197
  serializer: n
1195
1198
  });
1196
1199
  }
1197
- function En(e) {
1200
+ function _n(e) {
1198
1201
  return e == null || typeof e == "number" || typeof e == "boolean";
1199
1202
  }
1200
- function Ft(e, t, r, n) {
1201
- var i = En(n) ? n : r(n), o = t.get(i);
1203
+ function xn(e, t, r, n) {
1204
+ var i = _n(n) ? n : r(n), o = t.get(i);
1202
1205
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1203
1206
  }
1204
- function Gt(e, t, r) {
1207
+ function Ft(e, t, r) {
1205
1208
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1206
1209
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1207
1210
  }
1208
- function We(e, t, r, n, i) {
1211
+ function jt(e, t, r, n, i) {
1209
1212
  return r.bind(t, e, n, i);
1210
1213
  }
1211
- function xn(e, t) {
1212
- var r = e.length === 1 ? Ft : Gt;
1213
- return We(e, this, r, t.cache.create(), t.serializer);
1214
- }
1215
- function _n(e, t) {
1216
- return We(e, this, Gt, t.cache.create(), t.serializer);
1217
- }
1218
1214
  function Sn(e, t) {
1219
- return We(e, this, Ft, t.cache.create(), t.serializer);
1215
+ var r = e.length === 1 ? xn : Ft;
1216
+ return jt(e, this, r, t.cache.create(), t.serializer);
1217
+ }
1218
+ function wn(e, t) {
1219
+ return jt(e, this, Ft, t.cache.create(), t.serializer);
1220
1220
  }
1221
1221
  var Tn = function() {
1222
1222
  return JSON.stringify(arguments);
1223
- };
1224
- function Ze() {
1225
- this.cache = /* @__PURE__ */ Object.create(null);
1226
- }
1227
- Ze.prototype.get = function(e) {
1228
- return this.cache[e];
1229
- };
1230
- Ze.prototype.set = function(e, t) {
1231
- this.cache[e] = t;
1232
- };
1233
- var wn = {
1223
+ }, Bn = (
1224
+ /** @class */
1225
+ function() {
1226
+ function e() {
1227
+ this.cache = /* @__PURE__ */ Object.create(null);
1228
+ }
1229
+ return e.prototype.get = function(t) {
1230
+ return this.cache[t];
1231
+ }, e.prototype.set = function(t, r) {
1232
+ this.cache[t] = r;
1233
+ }, e;
1234
+ }()
1235
+ ), Hn = {
1234
1236
  create: function() {
1235
- return new Ze();
1237
+ return new Bn();
1236
1238
  }
1237
- }, Be = {
1238
- variadic: _n,
1239
- monadic: Sn
1240
- }, p;
1239
+ }, Pe = {
1240
+ variadic: wn
1241
+ }, me = function() {
1242
+ return me = Object.assign || function(t) {
1243
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1244
+ r = arguments[n];
1245
+ for (var o in r)
1246
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1247
+ }
1248
+ return t;
1249
+ }, me.apply(this, arguments);
1250
+ };
1251
+ var p;
1241
1252
  (function(e) {
1242
1253
  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";
1243
1254
  })(p || (p = {}));
1244
- var E;
1255
+ var v;
1245
1256
  (function(e) {
1246
1257
  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";
1247
- })(E || (E = {}));
1248
- var V;
1258
+ })(v || (v = {}));
1259
+ var k;
1249
1260
  (function(e) {
1250
1261
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1251
- })(V || (V = {}));
1252
- function pt(e) {
1253
- return e.type === E.literal;
1254
- }
1255
- function Bn(e) {
1256
- return e.type === E.argument;
1262
+ })(k || (k = {}));
1263
+ function dt(e) {
1264
+ return e.type === v.literal;
1257
1265
  }
1258
- function jt(e) {
1259
- return e.type === E.number;
1266
+ function Pn(e) {
1267
+ return e.type === v.argument;
1260
1268
  }
1261
1269
  function kt(e) {
1262
- return e.type === E.date;
1270
+ return e.type === v.number;
1263
1271
  }
1264
1272
  function Vt(e) {
1265
- return e.type === E.time;
1273
+ return e.type === v.date;
1266
1274
  }
1267
1275
  function Xt(e) {
1268
- return e.type === E.select;
1276
+ return e.type === v.time;
1269
1277
  }
1270
1278
  function zt(e) {
1271
- return e.type === E.plural;
1272
- }
1273
- function Hn(e) {
1274
- return e.type === E.pound;
1279
+ return e.type === v.select;
1275
1280
  }
1276
1281
  function Wt(e) {
1277
- return e.type === E.tag;
1282
+ return e.type === v.plural;
1283
+ }
1284
+ function An(e) {
1285
+ return e.type === v.pound;
1278
1286
  }
1279
1287
  function Zt(e) {
1280
- return !!(e && typeof e == "object" && e.type === V.number);
1288
+ return e.type === v.tag;
1281
1289
  }
1282
- function $e(e) {
1283
- return !!(e && typeof e == "object" && e.type === V.dateTime);
1290
+ function Qt(e) {
1291
+ return !!(e && typeof e == "object" && e.type === k.number);
1284
1292
  }
1285
- var Qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Pn = /(?:[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;
1286
- function An(e) {
1293
+ function Fe(e) {
1294
+ return !!(e && typeof e == "object" && e.type === k.dateTime);
1295
+ }
1296
+ 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;
1297
+ function In(e) {
1287
1298
  var t = {};
1288
- return e.replace(Pn, function(r) {
1299
+ return e.replace(On, function(r) {
1289
1300
  var n = r.length;
1290
1301
  switch (r[0]) {
1291
1302
  case "G":
@@ -1374,11 +1385,21 @@ function An(e) {
1374
1385
  return "";
1375
1386
  }), t;
1376
1387
  }
1377
- var On = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1378
- function In(e) {
1388
+ var E = function() {
1389
+ return E = Object.assign || function(t) {
1390
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1391
+ r = arguments[n];
1392
+ for (var o in r)
1393
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1394
+ }
1395
+ return t;
1396
+ }, E.apply(this, arguments);
1397
+ };
1398
+ var Nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1399
+ function Ln(e) {
1379
1400
  if (e.length === 0)
1380
1401
  throw new Error("Number skeleton cannot be empty");
1381
- for (var t = e.split(On).filter(function(f) {
1402
+ for (var t = e.split(Nn).filter(function(f) {
1382
1403
  return f.length > 0;
1383
1404
  }), r = [], n = 0, i = t; n < i.length; n++) {
1384
1405
  var o = i[n], s = o.split("/");
@@ -1393,17 +1414,17 @@ function In(e) {
1393
1414
  }
1394
1415
  return r;
1395
1416
  }
1396
- function Ln(e) {
1417
+ function Cn(e) {
1397
1418
  return e.replace(/^(.*?)-/, "");
1398
1419
  }
1399
- var mt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, Nn = /(\*)(0+)|(#+)(0+)|(0+)/g, Yt = /^(0+)$/;
1400
- function dt(e) {
1420
+ var bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Yt = /^(@+)?(\+|#+)?[rs]?$/g, Mn = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
1421
+ function gt(e) {
1401
1422
  var t = {};
1402
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
1423
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Yt, function(r, n, i) {
1403
1424
  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)), "";
1404
1425
  }), t;
1405
1426
  }
1406
- function qt(e) {
1427
+ function Kt(e) {
1407
1428
  switch (e) {
1408
1429
  case "sign-auto":
1409
1430
  return {
@@ -1443,7 +1464,7 @@ function qt(e) {
1443
1464
  };
1444
1465
  }
1445
1466
  }
1446
- function Cn(e) {
1467
+ function $n(e) {
1447
1468
  var t;
1448
1469
  if (e[0] === "E" && e[1] === "E" ? (t = {
1449
1470
  notation: "engineering"
@@ -1451,17 +1472,17 @@ function Cn(e) {
1451
1472
  notation: "scientific"
1452
1473
  }, e = e.slice(1)), t) {
1453
1474
  var r = e.slice(0, 2);
1454
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Yt.test(e))
1475
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
1455
1476
  throw new Error("Malformed concise eng/scientific notation");
1456
1477
  t.minimumIntegerDigits = e.length;
1457
1478
  }
1458
1479
  return t;
1459
1480
  }
1460
- function bt(e) {
1461
- var t = {}, r = qt(e);
1481
+ function yt(e) {
1482
+ var t = {}, r = Kt(e);
1462
1483
  return r || t;
1463
1484
  }
1464
- function Mn(e) {
1485
+ function Rn(e) {
1465
1486
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1466
1487
  var i = n[r];
1467
1488
  switch (i.stem) {
@@ -1485,7 +1506,7 @@ function Mn(e) {
1485
1506
  continue;
1486
1507
  case "measure-unit":
1487
1508
  case "unit":
1488
- t.style = "unit", t.unit = Ln(i.options[0]);
1509
+ t.style = "unit", t.unit = Cn(i.options[0]);
1489
1510
  continue;
1490
1511
  case "compact-short":
1491
1512
  case "K":
@@ -1496,13 +1517,13 @@ function Mn(e) {
1496
1517
  t.notation = "compact", t.compactDisplay = "long";
1497
1518
  continue;
1498
1519
  case "scientific":
1499
- t = b(b(b({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
1500
- return b(b({}, u), bt(h));
1520
+ t = E(E(E({}, t), { notation: "scientific" }), i.options.reduce(function(u, h) {
1521
+ return E(E({}, u), yt(h));
1501
1522
  }, {}));
1502
1523
  continue;
1503
1524
  case "engineering":
1504
- t = b(b(b({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
1505
- return b(b({}, u), bt(h));
1525
+ t = E(E(E({}, t), { notation: "engineering" }), i.options.reduce(function(u, h) {
1526
+ return E(E({}, u), yt(h));
1506
1527
  }, {}));
1507
1528
  continue;
1508
1529
  case "notation-simple":
@@ -1547,7 +1568,7 @@ function Mn(e) {
1547
1568
  case "integer-width":
1548
1569
  if (i.options.length > 1)
1549
1570
  throw new RangeError("integer-width stems only accept a single optional option");
1550
- i.options[0].replace(Nn, function(u, h, l, c, f, m) {
1571
+ i.options[0].replace(Mn, function(u, h, l, c, f, m) {
1551
1572
  if (h)
1552
1573
  t.minimumIntegerDigits = l.length;
1553
1574
  else {
@@ -1560,28 +1581,28 @@ function Mn(e) {
1560
1581
  });
1561
1582
  continue;
1562
1583
  }
1563
- if (Yt.test(i.stem)) {
1584
+ if (qt.test(i.stem)) {
1564
1585
  t.minimumIntegerDigits = i.stem.length;
1565
1586
  continue;
1566
1587
  }
1567
- if (mt.test(i.stem)) {
1588
+ if (bt.test(i.stem)) {
1568
1589
  if (i.options.length > 1)
1569
1590
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1570
- i.stem.replace(mt, function(u, h, l, c, f, m) {
1591
+ i.stem.replace(bt, function(u, h, l, c, f, m) {
1571
1592
  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), "";
1572
1593
  });
1573
1594
  var o = i.options[0];
1574
- o === "w" ? t = b(b({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = b(b({}, t), dt(o)));
1595
+ o === "w" ? t = E(E({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = E(E({}, t), gt(o)));
1575
1596
  continue;
1576
1597
  }
1577
- if (Jt.test(i.stem)) {
1578
- t = b(b({}, t), dt(i.stem));
1598
+ if (Yt.test(i.stem)) {
1599
+ t = E(E({}, t), gt(i.stem));
1579
1600
  continue;
1580
1601
  }
1581
- var s = qt(i.stem);
1582
- s && (t = b(b({}, t), s));
1583
- var a = Cn(i.stem);
1584
- a && (t = b(b({}, t), a));
1602
+ var s = Kt(i.stem);
1603
+ s && (t = E(E({}, t), s));
1604
+ var a = $n(i.stem);
1605
+ a && (t = E(E({}, t), a));
1585
1606
  }
1586
1607
  return t;
1587
1608
  }
@@ -3000,13 +3021,13 @@ var se = {
3000
3021
  "h"
3001
3022
  ]
3002
3023
  };
3003
- function Rn(e, t) {
3024
+ function Un(e, t) {
3004
3025
  for (var r = "", n = 0; n < e.length; n++) {
3005
3026
  var i = e.charAt(n);
3006
3027
  if (i === "j") {
3007
3028
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3008
3029
  o++, n++;
3009
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = $n(t);
3030
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), u = "a", h = Dn(t);
3010
3031
  for ((h == "H" || h == "k") && (a = 0); a-- > 0; )
3011
3032
  r += u;
3012
3033
  for (; s-- > 0; )
@@ -3016,7 +3037,7 @@ function Rn(e, t) {
3016
3037
  }
3017
3038
  return r;
3018
3039
  }
3019
- function $n(e) {
3040
+ function Dn(e) {
3020
3041
  var t = e.hourCycle;
3021
3042
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3022
3043
  e.hourCycles && // @ts-ignore
@@ -3038,20 +3059,20 @@ function $n(e) {
3038
3059
  var i = se[n || ""] || se[r || ""] || se["".concat(r, "-001")] || se["001"];
3039
3060
  return i[0];
3040
3061
  }
3041
- var He, Un = new RegExp("^".concat(Qt.source, "*")), Dn = new RegExp("".concat(Qt.source, "*$"));
3062
+ var Ae, Gn = new RegExp("^".concat(Jt.source, "*")), Fn = new RegExp("".concat(Jt.source, "*$"));
3042
3063
  function d(e, t) {
3043
3064
  return { start: e, end: t };
3044
3065
  }
3045
- var Fn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Gn = !!String.fromCodePoint, jn = !!Object.fromEntries, kn = !!String.prototype.codePointAt, Vn = !!String.prototype.trimStart, Xn = !!String.prototype.trimEnd, zn = !!Number.isSafeInteger, Wn = zn ? Number.isSafeInteger : function(e) {
3066
+ 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) {
3046
3067
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3047
- }, Ue = !0;
3068
+ }, je = !0;
3048
3069
  try {
3049
- var Zn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3050
- Ue = ((He = Zn.exec("a")) === null || He === void 0 ? void 0 : He[0]) === "a";
3070
+ var Jn = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3071
+ je = ((Ae = Jn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
3051
3072
  } catch (e) {
3052
- Ue = !1;
3073
+ je = !1;
3053
3074
  }
3054
- var gt = Fn ? (
3075
+ var vt = jn ? (
3055
3076
  // Native
3056
3077
  function(t, r, n) {
3057
3078
  return t.startsWith(r, n);
@@ -3061,7 +3082,7 @@ var gt = Fn ? (
3061
3082
  function(t, r, n) {
3062
3083
  return t.slice(n, n + r.length) === r;
3063
3084
  }
3064
- ), De = Gn ? String.fromCodePoint : (
3085
+ ), ke = kn ? String.fromCodePoint : (
3065
3086
  // IE11
3066
3087
  function() {
3067
3088
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3073,9 +3094,9 @@ var gt = Fn ? (
3073
3094
  }
3074
3095
  return n;
3075
3096
  }
3076
- ), yt = (
3097
+ ), Et = (
3077
3098
  // native
3078
- jn ? Object.fromEntries : (
3099
+ Vn ? Object.fromEntries : (
3079
3100
  // Ponyfill
3080
3101
  function(t) {
3081
3102
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3085,7 +3106,7 @@ var gt = Fn ? (
3085
3106
  return r;
3086
3107
  }
3087
3108
  )
3088
- ), Kt = kn ? (
3109
+ ), er = Xn ? (
3089
3110
  // Native
3090
3111
  function(t, r) {
3091
3112
  return t.codePointAt(r);
@@ -3099,7 +3120,7 @@ var gt = Fn ? (
3099
3120
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3100
3121
  }
3101
3122
  }
3102
- ), Qn = Vn ? (
3123
+ ), Yn = zn ? (
3103
3124
  // Native
3104
3125
  function(t) {
3105
3126
  return t.trimStart();
@@ -3107,9 +3128,9 @@ var gt = Fn ? (
3107
3128
  ) : (
3108
3129
  // Ponyfill
3109
3130
  function(t) {
3110
- return t.replace(Un, "");
3131
+ return t.replace(Gn, "");
3111
3132
  }
3112
- ), Jn = Xn ? (
3133
+ ), qn = Wn ? (
3113
3134
  // Native
3114
3135
  function(t) {
3115
3136
  return t.trimEnd();
@@ -3117,32 +3138,32 @@ var gt = Fn ? (
3117
3138
  ) : (
3118
3139
  // Ponyfill
3119
3140
  function(t) {
3120
- return t.replace(Dn, "");
3141
+ return t.replace(Fn, "");
3121
3142
  }
3122
3143
  );
3123
- function er(e, t) {
3144
+ function tr(e, t) {
3124
3145
  return new RegExp(e, t);
3125
3146
  }
3126
- var Fe;
3127
- if (Ue) {
3128
- var vt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3129
- Fe = function(t, r) {
3147
+ var Ve;
3148
+ if (je) {
3149
+ var _t = tr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3150
+ Ve = function(t, r) {
3130
3151
  var n;
3131
- vt.lastIndex = r;
3132
- var i = vt.exec(t);
3152
+ _t.lastIndex = r;
3153
+ var i = _t.exec(t);
3133
3154
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3134
3155
  };
3135
3156
  } else
3136
- Fe = function(t, r) {
3157
+ Ve = function(t, r) {
3137
3158
  for (var n = []; ; ) {
3138
- var i = Kt(t, r);
3139
- if (i === void 0 || tr(i) || ei(i))
3159
+ var i = er(t, r);
3160
+ if (i === void 0 || rr(i) || ri(i))
3140
3161
  break;
3141
3162
  n.push(i), r += i >= 65536 ? 2 : 1;
3142
3163
  }
3143
- return De.apply(void 0, n);
3164
+ return ke.apply(void 0, n);
3144
3165
  };
3145
- var Yn = (
3166
+ var Kn = (
3146
3167
  /** @class */
3147
3168
  function() {
3148
3169
  function e(t, r) {
@@ -3166,14 +3187,14 @@ var Yn = (
3166
3187
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3167
3188
  var a = this.clonePosition();
3168
3189
  this.bump(), i.push({
3169
- type: E.pound,
3190
+ type: v.pound,
3170
3191
  location: d(a, this.clonePosition())
3171
3192
  });
3172
3193
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3173
3194
  if (n)
3174
3195
  break;
3175
3196
  return this.error(p.UNMATCHED_CLOSING_TAG, d(this.clonePosition(), this.clonePosition()));
3176
- } else if (o === 60 && !this.ignoreTag && Ge(this.peek() || 0)) {
3197
+ } else if (o === 60 && !this.ignoreTag && Xe(this.peek() || 0)) {
3177
3198
  var s = this.parseTag(t, r);
3178
3199
  if (s.err)
3179
3200
  return s;
@@ -3194,7 +3215,7 @@ var Yn = (
3194
3215
  if (this.bumpSpace(), this.bumpIf("/>"))
3195
3216
  return {
3196
3217
  val: {
3197
- type: E.literal,
3218
+ type: v.literal,
3198
3219
  value: "<".concat(i, "/>"),
3199
3220
  location: d(n, this.clonePosition())
3200
3221
  },
@@ -3206,12 +3227,12 @@ var Yn = (
3206
3227
  return o;
3207
3228
  var s = o.val, a = this.clonePosition();
3208
3229
  if (this.bumpIf("</")) {
3209
- if (this.isEOF() || !Ge(this.char()))
3230
+ if (this.isEOF() || !Xe(this.char()))
3210
3231
  return this.error(p.INVALID_TAG, d(a, this.clonePosition()));
3211
3232
  var u = this.clonePosition(), h = this.parseTagName();
3212
3233
  return i !== h ? this.error(p.UNMATCHED_CLOSING_TAG, d(u, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3213
3234
  val: {
3214
- type: E.tag,
3235
+ type: v.tag,
3215
3236
  value: i,
3216
3237
  children: s,
3217
3238
  location: d(n, this.clonePosition())
@@ -3224,7 +3245,7 @@ var Yn = (
3224
3245
  return this.error(p.INVALID_TAG, d(n, this.clonePosition()));
3225
3246
  }, e.prototype.parseTagName = function() {
3226
3247
  var t = this.offset();
3227
- for (this.bump(); !this.isEOF() && Kn(this.char()); )
3248
+ for (this.bump(); !this.isEOF() && ti(this.char()); )
3228
3249
  this.bump();
3229
3250
  return this.message.slice(t, this.offset());
3230
3251
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3248,12 +3269,12 @@ var Yn = (
3248
3269
  }
3249
3270
  var u = d(n, this.clonePosition());
3250
3271
  return {
3251
- val: { type: E.literal, value: i, location: u },
3272
+ val: { type: v.literal, value: i, location: u },
3252
3273
  err: null
3253
3274
  };
3254
3275
  }, e.prototype.tryParseLeftAngleBracket = function() {
3255
3276
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3256
- !qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3277
+ !ei(this.peek() || 0)) ? (this.bump(), "<") : null;
3257
3278
  }, e.prototype.tryParseQuote = function(t) {
3258
3279
  if (this.isEOF() || this.char() !== 39)
3259
3280
  return null;
@@ -3287,12 +3308,12 @@ var Yn = (
3287
3308
  r.push(n);
3288
3309
  this.bump();
3289
3310
  }
3290
- return De.apply(void 0, r);
3311
+ return ke.apply(void 0, r);
3291
3312
  }, e.prototype.tryParseUnquoted = function(t, r) {
3292
3313
  if (this.isEOF())
3293
3314
  return null;
3294
3315
  var n = this.char();
3295
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), De(n));
3316
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), ke(n));
3296
3317
  }, e.prototype.parseArgument = function(t, r) {
3297
3318
  var n = this.clonePosition();
3298
3319
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3308,7 +3329,7 @@ var Yn = (
3308
3329
  case 125:
3309
3330
  return this.bump(), {
3310
3331
  val: {
3311
- type: E.argument,
3332
+ type: v.argument,
3312
3333
  // value does not include the opening and closing braces.
3313
3334
  value: i,
3314
3335
  location: d(n, this.clonePosition())
@@ -3321,7 +3342,7 @@ var Yn = (
3321
3342
  return this.error(p.MALFORMED_ARGUMENT, d(n, this.clonePosition()));
3322
3343
  }
3323
3344
  }, e.prototype.parseIdentifierIfPossible = function() {
3324
- var t = this.clonePosition(), r = this.offset(), n = Fe(this.message, r), i = r + n.length;
3345
+ var t = this.clonePosition(), r = this.offset(), n = Ve(this.message, r), i = r + n.length;
3325
3346
  this.bumpTo(i);
3326
3347
  var o = this.clonePosition(), s = d(t, o);
3327
3348
  return { value: n, location: s };
@@ -3340,46 +3361,46 @@ var Yn = (
3340
3361
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3341
3362
  if (c.err)
3342
3363
  return c;
3343
- var f = Jn(c.val);
3364
+ var f = qn(c.val);
3344
3365
  if (f.length === 0)
3345
3366
  return this.error(p.EXPECT_ARGUMENT_STYLE, d(this.clonePosition(), this.clonePosition()));
3346
3367
  var m = d(l, this.clonePosition());
3347
3368
  h = { style: f, styleLocation: m };
3348
3369
  }
3349
- var y = this.tryParseArgumentClose(i);
3350
- if (y.err)
3351
- return y;
3352
- var g = d(i, this.clonePosition());
3353
- if (h && gt(h == null ? void 0 : h.style, "::", 0)) {
3354
- var w = Qn(h.style.slice(2));
3370
+ var g = this.tryParseArgumentClose(i);
3371
+ if (g.err)
3372
+ return g;
3373
+ var b = d(i, this.clonePosition());
3374
+ if (h && vt(h == null ? void 0 : h.style, "::", 0)) {
3375
+ var T = Yn(h.style.slice(2));
3355
3376
  if (a === "number") {
3356
- var c = this.parseNumberSkeletonFromString(w, h.styleLocation);
3377
+ var c = this.parseNumberSkeletonFromString(T, h.styleLocation);
3357
3378
  return c.err ? c : {
3358
- val: { type: E.number, value: n, location: g, style: c.val },
3379
+ val: { type: v.number, value: n, location: b, style: c.val },
3359
3380
  err: null
3360
3381
  };
3361
3382
  } else {
3362
- if (w.length === 0)
3363
- return this.error(p.EXPECT_DATE_TIME_SKELETON, g);
3364
- var N = w;
3365
- this.locale && (N = Rn(w, this.locale));
3383
+ if (T.length === 0)
3384
+ return this.error(p.EXPECT_DATE_TIME_SKELETON, b);
3385
+ var L = T;
3386
+ this.locale && (L = Un(T, this.locale));
3366
3387
  var f = {
3367
- type: V.dateTime,
3368
- pattern: N,
3388
+ type: k.dateTime,
3389
+ pattern: L,
3369
3390
  location: h.styleLocation,
3370
- parsedOptions: this.shouldParseSkeletons ? An(N) : {}
3371
- }, I = a === "date" ? E.date : E.time;
3391
+ parsedOptions: this.shouldParseSkeletons ? In(L) : {}
3392
+ }, I = a === "date" ? v.date : v.time;
3372
3393
  return {
3373
- val: { type: I, value: n, location: g, style: f },
3394
+ val: { type: I, value: n, location: b, style: f },
3374
3395
  err: null
3375
3396
  };
3376
3397
  }
3377
3398
  }
3378
3399
  return {
3379
3400
  val: {
3380
- type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3401
+ type: a === "number" ? v.number : a === "date" ? v.date : v.time,
3381
3402
  value: n,
3382
- location: g,
3403
+ location: b,
3383
3404
  style: (o = h == null ? void 0 : h.style) !== null && o !== void 0 ? o : null
3384
3405
  },
3385
3406
  err: null
@@ -3388,9 +3409,9 @@ var Yn = (
3388
3409
  case "plural":
3389
3410
  case "selectordinal":
3390
3411
  case "select": {
3391
- var _ = this.clonePosition();
3412
+ var x = this.clonePosition();
3392
3413
  if (this.bumpSpace(), !this.bumpIf(","))
3393
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, d(_, b({}, _)));
3414
+ return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, d(x, me({}, x)));
3394
3415
  this.bumpSpace();
3395
3416
  var H = this.parseIdentifierIfPossible(), S = 0;
3396
3417
  if (a !== "select" && H.value === "offset") {
@@ -3402,26 +3423,26 @@ var Yn = (
3402
3423
  return c;
3403
3424
  this.bumpSpace(), H = this.parseIdentifierIfPossible(), S = c.val;
3404
3425
  }
3405
- var R = this.tryParsePluralOrSelectOptions(t, a, r, H);
3406
- if (R.err)
3407
- return R;
3408
- var y = this.tryParseArgumentClose(i);
3409
- if (y.err)
3410
- return y;
3426
+ var $ = this.tryParsePluralOrSelectOptions(t, a, r, H);
3427
+ if ($.err)
3428
+ return $;
3429
+ var g = this.tryParseArgumentClose(i);
3430
+ if (g.err)
3431
+ return g;
3411
3432
  var ie = d(i, this.clonePosition());
3412
3433
  return a === "select" ? {
3413
3434
  val: {
3414
- type: E.select,
3435
+ type: v.select,
3415
3436
  value: n,
3416
- options: yt(R.val),
3437
+ options: Et($.val),
3417
3438
  location: ie
3418
3439
  },
3419
3440
  err: null
3420
3441
  } : {
3421
3442
  val: {
3422
- type: E.plural,
3443
+ type: v.plural,
3423
3444
  value: n,
3424
- options: yt(R.val),
3445
+ options: Et($.val),
3425
3446
  offset: S,
3426
3447
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3427
3448
  location: ie
@@ -3472,16 +3493,16 @@ var Yn = (
3472
3493
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3473
3494
  var n = [];
3474
3495
  try {
3475
- n = In(t);
3496
+ n = Ln(t);
3476
3497
  } catch (i) {
3477
3498
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3478
3499
  }
3479
3500
  return {
3480
3501
  val: {
3481
- type: V.number,
3502
+ type: k.number,
3482
3503
  tokens: n,
3483
3504
  location: r,
3484
- parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
3505
+ parsedOptions: this.shouldParseSkeletons ? Rn(n) : {}
3485
3506
  },
3486
3507
  err: null
3487
3508
  };
@@ -3503,16 +3524,16 @@ var Yn = (
3503
3524
  var m = this.clonePosition();
3504
3525
  if (!this.bumpIf("{"))
3505
3526
  return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, d(this.clonePosition(), this.clonePosition()));
3506
- var y = this.parseMessage(t + 1, r, n);
3507
- if (y.err)
3508
- return y;
3509
- var g = this.tryParseArgumentClose(m);
3527
+ var g = this.parseMessage(t + 1, r, n);
3510
3528
  if (g.err)
3511
3529
  return g;
3530
+ var b = this.tryParseArgumentClose(m);
3531
+ if (b.err)
3532
+ return b;
3512
3533
  a.push([
3513
3534
  h,
3514
3535
  {
3515
- value: y.val,
3536
+ value: g.val,
3516
3537
  location: d(m, this.clonePosition())
3517
3538
  }
3518
3539
  ]), u.add(h), this.bumpSpace(), o = this.parseIdentifierIfPossible(), h = o.value, l = o.location;
@@ -3529,7 +3550,7 @@ var Yn = (
3529
3550
  break;
3530
3551
  }
3531
3552
  var u = d(i, this.clonePosition());
3532
- return o ? (s *= n, Wn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3553
+ return o ? (s *= n, Qn(s) ? { val: s, err: null } : this.error(r, u)) : this.error(t, u);
3533
3554
  }, e.prototype.offset = function() {
3534
3555
  return this.position.offset;
3535
3556
  }, e.prototype.isEOF = function() {
@@ -3544,7 +3565,7 @@ var Yn = (
3544
3565
  var t = this.position.offset;
3545
3566
  if (t >= this.message.length)
3546
3567
  throw Error("out of bound");
3547
- var r = Kt(this.message, t);
3568
+ var r = er(this.message, t);
3548
3569
  if (r === void 0)
3549
3570
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3550
3571
  return r;
@@ -3563,7 +3584,7 @@ var Yn = (
3563
3584
  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);
3564
3585
  }
3565
3586
  }, e.prototype.bumpIf = function(t) {
3566
- if (gt(this.message, t, this.offset())) {
3587
+ if (vt(this.message, t, this.offset())) {
3567
3588
  for (var r = 0; r < t.length; r++)
3568
3589
  this.bump();
3569
3590
  return !0;
@@ -3585,7 +3606,7 @@ var Yn = (
3585
3606
  break;
3586
3607
  }
3587
3608
  }, e.prototype.bumpSpace = function() {
3588
- for (; !this.isEOF() && tr(this.char()); )
3609
+ for (; !this.isEOF() && rr(this.char()); )
3589
3610
  this.bump();
3590
3611
  }, e.prototype.peek = function() {
3591
3612
  if (this.isEOF())
@@ -3595,47 +3616,47 @@ var Yn = (
3595
3616
  }, e;
3596
3617
  }()
3597
3618
  );
3598
- function Ge(e) {
3619
+ function Xe(e) {
3599
3620
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3600
3621
  }
3601
- function qn(e) {
3602
- return Ge(e) || e === 47;
3622
+ function ei(e) {
3623
+ return Xe(e) || e === 47;
3603
3624
  }
3604
- function Kn(e) {
3625
+ function ti(e) {
3605
3626
  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;
3606
3627
  }
3607
- function tr(e) {
3628
+ function rr(e) {
3608
3629
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3609
3630
  }
3610
- function ei(e) {
3631
+ function ri(e) {
3611
3632
  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;
3612
3633
  }
3613
- function je(e) {
3634
+ function ze(e) {
3614
3635
  e.forEach(function(t) {
3615
- if (delete t.location, Xt(t) || zt(t))
3636
+ if (delete t.location, zt(t) || Wt(t))
3616
3637
  for (var r in t.options)
3617
- delete t.options[r].location, je(t.options[r].value);
3638
+ delete t.options[r].location, ze(t.options[r].value);
3618
3639
  else
3619
- jt(t) && Zt(t.style) || (kt(t) || Vt(t)) && $e(t.style) ? delete t.style.location : Wt(t) && je(t.children);
3640
+ kt(t) && Qt(t.style) || (Vt(t) || Xt(t)) && Fe(t.style) ? delete t.style.location : Zt(t) && ze(t.children);
3620
3641
  });
3621
3642
  }
3622
- function ti(e, t) {
3623
- t === void 0 && (t = {}), t = b({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3624
- var r = new Yn(e, t).parse();
3643
+ function ni(e, t) {
3644
+ t === void 0 && (t = {}), t = me({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3645
+ var r = new Kn(e, t).parse();
3625
3646
  if (r.err) {
3626
3647
  var n = SyntaxError(p[r.err.kind]);
3627
3648
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3628
3649
  }
3629
- return t != null && t.captureLocation || je(r.val), r.val;
3650
+ return t != null && t.captureLocation || ze(r.val), r.val;
3630
3651
  }
3631
- var X;
3652
+ var V;
3632
3653
  (function(e) {
3633
3654
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3634
- })(X || (X = {}));
3635
- var ye = (
3655
+ })(V || (V = {}));
3656
+ var Ee = (
3636
3657
  /** @class */
3637
3658
  function(e) {
3638
- O(t, e);
3659
+ ve(t, e);
3639
3660
  function t(r, n, i) {
3640
3661
  var o = e.call(this, r) || this;
3641
3662
  return o.code = n, o.originalMessage = i, o;
@@ -3644,155 +3665,155 @@ var ye = (
3644
3665
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3645
3666
  }, t;
3646
3667
  }(Error)
3647
- ), Et = (
3668
+ ), xt = (
3648
3669
  /** @class */
3649
3670
  function(e) {
3650
- O(t, e);
3671
+ ve(t, e);
3651
3672
  function t(r, n, i, o) {
3652
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), X.INVALID_VALUE, o) || this;
3673
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), V.INVALID_VALUE, o) || this;
3653
3674
  }
3654
3675
  return t;
3655
- }(ye)
3656
- ), ri = (
3676
+ }(Ee)
3677
+ ), ii = (
3657
3678
  /** @class */
3658
3679
  function(e) {
3659
- O(t, e);
3680
+ ve(t, e);
3660
3681
  function t(r, n, i) {
3661
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), X.INVALID_VALUE, i) || this;
3682
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), V.INVALID_VALUE, i) || this;
3662
3683
  }
3663
3684
  return t;
3664
- }(ye)
3665
- ), ni = (
3685
+ }(Ee)
3686
+ ), oi = (
3666
3687
  /** @class */
3667
3688
  function(e) {
3668
- O(t, e);
3689
+ ve(t, e);
3669
3690
  function t(r, n) {
3670
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), X.MISSING_VALUE, n) || this;
3691
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), V.MISSING_VALUE, n) || this;
3671
3692
  }
3672
3693
  return t;
3673
- }(ye)
3674
- ), x;
3694
+ }(Ee)
3695
+ ), _;
3675
3696
  (function(e) {
3676
3697
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3677
- })(x || (x = {}));
3678
- function ii(e) {
3698
+ })(_ || (_ = {}));
3699
+ function si(e) {
3679
3700
  return e.length < 2 ? e : e.reduce(function(t, r) {
3680
3701
  var n = t[t.length - 1];
3681
- return !n || n.type !== x.literal || r.type !== x.literal ? t.push(r) : n.value += r.value, t;
3702
+ return !n || n.type !== _.literal || r.type !== _.literal ? t.push(r) : n.value += r.value, t;
3682
3703
  }, []);
3683
3704
  }
3684
- function oi(e) {
3705
+ function ai(e) {
3685
3706
  return typeof e == "function";
3686
3707
  }
3687
3708
  function ce(e, t, r, n, i, o, s) {
3688
- if (e.length === 1 && pt(e[0]))
3709
+ if (e.length === 1 && dt(e[0]))
3689
3710
  return [
3690
3711
  {
3691
- type: x.literal,
3712
+ type: _.literal,
3692
3713
  value: e[0].value
3693
3714
  }
3694
3715
  ];
3695
3716
  for (var a = [], u = 0, h = e; u < h.length; u++) {
3696
3717
  var l = h[u];
3697
- if (pt(l)) {
3718
+ if (dt(l)) {
3698
3719
  a.push({
3699
- type: x.literal,
3720
+ type: _.literal,
3700
3721
  value: l.value
3701
3722
  });
3702
3723
  continue;
3703
3724
  }
3704
- if (Hn(l)) {
3725
+ if (An(l)) {
3705
3726
  typeof o == "number" && a.push({
3706
- type: x.literal,
3727
+ type: _.literal,
3707
3728
  value: r.getNumberFormat(t).format(o)
3708
3729
  });
3709
3730
  continue;
3710
3731
  }
3711
3732
  var c = l.value;
3712
3733
  if (!(i && c in i))
3713
- throw new ni(c, s);
3734
+ throw new oi(c, s);
3714
3735
  var f = i[c];
3715
- if (Bn(l)) {
3736
+ if (Pn(l)) {
3716
3737
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3717
- type: typeof f == "string" ? x.literal : x.object,
3738
+ type: typeof f == "string" ? _.literal : _.object,
3718
3739
  value: f
3719
3740
  });
3720
3741
  continue;
3721
3742
  }
3722
- if (kt(l)) {
3723
- var m = typeof l.style == "string" ? n.date[l.style] : $e(l.style) ? l.style.parsedOptions : void 0;
3743
+ if (Vt(l)) {
3744
+ var m = typeof l.style == "string" ? n.date[l.style] : Fe(l.style) ? l.style.parsedOptions : void 0;
3724
3745
  a.push({
3725
- type: x.literal,
3746
+ type: _.literal,
3726
3747
  value: r.getDateTimeFormat(t, m).format(f)
3727
3748
  });
3728
3749
  continue;
3729
3750
  }
3730
- if (Vt(l)) {
3731
- var m = typeof l.style == "string" ? n.time[l.style] : $e(l.style) ? l.style.parsedOptions : n.time.medium;
3751
+ if (Xt(l)) {
3752
+ var m = typeof l.style == "string" ? n.time[l.style] : Fe(l.style) ? l.style.parsedOptions : n.time.medium;
3732
3753
  a.push({
3733
- type: x.literal,
3754
+ type: _.literal,
3734
3755
  value: r.getDateTimeFormat(t, m).format(f)
3735
3756
  });
3736
3757
  continue;
3737
3758
  }
3738
- if (jt(l)) {
3739
- var m = typeof l.style == "string" ? n.number[l.style] : Zt(l.style) ? l.style.parsedOptions : void 0;
3759
+ if (kt(l)) {
3760
+ var m = typeof l.style == "string" ? n.number[l.style] : Qt(l.style) ? l.style.parsedOptions : void 0;
3740
3761
  m && m.scale && (f = f * (m.scale || 1)), a.push({
3741
- type: x.literal,
3762
+ type: _.literal,
3742
3763
  value: r.getNumberFormat(t, m).format(f)
3743
3764
  });
3744
3765
  continue;
3745
3766
  }
3746
- if (Wt(l)) {
3747
- var y = l.children, g = l.value, w = i[g];
3748
- if (!oi(w))
3749
- throw new ri(g, "function", s);
3750
- var N = ce(y, t, r, n, i, o), I = w(N.map(function(S) {
3767
+ if (Zt(l)) {
3768
+ var g = l.children, b = l.value, T = i[b];
3769
+ if (!ai(T))
3770
+ throw new ii(b, "function", s);
3771
+ var L = ce(g, t, r, n, i, o), I = T(L.map(function(S) {
3751
3772
  return S.value;
3752
3773
  }));
3753
3774
  Array.isArray(I) || (I = [I]), a.push.apply(a, I.map(function(S) {
3754
3775
  return {
3755
- type: typeof S == "string" ? x.literal : x.object,
3776
+ type: typeof S == "string" ? _.literal : _.object,
3756
3777
  value: S
3757
3778
  };
3758
3779
  }));
3759
3780
  }
3760
- if (Xt(l)) {
3761
- var _ = l.options[f] || l.options.other;
3762
- if (!_)
3763
- throw new Et(l.value, f, Object.keys(l.options), s);
3764
- a.push.apply(a, ce(_.value, t, r, n, i));
3781
+ if (zt(l)) {
3782
+ var x = l.options[f] || l.options.other;
3783
+ if (!x)
3784
+ throw new xt(l.value, f, Object.keys(l.options), s);
3785
+ a.push.apply(a, ce(x.value, t, r, n, i));
3765
3786
  continue;
3766
3787
  }
3767
- if (zt(l)) {
3768
- var _ = l.options["=".concat(f)];
3769
- if (!_) {
3788
+ if (Wt(l)) {
3789
+ var x = l.options["=".concat(f)];
3790
+ if (!x) {
3770
3791
  if (!Intl.PluralRules)
3771
- throw new ye(`Intl.PluralRules is not available in this environment.
3792
+ throw new Ee(`Intl.PluralRules is not available in this environment.
3772
3793
  Try polyfilling it using "@formatjs/intl-pluralrules"
3773
- `, X.MISSING_INTL_API, s);
3794
+ `, V.MISSING_INTL_API, s);
3774
3795
  var H = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3775
- _ = l.options[H] || l.options.other;
3796
+ x = l.options[H] || l.options.other;
3776
3797
  }
3777
- if (!_)
3778
- throw new Et(l.value, f, Object.keys(l.options), s);
3779
- a.push.apply(a, ce(_.value, t, r, n, i, f - (l.offset || 0)));
3798
+ if (!x)
3799
+ throw new xt(l.value, f, Object.keys(l.options), s);
3800
+ a.push.apply(a, ce(x.value, t, r, n, i, f - (l.offset || 0)));
3780
3801
  continue;
3781
3802
  }
3782
3803
  }
3783
- return ii(a);
3804
+ return si(a);
3784
3805
  }
3785
- function si(e, t) {
3786
- return t ? b(b(b({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3787
- return r[n] = b(b({}, e[n]), t[n] || {}), r;
3806
+ function ui(e, t) {
3807
+ return t ? P(P(P({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3808
+ return r[n] = P(P({}, e[n]), t[n] || {}), r;
3788
3809
  }, {})) : e;
3789
3810
  }
3790
- function ai(e, t) {
3811
+ function hi(e, t) {
3791
3812
  return t ? Object.keys(e).reduce(function(r, n) {
3792
- return r[n] = si(e[n], t[n]), r;
3793
- }, b({}, e)) : e;
3813
+ return r[n] = ui(e[n], t[n]), r;
3814
+ }, P({}, e)) : e;
3794
3815
  }
3795
- function Pe(e) {
3816
+ function Oe(e) {
3796
3817
  return {
3797
3818
  create: function() {
3798
3819
  return {
@@ -3806,39 +3827,39 @@ function Pe(e) {
3806
3827
  }
3807
3828
  };
3808
3829
  }
3809
- function ui(e) {
3830
+ function li(e) {
3810
3831
  return e === void 0 && (e = {
3811
3832
  number: {},
3812
3833
  dateTime: {},
3813
3834
  pluralRules: {}
3814
3835
  }), {
3815
- getNumberFormat: we(function() {
3836
+ getNumberFormat: He(function() {
3816
3837
  for (var t, r = [], n = 0; n < arguments.length; n++)
3817
3838
  r[n] = arguments[n];
3818
- return new ((t = Intl.NumberFormat).bind.apply(t, j([void 0], r, !1)))();
3839
+ return new ((t = Intl.NumberFormat).bind.apply(t, Be([void 0], r, !1)))();
3819
3840
  }, {
3820
- cache: Pe(e.number),
3821
- strategy: Be.variadic
3841
+ cache: Oe(e.number),
3842
+ strategy: Pe.variadic
3822
3843
  }),
3823
- getDateTimeFormat: we(function() {
3844
+ getDateTimeFormat: He(function() {
3824
3845
  for (var t, r = [], n = 0; n < arguments.length; n++)
3825
3846
  r[n] = arguments[n];
3826
- return new ((t = Intl.DateTimeFormat).bind.apply(t, j([void 0], r, !1)))();
3847
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Be([void 0], r, !1)))();
3827
3848
  }, {
3828
- cache: Pe(e.dateTime),
3829
- strategy: Be.variadic
3849
+ cache: Oe(e.dateTime),
3850
+ strategy: Pe.variadic
3830
3851
  }),
3831
- getPluralRules: we(function() {
3852
+ getPluralRules: He(function() {
3832
3853
  for (var t, r = [], n = 0; n < arguments.length; n++)
3833
3854
  r[n] = arguments[n];
3834
- return new ((t = Intl.PluralRules).bind.apply(t, j([void 0], r, !1)))();
3855
+ return new ((t = Intl.PluralRules).bind.apply(t, Be([void 0], r, !1)))();
3835
3856
  }, {
3836
- cache: Pe(e.pluralRules),
3837
- strategy: Be.variadic
3857
+ cache: Oe(e.pluralRules),
3858
+ strategy: Pe.variadic
3838
3859
  })
3839
3860
  };
3840
3861
  }
3841
- var hi = (
3862
+ var ci = (
3842
3863
  /** @class */
3843
3864
  function() {
3844
3865
  function e(t, r, n, i) {
@@ -3853,7 +3874,7 @@ var hi = (
3853
3874
  if (h.length === 1)
3854
3875
  return h[0].value;
3855
3876
  var l = h.reduce(function(c, f) {
3856
- return !c.length || f.type !== x.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3877
+ return !c.length || f.type !== _.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3857
3878
  }, []);
3858
3879
  return l.length <= 1 ? l[0] || "" : l;
3859
3880
  }, this.formatToParts = function(u) {
@@ -3870,13 +3891,13 @@ var hi = (
3870
3891
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3871
3892
  var s = i || {};
3872
3893
  s.formatters;
3873
- var a = Gr(s, ["formatters"]);
3874
- this.ast = e.__parse(t, b(b({}, a), { locale: this.resolvedLocale }));
3894
+ var a = En(s, ["formatters"]);
3895
+ this.ast = e.__parse(t, P(P({}, a), { locale: this.resolvedLocale }));
3875
3896
  } else
3876
3897
  this.ast = t;
3877
3898
  if (!Array.isArray(this.ast))
3878
3899
  throw new TypeError("A message must be provided as a String or AST.");
3879
- this.formats = ai(e.formats, n), this.formatters = i && i.formatters || ui(this.formatterCache);
3900
+ this.formats = hi(e.formats, n), this.formatters = i && i.formatters || li(this.formatterCache);
3880
3901
  }
3881
3902
  return Object.defineProperty(e, "defaultLocale", {
3882
3903
  get: function() {
@@ -3889,7 +3910,7 @@ var hi = (
3889
3910
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3890
3911
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3891
3912
  }
3892
- }, e.__parse = ti, e.formats = {
3913
+ }, e.__parse = ni, e.formats = {
3893
3914
  number: {
3894
3915
  integer: {
3895
3916
  maximumFractionDigits: 0
@@ -3950,7 +3971,7 @@ var hi = (
3950
3971
  }, e;
3951
3972
  }()
3952
3973
  );
3953
- function li(e, t) {
3974
+ function fi(e, t) {
3954
3975
  if (t == null)
3955
3976
  return;
3956
3977
  if (t in e)
@@ -3971,92 +3992,92 @@ function li(e, t) {
3971
3992
  n = void 0;
3972
3993
  return n;
3973
3994
  }
3974
- const L = {}, ci = (e, t, r) => r && (t in L || (L[t] = {}), e in L[t] || (L[t][e] = r), r), rr = (e, t) => {
3995
+ const N = {}, pi = (e, t, r) => r && (t in N || (N[t] = {}), e in N[t] || (N[t][e] = r), r), nr = (e, t) => {
3975
3996
  if (t == null)
3976
3997
  return;
3977
- if (t in L && e in L[t])
3978
- return L[t][e];
3979
- const r = ve(t);
3998
+ if (t in N && e in N[t])
3999
+ return N[t][e];
4000
+ const r = _e(t);
3980
4001
  for (let n = 0; n < r.length; n++) {
3981
- const i = r[n], o = pi(i, e);
4002
+ const i = r[n], o = di(i, e);
3982
4003
  if (o)
3983
- return ci(e, t, o);
4004
+ return pi(e, t, o);
3984
4005
  }
3985
4006
  };
3986
- let Qe;
3987
- const ne = ge({});
3988
- function fi(e) {
3989
- return Qe[e] || null;
4007
+ let Ye;
4008
+ const ne = ye({});
4009
+ function mi(e) {
4010
+ return Ye[e] || null;
3990
4011
  }
3991
- function nr(e) {
3992
- return e in Qe;
4012
+ function ir(e) {
4013
+ return e in Ye;
3993
4014
  }
3994
- function pi(e, t) {
3995
- if (!nr(e))
4015
+ function di(e, t) {
4016
+ if (!ir(e))
3996
4017
  return null;
3997
- const r = fi(e);
3998
- return li(r, t);
4018
+ const r = mi(e);
4019
+ return fi(r, t);
3999
4020
  }
4000
- function mi(e) {
4021
+ function bi(e) {
4001
4022
  if (e == null)
4002
4023
  return;
4003
- const t = ve(e);
4024
+ const t = _e(e);
4004
4025
  for (let r = 0; r < t.length; r++) {
4005
4026
  const n = t[r];
4006
- if (nr(n))
4027
+ if (ir(n))
4007
4028
  return n;
4008
4029
  }
4009
4030
  }
4010
- function ir(e, ...t) {
4011
- delete L[e], ne.update((r) => (r[e] = vn.all([r[e] || {}, ...t]), r));
4031
+ function or(e, ...t) {
4032
+ delete N[e], ne.update((r) => (r[e] = vn.all([r[e] || {}, ...t]), r));
4012
4033
  }
4013
- W(
4034
+ z(
4014
4035
  [ne],
4015
4036
  ([e]) => Object.keys(e)
4016
4037
  );
4017
- ne.subscribe((e) => Qe = e);
4038
+ ne.subscribe((e) => Ye = e);
4018
4039
  const fe = {};
4019
- function di(e, t) {
4040
+ function gi(e, t) {
4020
4041
  fe[e].delete(t), fe[e].size === 0 && delete fe[e];
4021
4042
  }
4022
- function or(e) {
4043
+ function sr(e) {
4023
4044
  return fe[e];
4024
4045
  }
4025
- function bi(e) {
4026
- return ve(e).map((t) => {
4027
- const r = or(t);
4046
+ function yi(e) {
4047
+ return _e(e).map((t) => {
4048
+ const r = sr(t);
4028
4049
  return [t, r ? [...r] : []];
4029
4050
  }).filter(([, t]) => t.length > 0);
4030
4051
  }
4031
- function ke(e) {
4032
- return e == null ? !1 : ve(e).some(
4052
+ function We(e) {
4053
+ return e == null ? !1 : _e(e).some(
4033
4054
  (t) => {
4034
4055
  var r;
4035
- return (r = or(t)) == null ? void 0 : r.size;
4056
+ return (r = sr(t)) == null ? void 0 : r.size;
4036
4057
  }
4037
4058
  );
4038
4059
  }
4039
- function gi(e, t) {
4060
+ function vi(e, t) {
4040
4061
  return Promise.all(
4041
- t.map((n) => (di(e, n), n().then((i) => i.default || i)))
4042
- ).then((n) => ir(e, ...n));
4043
- }
4044
- const J = {};
4045
- function sr(e) {
4046
- if (!ke(e))
4047
- return e in J ? J[e] : Promise.resolve();
4048
- const t = bi(e);
4049
- return J[e] = Promise.all(
4062
+ t.map((n) => (gi(e, n), n().then((i) => i.default || i)))
4063
+ ).then((n) => or(e, ...n));
4064
+ }
4065
+ const Q = {};
4066
+ function ar(e) {
4067
+ if (!We(e))
4068
+ return e in Q ? Q[e] : Promise.resolve();
4069
+ const t = yi(e);
4070
+ return Q[e] = Promise.all(
4050
4071
  t.map(
4051
- ([r, n]) => gi(r, n)
4072
+ ([r, n]) => vi(r, n)
4052
4073
  )
4053
4074
  ).then(() => {
4054
- if (ke(e))
4055
- return sr(e);
4056
- delete J[e];
4057
- }), J[e];
4075
+ if (We(e))
4076
+ return ar(e);
4077
+ delete Q[e];
4078
+ }), Q[e];
4058
4079
  }
4059
- const yi = {
4080
+ const Ei = {
4060
4081
  number: {
4061
4082
  scientific: { notation: "scientific" },
4062
4083
  engineering: { notation: "engineering" },
@@ -4085,135 +4106,135 @@ const yi = {
4085
4106
  timeZoneName: "short"
4086
4107
  }
4087
4108
  }
4088
- }, vi = {
4109
+ }, _i = {
4089
4110
  fallbackLocale: null,
4090
4111
  loadingDelay: 200,
4091
- formats: yi,
4112
+ formats: Ei,
4092
4113
  warnOnMissingMessages: !0,
4093
4114
  handleMissingMessage: void 0,
4094
4115
  ignoreTag: !0
4095
- }, Ei = vi;
4096
- function z() {
4097
- return Ei;
4116
+ }, xi = _i;
4117
+ function X() {
4118
+ return xi;
4098
4119
  }
4099
- const Ae = ge(!1);
4100
- var xi = Object.defineProperty, _i = Object.defineProperties, Si = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, Ti = Object.prototype.hasOwnProperty, wi = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Bi = (e, t) => {
4120
+ const Ie = ye(!1);
4121
+ 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) => {
4101
4122
  for (var r in t || (t = {}))
4102
- Ti.call(t, r) && _t(e, r, t[r]);
4103
- if (xt)
4104
- for (var r of xt(t))
4105
- wi.call(t, r) && _t(e, r, t[r]);
4123
+ Bi.call(t, r) && wt(e, r, t[r]);
4124
+ if (St)
4125
+ for (var r of St(t))
4126
+ Hi.call(t, r) && wt(e, r, t[r]);
4106
4127
  return e;
4107
- }, Hi = (e, t) => _i(e, Si(t));
4108
- let Ve;
4109
- const me = ge(null);
4110
- function St(e) {
4128
+ }, Ai = (e, t) => wi(e, Ti(t));
4129
+ let Ze;
4130
+ const de = ye(null);
4131
+ function Tt(e) {
4111
4132
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4112
4133
  }
4113
- function ve(e, t = z().fallbackLocale) {
4114
- const r = St(e);
4115
- return t ? [.../* @__PURE__ */ new Set([...r, ...St(t)])] : r;
4134
+ function _e(e, t = X().fallbackLocale) {
4135
+ const r = Tt(e);
4136
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Tt(t)])] : r;
4116
4137
  }
4117
4138
  function M() {
4118
- return Ve != null ? Ve : void 0;
4139
+ return Ze != null ? Ze : void 0;
4119
4140
  }
4120
- me.subscribe((e) => {
4121
- Ve = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4141
+ de.subscribe((e) => {
4142
+ Ze = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4122
4143
  });
4123
- const Pi = (e) => {
4124
- if (e && mi(e) && ke(e)) {
4125
- const { loadingDelay: t } = z();
4144
+ const Oi = (e) => {
4145
+ if (e && bi(e) && We(e)) {
4146
+ const { loadingDelay: t } = X();
4126
4147
  let r;
4127
4148
  return typeof window != "undefined" && M() != null && t ? r = window.setTimeout(
4128
- () => Ae.set(!0),
4149
+ () => Ie.set(!0),
4129
4150
  t
4130
- ) : Ae.set(!0), sr(e).then(() => {
4131
- me.set(e);
4151
+ ) : Ie.set(!0), ar(e).then(() => {
4152
+ de.set(e);
4132
4153
  }).finally(() => {
4133
- clearTimeout(r), Ae.set(!1);
4154
+ clearTimeout(r), Ie.set(!1);
4134
4155
  });
4135
4156
  }
4136
- return me.set(e);
4137
- }, Z = Hi(Bi({}, me), {
4138
- set: Pi
4139
- }), Ee = (e) => {
4157
+ return de.set(e);
4158
+ }, W = Ai(Pi({}, de), {
4159
+ set: Oi
4160
+ }), xe = (e) => {
4140
4161
  const t = /* @__PURE__ */ Object.create(null);
4141
4162
  return (n) => {
4142
4163
  const i = JSON.stringify(n);
4143
4164
  return i in t ? t[i] : t[i] = e(n);
4144
4165
  };
4145
4166
  };
4146
- var Ai = Object.defineProperty, de = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Je = (e, t) => {
4167
+ 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) => {
4147
4168
  for (var r in t || (t = {}))
4148
- ar.call(t, r) && Tt(e, r, t[r]);
4149
- if (de)
4150
- for (var r of de(t))
4151
- ur.call(t, r) && Tt(e, r, t[r]);
4169
+ ur.call(t, r) && Bt(e, r, t[r]);
4170
+ if (be)
4171
+ for (var r of be(t))
4172
+ hr.call(t, r) && Bt(e, r, t[r]);
4152
4173
  return e;
4153
- }, Q = (e, t) => {
4174
+ }, Z = (e, t) => {
4154
4175
  var r = {};
4155
4176
  for (var n in e)
4156
- ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4157
- if (e != null && de)
4158
- for (var n of de(e))
4159
- t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
4177
+ ur.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4178
+ if (e != null && be)
4179
+ for (var n of be(e))
4180
+ t.indexOf(n) < 0 && hr.call(e, n) && (r[n] = e[n]);
4160
4181
  return r;
4161
4182
  };
4162
- const te = (e, t) => {
4163
- const { formats: r } = z();
4183
+ const ee = (e, t) => {
4184
+ const { formats: r } = X();
4164
4185
  if (e in r && t in r[e])
4165
4186
  return r[e][t];
4166
4187
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4167
- }, Oi = Ee(
4188
+ }, Ni = xe(
4168
4189
  (e) => {
4169
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
4190
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4170
4191
  if (r == null)
4171
4192
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4172
- return n && (i = te("number", n)), new Intl.NumberFormat(r, i);
4193
+ return n && (i = ee("number", n)), new Intl.NumberFormat(r, i);
4173
4194
  }
4174
- ), Ii = Ee(
4195
+ ), Li = xe(
4175
4196
  (e) => {
4176
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
4197
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4177
4198
  if (r == null)
4178
4199
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4179
- return n ? i = te("date", n) : Object.keys(i).length === 0 && (i = te("date", "short")), new Intl.DateTimeFormat(r, i);
4200
+ return n ? i = ee("date", n) : Object.keys(i).length === 0 && (i = ee("date", "short")), new Intl.DateTimeFormat(r, i);
4180
4201
  }
4181
- ), Li = Ee(
4202
+ ), Ci = xe(
4182
4203
  (e) => {
4183
- var t = e, { locale: r, format: n } = t, i = Q(t, ["locale", "format"]);
4204
+ var t = e, { locale: r, format: n } = t, i = Z(t, ["locale", "format"]);
4184
4205
  if (r == null)
4185
4206
  throw new Error(
4186
4207
  '[svelte-i18n] A "locale" must be set to format time values'
4187
4208
  );
4188
- return n ? i = te("time", n) : Object.keys(i).length === 0 && (i = te("time", "short")), new Intl.DateTimeFormat(r, i);
4209
+ return n ? i = ee("time", n) : Object.keys(i).length === 0 && (i = ee("time", "short")), new Intl.DateTimeFormat(r, i);
4189
4210
  }
4190
- ), Ni = (e = {}) => {
4211
+ ), Mi = (e = {}) => {
4191
4212
  var t = e, {
4192
4213
  locale: r = M()
4193
- } = t, n = Q(t, [
4214
+ } = t, n = Z(t, [
4194
4215
  "locale"
4195
4216
  ]);
4196
- return Oi(Je({ locale: r }, n));
4197
- }, Ci = (e = {}) => {
4217
+ return Ni(qe({ locale: r }, n));
4218
+ }, $i = (e = {}) => {
4198
4219
  var t = e, {
4199
4220
  locale: r = M()
4200
- } = t, n = Q(t, [
4221
+ } = t, n = Z(t, [
4201
4222
  "locale"
4202
4223
  ]);
4203
- return Ii(Je({ locale: r }, n));
4204
- }, Mi = (e = {}) => {
4224
+ return Li(qe({ locale: r }, n));
4225
+ }, Ri = (e = {}) => {
4205
4226
  var t = e, {
4206
4227
  locale: r = M()
4207
- } = t, n = Q(t, [
4228
+ } = t, n = Z(t, [
4208
4229
  "locale"
4209
4230
  ]);
4210
- return Li(Je({ locale: r }, n));
4211
- }, Ri = Ee(
4231
+ return Ci(qe({ locale: r }, n));
4232
+ }, Ui = xe(
4212
4233
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4213
- (e, t = M()) => new hi(e, t, z().formats, {
4214
- ignoreTag: z().ignoreTag
4234
+ (e, t = M()) => new ci(e, t, X().formats, {
4235
+ ignoreTag: X().ignoreTag
4215
4236
  })
4216
- ), $i = (e, t = {}) => {
4237
+ ), Di = (e, t = {}) => {
4217
4238
  var r, n, i, o;
4218
4239
  let s = t;
4219
4240
  typeof e == "object" && (s = e, e = s.id);
@@ -4226,9 +4247,9 @@ const te = (e, t) => {
4226
4247
  throw new Error(
4227
4248
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4228
4249
  );
4229
- let l = rr(e, u);
4250
+ let l = nr(e, u);
4230
4251
  if (!l)
4231
- 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;
4252
+ 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;
4232
4253
  else if (typeof l != "string")
4233
4254
  return console.warn(
4234
4255
  `[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.`
@@ -4237,7 +4258,7 @@ const te = (e, t) => {
4237
4258
  return l;
4238
4259
  let c = l;
4239
4260
  try {
4240
- c = Ri(l, u).format(a);
4261
+ c = Ui(l, u).format(a);
4241
4262
  } catch (f) {
4242
4263
  f instanceof Error && console.warn(
4243
4264
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4245,21 +4266,21 @@ const te = (e, t) => {
4245
4266
  );
4246
4267
  }
4247
4268
  return c;
4248
- }, Ui = (e, t) => Mi(t).format(e), Di = (e, t) => Ci(t).format(e), Fi = (e, t) => Ni(t).format(e), Gi = (e, t = M()) => rr(e, t), ji = W([Z, ne], () => $i);
4249
- W([Z], () => Ui);
4250
- W([Z], () => Di);
4251
- W([Z], () => Fi);
4252
- W([Z, ne], () => Gi);
4269
+ }, 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);
4270
+ z([W], () => Gi);
4271
+ z([W], () => Fi);
4272
+ z([W], () => ji);
4273
+ z([W, ne], () => ki);
4253
4274
  window.emWidgets = { topic: tn };
4254
4275
  const ae = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4255
4276
  String(Number.MAX_SAFE_INTEGER).length;
4256
- function wt(e, t) {
4257
- ir(e, t);
4277
+ function Ht(e, t) {
4278
+ or(e, t);
4258
4279
  }
4259
- function ki(e) {
4260
- Z.set(e);
4280
+ function Xi(e) {
4281
+ W.set(e);
4261
4282
  }
4262
- const Bt = {
4283
+ const Pt = {
4263
4284
  en: {
4264
4285
  panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
4265
4286
  },
@@ -4300,10 +4321,10 @@ const Bt = {
4300
4321
  panicButtonString: "Hold button for 3 seconds to take 24-hour timeout"
4301
4322
  }
4302
4323
  };
4303
- function Vi(e) {
4304
- br(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}}");
4324
+ function zi(e) {
4325
+ 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}}");
4305
4326
  }
4306
- function Xi(e) {
4327
+ function Wi(e) {
4307
4328
  let t, r, n, i = (
4308
4329
  /*customtext*/
4309
4330
  (e[0] || /*$_*/
@@ -4311,13 +4332,13 @@ function Xi(e) {
4311
4332
  ), o, s;
4312
4333
  return {
4313
4334
  c() {
4314
- t = Y("div"), r = Y("div"), n = Y("button"), o = vr(i), C(n, "class", "PanicButton " + (ae(
4335
+ t = J("div"), r = J("div"), n = J("button"), o = Er(i), C(n, "class", "PanicButton " + (ae(
4315
4336
  /*userAgent*/
4316
4337
  e[6]
4317
4338
  ) !== "PC" ? "PanicButtonMobile" : "")), C(n, "part", "PanicButton " + (ae(
4318
4339
  /*userAgent*/
4319
4340
  e[6]
4320
- ) !== "PC" ? "PanicButtonMobile" : "")), nt(
4341
+ ) !== "PC" ? "PanicButtonMobile" : "")), ot(
4321
4342
  n,
4322
4343
  "PanicButtonAnimation",
4323
4344
  /*panicLoading*/
@@ -4332,14 +4353,14 @@ function Xi(e) {
4332
4353
  e[1] == "true" ? "PanicButtonV2" : "");
4333
4354
  },
4334
4355
  m(a, u) {
4335
- Ot(a, t, u), ue(t, r), ue(r, n), ue(n, o), e[12](n), e[13](t);
4356
+ Nt(a, t, u), ue(t, r), ue(r, n), ue(n, o), e[12](n), e[13](t);
4336
4357
  },
4337
4358
  p(a, [u]) {
4338
4359
  u & /*customtext, $_*/
4339
4360
  33 && i !== (i = /*customtext*/
4340
4361
  (a[0] || /*$_*/
4341
4362
  a[5]("panicButtonString")) + "") && xr(o, i), u & /*panicLoading*/
4342
- 16 && nt(
4363
+ 16 && ot(
4343
4364
  n,
4344
4365
  "PanicButtonAnimation",
4345
4366
  /*panicLoading*/
@@ -4351,63 +4372,63 @@ function Xi(e) {
4351
4372
  i: B,
4352
4373
  o: B,
4353
4374
  d(a) {
4354
- a && ze(t), e[12](null), e[13](null);
4375
+ a && Je(t), e[12](null), e[13](null);
4355
4376
  }
4356
4377
  };
4357
4378
  }
4358
- function zi(e, t, r) {
4379
+ function Zi(e, t, r) {
4359
4380
  let n;
4360
- dr(e, ji, (v) => r(5, n = v));
4361
- 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;
4362
- const N = () => {
4363
- fetch(l).then(($) => $.json()).then(($) => {
4364
- Object.keys($).forEach((Ye) => {
4365
- wt(Ye, $[Ye]);
4381
+ br(e, Vi, (y) => r(5, n = y));
4382
+ 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;
4383
+ const L = () => {
4384
+ fetch(l).then((R) => R.json()).then((R) => {
4385
+ Object.keys(R).forEach((Ke) => {
4386
+ Ht(Ke, R[Ke]);
4366
4387
  });
4367
- }).catch(($) => {
4368
- console.log($);
4388
+ }).catch((R) => {
4389
+ console.log(R);
4369
4390
  });
4370
4391
  };
4371
- Object.keys(Bt).forEach((v) => {
4372
- wt(v, Bt[v]);
4392
+ Object.keys(Pt).forEach((y) => {
4393
+ Ht(y, Pt[y]);
4373
4394
  });
4374
4395
  const I = () => {
4375
4396
  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);
4376
- }, _ = () => {
4397
+ }, x = () => {
4377
4398
  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);
4378
4399
  }, H = () => {
4379
- y = 0, r(4, m = !0), g = setInterval(
4400
+ g = 0, r(4, m = !0), b = setInterval(
4380
4401
  () => {
4381
- y++, y >= 2 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(g), typeof gtag == "function" && gtag("event", "PanicButtonClicked", { context: "PanicButton" }));
4402
+ g++, g >= 2 && (window.postMessage({ type: "PanicButtonClicked" }, window.location.href), clearInterval(b), typeof gtag == "function" && gtag("event", "PanicButtonClicked", { context: "PanicButton" }));
4382
4403
  },
4383
4404
  1e3
4384
4405
  );
4385
4406
  }, S = () => {
4386
- r(4, m = !1), clearInterval(g);
4407
+ r(4, m = !1), clearInterval(b);
4387
4408
  };
4388
4409
  Tr(() => () => {
4389
- _();
4410
+ x();
4390
4411
  });
4391
- function R(v) {
4392
- pe[v ? "unshift" : "push"](() => {
4393
- c = v, r(2, c);
4412
+ function $(y) {
4413
+ pe[y ? "unshift" : "push"](() => {
4414
+ c = y, r(2, c);
4394
4415
  });
4395
4416
  }
4396
- function ie(v) {
4397
- pe[v ? "unshift" : "push"](() => {
4398
- f = v, r(3, f);
4417
+ function ie(y) {
4418
+ pe[y ? "unshift" : "push"](() => {
4419
+ f = y, r(3, f);
4399
4420
  });
4400
4421
  }
4401
- return e.$$set = (v) => {
4402
- "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);
4422
+ return e.$$set = (y) => {
4423
+ "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);
4403
4424
  }, e.$$.update = () => {
4404
4425
  e.$$.dirty & /*panicButton*/
4405
4426
  4 && c && I(), e.$$.dirty & /*lang*/
4406
- 128 && i && ki(i), e.$$.dirty & /*clientstyling, customStylingContainer*/
4407
- 264 && s && f && Ur(f, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4408
- 520 && a && f && Dr(f, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4427
+ 128 && i && Xi(i), e.$$.dirty & /*clientstyling, customStylingContainer*/
4428
+ 264 && s && f && Dr(f, s), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4429
+ 520 && a && f && Gr(f, a), e.$$.dirty & /*mbsource, customStylingContainer*/
4409
4430
  1032 && u && f && Fr(f, `${u}.Style`), e.$$.dirty & /*translationurl*/
4410
- 2048 && l && N();
4431
+ 2048 && l && L();
4411
4432
  }, [
4412
4433
  o,
4413
4434
  h,
@@ -4415,24 +4436,24 @@ function zi(e, t, r) {
4415
4436
  f,
4416
4437
  m,
4417
4438
  n,
4418
- w,
4439
+ T,
4419
4440
  i,
4420
4441
  s,
4421
4442
  a,
4422
4443
  u,
4423
4444
  l,
4424
- R,
4445
+ $,
4425
4446
  ie
4426
4447
  ];
4427
4448
  }
4428
- class Wi extends Rr {
4449
+ class Qi extends Rr {
4429
4450
  constructor(t) {
4430
- super(), Cr(
4451
+ super(), Mr(
4431
4452
  this,
4432
4453
  t,
4433
- zi,
4434
- Xi,
4435
- Pt,
4454
+ Zi,
4455
+ Wi,
4456
+ Ot,
4436
4457
  {
4437
4458
  lang: 7,
4438
4459
  customtext: 0,
@@ -4442,53 +4463,53 @@ class Wi extends Rr {
4442
4463
  alternativestyling: 1,
4443
4464
  translationurl: 11
4444
4465
  },
4445
- Vi
4466
+ zi
4446
4467
  );
4447
4468
  }
4448
4469
  get lang() {
4449
4470
  return this.$$.ctx[7];
4450
4471
  }
4451
4472
  set lang(t) {
4452
- this.$$set({ lang: t }), P();
4473
+ this.$$set({ lang: t }), A();
4453
4474
  }
4454
4475
  get customtext() {
4455
4476
  return this.$$.ctx[0];
4456
4477
  }
4457
4478
  set customtext(t) {
4458
- this.$$set({ customtext: t }), P();
4479
+ this.$$set({ customtext: t }), A();
4459
4480
  }
4460
4481
  get clientstyling() {
4461
4482
  return this.$$.ctx[8];
4462
4483
  }
4463
4484
  set clientstyling(t) {
4464
- this.$$set({ clientstyling: t }), P();
4485
+ this.$$set({ clientstyling: t }), A();
4465
4486
  }
4466
4487
  get clientstylingurl() {
4467
4488
  return this.$$.ctx[9];
4468
4489
  }
4469
4490
  set clientstylingurl(t) {
4470
- this.$$set({ clientstylingurl: t }), P();
4491
+ this.$$set({ clientstylingurl: t }), A();
4471
4492
  }
4472
4493
  get mbsource() {
4473
4494
  return this.$$.ctx[10];
4474
4495
  }
4475
4496
  set mbsource(t) {
4476
- this.$$set({ mbsource: t }), P();
4497
+ this.$$set({ mbsource: t }), A();
4477
4498
  }
4478
4499
  get alternativestyling() {
4479
4500
  return this.$$.ctx[1];
4480
4501
  }
4481
4502
  set alternativestyling(t) {
4482
- this.$$set({ alternativestyling: t }), P();
4503
+ this.$$set({ alternativestyling: t }), A();
4483
4504
  }
4484
4505
  get translationurl() {
4485
4506
  return this.$$.ctx[11];
4486
4507
  }
4487
4508
  set translationurl(t) {
4488
- this.$$set({ translationurl: t }), P();
4509
+ this.$$set({ translationurl: t }), A();
4489
4510
  }
4490
4511
  }
4491
- Mr(Wi, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
4512
+ $r(Qi, { lang: {}, customtext: {}, clientstyling: {}, clientstylingurl: {}, mbsource: {}, alternativestyling: {}, translationurl: {} }, [], [], !0);
4492
4513
  export {
4493
- Wi as default
4514
+ Qi as default
4494
4515
  };