@everymatrix/player-transaction-history 1.54.0 → 1.54.4

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