@everymatrix/player-account-gaming-limits-wrapper-2-nd 1.53.11 → 1.54.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,53 @@
1
+ var zr = Object.defineProperty, $r = Object.defineProperties;
2
+ var Ur = Object.getOwnPropertyDescriptors;
3
+ var ft = Object.getOwnPropertySymbols;
4
+ var Gr = Object.prototype.hasOwnProperty, Fr = Object.prototype.propertyIsEnumerable;
5
+ var Me = (e, t, r) => t in e ? zr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ye = (e, t) => {
6
+ for (var r in t || (t = {}))
7
+ Gr.call(t, r) && Me(e, r, t[r]);
8
+ if (ft)
9
+ for (var r of ft(t))
10
+ Fr.call(t, r) && Me(e, r, t[r]);
11
+ return e;
12
+ }, mt = (e, t) => $r(e, Ur(t));
13
+ var M = (e, t, r) => Me(e, typeof t != "symbol" ? t + "" : t, r);
14
+ var pt = (e, t, r) => new Promise((i, n) => {
15
+ var o = (l) => {
16
+ try {
17
+ a(r.next(l));
18
+ } catch (u) {
19
+ n(u);
20
+ }
21
+ }, s = (l) => {
22
+ try {
23
+ a(r.throw(l));
24
+ } catch (u) {
25
+ n(u);
26
+ }
27
+ }, a = (l) => l.done ? i(l.value) : Promise.resolve(l.value).then(o, s);
28
+ a((r = r.apply(e, t)).next());
29
+ });
1
30
  function C() {
2
31
  }
3
- function Rt(e) {
32
+ function Ft(e) {
4
33
  return e();
5
34
  }
6
- function lt() {
35
+ function dt() {
7
36
  return /* @__PURE__ */ Object.create(null);
8
37
  }
9
- function ce(e) {
10
- e.forEach(Rt);
38
+ function fe(e) {
39
+ e.forEach(Ft);
11
40
  }
12
- function nt(e) {
41
+ function at(e) {
13
42
  return typeof e == "function";
14
43
  }
15
- function Dt(e, t) {
44
+ function jt(e, t) {
16
45
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
17
46
  }
18
- function Cr(e) {
47
+ function jr(e) {
19
48
  return Object.keys(e).length === 0;
20
49
  }
21
- function zt(e, ...t) {
50
+ function kt(e, ...t) {
22
51
  if (e == null) {
23
52
  for (const i of t)
24
53
  i(void 0);
@@ -27,27 +56,27 @@ function zt(e, ...t) {
27
56
  const r = e.subscribe(...t);
28
57
  return r.unsubscribe ? () => r.unsubscribe() : r;
29
58
  }
30
- function Ir(e, t, r) {
31
- e.$$.on_destroy.push(zt(t, r));
59
+ function kr(e, t, r) {
60
+ e.$$.on_destroy.push(kt(t, r));
32
61
  }
33
- function ht(e) {
34
- return e ?? "";
62
+ function yt(e) {
63
+ return e == null ? "" : e;
35
64
  }
36
- const bo = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : (
65
+ const Po = typeof window != "undefined" ? window : typeof globalThis != "undefined" ? globalThis : (
37
66
  // @ts-ignore Node typings have this
38
67
  global
39
68
  );
40
69
  function L(e, t) {
41
70
  e.appendChild(t);
42
71
  }
43
- function Nr(e, t, r) {
44
- const i = Mr(e);
72
+ function Vr(e, t, r) {
73
+ const i = Wr(e);
45
74
  if (!i.getElementById(t)) {
46
75
  const n = H("style");
47
- n.id = t, n.textContent = r, Rr(i, n);
76
+ n.id = t, n.textContent = r, Xr(i, n);
48
77
  }
49
78
  }
50
- function Mr(e) {
79
+ function Wr(e) {
51
80
  if (!e) return document;
52
81
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
53
82
  return t && /** @type {ShadowRoot} */
@@ -56,65 +85,65 @@ function Mr(e) {
56
85
  t
57
86
  ) : e.ownerDocument;
58
87
  }
59
- function Rr(e, t) {
88
+ function Xr(e, t) {
60
89
  return L(
61
90
  /** @type {Document} */
62
91
  e.head || e,
63
92
  t
64
93
  ), t.sheet;
65
94
  }
66
- function V(e, t, r) {
95
+ function W(e, t, r) {
67
96
  e.insertBefore(t, r || null);
68
97
  }
69
- function j(e) {
98
+ function k(e) {
70
99
  e.parentNode && e.parentNode.removeChild(e);
71
100
  }
72
- function Dr(e, t) {
101
+ function Zr(e, t) {
73
102
  for (let r = 0; r < e.length; r += 1)
74
103
  e[r] && e[r].d(t);
75
104
  }
76
105
  function H(e) {
77
106
  return document.createElement(e);
78
107
  }
79
- function Ie(e) {
108
+ function Re(e) {
80
109
  return document.createElementNS("http://www.w3.org/2000/svg", e);
81
110
  }
82
- function M(e) {
111
+ function R(e) {
83
112
  return document.createTextNode(e);
84
113
  }
85
- function Fe() {
86
- return M(" ");
114
+ function Ve() {
115
+ return R(" ");
87
116
  }
88
- function go() {
89
- return M("");
117
+ function Bo() {
118
+ return R("");
90
119
  }
91
- function zr(e, t, r, i) {
120
+ function Qr(e, t, r, i) {
92
121
  return e.addEventListener(t, r, i), () => e.removeEventListener(t, r, i);
93
122
  }
94
123
  function E(e, t, r) {
95
124
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
96
125
  }
97
- function vo(e, t, r) {
126
+ function Oo(e, t, r) {
98
127
  const i = t.toLowerCase();
99
128
  i in e ? e[i] = typeof e[i] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : E(e, t, r);
100
129
  }
101
- function _o(e) {
130
+ function Co(e) {
102
131
  return e === "" ? null : +e;
103
132
  }
104
- function $r(e) {
133
+ function Yr(e) {
105
134
  return Array.from(e.childNodes);
106
135
  }
107
- function F(e, t) {
136
+ function j(e, t) {
108
137
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
109
138
  t);
110
139
  }
111
- function xo(e, t) {
112
- e.value = t ?? "";
140
+ function Io(e, t) {
141
+ e.value = t == null ? "" : t;
113
142
  }
114
- function Ur(e, t, r, i) {
143
+ function Jr(e, t, r, i) {
115
144
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
116
145
  }
117
- function Eo(e, t, r) {
146
+ function No(e, t, r) {
118
147
  for (let i = 0; i < e.options.length; i += 1) {
119
148
  const n = e.options[i];
120
149
  if (n.__value === t) {
@@ -124,14 +153,14 @@ function Eo(e, t, r) {
124
153
  }
125
154
  (!r || t !== void 0) && (e.selectedIndex = -1);
126
155
  }
127
- function To(e) {
156
+ function Mo(e) {
128
157
  const t = e.querySelector(":checked");
129
158
  return t && t.__value;
130
159
  }
131
- function de(e, t, r) {
160
+ function be(e, t, r) {
132
161
  e.classList.toggle(t, !!r);
133
162
  }
134
- function Gr(e) {
163
+ function qr(e) {
135
164
  const t = {};
136
165
  return e.childNodes.forEach(
137
166
  /** @param {Element} node */
@@ -140,88 +169,88 @@ function Gr(e) {
140
169
  }
141
170
  ), t;
142
171
  }
143
- let ue;
144
- function ae(e) {
145
- ue = e;
172
+ let le;
173
+ function ue(e) {
174
+ le = e;
146
175
  }
147
- function Fr() {
148
- if (!ue) throw new Error("Function called outside component initialization");
149
- return ue;
176
+ function Kr() {
177
+ if (!le) throw new Error("Function called outside component initialization");
178
+ return le;
150
179
  }
151
- function jr(e) {
152
- Fr().$$.on_mount.push(e);
180
+ function ei(e) {
181
+ Kr().$$.on_mount.push(e);
153
182
  }
154
- const Q = [], Ee = [];
155
- let Y = [];
156
- const ct = [], kr = /* @__PURE__ */ Promise.resolve();
157
- let je = !1;
158
- function Vr() {
159
- je || (je = !0, kr.then(I));
183
+ const Y = [], Le = [];
184
+ let J = [];
185
+ const bt = [], ti = /* @__PURE__ */ Promise.resolve();
186
+ let We = !1;
187
+ function ri() {
188
+ We || (We = !0, ti.then(I));
160
189
  }
161
- function ke(e) {
162
- Y.push(e);
190
+ function Xe(e) {
191
+ J.push(e);
163
192
  }
164
- const Ne = /* @__PURE__ */ new Set();
165
- let X = 0;
193
+ const De = /* @__PURE__ */ new Set();
194
+ let Z = 0;
166
195
  function I() {
167
- if (X !== 0)
196
+ if (Z !== 0)
168
197
  return;
169
- const e = ue;
198
+ const e = le;
170
199
  do {
171
200
  try {
172
- for (; X < Q.length; ) {
173
- const t = Q[X];
174
- X++, ae(t), Wr(t.$$);
201
+ for (; Z < Y.length; ) {
202
+ const t = Y[Z];
203
+ Z++, ue(t), ii(t.$$);
175
204
  }
176
205
  } catch (t) {
177
- throw Q.length = 0, X = 0, t;
206
+ throw Y.length = 0, Z = 0, t;
178
207
  }
179
- for (ae(null), Q.length = 0, X = 0; Ee.length; ) Ee.pop()();
180
- for (let t = 0; t < Y.length; t += 1) {
181
- const r = Y[t];
182
- Ne.has(r) || (Ne.add(r), r());
208
+ for (ue(null), Y.length = 0, Z = 0; Le.length; ) Le.pop()();
209
+ for (let t = 0; t < J.length; t += 1) {
210
+ const r = J[t];
211
+ De.has(r) || (De.add(r), r());
183
212
  }
184
- Y.length = 0;
185
- } while (Q.length);
186
- for (; ct.length; )
187
- ct.pop()();
188
- je = !1, Ne.clear(), ae(e);
213
+ J.length = 0;
214
+ } while (Y.length);
215
+ for (; bt.length; )
216
+ bt.pop()();
217
+ We = !1, De.clear(), ue(e);
189
218
  }
190
- function Wr(e) {
219
+ function ii(e) {
191
220
  if (e.fragment !== null) {
192
- e.update(), ce(e.before_update);
221
+ e.update(), fe(e.before_update);
193
222
  const t = e.dirty;
194
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(ke);
223
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Xe);
195
224
  }
196
225
  }
197
- function Xr(e) {
226
+ function ni(e) {
198
227
  const t = [], r = [];
199
- Y.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), Y = t;
228
+ J.forEach((i) => e.indexOf(i) === -1 ? t.push(i) : r.push(i)), r.forEach((i) => i()), J = t;
200
229
  }
201
- const Zr = /* @__PURE__ */ new Set();
202
- function Qr(e, t) {
203
- e && e.i && (Zr.delete(e), e.i(t));
230
+ const oi = /* @__PURE__ */ new Set();
231
+ function si(e, t) {
232
+ e && e.i && (oi.delete(e), e.i(t));
204
233
  }
205
- function ft(e) {
206
- return e?.length !== void 0 ? e : Array.from(e);
234
+ function gt(e) {
235
+ return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
207
236
  }
208
- function Yr(e, t, r) {
237
+ function ai(e, t, r) {
209
238
  const { fragment: i, after_update: n } = e.$$;
210
- i && i.m(t, r), ke(() => {
211
- const o = e.$$.on_mount.map(Rt).filter(nt);
212
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : ce(o), e.$$.on_mount = [];
213
- }), n.forEach(ke);
239
+ i && i.m(t, r), Xe(() => {
240
+ const o = e.$$.on_mount.map(Ft).filter(at);
241
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : fe(o), e.$$.on_mount = [];
242
+ }), n.forEach(Xe);
214
243
  }
215
- function Jr(e, t) {
244
+ function ui(e, t) {
216
245
  const r = e.$$;
217
- r.fragment !== null && (Xr(r.after_update), ce(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
246
+ r.fragment !== null && (ni(r.after_update), fe(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
218
247
  }
219
- function qr(e, t) {
220
- e.$$.dirty[0] === -1 && (Q.push(e), Vr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
248
+ function li(e, t) {
249
+ e.$$.dirty[0] === -1 && (Y.push(e), ri(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
221
250
  }
222
- function Kr(e, t, r, i, n, o, a = null, s = [-1]) {
223
- const h = ue;
224
- ae(e);
251
+ function hi(e, t, r, i, n, o, s = null, a = [-1]) {
252
+ const l = le;
253
+ ue(e);
225
254
  const u = e.$$ = {
226
255
  fragment: null,
227
256
  ctx: [],
@@ -229,155 +258,159 @@ function Kr(e, t, r, i, n, o, a = null, s = [-1]) {
229
258
  props: o,
230
259
  update: C,
231
260
  not_equal: n,
232
- bound: lt(),
261
+ bound: dt(),
233
262
  // lifecycle
234
263
  on_mount: [],
235
264
  on_destroy: [],
236
265
  on_disconnect: [],
237
266
  before_update: [],
238
267
  after_update: [],
239
- context: new Map(t.context || (h ? h.$$.context : [])),
268
+ context: new Map(t.context || (l ? l.$$.context : [])),
240
269
  // everything else
241
- callbacks: lt(),
242
- dirty: s,
270
+ callbacks: dt(),
271
+ dirty: a,
243
272
  skip_bound: !1,
244
- root: t.target || h.$$.root
273
+ root: t.target || l.$$.root
245
274
  };
246
- a && a(u.root);
247
- let l = !1;
275
+ s && s(u.root);
276
+ let h = !1;
248
277
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
249
278
  const y = p.length ? p[0] : f;
250
- return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), l && qr(e, c)), f;
251
- }) : [], u.update(), l = !0, ce(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
279
+ return u.ctx && n(u.ctx[c], u.ctx[c] = y) && (!u.skip_bound && u.bound[c] && u.bound[c](y), h && li(e, c)), f;
280
+ }) : [], u.update(), h = !0, fe(u.before_update), u.fragment = i ? i(u.ctx) : !1, t.target) {
252
281
  if (t.hydrate) {
253
- const c = $r(t.target);
254
- u.fragment && u.fragment.l(c), c.forEach(j);
282
+ const c = Yr(t.target);
283
+ u.fragment && u.fragment.l(c), c.forEach(k);
255
284
  } else
256
285
  u.fragment && u.fragment.c();
257
- t.intro && Qr(e.$$.fragment), Yr(e, t.target, t.anchor), I();
286
+ t.intro && si(e.$$.fragment), ai(e, t.target, t.anchor), I();
258
287
  }
259
- ae(h);
260
- }
261
- let $t;
262
- typeof HTMLElement == "function" && ($t = class extends HTMLElement {
263
- /** The Svelte component constructor */
264
- $$ctor;
265
- /** Slots */
266
- $$s;
267
- /** The Svelte component instance */
268
- $$c;
269
- /** Whether or not the custom element is connected */
270
- $$cn = !1;
271
- /** Component props data */
272
- $$d = {};
273
- /** `true` if currently in the process of reflecting component props back to attributes */
274
- $$r = !1;
275
- /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
276
- $$p_d = {};
277
- /** @type {Record<string, Function[]>} Event listeners */
278
- $$l = {};
279
- /** @type {Map<Function, Function>} Event listener unsubscribe functions */
280
- $$l_u = /* @__PURE__ */ new Map();
281
- constructor(e, t, r) {
282
- super(), this.$$ctor = e, this.$$s = t, r && this.attachShadow({ mode: "open" });
288
+ ue(l);
289
+ }
290
+ let Vt;
291
+ typeof HTMLElement == "function" && (Vt = class extends HTMLElement {
292
+ constructor(t, r, i) {
293
+ super();
294
+ /** The Svelte component constructor */
295
+ M(this, "$$ctor");
296
+ /** Slots */
297
+ M(this, "$$s");
298
+ /** The Svelte component instance */
299
+ M(this, "$$c");
300
+ /** Whether or not the custom element is connected */
301
+ M(this, "$$cn", !1);
302
+ /** Component props data */
303
+ M(this, "$$d", {});
304
+ /** `true` if currently in the process of reflecting component props back to attributes */
305
+ M(this, "$$r", !1);
306
+ /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
307
+ M(this, "$$p_d", {});
308
+ /** @type {Record<string, Function[]>} Event listeners */
309
+ M(this, "$$l", {});
310
+ /** @type {Map<Function, Function>} Event listener unsubscribe functions */
311
+ M(this, "$$l_u", /* @__PURE__ */ new Map());
312
+ this.$$ctor = t, this.$$s = r, i && this.attachShadow({ mode: "open" });
283
313
  }
284
- addEventListener(e, t, r) {
285
- if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(t), this.$$c) {
286
- const i = this.$$c.$on(e, t);
287
- this.$$l_u.set(t, i);
314
+ addEventListener(t, r, i) {
315
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
316
+ const n = this.$$c.$on(t, r);
317
+ this.$$l_u.set(r, n);
288
318
  }
289
- super.addEventListener(e, t, r);
319
+ super.addEventListener(t, r, i);
290
320
  }
291
- removeEventListener(e, t, r) {
292
- if (super.removeEventListener(e, t, r), this.$$c) {
293
- const i = this.$$l_u.get(t);
294
- i && (i(), this.$$l_u.delete(t));
321
+ removeEventListener(t, r, i) {
322
+ if (super.removeEventListener(t, r, i), this.$$c) {
323
+ const n = this.$$l_u.get(r);
324
+ n && (n(), this.$$l_u.delete(r));
295
325
  }
296
326
  }
297
- async connectedCallback() {
298
- if (this.$$cn = !0, !this.$$c) {
299
- let e = function(n) {
300
- return () => {
301
- let o;
302
- return {
303
- c: function() {
304
- o = H("slot"), n !== "default" && E(o, "name", n);
305
- },
306
- /**
307
- * @param {HTMLElement} target
308
- * @param {HTMLElement} [anchor]
309
- */
310
- m: function(h, u) {
311
- V(h, o, u);
312
- },
313
- d: function(h) {
314
- h && j(o);
315
- }
327
+ connectedCallback() {
328
+ return pt(this, null, function* () {
329
+ if (this.$$cn = !0, !this.$$c) {
330
+ let t = function(o) {
331
+ return () => {
332
+ let s;
333
+ return {
334
+ c: function() {
335
+ s = H("slot"), o !== "default" && E(s, "name", o);
336
+ },
337
+ /**
338
+ * @param {HTMLElement} target
339
+ * @param {HTMLElement} [anchor]
340
+ */
341
+ m: function(u, h) {
342
+ W(u, s, h);
343
+ },
344
+ d: function(u) {
345
+ u && k(s);
346
+ }
347
+ };
316
348
  };
317
349
  };
318
- };
319
- if (await Promise.resolve(), !this.$$cn || this.$$c)
320
- return;
321
- const t = {}, r = Gr(this);
322
- for (const n of this.$$s)
323
- n in r && (t[n] = [e(n)]);
324
- for (const n of this.attributes) {
325
- const o = this.$$g_p(n.name);
326
- o in this.$$d || (this.$$d[o] = ge(o, n.value, this.$$p_d, "toProp"));
327
- }
328
- for (const n in this.$$p_d)
329
- !(n in this.$$d) && this[n] !== void 0 && (this.$$d[n] = this[n], delete this[n]);
330
- this.$$c = new this.$$ctor({
331
- target: this.shadowRoot || this,
332
- props: {
333
- ...this.$$d,
334
- $$slots: t,
335
- $$scope: {
336
- ctx: []
337
- }
350
+ if (yield Promise.resolve(), !this.$$cn || this.$$c)
351
+ return;
352
+ const r = {}, i = qr(this);
353
+ for (const o of this.$$s)
354
+ o in i && (r[o] = [t(o)]);
355
+ for (const o of this.attributes) {
356
+ const s = this.$$g_p(o.name);
357
+ s in this.$$d || (this.$$d[s] = _e(s, o.value, this.$$p_d, "toProp"));
338
358
  }
339
- });
340
- const i = () => {
341
- this.$$r = !0;
342
- for (const n in this.$$p_d)
343
- if (this.$$d[n] = this.$$c.$$.ctx[this.$$c.$$.props[n]], this.$$p_d[n].reflect) {
344
- const o = ge(
345
- n,
346
- this.$$d[n],
347
- this.$$p_d,
348
- "toAttribute"
349
- );
350
- o == null ? this.removeAttribute(this.$$p_d[n].attribute || n) : this.setAttribute(this.$$p_d[n].attribute || n, o);
359
+ for (const o in this.$$p_d)
360
+ !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
361
+ this.$$c = new this.$$ctor({
362
+ target: this.shadowRoot || this,
363
+ props: mt(ye({}, this.$$d), {
364
+ $$slots: r,
365
+ $$scope: {
366
+ ctx: []
367
+ }
368
+ })
369
+ });
370
+ const n = () => {
371
+ this.$$r = !0;
372
+ for (const o in this.$$p_d)
373
+ if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
374
+ const s = _e(
375
+ o,
376
+ this.$$d[o],
377
+ this.$$p_d,
378
+ "toAttribute"
379
+ );
380
+ s == null ? this.removeAttribute(this.$$p_d[o].attribute || o) : this.setAttribute(this.$$p_d[o].attribute || o, s);
381
+ }
382
+ this.$$r = !1;
383
+ };
384
+ this.$$c.$$.after_update.push(n), n();
385
+ for (const o in this.$$l)
386
+ for (const s of this.$$l[o]) {
387
+ const a = this.$$c.$on(o, s);
388
+ this.$$l_u.set(s, a);
351
389
  }
352
- this.$$r = !1;
353
- };
354
- this.$$c.$$.after_update.push(i), i();
355
- for (const n in this.$$l)
356
- for (const o of this.$$l[n]) {
357
- const a = this.$$c.$on(n, o);
358
- this.$$l_u.set(o, a);
359
- }
360
- this.$$l = {};
361
- }
390
+ this.$$l = {};
391
+ }
392
+ });
362
393
  }
363
394
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
364
395
  // and setting attributes through setAttribute etc, this is helpful
365
- attributeChangedCallback(e, t, r) {
366
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ge(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
396
+ attributeChangedCallback(t, r, i) {
397
+ var n;
398
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = _e(t, i, this.$$p_d, "toProp"), (n = this.$$c) == null || n.$set({ [t]: this.$$d[t] }));
367
399
  }
368
400
  disconnectedCallback() {
369
401
  this.$$cn = !1, Promise.resolve().then(() => {
370
402
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
371
403
  });
372
404
  }
373
- $$g_p(e) {
405
+ $$g_p(t) {
374
406
  return Object.keys(this.$$p_d).find(
375
- (t) => this.$$p_d[t].attribute === e || !this.$$p_d[t].attribute && t.toLowerCase() === e
376
- ) || e;
407
+ (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
408
+ ) || t;
377
409
  }
378
410
  });
379
- function ge(e, t, r, i) {
380
- const n = r[e]?.type;
411
+ function _e(e, t, r, i) {
412
+ var o;
413
+ const n = (o = r[e]) == null ? void 0 : o.type;
381
414
  if (t = n === "Boolean" && typeof t != "boolean" ? t != null : t, !i || !r[e])
382
415
  return t;
383
416
  if (i === "toAttribute")
@@ -388,7 +421,7 @@ function ge(e, t, r, i) {
388
421
  case "Boolean":
389
422
  return t ? "" : null;
390
423
  case "Number":
391
- return t ?? null;
424
+ return t == null ? null : t;
392
425
  default:
393
426
  return t;
394
427
  }
@@ -405,55 +438,59 @@ function ge(e, t, r, i) {
405
438
  return t;
406
439
  }
407
440
  }
408
- function ei(e, t, r, i, n, o) {
409
- let a = class extends $t {
441
+ function ci(e, t, r, i, n, o) {
442
+ let s = class extends Vt {
410
443
  constructor() {
411
444
  super(e, r, n), this.$$p_d = t;
412
445
  }
413
446
  static get observedAttributes() {
414
447
  return Object.keys(t).map(
415
- (s) => (t[s].attribute || s).toLowerCase()
448
+ (a) => (t[a].attribute || a).toLowerCase()
416
449
  );
417
450
  }
418
451
  };
419
- return Object.keys(t).forEach((s) => {
420
- Object.defineProperty(a.prototype, s, {
452
+ return Object.keys(t).forEach((a) => {
453
+ Object.defineProperty(s.prototype, a, {
421
454
  get() {
422
- return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
455
+ return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
423
456
  },
424
- set(h) {
425
- h = ge(s, h, t), this.$$d[s] = h, this.$$c?.$set({ [s]: h });
457
+ set(l) {
458
+ var u;
459
+ l = _e(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
426
460
  }
427
461
  });
428
- }), i.forEach((s) => {
429
- Object.defineProperty(a.prototype, s, {
462
+ }), i.forEach((a) => {
463
+ Object.defineProperty(s.prototype, a, {
430
464
  get() {
431
- return this.$$c?.[s];
465
+ var l;
466
+ return (l = this.$$c) == null ? void 0 : l[a];
432
467
  }
433
468
  });
434
469
  }), e.element = /** @type {any} */
435
- a, a;
436
- }
437
- class ti {
438
- /**
439
- * ### PRIVATE API
440
- *
441
- * Do not use, may change at any time
442
- *
443
- * @type {any}
444
- */
445
- $$ = void 0;
446
- /**
447
- * ### PRIVATE API
448
- *
449
- * Do not use, may change at any time
450
- *
451
- * @type {any}
452
- */
453
- $$set = void 0;
470
+ s, s;
471
+ }
472
+ class fi {
473
+ constructor() {
474
+ /**
475
+ * ### PRIVATE API
476
+ *
477
+ * Do not use, may change at any time
478
+ *
479
+ * @type {any}
480
+ */
481
+ M(this, "$$");
482
+ /**
483
+ * ### PRIVATE API
484
+ *
485
+ * Do not use, may change at any time
486
+ *
487
+ * @type {any}
488
+ */
489
+ M(this, "$$set");
490
+ }
454
491
  /** @returns {void} */
455
492
  $destroy() {
456
- Jr(this, 1), this.$destroy = C;
493
+ ui(this, 1), this.$destroy = C;
457
494
  }
458
495
  /**
459
496
  * @template {Extract<keyof Events, string>} K
@@ -462,7 +499,7 @@ class ti {
462
499
  * @returns {() => void}
463
500
  */
464
501
  $on(t, r) {
465
- if (!nt(r))
502
+ if (!at(r))
466
503
  return C;
467
504
  const i = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
468
505
  return i.push(r), () => {
@@ -475,22 +512,22 @@ class ti {
475
512
  * @returns {void}
476
513
  */
477
514
  $set(t) {
478
- this.$$set && !Cr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
515
+ this.$$set && !jr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
479
516
  }
480
517
  }
481
- const ri = "4";
482
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(ri);
483
- var Ve = function(e, t) {
484
- return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
518
+ const mi = "4";
519
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(mi);
520
+ var Ze = function(e, t) {
521
+ return Ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, i) {
485
522
  r.__proto__ = i;
486
523
  } || function(r, i) {
487
524
  for (var n in i) Object.prototype.hasOwnProperty.call(i, n) && (r[n] = i[n]);
488
- }, Ve(e, t);
525
+ }, Ze(e, t);
489
526
  };
490
- function U(e, t) {
527
+ function G(e, t) {
491
528
  if (typeof t != "function" && t !== null)
492
529
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
493
- Ve(e, t);
530
+ Ze(e, t);
494
531
  function r() {
495
532
  this.constructor = e;
496
533
  }
@@ -505,7 +542,7 @@ var x = function() {
505
542
  return t;
506
543
  }, x.apply(this, arguments);
507
544
  };
508
- function ii(e, t) {
545
+ function pi(e, t) {
509
546
  var r = {};
510
547
  for (var i in e) Object.prototype.hasOwnProperty.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
511
548
  if (e != null && typeof Object.getOwnPropertySymbols == "function")
@@ -513,7 +550,7 @@ function ii(e, t) {
513
550
  t.indexOf(i[n]) < 0 && Object.prototype.propertyIsEnumerable.call(e, i[n]) && (r[i[n]] = e[i[n]]);
514
551
  return r;
515
552
  }
516
- function We(e) {
553
+ function Qe(e) {
517
554
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], i = 0;
518
555
  if (r) return r.call(e);
519
556
  if (e && typeof e.length == "number") return {
@@ -523,38 +560,38 @@ function We(e) {
523
560
  };
524
561
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
525
562
  }
526
- function Xe(e, t) {
563
+ function Ye(e, t) {
527
564
  var r = typeof Symbol == "function" && e[Symbol.iterator];
528
565
  if (!r) return e;
529
- var i = r.call(e), n, o = [], a;
566
+ var i = r.call(e), n, o = [], s;
530
567
  try {
531
568
  for (; (t === void 0 || t-- > 0) && !(n = i.next()).done; ) o.push(n.value);
532
- } catch (s) {
533
- a = { error: s };
569
+ } catch (a) {
570
+ s = { error: a };
534
571
  } finally {
535
572
  try {
536
573
  n && !n.done && (r = i.return) && r.call(i);
537
574
  } finally {
538
- if (a) throw a.error;
575
+ if (s) throw s.error;
539
576
  }
540
577
  }
541
578
  return o;
542
579
  }
543
- function J(e, t, r) {
580
+ function q(e, t, r) {
544
581
  if (r || arguments.length === 2) for (var i = 0, n = t.length, o; i < n; i++)
545
582
  (o || !(i in t)) && (o || (o = Array.prototype.slice.call(t, 0, i)), o[i] = t[i]);
546
583
  return e.concat(o || Array.prototype.slice.call(t));
547
584
  }
548
- function $(e) {
585
+ function U(e) {
549
586
  return typeof e == "function";
550
587
  }
551
- function Ut(e) {
588
+ function Wt(e) {
552
589
  var t = function(i) {
553
590
  Error.call(i), i.stack = new Error().stack;
554
591
  }, r = e(t);
555
592
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
556
593
  }
557
- var Me = Ut(function(e) {
594
+ var ze = Wt(function(e) {
558
595
  return function(r) {
559
596
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
560
597
  ` + r.map(function(i, n) {
@@ -563,13 +600,13 @@ var Me = Ut(function(e) {
563
600
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
564
601
  };
565
602
  });
566
- function Ze(e, t) {
603
+ function Je(e, t) {
567
604
  if (e) {
568
605
  var r = e.indexOf(t);
569
606
  0 <= r && e.splice(r, 1);
570
607
  }
571
608
  }
572
- var Se = function() {
609
+ var Ae = function() {
573
610
  function e(t) {
574
611
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
575
612
  }
@@ -577,42 +614,42 @@ var Se = function() {
577
614
  var t, r, i, n, o;
578
615
  if (!this.closed) {
579
616
  this.closed = !0;
580
- var a = this._parentage;
581
- if (a)
582
- if (this._parentage = null, Array.isArray(a))
617
+ var s = this._parentage;
618
+ if (s)
619
+ if (this._parentage = null, Array.isArray(s))
583
620
  try {
584
- for (var s = We(a), h = s.next(); !h.done; h = s.next()) {
585
- var u = h.value;
621
+ for (var a = Qe(s), l = a.next(); !l.done; l = a.next()) {
622
+ var u = l.value;
586
623
  u.remove(this);
587
624
  }
588
625
  } catch (d) {
589
626
  t = { error: d };
590
627
  } finally {
591
628
  try {
592
- h && !h.done && (r = s.return) && r.call(s);
629
+ l && !l.done && (r = a.return) && r.call(a);
593
630
  } finally {
594
631
  if (t) throw t.error;
595
632
  }
596
633
  }
597
634
  else
598
- a.remove(this);
599
- var l = this.initialTeardown;
600
- if ($(l))
635
+ s.remove(this);
636
+ var h = this.initialTeardown;
637
+ if (U(h))
601
638
  try {
602
- l();
639
+ h();
603
640
  } catch (d) {
604
- o = d instanceof Me ? d.errors : [d];
641
+ o = d instanceof ze ? d.errors : [d];
605
642
  }
606
643
  var c = this._finalizers;
607
644
  if (c) {
608
645
  this._finalizers = null;
609
646
  try {
610
- for (var f = We(c), p = f.next(); !p.done; p = f.next()) {
647
+ for (var f = Qe(c), p = f.next(); !p.done; p = f.next()) {
611
648
  var y = p.value;
612
649
  try {
613
- mt(y);
650
+ vt(y);
614
651
  } catch (d) {
615
- o = o ?? [], d instanceof Me ? o = J(J([], Xe(o)), Xe(d.errors)) : o.push(d);
652
+ o = o != null ? o : [], d instanceof ze ? o = q(q([], Ye(o)), Ye(d.errors)) : o.push(d);
616
653
  }
617
654
  }
618
655
  } catch (d) {
@@ -626,13 +663,13 @@ var Se = function() {
626
663
  }
627
664
  }
628
665
  if (o)
629
- throw new Me(o);
666
+ throw new ze(o);
630
667
  }
631
668
  }, e.prototype.add = function(t) {
632
669
  var r;
633
670
  if (t && t !== this)
634
671
  if (this.closed)
635
- mt(t);
672
+ vt(t);
636
673
  else {
637
674
  if (t instanceof e) {
638
675
  if (t.closed || t._hasParent(this))
@@ -649,56 +686,56 @@ var Se = function() {
649
686
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
650
687
  }, e.prototype._removeParent = function(t) {
651
688
  var r = this._parentage;
652
- r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
689
+ r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
653
690
  }, e.prototype.remove = function(t) {
654
691
  var r = this._finalizers;
655
- r && Ze(r, t), t instanceof e && t._removeParent(this);
692
+ r && Je(r, t), t instanceof e && t._removeParent(this);
656
693
  }, e.EMPTY = function() {
657
694
  var t = new e();
658
695
  return t.closed = !0, t;
659
696
  }(), e;
660
- }(), Gt = Se.EMPTY;
661
- function Ft(e) {
662
- return e instanceof Se || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
697
+ }(), Xt = Ae.EMPTY;
698
+ function Zt(e) {
699
+ return e instanceof Ae || e && "closed" in e && U(e.remove) && U(e.add) && U(e.unsubscribe);
663
700
  }
664
- function mt(e) {
665
- $(e) ? e() : e.unsubscribe();
701
+ function vt(e) {
702
+ U(e) ? e() : e.unsubscribe();
666
703
  }
667
- var ni = {
704
+ var di = {
668
705
  onUnhandledError: null,
669
706
  onStoppedNotification: null,
670
707
  Promise: void 0,
671
708
  useDeprecatedSynchronousErrorHandling: !1,
672
709
  useDeprecatedNextContext: !1
673
- }, oi = {
710
+ }, yi = {
674
711
  setTimeout: function(e, t) {
675
712
  for (var r = [], i = 2; i < arguments.length; i++)
676
713
  r[i - 2] = arguments[i];
677
- return setTimeout.apply(void 0, J([e, t], Xe(r)));
714
+ return setTimeout.apply(void 0, q([e, t], Ye(r)));
678
715
  },
679
716
  clearTimeout: function(e) {
680
717
  return clearTimeout(e);
681
718
  },
682
719
  delegate: void 0
683
720
  };
684
- function si(e) {
685
- oi.setTimeout(function() {
721
+ function bi(e) {
722
+ yi.setTimeout(function() {
686
723
  throw e;
687
724
  });
688
725
  }
689
- function pt() {
726
+ function _t() {
690
727
  }
691
- function ve(e) {
728
+ function xe(e) {
692
729
  e();
693
730
  }
694
- var jt = function(e) {
695
- U(t, e);
731
+ var Qt = function(e) {
732
+ G(t, e);
696
733
  function t(r) {
697
734
  var i = e.call(this) || this;
698
- return i.isStopped = !1, r ? (i.destination = r, Ft(r) && r.add(i)) : i.destination = li, i;
735
+ return i.isStopped = !1, r ? (i.destination = r, Zt(r) && r.add(i)) : i.destination = _i, i;
699
736
  }
700
737
  return t.create = function(r, i, n) {
701
- return new Qe(r, i, n);
738
+ return new qe(r, i, n);
702
739
  }, t.prototype.next = function(r) {
703
740
  this.isStopped || this._next(r);
704
741
  }, t.prototype.error = function(r) {
@@ -722,7 +759,7 @@ var jt = function(e) {
722
759
  this.unsubscribe();
723
760
  }
724
761
  }, t;
725
- }(Se), ai = function() {
762
+ }(Ae), gi = function() {
726
763
  function e(t) {
727
764
  this.partialObserver = t;
728
765
  }
@@ -732,7 +769,7 @@ var jt = function(e) {
732
769
  try {
733
770
  r.next(t);
734
771
  } catch (i) {
735
- ye(i);
772
+ ge(i);
736
773
  }
737
774
  }, e.prototype.error = function(t) {
738
775
  var r = this.partialObserver;
@@ -740,56 +777,56 @@ var jt = function(e) {
740
777
  try {
741
778
  r.error(t);
742
779
  } catch (i) {
743
- ye(i);
780
+ ge(i);
744
781
  }
745
782
  else
746
- ye(t);
783
+ ge(t);
747
784
  }, e.prototype.complete = function() {
748
785
  var t = this.partialObserver;
749
786
  if (t.complete)
750
787
  try {
751
788
  t.complete();
752
789
  } catch (r) {
753
- ye(r);
790
+ ge(r);
754
791
  }
755
792
  }, e;
756
- }(), Qe = function(e) {
757
- U(t, e);
793
+ }(), qe = function(e) {
794
+ G(t, e);
758
795
  function t(r, i, n) {
759
- var o = e.call(this) || this, a;
760
- return $(r) || !r ? a = {
761
- next: r ?? void 0,
762
- error: i ?? void 0,
763
- complete: n ?? void 0
764
- } : a = r, o.destination = new ai(a), o;
796
+ var o = e.call(this) || this, s;
797
+ return U(r) || !r ? s = {
798
+ next: r != null ? r : void 0,
799
+ error: i != null ? i : void 0,
800
+ complete: n != null ? n : void 0
801
+ } : s = r, o.destination = new gi(s), o;
765
802
  }
766
803
  return t;
767
- }(jt);
768
- function ye(e) {
769
- si(e);
804
+ }(Qt);
805
+ function ge(e) {
806
+ bi(e);
770
807
  }
771
- function ui(e) {
808
+ function vi(e) {
772
809
  throw e;
773
810
  }
774
- var li = {
811
+ var _i = {
775
812
  closed: !0,
776
- next: pt,
777
- error: ui,
778
- complete: pt
779
- }, hi = function() {
813
+ next: _t,
814
+ error: vi,
815
+ complete: _t
816
+ }, xi = function() {
780
817
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
781
818
  }();
782
- function ci(e) {
819
+ function Ei(e) {
783
820
  return e;
784
821
  }
785
- function fi(e) {
786
- return e.length === 0 ? ci : e.length === 1 ? e[0] : function(r) {
822
+ function Ti(e) {
823
+ return e.length === 0 ? Ei : e.length === 1 ? e[0] : function(r) {
787
824
  return e.reduce(function(i, n) {
788
825
  return n(i);
789
826
  }, r);
790
827
  };
791
828
  }
792
- var dt = function() {
829
+ var xt = function() {
793
830
  function e(t) {
794
831
  t && (this._subscribe = t);
795
832
  }
@@ -797,10 +834,10 @@ var dt = function() {
797
834
  var r = new e();
798
835
  return r.source = this, r.operator = t, r;
799
836
  }, e.prototype.subscribe = function(t, r, i) {
800
- var n = this, o = pi(t) ? t : new Qe(t, r, i);
801
- return ve(function() {
802
- var a = n, s = a.operator, h = a.source;
803
- o.add(s ? s.call(o, h) : h ? n._subscribe(o) : n._trySubscribe(o));
837
+ var n = this, o = Si(t) ? t : new qe(t, r, i);
838
+ return xe(function() {
839
+ var s = n, a = s.operator, l = s.source;
840
+ o.add(a ? a.call(o, l) : l ? n._subscribe(o) : n._trySubscribe(o));
804
841
  }), o;
805
842
  }, e.prototype._trySubscribe = function(t) {
806
843
  try {
@@ -810,37 +847,37 @@ var dt = function() {
810
847
  }
811
848
  }, e.prototype.forEach = function(t, r) {
812
849
  var i = this;
813
- return r = yt(r), new r(function(n, o) {
814
- var a = new Qe({
815
- next: function(s) {
850
+ return r = Et(r), new r(function(n, o) {
851
+ var s = new qe({
852
+ next: function(a) {
816
853
  try {
817
- t(s);
818
- } catch (h) {
819
- o(h), a.unsubscribe();
854
+ t(a);
855
+ } catch (l) {
856
+ o(l), s.unsubscribe();
820
857
  }
821
858
  },
822
859
  error: o,
823
860
  complete: n
824
861
  });
825
- i.subscribe(a);
862
+ i.subscribe(s);
826
863
  });
827
864
  }, e.prototype._subscribe = function(t) {
828
865
  var r;
829
866
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
830
- }, e.prototype[hi] = function() {
867
+ }, e.prototype[xi] = function() {
831
868
  return this;
832
869
  }, e.prototype.pipe = function() {
833
870
  for (var t = [], r = 0; r < arguments.length; r++)
834
871
  t[r] = arguments[r];
835
- return fi(t)(this);
872
+ return Ti(t)(this);
836
873
  }, e.prototype.toPromise = function(t) {
837
874
  var r = this;
838
- return t = yt(t), new t(function(i, n) {
875
+ return t = Et(t), new t(function(i, n) {
839
876
  var o;
840
- r.subscribe(function(a) {
841
- return o = a;
842
- }, function(a) {
843
- return n(a);
877
+ r.subscribe(function(s) {
878
+ return o = s;
879
+ }, function(s) {
880
+ return n(s);
844
881
  }, function() {
845
882
  return i(o);
846
883
  });
@@ -849,48 +886,48 @@ var dt = function() {
849
886
  return new e(t);
850
887
  }, e;
851
888
  }();
852
- function yt(e) {
889
+ function Et(e) {
853
890
  var t;
854
- return (t = e ?? ni.Promise) !== null && t !== void 0 ? t : Promise;
891
+ return (t = e != null ? e : di.Promise) !== null && t !== void 0 ? t : Promise;
855
892
  }
856
- function mi(e) {
857
- return e && $(e.next) && $(e.error) && $(e.complete);
893
+ function Li(e) {
894
+ return e && U(e.next) && U(e.error) && U(e.complete);
858
895
  }
859
- function pi(e) {
860
- return e && e instanceof jt || mi(e) && Ft(e);
896
+ function Si(e) {
897
+ return e && e instanceof Qt || Li(e) && Zt(e);
861
898
  }
862
- var di = Ut(function(e) {
899
+ var wi = Wt(function(e) {
863
900
  return function() {
864
901
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
865
902
  };
866
- }), kt = function(e) {
867
- U(t, e);
903
+ }), Yt = function(e) {
904
+ G(t, e);
868
905
  function t() {
869
906
  var r = e.call(this) || this;
870
907
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
871
908
  }
872
909
  return t.prototype.lift = function(r) {
873
- var i = new bt(this, this);
910
+ var i = new Tt(this, this);
874
911
  return i.operator = r, i;
875
912
  }, t.prototype._throwIfClosed = function() {
876
913
  if (this.closed)
877
- throw new di();
914
+ throw new wi();
878
915
  }, t.prototype.next = function(r) {
879
916
  var i = this;
880
- ve(function() {
917
+ xe(function() {
881
918
  var n, o;
882
919
  if (i._throwIfClosed(), !i.isStopped) {
883
920
  i.currentObservers || (i.currentObservers = Array.from(i.observers));
884
921
  try {
885
- for (var a = We(i.currentObservers), s = a.next(); !s.done; s = a.next()) {
886
- var h = s.value;
887
- h.next(r);
922
+ for (var s = Qe(i.currentObservers), a = s.next(); !a.done; a = s.next()) {
923
+ var l = a.value;
924
+ l.next(r);
888
925
  }
889
926
  } catch (u) {
890
927
  n = { error: u };
891
928
  } finally {
892
929
  try {
893
- s && !s.done && (o = a.return) && o.call(a);
930
+ a && !a.done && (o = s.return) && o.call(s);
894
931
  } finally {
895
932
  if (n) throw n.error;
896
933
  }
@@ -899,7 +936,7 @@ var di = Ut(function(e) {
899
936
  });
900
937
  }, t.prototype.error = function(r) {
901
938
  var i = this;
902
- ve(function() {
939
+ xe(function() {
903
940
  if (i._throwIfClosed(), !i.isStopped) {
904
941
  i.hasError = i.isStopped = !0, i.thrownError = r;
905
942
  for (var n = i.observers; n.length; )
@@ -908,7 +945,7 @@ var di = Ut(function(e) {
908
945
  });
909
946
  }, t.prototype.complete = function() {
910
947
  var r = this;
911
- ve(function() {
948
+ xe(function() {
912
949
  if (r._throwIfClosed(), !r.isStopped) {
913
950
  r.isStopped = !0;
914
951
  for (var i = r.observers; i.length; )
@@ -929,21 +966,21 @@ var di = Ut(function(e) {
929
966
  }, t.prototype._subscribe = function(r) {
930
967
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
931
968
  }, t.prototype._innerSubscribe = function(r) {
932
- var i = this, n = this, o = n.hasError, a = n.isStopped, s = n.observers;
933
- return o || a ? Gt : (this.currentObservers = null, s.push(r), new Se(function() {
934
- i.currentObservers = null, Ze(s, r);
969
+ var i = this, n = this, o = n.hasError, s = n.isStopped, a = n.observers;
970
+ return o || s ? Xt : (this.currentObservers = null, a.push(r), new Ae(function() {
971
+ i.currentObservers = null, Je(a, r);
935
972
  }));
936
973
  }, t.prototype._checkFinalizedStatuses = function(r) {
937
- var i = this, n = i.hasError, o = i.thrownError, a = i.isStopped;
938
- n ? r.error(o) : a && r.complete();
974
+ var i = this, n = i.hasError, o = i.thrownError, s = i.isStopped;
975
+ n ? r.error(o) : s && r.complete();
939
976
  }, t.prototype.asObservable = function() {
940
- var r = new dt();
977
+ var r = new xt();
941
978
  return r.source = this, r;
942
979
  }, t.create = function(r, i) {
943
- return new bt(r, i);
980
+ return new Tt(r, i);
944
981
  }, t;
945
- }(dt), bt = function(e) {
946
- U(t, e);
982
+ }(xt), Tt = function(e) {
983
+ G(t, e);
947
984
  function t(r, i) {
948
985
  var n = e.call(this) || this;
949
986
  return n.destination = r, n.source = i, n;
@@ -959,214 +996,214 @@ var di = Ut(function(e) {
959
996
  (i = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || i === void 0 || i.call(r);
960
997
  }, t.prototype._subscribe = function(r) {
961
998
  var i, n;
962
- return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Gt;
999
+ return (n = (i = this.source) === null || i === void 0 ? void 0 : i.subscribe(r)) !== null && n !== void 0 ? n : Xt;
963
1000
  }, t;
964
- }(kt), Vt = {
1001
+ }(Yt), Jt = {
965
1002
  now: function() {
966
- return (Vt.delegate || Date).now();
1003
+ return (Jt.delegate || Date).now();
967
1004
  },
968
1005
  delegate: void 0
969
- }, yi = function(e) {
970
- U(t, e);
1006
+ }, Ai = function(e) {
1007
+ G(t, e);
971
1008
  function t(r, i, n) {
972
- r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Vt);
1009
+ r === void 0 && (r = 1 / 0), i === void 0 && (i = 1 / 0), n === void 0 && (n = Jt);
973
1010
  var o = e.call(this) || this;
974
1011
  return o._bufferSize = r, o._windowTime = i, o._timestampProvider = n, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = i === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, i), o;
975
1012
  }
976
1013
  return t.prototype.next = function(r) {
977
- var i = this, n = i.isStopped, o = i._buffer, a = i._infiniteTimeWindow, s = i._timestampProvider, h = i._windowTime;
978
- n || (o.push(r), !a && o.push(s.now() + h)), this._trimBuffer(), e.prototype.next.call(this, r);
1014
+ var i = this, n = i.isStopped, o = i._buffer, s = i._infiniteTimeWindow, a = i._timestampProvider, l = i._windowTime;
1015
+ n || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
979
1016
  }, t.prototype._subscribe = function(r) {
980
1017
  this._throwIfClosed(), this._trimBuffer();
981
- for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow, a = n._buffer, s = a.slice(), h = 0; h < s.length && !r.closed; h += o ? 1 : 2)
982
- r.next(s[h]);
1018
+ for (var i = this._innerSubscribe(r), n = this, o = n._infiniteTimeWindow, s = n._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
1019
+ r.next(a[l]);
983
1020
  return this._checkFinalizedStatuses(r), i;
984
1021
  }, t.prototype._trimBuffer = function() {
985
- var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * i;
986
- if (i < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
987
- for (var h = n.now(), u = 0, l = 1; l < o.length && o[l] <= h; l += 2)
988
- u = l;
1022
+ var r = this, i = r._bufferSize, n = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * i;
1023
+ if (i < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1024
+ for (var l = n.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1025
+ u = h;
989
1026
  u && o.splice(0, u + 1);
990
1027
  }
991
1028
  }, t;
992
- }(kt);
993
- const gt = [], vt = {}, bi = (e, t = 0) => {
994
- if (gt.indexOf(e) == -1) {
995
- const r = new yi(t);
996
- vt[e] = r, gt.push(e);
1029
+ }(Yt);
1030
+ const Lt = [], St = {}, Hi = (e, t = 0) => {
1031
+ if (Lt.indexOf(e) == -1) {
1032
+ const r = new Ai(t);
1033
+ St[e] = r, Lt.push(e);
997
1034
  }
998
- return vt[e];
999
- }, Z = [];
1000
- function gi(e, t) {
1035
+ return St[e];
1036
+ }, Q = [];
1037
+ function Pi(e, t) {
1001
1038
  return {
1002
- subscribe: we(e, t).subscribe
1039
+ subscribe: He(e, t).subscribe
1003
1040
  };
1004
1041
  }
1005
- function we(e, t = C) {
1042
+ function He(e, t = C) {
1006
1043
  let r;
1007
1044
  const i = /* @__PURE__ */ new Set();
1008
- function n(s) {
1009
- if (Dt(e, s) && (e = s, r)) {
1010
- const h = !Z.length;
1045
+ function n(a) {
1046
+ if (jt(e, a) && (e = a, r)) {
1047
+ const l = !Q.length;
1011
1048
  for (const u of i)
1012
- u[1](), Z.push(u, e);
1013
- if (h) {
1014
- for (let u = 0; u < Z.length; u += 2)
1015
- Z[u][0](Z[u + 1]);
1016
- Z.length = 0;
1049
+ u[1](), Q.push(u, e);
1050
+ if (l) {
1051
+ for (let u = 0; u < Q.length; u += 2)
1052
+ Q[u][0](Q[u + 1]);
1053
+ Q.length = 0;
1017
1054
  }
1018
1055
  }
1019
1056
  }
1020
- function o(s) {
1021
- n(s(e));
1057
+ function o(a) {
1058
+ n(a(e));
1022
1059
  }
1023
- function a(s, h = C) {
1024
- const u = [s, h];
1025
- return i.add(u), i.size === 1 && (r = t(n, o) || C), s(e), () => {
1060
+ function s(a, l = C) {
1061
+ const u = [a, l];
1062
+ return i.add(u), i.size === 1 && (r = t(n, o) || C), a(e), () => {
1026
1063
  i.delete(u), i.size === 0 && r && (r(), r = null);
1027
1064
  };
1028
1065
  }
1029
- return { set: n, update: o, subscribe: a };
1066
+ return { set: n, update: o, subscribe: s };
1030
1067
  }
1031
- function re(e, t, r) {
1068
+ function ie(e, t, r) {
1032
1069
  const i = !Array.isArray(e), n = i ? [e] : e;
1033
1070
  if (!n.every(Boolean))
1034
1071
  throw new Error("derived() expects stores as input, got a falsy value");
1035
1072
  const o = t.length < 2;
1036
- return gi(r, (a, s) => {
1037
- let h = !1;
1073
+ return Pi(r, (s, a) => {
1074
+ let l = !1;
1038
1075
  const u = [];
1039
- let l = 0, c = C;
1076
+ let h = 0, c = C;
1040
1077
  const f = () => {
1041
- if (l)
1078
+ if (h)
1042
1079
  return;
1043
1080
  c();
1044
- const y = t(i ? u[0] : u, a, s);
1045
- o ? a(y) : c = nt(y) ? y : C;
1081
+ const y = t(i ? u[0] : u, s, a);
1082
+ o ? s(y) : c = at(y) ? y : C;
1046
1083
  }, p = n.map(
1047
- (y, d) => zt(
1084
+ (y, d) => kt(
1048
1085
  y,
1049
1086
  (g) => {
1050
- u[d] = g, l &= ~(1 << d), h && f();
1087
+ u[d] = g, h &= ~(1 << d), l && f();
1051
1088
  },
1052
1089
  () => {
1053
- l |= 1 << d;
1090
+ h |= 1 << d;
1054
1091
  }
1055
1092
  )
1056
1093
  );
1057
- return h = !0, f(), function() {
1058
- ce(p), c(), h = !1;
1094
+ return l = !0, f(), function() {
1095
+ fe(p), c(), l = !1;
1059
1096
  };
1060
1097
  });
1061
1098
  }
1062
- function vi(e) {
1099
+ function Bi(e) {
1063
1100
  return e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1064
1101
  }
1065
- var _i = function(t) {
1066
- return xi(t) && !Ei(t);
1102
+ var Oi = function(t) {
1103
+ return Ci(t) && !Ii(t);
1067
1104
  };
1068
- function xi(e) {
1105
+ function Ci(e) {
1069
1106
  return !!e && typeof e == "object";
1070
1107
  }
1071
- function Ei(e) {
1108
+ function Ii(e) {
1072
1109
  var t = Object.prototype.toString.call(e);
1073
- return t === "[object RegExp]" || t === "[object Date]" || Si(e);
1110
+ return t === "[object RegExp]" || t === "[object Date]" || Ri(e);
1074
1111
  }
1075
- var Ti = typeof Symbol == "function" && Symbol.for, Li = Ti ? Symbol.for("react.element") : 60103;
1076
- function Si(e) {
1077
- return e.$$typeof === Li;
1112
+ var Ni = typeof Symbol == "function" && Symbol.for, Mi = Ni ? Symbol.for("react.element") : 60103;
1113
+ function Ri(e) {
1114
+ return e.$$typeof === Mi;
1078
1115
  }
1079
- function wi(e) {
1116
+ function Di(e) {
1080
1117
  return Array.isArray(e) ? [] : {};
1081
1118
  }
1082
- function le(e, t) {
1083
- return t.clone !== !1 && t.isMergeableObject(e) ? q(wi(e), e, t) : e;
1119
+ function he(e, t) {
1120
+ return t.clone !== !1 && t.isMergeableObject(e) ? K(Di(e), e, t) : e;
1084
1121
  }
1085
- function Ai(e, t, r) {
1122
+ function zi(e, t, r) {
1086
1123
  return e.concat(t).map(function(i) {
1087
- return le(i, r);
1124
+ return he(i, r);
1088
1125
  });
1089
1126
  }
1090
- function Hi(e, t) {
1127
+ function $i(e, t) {
1091
1128
  if (!t.customMerge)
1092
- return q;
1129
+ return K;
1093
1130
  var r = t.customMerge(e);
1094
- return typeof r == "function" ? r : q;
1131
+ return typeof r == "function" ? r : K;
1095
1132
  }
1096
- function Pi(e) {
1133
+ function Ui(e) {
1097
1134
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1098
1135
  return Object.propertyIsEnumerable.call(e, t);
1099
1136
  }) : [];
1100
1137
  }
1101
- function _t(e) {
1102
- return Object.keys(e).concat(Pi(e));
1138
+ function wt(e) {
1139
+ return Object.keys(e).concat(Ui(e));
1103
1140
  }
1104
- function Wt(e, t) {
1141
+ function qt(e, t) {
1105
1142
  try {
1106
1143
  return t in e;
1107
- } catch {
1144
+ } catch (r) {
1108
1145
  return !1;
1109
1146
  }
1110
1147
  }
1111
- function Bi(e, t) {
1112
- return Wt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1148
+ function Gi(e, t) {
1149
+ return qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1113
1150
  }
1114
- function Oi(e, t, r) {
1151
+ function Fi(e, t, r) {
1115
1152
  var i = {};
1116
- return r.isMergeableObject(e) && _t(e).forEach(function(n) {
1117
- i[n] = le(e[n], r);
1118
- }), _t(t).forEach(function(n) {
1119
- Bi(e, n) || (Wt(e, n) && r.isMergeableObject(t[n]) ? i[n] = Hi(n, r)(e[n], t[n], r) : i[n] = le(t[n], r));
1153
+ return r.isMergeableObject(e) && wt(e).forEach(function(n) {
1154
+ i[n] = he(e[n], r);
1155
+ }), wt(t).forEach(function(n) {
1156
+ Gi(e, n) || (qt(e, n) && r.isMergeableObject(t[n]) ? i[n] = $i(n, r)(e[n], t[n], r) : i[n] = he(t[n], r));
1120
1157
  }), i;
1121
1158
  }
1122
- function q(e, t, r) {
1123
- r = r || {}, r.arrayMerge = r.arrayMerge || Ai, r.isMergeableObject = r.isMergeableObject || _i, r.cloneUnlessOtherwiseSpecified = le;
1159
+ function K(e, t, r) {
1160
+ r = r || {}, r.arrayMerge = r.arrayMerge || zi, r.isMergeableObject = r.isMergeableObject || Oi, r.cloneUnlessOtherwiseSpecified = he;
1124
1161
  var i = Array.isArray(t), n = Array.isArray(e), o = i === n;
1125
- return o ? i ? r.arrayMerge(e, t, r) : Oi(e, t, r) : le(t, r);
1162
+ return o ? i ? r.arrayMerge(e, t, r) : Fi(e, t, r) : he(t, r);
1126
1163
  }
1127
- q.all = function(t, r) {
1164
+ K.all = function(t, r) {
1128
1165
  if (!Array.isArray(t))
1129
1166
  throw new Error("first argument should be an array");
1130
1167
  return t.reduce(function(i, n) {
1131
- return q(i, n, r);
1168
+ return K(i, n, r);
1132
1169
  }, {});
1133
1170
  };
1134
- var Ci = q, Ii = Ci;
1135
- const Ni = /* @__PURE__ */ vi(Ii);
1136
- function Re(e, t) {
1137
- var r = t && t.cache ? t.cache : Gi, i = t && t.serializer ? t.serializer : $i, n = t && t.strategy ? t.strategy : Ri;
1171
+ var ji = K, ki = ji;
1172
+ const Vi = /* @__PURE__ */ Bi(ki);
1173
+ function $e(e, t) {
1174
+ var r = t && t.cache ? t.cache : qi, i = t && t.serializer ? t.serializer : Yi, n = t && t.strategy ? t.strategy : Xi;
1138
1175
  return n(e, {
1139
1176
  cache: r,
1140
1177
  serializer: i
1141
1178
  });
1142
1179
  }
1143
- function Mi(e) {
1180
+ function Wi(e) {
1144
1181
  return e == null || typeof e == "number" || typeof e == "boolean";
1145
1182
  }
1146
- function Xt(e, t, r, i) {
1147
- var n = Mi(i) ? i : r(i), o = t.get(n);
1148
- return typeof o > "u" && (o = e.call(this, i), t.set(n, o)), o;
1183
+ function Kt(e, t, r, i) {
1184
+ var n = Wi(i) ? i : r(i), o = t.get(n);
1185
+ return typeof o == "undefined" && (o = e.call(this, i), t.set(n, o)), o;
1149
1186
  }
1150
- function Zt(e, t, r) {
1187
+ function er(e, t, r) {
1151
1188
  var i = Array.prototype.slice.call(arguments, 3), n = r(i), o = t.get(n);
1152
- return typeof o > "u" && (o = e.apply(this, i), t.set(n, o)), o;
1189
+ return typeof o == "undefined" && (o = e.apply(this, i), t.set(n, o)), o;
1153
1190
  }
1154
- function ot(e, t, r, i, n) {
1191
+ function ut(e, t, r, i, n) {
1155
1192
  return r.bind(t, e, i, n);
1156
1193
  }
1157
- function Ri(e, t) {
1158
- var r = e.length === 1 ? Xt : Zt;
1159
- return ot(e, this, r, t.cache.create(), t.serializer);
1194
+ function Xi(e, t) {
1195
+ var r = e.length === 1 ? Kt : er;
1196
+ return ut(e, this, r, t.cache.create(), t.serializer);
1160
1197
  }
1161
- function Di(e, t) {
1162
- return ot(e, this, Zt, t.cache.create(), t.serializer);
1198
+ function Zi(e, t) {
1199
+ return ut(e, this, er, t.cache.create(), t.serializer);
1163
1200
  }
1164
- function zi(e, t) {
1165
- return ot(e, this, Xt, t.cache.create(), t.serializer);
1201
+ function Qi(e, t) {
1202
+ return ut(e, this, Kt, t.cache.create(), t.serializer);
1166
1203
  }
1167
- var $i = function() {
1204
+ var Yi = function() {
1168
1205
  return JSON.stringify(arguments);
1169
- }, Ui = (
1206
+ }, Ji = (
1170
1207
  /** @class */
1171
1208
  function() {
1172
1209
  function e() {
@@ -1178,13 +1215,13 @@ var $i = function() {
1178
1215
  this.cache[t] = r;
1179
1216
  }, e;
1180
1217
  }()
1181
- ), Gi = {
1218
+ ), qi = {
1182
1219
  create: function() {
1183
- return new Ui();
1220
+ return new Ji();
1184
1221
  }
1185
- }, De = {
1186
- variadic: Di,
1187
- monadic: zi
1222
+ }, Ue = {
1223
+ variadic: Zi,
1224
+ monadic: Qi
1188
1225
  }, b;
1189
1226
  (function(e) {
1190
1227
  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";
@@ -1193,47 +1230,47 @@ var S;
1193
1230
  (function(e) {
1194
1231
  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";
1195
1232
  })(S || (S = {}));
1196
- var K;
1233
+ var ee;
1197
1234
  (function(e) {
1198
1235
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1199
- })(K || (K = {}));
1200
- function xt(e) {
1236
+ })(ee || (ee = {}));
1237
+ function At(e) {
1201
1238
  return e.type === S.literal;
1202
1239
  }
1203
- function Fi(e) {
1240
+ function Ki(e) {
1204
1241
  return e.type === S.argument;
1205
1242
  }
1206
- function Qt(e) {
1243
+ function tr(e) {
1207
1244
  return e.type === S.number;
1208
1245
  }
1209
- function Yt(e) {
1246
+ function rr(e) {
1210
1247
  return e.type === S.date;
1211
1248
  }
1212
- function Jt(e) {
1249
+ function ir(e) {
1213
1250
  return e.type === S.time;
1214
1251
  }
1215
- function qt(e) {
1252
+ function nr(e) {
1216
1253
  return e.type === S.select;
1217
1254
  }
1218
- function Kt(e) {
1255
+ function or(e) {
1219
1256
  return e.type === S.plural;
1220
1257
  }
1221
- function ji(e) {
1258
+ function en(e) {
1222
1259
  return e.type === S.pound;
1223
1260
  }
1224
- function er(e) {
1261
+ function sr(e) {
1225
1262
  return e.type === S.tag;
1226
1263
  }
1227
- function tr(e) {
1228
- return !!(e && typeof e == "object" && e.type === K.number);
1264
+ function ar(e) {
1265
+ return !!(e && typeof e == "object" && e.type === ee.number);
1229
1266
  }
1230
- function Ye(e) {
1231
- return !!(e && typeof e == "object" && e.type === K.dateTime);
1267
+ function Ke(e) {
1268
+ return !!(e && typeof e == "object" && e.type === ee.dateTime);
1232
1269
  }
1233
- var rr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ki = /(?:[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;
1234
- function Vi(e) {
1270
+ var ur = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, tn = /(?:[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;
1271
+ function rn(e) {
1235
1272
  var t = {};
1236
- return e.replace(ki, function(r) {
1273
+ return e.replace(tn, function(r) {
1237
1274
  var i = r.length;
1238
1275
  switch (r[0]) {
1239
1276
  case "G":
@@ -1322,36 +1359,36 @@ function Vi(e) {
1322
1359
  return "";
1323
1360
  }), t;
1324
1361
  }
1325
- var Wi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1326
- function Xi(e) {
1362
+ var nn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1363
+ function on(e) {
1327
1364
  if (e.length === 0)
1328
1365
  throw new Error("Number skeleton cannot be empty");
1329
- for (var t = e.split(Wi).filter(function(f) {
1366
+ for (var t = e.split(nn).filter(function(f) {
1330
1367
  return f.length > 0;
1331
1368
  }), r = [], i = 0, n = t; i < n.length; i++) {
1332
- var o = n[i], a = o.split("/");
1333
- if (a.length === 0)
1369
+ var o = n[i], s = o.split("/");
1370
+ if (s.length === 0)
1334
1371
  throw new Error("Invalid number skeleton");
1335
- for (var s = a[0], h = a.slice(1), u = 0, l = h; u < l.length; u++) {
1336
- var c = l[u];
1372
+ for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1373
+ var c = h[u];
1337
1374
  if (c.length === 0)
1338
1375
  throw new Error("Invalid number skeleton");
1339
1376
  }
1340
- r.push({ stem: s, options: h });
1377
+ r.push({ stem: a, options: l });
1341
1378
  }
1342
1379
  return r;
1343
1380
  }
1344
- function Zi(e) {
1381
+ function sn(e) {
1345
1382
  return e.replace(/^(.*?)-/, "");
1346
1383
  }
1347
- var Et = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, ir = /^(@+)?(\+|#+)?[rs]?$/g, Qi = /(\*)(0+)|(#+)(0+)|(0+)/g, nr = /^(0+)$/;
1348
- function Tt(e) {
1384
+ var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, lr = /^(@+)?(\+|#+)?[rs]?$/g, an = /(\*)(0+)|(#+)(0+)|(0+)/g, hr = /^(0+)$/;
1385
+ function Pt(e) {
1349
1386
  var t = {};
1350
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(ir, function(r, i, n) {
1387
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(lr, function(r, i, n) {
1351
1388
  return typeof n != "string" ? (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length) : n === "+" ? t.minimumSignificantDigits = i.length : i[0] === "#" ? t.maximumSignificantDigits = i.length : (t.minimumSignificantDigits = i.length, t.maximumSignificantDigits = i.length + (typeof n == "string" ? n.length : 0)), "";
1352
1389
  }), t;
1353
1390
  }
1354
- function or(e) {
1391
+ function cr(e) {
1355
1392
  switch (e) {
1356
1393
  case "sign-auto":
1357
1394
  return {
@@ -1391,7 +1428,7 @@ function or(e) {
1391
1428
  };
1392
1429
  }
1393
1430
  }
1394
- function Yi(e) {
1431
+ function un(e) {
1395
1432
  var t;
1396
1433
  if (e[0] === "E" && e[1] === "E" ? (t = {
1397
1434
  notation: "engineering"
@@ -1399,17 +1436,17 @@ function Yi(e) {
1399
1436
  notation: "scientific"
1400
1437
  }, e = e.slice(1)), t) {
1401
1438
  var r = e.slice(0, 2);
1402
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !nr.test(e))
1439
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !hr.test(e))
1403
1440
  throw new Error("Malformed concise eng/scientific notation");
1404
1441
  t.minimumIntegerDigits = e.length;
1405
1442
  }
1406
1443
  return t;
1407
1444
  }
1408
- function Lt(e) {
1409
- var t = {}, r = or(e);
1445
+ function Bt(e) {
1446
+ var t = {}, r = cr(e);
1410
1447
  return r || t;
1411
1448
  }
1412
- function Ji(e) {
1449
+ function ln(e) {
1413
1450
  for (var t = {}, r = 0, i = e; r < i.length; r++) {
1414
1451
  var n = i[r];
1415
1452
  switch (n.stem) {
@@ -1433,7 +1470,7 @@ function Ji(e) {
1433
1470
  continue;
1434
1471
  case "measure-unit":
1435
1472
  case "unit":
1436
- t.style = "unit", t.unit = Zi(n.options[0]);
1473
+ t.style = "unit", t.unit = sn(n.options[0]);
1437
1474
  continue;
1438
1475
  case "compact-short":
1439
1476
  case "K":
@@ -1444,13 +1481,13 @@ function Ji(e) {
1444
1481
  t.notation = "compact", t.compactDisplay = "long";
1445
1482
  continue;
1446
1483
  case "scientific":
1447
- t = x(x(x({}, t), { notation: "scientific" }), n.options.reduce(function(h, u) {
1448
- return x(x({}, h), Lt(u));
1484
+ t = x(x(x({}, t), { notation: "scientific" }), n.options.reduce(function(l, u) {
1485
+ return x(x({}, l), Bt(u));
1449
1486
  }, {}));
1450
1487
  continue;
1451
1488
  case "engineering":
1452
- t = x(x(x({}, t), { notation: "engineering" }), n.options.reduce(function(h, u) {
1453
- return x(x({}, h), Lt(u));
1489
+ t = x(x(x({}, t), { notation: "engineering" }), n.options.reduce(function(l, u) {
1490
+ return x(x({}, l), Bt(u));
1454
1491
  }, {}));
1455
1492
  continue;
1456
1493
  case "notation-simple":
@@ -1495,9 +1532,9 @@ function Ji(e) {
1495
1532
  case "integer-width":
1496
1533
  if (n.options.length > 1)
1497
1534
  throw new RangeError("integer-width stems only accept a single optional option");
1498
- n.options[0].replace(Qi, function(h, u, l, c, f, p) {
1535
+ n.options[0].replace(an, function(l, u, h, c, f, p) {
1499
1536
  if (u)
1500
- t.minimumIntegerDigits = l.length;
1537
+ t.minimumIntegerDigits = h.length;
1501
1538
  else {
1502
1539
  if (c && f)
1503
1540
  throw new Error("We currently do not support maximum integer digits");
@@ -1508,32 +1545,32 @@ function Ji(e) {
1508
1545
  });
1509
1546
  continue;
1510
1547
  }
1511
- if (nr.test(n.stem)) {
1548
+ if (hr.test(n.stem)) {
1512
1549
  t.minimumIntegerDigits = n.stem.length;
1513
1550
  continue;
1514
1551
  }
1515
- if (Et.test(n.stem)) {
1552
+ if (Ht.test(n.stem)) {
1516
1553
  if (n.options.length > 1)
1517
1554
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1518
- n.stem.replace(Et, function(h, u, l, c, f, p) {
1519
- return l === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1555
+ n.stem.replace(Ht, function(l, u, h, c, f, p) {
1556
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && p ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1520
1557
  });
1521
1558
  var o = n.options[0];
1522
- o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), Tt(o)));
1559
+ o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), Pt(o)));
1523
1560
  continue;
1524
1561
  }
1525
- if (ir.test(n.stem)) {
1526
- t = x(x({}, t), Tt(n.stem));
1562
+ if (lr.test(n.stem)) {
1563
+ t = x(x({}, t), Pt(n.stem));
1527
1564
  continue;
1528
1565
  }
1529
- var a = or(n.stem);
1530
- a && (t = x(x({}, t), a));
1531
- var s = Yi(n.stem);
1566
+ var s = cr(n.stem);
1532
1567
  s && (t = x(x({}, t), s));
1568
+ var a = un(n.stem);
1569
+ a && (t = x(x({}, t), a));
1533
1570
  }
1534
1571
  return t;
1535
1572
  }
1536
- var be = {
1573
+ var ve = {
1537
1574
  "001": [
1538
1575
  "H",
1539
1576
  "h"
@@ -2948,22 +2985,22 @@ var be = {
2948
2985
  "h"
2949
2986
  ]
2950
2987
  };
2951
- function qi(e, t) {
2988
+ function hn(e, t) {
2952
2989
  for (var r = "", i = 0; i < e.length; i++) {
2953
2990
  var n = e.charAt(i);
2954
2991
  if (n === "j") {
2955
2992
  for (var o = 0; i + 1 < e.length && e.charAt(i + 1) === n; )
2956
2993
  o++, i++;
2957
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), h = "a", u = Ki(t);
2958
- for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
2959
- r += h;
2960
- for (; a-- > 0; )
2994
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = cn(t);
2995
+ for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
2996
+ r += l;
2997
+ for (; s-- > 0; )
2961
2998
  r = u + r;
2962
2999
  } else n === "J" ? r += "H" : r += n;
2963
3000
  }
2964
3001
  return r;
2965
3002
  }
2966
- function Ki(e) {
3003
+ function cn(e) {
2967
3004
  var t = e.hourCycle;
2968
3005
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
2969
3006
  e.hourCycles && // @ts-ignore
@@ -2982,23 +3019,23 @@ function Ki(e) {
2982
3019
  }
2983
3020
  var r = e.language, i;
2984
3021
  r !== "root" && (i = e.maximize().region);
2985
- var n = be[i || ""] || be[r || ""] || be["".concat(r, "-001")] || be["001"];
3022
+ var n = ve[i || ""] || ve[r || ""] || ve["".concat(r, "-001")] || ve["001"];
2986
3023
  return n[0];
2987
3024
  }
2988
- var ze, en = new RegExp("^".concat(rr.source, "*")), tn = new RegExp("".concat(rr.source, "*$"));
3025
+ var Ge, fn = new RegExp("^".concat(ur.source, "*")), mn = new RegExp("".concat(ur.source, "*$"));
2989
3026
  function v(e, t) {
2990
3027
  return { start: e, end: t };
2991
3028
  }
2992
- var rn = !!String.prototype.startsWith && "_a".startsWith("a", 1), nn = !!String.fromCodePoint, on = !!Object.fromEntries, sn = !!String.prototype.codePointAt, an = !!String.prototype.trimStart, un = !!String.prototype.trimEnd, ln = !!Number.isSafeInteger, hn = ln ? Number.isSafeInteger : function(e) {
3029
+ var pn = !!String.prototype.startsWith && "_a".startsWith("a", 1), dn = !!String.fromCodePoint, yn = !!Object.fromEntries, bn = !!String.prototype.codePointAt, gn = !!String.prototype.trimStart, vn = !!String.prototype.trimEnd, _n = !!Number.isSafeInteger, xn = _n ? Number.isSafeInteger : function(e) {
2993
3030
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
2994
- }, Je = !0;
3031
+ }, et = !0;
2995
3032
  try {
2996
- var cn = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
2997
- Je = ((ze = cn.exec("a")) === null || ze === void 0 ? void 0 : ze[0]) === "a";
2998
- } catch {
2999
- Je = !1;
3033
+ var En = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3034
+ et = ((Ge = En.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3035
+ } catch (e) {
3036
+ et = !1;
3000
3037
  }
3001
- var St = rn ? (
3038
+ var Ot = pn ? (
3002
3039
  // Native
3003
3040
  function(t, r, i) {
3004
3041
  return t.startsWith(r, i);
@@ -3008,31 +3045,31 @@ var St = rn ? (
3008
3045
  function(t, r, i) {
3009
3046
  return t.slice(i, i + r.length) === r;
3010
3047
  }
3011
- ), qe = nn ? String.fromCodePoint : (
3048
+ ), tt = dn ? String.fromCodePoint : (
3012
3049
  // IE11
3013
3050
  function() {
3014
3051
  for (var t = [], r = 0; r < arguments.length; r++)
3015
3052
  t[r] = arguments[r];
3016
- for (var i = "", n = t.length, o = 0, a; n > o; ) {
3017
- if (a = t[o++], a > 1114111)
3018
- throw RangeError(a + " is not a valid code point");
3019
- i += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3053
+ for (var i = "", n = t.length, o = 0, s; n > o; ) {
3054
+ if (s = t[o++], s > 1114111)
3055
+ throw RangeError(s + " is not a valid code point");
3056
+ i += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3020
3057
  }
3021
3058
  return i;
3022
3059
  }
3023
- ), wt = (
3060
+ ), Ct = (
3024
3061
  // native
3025
- on ? Object.fromEntries : (
3062
+ yn ? Object.fromEntries : (
3026
3063
  // Ponyfill
3027
3064
  function(t) {
3028
3065
  for (var r = {}, i = 0, n = t; i < n.length; i++) {
3029
- var o = n[i], a = o[0], s = o[1];
3030
- r[a] = s;
3066
+ var o = n[i], s = o[0], a = o[1];
3067
+ r[s] = a;
3031
3068
  }
3032
3069
  return r;
3033
3070
  }
3034
3071
  )
3035
- ), sr = sn ? (
3072
+ ), fr = bn ? (
3036
3073
  // Native
3037
3074
  function(t, r) {
3038
3075
  return t.codePointAt(r);
@@ -3046,7 +3083,7 @@ var St = rn ? (
3046
3083
  return n < 55296 || n > 56319 || r + 1 === i || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? n : (n - 55296 << 10) + (o - 56320) + 65536;
3047
3084
  }
3048
3085
  }
3049
- ), fn = an ? (
3086
+ ), Tn = gn ? (
3050
3087
  // Native
3051
3088
  function(t) {
3052
3089
  return t.trimStart();
@@ -3054,9 +3091,9 @@ var St = rn ? (
3054
3091
  ) : (
3055
3092
  // Ponyfill
3056
3093
  function(t) {
3057
- return t.replace(en, "");
3094
+ return t.replace(fn, "");
3058
3095
  }
3059
- ), mn = un ? (
3096
+ ), Ln = vn ? (
3060
3097
  // Native
3061
3098
  function(t) {
3062
3099
  return t.trimEnd();
@@ -3064,32 +3101,32 @@ var St = rn ? (
3064
3101
  ) : (
3065
3102
  // Ponyfill
3066
3103
  function(t) {
3067
- return t.replace(tn, "");
3104
+ return t.replace(mn, "");
3068
3105
  }
3069
3106
  );
3070
- function ar(e, t) {
3107
+ function mr(e, t) {
3071
3108
  return new RegExp(e, t);
3072
3109
  }
3073
- var Ke;
3074
- if (Je) {
3075
- var At = ar("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3076
- Ke = function(t, r) {
3110
+ var rt;
3111
+ if (et) {
3112
+ var It = mr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3113
+ rt = function(t, r) {
3077
3114
  var i;
3078
- At.lastIndex = r;
3079
- var n = At.exec(t);
3115
+ It.lastIndex = r;
3116
+ var n = It.exec(t);
3080
3117
  return (i = n[1]) !== null && i !== void 0 ? i : "";
3081
3118
  };
3082
3119
  } else
3083
- Ke = function(t, r) {
3120
+ rt = function(t, r) {
3084
3121
  for (var i = []; ; ) {
3085
- var n = sr(t, r);
3086
- if (n === void 0 || ur(n) || bn(n))
3122
+ var n = fr(t, r);
3123
+ if (n === void 0 || pr(n) || Hn(n))
3087
3124
  break;
3088
3125
  i.push(n), r += n >= 65536 ? 2 : 1;
3089
3126
  }
3090
- return qe.apply(void 0, i);
3127
+ return tt.apply(void 0, i);
3091
3128
  };
3092
- var pn = (
3129
+ var Sn = (
3093
3130
  /** @class */
3094
3131
  function() {
3095
3132
  function e(t, r) {
@@ -3103,33 +3140,33 @@ var pn = (
3103
3140
  for (var n = []; !this.isEOF(); ) {
3104
3141
  var o = this.char();
3105
3142
  if (o === 123) {
3106
- var a = this.parseArgument(t, i);
3107
- if (a.err)
3108
- return a;
3109
- n.push(a.val);
3143
+ var s = this.parseArgument(t, i);
3144
+ if (s.err)
3145
+ return s;
3146
+ n.push(s.val);
3110
3147
  } else {
3111
3148
  if (o === 125 && t > 0)
3112
3149
  break;
3113
3150
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3114
- var s = this.clonePosition();
3151
+ var a = this.clonePosition();
3115
3152
  this.bump(), n.push({
3116
3153
  type: S.pound,
3117
- location: v(s, this.clonePosition())
3154
+ location: v(a, this.clonePosition())
3118
3155
  });
3119
3156
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3120
3157
  if (i)
3121
3158
  break;
3122
3159
  return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3123
- } else if (o === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3124
- var a = this.parseTag(t, r);
3125
- if (a.err)
3126
- return a;
3127
- n.push(a.val);
3160
+ } else if (o === 60 && !this.ignoreTag && it(this.peek() || 0)) {
3161
+ var s = this.parseTag(t, r);
3162
+ if (s.err)
3163
+ return s;
3164
+ n.push(s.val);
3128
3165
  } else {
3129
- var a = this.parseLiteral(t, r);
3130
- if (a.err)
3131
- return a;
3132
- n.push(a.val);
3166
+ var s = this.parseLiteral(t, r);
3167
+ if (s.err)
3168
+ return s;
3169
+ n.push(s.val);
3133
3170
  }
3134
3171
  }
3135
3172
  }
@@ -3151,27 +3188,27 @@ var pn = (
3151
3188
  var o = this.parseMessage(t + 1, r, !0);
3152
3189
  if (o.err)
3153
3190
  return o;
3154
- var a = o.val, s = this.clonePosition();
3191
+ var s = o.val, a = this.clonePosition();
3155
3192
  if (this.bumpIf("</")) {
3156
- if (this.isEOF() || !et(this.char()))
3157
- return this.error(b.INVALID_TAG, v(s, this.clonePosition()));
3158
- var h = this.clonePosition(), u = this.parseTagName();
3159
- return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(h, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3193
+ if (this.isEOF() || !it(this.char()))
3194
+ return this.error(b.INVALID_TAG, v(a, this.clonePosition()));
3195
+ var l = this.clonePosition(), u = this.parseTagName();
3196
+ return n !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3160
3197
  val: {
3161
3198
  type: S.tag,
3162
3199
  value: n,
3163
- children: a,
3200
+ children: s,
3164
3201
  location: v(i, this.clonePosition())
3165
3202
  },
3166
3203
  err: null
3167
- } : this.error(b.INVALID_TAG, v(s, this.clonePosition())));
3204
+ } : this.error(b.INVALID_TAG, v(a, this.clonePosition())));
3168
3205
  } else
3169
3206
  return this.error(b.UNCLOSED_TAG, v(i, this.clonePosition()));
3170
3207
  } else
3171
3208
  return this.error(b.INVALID_TAG, v(i, this.clonePosition()));
3172
3209
  }, e.prototype.parseTagName = function() {
3173
3210
  var t = this.offset();
3174
- for (this.bump(); !this.isEOF() && yn(this.char()); )
3211
+ for (this.bump(); !this.isEOF() && An(this.char()); )
3175
3212
  this.bump();
3176
3213
  return this.message.slice(t, this.offset());
3177
3214
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3181,26 +3218,26 @@ var pn = (
3181
3218
  n += o;
3182
3219
  continue;
3183
3220
  }
3184
- var a = this.tryParseUnquoted(t, r);
3185
- if (a) {
3186
- n += a;
3187
- continue;
3188
- }
3189
- var s = this.tryParseLeftAngleBracket();
3221
+ var s = this.tryParseUnquoted(t, r);
3190
3222
  if (s) {
3191
3223
  n += s;
3192
3224
  continue;
3193
3225
  }
3226
+ var a = this.tryParseLeftAngleBracket();
3227
+ if (a) {
3228
+ n += a;
3229
+ continue;
3230
+ }
3194
3231
  break;
3195
3232
  }
3196
- var h = v(i, this.clonePosition());
3233
+ var l = v(i, this.clonePosition());
3197
3234
  return {
3198
- val: { type: S.literal, value: n, location: h },
3235
+ val: { type: S.literal, value: n, location: l },
3199
3236
  err: null
3200
3237
  };
3201
3238
  }, e.prototype.tryParseLeftAngleBracket = function() {
3202
3239
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3203
- !dn(this.peek() || 0)) ? (this.bump(), "<") : null;
3240
+ !wn(this.peek() || 0)) ? (this.bump(), "<") : null;
3204
3241
  }, e.prototype.tryParseQuote = function(t) {
3205
3242
  if (this.isEOF() || this.char() !== 39)
3206
3243
  return null;
@@ -3234,12 +3271,12 @@ var pn = (
3234
3271
  r.push(i);
3235
3272
  this.bump();
3236
3273
  }
3237
- return qe.apply(void 0, r);
3274
+ return tt.apply(void 0, r);
3238
3275
  }, e.prototype.tryParseUnquoted = function(t, r) {
3239
3276
  if (this.isEOF())
3240
3277
  return null;
3241
3278
  var i = this.char();
3242
- return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), qe(i));
3279
+ return i === 60 || i === 123 || i === 35 && (r === "plural" || r === "selectordinal") || i === 125 && t > 0 ? null : (this.bump(), tt(i));
3243
3280
  }, e.prototype.parseArgument = function(t, r) {
3244
3281
  var i = this.clonePosition();
3245
3282
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3268,15 +3305,15 @@ var pn = (
3268
3305
  return this.error(b.MALFORMED_ARGUMENT, v(i, this.clonePosition()));
3269
3306
  }
3270
3307
  }, e.prototype.parseIdentifierIfPossible = function() {
3271
- var t = this.clonePosition(), r = this.offset(), i = Ke(this.message, r), n = r + i.length;
3308
+ var t = this.clonePosition(), r = this.offset(), i = rt(this.message, r), n = r + i.length;
3272
3309
  this.bumpTo(n);
3273
- var o = this.clonePosition(), a = v(t, o);
3274
- return { value: i, location: a };
3310
+ var o = this.clonePosition(), s = v(t, o);
3311
+ return { value: i, location: s };
3275
3312
  }, e.prototype.parseArgumentOptions = function(t, r, i, n) {
3276
- var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, h = this.clonePosition();
3277
- switch (s) {
3313
+ var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3314
+ switch (a) {
3278
3315
  case "":
3279
- return this.error(b.EXPECT_ARGUMENT_TYPE, v(a, h));
3316
+ return this.error(b.EXPECT_ARGUMENT_TYPE, v(s, l));
3280
3317
  case "number":
3281
3318
  case "date":
3282
3319
  case "time": {
@@ -3284,22 +3321,22 @@ var pn = (
3284
3321
  var u = null;
3285
3322
  if (this.bumpIf(",")) {
3286
3323
  this.bumpSpace();
3287
- var l = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3324
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3288
3325
  if (c.err)
3289
3326
  return c;
3290
- var f = mn(c.val);
3327
+ var f = Ln(c.val);
3291
3328
  if (f.length === 0)
3292
3329
  return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3293
- var p = v(l, this.clonePosition());
3330
+ var p = v(h, this.clonePosition());
3294
3331
  u = { style: f, styleLocation: p };
3295
3332
  }
3296
3333
  var y = this.tryParseArgumentClose(n);
3297
3334
  if (y.err)
3298
3335
  return y;
3299
3336
  var d = v(n, this.clonePosition());
3300
- if (u && St(u?.style, "::", 0)) {
3301
- var g = fn(u.style.slice(2));
3302
- if (s === "number") {
3337
+ if (u && Ot(u == null ? void 0 : u.style, "::", 0)) {
3338
+ var g = Tn(u.style.slice(2));
3339
+ if (a === "number") {
3303
3340
  var c = this.parseNumberSkeletonFromString(g, u.styleLocation);
3304
3341
  return c.err ? c : {
3305
3342
  val: { type: S.number, value: i, location: d, style: c.val },
@@ -3309,13 +3346,13 @@ var pn = (
3309
3346
  if (g.length === 0)
3310
3347
  return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3311
3348
  var w = g;
3312
- this.locale && (w = qi(g, this.locale));
3349
+ this.locale && (w = hn(g, this.locale));
3313
3350
  var f = {
3314
- type: K.dateTime,
3351
+ type: ee.dateTime,
3315
3352
  pattern: w,
3316
3353
  location: u.styleLocation,
3317
- parsedOptions: this.shouldParseSkeletons ? Vi(w) : {}
3318
- }, _ = s === "date" ? S.date : S.time;
3354
+ parsedOptions: this.shouldParseSkeletons ? rn(w) : {}
3355
+ }, _ = a === "date" ? S.date : S.time;
3319
3356
  return {
3320
3357
  val: { type: _, value: i, location: d, style: f },
3321
3358
  err: null
@@ -3324,10 +3361,10 @@ var pn = (
3324
3361
  }
3325
3362
  return {
3326
3363
  val: {
3327
- type: s === "number" ? S.number : s === "date" ? S.date : S.time,
3364
+ type: a === "number" ? S.number : a === "date" ? S.date : S.time,
3328
3365
  value: i,
3329
3366
  location: d,
3330
- style: (o = u?.style) !== null && o !== void 0 ? o : null
3367
+ style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3331
3368
  },
3332
3369
  err: null
3333
3370
  };
@@ -3339,45 +3376,45 @@ var pn = (
3339
3376
  if (this.bumpSpace(), !this.bumpIf(","))
3340
3377
  return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(P, x({}, P)));
3341
3378
  this.bumpSpace();
3342
- var R = this.parseIdentifierIfPossible(), N = 0;
3343
- if (s !== "select" && R.value === "offset") {
3379
+ var D = this.parseIdentifierIfPossible(), N = 0;
3380
+ if (a !== "select" && D.value === "offset") {
3344
3381
  if (!this.bumpIf(":"))
3345
3382
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3346
3383
  this.bumpSpace();
3347
3384
  var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3348
3385
  if (c.err)
3349
3386
  return c;
3350
- this.bumpSpace(), R = this.parseIdentifierIfPossible(), N = c.val;
3387
+ this.bumpSpace(), D = this.parseIdentifierIfPossible(), N = c.val;
3351
3388
  }
3352
- var D = this.tryParsePluralOrSelectOptions(t, s, r, R);
3353
- if (D.err)
3354
- return D;
3389
+ var z = this.tryParsePluralOrSelectOptions(t, a, r, D);
3390
+ if (z.err)
3391
+ return z;
3355
3392
  var y = this.tryParseArgumentClose(n);
3356
3393
  if (y.err)
3357
3394
  return y;
3358
- var k = v(n, this.clonePosition());
3359
- return s === "select" ? {
3395
+ var V = v(n, this.clonePosition());
3396
+ return a === "select" ? {
3360
3397
  val: {
3361
3398
  type: S.select,
3362
3399
  value: i,
3363
- options: wt(D.val),
3364
- location: k
3400
+ options: Ct(z.val),
3401
+ location: V
3365
3402
  },
3366
3403
  err: null
3367
3404
  } : {
3368
3405
  val: {
3369
3406
  type: S.plural,
3370
3407
  value: i,
3371
- options: wt(D.val),
3408
+ options: Ct(z.val),
3372
3409
  offset: N,
3373
- pluralType: s === "plural" ? "cardinal" : "ordinal",
3374
- location: k
3410
+ pluralType: a === "plural" ? "cardinal" : "ordinal",
3411
+ location: V
3375
3412
  },
3376
3413
  err: null
3377
3414
  };
3378
3415
  }
3379
3416
  default:
3380
- return this.error(b.INVALID_ARGUMENT_TYPE, v(a, h));
3417
+ return this.error(b.INVALID_ARGUMENT_TYPE, v(s, l));
3381
3418
  }
3382
3419
  }, e.prototype.tryParseArgumentClose = function(t) {
3383
3420
  return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
@@ -3419,34 +3456,34 @@ var pn = (
3419
3456
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3420
3457
  var i = [];
3421
3458
  try {
3422
- i = Xi(t);
3423
- } catch {
3459
+ i = on(t);
3460
+ } catch (n) {
3424
3461
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3425
3462
  }
3426
3463
  return {
3427
3464
  val: {
3428
- type: K.number,
3465
+ type: ee.number,
3429
3466
  tokens: i,
3430
3467
  location: r,
3431
- parsedOptions: this.shouldParseSkeletons ? Ji(i) : {}
3468
+ parsedOptions: this.shouldParseSkeletons ? ln(i) : {}
3432
3469
  },
3433
3470
  err: null
3434
3471
  };
3435
3472
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, i, n) {
3436
- for (var o, a = !1, s = [], h = /* @__PURE__ */ new Set(), u = n.value, l = n.location; ; ) {
3473
+ for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = n.value, h = n.location; ; ) {
3437
3474
  if (u.length === 0) {
3438
3475
  var c = this.clonePosition();
3439
3476
  if (r !== "select" && this.bumpIf("=")) {
3440
3477
  var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3441
3478
  if (f.err)
3442
3479
  return f;
3443
- l = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3480
+ h = v(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3444
3481
  } else
3445
3482
  break;
3446
3483
  }
3447
- if (h.has(u))
3448
- return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, l);
3449
- u === "other" && (a = !0), this.bumpSpace();
3484
+ if (l.has(u))
3485
+ return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3486
+ u === "other" && (s = !0), this.bumpSpace();
3450
3487
  var p = this.clonePosition();
3451
3488
  if (!this.bumpIf("{"))
3452
3489
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
@@ -3456,27 +3493,27 @@ var pn = (
3456
3493
  var d = this.tryParseArgumentClose(p);
3457
3494
  if (d.err)
3458
3495
  return d;
3459
- s.push([
3496
+ a.push([
3460
3497
  u,
3461
3498
  {
3462
3499
  value: y.val,
3463
3500
  location: v(p, this.clonePosition())
3464
3501
  }
3465
- ]), h.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, l = o.location;
3502
+ ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3466
3503
  }
3467
- return s.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(b.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3504
+ return a.length === 0 ? this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3468
3505
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3469
3506
  var i = 1, n = this.clonePosition();
3470
3507
  this.bumpIf("+") || this.bumpIf("-") && (i = -1);
3471
- for (var o = !1, a = 0; !this.isEOF(); ) {
3472
- var s = this.char();
3473
- if (s >= 48 && s <= 57)
3474
- o = !0, a = a * 10 + (s - 48), this.bump();
3508
+ for (var o = !1, s = 0; !this.isEOF(); ) {
3509
+ var a = this.char();
3510
+ if (a >= 48 && a <= 57)
3511
+ o = !0, s = s * 10 + (a - 48), this.bump();
3475
3512
  else
3476
3513
  break;
3477
3514
  }
3478
- var h = v(n, this.clonePosition());
3479
- return o ? (a *= i, hn(a) ? { val: a, err: null } : this.error(r, h)) : this.error(t, h);
3515
+ var l = v(n, this.clonePosition());
3516
+ return o ? (s *= i, xn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3480
3517
  }, e.prototype.offset = function() {
3481
3518
  return this.position.offset;
3482
3519
  }, e.prototype.isEOF = function() {
@@ -3491,7 +3528,7 @@ var pn = (
3491
3528
  var t = this.position.offset;
3492
3529
  if (t >= this.message.length)
3493
3530
  throw Error("out of bound");
3494
- var r = sr(this.message, t);
3531
+ var r = fr(this.message, t);
3495
3532
  if (r === void 0)
3496
3533
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3497
3534
  return r;
@@ -3510,7 +3547,7 @@ var pn = (
3510
3547
  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);
3511
3548
  }
3512
3549
  }, e.prototype.bumpIf = function(t) {
3513
- if (St(this.message, t, this.offset())) {
3550
+ if (Ot(this.message, t, this.offset())) {
3514
3551
  for (var r = 0; r < t.length; r++)
3515
3552
  this.bump();
3516
3553
  return !0;
@@ -3532,56 +3569,56 @@ var pn = (
3532
3569
  break;
3533
3570
  }
3534
3571
  }, e.prototype.bumpSpace = function() {
3535
- for (; !this.isEOF() && ur(this.char()); )
3572
+ for (; !this.isEOF() && pr(this.char()); )
3536
3573
  this.bump();
3537
3574
  }, e.prototype.peek = function() {
3538
3575
  if (this.isEOF())
3539
3576
  return null;
3540
3577
  var t = this.char(), r = this.offset(), i = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3541
- return i ?? null;
3578
+ return i != null ? i : null;
3542
3579
  }, e;
3543
3580
  }()
3544
3581
  );
3545
- function et(e) {
3582
+ function it(e) {
3546
3583
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3547
3584
  }
3548
- function dn(e) {
3549
- return et(e) || e === 47;
3585
+ function wn(e) {
3586
+ return it(e) || e === 47;
3550
3587
  }
3551
- function yn(e) {
3588
+ function An(e) {
3552
3589
  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;
3553
3590
  }
3554
- function ur(e) {
3591
+ function pr(e) {
3555
3592
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3556
3593
  }
3557
- function bn(e) {
3594
+ function Hn(e) {
3558
3595
  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;
3559
3596
  }
3560
- function tt(e) {
3597
+ function nt(e) {
3561
3598
  e.forEach(function(t) {
3562
- if (delete t.location, qt(t) || Kt(t))
3599
+ if (delete t.location, nr(t) || or(t))
3563
3600
  for (var r in t.options)
3564
- delete t.options[r].location, tt(t.options[r].value);
3565
- else Qt(t) && tr(t.style) || (Yt(t) || Jt(t)) && Ye(t.style) ? delete t.style.location : er(t) && tt(t.children);
3601
+ delete t.options[r].location, nt(t.options[r].value);
3602
+ else tr(t) && ar(t.style) || (rr(t) || ir(t)) && Ke(t.style) ? delete t.style.location : sr(t) && nt(t.children);
3566
3603
  });
3567
3604
  }
3568
- function gn(e, t) {
3605
+ function Pn(e, t) {
3569
3606
  t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3570
- var r = new pn(e, t).parse();
3607
+ var r = new Sn(e, t).parse();
3571
3608
  if (r.err) {
3572
3609
  var i = SyntaxError(b[r.err.kind]);
3573
3610
  throw i.location = r.err.location, i.originalMessage = r.err.message, i;
3574
3611
  }
3575
- return t?.captureLocation || tt(r.val), r.val;
3612
+ return t != null && t.captureLocation || nt(r.val), r.val;
3576
3613
  }
3577
- var ee;
3614
+ var te;
3578
3615
  (function(e) {
3579
3616
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3580
- })(ee || (ee = {}));
3581
- var Ae = (
3617
+ })(te || (te = {}));
3618
+ var Pe = (
3582
3619
  /** @class */
3583
3620
  function(e) {
3584
- U(t, e);
3621
+ G(t, e);
3585
3622
  function t(r, i, n) {
3586
3623
  var o = e.call(this, r) || this;
3587
3624
  return o.code = i, o.originalMessage = n, o;
@@ -3590,155 +3627,155 @@ var Ae = (
3590
3627
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3591
3628
  }, t;
3592
3629
  }(Error)
3593
- ), Ht = (
3630
+ ), Nt = (
3594
3631
  /** @class */
3595
3632
  function(e) {
3596
- U(t, e);
3633
+ G(t, e);
3597
3634
  function t(r, i, n, o) {
3598
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), ee.INVALID_VALUE, o) || this;
3635
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(i, '". Options are "').concat(Object.keys(n).join('", "'), '"'), te.INVALID_VALUE, o) || this;
3599
3636
  }
3600
3637
  return t;
3601
- }(Ae)
3602
- ), vn = (
3638
+ }(Pe)
3639
+ ), Bn = (
3603
3640
  /** @class */
3604
3641
  function(e) {
3605
- U(t, e);
3642
+ G(t, e);
3606
3643
  function t(r, i, n) {
3607
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), ee.INVALID_VALUE, n) || this;
3644
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(i), te.INVALID_VALUE, n) || this;
3608
3645
  }
3609
3646
  return t;
3610
- }(Ae)
3611
- ), _n = (
3647
+ }(Pe)
3648
+ ), On = (
3612
3649
  /** @class */
3613
3650
  function(e) {
3614
- U(t, e);
3651
+ G(t, e);
3615
3652
  function t(r, i) {
3616
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), ee.MISSING_VALUE, i) || this;
3653
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(i, '"'), te.MISSING_VALUE, i) || this;
3617
3654
  }
3618
3655
  return t;
3619
- }(Ae)
3656
+ }(Pe)
3620
3657
  ), O;
3621
3658
  (function(e) {
3622
3659
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3623
3660
  })(O || (O = {}));
3624
- function xn(e) {
3661
+ function Cn(e) {
3625
3662
  return e.length < 2 ? e : e.reduce(function(t, r) {
3626
3663
  var i = t[t.length - 1];
3627
3664
  return !i || i.type !== O.literal || r.type !== O.literal ? t.push(r) : i.value += r.value, t;
3628
3665
  }, []);
3629
3666
  }
3630
- function En(e) {
3667
+ function In(e) {
3631
3668
  return typeof e == "function";
3632
3669
  }
3633
- function _e(e, t, r, i, n, o, a) {
3634
- if (e.length === 1 && xt(e[0]))
3670
+ function Ee(e, t, r, i, n, o, s) {
3671
+ if (e.length === 1 && At(e[0]))
3635
3672
  return [
3636
3673
  {
3637
3674
  type: O.literal,
3638
3675
  value: e[0].value
3639
3676
  }
3640
3677
  ];
3641
- for (var s = [], h = 0, u = e; h < u.length; h++) {
3642
- var l = u[h];
3643
- if (xt(l)) {
3644
- s.push({
3678
+ for (var a = [], l = 0, u = e; l < u.length; l++) {
3679
+ var h = u[l];
3680
+ if (At(h)) {
3681
+ a.push({
3645
3682
  type: O.literal,
3646
- value: l.value
3683
+ value: h.value
3647
3684
  });
3648
3685
  continue;
3649
3686
  }
3650
- if (ji(l)) {
3651
- typeof o == "number" && s.push({
3687
+ if (en(h)) {
3688
+ typeof o == "number" && a.push({
3652
3689
  type: O.literal,
3653
3690
  value: r.getNumberFormat(t).format(o)
3654
3691
  });
3655
3692
  continue;
3656
3693
  }
3657
- var c = l.value;
3694
+ var c = h.value;
3658
3695
  if (!(n && c in n))
3659
- throw new _n(c, a);
3696
+ throw new On(c, s);
3660
3697
  var f = n[c];
3661
- if (Fi(l)) {
3662
- (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3698
+ if (Ki(h)) {
3699
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3663
3700
  type: typeof f == "string" ? O.literal : O.object,
3664
3701
  value: f
3665
3702
  });
3666
3703
  continue;
3667
3704
  }
3668
- if (Yt(l)) {
3669
- var p = typeof l.style == "string" ? i.date[l.style] : Ye(l.style) ? l.style.parsedOptions : void 0;
3670
- s.push({
3705
+ if (rr(h)) {
3706
+ var p = typeof h.style == "string" ? i.date[h.style] : Ke(h.style) ? h.style.parsedOptions : void 0;
3707
+ a.push({
3671
3708
  type: O.literal,
3672
3709
  value: r.getDateTimeFormat(t, p).format(f)
3673
3710
  });
3674
3711
  continue;
3675
3712
  }
3676
- if (Jt(l)) {
3677
- var p = typeof l.style == "string" ? i.time[l.style] : Ye(l.style) ? l.style.parsedOptions : i.time.medium;
3678
- s.push({
3713
+ if (ir(h)) {
3714
+ var p = typeof h.style == "string" ? i.time[h.style] : Ke(h.style) ? h.style.parsedOptions : i.time.medium;
3715
+ a.push({
3679
3716
  type: O.literal,
3680
3717
  value: r.getDateTimeFormat(t, p).format(f)
3681
3718
  });
3682
3719
  continue;
3683
3720
  }
3684
- if (Qt(l)) {
3685
- var p = typeof l.style == "string" ? i.number[l.style] : tr(l.style) ? l.style.parsedOptions : void 0;
3686
- p && p.scale && (f = f * (p.scale || 1)), s.push({
3721
+ if (tr(h)) {
3722
+ var p = typeof h.style == "string" ? i.number[h.style] : ar(h.style) ? h.style.parsedOptions : void 0;
3723
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3687
3724
  type: O.literal,
3688
3725
  value: r.getNumberFormat(t, p).format(f)
3689
3726
  });
3690
3727
  continue;
3691
3728
  }
3692
- if (er(l)) {
3693
- var y = l.children, d = l.value, g = n[d];
3694
- if (!En(g))
3695
- throw new vn(d, "function", a);
3696
- var w = _e(y, t, r, i, n, o), _ = g(w.map(function(N) {
3729
+ if (sr(h)) {
3730
+ var y = h.children, d = h.value, g = n[d];
3731
+ if (!In(g))
3732
+ throw new Bn(d, "function", s);
3733
+ var w = Ee(y, t, r, i, n, o), _ = g(w.map(function(N) {
3697
3734
  return N.value;
3698
3735
  }));
3699
- Array.isArray(_) || (_ = [_]), s.push.apply(s, _.map(function(N) {
3736
+ Array.isArray(_) || (_ = [_]), a.push.apply(a, _.map(function(N) {
3700
3737
  return {
3701
3738
  type: typeof N == "string" ? O.literal : O.object,
3702
3739
  value: N
3703
3740
  };
3704
3741
  }));
3705
3742
  }
3706
- if (qt(l)) {
3707
- var P = l.options[f] || l.options.other;
3743
+ if (nr(h)) {
3744
+ var P = h.options[f] || h.options.other;
3708
3745
  if (!P)
3709
- throw new Ht(l.value, f, Object.keys(l.options), a);
3710
- s.push.apply(s, _e(P.value, t, r, i, n));
3746
+ throw new Nt(h.value, f, Object.keys(h.options), s);
3747
+ a.push.apply(a, Ee(P.value, t, r, i, n));
3711
3748
  continue;
3712
3749
  }
3713
- if (Kt(l)) {
3714
- var P = l.options["=".concat(f)];
3750
+ if (or(h)) {
3751
+ var P = h.options["=".concat(f)];
3715
3752
  if (!P) {
3716
3753
  if (!Intl.PluralRules)
3717
- throw new Ae(`Intl.PluralRules is not available in this environment.
3754
+ throw new Pe(`Intl.PluralRules is not available in this environment.
3718
3755
  Try polyfilling it using "@formatjs/intl-pluralrules"
3719
- `, ee.MISSING_INTL_API, a);
3720
- var R = r.getPluralRules(t, { type: l.pluralType }).select(f - (l.offset || 0));
3721
- P = l.options[R] || l.options.other;
3756
+ `, te.MISSING_INTL_API, s);
3757
+ var D = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3758
+ P = h.options[D] || h.options.other;
3722
3759
  }
3723
3760
  if (!P)
3724
- throw new Ht(l.value, f, Object.keys(l.options), a);
3725
- s.push.apply(s, _e(P.value, t, r, i, n, f - (l.offset || 0)));
3761
+ throw new Nt(h.value, f, Object.keys(h.options), s);
3762
+ a.push.apply(a, Ee(P.value, t, r, i, n, f - (h.offset || 0)));
3726
3763
  continue;
3727
3764
  }
3728
3765
  }
3729
- return xn(s);
3766
+ return Cn(a);
3730
3767
  }
3731
- function Tn(e, t) {
3768
+ function Nn(e, t) {
3732
3769
  return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(r, i) {
3733
3770
  return r[i] = x(x({}, e[i]), t[i] || {}), r;
3734
3771
  }, {})) : e;
3735
3772
  }
3736
- function Ln(e, t) {
3773
+ function Mn(e, t) {
3737
3774
  return t ? Object.keys(e).reduce(function(r, i) {
3738
- return r[i] = Tn(e[i], t[i]), r;
3775
+ return r[i] = Nn(e[i], t[i]), r;
3739
3776
  }, x({}, e)) : e;
3740
3777
  }
3741
- function $e(e) {
3778
+ function Fe(e) {
3742
3779
  return {
3743
3780
  create: function() {
3744
3781
  return {
@@ -3752,39 +3789,39 @@ function $e(e) {
3752
3789
  }
3753
3790
  };
3754
3791
  }
3755
- function Sn(e) {
3792
+ function Rn(e) {
3756
3793
  return e === void 0 && (e = {
3757
3794
  number: {},
3758
3795
  dateTime: {},
3759
3796
  pluralRules: {}
3760
3797
  }), {
3761
- getNumberFormat: Re(function() {
3798
+ getNumberFormat: $e(function() {
3762
3799
  for (var t, r = [], i = 0; i < arguments.length; i++)
3763
3800
  r[i] = arguments[i];
3764
- return new ((t = Intl.NumberFormat).bind.apply(t, J([void 0], r, !1)))();
3801
+ return new ((t = Intl.NumberFormat).bind.apply(t, q([void 0], r, !1)))();
3765
3802
  }, {
3766
- cache: $e(e.number),
3767
- strategy: De.variadic
3803
+ cache: Fe(e.number),
3804
+ strategy: Ue.variadic
3768
3805
  }),
3769
- getDateTimeFormat: Re(function() {
3806
+ getDateTimeFormat: $e(function() {
3770
3807
  for (var t, r = [], i = 0; i < arguments.length; i++)
3771
3808
  r[i] = arguments[i];
3772
- return new ((t = Intl.DateTimeFormat).bind.apply(t, J([void 0], r, !1)))();
3809
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, q([void 0], r, !1)))();
3773
3810
  }, {
3774
- cache: $e(e.dateTime),
3775
- strategy: De.variadic
3811
+ cache: Fe(e.dateTime),
3812
+ strategy: Ue.variadic
3776
3813
  }),
3777
- getPluralRules: Re(function() {
3814
+ getPluralRules: $e(function() {
3778
3815
  for (var t, r = [], i = 0; i < arguments.length; i++)
3779
3816
  r[i] = arguments[i];
3780
- return new ((t = Intl.PluralRules).bind.apply(t, J([void 0], r, !1)))();
3817
+ return new ((t = Intl.PluralRules).bind.apply(t, q([void 0], r, !1)))();
3781
3818
  }, {
3782
- cache: $e(e.pluralRules),
3783
- strategy: De.variadic
3819
+ cache: Fe(e.pluralRules),
3820
+ strategy: Ue.variadic
3784
3821
  })
3785
3822
  };
3786
3823
  }
3787
- var wn = (
3824
+ var Dn = (
3788
3825
  /** @class */
3789
3826
  function() {
3790
3827
  function e(t, r, i, n) {
@@ -3794,35 +3831,35 @@ var wn = (
3794
3831
  number: {},
3795
3832
  dateTime: {},
3796
3833
  pluralRules: {}
3797
- }, this.format = function(h) {
3798
- var u = o.formatToParts(h);
3834
+ }, this.format = function(l) {
3835
+ var u = o.formatToParts(l);
3799
3836
  if (u.length === 1)
3800
3837
  return u[0].value;
3801
- var l = u.reduce(function(c, f) {
3838
+ var h = u.reduce(function(c, f) {
3802
3839
  return !c.length || f.type !== O.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3803
3840
  }, []);
3804
- return l.length <= 1 ? l[0] || "" : l;
3805
- }, this.formatToParts = function(h) {
3806
- return _e(o.ast, o.locales, o.formatters, o.formats, h, void 0, o.message);
3841
+ return h.length <= 1 ? h[0] || "" : h;
3842
+ }, this.formatToParts = function(l) {
3843
+ return Ee(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3807
3844
  }, this.resolvedOptions = function() {
3808
- var h;
3845
+ var l;
3809
3846
  return {
3810
- locale: ((h = o.resolvedLocale) === null || h === void 0 ? void 0 : h.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3847
+ locale: ((l = o.resolvedLocale) === null || l === void 0 ? void 0 : l.toString()) || Intl.NumberFormat.supportedLocalesOf(o.locales)[0]
3811
3848
  };
3812
3849
  }, this.getAst = function() {
3813
3850
  return o.ast;
3814
3851
  }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
3815
3852
  if (this.message = t, !e.__parse)
3816
3853
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3817
- var a = n || {};
3818
- a.formatters;
3819
- var s = ii(a, ["formatters"]);
3820
- this.ast = e.__parse(t, x(x({}, s), { locale: this.resolvedLocale }));
3854
+ var s = n || {};
3855
+ s.formatters;
3856
+ var a = pi(s, ["formatters"]);
3857
+ this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
3821
3858
  } else
3822
3859
  this.ast = t;
3823
3860
  if (!Array.isArray(this.ast))
3824
3861
  throw new TypeError("A message must be provided as a String or AST.");
3825
- this.formats = Ln(e.formats, i), this.formatters = n && n.formatters || Sn(this.formatterCache);
3862
+ this.formats = Mn(e.formats, i), this.formatters = n && n.formatters || Rn(this.formatterCache);
3826
3863
  }
3827
3864
  return Object.defineProperty(e, "defaultLocale", {
3828
3865
  get: function() {
@@ -3831,11 +3868,11 @@ var wn = (
3831
3868
  enumerable: !1,
3832
3869
  configurable: !0
3833
3870
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
3834
- if (!(typeof Intl.Locale > "u")) {
3871
+ if (typeof Intl.Locale != "undefined") {
3835
3872
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3836
3873
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3837
3874
  }
3838
- }, e.__parse = gn, e.formats = {
3875
+ }, e.__parse = Pn, e.formats = {
3839
3876
  number: {
3840
3877
  integer: {
3841
3878
  maximumFractionDigits: 0
@@ -3896,7 +3933,7 @@ var wn = (
3896
3933
  }, e;
3897
3934
  }()
3898
3935
  );
3899
- function An(e, t) {
3936
+ function zn(e, t) {
3900
3937
  if (t == null)
3901
3938
  return;
3902
3939
  if (t in e)
@@ -3917,92 +3954,92 @@ function An(e, t) {
3917
3954
  i = void 0;
3918
3955
  return i;
3919
3956
  }
3920
- const G = {}, Hn = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), lr = (e, t) => {
3957
+ const F = {}, $n = (e, t, r) => r && (t in F || (F[t] = {}), e in F[t] || (F[t][e] = r), r), dr = (e, t) => {
3921
3958
  if (t == null)
3922
3959
  return;
3923
- if (t in G && e in G[t])
3924
- return G[t][e];
3925
- const r = He(t);
3960
+ if (t in F && e in F[t])
3961
+ return F[t][e];
3962
+ const r = Be(t);
3926
3963
  for (let i = 0; i < r.length; i++) {
3927
- const n = r[i], o = Bn(n, e);
3964
+ const n = r[i], o = Gn(n, e);
3928
3965
  if (o)
3929
- return Hn(e, t, o);
3966
+ return $n(e, t, o);
3930
3967
  }
3931
3968
  };
3932
- let st;
3933
- const fe = we({});
3934
- function Pn(e) {
3935
- return st[e] || null;
3969
+ let lt;
3970
+ const me = He({});
3971
+ function Un(e) {
3972
+ return lt[e] || null;
3936
3973
  }
3937
- function hr(e) {
3938
- return e in st;
3974
+ function yr(e) {
3975
+ return e in lt;
3939
3976
  }
3940
- function Bn(e, t) {
3941
- if (!hr(e))
3977
+ function Gn(e, t) {
3978
+ if (!yr(e))
3942
3979
  return null;
3943
- const r = Pn(e);
3944
- return An(r, t);
3980
+ const r = Un(e);
3981
+ return zn(r, t);
3945
3982
  }
3946
- function On(e) {
3983
+ function Fn(e) {
3947
3984
  if (e == null)
3948
3985
  return;
3949
- const t = He(e);
3986
+ const t = Be(e);
3950
3987
  for (let r = 0; r < t.length; r++) {
3951
3988
  const i = t[r];
3952
- if (hr(i))
3989
+ if (yr(i))
3953
3990
  return i;
3954
3991
  }
3955
3992
  }
3956
- function cr(e, ...t) {
3957
- delete G[e], fe.update((r) => (r[e] = Ni.all([r[e] || {}, ...t]), r));
3993
+ function br(e, ...t) {
3994
+ delete F[e], me.update((r) => (r[e] = Vi.all([r[e] || {}, ...t]), r));
3958
3995
  }
3959
- re(
3960
- [fe],
3996
+ ie(
3997
+ [me],
3961
3998
  ([e]) => Object.keys(e)
3962
3999
  );
3963
- fe.subscribe((e) => st = e);
3964
- const xe = {};
3965
- function Cn(e, t) {
3966
- xe[e].delete(t), xe[e].size === 0 && delete xe[e];
4000
+ me.subscribe((e) => lt = e);
4001
+ const Te = {};
4002
+ function jn(e, t) {
4003
+ Te[e].delete(t), Te[e].size === 0 && delete Te[e];
3967
4004
  }
3968
- function fr(e) {
3969
- return xe[e];
4005
+ function gr(e) {
4006
+ return Te[e];
3970
4007
  }
3971
- function In(e) {
3972
- return He(e).map((t) => {
3973
- const r = fr(t);
4008
+ function kn(e) {
4009
+ return Be(e).map((t) => {
4010
+ const r = gr(t);
3974
4011
  return [t, r ? [...r] : []];
3975
4012
  }).filter(([, t]) => t.length > 0);
3976
4013
  }
3977
- function rt(e) {
3978
- return e == null ? !1 : He(e).some(
4014
+ function ot(e) {
4015
+ return e == null ? !1 : Be(e).some(
3979
4016
  (t) => {
3980
4017
  var r;
3981
- return (r = fr(t)) == null ? void 0 : r.size;
4018
+ return (r = gr(t)) == null ? void 0 : r.size;
3982
4019
  }
3983
4020
  );
3984
4021
  }
3985
- function Nn(e, t) {
4022
+ function Vn(e, t) {
3986
4023
  return Promise.all(
3987
- t.map((i) => (Cn(e, i), i().then((n) => n.default || n)))
3988
- ).then((i) => cr(e, ...i));
3989
- }
3990
- const se = {};
3991
- function mr(e) {
3992
- if (!rt(e))
3993
- return e in se ? se[e] : Promise.resolve();
3994
- const t = In(e);
3995
- return se[e] = Promise.all(
4024
+ t.map((i) => (jn(e, i), i().then((n) => n.default || n)))
4025
+ ).then((i) => br(e, ...i));
4026
+ }
4027
+ const ae = {};
4028
+ function vr(e) {
4029
+ if (!ot(e))
4030
+ return e in ae ? ae[e] : Promise.resolve();
4031
+ const t = kn(e);
4032
+ return ae[e] = Promise.all(
3996
4033
  t.map(
3997
- ([r, i]) => Nn(r, i)
4034
+ ([r, i]) => Vn(r, i)
3998
4035
  )
3999
4036
  ).then(() => {
4000
- if (rt(e))
4001
- return mr(e);
4002
- delete se[e];
4003
- }), se[e];
4037
+ if (ot(e))
4038
+ return vr(e);
4039
+ delete ae[e];
4040
+ }), ae[e];
4004
4041
  }
4005
- const Mn = {
4042
+ const Wn = {
4006
4043
  number: {
4007
4044
  scientific: { notation: "scientific" },
4008
4045
  engineering: { notation: "engineering" },
@@ -4031,159 +4068,159 @@ const Mn = {
4031
4068
  timeZoneName: "short"
4032
4069
  }
4033
4070
  }
4034
- }, Rn = {
4071
+ }, Xn = {
4035
4072
  fallbackLocale: null,
4036
4073
  loadingDelay: 200,
4037
- formats: Mn,
4074
+ formats: Wn,
4038
4075
  warnOnMissingMessages: !0,
4039
4076
  handleMissingMessage: void 0,
4040
4077
  ignoreTag: !0
4041
- }, Dn = Rn;
4042
- function te() {
4043
- return Dn;
4078
+ }, Zn = Xn;
4079
+ function re() {
4080
+ return Zn;
4044
4081
  }
4045
- const Ue = we(!1);
4046
- var zn = Object.defineProperty, $n = Object.defineProperties, Un = Object.getOwnPropertyDescriptors, Pt = Object.getOwnPropertySymbols, Gn = Object.prototype.hasOwnProperty, Fn = Object.prototype.propertyIsEnumerable, Bt = (e, t, r) => t in e ? zn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, jn = (e, t) => {
4082
+ const je = He(!1);
4083
+ var Qn = Object.defineProperty, Yn = Object.defineProperties, Jn = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, qn = Object.prototype.hasOwnProperty, Kn = Object.prototype.propertyIsEnumerable, Rt = (e, t, r) => t in e ? Qn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, eo = (e, t) => {
4047
4084
  for (var r in t)
4048
- Gn.call(t, r) && Bt(e, r, t[r]);
4049
- if (Pt)
4050
- for (var r of Pt(t))
4051
- Fn.call(t, r) && Bt(e, r, t[r]);
4085
+ qn.call(t, r) && Rt(e, r, t[r]);
4086
+ if (Mt)
4087
+ for (var r of Mt(t))
4088
+ Kn.call(t, r) && Rt(e, r, t[r]);
4052
4089
  return e;
4053
- }, kn = (e, t) => $n(e, Un(t));
4054
- let it;
4055
- const Te = we(null);
4056
- function Ot(e) {
4090
+ }, to = (e, t) => Yn(e, Jn(t));
4091
+ let st;
4092
+ const Se = He(null);
4093
+ function Dt(e) {
4057
4094
  return e.split("-").map((t, r, i) => i.slice(0, r + 1).join("-")).reverse();
4058
4095
  }
4059
- function He(e, t = te().fallbackLocale) {
4060
- const r = Ot(e);
4061
- return t ? [.../* @__PURE__ */ new Set([...r, ...Ot(t)])] : r;
4096
+ function Be(e, t = re().fallbackLocale) {
4097
+ const r = Dt(e);
4098
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Dt(t)])] : r;
4062
4099
  }
4063
- function W() {
4064
- return it ?? void 0;
4100
+ function X() {
4101
+ return st != null ? st : void 0;
4065
4102
  }
4066
- Te.subscribe((e) => {
4067
- it = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4103
+ Se.subscribe((e) => {
4104
+ st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4068
4105
  });
4069
- const Vn = (e) => {
4070
- if (e && On(e) && rt(e)) {
4071
- const { loadingDelay: t } = te();
4106
+ const ro = (e) => {
4107
+ if (e && Fn(e) && ot(e)) {
4108
+ const { loadingDelay: t } = re();
4072
4109
  let r;
4073
- return typeof window < "u" && W() != null && t ? r = window.setTimeout(
4074
- () => Ue.set(!0),
4110
+ return typeof window != "undefined" && X() != null && t ? r = window.setTimeout(
4111
+ () => je.set(!0),
4075
4112
  t
4076
- ) : Ue.set(!0), mr(e).then(() => {
4077
- Te.set(e);
4113
+ ) : je.set(!0), vr(e).then(() => {
4114
+ Se.set(e);
4078
4115
  }).finally(() => {
4079
- clearTimeout(r), Ue.set(!1);
4116
+ clearTimeout(r), je.set(!1);
4080
4117
  });
4081
4118
  }
4082
- return Te.set(e);
4083
- }, ie = kn(jn({}, Te), {
4084
- set: Vn
4085
- }), Pe = (e) => {
4119
+ return Se.set(e);
4120
+ }, ne = to(eo({}, Se), {
4121
+ set: ro
4122
+ }), Oe = (e) => {
4086
4123
  const t = /* @__PURE__ */ Object.create(null);
4087
4124
  return (i) => {
4088
4125
  const n = JSON.stringify(i);
4089
4126
  return n in t ? t[n] : t[n] = e(i);
4090
4127
  };
4091
4128
  };
4092
- var Wn = Object.defineProperty, Le = Object.getOwnPropertySymbols, pr = Object.prototype.hasOwnProperty, dr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, at = (e, t) => {
4129
+ var io = Object.defineProperty, we = Object.getOwnPropertySymbols, _r = Object.prototype.hasOwnProperty, xr = Object.prototype.propertyIsEnumerable, zt = (e, t, r) => t in e ? io(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
4093
4130
  for (var r in t || (t = {}))
4094
- pr.call(t, r) && Ct(e, r, t[r]);
4095
- if (Le)
4096
- for (var r of Le(t))
4097
- dr.call(t, r) && Ct(e, r, t[r]);
4131
+ _r.call(t, r) && zt(e, r, t[r]);
4132
+ if (we)
4133
+ for (var r of we(t))
4134
+ xr.call(t, r) && zt(e, r, t[r]);
4098
4135
  return e;
4099
- }, ne = (e, t) => {
4136
+ }, oe = (e, t) => {
4100
4137
  var r = {};
4101
4138
  for (var i in e)
4102
- pr.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4103
- if (e != null && Le)
4104
- for (var i of Le(e))
4105
- t.indexOf(i) < 0 && dr.call(e, i) && (r[i] = e[i]);
4139
+ _r.call(e, i) && t.indexOf(i) < 0 && (r[i] = e[i]);
4140
+ if (e != null && we)
4141
+ for (var i of we(e))
4142
+ t.indexOf(i) < 0 && xr.call(e, i) && (r[i] = e[i]);
4106
4143
  return r;
4107
4144
  };
4108
- const he = (e, t) => {
4109
- const { formats: r } = te();
4145
+ const ce = (e, t) => {
4146
+ const { formats: r } = re();
4110
4147
  if (e in r && t in r[e])
4111
4148
  return r[e][t];
4112
4149
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4113
- }, Xn = Pe(
4150
+ }, no = Oe(
4114
4151
  (e) => {
4115
- var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
4152
+ var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
4116
4153
  if (r == null)
4117
4154
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4118
- return i && (n = he("number", i)), new Intl.NumberFormat(r, n);
4155
+ return i && (n = ce("number", i)), new Intl.NumberFormat(r, n);
4119
4156
  }
4120
- ), Zn = Pe(
4157
+ ), oo = Oe(
4121
4158
  (e) => {
4122
- var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
4159
+ var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
4123
4160
  if (r == null)
4124
4161
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4125
- return i ? n = he("date", i) : Object.keys(n).length === 0 && (n = he("date", "short")), new Intl.DateTimeFormat(r, n);
4162
+ return i ? n = ce("date", i) : Object.keys(n).length === 0 && (n = ce("date", "short")), new Intl.DateTimeFormat(r, n);
4126
4163
  }
4127
- ), Qn = Pe(
4164
+ ), so = Oe(
4128
4165
  (e) => {
4129
- var t = e, { locale: r, format: i } = t, n = ne(t, ["locale", "format"]);
4166
+ var t = e, { locale: r, format: i } = t, n = oe(t, ["locale", "format"]);
4130
4167
  if (r == null)
4131
4168
  throw new Error(
4132
4169
  '[svelte-i18n] A "locale" must be set to format time values'
4133
4170
  );
4134
- return i ? n = he("time", i) : Object.keys(n).length === 0 && (n = he("time", "short")), new Intl.DateTimeFormat(r, n);
4171
+ return i ? n = ce("time", i) : Object.keys(n).length === 0 && (n = ce("time", "short")), new Intl.DateTimeFormat(r, n);
4135
4172
  }
4136
- ), Yn = (e = {}) => {
4173
+ ), ao = (e = {}) => {
4137
4174
  var t = e, {
4138
- locale: r = W()
4139
- } = t, i = ne(t, [
4175
+ locale: r = X()
4176
+ } = t, i = oe(t, [
4140
4177
  "locale"
4141
4178
  ]);
4142
- return Xn(at({ locale: r }, i));
4143
- }, Jn = (e = {}) => {
4179
+ return no(ht({ locale: r }, i));
4180
+ }, uo = (e = {}) => {
4144
4181
  var t = e, {
4145
- locale: r = W()
4146
- } = t, i = ne(t, [
4182
+ locale: r = X()
4183
+ } = t, i = oe(t, [
4147
4184
  "locale"
4148
4185
  ]);
4149
- return Zn(at({ locale: r }, i));
4150
- }, qn = (e = {}) => {
4186
+ return oo(ht({ locale: r }, i));
4187
+ }, lo = (e = {}) => {
4151
4188
  var t = e, {
4152
- locale: r = W()
4153
- } = t, i = ne(t, [
4189
+ locale: r = X()
4190
+ } = t, i = oe(t, [
4154
4191
  "locale"
4155
4192
  ]);
4156
- return Qn(at({ locale: r }, i));
4157
- }, Kn = Pe(
4193
+ return so(ht({ locale: r }, i));
4194
+ }, ho = Oe(
4158
4195
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4159
- (e, t = W()) => new wn(e, t, te().formats, {
4160
- ignoreTag: te().ignoreTag
4196
+ (e, t = X()) => new Dn(e, t, re().formats, {
4197
+ ignoreTag: re().ignoreTag
4161
4198
  })
4162
- ), eo = (e, t = {}) => {
4199
+ ), co = (e, t = {}) => {
4163
4200
  var r, i, n, o;
4164
- let a = t;
4165
- typeof e == "object" && (a = e, e = a.id);
4201
+ let s = t;
4202
+ typeof e == "object" && (s = e, e = s.id);
4166
4203
  const {
4167
- values: s,
4168
- locale: h = W(),
4204
+ values: a,
4205
+ locale: l = X(),
4169
4206
  default: u
4170
- } = a;
4171
- if (h == null)
4207
+ } = s;
4208
+ if (l == null)
4172
4209
  throw new Error(
4173
4210
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4174
4211
  );
4175
- let l = lr(e, h);
4176
- if (!l)
4177
- l = (o = (n = (i = (r = te()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: h, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
4178
- else if (typeof l != "string")
4212
+ let h = dr(e, l);
4213
+ if (!h)
4214
+ h = (o = (n = (i = (r = re()).handleMissingMessage) == null ? void 0 : i.call(r, { locale: l, id: e, defaultValue: u })) != null ? n : u) != null ? o : e;
4215
+ else if (typeof h != "string")
4179
4216
  return console.warn(
4180
- `[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.`
4181
- ), l;
4182
- if (!s)
4183
- return l;
4184
- let c = l;
4217
+ `[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.`
4218
+ ), h;
4219
+ if (!a)
4220
+ return h;
4221
+ let c = h;
4185
4222
  try {
4186
- c = Kn(l, h).format(s);
4223
+ c = ho(h, l).format(a);
4187
4224
  } catch (f) {
4188
4225
  f instanceof Error && console.warn(
4189
4226
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4191,20 +4228,20 @@ const he = (e, t) => {
4191
4228
  );
4192
4229
  }
4193
4230
  return c;
4194
- }, to = (e, t) => qn(t).format(e), ro = (e, t) => Jn(t).format(e), io = (e, t) => Yn(t).format(e), no = (e, t = W()) => lr(e, t), oo = re([ie, fe], () => eo);
4195
- re([ie], () => to);
4196
- re([ie], () => ro);
4197
- re([ie], () => io);
4198
- re([ie, fe], () => no);
4199
- window.emWidgets = { topic: bi };
4200
- const so = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Lo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4201
- function It(e, t) {
4202
- cr(e, t);
4203
- }
4204
- function ao(e) {
4205
- ie.set(e);
4206
- }
4207
- const Ge = {
4231
+ }, fo = (e, t) => lo(t).format(e), mo = (e, t) => uo(t).format(e), po = (e, t) => ao(t).format(e), yo = (e, t = X()) => dr(e, t), bo = ie([ne, me], () => co);
4232
+ ie([ne], () => fo);
4233
+ ie([ne], () => mo);
4234
+ ie([ne], () => po);
4235
+ ie([ne, me], () => yo);
4236
+ window.emWidgets = { topic: Hi };
4237
+ const go = (e) => !!(e.toLowerCase().match(/android/i) || e.toLowerCase().match(/blackberry|bb/i) || e.toLowerCase().match(/iphone|ipad|ipod/i) || e.toLowerCase().match(/windows phone|windows mobile|iemobile|wpdesktop/i)), Ro = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4238
+ function $t(e, t) {
4239
+ br(e, t);
4240
+ }
4241
+ function vo(e) {
4242
+ ne.set(e);
4243
+ }
4244
+ const ke = {
4208
4245
  en: {
4209
4246
  expandLimits: "Limit history",
4210
4247
  daily: "per day",
@@ -4435,37 +4472,37 @@ const Ge = {
4435
4472
  historyLimitTypeLoss: "Kayıp Limiti"
4436
4473
  }
4437
4474
  };
4438
- function uo(e) {
4439
- Nr(e, "svelte-16zv8bz", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-16zv8bz.svelte-16zv8bz,.svelte-16zv8bz.svelte-16zv8bz::before,.svelte-16zv8bz.svelte-16zv8bz::after{color:var(--emw--color-typography-contrast, #444444);margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-16zv8bz.svelte-16zv8bz{color:var(--emw--color-white, #FFFFFF)}button.svelte-16zv8bz.svelte-16zv8bz{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-16zv8bz.svelte-16zv8bz{display:flex;align-items:center;margin-right:-14px;background:transparent;border:none;color:var(--emw--color-primary, #22B04E);font-size:var(--emw--font-size-large, 20px);text-transform:capitalize;font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.Mobile.svelte-16zv8bz.svelte-16zv8bz{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-16zv8bz svg.svelte-16zv8bz{width:40px;height:auto;margin-left:-4px}.extended.svelte-16zv8bz.svelte-16zv8bz{transform:rotate(180deg)}.HistoryWrapper.svelte-16zv8bz.svelte-16zv8bz{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea.svelte-16zv8bz{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 20px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea .LimitType.svelte-16zv8bz{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea.Mobile.svelte-16zv8bz{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-16zv8bz.svelte-16zv8bz{display:none}.HistoryRow.svelte-16zv8bz.svelte-16zv8bz{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-16zv8bz.svelte-16zv8bz{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-16zv8bz.svelte-16zv8bz{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-16zv8bz.svelte-16zv8bz{animation:svelte-16zv8bz-animateEntry 0.7s ease-in}@keyframes svelte-16zv8bz-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4475
+ function _o(e) {
4476
+ Vr(e, "svelte-16zv8bz", ':host{font-family:system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";font-size:1.3rem}.svelte-16zv8bz.svelte-16zv8bz,.svelte-16zv8bz.svelte-16zv8bz::before,.svelte-16zv8bz.svelte-16zv8bz::after{color:var(--emw--color-typography-contrast, #444444);margin:0;padding:0;list-style:none;text-decoration:none;outline:none;box-sizing:border-box}.player-account-gaming-limits-history-2.svelte-16zv8bz.svelte-16zv8bz{color:var(--emw--color-white, #FFFFFF)}button.svelte-16zv8bz.svelte-16zv8bz{font-size:1rem;border:0;padding:0}.ExpandButton.svelte-16zv8bz.svelte-16zv8bz{display:flex;align-items:center;margin-right:-14px;background:transparent;border:none;color:var(--emw--color-primary, #22B04E);font-size:var(--emw--font-size-large, 20px);text-transform:capitalize;font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.Mobile.svelte-16zv8bz.svelte-16zv8bz{font-size:var(--emw--font-size-medium, 16px);font-weight:var(--emw--font-weight-bold, 700)}.ExpandButton.svelte-16zv8bz svg.svelte-16zv8bz{width:40px;height:auto;margin-left:-4px}.extended.svelte-16zv8bz.svelte-16zv8bz{transform:rotate(180deg)}.HistoryWrapper.svelte-16zv8bz.svelte-16zv8bz{display:flex;flex-direction:column;width:320px;padding:0 12px;margin:12px auto}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea.svelte-16zv8bz{width:inherit;background-color:var(--emw--color-typpgraphy, #FFFFFF);border-radius:var(--emw--border-radius-large, 20px);box-shadow:0px 3px 19px 0px rgba(0, 0, 0, 0.3);padding:30px 20px}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea .LimitType.svelte-16zv8bz{font-size:var(--emw--font-size-medium, 16px);color:color-mix(in srgb, var(--emw--color-secondary, #E1A749) 80%, black 10%)}.HistoryWrapper.svelte-16zv8bz .HistoryDisplayArea.Mobile.svelte-16zv8bz{width:auto;font-size:var(--emw--font-size-x-small, 12px);padding:15px}.hidden.svelte-16zv8bz.svelte-16zv8bz{display:none}.HistoryRow.svelte-16zv8bz.svelte-16zv8bz{padding:12px 0;display:flex;justify-content:space-between;align-items:center;border-bottom:1px solid var(--emw--color-gray-100, #E6E6E6)}.GeneralLimitInformation.svelte-16zv8bz.svelte-16zv8bz{display:flex;flex-direction:column;gap:4px;color:var(--emw--color-grey-150, #C0CBC3)}.LimitAmountPeriod.svelte-16zv8bz.svelte-16zv8bz{color:var(--emw--color-grey-150, #C0CBC3)}.LimitContainer.svelte-16zv8bz.svelte-16zv8bz{animation:svelte-16zv8bz-animateEntry 0.7s ease-in}@keyframes svelte-16zv8bz-animateEntry{0%{opacity:0;transform:translateX(500px)}100%{opacity:1;transform:translateX(0)}}');
4440
4477
  }
4441
- function Nt(e, t, r) {
4478
+ function Ut(e, t, r) {
4442
4479
  const i = e.slice();
4443
4480
  return i[38] = t[r], i[39] = t, i[40] = r, i;
4444
4481
  }
4445
- function lo(e) {
4482
+ function xo(e) {
4446
4483
  let t, r, i, n = (
4447
4484
  /*$_*/
4448
4485
  e[9]("expandLimits") + ""
4449
- ), o, a, s, h, u, l, c, f, p, y = ft(
4486
+ ), o, s, a, l, u, h, c, f, p, y = gt(
4450
4487
  /*lazyShowedHistoryArray*/
4451
4488
  e[7]
4452
4489
  ), d = [];
4453
4490
  for (let g = 0; g < y.length; g += 1)
4454
- d[g] = Mt(Nt(e, y, g));
4491
+ d[g] = Gt(Ut(e, y, g));
4455
4492
  return {
4456
4493
  c() {
4457
- t = H("div"), r = H("div"), i = H("button"), o = M(n), a = Fe(), s = Ie("svg"), h = Ie("path"), u = Ie("path"), l = Fe(), c = H("div");
4494
+ t = H("div"), r = H("div"), i = H("button"), o = R(n), s = Ve(), a = Re("svg"), l = Re("path"), u = Re("path"), h = Ve(), c = H("div");
4458
4495
  for (let g = 0; g < d.length; g += 1)
4459
4496
  d[g].c();
4460
- E(h, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), E(h, "class", "svelte-16zv8bz"), E(u, "d", "M0 0h36v36h-36z"), E(u, "fill", "none"), E(u, "class", "svelte-16zv8bz"), E(s, "class", "ExpandArrow " + (/*isDesktop*/
4461
- e[10] ? "" : "Mobile") + " svelte-16zv8bz"), E(s, "xmlns", "http://www.w3.org/2000/svg"), E(s, "width", "36"), E(s, "height", "36"), E(s, "viewBox", "0 0 36 36"), Ur(s, "fill", "var(--emw--color-primary, #22B04E)"), de(
4462
- s,
4497
+ E(l, "d", "M10.5 15l7.5 7.5 7.5-7.5z"), E(l, "class", "svelte-16zv8bz"), E(u, "d", "M0 0h36v36h-36z"), E(u, "fill", "none"), E(u, "class", "svelte-16zv8bz"), E(a, "class", "ExpandArrow " + (/*isDesktop*/
4498
+ e[10] ? "" : "Mobile") + " svelte-16zv8bz"), E(a, "xmlns", "http://www.w3.org/2000/svg"), E(a, "width", "36"), E(a, "height", "36"), E(a, "viewBox", "0 0 36 36"), Jr(a, "fill", "var(--emw--color-primary, #22B04E)"), be(
4499
+ a,
4463
4500
  "extended",
4464
4501
  /*extended*/
4465
4502
  e[8]
4466
4503
  ), E(i, "class", "ExpandButton " + (/*isDesktop*/
4467
4504
  e[10] ? "" : "Mobile") + " svelte-16zv8bz"), E(c, "class", "HistoryDisplayArea " + (/*isDesktop*/
4468
- e[10] ? "" : "Mobile") + " svelte-16zv8bz"), de(
4505
+ e[10] ? "" : "Mobile") + " svelte-16zv8bz"), be(
4469
4506
  c,
4470
4507
  "hidden",
4471
4508
  /*hidden*/
@@ -4473,10 +4510,10 @@ function lo(e) {
4473
4510
  ), E(r, "class", "HistoryWrapper svelte-16zv8bz"), E(t, "class", "player-account-gaming-limits-history-2 svelte-16zv8bz");
4474
4511
  },
4475
4512
  m(g, w) {
4476
- V(g, t, w), L(t, r), L(r, i), L(i, o), L(i, a), L(i, s), L(s, h), L(s, u), L(r, l), L(r, c);
4513
+ W(g, t, w), L(t, r), L(r, i), L(i, o), L(i, s), L(i, a), L(a, l), L(a, u), L(r, h), L(r, c);
4477
4514
  for (let _ = 0; _ < d.length; _ += 1)
4478
4515
  d[_] && d[_].m(c, null);
4479
- f || (p = zr(
4516
+ f || (p = Qr(
4480
4517
  i,
4481
4518
  "click",
4482
4519
  /*toggleHistoryDisplayArea*/
@@ -4486,29 +4523,29 @@ function lo(e) {
4486
4523
  p(g, w) {
4487
4524
  if (w[0] & /*$_*/
4488
4525
  512 && n !== (n = /*$_*/
4489
- g[9]("expandLimits") + "") && F(o, n), w[0] & /*extended*/
4490
- 256 && de(
4491
- s,
4526
+ g[9]("expandLimits") + "") && j(o, n), w[0] & /*extended*/
4527
+ 256 && be(
4528
+ a,
4492
4529
  "extended",
4493
4530
  /*extended*/
4494
4531
  g[8]
4495
4532
  ), w[0] & /*numberofentries, limitContainer, lazyShowedHistoryArray, $_*/
4496
4533
  650) {
4497
- y = ft(
4534
+ y = gt(
4498
4535
  /*lazyShowedHistoryArray*/
4499
4536
  g[7]
4500
4537
  );
4501
4538
  let _;
4502
4539
  for (_ = 0; _ < y.length; _ += 1) {
4503
- const P = Nt(g, y, _);
4504
- d[_] ? d[_].p(P, w) : (d[_] = Mt(P), d[_].c(), d[_].m(c, null));
4540
+ const P = Ut(g, y, _);
4541
+ d[_] ? d[_].p(P, w) : (d[_] = Gt(P), d[_].c(), d[_].m(c, null));
4505
4542
  }
4506
4543
  for (; _ < d.length; _ += 1)
4507
4544
  d[_].d(1);
4508
4545
  d.length = y.length;
4509
4546
  }
4510
4547
  w[0] & /*hidden*/
4511
- 32 && de(
4548
+ 32 && be(
4512
4549
  c,
4513
4550
  "hidden",
4514
4551
  /*hidden*/
@@ -4516,14 +4553,14 @@ function lo(e) {
4516
4553
  );
4517
4554
  },
4518
4555
  d(g) {
4519
- g && j(t), Dr(d, g), f = !1, p();
4556
+ g && k(t), Zr(d, g), f = !1, p();
4520
4557
  }
4521
4558
  };
4522
4559
  }
4523
- function ho(e) {
4560
+ function Eo(e) {
4524
4561
  return { c: C, m: C, p: C, d: C };
4525
4562
  }
4526
- function co(e) {
4563
+ function To(e) {
4527
4564
  let t, r = (
4528
4565
  /*lang*/
4529
4566
  (e[0] ? (
@@ -4533,10 +4570,10 @@ function co(e) {
4533
4570
  ), i;
4534
4571
  return {
4535
4572
  c() {
4536
- t = H("p"), i = M(r), E(t, "class", "svelte-16zv8bz");
4573
+ t = H("p"), i = R(r), E(t, "class", "svelte-16zv8bz");
4537
4574
  },
4538
4575
  m(n, o) {
4539
- V(n, t, o), L(t, i);
4576
+ W(n, t, o), L(t, i);
4540
4577
  },
4541
4578
  p(n, o) {
4542
4579
  o[0] & /*lang, $_*/
@@ -4544,90 +4581,90 @@ function co(e) {
4544
4581
  (n[0] ? (
4545
4582
  /*$_*/
4546
4583
  n[9]("error")
4547
- ) : "500 Server Error") + "") && F(i, r);
4584
+ ) : "500 Server Error") + "") && j(i, r);
4548
4585
  },
4549
4586
  d(n) {
4550
- n && j(t);
4587
+ n && k(t);
4551
4588
  }
4552
4589
  };
4553
4590
  }
4554
- function fo(e) {
4591
+ function Lo(e) {
4555
4592
  let t, r, i, n = (
4556
4593
  /*history*/
4557
4594
  e[38].type + ""
4558
- ), o, a, s = (
4595
+ ), o, s, a = (
4559
4596
  /*history*/
4560
4597
  e[38].amount + ""
4561
- ), h, u, l = (
4598
+ ), l, u, h = (
4562
4599
  /*history*/
4563
4600
  e[38].date + ""
4564
4601
  ), c;
4565
4602
  return {
4566
4603
  c() {
4567
- t = H("div"), r = H("span"), i = H("span"), o = M(n), a = H("span"), h = M(s), u = H("span"), c = M(l), E(i, "class", "LimitType svelte-16zv8bz"), E(a, "class", "LimitAmountPeriod svelte-16zv8bz"), E(r, "class", "GeneralLimitInformation svelte-16zv8bz"), E(u, "class", "DateLimitInformation svelte-16zv8bz"), E(t, "class", "HistoryRow svelte-16zv8bz");
4604
+ t = H("div"), r = H("span"), i = H("span"), o = R(n), s = H("span"), l = R(a), u = H("span"), c = R(h), E(i, "class", "LimitType svelte-16zv8bz"), E(s, "class", "LimitAmountPeriod svelte-16zv8bz"), E(r, "class", "GeneralLimitInformation svelte-16zv8bz"), E(u, "class", "DateLimitInformation svelte-16zv8bz"), E(t, "class", "HistoryRow svelte-16zv8bz");
4568
4605
  },
4569
4606
  m(f, p) {
4570
- V(f, t, p), L(t, r), L(r, i), L(i, o), L(r, a), L(a, h), L(t, u), L(u, c);
4607
+ W(f, t, p), L(t, r), L(r, i), L(i, o), L(r, s), L(s, l), L(t, u), L(u, c);
4571
4608
  },
4572
4609
  p(f, p) {
4573
4610
  p[0] & /*lazyShowedHistoryArray*/
4574
4611
  128 && n !== (n = /*history*/
4575
- f[38].type + "") && F(o, n), p[0] & /*lazyShowedHistoryArray*/
4576
- 128 && s !== (s = /*history*/
4577
- f[38].amount + "") && F(h, s), p[0] & /*lazyShowedHistoryArray*/
4578
- 128 && l !== (l = /*history*/
4579
- f[38].date + "") && F(c, l);
4612
+ f[38].type + "") && j(o, n), p[0] & /*lazyShowedHistoryArray*/
4613
+ 128 && a !== (a = /*history*/
4614
+ f[38].amount + "") && j(l, a), p[0] & /*lazyShowedHistoryArray*/
4615
+ 128 && h !== (h = /*history*/
4616
+ f[38].date + "") && j(c, h);
4580
4617
  },
4581
4618
  d(f) {
4582
- f && j(t);
4619
+ f && k(t);
4583
4620
  }
4584
4621
  };
4585
4622
  }
4586
- function mo(e) {
4623
+ function So(e) {
4587
4624
  let t, r, i, n = (
4588
4625
  /*history*/
4589
4626
  e[38].type + ""
4590
- ), o, a, s = (
4627
+ ), o, s, a = (
4591
4628
  /*$_*/
4592
4629
  e[9]("limitRemoved") + ""
4593
- ), h, u, l = (
4630
+ ), l, u, h = (
4594
4631
  /*history*/
4595
4632
  e[38].date + ""
4596
4633
  ), c;
4597
4634
  return {
4598
4635
  c() {
4599
- t = H("div"), r = H("span"), i = H("span"), o = M(n), a = H("span"), h = M(s), u = H("span"), c = M(l), E(i, "class", "LimitType svelte-16zv8bz"), E(a, "class", "LimitAmountPeriod svelte-16zv8bz"), E(r, "class", "GeneralLimitInformation svelte-16zv8bz"), E(u, "class", "DateLimitInformation svelte-16zv8bz"), E(t, "class", "HistoryRow svelte-16zv8bz");
4636
+ t = H("div"), r = H("span"), i = H("span"), o = R(n), s = H("span"), l = R(a), u = H("span"), c = R(h), E(i, "class", "LimitType svelte-16zv8bz"), E(s, "class", "LimitAmountPeriod svelte-16zv8bz"), E(r, "class", "GeneralLimitInformation svelte-16zv8bz"), E(u, "class", "DateLimitInformation svelte-16zv8bz"), E(t, "class", "HistoryRow svelte-16zv8bz");
4600
4637
  },
4601
4638
  m(f, p) {
4602
- V(f, t, p), L(t, r), L(r, i), L(i, o), L(r, a), L(a, h), L(t, u), L(u, c);
4639
+ W(f, t, p), L(t, r), L(r, i), L(i, o), L(r, s), L(s, l), L(t, u), L(u, c);
4603
4640
  },
4604
4641
  p(f, p) {
4605
4642
  p[0] & /*lazyShowedHistoryArray*/
4606
4643
  128 && n !== (n = /*history*/
4607
- f[38].type + "") && F(o, n), p[0] & /*$_*/
4608
- 512 && s !== (s = /*$_*/
4609
- f[9]("limitRemoved") + "") && F(h, s), p[0] & /*lazyShowedHistoryArray*/
4610
- 128 && l !== (l = /*history*/
4611
- f[38].date + "") && F(c, l);
4644
+ f[38].type + "") && j(o, n), p[0] & /*$_*/
4645
+ 512 && a !== (a = /*$_*/
4646
+ f[9]("limitRemoved") + "") && j(l, a), p[0] & /*lazyShowedHistoryArray*/
4647
+ 128 && h !== (h = /*history*/
4648
+ f[38].date + "") && j(c, h);
4612
4649
  },
4613
4650
  d(f) {
4614
- f && j(t);
4651
+ f && k(t);
4615
4652
  }
4616
4653
  };
4617
4654
  }
4618
- function Mt(e) {
4655
+ function Gt(e) {
4619
4656
  let t, r, i, n = (
4620
4657
  /*index*/
4621
4658
  e[40]
4622
4659
  );
4623
- function o(l, c) {
4660
+ function o(h, c) {
4624
4661
  return (
4625
4662
  /*history*/
4626
- l[38].removed ? mo : fo
4663
+ h[38].removed ? So : Lo
4627
4664
  );
4628
4665
  }
4629
- let a = o(e), s = a(e);
4630
- const h = () => (
4666
+ let s = o(e), a = s(e);
4667
+ const l = () => (
4631
4668
  /*div_binding*/
4632
4669
  e[21](t, n)
4633
4670
  ), u = () => (
@@ -4636,38 +4673,38 @@ function Mt(e) {
4636
4673
  );
4637
4674
  return {
4638
4675
  c() {
4639
- t = H("div"), s.c(), r = Fe(), E(t, "class", i = ht(
4676
+ t = H("div"), a.c(), r = Ve(), E(t, "class", i = yt(
4640
4677
  /*index*/
4641
4678
  e[40] > +/*numberofentries*/
4642
4679
  e[1] ? "LimitContainer" : ""
4643
4680
  ) + " svelte-16zv8bz");
4644
4681
  },
4645
- m(l, c) {
4646
- V(l, t, c), s.m(t, null), L(t, r), h();
4682
+ m(h, c) {
4683
+ W(h, t, c), a.m(t, null), L(t, r), l();
4647
4684
  },
4648
- p(l, c) {
4649
- e = l, a === (a = o(e)) && s ? s.p(e, c) : (s.d(1), s = a(e), s && (s.c(), s.m(t, r))), c[0] & /*numberofentries*/
4650
- 2 && i !== (i = ht(
4685
+ p(h, c) {
4686
+ e = h, s === (s = o(e)) && a ? a.p(e, c) : (a.d(1), a = s(e), a && (a.c(), a.m(t, r))), c[0] & /*numberofentries*/
4687
+ 2 && i !== (i = yt(
4651
4688
  /*index*/
4652
4689
  e[40] > +/*numberofentries*/
4653
4690
  e[1] ? "LimitContainer" : ""
4654
4691
  ) + " svelte-16zv8bz") && E(t, "class", i), n !== /*index*/
4655
4692
  e[40] && (u(), n = /*index*/
4656
- e[40], h());
4693
+ e[40], l());
4657
4694
  },
4658
- d(l) {
4659
- l && j(t), s.d(), u();
4695
+ d(h) {
4696
+ h && k(t), a.d(), u();
4660
4697
  }
4661
4698
  };
4662
4699
  }
4663
- function po(e) {
4700
+ function wo(e) {
4664
4701
  let t;
4665
- function r(o, a) {
4702
+ function r(o, s) {
4666
4703
  return (
4667
4704
  /*hasErrors*/
4668
- o[6] ? co : (
4705
+ o[6] ? To : (
4669
4706
  /*isLoading*/
4670
- o[4] ? ho : lo
4707
+ o[4] ? Eo : xo
4671
4708
  )
4672
4709
  );
4673
4710
  }
@@ -4676,58 +4713,58 @@ function po(e) {
4676
4713
  c() {
4677
4714
  t = H("div"), n.c(), E(t, "class", "svelte-16zv8bz");
4678
4715
  },
4679
- m(o, a) {
4680
- V(o, t, a), n.m(t, null), e[22](t);
4716
+ m(o, s) {
4717
+ W(o, t, s), n.m(t, null), e[22](t);
4681
4718
  },
4682
- p(o, a) {
4683
- i === (i = r(o)) && n ? n.p(o, a) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
4719
+ p(o, s) {
4720
+ i === (i = r(o)) && n ? n.p(o, s) : (n.d(1), n = i(o), n && (n.c(), n.m(t, null)));
4684
4721
  },
4685
4722
  i: C,
4686
4723
  o: C,
4687
4724
  d(o) {
4688
- o && j(t), n.d(), e[22](null);
4725
+ o && k(t), n.d(), e[22](null);
4689
4726
  }
4690
4727
  };
4691
4728
  }
4692
- function yo(e, t, r) {
4729
+ function Ao(e, t, r) {
4693
4730
  let i;
4694
- Ir(e, oo, (m) => r(9, i = m));
4695
- let n = window.navigator.userAgent, o = !so(n), { lang: a = "" } = t, { userid: s = "" } = t, { session: h = "" } = t, { endpoint: u = "" } = t, { apiversion: l = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: g = "" } = t, w, _ = new Array(), P = parseInt(c, 10), R = !1, N = !0, D = [], k = [], me = !0, Be = !1, oe = { EUR: "€", RON: "lei", TRY: "₺" };
4696
- const br = () => {
4731
+ kr(e, bo, (m) => r(9, i = m));
4732
+ let n = window.navigator.userAgent, o = !go(n), { lang: s = "" } = t, { userid: a = "" } = t, { session: l = "" } = t, { endpoint: u = "" } = t, { apiversion: h = "" } = t, { numberofentries: c = "10" } = t, { customcurrencysymbols: f = "" } = t, { limitformat: p = "" } = t, { clientstyling: y = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: g = "" } = t, w, _ = new Array(), P = parseInt(c, 10), D = !1, N = !0, z = [], V = [], pe = !0, Ce = !1, se = { EUR: "€", RON: "lei", TRY: "₺" };
4733
+ const Tr = () => {
4697
4734
  fetch(g).then((T) => T.json()).then((T) => {
4698
4735
  Object.keys(T).forEach((B) => {
4699
- It(B, T[B]);
4736
+ $t(B, T[B]);
4700
4737
  });
4701
4738
  }).catch((T) => {
4702
4739
  console.log(T);
4703
4740
  });
4704
4741
  };
4705
- Object.keys(Ge).forEach((m) => {
4706
- It(m, Ge[m]);
4742
+ Object.keys(ke).forEach((m) => {
4743
+ $t(m, ke[m]);
4707
4744
  });
4708
- const gr = () => {
4709
- let m = l === "gmcore" ? `/v2/player/${s}/transactions/limit` : `/v1/player/${s}/limits/monetary/history`, T = new URL(m, u);
4745
+ const Lr = () => {
4746
+ let m = h === "gmcore" ? `/v2/player/${a}/transactions/limit` : `/v1/player/${a}/limits/monetary/history`, T = new URL(m, u);
4710
4747
  T.searchParams.append("startDate", `${(/* @__PURE__ */ new Date("2022")).toISOString()}`), T.searchParams.append("endDate", `${(/* @__PURE__ */ new Date("2099")).toISOString()}`), T.searchParams.append("limit", "10000");
4711
4748
  let B = {
4712
4749
  method: "GET",
4713
- headers: { "X-SessionID": h }
4750
+ headers: { "X-SessionID": l }
4714
4751
  };
4715
4752
  fetch(T.href, B).then((A) => {
4716
4753
  if (A.status >= 300)
4717
- throw r(4, N = !1), r(6, R = !0), new Error("There was an error fetching the limits");
4754
+ throw r(4, N = !1), r(6, D = !0), new Error("There was an error fetching the limits");
4718
4755
  return A.json();
4719
4756
  }).then(
4720
4757
  (A) => {
4721
- A.length && (D = vr(A), r(7, k = D.slice(0, P))), r(4, N = !1);
4758
+ A.length && (z = Sr(A), r(7, V = z.slice(0, P))), r(4, N = !1);
4722
4759
  },
4723
4760
  (A) => {
4724
- console.error("There was an error", A), r(6, R = !0);
4761
+ console.error("There was an error", A), r(6, D = !0);
4725
4762
  }
4726
4763
  );
4727
- }, vr = (m) => {
4728
- const T = !!Ge[a];
4764
+ }, Sr = (m) => {
4765
+ const T = !!ke[s];
4729
4766
  return m.map((A) => {
4730
- let z = {
4767
+ let $ = {
4731
4768
  amount: "",
4732
4769
  currency: "",
4733
4770
  date: "",
@@ -4735,44 +4772,44 @@ function yo(e, t, r) {
4735
4772
  type: "",
4736
4773
  removed: !1
4737
4774
  };
4738
- return z.amount = _r(A), z.currency = T ? oe[A.limitCurrencyCode] : A.limitCurrencyCode, z.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), z.period = i(`${A.limitPeriod.toLowerCase()}`), z.type = l === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), z.removed = A.limitAmount === -1, z;
4775
+ return $.amount = wr(A), $.currency = T ? se[A.limitCurrencyCode] : A.limitCurrencyCode, $.date = new Intl.DateTimeFormat("de", { dateStyle: "medium" }).format(new Date(A.limitDate)), $.period = i(`${A.limitPeriod.toLowerCase()}`), $.type = h === "gmcore" ? i(`historyLimitType${A.limitType.split(" ")[0]}`) : i(`historyLimitType${A.limitType.split(" ")[0]}`) + " " + i(`historyProductType${A.limitProductType}`), $.removed = A.limitAmount === -1, $;
4739
4776
  });
4740
- }, _r = (m) => {
4777
+ }, wr = (m) => {
4741
4778
  let T = p || Intl.NumberFormat("en-US", { maximumFractionDigits: 0 }).format(m.limitAmount);
4742
4779
  if (!p) {
4743
- let Or = oe[m.limitCurrencyCode] || m.limitCurrencyCode;
4744
- return `${T}${Or}`;
4780
+ let Dr = se[m.limitCurrencyCode] || m.limitCurrencyCode;
4781
+ return `${T}${Dr}`;
4745
4782
  }
4746
4783
  typeof m.limitAmount == "string" && m.limitAmount.includes(",") && (m.limitAmount = m.limitAmount.replaceAll(",", ""));
4747
- const B = T.match(/\{(\d+)decimals\}/), A = B ? parseInt(B[1], 10) : 2, z = B ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4748
- let pe = parseFloat(m.limitAmount).toFixed(A);
4749
- const [Pr, Oe] = p.includes(".") ? [",", "."] : [".", ","];
4750
- let [Ce, Br] = pe.split(".");
4751
- return Ce = Ce.replace(/\B(?=(\d{3})+(?!\d))/g, Pr), pe = `${Ce}${Oe}${Br}`, T = T.replace("{currency}", oe[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", pe.split(Oe)[0]).replace(
4752
- z,
4753
- pe.split(Oe)[1]
4784
+ const B = T.match(/\{(\d+)decimals\}/), A = B ? parseInt(B[1], 10) : 2, $ = B ? new RegExp("\\{\\d+decimals\\}", "g") : "{decimals}";
4785
+ let de = parseFloat(m.limitAmount).toFixed(A);
4786
+ const [Mr, Ie] = p.includes(".") ? [",", "."] : [".", ","];
4787
+ let [Ne, Rr] = de.split(".");
4788
+ return Ne = Ne.replace(/\B(?=(\d{3})+(?!\d))/g, Mr), de = `${Ne}${Ie}${Rr}`, T = T.replace("{currency}", se[m.limitCurrencyCode] || m.limitCurrencyCode).replace("{amount}", de.split(Ie)[0]).replace(
4789
+ $,
4790
+ de.split(Ie)[1]
4754
4791
  ), T;
4755
- }, xr = () => {
4756
- r(5, me = !me), r(8, Be = !Be);
4792
+ }, Ar = () => {
4793
+ r(5, pe = !pe), r(8, Ce = !Ce);
4757
4794
  };
4758
- let ut = new IntersectionObserver((m) => {
4795
+ let ct = new IntersectionObserver((m) => {
4759
4796
  m.forEach((T) => {
4760
- T.isIntersecting && (P += parseInt(c, 10) || 10, k.length < D.length && r(7, k = D.slice(0, P)));
4797
+ T.isIntersecting && (P += parseInt(c, 10) || 10, V.length < z.length && r(7, V = z.slice(0, P)));
4761
4798
  });
4762
4799
  });
4763
- const Er = () => {
4764
- ut.observe(_[_.length - 1]);
4765
- }, Tr = () => {
4800
+ const Hr = () => {
4801
+ ct.observe(_[_.length - 1]);
4802
+ }, Pr = () => {
4766
4803
  if (!f) return;
4767
4804
  let m = {};
4768
4805
  f.split(",").forEach((T) => {
4769
4806
  let B = T.split(":");
4770
4807
  m[B[0].trim()] = B[1].trim();
4771
- }), oe = { ...oe, ...m };
4772
- }, Lr = () => {
4808
+ }), se = ye(ye({}, se), m);
4809
+ }, Br = () => {
4773
4810
  let m = document.createElement("style");
4774
4811
  m.innerHTML = y, w.appendChild(m);
4775
- }, Sr = () => {
4812
+ }, Or = () => {
4776
4813
  let m = new URL(d), T = document.createElement("style");
4777
4814
  fetch(m.href).then((B) => B.text()).then((B) => {
4778
4815
  T.innerHTML = B, w && (setTimeout(
@@ -4786,67 +4823,67 @@ function yo(e, t, r) {
4786
4823
  500
4787
4824
  ));
4788
4825
  });
4789
- }, wr = () => {
4790
- ao(a);
4826
+ }, Cr = () => {
4827
+ vo(s);
4791
4828
  };
4792
- jr(() => () => {
4793
- ut.unobserve(_[_.length - 1]);
4829
+ ei(() => () => {
4830
+ ct.unobserve(_[_.length - 1]);
4794
4831
  });
4795
- function Ar(m, T) {
4796
- Ee[m ? "unshift" : "push"](() => {
4832
+ function Ir(m, T) {
4833
+ Le[m ? "unshift" : "push"](() => {
4797
4834
  _[T] = m, r(3, _);
4798
4835
  });
4799
4836
  }
4800
- function Hr(m) {
4801
- Ee[m ? "unshift" : "push"](() => {
4837
+ function Nr(m) {
4838
+ Le[m ? "unshift" : "push"](() => {
4802
4839
  w = m, r(2, w);
4803
4840
  });
4804
4841
  }
4805
4842
  return e.$$set = (m) => {
4806
- "lang" in m && r(0, a = m.lang), "userid" in m && r(12, s = m.userid), "session" in m && r(13, h = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, l = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "translationurl" in m && r(20, g = m.translationurl);
4843
+ "lang" in m && r(0, s = m.lang), "userid" in m && r(12, a = m.userid), "session" in m && r(13, l = m.session), "endpoint" in m && r(14, u = m.endpoint), "apiversion" in m && r(15, h = m.apiversion), "numberofentries" in m && r(1, c = m.numberofentries), "customcurrencysymbols" in m && r(16, f = m.customcurrencysymbols), "limitformat" in m && r(17, p = m.limitformat), "clientstyling" in m && r(18, y = m.clientstyling), "clientstylingurl" in m && r(19, d = m.clientstylingurl), "translationurl" in m && r(20, g = m.translationurl);
4807
4844
  }, e.$$.update = () => {
4808
4845
  e.$$.dirty[0] & /*customcurrencysymbols*/
4809
- 65536 && f && Tr(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4810
- 61440 && u && s && h && l && gr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4811
- 56 && _[0] && !N && !me && Er(), e.$$.dirty[0] & /*lang*/
4812
- 1 && a && wr(), e.$$.dirty[0] & /*clientstylingurl*/
4813
- 524288 && d && Sr(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4814
- 262148 && y && w && Lr(), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4815
- 1048580 && g && w && br();
4846
+ 65536 && f && Pr(), e.$$.dirty[0] & /*endpoint, userid, session, apiversion*/
4847
+ 61440 && u && a && l && h && Lr(), e.$$.dirty[0] & /*limitContainer, isLoading, hidden*/
4848
+ 56 && _[0] && !N && !pe && Hr(), e.$$.dirty[0] & /*lang*/
4849
+ 1 && s && Cr(), e.$$.dirty[0] & /*clientstylingurl*/
4850
+ 524288 && d && Or(), e.$$.dirty[0] & /*clientstyling, customStylingContainer*/
4851
+ 262148 && y && w && Br(), e.$$.dirty[0] & /*translationurl, customStylingContainer*/
4852
+ 1048580 && g && w && Tr();
4816
4853
  }, [
4817
- a,
4854
+ s,
4818
4855
  c,
4819
4856
  w,
4820
4857
  _,
4821
4858
  N,
4822
- me,
4823
- R,
4824
- k,
4825
- Be,
4859
+ pe,
4860
+ D,
4861
+ V,
4862
+ Ce,
4826
4863
  i,
4827
4864
  o,
4828
- xr,
4829
- s,
4830
- h,
4831
- u,
4865
+ Ar,
4866
+ a,
4832
4867
  l,
4868
+ u,
4869
+ h,
4833
4870
  f,
4834
4871
  p,
4835
4872
  y,
4836
4873
  d,
4837
4874
  g,
4838
- Ar,
4839
- Hr
4875
+ Ir,
4876
+ Nr
4840
4877
  ];
4841
4878
  }
4842
- class yr extends ti {
4879
+ class Er extends fi {
4843
4880
  constructor(t) {
4844
- super(), Kr(
4881
+ super(), hi(
4845
4882
  this,
4846
4883
  t,
4847
- yo,
4848
- po,
4849
- Dt,
4884
+ Ao,
4885
+ wo,
4886
+ jt,
4850
4887
  {
4851
4888
  lang: 0,
4852
4889
  userid: 12,
@@ -4860,7 +4897,7 @@ class yr extends ti {
4860
4897
  clientstylingurl: 19,
4861
4898
  translationurl: 20
4862
4899
  },
4863
- uo,
4900
+ _o,
4864
4901
  [-1, -1]
4865
4902
  );
4866
4903
  }
@@ -4931,49 +4968,49 @@ class yr extends ti {
4931
4968
  this.$$set({ translationurl: t }), I();
4932
4969
  }
4933
4970
  }
4934
- ei(yr, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4935
- const So = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4971
+ ci(Er, { lang: {}, userid: {}, session: {}, endpoint: {}, apiversion: {}, numberofentries: {}, customcurrencysymbols: {}, limitformat: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, [], [], !0);
4972
+ const Do = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4936
4973
  __proto__: null,
4937
- default: yr
4974
+ default: Er
4938
4975
  }, Symbol.toStringTag, { value: "Module" }));
4939
4976
  export {
4940
- ie as $,
4941
- ce as A,
4942
- ke as B,
4943
- Eo as C,
4944
- oo as D,
4945
- Ie as E,
4946
- Ur as F,
4947
- fe as G,
4948
- Lo as H,
4949
- jr as I,
4950
- vo as J,
4951
- So as P,
4952
- ti as S,
4953
- cr as a,
4954
- Nr as b,
4955
- ei as c,
4956
- Fe as d,
4977
+ ne as $,
4978
+ fe as A,
4979
+ Xe as B,
4980
+ No as C,
4981
+ bo as D,
4982
+ Re as E,
4983
+ Jr as F,
4984
+ me as G,
4985
+ Ro as H,
4986
+ ei as I,
4987
+ Oo as J,
4988
+ Do as P,
4989
+ fi as S,
4990
+ br as a,
4991
+ Vr as b,
4992
+ ci as c,
4993
+ Ve as d,
4957
4994
  H as e,
4958
4995
  I as f,
4959
4996
  E as g,
4960
4997
  L as h,
4961
- Kr as i,
4962
- V as j,
4963
- j as k,
4964
- Ir as l,
4965
- so as m,
4998
+ hi as i,
4999
+ W as j,
5000
+ k,
5001
+ kr as l,
5002
+ go as m,
4966
5003
  C as n,
4967
- bo as o,
4968
- To as p,
4969
- Ee as q,
4970
- M as r,
4971
- Dt as s,
4972
- _o as t,
4973
- go as u,
4974
- zr as v,
4975
- F as w,
4976
- ft as x,
4977
- xo as y,
4978
- Dr as z
5004
+ Po as o,
5005
+ Mo as p,
5006
+ Le as q,
5007
+ R as r,
5008
+ jt as s,
5009
+ Co as t,
5010
+ Bo as u,
5011
+ Qr as v,
5012
+ j as w,
5013
+ gt as x,
5014
+ Io as y,
5015
+ Zr as z
4979
5016
  };