@everymatrix/general-logout 1.53.11 → 1.54.0

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,46 +1,75 @@
1
- function A() {
1
+ var lr = Object.defineProperty, fr = Object.defineProperties;
2
+ var cr = Object.getOwnPropertyDescriptors;
3
+ var qe = Object.getOwnPropertySymbols;
4
+ var dr = Object.prototype.hasOwnProperty, pr = 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, Ke = (e, t) => {
6
+ for (var r in t || (t = {}))
7
+ dr.call(t, r) && Se(e, r, t[r]);
8
+ if (qe)
9
+ for (var r of qe(t))
10
+ pr.call(t, r) && Se(e, r, t[r]);
11
+ return e;
12
+ }, et = (e, t) => fr(e, cr(t));
13
+ var T = (e, t, r) => Se(e, typeof t != "symbol" ? t + "" : t, r);
14
+ var tt = (e, t, r) => new Promise((n, i) => {
15
+ var o = (h) => {
16
+ try {
17
+ a(r.next(h));
18
+ } catch (u) {
19
+ i(u);
20
+ }
21
+ }, s = (h) => {
22
+ try {
23
+ a(r.throw(h));
24
+ } catch (u) {
25
+ i(u);
26
+ }
27
+ }, a = (h) => h.done ? n(h.value) : Promise.resolve(h.value).then(o, s);
28
+ a((r = r.apply(e, t)).next());
29
+ });
30
+ function w() {
2
31
  }
3
- function xt(e) {
32
+ function Bt(e) {
4
33
  return e();
5
34
  }
6
- function Je() {
35
+ function rt() {
7
36
  return /* @__PURE__ */ Object.create(null);
8
37
  }
9
- function ie(e) {
10
- e.forEach(xt);
38
+ function oe(e) {
39
+ e.forEach(Bt);
11
40
  }
12
- function Xe(e) {
41
+ function ze(e) {
13
42
  return typeof e == "function";
14
43
  }
15
- function Et(e, t) {
44
+ function At(e, t) {
16
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
46
  }
18
- function ir(e) {
47
+ function mr(e) {
19
48
  return Object.keys(e).length === 0;
20
49
  }
21
- function _t(e, ...t) {
50
+ function wt(e, ...t) {
22
51
  if (e == null) {
23
52
  for (const n of t)
24
53
  n(void 0);
25
- return A;
54
+ return w;
26
55
  }
27
56
  const r = e.subscribe(...t);
28
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
58
  }
30
- function or(e, t, r) {
31
- e.$$.on_destroy.push(_t(t, r));
59
+ function br(e, t, r) {
60
+ e.$$.on_destroy.push(wt(t, r));
32
61
  }
33
62
  function _(e, t) {
34
63
  e.appendChild(t);
35
64
  }
36
- function sr(e, t, r) {
37
- const n = ar(e);
65
+ function gr(e, t, r) {
66
+ const n = yr(e);
38
67
  if (!n.getElementById(t)) {
39
- const i = I("style");
40
- i.id = t, i.textContent = r, ur(n, i);
68
+ const i = N("style");
69
+ i.id = t, i.textContent = r, vr(n, i);
41
70
  }
42
71
  }
43
- function ar(e) {
72
+ function yr(e) {
44
73
  if (!e) return document;
45
74
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
46
75
  return t && /** @type {ShadowRoot} */
@@ -49,48 +78,48 @@ function ar(e) {
49
78
  t
50
79
  ) : e.ownerDocument;
51
80
  }
52
- function ur(e, t) {
81
+ function vr(e, t) {
53
82
  return _(
54
83
  /** @type {Document} */
55
84
  e.head || e,
56
85
  t
57
86
  ), t.sheet;
58
87
  }
59
- function oe(e, t, r) {
88
+ function se(e, t, r) {
60
89
  e.insertBefore(t, r || null);
61
90
  }
62
- function Q(e) {
91
+ function J(e) {
63
92
  e.parentNode && e.parentNode.removeChild(e);
64
93
  }
65
- function I(e) {
94
+ function N(e) {
66
95
  return document.createElement(e);
67
96
  }
68
- function K(e) {
97
+ function ee(e) {
69
98
  return document.createElementNS("http://www.w3.org/2000/svg", e);
70
99
  }
71
- function be(e) {
100
+ function ge(e) {
72
101
  return document.createTextNode(e);
73
102
  }
74
- function hr() {
75
- return be(" ");
103
+ function xr() {
104
+ return ge(" ");
76
105
  }
77
- function St(e, t, r, n) {
106
+ function Pt(e, t, r, n) {
78
107
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
79
108
  }
80
- function T(e, t, r) {
109
+ function H(e, t, r) {
81
110
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
82
111
  }
83
- function lr(e) {
112
+ function Er(e) {
84
113
  return Array.from(e.childNodes);
85
114
  }
86
- function Tt(e, t) {
115
+ function Ot(e, t) {
87
116
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
88
117
  t);
89
118
  }
90
- function fr(e, t, r, n) {
119
+ function _r(e, t, r, n) {
91
120
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
92
121
  }
93
- function cr(e) {
122
+ function Sr(e) {
94
123
  const t = {};
95
124
  return e.childNodes.forEach(
96
125
  /** @param {Element} node */
@@ -99,86 +128,86 @@ function cr(e) {
99
128
  }
100
129
  ), t;
101
130
  }
102
- let We;
103
- function te(e) {
104
- We = e;
105
- }
106
- const j = [], Pe = [];
107
- let k = [];
108
- const Ye = [], dr = /* @__PURE__ */ Promise.resolve();
109
- let Oe = !1;
110
- function pr() {
111
- Oe || (Oe = !0, dr.then(O));
112
- }
113
- function Ie(e) {
114
- k.push(e);
115
- }
116
- const _e = /* @__PURE__ */ new Set();
117
- let G = 0;
118
- function O() {
119
- if (G !== 0)
131
+ let Ze;
132
+ function re(e) {
133
+ Ze = e;
134
+ }
135
+ const k = [], Ie = [];
136
+ let V = [];
137
+ const nt = [], Tr = /* @__PURE__ */ Promise.resolve();
138
+ let Ne = !1;
139
+ function Hr() {
140
+ Ne || (Ne = !0, Tr.then(I));
141
+ }
142
+ function Le(e) {
143
+ V.push(e);
144
+ }
145
+ const Te = /* @__PURE__ */ new Set();
146
+ let F = 0;
147
+ function I() {
148
+ if (F !== 0)
120
149
  return;
121
- const e = We;
150
+ const e = Ze;
122
151
  do {
123
152
  try {
124
- for (; G < j.length; ) {
125
- const t = j[G];
126
- G++, te(t), mr(t.$$);
153
+ for (; F < k.length; ) {
154
+ const t = k[F];
155
+ F++, re(t), Br(t.$$);
127
156
  }
128
157
  } catch (t) {
129
- throw j.length = 0, G = 0, t;
158
+ throw k.length = 0, F = 0, t;
130
159
  }
131
- for (te(null), j.length = 0, G = 0; Pe.length; ) Pe.pop()();
132
- for (let t = 0; t < k.length; t += 1) {
133
- const r = k[t];
134
- _e.has(r) || (_e.add(r), r());
160
+ for (re(null), k.length = 0, F = 0; Ie.length; ) Ie.pop()();
161
+ for (let t = 0; t < V.length; t += 1) {
162
+ const r = V[t];
163
+ Te.has(r) || (Te.add(r), r());
135
164
  }
136
- k.length = 0;
137
- } while (j.length);
138
- for (; Ye.length; )
139
- Ye.pop()();
140
- Oe = !1, _e.clear(), te(e);
165
+ V.length = 0;
166
+ } while (k.length);
167
+ for (; nt.length; )
168
+ nt.pop()();
169
+ Ne = !1, Te.clear(), re(e);
141
170
  }
142
- function mr(e) {
171
+ function Br(e) {
143
172
  if (e.fragment !== null) {
144
- e.update(), ie(e.before_update);
173
+ e.update(), oe(e.before_update);
145
174
  const t = e.dirty;
146
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ie);
175
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Le);
147
176
  }
148
177
  }
149
- function br(e) {
178
+ function Ar(e) {
150
179
  const t = [], r = [];
151
- k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
180
+ V.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), V = t;
152
181
  }
153
- const gr = /* @__PURE__ */ new Set();
154
- function yr(e, t) {
155
- e && e.i && (gr.delete(e), e.i(t));
182
+ const wr = /* @__PURE__ */ new Set();
183
+ function Pr(e, t) {
184
+ e && e.i && (wr.delete(e), e.i(t));
156
185
  }
157
- function vr(e, t, r) {
186
+ function Or(e, t, r) {
158
187
  const { fragment: n, after_update: i } = e.$$;
159
- n && n.m(t, r), Ie(() => {
160
- const o = e.$$.on_mount.map(xt).filter(Xe);
161
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ie(o), e.$$.on_mount = [];
162
- }), i.forEach(Ie);
188
+ n && n.m(t, r), Le(() => {
189
+ const o = e.$$.on_mount.map(Bt).filter(ze);
190
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : oe(o), e.$$.on_mount = [];
191
+ }), i.forEach(Le);
163
192
  }
164
- function xr(e, t) {
193
+ function Ir(e, t) {
165
194
  const r = e.$$;
166
- r.fragment !== null && (br(r.after_update), ie(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
195
+ r.fragment !== null && (Ar(r.after_update), oe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
167
196
  }
168
- function Er(e, t) {
169
- e.$$.dirty[0] === -1 && (j.push(e), pr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
197
+ function Nr(e, t) {
198
+ e.$$.dirty[0] === -1 && (k.push(e), Hr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
170
199
  }
171
- function _r(e, t, r, n, i, o, s = null, a = [-1]) {
172
- const h = We;
173
- te(e);
200
+ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
201
+ const h = Ze;
202
+ re(e);
174
203
  const u = e.$$ = {
175
204
  fragment: null,
176
205
  ctx: [],
177
206
  // state
178
207
  props: o,
179
- update: A,
208
+ update: w,
180
209
  not_equal: i,
181
- bound: Je(),
210
+ bound: rt(),
182
211
  // lifecycle
183
212
  on_mount: [],
184
213
  on_destroy: [],
@@ -187,7 +216,7 @@ function _r(e, t, r, n, i, o, s = null, a = [-1]) {
187
216
  after_update: [],
188
217
  context: new Map(t.context || (h ? h.$$.context : [])),
189
218
  // everything else
190
- callbacks: Je(),
219
+ callbacks: rt(),
191
220
  dirty: a,
192
221
  skip_bound: !1,
193
222
  root: t.target || h.$$.root
@@ -196,137 +225,141 @@ function _r(e, t, r, n, i, o, s = null, a = [-1]) {
196
225
  let l = !1;
197
226
  if (u.ctx = r(e, t.props || {}, (c, f, ...d) => {
198
227
  const y = d.length ? d[0] : f;
199
- return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && Er(e, c)), f;
200
- }), u.update(), l = !0, ie(u.before_update), u.fragment = n(u.ctx), t.target) {
228
+ return u.ctx && i(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && Nr(e, c)), f;
229
+ }), u.update(), l = !0, oe(u.before_update), u.fragment = n(u.ctx), t.target) {
201
230
  if (t.hydrate) {
202
- const c = lr(t.target);
203
- u.fragment && u.fragment.l(c), c.forEach(Q);
231
+ const c = Er(t.target);
232
+ u.fragment && u.fragment.l(c), c.forEach(J);
204
233
  } else
205
234
  u.fragment && u.fragment.c();
206
- t.intro && yr(e.$$.fragment), vr(e, t.target, t.anchor), O();
235
+ t.intro && Pr(e.$$.fragment), Or(e, t.target, t.anchor), I();
207
236
  }
208
- te(h);
209
- }
210
- let Ht;
211
- typeof HTMLElement == "function" && (Ht = class extends HTMLElement {
212
- /** The Svelte component constructor */
213
- $$ctor;
214
- /** Slots */
215
- $$s;
216
- /** The Svelte component instance */
217
- $$c;
218
- /** Whether or not the custom element is connected */
219
- $$cn = !1;
220
- /** Component props data */
221
- $$d = {};
222
- /** `true` if currently in the process of reflecting component props back to attributes */
223
- $$r = !1;
224
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
225
- $$p_d = {};
226
- /** @type {Record<string, Function[]>} Event listeners */
227
- $$l = {};
228
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
229
- $$l_u = /* @__PURE__ */ new Map();
230
- constructor(e, t, r) {
231
- super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
237
+ re(h);
238
+ }
239
+ let It;
240
+ typeof HTMLElement == "function" && (It = class extends HTMLElement {
241
+ constructor(t, r, n) {
242
+ super();
243
+ /** The Svelte component constructor */
244
+ T(this, "$$ctor");
245
+ /** Slots */
246
+ T(this, "$$s");
247
+ /** The Svelte component instance */
248
+ T(this, "$$c");
249
+ /** Whether or not the custom element is connected */
250
+ T(this, "$$cn", !1);
251
+ /** Component props data */
252
+ T(this, "$$d", {});
253
+ /** `true` if currently in the process of reflecting component props back to attributes */
254
+ T(this, "$$r", !1);
255
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
256
+ T(this, "$$p_d", {});
257
+ /** @type {Record<string, Function[]>} Event listeners */
258
+ T(this, "$$l", {});
259
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
260
+ T(this, "$$l_u", /* @__PURE__ */ new Map());
261
+ this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
232
262
  }
233
- addEventListener(e, t, r) {
234
- if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
235
- const n = this.$$c.$on(e, t);
236
- this.$$l_u.set(t, n);
263
+ addEventListener(t, r, n) {
264
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
265
+ const i = this.$$c.$on(t, r);
266
+ this.$$l_u.set(r, i);
237
267
  }
238
- super.addEventListener(e, t, r);
268
+ super.addEventListener(t, r, n);
239
269
  }
240
- removeEventListener(e, t, r) {
241
- if (super.removeEventListener(e, t, r), this.$$c) {
242
- const n = this.$$l_u.get(t);
243
- n && (n(), this.$$l_u.delete(t));
270
+ removeEventListener(t, r, n) {
271
+ if (super.removeEventListener(t, r, n), this.$$c) {
272
+ const i = this.$$l_u.get(r);
273
+ i && (i(), this.$$l_u.delete(r));
244
274
  }
245
275
  }
246
- async connectedCallback() {
247
- if (this.$$cn = !0, !this.$$c) {
248
- let e = function(i) {
249
- return () => {
250
- let o;
251
- return {
252
- c: function() {
253
- o = I("slot"), i !== "default" && T(o, "name", i);
254
- },
255
- /**
256
- * @param {HTMLElement} target
257
- * @param {HTMLElement} [anchor]
258
- */
259
- m: function(h, u) {
260
- oe(h, o, u);
261
- },
262
- d: function(h) {
263
- h && Q(o);
264
- }
276
+ connectedCallback() {
277
+ return tt(this, null, function* () {
278
+ if (this.$$cn = !0, !this.$$c) {
279
+ let t = function(o) {
280
+ return () => {
281
+ let s;
282
+ return {
283
+ c: function() {
284
+ s = N("slot"), o !== "default" && H(s, "name", o);
285
+ },
286
+ /**
287
+ * @param {HTMLElement} target
288
+ * @param {HTMLElement} [anchor]
289
+ */
290
+ m: function(u, l) {
291
+ se(u, s, l);
292
+ },
293
+ d: function(u) {
294
+ u && J(s);
295
+ }
296
+ };
265
297
  };
266
298
  };
267
- };
268
- if (await Promise.resolve(), !this.$$cn || this.$$c)
269
- return;
270
- const t = {}, r = cr(this);
271
- for (const i of this.$$s)
272
- i in r && (t[i] = [e(i)]);
273
- for (const i of this.attributes) {
274
- const o = this.$$g_p(i.name);
275
- o in this.$$d || (this.$$d[o] = le(o, i.value, this.$$p_d, "toProp"));
276
- }
277
- for (const i in this.$$p_d)
278
- !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
279
- this.$$c = new this.$$ctor({
280
- target: this.shadowRoot || this,
281
- props: {
282
- ...this.$$d,
283
- $$slots: t,
284
- $$scope: {
285
- ctx: []
286
- }
299
+ if (yield Promise.resolve(), !this.$$cn || this.$$c)
300
+ return;
301
+ const r = {}, n = Sr(this);
302
+ for (const o of this.$$s)
303
+ o in n && (r[o] = [t(o)]);
304
+ for (const o of this.attributes) {
305
+ const s = this.$$g_p(o.name);
306
+ s in this.$$d || (this.$$d[s] = fe(s, o.value, this.$$p_d, "toProp"));
287
307
  }
288
- });
289
- const n = () => {
290
- this.$$r = !0;
291
- for (const i in this.$$p_d)
292
- if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
293
- const o = le(
294
- i,
295
- this.$$d[i],
296
- this.$$p_d,
297
- "toAttribute"
298
- );
299
- o == null ? this.removeAttribute(this.$$p_d[i].attribute || i) : this.setAttribute(this.$$p_d[i].attribute || i, o);
308
+ for (const o in this.$$p_d)
309
+ !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
310
+ this.$$c = new this.$$ctor({
311
+ target: this.shadowRoot || this,
312
+ props: et(Ke({}, this.$$d), {
313
+ $$slots: r,
314
+ $$scope: {
315
+ ctx: []
316
+ }
317
+ })
318
+ });
319
+ const i = () => {
320
+ this.$$r = !0;
321
+ for (const o in this.$$p_d)
322
+ if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
323
+ const s = fe(
324
+ o,
325
+ this.$$d[o],
326
+ this.$$p_d,
327
+ "toAttribute"
328
+ );
329
+ s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
330
+ }
331
+ this.$$r = !1;
332
+ };
333
+ this.$$c.$$.after_update.push(i), i();
334
+ for (const o in this.$$l)
335
+ for (const s of this.$$l[o]) {
336
+ const a = this.$$c.$on(o, s);
337
+ this.$$l_u.set(s, a);
300
338
  }
301
- this.$$r = !1;
302
- };
303
- this.$$c.$$.after_update.push(n), n();
304
- for (const i in this.$$l)
305
- for (const o of this.$$l[i]) {
306
- const s = this.$$c.$on(i, o);
307
- this.$$l_u.set(o, s);
308
- }
309
- this.$$l = {};
310
- }
339
+ this.$$l = {};
340
+ }
341
+ });
311
342
  }
312
343
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
313
344
  // and setting attributes through setAttribute etc, this is helpful
314
- attributeChangedCallback(e, t, r) {
315
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = le(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
345
+ attributeChangedCallback(t, r, n) {
346
+ var i;
347
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = fe(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
316
348
  }
317
349
  disconnectedCallback() {
318
350
  this.$$cn = !1, Promise.resolve().then(() => {
319
351
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
320
352
  });
321
353
  }
322
- $$g_p(e) {
354
+ $$g_p(t) {
323
355
  return Object.keys(this.$$p_d).find(
324
- (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
325
- ) || e;
356
+ (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
357
+ ) || t;
326
358
  }
327
359
  });
328
- function le(e, t, r, n) {
329
- const i = r[e]?.type;
360
+ function fe(e, t, r, n) {
361
+ var o;
362
+ const i = (o = r[e]) == null ? void 0 : o.type;
330
363
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
331
364
  return t;
332
365
  if (n === "toAttribute")
@@ -337,7 +370,7 @@ function le(e, t, r, n) {
337
370
  case "Boolean":
338
371
  return t ? "" : null;
339
372
  case "Number":
340
- return t ?? null;
373
+ return t == null ? null : t;
341
374
  default:
342
375
  return t;
343
376
  }
@@ -354,8 +387,8 @@ function le(e, t, r, n) {
354
387
  return t;
355
388
  }
356
389
  }
357
- function Sr(e, t, r, n, i, o) {
358
- let s = class extends Ht {
390
+ function Mr(e, t, r, n, i, o) {
391
+ let s = class extends It {
359
392
  constructor() {
360
393
  super(e, r, i), this.$$p_d = t;
361
394
  }
@@ -371,38 +404,42 @@ function Sr(e, t, r, n, i, o) {
371
404
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
372
405
  },
373
406
  set(h) {
374
- h = le(a, h, t), this.$$d[a] = h, this.$$c?.$set({ [a]: h });
407
+ var u;
408
+ h = fe(a, h, t), this.$$d[a] = h, (u = this.$$c) == null || u.$set({ [a]: h });
375
409
  }
376
410
  });
377
411
  }), n.forEach((a) => {
378
412
  Object.defineProperty(s.prototype, a, {
379
413
  get() {
380
- return this.$$c?.[a];
414
+ var h;
415
+ return (h = this.$$c) == null ? void 0 : h[a];
381
416
  }
382
417
  });
383
418
  }), e.element = /** @type {any} */
384
419
  s, s;
385
420
  }
386
- class Tr {
387
- /**
388
- * ### PRIVATE API
389
- *
390
- * Do not use, may change at any time
391
- *
392
- * @type {any}
393
- */
394
- $$ = void 0;
395
- /**
396
- * ### PRIVATE API
397
- *
398
- * Do not use, may change at any time
399
- *
400
- * @type {any}
401
- */
402
- $$set = void 0;
421
+ class Cr {
422
+ constructor() {
423
+ /**
424
+ * ### PRIVATE API
425
+ *
426
+ * Do not use, may change at any time
427
+ *
428
+ * @type {any}
429
+ */
430
+ T(this, "$$");
431
+ /**
432
+ * ### PRIVATE API
433
+ *
434
+ * Do not use, may change at any time
435
+ *
436
+ * @type {any}
437
+ */
438
+ T(this, "$$set");
439
+ }
403
440
  /** @returns {void} */
404
441
  $destroy() {
405
- xr(this, 1), this.$destroy = A;
442
+ Ir(this, 1), this.$destroy = w;
406
443
  }
407
444
  /**
408
445
  * @template {Extract<keyof Events, string>} K
@@ -411,8 +448,8 @@ class Tr {
411
448
  * @returns {() => void}
412
449
  */
413
450
  $on(t, r) {
414
- if (!Xe(r))
415
- return A;
451
+ if (!ze(r))
452
+ return w;
416
453
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
417
454
  return n.push(r), () => {
418
455
  const i = n.indexOf(r);
@@ -424,22 +461,22 @@ class Tr {
424
461
  * @returns {void}
425
462
  */
426
463
  $set(t) {
427
- this.$$set && !ir(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
464
+ this.$$set && !mr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
428
465
  }
429
466
  }
430
- const Hr = "4";
431
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Hr);
432
- var Ne = function(e, t) {
433
- return Ne = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
467
+ const $r = "4";
468
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add($r);
469
+ var Me = function(e, t) {
470
+ return Me = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
434
471
  r.__proto__ = n;
435
472
  } || function(r, n) {
436
473
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
437
- }, Ne(e, t);
474
+ }, Me(e, t);
438
475
  };
439
- function L(e, t) {
476
+ function M(e, t) {
440
477
  if (typeof t != "function" && t !== null)
441
478
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
442
- Ne(e, t);
479
+ Me(e, t);
443
480
  function r() {
444
481
  this.constructor = e;
445
482
  }
@@ -454,7 +491,7 @@ var g = function() {
454
491
  return t;
455
492
  }, g.apply(this, arguments);
456
493
  };
457
- function Br(e, t) {
494
+ function Rr(e, t) {
458
495
  var r = {};
459
496
  for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
460
497
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -462,7 +499,7 @@ function Br(e, t) {
462
499
  t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
463
500
  return r;
464
501
  }
465
- function Le(e) {
502
+ function Ce(e) {
466
503
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
467
504
  if (r) return r.call(e);
468
505
  if (e && typeof e.length == "number") return {
@@ -472,7 +509,7 @@ function Le(e) {
472
509
  };
473
510
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
474
511
  }
475
- function Me(e, t) {
512
+ function $e(e, t) {
476
513
  var r = typeof Symbol == "function" && e[Symbol.iterator];
477
514
  if (!r) return e;
478
515
  var n = r.call(e), i, o = [], s;
@@ -489,21 +526,21 @@ function Me(e, t) {
489
526
  }
490
527
  return o;
491
528
  }
492
- function V(e, t, r) {
529
+ function X(e, t, r) {
493
530
  if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
494
531
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
495
532
  return e.concat(o || Array.prototype.slice.call(t));
496
533
  }
497
- function N(e) {
534
+ function L(e) {
498
535
  return typeof e == "function";
499
536
  }
500
- function Bt(e) {
537
+ function Nt(e) {
501
538
  var t = function(n) {
502
539
  Error.call(n), n.stack = new Error().stack;
503
540
  }, r = e(t);
504
541
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
505
542
  }
506
- var Se = Bt(function(e) {
543
+ var He = Nt(function(e) {
507
544
  return function(r) {
508
545
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
509
546
  ` + r.map(function(n, i) {
@@ -512,13 +549,13 @@ var Se = Bt(function(e) {
512
549
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
513
550
  };
514
551
  });
515
- function Ce(e, t) {
552
+ function Re(e, t) {
516
553
  if (e) {
517
554
  var r = e.indexOf(t);
518
555
  0 <= r && e.splice(r, 1);
519
556
  }
520
557
  }
521
- var ge = function() {
558
+ var ye = function() {
522
559
  function e(t) {
523
560
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
524
561
  }
@@ -530,7 +567,7 @@ var ge = function() {
530
567
  if (s)
531
568
  if (this._parentage = null, Array.isArray(s))
532
569
  try {
533
- for (var a = Le(s), h = a.next(); !h.done; h = a.next()) {
570
+ for (var a = Ce(s), h = a.next(); !h.done; h = a.next()) {
534
571
  var u = h.value;
535
572
  u.remove(this);
536
573
  }
@@ -546,22 +583,22 @@ var ge = function() {
546
583
  else
547
584
  s.remove(this);
548
585
  var l = this.initialTeardown;
549
- if (N(l))
586
+ if (L(l))
550
587
  try {
551
588
  l();
552
589
  } catch (v) {
553
- o = v instanceof Se ? v.errors : [v];
590
+ o = v instanceof He ? v.errors : [v];
554
591
  }
555
592
  var c = this._finalizers;
556
593
  if (c) {
557
594
  this._finalizers = null;
558
595
  try {
559
- for (var f = Le(c), d = f.next(); !d.done; d = f.next()) {
596
+ for (var f = Ce(c), d = f.next(); !d.done; d = f.next()) {
560
597
  var y = d.value;
561
598
  try {
562
- qe(y);
599
+ it(y);
563
600
  } catch (v) {
564
- o = o ?? [], v instanceof Se ? o = V(V([], Me(o)), Me(v.errors)) : o.push(v);
601
+ o = o != null ? o : [], v instanceof He ? o = X(X([], $e(o)), $e(v.errors)) : o.push(v);
565
602
  }
566
603
  }
567
604
  } catch (v) {
@@ -575,13 +612,13 @@ var ge = function() {
575
612
  }
576
613
  }
577
614
  if (o)
578
- throw new Se(o);
615
+ throw new He(o);
579
616
  }
580
617
  }, e.prototype.add = function(t) {
581
618
  var r;
582
619
  if (t && t !== this)
583
620
  if (this.closed)
584
- qe(t);
621
+ it(t);
585
622
  else {
586
623
  if (t instanceof e) {
587
624
  if (t.closed || t._hasParent(this))
@@ -598,56 +635,56 @@ var ge = function() {
598
635
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
599
636
  }, e.prototype._removeParent = function(t) {
600
637
  var r = this._parentage;
601
- r === t ? this._parentage = null : Array.isArray(r) && Ce(r, t);
638
+ r === t ? this._parentage = null : Array.isArray(r) && Re(r, t);
602
639
  }, e.prototype.remove = function(t) {
603
640
  var r = this._finalizers;
604
- r && Ce(r, t), t instanceof e && t._removeParent(this);
641
+ r && Re(r, t), t instanceof e && t._removeParent(this);
605
642
  }, e.EMPTY = function() {
606
643
  var t = new e();
607
644
  return t.closed = !0, t;
608
645
  }(), e;
609
- }(), At = ge.EMPTY;
610
- function wt(e) {
611
- return e instanceof ge || e && "closed" in e && N(e.remove) && N(e.add) && N(e.unsubscribe);
646
+ }(), Lt = ye.EMPTY;
647
+ function Mt(e) {
648
+ return e instanceof ye || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
612
649
  }
613
- function qe(e) {
614
- N(e) ? e() : e.unsubscribe();
650
+ function it(e) {
651
+ L(e) ? e() : e.unsubscribe();
615
652
  }
616
- var Ar = {
653
+ var Ur = {
617
654
  onUnhandledError: null,
618
655
  onStoppedNotification: null,
619
656
  Promise: void 0,
620
657
  useDeprecatedSynchronousErrorHandling: !1,
621
658
  useDeprecatedNextContext: !1
622
- }, wr = {
659
+ }, Dr = {
623
660
  setTimeout: function(e, t) {
624
661
  for (var r = [], n = 2; n < arguments.length; n++)
625
662
  r[n - 2] = arguments[n];
626
- return setTimeout.apply(void 0, V([e, t], Me(r)));
663
+ return setTimeout.apply(void 0, X([e, t], $e(r)));
627
664
  },
628
665
  clearTimeout: function(e) {
629
666
  return clearTimeout(e);
630
667
  },
631
668
  delegate: void 0
632
669
  };
633
- function Pr(e) {
634
- wr.setTimeout(function() {
670
+ function Gr(e) {
671
+ Dr.setTimeout(function() {
635
672
  throw e;
636
673
  });
637
674
  }
638
- function Ke() {
675
+ function ot() {
639
676
  }
640
- function fe(e) {
677
+ function ce(e) {
641
678
  e();
642
679
  }
643
- var Pt = function(e) {
644
- L(t, e);
680
+ var Ct = function(e) {
681
+ M(t, e);
645
682
  function t(r) {
646
683
  var n = e.call(this) || this;
647
- return n.isStopped = !1, r ? (n.destination = r, wt(r) && r.add(n)) : n.destination = Nr, n;
684
+ return n.isStopped = !1, r ? (n.destination = r, Mt(r) && r.add(n)) : n.destination = kr, n;
648
685
  }
649
686
  return t.create = function(r, n, i) {
650
- return new $e(r, n, i);
687
+ return new Ue(r, n, i);
651
688
  }, t.prototype.next = function(r) {
652
689
  this.isStopped || this._next(r);
653
690
  }, t.prototype.error = function(r) {
@@ -671,7 +708,7 @@ var Pt = function(e) {
671
708
  this.unsubscribe();
672
709
  }
673
710
  }, t;
674
- }(ge), Or = function() {
711
+ }(ye), Fr = function() {
675
712
  function e(t) {
676
713
  this.partialObserver = t;
677
714
  }
@@ -681,7 +718,7 @@ var Pt = function(e) {
681
718
  try {
682
719
  r.next(t);
683
720
  } catch (n) {
684
- ue(n);
721
+ he(n);
685
722
  }
686
723
  }, e.prototype.error = function(t) {
687
724
  var r = this.partialObserver;
@@ -689,56 +726,56 @@ var Pt = function(e) {
689
726
  try {
690
727
  r.error(t);
691
728
  } catch (n) {
692
- ue(n);
729
+ he(n);
693
730
  }
694
731
  else
695
- ue(t);
732
+ he(t);
696
733
  }, e.prototype.complete = function() {
697
734
  var t = this.partialObserver;
698
735
  if (t.complete)
699
736
  try {
700
737
  t.complete();
701
738
  } catch (r) {
702
- ue(r);
739
+ he(r);
703
740
  }
704
741
  }, e;
705
- }(), $e = function(e) {
706
- L(t, e);
742
+ }(), Ue = function(e) {
743
+ M(t, e);
707
744
  function t(r, n, i) {
708
745
  var o = e.call(this) || this, s;
709
- return N(r) || !r ? s = {
710
- next: r ?? void 0,
711
- error: n ?? void 0,
712
- complete: i ?? void 0
713
- } : s = r, o.destination = new Or(s), o;
746
+ return L(r) || !r ? s = {
747
+ next: r != null ? r : void 0,
748
+ error: n != null ? n : void 0,
749
+ complete: i != null ? i : void 0
750
+ } : s = r, o.destination = new Fr(s), o;
714
751
  }
715
752
  return t;
716
- }(Pt);
717
- function ue(e) {
718
- Pr(e);
753
+ }(Ct);
754
+ function he(e) {
755
+ Gr(e);
719
756
  }
720
- function Ir(e) {
757
+ function jr(e) {
721
758
  throw e;
722
759
  }
723
- var Nr = {
760
+ var kr = {
724
761
  closed: !0,
725
- next: Ke,
726
- error: Ir,
727
- complete: Ke
728
- }, Lr = function() {
762
+ next: ot,
763
+ error: jr,
764
+ complete: ot
765
+ }, Vr = function() {
729
766
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
730
767
  }();
731
- function Mr(e) {
768
+ function Xr(e) {
732
769
  return e;
733
770
  }
734
- function Cr(e) {
735
- return e.length === 0 ? Mr : e.length === 1 ? e[0] : function(r) {
771
+ function Wr(e) {
772
+ return e.length === 0 ? Xr : e.length === 1 ? e[0] : function(r) {
736
773
  return e.reduce(function(n, i) {
737
774
  return i(n);
738
775
  }, r);
739
776
  };
740
777
  }
741
- var et = function() {
778
+ var st = function() {
742
779
  function e(t) {
743
780
  t && (this._subscribe = t);
744
781
  }
@@ -746,8 +783,8 @@ var et = function() {
746
783
  var r = new e();
747
784
  return r.source = this, r.operator = t, r;
748
785
  }, e.prototype.subscribe = function(t, r, n) {
749
- var i = this, o = Rr(t) ? t : new $e(t, r, n);
750
- return fe(function() {
786
+ var i = this, o = Zr(t) ? t : new Ue(t, r, n);
787
+ return ce(function() {
751
788
  var s = i, a = s.operator, h = s.source;
752
789
  o.add(a ? a.call(o, h) : h ? i._subscribe(o) : i._trySubscribe(o));
753
790
  }), o;
@@ -759,8 +796,8 @@ var et = function() {
759
796
  }
760
797
  }, e.prototype.forEach = function(t, r) {
761
798
  var n = this;
762
- return r = tt(r), new r(function(i, o) {
763
- var s = new $e({
799
+ return r = at(r), new r(function(i, o) {
800
+ var s = new Ue({
764
801
  next: function(a) {
765
802
  try {
766
803
  t(a);
@@ -776,15 +813,15 @@ var et = function() {
776
813
  }, e.prototype._subscribe = function(t) {
777
814
  var r;
778
815
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
779
- }, e.prototype[Lr] = function() {
816
+ }, e.prototype[Vr] = function() {
780
817
  return this;
781
818
  }, e.prototype.pipe = function() {
782
819
  for (var t = [], r = 0; r < arguments.length; r++)
783
820
  t[r] = arguments[r];
784
- return Cr(t)(this);
821
+ return Wr(t)(this);
785
822
  }, e.prototype.toPromise = function(t) {
786
823
  var r = this;
787
- return t = tt(t), new t(function(n, i) {
824
+ return t = at(t), new t(function(n, i) {
788
825
  var o;
789
826
  r.subscribe(function(s) {
790
827
  return o = s;
@@ -798,40 +835,40 @@ var et = function() {
798
835
  return new e(t);
799
836
  }, e;
800
837
  }();
801
- function tt(e) {
838
+ function at(e) {
802
839
  var t;
803
- return (t = e ?? Ar.Promise) !== null && t !== void 0 ? t : Promise;
840
+ return (t = e != null ? e : Ur.Promise) !== null && t !== void 0 ? t : Promise;
804
841
  }
805
- function $r(e) {
806
- return e && N(e.next) && N(e.error) && N(e.complete);
842
+ function zr(e) {
843
+ return e && L(e.next) && L(e.error) && L(e.complete);
807
844
  }
808
- function Rr(e) {
809
- return e && e instanceof Pt || $r(e) && wt(e);
845
+ function Zr(e) {
846
+ return e && e instanceof Ct || zr(e) && Mt(e);
810
847
  }
811
- var Ur = Bt(function(e) {
848
+ var Qr = Nt(function(e) {
812
849
  return function() {
813
850
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
814
851
  };
815
- }), Ot = function(e) {
816
- L(t, e);
852
+ }), $t = function(e) {
853
+ M(t, e);
817
854
  function t() {
818
855
  var r = e.call(this) || this;
819
856
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
820
857
  }
821
858
  return t.prototype.lift = function(r) {
822
- var n = new rt(this, this);
859
+ var n = new ut(this, this);
823
860
  return n.operator = r, n;
824
861
  }, t.prototype._throwIfClosed = function() {
825
862
  if (this.closed)
826
- throw new Ur();
863
+ throw new Qr();
827
864
  }, t.prototype.next = function(r) {
828
865
  var n = this;
829
- fe(function() {
866
+ ce(function() {
830
867
  var i, o;
831
868
  if (n._throwIfClosed(), !n.isStopped) {
832
869
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
833
870
  try {
834
- for (var s = Le(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
871
+ for (var s = Ce(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
835
872
  var h = a.value;
836
873
  h.next(r);
837
874
  }
@@ -848,7 +885,7 @@ var Ur = Bt(function(e) {
848
885
  });
849
886
  }, t.prototype.error = function(r) {
850
887
  var n = this;
851
- fe(function() {
888
+ ce(function() {
852
889
  if (n._throwIfClosed(), !n.isStopped) {
853
890
  n.hasError = n.isStopped = !0, n.thrownError = r;
854
891
  for (var i = n.observers; i.length; )
@@ -857,7 +894,7 @@ var Ur = Bt(function(e) {
857
894
  });
858
895
  }, t.prototype.complete = function() {
859
896
  var r = this;
860
- fe(function() {
897
+ ce(function() {
861
898
  if (r._throwIfClosed(), !r.isStopped) {
862
899
  r.isStopped = !0;
863
900
  for (var n = r.observers; n.length; )
@@ -879,20 +916,20 @@ var Ur = Bt(function(e) {
879
916
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
880
917
  }, t.prototype._innerSubscribe = function(r) {
881
918
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
882
- return o || s ? At : (this.currentObservers = null, a.push(r), new ge(function() {
883
- n.currentObservers = null, Ce(a, r);
919
+ return o || s ? Lt : (this.currentObservers = null, a.push(r), new ye(function() {
920
+ n.currentObservers = null, Re(a, r);
884
921
  }));
885
922
  }, t.prototype._checkFinalizedStatuses = function(r) {
886
923
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
887
924
  i ? r.error(o) : s && r.complete();
888
925
  }, t.prototype.asObservable = function() {
889
- var r = new et();
926
+ var r = new st();
890
927
  return r.source = this, r;
891
928
  }, t.create = function(r, n) {
892
- return new rt(r, n);
929
+ return new ut(r, n);
893
930
  }, t;
894
- }(et), rt = function(e) {
895
- L(t, e);
931
+ }(st), ut = function(e) {
932
+ M(t, e);
896
933
  function t(r, n) {
897
934
  var i = e.call(this) || this;
898
935
  return i.destination = r, i.source = n, i;
@@ -908,17 +945,17 @@ var Ur = Bt(function(e) {
908
945
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
909
946
  }, t.prototype._subscribe = function(r) {
910
947
  var n, i;
911
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : At;
948
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Lt;
912
949
  }, t;
913
- }(Ot), It = {
950
+ }($t), Rt = {
914
951
  now: function() {
915
- return (It.delegate || Date).now();
952
+ return (Rt.delegate || Date).now();
916
953
  },
917
954
  delegate: void 0
918
- }, Dr = function(e) {
919
- L(t, e);
955
+ }, Jr = function(e) {
956
+ M(t, e);
920
957
  function t(r, n, i) {
921
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = It);
958
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Rt);
922
959
  var o = e.call(this) || this;
923
960
  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;
924
961
  }
@@ -938,65 +975,65 @@ var Ur = Bt(function(e) {
938
975
  u && o.splice(0, u + 1);
939
976
  }
940
977
  }, t;
941
- }(Ot);
942
- const nt = [], it = {}, Gr = (e, t = 0) => {
943
- if (nt.indexOf(e) == -1) {
944
- const r = new Dr(t);
945
- it[e] = r, nt.push(e);
978
+ }($t);
979
+ const ht = [], lt = {}, Yr = (e, t = 0) => {
980
+ if (ht.indexOf(e) == -1) {
981
+ const r = new Jr(t);
982
+ lt[e] = r, ht.push(e);
946
983
  }
947
- return it[e];
948
- }, F = [];
949
- function Fr(e, t) {
984
+ return lt[e];
985
+ }, j = [];
986
+ function qr(e, t) {
950
987
  return {
951
- subscribe: ye(e, t).subscribe
988
+ subscribe: ve(e, t).subscribe
952
989
  };
953
990
  }
954
- function ye(e, t = A) {
991
+ function ve(e, t = w) {
955
992
  let r;
956
993
  const n = /* @__PURE__ */ new Set();
957
994
  function i(a) {
958
- if (Et(e, a) && (e = a, r)) {
959
- const h = !F.length;
995
+ if (At(e, a) && (e = a, r)) {
996
+ const h = !j.length;
960
997
  for (const u of n)
961
- u[1](), F.push(u, e);
998
+ u[1](), j.push(u, e);
962
999
  if (h) {
963
- for (let u = 0; u < F.length; u += 2)
964
- F[u][0](F[u + 1]);
965
- F.length = 0;
1000
+ for (let u = 0; u < j.length; u += 2)
1001
+ j[u][0](j[u + 1]);
1002
+ j.length = 0;
966
1003
  }
967
1004
  }
968
1005
  }
969
1006
  function o(a) {
970
1007
  i(a(e));
971
1008
  }
972
- function s(a, h = A) {
1009
+ function s(a, h = w) {
973
1010
  const u = [a, h];
974
- return n.add(u), n.size === 1 && (r = t(i, o) || A), a(e), () => {
1011
+ return n.add(u), n.size === 1 && (r = t(i, o) || w), a(e), () => {
975
1012
  n.delete(u), n.size === 0 && r && (r(), r = null);
976
1013
  };
977
1014
  }
978
1015
  return { set: i, update: o, subscribe: s };
979
1016
  }
980
- function J(e, t, r) {
1017
+ function Y(e, t, r) {
981
1018
  const n = !Array.isArray(e), i = n ? [e] : e;
982
1019
  if (!i.every(Boolean))
983
1020
  throw new Error("derived() expects stores as input, got a falsy value");
984
1021
  const o = t.length < 2;
985
- return Fr(r, (s, a) => {
1022
+ return qr(r, (s, a) => {
986
1023
  let h = !1;
987
1024
  const u = [];
988
- let l = 0, c = A;
1025
+ let l = 0, c = w;
989
1026
  const f = () => {
990
1027
  if (l)
991
1028
  return;
992
1029
  c();
993
1030
  const y = t(n ? u[0] : u, s, a);
994
- o ? s(y) : c = Xe(y) ? y : A;
1031
+ o ? s(y) : c = ze(y) ? y : w;
995
1032
  }, d = i.map(
996
- (y, v) => _t(
1033
+ (y, v) => wt(
997
1034
  y,
998
- (H) => {
999
- u[v] = H, l &= ~(1 << v), h && f();
1035
+ (B) => {
1036
+ u[v] = B, l &= ~(1 << v), h && f();
1000
1037
  },
1001
1038
  () => {
1002
1039
  l |= 1 << v;
@@ -1004,118 +1041,118 @@ function J(e, t, r) {
1004
1041
  )
1005
1042
  );
1006
1043
  return h = !0, f(), function() {
1007
- ie(d), c(), h = !1;
1044
+ oe(d), c(), h = !1;
1008
1045
  };
1009
1046
  });
1010
1047
  }
1011
- function jr(e) {
1048
+ function Kr(e) {
1012
1049
  return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1013
1050
  }
1014
- var kr = function(t) {
1015
- return Vr(t) && !Xr(t);
1051
+ var en = function(t) {
1052
+ return tn(t) && !rn(t);
1016
1053
  };
1017
- function Vr(e) {
1054
+ function tn(e) {
1018
1055
  return !!e && typeof e == "object";
1019
1056
  }
1020
- function Xr(e) {
1057
+ function rn(e) {
1021
1058
  var t = Object.prototype.toString.call(e);
1022
- return t === "[object RegExp]" || t === "[object Date]" || Zr(e);
1059
+ return t === "[object RegExp]" || t === "[object Date]" || sn(e);
1023
1060
  }
1024
- var Wr = typeof Symbol == "function" && Symbol.for, zr = Wr ? Symbol.for("react.element") : 60103;
1025
- function Zr(e) {
1026
- return e.$$typeof === zr;
1061
+ var nn = typeof Symbol == "function" && Symbol.for, on = nn ? Symbol.for("react.element") : 60103;
1062
+ function sn(e) {
1063
+ return e.$$typeof === on;
1027
1064
  }
1028
- function Qr(e) {
1065
+ function an(e) {
1029
1066
  return Array.isArray(e) ? [] : {};
1030
1067
  }
1031
- function re(e, t) {
1032
- return t.clone !== !1 && t.isMergeableObject(e) ? X(Qr(e), e, t) : e;
1068
+ function ne(e, t) {
1069
+ return t.clone !== !1 && t.isMergeableObject(e) ? W(an(e), e, t) : e;
1033
1070
  }
1034
- function Jr(e, t, r) {
1071
+ function un(e, t, r) {
1035
1072
  return e.concat(t).map(function(n) {
1036
- return re(n, r);
1073
+ return ne(n, r);
1037
1074
  });
1038
1075
  }
1039
- function Yr(e, t) {
1076
+ function hn(e, t) {
1040
1077
  if (!t.customMerge)
1041
- return X;
1078
+ return W;
1042
1079
  var r = t.customMerge(e);
1043
- return typeof r == "function" ? r : X;
1080
+ return typeof r == "function" ? r : W;
1044
1081
  }
1045
- function qr(e) {
1082
+ function ln(e) {
1046
1083
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1047
1084
  return Object.propertyIsEnumerable.call(e, t);
1048
1085
  }) : [];
1049
1086
  }
1050
- function ot(e) {
1051
- return Object.keys(e).concat(qr(e));
1087
+ function ft(e) {
1088
+ return Object.keys(e).concat(ln(e));
1052
1089
  }
1053
- function Nt(e, t) {
1090
+ function Ut(e, t) {
1054
1091
  try {
1055
1092
  return t in e;
1056
- } catch {
1093
+ } catch (r) {
1057
1094
  return !1;
1058
1095
  }
1059
1096
  }
1060
- function Kr(e, t) {
1061
- return Nt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1097
+ function fn(e, t) {
1098
+ return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1062
1099
  }
1063
- function en(e, t, r) {
1100
+ function cn(e, t, r) {
1064
1101
  var n = {};
1065
- return r.isMergeableObject(e) && ot(e).forEach(function(i) {
1066
- n[i] = re(e[i], r);
1067
- }), ot(t).forEach(function(i) {
1068
- Kr(e, i) || (Nt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Yr(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1102
+ return r.isMergeableObject(e) && ft(e).forEach(function(i) {
1103
+ n[i] = ne(e[i], r);
1104
+ }), ft(t).forEach(function(i) {
1105
+ fn(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = hn(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1069
1106
  }), n;
1070
1107
  }
1071
- function X(e, t, r) {
1072
- r = r || {}, r.arrayMerge = r.arrayMerge || Jr, r.isMergeableObject = r.isMergeableObject || kr, r.cloneUnlessOtherwiseSpecified = re;
1108
+ function W(e, t, r) {
1109
+ r = r || {}, r.arrayMerge = r.arrayMerge || un, r.isMergeableObject = r.isMergeableObject || en, r.cloneUnlessOtherwiseSpecified = ne;
1073
1110
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1074
- return o ? n ? r.arrayMerge(e, t, r) : en(e, t, r) : re(t, r);
1111
+ return o ? n ? r.arrayMerge(e, t, r) : cn(e, t, r) : ne(t, r);
1075
1112
  }
1076
- X.all = function(t, r) {
1113
+ W.all = function(t, r) {
1077
1114
  if (!Array.isArray(t))
1078
1115
  throw new Error("first argument should be an array");
1079
1116
  return t.reduce(function(n, i) {
1080
- return X(n, i, r);
1117
+ return W(n, i, r);
1081
1118
  }, {});
1082
1119
  };
1083
- var tn = X, rn = tn;
1084
- const nn = /* @__PURE__ */ jr(rn);
1085
- function Te(e, t) {
1086
- var r = t && t.cache ? t.cache : fn, n = t && t.serializer ? t.serializer : hn, i = t && t.strategy ? t.strategy : sn;
1120
+ var dn = W, pn = dn;
1121
+ const mn = /* @__PURE__ */ Kr(pn);
1122
+ function Be(e, t) {
1123
+ var r = t && t.cache ? t.cache : _n, n = t && t.serializer ? t.serializer : xn, i = t && t.strategy ? t.strategy : gn;
1087
1124
  return i(e, {
1088
1125
  cache: r,
1089
1126
  serializer: n
1090
1127
  });
1091
1128
  }
1092
- function on(e) {
1129
+ function bn(e) {
1093
1130
  return e == null || typeof e == "number" || typeof e == "boolean";
1094
1131
  }
1095
- function Lt(e, t, r, n) {
1096
- var i = on(n) ? n : r(n), o = t.get(i);
1097
- return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1132
+ function Dt(e, t, r, n) {
1133
+ var i = bn(n) ? n : r(n), o = t.get(i);
1134
+ return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1098
1135
  }
1099
- function Mt(e, t, r) {
1136
+ function Gt(e, t, r) {
1100
1137
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1101
- return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1138
+ return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1102
1139
  }
1103
- function ze(e, t, r, n, i) {
1140
+ function Qe(e, t, r, n, i) {
1104
1141
  return r.bind(t, e, n, i);
1105
1142
  }
1106
- function sn(e, t) {
1107
- var r = e.length === 1 ? Lt : Mt;
1108
- return ze(e, this, r, t.cache.create(), t.serializer);
1143
+ function gn(e, t) {
1144
+ var r = e.length === 1 ? Dt : Gt;
1145
+ return Qe(e, this, r, t.cache.create(), t.serializer);
1109
1146
  }
1110
- function an(e, t) {
1111
- return ze(e, this, Mt, t.cache.create(), t.serializer);
1147
+ function yn(e, t) {
1148
+ return Qe(e, this, Gt, t.cache.create(), t.serializer);
1112
1149
  }
1113
- function un(e, t) {
1114
- return ze(e, this, Lt, t.cache.create(), t.serializer);
1150
+ function vn(e, t) {
1151
+ return Qe(e, this, Dt, t.cache.create(), t.serializer);
1115
1152
  }
1116
- var hn = function() {
1153
+ var xn = function() {
1117
1154
  return JSON.stringify(arguments);
1118
- }, ln = (
1155
+ }, En = (
1119
1156
  /** @class */
1120
1157
  function() {
1121
1158
  function e() {
@@ -1127,13 +1164,13 @@ var hn = function() {
1127
1164
  this.cache[t] = r;
1128
1165
  }, e;
1129
1166
  }()
1130
- ), fn = {
1167
+ ), _n = {
1131
1168
  create: function() {
1132
- return new ln();
1169
+ return new En();
1133
1170
  }
1134
- }, He = {
1135
- variadic: an,
1136
- monadic: un
1171
+ }, Ae = {
1172
+ variadic: yn,
1173
+ monadic: vn
1137
1174
  }, p;
1138
1175
  (function(e) {
1139
1176
  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";
@@ -1142,47 +1179,47 @@ var x;
1142
1179
  (function(e) {
1143
1180
  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";
1144
1181
  })(x || (x = {}));
1145
- var W;
1182
+ var z;
1146
1183
  (function(e) {
1147
1184
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1148
- })(W || (W = {}));
1149
- function st(e) {
1185
+ })(z || (z = {}));
1186
+ function ct(e) {
1150
1187
  return e.type === x.literal;
1151
1188
  }
1152
- function cn(e) {
1189
+ function Sn(e) {
1153
1190
  return e.type === x.argument;
1154
1191
  }
1155
- function Ct(e) {
1192
+ function Ft(e) {
1156
1193
  return e.type === x.number;
1157
1194
  }
1158
- function $t(e) {
1195
+ function jt(e) {
1159
1196
  return e.type === x.date;
1160
1197
  }
1161
- function Rt(e) {
1198
+ function kt(e) {
1162
1199
  return e.type === x.time;
1163
1200
  }
1164
- function Ut(e) {
1201
+ function Vt(e) {
1165
1202
  return e.type === x.select;
1166
1203
  }
1167
- function Dt(e) {
1204
+ function Xt(e) {
1168
1205
  return e.type === x.plural;
1169
1206
  }
1170
- function dn(e) {
1207
+ function Tn(e) {
1171
1208
  return e.type === x.pound;
1172
1209
  }
1173
- function Gt(e) {
1210
+ function Wt(e) {
1174
1211
  return e.type === x.tag;
1175
1212
  }
1176
- function Ft(e) {
1177
- return !!(e && typeof e == "object" && e.type === W.number);
1213
+ function zt(e) {
1214
+ return !!(e && typeof e == "object" && e.type === z.number);
1178
1215
  }
1179
- function Re(e) {
1180
- return !!(e && typeof e == "object" && e.type === W.dateTime);
1216
+ function De(e) {
1217
+ return !!(e && typeof e == "object" && e.type === z.dateTime);
1181
1218
  }
1182
- var jt = /[ \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;
1183
- function mn(e) {
1219
+ var Zt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Hn = /(?:[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;
1220
+ function Bn(e) {
1184
1221
  var t = {};
1185
- return e.replace(pn, function(r) {
1222
+ return e.replace(Hn, function(r) {
1186
1223
  var n = r.length;
1187
1224
  switch (r[0]) {
1188
1225
  case "G":
@@ -1271,11 +1308,11 @@ function mn(e) {
1271
1308
  return "";
1272
1309
  }), t;
1273
1310
  }
1274
- var bn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1275
- function gn(e) {
1311
+ var An = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1312
+ function wn(e) {
1276
1313
  if (e.length === 0)
1277
1314
  throw new Error("Number skeleton cannot be empty");
1278
- for (var t = e.split(bn).filter(function(f) {
1315
+ for (var t = e.split(An).filter(function(f) {
1279
1316
  return f.length > 0;
1280
1317
  }), r = [], n = 0, i = t; n < i.length; n++) {
1281
1318
  var o = i[n], s = o.split("/");
@@ -1290,17 +1327,17 @@ function gn(e) {
1290
1327
  }
1291
1328
  return r;
1292
1329
  }
1293
- function yn(e) {
1330
+ function Pn(e) {
1294
1331
  return e.replace(/^(.*?)-/, "");
1295
1332
  }
1296
- var at = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, kt = /^(@+)?(\+|#+)?[rs]?$/g, vn = /(\*)(0+)|(#+)(0+)|(0+)/g, Vt = /^(0+)$/;
1297
- function ut(e) {
1333
+ var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Qt = /^(@+)?(\+|#+)?[rs]?$/g, On = /(\*)(0+)|(#+)(0+)|(0+)/g, Jt = /^(0+)$/;
1334
+ function pt(e) {
1298
1335
  var t = {};
1299
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(kt, function(r, n, i) {
1336
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Qt, function(r, n, i) {
1300
1337
  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)), "";
1301
1338
  }), t;
1302
1339
  }
1303
- function Xt(e) {
1340
+ function Yt(e) {
1304
1341
  switch (e) {
1305
1342
  case "sign-auto":
1306
1343
  return {
@@ -1340,7 +1377,7 @@ function Xt(e) {
1340
1377
  };
1341
1378
  }
1342
1379
  }
1343
- function xn(e) {
1380
+ function In(e) {
1344
1381
  var t;
1345
1382
  if (e[0] === "E" && e[1] === "E" ? (t = {
1346
1383
  notation: "engineering"
@@ -1348,17 +1385,17 @@ function xn(e) {
1348
1385
  notation: "scientific"
1349
1386
  }, e = e.slice(1)), t) {
1350
1387
  var r = e.slice(0, 2);
1351
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Vt.test(e))
1388
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !Jt.test(e))
1352
1389
  throw new Error("Malformed concise eng/scientific notation");
1353
1390
  t.minimumIntegerDigits = e.length;
1354
1391
  }
1355
1392
  return t;
1356
1393
  }
1357
- function ht(e) {
1358
- var t = {}, r = Xt(e);
1394
+ function mt(e) {
1395
+ var t = {}, r = Yt(e);
1359
1396
  return r || t;
1360
1397
  }
1361
- function En(e) {
1398
+ function Nn(e) {
1362
1399
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1363
1400
  var i = n[r];
1364
1401
  switch (i.stem) {
@@ -1382,7 +1419,7 @@ function En(e) {
1382
1419
  continue;
1383
1420
  case "measure-unit":
1384
1421
  case "unit":
1385
- t.style = "unit", t.unit = yn(i.options[0]);
1422
+ t.style = "unit", t.unit = Pn(i.options[0]);
1386
1423
  continue;
1387
1424
  case "compact-short":
1388
1425
  case "K":
@@ -1394,12 +1431,12 @@ function En(e) {
1394
1431
  continue;
1395
1432
  case "scientific":
1396
1433
  t = g(g(g({}, t), { notation: "scientific" }), i.options.reduce(function(h, u) {
1397
- return g(g({}, h), ht(u));
1434
+ return g(g({}, h), mt(u));
1398
1435
  }, {}));
1399
1436
  continue;
1400
1437
  case "engineering":
1401
1438
  t = g(g(g({}, t), { notation: "engineering" }), i.options.reduce(function(h, u) {
1402
- return g(g({}, h), ht(u));
1439
+ return g(g({}, h), mt(u));
1403
1440
  }, {}));
1404
1441
  continue;
1405
1442
  case "notation-simple":
@@ -1444,7 +1481,7 @@ function En(e) {
1444
1481
  case "integer-width":
1445
1482
  if (i.options.length > 1)
1446
1483
  throw new RangeError("integer-width stems only accept a single optional option");
1447
- i.options[0].replace(vn, function(h, u, l, c, f, d) {
1484
+ i.options[0].replace(On, function(h, u, l, c, f, d) {
1448
1485
  if (u)
1449
1486
  t.minimumIntegerDigits = l.length;
1450
1487
  else {
@@ -1457,32 +1494,32 @@ function En(e) {
1457
1494
  });
1458
1495
  continue;
1459
1496
  }
1460
- if (Vt.test(i.stem)) {
1497
+ if (Jt.test(i.stem)) {
1461
1498
  t.minimumIntegerDigits = i.stem.length;
1462
1499
  continue;
1463
1500
  }
1464
- if (at.test(i.stem)) {
1501
+ if (dt.test(i.stem)) {
1465
1502
  if (i.options.length > 1)
1466
1503
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1467
- i.stem.replace(at, function(h, u, l, c, f, d) {
1504
+ i.stem.replace(dt, function(h, u, l, c, f, d) {
1468
1505
  return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && d ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1469
1506
  });
1470
1507
  var o = i.options[0];
1471
- o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), ut(o)));
1508
+ o === "w" ? t = g(g({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = g(g({}, t), pt(o)));
1472
1509
  continue;
1473
1510
  }
1474
- if (kt.test(i.stem)) {
1475
- t = g(g({}, t), ut(i.stem));
1511
+ if (Qt.test(i.stem)) {
1512
+ t = g(g({}, t), pt(i.stem));
1476
1513
  continue;
1477
1514
  }
1478
- var s = Xt(i.stem);
1515
+ var s = Yt(i.stem);
1479
1516
  s && (t = g(g({}, t), s));
1480
- var a = xn(i.stem);
1517
+ var a = In(i.stem);
1481
1518
  a && (t = g(g({}, t), a));
1482
1519
  }
1483
1520
  return t;
1484
1521
  }
1485
- var he = {
1522
+ var le = {
1486
1523
  "001": [
1487
1524
  "H",
1488
1525
  "h"
@@ -2897,13 +2934,13 @@ var he = {
2897
2934
  "h"
2898
2935
  ]
2899
2936
  };
2900
- function _n(e, t) {
2937
+ function Ln(e, t) {
2901
2938
  for (var r = "", n = 0; n < e.length; n++) {
2902
2939
  var i = e.charAt(n);
2903
2940
  if (i === "j") {
2904
2941
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
2905
2942
  o++, n++;
2906
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Sn(t);
2943
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Mn(t);
2907
2944
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2908
2945
  r += h;
2909
2946
  for (; s-- > 0; )
@@ -2912,7 +2949,7 @@ function _n(e, t) {
2912
2949
  }
2913
2950
  return r;
2914
2951
  }
2915
- function Sn(e) {
2952
+ function Mn(e) {
2916
2953
  var t = e.hourCycle;
2917
2954
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2918
2955
  e.hourCycles && // @ts-ignore
@@ -2931,23 +2968,23 @@ function Sn(e) {
2931
2968
  }
2932
2969
  var r = e.language, n;
2933
2970
  r !== "root" && (n = e.maximize().region);
2934
- var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
2971
+ var i = le[n || ""] || le[r || ""] || le["".concat(r, "-001")] || le["001"];
2935
2972
  return i[0];
2936
2973
  }
2937
- var Be, Tn = new RegExp("^".concat(jt.source, "*")), Hn = new RegExp("".concat(jt.source, "*$"));
2974
+ var we, Cn = new RegExp("^".concat(Zt.source, "*")), $n = new RegExp("".concat(Zt.source, "*$"));
2938
2975
  function m(e, t) {
2939
2976
  return { start: e, end: t };
2940
2977
  }
2941
- var Bn = !!String.prototype.startsWith && "_a".startsWith("a", 1), An = !!String.fromCodePoint, wn = !!Object.fromEntries, Pn = !!String.prototype.codePointAt, On = !!String.prototype.trimStart, In = !!String.prototype.trimEnd, Nn = !!Number.isSafeInteger, Ln = Nn ? Number.isSafeInteger : function(e) {
2978
+ var Rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Un = !!String.fromCodePoint, Dn = !!Object.fromEntries, Gn = !!String.prototype.codePointAt, Fn = !!String.prototype.trimStart, jn = !!String.prototype.trimEnd, kn = !!Number.isSafeInteger, Vn = kn ? Number.isSafeInteger : function(e) {
2942
2979
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2943
- }, Ue = !0;
2980
+ }, Ge = !0;
2944
2981
  try {
2945
- var Mn = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2946
- Ue = ((Be = Mn.exec("a")) === null || Be === void 0 ? void 0 : Be[0]) === "a";
2947
- } catch {
2948
- Ue = !1;
2982
+ var Xn = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2983
+ Ge = ((we = Xn.exec("a")) === null || we === void 0 ? void 0 : we[0]) === "a";
2984
+ } catch (e) {
2985
+ Ge = !1;
2949
2986
  }
2950
- var lt = Bn ? (
2987
+ var bt = Rn ? (
2951
2988
  // Native
2952
2989
  function(t, r, n) {
2953
2990
  return t.startsWith(r, n);
@@ -2957,7 +2994,7 @@ var lt = Bn ? (
2957
2994
  function(t, r, n) {
2958
2995
  return t.slice(n, n + r.length) === r;
2959
2996
  }
2960
- ), De = An ? String.fromCodePoint : (
2997
+ ), Fe = Un ? String.fromCodePoint : (
2961
2998
  // IE11
2962
2999
  function() {
2963
3000
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -2969,9 +3006,9 @@ var lt = Bn ? (
2969
3006
  }
2970
3007
  return n;
2971
3008
  }
2972
- ), ft = (
3009
+ ), gt = (
2973
3010
  // native
2974
- wn ? Object.fromEntries : (
3011
+ Dn ? Object.fromEntries : (
2975
3012
  // Ponyfill
2976
3013
  function(t) {
2977
3014
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -2981,7 +3018,7 @@ var lt = Bn ? (
2981
3018
  return r;
2982
3019
  }
2983
3020
  )
2984
- ), Wt = Pn ? (
3021
+ ), qt = Gn ? (
2985
3022
  // Native
2986
3023
  function(t, r) {
2987
3024
  return t.codePointAt(r);
@@ -2995,7 +3032,7 @@ var lt = Bn ? (
2995
3032
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
2996
3033
  }
2997
3034
  }
2998
- ), Cn = On ? (
3035
+ ), Wn = Fn ? (
2999
3036
  // Native
3000
3037
  function(t) {
3001
3038
  return t.trimStart();
@@ -3003,9 +3040,9 @@ var lt = Bn ? (
3003
3040
  ) : (
3004
3041
  // Ponyfill
3005
3042
  function(t) {
3006
- return t.replace(Tn, "");
3043
+ return t.replace(Cn, "");
3007
3044
  }
3008
- ), $n = In ? (
3045
+ ), zn = jn ? (
3009
3046
  // Native
3010
3047
  function(t) {
3011
3048
  return t.trimEnd();
@@ -3013,32 +3050,32 @@ var lt = Bn ? (
3013
3050
  ) : (
3014
3051
  // Ponyfill
3015
3052
  function(t) {
3016
- return t.replace(Hn, "");
3053
+ return t.replace($n, "");
3017
3054
  }
3018
3055
  );
3019
- function zt(e, t) {
3056
+ function Kt(e, t) {
3020
3057
  return new RegExp(e, t);
3021
3058
  }
3022
- var Ge;
3023
- if (Ue) {
3024
- var ct = zt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3025
- Ge = function(t, r) {
3059
+ var je;
3060
+ if (Ge) {
3061
+ var yt = Kt("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3062
+ je = function(t, r) {
3026
3063
  var n;
3027
- ct.lastIndex = r;
3028
- var i = ct.exec(t);
3064
+ yt.lastIndex = r;
3065
+ var i = yt.exec(t);
3029
3066
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3030
3067
  };
3031
3068
  } else
3032
- Ge = function(t, r) {
3069
+ je = function(t, r) {
3033
3070
  for (var n = []; ; ) {
3034
- var i = Wt(t, r);
3035
- if (i === void 0 || Zt(i) || Gn(i))
3071
+ var i = qt(t, r);
3072
+ if (i === void 0 || er(i) || Yn(i))
3036
3073
  break;
3037
3074
  n.push(i), r += i >= 65536 ? 2 : 1;
3038
3075
  }
3039
- return De.apply(void 0, n);
3076
+ return Fe.apply(void 0, n);
3040
3077
  };
3041
- var Rn = (
3078
+ var Zn = (
3042
3079
  /** @class */
3043
3080
  function() {
3044
3081
  function e(t, r) {
@@ -3069,7 +3106,7 @@ var Rn = (
3069
3106
  if (n)
3070
3107
  break;
3071
3108
  return this.error(p.UNMATCHED_CLOSING_TAG, m(this.clonePosition(), this.clonePosition()));
3072
- } else if (o === 60 && !this.ignoreTag && Fe(this.peek() || 0)) {
3109
+ } else if (o === 60 && !this.ignoreTag && ke(this.peek() || 0)) {
3073
3110
  var s = this.parseTag(t, r);
3074
3111
  if (s.err)
3075
3112
  return s;
@@ -3102,7 +3139,7 @@ var Rn = (
3102
3139
  return o;
3103
3140
  var s = o.val, a = this.clonePosition();
3104
3141
  if (this.bumpIf("</")) {
3105
- if (this.isEOF() || !Fe(this.char()))
3142
+ if (this.isEOF() || !ke(this.char()))
3106
3143
  return this.error(p.INVALID_TAG, m(a, this.clonePosition()));
3107
3144
  var h = this.clonePosition(), u = this.parseTagName();
3108
3145
  return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, m(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3120,7 +3157,7 @@ var Rn = (
3120
3157
  return this.error(p.INVALID_TAG, m(n, this.clonePosition()));
3121
3158
  }, e.prototype.parseTagName = function() {
3122
3159
  var t = this.offset();
3123
- for (this.bump(); !this.isEOF() && Dn(this.char()); )
3160
+ for (this.bump(); !this.isEOF() && Jn(this.char()); )
3124
3161
  this.bump();
3125
3162
  return this.message.slice(t, this.offset());
3126
3163
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3149,7 +3186,7 @@ var Rn = (
3149
3186
  };
3150
3187
  }, e.prototype.tryParseLeftAngleBracket = function() {
3151
3188
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3152
- !Un(this.peek() || 0)) ? (this.bump(), "<") : null;
3189
+ !Qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3153
3190
  }, e.prototype.tryParseQuote = function(t) {
3154
3191
  if (this.isEOF() || this.char() !== 39)
3155
3192
  return null;
@@ -3183,12 +3220,12 @@ var Rn = (
3183
3220
  r.push(n);
3184
3221
  this.bump();
3185
3222
  }
3186
- return De.apply(void 0, r);
3223
+ return Fe.apply(void 0, r);
3187
3224
  }, e.prototype.tryParseUnquoted = function(t, r) {
3188
3225
  if (this.isEOF())
3189
3226
  return null;
3190
3227
  var n = this.char();
3191
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), De(n));
3228
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Fe(n));
3192
3229
  }, e.prototype.parseArgument = function(t, r) {
3193
3230
  var n = this.clonePosition();
3194
3231
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3217,7 +3254,7 @@ var Rn = (
3217
3254
  return this.error(p.MALFORMED_ARGUMENT, m(n, this.clonePosition()));
3218
3255
  }
3219
3256
  }, e.prototype.parseIdentifierIfPossible = function() {
3220
- var t = this.clonePosition(), r = this.offset(), n = Ge(this.message, r), i = r + n.length;
3257
+ var t = this.clonePosition(), r = this.offset(), n = je(this.message, r), i = r + n.length;
3221
3258
  this.bumpTo(i);
3222
3259
  var o = this.clonePosition(), s = m(t, o);
3223
3260
  return { value: n, location: s };
@@ -3236,7 +3273,7 @@ var Rn = (
3236
3273
  var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3237
3274
  if (c.err)
3238
3275
  return c;
3239
- var f = $n(c.val);
3276
+ var f = zn(c.val);
3240
3277
  if (f.length === 0)
3241
3278
  return this.error(p.EXPECT_ARGUMENT_STYLE, m(this.clonePosition(), this.clonePosition()));
3242
3279
  var d = m(l, this.clonePosition());
@@ -3246,27 +3283,27 @@ var Rn = (
3246
3283
  if (y.err)
3247
3284
  return y;
3248
3285
  var v = m(i, this.clonePosition());
3249
- if (u && lt(u?.style, "::", 0)) {
3250
- var H = Cn(u.style.slice(2));
3286
+ if (u && bt(u == null ? void 0 : u.style, "::", 0)) {
3287
+ var B = Wn(u.style.slice(2));
3251
3288
  if (a === "number") {
3252
- var c = this.parseNumberSkeletonFromString(H, u.styleLocation);
3289
+ var c = this.parseNumberSkeletonFromString(B, u.styleLocation);
3253
3290
  return c.err ? c : {
3254
3291
  val: { type: x.number, value: n, location: v, style: c.val },
3255
3292
  err: null
3256
3293
  };
3257
3294
  } else {
3258
- if (H.length === 0)
3295
+ if (B.length === 0)
3259
3296
  return this.error(p.EXPECT_DATE_TIME_SKELETON, v);
3260
- var C = H;
3261
- this.locale && (C = _n(H, this.locale));
3297
+ var $ = B;
3298
+ this.locale && ($ = Ln(B, this.locale));
3262
3299
  var f = {
3263
- type: W.dateTime,
3264
- pattern: C,
3300
+ type: z.dateTime,
3301
+ pattern: $,
3265
3302
  location: u.styleLocation,
3266
- parsedOptions: this.shouldParseSkeletons ? mn(C) : {}
3267
- }, w = a === "date" ? x.date : x.time;
3303
+ parsedOptions: this.shouldParseSkeletons ? Bn($) : {}
3304
+ }, P = a === "date" ? x.date : x.time;
3268
3305
  return {
3269
- val: { type: w, value: n, location: v, style: f },
3306
+ val: { type: P, value: n, location: v, style: f },
3270
3307
  err: null
3271
3308
  };
3272
3309
  }
@@ -3276,7 +3313,7 @@ var Rn = (
3276
3313
  type: a === "number" ? x.number : a === "date" ? x.date : x.time,
3277
3314
  value: n,
3278
3315
  location: v,
3279
- style: (o = u?.style) !== null && o !== void 0 ? o : null
3316
+ style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3280
3317
  },
3281
3318
  err: null
3282
3319
  };
@@ -3288,39 +3325,39 @@ var Rn = (
3288
3325
  if (this.bumpSpace(), !this.bumpIf(","))
3289
3326
  return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, m(S, g({}, S)));
3290
3327
  this.bumpSpace();
3291
- var $ = this.parseIdentifierIfPossible(), P = 0;
3292
- if (a !== "select" && $.value === "offset") {
3328
+ var R = this.parseIdentifierIfPossible(), O = 0;
3329
+ if (a !== "select" && R.value === "offset") {
3293
3330
  if (!this.bumpIf(":"))
3294
3331
  return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, m(this.clonePosition(), this.clonePosition()));
3295
3332
  this.bumpSpace();
3296
3333
  var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3297
3334
  if (c.err)
3298
3335
  return c;
3299
- this.bumpSpace(), $ = this.parseIdentifierIfPossible(), P = c.val;
3336
+ this.bumpSpace(), R = this.parseIdentifierIfPossible(), O = c.val;
3300
3337
  }
3301
- var D = this.tryParsePluralOrSelectOptions(t, a, r, $);
3302
- if (D.err)
3303
- return D;
3338
+ var G = this.tryParsePluralOrSelectOptions(t, a, r, R);
3339
+ if (G.err)
3340
+ return G;
3304
3341
  var y = this.tryParseArgumentClose(i);
3305
3342
  if (y.err)
3306
3343
  return y;
3307
- var ae = m(i, this.clonePosition());
3344
+ var ue = m(i, this.clonePosition());
3308
3345
  return a === "select" ? {
3309
3346
  val: {
3310
3347
  type: x.select,
3311
3348
  value: n,
3312
- options: ft(D.val),
3313
- location: ae
3349
+ options: gt(G.val),
3350
+ location: ue
3314
3351
  },
3315
3352
  err: null
3316
3353
  } : {
3317
3354
  val: {
3318
3355
  type: x.plural,
3319
3356
  value: n,
3320
- options: ft(D.val),
3321
- offset: P,
3357
+ options: gt(G.val),
3358
+ offset: O,
3322
3359
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3323
- location: ae
3360
+ location: ue
3324
3361
  },
3325
3362
  err: null
3326
3363
  };
@@ -3368,16 +3405,16 @@ var Rn = (
3368
3405
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3369
3406
  var n = [];
3370
3407
  try {
3371
- n = gn(t);
3372
- } catch {
3408
+ n = wn(t);
3409
+ } catch (i) {
3373
3410
  return this.error(p.INVALID_NUMBER_SKELETON, r);
3374
3411
  }
3375
3412
  return {
3376
3413
  val: {
3377
- type: W.number,
3414
+ type: z.number,
3378
3415
  tokens: n,
3379
3416
  location: r,
3380
- parsedOptions: this.shouldParseSkeletons ? En(n) : {}
3417
+ parsedOptions: this.shouldParseSkeletons ? Nn(n) : {}
3381
3418
  },
3382
3419
  err: null
3383
3420
  };
@@ -3425,7 +3462,7 @@ var Rn = (
3425
3462
  break;
3426
3463
  }
3427
3464
  var h = m(i, this.clonePosition());
3428
- return o ? (s *= n, Ln(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3465
+ return o ? (s *= n, Vn(s) ? { val: s, err: null } : this.error(r, h)) : this.error(t, h);
3429
3466
  }, e.prototype.offset = function() {
3430
3467
  return this.position.offset;
3431
3468
  }, e.prototype.isEOF = function() {
@@ -3440,7 +3477,7 @@ var Rn = (
3440
3477
  var t = this.position.offset;
3441
3478
  if (t >= this.message.length)
3442
3479
  throw Error("out of bound");
3443
- var r = Wt(this.message, t);
3480
+ var r = qt(this.message, t);
3444
3481
  if (r === void 0)
3445
3482
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3446
3483
  return r;
@@ -3459,7 +3496,7 @@ var Rn = (
3459
3496
  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);
3460
3497
  }
3461
3498
  }, e.prototype.bumpIf = function(t) {
3462
- if (lt(this.message, t, this.offset())) {
3499
+ if (bt(this.message, t, this.offset())) {
3463
3500
  for (var r = 0; r < t.length; r++)
3464
3501
  this.bump();
3465
3502
  return !0;
@@ -3481,56 +3518,56 @@ var Rn = (
3481
3518
  break;
3482
3519
  }
3483
3520
  }, e.prototype.bumpSpace = function() {
3484
- for (; !this.isEOF() && Zt(this.char()); )
3521
+ for (; !this.isEOF() && er(this.char()); )
3485
3522
  this.bump();
3486
3523
  }, e.prototype.peek = function() {
3487
3524
  if (this.isEOF())
3488
3525
  return null;
3489
3526
  var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3490
- return n ?? null;
3527
+ return n != null ? n : null;
3491
3528
  }, e;
3492
3529
  }()
3493
3530
  );
3494
- function Fe(e) {
3531
+ function ke(e) {
3495
3532
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3496
3533
  }
3497
- function Un(e) {
3498
- return Fe(e) || e === 47;
3534
+ function Qn(e) {
3535
+ return ke(e) || e === 47;
3499
3536
  }
3500
- function Dn(e) {
3537
+ function Jn(e) {
3501
3538
  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;
3502
3539
  }
3503
- function Zt(e) {
3540
+ function er(e) {
3504
3541
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3505
3542
  }
3506
- function Gn(e) {
3543
+ function Yn(e) {
3507
3544
  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;
3508
3545
  }
3509
- function je(e) {
3546
+ function Ve(e) {
3510
3547
  e.forEach(function(t) {
3511
- if (delete t.location, Ut(t) || Dt(t))
3548
+ if (delete t.location, Vt(t) || Xt(t))
3512
3549
  for (var r in t.options)
3513
- delete t.options[r].location, je(t.options[r].value);
3514
- else Ct(t) && Ft(t.style) || ($t(t) || Rt(t)) && Re(t.style) ? delete t.style.location : Gt(t) && je(t.children);
3550
+ delete t.options[r].location, Ve(t.options[r].value);
3551
+ else Ft(t) && zt(t.style) || (jt(t) || kt(t)) && De(t.style) ? delete t.style.location : Wt(t) && Ve(t.children);
3515
3552
  });
3516
3553
  }
3517
- function Fn(e, t) {
3554
+ function qn(e, t) {
3518
3555
  t === void 0 && (t = {}), t = g({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3519
- var r = new Rn(e, t).parse();
3556
+ var r = new Zn(e, t).parse();
3520
3557
  if (r.err) {
3521
3558
  var n = SyntaxError(p[r.err.kind]);
3522
3559
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3523
3560
  }
3524
- return t?.captureLocation || je(r.val), r.val;
3561
+ return t != null && t.captureLocation || Ve(r.val), r.val;
3525
3562
  }
3526
- var z;
3563
+ var Z;
3527
3564
  (function(e) {
3528
3565
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3529
- })(z || (z = {}));
3530
- var ve = (
3566
+ })(Z || (Z = {}));
3567
+ var xe = (
3531
3568
  /** @class */
3532
3569
  function(e) {
3533
- L(t, e);
3570
+ M(t, e);
3534
3571
  function t(r, n, i) {
3535
3572
  var o = e.call(this, r) || this;
3536
3573
  return o.code = n, o.originalMessage = i, o;
@@ -3539,48 +3576,48 @@ var ve = (
3539
3576
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3540
3577
  }, t;
3541
3578
  }(Error)
3542
- ), dt = (
3579
+ ), vt = (
3543
3580
  /** @class */
3544
3581
  function(e) {
3545
- L(t, e);
3582
+ M(t, e);
3546
3583
  function t(r, n, i, o) {
3547
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
3584
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, o) || this;
3548
3585
  }
3549
3586
  return t;
3550
- }(ve)
3551
- ), jn = (
3587
+ }(xe)
3588
+ ), Kn = (
3552
3589
  /** @class */
3553
3590
  function(e) {
3554
- L(t, e);
3591
+ M(t, e);
3555
3592
  function t(r, n, i) {
3556
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
3593
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
3557
3594
  }
3558
3595
  return t;
3559
- }(ve)
3560
- ), kn = (
3596
+ }(xe)
3597
+ ), ei = (
3561
3598
  /** @class */
3562
3599
  function(e) {
3563
- L(t, e);
3600
+ M(t, e);
3564
3601
  function t(r, n) {
3565
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
3602
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
3566
3603
  }
3567
3604
  return t;
3568
- }(ve)
3605
+ }(xe)
3569
3606
  ), E;
3570
3607
  (function(e) {
3571
3608
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3572
3609
  })(E || (E = {}));
3573
- function Vn(e) {
3610
+ function ti(e) {
3574
3611
  return e.length < 2 ? e : e.reduce(function(t, r) {
3575
3612
  var n = t[t.length - 1];
3576
3613
  return !n || n.type !== E.literal || r.type !== E.literal ? t.push(r) : n.value += r.value, t;
3577
3614
  }, []);
3578
3615
  }
3579
- function Xn(e) {
3616
+ function ri(e) {
3580
3617
  return typeof e == "function";
3581
3618
  }
3582
- function ce(e, t, r, n, i, o, s) {
3583
- if (e.length === 1 && st(e[0]))
3619
+ function de(e, t, r, n, i, o, s) {
3620
+ if (e.length === 1 && ct(e[0]))
3584
3621
  return [
3585
3622
  {
3586
3623
  type: E.literal,
@@ -3589,14 +3626,14 @@ function ce(e, t, r, n, i, o, s) {
3589
3626
  ];
3590
3627
  for (var a = [], h = 0, u = e; h < u.length; h++) {
3591
3628
  var l = u[h];
3592
- if (st(l)) {
3629
+ if (ct(l)) {
3593
3630
  a.push({
3594
3631
  type: E.literal,
3595
3632
  value: l.value
3596
3633
  });
3597
3634
  continue;
3598
3635
  }
3599
- if (dn(l)) {
3636
+ if (Tn(l)) {
3600
3637
  typeof o == "number" && a.push({
3601
3638
  type: E.literal,
3602
3639
  value: r.getNumberFormat(t).format(o)
@@ -3605,89 +3642,89 @@ function ce(e, t, r, n, i, o, s) {
3605
3642
  }
3606
3643
  var c = l.value;
3607
3644
  if (!(i && c in i))
3608
- throw new kn(c, s);
3645
+ throw new ei(c, s);
3609
3646
  var f = i[c];
3610
- if (cn(l)) {
3647
+ if (Sn(l)) {
3611
3648
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3612
3649
  type: typeof f == "string" ? E.literal : E.object,
3613
3650
  value: f
3614
3651
  });
3615
3652
  continue;
3616
3653
  }
3617
- if ($t(l)) {
3618
- var d = typeof l.style == "string" ? n.date[l.style] : Re(l.style) ? l.style.parsedOptions : void 0;
3654
+ if (jt(l)) {
3655
+ var d = typeof l.style == "string" ? n.date[l.style] : De(l.style) ? l.style.parsedOptions : void 0;
3619
3656
  a.push({
3620
3657
  type: E.literal,
3621
3658
  value: r.getDateTimeFormat(t, d).format(f)
3622
3659
  });
3623
3660
  continue;
3624
3661
  }
3625
- if (Rt(l)) {
3626
- var d = typeof l.style == "string" ? n.time[l.style] : Re(l.style) ? l.style.parsedOptions : n.time.medium;
3662
+ if (kt(l)) {
3663
+ var d = typeof l.style == "string" ? n.time[l.style] : De(l.style) ? l.style.parsedOptions : n.time.medium;
3627
3664
  a.push({
3628
3665
  type: E.literal,
3629
3666
  value: r.getDateTimeFormat(t, d).format(f)
3630
3667
  });
3631
3668
  continue;
3632
3669
  }
3633
- if (Ct(l)) {
3634
- var d = typeof l.style == "string" ? n.number[l.style] : Ft(l.style) ? l.style.parsedOptions : void 0;
3670
+ if (Ft(l)) {
3671
+ var d = typeof l.style == "string" ? n.number[l.style] : zt(l.style) ? l.style.parsedOptions : void 0;
3635
3672
  d && d.scale && (f = f * (d.scale || 1)), a.push({
3636
3673
  type: E.literal,
3637
3674
  value: r.getNumberFormat(t, d).format(f)
3638
3675
  });
3639
3676
  continue;
3640
3677
  }
3641
- if (Gt(l)) {
3642
- var y = l.children, v = l.value, H = i[v];
3643
- if (!Xn(H))
3644
- throw new jn(v, "function", s);
3645
- var C = ce(y, t, r, n, i, o), w = H(C.map(function(P) {
3646
- return P.value;
3678
+ if (Wt(l)) {
3679
+ var y = l.children, v = l.value, B = i[v];
3680
+ if (!ri(B))
3681
+ throw new Kn(v, "function", s);
3682
+ var $ = de(y, t, r, n, i, o), P = B($.map(function(O) {
3683
+ return O.value;
3647
3684
  }));
3648
- Array.isArray(w) || (w = [w]), a.push.apply(a, w.map(function(P) {
3685
+ Array.isArray(P) || (P = [P]), a.push.apply(a, P.map(function(O) {
3649
3686
  return {
3650
- type: typeof P == "string" ? E.literal : E.object,
3651
- value: P
3687
+ type: typeof O == "string" ? E.literal : E.object,
3688
+ value: O
3652
3689
  };
3653
3690
  }));
3654
3691
  }
3655
- if (Ut(l)) {
3692
+ if (Vt(l)) {
3656
3693
  var S = l.options[f] || l.options.other;
3657
3694
  if (!S)
3658
- throw new dt(l.value, f, Object.keys(l.options), s);
3659
- a.push.apply(a, ce(S.value, t, r, n, i));
3695
+ throw new vt(l.value, f, Object.keys(l.options), s);
3696
+ a.push.apply(a, de(S.value, t, r, n, i));
3660
3697
  continue;
3661
3698
  }
3662
- if (Dt(l)) {
3699
+ if (Xt(l)) {
3663
3700
  var S = l.options["=".concat(f)];
3664
3701
  if (!S) {
3665
3702
  if (!Intl.PluralRules)
3666
- throw new ve(`Intl.PluralRules is not available in this environment.
3703
+ throw new xe(`Intl.PluralRules is not available in this environment.
3667
3704
  Try polyfilling it using "@formatjs/intl-pluralrules"
3668
- `, z.MISSING_INTL_API, s);
3669
- var $ = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3670
- S = l.options[$] || l.options.other;
3705
+ `, Z.MISSING_INTL_API, s);
3706
+ var R = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3707
+ S = l.options[R] || l.options.other;
3671
3708
  }
3672
3709
  if (!S)
3673
- throw new dt(l.value, f, Object.keys(l.options), s);
3674
- a.push.apply(a, ce(S.value, t, r, n, i, f - (l.offset || 0)));
3710
+ throw new vt(l.value, f, Object.keys(l.options), s);
3711
+ a.push.apply(a, de(S.value, t, r, n, i, f - (l.offset || 0)));
3675
3712
  continue;
3676
3713
  }
3677
3714
  }
3678
- return Vn(a);
3715
+ return ti(a);
3679
3716
  }
3680
- function Wn(e, t) {
3717
+ function ni(e, t) {
3681
3718
  return t ? g(g(g({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3682
3719
  return r[n] = g(g({}, e[n]), t[n] || {}), r;
3683
3720
  }, {})) : e;
3684
3721
  }
3685
- function zn(e, t) {
3722
+ function ii(e, t) {
3686
3723
  return t ? Object.keys(e).reduce(function(r, n) {
3687
- return r[n] = Wn(e[n], t[n]), r;
3724
+ return r[n] = ni(e[n], t[n]), r;
3688
3725
  }, g({}, e)) : e;
3689
3726
  }
3690
- function Ae(e) {
3727
+ function Pe(e) {
3691
3728
  return {
3692
3729
  create: function() {
3693
3730
  return {
@@ -3701,39 +3738,39 @@ function Ae(e) {
3701
3738
  }
3702
3739
  };
3703
3740
  }
3704
- function Zn(e) {
3741
+ function oi(e) {
3705
3742
  return e === void 0 && (e = {
3706
3743
  number: {},
3707
3744
  dateTime: {},
3708
3745
  pluralRules: {}
3709
3746
  }), {
3710
- getNumberFormat: Te(function() {
3747
+ getNumberFormat: Be(function() {
3711
3748
  for (var t, r = [], n = 0; n < arguments.length; n++)
3712
3749
  r[n] = arguments[n];
3713
- return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
3750
+ return new ((t = Intl.NumberFormat).bind.apply(t, X([void 0], r, !1)))();
3714
3751
  }, {
3715
- cache: Ae(e.number),
3716
- strategy: He.variadic
3752
+ cache: Pe(e.number),
3753
+ strategy: Ae.variadic
3717
3754
  }),
3718
- getDateTimeFormat: Te(function() {
3755
+ getDateTimeFormat: Be(function() {
3719
3756
  for (var t, r = [], n = 0; n < arguments.length; n++)
3720
3757
  r[n] = arguments[n];
3721
- return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
3758
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, X([void 0], r, !1)))();
3722
3759
  }, {
3723
- cache: Ae(e.dateTime),
3724
- strategy: He.variadic
3760
+ cache: Pe(e.dateTime),
3761
+ strategy: Ae.variadic
3725
3762
  }),
3726
- getPluralRules: Te(function() {
3763
+ getPluralRules: Be(function() {
3727
3764
  for (var t, r = [], n = 0; n < arguments.length; n++)
3728
3765
  r[n] = arguments[n];
3729
- return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
3766
+ return new ((t = Intl.PluralRules).bind.apply(t, X([void 0], r, !1)))();
3730
3767
  }, {
3731
- cache: Ae(e.pluralRules),
3732
- strategy: He.variadic
3768
+ cache: Pe(e.pluralRules),
3769
+ strategy: Ae.variadic
3733
3770
  })
3734
3771
  };
3735
3772
  }
3736
- var Qn = (
3773
+ var si = (
3737
3774
  /** @class */
3738
3775
  function() {
3739
3776
  function e(t, r, n, i) {
@@ -3752,7 +3789,7 @@ var Qn = (
3752
3789
  }, []);
3753
3790
  return l.length <= 1 ? l[0] || "" : l;
3754
3791
  }, this.formatToParts = function(h) {
3755
- return ce(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3792
+ return de(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3756
3793
  }, this.resolvedOptions = function() {
3757
3794
  var h;
3758
3795
  return {
@@ -3765,13 +3802,13 @@ var Qn = (
3765
3802
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3766
3803
  var s = i || {};
3767
3804
  s.formatters;
3768
- var a = Br(s, ["formatters"]);
3805
+ var a = Rr(s, ["formatters"]);
3769
3806
  this.ast = e.__parse(t, g(g({}, a), { locale: this.resolvedLocale }));
3770
3807
  } else
3771
3808
  this.ast = t;
3772
3809
  if (!Array.isArray(this.ast))
3773
3810
  throw new TypeError("A message must be provided as a String or AST.");
3774
- this.formats = zn(e.formats, n), this.formatters = i && i.formatters || Zn(this.formatterCache);
3811
+ this.formats = ii(e.formats, n), this.formatters = i && i.formatters || oi(this.formatterCache);
3775
3812
  }
3776
3813
  return Object.defineProperty(e, "defaultLocale", {
3777
3814
  get: function() {
@@ -3780,11 +3817,11 @@ var Qn = (
3780
3817
  enumerable: !1,
3781
3818
  configurable: !0
3782
3819
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3783
- if (!(typeof Intl.Locale > "u")) {
3820
+ if (typeof Intl.Locale != "undefined") {
3784
3821
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3785
3822
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3786
3823
  }
3787
- }, e.__parse = Fn, e.formats = {
3824
+ }, e.__parse = qn, e.formats = {
3788
3825
  number: {
3789
3826
  integer: {
3790
3827
  maximumFractionDigits: 0
@@ -3845,7 +3882,7 @@ var Qn = (
3845
3882
  }, e;
3846
3883
  }()
3847
3884
  );
3848
- function Jn(e, t) {
3885
+ function ai(e, t) {
3849
3886
  if (t == null)
3850
3887
  return;
3851
3888
  if (t in e)
@@ -3866,92 +3903,92 @@ function Jn(e, t) {
3866
3903
  n = void 0;
3867
3904
  return n;
3868
3905
  }
3869
- const M = {}, Yn = (e, t, r) => r && (t in M || (M[t] = {}), e in M[t] || (M[t][e] = r), r), Qt = (e, t) => {
3906
+ const C = {}, ui = (e, t, r) => r && (t in C || (C[t] = {}), e in C[t] || (C[t][e] = r), r), tr = (e, t) => {
3870
3907
  if (t == null)
3871
3908
  return;
3872
- if (t in M && e in M[t])
3873
- return M[t][e];
3874
- const r = xe(t);
3909
+ if (t in C && e in C[t])
3910
+ return C[t][e];
3911
+ const r = Ee(t);
3875
3912
  for (let n = 0; n < r.length; n++) {
3876
- const i = r[n], o = Kn(i, e);
3913
+ const i = r[n], o = li(i, e);
3877
3914
  if (o)
3878
- return Yn(e, t, o);
3915
+ return ui(e, t, o);
3879
3916
  }
3880
3917
  };
3881
- let Ze;
3882
- const se = ye({});
3883
- function qn(e) {
3884
- return Ze[e] || null;
3918
+ let Je;
3919
+ const ae = ve({});
3920
+ function hi(e) {
3921
+ return Je[e] || null;
3885
3922
  }
3886
- function Jt(e) {
3887
- return e in Ze;
3923
+ function rr(e) {
3924
+ return e in Je;
3888
3925
  }
3889
- function Kn(e, t) {
3890
- if (!Jt(e))
3926
+ function li(e, t) {
3927
+ if (!rr(e))
3891
3928
  return null;
3892
- const r = qn(e);
3893
- return Jn(r, t);
3929
+ const r = hi(e);
3930
+ return ai(r, t);
3894
3931
  }
3895
- function ei(e) {
3932
+ function fi(e) {
3896
3933
  if (e == null)
3897
3934
  return;
3898
- const t = xe(e);
3935
+ const t = Ee(e);
3899
3936
  for (let r = 0; r < t.length; r++) {
3900
3937
  const n = t[r];
3901
- if (Jt(n))
3938
+ if (rr(n))
3902
3939
  return n;
3903
3940
  }
3904
3941
  }
3905
- function Yt(e, ...t) {
3906
- delete M[e], se.update((r) => (r[e] = nn.all([r[e] || {}, ...t]), r));
3942
+ function nr(e, ...t) {
3943
+ delete C[e], ae.update((r) => (r[e] = mn.all([r[e] || {}, ...t]), r));
3907
3944
  }
3908
- J(
3909
- [se],
3945
+ Y(
3946
+ [ae],
3910
3947
  ([e]) => Object.keys(e)
3911
3948
  );
3912
- se.subscribe((e) => Ze = e);
3913
- const de = {};
3914
- function ti(e, t) {
3915
- de[e].delete(t), de[e].size === 0 && delete de[e];
3949
+ ae.subscribe((e) => Je = e);
3950
+ const pe = {};
3951
+ function ci(e, t) {
3952
+ pe[e].delete(t), pe[e].size === 0 && delete pe[e];
3916
3953
  }
3917
- function qt(e) {
3918
- return de[e];
3954
+ function ir(e) {
3955
+ return pe[e];
3919
3956
  }
3920
- function ri(e) {
3921
- return xe(e).map((t) => {
3922
- const r = qt(t);
3957
+ function di(e) {
3958
+ return Ee(e).map((t) => {
3959
+ const r = ir(t);
3923
3960
  return [t, r ? [...r] : []];
3924
3961
  }).filter(([, t]) => t.length > 0);
3925
3962
  }
3926
- function ke(e) {
3927
- return e == null ? !1 : xe(e).some(
3963
+ function Xe(e) {
3964
+ return e == null ? !1 : Ee(e).some(
3928
3965
  (t) => {
3929
3966
  var r;
3930
- return (r = qt(t)) == null ? void 0 : r.size;
3967
+ return (r = ir(t)) == null ? void 0 : r.size;
3931
3968
  }
3932
3969
  );
3933
3970
  }
3934
- function ni(e, t) {
3971
+ function pi(e, t) {
3935
3972
  return Promise.all(
3936
- t.map((n) => (ti(e, n), n().then((i) => i.default || i)))
3937
- ).then((n) => Yt(e, ...n));
3938
- }
3939
- const ee = {};
3940
- function Kt(e) {
3941
- if (!ke(e))
3942
- return e in ee ? ee[e] : Promise.resolve();
3943
- const t = ri(e);
3944
- return ee[e] = Promise.all(
3973
+ t.map((n) => (ci(e, n), n().then((i) => i.default || i)))
3974
+ ).then((n) => nr(e, ...n));
3975
+ }
3976
+ const te = {};
3977
+ function or(e) {
3978
+ if (!Xe(e))
3979
+ return e in te ? te[e] : Promise.resolve();
3980
+ const t = di(e);
3981
+ return te[e] = Promise.all(
3945
3982
  t.map(
3946
- ([r, n]) => ni(r, n)
3983
+ ([r, n]) => pi(r, n)
3947
3984
  )
3948
3985
  ).then(() => {
3949
- if (ke(e))
3950
- return Kt(e);
3951
- delete ee[e];
3952
- }), ee[e];
3986
+ if (Xe(e))
3987
+ return or(e);
3988
+ delete te[e];
3989
+ }), te[e];
3953
3990
  }
3954
- const ii = {
3991
+ const mi = {
3955
3992
  number: {
3956
3993
  scientific: { notation: "scientific" },
3957
3994
  engineering: { notation: "engineering" },
@@ -3980,150 +4017,150 @@ const ii = {
3980
4017
  timeZoneName: "short"
3981
4018
  }
3982
4019
  }
3983
- }, oi = {
4020
+ }, bi = {
3984
4021
  fallbackLocale: null,
3985
4022
  loadingDelay: 200,
3986
- formats: ii,
4023
+ formats: mi,
3987
4024
  warnOnMissingMessages: !0,
3988
4025
  handleMissingMessage: void 0,
3989
4026
  ignoreTag: !0
3990
- }, si = oi;
3991
- function Z() {
3992
- return si;
4027
+ }, gi = bi;
4028
+ function Q() {
4029
+ return gi;
3993
4030
  }
3994
- const we = ye(!1);
3995
- var ai = Object.defineProperty, ui = Object.defineProperties, hi = Object.getOwnPropertyDescriptors, pt = Object.getOwnPropertySymbols, li = Object.prototype.hasOwnProperty, fi = Object.prototype.propertyIsEnumerable, mt = (e, t, r) => t in e ? ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ci = (e, t) => {
4031
+ const Oe = ve(!1);
4032
+ var yi = Object.defineProperty, vi = Object.defineProperties, xi = Object.getOwnPropertyDescriptors, xt = Object.getOwnPropertySymbols, Ei = Object.prototype.hasOwnProperty, _i = Object.prototype.propertyIsEnumerable, Et = (e, t, r) => t in e ? yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Si = (e, t) => {
3996
4033
  for (var r in t)
3997
- li.call(t, r) && mt(e, r, t[r]);
3998
- if (pt)
3999
- for (var r of pt(t))
4000
- fi.call(t, r) && mt(e, r, t[r]);
4034
+ Ei.call(t, r) && Et(e, r, t[r]);
4035
+ if (xt)
4036
+ for (var r of xt(t))
4037
+ _i.call(t, r) && Et(e, r, t[r]);
4001
4038
  return e;
4002
- }, di = (e, t) => ui(e, hi(t));
4003
- let Ve;
4004
- const pe = ye(null);
4005
- function bt(e) {
4039
+ }, Ti = (e, t) => vi(e, xi(t));
4040
+ let We;
4041
+ const me = ve(null);
4042
+ function _t(e) {
4006
4043
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4007
4044
  }
4008
- function xe(e, t = Z().fallbackLocale) {
4009
- const r = bt(e);
4010
- return t ? [.../* @__PURE__ */ new Set([...r, ...bt(t)])] : r;
4045
+ function Ee(e, t = Q().fallbackLocale) {
4046
+ const r = _t(e);
4047
+ return t ? [.../* @__PURE__ */ new Set([...r, ..._t(t)])] : r;
4011
4048
  }
4012
- function U() {
4013
- return Ve ?? void 0;
4049
+ function D() {
4050
+ return We != null ? We : void 0;
4014
4051
  }
4015
- pe.subscribe((e) => {
4016
- Ve = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4052
+ me.subscribe((e) => {
4053
+ We = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4017
4054
  });
4018
- const pi = (e) => {
4019
- if (e && ei(e) && ke(e)) {
4020
- const { loadingDelay: t } = Z();
4055
+ const Hi = (e) => {
4056
+ if (e && fi(e) && Xe(e)) {
4057
+ const { loadingDelay: t } = Q();
4021
4058
  let r;
4022
- return typeof window < "u" && U() != null && t ? r = window.setTimeout(
4023
- () => we.set(!0),
4059
+ return typeof window != "undefined" && D() != null && t ? r = window.setTimeout(
4060
+ () => Oe.set(!0),
4024
4061
  t
4025
- ) : we.set(!0), Kt(e).then(() => {
4026
- pe.set(e);
4062
+ ) : Oe.set(!0), or(e).then(() => {
4063
+ me.set(e);
4027
4064
  }).finally(() => {
4028
- clearTimeout(r), we.set(!1);
4065
+ clearTimeout(r), Oe.set(!1);
4029
4066
  });
4030
4067
  }
4031
- return pe.set(e);
4032
- }, Y = di(ci({}, pe), {
4033
- set: pi
4034
- }), Ee = (e) => {
4068
+ return me.set(e);
4069
+ }, q = Ti(Si({}, me), {
4070
+ set: Hi
4071
+ }), _e = (e) => {
4035
4072
  const t = /* @__PURE__ */ Object.create(null);
4036
4073
  return (n) => {
4037
4074
  const i = JSON.stringify(n);
4038
4075
  return i in t ? t[i] : t[i] = e(n);
4039
4076
  };
4040
4077
  };
4041
- var mi = Object.defineProperty, me = Object.getOwnPropertySymbols, er = Object.prototype.hasOwnProperty, tr = Object.prototype.propertyIsEnumerable, gt = (e, t, r) => t in e ? mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Qe = (e, t) => {
4078
+ var Bi = Object.defineProperty, be = Object.getOwnPropertySymbols, sr = Object.prototype.hasOwnProperty, ar = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? Bi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ye = (e, t) => {
4042
4079
  for (var r in t || (t = {}))
4043
- er.call(t, r) && gt(e, r, t[r]);
4044
- if (me)
4045
- for (var r of me(t))
4046
- tr.call(t, r) && gt(e, r, t[r]);
4080
+ sr.call(t, r) && St(e, r, t[r]);
4081
+ if (be)
4082
+ for (var r of be(t))
4083
+ ar.call(t, r) && St(e, r, t[r]);
4047
4084
  return e;
4048
- }, q = (e, t) => {
4085
+ }, K = (e, t) => {
4049
4086
  var r = {};
4050
4087
  for (var n in e)
4051
- er.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4052
- if (e != null && me)
4053
- for (var n of me(e))
4054
- t.indexOf(n) < 0 && tr.call(e, n) && (r[n] = e[n]);
4088
+ sr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4089
+ if (e != null && be)
4090
+ for (var n of be(e))
4091
+ t.indexOf(n) < 0 && ar.call(e, n) && (r[n] = e[n]);
4055
4092
  return r;
4056
4093
  };
4057
- const ne = (e, t) => {
4058
- const { formats: r } = Z();
4094
+ const ie = (e, t) => {
4095
+ const { formats: r } = Q();
4059
4096
  if (e in r && t in r[e])
4060
4097
  return r[e][t];
4061
4098
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4062
- }, bi = Ee(
4099
+ }, Ai = _e(
4063
4100
  (e) => {
4064
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4101
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4065
4102
  if (r == null)
4066
4103
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4067
- return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
4104
+ return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
4068
4105
  }
4069
- ), gi = Ee(
4106
+ ), wi = _e(
4070
4107
  (e) => {
4071
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4108
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4072
4109
  if (r == null)
4073
4110
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4074
- return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
4111
+ return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
4075
4112
  }
4076
- ), yi = Ee(
4113
+ ), Pi = _e(
4077
4114
  (e) => {
4078
- var t = e, { locale: r, format: n } = t, i = q(t, ["locale", "format"]);
4115
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4079
4116
  if (r == null)
4080
4117
  throw new Error(
4081
4118
  '[svelte-i18n] A "locale" must be set to format time values'
4082
4119
  );
4083
- return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
4120
+ return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
4084
4121
  }
4085
- ), vi = (e = {}) => {
4122
+ ), Oi = (e = {}) => {
4086
4123
  var t = e, {
4087
- locale: r = U()
4088
- } = t, n = q(t, [
4124
+ locale: r = D()
4125
+ } = t, n = K(t, [
4089
4126
  "locale"
4090
4127
  ]);
4091
- return bi(Qe({ locale: r }, n));
4092
- }, xi = (e = {}) => {
4128
+ return Ai(Ye({ locale: r }, n));
4129
+ }, Ii = (e = {}) => {
4093
4130
  var t = e, {
4094
- locale: r = U()
4095
- } = t, n = q(t, [
4131
+ locale: r = D()
4132
+ } = t, n = K(t, [
4096
4133
  "locale"
4097
4134
  ]);
4098
- return gi(Qe({ locale: r }, n));
4099
- }, Ei = (e = {}) => {
4135
+ return wi(Ye({ locale: r }, n));
4136
+ }, Ni = (e = {}) => {
4100
4137
  var t = e, {
4101
- locale: r = U()
4102
- } = t, n = q(t, [
4138
+ locale: r = D()
4139
+ } = t, n = K(t, [
4103
4140
  "locale"
4104
4141
  ]);
4105
- return yi(Qe({ locale: r }, n));
4106
- }, _i = Ee(
4142
+ return Pi(Ye({ locale: r }, n));
4143
+ }, Li = _e(
4107
4144
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4108
- (e, t = U()) => new Qn(e, t, Z().formats, {
4109
- ignoreTag: Z().ignoreTag
4145
+ (e, t = D()) => new si(e, t, Q().formats, {
4146
+ ignoreTag: Q().ignoreTag
4110
4147
  })
4111
- ), Si = (e, t = {}) => {
4148
+ ), Mi = (e, t = {}) => {
4112
4149
  var r, n, i, o;
4113
4150
  let s = t;
4114
4151
  typeof e == "object" && (s = e, e = s.id);
4115
4152
  const {
4116
4153
  values: a,
4117
- locale: h = U(),
4154
+ locale: h = D(),
4118
4155
  default: u
4119
4156
  } = s;
4120
4157
  if (h == null)
4121
4158
  throw new Error(
4122
4159
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4123
4160
  );
4124
- let l = Qt(e, h);
4161
+ let l = tr(e, h);
4125
4162
  if (!l)
4126
- l = (o = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4163
+ l = (o = (i = (n = (r = Q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: h, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4127
4164
  else if (typeof l != "string")
4128
4165
  return console.warn(
4129
4166
  `[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.`
@@ -4132,7 +4169,7 @@ const ne = (e, t) => {
4132
4169
  return l;
4133
4170
  let c = l;
4134
4171
  try {
4135
- c = _i(l, h).format(a);
4172
+ c = Li(l, h).format(a);
4136
4173
  } catch (f) {
4137
4174
  f instanceof Error && console.warn(
4138
4175
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4140,20 +4177,20 @@ const ne = (e, t) => {
4140
4177
  );
4141
4178
  }
4142
4179
  return c;
4143
- }, Ti = (e, t) => Ei(t).format(e), Hi = (e, t) => xi(t).format(e), Bi = (e, t) => vi(t).format(e), Ai = (e, t = U()) => Qt(e, t), wi = J([Y, se], () => Si);
4144
- J([Y], () => Ti);
4145
- J([Y], () => Hi);
4146
- J([Y], () => Bi);
4147
- J([Y, se], () => Ai);
4148
- window.emWidgets = { topic: Gr };
4149
- const Pi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4150
- function yt(e, t) {
4151
- Yt(e, t);
4152
- }
4153
- function Oi(e) {
4154
- Y.set(e);
4155
- }
4156
- const vt = {
4180
+ }, Ci = (e, t) => Ni(t).format(e), $i = (e, t) => Ii(t).format(e), Ri = (e, t) => Oi(t).format(e), Ui = (e, t = D()) => tr(e, t), Di = Y([q, ae], () => Mi);
4181
+ Y([q], () => Ci);
4182
+ Y([q], () => $i);
4183
+ Y([q], () => Ri);
4184
+ Y([q, ae], () => Ui);
4185
+ window.emWidgets = { topic: Yr };
4186
+ const Gi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4187
+ function Tt(e, t) {
4188
+ nr(e, t);
4189
+ }
4190
+ function Fi(e) {
4191
+ q.set(e);
4192
+ }
4193
+ const Ht = {
4157
4194
  en: {
4158
4195
  logoutButton: "Logout"
4159
4196
  },
@@ -4188,20 +4225,20 @@ const vt = {
4188
4225
  logoutButton: "Logout"
4189
4226
  }
4190
4227
  };
4191
- function Ii(e) {
4192
- sr(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
4228
+ function ji(e) {
4229
+ gr(e, "svelte-xtnqa3", "*,*::before,*::after{margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.PlayerAccountMenuItemBox{padding:20px;font-size:16px;display:inline-flex;width:100%;box-sizing:border-box;align-items:center;cursor:pointer}.PlayerAccountMenuItemBox .PlayerLogoutText{margin-left:20px}.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox{height:auto;justify-content:center;position:relative;display:flex;width:unset;padding:0}.PlayerAccountMenuItemBoxMobile.PlayerAccountMenuItemBox svg{fill:var(--emw--pam-typography-color-nav-bg, var(--emw--color-white, #FFFFFF))}");
4193
4230
  }
4194
- function Ni(e) {
4231
+ function ki(e) {
4195
4232
  let t, r, n, i = (
4196
4233
  /*$_*/
4197
4234
  e[2]("logoutButton") + ""
4198
4235
  ), o, s, a;
4199
4236
  return {
4200
4237
  c() {
4201
- t = I("div"), r = I("button"), n = I("span"), o = be(i), T(t, "class", "GeneralLogout");
4238
+ t = N("div"), r = N("button"), n = N("span"), o = ge(i), H(t, "class", "GeneralLogout");
4202
4239
  },
4203
4240
  m(h, u) {
4204
- oe(h, t, u), _(t, r), _(r, n), _(n, o), s || (a = St(
4241
+ se(h, t, u), _(t, r), _(r, n), _(n, o), s || (a = Pt(
4205
4242
  r,
4206
4243
  "click",
4207
4244
  /*click_handler_1*/
@@ -4211,29 +4248,29 @@ function Ni(e) {
4211
4248
  p(h, u) {
4212
4249
  u & /*$_*/
4213
4250
  4 && i !== (i = /*$_*/
4214
- h[2]("logoutButton") + "") && Tt(o, i);
4251
+ h[2]("logoutButton") + "") && Ot(o, i);
4215
4252
  },
4216
4253
  d(h) {
4217
- h && Q(t), s = !1, a();
4254
+ h && J(t), s = !1, a();
4218
4255
  }
4219
4256
  };
4220
4257
  }
4221
- function Li(e) {
4258
+ function Vi(e) {
4222
4259
  let t, r, n, i, o, s, a, h, u, l, c, f = !/*isMobile*/
4223
- e[3] && Mi(e);
4260
+ e[3] && Xi(e);
4224
4261
  return {
4225
4262
  c() {
4226
- t = I("p"), r = I("span"), n = K("svg"), i = K("defs"), o = K("style"), s = be(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = K("path"), h = K("path"), u = hr(), f && f.c(), T(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), T(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), T(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), T(h, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), T(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), T(n, "data-name", "Layer 1"), T(n, "xmlns", "http://www.w3.org/2000/svg"), T(n, "viewBox", "0 0 150 150"), fr(r, "width", /*isMobile*/
4263
+ t = N("p"), r = N("span"), n = ee("svg"), i = ee("defs"), o = ee("style"), s = ge(".a88316b4-2478-4a69-b2eb-d32a5fb419dd{fill:var(--emw--color-white, #FFFFFF);}"), a = ee("path"), h = ee("path"), u = xr(), f && f.c(), H(a, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), H(a, "d", "M147.16,67.69,115.42,36a9.6,9.6,0,1,0-13.58,13.58l15.32,15.31H49.58a9.63,9.63,0,1,0,0,19.26h67.58L101.84,99.42a9.64,9.64,0,0,0,6.79,16.43,9.41,9.41,0,0,0,6.79-2.85l31.74-31.73a9.53,9.53,0,0,0,0-13.58Z"), H(h, "class", "a88316b4-2478-4a69-b2eb-d32a5fb419dd"), H(h, "d", "M45.16,122.16H19.26V26.79H45.32a9.63,9.63,0,1,0,0-19.26H9.63A9.56,9.56,0,0,0,0,17.16V131.63a9.57,9.57,0,0,0,9.63,9.64H45.32A9.57,9.57,0,0,0,55,131.63a9.78,9.78,0,0,0-9.79-9.47Z"), H(n, "id", "bbfaf345-72af-4296-bf4b-2fd41fc03d5d"), H(n, "data-name", "Layer 1"), H(n, "xmlns", "http://www.w3.org/2000/svg"), H(n, "viewBox", "0 0 150 150"), _r(r, "width", /*isMobile*/
4227
4264
  e[3] ? (
4228
4265
  /*mediaQuery*/
4229
4266
  e[4].matches ? "50px" : "24px"
4230
- ) : "20px"), T(t, "class", "PlayerAccountMenuItemBox " + /*isMobile*/
4267
+ ) : "20px"), H(t, "class", "PlayerAccountMenuItemBox " + /*isMobile*/
4231
4268
  (e[3] ? "PlayerAccountMenuItemBoxMobile" : "") + " " + /*mediaQuery*/
4232
4269
  (e[4].matches && /*isMobile*/
4233
4270
  e[3] ? "PlayerAccountMenuItemBoxTablet" : ""));
4234
4271
  },
4235
4272
  m(d, y) {
4236
- oe(d, t, y), _(t, r), _(r, n), _(n, i), _(i, o), _(o, s), _(n, a), _(n, h), _(t, u), f && f.m(t, null), l || (c = St(
4273
+ se(d, t, y), _(t, r), _(r, n), _(n, i), _(i, o), _(o, s), _(n, a), _(n, h), _(t, u), f && f.m(t, null), l || (c = Pt(
4237
4274
  t,
4238
4275
  "click",
4239
4276
  /*click_handler*/
@@ -4245,92 +4282,92 @@ function Li(e) {
4245
4282
  d[3] || f.p(d, y);
4246
4283
  },
4247
4284
  d(d) {
4248
- d && Q(t), f && f.d(), l = !1, c();
4285
+ d && J(t), f && f.d(), l = !1, c();
4249
4286
  }
4250
4287
  };
4251
4288
  }
4252
- function Mi(e) {
4289
+ function Xi(e) {
4253
4290
  let t, r = (
4254
4291
  /*$_*/
4255
4292
  e[2]("logoutButton") + ""
4256
4293
  ), n;
4257
4294
  return {
4258
4295
  c() {
4259
- t = I("span"), n = be(r), T(t, "class", "PlayerLogoutText");
4296
+ t = N("span"), n = ge(r), H(t, "class", "PlayerLogoutText");
4260
4297
  },
4261
4298
  m(i, o) {
4262
- oe(i, t, o), _(t, n);
4299
+ se(i, t, o), _(t, n);
4263
4300
  },
4264
4301
  p(i, o) {
4265
4302
  o & /*$_*/
4266
4303
  4 && r !== (r = /*$_*/
4267
- i[2]("logoutButton") + "") && Tt(n, r);
4304
+ i[2]("logoutButton") + "") && Ot(n, r);
4268
4305
  },
4269
4306
  d(i) {
4270
- i && Q(t);
4307
+ i && J(t);
4271
4308
  }
4272
4309
  };
4273
4310
  }
4274
- function Ci(e) {
4311
+ function Wi(e) {
4275
4312
  let t;
4276
4313
  function r(o, s) {
4277
4314
  return (
4278
4315
  /*buttonlocation*/
4279
- o[0] === "PlayerAccountMenu" ? Li : Ni
4316
+ o[0] === "PlayerAccountMenu" ? Vi : ki
4280
4317
  );
4281
4318
  }
4282
4319
  let n = r(e), i = n(e);
4283
4320
  return {
4284
4321
  c() {
4285
- t = I("div"), i.c();
4322
+ t = N("div"), i.c();
4286
4323
  },
4287
4324
  m(o, s) {
4288
- oe(o, t, s), i.m(t, null), e[14](t);
4325
+ se(o, t, s), i.m(t, null), e[14](t);
4289
4326
  },
4290
4327
  p(o, [s]) {
4291
4328
  n === (n = r(o)) && i ? i.p(o, s) : (i.d(1), i = n(o), i && (i.c(), i.m(t, null)));
4292
4329
  },
4293
- i: A,
4294
- o: A,
4330
+ i: w,
4331
+ o: w,
4295
4332
  d(o) {
4296
- o && Q(t), i.d(), e[14](null);
4333
+ o && J(t), i.d(), e[14](null);
4297
4334
  }
4298
4335
  };
4299
4336
  }
4300
- function $i(e, t, r) {
4337
+ function zi(e, t, r) {
4301
4338
  let n;
4302
- or(e, wi, (b) => r(2, n = b));
4303
- let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: l = "" } = t, c = "", f = !1, d, y = window.navigator.userAgent, v = Pi(y) !== "PC";
4304
- const H = window.matchMedia("(min-width: 768px)"), C = () => {
4305
- fetch(l).then((B) => B.json()).then((B) => {
4306
- Object.keys(B).forEach((R) => {
4307
- yt(R, B[R]);
4339
+ br(e, Di, (b) => r(2, n = b));
4340
+ let { endpoint: i = "" } = t, { session: o = "" } = t, { buttonlocation: s = "" } = t, { lang: a = "" } = t, { clientstyling: h = "" } = t, { clientstylingurl: u = "" } = t, { translationurl: l = "" } = t, c = "", f = !1, d, y = window.navigator.userAgent, v = Gi(y) !== "PC";
4341
+ const B = window.matchMedia("(min-width: 768px)"), $ = () => {
4342
+ fetch(l).then((A) => A.json()).then((A) => {
4343
+ Object.keys(A).forEach((U) => {
4344
+ Tt(U, A[U]);
4308
4345
  });
4309
- }).catch((B) => {
4310
- console.log(B);
4346
+ }).catch((A) => {
4347
+ console.log(A);
4311
4348
  });
4312
4349
  };
4313
- Object.keys(vt).forEach((b) => {
4314
- yt(b, vt[b]);
4350
+ Object.keys(Ht).forEach((b) => {
4351
+ Tt(b, Ht[b]);
4315
4352
  });
4316
- const w = () => {
4353
+ const P = () => {
4317
4354
  let b = new Headers();
4318
4355
  b.append("Content-type", "application/json"), b.append("X-SessionID", o);
4319
- let B = { method: "DELETE", headers: b };
4320
- fetch(`${i}/v1/player/session/player`, B).then((R) => {
4356
+ let A = { method: "DELETE", headers: b };
4357
+ fetch(`${i}/v1/player/session/player`, A).then((U) => {
4321
4358
  window.postMessage({ type: "LogoutSuccessfull" }, window.location.href);
4322
4359
  });
4323
- }, S = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", f = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", f = !0, console.error(c)), f), $ = () => {
4324
- Oi(a);
4325
- }, P = () => {
4360
+ }, S = () => (i || (c = "GENERAL-LOGOUT - Endpoint is missing! Please provide a valid endpointURL.", f = !0, console.error(c)), o || (c = "GENERAL-LOGOUT - Session is missing! Please provide a valid session.", f = !0, console.error(c)), f), R = () => {
4361
+ Fi(a);
4362
+ }, O = () => {
4326
4363
  let b = document.createElement("style");
4327
4364
  b.innerHTML = h, d.appendChild(b);
4328
- }, D = () => {
4329
- let b = new URL(u), B = document.createElement("style");
4330
- fetch(b.href).then((R) => R.text()).then((R) => {
4331
- B.innerHTML = R, setTimeout(
4365
+ }, G = () => {
4366
+ let b = new URL(u), A = document.createElement("style");
4367
+ fetch(b.href).then((U) => U.text()).then((U) => {
4368
+ A.innerHTML = U, setTimeout(
4332
4369
  () => {
4333
- d.appendChild(B);
4370
+ d.appendChild(A);
4334
4371
  },
4335
4372
  1
4336
4373
  ), setTimeout(
@@ -4339,9 +4376,9 @@ function $i(e, t, r) {
4339
4376
  500
4340
4377
  );
4341
4378
  });
4342
- }, ae = () => w(), rr = () => w();
4343
- function nr(b) {
4344
- Pe[b ? "unshift" : "push"](() => {
4379
+ }, ue = () => P(), ur = () => P();
4380
+ function hr(b) {
4381
+ Ie[b ? "unshift" : "push"](() => {
4345
4382
  d = b, r(1, d);
4346
4383
  });
4347
4384
  }
@@ -4350,36 +4387,36 @@ function $i(e, t, r) {
4350
4387
  }, e.$$.update = () => {
4351
4388
  e.$$.dirty & /*endpoint, session, buttonlocation*/
4352
4389
  193 && i && o && s && S(), e.$$.dirty & /*lang*/
4353
- 256 && a && $(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4354
- 514 && h && d && P(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4355
- 1026 && u && d && D(), e.$$.dirty & /*translationurl*/
4356
- 2048 && l && C();
4390
+ 256 && a && R(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4391
+ 514 && h && d && O(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4392
+ 1026 && u && d && G(), e.$$.dirty & /*translationurl*/
4393
+ 2048 && l && $();
4357
4394
  }, [
4358
4395
  s,
4359
4396
  d,
4360
4397
  n,
4361
4398
  v,
4362
- H,
4363
- w,
4399
+ B,
4400
+ P,
4364
4401
  i,
4365
4402
  o,
4366
4403
  a,
4367
4404
  h,
4368
4405
  u,
4369
4406
  l,
4370
- ae,
4371
- rr,
4372
- nr
4407
+ ue,
4408
+ ur,
4409
+ hr
4373
4410
  ];
4374
4411
  }
4375
- class Ri extends Tr {
4412
+ class Zi extends Cr {
4376
4413
  constructor(t) {
4377
- super(), _r(
4414
+ super(), Lr(
4378
4415
  this,
4379
4416
  t,
4380
- $i,
4381
- Ci,
4382
- Et,
4417
+ zi,
4418
+ Wi,
4419
+ At,
4383
4420
  {
4384
4421
  endpoint: 6,
4385
4422
  session: 7,
@@ -4389,53 +4426,53 @@ class Ri extends Tr {
4389
4426
  clientstylingurl: 10,
4390
4427
  translationurl: 11
4391
4428
  },
4392
- Ii
4429
+ ji
4393
4430
  );
4394
4431
  }
4395
4432
  get endpoint() {
4396
4433
  return this.$$.ctx[6];
4397
4434
  }
4398
4435
  set endpoint(t) {
4399
- this.$$set({ endpoint: t }), O();
4436
+ this.$$set({ endpoint: t }), I();
4400
4437
  }
4401
4438
  get session() {
4402
4439
  return this.$$.ctx[7];
4403
4440
  }
4404
4441
  set session(t) {
4405
- this.$$set({ session: t }), O();
4442
+ this.$$set({ session: t }), I();
4406
4443
  }
4407
4444
  get buttonlocation() {
4408
4445
  return this.$$.ctx[0];
4409
4446
  }
4410
4447
  set buttonlocation(t) {
4411
- this.$$set({ buttonlocation: t }), O();
4448
+ this.$$set({ buttonlocation: t }), I();
4412
4449
  }
4413
4450
  get lang() {
4414
4451
  return this.$$.ctx[8];
4415
4452
  }
4416
4453
  set lang(t) {
4417
- this.$$set({ lang: t }), O();
4454
+ this.$$set({ lang: t }), I();
4418
4455
  }
4419
4456
  get clientstyling() {
4420
4457
  return this.$$.ctx[9];
4421
4458
  }
4422
4459
  set clientstyling(t) {
4423
- this.$$set({ clientstyling: t }), O();
4460
+ this.$$set({ clientstyling: t }), I();
4424
4461
  }
4425
4462
  get clientstylingurl() {
4426
4463
  return this.$$.ctx[10];
4427
4464
  }
4428
4465
  set clientstylingurl(t) {
4429
- this.$$set({ clientstylingurl: t }), O();
4466
+ this.$$set({ clientstylingurl: t }), I();
4430
4467
  }
4431
4468
  get translationurl() {
4432
4469
  return this.$$.ctx[11];
4433
4470
  }
4434
4471
  set translationurl(t) {
4435
- this.$$set({ translationurl: t }), O();
4472
+ this.$$set({ translationurl: t }), I();
4436
4473
  }
4437
4474
  }
4438
- Sr(Ri, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4475
+ Mr(Zi, { endpoint: {}, session: {}, buttonlocation: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4439
4476
  export {
4440
- Ri as G
4477
+ Zi as default
4441
4478
  };