@everymatrix/player-panic-button 1.86.2 → 1.86.3

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