@everymatrix/player-account-gaming-limits-group-edit 1.49.2 → 1.50.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Ir = Object.defineProperty, Mr = Object.defineProperties;
2
- var Nr = Object.getOwnPropertyDescriptors;
3
- var ct = Object.getOwnPropertySymbols;
4
- var $r = Object.prototype.hasOwnProperty, Rr = Object.prototype.propertyIsEnumerable;
5
- var Pe = (e, t, r) => t in e ? Ir(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ft = (e, t) => {
6
- for (var r in t || (t = {}))
7
- $r.call(t, r) && Pe(e, r, t[r]);
8
- if (ct)
9
- for (var r of ct(t))
10
- Rr.call(t, r) && Pe(e, r, t[r]);
11
- return e;
12
- }, mt = (e, t) => Mr(e, Nr(t));
13
- var O = (e, t, r) => Pe(e, typeof t != "symbol" ? t + "" : t, r);
14
- var pt = (e, t, r) => new Promise((n, i) => {
1
+ var Or = Object.defineProperty, Ir = Object.defineProperties;
2
+ var Mr = Object.getOwnPropertyDescriptors;
3
+ var ce = Object.getOwnPropertySymbols;
4
+ var Nr = Object.prototype.hasOwnProperty, $r = Object.prototype.propertyIsEnumerable;
5
+ var Pt = (t, e, r) => e in t ? Or(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, fe = (t, e) => {
6
+ for (var r in e || (e = {}))
7
+ Nr.call(e, r) && Pt(t, r, e[r]);
8
+ if (ce)
9
+ for (var r of ce(e))
10
+ $r.call(e, r) && Pt(t, r, e[r]);
11
+ return t;
12
+ }, me = (t, e) => Ir(t, Mr(e));
13
+ var O = (t, e, r) => Pt(t, typeof e != "symbol" ? e + "" : e, r);
14
+ var pe = (t, e, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  s(r.next(l));
@@ -25,324 +25,324 @@ var pt = (e, t, r) => new Promise((n, i) => {
25
25
  i(u);
26
26
  }
27
27
  }, s = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, a);
28
- s((r = r.apply(e, t)).next());
28
+ s((r = r.apply(t, e)).next());
29
29
  });
30
30
  function I() {
31
31
  }
32
- const Gr = (e) => e;
33
- function Ur(e, t) {
34
- for (const r in t) e[r] = t[r];
32
+ const Rr = (t) => t;
33
+ function Gr(t, e) {
34
+ for (const r in e) t[r] = e[r];
35
35
  return (
36
36
  /** @type {T & S} */
37
- e
37
+ t
38
38
  );
39
39
  }
40
- function jt(e) {
41
- return e();
40
+ function je(t) {
41
+ return t();
42
42
  }
43
- function dt() {
43
+ function de() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
- function F(e) {
47
- e.forEach(jt);
46
+ function F(t) {
47
+ t.forEach(je);
48
48
  }
49
- function Se(e) {
50
- return typeof e == "function";
49
+ function St(t) {
50
+ return typeof t == "function";
51
51
  }
52
- function kt(e, t) {
53
- return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
52
+ function ke(t, e) {
53
+ return t != t ? e == e : t !== e || t && typeof t == "object" || typeof t == "function";
54
54
  }
55
- function Dr(e) {
56
- return Object.keys(e).length === 0;
55
+ function Ur(t) {
56
+ return Object.keys(t).length === 0;
57
57
  }
58
- function Vt(e, ...t) {
59
- if (e == null) {
60
- for (const n of t)
58
+ function Ve(t, ...e) {
59
+ if (t == null) {
60
+ for (const n of e)
61
61
  n(void 0);
62
62
  return I;
63
63
  }
64
- const r = e.subscribe(...t);
64
+ const r = t.subscribe(...e);
65
65
  return r.unsubscribe ? () => r.unsubscribe() : r;
66
66
  }
67
- function Fr(e, t, r) {
68
- e.$$.on_destroy.push(Vt(t, r));
67
+ function Dr(t, e, r) {
68
+ t.$$.on_destroy.push(Ve(e, r));
69
69
  }
70
- function jr(e, t, r, n) {
71
- if (e) {
72
- const i = Xt(e, t, r, n);
73
- return e[0](i);
70
+ function Fr(t, e, r, n) {
71
+ if (t) {
72
+ const i = Xe(t, e, r, n);
73
+ return t[0](i);
74
74
  }
75
75
  }
76
- function Xt(e, t, r, n) {
77
- return e[1] && n ? Ur(r.ctx.slice(), e[1](n(t))) : r.ctx;
76
+ function Xe(t, e, r, n) {
77
+ return t[1] && n ? Gr(r.ctx.slice(), t[1](n(e))) : r.ctx;
78
78
  }
79
- function kr(e, t, r, n) {
80
- if (e[2] && n) {
81
- const i = e[2](n(r));
82
- if (t.dirty === void 0)
79
+ function jr(t, e, r, n) {
80
+ if (t[2] && n) {
81
+ const i = t[2](n(r));
82
+ if (e.dirty === void 0)
83
83
  return i;
84
84
  if (typeof i == "object") {
85
- const o = [], a = Math.max(t.dirty.length, i.length);
85
+ const o = [], a = Math.max(e.dirty.length, i.length);
86
86
  for (let s = 0; s < a; s += 1)
87
- o[s] = t.dirty[s] | i[s];
87
+ o[s] = e.dirty[s] | i[s];
88
88
  return o;
89
89
  }
90
- return t.dirty | i;
90
+ return e.dirty | i;
91
91
  }
92
- return t.dirty;
92
+ return e.dirty;
93
93
  }
94
- function Vr(e, t, r, n, i, o) {
94
+ function kr(t, e, r, n, i, o) {
95
95
  if (i) {
96
- const a = Xt(t, r, n, o);
97
- e.p(a, i);
96
+ const a = Xe(e, r, n, o);
97
+ t.p(a, i);
98
98
  }
99
99
  }
100
- function Xr(e) {
101
- if (e.ctx.length > 32) {
102
- const t = [], r = e.ctx.length / 32;
100
+ function Vr(t) {
101
+ if (t.ctx.length > 32) {
102
+ const e = [], r = t.ctx.length / 32;
103
103
  for (let n = 0; n < r; n++)
104
- t[n] = -1;
105
- return t;
104
+ e[n] = -1;
105
+ return e;
106
106
  }
107
107
  return -1;
108
108
  }
109
- const zt = typeof window != "undefined";
110
- let zr = zt ? () => window.performance.now() : () => Date.now(), it = zt ? (e) => requestAnimationFrame(e) : I;
109
+ const ze = typeof window != "undefined";
110
+ let Xr = ze ? () => window.performance.now() : () => Date.now(), ie = ze ? (t) => requestAnimationFrame(t) : I;
111
111
  const W = /* @__PURE__ */ new Set();
112
- function Wt(e) {
113
- W.forEach((t) => {
114
- t.c(e) || (W.delete(t), t.f());
115
- }), W.size !== 0 && it(Wt);
116
- }
117
- function Wr(e) {
118
- let t;
119
- return W.size === 0 && it(Wt), {
112
+ function We(t) {
113
+ W.forEach((e) => {
114
+ e.c(t) || (W.delete(e), e.f());
115
+ }), W.size !== 0 && ie(We);
116
+ }
117
+ function zr(t) {
118
+ let e;
119
+ return W.size === 0 && ie(We), {
120
120
  promise: new Promise((r) => {
121
- W.add(t = { c: e, f: r });
121
+ W.add(e = { c: t, f: r });
122
122
  }),
123
123
  abort() {
124
- W.delete(t);
124
+ W.delete(e);
125
125
  }
126
126
  };
127
127
  }
128
- function P(e, t) {
129
- e.appendChild(t);
128
+ function P(t, e) {
129
+ t.appendChild(e);
130
130
  }
131
- function Zr(e, t, r) {
132
- const n = ot(e);
133
- if (!n.getElementById(t)) {
131
+ function Wr(t, e, r) {
132
+ const n = oe(t);
133
+ if (!n.getElementById(e)) {
134
134
  const i = M("style");
135
- i.id = t, i.textContent = r, Zt(n, i);
135
+ i.id = e, i.textContent = r, Ze(n, i);
136
136
  }
137
137
  }
138
- function ot(e) {
139
- if (!e) return document;
140
- const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
141
- return t && /** @type {ShadowRoot} */
142
- t.host ? (
138
+ function oe(t) {
139
+ if (!t) return document;
140
+ const e = t.getRootNode ? t.getRootNode() : t.ownerDocument;
141
+ return e && /** @type {ShadowRoot} */
142
+ e.host ? (
143
143
  /** @type {ShadowRoot} */
144
- t
145
- ) : e.ownerDocument;
144
+ e
145
+ ) : t.ownerDocument;
146
146
  }
147
- function Qr(e) {
148
- const t = M("style");
149
- return t.textContent = "/* empty */", Zt(ot(e), t), t.sheet;
147
+ function Zr(t) {
148
+ const e = M("style");
149
+ return e.textContent = "/* empty */", Ze(oe(t), e), e.sheet;
150
150
  }
151
- function Zt(e, t) {
151
+ function Ze(t, e) {
152
152
  return P(
153
153
  /** @type {Document} */
154
- e.head || e,
155
- t
156
- ), t.sheet;
154
+ t.head || t,
155
+ e
156
+ ), e.sheet;
157
157
  }
158
- function st(e, t, r) {
159
- e.insertBefore(t, r || null);
158
+ function se(t, e, r) {
159
+ t.insertBefore(e, r || null);
160
160
  }
161
- function he(e) {
162
- e.parentNode && e.parentNode.removeChild(e);
161
+ function ht(t) {
162
+ t.parentNode && t.parentNode.removeChild(t);
163
163
  }
164
- function Ao(e, t) {
165
- for (let r = 0; r < e.length; r += 1)
166
- e[r] && e[r].d(t);
164
+ function Ao(t, e) {
165
+ for (let r = 0; r < t.length; r += 1)
166
+ t[r] && t[r].d(e);
167
167
  }
168
- function M(e) {
169
- return document.createElement(e);
168
+ function M(t) {
169
+ return document.createElement(t);
170
170
  }
171
- function bt(e) {
172
- return document.createElementNS("http://www.w3.org/2000/svg", e);
171
+ function be(t) {
172
+ return document.createElementNS("http://www.w3.org/2000/svg", t);
173
173
  }
174
- function oe(e) {
175
- return document.createTextNode(e);
174
+ function ot(t) {
175
+ return document.createTextNode(t);
176
176
  }
177
- function Le() {
178
- return oe(" ");
177
+ function Lt() {
178
+ return ot(" ");
179
179
  }
180
180
  function Po() {
181
- return oe("");
181
+ return ot("");
182
182
  }
183
- function Oe(e, t, r, n) {
184
- return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
183
+ function Ot(t, e, r, n) {
184
+ return t.addEventListener(e, r, n), () => t.removeEventListener(e, r, n);
185
185
  }
186
- function Lo(e) {
187
- return function(t) {
188
- return t.preventDefault(), e.call(this, t);
186
+ function Lo(t) {
187
+ return function(e) {
188
+ return e.preventDefault(), t.call(this, e);
189
189
  };
190
190
  }
191
- function H(e, t, r) {
192
- r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
191
+ function H(t, e, r) {
192
+ r == null ? t.removeAttribute(e) : t.getAttribute(e) !== r && t.setAttribute(e, r);
193
193
  }
194
- function Oo(e, t, r) {
195
- const n = t.toLowerCase();
196
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : H(e, t, r);
194
+ function Oo(t, e, r) {
195
+ const n = e.toLowerCase();
196
+ n in t ? t[n] = typeof t[n] == "boolean" && r === "" ? !0 : r : e in t ? t[e] = typeof t[e] == "boolean" && r === "" ? !0 : r : H(t, e, r);
197
197
  }
198
- function Io(e) {
199
- return e === "" ? null : +e;
198
+ function Io(t) {
199
+ return t === "" ? null : +t;
200
200
  }
201
- function qr(e) {
202
- return Array.from(e.childNodes);
201
+ function Qr(t) {
202
+ return Array.from(t.childNodes);
203
203
  }
204
- function Ie(e, t) {
205
- t = "" + t, e.data !== t && (e.data = /** @type {string} */
206
- t);
204
+ function It(t, e) {
205
+ e = "" + e, t.data !== e && (t.data = /** @type {string} */
206
+ e);
207
207
  }
208
- function Mo(e, t) {
209
- e.value = t == null ? "" : t;
208
+ function Mo(t, e) {
209
+ t.value = e == null ? "" : e;
210
210
  }
211
- function No(e, t, r) {
212
- for (let n = 0; n < e.options.length; n += 1) {
213
- const i = e.options[n];
214
- if (i.__value === t) {
211
+ function No(t, e, r) {
212
+ for (let n = 0; n < t.options.length; n += 1) {
213
+ const i = t.options[n];
214
+ if (i.__value === e) {
215
215
  i.selected = !0;
216
216
  return;
217
217
  }
218
218
  }
219
- (!r || t !== void 0) && (e.selectedIndex = -1);
219
+ (!r || e !== void 0) && (t.selectedIndex = -1);
220
220
  }
221
- function $o(e) {
222
- const t = e.querySelector(":checked");
223
- return t && t.__value;
221
+ function $o(t) {
222
+ const e = t.querySelector(":checked");
223
+ return e && e.__value;
224
224
  }
225
- function Jr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
226
- return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
225
+ function Jr(t, e, { bubbles: r = !1, cancelable: n = !1 } = {}) {
226
+ return new CustomEvent(t, { detail: e, bubbles: r, cancelable: n });
227
227
  }
228
- function Yr(e) {
229
- const t = {};
230
- return e.childNodes.forEach(
228
+ function qr(t) {
229
+ const e = {};
230
+ return t.childNodes.forEach(
231
231
  /** @param {Element} node */
232
232
  (r) => {
233
- t[r.slot || "default"] = !0;
233
+ e[r.slot || "default"] = !0;
234
234
  }
235
- ), t;
235
+ ), e;
236
236
  }
237
- const ve = /* @__PURE__ */ new Map();
238
- let _e = 0;
239
- function Kr(e) {
240
- let t = 5381, r = e.length;
241
- for (; r--; ) t = (t << 5) - t ^ e.charCodeAt(r);
242
- return t >>> 0;
237
+ const vt = /* @__PURE__ */ new Map();
238
+ let _t = 0;
239
+ function Yr(t) {
240
+ let e = 5381, r = t.length;
241
+ for (; r--; ) e = (e << 5) - e ^ t.charCodeAt(r);
242
+ return e >>> 0;
243
243
  }
244
- function en(e, t) {
245
- const r = { stylesheet: Qr(t), rules: {} };
246
- return ve.set(e, r), r;
244
+ function Kr(t, e) {
245
+ const r = { stylesheet: Zr(e), rules: {} };
246
+ return vt.set(t, r), r;
247
247
  }
248
- function gt(e, t, r, n, i, o, a, s = 0) {
248
+ function ge(t, e, r, n, i, o, a, s = 0) {
249
249
  const l = 16.666 / n;
250
250
  let u = `{
251
251
  `;
252
252
  for (let y = 0; y <= 1; y += l) {
253
- const T = t + (r - t) * o(y);
253
+ const T = e + (r - e) * o(y);
254
254
  u += y * 100 + `%{${a(T, 1 - T)}}
255
255
  `;
256
256
  }
257
257
  const h = u + `100% {${a(r, 1 - r)}}
258
- }`, c = `__svelte_${Kr(h)}_${s}`, f = ot(e), { stylesheet: p, rules: m } = ve.get(f) || en(f, e);
258
+ }`, c = `__svelte_${Yr(h)}_${s}`, f = oe(t), { stylesheet: p, rules: m } = vt.get(f) || Kr(f, t);
259
259
  m[c] || (m[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
260
- const d = e.style.animation || "";
261
- return e.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, _e += 1, c;
260
+ const d = t.style.animation || "";
261
+ return t.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, _t += 1, c;
262
262
  }
263
- function tn(e, t) {
264
- const r = (e.style.animation || "").split(", "), n = r.filter(
265
- t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
263
+ function tn(t, e) {
264
+ const r = (t.style.animation || "").split(", "), n = r.filter(
265
+ e ? (o) => o.indexOf(e) < 0 : (o) => o.indexOf("__svelte") === -1
266
266
  // remove all Svelte animations
267
267
  ), i = r.length - n.length;
268
- i && (e.style.animation = n.join(", "), _e -= i, _e || rn());
269
- }
270
- function rn() {
271
- it(() => {
272
- _e || (ve.forEach((e) => {
273
- const { ownerNode: t } = e.stylesheet;
274
- t && he(t);
275
- }), ve.clear());
268
+ i && (t.style.animation = n.join(", "), _t -= i, _t || en());
269
+ }
270
+ function en() {
271
+ ie(() => {
272
+ _t || (vt.forEach((t) => {
273
+ const { ownerNode: e } = t.stylesheet;
274
+ e && ht(e);
275
+ }), vt.clear());
276
276
  });
277
277
  }
278
- let ae;
279
- function se(e) {
280
- ae = e;
278
+ let at;
279
+ function st(t) {
280
+ at = t;
281
281
  }
282
- function nn() {
283
- if (!ae) throw new Error("Function called outside component initialization");
284
- return ae;
282
+ function rn() {
283
+ if (!at) throw new Error("Function called outside component initialization");
284
+ return at;
285
285
  }
286
- function on(e) {
287
- nn().$$.on_mount.push(e);
286
+ function nn(t) {
287
+ rn().$$.on_mount.push(t);
288
288
  }
289
- const z = [], ke = [];
289
+ const z = [], kt = [];
290
290
  let Z = [];
291
- const yt = [], sn = /* @__PURE__ */ Promise.resolve();
292
- let Ve = !1;
293
- function an() {
294
- Ve || (Ve = !0, sn.then(U));
291
+ const ye = [], on = /* @__PURE__ */ Promise.resolve();
292
+ let Vt = !1;
293
+ function sn() {
294
+ Vt || (Vt = !0, on.then(U));
295
295
  }
296
- function xe(e) {
297
- Z.push(e);
296
+ function xt(t) {
297
+ Z.push(t);
298
298
  }
299
- const Me = /* @__PURE__ */ new Set();
299
+ const Mt = /* @__PURE__ */ new Set();
300
300
  let V = 0;
301
301
  function U() {
302
302
  if (V !== 0)
303
303
  return;
304
- const e = ae;
304
+ const t = at;
305
305
  do {
306
306
  try {
307
307
  for (; V < z.length; ) {
308
- const t = z[V];
309
- V++, se(t), un(t.$$);
308
+ const e = z[V];
309
+ V++, st(e), an(e.$$);
310
310
  }
311
- } catch (t) {
312
- throw z.length = 0, V = 0, t;
311
+ } catch (e) {
312
+ throw z.length = 0, V = 0, e;
313
313
  }
314
- for (se(null), z.length = 0, V = 0; ke.length; ) ke.pop()();
315
- for (let t = 0; t < Z.length; t += 1) {
316
- const r = Z[t];
317
- Me.has(r) || (Me.add(r), r());
314
+ for (st(null), z.length = 0, V = 0; kt.length; ) kt.pop()();
315
+ for (let e = 0; e < Z.length; e += 1) {
316
+ const r = Z[e];
317
+ Mt.has(r) || (Mt.add(r), r());
318
318
  }
319
319
  Z.length = 0;
320
320
  } while (z.length);
321
- for (; yt.length; )
322
- yt.pop()();
323
- Ve = !1, Me.clear(), se(e);
324
- }
325
- function un(e) {
326
- if (e.fragment !== null) {
327
- e.update(), F(e.before_update);
328
- const t = e.dirty;
329
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(xe);
321
+ for (; ye.length; )
322
+ ye.pop()();
323
+ Vt = !1, Mt.clear(), st(t);
324
+ }
325
+ function an(t) {
326
+ if (t.fragment !== null) {
327
+ t.update(), F(t.before_update);
328
+ const e = t.dirty;
329
+ t.dirty = [-1], t.fragment && t.fragment.p(t.ctx, e), t.after_update.forEach(xt);
330
330
  }
331
331
  }
332
- function ln(e) {
333
- const t = [], r = [];
334
- Z.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), Z = t;
332
+ function un(t) {
333
+ const e = [], r = [];
334
+ Z.forEach((n) => t.indexOf(n) === -1 ? e.push(n) : r.push(n)), r.forEach((n) => n()), Z = e;
335
335
  }
336
- let ne;
337
- function hn() {
338
- return ne || (ne = Promise.resolve(), ne.then(() => {
339
- ne = null;
340
- })), ne;
336
+ let nt;
337
+ function ln() {
338
+ return nt || (nt = Promise.resolve(), nt.then(() => {
339
+ nt = null;
340
+ })), nt;
341
341
  }
342
- function Ne(e, t, r) {
343
- e.dispatchEvent(Jr(`${t ? "intro" : "outro"}${r}`));
342
+ function Nt(t, e, r) {
343
+ t.dispatchEvent(Jr(`${e ? "intro" : "outro"}${r}`));
344
344
  }
345
- const pe = /* @__PURE__ */ new Set();
345
+ const pt = /* @__PURE__ */ new Set();
346
346
  let $;
347
347
  function Ro() {
348
348
  $ = {
@@ -355,22 +355,22 @@ function Ro() {
355
355
  function Go() {
356
356
  $.r || F($.c), $ = $.p;
357
357
  }
358
- function Qt(e, t) {
359
- e && e.i && (pe.delete(e), e.i(t));
358
+ function Qe(t, e) {
359
+ t && t.i && (pt.delete(t), t.i(e));
360
360
  }
361
- function cn(e, t, r, n) {
362
- if (e && e.o) {
363
- if (pe.has(e)) return;
364
- pe.add(e), $.c.push(() => {
365
- pe.delete(e), n && (r && e.d(1), n());
366
- }), e.o(t);
361
+ function hn(t, e, r, n) {
362
+ if (t && t.o) {
363
+ if (pt.has(t)) return;
364
+ pt.add(t), $.c.push(() => {
365
+ pt.delete(t), n && (r && t.d(1), n());
366
+ }), t.o(e);
367
367
  } else n && n();
368
368
  }
369
- const fn = { duration: 0 };
370
- function Uo(e, t, r, n) {
371
- let o = t(e, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
369
+ const cn = { duration: 0 };
370
+ function Uo(t, e, r, n) {
371
+ let o = e(t, r, { direction: "both" }), a = n ? 0 : 1, s = null, l = null, u = null, h;
372
372
  function c() {
373
- u && tn(e, u);
373
+ u && tn(t, u);
374
374
  }
375
375
  function f(m, d) {
376
376
  const y = (
@@ -391,17 +391,17 @@ function Uo(e, t, r, n) {
391
391
  const {
392
392
  delay: d = 0,
393
393
  duration: y = 300,
394
- easing: T = Gr,
394
+ easing: T = Rr,
395
395
  tick: B = I,
396
396
  css: S
397
- } = o || fn, C = {
398
- start: zr() + d,
397
+ } = o || cn, C = {
398
+ start: Xr() + d,
399
399
  b: m
400
400
  };
401
- m || (C.group = $, $.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
402
- e.inert, e.inert = !0)), s || l ? l = C : (S && (c(), u = gt(e, a, m, y, d, T, S)), m && B(0, 1), s = f(C, y), xe(() => Ne(e, m, "start")), Wr((w) => {
403
- if (l && w > l.start && (s = f(l, y), l = null, Ne(e, s.b, "start"), S && (c(), u = gt(
404
- e,
401
+ m || (C.group = $, $.r += 1), "inert" in t && (m ? h !== void 0 && (t.inert = h) : (h = /** @type {HTMLElement} */
402
+ t.inert, t.inert = !0)), s || l ? l = C : (S && (c(), u = ge(t, a, m, y, d, T, S)), m && B(0, 1), s = f(C, y), xt(() => Nt(t, m, "start")), zr((w) => {
403
+ if (l && w > l.start && (s = f(l, y), l = null, Nt(t, s.b, "start"), S && (c(), u = ge(
404
+ t,
405
405
  a,
406
406
  s.b,
407
407
  s.duration,
@@ -410,7 +410,7 @@ function Uo(e, t, r, n) {
410
410
  o.css
411
411
  ))), s) {
412
412
  if (w >= s.end)
413
- B(a = s.b, 1 - a), Ne(e, s.b, "end"), l || (s.b ? c() : --s.group.r || F(s.group.c)), s = null;
413
+ B(a = s.b, 1 - a), Nt(t, s.b, "end"), l || (s.b ? c() : --s.group.r || F(s.group.c)), s = null;
414
414
  else if (w >= s.start) {
415
415
  const x = w - s.start;
416
416
  a = s.a + s.d * T(x / s.duration), B(a, 1 - a);
@@ -421,7 +421,7 @@ function Uo(e, t, r, n) {
421
421
  }
422
422
  return {
423
423
  run(m) {
424
- Se(o) ? hn().then(() => {
424
+ St(o) ? ln().then(() => {
425
425
  o = o({ direction: m ? "in" : "out" }), p(m);
426
426
  }) : p(m);
427
427
  },
@@ -430,65 +430,65 @@ function Uo(e, t, r, n) {
430
430
  }
431
431
  };
432
432
  }
433
- function Do(e) {
434
- return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
433
+ function Do(t) {
434
+ return (t == null ? void 0 : t.length) !== void 0 ? t : Array.from(t);
435
435
  }
436
- function mn(e, t, r) {
437
- const { fragment: n, after_update: i } = e.$$;
438
- n && n.m(t, r), xe(() => {
439
- const o = e.$$.on_mount.map(jt).filter(Se);
440
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : F(o), e.$$.on_mount = [];
441
- }), i.forEach(xe);
436
+ function fn(t, e, r) {
437
+ const { fragment: n, after_update: i } = t.$$;
438
+ n && n.m(e, r), xt(() => {
439
+ const o = t.$$.on_mount.map(je).filter(St);
440
+ t.$$.on_destroy ? t.$$.on_destroy.push(...o) : F(o), t.$$.on_mount = [];
441
+ }), i.forEach(xt);
442
442
  }
443
- function pn(e, t) {
444
- const r = e.$$;
445
- r.fragment !== null && (ln(r.after_update), F(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
443
+ function mn(t, e) {
444
+ const r = t.$$;
445
+ r.fragment !== null && (un(r.after_update), F(r.on_destroy), r.fragment && r.fragment.d(e), r.on_destroy = r.fragment = null, r.ctx = []);
446
446
  }
447
- function dn(e, t) {
448
- e.$$.dirty[0] === -1 && (z.push(e), an(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
447
+ function pn(t, e) {
448
+ t.$$.dirty[0] === -1 && (z.push(t), sn(), t.$$.dirty.fill(0)), t.$$.dirty[e / 31 | 0] |= 1 << e % 31;
449
449
  }
450
- function bn(e, t, r, n, i, o, a = null, s = [-1]) {
451
- const l = ae;
452
- se(e);
453
- const u = e.$$ = {
450
+ function dn(t, e, r, n, i, o, a = null, s = [-1]) {
451
+ const l = at;
452
+ st(t);
453
+ const u = t.$$ = {
454
454
  fragment: null,
455
455
  ctx: [],
456
456
  // state
457
457
  props: o,
458
458
  update: I,
459
459
  not_equal: i,
460
- bound: dt(),
460
+ bound: de(),
461
461
  // lifecycle
462
462
  on_mount: [],
463
463
  on_destroy: [],
464
464
  on_disconnect: [],
465
465
  before_update: [],
466
466
  after_update: [],
467
- context: new Map(t.context || (l ? l.$$.context : [])),
467
+ context: new Map(e.context || (l ? l.$$.context : [])),
468
468
  // everything else
469
- callbacks: dt(),
469
+ callbacks: de(),
470
470
  dirty: s,
471
471
  skip_bound: !1,
472
- root: t.target || l.$$.root
472
+ root: e.target || l.$$.root
473
473
  };
474
474
  a && a(u.root);
475
475
  let h = !1;
476
- if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
476
+ if (u.ctx = r ? r(t, e.props || {}, (c, f, ...p) => {
477
477
  const m = p.length ? p[0] : f;
478
- return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && dn(e, c)), f;
479
- }) : [], u.update(), h = !0, F(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
480
- if (t.hydrate) {
481
- const c = qr(t.target);
482
- u.fragment && u.fragment.l(c), c.forEach(he);
478
+ return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && pn(t, c)), f;
479
+ }) : [], u.update(), h = !0, F(u.before_update), u.fragment = n ? n(u.ctx) : !1, e.target) {
480
+ if (e.hydrate) {
481
+ const c = Qr(e.target);
482
+ u.fragment && u.fragment.l(c), c.forEach(ht);
483
483
  } else
484
484
  u.fragment && u.fragment.c();
485
- t.intro && Qt(e.$$.fragment), mn(e, t.target, t.anchor), U();
485
+ e.intro && Qe(t.$$.fragment), fn(t, e.target, e.anchor), U();
486
486
  }
487
- se(l);
487
+ st(l);
488
488
  }
489
- let qt;
490
- typeof HTMLElement == "function" && (qt = class extends HTMLElement {
491
- constructor(t, r, n) {
489
+ let Je;
490
+ typeof HTMLElement == "function" && (Je = class extends HTMLElement {
491
+ constructor(e, r, n) {
492
492
  super();
493
493
  /** The Svelte component constructor */
494
494
  O(this, "$$ctor");
@@ -508,25 +508,25 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
508
508
  O(this, "$$l", {});
509
509
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
510
510
  O(this, "$$l_u", /* @__PURE__ */ new Map());
511
- this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
511
+ this.$$ctor = e, this.$$s = r, n && this.attachShadow({ mode: "open" });
512
512
  }
513
- addEventListener(t, r, n) {
514
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
515
- const i = this.$$c.$on(t, r);
513
+ addEventListener(e, r, n) {
514
+ if (this.$$l[e] = this.$$l[e] || [], this.$$l[e].push(r), this.$$c) {
515
+ const i = this.$$c.$on(e, r);
516
516
  this.$$l_u.set(r, i);
517
517
  }
518
- super.addEventListener(t, r, n);
518
+ super.addEventListener(e, r, n);
519
519
  }
520
- removeEventListener(t, r, n) {
521
- if (super.removeEventListener(t, r, n), this.$$c) {
520
+ removeEventListener(e, r, n) {
521
+ if (super.removeEventListener(e, r, n), this.$$c) {
522
522
  const i = this.$$l_u.get(r);
523
523
  i && (i(), this.$$l_u.delete(r));
524
524
  }
525
525
  }
526
526
  connectedCallback() {
527
- return pt(this, null, function* () {
527
+ return pe(this, null, function* () {
528
528
  if (this.$$cn = !0, !this.$$c) {
529
- let t = function(o) {
529
+ let e = function(o) {
530
530
  return () => {
531
531
  let a;
532
532
  return {
@@ -538,28 +538,28 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
538
538
  * @param {HTMLElement} [anchor]
539
539
  */
540
540
  m: function(u, h) {
541
- st(u, a, h);
541
+ se(u, a, h);
542
542
  },
543
543
  d: function(u) {
544
- u && he(a);
544
+ u && ht(a);
545
545
  }
546
546
  };
547
547
  };
548
548
  };
549
549
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
550
550
  return;
551
- const r = {}, n = Yr(this);
551
+ const r = {}, n = qr(this);
552
552
  for (const o of this.$$s)
553
- o in n && (r[o] = [t(o)]);
553
+ o in n && (r[o] = [e(o)]);
554
554
  for (const o of this.attributes) {
555
555
  const a = this.$$g_p(o.name);
556
- a in this.$$d || (this.$$d[a] = de(a, o.value, this.$$p_d, "toProp"));
556
+ a in this.$$d || (this.$$d[a] = dt(a, o.value, this.$$p_d, "toProp"));
557
557
  }
558
558
  for (const o in this.$$p_d)
559
559
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
560
560
  this.$$c = new this.$$ctor({
561
561
  target: this.shadowRoot || this,
562
- props: mt(ft({}, this.$$d), {
562
+ props: me(fe({}, this.$$d), {
563
563
  $$slots: r,
564
564
  $$scope: {
565
565
  ctx: []
@@ -570,7 +570,7 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
570
570
  this.$$r = !0;
571
571
  for (const o in this.$$p_d)
572
572
  if (this.$$d[o] = this.$$c.$$.ctx[this.$$c.$$.props[o]], this.$$p_d[o].reflect) {
573
- const a = de(
573
+ const a = dt(
574
574
  o,
575
575
  this.$$d[o],
576
576
  this.$$p_d,
@@ -592,70 +592,70 @@ typeof HTMLElement == "function" && (qt = class extends HTMLElement {
592
592
  }
593
593
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
594
594
  // and setting attributes through setAttribute etc, this is helpful
595
- attributeChangedCallback(t, r, n) {
595
+ attributeChangedCallback(e, r, n) {
596
596
  var i;
597
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = de(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
597
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = dt(e, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [e]: this.$$d[e] }));
598
598
  }
599
599
  disconnectedCallback() {
600
600
  this.$$cn = !1, Promise.resolve().then(() => {
601
601
  !this.$$cn && this.$$c && (this.$$c.$destroy(), this.$$c = void 0);
602
602
  });
603
603
  }
604
- $$g_p(t) {
604
+ $$g_p(e) {
605
605
  return Object.keys(this.$$p_d).find(
606
- (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
607
- ) || t;
606
+ (r) => this.$$p_d[r].attribute === e || !this.$$p_d[r].attribute && r.toLowerCase() === e
607
+ ) || e;
608
608
  }
609
609
  });
610
- function de(e, t, r, n) {
610
+ function dt(t, e, r, n) {
611
611
  var o;
612
- const i = (o = r[e]) == null ? void 0 : o.type;
613
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
614
- return t;
612
+ const i = (o = r[t]) == null ? void 0 : o.type;
613
+ if (e = i === "Boolean" && typeof e != "boolean" ? e != null : e, !n || !r[t])
614
+ return e;
615
615
  if (n === "toAttribute")
616
616
  switch (i) {
617
617
  case "Object":
618
618
  case "Array":
619
- return t == null ? null : JSON.stringify(t);
619
+ return e == null ? null : JSON.stringify(e);
620
620
  case "Boolean":
621
- return t ? "" : null;
621
+ return e ? "" : null;
622
622
  case "Number":
623
- return t == null ? null : t;
623
+ return e == null ? null : e;
624
624
  default:
625
- return t;
625
+ return e;
626
626
  }
627
627
  else
628
628
  switch (i) {
629
629
  case "Object":
630
630
  case "Array":
631
- return t && JSON.parse(t);
631
+ return e && JSON.parse(e);
632
632
  case "Boolean":
633
- return t;
633
+ return e;
634
634
  case "Number":
635
- return t != null ? +t : t;
635
+ return e != null ? +e : e;
636
636
  default:
637
- return t;
637
+ return e;
638
638
  }
639
639
  }
640
- function gn(e, t, r, n, i, o) {
641
- let a = class extends qt {
640
+ function bn(t, e, r, n, i, o) {
641
+ let a = class extends Je {
642
642
  constructor() {
643
- super(e, r, i), this.$$p_d = t;
643
+ super(t, r, i), this.$$p_d = e;
644
644
  }
645
645
  static get observedAttributes() {
646
- return Object.keys(t).map(
647
- (s) => (t[s].attribute || s).toLowerCase()
646
+ return Object.keys(e).map(
647
+ (s) => (e[s].attribute || s).toLowerCase()
648
648
  );
649
649
  }
650
650
  };
651
- return Object.keys(t).forEach((s) => {
651
+ return Object.keys(e).forEach((s) => {
652
652
  Object.defineProperty(a.prototype, s, {
653
653
  get() {
654
654
  return this.$$c && s in this.$$c ? this.$$c[s] : this.$$d[s];
655
655
  },
656
656
  set(l) {
657
657
  var u;
658
- l = de(s, l, t), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
658
+ l = dt(s, l, e), this.$$d[s] = l, (u = this.$$c) == null || u.$set({ [s]: l });
659
659
  }
660
660
  });
661
661
  }), n.forEach((s) => {
@@ -665,10 +665,10 @@ function gn(e, t, r, n, i, o) {
665
665
  return (l = this.$$c) == null ? void 0 : l[s];
666
666
  }
667
667
  });
668
- }), e.element = /** @type {any} */
668
+ }), t.element = /** @type {any} */
669
669
  a, a;
670
670
  }
671
- class yn {
671
+ class gn {
672
672
  constructor() {
673
673
  /**
674
674
  * ### PRIVATE API
@@ -689,7 +689,7 @@ class yn {
689
689
  }
690
690
  /** @returns {void} */
691
691
  $destroy() {
692
- pn(this, 1), this.$destroy = I;
692
+ mn(this, 1), this.$destroy = I;
693
693
  }
694
694
  /**
695
695
  * @template {Extract<keyof Events, string>} K
@@ -697,10 +697,10 @@ class yn {
697
697
  * @param {((e: Events[K]) => void) | null | undefined} callback
698
698
  * @returns {() => void}
699
699
  */
700
- $on(t, r) {
701
- if (!Se(r))
700
+ $on(e, r) {
701
+ if (!St(r))
702
702
  return I;
703
- const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
703
+ const n = this.$$.callbacks[e] || (this.$$.callbacks[e] = []);
704
704
  return n.push(r), () => {
705
705
  const i = n.indexOf(r);
706
706
  i !== -1 && n.splice(i, 1);
@@ -710,61 +710,61 @@ class yn {
710
710
  * @param {Partial<Props>} props
711
711
  * @returns {void}
712
712
  */
713
- $set(t) {
714
- this.$$set && !Dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
713
+ $set(e) {
714
+ this.$$set && !Ur(e) && (this.$$.skip_bound = !0, this.$$set(e), this.$$.skip_bound = !1);
715
715
  }
716
716
  }
717
- const vn = "4";
718
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(vn);
719
- var Xe = function(e, t) {
720
- return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
717
+ const yn = "4";
718
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(yn);
719
+ var Xt = function(t, e) {
720
+ return Xt = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
721
721
  r.__proto__ = n;
722
722
  } || function(r, n) {
723
723
  for (var i in n) Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
724
- }, Xe(e, t);
724
+ }, Xt(t, e);
725
725
  };
726
- function G(e, t) {
727
- if (typeof t != "function" && t !== null)
728
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
729
- Xe(e, t);
726
+ function G(t, e) {
727
+ if (typeof e != "function" && e !== null)
728
+ throw new TypeError("Class extends value " + String(e) + " is not a constructor or null");
729
+ Xt(t, e);
730
730
  function r() {
731
- this.constructor = e;
731
+ this.constructor = t;
732
732
  }
733
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
733
+ t.prototype = e === null ? Object.create(e) : (r.prototype = e.prototype, new r());
734
734
  }
735
735
  var _ = function() {
736
- return _ = Object.assign || function(t) {
736
+ return _ = Object.assign || function(e) {
737
737
  for (var r, n = 1, i = arguments.length; n < i; n++) {
738
738
  r = arguments[n];
739
- for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
739
+ for (var o in r) Object.prototype.hasOwnProperty.call(r, o) && (e[o] = r[o]);
740
740
  }
741
- return t;
741
+ return e;
742
742
  }, _.apply(this, arguments);
743
743
  };
744
- function _n(e, t) {
744
+ function vn(t, e) {
745
745
  var r = {};
746
- for (var n in e) Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
747
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
748
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
749
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
746
+ for (var n in t) Object.prototype.hasOwnProperty.call(t, n) && e.indexOf(n) < 0 && (r[n] = t[n]);
747
+ if (t != null && typeof Object.getOwnPropertySymbols == "function")
748
+ for (var i = 0, n = Object.getOwnPropertySymbols(t); i < n.length; i++)
749
+ e.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(t, n[i]) && (r[n[i]] = t[n[i]]);
750
750
  return r;
751
751
  }
752
- function ze(e) {
753
- var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
754
- if (r) return r.call(e);
755
- if (e && typeof e.length == "number") return {
752
+ function zt(t) {
753
+ var e = typeof Symbol == "function" && Symbol.iterator, r = e && t[e], n = 0;
754
+ if (r) return r.call(t);
755
+ if (t && typeof t.length == "number") return {
756
756
  next: function() {
757
- return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
757
+ return t && n >= t.length && (t = void 0), { value: t && t[n++], done: !t };
758
758
  }
759
759
  };
760
- throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
760
+ throw new TypeError(e ? "Object is not iterable." : "Symbol.iterator is not defined.");
761
761
  }
762
- function We(e, t) {
763
- var r = typeof Symbol == "function" && e[Symbol.iterator];
764
- if (!r) return e;
765
- var n = r.call(e), i, o = [], a;
762
+ function Wt(t, e) {
763
+ var r = typeof Symbol == "function" && t[Symbol.iterator];
764
+ if (!r) return t;
765
+ var n = r.call(t), i, o = [], a;
766
766
  try {
767
- for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; ) o.push(i.value);
767
+ for (; (e === void 0 || e-- > 0) && !(i = n.next()).done; ) o.push(i.value);
768
768
  } catch (s) {
769
769
  a = { error: s };
770
770
  } finally {
@@ -776,58 +776,58 @@ function We(e, t) {
776
776
  }
777
777
  return o;
778
778
  }
779
- function Q(e, t, r) {
780
- if (r || arguments.length === 2) for (var n = 0, i = t.length, o; n < i; n++)
781
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
782
- return e.concat(o || Array.prototype.slice.call(t));
779
+ function Q(t, e, r) {
780
+ if (r || arguments.length === 2) for (var n = 0, i = e.length, o; n < i; n++)
781
+ (o || !(n in e)) && (o || (o = Array.prototype.slice.call(e, 0, n)), o[n] = e[n]);
782
+ return t.concat(o || Array.prototype.slice.call(e));
783
783
  }
784
- function R(e) {
785
- return typeof e == "function";
784
+ function R(t) {
785
+ return typeof t == "function";
786
786
  }
787
- function Jt(e) {
788
- var t = function(n) {
787
+ function qe(t) {
788
+ var e = function(n) {
789
789
  Error.call(n), n.stack = new Error().stack;
790
- }, r = e(t);
790
+ }, r = t(e);
791
791
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
792
792
  }
793
- var $e = Jt(function(e) {
793
+ var $t = qe(function(t) {
794
794
  return function(r) {
795
- e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
795
+ t(this), this.message = r ? r.length + ` errors occurred during unsubscription:
796
796
  ` + r.map(function(n, i) {
797
797
  return i + 1 + ") " + n.toString();
798
798
  }).join(`
799
799
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
800
800
  };
801
801
  });
802
- function Ze(e, t) {
803
- if (e) {
804
- var r = e.indexOf(t);
805
- 0 <= r && e.splice(r, 1);
802
+ function Zt(t, e) {
803
+ if (t) {
804
+ var r = t.indexOf(e);
805
+ 0 <= r && t.splice(r, 1);
806
806
  }
807
807
  }
808
- var Te = function() {
809
- function e(t) {
810
- this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
808
+ var Tt = function() {
809
+ function t(e) {
810
+ this.initialTeardown = e, this.closed = !1, this._parentage = null, this._finalizers = null;
811
811
  }
812
- return e.prototype.unsubscribe = function() {
813
- var t, r, n, i, o;
812
+ return t.prototype.unsubscribe = function() {
813
+ var e, r, n, i, o;
814
814
  if (!this.closed) {
815
815
  this.closed = !0;
816
816
  var a = this._parentage;
817
817
  if (a)
818
818
  if (this._parentage = null, Array.isArray(a))
819
819
  try {
820
- for (var s = ze(a), l = s.next(); !l.done; l = s.next()) {
820
+ for (var s = zt(a), l = s.next(); !l.done; l = s.next()) {
821
821
  var u = l.value;
822
822
  u.remove(this);
823
823
  }
824
824
  } catch (d) {
825
- t = { error: d };
825
+ e = { error: d };
826
826
  } finally {
827
827
  try {
828
828
  l && !l.done && (r = s.return) && r.call(s);
829
829
  } finally {
830
- if (t) throw t.error;
830
+ if (e) throw e.error;
831
831
  }
832
832
  }
833
833
  else
@@ -837,18 +837,18 @@ var Te = function() {
837
837
  try {
838
838
  h();
839
839
  } catch (d) {
840
- o = d instanceof $e ? d.errors : [d];
840
+ o = d instanceof $t ? d.errors : [d];
841
841
  }
842
842
  var c = this._finalizers;
843
843
  if (c) {
844
844
  this._finalizers = null;
845
845
  try {
846
- for (var f = ze(c), p = f.next(); !p.done; p = f.next()) {
846
+ for (var f = zt(c), p = f.next(); !p.done; p = f.next()) {
847
847
  var m = p.value;
848
848
  try {
849
- vt(m);
849
+ ve(m);
850
850
  } catch (d) {
851
- o = o != null ? o : [], d instanceof $e ? o = Q(Q([], We(o)), We(d.errors)) : o.push(d);
851
+ o = o != null ? o : [], d instanceof $t ? o = Q(Q([], Wt(o)), Wt(d.errors)) : o.push(d);
852
852
  }
853
853
  }
854
854
  } catch (d) {
@@ -862,142 +862,141 @@ var Te = function() {
862
862
  }
863
863
  }
864
864
  if (o)
865
- throw new $e(o);
865
+ throw new $t(o);
866
866
  }
867
- }, e.prototype.add = function(t) {
867
+ }, t.prototype.add = function(e) {
868
868
  var r;
869
- if (t && t !== this)
869
+ if (e && e !== this)
870
870
  if (this.closed)
871
- vt(t);
871
+ ve(e);
872
872
  else {
873
- if (t instanceof e) {
874
- if (t.closed || t._hasParent(this))
873
+ if (e instanceof t) {
874
+ if (e.closed || e._hasParent(this))
875
875
  return;
876
- t._addParent(this);
876
+ e._addParent(this);
877
877
  }
878
- (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
878
+ (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(e);
879
879
  }
880
- }, e.prototype._hasParent = function(t) {
880
+ }, t.prototype._hasParent = function(e) {
881
881
  var r = this._parentage;
882
- return r === t || Array.isArray(r) && r.includes(t);
883
- }, e.prototype._addParent = function(t) {
882
+ return r === e || Array.isArray(r) && r.includes(e);
883
+ }, t.prototype._addParent = function(e) {
884
884
  var r = this._parentage;
885
- this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
886
- }, e.prototype._removeParent = function(t) {
885
+ this._parentage = Array.isArray(r) ? (r.push(e), r) : r ? [r, e] : e;
886
+ }, t.prototype._removeParent = function(e) {
887
887
  var r = this._parentage;
888
- r === t ? this._parentage = null : Array.isArray(r) && Ze(r, t);
889
- }, e.prototype.remove = function(t) {
888
+ r === e ? this._parentage = null : Array.isArray(r) && Zt(r, e);
889
+ }, t.prototype.remove = function(e) {
890
890
  var r = this._finalizers;
891
- r && Ze(r, t), t instanceof e && t._removeParent(this);
892
- }, e.EMPTY = function() {
893
- var t = new e();
894
- return t.closed = !0, t;
895
- }(), e;
896
- }(), Yt = Te.EMPTY;
897
- function Kt(e) {
898
- return e instanceof Te || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
899
- }
900
- function vt(e) {
901
- R(e) ? e() : e.unsubscribe();
902
- }
903
- var er = {
891
+ r && Zt(r, e), e instanceof t && e._removeParent(this);
892
+ }, t.EMPTY = function() {
893
+ var e = new t();
894
+ return e.closed = !0, e;
895
+ }(), t;
896
+ }(), Ye = Tt.EMPTY;
897
+ function Ke(t) {
898
+ return t instanceof Tt || t && "closed" in t && R(t.remove) && R(t.add) && R(t.unsubscribe);
899
+ }
900
+ function ve(t) {
901
+ R(t) ? t() : t.unsubscribe();
902
+ }
903
+ var tr = {
904
904
  onUnhandledError: null,
905
905
  onStoppedNotification: null,
906
906
  Promise: void 0,
907
907
  useDeprecatedSynchronousErrorHandling: !1,
908
908
  useDeprecatedNextContext: !1
909
- }, tr = {
910
- setTimeout: function(e, t) {
909
+ }, _n = {
910
+ setTimeout: function(t, e) {
911
911
  for (var r = [], n = 2; n < arguments.length; n++)
912
912
  r[n - 2] = arguments[n];
913
- return setTimeout.apply(void 0, Q([e, t], We(r)));
913
+ return setTimeout.apply(void 0, Q([t, e], Wt(r)));
914
914
  },
915
- clearTimeout: function(e) {
916
- var t = tr.delegate;
917
- return ((t == null ? void 0 : t.clearTimeout) || clearTimeout)(e);
915
+ clearTimeout: function(t) {
916
+ return clearTimeout(t);
918
917
  },
919
918
  delegate: void 0
920
919
  };
921
- function xn(e) {
922
- tr.setTimeout(function() {
923
- throw e;
920
+ function xn(t) {
921
+ _n.setTimeout(function() {
922
+ throw t;
924
923
  });
925
924
  }
926
- function _t() {
925
+ function _e() {
927
926
  }
928
- function be(e) {
929
- e();
927
+ function bt(t) {
928
+ t();
930
929
  }
931
- var rr = function(e) {
932
- G(t, e);
933
- function t(r) {
934
- var n = e.call(this) || this;
935
- return n.isStopped = !1, r ? (n.destination = r, Kt(r) && r.add(n)) : n.destination = Tn, n;
930
+ var er = function(t) {
931
+ G(e, t);
932
+ function e(r) {
933
+ var n = t.call(this) || this;
934
+ return n.isStopped = !1, r ? (n.destination = r, Ke(r) && r.add(n)) : n.destination = Tn, n;
936
935
  }
937
- return t.create = function(r, n, i) {
938
- return new Qe(r, n, i);
939
- }, t.prototype.next = function(r) {
936
+ return e.create = function(r, n, i) {
937
+ return new Qt(r, n, i);
938
+ }, e.prototype.next = function(r) {
940
939
  this.isStopped || this._next(r);
941
- }, t.prototype.error = function(r) {
940
+ }, e.prototype.error = function(r) {
942
941
  this.isStopped || (this.isStopped = !0, this._error(r));
943
- }, t.prototype.complete = function() {
942
+ }, e.prototype.complete = function() {
944
943
  this.isStopped || (this.isStopped = !0, this._complete());
945
- }, t.prototype.unsubscribe = function() {
946
- this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
947
- }, t.prototype._next = function(r) {
944
+ }, e.prototype.unsubscribe = function() {
945
+ this.closed || (this.isStopped = !0, t.prototype.unsubscribe.call(this), this.destination = null);
946
+ }, e.prototype._next = function(r) {
948
947
  this.destination.next(r);
949
- }, t.prototype._error = function(r) {
948
+ }, e.prototype._error = function(r) {
950
949
  try {
951
950
  this.destination.error(r);
952
951
  } finally {
953
952
  this.unsubscribe();
954
953
  }
955
- }, t.prototype._complete = function() {
954
+ }, e.prototype._complete = function() {
956
955
  try {
957
956
  this.destination.complete();
958
957
  } finally {
959
958
  this.unsubscribe();
960
959
  }
961
- }, t;
962
- }(Te), En = Function.prototype.bind;
963
- function Re(e, t) {
964
- return En.call(e, t);
960
+ }, e;
961
+ }(Tt), En = Function.prototype.bind;
962
+ function Rt(t, e) {
963
+ return En.call(t, e);
965
964
  }
966
965
  var wn = function() {
967
- function e(t) {
968
- this.partialObserver = t;
966
+ function t(e) {
967
+ this.partialObserver = e;
969
968
  }
970
- return e.prototype.next = function(t) {
969
+ return t.prototype.next = function(e) {
971
970
  var r = this.partialObserver;
972
971
  if (r.next)
973
972
  try {
974
- r.next(t);
973
+ r.next(e);
975
974
  } catch (n) {
976
- fe(n);
975
+ ft(n);
977
976
  }
978
- }, e.prototype.error = function(t) {
977
+ }, t.prototype.error = function(e) {
979
978
  var r = this.partialObserver;
980
979
  if (r.error)
981
980
  try {
982
- r.error(t);
981
+ r.error(e);
983
982
  } catch (n) {
984
- fe(n);
983
+ ft(n);
985
984
  }
986
985
  else
987
- fe(t);
988
- }, e.prototype.complete = function() {
989
- var t = this.partialObserver;
990
- if (t.complete)
986
+ ft(e);
987
+ }, t.prototype.complete = function() {
988
+ var e = this.partialObserver;
989
+ if (e.complete)
991
990
  try {
992
- t.complete();
991
+ e.complete();
993
992
  } catch (r) {
994
- fe(r);
993
+ ft(r);
995
994
  }
996
- }, e;
997
- }(), Qe = function(e) {
998
- G(t, e);
999
- function t(r, n, i) {
1000
- var o = e.call(this) || this, a;
995
+ }, t;
996
+ }(), Qt = function(t) {
997
+ G(e, t);
998
+ function e(r, n, i) {
999
+ var o = t.call(this) || this, a;
1001
1000
  if (R(r) || !r)
1002
1001
  a = {
1003
1002
  next: r != null ? r : void 0,
@@ -1006,68 +1005,68 @@ var wn = function() {
1006
1005
  };
1007
1006
  else {
1008
1007
  var s;
1009
- o && er.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
1008
+ o && tr.useDeprecatedNextContext ? (s = Object.create(r), s.unsubscribe = function() {
1010
1009
  return o.unsubscribe();
1011
1010
  }, a = {
1012
- next: r.next && Re(r.next, s),
1013
- error: r.error && Re(r.error, s),
1014
- complete: r.complete && Re(r.complete, s)
1011
+ next: r.next && Rt(r.next, s),
1012
+ error: r.error && Rt(r.error, s),
1013
+ complete: r.complete && Rt(r.complete, s)
1015
1014
  }) : a = r;
1016
1015
  }
1017
1016
  return o.destination = new wn(a), o;
1018
1017
  }
1019
- return t;
1020
- }(rr);
1021
- function fe(e) {
1022
- xn(e);
1018
+ return e;
1019
+ }(er);
1020
+ function ft(t) {
1021
+ xn(t);
1023
1022
  }
1024
- function Sn(e) {
1025
- throw e;
1023
+ function Sn(t) {
1024
+ throw t;
1026
1025
  }
1027
1026
  var Tn = {
1028
1027
  closed: !0,
1029
- next: _t,
1028
+ next: _e,
1030
1029
  error: Sn,
1031
- complete: _t
1030
+ complete: _e
1032
1031
  }, Hn = function() {
1033
1032
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1034
1033
  }();
1035
- function Cn(e) {
1036
- return e;
1034
+ function Cn(t) {
1035
+ return t;
1037
1036
  }
1038
- function Bn(e) {
1039
- return e.length === 0 ? Cn : e.length === 1 ? e[0] : function(r) {
1040
- return e.reduce(function(n, i) {
1037
+ function Bn(t) {
1038
+ return t.length === 0 ? Cn : t.length === 1 ? t[0] : function(r) {
1039
+ return t.reduce(function(n, i) {
1041
1040
  return i(n);
1042
1041
  }, r);
1043
1042
  };
1044
1043
  }
1045
- var xt = function() {
1046
- function e(t) {
1047
- t && (this._subscribe = t);
1044
+ var xe = function() {
1045
+ function t(e) {
1046
+ e && (this._subscribe = e);
1048
1047
  }
1049
- return e.prototype.lift = function(t) {
1050
- var r = new e();
1051
- return r.source = this, r.operator = t, r;
1052
- }, e.prototype.subscribe = function(t, r, n) {
1053
- var i = this, o = Pn(t) ? t : new Qe(t, r, n);
1054
- return be(function() {
1048
+ return t.prototype.lift = function(e) {
1049
+ var r = new t();
1050
+ return r.source = this, r.operator = e, r;
1051
+ }, t.prototype.subscribe = function(e, r, n) {
1052
+ var i = this, o = Pn(e) ? e : new Qt(e, r, n);
1053
+ return bt(function() {
1055
1054
  var a = i, s = a.operator, l = a.source;
1056
1055
  o.add(s ? s.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
1057
1056
  }), o;
1058
- }, e.prototype._trySubscribe = function(t) {
1057
+ }, t.prototype._trySubscribe = function(e) {
1059
1058
  try {
1060
- return this._subscribe(t);
1059
+ return this._subscribe(e);
1061
1060
  } catch (r) {
1062
- t.error(r);
1061
+ e.error(r);
1063
1062
  }
1064
- }, e.prototype.forEach = function(t, r) {
1063
+ }, t.prototype.forEach = function(e, r) {
1065
1064
  var n = this;
1066
- return r = Et(r), new r(function(i, o) {
1067
- var a = new Qe({
1065
+ return r = Ee(r), new r(function(i, o) {
1066
+ var a = new Qt({
1068
1067
  next: function(s) {
1069
1068
  try {
1070
- t(s);
1069
+ e(s);
1071
1070
  } catch (l) {
1072
1071
  o(l), a.unsubscribe();
1073
1072
  }
@@ -1077,18 +1076,18 @@ var xt = function() {
1077
1076
  });
1078
1077
  n.subscribe(a);
1079
1078
  });
1080
- }, e.prototype._subscribe = function(t) {
1079
+ }, t.prototype._subscribe = function(e) {
1081
1080
  var r;
1082
- return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1083
- }, e.prototype[Hn] = function() {
1081
+ return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(e);
1082
+ }, t.prototype[Hn] = function() {
1084
1083
  return this;
1085
- }, e.prototype.pipe = function() {
1086
- for (var t = [], r = 0; r < arguments.length; r++)
1087
- t[r] = arguments[r];
1088
- return Bn(t)(this);
1089
- }, e.prototype.toPromise = function(t) {
1084
+ }, t.prototype.pipe = function() {
1085
+ for (var e = [], r = 0; r < arguments.length; r++)
1086
+ e[r] = arguments[r];
1087
+ return Bn(e)(this);
1088
+ }, t.prototype.toPromise = function(e) {
1090
1089
  var r = this;
1091
- return t = Et(t), new t(function(n, i) {
1090
+ return e = Ee(e), new e(function(n, i) {
1092
1091
  var o;
1093
1092
  r.subscribe(function(a) {
1094
1093
  return o = a;
@@ -1098,44 +1097,44 @@ var xt = function() {
1098
1097
  return n(o);
1099
1098
  });
1100
1099
  });
1101
- }, e.create = function(t) {
1102
- return new e(t);
1103
- }, e;
1100
+ }, t.create = function(e) {
1101
+ return new t(e);
1102
+ }, t;
1104
1103
  }();
1105
- function Et(e) {
1106
- var t;
1107
- return (t = e != null ? e : er.Promise) !== null && t !== void 0 ? t : Promise;
1104
+ function Ee(t) {
1105
+ var e;
1106
+ return (e = t != null ? t : tr.Promise) !== null && e !== void 0 ? e : Promise;
1108
1107
  }
1109
- function An(e) {
1110
- return e && R(e.next) && R(e.error) && R(e.complete);
1108
+ function An(t) {
1109
+ return t && R(t.next) && R(t.error) && R(t.complete);
1111
1110
  }
1112
- function Pn(e) {
1113
- return e && e instanceof rr || An(e) && Kt(e);
1111
+ function Pn(t) {
1112
+ return t && t instanceof er || An(t) && Ke(t);
1114
1113
  }
1115
- var Ln = Jt(function(e) {
1114
+ var Ln = qe(function(t) {
1116
1115
  return function() {
1117
- e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1116
+ t(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1118
1117
  };
1119
- }), nr = function(e) {
1120
- G(t, e);
1121
- function t() {
1122
- var r = e.call(this) || this;
1118
+ }), rr = function(t) {
1119
+ G(e, t);
1120
+ function e() {
1121
+ var r = t.call(this) || this;
1123
1122
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1124
1123
  }
1125
- return t.prototype.lift = function(r) {
1126
- var n = new wt(this, this);
1124
+ return e.prototype.lift = function(r) {
1125
+ var n = new we(this, this);
1127
1126
  return n.operator = r, n;
1128
- }, t.prototype._throwIfClosed = function() {
1127
+ }, e.prototype._throwIfClosed = function() {
1129
1128
  if (this.closed)
1130
1129
  throw new Ln();
1131
- }, t.prototype.next = function(r) {
1130
+ }, e.prototype.next = function(r) {
1132
1131
  var n = this;
1133
- be(function() {
1132
+ bt(function() {
1134
1133
  var i, o;
1135
1134
  if (n._throwIfClosed(), !n.isStopped) {
1136
1135
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
1137
1136
  try {
1138
- for (var a = ze(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1137
+ for (var a = zt(n.currentObservers), s = a.next(); !s.done; s = a.next()) {
1139
1138
  var l = s.value;
1140
1139
  l.next(r);
1141
1140
  }
@@ -1150,119 +1149,119 @@ var Ln = Jt(function(e) {
1150
1149
  }
1151
1150
  }
1152
1151
  });
1153
- }, t.prototype.error = function(r) {
1152
+ }, e.prototype.error = function(r) {
1154
1153
  var n = this;
1155
- be(function() {
1154
+ bt(function() {
1156
1155
  if (n._throwIfClosed(), !n.isStopped) {
1157
1156
  n.hasError = n.isStopped = !0, n.thrownError = r;
1158
1157
  for (var i = n.observers; i.length; )
1159
1158
  i.shift().error(r);
1160
1159
  }
1161
1160
  });
1162
- }, t.prototype.complete = function() {
1161
+ }, e.prototype.complete = function() {
1163
1162
  var r = this;
1164
- be(function() {
1163
+ bt(function() {
1165
1164
  if (r._throwIfClosed(), !r.isStopped) {
1166
1165
  r.isStopped = !0;
1167
1166
  for (var n = r.observers; n.length; )
1168
1167
  n.shift().complete();
1169
1168
  }
1170
1169
  });
1171
- }, t.prototype.unsubscribe = function() {
1170
+ }, e.prototype.unsubscribe = function() {
1172
1171
  this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
1173
- }, Object.defineProperty(t.prototype, "observed", {
1172
+ }, Object.defineProperty(e.prototype, "observed", {
1174
1173
  get: function() {
1175
1174
  var r;
1176
1175
  return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
1177
1176
  },
1178
1177
  enumerable: !1,
1179
1178
  configurable: !0
1180
- }), t.prototype._trySubscribe = function(r) {
1181
- return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
1182
- }, t.prototype._subscribe = function(r) {
1179
+ }), e.prototype._trySubscribe = function(r) {
1180
+ return this._throwIfClosed(), t.prototype._trySubscribe.call(this, r);
1181
+ }, e.prototype._subscribe = function(r) {
1183
1182
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1184
- }, t.prototype._innerSubscribe = function(r) {
1183
+ }, e.prototype._innerSubscribe = function(r) {
1185
1184
  var n = this, i = this, o = i.hasError, a = i.isStopped, s = i.observers;
1186
- return o || a ? Yt : (this.currentObservers = null, s.push(r), new Te(function() {
1187
- n.currentObservers = null, Ze(s, r);
1185
+ return o || a ? Ye : (this.currentObservers = null, s.push(r), new Tt(function() {
1186
+ n.currentObservers = null, Zt(s, r);
1188
1187
  }));
1189
- }, t.prototype._checkFinalizedStatuses = function(r) {
1188
+ }, e.prototype._checkFinalizedStatuses = function(r) {
1190
1189
  var n = this, i = n.hasError, o = n.thrownError, a = n.isStopped;
1191
1190
  i ? r.error(o) : a && r.complete();
1192
- }, t.prototype.asObservable = function() {
1193
- var r = new xt();
1191
+ }, e.prototype.asObservable = function() {
1192
+ var r = new xe();
1194
1193
  return r.source = this, r;
1195
- }, t.create = function(r, n) {
1196
- return new wt(r, n);
1197
- }, t;
1198
- }(xt), wt = function(e) {
1199
- G(t, e);
1200
- function t(r, n) {
1201
- var i = e.call(this) || this;
1194
+ }, e.create = function(r, n) {
1195
+ return new we(r, n);
1196
+ }, e;
1197
+ }(xe), we = function(t) {
1198
+ G(e, t);
1199
+ function e(r, n) {
1200
+ var i = t.call(this) || this;
1202
1201
  return i.destination = r, i.source = n, i;
1203
1202
  }
1204
- return t.prototype.next = function(r) {
1203
+ return e.prototype.next = function(r) {
1205
1204
  var n, i;
1206
1205
  (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
1207
- }, t.prototype.error = function(r) {
1206
+ }, e.prototype.error = function(r) {
1208
1207
  var n, i;
1209
1208
  (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
1210
- }, t.prototype.complete = function() {
1209
+ }, e.prototype.complete = function() {
1211
1210
  var r, n;
1212
1211
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1213
- }, t.prototype._subscribe = function(r) {
1212
+ }, e.prototype._subscribe = function(r) {
1214
1213
  var n, i;
1215
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Yt;
1216
- }, t;
1217
- }(nr), ir = {
1214
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Ye;
1215
+ }, e;
1216
+ }(rr), nr = {
1218
1217
  now: function() {
1219
- return (ir.delegate || Date).now();
1218
+ return (nr.delegate || Date).now();
1220
1219
  },
1221
1220
  delegate: void 0
1222
- }, On = function(e) {
1223
- G(t, e);
1224
- function t(r, n, i) {
1225
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = ir);
1226
- var o = e.call(this) || this;
1221
+ }, On = function(t) {
1222
+ G(e, t);
1223
+ function e(r, n, i) {
1224
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = nr);
1225
+ var o = t.call(this) || this;
1227
1226
  return o._bufferSize = r, o._windowTime = n, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = n === 1 / 0, o._bufferSize = Math.max(1, r), o._windowTime = Math.max(1, n), o;
1228
1227
  }
1229
- return t.prototype.next = function(r) {
1228
+ return e.prototype.next = function(r) {
1230
1229
  var n = this, i = n.isStopped, o = n._buffer, a = n._infiniteTimeWindow, s = n._timestampProvider, l = n._windowTime;
1231
- i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1232
- }, t.prototype._subscribe = function(r) {
1230
+ i || (o.push(r), !a && o.push(s.now() + l)), this._trimBuffer(), t.prototype.next.call(this, r);
1231
+ }, e.prototype._subscribe = function(r) {
1233
1232
  this._throwIfClosed(), this._trimBuffer();
1234
1233
  for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, a = i._buffer, s = a.slice(), l = 0; l < s.length && !r.closed; l += o ? 1 : 2)
1235
1234
  r.next(s[l]);
1236
1235
  return this._checkFinalizedStatuses(r), n;
1237
- }, t.prototype._trimBuffer = function() {
1236
+ }, e.prototype._trimBuffer = function() {
1238
1237
  var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, a = r._infiniteTimeWindow, s = (a ? 1 : 2) * n;
1239
1238
  if (n < 1 / 0 && s < o.length && o.splice(0, o.length - s), !a) {
1240
1239
  for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1241
1240
  u = h;
1242
1241
  u && o.splice(0, u + 1);
1243
1242
  }
1244
- }, t;
1245
- }(nr);
1246
- const St = [], Tt = {}, In = (e, t = 0) => {
1247
- if (St.indexOf(e) == -1) {
1248
- const r = new On(t);
1249
- Tt[e] = r, St.push(e);
1243
+ }, e;
1244
+ }(rr);
1245
+ const Se = [], Te = {}, In = (t, e = 0) => {
1246
+ if (Se.indexOf(t) == -1) {
1247
+ const r = new On(e);
1248
+ Te[t] = r, Se.push(t);
1250
1249
  }
1251
- return Tt[e];
1250
+ return Te[t];
1252
1251
  }, X = [];
1253
- function Mn(e, t) {
1252
+ function Mn(t, e) {
1254
1253
  return {
1255
- subscribe: He(e, t).subscribe
1254
+ subscribe: Ht(t, e).subscribe
1256
1255
  };
1257
1256
  }
1258
- function He(e, t = I) {
1257
+ function Ht(t, e = I) {
1259
1258
  let r;
1260
1259
  const n = /* @__PURE__ */ new Set();
1261
1260
  function i(s) {
1262
- if (kt(e, s) && (e = s, r)) {
1261
+ if (ke(t, s) && (t = s, r)) {
1263
1262
  const l = !X.length;
1264
1263
  for (const u of n)
1265
- u[1](), X.push(u, e);
1264
+ u[1](), X.push(u, t);
1266
1265
  if (l) {
1267
1266
  for (let u = 0; u < X.length; u += 2)
1268
1267
  X[u][0](X[u + 1]);
@@ -1271,21 +1270,21 @@ function He(e, t = I) {
1271
1270
  }
1272
1271
  }
1273
1272
  function o(s) {
1274
- i(s(e));
1273
+ i(s(t));
1275
1274
  }
1276
1275
  function a(s, l = I) {
1277
1276
  const u = [s, l];
1278
- return n.add(u), n.size === 1 && (r = t(i, o) || I), s(e), () => {
1277
+ return n.add(u), n.size === 1 && (r = e(i, o) || I), s(t), () => {
1279
1278
  n.delete(u), n.size === 0 && r && (r(), r = null);
1280
1279
  };
1281
1280
  }
1282
1281
  return { set: i, update: o, subscribe: a };
1283
1282
  }
1284
- function ee(e, t, r) {
1285
- const n = !Array.isArray(e), i = n ? [e] : e;
1283
+ function tt(t, e, r) {
1284
+ const n = !Array.isArray(t), i = n ? [t] : t;
1286
1285
  if (!i.every(Boolean))
1287
1286
  throw new Error("derived() expects stores as input, got a falsy value");
1288
- const o = t.length < 2;
1287
+ const o = e.length < 2;
1289
1288
  return Mn(r, (a, s) => {
1290
1289
  let l = !1;
1291
1290
  const u = [];
@@ -1294,10 +1293,10 @@ function ee(e, t, r) {
1294
1293
  if (h)
1295
1294
  return;
1296
1295
  c();
1297
- const m = t(n ? u[0] : u, a, s);
1298
- o ? a(m) : c = Se(m) ? m : I;
1296
+ const m = e(n ? u[0] : u, a, s);
1297
+ o ? a(m) : c = St(m) ? m : I;
1299
1298
  }, p = i.map(
1300
- (m, d) => Vt(
1299
+ (m, d) => Ve(
1301
1300
  m,
1302
1301
  (y) => {
1303
1302
  u[d] = y, h &= ~(1 << d), l && f();
@@ -1312,136 +1311,186 @@ function ee(e, t, r) {
1312
1311
  };
1313
1312
  });
1314
1313
  }
1315
- function Nn(e) {
1316
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1314
+ function Nn(t) {
1315
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
1317
1316
  }
1318
- var $n = function(t) {
1319
- return Rn(t) && !Gn(t);
1317
+ var $n = function(e) {
1318
+ return Rn(e) && !Gn(e);
1320
1319
  };
1321
- function Rn(e) {
1322
- return !!e && typeof e == "object";
1320
+ function Rn(t) {
1321
+ return !!t && typeof t == "object";
1323
1322
  }
1324
- function Gn(e) {
1325
- var t = Object.prototype.toString.call(e);
1326
- return t === "[object RegExp]" || t === "[object Date]" || Fn(e);
1323
+ function Gn(t) {
1324
+ var e = Object.prototype.toString.call(t);
1325
+ return e === "[object RegExp]" || e === "[object Date]" || Fn(t);
1327
1326
  }
1328
1327
  var Un = typeof Symbol == "function" && Symbol.for, Dn = Un ? Symbol.for("react.element") : 60103;
1329
- function Fn(e) {
1330
- return e.$$typeof === Dn;
1328
+ function Fn(t) {
1329
+ return t.$$typeof === Dn;
1331
1330
  }
1332
- function jn(e) {
1333
- return Array.isArray(e) ? [] : {};
1331
+ function jn(t) {
1332
+ return Array.isArray(t) ? [] : {};
1334
1333
  }
1335
- function ue(e, t) {
1336
- return t.clone !== !1 && t.isMergeableObject(e) ? q(jn(e), e, t) : e;
1334
+ function ut(t, e) {
1335
+ return e.clone !== !1 && e.isMergeableObject(t) ? J(jn(t), t, e) : t;
1337
1336
  }
1338
- function kn(e, t, r) {
1339
- return e.concat(t).map(function(n) {
1340
- return ue(n, r);
1337
+ function kn(t, e, r) {
1338
+ return t.concat(e).map(function(n) {
1339
+ return ut(n, r);
1341
1340
  });
1342
1341
  }
1343
- function Vn(e, t) {
1344
- if (!t.customMerge)
1345
- return q;
1346
- var r = t.customMerge(e);
1347
- return typeof r == "function" ? r : q;
1342
+ function Vn(t, e) {
1343
+ if (!e.customMerge)
1344
+ return J;
1345
+ var r = e.customMerge(t);
1346
+ return typeof r == "function" ? r : J;
1348
1347
  }
1349
- function Xn(e) {
1350
- return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1351
- return Object.propertyIsEnumerable.call(e, t);
1348
+ function Xn(t) {
1349
+ return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(t).filter(function(e) {
1350
+ return Object.propertyIsEnumerable.call(t, e);
1352
1351
  }) : [];
1353
1352
  }
1354
- function Ht(e) {
1355
- return Object.keys(e).concat(Xn(e));
1353
+ function He(t) {
1354
+ return Object.keys(t).concat(Xn(t));
1356
1355
  }
1357
- function or(e, t) {
1356
+ function ir(t, e) {
1358
1357
  try {
1359
- return t in e;
1358
+ return e in t;
1360
1359
  } catch (r) {
1361
1360
  return !1;
1362
1361
  }
1363
1362
  }
1364
- function zn(e, t) {
1365
- return or(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1363
+ function zn(t, e) {
1364
+ return ir(t, e) && !(Object.hasOwnProperty.call(t, e) && Object.propertyIsEnumerable.call(t, e));
1366
1365
  }
1367
- function Wn(e, t, r) {
1366
+ function Wn(t, e, r) {
1368
1367
  var n = {};
1369
- return r.isMergeableObject(e) && Ht(e).forEach(function(i) {
1370
- n[i] = ue(e[i], r);
1371
- }), Ht(t).forEach(function(i) {
1372
- zn(e, i) || (or(e, i) && r.isMergeableObject(t[i]) ? n[i] = Vn(i, r)(e[i], t[i], r) : n[i] = ue(t[i], r));
1368
+ return r.isMergeableObject(t) && He(t).forEach(function(i) {
1369
+ n[i] = ut(t[i], r);
1370
+ }), He(e).forEach(function(i) {
1371
+ zn(t, i) || (ir(t, i) && r.isMergeableObject(e[i]) ? n[i] = Vn(i, r)(t[i], e[i], r) : n[i] = ut(e[i], r));
1373
1372
  }), n;
1374
1373
  }
1375
- function q(e, t, r) {
1376
- r = r || {}, r.arrayMerge = r.arrayMerge || kn, r.isMergeableObject = r.isMergeableObject || $n, r.cloneUnlessOtherwiseSpecified = ue;
1377
- var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1378
- return o ? n ? r.arrayMerge(e, t, r) : Wn(e, t, r) : ue(t, r);
1374
+ function J(t, e, r) {
1375
+ r = r || {}, r.arrayMerge = r.arrayMerge || kn, r.isMergeableObject = r.isMergeableObject || $n, r.cloneUnlessOtherwiseSpecified = ut;
1376
+ var n = Array.isArray(e), i = Array.isArray(t), o = n === i;
1377
+ return o ? n ? r.arrayMerge(t, e, r) : Wn(t, e, r) : ut(e, r);
1379
1378
  }
1380
- q.all = function(t, r) {
1381
- if (!Array.isArray(t))
1379
+ J.all = function(e, r) {
1380
+ if (!Array.isArray(e))
1382
1381
  throw new Error("first argument should be an array");
1383
- return t.reduce(function(n, i) {
1384
- return q(n, i, r);
1382
+ return e.reduce(function(n, i) {
1383
+ return J(n, i, r);
1385
1384
  }, {});
1386
1385
  };
1387
- var Zn = q, Qn = Zn;
1388
- const qn = /* @__PURE__ */ Nn(Qn);
1389
- var g;
1390
- (function(e) {
1391
- 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";
1386
+ var Zn = J, Qn = Zn;
1387
+ const Jn = /* @__PURE__ */ Nn(Qn);
1388
+ function Gt(t, e) {
1389
+ var r = e && e.cache ? e.cache : ri, n = e && e.serializer ? e.serializer : ei, i = e && e.strategy ? e.strategy : Yn;
1390
+ return i(t, {
1391
+ cache: r,
1392
+ serializer: n
1393
+ });
1394
+ }
1395
+ function qn(t) {
1396
+ return t == null || typeof t == "number" || typeof t == "boolean";
1397
+ }
1398
+ function or(t, e, r, n) {
1399
+ var i = qn(n) ? n : r(n), o = e.get(i);
1400
+ return typeof o == "undefined" && (o = t.call(this, n), e.set(i, o)), o;
1401
+ }
1402
+ function sr(t, e, r) {
1403
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = e.get(i);
1404
+ return typeof o == "undefined" && (o = t.apply(this, n), e.set(i, o)), o;
1405
+ }
1406
+ function ae(t, e, r, n, i) {
1407
+ return r.bind(e, t, n, i);
1408
+ }
1409
+ function Yn(t, e) {
1410
+ var r = t.length === 1 ? or : sr;
1411
+ return ae(t, this, r, e.cache.create(), e.serializer);
1412
+ }
1413
+ function Kn(t, e) {
1414
+ return ae(t, this, sr, e.cache.create(), e.serializer);
1415
+ }
1416
+ function ti(t, e) {
1417
+ return ae(t, this, or, e.cache.create(), e.serializer);
1418
+ }
1419
+ var ei = function() {
1420
+ return JSON.stringify(arguments);
1421
+ };
1422
+ function ue() {
1423
+ this.cache = /* @__PURE__ */ Object.create(null);
1424
+ }
1425
+ ue.prototype.get = function(t) {
1426
+ return this.cache[t];
1427
+ };
1428
+ ue.prototype.set = function(t, e) {
1429
+ this.cache[t] = e;
1430
+ };
1431
+ var ri = {
1432
+ create: function() {
1433
+ return new ue();
1434
+ }
1435
+ }, Ut = {
1436
+ variadic: Kn,
1437
+ monadic: ti
1438
+ }, g;
1439
+ (function(t) {
1440
+ t[t.EXPECT_ARGUMENT_CLOSING_BRACE = 1] = "EXPECT_ARGUMENT_CLOSING_BRACE", t[t.EMPTY_ARGUMENT = 2] = "EMPTY_ARGUMENT", t[t.MALFORMED_ARGUMENT = 3] = "MALFORMED_ARGUMENT", t[t.EXPECT_ARGUMENT_TYPE = 4] = "EXPECT_ARGUMENT_TYPE", t[t.INVALID_ARGUMENT_TYPE = 5] = "INVALID_ARGUMENT_TYPE", t[t.EXPECT_ARGUMENT_STYLE = 6] = "EXPECT_ARGUMENT_STYLE", t[t.INVALID_NUMBER_SKELETON = 7] = "INVALID_NUMBER_SKELETON", t[t.INVALID_DATE_TIME_SKELETON = 8] = "INVALID_DATE_TIME_SKELETON", t[t.EXPECT_NUMBER_SKELETON = 9] = "EXPECT_NUMBER_SKELETON", t[t.EXPECT_DATE_TIME_SKELETON = 10] = "EXPECT_DATE_TIME_SKELETON", t[t.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE = 11] = "UNCLOSED_QUOTE_IN_ARGUMENT_STYLE", t[t.EXPECT_SELECT_ARGUMENT_OPTIONS = 12] = "EXPECT_SELECT_ARGUMENT_OPTIONS", t[t.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE = 13] = "EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE", t[t.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE = 14] = "INVALID_PLURAL_ARGUMENT_OFFSET_VALUE", t[t.EXPECT_SELECT_ARGUMENT_SELECTOR = 15] = "EXPECT_SELECT_ARGUMENT_SELECTOR", t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR = 16] = "EXPECT_PLURAL_ARGUMENT_SELECTOR", t[t.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT = 17] = "EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT", t[t.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT = 18] = "EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT", t[t.INVALID_PLURAL_ARGUMENT_SELECTOR = 19] = "INVALID_PLURAL_ARGUMENT_SELECTOR", t[t.DUPLICATE_PLURAL_ARGUMENT_SELECTOR = 20] = "DUPLICATE_PLURAL_ARGUMENT_SELECTOR", t[t.DUPLICATE_SELECT_ARGUMENT_SELECTOR = 21] = "DUPLICATE_SELECT_ARGUMENT_SELECTOR", t[t.MISSING_OTHER_CLAUSE = 22] = "MISSING_OTHER_CLAUSE", t[t.INVALID_TAG = 23] = "INVALID_TAG", t[t.INVALID_TAG_NAME = 25] = "INVALID_TAG_NAME", t[t.UNMATCHED_CLOSING_TAG = 26] = "UNMATCHED_CLOSING_TAG", t[t.UNCLOSED_TAG = 27] = "UNCLOSED_TAG";
1392
1441
  })(g || (g = {}));
1393
1442
  var E;
1394
- (function(e) {
1395
- 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";
1443
+ (function(t) {
1444
+ t[t.literal = 0] = "literal", t[t.argument = 1] = "argument", t[t.number = 2] = "number", t[t.date = 3] = "date", t[t.time = 4] = "time", t[t.select = 5] = "select", t[t.plural = 6] = "plural", t[t.pound = 7] = "pound", t[t.tag = 8] = "tag";
1396
1445
  })(E || (E = {}));
1397
- var J;
1398
- (function(e) {
1399
- e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1400
- })(J || (J = {}));
1401
- function Ct(e) {
1402
- return e.type === E.literal;
1446
+ var q;
1447
+ (function(t) {
1448
+ t[t.number = 0] = "number", t[t.dateTime = 1] = "dateTime";
1449
+ })(q || (q = {}));
1450
+ function Ce(t) {
1451
+ return t.type === E.literal;
1403
1452
  }
1404
- function Jn(e) {
1405
- return e.type === E.argument;
1453
+ function ni(t) {
1454
+ return t.type === E.argument;
1406
1455
  }
1407
- function sr(e) {
1408
- return e.type === E.number;
1456
+ function ar(t) {
1457
+ return t.type === E.number;
1409
1458
  }
1410
- function ar(e) {
1411
- return e.type === E.date;
1459
+ function ur(t) {
1460
+ return t.type === E.date;
1412
1461
  }
1413
- function ur(e) {
1414
- return e.type === E.time;
1462
+ function lr(t) {
1463
+ return t.type === E.time;
1415
1464
  }
1416
- function lr(e) {
1417
- return e.type === E.select;
1465
+ function hr(t) {
1466
+ return t.type === E.select;
1418
1467
  }
1419
- function hr(e) {
1420
- return e.type === E.plural;
1468
+ function cr(t) {
1469
+ return t.type === E.plural;
1421
1470
  }
1422
- function Yn(e) {
1423
- return e.type === E.pound;
1471
+ function ii(t) {
1472
+ return t.type === E.pound;
1424
1473
  }
1425
- function cr(e) {
1426
- return e.type === E.tag;
1474
+ function fr(t) {
1475
+ return t.type === E.tag;
1427
1476
  }
1428
- function fr(e) {
1429
- return !!(e && typeof e == "object" && e.type === J.number);
1477
+ function mr(t) {
1478
+ return !!(t && typeof t == "object" && t.type === q.number);
1430
1479
  }
1431
- function qe(e) {
1432
- return !!(e && typeof e == "object" && e.type === J.dateTime);
1480
+ function Jt(t) {
1481
+ return !!(t && typeof t == "object" && t.type === q.dateTime);
1433
1482
  }
1434
- var mr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Kn = /(?:[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;
1435
- function ei(e) {
1436
- var t = {};
1437
- return e.replace(Kn, function(r) {
1483
+ var pr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, oi = /(?:[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;
1484
+ function si(t) {
1485
+ var e = {};
1486
+ return t.replace(oi, function(r) {
1438
1487
  var n = r.length;
1439
1488
  switch (r[0]) {
1440
1489
  case "G":
1441
- t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1490
+ e.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1442
1491
  break;
1443
1492
  case "y":
1444
- t.year = n === 2 ? "2-digit" : "numeric";
1493
+ e.year = n === 2 ? "2-digit" : "numeric";
1445
1494
  break;
1446
1495
  case "Y":
1447
1496
  case "u":
@@ -1453,64 +1502,64 @@ function ei(e) {
1453
1502
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
1454
1503
  case "M":
1455
1504
  case "L":
1456
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
1505
+ e.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
1457
1506
  break;
1458
1507
  case "w":
1459
1508
  case "W":
1460
1509
  throw new RangeError("`w/W` (week) patterns are not supported");
1461
1510
  case "d":
1462
- t.day = ["numeric", "2-digit"][n - 1];
1511
+ e.day = ["numeric", "2-digit"][n - 1];
1463
1512
  break;
1464
1513
  case "D":
1465
1514
  case "F":
1466
1515
  case "g":
1467
1516
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
1468
1517
  case "E":
1469
- t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1518
+ e.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1470
1519
  break;
1471
1520
  case "e":
1472
1521
  if (n < 4)
1473
1522
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
1474
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
1523
+ e.weekday = ["short", "long", "narrow", "short"][n - 4];
1475
1524
  break;
1476
1525
  case "c":
1477
1526
  if (n < 4)
1478
1527
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
1479
- t.weekday = ["short", "long", "narrow", "short"][n - 4];
1528
+ e.weekday = ["short", "long", "narrow", "short"][n - 4];
1480
1529
  break;
1481
1530
  case "a":
1482
- t.hour12 = !0;
1531
+ e.hour12 = !0;
1483
1532
  break;
1484
1533
  case "b":
1485
1534
  case "B":
1486
1535
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
1487
1536
  case "h":
1488
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
1537
+ e.hourCycle = "h12", e.hour = ["numeric", "2-digit"][n - 1];
1489
1538
  break;
1490
1539
  case "H":
1491
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
1540
+ e.hourCycle = "h23", e.hour = ["numeric", "2-digit"][n - 1];
1492
1541
  break;
1493
1542
  case "K":
1494
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
1543
+ e.hourCycle = "h11", e.hour = ["numeric", "2-digit"][n - 1];
1495
1544
  break;
1496
1545
  case "k":
1497
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
1546
+ e.hourCycle = "h24", e.hour = ["numeric", "2-digit"][n - 1];
1498
1547
  break;
1499
1548
  case "j":
1500
1549
  case "J":
1501
1550
  case "C":
1502
1551
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
1503
1552
  case "m":
1504
- t.minute = ["numeric", "2-digit"][n - 1];
1553
+ e.minute = ["numeric", "2-digit"][n - 1];
1505
1554
  break;
1506
1555
  case "s":
1507
- t.second = ["numeric", "2-digit"][n - 1];
1556
+ e.second = ["numeric", "2-digit"][n - 1];
1508
1557
  break;
1509
1558
  case "S":
1510
1559
  case "A":
1511
1560
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
1512
1561
  case "z":
1513
- t.timeZoneName = n < 4 ? "short" : "long";
1562
+ e.timeZoneName = n < 4 ? "short" : "long";
1514
1563
  break;
1515
1564
  case "Z":
1516
1565
  case "O":
@@ -1521,15 +1570,15 @@ function ei(e) {
1521
1570
  throw new RangeError("`Z/O/v/V/X/x` (timeZone) patterns are not supported, use `z` instead");
1522
1571
  }
1523
1572
  return "";
1524
- }), t;
1573
+ }), e;
1525
1574
  }
1526
- var ti = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1527
- function ri(e) {
1528
- if (e.length === 0)
1575
+ var ai = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1576
+ function ui(t) {
1577
+ if (t.length === 0)
1529
1578
  throw new Error("Number skeleton cannot be empty");
1530
- for (var t = e.split(ti).filter(function(f) {
1579
+ for (var e = t.split(ai).filter(function(f) {
1531
1580
  return f.length > 0;
1532
- }), r = [], n = 0, i = t; n < i.length; n++) {
1581
+ }), r = [], n = 0, i = e; n < i.length; n++) {
1533
1582
  var o = i[n], a = o.split("/");
1534
1583
  if (a.length === 0)
1535
1584
  throw new Error("Invalid number skeleton");
@@ -1542,18 +1591,18 @@ function ri(e) {
1542
1591
  }
1543
1592
  return r;
1544
1593
  }
1545
- function ni(e) {
1546
- return e.replace(/^(.*?)-/, "");
1594
+ function li(t) {
1595
+ return t.replace(/^(.*?)-/, "");
1547
1596
  }
1548
- var Bt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pr = /^(@+)?(\+|#+)?[rs]?$/g, ii = /(\*)(0+)|(#+)(0+)|(0+)/g, dr = /^(0+)$/;
1549
- function At(e) {
1550
- var t = {};
1551
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pr, function(r, n, i) {
1552
- return typeof i != "string" ? (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length) : i === "+" ? t.minimumSignificantDigits = n.length : n[0] === "#" ? t.maximumSignificantDigits = n.length : (t.minimumSignificantDigits = n.length, t.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1553
- }), t;
1597
+ var Be = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, dr = /^(@+)?(\+|#+)?[rs]?$/g, hi = /(\*)(0+)|(#+)(0+)|(0+)/g, br = /^(0+)$/;
1598
+ function Ae(t) {
1599
+ var e = {};
1600
+ return t[t.length - 1] === "r" ? e.roundingPriority = "morePrecision" : t[t.length - 1] === "s" && (e.roundingPriority = "lessPrecision"), t.replace(dr, function(r, n, i) {
1601
+ return typeof i != "string" ? (e.minimumSignificantDigits = n.length, e.maximumSignificantDigits = n.length) : i === "+" ? e.minimumSignificantDigits = n.length : n[0] === "#" ? e.maximumSignificantDigits = n.length : (e.minimumSignificantDigits = n.length, e.maximumSignificantDigits = n.length + (typeof i == "string" ? i.length : 0)), "";
1602
+ }), e;
1554
1603
  }
1555
- function br(e) {
1556
- switch (e) {
1604
+ function gr(t) {
1605
+ switch (t) {
1557
1606
  case "sign-auto":
1558
1607
  return {
1559
1608
  signDisplay: "auto"
@@ -1592,113 +1641,113 @@ function br(e) {
1592
1641
  };
1593
1642
  }
1594
1643
  }
1595
- function oi(e) {
1596
- var t;
1597
- if (e[0] === "E" && e[1] === "E" ? (t = {
1644
+ function ci(t) {
1645
+ var e;
1646
+ if (t[0] === "E" && t[1] === "E" ? (e = {
1598
1647
  notation: "engineering"
1599
- }, e = e.slice(2)) : e[0] === "E" && (t = {
1648
+ }, t = t.slice(2)) : t[0] === "E" && (e = {
1600
1649
  notation: "scientific"
1601
- }, e = e.slice(1)), t) {
1602
- var r = e.slice(0, 2);
1603
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !dr.test(e))
1650
+ }, t = t.slice(1)), e) {
1651
+ var r = t.slice(0, 2);
1652
+ if (r === "+!" ? (e.signDisplay = "always", t = t.slice(2)) : r === "+?" && (e.signDisplay = "exceptZero", t = t.slice(2)), !br.test(t))
1604
1653
  throw new Error("Malformed concise eng/scientific notation");
1605
- t.minimumIntegerDigits = e.length;
1654
+ e.minimumIntegerDigits = t.length;
1606
1655
  }
1607
- return t;
1656
+ return e;
1608
1657
  }
1609
- function Pt(e) {
1610
- var t = {}, r = br(e);
1611
- return r || t;
1658
+ function Pe(t) {
1659
+ var e = {}, r = gr(t);
1660
+ return r || e;
1612
1661
  }
1613
- function si(e) {
1614
- for (var t = {}, r = 0, n = e; r < n.length; r++) {
1662
+ function fi(t) {
1663
+ for (var e = {}, r = 0, n = t; r < n.length; r++) {
1615
1664
  var i = n[r];
1616
1665
  switch (i.stem) {
1617
1666
  case "percent":
1618
1667
  case "%":
1619
- t.style = "percent";
1668
+ e.style = "percent";
1620
1669
  continue;
1621
1670
  case "%x100":
1622
- t.style = "percent", t.scale = 100;
1671
+ e.style = "percent", e.scale = 100;
1623
1672
  continue;
1624
1673
  case "currency":
1625
- t.style = "currency", t.currency = i.options[0];
1674
+ e.style = "currency", e.currency = i.options[0];
1626
1675
  continue;
1627
1676
  case "group-off":
1628
1677
  case ",_":
1629
- t.useGrouping = !1;
1678
+ e.useGrouping = !1;
1630
1679
  continue;
1631
1680
  case "precision-integer":
1632
1681
  case ".":
1633
- t.maximumFractionDigits = 0;
1682
+ e.maximumFractionDigits = 0;
1634
1683
  continue;
1635
1684
  case "measure-unit":
1636
1685
  case "unit":
1637
- t.style = "unit", t.unit = ni(i.options[0]);
1686
+ e.style = "unit", e.unit = li(i.options[0]);
1638
1687
  continue;
1639
1688
  case "compact-short":
1640
1689
  case "K":
1641
- t.notation = "compact", t.compactDisplay = "short";
1690
+ e.notation = "compact", e.compactDisplay = "short";
1642
1691
  continue;
1643
1692
  case "compact-long":
1644
1693
  case "KK":
1645
- t.notation = "compact", t.compactDisplay = "long";
1694
+ e.notation = "compact", e.compactDisplay = "long";
1646
1695
  continue;
1647
1696
  case "scientific":
1648
- t = _(_(_({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1649
- return _(_({}, l), Pt(u));
1697
+ e = _(_(_({}, e), { notation: "scientific" }), i.options.reduce(function(l, u) {
1698
+ return _(_({}, l), Pe(u));
1650
1699
  }, {}));
1651
1700
  continue;
1652
1701
  case "engineering":
1653
- t = _(_(_({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1654
- return _(_({}, l), Pt(u));
1702
+ e = _(_(_({}, e), { notation: "engineering" }), i.options.reduce(function(l, u) {
1703
+ return _(_({}, l), Pe(u));
1655
1704
  }, {}));
1656
1705
  continue;
1657
1706
  case "notation-simple":
1658
- t.notation = "standard";
1707
+ e.notation = "standard";
1659
1708
  continue;
1660
1709
  case "unit-width-narrow":
1661
- t.currencyDisplay = "narrowSymbol", t.unitDisplay = "narrow";
1710
+ e.currencyDisplay = "narrowSymbol", e.unitDisplay = "narrow";
1662
1711
  continue;
1663
1712
  case "unit-width-short":
1664
- t.currencyDisplay = "code", t.unitDisplay = "short";
1713
+ e.currencyDisplay = "code", e.unitDisplay = "short";
1665
1714
  continue;
1666
1715
  case "unit-width-full-name":
1667
- t.currencyDisplay = "name", t.unitDisplay = "long";
1716
+ e.currencyDisplay = "name", e.unitDisplay = "long";
1668
1717
  continue;
1669
1718
  case "unit-width-iso-code":
1670
- t.currencyDisplay = "symbol";
1719
+ e.currencyDisplay = "symbol";
1671
1720
  continue;
1672
1721
  case "scale":
1673
- t.scale = parseFloat(i.options[0]);
1722
+ e.scale = parseFloat(i.options[0]);
1674
1723
  continue;
1675
1724
  case "rounding-mode-floor":
1676
- t.roundingMode = "floor";
1725
+ e.roundingMode = "floor";
1677
1726
  continue;
1678
1727
  case "rounding-mode-ceiling":
1679
- t.roundingMode = "ceil";
1728
+ e.roundingMode = "ceil";
1680
1729
  continue;
1681
1730
  case "rounding-mode-down":
1682
- t.roundingMode = "trunc";
1731
+ e.roundingMode = "trunc";
1683
1732
  continue;
1684
1733
  case "rounding-mode-up":
1685
- t.roundingMode = "expand";
1734
+ e.roundingMode = "expand";
1686
1735
  continue;
1687
1736
  case "rounding-mode-half-even":
1688
- t.roundingMode = "halfEven";
1737
+ e.roundingMode = "halfEven";
1689
1738
  continue;
1690
1739
  case "rounding-mode-half-down":
1691
- t.roundingMode = "halfTrunc";
1740
+ e.roundingMode = "halfTrunc";
1692
1741
  continue;
1693
1742
  case "rounding-mode-half-up":
1694
- t.roundingMode = "halfExpand";
1743
+ e.roundingMode = "halfExpand";
1695
1744
  continue;
1696
1745
  case "integer-width":
1697
1746
  if (i.options.length > 1)
1698
1747
  throw new RangeError("integer-width stems only accept a single optional option");
1699
- i.options[0].replace(ii, function(l, u, h, c, f, p) {
1748
+ i.options[0].replace(hi, function(l, u, h, c, f, p) {
1700
1749
  if (u)
1701
- t.minimumIntegerDigits = h.length;
1750
+ e.minimumIntegerDigits = h.length;
1702
1751
  else {
1703
1752
  if (c && f)
1704
1753
  throw new Error("We currently do not support maximum integer digits");
@@ -1709,36 +1758,42 @@ function si(e) {
1709
1758
  });
1710
1759
  continue;
1711
1760
  }
1712
- if (dr.test(i.stem)) {
1713
- t.minimumIntegerDigits = i.stem.length;
1761
+ if (br.test(i.stem)) {
1762
+ e.minimumIntegerDigits = i.stem.length;
1714
1763
  continue;
1715
1764
  }
1716
- if (Bt.test(i.stem)) {
1765
+ if (Be.test(i.stem)) {
1717
1766
  if (i.options.length > 1)
1718
1767
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1719
- i.stem.replace(Bt, function(l, u, h, c, f, p) {
1720
- 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), "";
1768
+ i.stem.replace(Be, function(l, u, h, c, f, p) {
1769
+ return h === "*" ? e.minimumFractionDigits = u.length : c && c[0] === "#" ? e.maximumFractionDigits = c.length : f && p ? (e.minimumFractionDigits = f.length, e.maximumFractionDigits = f.length + p.length) : (e.minimumFractionDigits = u.length, e.maximumFractionDigits = u.length), "";
1721
1770
  });
1722
1771
  var o = i.options[0];
1723
- o === "w" ? t = _(_({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = _(_({}, t), At(o)));
1772
+ o === "w" ? e = _(_({}, e), { trailingZeroDisplay: "stripIfInteger" }) : o && (e = _(_({}, e), Ae(o)));
1724
1773
  continue;
1725
1774
  }
1726
- if (pr.test(i.stem)) {
1727
- t = _(_({}, t), At(i.stem));
1775
+ if (dr.test(i.stem)) {
1776
+ e = _(_({}, e), Ae(i.stem));
1728
1777
  continue;
1729
1778
  }
1730
- var a = br(i.stem);
1731
- a && (t = _(_({}, t), a));
1732
- var s = oi(i.stem);
1733
- s && (t = _(_({}, t), s));
1779
+ var a = gr(i.stem);
1780
+ a && (e = _(_({}, e), a));
1781
+ var s = ci(i.stem);
1782
+ s && (e = _(_({}, e), s));
1734
1783
  }
1735
- return t;
1784
+ return e;
1736
1785
  }
1737
- var me = {
1786
+ var mt = {
1738
1787
  "001": [
1739
1788
  "H",
1740
1789
  "h"
1741
1790
  ],
1791
+ 419: [
1792
+ "h",
1793
+ "H",
1794
+ "hB",
1795
+ "hb"
1796
+ ],
1742
1797
  AC: [
1743
1798
  "H",
1744
1799
  "h",
@@ -1787,8 +1842,8 @@ var me = {
1787
1842
  "hB"
1788
1843
  ],
1789
1844
  AR: [
1790
- "H",
1791
1845
  "h",
1846
+ "H",
1792
1847
  "hB",
1793
1848
  "hb"
1794
1849
  ],
@@ -1878,9 +1933,9 @@ var me = {
1878
1933
  "H"
1879
1934
  ],
1880
1935
  BO: [
1936
+ "h",
1881
1937
  "H",
1882
1938
  "hB",
1883
- "h",
1884
1939
  "hb"
1885
1940
  ],
1886
1941
  BQ: [
@@ -1957,8 +2012,8 @@ var me = {
1957
2012
  "hB"
1958
2013
  ],
1959
2014
  CL: [
1960
- "H",
1961
2015
  "h",
2016
+ "H",
1962
2017
  "hB",
1963
2018
  "hb"
1964
2019
  ],
@@ -1983,14 +2038,14 @@ var me = {
1983
2038
  "H"
1984
2039
  ],
1985
2040
  CR: [
1986
- "H",
1987
2041
  "h",
2042
+ "H",
1988
2043
  "hB",
1989
2044
  "hb"
1990
2045
  ],
1991
2046
  CU: [
1992
- "H",
1993
2047
  "h",
2048
+ "H",
1994
2049
  "hB",
1995
2050
  "hb"
1996
2051
  ],
@@ -2059,9 +2114,9 @@ var me = {
2059
2114
  "hb"
2060
2115
  ],
2061
2116
  EC: [
2117
+ "h",
2062
2118
  "H",
2063
2119
  "hB",
2064
- "h",
2065
2120
  "hb"
2066
2121
  ],
2067
2122
  EE: [
@@ -2197,8 +2252,8 @@ var me = {
2197
2252
  "hB"
2198
2253
  ],
2199
2254
  GT: [
2200
- "H",
2201
2255
  "h",
2256
+ "H",
2202
2257
  "hB",
2203
2258
  "hb"
2204
2259
  ],
@@ -2225,8 +2280,8 @@ var me = {
2225
2280
  "H"
2226
2281
  ],
2227
2282
  HN: [
2228
- "H",
2229
2283
  "h",
2284
+ "H",
2230
2285
  "hB",
2231
2286
  "hb"
2232
2287
  ],
@@ -2540,8 +2595,8 @@ var me = {
2540
2595
  "hB"
2541
2596
  ],
2542
2597
  MX: [
2543
- "H",
2544
2598
  "h",
2599
+ "H",
2545
2600
  "hB",
2546
2601
  "hb"
2547
2602
  ],
@@ -2581,8 +2636,8 @@ var me = {
2581
2636
  "hB"
2582
2637
  ],
2583
2638
  NI: [
2584
- "H",
2585
2639
  "h",
2640
+ "H",
2586
2641
  "hB",
2587
2642
  "hb"
2588
2643
  ],
@@ -2630,9 +2685,9 @@ var me = {
2630
2685
  "hb"
2631
2686
  ],
2632
2687
  PE: [
2688
+ "h",
2633
2689
  "H",
2634
2690
  "hB",
2635
- "h",
2636
2691
  "hb"
2637
2692
  ],
2638
2693
  PF: [
@@ -2690,8 +2745,8 @@ var me = {
2690
2745
  "H"
2691
2746
  ],
2692
2747
  PY: [
2693
- "H",
2694
2748
  "h",
2749
+ "H",
2695
2750
  "hB",
2696
2751
  "hb"
2697
2752
  ],
@@ -2804,8 +2859,8 @@ var me = {
2804
2859
  "hB"
2805
2860
  ],
2806
2861
  SV: [
2807
- "H",
2808
2862
  "h",
2863
+ "H",
2809
2864
  "hB",
2810
2865
  "hb"
2811
2866
  ],
@@ -2927,8 +2982,8 @@ var me = {
2927
2982
  "hB"
2928
2983
  ],
2929
2984
  UY: [
2930
- "H",
2931
2985
  "h",
2986
+ "H",
2932
2987
  "hB",
2933
2988
  "hb"
2934
2989
  ],
@@ -3036,37 +3091,37 @@ var me = {
3036
3091
  "H",
3037
3092
  "hB"
3038
3093
  ],
3039
- "es-BO": [
3040
- "H",
3094
+ "en-HK": [
3041
3095
  "h",
3042
- "hB",
3043
- "hb"
3096
+ "hb",
3097
+ "H",
3098
+ "hB"
3044
3099
  ],
3045
- "es-BR": [
3100
+ "en-IL": [
3046
3101
  "H",
3047
3102
  "h",
3048
- "hB",
3049
- "hb"
3103
+ "hb",
3104
+ "hB"
3050
3105
  ],
3051
- "es-EC": [
3052
- "H",
3106
+ "en-MY": [
3053
3107
  "h",
3054
- "hB",
3055
- "hb"
3108
+ "hb",
3109
+ "H",
3110
+ "hB"
3056
3111
  ],
3057
- "es-ES": [
3112
+ "es-BR": [
3058
3113
  "H",
3059
3114
  "h",
3060
3115
  "hB",
3061
3116
  "hb"
3062
3117
  ],
3063
- "es-GQ": [
3118
+ "es-ES": [
3064
3119
  "H",
3065
3120
  "h",
3066
3121
  "hB",
3067
3122
  "hb"
3068
3123
  ],
3069
- "es-PE": [
3124
+ "es-GQ": [
3070
3125
  "H",
3071
3126
  "h",
3072
3127
  "hB",
@@ -3143,13 +3198,13 @@ var me = {
3143
3198
  "h"
3144
3199
  ]
3145
3200
  };
3146
- function ai(e, t) {
3147
- for (var r = "", n = 0; n < e.length; n++) {
3148
- var i = e.charAt(n);
3201
+ function mi(t, e) {
3202
+ for (var r = "", n = 0; n < t.length; n++) {
3203
+ var i = t.charAt(n);
3149
3204
  if (i === "j") {
3150
- for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3205
+ for (var o = 0; n + 1 < t.length && t.charAt(n + 1) === i; )
3151
3206
  o++, n++;
3152
- var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = ui(t);
3207
+ var a = 1 + (o & 1), s = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = pi(e);
3153
3208
  for ((u == "H" || u == "k") && (s = 0); s-- > 0; )
3154
3209
  r += l;
3155
3210
  for (; a-- > 0; )
@@ -3158,12 +3213,12 @@ function ai(e, t) {
3158
3213
  }
3159
3214
  return r;
3160
3215
  }
3161
- function ui(e) {
3162
- var t = e.hourCycle;
3163
- if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3164
- e.hourCycles && // @ts-ignore
3165
- e.hourCycles.length && (t = e.hourCycles[0]), t)
3166
- switch (t) {
3216
+ function pi(t) {
3217
+ var e = t.hourCycle;
3218
+ if (e === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3219
+ t.hourCycles && // @ts-ignore
3220
+ t.hourCycles.length && (e = t.hourCycles[0]), e)
3221
+ switch (e) {
3167
3222
  case "h24":
3168
3223
  return "k";
3169
3224
  case "h23":
@@ -3175,135 +3230,135 @@ function ui(e) {
3175
3230
  default:
3176
3231
  throw new Error("Invalid hourCycle");
3177
3232
  }
3178
- var r = e.language, n;
3179
- r !== "root" && (n = e.maximize().region);
3180
- var i = me[n || ""] || me[r || ""] || me["".concat(r, "-001")] || me["001"];
3233
+ var r = t.language, n;
3234
+ r !== "root" && (n = t.maximize().region);
3235
+ var i = mt[n || ""] || mt[r || ""] || mt["".concat(r, "-001")] || mt["001"];
3181
3236
  return i[0];
3182
3237
  }
3183
- var Ge, li = new RegExp("^".concat(mr.source, "*")), hi = new RegExp("".concat(mr.source, "*$"));
3184
- function v(e, t) {
3185
- return { start: e, end: t };
3238
+ var Dt, di = new RegExp("^".concat(pr.source, "*")), bi = new RegExp("".concat(pr.source, "*$"));
3239
+ function v(t, e) {
3240
+ return { start: t, end: e };
3186
3241
  }
3187
- var ci = !!String.prototype.startsWith && "_a".startsWith("a", 1), fi = !!String.fromCodePoint, mi = !!Object.fromEntries, pi = !!String.prototype.codePointAt, di = !!String.prototype.trimStart, bi = !!String.prototype.trimEnd, gi = !!Number.isSafeInteger, yi = gi ? Number.isSafeInteger : function(e) {
3188
- return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3189
- }, Je = !0;
3242
+ var gi = !!String.prototype.startsWith && "_a".startsWith("a", 1), yi = !!String.fromCodePoint, vi = !!Object.fromEntries, _i = !!String.prototype.codePointAt, xi = !!String.prototype.trimStart, Ei = !!String.prototype.trimEnd, wi = !!Number.isSafeInteger, Si = wi ? Number.isSafeInteger : function(t) {
3243
+ return typeof t == "number" && isFinite(t) && Math.floor(t) === t && Math.abs(t) <= 9007199254740991;
3244
+ }, qt = !0;
3190
3245
  try {
3191
- var vi = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3192
- Je = ((Ge = vi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3193
- } catch (e) {
3194
- Je = !1;
3246
+ var Ti = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3247
+ qt = ((Dt = Ti.exec("a")) === null || Dt === void 0 ? void 0 : Dt[0]) === "a";
3248
+ } catch (t) {
3249
+ qt = !1;
3195
3250
  }
3196
- var Lt = ci ? (
3251
+ var Le = gi ? (
3197
3252
  // Native
3198
- function(t, r, n) {
3199
- return t.startsWith(r, n);
3253
+ function(e, r, n) {
3254
+ return e.startsWith(r, n);
3200
3255
  }
3201
3256
  ) : (
3202
3257
  // For IE11
3203
- function(t, r, n) {
3204
- return t.slice(n, n + r.length) === r;
3258
+ function(e, r, n) {
3259
+ return e.slice(n, n + r.length) === r;
3205
3260
  }
3206
- ), Ye = fi ? String.fromCodePoint : (
3261
+ ), Yt = yi ? String.fromCodePoint : (
3207
3262
  // IE11
3208
3263
  function() {
3209
- for (var t = [], r = 0; r < arguments.length; r++)
3210
- t[r] = arguments[r];
3211
- for (var n = "", i = t.length, o = 0, a; i > o; ) {
3212
- if (a = t[o++], a > 1114111)
3264
+ for (var e = [], r = 0; r < arguments.length; r++)
3265
+ e[r] = arguments[r];
3266
+ for (var n = "", i = e.length, o = 0, a; i > o; ) {
3267
+ if (a = e[o++], a > 1114111)
3213
3268
  throw RangeError(a + " is not a valid code point");
3214
3269
  n += a < 65536 ? String.fromCharCode(a) : String.fromCharCode(((a -= 65536) >> 10) + 55296, a % 1024 + 56320);
3215
3270
  }
3216
3271
  return n;
3217
3272
  }
3218
- ), Ot = (
3273
+ ), Oe = (
3219
3274
  // native
3220
- mi ? Object.fromEntries : (
3275
+ vi ? Object.fromEntries : (
3221
3276
  // Ponyfill
3222
- function(t) {
3223
- for (var r = {}, n = 0, i = t; n < i.length; n++) {
3277
+ function(e) {
3278
+ for (var r = {}, n = 0, i = e; n < i.length; n++) {
3224
3279
  var o = i[n], a = o[0], s = o[1];
3225
3280
  r[a] = s;
3226
3281
  }
3227
3282
  return r;
3228
3283
  }
3229
3284
  )
3230
- ), gr = pi ? (
3285
+ ), yr = _i ? (
3231
3286
  // Native
3232
- function(t, r) {
3233
- return t.codePointAt(r);
3287
+ function(e, r) {
3288
+ return e.codePointAt(r);
3234
3289
  }
3235
3290
  ) : (
3236
3291
  // IE 11
3237
- function(t, r) {
3238
- var n = t.length;
3292
+ function(e, r) {
3293
+ var n = e.length;
3239
3294
  if (!(r < 0 || r >= n)) {
3240
- var i = t.charCodeAt(r), o;
3241
- return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3295
+ var i = e.charCodeAt(r), o;
3296
+ return i < 55296 || i > 56319 || r + 1 === n || (o = e.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3242
3297
  }
3243
3298
  }
3244
- ), _i = di ? (
3299
+ ), Hi = xi ? (
3245
3300
  // Native
3246
- function(t) {
3247
- return t.trimStart();
3301
+ function(e) {
3302
+ return e.trimStart();
3248
3303
  }
3249
3304
  ) : (
3250
3305
  // Ponyfill
3251
- function(t) {
3252
- return t.replace(li, "");
3306
+ function(e) {
3307
+ return e.replace(di, "");
3253
3308
  }
3254
- ), xi = bi ? (
3309
+ ), Ci = Ei ? (
3255
3310
  // Native
3256
- function(t) {
3257
- return t.trimEnd();
3311
+ function(e) {
3312
+ return e.trimEnd();
3258
3313
  }
3259
3314
  ) : (
3260
3315
  // Ponyfill
3261
- function(t) {
3262
- return t.replace(hi, "");
3316
+ function(e) {
3317
+ return e.replace(bi, "");
3263
3318
  }
3264
3319
  );
3265
- function yr(e, t) {
3266
- return new RegExp(e, t);
3320
+ function vr(t, e) {
3321
+ return new RegExp(t, e);
3267
3322
  }
3268
- var Ke;
3269
- if (Je) {
3270
- var It = yr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3271
- Ke = function(t, r) {
3323
+ var Kt;
3324
+ if (qt) {
3325
+ var Ie = vr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3326
+ Kt = function(e, r) {
3272
3327
  var n;
3273
- It.lastIndex = r;
3274
- var i = It.exec(t);
3328
+ Ie.lastIndex = r;
3329
+ var i = Ie.exec(e);
3275
3330
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3276
3331
  };
3277
3332
  } else
3278
- Ke = function(t, r) {
3333
+ Kt = function(e, r) {
3279
3334
  for (var n = []; ; ) {
3280
- var i = gr(t, r);
3281
- if (i === void 0 || vr(i) || Ti(i))
3335
+ var i = yr(e, r);
3336
+ if (i === void 0 || _r(i) || Li(i))
3282
3337
  break;
3283
3338
  n.push(i), r += i >= 65536 ? 2 : 1;
3284
3339
  }
3285
- return Ye.apply(void 0, n);
3340
+ return Yt.apply(void 0, n);
3286
3341
  };
3287
- var Ei = (
3342
+ var Bi = (
3288
3343
  /** @class */
3289
3344
  function() {
3290
- function e(t, r) {
3291
- r === void 0 && (r = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
3345
+ function t(e, r) {
3346
+ r === void 0 && (r = {}), this.message = e, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!r.ignoreTag, this.locale = r.locale, this.requiresOtherClause = !!r.requiresOtherClause, this.shouldParseSkeletons = !!r.shouldParseSkeletons;
3292
3347
  }
3293
- return e.prototype.parse = function() {
3348
+ return t.prototype.parse = function() {
3294
3349
  if (this.offset() !== 0)
3295
3350
  throw Error("parser can only be used once");
3296
3351
  return this.parseMessage(0, "", !1);
3297
- }, e.prototype.parseMessage = function(t, r, n) {
3352
+ }, t.prototype.parseMessage = function(e, r, n) {
3298
3353
  for (var i = []; !this.isEOF(); ) {
3299
3354
  var o = this.char();
3300
3355
  if (o === 123) {
3301
- var a = this.parseArgument(t, n);
3356
+ var a = this.parseArgument(e, n);
3302
3357
  if (a.err)
3303
3358
  return a;
3304
3359
  i.push(a.val);
3305
3360
  } else {
3306
- if (o === 125 && t > 0)
3361
+ if (o === 125 && e > 0)
3307
3362
  break;
3308
3363
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3309
3364
  var s = this.clonePosition();
@@ -3315,13 +3370,13 @@ var Ei = (
3315
3370
  if (n)
3316
3371
  break;
3317
3372
  return this.error(g.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3318
- } else if (o === 60 && !this.ignoreTag && et(this.peek() || 0)) {
3319
- var a = this.parseTag(t, r);
3373
+ } else if (o === 60 && !this.ignoreTag && te(this.peek() || 0)) {
3374
+ var a = this.parseTag(e, r);
3320
3375
  if (a.err)
3321
3376
  return a;
3322
3377
  i.push(a.val);
3323
3378
  } else {
3324
- var a = this.parseLiteral(t, r);
3379
+ var a = this.parseLiteral(e, r);
3325
3380
  if (a.err)
3326
3381
  return a;
3327
3382
  i.push(a.val);
@@ -3329,7 +3384,7 @@ var Ei = (
3329
3384
  }
3330
3385
  }
3331
3386
  return { val: i, err: null };
3332
- }, e.prototype.parseTag = function(t, r) {
3387
+ }, t.prototype.parseTag = function(e, r) {
3333
3388
  var n = this.clonePosition();
3334
3389
  this.bump();
3335
3390
  var i = this.parseTagName();
@@ -3343,12 +3398,12 @@ var Ei = (
3343
3398
  err: null
3344
3399
  };
3345
3400
  if (this.bumpIf(">")) {
3346
- var o = this.parseMessage(t + 1, r, !0);
3401
+ var o = this.parseMessage(e + 1, r, !0);
3347
3402
  if (o.err)
3348
3403
  return o;
3349
3404
  var a = o.val, s = this.clonePosition();
3350
3405
  if (this.bumpIf("</")) {
3351
- if (this.isEOF() || !et(this.char()))
3406
+ if (this.isEOF() || !te(this.char()))
3352
3407
  return this.error(g.INVALID_TAG, v(s, this.clonePosition()));
3353
3408
  var l = this.clonePosition(), u = this.parseTagName();
3354
3409
  return i !== u ? this.error(g.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
@@ -3364,19 +3419,19 @@ var Ei = (
3364
3419
  return this.error(g.UNCLOSED_TAG, v(n, this.clonePosition()));
3365
3420
  } else
3366
3421
  return this.error(g.INVALID_TAG, v(n, this.clonePosition()));
3367
- }, e.prototype.parseTagName = function() {
3368
- var t = this.offset();
3369
- for (this.bump(); !this.isEOF() && Si(this.char()); )
3422
+ }, t.prototype.parseTagName = function() {
3423
+ var e = this.offset();
3424
+ for (this.bump(); !this.isEOF() && Pi(this.char()); )
3370
3425
  this.bump();
3371
- return this.message.slice(t, this.offset());
3372
- }, e.prototype.parseLiteral = function(t, r) {
3426
+ return this.message.slice(e, this.offset());
3427
+ }, t.prototype.parseLiteral = function(e, r) {
3373
3428
  for (var n = this.clonePosition(), i = ""; ; ) {
3374
3429
  var o = this.tryParseQuote(r);
3375
3430
  if (o) {
3376
3431
  i += o;
3377
3432
  continue;
3378
3433
  }
3379
- var a = this.tryParseUnquoted(t, r);
3434
+ var a = this.tryParseUnquoted(e, r);
3380
3435
  if (a) {
3381
3436
  i += a;
3382
3437
  continue;
@@ -3393,10 +3448,10 @@ var Ei = (
3393
3448
  val: { type: E.literal, value: i, location: l },
3394
3449
  err: null
3395
3450
  };
3396
- }, e.prototype.tryParseLeftAngleBracket = function() {
3451
+ }, t.prototype.tryParseLeftAngleBracket = function() {
3397
3452
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3398
- !wi(this.peek() || 0)) ? (this.bump(), "<") : null;
3399
- }, e.prototype.tryParseQuote = function(t) {
3453
+ !Ai(this.peek() || 0)) ? (this.bump(), "<") : null;
3454
+ }, t.prototype.tryParseQuote = function(e) {
3400
3455
  if (this.isEOF() || this.char() !== 39)
3401
3456
  return null;
3402
3457
  switch (this.peek()) {
@@ -3408,7 +3463,7 @@ var Ei = (
3408
3463
  case 125:
3409
3464
  break;
3410
3465
  case 35:
3411
- if (t === "plural" || t === "selectordinal")
3466
+ if (e === "plural" || e === "selectordinal")
3412
3467
  break;
3413
3468
  return null;
3414
3469
  default:
@@ -3429,13 +3484,13 @@ var Ei = (
3429
3484
  r.push(n);
3430
3485
  this.bump();
3431
3486
  }
3432
- return Ye.apply(void 0, r);
3433
- }, e.prototype.tryParseUnquoted = function(t, r) {
3487
+ return Yt.apply(void 0, r);
3488
+ }, t.prototype.tryParseUnquoted = function(e, r) {
3434
3489
  if (this.isEOF())
3435
3490
  return null;
3436
3491
  var n = this.char();
3437
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ye(n));
3438
- }, e.prototype.parseArgument = function(t, r) {
3492
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && e > 0 ? null : (this.bump(), Yt(n));
3493
+ }, t.prototype.parseArgument = function(e, r) {
3439
3494
  var n = this.clonePosition();
3440
3495
  if (this.bump(), this.bumpSpace(), this.isEOF())
3441
3496
  return this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition()));
@@ -3458,16 +3513,16 @@ var Ei = (
3458
3513
  err: null
3459
3514
  };
3460
3515
  case 44:
3461
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3516
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(n, this.clonePosition())) : this.parseArgumentOptions(e, r, i, n);
3462
3517
  default:
3463
3518
  return this.error(g.MALFORMED_ARGUMENT, v(n, this.clonePosition()));
3464
3519
  }
3465
- }, e.prototype.parseIdentifierIfPossible = function() {
3466
- var t = this.clonePosition(), r = this.offset(), n = Ke(this.message, r), i = r + n.length;
3520
+ }, t.prototype.parseIdentifierIfPossible = function() {
3521
+ var e = this.clonePosition(), r = this.offset(), n = Kt(this.message, r), i = r + n.length;
3467
3522
  this.bumpTo(i);
3468
- var o = this.clonePosition(), a = v(t, o);
3523
+ var o = this.clonePosition(), a = v(e, o);
3469
3524
  return { value: n, location: a };
3470
- }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3525
+ }, t.prototype.parseArgumentOptions = function(e, r, n, i) {
3471
3526
  var o, a = this.clonePosition(), s = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3472
3527
  switch (s) {
3473
3528
  case "":
@@ -3482,7 +3537,7 @@ var Ei = (
3482
3537
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3483
3538
  if (c.err)
3484
3539
  return c;
3485
- var f = xi(c.val);
3540
+ var f = Ci(c.val);
3486
3541
  if (f.length === 0)
3487
3542
  return this.error(g.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3488
3543
  var p = v(h, this.clonePosition());
@@ -3492,8 +3547,8 @@ var Ei = (
3492
3547
  if (m.err)
3493
3548
  return m;
3494
3549
  var d = v(i, this.clonePosition());
3495
- if (u && Lt(u == null ? void 0 : u.style, "::", 0)) {
3496
- var y = _i(u.style.slice(2));
3550
+ if (u && Le(u == null ? void 0 : u.style, "::", 0)) {
3551
+ var y = Hi(u.style.slice(2));
3497
3552
  if (s === "number") {
3498
3553
  var c = this.parseNumberSkeletonFromString(y, u.styleLocation);
3499
3554
  return c.err ? c : {
@@ -3504,12 +3559,12 @@ var Ei = (
3504
3559
  if (y.length === 0)
3505
3560
  return this.error(g.EXPECT_DATE_TIME_SKELETON, d);
3506
3561
  var T = y;
3507
- this.locale && (T = ai(y, this.locale));
3562
+ this.locale && (T = mi(y, this.locale));
3508
3563
  var f = {
3509
- type: J.dateTime,
3564
+ type: q.dateTime,
3510
3565
  pattern: T,
3511
3566
  location: u.styleLocation,
3512
- parsedOptions: this.shouldParseSkeletons ? ei(T) : {}
3567
+ parsedOptions: this.shouldParseSkeletons ? si(T) : {}
3513
3568
  }, B = s === "date" ? E.date : E.time;
3514
3569
  return {
3515
3570
  val: { type: B, value: n, location: d, style: f },
@@ -3544,7 +3599,7 @@ var Ei = (
3544
3599
  return c;
3545
3600
  this.bumpSpace(), C = this.parseIdentifierIfPossible(), w = c.val;
3546
3601
  }
3547
- var x = this.tryParsePluralOrSelectOptions(t, s, r, C);
3602
+ var x = this.tryParsePluralOrSelectOptions(e, s, r, C);
3548
3603
  if (x.err)
3549
3604
  return x;
3550
3605
  var m = this.tryParseArgumentClose(i);
@@ -3555,7 +3610,7 @@ var Ei = (
3555
3610
  val: {
3556
3611
  type: E.select,
3557
3612
  value: n,
3558
- options: Ot(x.val),
3613
+ options: Oe(x.val),
3559
3614
  location: L
3560
3615
  },
3561
3616
  err: null
@@ -3563,7 +3618,7 @@ var Ei = (
3563
3618
  val: {
3564
3619
  type: E.plural,
3565
3620
  value: n,
3566
- options: Ot(x.val),
3621
+ options: Oe(x.val),
3567
3622
  offset: w,
3568
3623
  pluralType: s === "plural" ? "cardinal" : "ordinal",
3569
3624
  location: L
@@ -3574,10 +3629,10 @@ var Ei = (
3574
3629
  default:
3575
3630
  return this.error(g.INVALID_ARGUMENT_TYPE, v(a, l));
3576
3631
  }
3577
- }, e.prototype.tryParseArgumentClose = function(t) {
3578
- return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3579
- }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3580
- for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3632
+ }, t.prototype.tryParseArgumentClose = function(e) {
3633
+ return this.isEOF() || this.char() !== 125 ? this.error(g.EXPECT_ARGUMENT_CLOSING_BRACE, v(e, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3634
+ }, t.prototype.parseSimpleArgStyleIfPossible = function() {
3635
+ for (var e = 0, r = this.clonePosition(); !this.isEOF(); ) {
3581
3636
  var n = this.char();
3582
3637
  switch (n) {
3583
3638
  case 39: {
@@ -3589,12 +3644,12 @@ var Ei = (
3589
3644
  break;
3590
3645
  }
3591
3646
  case 123: {
3592
- t += 1, this.bump();
3647
+ e += 1, this.bump();
3593
3648
  break;
3594
3649
  }
3595
3650
  case 125: {
3596
- if (t > 0)
3597
- t -= 1;
3651
+ if (e > 0)
3652
+ e -= 1;
3598
3653
  else
3599
3654
  return {
3600
3655
  val: this.message.slice(r.offset, this.offset()),
@@ -3611,23 +3666,23 @@ var Ei = (
3611
3666
  val: this.message.slice(r.offset, this.offset()),
3612
3667
  err: null
3613
3668
  };
3614
- }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3669
+ }, t.prototype.parseNumberSkeletonFromString = function(e, r) {
3615
3670
  var n = [];
3616
3671
  try {
3617
- n = ri(t);
3672
+ n = ui(e);
3618
3673
  } catch (i) {
3619
3674
  return this.error(g.INVALID_NUMBER_SKELETON, r);
3620
3675
  }
3621
3676
  return {
3622
3677
  val: {
3623
- type: J.number,
3678
+ type: q.number,
3624
3679
  tokens: n,
3625
3680
  location: r,
3626
- parsedOptions: this.shouldParseSkeletons ? si(n) : {}
3681
+ parsedOptions: this.shouldParseSkeletons ? fi(n) : {}
3627
3682
  },
3628
3683
  err: null
3629
3684
  };
3630
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3685
+ }, t.prototype.tryParsePluralOrSelectOptions = function(e, r, n, i) {
3631
3686
  for (var o, a = !1, s = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3632
3687
  if (u.length === 0) {
3633
3688
  var c = this.clonePosition();
@@ -3645,7 +3700,7 @@ var Ei = (
3645
3700
  var p = this.clonePosition();
3646
3701
  if (!this.bumpIf("{"))
3647
3702
  return this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : g.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3648
- var m = this.parseMessage(t + 1, r, n);
3703
+ var m = this.parseMessage(e + 1, r, n);
3649
3704
  if (m.err)
3650
3705
  return m;
3651
3706
  var d = this.tryParseArgumentClose(p);
@@ -3660,7 +3715,7 @@ var Ei = (
3660
3715
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3661
3716
  }
3662
3717
  return s.length === 0 ? this.error(r === "select" ? g.EXPECT_SELECT_ARGUMENT_SELECTOR : g.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !a ? this.error(g.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: s, err: null };
3663
- }, e.prototype.tryParseDecimalInteger = function(t, r) {
3718
+ }, t.prototype.tryParseDecimalInteger = function(e, r) {
3664
3719
  var n = 1, i = this.clonePosition();
3665
3720
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3666
3721
  for (var o = !1, a = 0; !this.isEOF(); ) {
@@ -3671,231 +3726,181 @@ var Ei = (
3671
3726
  break;
3672
3727
  }
3673
3728
  var l = v(i, this.clonePosition());
3674
- return o ? (a *= n, yi(a) ? { val: a, err: null } : this.error(r, l)) : this.error(t, l);
3675
- }, e.prototype.offset = function() {
3729
+ return o ? (a *= n, Si(a) ? { val: a, err: null } : this.error(r, l)) : this.error(e, l);
3730
+ }, t.prototype.offset = function() {
3676
3731
  return this.position.offset;
3677
- }, e.prototype.isEOF = function() {
3732
+ }, t.prototype.isEOF = function() {
3678
3733
  return this.offset() === this.message.length;
3679
- }, e.prototype.clonePosition = function() {
3734
+ }, t.prototype.clonePosition = function() {
3680
3735
  return {
3681
3736
  offset: this.position.offset,
3682
3737
  line: this.position.line,
3683
3738
  column: this.position.column
3684
3739
  };
3685
- }, e.prototype.char = function() {
3686
- var t = this.position.offset;
3687
- if (t >= this.message.length)
3740
+ }, t.prototype.char = function() {
3741
+ var e = this.position.offset;
3742
+ if (e >= this.message.length)
3688
3743
  throw Error("out of bound");
3689
- var r = gr(this.message, t);
3744
+ var r = yr(this.message, e);
3690
3745
  if (r === void 0)
3691
- throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3746
+ throw Error("Offset ".concat(e, " is at invalid UTF-16 code unit boundary"));
3692
3747
  return r;
3693
- }, e.prototype.error = function(t, r) {
3748
+ }, t.prototype.error = function(e, r) {
3694
3749
  return {
3695
3750
  val: null,
3696
3751
  err: {
3697
- kind: t,
3752
+ kind: e,
3698
3753
  message: this.message,
3699
3754
  location: r
3700
3755
  }
3701
3756
  };
3702
- }, e.prototype.bump = function() {
3757
+ }, t.prototype.bump = function() {
3703
3758
  if (!this.isEOF()) {
3704
- var t = this.char();
3705
- 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);
3759
+ var e = this.char();
3760
+ e === 10 ? (this.position.line += 1, this.position.column = 1, this.position.offset += 1) : (this.position.column += 1, this.position.offset += e < 65536 ? 1 : 2);
3706
3761
  }
3707
- }, e.prototype.bumpIf = function(t) {
3708
- if (Lt(this.message, t, this.offset())) {
3709
- for (var r = 0; r < t.length; r++)
3762
+ }, t.prototype.bumpIf = function(e) {
3763
+ if (Le(this.message, e, this.offset())) {
3764
+ for (var r = 0; r < e.length; r++)
3710
3765
  this.bump();
3711
3766
  return !0;
3712
3767
  }
3713
3768
  return !1;
3714
- }, e.prototype.bumpUntil = function(t) {
3715
- var r = this.offset(), n = this.message.indexOf(t, r);
3769
+ }, t.prototype.bumpUntil = function(e) {
3770
+ var r = this.offset(), n = this.message.indexOf(e, r);
3716
3771
  return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3717
- }, e.prototype.bumpTo = function(t) {
3718
- if (this.offset() > t)
3719
- throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3720
- for (t = Math.min(t, this.message.length); ; ) {
3772
+ }, t.prototype.bumpTo = function(e) {
3773
+ if (this.offset() > e)
3774
+ throw Error("targetOffset ".concat(e, " must be greater than or equal to the current offset ").concat(this.offset()));
3775
+ for (e = Math.min(e, this.message.length); ; ) {
3721
3776
  var r = this.offset();
3722
- if (r === t)
3777
+ if (r === e)
3723
3778
  break;
3724
- if (r > t)
3725
- throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3779
+ if (r > e)
3780
+ throw Error("targetOffset ".concat(e, " is at invalid UTF-16 code unit boundary"));
3726
3781
  if (this.bump(), this.isEOF())
3727
3782
  break;
3728
3783
  }
3729
- }, e.prototype.bumpSpace = function() {
3730
- for (; !this.isEOF() && vr(this.char()); )
3784
+ }, t.prototype.bumpSpace = function() {
3785
+ for (; !this.isEOF() && _r(this.char()); )
3731
3786
  this.bump();
3732
- }, e.prototype.peek = function() {
3787
+ }, t.prototype.peek = function() {
3733
3788
  if (this.isEOF())
3734
3789
  return null;
3735
- var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3790
+ var e = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (e >= 65536 ? 2 : 1));
3736
3791
  return n != null ? n : null;
3737
- }, e;
3792
+ }, t;
3738
3793
  }()
3739
3794
  );
3740
- function et(e) {
3741
- return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3795
+ function te(t) {
3796
+ return t >= 97 && t <= 122 || t >= 65 && t <= 90;
3742
3797
  }
3743
- function wi(e) {
3744
- return et(e) || e === 47;
3798
+ function Ai(t) {
3799
+ return te(t) || t === 47;
3745
3800
  }
3746
- function Si(e) {
3747
- 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;
3801
+ function Pi(t) {
3802
+ return t === 45 || t === 46 || t >= 48 && t <= 57 || t === 95 || t >= 97 && t <= 122 || t >= 65 && t <= 90 || t == 183 || t >= 192 && t <= 214 || t >= 216 && t <= 246 || t >= 248 && t <= 893 || t >= 895 && t <= 8191 || t >= 8204 && t <= 8205 || t >= 8255 && t <= 8256 || t >= 8304 && t <= 8591 || t >= 11264 && t <= 12271 || t >= 12289 && t <= 55295 || t >= 63744 && t <= 64975 || t >= 65008 && t <= 65533 || t >= 65536 && t <= 983039;
3748
3803
  }
3749
- function vr(e) {
3750
- return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3804
+ function _r(t) {
3805
+ return t >= 9 && t <= 13 || t === 32 || t === 133 || t >= 8206 && t <= 8207 || t === 8232 || t === 8233;
3751
3806
  }
3752
- function Ti(e) {
3753
- 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;
3807
+ function Li(t) {
3808
+ return t >= 33 && t <= 35 || t === 36 || t >= 37 && t <= 39 || t === 40 || t === 41 || t === 42 || t === 43 || t === 44 || t === 45 || t >= 46 && t <= 47 || t >= 58 && t <= 59 || t >= 60 && t <= 62 || t >= 63 && t <= 64 || t === 91 || t === 92 || t === 93 || t === 94 || t === 96 || t === 123 || t === 124 || t === 125 || t === 126 || t === 161 || t >= 162 && t <= 165 || t === 166 || t === 167 || t === 169 || t === 171 || t === 172 || t === 174 || t === 176 || t === 177 || t === 182 || t === 187 || t === 191 || t === 215 || t === 247 || t >= 8208 && t <= 8213 || t >= 8214 && t <= 8215 || t === 8216 || t === 8217 || t === 8218 || t >= 8219 && t <= 8220 || t === 8221 || t === 8222 || t === 8223 || t >= 8224 && t <= 8231 || t >= 8240 && t <= 8248 || t === 8249 || t === 8250 || t >= 8251 && t <= 8254 || t >= 8257 && t <= 8259 || t === 8260 || t === 8261 || t === 8262 || t >= 8263 && t <= 8273 || t === 8274 || t === 8275 || t >= 8277 && t <= 8286 || t >= 8592 && t <= 8596 || t >= 8597 && t <= 8601 || t >= 8602 && t <= 8603 || t >= 8604 && t <= 8607 || t === 8608 || t >= 8609 && t <= 8610 || t === 8611 || t >= 8612 && t <= 8613 || t === 8614 || t >= 8615 && t <= 8621 || t === 8622 || t >= 8623 && t <= 8653 || t >= 8654 && t <= 8655 || t >= 8656 && t <= 8657 || t === 8658 || t === 8659 || t === 8660 || t >= 8661 && t <= 8691 || t >= 8692 && t <= 8959 || t >= 8960 && t <= 8967 || t === 8968 || t === 8969 || t === 8970 || t === 8971 || t >= 8972 && t <= 8991 || t >= 8992 && t <= 8993 || t >= 8994 && t <= 9e3 || t === 9001 || t === 9002 || t >= 9003 && t <= 9083 || t === 9084 || t >= 9085 && t <= 9114 || t >= 9115 && t <= 9139 || t >= 9140 && t <= 9179 || t >= 9180 && t <= 9185 || t >= 9186 && t <= 9254 || t >= 9255 && t <= 9279 || t >= 9280 && t <= 9290 || t >= 9291 && t <= 9311 || t >= 9472 && t <= 9654 || t === 9655 || t >= 9656 && t <= 9664 || t === 9665 || t >= 9666 && t <= 9719 || t >= 9720 && t <= 9727 || t >= 9728 && t <= 9838 || t === 9839 || t >= 9840 && t <= 10087 || t === 10088 || t === 10089 || t === 10090 || t === 10091 || t === 10092 || t === 10093 || t === 10094 || t === 10095 || t === 10096 || t === 10097 || t === 10098 || t === 10099 || t === 10100 || t === 10101 || t >= 10132 && t <= 10175 || t >= 10176 && t <= 10180 || t === 10181 || t === 10182 || t >= 10183 && t <= 10213 || t === 10214 || t === 10215 || t === 10216 || t === 10217 || t === 10218 || t === 10219 || t === 10220 || t === 10221 || t === 10222 || t === 10223 || t >= 10224 && t <= 10239 || t >= 10240 && t <= 10495 || t >= 10496 && t <= 10626 || t === 10627 || t === 10628 || t === 10629 || t === 10630 || t === 10631 || t === 10632 || t === 10633 || t === 10634 || t === 10635 || t === 10636 || t === 10637 || t === 10638 || t === 10639 || t === 10640 || t === 10641 || t === 10642 || t === 10643 || t === 10644 || t === 10645 || t === 10646 || t === 10647 || t === 10648 || t >= 10649 && t <= 10711 || t === 10712 || t === 10713 || t === 10714 || t === 10715 || t >= 10716 && t <= 10747 || t === 10748 || t === 10749 || t >= 10750 && t <= 11007 || t >= 11008 && t <= 11055 || t >= 11056 && t <= 11076 || t >= 11077 && t <= 11078 || t >= 11079 && t <= 11084 || t >= 11085 && t <= 11123 || t >= 11124 && t <= 11125 || t >= 11126 && t <= 11157 || t === 11158 || t >= 11159 && t <= 11263 || t >= 11776 && t <= 11777 || t === 11778 || t === 11779 || t === 11780 || t === 11781 || t >= 11782 && t <= 11784 || t === 11785 || t === 11786 || t === 11787 || t === 11788 || t === 11789 || t >= 11790 && t <= 11798 || t === 11799 || t >= 11800 && t <= 11801 || t === 11802 || t === 11803 || t === 11804 || t === 11805 || t >= 11806 && t <= 11807 || t === 11808 || t === 11809 || t === 11810 || t === 11811 || t === 11812 || t === 11813 || t === 11814 || t === 11815 || t === 11816 || t === 11817 || t >= 11818 && t <= 11822 || t === 11823 || t >= 11824 && t <= 11833 || t >= 11834 && t <= 11835 || t >= 11836 && t <= 11839 || t === 11840 || t === 11841 || t === 11842 || t >= 11843 && t <= 11855 || t >= 11856 && t <= 11857 || t === 11858 || t >= 11859 && t <= 11903 || t >= 12289 && t <= 12291 || t === 12296 || t === 12297 || t === 12298 || t === 12299 || t === 12300 || t === 12301 || t === 12302 || t === 12303 || t === 12304 || t === 12305 || t >= 12306 && t <= 12307 || t === 12308 || t === 12309 || t === 12310 || t === 12311 || t === 12312 || t === 12313 || t === 12314 || t === 12315 || t === 12316 || t === 12317 || t >= 12318 && t <= 12319 || t === 12320 || t === 12336 || t === 64830 || t === 64831 || t >= 65093 && t <= 65094;
3754
3809
  }
3755
- function tt(e) {
3756
- e.forEach(function(t) {
3757
- if (delete t.location, lr(t) || hr(t))
3758
- for (var r in t.options)
3759
- delete t.options[r].location, tt(t.options[r].value);
3760
- else sr(t) && fr(t.style) || (ar(t) || ur(t)) && qe(t.style) ? delete t.style.location : cr(t) && tt(t.children);
3810
+ function ee(t) {
3811
+ t.forEach(function(e) {
3812
+ if (delete e.location, hr(e) || cr(e))
3813
+ for (var r in e.options)
3814
+ delete e.options[r].location, ee(e.options[r].value);
3815
+ else ar(e) && mr(e.style) || (ur(e) || lr(e)) && Jt(e.style) ? delete e.style.location : fr(e) && ee(e.children);
3761
3816
  });
3762
3817
  }
3763
- function Hi(e, t) {
3764
- t === void 0 && (t = {}), t = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3765
- var r = new Ei(e, t).parse();
3818
+ function Oi(t, e) {
3819
+ e === void 0 && (e = {}), e = _({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, e);
3820
+ var r = new Bi(t, e).parse();
3766
3821
  if (r.err) {
3767
3822
  var n = SyntaxError(g[r.err.kind]);
3768
3823
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3769
3824
  }
3770
- return t != null && t.captureLocation || tt(r.val), r.val;
3771
- }
3772
- function Ue(e, t) {
3773
- var r = t && t.cache ? t.cache : Oi, n = t && t.serializer ? t.serializer : Li, i = t && t.strategy ? t.strategy : Bi;
3774
- return i(e, {
3775
- cache: r,
3776
- serializer: n
3777
- });
3778
- }
3779
- function Ci(e) {
3780
- return e == null || typeof e == "number" || typeof e == "boolean";
3781
- }
3782
- function _r(e, t, r, n) {
3783
- var i = Ci(n) ? n : r(n), o = t.get(i);
3784
- return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
3785
- }
3786
- function xr(e, t, r) {
3787
- var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
3788
- return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
3789
- }
3790
- function at(e, t, r, n, i) {
3791
- return r.bind(t, e, n, i);
3792
- }
3793
- function Bi(e, t) {
3794
- var r = e.length === 1 ? _r : xr;
3795
- return at(e, this, r, t.cache.create(), t.serializer);
3825
+ return e != null && e.captureLocation || ee(r.val), r.val;
3796
3826
  }
3797
- function Ai(e, t) {
3798
- return at(e, this, xr, t.cache.create(), t.serializer);
3799
- }
3800
- function Pi(e, t) {
3801
- return at(e, this, _r, t.cache.create(), t.serializer);
3802
- }
3803
- var Li = function() {
3804
- return JSON.stringify(arguments);
3805
- };
3806
- function ut() {
3807
- this.cache = /* @__PURE__ */ Object.create(null);
3808
- }
3809
- ut.prototype.get = function(e) {
3810
- return this.cache[e];
3811
- };
3812
- ut.prototype.set = function(e, t) {
3813
- this.cache[e] = t;
3814
- };
3815
- var Oi = {
3816
- create: function() {
3817
- return new ut();
3818
- }
3819
- }, De = {
3820
- variadic: Ai,
3821
- monadic: Pi
3822
- }, Y;
3823
- (function(e) {
3824
- e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3827
+ var Y;
3828
+ (function(t) {
3829
+ t.MISSING_VALUE = "MISSING_VALUE", t.INVALID_VALUE = "INVALID_VALUE", t.MISSING_INTL_API = "MISSING_INTL_API";
3825
3830
  })(Y || (Y = {}));
3826
- var Ce = (
3831
+ var Ct = (
3827
3832
  /** @class */
3828
- function(e) {
3829
- G(t, e);
3830
- function t(r, n, i) {
3831
- var o = e.call(this, r) || this;
3833
+ function(t) {
3834
+ G(e, t);
3835
+ function e(r, n, i) {
3836
+ var o = t.call(this, r) || this;
3832
3837
  return o.code = n, o.originalMessage = i, o;
3833
3838
  }
3834
- return t.prototype.toString = function() {
3839
+ return e.prototype.toString = function() {
3835
3840
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3836
- }, t;
3841
+ }, e;
3837
3842
  }(Error)
3838
- ), Mt = (
3843
+ ), Me = (
3839
3844
  /** @class */
3840
- function(e) {
3841
- G(t, e);
3842
- function t(r, n, i, o) {
3843
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
3845
+ function(t) {
3846
+ G(e, t);
3847
+ function e(r, n, i, o) {
3848
+ return t.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Y.INVALID_VALUE, o) || this;
3844
3849
  }
3845
- return t;
3846
- }(Ce)
3850
+ return e;
3851
+ }(Ct)
3847
3852
  ), Ii = (
3848
3853
  /** @class */
3849
- function(e) {
3850
- G(t, e);
3851
- function t(r, n, i) {
3852
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3854
+ function(t) {
3855
+ G(e, t);
3856
+ function e(r, n, i) {
3857
+ return t.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Y.INVALID_VALUE, i) || this;
3853
3858
  }
3854
- return t;
3855
- }(Ce)
3859
+ return e;
3860
+ }(Ct)
3856
3861
  ), Mi = (
3857
3862
  /** @class */
3858
- function(e) {
3859
- G(t, e);
3860
- function t(r, n) {
3861
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3863
+ function(t) {
3864
+ G(e, t);
3865
+ function e(r, n) {
3866
+ return t.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Y.MISSING_VALUE, n) || this;
3862
3867
  }
3863
- return t;
3864
- }(Ce)
3868
+ return e;
3869
+ }(Ct)
3865
3870
  ), A;
3866
- (function(e) {
3867
- e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3871
+ (function(t) {
3872
+ t[t.literal = 0] = "literal", t[t.object = 1] = "object";
3868
3873
  })(A || (A = {}));
3869
- function Ni(e) {
3870
- return e.length < 2 ? e : e.reduce(function(t, r) {
3871
- var n = t[t.length - 1];
3872
- return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3874
+ function Ni(t) {
3875
+ return t.length < 2 ? t : t.reduce(function(e, r) {
3876
+ var n = e[e.length - 1];
3877
+ return !n || n.type !== A.literal || r.type !== A.literal ? e.push(r) : n.value += r.value, e;
3873
3878
  }, []);
3874
3879
  }
3875
- function $i(e) {
3876
- return typeof e == "function";
3880
+ function $i(t) {
3881
+ return typeof t == "function";
3877
3882
  }
3878
- function ge(e, t, r, n, i, o, a) {
3879
- if (e.length === 1 && Ct(e[0]))
3883
+ function gt(t, e, r, n, i, o, a) {
3884
+ if (t.length === 1 && Ce(t[0]))
3880
3885
  return [
3881
3886
  {
3882
3887
  type: A.literal,
3883
- value: e[0].value
3888
+ value: t[0].value
3884
3889
  }
3885
3890
  ];
3886
- for (var s = [], l = 0, u = e; l < u.length; l++) {
3891
+ for (var s = [], l = 0, u = t; l < u.length; l++) {
3887
3892
  var h = u[l];
3888
- if (Ct(h)) {
3893
+ if (Ce(h)) {
3889
3894
  s.push({
3890
3895
  type: A.literal,
3891
3896
  value: h.value
3892
3897
  });
3893
3898
  continue;
3894
3899
  }
3895
- if (Yn(h)) {
3900
+ if (ii(h)) {
3896
3901
  typeof o == "number" && s.push({
3897
3902
  type: A.literal,
3898
- value: r.getNumberFormat(t).format(o)
3903
+ value: r.getNumberFormat(e).format(o)
3899
3904
  });
3900
3905
  continue;
3901
3906
  }
@@ -3903,42 +3908,42 @@ function ge(e, t, r, n, i, o, a) {
3903
3908
  if (!(i && c in i))
3904
3909
  throw new Mi(c, a);
3905
3910
  var f = i[c];
3906
- if (Jn(h)) {
3911
+ if (ni(h)) {
3907
3912
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), s.push({
3908
3913
  type: typeof f == "string" ? A.literal : A.object,
3909
3914
  value: f
3910
3915
  });
3911
3916
  continue;
3912
3917
  }
3913
- if (ar(h)) {
3914
- var p = typeof h.style == "string" ? n.date[h.style] : qe(h.style) ? h.style.parsedOptions : void 0;
3918
+ if (ur(h)) {
3919
+ var p = typeof h.style == "string" ? n.date[h.style] : Jt(h.style) ? h.style.parsedOptions : void 0;
3915
3920
  s.push({
3916
3921
  type: A.literal,
3917
- value: r.getDateTimeFormat(t, p).format(f)
3922
+ value: r.getDateTimeFormat(e, p).format(f)
3918
3923
  });
3919
3924
  continue;
3920
3925
  }
3921
- if (ur(h)) {
3922
- var p = typeof h.style == "string" ? n.time[h.style] : qe(h.style) ? h.style.parsedOptions : n.time.medium;
3926
+ if (lr(h)) {
3927
+ var p = typeof h.style == "string" ? n.time[h.style] : Jt(h.style) ? h.style.parsedOptions : n.time.medium;
3923
3928
  s.push({
3924
3929
  type: A.literal,
3925
- value: r.getDateTimeFormat(t, p).format(f)
3930
+ value: r.getDateTimeFormat(e, p).format(f)
3926
3931
  });
3927
3932
  continue;
3928
3933
  }
3929
- if (sr(h)) {
3930
- var p = typeof h.style == "string" ? n.number[h.style] : fr(h.style) ? h.style.parsedOptions : void 0;
3934
+ if (ar(h)) {
3935
+ var p = typeof h.style == "string" ? n.number[h.style] : mr(h.style) ? h.style.parsedOptions : void 0;
3931
3936
  p && p.scale && (f = f * (p.scale || 1)), s.push({
3932
3937
  type: A.literal,
3933
- value: r.getNumberFormat(t, p).format(f)
3938
+ value: r.getNumberFormat(e, p).format(f)
3934
3939
  });
3935
3940
  continue;
3936
3941
  }
3937
- if (cr(h)) {
3942
+ if (fr(h)) {
3938
3943
  var m = h.children, d = h.value, y = i[d];
3939
3944
  if (!$i(y))
3940
3945
  throw new Ii(d, "function", a);
3941
- var T = ge(m, t, r, n, i, o), B = y(T.map(function(w) {
3946
+ var T = gt(m, e, r, n, i, o), B = y(T.map(function(w) {
3942
3947
  return w.value;
3943
3948
  }));
3944
3949
  Array.isArray(B) || (B = [B]), s.push.apply(s, B.map(function(w) {
@@ -3948,93 +3953,94 @@ function ge(e, t, r, n, i, o, a) {
3948
3953
  };
3949
3954
  }));
3950
3955
  }
3951
- if (lr(h)) {
3956
+ if (hr(h)) {
3952
3957
  var S = h.options[f] || h.options.other;
3953
3958
  if (!S)
3954
- throw new Mt(h.value, f, Object.keys(h.options), a);
3955
- s.push.apply(s, ge(S.value, t, r, n, i));
3959
+ throw new Me(h.value, f, Object.keys(h.options), a);
3960
+ s.push.apply(s, gt(S.value, e, r, n, i));
3956
3961
  continue;
3957
3962
  }
3958
- if (hr(h)) {
3963
+ if (cr(h)) {
3959
3964
  var S = h.options["=".concat(f)];
3960
3965
  if (!S) {
3961
3966
  if (!Intl.PluralRules)
3962
- throw new Ce(`Intl.PluralRules is not available in this environment.
3967
+ throw new Ct(`Intl.PluralRules is not available in this environment.
3963
3968
  Try polyfilling it using "@formatjs/intl-pluralrules"
3964
3969
  `, Y.MISSING_INTL_API, a);
3965
- var C = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3970
+ var C = r.getPluralRules(e, { type: h.pluralType }).select(f - (h.offset || 0));
3966
3971
  S = h.options[C] || h.options.other;
3967
3972
  }
3968
3973
  if (!S)
3969
- throw new Mt(h.value, f, Object.keys(h.options), a);
3970
- s.push.apply(s, ge(S.value, t, r, n, i, f - (h.offset || 0)));
3974
+ throw new Me(h.value, f, Object.keys(h.options), a);
3975
+ s.push.apply(s, gt(S.value, e, r, n, i, f - (h.offset || 0)));
3971
3976
  continue;
3972
3977
  }
3973
3978
  }
3974
3979
  return Ni(s);
3975
3980
  }
3976
- function Ri(e, t) {
3977
- return t ? _(_(_({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3978
- return r[n] = _(_({}, e[n]), t[n] || {}), r;
3979
- }, {})) : e;
3981
+ function Ri(t, e) {
3982
+ return e ? _(_(_({}, t || {}), e || {}), Object.keys(t).reduce(function(r, n) {
3983
+ return r[n] = _(_({}, t[n]), e[n] || {}), r;
3984
+ }, {})) : t;
3980
3985
  }
3981
- function Gi(e, t) {
3982
- return t ? Object.keys(e).reduce(function(r, n) {
3983
- return r[n] = Ri(e[n], t[n]), r;
3984
- }, _({}, e)) : e;
3986
+ function Gi(t, e) {
3987
+ return e ? Object.keys(t).reduce(function(r, n) {
3988
+ return r[n] = Ri(t[n], e[n]), r;
3989
+ }, _({}, t)) : t;
3985
3990
  }
3986
- function Fe(e) {
3991
+ function Ft(t) {
3987
3992
  return {
3988
3993
  create: function() {
3989
3994
  return {
3990
- get: function(t) {
3991
- return e[t];
3995
+ get: function(e) {
3996
+ return t[e];
3992
3997
  },
3993
- set: function(t, r) {
3994
- e[t] = r;
3998
+ set: function(e, r) {
3999
+ t[e] = r;
3995
4000
  }
3996
4001
  };
3997
4002
  }
3998
4003
  };
3999
4004
  }
4000
- function Ui(e) {
4001
- return e === void 0 && (e = {
4005
+ function Ui(t) {
4006
+ return t === void 0 && (t = {
4002
4007
  number: {},
4003
4008
  dateTime: {},
4004
4009
  pluralRules: {}
4005
4010
  }), {
4006
- getNumberFormat: Ue(function() {
4007
- for (var t, r = [], n = 0; n < arguments.length; n++)
4011
+ getNumberFormat: Gt(function() {
4012
+ for (var e, r = [], n = 0; n < arguments.length; n++)
4008
4013
  r[n] = arguments[n];
4009
- return new ((t = Intl.NumberFormat).bind.apply(t, Q([void 0], r, !1)))();
4014
+ return new ((e = Intl.NumberFormat).bind.apply(e, Q([void 0], r, !1)))();
4010
4015
  }, {
4011
- cache: Fe(e.number),
4012
- strategy: De.variadic
4016
+ cache: Ft(t.number),
4017
+ strategy: Ut.variadic
4013
4018
  }),
4014
- getDateTimeFormat: Ue(function() {
4015
- for (var t, r = [], n = 0; n < arguments.length; n++)
4019
+ getDateTimeFormat: Gt(function() {
4020
+ for (var e, r = [], n = 0; n < arguments.length; n++)
4016
4021
  r[n] = arguments[n];
4017
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Q([void 0], r, !1)))();
4022
+ return new ((e = Intl.DateTimeFormat).bind.apply(e, Q([void 0], r, !1)))();
4018
4023
  }, {
4019
- cache: Fe(e.dateTime),
4020
- strategy: De.variadic
4024
+ cache: Ft(t.dateTime),
4025
+ strategy: Ut.variadic
4021
4026
  }),
4022
- getPluralRules: Ue(function() {
4023
- for (var t, r = [], n = 0; n < arguments.length; n++)
4027
+ getPluralRules: Gt(function() {
4028
+ for (var e, r = [], n = 0; n < arguments.length; n++)
4024
4029
  r[n] = arguments[n];
4025
- return new ((t = Intl.PluralRules).bind.apply(t, Q([void 0], r, !1)))();
4030
+ return new ((e = Intl.PluralRules).bind.apply(e, Q([void 0], r, !1)))();
4026
4031
  }, {
4027
- cache: Fe(e.pluralRules),
4028
- strategy: De.variadic
4032
+ cache: Ft(t.pluralRules),
4033
+ strategy: Ut.variadic
4029
4034
  })
4030
4035
  };
4031
4036
  }
4032
4037
  var Di = (
4033
4038
  /** @class */
4034
4039
  function() {
4035
- function e(t, r, n, i) {
4040
+ function t(e, r, n, i) {
4041
+ r === void 0 && (r = t.defaultLocale);
4036
4042
  var o = this;
4037
- if (r === void 0 && (r = e.defaultLocale), this.formatterCache = {
4043
+ if (this.formatterCache = {
4038
4044
  number: {},
4039
4045
  dateTime: {},
4040
4046
  pluralRules: {}
@@ -4047,7 +4053,7 @@ var Di = (
4047
4053
  }, []);
4048
4054
  return h.length <= 1 ? h[0] || "" : h;
4049
4055
  }, this.formatToParts = function(l) {
4050
- return ge(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4056
+ return gt(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
4051
4057
  }, this.resolvedOptions = function() {
4052
4058
  var l;
4053
4059
  return {
@@ -4055,31 +4061,31 @@ var Di = (
4055
4061
  };
4056
4062
  }, this.getAst = function() {
4057
4063
  return o.ast;
4058
- }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4059
- if (this.message = t, !e.__parse)
4064
+ }, this.locales = r, this.resolvedLocale = t.resolveLocale(r), typeof e == "string") {
4065
+ if (this.message = e, !t.__parse)
4060
4066
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4061
4067
  var a = i || {};
4062
4068
  a.formatters;
4063
- var s = _n(a, ["formatters"]);
4064
- this.ast = e.__parse(t, _(_({}, s), { locale: this.resolvedLocale }));
4069
+ var s = vn(a, ["formatters"]);
4070
+ this.ast = t.__parse(e, _(_({}, s), { locale: this.resolvedLocale }));
4065
4071
  } else
4066
- this.ast = t;
4072
+ this.ast = e;
4067
4073
  if (!Array.isArray(this.ast))
4068
4074
  throw new TypeError("A message must be provided as a String or AST.");
4069
- this.formats = Gi(e.formats, n), this.formatters = i && i.formatters || Ui(this.formatterCache);
4075
+ this.formats = Gi(t.formats, n), this.formatters = i && i.formatters || Ui(this.formatterCache);
4070
4076
  }
4071
- return Object.defineProperty(e, "defaultLocale", {
4077
+ return Object.defineProperty(t, "defaultLocale", {
4072
4078
  get: function() {
4073
- return e.memoizedDefaultLocale || (e.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), e.memoizedDefaultLocale;
4079
+ return t.memoizedDefaultLocale || (t.memoizedDefaultLocale = new Intl.NumberFormat().resolvedOptions().locale), t.memoizedDefaultLocale;
4074
4080
  },
4075
4081
  enumerable: !1,
4076
4082
  configurable: !0
4077
- }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
4083
+ }), t.memoizedDefaultLocale = null, t.resolveLocale = function(e) {
4078
4084
  if (typeof Intl.Locale != "undefined") {
4079
- var r = Intl.NumberFormat.supportedLocalesOf(t);
4080
- return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4085
+ var r = Intl.NumberFormat.supportedLocalesOf(e);
4086
+ return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof e == "string" ? e : e[0]);
4081
4087
  }
4082
- }, e.__parse = Hi, e.formats = {
4088
+ }, t.__parse = Oi, t.formats = {
4083
4089
  number: {
4084
4090
  integer: {
4085
4091
  maximumFractionDigits: 0
@@ -4137,16 +4143,16 @@ var Di = (
4137
4143
  timeZoneName: "short"
4138
4144
  }
4139
4145
  }
4140
- }, e;
4146
+ }, t;
4141
4147
  }()
4142
4148
  );
4143
- function Fi(e, t) {
4144
- if (t == null)
4149
+ function Fi(t, e) {
4150
+ if (e == null)
4145
4151
  return;
4146
- if (t in e)
4147
- return e[t];
4148
- const r = t.split(".");
4149
- let n = e;
4152
+ if (e in t)
4153
+ return t[e];
4154
+ const r = e.split(".");
4155
+ let n = t;
4150
4156
  for (let i = 0; i < r.length; i++)
4151
4157
  if (typeof n == "object") {
4152
4158
  if (i > 0) {
@@ -4161,90 +4167,90 @@ function Fi(e, t) {
4161
4167
  n = void 0;
4162
4168
  return n;
4163
4169
  }
4164
- const D = {}, ji = (e, t, r) => r && (t in D || (D[t] = {}), e in D[t] || (D[t][e] = r), r), Er = (e, t) => {
4165
- if (t == null)
4170
+ const D = {}, ji = (t, e, r) => r && (e in D || (D[e] = {}), t in D[e] || (D[e][t] = r), r), xr = (t, e) => {
4171
+ if (e == null)
4166
4172
  return;
4167
- if (t in D && e in D[t])
4168
- return D[t][e];
4169
- const r = Be(t);
4173
+ if (e in D && t in D[e])
4174
+ return D[e][t];
4175
+ const r = Bt(e);
4170
4176
  for (let n = 0; n < r.length; n++) {
4171
- const i = r[n], o = Vi(i, e);
4177
+ const i = r[n], o = Vi(i, t);
4172
4178
  if (o)
4173
- return ji(e, t, o);
4179
+ return ji(t, e, o);
4174
4180
  }
4175
4181
  };
4176
- let lt;
4177
- const ce = He({});
4178
- function ki(e) {
4179
- return lt[e] || null;
4182
+ let le;
4183
+ const ct = Ht({});
4184
+ function ki(t) {
4185
+ return le[t] || null;
4180
4186
  }
4181
- function wr(e) {
4182
- return e in lt;
4187
+ function Er(t) {
4188
+ return t in le;
4183
4189
  }
4184
- function Vi(e, t) {
4185
- if (!wr(e))
4190
+ function Vi(t, e) {
4191
+ if (!Er(t))
4186
4192
  return null;
4187
- const r = ki(e);
4188
- return Fi(r, t);
4193
+ const r = ki(t);
4194
+ return Fi(r, e);
4189
4195
  }
4190
- function Xi(e) {
4191
- if (e == null)
4196
+ function Xi(t) {
4197
+ if (t == null)
4192
4198
  return;
4193
- const t = Be(e);
4194
- for (let r = 0; r < t.length; r++) {
4195
- const n = t[r];
4196
- if (wr(n))
4199
+ const e = Bt(t);
4200
+ for (let r = 0; r < e.length; r++) {
4201
+ const n = e[r];
4202
+ if (Er(n))
4197
4203
  return n;
4198
4204
  }
4199
4205
  }
4200
- function Sr(e, ...t) {
4201
- delete D[e], ce.update((r) => (r[e] = qn.all([r[e] || {}, ...t]), r));
4206
+ function wr(t, ...e) {
4207
+ delete D[t], ct.update((r) => (r[t] = Jn.all([r[t] || {}, ...e]), r));
4202
4208
  }
4203
- ee(
4204
- [ce],
4205
- ([e]) => Object.keys(e)
4209
+ tt(
4210
+ [ct],
4211
+ ([t]) => Object.keys(t)
4206
4212
  );
4207
- ce.subscribe((e) => lt = e);
4208
- const ye = {};
4209
- function zi(e, t) {
4210
- ye[e].delete(t), ye[e].size === 0 && delete ye[e];
4211
- }
4212
- function Tr(e) {
4213
- return ye[e];
4214
- }
4215
- function Wi(e) {
4216
- return Be(e).map((t) => {
4217
- const r = Tr(t);
4218
- return [t, r ? [...r] : []];
4219
- }).filter(([, t]) => t.length > 0);
4220
- }
4221
- function rt(e) {
4222
- return e == null ? !1 : Be(e).some(
4223
- (t) => {
4213
+ ct.subscribe((t) => le = t);
4214
+ const yt = {};
4215
+ function zi(t, e) {
4216
+ yt[t].delete(e), yt[t].size === 0 && delete yt[t];
4217
+ }
4218
+ function Sr(t) {
4219
+ return yt[t];
4220
+ }
4221
+ function Wi(t) {
4222
+ return Bt(t).map((e) => {
4223
+ const r = Sr(e);
4224
+ return [e, r ? [...r] : []];
4225
+ }).filter(([, e]) => e.length > 0);
4226
+ }
4227
+ function re(t) {
4228
+ return t == null ? !1 : Bt(t).some(
4229
+ (e) => {
4224
4230
  var r;
4225
- return (r = Tr(t)) == null ? void 0 : r.size;
4231
+ return (r = Sr(e)) == null ? void 0 : r.size;
4226
4232
  }
4227
4233
  );
4228
4234
  }
4229
- function Zi(e, t) {
4235
+ function Zi(t, e) {
4230
4236
  return Promise.all(
4231
- t.map((n) => (zi(e, n), n().then((i) => i.default || i)))
4232
- ).then((n) => Sr(e, ...n));
4233
- }
4234
- const ie = {};
4235
- function Hr(e) {
4236
- if (!rt(e))
4237
- return e in ie ? ie[e] : Promise.resolve();
4238
- const t = Wi(e);
4239
- return ie[e] = Promise.all(
4240
- t.map(
4237
+ e.map((n) => (zi(t, n), n().then((i) => i.default || i)))
4238
+ ).then((n) => wr(t, ...n));
4239
+ }
4240
+ const it = {};
4241
+ function Tr(t) {
4242
+ if (!re(t))
4243
+ return t in it ? it[t] : Promise.resolve();
4244
+ const e = Wi(t);
4245
+ return it[t] = Promise.all(
4246
+ e.map(
4241
4247
  ([r, n]) => Zi(r, n)
4242
4248
  )
4243
4249
  ).then(() => {
4244
- if (rt(e))
4245
- return Hr(e);
4246
- delete ie[e];
4247
- }), ie[e];
4250
+ if (re(t))
4251
+ return Tr(t);
4252
+ delete it[t];
4253
+ }), it[t];
4248
4254
  }
4249
4255
  const Qi = {
4250
4256
  number: {
@@ -4275,138 +4281,138 @@ const Qi = {
4275
4281
  timeZoneName: "short"
4276
4282
  }
4277
4283
  }
4278
- }, qi = {
4284
+ }, Ji = {
4279
4285
  fallbackLocale: null,
4280
4286
  loadingDelay: 200,
4281
4287
  formats: Qi,
4282
4288
  warnOnMissingMessages: !0,
4283
4289
  handleMissingMessage: void 0,
4284
4290
  ignoreTag: !0
4285
- }, Ji = qi;
4291
+ }, qi = Ji;
4286
4292
  function K() {
4287
- return Ji;
4288
- }
4289
- const je = He(!1);
4290
- var Yi = Object.defineProperty, Ki = Object.defineProperties, eo = Object.getOwnPropertyDescriptors, Nt = Object.getOwnPropertySymbols, to = Object.prototype.hasOwnProperty, ro = Object.prototype.propertyIsEnumerable, $t = (e, t, r) => t in e ? Yi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, no = (e, t) => {
4291
- for (var r in t || (t = {}))
4292
- to.call(t, r) && $t(e, r, t[r]);
4293
- if (Nt)
4294
- for (var r of Nt(t))
4295
- ro.call(t, r) && $t(e, r, t[r]);
4296
- return e;
4297
- }, io = (e, t) => Ki(e, eo(t));
4298
- let nt;
4299
- const Ee = He(null);
4300
- function Rt(e) {
4301
- return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4293
+ return qi;
4294
+ }
4295
+ const jt = Ht(!1);
4296
+ var Yi = Object.defineProperty, Ki = Object.defineProperties, to = Object.getOwnPropertyDescriptors, Ne = Object.getOwnPropertySymbols, eo = Object.prototype.hasOwnProperty, ro = Object.prototype.propertyIsEnumerable, $e = (t, e, r) => e in t ? Yi(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, no = (t, e) => {
4297
+ for (var r in e || (e = {}))
4298
+ eo.call(e, r) && $e(t, r, e[r]);
4299
+ if (Ne)
4300
+ for (var r of Ne(e))
4301
+ ro.call(e, r) && $e(t, r, e[r]);
4302
+ return t;
4303
+ }, io = (t, e) => Ki(t, to(e));
4304
+ let ne;
4305
+ const Et = Ht(null);
4306
+ function Re(t) {
4307
+ return t.split("-").map((e, r, n) => n.slice(0, r + 1).join("-")).reverse();
4302
4308
  }
4303
- function Be(e, t = K().fallbackLocale) {
4304
- const r = Rt(e);
4305
- return t ? [.../* @__PURE__ */ new Set([...r, ...Rt(t)])] : r;
4309
+ function Bt(t, e = K().fallbackLocale) {
4310
+ const r = Re(t);
4311
+ return e ? [.../* @__PURE__ */ new Set([...r, ...Re(e)])] : r;
4306
4312
  }
4307
4313
  function j() {
4308
- return nt != null ? nt : void 0;
4314
+ return ne != null ? ne : void 0;
4309
4315
  }
4310
- Ee.subscribe((e) => {
4311
- nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4316
+ Et.subscribe((t) => {
4317
+ ne = t != null ? t : void 0, typeof window != "undefined" && t != null && document.documentElement.setAttribute("lang", t);
4312
4318
  });
4313
- const oo = (e) => {
4314
- if (e && Xi(e) && rt(e)) {
4315
- const { loadingDelay: t } = K();
4319
+ const oo = (t) => {
4320
+ if (t && Xi(t) && re(t)) {
4321
+ const { loadingDelay: e } = K();
4316
4322
  let r;
4317
- return typeof window != "undefined" && j() != null && t ? r = window.setTimeout(
4318
- () => je.set(!0),
4319
- t
4320
- ) : je.set(!0), Hr(e).then(() => {
4321
- Ee.set(e);
4323
+ return typeof window != "undefined" && j() != null && e ? r = window.setTimeout(
4324
+ () => jt.set(!0),
4325
+ e
4326
+ ) : jt.set(!0), Tr(t).then(() => {
4327
+ Et.set(t);
4322
4328
  }).finally(() => {
4323
- clearTimeout(r), je.set(!1);
4329
+ clearTimeout(r), jt.set(!1);
4324
4330
  });
4325
4331
  }
4326
- return Ee.set(e);
4327
- }, te = io(no({}, Ee), {
4332
+ return Et.set(t);
4333
+ }, et = io(no({}, Et), {
4328
4334
  set: oo
4329
- }), Ae = (e) => {
4330
- const t = /* @__PURE__ */ Object.create(null);
4335
+ }), At = (t) => {
4336
+ const e = /* @__PURE__ */ Object.create(null);
4331
4337
  return (n) => {
4332
4338
  const i = JSON.stringify(n);
4333
- return i in t ? t[i] : t[i] = e(n);
4339
+ return i in e ? e[i] : e[i] = t(n);
4334
4340
  };
4335
4341
  };
4336
- var so = Object.defineProperty, we = Object.getOwnPropertySymbols, Cr = Object.prototype.hasOwnProperty, Br = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? so(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ht = (e, t) => {
4337
- for (var r in t || (t = {}))
4338
- Cr.call(t, r) && Gt(e, r, t[r]);
4339
- if (we)
4340
- for (var r of we(t))
4341
- Br.call(t, r) && Gt(e, r, t[r]);
4342
- return e;
4343
- }, re = (e, t) => {
4342
+ var so = Object.defineProperty, wt = Object.getOwnPropertySymbols, Hr = Object.prototype.hasOwnProperty, Cr = Object.prototype.propertyIsEnumerable, Ge = (t, e, r) => e in t ? so(t, e, { enumerable: !0, configurable: !0, writable: !0, value: r }) : t[e] = r, he = (t, e) => {
4343
+ for (var r in e || (e = {}))
4344
+ Hr.call(e, r) && Ge(t, r, e[r]);
4345
+ if (wt)
4346
+ for (var r of wt(e))
4347
+ Cr.call(e, r) && Ge(t, r, e[r]);
4348
+ return t;
4349
+ }, rt = (t, e) => {
4344
4350
  var r = {};
4345
- for (var n in e)
4346
- Cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4347
- if (e != null && we)
4348
- for (var n of we(e))
4349
- t.indexOf(n) < 0 && Br.call(e, n) && (r[n] = e[n]);
4351
+ for (var n in t)
4352
+ Hr.call(t, n) && e.indexOf(n) < 0 && (r[n] = t[n]);
4353
+ if (t != null && wt)
4354
+ for (var n of wt(t))
4355
+ e.indexOf(n) < 0 && Cr.call(t, n) && (r[n] = t[n]);
4350
4356
  return r;
4351
4357
  };
4352
- const le = (e, t) => {
4358
+ const lt = (t, e) => {
4353
4359
  const { formats: r } = K();
4354
- if (e in r && t in r[e])
4355
- return r[e][t];
4356
- throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4357
- }, ao = Ae(
4358
- (e) => {
4359
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4360
+ if (t in r && e in r[t])
4361
+ return r[t][e];
4362
+ throw new Error(`[svelte-i18n] Unknown "${e}" ${t} format.`);
4363
+ }, ao = At(
4364
+ (t) => {
4365
+ var e = t, { locale: r, format: n } = e, i = rt(e, ["locale", "format"]);
4360
4366
  if (r == null)
4361
4367
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4362
- return n && (i = le("number", n)), new Intl.NumberFormat(r, i);
4368
+ return n && (i = lt("number", n)), new Intl.NumberFormat(r, i);
4363
4369
  }
4364
- ), uo = Ae(
4365
- (e) => {
4366
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4370
+ ), uo = At(
4371
+ (t) => {
4372
+ var e = t, { locale: r, format: n } = e, i = rt(e, ["locale", "format"]);
4367
4373
  if (r == null)
4368
4374
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4369
- return n ? i = le("date", n) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(r, i);
4375
+ return n ? i = lt("date", n) : Object.keys(i).length === 0 && (i = lt("date", "short")), new Intl.DateTimeFormat(r, i);
4370
4376
  }
4371
- ), lo = Ae(
4372
- (e) => {
4373
- var t = e, { locale: r, format: n } = t, i = re(t, ["locale", "format"]);
4377
+ ), lo = At(
4378
+ (t) => {
4379
+ var e = t, { locale: r, format: n } = e, i = rt(e, ["locale", "format"]);
4374
4380
  if (r == null)
4375
4381
  throw new Error(
4376
4382
  '[svelte-i18n] A "locale" must be set to format time values'
4377
4383
  );
4378
- return n ? i = le("time", n) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(r, i);
4384
+ return n ? i = lt("time", n) : Object.keys(i).length === 0 && (i = lt("time", "short")), new Intl.DateTimeFormat(r, i);
4379
4385
  }
4380
- ), ho = (e = {}) => {
4381
- var t = e, {
4386
+ ), ho = (t = {}) => {
4387
+ var e = t, {
4382
4388
  locale: r = j()
4383
- } = t, n = re(t, [
4389
+ } = e, n = rt(e, [
4384
4390
  "locale"
4385
4391
  ]);
4386
- return ao(ht({ locale: r }, n));
4387
- }, co = (e = {}) => {
4388
- var t = e, {
4392
+ return ao(he({ locale: r }, n));
4393
+ }, co = (t = {}) => {
4394
+ var e = t, {
4389
4395
  locale: r = j()
4390
- } = t, n = re(t, [
4396
+ } = e, n = rt(e, [
4391
4397
  "locale"
4392
4398
  ]);
4393
- return uo(ht({ locale: r }, n));
4394
- }, fo = (e = {}) => {
4395
- var t = e, {
4399
+ return uo(he({ locale: r }, n));
4400
+ }, fo = (t = {}) => {
4401
+ var e = t, {
4396
4402
  locale: r = j()
4397
- } = t, n = re(t, [
4403
+ } = e, n = rt(e, [
4398
4404
  "locale"
4399
4405
  ]);
4400
- return lo(ht({ locale: r }, n));
4401
- }, mo = Ae(
4406
+ return lo(he({ locale: r }, n));
4407
+ }, mo = At(
4402
4408
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4403
- (e, t = j()) => new Di(e, t, K().formats, {
4409
+ (t, e = j()) => new Di(t, e, K().formats, {
4404
4410
  ignoreTag: K().ignoreTag
4405
4411
  })
4406
- ), po = (e, t = {}) => {
4412
+ ), po = (t, e = {}) => {
4407
4413
  var r, n, i, o;
4408
- let a = t;
4409
- typeof e == "object" && (a = e, e = a.id);
4414
+ let a = e;
4415
+ typeof t == "object" && (a = t, t = a.id);
4410
4416
  const {
4411
4417
  values: s,
4412
4418
  locale: l = j(),
@@ -4416,12 +4422,12 @@ const le = (e, t) => {
4416
4422
  throw new Error(
4417
4423
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4418
4424
  );
4419
- let h = Er(e, l);
4425
+ let h = xr(t, l);
4420
4426
  if (!h)
4421
- h = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4427
+ h = (o = (i = (n = (r = K()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: t, defaultValue: u })) != null ? i : u) != null ? o : t;
4422
4428
  else if (typeof h != "string")
4423
4429
  return console.warn(
4424
- `[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.`
4430
+ `[svelte-i18n] Message with id "${t}" must be of type "string", found: "${typeof h}". Gettin its value through the "$format" method is deprecated; use the "json" method instead.`
4425
4431
  ), h;
4426
4432
  if (!s)
4427
4433
  return h;
@@ -4430,25 +4436,25 @@ const le = (e, t) => {
4430
4436
  c = mo(h, l).format(s);
4431
4437
  } catch (f) {
4432
4438
  f instanceof Error && console.warn(
4433
- `[svelte-i18n] Message "${e}" has syntax error:`,
4439
+ `[svelte-i18n] Message "${t}" has syntax error:`,
4434
4440
  f.message
4435
4441
  );
4436
4442
  }
4437
4443
  return c;
4438
- }, bo = (e, t) => fo(t).format(e), go = (e, t) => co(t).format(e), yo = (e, t) => ho(t).format(e), vo = (e, t = j()) => Er(e, t), _o = ee([te, ce], () => po);
4439
- ee([te], () => bo);
4440
- ee([te], () => go);
4441
- ee([te], () => yo);
4442
- ee([te, ce], () => vo);
4444
+ }, bo = (t, e) => fo(e).format(t), go = (t, e) => co(e).format(t), yo = (t, e) => ho(e).format(t), vo = (t, e = j()) => xr(t, e), _o = tt([et, ct], () => po);
4445
+ tt([et], () => bo);
4446
+ tt([et], () => go);
4447
+ tt([et], () => yo);
4448
+ tt([et, ct], () => vo);
4443
4449
  window.emWidgets = { topic: In };
4444
- const xo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4445
- function Ut(e, t) {
4446
- Sr(e, t);
4450
+ const xo = (t) => t.toLowerCase().match(/android/i) ? "Android" : t.toLowerCase().match(/iphone/i) ? "iPhone" : t.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4451
+ function Ue(t, e) {
4452
+ wr(t, e);
4447
4453
  }
4448
- function Eo(e) {
4449
- te.set(e);
4454
+ function Eo(t) {
4455
+ et.set(t);
4450
4456
  }
4451
- const Dt = {
4457
+ const De = {
4452
4458
  en: {
4453
4459
  cancel: "Cancel",
4454
4460
  confirm: "Confirm"
@@ -4490,131 +4496,131 @@ const Dt = {
4490
4496
  confirm: "Onaylamak"
4491
4497
  }
4492
4498
  };
4493
- function wo(e) {
4494
- Zr(e, "svelte-1jqx48g", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emfe-w-button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
4499
+ function wo(t) {
4500
+ Wr(t, "svelte-1pkvhrt", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GamingLimitsConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:rgba(0, 0, 0, 0.7);display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GamingLimitsConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GamingLimitsConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 20px)}.GamingLimitsConfirmationContainerMobile{padding:40px;max-width:330px}.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsCancelButton,.GamingLimitsConfirmationContainerMobile .GamingLimitsConfirmationControlAreaMobile .GamingLimitsConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GamingLimitsConfirmationContent{font-size:18px;font-weight:300}.GamingLimitsConfirmationControlArea{display:grid;grid-template-columns:1fr 1fr;grid-gap:10px;direction:ltr;margin-top:30px}.GamingLimitsConfirmationControlArea .GamingLimitsCancelButton,.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background:transparent;border:1px solid #BFCBC3;color:#BFCBC3;cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-medium, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GamingLimitsConfirmationControlArea .GamingLimitsConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GamingLimitsConfirmationMobileWrapper{border:none;padding:0}');
4495
4501
  }
4496
- const So = (e) => ({}), Ft = (e) => ({});
4497
- function To(e) {
4498
- let t, r;
4502
+ const So = (t) => ({}), Fe = (t) => ({});
4503
+ function To(t) {
4504
+ let e, r;
4499
4505
  return {
4500
4506
  c() {
4501
- t = bt("svg"), r = bt("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(t, "class", "w-6 h-6"), H(t, "fill", "none"), H(t, "stroke", "currentColor"), H(t, "viewBox", "0 0 24 24"), H(t, "xmlns", "http://www.w3.org/2000/svg");
4507
+ e = be("svg"), r = be("path"), H(r, "stroke-linecap", "round"), H(r, "stroke-linejoin", "round"), H(r, "stroke-width", "2"), H(r, "d", "M6 18L18 6M6 6l12 12"), H(e, "class", "w-6 h-6"), H(e, "fill", "none"), H(e, "stroke", "currentColor"), H(e, "viewBox", "0 0 24 24"), H(e, "xmlns", "http://www.w3.org/2000/svg");
4502
4508
  },
4503
4509
  m(n, i) {
4504
- st(n, t, i), P(t, r);
4510
+ se(n, e, i), P(e, r);
4505
4511
  },
4506
4512
  p: I,
4507
4513
  d(n) {
4508
- n && he(t);
4514
+ n && ht(e);
4509
4515
  }
4510
4516
  };
4511
4517
  }
4512
- function Ho(e) {
4513
- let t, r, n, i, o, a, s, l, u, h = (
4518
+ function Ho(t) {
4519
+ let e, r, n, i, o, a, s, l, u, h = (
4514
4520
  /*$_*/
4515
- e[2]("cancel") + ""
4521
+ t[2]("cancel") + ""
4516
4522
  ), c, f, p, m = (
4517
4523
  /*$_*/
4518
- e[2]("confirm") + ""
4524
+ t[2]("confirm") + ""
4519
4525
  ), d, y, T, B;
4520
4526
  const S = (
4521
4527
  /*#slots*/
4522
- e[13].close
4523
- ), C = jr(
4528
+ t[13].close
4529
+ ), C = Fr(
4524
4530
  S,
4525
- e,
4531
+ t,
4526
4532
  /*$$scope*/
4527
- e[12],
4528
- Ft
4533
+ t[12],
4534
+ Fe
4529
4535
  ), w = C || To();
4530
4536
  return {
4531
4537
  c() {
4532
- t = M("div"), r = M("div"), n = M("span"), w && w.c(), i = Le(), o = M("div"), a = oe(
4538
+ e = M("div"), r = M("div"), n = M("span"), w && w.c(), i = Lt(), o = M("div"), a = ot(
4533
4539
  /*modaltext*/
4534
- e[0]
4535
- ), s = Le(), l = M("div"), u = M("button"), c = oe(h), f = Le(), p = M("button"), d = oe(m), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(o, "class", "GamingLimitsConfirmationContent"), H(u, "class", "GamingLimitsCancelButton"), H(p, "class", "GamingLimitsConfirmButton"), H(l, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
4536
- (e[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), H(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
4537
- (e[3] ? "GamingLimitsConfirmationContainerMobile" : "")), H(t, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
4538
- (e[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
4540
+ t[0]
4541
+ ), s = Lt(), l = M("div"), u = M("button"), c = ot(h), f = Lt(), p = M("button"), d = ot(m), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(o, "class", "GamingLimitsConfirmationContent"), H(u, "class", "GamingLimitsCancelButton"), H(p, "class", "GamingLimitsConfirmButton"), H(l, "class", "GamingLimitsConfirmationControlArea " + /*isMobile*/
4542
+ (t[3] ? "GamingLimitsConfirmationControlAreaMobile" : "")), H(r, "class", "GamingLimitsConfirmationContainer " + /*isMobile*/
4543
+ (t[3] ? "GamingLimitsConfirmationContainerMobile" : "")), H(e, "class", "GamingLimitsConfirmationWrapper " + /*isMobile*/
4544
+ (t[3] ? "GamingLimitsConfirmationMobileWrapper" : ""));
4539
4545
  },
4540
4546
  m(x, L) {
4541
- st(x, t, L), P(t, r), P(r, n), w && w.m(n, null), P(r, i), P(r, o), P(o, a), P(r, s), P(r, l), P(l, u), P(u, c), P(l, f), P(l, p), P(p, d), e[14](t), y = !0, T || (B = [
4542
- Oe(
4547
+ se(x, e, L), P(e, r), P(r, n), w && w.m(n, null), P(r, i), P(r, o), P(o, a), P(r, s), P(r, l), P(l, u), P(u, c), P(l, f), P(l, p), P(p, d), t[14](e), y = !0, T || (B = [
4548
+ Ot(
4543
4549
  n,
4544
4550
  "click",
4545
4551
  /*close*/
4546
- e[4]
4552
+ t[4]
4547
4553
  ),
4548
- Oe(
4554
+ Ot(
4549
4555
  u,
4550
4556
  "click",
4551
4557
  /*cancelChanges*/
4552
- e[6]
4558
+ t[6]
4553
4559
  ),
4554
- Oe(
4560
+ Ot(
4555
4561
  p,
4556
4562
  "click",
4557
4563
  /*confirmChanges*/
4558
- e[5]
4564
+ t[5]
4559
4565
  )
4560
4566
  ], T = !0);
4561
4567
  },
4562
4568
  p(x, [L]) {
4563
4569
  C && C.p && (!y || L & /*$$scope*/
4564
- 4096) && Vr(
4570
+ 4096) && kr(
4565
4571
  C,
4566
4572
  S,
4567
4573
  x,
4568
4574
  /*$$scope*/
4569
4575
  x[12],
4570
- y ? kr(
4576
+ y ? jr(
4571
4577
  S,
4572
4578
  /*$$scope*/
4573
4579
  x[12],
4574
4580
  L,
4575
4581
  So
4576
- ) : Xr(
4582
+ ) : Vr(
4577
4583
  /*$$scope*/
4578
4584
  x[12]
4579
4585
  ),
4580
- Ft
4586
+ Fe
4581
4587
  ), (!y || L & /*modaltext*/
4582
- 1) && Ie(
4588
+ 1) && It(
4583
4589
  a,
4584
4590
  /*modaltext*/
4585
4591
  x[0]
4586
4592
  ), (!y || L & /*$_*/
4587
4593
  4) && h !== (h = /*$_*/
4588
- x[2]("cancel") + "") && Ie(c, h), (!y || L & /*$_*/
4594
+ x[2]("cancel") + "") && It(c, h), (!y || L & /*$_*/
4589
4595
  4) && m !== (m = /*$_*/
4590
- x[2]("confirm") + "") && Ie(d, m);
4596
+ x[2]("confirm") + "") && It(d, m);
4591
4597
  },
4592
4598
  i(x) {
4593
- y || (Qt(w, x), y = !0);
4599
+ y || (Qe(w, x), y = !0);
4594
4600
  },
4595
4601
  o(x) {
4596
- cn(w, x), y = !1;
4602
+ hn(w, x), y = !1;
4597
4603
  },
4598
4604
  d(x) {
4599
- x && he(t), w && w.d(x), e[14](null), T = !1, F(B);
4605
+ x && ht(e), w && w.d(x), t[14](null), T = !1, F(B);
4600
4606
  }
4601
4607
  };
4602
4608
  }
4603
- function Co(e, t, r) {
4609
+ function Co(t, e, r) {
4604
4610
  let n;
4605
- Fr(e, _o, (b) => r(2, n = b));
4606
- let { $$slots: i = {}, $$scope: o } = t, { modaltext: a = "Are you sure that you want to perform this action?" } = t, { modalsource: s = "" } = t, { lang: l = "en" } = t, { clientstyling: u = "" } = t, { clientstylingurl: h = "" } = t, { translationurl: c = "" } = t;
4611
+ Dr(t, _o, (b) => r(2, n = b));
4612
+ let { $$slots: i = {}, $$scope: o } = e, { modaltext: a = "Are you sure that you want to perform this action?" } = e, { modalsource: s = "" } = e, { lang: l = "en" } = e, { clientstyling: u = "" } = e, { clientstylingurl: h = "" } = e, { translationurl: c = "" } = e;
4607
4613
  const f = () => {
4608
4614
  fetch(c).then((N) => N.json()).then((N) => {
4609
4615
  Object.keys(N).forEach((k) => {
4610
- Ut(k, N[k]);
4616
+ Ue(k, N[k]);
4611
4617
  });
4612
4618
  }).catch((N) => {
4613
4619
  console.log(N);
4614
4620
  });
4615
4621
  };
4616
- Object.keys(Dt).forEach((b) => {
4617
- Ut(b, Dt[b]);
4622
+ Object.keys(De).forEach((b) => {
4623
+ Ue(b, De[b]);
4618
4624
  });
4619
4625
  let p, m = window.navigator.userAgent, d = xo(m) !== "PC", y = {}, T = "";
4620
4626
  const B = () => {
@@ -4639,10 +4645,10 @@ function Co(e, t, r) {
4639
4645
  }
4640
4646
  }, L = () => {
4641
4647
  Eo(l);
4642
- }, Pr = () => {
4648
+ }, Ar = () => {
4643
4649
  let b = document.createElement("style");
4644
4650
  b.innerHTML = u, p.appendChild(b);
4645
- }, Lr = () => {
4651
+ }, Pr = () => {
4646
4652
  let b = new URL(h), N = document.createElement("style");
4647
4653
  fetch(b.href).then((k) => k.text()).then((k) => {
4648
4654
  N.innerHTML = k, setTimeout(
@@ -4653,21 +4659,21 @@ function Co(e, t, r) {
4653
4659
  );
4654
4660
  });
4655
4661
  };
4656
- on(() => (window.addEventListener("message", x, !1), () => {
4662
+ nn(() => (window.addEventListener("message", x, !1), () => {
4657
4663
  window.removeEventListener("message", x);
4658
4664
  }));
4659
- function Or(b) {
4660
- ke[b ? "unshift" : "push"](() => {
4665
+ function Lr(b) {
4666
+ kt[b ? "unshift" : "push"](() => {
4661
4667
  p = b, r(1, p);
4662
4668
  });
4663
4669
  }
4664
- return e.$$set = (b) => {
4670
+ return t.$$set = (b) => {
4665
4671
  "modaltext" in b && r(0, a = b.modaltext), "modalsource" in b && r(7, s = b.modalsource), "lang" in b && r(8, l = b.lang), "clientstyling" in b && r(9, u = b.clientstyling), "clientstylingurl" in b && r(10, h = b.clientstylingurl), "translationurl" in b && r(11, c = b.translationurl), "$$scope" in b && r(12, o = b.$$scope);
4666
- }, e.$$.update = () => {
4667
- e.$$.dirty & /*modaltext, modalsource, lang*/
4668
- 385 && a && s && l && L(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4669
- 514 && u && p && Pr(), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4670
- 1026 && h && p && Lr(), e.$$.dirty & /*translationurl*/
4672
+ }, t.$$.update = () => {
4673
+ t.$$.dirty & /*modaltext, modalsource, lang*/
4674
+ 385 && a && s && l && L(), t.$$.dirty & /*clientstyling, customStylingContainer*/
4675
+ 514 && u && p && Ar(), t.$$.dirty & /*clientstylingurl, customStylingContainer*/
4676
+ 1026 && h && p && Pr(), t.$$.dirty & /*translationurl*/
4671
4677
  2048 && c && f();
4672
4678
  }, [
4673
4679
  a,
@@ -4684,17 +4690,17 @@ function Co(e, t, r) {
4684
4690
  c,
4685
4691
  o,
4686
4692
  i,
4687
- Or
4693
+ Lr
4688
4694
  ];
4689
4695
  }
4690
- class Ar extends yn {
4691
- constructor(t) {
4692
- super(), bn(
4696
+ class Br extends gn {
4697
+ constructor(e) {
4698
+ super(), dn(
4693
4699
  this,
4694
- t,
4700
+ e,
4695
4701
  Co,
4696
4702
  Ho,
4697
- kt,
4703
+ ke,
4698
4704
  {
4699
4705
  modaltext: 0,
4700
4706
  modalsource: 7,
@@ -4709,90 +4715,90 @@ class Ar extends yn {
4709
4715
  get modaltext() {
4710
4716
  return this.$$.ctx[0];
4711
4717
  }
4712
- set modaltext(t) {
4713
- this.$$set({ modaltext: t }), U();
4718
+ set modaltext(e) {
4719
+ this.$$set({ modaltext: e }), U();
4714
4720
  }
4715
4721
  get modalsource() {
4716
4722
  return this.$$.ctx[7];
4717
4723
  }
4718
- set modalsource(t) {
4719
- this.$$set({ modalsource: t }), U();
4724
+ set modalsource(e) {
4725
+ this.$$set({ modalsource: e }), U();
4720
4726
  }
4721
4727
  get lang() {
4722
4728
  return this.$$.ctx[8];
4723
4729
  }
4724
- set lang(t) {
4725
- this.$$set({ lang: t }), U();
4730
+ set lang(e) {
4731
+ this.$$set({ lang: e }), U();
4726
4732
  }
4727
4733
  get clientstyling() {
4728
4734
  return this.$$.ctx[9];
4729
4735
  }
4730
- set clientstyling(t) {
4731
- this.$$set({ clientstyling: t }), U();
4736
+ set clientstyling(e) {
4737
+ this.$$set({ clientstyling: e }), U();
4732
4738
  }
4733
4739
  get clientstylingurl() {
4734
4740
  return this.$$.ctx[10];
4735
4741
  }
4736
- set clientstylingurl(t) {
4737
- this.$$set({ clientstylingurl: t }), U();
4742
+ set clientstylingurl(e) {
4743
+ this.$$set({ clientstylingurl: e }), U();
4738
4744
  }
4739
4745
  get translationurl() {
4740
4746
  return this.$$.ctx[11];
4741
4747
  }
4742
- set translationurl(t) {
4743
- this.$$set({ translationurl: t }), U();
4748
+ set translationurl(e) {
4749
+ this.$$set({ translationurl: e }), U();
4744
4750
  }
4745
4751
  }
4746
- gn(Ar, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, ["close"], [], !0);
4752
+ bn(Br, { modaltext: {}, modalsource: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {} }, ["close"], [], !0);
4747
4753
  const Fo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4748
4754
  __proto__: null,
4749
- default: Ar
4755
+ default: Br
4750
4756
  }, Symbol.toStringTag, { value: "Module" }));
4751
4757
  export {
4752
- te as $,
4758
+ et as $,
4753
4759
  $o as A,
4754
4760
  Io as B,
4755
- ke as C,
4761
+ kt as C,
4756
4762
  Mo as D,
4757
- xe as E,
4763
+ xt as E,
4758
4764
  No as F,
4759
- Se as G,
4765
+ St as G,
4760
4766
  _o as H,
4761
- Gr as I,
4762
- Qt as J,
4763
- cn as K,
4767
+ Rr as I,
4768
+ Qe as J,
4769
+ hn as K,
4764
4770
  Go as L,
4765
- jr as M,
4766
- Vr as N,
4767
- Xr as O,
4768
- kr as P,
4771
+ Fr as M,
4772
+ kr as N,
4773
+ Vr as O,
4774
+ jr as P,
4769
4775
  Uo as Q,
4770
4776
  Ro as R,
4771
- yn as S,
4777
+ gn as S,
4772
4778
  Fo as T,
4773
- Sr as a,
4774
- Zr as b,
4775
- gn as c,
4776
- Le as d,
4779
+ wr as a,
4780
+ Wr as b,
4781
+ bn as c,
4782
+ Lt as d,
4777
4783
  M as e,
4778
4784
  U as f,
4779
- bt as g,
4785
+ be as g,
4780
4786
  H as h,
4781
- bn as i,
4787
+ dn as i,
4782
4788
  Oo as j,
4783
- st as k,
4789
+ se as k,
4784
4790
  P as l,
4785
- Oe as m,
4786
- Ie as n,
4791
+ Ot as m,
4792
+ It as n,
4787
4793
  I as o,
4788
4794
  Lo as p,
4789
- he as q,
4795
+ ht as q,
4790
4796
  F as r,
4791
- kt as s,
4792
- oe as t,
4793
- Fr as u,
4797
+ ke as s,
4798
+ ot as t,
4799
+ Dr as u,
4794
4800
  xo as v,
4795
- on as w,
4801
+ nn as w,
4796
4802
  Do as x,
4797
4803
  Ao as y,
4798
4804
  Po as z