@everymatrix/player-account-menu-nd 1.53.0 → 1.53.10

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