@everymatrix/player-account-product-restriction 0.0.3 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (26) hide show
  1. package/components/{PlayerAccountGeneralConfirmationModal-BGHFq1BP.js → PlayerAccountGeneralConfirmationModal-Ci-p2WXL.js} +1065 -1035
  2. package/components/{PlayerAccountGeneralConfirmationModal-BL-SK99e.js → PlayerAccountGeneralConfirmationModal-D6Sn8c65.js} +1517 -1487
  3. package/components/PlayerAccountGeneralConfirmationModal-PCbzMqfA.cjs +21 -0
  4. package/components/{PlayerAccountModal-0lKoL-vz.cjs → PlayerAccountModal-Bj4WVhh1.cjs} +1 -1
  5. package/components/{PlayerAccountModal-D3-9T5Q2.js → PlayerAccountModal-Bue5yCqX.js} +18 -18
  6. package/components/{PlayerAccountModal-BshNeXf4.js → PlayerAccountModal-CEI9nYut.js} +17 -17
  7. package/components/{PlayerAccountProductRestriction-cSqfoT-W.js → PlayerAccountProductRestriction-Bhxk2Cdb.js} +2238 -2212
  8. package/components/{PlayerAccountProductRestriction-TVzq4jTH.cjs → PlayerAccountProductRestriction-_LWo9nxY.cjs} +271 -271
  9. package/components/{PlayerAccountProductRestriction-BcTOg6RL.js → PlayerAccountProductRestriction-dej_BADh.js} +2225 -2199
  10. package/es2015/player-account-product-restriction.cjs +1 -1
  11. package/es2015/player-account-product-restriction.js +1 -1
  12. package/esnext/player-account-product-restriction.js +1 -1
  13. package/package.json +1 -1
  14. package/stencil/index-b2193545-BcYyCldH.js +519 -0
  15. package/stencil/index-b2193545-CPztmidm.js +503 -0
  16. package/stencil/index-b2193545-D1Z0k4-D.cjs +1 -0
  17. package/stencil/{ui-skeleton-1cb75d00-6KKxtHwu.cjs → ui-skeleton-1cb75d00-CUSs6C3A.cjs} +1 -1
  18. package/stencil/{ui-skeleton-1cb75d00-BPfsKHrC.js → ui-skeleton-1cb75d00-CXHx_pAM.js} +1 -1
  19. package/stencil/{ui-skeleton-1cb75d00-BAHBT-wb.js → ui-skeleton-1cb75d00-z2mX3TRi.js} +1 -1
  20. package/stencil/{ui-skeleton-QVfoKja7.js → ui-skeleton-4ifa-7wH.js} +2 -2
  21. package/stencil/{ui-skeleton-b2oavT4f.js → ui-skeleton-Bk5dn5mu.js} +2 -2
  22. package/stencil/{ui-skeleton-CaX4F6ue.cjs → ui-skeleton-CCXvjIzA.cjs} +1 -1
  23. package/components/PlayerAccountGeneralConfirmationModal-Bobr9XUh.cjs +0 -21
  24. package/stencil/index-b2193545-CayB6jRX.js +0 -519
  25. package/stencil/index-b2193545-DrvOqGyq.js +0 -503
  26. package/stencil/index-b2193545-lC_KoC4p.cjs +0 -1
@@ -1,85 +1,85 @@
1
- var On = Object.defineProperty, In = Object.defineProperties;
2
- var Mn = Object.getOwnPropertyDescriptors;
3
- var lt = Object.getOwnPropertySymbols;
4
- var Nn = Object.prototype.hasOwnProperty, Ln = Object.prototype.propertyIsEnumerable;
5
- var Ie = (e, t, n) => t in e ? On(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, ht = (e, t) => {
6
- for (var n in t || (t = {}))
7
- Nn.call(t, n) && Ie(e, n, t[n]);
8
- if (lt)
9
- for (var n of lt(t))
10
- Ln.call(t, n) && Ie(e, n, t[n]);
1
+ var Nr = Object.defineProperty, Lr = Object.defineProperties;
2
+ var $r = Object.getOwnPropertyDescriptors;
3
+ var mt = Object.getOwnPropertySymbols;
4
+ var Rr = Object.prototype.hasOwnProperty, Gr = Object.prototype.propertyIsEnumerable;
5
+ var Me = (e, t, r) => t in e ? Nr(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, pt = (e, t) => {
6
+ for (var r in t || (t = {}))
7
+ Rr.call(t, r) && Me(e, r, t[r]);
8
+ if (mt)
9
+ for (var r of mt(t))
10
+ Gr.call(t, r) && Me(e, r, t[r]);
11
11
  return e;
12
- }, ft = (e, t) => In(e, Mn(t));
13
- var I = (e, t, n) => (Ie(e, typeof t != "symbol" ? t + "" : t, n), n);
14
- var ct = (e, t, n) => new Promise((r, i) => {
12
+ }, dt = (e, t) => Lr(e, $r(t));
13
+ var O = (e, t, r) => (Me(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var bt = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
- a(n.next(l));
17
+ a(r.next(l));
18
18
  } catch (u) {
19
19
  i(u);
20
20
  }
21
21
  }, s = (l) => {
22
22
  try {
23
- a(n.throw(l));
23
+ a(r.throw(l));
24
24
  } catch (u) {
25
25
  i(u);
26
26
  }
27
- }, a = (l) => l.done ? r(l.value) : Promise.resolve(l.value).then(o, s);
28
- a((n = n.apply(e, t)).next());
27
+ }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
28
+ a((r = r.apply(e, t)).next());
29
29
  });
30
- function L() {
30
+ function N() {
31
31
  }
32
- const Rn = (e) => e;
33
- function $n(e, t) {
34
- for (const n in t)
35
- e[n] = t[n];
32
+ const Ur = (e) => e;
33
+ function Dr(e, t) {
34
+ for (const r in t)
35
+ e[r] = t[r];
36
36
  return (
37
37
  /** @type {T & S} */
38
38
  e
39
39
  );
40
40
  }
41
- function jt(e) {
41
+ function zt(e) {
42
42
  return e();
43
43
  }
44
- function dt() {
44
+ function gt() {
45
45
  return /* @__PURE__ */ Object.create(null);
46
46
  }
47
- function D(e) {
48
- e.forEach(jt);
47
+ function U(e) {
48
+ e.forEach(zt);
49
49
  }
50
50
  function He(e) {
51
51
  return typeof e == "function";
52
52
  }
53
- function kt(e, t) {
53
+ function Wt(e, t) {
54
54
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
55
55
  }
56
- function Gn(e) {
56
+ function Fr(e) {
57
57
  return Object.keys(e).length === 0;
58
58
  }
59
- function Vt(e, ...t) {
59
+ function Zt(e, ...t) {
60
60
  if (e == null) {
61
- for (const r of t)
62
- r(void 0);
63
- return L;
61
+ for (const n of t)
62
+ n(void 0);
63
+ return N;
64
64
  }
65
- const n = e.subscribe(...t);
66
- return n.unsubscribe ? () => n.unsubscribe() : n;
65
+ const r = e.subscribe(...t);
66
+ return r.unsubscribe ? () => r.unsubscribe() : r;
67
67
  }
68
- function Un(e, t, n) {
69
- e.$$.on_destroy.push(Vt(t, n));
68
+ function jr(e, t, r) {
69
+ e.$$.on_destroy.push(Zt(t, r));
70
70
  }
71
- function Dn(e, t, n, r) {
71
+ function kr(e, t, r, n) {
72
72
  if (e) {
73
- const i = Xt(e, t, n, r);
73
+ const i = Qt(e, t, r, n);
74
74
  return e[0](i);
75
75
  }
76
76
  }
77
- function Xt(e, t, n, r) {
78
- return e[1] && r ? $n(n.ctx.slice(), e[1](r(t))) : n.ctx;
77
+ function Qt(e, t, r, n) {
78
+ return e[1] && n ? Dr(r.ctx.slice(), e[1](n(t))) : r.ctx;
79
79
  }
80
- function Fn(e, t, n, r) {
81
- if (e[2] && r) {
82
- const i = e[2](r(n));
80
+ function Vr(e, t, r, n) {
81
+ if (e[2] && n) {
82
+ const i = e[2](n(r));
83
83
  if (t.dirty === void 0)
84
84
  return i;
85
85
  if (typeof i == "object") {
@@ -92,51 +92,51 @@ function Fn(e, t, n, r) {
92
92
  }
93
93
  return t.dirty;
94
94
  }
95
- function jn(e, t, n, r, i, o) {
95
+ function Xr(e, t, r, n, i, o) {
96
96
  if (i) {
97
- const s = Xt(t, n, r, o);
97
+ const s = Qt(t, r, n, o);
98
98
  e.p(s, i);
99
99
  }
100
100
  }
101
- function kn(e) {
101
+ function zr(e) {
102
102
  if (e.ctx.length > 32) {
103
- const t = [], n = e.ctx.length / 32;
104
- for (let r = 0; r < n; r++)
105
- t[r] = -1;
103
+ const t = [], r = e.ctx.length / 32;
104
+ for (let n = 0; n < r; n++)
105
+ t[n] = -1;
106
106
  return t;
107
107
  }
108
108
  return -1;
109
109
  }
110
- const zt = typeof window != "undefined";
111
- let Vn = zt ? () => window.performance.now() : () => Date.now(), rt = zt ? (e) => requestAnimationFrame(e) : L;
112
- const W = /* @__PURE__ */ new Set();
113
- function Wt(e) {
114
- W.forEach((t) => {
115
- t.c(e) || (W.delete(t), t.f());
116
- }), W.size !== 0 && rt(Wt);
110
+ const Jt = typeof window != "undefined";
111
+ let Wr = Jt ? () => window.performance.now() : () => Date.now(), at = Jt ? (e) => requestAnimationFrame(e) : N;
112
+ const z = /* @__PURE__ */ new Set();
113
+ function qt(e) {
114
+ z.forEach((t) => {
115
+ t.c(e) || (z.delete(t), t.f());
116
+ }), z.size !== 0 && at(qt);
117
117
  }
118
- function Xn(e) {
118
+ function Zr(e) {
119
119
  let t;
120
- return W.size === 0 && rt(Wt), {
121
- promise: new Promise((n) => {
122
- W.add(t = { c: e, f: n });
120
+ return z.size === 0 && at(qt), {
121
+ promise: new Promise((r) => {
122
+ z.add(t = { c: e, f: r });
123
123
  }),
124
124
  abort() {
125
- W.delete(t);
125
+ z.delete(t);
126
126
  }
127
127
  };
128
128
  }
129
129
  function C(e, t) {
130
130
  e.appendChild(t);
131
131
  }
132
- function zn(e, t, n) {
133
- const r = it(e);
134
- if (!r.getElementById(t)) {
135
- const i = N("style");
136
- i.id = t, i.textContent = n, Zt(r, i);
132
+ function Qr(e, t, r) {
133
+ const n = ut(e);
134
+ if (!n.getElementById(t)) {
135
+ const i = M("style");
136
+ i.id = t, i.textContent = r, Yt(n, i);
137
137
  }
138
138
  }
139
- function it(e) {
139
+ function ut(e) {
140
140
  if (!e)
141
141
  return document;
142
142
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -146,303 +146,303 @@ function it(e) {
146
146
  t
147
147
  ) : e.ownerDocument;
148
148
  }
149
- function Wn(e) {
150
- const t = N("style");
151
- return t.textContent = "/* empty */", Zt(it(e), t), t.sheet;
149
+ function Jr(e) {
150
+ const t = M("style");
151
+ return t.textContent = "/* empty */", Yt(ut(e), t), t.sheet;
152
152
  }
153
- function Zt(e, t) {
153
+ function Yt(e, t) {
154
154
  return C(
155
155
  /** @type {Document} */
156
156
  e.head || e,
157
157
  t
158
158
  ), t.sheet;
159
159
  }
160
- function he(e, t, n) {
161
- e.insertBefore(t, n || null);
160
+ function ae(e, t, r) {
161
+ e.insertBefore(t, r || null);
162
162
  }
163
- function F(e) {
163
+ function D(e) {
164
164
  e.parentNode && e.parentNode.removeChild(e);
165
165
  }
166
- function Oo(e, t) {
167
- for (let n = 0; n < e.length; n += 1)
168
- e[n] && e[n].d(t);
166
+ function Lo(e, t) {
167
+ for (let r = 0; r < e.length; r += 1)
168
+ e[r] && e[r].d(t);
169
169
  }
170
- function N(e) {
170
+ function M(e) {
171
171
  return document.createElement(e);
172
172
  }
173
- function mt(e) {
173
+ function yt(e) {
174
174
  return document.createElementNS("http://www.w3.org/2000/svg", e);
175
175
  }
176
- function J(e) {
176
+ function ue(e) {
177
177
  return document.createTextNode(e);
178
178
  }
179
- function ce() {
180
- return J(" ");
179
+ function fe() {
180
+ return ue(" ");
181
181
  }
182
- function Io() {
183
- return J("");
182
+ function $o() {
183
+ return ue("");
184
184
  }
185
- function Fe(e, t, n, r) {
186
- return e.addEventListener(t, n, r), () => e.removeEventListener(t, n, r);
185
+ function ke(e, t, r, n) {
186
+ return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
187
187
  }
188
- function H(e, t, n) {
189
- n == null ? e.removeAttribute(t) : e.getAttribute(t) !== n && e.setAttribute(t, n);
188
+ function H(e, t, r) {
189
+ r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
190
190
  }
191
- function Mo(e, t, n) {
192
- const r = t.toLowerCase();
193
- r in e ? e[r] = typeof e[r] == "boolean" && n === "" ? !0 : n : t in e ? e[t] = typeof e[t] == "boolean" && n === "" ? !0 : n : H(e, t, n);
191
+ function Ro(e, t, r) {
192
+ const n = t.toLowerCase();
193
+ 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
194
  }
195
- function Zn(e) {
195
+ function qr(e) {
196
196
  return Array.from(e.childNodes);
197
197
  }
198
- function xe(e, t) {
198
+ function lt(e, t) {
199
199
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
200
200
  t);
201
201
  }
202
- function No(e, t, n) {
203
- e.classList.toggle(t, !!n);
202
+ function Go(e, t, r) {
203
+ e.classList.toggle(t, !!r);
204
204
  }
205
- function Qn(e, t, { bubbles: n = !1, cancelable: r = !1 } = {}) {
206
- return new CustomEvent(e, { detail: t, bubbles: n, cancelable: r });
205
+ function Yr(e, t, { bubbles: r = !1, cancelable: n = !1 } = {}) {
206
+ return new CustomEvent(e, { detail: t, bubbles: r, cancelable: n });
207
207
  }
208
- function Jn(e) {
208
+ function Kr(e) {
209
209
  const t = {};
210
210
  return e.childNodes.forEach(
211
211
  /** @param {Element} node */
212
- (n) => {
213
- t[n.slot || "default"] = !0;
212
+ (r) => {
213
+ t[r.slot || "default"] = !0;
214
214
  }
215
215
  ), t;
216
216
  }
217
217
  const _e = /* @__PURE__ */ new Map();
218
- let Ee = 0;
219
- function qn(e) {
220
- let t = 5381, n = e.length;
221
- for (; n--; )
222
- t = (t << 5) - t ^ e.charCodeAt(n);
218
+ let xe = 0;
219
+ function en(e) {
220
+ let t = 5381, r = e.length;
221
+ for (; r--; )
222
+ t = (t << 5) - t ^ e.charCodeAt(r);
223
223
  return t >>> 0;
224
224
  }
225
- function Yn(e, t) {
226
- const n = { stylesheet: Wn(t), rules: {} };
227
- return _e.set(e, n), n;
225
+ function tn(e, t) {
226
+ const r = { stylesheet: Jr(t), rules: {} };
227
+ return _e.set(e, r), r;
228
228
  }
229
- function pt(e, t, n, r, i, o, s, a = 0) {
230
- const l = 16.666 / r;
229
+ function vt(e, t, r, n, i, o, s, a = 0) {
230
+ const l = 16.666 / n;
231
231
  let u = `{
232
232
  `;
233
233
  for (let g = 0; g <= 1; g += l) {
234
- const B = t + (n - t) * o(g);
235
- u += g * 100 + `%{${s(B, 1 - B)}}
234
+ const A = t + (r - t) * o(g);
235
+ u += g * 100 + `%{${s(A, 1 - A)}}
236
236
  `;
237
237
  }
238
- const h = u + `100% {${s(n, 1 - n)}}
239
- }`, f = `__svelte_${qn(h)}_${a}`, c = it(e), { stylesheet: p, rules: d } = _e.get(c) || Yn(c, e);
240
- d[f] || (d[f] = !0, p.insertRule(`@keyframes ${f} ${h}`, p.cssRules.length));
241
- const m = e.style.animation || "";
242
- return e.style.animation = `${m ? `${m}, ` : ""}${f} ${r}ms linear ${i}ms 1 both`, Ee += 1, f;
243
- }
244
- function Kn(e, t) {
245
- const n = (e.style.animation || "").split(", "), r = n.filter(
238
+ const h = u + `100% {${s(r, 1 - r)}}
239
+ }`, c = `__svelte_${en(h)}_${a}`, f = ut(e), { stylesheet: p, rules: m } = _e.get(f) || tn(f, e);
240
+ m[c] || (m[c] = !0, p.insertRule(`@keyframes ${c} ${h}`, p.cssRules.length));
241
+ const d = e.style.animation || "";
242
+ return e.style.animation = `${d ? `${d}, ` : ""}${c} ${n}ms linear ${i}ms 1 both`, xe += 1, c;
243
+ }
244
+ function rn(e, t) {
245
+ const r = (e.style.animation || "").split(", "), n = r.filter(
246
246
  t ? (o) => o.indexOf(t) < 0 : (o) => o.indexOf("__svelte") === -1
247
247
  // remove all Svelte animations
248
- ), i = n.length - r.length;
249
- i && (e.style.animation = r.join(", "), Ee -= i, Ee || er());
248
+ ), i = r.length - n.length;
249
+ i && (e.style.animation = n.join(", "), xe -= i, xe || nn());
250
250
  }
251
- function er() {
252
- rt(() => {
253
- Ee || (_e.forEach((e) => {
251
+ function nn() {
252
+ at(() => {
253
+ xe || (_e.forEach((e) => {
254
254
  const { ownerNode: t } = e.stylesheet;
255
- t && F(t);
255
+ t && D(t);
256
256
  }), _e.clear());
257
257
  });
258
258
  }
259
- let ae;
260
- function se(e) {
261
- ae = e;
259
+ let ie;
260
+ function ne(e) {
261
+ ie = e;
262
262
  }
263
- function tr() {
264
- if (!ae)
263
+ function on() {
264
+ if (!ie)
265
265
  throw new Error("Function called outside component initialization");
266
- return ae;
266
+ return ie;
267
267
  }
268
- function nr(e) {
269
- tr().$$.on_mount.push(e);
270
- }
271
- const z = [], je = [];
272
- let Z = [];
273
- const bt = [], rr = /* @__PURE__ */ Promise.resolve();
274
- let ke = !1;
275
- function ir() {
276
- ke || (ke = !0, rr.then(M));
277
- }
278
- function Se(e) {
279
- Z.push(e);
280
- }
281
- const Me = /* @__PURE__ */ new Set();
282
- let V = 0;
283
- function M() {
284
- if (V !== 0)
268
+ function sn(e) {
269
+ on().$$.on_mount.push(e);
270
+ }
271
+ const X = [], Ve = [];
272
+ let W = [];
273
+ const _t = [], an = /* @__PURE__ */ Promise.resolve();
274
+ let Xe = !1;
275
+ function un() {
276
+ Xe || (Xe = !0, an.then(I));
277
+ }
278
+ function Ee(e) {
279
+ W.push(e);
280
+ }
281
+ const Ne = /* @__PURE__ */ new Set();
282
+ let k = 0;
283
+ function I() {
284
+ if (k !== 0)
285
285
  return;
286
- const e = ae;
286
+ const e = ie;
287
287
  do {
288
288
  try {
289
- for (; V < z.length; ) {
290
- const t = z[V];
291
- V++, se(t), or(t.$$);
289
+ for (; k < X.length; ) {
290
+ const t = X[k];
291
+ k++, ne(t), ln(t.$$);
292
292
  }
293
293
  } catch (t) {
294
- throw z.length = 0, V = 0, t;
294
+ throw X.length = 0, k = 0, t;
295
295
  }
296
- for (se(null), z.length = 0, V = 0; je.length; )
297
- je.pop()();
298
- for (let t = 0; t < Z.length; t += 1) {
299
- const n = Z[t];
300
- Me.has(n) || (Me.add(n), n());
296
+ for (ne(null), X.length = 0, k = 0; Ve.length; )
297
+ Ve.pop()();
298
+ for (let t = 0; t < W.length; t += 1) {
299
+ const r = W[t];
300
+ Ne.has(r) || (Ne.add(r), r());
301
301
  }
302
- Z.length = 0;
303
- } while (z.length);
304
- for (; bt.length; )
305
- bt.pop()();
306
- ke = !1, Me.clear(), se(e);
302
+ W.length = 0;
303
+ } while (X.length);
304
+ for (; _t.length; )
305
+ _t.pop()();
306
+ Xe = !1, Ne.clear(), ne(e);
307
307
  }
308
- function or(e) {
308
+ function ln(e) {
309
309
  if (e.fragment !== null) {
310
- e.update(), D(e.before_update);
310
+ e.update(), U(e.before_update);
311
311
  const t = e.dirty;
312
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Se);
312
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ee);
313
313
  }
314
314
  }
315
- function sr(e) {
316
- const t = [], n = [];
317
- Z.forEach((r) => e.indexOf(r) === -1 ? t.push(r) : n.push(r)), n.forEach((r) => r()), Z = t;
318
- }
319
- let ie;
320
- function ar() {
321
- return ie || (ie = Promise.resolve(), ie.then(() => {
322
- ie = null;
323
- })), ie;
324
- }
325
- function Ne(e, t, n) {
326
- e.dispatchEvent(Qn(`${t ? "intro" : "outro"}${n}`));
327
- }
328
- const pe = /* @__PURE__ */ new Set();
329
- let R;
330
- function Lo() {
331
- R = {
315
+ function hn(e) {
316
+ const t = [], r = [];
317
+ W.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), W = t;
318
+ }
319
+ let te;
320
+ function cn() {
321
+ return te || (te = Promise.resolve(), te.then(() => {
322
+ te = null;
323
+ })), te;
324
+ }
325
+ function Le(e, t, r) {
326
+ e.dispatchEvent(Yr(`${t ? "intro" : "outro"}${r}`));
327
+ }
328
+ const de = /* @__PURE__ */ new Set();
329
+ let $;
330
+ function Uo() {
331
+ $ = {
332
332
  r: 0,
333
333
  c: [],
334
- p: R
334
+ p: $
335
335
  // parent group
336
336
  };
337
337
  }
338
- function Ro() {
339
- R.r || D(R.c), R = R.p;
338
+ function Do() {
339
+ $.r || U($.c), $ = $.p;
340
340
  }
341
- function Qt(e, t) {
342
- e && e.i && (pe.delete(e), e.i(t));
341
+ function Kt(e, t) {
342
+ e && e.i && (de.delete(e), e.i(t));
343
343
  }
344
- function ur(e, t, n, r) {
344
+ function fn(e, t, r, n) {
345
345
  if (e && e.o) {
346
- if (pe.has(e))
346
+ if (de.has(e))
347
347
  return;
348
- pe.add(e), R.c.push(() => {
349
- pe.delete(e), r && (n && e.d(1), r());
348
+ de.add(e), $.c.push(() => {
349
+ de.delete(e), n && (r && e.d(1), n());
350
350
  }), e.o(t);
351
351
  } else
352
- r && r();
352
+ n && n();
353
353
  }
354
- const lr = { duration: 0 };
355
- function $o(e, t, n, r) {
356
- let o = t(e, n, { direction: "both" }), s = r ? 0 : 1, a = null, l = null, u = null, h;
357
- function f() {
358
- u && Kn(e, u);
354
+ const mn = { duration: 0 };
355
+ function Fo(e, t, r, n) {
356
+ let o = t(e, r, { direction: "both" }), s = n ? 0 : 1, a = null, l = null, u = null, h;
357
+ function c() {
358
+ u && rn(e, u);
359
359
  }
360
- function c(d, m) {
360
+ function f(m, d) {
361
361
  const g = (
362
362
  /** @type {Program['d']} */
363
- d.b - s
363
+ m.b - s
364
364
  );
365
- return m *= Math.abs(g), {
365
+ return d *= Math.abs(g), {
366
366
  a: s,
367
- b: d.b,
367
+ b: m.b,
368
368
  d: g,
369
- duration: m,
370
- start: d.start,
371
- end: d.start + m,
372
- group: d.group
369
+ duration: d,
370
+ start: m.start,
371
+ end: m.start + d,
372
+ group: m.group
373
373
  };
374
374
  }
375
- function p(d) {
375
+ function p(m) {
376
376
  const {
377
- delay: m = 0,
377
+ delay: d = 0,
378
378
  duration: g = 300,
379
- easing: B = Rn,
380
- tick: A = L,
381
- css: T
382
- } = o || lr, S = {
383
- start: Vn() + m,
384
- b: d
379
+ easing: A = Ur,
380
+ tick: T = N,
381
+ css: x
382
+ } = o || mn, E = {
383
+ start: Wr() + d,
384
+ b: m
385
385
  };
386
- d || (S.group = R, R.r += 1), "inert" in e && (d ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
387
- e.inert, e.inert = !0)), a || l ? l = S : (T && (f(), u = pt(e, s, d, g, m, B, T)), d && A(0, 1), a = c(S, g), Se(() => Ne(e, d, "start")), Xn((E) => {
388
- if (l && E > l.start && (a = c(l, g), l = null, Ne(e, a.b, "start"), T && (f(), u = pt(
386
+ m || (E.group = $, $.r += 1), "inert" in e && (m ? h !== void 0 && (e.inert = h) : (h = /** @type {HTMLElement} */
387
+ e.inert, e.inert = !0)), a || l ? l = E : (x && (c(), u = vt(e, s, m, g, d, A, x)), m && T(0, 1), a = f(E, g), Ee(() => Le(e, m, "start")), Zr((b) => {
388
+ if (l && b > l.start && (a = f(l, g), l = null, Le(e, a.b, "start"), x && (c(), u = vt(
389
389
  e,
390
390
  s,
391
391
  a.b,
392
392
  a.duration,
393
393
  0,
394
- B,
394
+ A,
395
395
  o.css
396
396
  ))), a) {
397
- if (E >= a.end)
398
- A(s = a.b, 1 - s), Ne(e, a.b, "end"), l || (a.b ? f() : --a.group.r || D(a.group.c)), a = null;
399
- else if (E >= a.start) {
400
- const _ = E - a.start;
401
- s = a.a + a.d * B(_ / a.duration), A(s, 1 - s);
397
+ if (b >= a.end)
398
+ T(s = a.b, 1 - s), Le(e, a.b, "end"), l || (a.b ? c() : --a.group.r || U(a.group.c)), a = null;
399
+ else if (b >= a.start) {
400
+ const B = b - a.start;
401
+ s = a.a + a.d * A(B / a.duration), T(s, 1 - s);
402
402
  }
403
403
  }
404
404
  return !!(a || l);
405
405
  }));
406
406
  }
407
407
  return {
408
- run(d) {
409
- He(o) ? ar().then(() => {
410
- o = o({ direction: d ? "in" : "out" }), p(d);
411
- }) : p(d);
408
+ run(m) {
409
+ He(o) ? cn().then(() => {
410
+ o = o({ direction: m ? "in" : "out" }), p(m);
411
+ }) : p(m);
412
412
  },
413
413
  end() {
414
- f(), a = l = null;
414
+ c(), a = l = null;
415
415
  }
416
416
  };
417
417
  }
418
- function Go(e) {
418
+ function jo(e) {
419
419
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
420
420
  }
421
- function hr(e, t, n) {
422
- const { fragment: r, after_update: i } = e.$$;
423
- r && r.m(t, n), Se(() => {
424
- const o = e.$$.on_mount.map(jt).filter(He);
425
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : D(o), e.$$.on_mount = [];
426
- }), i.forEach(Se);
421
+ function pn(e, t, r) {
422
+ const { fragment: n, after_update: i } = e.$$;
423
+ n && n.m(t, r), Ee(() => {
424
+ const o = e.$$.on_mount.map(zt).filter(He);
425
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : U(o), e.$$.on_mount = [];
426
+ }), i.forEach(Ee);
427
427
  }
428
- function fr(e, t) {
429
- const n = e.$$;
430
- n.fragment !== null && (sr(n.after_update), D(n.on_destroy), n.fragment && n.fragment.d(t), n.on_destroy = n.fragment = null, n.ctx = []);
428
+ function dn(e, t) {
429
+ const r = e.$$;
430
+ r.fragment !== null && (hn(r.after_update), U(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
431
431
  }
432
- function cr(e, t) {
433
- e.$$.dirty[0] === -1 && (z.push(e), ir(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
432
+ function bn(e, t) {
433
+ e.$$.dirty[0] === -1 && (X.push(e), un(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
434
434
  }
435
- function dr(e, t, n, r, i, o, s = null, a = [-1]) {
436
- const l = ae;
437
- se(e);
435
+ function gn(e, t, r, n, i, o, s = null, a = [-1]) {
436
+ const l = ie;
437
+ ne(e);
438
438
  const u = e.$$ = {
439
439
  fragment: null,
440
440
  ctx: [],
441
441
  // state
442
442
  props: o,
443
- update: L,
443
+ update: N,
444
444
  not_equal: i,
445
- bound: dt(),
445
+ bound: gt(),
446
446
  // lifecycle
447
447
  on_mount: [],
448
448
  on_destroy: [],
@@ -451,91 +451,91 @@ function dr(e, t, n, r, i, o, s = null, a = [-1]) {
451
451
  after_update: [],
452
452
  context: new Map(t.context || (l ? l.$$.context : [])),
453
453
  // everything else
454
- callbacks: dt(),
454
+ callbacks: gt(),
455
455
  dirty: a,
456
456
  skip_bound: !1,
457
457
  root: t.target || l.$$.root
458
458
  };
459
459
  s && s(u.root);
460
460
  let h = !1;
461
- if (u.ctx = n ? n(e, t.props || {}, (f, c, ...p) => {
462
- const d = p.length ? p[0] : c;
463
- return u.ctx && i(u.ctx[f], u.ctx[f] = d) && (!u.skip_bound && u.bound[f] && u.bound[f](d), h && cr(e, f)), c;
464
- }) : [], u.update(), h = !0, D(u.before_update), u.fragment = r ? r(u.ctx) : !1, t.target) {
461
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...p) => {
462
+ const m = p.length ? p[0] : f;
463
+ return u.ctx && i(u.ctx[c], u.ctx[c] = m) && (!u.skip_bound && u.bound[c] && u.bound[c](m), h && bn(e, c)), f;
464
+ }) : [], u.update(), h = !0, U(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
465
465
  if (t.hydrate) {
466
- const f = Zn(t.target);
467
- u.fragment && u.fragment.l(f), f.forEach(F);
466
+ const c = qr(t.target);
467
+ u.fragment && u.fragment.l(c), c.forEach(D);
468
468
  } else
469
469
  u.fragment && u.fragment.c();
470
- t.intro && Qt(e.$$.fragment), hr(e, t.target, t.anchor), M();
470
+ t.intro && Kt(e.$$.fragment), pn(e, t.target, t.anchor), I();
471
471
  }
472
- se(l);
472
+ ne(l);
473
473
  }
474
- let Jt;
475
- typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
476
- constructor(t, n, r) {
474
+ let er;
475
+ typeof HTMLElement == "function" && (er = class extends HTMLElement {
476
+ constructor(t, r, n) {
477
477
  super();
478
478
  /** The Svelte component constructor */
479
- I(this, "$$ctor");
479
+ O(this, "$$ctor");
480
480
  /** Slots */
481
- I(this, "$$s");
481
+ O(this, "$$s");
482
482
  /** The Svelte component instance */
483
- I(this, "$$c");
483
+ O(this, "$$c");
484
484
  /** Whether or not the custom element is connected */
485
- I(this, "$$cn", !1);
485
+ O(this, "$$cn", !1);
486
486
  /** Component props data */
487
- I(this, "$$d", {});
487
+ O(this, "$$d", {});
488
488
  /** `true` if currently in the process of reflecting component props back to attributes */
489
- I(this, "$$r", !1);
489
+ O(this, "$$r", !1);
490
490
  /** @type {Record<string, CustomElementPropDefinition>} Props definition (name, reflected, type etc) */
491
- I(this, "$$p_d", {});
491
+ O(this, "$$p_d", {});
492
492
  /** @type {Record<string, Function[]>} Event listeners */
493
- I(this, "$$l", {});
493
+ O(this, "$$l", {});
494
494
  /** @type {Map<Function, Function>} Event listener unsubscribe functions */
495
- I(this, "$$l_u", /* @__PURE__ */ new Map());
496
- this.$$ctor = t, this.$$s = n, r && this.attachShadow({ mode: "open" });
495
+ O(this, "$$l_u", /* @__PURE__ */ new Map());
496
+ this.$$ctor = t, this.$$s = r, n && this.attachShadow({ mode: "open" });
497
497
  }
498
- addEventListener(t, n, r) {
499
- if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(n), this.$$c) {
500
- const i = this.$$c.$on(t, n);
501
- this.$$l_u.set(n, i);
498
+ addEventListener(t, r, n) {
499
+ if (this.$$l[t] = this.$$l[t] || [], this.$$l[t].push(r), this.$$c) {
500
+ const i = this.$$c.$on(t, r);
501
+ this.$$l_u.set(r, i);
502
502
  }
503
- super.addEventListener(t, n, r);
503
+ super.addEventListener(t, r, n);
504
504
  }
505
- removeEventListener(t, n, r) {
506
- if (super.removeEventListener(t, n, r), this.$$c) {
507
- const i = this.$$l_u.get(n);
508
- i && (i(), this.$$l_u.delete(n));
505
+ removeEventListener(t, r, n) {
506
+ if (super.removeEventListener(t, r, n), this.$$c) {
507
+ const i = this.$$l_u.get(r);
508
+ i && (i(), this.$$l_u.delete(r));
509
509
  }
510
510
  }
511
511
  connectedCallback() {
512
- return ct(this, null, function* () {
512
+ return bt(this, null, function* () {
513
513
  if (this.$$cn = !0, !this.$$c) {
514
514
  let t = function(o) {
515
515
  return () => {
516
516
  let s;
517
517
  return {
518
518
  c: function() {
519
- s = N("slot"), o !== "default" && H(s, "name", o);
519
+ s = M("slot"), o !== "default" && H(s, "name", o);
520
520
  },
521
521
  /**
522
522
  * @param {HTMLElement} target
523
523
  * @param {HTMLElement} [anchor]
524
524
  */
525
525
  m: function(u, h) {
526
- he(u, s, h);
526
+ ae(u, s, h);
527
527
  },
528
528
  d: function(u) {
529
- u && F(s);
529
+ u && D(s);
530
530
  }
531
531
  };
532
532
  };
533
533
  };
534
534
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
535
535
  return;
536
- const n = {}, r = Jn(this);
536
+ const r = {}, n = Kr(this);
537
537
  for (const o of this.$$s)
538
- o in r && (n[o] = [t(o)]);
538
+ o in n && (r[o] = [t(o)]);
539
539
  for (const o of this.attributes) {
540
540
  const s = this.$$g_p(o.name);
541
541
  s in this.$$d || (this.$$d[s] = be(s, o.value, this.$$p_d, "toProp"));
@@ -544,8 +544,8 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
544
544
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
545
545
  this.$$c = new this.$$ctor({
546
546
  target: this.shadowRoot || this,
547
- props: ft(ht({}, this.$$d), {
548
- $$slots: n,
547
+ props: dt(pt({}, this.$$d), {
548
+ $$slots: r,
549
549
  $$scope: {
550
550
  ctx: []
551
551
  }
@@ -577,9 +577,9 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
577
577
  }
578
578
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
579
579
  // and setting attributes through setAttribute etc, this is helpful
580
- attributeChangedCallback(t, n, r) {
580
+ attributeChangedCallback(t, r, n) {
581
581
  var i;
582
- this.$$r || (t = this.$$g_p(t), this.$$d[t] = be(t, r, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
582
+ this.$$r || (t = this.$$g_p(t), this.$$d[t] = be(t, n, this.$$p_d, "toProp"), (i = this.$$c) == null || i.$set({ [t]: this.$$d[t] }));
583
583
  }
584
584
  disconnectedCallback() {
585
585
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -588,16 +588,16 @@ typeof HTMLElement == "function" && (Jt = class extends HTMLElement {
588
588
  }
589
589
  $$g_p(t) {
590
590
  return Object.keys(this.$$p_d).find(
591
- (n) => this.$$p_d[n].attribute === t || !this.$$p_d[n].attribute && n.toLowerCase() === t
591
+ (r) => this.$$p_d[r].attribute === t || !this.$$p_d[r].attribute && r.toLowerCase() === t
592
592
  ) || t;
593
593
  }
594
594
  });
595
- function be(e, t, n, r) {
595
+ function be(e, t, r, n) {
596
596
  var o;
597
- const i = (o = n[e]) == null ? void 0 : o.type;
598
- if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !r || !n[e])
597
+ const i = (o = r[e]) == null ? void 0 : o.type;
598
+ if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
599
599
  return t;
600
- if (r === "toAttribute")
600
+ if (n === "toAttribute")
601
601
  switch (i) {
602
602
  case "Object":
603
603
  case "Array":
@@ -622,10 +622,10 @@ function be(e, t, n, r) {
622
622
  return t;
623
623
  }
624
624
  }
625
- function mr(e, t, n, r, i, o) {
626
- let s = class extends Jt {
625
+ function yn(e, t, r, n, i, o) {
626
+ let s = class extends er {
627
627
  constructor() {
628
- super(e, n, i), this.$$p_d = t;
628
+ super(e, r, i), this.$$p_d = t;
629
629
  }
630
630
  static get observedAttributes() {
631
631
  return Object.keys(t).map(
@@ -643,7 +643,7 @@ function mr(e, t, n, r, i, o) {
643
643
  l = be(a, l, t), this.$$d[a] = l, (u = this.$$c) == null || u.$set({ [a]: l });
644
644
  }
645
645
  });
646
- }), r.forEach((a) => {
646
+ }), n.forEach((a) => {
647
647
  Object.defineProperty(s.prototype, a, {
648
648
  get() {
649
649
  var l;
@@ -653,7 +653,7 @@ function mr(e, t, n, r, i, o) {
653
653
  }), e.element = /** @type {any} */
654
654
  s, s;
655
655
  }
656
- class pr {
656
+ class vn {
657
657
  constructor() {
658
658
  /**
659
659
  * ### PRIVATE API
@@ -662,7 +662,7 @@ class pr {
662
662
  *
663
663
  * @type {any}
664
664
  */
665
- I(this, "$$");
665
+ O(this, "$$");
666
666
  /**
667
667
  * ### PRIVATE API
668
668
  *
@@ -670,11 +670,11 @@ class pr {
670
670
  *
671
671
  * @type {any}
672
672
  */
673
- I(this, "$$set");
673
+ O(this, "$$set");
674
674
  }
675
675
  /** @returns {void} */
676
676
  $destroy() {
677
- fr(this, 1), this.$destroy = L;
677
+ dn(this, 1), this.$destroy = N;
678
678
  }
679
679
  /**
680
680
  * @template {Extract<keyof Events, string>} K
@@ -682,13 +682,13 @@ class pr {
682
682
  * @param {((e: Events[K]) => void) | null | undefined} callback
683
683
  * @returns {() => void}
684
684
  */
685
- $on(t, n) {
686
- if (!He(n))
687
- return L;
688
- const r = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
689
- return r.push(n), () => {
690
- const i = r.indexOf(n);
691
- i !== -1 && r.splice(i, 1);
685
+ $on(t, r) {
686
+ if (!He(r))
687
+ return N;
688
+ const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
689
+ return n.push(r), () => {
690
+ const i = n.indexOf(r);
691
+ i !== -1 && n.splice(i, 1);
692
692
  };
693
693
  }
694
694
  /**
@@ -696,11 +696,11 @@ class pr {
696
696
  * @returns {void}
697
697
  */
698
698
  $set(t) {
699
- this.$$set && !Gn(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
699
+ this.$$set && !Fr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
700
700
  }
701
701
  }
702
- const br = "4";
703
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(br);
702
+ const _n = "4";
703
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(_n);
704
704
  /*! *****************************************************************************
705
705
  Copyright (c) Microsoft Corporation.
706
706
 
@@ -715,67 +715,48 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
715
715
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
716
716
  PERFORMANCE OF THIS SOFTWARE.
717
717
  ***************************************************************************** */
718
- var Ve = function(e, t) {
719
- return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(n, r) {
720
- n.__proto__ = r;
721
- } || function(n, r) {
722
- for (var i in r)
723
- Object.prototype.hasOwnProperty.call(r, i) && (n[i] = r[i]);
724
- }, Ve(e, t);
718
+ var ze = function(e, t) {
719
+ return ze = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
720
+ r.__proto__ = n;
721
+ } || function(r, n) {
722
+ for (var i in n)
723
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
724
+ }, ze(e, t);
725
725
  };
726
- function G(e, t) {
726
+ function le(e, t) {
727
727
  if (typeof t != "function" && t !== null)
728
728
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
729
- Ve(e, t);
730
- function n() {
729
+ ze(e, t);
730
+ function r() {
731
731
  this.constructor = e;
732
732
  }
733
- e.prototype = t === null ? Object.create(t) : (n.prototype = t.prototype, new n());
734
- }
735
- var x = function() {
736
- return x = Object.assign || function(t) {
737
- for (var n, r = 1, i = arguments.length; r < i; r++) {
738
- n = arguments[r];
739
- for (var o in n)
740
- Object.prototype.hasOwnProperty.call(n, o) && (t[o] = n[o]);
741
- }
742
- return t;
743
- }, x.apply(this, arguments);
744
- };
745
- function gr(e, t) {
746
- var n = {};
747
- for (var r in e)
748
- Object.prototype.hasOwnProperty.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
749
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
750
- for (var i = 0, r = Object.getOwnPropertySymbols(e); i < r.length; i++)
751
- t.indexOf(r[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, r[i]) && (n[r[i]] = e[r[i]]);
752
- return n;
733
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
753
734
  }
754
- function Xe(e) {
755
- var t = typeof Symbol == "function" && Symbol.iterator, n = t && e[t], r = 0;
756
- if (n)
757
- return n.call(e);
735
+ function We(e) {
736
+ var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
737
+ if (r)
738
+ return r.call(e);
758
739
  if (e && typeof e.length == "number")
759
740
  return {
760
741
  next: function() {
761
- return e && r >= e.length && (e = void 0), { value: e && e[r++], done: !e };
742
+ return e && n >= e.length && (e = void 0), { value: e && e[n++], done: !e };
762
743
  }
763
744
  };
764
745
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
765
746
  }
766
- function ze(e, t) {
767
- var n = typeof Symbol == "function" && e[Symbol.iterator];
768
- if (!n)
747
+ function Ze(e, t) {
748
+ var r = typeof Symbol == "function" && e[Symbol.iterator];
749
+ if (!r)
769
750
  return e;
770
- var r = n.call(e), i, o = [], s;
751
+ var n = r.call(e), i, o = [], s;
771
752
  try {
772
- for (; (t === void 0 || t-- > 0) && !(i = r.next()).done; )
753
+ for (; (t === void 0 || t-- > 0) && !(i = n.next()).done; )
773
754
  o.push(i.value);
774
755
  } catch (a) {
775
756
  s = { error: a };
776
757
  } finally {
777
758
  try {
778
- i && !i.done && (n = r.return) && n.call(r);
759
+ i && !i.done && (r = n.return) && r.call(n);
779
760
  } finally {
780
761
  if (s)
781
762
  throw s.error;
@@ -783,57 +764,57 @@ function ze(e, t) {
783
764
  }
784
765
  return o;
785
766
  }
786
- function Q(e, t, n) {
787
- if (n || arguments.length === 2)
788
- for (var r = 0, i = t.length, o; r < i; r++)
789
- (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
767
+ function Qe(e, t, r) {
768
+ if (arguments.length === 2)
769
+ for (var n = 0, i = t.length, o; n < i; n++)
770
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
790
771
  return e.concat(o || t);
791
772
  }
792
- function $(e) {
773
+ function R(e) {
793
774
  return typeof e == "function";
794
775
  }
795
- function qt(e) {
796
- var t = function(r) {
797
- Error.call(r), r.stack = new Error().stack;
798
- }, n = e(t);
799
- return n.prototype = Object.create(Error.prototype), n.prototype.constructor = n, n;
800
- }
801
- var Le = qt(function(e) {
802
- return function(n) {
803
- e(this), this.message = n ? n.length + ` errors occurred during unsubscription:
804
- ` + n.map(function(r, i) {
805
- return i + 1 + ") " + r.toString();
776
+ function tr(e) {
777
+ var t = function(n) {
778
+ Error.call(n), n.stack = new Error().stack;
779
+ }, r = e(t);
780
+ return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
781
+ }
782
+ var $e = tr(function(e) {
783
+ return function(r) {
784
+ e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
785
+ ` + r.map(function(n, i) {
786
+ return i + 1 + ") " + n.toString();
806
787
  }).join(`
807
- `) : "", this.name = "UnsubscriptionError", this.errors = n;
788
+ `) : "", this.name = "UnsubscriptionError", this.errors = r;
808
789
  };
809
790
  });
810
- function We(e, t) {
791
+ function Je(e, t) {
811
792
  if (e) {
812
- var n = e.indexOf(t);
813
- 0 <= n && e.splice(n, 1);
793
+ var r = e.indexOf(t);
794
+ 0 <= r && e.splice(r, 1);
814
795
  }
815
796
  }
816
- var Be = function() {
797
+ var Ae = function() {
817
798
  function e(t) {
818
799
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
819
800
  }
820
801
  return e.prototype.unsubscribe = function() {
821
- var t, n, r, i, o;
802
+ var t, r, n, i, o;
822
803
  if (!this.closed) {
823
804
  this.closed = !0;
824
805
  var s = this._parentage;
825
806
  if (s)
826
807
  if (this._parentage = null, Array.isArray(s))
827
808
  try {
828
- for (var a = Xe(s), l = a.next(); !l.done; l = a.next()) {
809
+ for (var a = We(s), l = a.next(); !l.done; l = a.next()) {
829
810
  var u = l.value;
830
811
  u.remove(this);
831
812
  }
832
- } catch (m) {
833
- t = { error: m };
813
+ } catch (d) {
814
+ t = { error: d };
834
815
  } finally {
835
816
  try {
836
- l && !l.done && (n = a.return) && n.call(a);
817
+ l && !l.done && (r = a.return) && r.call(a);
837
818
  } finally {
838
819
  if (t)
839
820
  throw t.error;
@@ -842,122 +823,118 @@ var Be = function() {
842
823
  else
843
824
  s.remove(this);
844
825
  var h = this.initialTeardown;
845
- if ($(h))
826
+ if (R(h))
846
827
  try {
847
828
  h();
848
- } catch (m) {
849
- o = m instanceof Le ? m.errors : [m];
829
+ } catch (d) {
830
+ o = d instanceof $e ? d.errors : [d];
850
831
  }
851
- var f = this._finalizers;
852
- if (f) {
832
+ var c = this._finalizers;
833
+ if (c) {
853
834
  this._finalizers = null;
854
835
  try {
855
- for (var c = Xe(f), p = c.next(); !p.done; p = c.next()) {
856
- var d = p.value;
836
+ for (var f = We(c), p = f.next(); !p.done; p = f.next()) {
837
+ var m = p.value;
857
838
  try {
858
- gt(d);
859
- } catch (m) {
860
- o = o != null ? o : [], m instanceof Le ? o = Q(Q([], ze(o)), ze(m.errors)) : o.push(m);
839
+ xt(m);
840
+ } catch (d) {
841
+ o = o != null ? o : [], d instanceof $e ? o = Qe(Qe([], Ze(o)), Ze(d.errors)) : o.push(d);
861
842
  }
862
843
  }
863
- } catch (m) {
864
- r = { error: m };
844
+ } catch (d) {
845
+ n = { error: d };
865
846
  } finally {
866
847
  try {
867
- p && !p.done && (i = c.return) && i.call(c);
848
+ p && !p.done && (i = f.return) && i.call(f);
868
849
  } finally {
869
- if (r)
870
- throw r.error;
850
+ if (n)
851
+ throw n.error;
871
852
  }
872
853
  }
873
854
  }
874
855
  if (o)
875
- throw new Le(o);
856
+ throw new $e(o);
876
857
  }
877
858
  }, e.prototype.add = function(t) {
878
- var n;
859
+ var r;
879
860
  if (t && t !== this)
880
861
  if (this.closed)
881
- gt(t);
862
+ xt(t);
882
863
  else {
883
864
  if (t instanceof e) {
884
865
  if (t.closed || t._hasParent(this))
885
866
  return;
886
867
  t._addParent(this);
887
868
  }
888
- (this._finalizers = (n = this._finalizers) !== null && n !== void 0 ? n : []).push(t);
869
+ (this._finalizers = (r = this._finalizers) !== null && r !== void 0 ? r : []).push(t);
889
870
  }
890
871
  }, e.prototype._hasParent = function(t) {
891
- var n = this._parentage;
892
- return n === t || Array.isArray(n) && n.includes(t);
872
+ var r = this._parentage;
873
+ return r === t || Array.isArray(r) && r.includes(t);
893
874
  }, e.prototype._addParent = function(t) {
894
- var n = this._parentage;
895
- this._parentage = Array.isArray(n) ? (n.push(t), n) : n ? [n, t] : t;
875
+ var r = this._parentage;
876
+ this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
896
877
  }, e.prototype._removeParent = function(t) {
897
- var n = this._parentage;
898
- n === t ? this._parentage = null : Array.isArray(n) && We(n, t);
878
+ var r = this._parentage;
879
+ r === t ? this._parentage = null : Array.isArray(r) && Je(r, t);
899
880
  }, e.prototype.remove = function(t) {
900
- var n = this._finalizers;
901
- n && We(n, t), t instanceof e && t._removeParent(this);
881
+ var r = this._finalizers;
882
+ r && Je(r, t), t instanceof e && t._removeParent(this);
902
883
  }, e.EMPTY = function() {
903
884
  var t = new e();
904
885
  return t.closed = !0, t;
905
886
  }(), e;
906
- }(), Yt = Be.EMPTY;
907
- function Kt(e) {
908
- return e instanceof Be || e && "closed" in e && $(e.remove) && $(e.add) && $(e.unsubscribe);
909
- }
910
- function gt(e) {
911
- $(e) ? e() : e.unsubscribe();
912
- }
913
- var yr = {
914
- onUnhandledError: null,
915
- onStoppedNotification: null,
916
- Promise: void 0,
917
- useDeprecatedSynchronousErrorHandling: !1,
918
- useDeprecatedNextContext: !1
919
- }, vr = {
887
+ }(), rr = Ae.EMPTY;
888
+ function nr(e) {
889
+ return e instanceof Ae || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
890
+ }
891
+ function xt(e) {
892
+ R(e) ? e() : e.unsubscribe();
893
+ }
894
+ var xn = {
895
+ Promise: void 0
896
+ }, En = {
920
897
  setTimeout: function(e, t) {
921
- for (var n = [], r = 2; r < arguments.length; r++)
922
- n[r - 2] = arguments[r];
923
- return setTimeout.apply(void 0, Q([e, t], ze(n)));
898
+ for (var r = [], n = 2; n < arguments.length; n++)
899
+ r[n - 2] = arguments[n];
900
+ return setTimeout.apply(void 0, Qe([e, t], Ze(r)));
924
901
  },
925
902
  clearTimeout: function(e) {
926
903
  return clearTimeout(e);
927
904
  },
928
905
  delegate: void 0
929
906
  };
930
- function xr(e) {
931
- vr.setTimeout(function() {
907
+ function wn(e) {
908
+ En.setTimeout(function() {
932
909
  throw e;
933
910
  });
934
911
  }
935
- function yt() {
912
+ function Et() {
936
913
  }
937
914
  function ge(e) {
938
915
  e();
939
916
  }
940
- var en = function(e) {
941
- G(t, e);
942
- function t(n) {
943
- var r = e.call(this) || this;
944
- return r.isStopped = !1, n ? (r.destination = n, Kt(n) && n.add(r)) : r.destination = Sr, r;
917
+ var ir = function(e) {
918
+ le(t, e);
919
+ function t(r) {
920
+ var n = e.call(this) || this;
921
+ return n.isStopped = !1, r ? (n.destination = r, nr(r) && r.add(n)) : n.destination = Hn, n;
945
922
  }
946
- return t.create = function(n, r, i) {
947
- return new Ze(n, r, i);
948
- }, t.prototype.next = function(n) {
949
- this.isStopped || this._next(n);
950
- }, t.prototype.error = function(n) {
951
- this.isStopped || (this.isStopped = !0, this._error(n));
923
+ return t.create = function(r, n, i) {
924
+ return new qe(r, n, i);
925
+ }, t.prototype.next = function(r) {
926
+ this.isStopped || this._next(r);
927
+ }, t.prototype.error = function(r) {
928
+ this.isStopped || (this.isStopped = !0, this._error(r));
952
929
  }, t.prototype.complete = function() {
953
930
  this.isStopped || (this.isStopped = !0, this._complete());
954
931
  }, t.prototype.unsubscribe = function() {
955
932
  this.closed || (this.isStopped = !0, e.prototype.unsubscribe.call(this), this.destination = null);
956
- }, t.prototype._next = function(n) {
957
- this.destination.next(n);
958
- }, t.prototype._error = function(n) {
933
+ }, t.prototype._next = function(r) {
934
+ this.destination.next(r);
935
+ }, t.prototype._error = function(r) {
959
936
  try {
960
- this.destination.error(n);
937
+ this.destination.error(r);
961
938
  } finally {
962
939
  this.unsubscribe();
963
940
  }
@@ -968,82 +945,82 @@ var en = function(e) {
968
945
  this.unsubscribe();
969
946
  }
970
947
  }, t;
971
- }(Be), _r = function() {
948
+ }(Ae), Sn = function() {
972
949
  function e(t) {
973
950
  this.partialObserver = t;
974
951
  }
975
952
  return e.prototype.next = function(t) {
976
- var n = this.partialObserver;
977
- if (n.next)
953
+ var r = this.partialObserver;
954
+ if (r.next)
978
955
  try {
979
- n.next(t);
980
- } catch (r) {
981
- de(r);
956
+ r.next(t);
957
+ } catch (n) {
958
+ me(n);
982
959
  }
983
960
  }, e.prototype.error = function(t) {
984
- var n = this.partialObserver;
985
- if (n.error)
961
+ var r = this.partialObserver;
962
+ if (r.error)
986
963
  try {
987
- n.error(t);
988
- } catch (r) {
989
- de(r);
964
+ r.error(t);
965
+ } catch (n) {
966
+ me(n);
990
967
  }
991
968
  else
992
- de(t);
969
+ me(t);
993
970
  }, e.prototype.complete = function() {
994
971
  var t = this.partialObserver;
995
972
  if (t.complete)
996
973
  try {
997
974
  t.complete();
998
- } catch (n) {
999
- de(n);
975
+ } catch (r) {
976
+ me(r);
1000
977
  }
1001
978
  }, e;
1002
- }(), Ze = function(e) {
1003
- G(t, e);
1004
- function t(n, r, i) {
979
+ }(), qe = function(e) {
980
+ le(t, e);
981
+ function t(r, n, i) {
1005
982
  var o = e.call(this) || this, s;
1006
- return $(n) || !n ? s = {
1007
- next: n != null ? n : void 0,
1008
- error: r != null ? r : void 0,
983
+ return R(r) || !r ? s = {
984
+ next: r != null ? r : void 0,
985
+ error: n != null ? n : void 0,
1009
986
  complete: i != null ? i : void 0
1010
- } : s = n, o.destination = new _r(s), o;
987
+ } : s = r, o.destination = new Sn(s), o;
1011
988
  }
1012
989
  return t;
1013
- }(en);
1014
- function de(e) {
1015
- xr(e);
990
+ }(ir);
991
+ function me(e) {
992
+ wn(e);
1016
993
  }
1017
- function Er(e) {
994
+ function Tn(e) {
1018
995
  throw e;
1019
996
  }
1020
- var Sr = {
997
+ var Hn = {
1021
998
  closed: !0,
1022
- next: yt,
1023
- error: Er,
1024
- complete: yt
1025
- }, wr = function() {
999
+ next: Et,
1000
+ error: Tn,
1001
+ complete: Et
1002
+ }, An = function() {
1026
1003
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
1027
1004
  }();
1028
- function Tr(e) {
1005
+ function Bn(e) {
1029
1006
  return e;
1030
1007
  }
1031
- function Hr(e) {
1032
- return e.length === 0 ? Tr : e.length === 1 ? e[0] : function(n) {
1033
- return e.reduce(function(r, i) {
1034
- return i(r);
1035
- }, n);
1008
+ function Cn(e) {
1009
+ return e.length === 0 ? Bn : e.length === 1 ? e[0] : function(r) {
1010
+ return e.reduce(function(n, i) {
1011
+ return i(n);
1012
+ }, r);
1036
1013
  };
1037
1014
  }
1038
- var vt = function() {
1015
+ var wt = function() {
1039
1016
  function e(t) {
1040
1017
  t && (this._subscribe = t);
1041
1018
  }
1042
1019
  return e.prototype.lift = function(t) {
1043
- var n = new e();
1044
- return n.source = this, n.operator = t, n;
1045
- }, e.prototype.subscribe = function(t, n, r) {
1046
- var i = this, o = Ar(t) ? t : new Ze(t, n, r);
1020
+ var r = new e();
1021
+ return r.source = this, r.operator = t, r;
1022
+ }, e.prototype.subscribe = function(t, r, n) {
1023
+ var i = this, o = On(t) ? t : new qe(t, r, n);
1047
1024
  return ge(function() {
1048
1025
  var s = i, a = s.operator, l = s.source;
1049
1026
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
@@ -1051,13 +1028,13 @@ var vt = function() {
1051
1028
  }, e.prototype._trySubscribe = function(t) {
1052
1029
  try {
1053
1030
  return this._subscribe(t);
1054
- } catch (n) {
1055
- t.error(n);
1031
+ } catch (r) {
1032
+ t.error(r);
1056
1033
  }
1057
- }, e.prototype.forEach = function(t, n) {
1058
- var r = this;
1059
- return n = xt(n), new n(function(i, o) {
1060
- var s = new Ze({
1034
+ }, e.prototype.forEach = function(t, r) {
1035
+ var n = this;
1036
+ return r = St(r), new r(function(i, o) {
1037
+ var s = new qe({
1061
1038
  next: function(a) {
1062
1039
  try {
1063
1040
  t(a);
@@ -1068,69 +1045,69 @@ var vt = function() {
1068
1045
  error: o,
1069
1046
  complete: i
1070
1047
  });
1071
- r.subscribe(s);
1048
+ n.subscribe(s);
1072
1049
  });
1073
1050
  }, e.prototype._subscribe = function(t) {
1074
- var n;
1075
- return (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(t);
1076
- }, e.prototype[wr] = function() {
1051
+ var r;
1052
+ return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
1053
+ }, e.prototype[An] = function() {
1077
1054
  return this;
1078
1055
  }, e.prototype.pipe = function() {
1079
- for (var t = [], n = 0; n < arguments.length; n++)
1080
- t[n] = arguments[n];
1081
- return Hr(t)(this);
1056
+ for (var t = [], r = 0; r < arguments.length; r++)
1057
+ t[r] = arguments[r];
1058
+ return Cn(t)(this);
1082
1059
  }, e.prototype.toPromise = function(t) {
1083
- var n = this;
1084
- return t = xt(t), new t(function(r, i) {
1060
+ var r = this;
1061
+ return t = St(t), new t(function(n, i) {
1085
1062
  var o;
1086
- n.subscribe(function(s) {
1063
+ r.subscribe(function(s) {
1087
1064
  return o = s;
1088
1065
  }, function(s) {
1089
1066
  return i(s);
1090
1067
  }, function() {
1091
- return r(o);
1068
+ return n(o);
1092
1069
  });
1093
1070
  });
1094
1071
  }, e.create = function(t) {
1095
1072
  return new e(t);
1096
1073
  }, e;
1097
1074
  }();
1098
- function xt(e) {
1075
+ function St(e) {
1099
1076
  var t;
1100
- return (t = e != null ? e : yr.Promise) !== null && t !== void 0 ? t : Promise;
1077
+ return (t = e != null ? e : xn.Promise) !== null && t !== void 0 ? t : Promise;
1101
1078
  }
1102
- function Br(e) {
1103
- return e && $(e.next) && $(e.error) && $(e.complete);
1079
+ function Pn(e) {
1080
+ return e && R(e.next) && R(e.error) && R(e.complete);
1104
1081
  }
1105
- function Ar(e) {
1106
- return e && e instanceof en || Br(e) && Kt(e);
1082
+ function On(e) {
1083
+ return e && e instanceof ir || Pn(e) && nr(e);
1107
1084
  }
1108
- var Cr = qt(function(e) {
1085
+ var In = tr(function(e) {
1109
1086
  return function() {
1110
1087
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
1111
1088
  };
1112
- }), tn = function(e) {
1113
- G(t, e);
1089
+ }), or = function(e) {
1090
+ le(t, e);
1114
1091
  function t() {
1115
- var n = e.call(this) || this;
1116
- return n.closed = !1, n.currentObservers = null, n.observers = [], n.isStopped = !1, n.hasError = !1, n.thrownError = null, n;
1092
+ var r = e.call(this) || this;
1093
+ return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
1117
1094
  }
1118
- return t.prototype.lift = function(n) {
1119
- var r = new _t(this, this);
1120
- return r.operator = n, r;
1095
+ return t.prototype.lift = function(r) {
1096
+ var n = new Tt(this, this);
1097
+ return n.operator = r, n;
1121
1098
  }, t.prototype._throwIfClosed = function() {
1122
1099
  if (this.closed)
1123
- throw new Cr();
1124
- }, t.prototype.next = function(n) {
1125
- var r = this;
1100
+ throw new In();
1101
+ }, t.prototype.next = function(r) {
1102
+ var n = this;
1126
1103
  ge(function() {
1127
1104
  var i, o;
1128
- if (r._throwIfClosed(), !r.isStopped) {
1129
- r.currentObservers || (r.currentObservers = Array.from(r.observers));
1105
+ if (n._throwIfClosed(), !n.isStopped) {
1106
+ n.currentObservers || (n.currentObservers = Array.from(n.observers));
1130
1107
  try {
1131
- for (var s = Xe(r.currentObservers), a = s.next(); !a.done; a = s.next()) {
1108
+ for (var s = We(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1132
1109
  var l = a.value;
1133
- l.next(n);
1110
+ l.next(r);
1134
1111
  }
1135
1112
  } catch (u) {
1136
1113
  i = { error: u };
@@ -1144,277 +1121,316 @@ var Cr = qt(function(e) {
1144
1121
  }
1145
1122
  }
1146
1123
  });
1147
- }, t.prototype.error = function(n) {
1148
- var r = this;
1124
+ }, t.prototype.error = function(r) {
1125
+ var n = this;
1149
1126
  ge(function() {
1150
- if (r._throwIfClosed(), !r.isStopped) {
1151
- r.hasError = r.isStopped = !0, r.thrownError = n;
1152
- for (var i = r.observers; i.length; )
1153
- i.shift().error(n);
1127
+ if (n._throwIfClosed(), !n.isStopped) {
1128
+ n.hasError = n.isStopped = !0, n.thrownError = r;
1129
+ for (var i = n.observers; i.length; )
1130
+ i.shift().error(r);
1154
1131
  }
1155
1132
  });
1156
1133
  }, t.prototype.complete = function() {
1157
- var n = this;
1134
+ var r = this;
1158
1135
  ge(function() {
1159
- if (n._throwIfClosed(), !n.isStopped) {
1160
- n.isStopped = !0;
1161
- for (var r = n.observers; r.length; )
1162
- r.shift().complete();
1136
+ if (r._throwIfClosed(), !r.isStopped) {
1137
+ r.isStopped = !0;
1138
+ for (var n = r.observers; n.length; )
1139
+ n.shift().complete();
1163
1140
  }
1164
1141
  });
1165
1142
  }, t.prototype.unsubscribe = function() {
1166
1143
  this.isStopped = this.closed = !0, this.observers = this.currentObservers = null;
1167
1144
  }, Object.defineProperty(t.prototype, "observed", {
1168
1145
  get: function() {
1169
- var n;
1170
- return ((n = this.observers) === null || n === void 0 ? void 0 : n.length) > 0;
1146
+ var r;
1147
+ return ((r = this.observers) === null || r === void 0 ? void 0 : r.length) > 0;
1171
1148
  },
1172
1149
  enumerable: !1,
1173
1150
  configurable: !0
1174
- }), t.prototype._trySubscribe = function(n) {
1175
- return this._throwIfClosed(), e.prototype._trySubscribe.call(this, n);
1176
- }, t.prototype._subscribe = function(n) {
1177
- return this._throwIfClosed(), this._checkFinalizedStatuses(n), this._innerSubscribe(n);
1178
- }, t.prototype._innerSubscribe = function(n) {
1179
- var r = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1180
- return o || s ? Yt : (this.currentObservers = null, a.push(n), new Be(function() {
1181
- r.currentObservers = null, We(a, n);
1151
+ }), t.prototype._trySubscribe = function(r) {
1152
+ return this._throwIfClosed(), e.prototype._trySubscribe.call(this, r);
1153
+ }, t.prototype._subscribe = function(r) {
1154
+ return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1155
+ }, t.prototype._innerSubscribe = function(r) {
1156
+ var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1157
+ return o || s ? rr : (this.currentObservers = null, a.push(r), new Ae(function() {
1158
+ n.currentObservers = null, Je(a, r);
1182
1159
  }));
1183
- }, t.prototype._checkFinalizedStatuses = function(n) {
1184
- var r = this, i = r.hasError, o = r.thrownError, s = r.isStopped;
1185
- i ? n.error(o) : s && n.complete();
1160
+ }, t.prototype._checkFinalizedStatuses = function(r) {
1161
+ var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1162
+ i ? r.error(o) : s && r.complete();
1186
1163
  }, t.prototype.asObservable = function() {
1187
- var n = new vt();
1188
- return n.source = this, n;
1189
- }, t.create = function(n, r) {
1190
- return new _t(n, r);
1164
+ var r = new wt();
1165
+ return r.source = this, r;
1166
+ }, t.create = function(r, n) {
1167
+ return new Tt(r, n);
1191
1168
  }, t;
1192
- }(vt), _t = function(e) {
1193
- G(t, e);
1194
- function t(n, r) {
1169
+ }(wt), Tt = function(e) {
1170
+ le(t, e);
1171
+ function t(r, n) {
1195
1172
  var i = e.call(this) || this;
1196
- return i.destination = n, i.source = r, i;
1173
+ return i.destination = r, i.source = n, i;
1197
1174
  }
1198
- return t.prototype.next = function(n) {
1199
- var r, i;
1200
- (i = (r = this.destination) === null || r === void 0 ? void 0 : r.next) === null || i === void 0 || i.call(r, n);
1201
- }, t.prototype.error = function(n) {
1202
- var r, i;
1203
- (i = (r = this.destination) === null || r === void 0 ? void 0 : r.error) === null || i === void 0 || i.call(r, n);
1175
+ return t.prototype.next = function(r) {
1176
+ var n, i;
1177
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.next) === null || i === void 0 || i.call(n, r);
1178
+ }, t.prototype.error = function(r) {
1179
+ var n, i;
1180
+ (i = (n = this.destination) === null || n === void 0 ? void 0 : n.error) === null || i === void 0 || i.call(n, r);
1204
1181
  }, t.prototype.complete = function() {
1205
- var n, r;
1206
- (r = (n = this.destination) === null || n === void 0 ? void 0 : n.complete) === null || r === void 0 || r.call(n);
1207
- }, t.prototype._subscribe = function(n) {
1208
- var r, i;
1209
- return (i = (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(n)) !== null && i !== void 0 ? i : Yt;
1182
+ var r, n;
1183
+ (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1184
+ }, t.prototype._subscribe = function(r) {
1185
+ var n, i;
1186
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : rr;
1210
1187
  }, t;
1211
- }(tn), nn = {
1188
+ }(or), sr = {
1212
1189
  now: function() {
1213
- return (nn.delegate || Date).now();
1190
+ return (sr.delegate || Date).now();
1214
1191
  },
1215
1192
  delegate: void 0
1216
- }, Pr = function(e) {
1217
- G(t, e);
1218
- function t(n, r, i) {
1219
- n === void 0 && (n = 1 / 0), r === void 0 && (r = 1 / 0), i === void 0 && (i = nn);
1193
+ }, Mn = function(e) {
1194
+ le(t, e);
1195
+ function t(r, n, i) {
1196
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = sr);
1220
1197
  var o = e.call(this) || this;
1221
- return o._bufferSize = n, o._windowTime = r, o._timestampProvider = i, o._buffer = [], o._infiniteTimeWindow = !0, o._infiniteTimeWindow = r === 1 / 0, o._bufferSize = Math.max(1, n), o._windowTime = Math.max(1, r), o;
1198
+ 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;
1222
1199
  }
1223
- return t.prototype.next = function(n) {
1224
- var r = this, i = r.isStopped, o = r._buffer, s = r._infiniteTimeWindow, a = r._timestampProvider, l = r._windowTime;
1225
- i || (o.push(n), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, n);
1226
- }, t.prototype._subscribe = function(n) {
1200
+ return t.prototype.next = function(r) {
1201
+ var n = this, i = n.isStopped, o = n._buffer, s = n._infiniteTimeWindow, a = n._timestampProvider, l = n._windowTime;
1202
+ i || (o.push(r), !s && o.push(a.now() + l)), this._trimBuffer(), e.prototype.next.call(this, r);
1203
+ }, t.prototype._subscribe = function(r) {
1227
1204
  this._throwIfClosed(), this._trimBuffer();
1228
- for (var r = this._innerSubscribe(n), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !n.closed; l += o ? 1 : 2)
1229
- n.next(a[l]);
1230
- return this._checkFinalizedStatuses(n), r;
1205
+ for (var n = this._innerSubscribe(r), i = this, o = i._infiniteTimeWindow, s = i._buffer, a = s.slice(), l = 0; l < a.length && !r.closed; l += o ? 1 : 2)
1206
+ r.next(a[l]);
1207
+ return this._checkFinalizedStatuses(r), n;
1231
1208
  }, t.prototype._trimBuffer = function() {
1232
- var n = this, r = n._bufferSize, i = n._timestampProvider, o = n._buffer, s = n._infiniteTimeWindow, a = (s ? 1 : 2) * r;
1233
- if (r < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1209
+ var r = this, n = r._bufferSize, i = r._timestampProvider, o = r._buffer, s = r._infiniteTimeWindow, a = (s ? 1 : 2) * n;
1210
+ if (n < 1 / 0 && a < o.length && o.splice(0, o.length - a), !s) {
1234
1211
  for (var l = i.now(), u = 0, h = 1; h < o.length && o[h] <= l; h += 2)
1235
1212
  u = h;
1236
1213
  u && o.splice(0, u + 1);
1237
1214
  }
1238
1215
  }, t;
1239
- }(tn);
1240
- const Et = [], St = {}, Or = (e, t = 0) => {
1241
- if (Et.indexOf(e) == -1) {
1242
- const n = new Pr(t);
1243
- St[e] = n, Et.push(e);
1216
+ }(or);
1217
+ const Ht = [], At = {}, Nn = (e, t = 0) => {
1218
+ if (Ht.indexOf(e) == -1) {
1219
+ const r = new Mn(t);
1220
+ At[e] = r, Ht.push(e);
1244
1221
  }
1245
- return St[e];
1246
- }, X = [];
1247
- function Ir(e, t) {
1222
+ return At[e];
1223
+ }, V = [];
1224
+ function Ln(e, t) {
1248
1225
  return {
1249
- subscribe: Ae(e, t).subscribe
1226
+ subscribe: Be(e, t).subscribe
1250
1227
  };
1251
1228
  }
1252
- function Ae(e, t = L) {
1253
- let n;
1254
- const r = /* @__PURE__ */ new Set();
1229
+ function Be(e, t = N) {
1230
+ let r;
1231
+ const n = /* @__PURE__ */ new Set();
1255
1232
  function i(a) {
1256
- if (kt(e, a) && (e = a, n)) {
1257
- const l = !X.length;
1258
- for (const u of r)
1259
- u[1](), X.push(u, e);
1233
+ if (Wt(e, a) && (e = a, r)) {
1234
+ const l = !V.length;
1235
+ for (const u of n)
1236
+ u[1](), V.push(u, e);
1260
1237
  if (l) {
1261
- for (let u = 0; u < X.length; u += 2)
1262
- X[u][0](X[u + 1]);
1263
- X.length = 0;
1238
+ for (let u = 0; u < V.length; u += 2)
1239
+ V[u][0](V[u + 1]);
1240
+ V.length = 0;
1264
1241
  }
1265
1242
  }
1266
1243
  }
1267
1244
  function o(a) {
1268
1245
  i(a(e));
1269
1246
  }
1270
- function s(a, l = L) {
1247
+ function s(a, l = N) {
1271
1248
  const u = [a, l];
1272
- return r.add(u), r.size === 1 && (n = t(i, o) || L), a(e), () => {
1273
- r.delete(u), r.size === 0 && n && (n(), n = null);
1249
+ return n.add(u), n.size === 1 && (r = t(i, o) || N), a(e), () => {
1250
+ n.delete(u), n.size === 0 && r && (r(), r = null);
1274
1251
  };
1275
1252
  }
1276
1253
  return { set: i, update: o, subscribe: s };
1277
1254
  }
1278
- function te(e, t, n) {
1279
- const r = !Array.isArray(e), i = r ? [e] : e;
1255
+ function Y(e, t, r) {
1256
+ const n = !Array.isArray(e), i = n ? [e] : e;
1280
1257
  if (!i.every(Boolean))
1281
1258
  throw new Error("derived() expects stores as input, got a falsy value");
1282
1259
  const o = t.length < 2;
1283
- return Ir(n, (s, a) => {
1260
+ return Ln(r, (s, a) => {
1284
1261
  let l = !1;
1285
1262
  const u = [];
1286
- let h = 0, f = L;
1287
- const c = () => {
1263
+ let h = 0, c = N;
1264
+ const f = () => {
1288
1265
  if (h)
1289
1266
  return;
1290
- f();
1291
- const d = t(r ? u[0] : u, s, a);
1292
- o ? s(d) : f = He(d) ? d : L;
1267
+ c();
1268
+ const m = t(n ? u[0] : u, s, a);
1269
+ o ? s(m) : c = He(m) ? m : N;
1293
1270
  }, p = i.map(
1294
- (d, m) => Vt(
1295
- d,
1271
+ (m, d) => Zt(
1272
+ m,
1296
1273
  (g) => {
1297
- u[m] = g, h &= ~(1 << m), l && c();
1274
+ u[d] = g, h &= ~(1 << d), l && f();
1298
1275
  },
1299
1276
  () => {
1300
- h |= 1 << m;
1277
+ h |= 1 << d;
1301
1278
  }
1302
1279
  )
1303
1280
  );
1304
- return l = !0, c(), function() {
1305
- D(p), f(), l = !1;
1281
+ return l = !0, f(), function() {
1282
+ U(p), c(), l = !1;
1306
1283
  };
1307
1284
  });
1308
1285
  }
1309
- var Uo = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1310
- function Mr(e) {
1286
+ var ko = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
1287
+ function $n(e) {
1311
1288
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
1312
1289
  }
1313
- var Nr = function(t) {
1314
- return Lr(t) && !Rr(t);
1290
+ var Rn = function(t) {
1291
+ return Gn(t) && !Un(t);
1315
1292
  };
1316
- function Lr(e) {
1293
+ function Gn(e) {
1317
1294
  return !!e && typeof e == "object";
1318
1295
  }
1319
- function Rr(e) {
1296
+ function Un(e) {
1320
1297
  var t = Object.prototype.toString.call(e);
1321
- return t === "[object RegExp]" || t === "[object Date]" || Ur(e);
1298
+ return t === "[object RegExp]" || t === "[object Date]" || jn(e);
1322
1299
  }
1323
- var $r = typeof Symbol == "function" && Symbol.for, Gr = $r ? Symbol.for("react.element") : 60103;
1324
- function Ur(e) {
1325
- return e.$$typeof === Gr;
1300
+ var Dn = typeof Symbol == "function" && Symbol.for, Fn = Dn ? Symbol.for("react.element") : 60103;
1301
+ function jn(e) {
1302
+ return e.$$typeof === Fn;
1326
1303
  }
1327
- function Dr(e) {
1304
+ function kn(e) {
1328
1305
  return Array.isArray(e) ? [] : {};
1329
1306
  }
1330
- function ue(e, t) {
1331
- return t.clone !== !1 && t.isMergeableObject(e) ? q(Dr(e), e, t) : e;
1307
+ function oe(e, t) {
1308
+ return t.clone !== !1 && t.isMergeableObject(e) ? Z(kn(e), e, t) : e;
1332
1309
  }
1333
- function Fr(e, t, n) {
1334
- return e.concat(t).map(function(r) {
1335
- return ue(r, n);
1310
+ function Vn(e, t, r) {
1311
+ return e.concat(t).map(function(n) {
1312
+ return oe(n, r);
1336
1313
  });
1337
1314
  }
1338
- function jr(e, t) {
1315
+ function Xn(e, t) {
1339
1316
  if (!t.customMerge)
1340
- return q;
1341
- var n = t.customMerge(e);
1342
- return typeof n == "function" ? n : q;
1317
+ return Z;
1318
+ var r = t.customMerge(e);
1319
+ return typeof r == "function" ? r : Z;
1343
1320
  }
1344
- function kr(e) {
1321
+ function zn(e) {
1345
1322
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1346
1323
  return Object.propertyIsEnumerable.call(e, t);
1347
1324
  }) : [];
1348
1325
  }
1349
- function wt(e) {
1350
- return Object.keys(e).concat(kr(e));
1326
+ function Bt(e) {
1327
+ return Object.keys(e).concat(zn(e));
1351
1328
  }
1352
- function rn(e, t) {
1329
+ function ar(e, t) {
1353
1330
  try {
1354
1331
  return t in e;
1355
- } catch (n) {
1332
+ } catch (r) {
1356
1333
  return !1;
1357
1334
  }
1358
1335
  }
1359
- function Vr(e, t) {
1360
- return rn(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1336
+ function Wn(e, t) {
1337
+ return ar(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1361
1338
  }
1362
- function Xr(e, t, n) {
1363
- var r = {};
1364
- return n.isMergeableObject(e) && wt(e).forEach(function(i) {
1365
- r[i] = ue(e[i], n);
1366
- }), wt(t).forEach(function(i) {
1367
- Vr(e, i) || (rn(e, i) && n.isMergeableObject(t[i]) ? r[i] = jr(i, n)(e[i], t[i], n) : r[i] = ue(t[i], n));
1368
- }), r;
1369
- }
1370
- function q(e, t, n) {
1371
- n = n || {}, n.arrayMerge = n.arrayMerge || Fr, n.isMergeableObject = n.isMergeableObject || Nr, n.cloneUnlessOtherwiseSpecified = ue;
1372
- var r = Array.isArray(t), i = Array.isArray(e), o = r === i;
1373
- return o ? r ? n.arrayMerge(e, t, n) : Xr(e, t, n) : ue(t, n);
1374
- }
1375
- q.all = function(t, n) {
1339
+ function Zn(e, t, r) {
1340
+ var n = {};
1341
+ return r.isMergeableObject(e) && Bt(e).forEach(function(i) {
1342
+ n[i] = oe(e[i], r);
1343
+ }), Bt(t).forEach(function(i) {
1344
+ Wn(e, i) || (ar(e, i) && r.isMergeableObject(t[i]) ? n[i] = Xn(i, r)(e[i], t[i], r) : n[i] = oe(t[i], r));
1345
+ }), n;
1346
+ }
1347
+ function Z(e, t, r) {
1348
+ r = r || {}, r.arrayMerge = r.arrayMerge || Vn, r.isMergeableObject = r.isMergeableObject || Rn, r.cloneUnlessOtherwiseSpecified = oe;
1349
+ var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1350
+ return o ? n ? r.arrayMerge(e, t, r) : Zn(e, t, r) : oe(t, r);
1351
+ }
1352
+ Z.all = function(t, r) {
1376
1353
  if (!Array.isArray(t))
1377
1354
  throw new Error("first argument should be an array");
1378
- return t.reduce(function(r, i) {
1379
- return q(r, i, n);
1355
+ return t.reduce(function(n, i) {
1356
+ return Z(n, i, r);
1380
1357
  }, {});
1381
1358
  };
1382
- var zr = q, Wr = zr;
1383
- const Zr = /* @__PURE__ */ Mr(Wr);
1384
- function Re(e, t) {
1385
- var n = t && t.cache ? t.cache : ti, r = t && t.serializer ? t.serializer : Kr, i = t && t.strategy ? t.strategy : Jr;
1359
+ var Qn = Z, Jn = Qn;
1360
+ const qn = /* @__PURE__ */ $n(Jn);
1361
+ var Ye = function(e, t) {
1362
+ return Ye = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1363
+ r.__proto__ = n;
1364
+ } || function(r, n) {
1365
+ for (var i in n)
1366
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1367
+ }, Ye(e, t);
1368
+ };
1369
+ function Ce(e, t) {
1370
+ if (typeof t != "function" && t !== null)
1371
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1372
+ Ye(e, t);
1373
+ function r() {
1374
+ this.constructor = e;
1375
+ }
1376
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1377
+ }
1378
+ var L = function() {
1379
+ return L = Object.assign || function(t) {
1380
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1381
+ r = arguments[n];
1382
+ for (var o in r)
1383
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1384
+ }
1385
+ return t;
1386
+ }, L.apply(this, arguments);
1387
+ };
1388
+ function Yn(e, t) {
1389
+ var r = {};
1390
+ for (var n in e)
1391
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1392
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1393
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1394
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1395
+ return r;
1396
+ }
1397
+ function Re(e, t, r) {
1398
+ if (r || arguments.length === 2)
1399
+ for (var n = 0, i = t.length, o; n < i; n++)
1400
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1401
+ return e.concat(o || Array.prototype.slice.call(t));
1402
+ }
1403
+ function Ge(e, t) {
1404
+ var r = t && t.cache ? t.cache : oi, n = t && t.serializer ? t.serializer : ni, i = t && t.strategy ? t.strategy : ti;
1386
1405
  return i(e, {
1387
- cache: n,
1388
- serializer: r
1406
+ cache: r,
1407
+ serializer: n
1389
1408
  });
1390
1409
  }
1391
- function Qr(e) {
1410
+ function Kn(e) {
1392
1411
  return e == null || typeof e == "number" || typeof e == "boolean";
1393
1412
  }
1394
- function on(e, t, n, r) {
1395
- var i = Qr(r) ? r : n(r), o = t.get(i);
1396
- return typeof o == "undefined" && (o = e.call(this, r), t.set(i, o)), o;
1413
+ function ei(e, t, r, n) {
1414
+ var i = Kn(n) ? n : r(n), o = t.get(i);
1415
+ return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1397
1416
  }
1398
- function sn(e, t, n) {
1399
- var r = Array.prototype.slice.call(arguments, 3), i = n(r), o = t.get(i);
1400
- return typeof o == "undefined" && (o = e.apply(this, r), t.set(i, o)), o;
1417
+ function ur(e, t, r) {
1418
+ var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1419
+ return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1401
1420
  }
1402
- function ot(e, t, n, r, i) {
1403
- return n.bind(t, e, r, i);
1421
+ function lr(e, t, r, n, i) {
1422
+ return r.bind(t, e, n, i);
1404
1423
  }
1405
- function Jr(e, t) {
1406
- var n = e.length === 1 ? on : sn;
1407
- return ot(e, this, n, t.cache.create(), t.serializer);
1424
+ function ti(e, t) {
1425
+ var r = e.length === 1 ? ei : ur;
1426
+ return lr(e, this, r, t.cache.create(), t.serializer);
1408
1427
  }
1409
- function qr(e, t) {
1410
- return ot(e, this, sn, t.cache.create(), t.serializer);
1428
+ function ri(e, t) {
1429
+ return lr(e, this, ur, t.cache.create(), t.serializer);
1411
1430
  }
1412
- function Yr(e, t) {
1413
- return ot(e, this, on, t.cache.create(), t.serializer);
1414
- }
1415
- var Kr = function() {
1431
+ var ni = function() {
1416
1432
  return JSON.stringify(arguments);
1417
- }, ei = (
1433
+ }, ii = (
1418
1434
  /** @class */
1419
1435
  function() {
1420
1436
  function e() {
@@ -1422,73 +1438,82 @@ var Kr = function() {
1422
1438
  }
1423
1439
  return e.prototype.get = function(t) {
1424
1440
  return this.cache[t];
1425
- }, e.prototype.set = function(t, n) {
1426
- this.cache[t] = n;
1441
+ }, e.prototype.set = function(t, r) {
1442
+ this.cache[t] = r;
1427
1443
  }, e;
1428
1444
  }()
1429
- ), ti = {
1445
+ ), oi = {
1430
1446
  create: function() {
1431
- return new ei();
1447
+ return new ii();
1432
1448
  }
1433
- }, $e = {
1434
- variadic: qr,
1435
- monadic: Yr
1436
- }, b;
1449
+ }, Ue = {
1450
+ variadic: ri
1451
+ }, we = function() {
1452
+ return we = Object.assign || function(t) {
1453
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1454
+ r = arguments[n];
1455
+ for (var o in r)
1456
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1457
+ }
1458
+ return t;
1459
+ }, we.apply(this, arguments);
1460
+ };
1461
+ var y;
1437
1462
  (function(e) {
1438
1463
  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";
1439
- })(b || (b = {}));
1464
+ })(y || (y = {}));
1440
1465
  var w;
1441
1466
  (function(e) {
1442
1467
  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
1468
  })(w || (w = {}));
1444
- var Y;
1469
+ var Q;
1445
1470
  (function(e) {
1446
1471
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1447
- })(Y || (Y = {}));
1448
- function Tt(e) {
1472
+ })(Q || (Q = {}));
1473
+ function Ct(e) {
1449
1474
  return e.type === w.literal;
1450
1475
  }
1451
- function ni(e) {
1476
+ function si(e) {
1452
1477
  return e.type === w.argument;
1453
1478
  }
1454
- function an(e) {
1479
+ function hr(e) {
1455
1480
  return e.type === w.number;
1456
1481
  }
1457
- function un(e) {
1482
+ function cr(e) {
1458
1483
  return e.type === w.date;
1459
1484
  }
1460
- function ln(e) {
1485
+ function fr(e) {
1461
1486
  return e.type === w.time;
1462
1487
  }
1463
- function hn(e) {
1488
+ function mr(e) {
1464
1489
  return e.type === w.select;
1465
1490
  }
1466
- function fn(e) {
1491
+ function pr(e) {
1467
1492
  return e.type === w.plural;
1468
1493
  }
1469
- function ri(e) {
1494
+ function ai(e) {
1470
1495
  return e.type === w.pound;
1471
1496
  }
1472
- function cn(e) {
1497
+ function dr(e) {
1473
1498
  return e.type === w.tag;
1474
1499
  }
1475
- function dn(e) {
1476
- return !!(e && typeof e == "object" && e.type === Y.number);
1500
+ function br(e) {
1501
+ return !!(e && typeof e == "object" && e.type === Q.number);
1477
1502
  }
1478
- function Qe(e) {
1479
- return !!(e && typeof e == "object" && e.type === Y.dateTime);
1503
+ function Ke(e) {
1504
+ return !!(e && typeof e == "object" && e.type === Q.dateTime);
1480
1505
  }
1481
- var mn = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ii = /(?:[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;
1482
- function oi(e) {
1506
+ var gr = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, ui = /(?:[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;
1507
+ function li(e) {
1483
1508
  var t = {};
1484
- return e.replace(ii, function(n) {
1485
- var r = n.length;
1486
- switch (n[0]) {
1509
+ return e.replace(ui, function(r) {
1510
+ var n = r.length;
1511
+ switch (r[0]) {
1487
1512
  case "G":
1488
- t.era = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1513
+ t.era = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1489
1514
  break;
1490
1515
  case "y":
1491
- t.year = r === 2 ? "2-digit" : "numeric";
1516
+ t.year = n === 2 ? "2-digit" : "numeric";
1492
1517
  break;
1493
1518
  case "Y":
1494
1519
  case "u":
@@ -1500,30 +1525,30 @@ function oi(e) {
1500
1525
  throw new RangeError("`q/Q` (quarter) patterns are not supported");
1501
1526
  case "M":
1502
1527
  case "L":
1503
- t.month = ["numeric", "2-digit", "short", "long", "narrow"][r - 1];
1528
+ t.month = ["numeric", "2-digit", "short", "long", "narrow"][n - 1];
1504
1529
  break;
1505
1530
  case "w":
1506
1531
  case "W":
1507
1532
  throw new RangeError("`w/W` (week) patterns are not supported");
1508
1533
  case "d":
1509
- t.day = ["numeric", "2-digit"][r - 1];
1534
+ t.day = ["numeric", "2-digit"][n - 1];
1510
1535
  break;
1511
1536
  case "D":
1512
1537
  case "F":
1513
1538
  case "g":
1514
1539
  throw new RangeError("`D/F/g` (day) patterns are not supported, use `d` instead");
1515
1540
  case "E":
1516
- t.weekday = r === 4 ? "long" : r === 5 ? "narrow" : "short";
1541
+ t.weekday = n === 4 ? "long" : n === 5 ? "narrow" : "short";
1517
1542
  break;
1518
1543
  case "e":
1519
- if (r < 4)
1544
+ if (n < 4)
1520
1545
  throw new RangeError("`e..eee` (weekday) patterns are not supported");
1521
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
1546
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
1522
1547
  break;
1523
1548
  case "c":
1524
- if (r < 4)
1549
+ if (n < 4)
1525
1550
  throw new RangeError("`c..ccc` (weekday) patterns are not supported");
1526
- t.weekday = ["short", "long", "narrow", "short"][r - 4];
1551
+ t.weekday = ["short", "long", "narrow", "short"][n - 4];
1527
1552
  break;
1528
1553
  case "a":
1529
1554
  t.hour12 = !0;
@@ -1532,32 +1557,32 @@ function oi(e) {
1532
1557
  case "B":
1533
1558
  throw new RangeError("`b/B` (period) patterns are not supported, use `a` instead");
1534
1559
  case "h":
1535
- t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][r - 1];
1560
+ t.hourCycle = "h12", t.hour = ["numeric", "2-digit"][n - 1];
1536
1561
  break;
1537
1562
  case "H":
1538
- t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][r - 1];
1563
+ t.hourCycle = "h23", t.hour = ["numeric", "2-digit"][n - 1];
1539
1564
  break;
1540
1565
  case "K":
1541
- t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][r - 1];
1566
+ t.hourCycle = "h11", t.hour = ["numeric", "2-digit"][n - 1];
1542
1567
  break;
1543
1568
  case "k":
1544
- t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][r - 1];
1569
+ t.hourCycle = "h24", t.hour = ["numeric", "2-digit"][n - 1];
1545
1570
  break;
1546
1571
  case "j":
1547
1572
  case "J":
1548
1573
  case "C":
1549
1574
  throw new RangeError("`j/J/C` (hour) patterns are not supported, use `h/H/K/k` instead");
1550
1575
  case "m":
1551
- t.minute = ["numeric", "2-digit"][r - 1];
1576
+ t.minute = ["numeric", "2-digit"][n - 1];
1552
1577
  break;
1553
1578
  case "s":
1554
- t.second = ["numeric", "2-digit"][r - 1];
1579
+ t.second = ["numeric", "2-digit"][n - 1];
1555
1580
  break;
1556
1581
  case "S":
1557
1582
  case "A":
1558
1583
  throw new RangeError("`S/A` (second) patterns are not supported, use `s` instead");
1559
1584
  case "z":
1560
- t.timeZoneName = r < 4 ? "short" : "long";
1585
+ t.timeZoneName = n < 4 ? "short" : "long";
1561
1586
  break;
1562
1587
  case "Z":
1563
1588
  case "O":
@@ -1570,36 +1595,46 @@ function oi(e) {
1570
1595
  return "";
1571
1596
  }), t;
1572
1597
  }
1573
- var si = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1574
- function ai(e) {
1598
+ var S = function() {
1599
+ return S = Object.assign || function(t) {
1600
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1601
+ r = arguments[n];
1602
+ for (var o in r)
1603
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1604
+ }
1605
+ return t;
1606
+ }, S.apply(this, arguments);
1607
+ };
1608
+ var hi = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1609
+ function ci(e) {
1575
1610
  if (e.length === 0)
1576
1611
  throw new Error("Number skeleton cannot be empty");
1577
- for (var t = e.split(si).filter(function(c) {
1578
- return c.length > 0;
1579
- }), n = [], r = 0, i = t; r < i.length; r++) {
1580
- var o = i[r], s = o.split("/");
1612
+ for (var t = e.split(hi).filter(function(f) {
1613
+ return f.length > 0;
1614
+ }), r = [], n = 0, i = t; n < i.length; n++) {
1615
+ var o = i[n], s = o.split("/");
1581
1616
  if (s.length === 0)
1582
1617
  throw new Error("Invalid number skeleton");
1583
1618
  for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1584
- var f = h[u];
1585
- if (f.length === 0)
1619
+ var c = h[u];
1620
+ if (c.length === 0)
1586
1621
  throw new Error("Invalid number skeleton");
1587
1622
  }
1588
- n.push({ stem: a, options: l });
1623
+ r.push({ stem: a, options: l });
1589
1624
  }
1590
- return n;
1625
+ return r;
1591
1626
  }
1592
- function ui(e) {
1627
+ function fi(e) {
1593
1628
  return e.replace(/^(.*?)-/, "");
1594
1629
  }
1595
- var Ht = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, pn = /^(@+)?(\+|#+)?[rs]?$/g, li = /(\*)(0+)|(#+)(0+)|(0+)/g, bn = /^(0+)$/;
1596
- function Bt(e) {
1630
+ var Pt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, yr = /^(@+)?(\+|#+)?[rs]?$/g, mi = /(\*)(0+)|(#+)(0+)|(0+)/g, vr = /^(0+)$/;
1631
+ function Ot(e) {
1597
1632
  var t = {};
1598
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(pn, function(n, r, i) {
1599
- return typeof i != "string" ? (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length) : i === "+" ? t.minimumSignificantDigits = r.length : r[0] === "#" ? t.maximumSignificantDigits = r.length : (t.minimumSignificantDigits = r.length, t.maximumSignificantDigits = r.length + (typeof i == "string" ? i.length : 0)), "";
1633
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(yr, function(r, n, i) {
1634
+ 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)), "";
1600
1635
  }), t;
1601
1636
  }
1602
- function gn(e) {
1637
+ function _r(e) {
1603
1638
  switch (e) {
1604
1639
  case "sign-auto":
1605
1640
  return {
@@ -1639,27 +1674,27 @@ function gn(e) {
1639
1674
  };
1640
1675
  }
1641
1676
  }
1642
- function hi(e) {
1677
+ function pi(e) {
1643
1678
  var t;
1644
1679
  if (e[0] === "E" && e[1] === "E" ? (t = {
1645
1680
  notation: "engineering"
1646
1681
  }, e = e.slice(2)) : e[0] === "E" && (t = {
1647
1682
  notation: "scientific"
1648
1683
  }, e = e.slice(1)), t) {
1649
- var n = e.slice(0, 2);
1650
- if (n === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : n === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !bn.test(e))
1684
+ var r = e.slice(0, 2);
1685
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !vr.test(e))
1651
1686
  throw new Error("Malformed concise eng/scientific notation");
1652
1687
  t.minimumIntegerDigits = e.length;
1653
1688
  }
1654
1689
  return t;
1655
1690
  }
1656
- function At(e) {
1657
- var t = {}, n = gn(e);
1658
- return n || t;
1691
+ function It(e) {
1692
+ var t = {}, r = _r(e);
1693
+ return r || t;
1659
1694
  }
1660
- function fi(e) {
1661
- for (var t = {}, n = 0, r = e; n < r.length; n++) {
1662
- var i = r[n];
1695
+ function di(e) {
1696
+ for (var t = {}, r = 0, n = e; r < n.length; r++) {
1697
+ var i = n[r];
1663
1698
  switch (i.stem) {
1664
1699
  case "percent":
1665
1700
  case "%":
@@ -1681,7 +1716,7 @@ function fi(e) {
1681
1716
  continue;
1682
1717
  case "measure-unit":
1683
1718
  case "unit":
1684
- t.style = "unit", t.unit = ui(i.options[0]);
1719
+ t.style = "unit", t.unit = fi(i.options[0]);
1685
1720
  continue;
1686
1721
  case "compact-short":
1687
1722
  case "K":
@@ -1692,13 +1727,13 @@ function fi(e) {
1692
1727
  t.notation = "compact", t.compactDisplay = "long";
1693
1728
  continue;
1694
1729
  case "scientific":
1695
- t = x(x(x({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1696
- return x(x({}, l), At(u));
1730
+ t = S(S(S({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1731
+ return S(S({}, l), It(u));
1697
1732
  }, {}));
1698
1733
  continue;
1699
1734
  case "engineering":
1700
- t = x(x(x({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1701
- return x(x({}, l), At(u));
1735
+ t = S(S(S({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1736
+ return S(S({}, l), It(u));
1702
1737
  }, {}));
1703
1738
  continue;
1704
1739
  case "notation-simple":
@@ -1743,11 +1778,11 @@ function fi(e) {
1743
1778
  case "integer-width":
1744
1779
  if (i.options.length > 1)
1745
1780
  throw new RangeError("integer-width stems only accept a single optional option");
1746
- i.options[0].replace(li, function(l, u, h, f, c, p) {
1781
+ i.options[0].replace(mi, function(l, u, h, c, f, p) {
1747
1782
  if (u)
1748
1783
  t.minimumIntegerDigits = h.length;
1749
1784
  else {
1750
- if (f && c)
1785
+ if (c && f)
1751
1786
  throw new Error("We currently do not support maximum integer digits");
1752
1787
  if (p)
1753
1788
  throw new Error("We currently do not support exact integer digits");
@@ -1756,32 +1791,32 @@ function fi(e) {
1756
1791
  });
1757
1792
  continue;
1758
1793
  }
1759
- if (bn.test(i.stem)) {
1794
+ if (vr.test(i.stem)) {
1760
1795
  t.minimumIntegerDigits = i.stem.length;
1761
1796
  continue;
1762
1797
  }
1763
- if (Ht.test(i.stem)) {
1798
+ if (Pt.test(i.stem)) {
1764
1799
  if (i.options.length > 1)
1765
1800
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1766
- i.stem.replace(Ht, function(l, u, h, f, c, p) {
1767
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && p ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + p.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1801
+ i.stem.replace(Pt, function(l, u, h, c, f, p) {
1802
+ 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
1803
  });
1769
1804
  var o = i.options[0];
1770
- o === "w" ? t = x(x({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = x(x({}, t), Bt(o)));
1805
+ o === "w" ? t = S(S({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = S(S({}, t), Ot(o)));
1771
1806
  continue;
1772
1807
  }
1773
- if (pn.test(i.stem)) {
1774
- t = x(x({}, t), Bt(i.stem));
1808
+ if (yr.test(i.stem)) {
1809
+ t = S(S({}, t), Ot(i.stem));
1775
1810
  continue;
1776
1811
  }
1777
- var s = gn(i.stem);
1778
- s && (t = x(x({}, t), s));
1779
- var a = hi(i.stem);
1780
- a && (t = x(x({}, t), a));
1812
+ var s = _r(i.stem);
1813
+ s && (t = S(S({}, t), s));
1814
+ var a = pi(i.stem);
1815
+ a && (t = S(S({}, t), a));
1781
1816
  }
1782
1817
  return t;
1783
1818
  }
1784
- var me = {
1819
+ var pe = {
1785
1820
  "001": [
1786
1821
  "H",
1787
1822
  "h"
@@ -3196,23 +3231,23 @@ var me = {
3196
3231
  "h"
3197
3232
  ]
3198
3233
  };
3199
- function ci(e, t) {
3200
- for (var n = "", r = 0; r < e.length; r++) {
3201
- var i = e.charAt(r);
3234
+ function bi(e, t) {
3235
+ for (var r = "", n = 0; n < e.length; n++) {
3236
+ var i = e.charAt(n);
3202
3237
  if (i === "j") {
3203
- for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === i; )
3204
- o++, r++;
3205
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = di(t);
3238
+ for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3239
+ o++, n++;
3240
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = gi(t);
3206
3241
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3207
- n += l;
3242
+ r += l;
3208
3243
  for (; s-- > 0; )
3209
- n = u + n;
3244
+ r = u + r;
3210
3245
  } else
3211
- i === "J" ? n += "H" : n += i;
3246
+ i === "J" ? r += "H" : r += i;
3212
3247
  }
3213
- return n;
3248
+ return r;
3214
3249
  }
3215
- function di(e) {
3250
+ function gi(e) {
3216
3251
  var t = e.hourCycle;
3217
3252
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3218
3253
  e.hourCycles && // @ts-ignore
@@ -3229,73 +3264,73 @@ function di(e) {
3229
3264
  default:
3230
3265
  throw new Error("Invalid hourCycle");
3231
3266
  }
3232
- var n = e.language, r;
3233
- n !== "root" && (r = e.maximize().region);
3234
- var i = me[r || ""] || me[n || ""] || me["".concat(n, "-001")] || me["001"];
3267
+ var r = e.language, n;
3268
+ r !== "root" && (n = e.maximize().region);
3269
+ var i = pe[n || ""] || pe[r || ""] || pe["".concat(r, "-001")] || pe["001"];
3235
3270
  return i[0];
3236
3271
  }
3237
- var Ge, mi = new RegExp("^".concat(mn.source, "*")), pi = new RegExp("".concat(mn.source, "*$"));
3238
- function v(e, t) {
3272
+ var De, yi = new RegExp("^".concat(gr.source, "*")), vi = new RegExp("".concat(gr.source, "*$"));
3273
+ function _(e, t) {
3239
3274
  return { start: e, end: t };
3240
3275
  }
3241
- var bi = !!String.prototype.startsWith && "_a".startsWith("a", 1), gi = !!String.fromCodePoint, yi = !!Object.fromEntries, vi = !!String.prototype.codePointAt, xi = !!String.prototype.trimStart, _i = !!String.prototype.trimEnd, Ei = !!Number.isSafeInteger, Si = Ei ? Number.isSafeInteger : function(e) {
3276
+ var _i = !!String.prototype.startsWith && "_a".startsWith("a", 1), xi = !!String.fromCodePoint, Ei = !!Object.fromEntries, wi = !!String.prototype.codePointAt, Si = !!String.prototype.trimStart, Ti = !!String.prototype.trimEnd, Hi = !!Number.isSafeInteger, Ai = Hi ? Number.isSafeInteger : function(e) {
3242
3277
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3243
- }, Je = !0;
3278
+ }, et = !0;
3244
3279
  try {
3245
- var wi = vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3246
- Je = ((Ge = wi.exec("a")) === null || Ge === void 0 ? void 0 : Ge[0]) === "a";
3280
+ var Bi = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3281
+ et = ((De = Bi.exec("a")) === null || De === void 0 ? void 0 : De[0]) === "a";
3247
3282
  } catch (e) {
3248
- Je = !1;
3283
+ et = !1;
3249
3284
  }
3250
- var Ct = bi ? (
3285
+ var Mt = _i ? (
3251
3286
  // Native
3252
- function(t, n, r) {
3253
- return t.startsWith(n, r);
3287
+ function(t, r, n) {
3288
+ return t.startsWith(r, n);
3254
3289
  }
3255
3290
  ) : (
3256
3291
  // For IE11
3257
- function(t, n, r) {
3258
- return t.slice(r, r + n.length) === n;
3292
+ function(t, r, n) {
3293
+ return t.slice(n, n + r.length) === r;
3259
3294
  }
3260
- ), qe = gi ? String.fromCodePoint : (
3295
+ ), tt = xi ? String.fromCodePoint : (
3261
3296
  // IE11
3262
3297
  function() {
3263
- for (var t = [], n = 0; n < arguments.length; n++)
3264
- t[n] = arguments[n];
3265
- for (var r = "", i = t.length, o = 0, s; i > o; ) {
3298
+ for (var t = [], r = 0; r < arguments.length; r++)
3299
+ t[r] = arguments[r];
3300
+ for (var n = "", i = t.length, o = 0, s; i > o; ) {
3266
3301
  if (s = t[o++], s > 1114111)
3267
3302
  throw RangeError(s + " is not a valid code point");
3268
- r += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3303
+ n += s < 65536 ? String.fromCharCode(s) : String.fromCharCode(((s -= 65536) >> 10) + 55296, s % 1024 + 56320);
3269
3304
  }
3270
- return r;
3305
+ return n;
3271
3306
  }
3272
- ), Pt = (
3307
+ ), Nt = (
3273
3308
  // native
3274
- yi ? Object.fromEntries : (
3309
+ Ei ? Object.fromEntries : (
3275
3310
  // Ponyfill
3276
3311
  function(t) {
3277
- for (var n = {}, r = 0, i = t; r < i.length; r++) {
3278
- var o = i[r], s = o[0], a = o[1];
3279
- n[s] = a;
3312
+ for (var r = {}, n = 0, i = t; n < i.length; n++) {
3313
+ var o = i[n], s = o[0], a = o[1];
3314
+ r[s] = a;
3280
3315
  }
3281
- return n;
3316
+ return r;
3282
3317
  }
3283
3318
  )
3284
- ), yn = vi ? (
3319
+ ), xr = wi ? (
3285
3320
  // Native
3286
- function(t, n) {
3287
- return t.codePointAt(n);
3321
+ function(t, r) {
3322
+ return t.codePointAt(r);
3288
3323
  }
3289
3324
  ) : (
3290
3325
  // IE 11
3291
- function(t, n) {
3292
- var r = t.length;
3293
- if (!(n < 0 || n >= r)) {
3294
- var i = t.charCodeAt(n), o;
3295
- return i < 55296 || i > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3326
+ function(t, r) {
3327
+ var n = t.length;
3328
+ if (!(r < 0 || r >= n)) {
3329
+ var i = t.charCodeAt(r), o;
3330
+ return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3296
3331
  }
3297
3332
  }
3298
- ), Ti = xi ? (
3333
+ ), Ci = Si ? (
3299
3334
  // Native
3300
3335
  function(t) {
3301
3336
  return t.trimStart();
@@ -3303,9 +3338,9 @@ var Ct = bi ? (
3303
3338
  ) : (
3304
3339
  // Ponyfill
3305
3340
  function(t) {
3306
- return t.replace(mi, "");
3341
+ return t.replace(yi, "");
3307
3342
  }
3308
- ), Hi = _i ? (
3343
+ ), Pi = Ti ? (
3309
3344
  // Native
3310
3345
  function(t) {
3311
3346
  return t.trimEnd();
@@ -3313,69 +3348,69 @@ var Ct = bi ? (
3313
3348
  ) : (
3314
3349
  // Ponyfill
3315
3350
  function(t) {
3316
- return t.replace(pi, "");
3351
+ return t.replace(vi, "");
3317
3352
  }
3318
3353
  );
3319
- function vn(e, t) {
3354
+ function Er(e, t) {
3320
3355
  return new RegExp(e, t);
3321
3356
  }
3322
- var Ye;
3323
- if (Je) {
3324
- var Ot = vn("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3325
- Ye = function(t, n) {
3326
- var r;
3327
- Ot.lastIndex = n;
3328
- var i = Ot.exec(t);
3329
- return (r = i[1]) !== null && r !== void 0 ? r : "";
3357
+ var rt;
3358
+ if (et) {
3359
+ var Lt = Er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3360
+ rt = function(t, r) {
3361
+ var n;
3362
+ Lt.lastIndex = r;
3363
+ var i = Lt.exec(t);
3364
+ return (n = i[1]) !== null && n !== void 0 ? n : "";
3330
3365
  };
3331
3366
  } else
3332
- Ye = function(t, n) {
3333
- for (var r = []; ; ) {
3334
- var i = yn(t, n);
3335
- if (i === void 0 || xn(i) || Pi(i))
3367
+ rt = function(t, r) {
3368
+ for (var n = []; ; ) {
3369
+ var i = xr(t, r);
3370
+ if (i === void 0 || wr(i) || Ni(i))
3336
3371
  break;
3337
- r.push(i), n += i >= 65536 ? 2 : 1;
3372
+ n.push(i), r += i >= 65536 ? 2 : 1;
3338
3373
  }
3339
- return qe.apply(void 0, r);
3374
+ return tt.apply(void 0, n);
3340
3375
  };
3341
- var Bi = (
3376
+ var Oi = (
3342
3377
  /** @class */
3343
3378
  function() {
3344
- function e(t, n) {
3345
- n === void 0 && (n = {}), this.message = t, this.position = { offset: 0, line: 1, column: 1 }, this.ignoreTag = !!n.ignoreTag, this.locale = n.locale, this.requiresOtherClause = !!n.requiresOtherClause, this.shouldParseSkeletons = !!n.shouldParseSkeletons;
3379
+ function e(t, r) {
3380
+ 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;
3346
3381
  }
3347
3382
  return e.prototype.parse = function() {
3348
3383
  if (this.offset() !== 0)
3349
3384
  throw Error("parser can only be used once");
3350
3385
  return this.parseMessage(0, "", !1);
3351
- }, e.prototype.parseMessage = function(t, n, r) {
3386
+ }, e.prototype.parseMessage = function(t, r, n) {
3352
3387
  for (var i = []; !this.isEOF(); ) {
3353
3388
  var o = this.char();
3354
3389
  if (o === 123) {
3355
- var s = this.parseArgument(t, r);
3390
+ var s = this.parseArgument(t, n);
3356
3391
  if (s.err)
3357
3392
  return s;
3358
3393
  i.push(s.val);
3359
3394
  } else {
3360
3395
  if (o === 125 && t > 0)
3361
3396
  break;
3362
- if (o === 35 && (n === "plural" || n === "selectordinal")) {
3397
+ if (o === 35 && (r === "plural" || r === "selectordinal")) {
3363
3398
  var a = this.clonePosition();
3364
3399
  this.bump(), i.push({
3365
3400
  type: w.pound,
3366
- location: v(a, this.clonePosition())
3401
+ location: _(a, this.clonePosition())
3367
3402
  });
3368
3403
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3369
- if (r)
3404
+ if (n)
3370
3405
  break;
3371
- return this.error(b.UNMATCHED_CLOSING_TAG, v(this.clonePosition(), this.clonePosition()));
3372
- } else if (o === 60 && !this.ignoreTag && Ke(this.peek() || 0)) {
3373
- var s = this.parseTag(t, n);
3406
+ return this.error(y.UNMATCHED_CLOSING_TAG, _(this.clonePosition(), this.clonePosition()));
3407
+ } else if (o === 60 && !this.ignoreTag && nt(this.peek() || 0)) {
3408
+ var s = this.parseTag(t, r);
3374
3409
  if (s.err)
3375
3410
  return s;
3376
3411
  i.push(s.val);
3377
3412
  } else {
3378
- var s = this.parseLiteral(t, n);
3413
+ var s = this.parseLiteral(t, r);
3379
3414
  if (s.err)
3380
3415
  return s;
3381
3416
  i.push(s.val);
@@ -3383,8 +3418,8 @@ var Bi = (
3383
3418
  }
3384
3419
  }
3385
3420
  return { val: i, err: null };
3386
- }, e.prototype.parseTag = function(t, n) {
3387
- var r = this.clonePosition();
3421
+ }, e.prototype.parseTag = function(t, r) {
3422
+ var n = this.clonePosition();
3388
3423
  this.bump();
3389
3424
  var i = this.parseTagName();
3390
3425
  if (this.bumpSpace(), this.bumpIf("/>"))
@@ -3392,45 +3427,45 @@ var Bi = (
3392
3427
  val: {
3393
3428
  type: w.literal,
3394
3429
  value: "<".concat(i, "/>"),
3395
- location: v(r, this.clonePosition())
3430
+ location: _(n, this.clonePosition())
3396
3431
  },
3397
3432
  err: null
3398
3433
  };
3399
3434
  if (this.bumpIf(">")) {
3400
- var o = this.parseMessage(t + 1, n, !0);
3435
+ var o = this.parseMessage(t + 1, r, !0);
3401
3436
  if (o.err)
3402
3437
  return o;
3403
3438
  var s = o.val, a = this.clonePosition();
3404
3439
  if (this.bumpIf("</")) {
3405
- if (this.isEOF() || !Ke(this.char()))
3406
- return this.error(b.INVALID_TAG, v(a, this.clonePosition()));
3440
+ if (this.isEOF() || !nt(this.char()))
3441
+ return this.error(y.INVALID_TAG, _(a, this.clonePosition()));
3407
3442
  var l = this.clonePosition(), u = this.parseTagName();
3408
- return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, v(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3443
+ return i !== u ? this.error(y.UNMATCHED_CLOSING_TAG, _(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3409
3444
  val: {
3410
3445
  type: w.tag,
3411
3446
  value: i,
3412
3447
  children: s,
3413
- location: v(r, this.clonePosition())
3448
+ location: _(n, this.clonePosition())
3414
3449
  },
3415
3450
  err: null
3416
- } : this.error(b.INVALID_TAG, v(a, this.clonePosition())));
3451
+ } : this.error(y.INVALID_TAG, _(a, this.clonePosition())));
3417
3452
  } else
3418
- return this.error(b.UNCLOSED_TAG, v(r, this.clonePosition()));
3453
+ return this.error(y.UNCLOSED_TAG, _(n, this.clonePosition()));
3419
3454
  } else
3420
- return this.error(b.INVALID_TAG, v(r, this.clonePosition()));
3455
+ return this.error(y.INVALID_TAG, _(n, this.clonePosition()));
3421
3456
  }, e.prototype.parseTagName = function() {
3422
3457
  var t = this.offset();
3423
- for (this.bump(); !this.isEOF() && Ci(this.char()); )
3458
+ for (this.bump(); !this.isEOF() && Mi(this.char()); )
3424
3459
  this.bump();
3425
3460
  return this.message.slice(t, this.offset());
3426
- }, e.prototype.parseLiteral = function(t, n) {
3427
- for (var r = this.clonePosition(), i = ""; ; ) {
3428
- var o = this.tryParseQuote(n);
3461
+ }, e.prototype.parseLiteral = function(t, r) {
3462
+ for (var n = this.clonePosition(), i = ""; ; ) {
3463
+ var o = this.tryParseQuote(r);
3429
3464
  if (o) {
3430
3465
  i += o;
3431
3466
  continue;
3432
3467
  }
3433
- var s = this.tryParseUnquoted(t, n);
3468
+ var s = this.tryParseUnquoted(t, r);
3434
3469
  if (s) {
3435
3470
  i += s;
3436
3471
  continue;
@@ -3442,14 +3477,14 @@ var Bi = (
3442
3477
  }
3443
3478
  break;
3444
3479
  }
3445
- var l = v(r, this.clonePosition());
3480
+ var l = _(n, this.clonePosition());
3446
3481
  return {
3447
3482
  val: { type: w.literal, value: i, location: l },
3448
3483
  err: null
3449
3484
  };
3450
3485
  }, e.prototype.tryParseLeftAngleBracket = function() {
3451
3486
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3452
- !Ai(this.peek() || 0)) ? (this.bump(), "<") : null;
3487
+ !Ii(this.peek() || 0)) ? (this.bump(), "<") : null;
3453
3488
  }, e.prototype.tryParseQuote = function(t) {
3454
3489
  if (this.isEOF() || this.char() !== 39)
3455
3490
  return null;
@@ -3469,37 +3504,37 @@ var Bi = (
3469
3504
  return null;
3470
3505
  }
3471
3506
  this.bump();
3472
- var n = [this.char()];
3507
+ var r = [this.char()];
3473
3508
  for (this.bump(); !this.isEOF(); ) {
3474
- var r = this.char();
3475
- if (r === 39)
3509
+ var n = this.char();
3510
+ if (n === 39)
3476
3511
  if (this.peek() === 39)
3477
- n.push(39), this.bump();
3512
+ r.push(39), this.bump();
3478
3513
  else {
3479
3514
  this.bump();
3480
3515
  break;
3481
3516
  }
3482
3517
  else
3483
- n.push(r);
3518
+ r.push(n);
3484
3519
  this.bump();
3485
3520
  }
3486
- return qe.apply(void 0, n);
3487
- }, e.prototype.tryParseUnquoted = function(t, n) {
3521
+ return tt.apply(void 0, r);
3522
+ }, e.prototype.tryParseUnquoted = function(t, r) {
3488
3523
  if (this.isEOF())
3489
3524
  return null;
3490
- var r = this.char();
3491
- return r === 60 || r === 123 || r === 35 && (n === "plural" || n === "selectordinal") || r === 125 && t > 0 ? null : (this.bump(), qe(r));
3492
- }, e.prototype.parseArgument = function(t, n) {
3493
- var r = this.clonePosition();
3525
+ var n = this.char();
3526
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), tt(n));
3527
+ }, e.prototype.parseArgument = function(t, r) {
3528
+ var n = this.clonePosition();
3494
3529
  if (this.bump(), this.bumpSpace(), this.isEOF())
3495
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(r, this.clonePosition()));
3530
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3496
3531
  if (this.char() === 125)
3497
- return this.bump(), this.error(b.EMPTY_ARGUMENT, v(r, this.clonePosition()));
3532
+ return this.bump(), this.error(y.EMPTY_ARGUMENT, _(n, this.clonePosition()));
3498
3533
  var i = this.parseIdentifierIfPossible().value;
3499
3534
  if (!i)
3500
- return this.error(b.MALFORMED_ARGUMENT, v(r, this.clonePosition()));
3535
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3501
3536
  if (this.bumpSpace(), this.isEOF())
3502
- return this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(r, this.clonePosition()));
3537
+ return this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition()));
3503
3538
  switch (this.char()) {
3504
3539
  case 125:
3505
3540
  return this.bump(), {
@@ -3507,25 +3542,25 @@ var Bi = (
3507
3542
  type: w.argument,
3508
3543
  // value does not include the opening and closing braces.
3509
3544
  value: i,
3510
- location: v(r, this.clonePosition())
3545
+ location: _(n, this.clonePosition())
3511
3546
  },
3512
3547
  err: null
3513
3548
  };
3514
3549
  case 44:
3515
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(r, this.clonePosition())) : this.parseArgumentOptions(t, n, i, r);
3550
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3516
3551
  default:
3517
- return this.error(b.MALFORMED_ARGUMENT, v(r, this.clonePosition()));
3552
+ return this.error(y.MALFORMED_ARGUMENT, _(n, this.clonePosition()));
3518
3553
  }
3519
3554
  }, e.prototype.parseIdentifierIfPossible = function() {
3520
- var t = this.clonePosition(), n = this.offset(), r = Ye(this.message, n), i = n + r.length;
3555
+ var t = this.clonePosition(), r = this.offset(), n = rt(this.message, r), i = r + n.length;
3521
3556
  this.bumpTo(i);
3522
- var o = this.clonePosition(), s = v(t, o);
3523
- return { value: r, location: s };
3524
- }, e.prototype.parseArgumentOptions = function(t, n, r, i) {
3557
+ var o = this.clonePosition(), s = _(t, o);
3558
+ return { value: n, location: s };
3559
+ }, e.prototype.parseArgumentOptions = function(t, r, n, i) {
3525
3560
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3526
3561
  switch (a) {
3527
3562
  case "":
3528
- return this.error(b.EXPECT_ARGUMENT_TYPE, v(s, l));
3563
+ return this.error(y.EXPECT_ARGUMENT_TYPE, _(s, l));
3529
3564
  case "number":
3530
3565
  case "date":
3531
3566
  case "time": {
@@ -3533,40 +3568,40 @@ var Bi = (
3533
3568
  var u = null;
3534
3569
  if (this.bumpIf(",")) {
3535
3570
  this.bumpSpace();
3536
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3537
- if (f.err)
3538
- return f;
3539
- var c = Hi(f.val);
3540
- if (c.length === 0)
3541
- return this.error(b.EXPECT_ARGUMENT_STYLE, v(this.clonePosition(), this.clonePosition()));
3542
- var p = v(h, this.clonePosition());
3543
- u = { style: c, styleLocation: p };
3571
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3572
+ if (c.err)
3573
+ return c;
3574
+ var f = Pi(c.val);
3575
+ if (f.length === 0)
3576
+ return this.error(y.EXPECT_ARGUMENT_STYLE, _(this.clonePosition(), this.clonePosition()));
3577
+ var p = _(h, this.clonePosition());
3578
+ u = { style: f, styleLocation: p };
3544
3579
  }
3545
- var d = this.tryParseArgumentClose(i);
3546
- if (d.err)
3547
- return d;
3548
- var m = v(i, this.clonePosition());
3549
- if (u && Ct(u == null ? void 0 : u.style, "::", 0)) {
3550
- var g = Ti(u.style.slice(2));
3580
+ var m = this.tryParseArgumentClose(i);
3581
+ if (m.err)
3582
+ return m;
3583
+ var d = _(i, this.clonePosition());
3584
+ if (u && Mt(u == null ? void 0 : u.style, "::", 0)) {
3585
+ var g = Ci(u.style.slice(2));
3551
3586
  if (a === "number") {
3552
- var f = this.parseNumberSkeletonFromString(g, u.styleLocation);
3553
- return f.err ? f : {
3554
- val: { type: w.number, value: r, location: m, style: f.val },
3587
+ var c = this.parseNumberSkeletonFromString(g, u.styleLocation);
3588
+ return c.err ? c : {
3589
+ val: { type: w.number, value: n, location: d, style: c.val },
3555
3590
  err: null
3556
3591
  };
3557
3592
  } else {
3558
3593
  if (g.length === 0)
3559
- return this.error(b.EXPECT_DATE_TIME_SKELETON, m);
3560
- var B = g;
3561
- this.locale && (B = ci(g, this.locale));
3562
- var c = {
3563
- type: Y.dateTime,
3564
- pattern: B,
3594
+ return this.error(y.EXPECT_DATE_TIME_SKELETON, d);
3595
+ var A = g;
3596
+ this.locale && (A = bi(g, this.locale));
3597
+ var f = {
3598
+ type: Q.dateTime,
3599
+ pattern: A,
3565
3600
  location: u.styleLocation,
3566
- parsedOptions: this.shouldParseSkeletons ? oi(B) : {}
3567
- }, A = a === "date" ? w.date : w.time;
3601
+ parsedOptions: this.shouldParseSkeletons ? li(A) : {}
3602
+ }, T = a === "date" ? w.date : w.time;
3568
3603
  return {
3569
- val: { type: A, value: r, location: m, style: c },
3604
+ val: { type: T, value: n, location: d, style: f },
3570
3605
  err: null
3571
3606
  };
3572
3607
  }
@@ -3574,8 +3609,8 @@ var Bi = (
3574
3609
  return {
3575
3610
  val: {
3576
3611
  type: a === "number" ? w.number : a === "date" ? w.date : w.time,
3577
- value: r,
3578
- location: m,
3612
+ value: n,
3613
+ location: d,
3579
3614
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3580
3615
  },
3581
3616
  err: null
@@ -3584,61 +3619,61 @@ var Bi = (
3584
3619
  case "plural":
3585
3620
  case "selectordinal":
3586
3621
  case "select": {
3587
- var T = this.clonePosition();
3622
+ var x = this.clonePosition();
3588
3623
  if (this.bumpSpace(), !this.bumpIf(","))
3589
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, v(T, x({}, T)));
3624
+ return this.error(y.EXPECT_SELECT_ARGUMENT_OPTIONS, _(x, we({}, x)));
3590
3625
  this.bumpSpace();
3591
- var S = this.parseIdentifierIfPossible(), E = 0;
3592
- if (a !== "select" && S.value === "offset") {
3626
+ var E = this.parseIdentifierIfPossible(), b = 0;
3627
+ if (a !== "select" && E.value === "offset") {
3593
3628
  if (!this.bumpIf(":"))
3594
- return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, v(this.clonePosition(), this.clonePosition()));
3629
+ return this.error(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, _(this.clonePosition(), this.clonePosition()));
3595
3630
  this.bumpSpace();
3596
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3597
- if (f.err)
3598
- return f;
3599
- this.bumpSpace(), S = this.parseIdentifierIfPossible(), E = f.val;
3631
+ var c = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3632
+ if (c.err)
3633
+ return c;
3634
+ this.bumpSpace(), E = this.parseIdentifierIfPossible(), b = c.val;
3600
3635
  }
3601
- var _ = this.tryParsePluralOrSelectOptions(t, a, n, S);
3602
- if (_.err)
3603
- return _;
3604
- var d = this.tryParseArgumentClose(i);
3605
- if (d.err)
3606
- return d;
3607
- var O = v(i, this.clonePosition());
3636
+ var B = this.tryParsePluralOrSelectOptions(t, a, r, E);
3637
+ if (B.err)
3638
+ return B;
3639
+ var m = this.tryParseArgumentClose(i);
3640
+ if (m.err)
3641
+ return m;
3642
+ var ce = _(i, this.clonePosition());
3608
3643
  return a === "select" ? {
3609
3644
  val: {
3610
3645
  type: w.select,
3611
- value: r,
3612
- options: Pt(_.val),
3613
- location: O
3646
+ value: n,
3647
+ options: Nt(B.val),
3648
+ location: ce
3614
3649
  },
3615
3650
  err: null
3616
3651
  } : {
3617
3652
  val: {
3618
3653
  type: w.plural,
3619
- value: r,
3620
- options: Pt(_.val),
3621
- offset: E,
3654
+ value: n,
3655
+ options: Nt(B.val),
3656
+ offset: b,
3622
3657
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3623
- location: O
3658
+ location: ce
3624
3659
  },
3625
3660
  err: null
3626
3661
  };
3627
3662
  }
3628
3663
  default:
3629
- return this.error(b.INVALID_ARGUMENT_TYPE, v(s, l));
3664
+ return this.error(y.INVALID_ARGUMENT_TYPE, _(s, l));
3630
3665
  }
3631
3666
  }, e.prototype.tryParseArgumentClose = function(t) {
3632
- return this.isEOF() || this.char() !== 125 ? this.error(b.EXPECT_ARGUMENT_CLOSING_BRACE, v(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3667
+ return this.isEOF() || this.char() !== 125 ? this.error(y.EXPECT_ARGUMENT_CLOSING_BRACE, _(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3633
3668
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3634
- for (var t = 0, n = this.clonePosition(); !this.isEOF(); ) {
3635
- var r = this.char();
3636
- switch (r) {
3669
+ for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3670
+ var n = this.char();
3671
+ switch (n) {
3637
3672
  case 39: {
3638
3673
  this.bump();
3639
3674
  var i = this.clonePosition();
3640
3675
  if (!this.bumpUntil("'"))
3641
- return this.error(b.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, v(i, this.clonePosition()));
3676
+ return this.error(y.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, _(i, this.clonePosition()));
3642
3677
  this.bump();
3643
3678
  break;
3644
3679
  }
@@ -3651,7 +3686,7 @@ var Bi = (
3651
3686
  t -= 1;
3652
3687
  else
3653
3688
  return {
3654
- val: this.message.slice(n.offset, this.offset()),
3689
+ val: this.message.slice(r.offset, this.offset()),
3655
3690
  err: null
3656
3691
  };
3657
3692
  break;
@@ -3662,61 +3697,61 @@ var Bi = (
3662
3697
  }
3663
3698
  }
3664
3699
  return {
3665
- val: this.message.slice(n.offset, this.offset()),
3700
+ val: this.message.slice(r.offset, this.offset()),
3666
3701
  err: null
3667
3702
  };
3668
- }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
3669
- var r = [];
3703
+ }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3704
+ var n = [];
3670
3705
  try {
3671
- r = ai(t);
3706
+ n = ci(t);
3672
3707
  } catch (i) {
3673
- return this.error(b.INVALID_NUMBER_SKELETON, n);
3708
+ return this.error(y.INVALID_NUMBER_SKELETON, r);
3674
3709
  }
3675
3710
  return {
3676
3711
  val: {
3677
- type: Y.number,
3678
- tokens: r,
3679
- location: n,
3680
- parsedOptions: this.shouldParseSkeletons ? fi(r) : {}
3712
+ type: Q.number,
3713
+ tokens: n,
3714
+ location: r,
3715
+ parsedOptions: this.shouldParseSkeletons ? di(n) : {}
3681
3716
  },
3682
3717
  err: null
3683
3718
  };
3684
- }, e.prototype.tryParsePluralOrSelectOptions = function(t, n, r, i) {
3719
+ }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3685
3720
  for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3686
3721
  if (u.length === 0) {
3687
- var f = this.clonePosition();
3688
- if (n !== "select" && this.bumpIf("=")) {
3689
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3690
- if (c.err)
3691
- return c;
3692
- h = v(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3722
+ var c = this.clonePosition();
3723
+ if (r !== "select" && this.bumpIf("=")) {
3724
+ var f = this.tryParseDecimalInteger(y.EXPECT_PLURAL_ARGUMENT_SELECTOR, y.INVALID_PLURAL_ARGUMENT_SELECTOR);
3725
+ if (f.err)
3726
+ return f;
3727
+ h = _(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3693
3728
  } else
3694
3729
  break;
3695
3730
  }
3696
3731
  if (l.has(u))
3697
- return this.error(n === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3732
+ return this.error(r === "select" ? y.DUPLICATE_SELECT_ARGUMENT_SELECTOR : y.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3698
3733
  u === "other" && (s = !0), this.bumpSpace();
3699
3734
  var p = this.clonePosition();
3700
3735
  if (!this.bumpIf("{"))
3701
- return this.error(n === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, v(this.clonePosition(), this.clonePosition()));
3702
- var d = this.parseMessage(t + 1, n, r);
3703
- if (d.err)
3704
- return d;
3705
- var m = this.tryParseArgumentClose(p);
3736
+ return this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : y.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, _(this.clonePosition(), this.clonePosition()));
3737
+ var m = this.parseMessage(t + 1, r, n);
3706
3738
  if (m.err)
3707
3739
  return m;
3740
+ var d = this.tryParseArgumentClose(p);
3741
+ if (d.err)
3742
+ return d;
3708
3743
  a.push([
3709
3744
  u,
3710
3745
  {
3711
- value: d.val,
3712
- location: v(p, this.clonePosition())
3746
+ value: m.val,
3747
+ location: _(p, this.clonePosition())
3713
3748
  }
3714
3749
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3715
3750
  }
3716
- return a.length === 0 ? this.error(n === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR : b.EXPECT_PLURAL_ARGUMENT_SELECTOR, v(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(b.MISSING_OTHER_CLAUSE, v(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3717
- }, e.prototype.tryParseDecimalInteger = function(t, n) {
3718
- var r = 1, i = this.clonePosition();
3719
- this.bumpIf("+") || this.bumpIf("-") && (r = -1);
3751
+ return a.length === 0 ? this.error(r === "select" ? y.EXPECT_SELECT_ARGUMENT_SELECTOR : y.EXPECT_PLURAL_ARGUMENT_SELECTOR, _(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(y.MISSING_OTHER_CLAUSE, _(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3752
+ }, e.prototype.tryParseDecimalInteger = function(t, r) {
3753
+ var n = 1, i = this.clonePosition();
3754
+ this.bumpIf("+") || this.bumpIf("-") && (n = -1);
3720
3755
  for (var o = !1, s = 0; !this.isEOF(); ) {
3721
3756
  var a = this.char();
3722
3757
  if (a >= 48 && a <= 57)
@@ -3724,8 +3759,8 @@ var Bi = (
3724
3759
  else
3725
3760
  break;
3726
3761
  }
3727
- var l = v(i, this.clonePosition());
3728
- return o ? (s *= r, Si(s) ? { val: s, err: null } : this.error(n, l)) : this.error(t, l);
3762
+ var l = _(i, this.clonePosition());
3763
+ return o ? (s *= n, Ai(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3729
3764
  }, e.prototype.offset = function() {
3730
3765
  return this.position.offset;
3731
3766
  }, e.prototype.isEOF = function() {
@@ -3740,17 +3775,17 @@ var Bi = (
3740
3775
  var t = this.position.offset;
3741
3776
  if (t >= this.message.length)
3742
3777
  throw Error("out of bound");
3743
- var n = yn(this.message, t);
3744
- if (n === void 0)
3778
+ var r = xr(this.message, t);
3779
+ if (r === void 0)
3745
3780
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3746
- return n;
3747
- }, e.prototype.error = function(t, n) {
3781
+ return r;
3782
+ }, e.prototype.error = function(t, r) {
3748
3783
  return {
3749
3784
  val: null,
3750
3785
  err: {
3751
3786
  kind: t,
3752
3787
  message: this.message,
3753
- location: n
3788
+ location: r
3754
3789
  }
3755
3790
  };
3756
3791
  }, e.prototype.bump = function() {
@@ -3759,129 +3794,129 @@ var Bi = (
3759
3794
  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);
3760
3795
  }
3761
3796
  }, e.prototype.bumpIf = function(t) {
3762
- if (Ct(this.message, t, this.offset())) {
3763
- for (var n = 0; n < t.length; n++)
3797
+ if (Mt(this.message, t, this.offset())) {
3798
+ for (var r = 0; r < t.length; r++)
3764
3799
  this.bump();
3765
3800
  return !0;
3766
3801
  }
3767
3802
  return !1;
3768
3803
  }, e.prototype.bumpUntil = function(t) {
3769
- var n = this.offset(), r = this.message.indexOf(t, n);
3770
- return r >= 0 ? (this.bumpTo(r), !0) : (this.bumpTo(this.message.length), !1);
3804
+ var r = this.offset(), n = this.message.indexOf(t, r);
3805
+ return n >= 0 ? (this.bumpTo(n), !0) : (this.bumpTo(this.message.length), !1);
3771
3806
  }, e.prototype.bumpTo = function(t) {
3772
3807
  if (this.offset() > t)
3773
3808
  throw Error("targetOffset ".concat(t, " must be greater than or equal to the current offset ").concat(this.offset()));
3774
3809
  for (t = Math.min(t, this.message.length); ; ) {
3775
- var n = this.offset();
3776
- if (n === t)
3810
+ var r = this.offset();
3811
+ if (r === t)
3777
3812
  break;
3778
- if (n > t)
3813
+ if (r > t)
3779
3814
  throw Error("targetOffset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3780
3815
  if (this.bump(), this.isEOF())
3781
3816
  break;
3782
3817
  }
3783
3818
  }, e.prototype.bumpSpace = function() {
3784
- for (; !this.isEOF() && xn(this.char()); )
3819
+ for (; !this.isEOF() && wr(this.char()); )
3785
3820
  this.bump();
3786
3821
  }, e.prototype.peek = function() {
3787
3822
  if (this.isEOF())
3788
3823
  return null;
3789
- var t = this.char(), n = this.offset(), r = this.message.charCodeAt(n + (t >= 65536 ? 2 : 1));
3790
- return r != null ? r : null;
3824
+ var t = this.char(), r = this.offset(), n = this.message.charCodeAt(r + (t >= 65536 ? 2 : 1));
3825
+ return n != null ? n : null;
3791
3826
  }, e;
3792
3827
  }()
3793
3828
  );
3794
- function Ke(e) {
3829
+ function nt(e) {
3795
3830
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3796
3831
  }
3797
- function Ai(e) {
3798
- return Ke(e) || e === 47;
3832
+ function Ii(e) {
3833
+ return nt(e) || e === 47;
3799
3834
  }
3800
- function Ci(e) {
3835
+ function Mi(e) {
3801
3836
  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;
3802
3837
  }
3803
- function xn(e) {
3838
+ function wr(e) {
3804
3839
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3805
3840
  }
3806
- function Pi(e) {
3841
+ function Ni(e) {
3807
3842
  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;
3808
3843
  }
3809
- function et(e) {
3844
+ function it(e) {
3810
3845
  e.forEach(function(t) {
3811
- if (delete t.location, hn(t) || fn(t))
3812
- for (var n in t.options)
3813
- delete t.options[n].location, et(t.options[n].value);
3846
+ if (delete t.location, mr(t) || pr(t))
3847
+ for (var r in t.options)
3848
+ delete t.options[r].location, it(t.options[r].value);
3814
3849
  else
3815
- an(t) && dn(t.style) || (un(t) || ln(t)) && Qe(t.style) ? delete t.style.location : cn(t) && et(t.children);
3850
+ hr(t) && br(t.style) || (cr(t) || fr(t)) && Ke(t.style) ? delete t.style.location : dr(t) && it(t.children);
3816
3851
  });
3817
3852
  }
3818
- function Oi(e, t) {
3819
- t === void 0 && (t = {}), t = x({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3820
- var n = new Bi(e, t).parse();
3821
- if (n.err) {
3822
- var r = SyntaxError(b[n.err.kind]);
3823
- throw r.location = n.err.location, r.originalMessage = n.err.message, r;
3853
+ function Li(e, t) {
3854
+ t === void 0 && (t = {}), t = we({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3855
+ var r = new Oi(e, t).parse();
3856
+ if (r.err) {
3857
+ var n = SyntaxError(y[r.err.kind]);
3858
+ throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3824
3859
  }
3825
- return t != null && t.captureLocation || et(n.val), n.val;
3860
+ return t != null && t.captureLocation || it(r.val), r.val;
3826
3861
  }
3827
- var K;
3862
+ var J;
3828
3863
  (function(e) {
3829
3864
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3830
- })(K || (K = {}));
3831
- var Ce = (
3865
+ })(J || (J = {}));
3866
+ var Pe = (
3832
3867
  /** @class */
3833
3868
  function(e) {
3834
- G(t, e);
3835
- function t(n, r, i) {
3836
- var o = e.call(this, n) || this;
3837
- return o.code = r, o.originalMessage = i, o;
3869
+ Ce(t, e);
3870
+ function t(r, n, i) {
3871
+ var o = e.call(this, r) || this;
3872
+ return o.code = n, o.originalMessage = i, o;
3838
3873
  }
3839
3874
  return t.prototype.toString = function() {
3840
3875
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3841
3876
  }, t;
3842
3877
  }(Error)
3843
- ), It = (
3878
+ ), $t = (
3844
3879
  /** @class */
3845
3880
  function(e) {
3846
- G(t, e);
3847
- function t(n, r, i, o) {
3848
- return e.call(this, 'Invalid values for "'.concat(n, '": "').concat(r, '". Options are "').concat(Object.keys(i).join('", "'), '"'), K.INVALID_VALUE, o) || this;
3881
+ Ce(t, e);
3882
+ function t(r, n, i, o) {
3883
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), J.INVALID_VALUE, o) || this;
3849
3884
  }
3850
3885
  return t;
3851
- }(Ce)
3852
- ), Ii = (
3886
+ }(Pe)
3887
+ ), $i = (
3853
3888
  /** @class */
3854
3889
  function(e) {
3855
- G(t, e);
3856
- function t(n, r, i) {
3857
- return e.call(this, 'Value for "'.concat(n, '" must be of type ').concat(r), K.INVALID_VALUE, i) || this;
3890
+ Ce(t, e);
3891
+ function t(r, n, i) {
3892
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), J.INVALID_VALUE, i) || this;
3858
3893
  }
3859
3894
  return t;
3860
- }(Ce)
3861
- ), Mi = (
3895
+ }(Pe)
3896
+ ), Ri = (
3862
3897
  /** @class */
3863
3898
  function(e) {
3864
- G(t, e);
3865
- function t(n, r) {
3866
- return e.call(this, 'The intl string context variable "'.concat(n, '" was not provided to the string "').concat(r, '"'), K.MISSING_VALUE, r) || this;
3899
+ Ce(t, e);
3900
+ function t(r, n) {
3901
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), J.MISSING_VALUE, n) || this;
3867
3902
  }
3868
3903
  return t;
3869
- }(Ce)
3904
+ }(Pe)
3870
3905
  ), P;
3871
3906
  (function(e) {
3872
3907
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3873
3908
  })(P || (P = {}));
3874
- function Ni(e) {
3875
- return e.length < 2 ? e : e.reduce(function(t, n) {
3876
- var r = t[t.length - 1];
3877
- return !r || r.type !== P.literal || n.type !== P.literal ? t.push(n) : r.value += n.value, t;
3909
+ function Gi(e) {
3910
+ return e.length < 2 ? e : e.reduce(function(t, r) {
3911
+ var n = t[t.length - 1];
3912
+ return !n || n.type !== P.literal || r.type !== P.literal ? t.push(r) : n.value += r.value, t;
3878
3913
  }, []);
3879
3914
  }
3880
- function Li(e) {
3915
+ function Ui(e) {
3881
3916
  return typeof e == "function";
3882
3917
  }
3883
- function ye(e, t, n, r, i, o, s) {
3884
- if (e.length === 1 && Tt(e[0]))
3918
+ function ye(e, t, r, n, i, o, s) {
3919
+ if (e.length === 1 && Ct(e[0]))
3885
3920
  return [
3886
3921
  {
3887
3922
  type: P.literal,
@@ -3890,155 +3925,155 @@ function ye(e, t, n, r, i, o, s) {
3890
3925
  ];
3891
3926
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3892
3927
  var h = u[l];
3893
- if (Tt(h)) {
3928
+ if (Ct(h)) {
3894
3929
  a.push({
3895
3930
  type: P.literal,
3896
3931
  value: h.value
3897
3932
  });
3898
3933
  continue;
3899
3934
  }
3900
- if (ri(h)) {
3935
+ if (ai(h)) {
3901
3936
  typeof o == "number" && a.push({
3902
3937
  type: P.literal,
3903
- value: n.getNumberFormat(t).format(o)
3938
+ value: r.getNumberFormat(t).format(o)
3904
3939
  });
3905
3940
  continue;
3906
3941
  }
3907
- var f = h.value;
3908
- if (!(i && f in i))
3909
- throw new Mi(f, s);
3910
- var c = i[f];
3911
- if (ni(h)) {
3912
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3913
- type: typeof c == "string" ? P.literal : P.object,
3914
- value: c
3942
+ var c = h.value;
3943
+ if (!(i && c in i))
3944
+ throw new Ri(c, s);
3945
+ var f = i[c];
3946
+ if (si(h)) {
3947
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3948
+ type: typeof f == "string" ? P.literal : P.object,
3949
+ value: f
3915
3950
  });
3916
3951
  continue;
3917
3952
  }
3918
- if (un(h)) {
3919
- var p = typeof h.style == "string" ? r.date[h.style] : Qe(h.style) ? h.style.parsedOptions : void 0;
3953
+ if (cr(h)) {
3954
+ var p = typeof h.style == "string" ? n.date[h.style] : Ke(h.style) ? h.style.parsedOptions : void 0;
3920
3955
  a.push({
3921
3956
  type: P.literal,
3922
- value: n.getDateTimeFormat(t, p).format(c)
3957
+ value: r.getDateTimeFormat(t, p).format(f)
3923
3958
  });
3924
3959
  continue;
3925
3960
  }
3926
- if (ln(h)) {
3927
- var p = typeof h.style == "string" ? r.time[h.style] : Qe(h.style) ? h.style.parsedOptions : r.time.medium;
3961
+ if (fr(h)) {
3962
+ var p = typeof h.style == "string" ? n.time[h.style] : Ke(h.style) ? h.style.parsedOptions : n.time.medium;
3928
3963
  a.push({
3929
3964
  type: P.literal,
3930
- value: n.getDateTimeFormat(t, p).format(c)
3965
+ value: r.getDateTimeFormat(t, p).format(f)
3931
3966
  });
3932
3967
  continue;
3933
3968
  }
3934
- if (an(h)) {
3935
- var p = typeof h.style == "string" ? r.number[h.style] : dn(h.style) ? h.style.parsedOptions : void 0;
3936
- p && p.scale && (c = c * (p.scale || 1)), a.push({
3969
+ if (hr(h)) {
3970
+ var p = typeof h.style == "string" ? n.number[h.style] : br(h.style) ? h.style.parsedOptions : void 0;
3971
+ p && p.scale && (f = f * (p.scale || 1)), a.push({
3937
3972
  type: P.literal,
3938
- value: n.getNumberFormat(t, p).format(c)
3973
+ value: r.getNumberFormat(t, p).format(f)
3939
3974
  });
3940
3975
  continue;
3941
3976
  }
3942
- if (cn(h)) {
3943
- var d = h.children, m = h.value, g = i[m];
3944
- if (!Li(g))
3945
- throw new Ii(m, "function", s);
3946
- var B = ye(d, t, n, r, i, o), A = g(B.map(function(E) {
3947
- return E.value;
3977
+ if (dr(h)) {
3978
+ var m = h.children, d = h.value, g = i[d];
3979
+ if (!Ui(g))
3980
+ throw new $i(d, "function", s);
3981
+ var A = ye(m, t, r, n, i, o), T = g(A.map(function(b) {
3982
+ return b.value;
3948
3983
  }));
3949
- Array.isArray(A) || (A = [A]), a.push.apply(a, A.map(function(E) {
3984
+ Array.isArray(T) || (T = [T]), a.push.apply(a, T.map(function(b) {
3950
3985
  return {
3951
- type: typeof E == "string" ? P.literal : P.object,
3952
- value: E
3986
+ type: typeof b == "string" ? P.literal : P.object,
3987
+ value: b
3953
3988
  };
3954
3989
  }));
3955
3990
  }
3956
- if (hn(h)) {
3957
- var T = h.options[c] || h.options.other;
3958
- if (!T)
3959
- throw new It(h.value, c, Object.keys(h.options), s);
3960
- a.push.apply(a, ye(T.value, t, n, r, i));
3991
+ if (mr(h)) {
3992
+ var x = h.options[f] || h.options.other;
3993
+ if (!x)
3994
+ throw new $t(h.value, f, Object.keys(h.options), s);
3995
+ a.push.apply(a, ye(x.value, t, r, n, i));
3961
3996
  continue;
3962
3997
  }
3963
- if (fn(h)) {
3964
- var T = h.options["=".concat(c)];
3965
- if (!T) {
3998
+ if (pr(h)) {
3999
+ var x = h.options["=".concat(f)];
4000
+ if (!x) {
3966
4001
  if (!Intl.PluralRules)
3967
- throw new Ce(`Intl.PluralRules is not available in this environment.
4002
+ throw new Pe(`Intl.PluralRules is not available in this environment.
3968
4003
  Try polyfilling it using "@formatjs/intl-pluralrules"
3969
- `, K.MISSING_INTL_API, s);
3970
- var S = n.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3971
- T = h.options[S] || h.options.other;
4004
+ `, J.MISSING_INTL_API, s);
4005
+ var E = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
4006
+ x = h.options[E] || h.options.other;
3972
4007
  }
3973
- if (!T)
3974
- throw new It(h.value, c, Object.keys(h.options), s);
3975
- a.push.apply(a, ye(T.value, t, n, r, i, c - (h.offset || 0)));
4008
+ if (!x)
4009
+ throw new $t(h.value, f, Object.keys(h.options), s);
4010
+ a.push.apply(a, ye(x.value, t, r, n, i, f - (h.offset || 0)));
3976
4011
  continue;
3977
4012
  }
3978
4013
  }
3979
- return Ni(a);
4014
+ return Gi(a);
3980
4015
  }
3981
- function Ri(e, t) {
3982
- return t ? x(x(x({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
3983
- return n[r] = x(x({}, e[r]), t[r] || {}), n;
4016
+ function Di(e, t) {
4017
+ return t ? L(L(L({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
4018
+ return r[n] = L(L({}, e[n]), t[n] || {}), r;
3984
4019
  }, {})) : e;
3985
4020
  }
3986
- function $i(e, t) {
3987
- return t ? Object.keys(e).reduce(function(n, r) {
3988
- return n[r] = Ri(e[r], t[r]), n;
3989
- }, x({}, e)) : e;
4021
+ function Fi(e, t) {
4022
+ return t ? Object.keys(e).reduce(function(r, n) {
4023
+ return r[n] = Di(e[n], t[n]), r;
4024
+ }, L({}, e)) : e;
3990
4025
  }
3991
- function Ue(e) {
4026
+ function Fe(e) {
3992
4027
  return {
3993
4028
  create: function() {
3994
4029
  return {
3995
4030
  get: function(t) {
3996
4031
  return e[t];
3997
4032
  },
3998
- set: function(t, n) {
3999
- e[t] = n;
4033
+ set: function(t, r) {
4034
+ e[t] = r;
4000
4035
  }
4001
4036
  };
4002
4037
  }
4003
4038
  };
4004
4039
  }
4005
- function Gi(e) {
4040
+ function ji(e) {
4006
4041
  return e === void 0 && (e = {
4007
4042
  number: {},
4008
4043
  dateTime: {},
4009
4044
  pluralRules: {}
4010
4045
  }), {
4011
- getNumberFormat: Re(function() {
4012
- for (var t, n = [], r = 0; r < arguments.length; r++)
4013
- n[r] = arguments[r];
4014
- return new ((t = Intl.NumberFormat).bind.apply(t, Q([void 0], n, !1)))();
4046
+ getNumberFormat: Ge(function() {
4047
+ for (var t, r = [], n = 0; n < arguments.length; n++)
4048
+ r[n] = arguments[n];
4049
+ return new ((t = Intl.NumberFormat).bind.apply(t, Re([void 0], r, !1)))();
4015
4050
  }, {
4016
- cache: Ue(e.number),
4017
- strategy: $e.variadic
4051
+ cache: Fe(e.number),
4052
+ strategy: Ue.variadic
4018
4053
  }),
4019
- getDateTimeFormat: Re(function() {
4020
- for (var t, n = [], r = 0; r < arguments.length; r++)
4021
- n[r] = arguments[r];
4022
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Q([void 0], n, !1)))();
4054
+ getDateTimeFormat: Ge(function() {
4055
+ for (var t, r = [], n = 0; n < arguments.length; n++)
4056
+ r[n] = arguments[n];
4057
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Re([void 0], r, !1)))();
4023
4058
  }, {
4024
- cache: Ue(e.dateTime),
4025
- strategy: $e.variadic
4059
+ cache: Fe(e.dateTime),
4060
+ strategy: Ue.variadic
4026
4061
  }),
4027
- getPluralRules: Re(function() {
4028
- for (var t, n = [], r = 0; r < arguments.length; r++)
4029
- n[r] = arguments[r];
4030
- return new ((t = Intl.PluralRules).bind.apply(t, Q([void 0], n, !1)))();
4062
+ getPluralRules: Ge(function() {
4063
+ for (var t, r = [], n = 0; n < arguments.length; n++)
4064
+ r[n] = arguments[n];
4065
+ return new ((t = Intl.PluralRules).bind.apply(t, Re([void 0], r, !1)))();
4031
4066
  }, {
4032
- cache: Ue(e.pluralRules),
4033
- strategy: $e.variadic
4067
+ cache: Fe(e.pluralRules),
4068
+ strategy: Ue.variadic
4034
4069
  })
4035
4070
  };
4036
4071
  }
4037
- var Ui = (
4072
+ var ki = (
4038
4073
  /** @class */
4039
4074
  function() {
4040
- function e(t, n, r, i) {
4041
- n === void 0 && (n = e.defaultLocale);
4075
+ function e(t, r, n, i) {
4076
+ r === void 0 && (r = e.defaultLocale);
4042
4077
  var o = this;
4043
4078
  if (this.formatterCache = {
4044
4079
  number: {},
@@ -4048,8 +4083,8 @@ var Ui = (
4048
4083
  var u = o.formatToParts(l);
4049
4084
  if (u.length === 1)
4050
4085
  return u[0].value;
4051
- var h = u.reduce(function(f, c) {
4052
- return !f.length || c.type !== P.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
4086
+ var h = u.reduce(function(c, f) {
4087
+ return !c.length || f.type !== P.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
4053
4088
  }, []);
4054
4089
  return h.length <= 1 ? h[0] || "" : h;
4055
4090
  }, this.formatToParts = function(l) {
@@ -4061,18 +4096,18 @@ var Ui = (
4061
4096
  };
4062
4097
  }, this.getAst = function() {
4063
4098
  return o.ast;
4064
- }, this.locales = n, this.resolvedLocale = e.resolveLocale(n), typeof t == "string") {
4099
+ }, this.locales = r, this.resolvedLocale = e.resolveLocale(r), typeof t == "string") {
4065
4100
  if (this.message = t, !e.__parse)
4066
4101
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
4067
4102
  var s = i || {};
4068
4103
  s.formatters;
4069
- var a = gr(s, ["formatters"]);
4070
- this.ast = e.__parse(t, x(x({}, a), { locale: this.resolvedLocale }));
4104
+ var a = Yn(s, ["formatters"]);
4105
+ this.ast = e.__parse(t, L(L({}, a), { locale: this.resolvedLocale }));
4071
4106
  } else
4072
4107
  this.ast = t;
4073
4108
  if (!Array.isArray(this.ast))
4074
4109
  throw new TypeError("A message must be provided as a String or AST.");
4075
- this.formats = $i(e.formats, r), this.formatters = i && i.formatters || Gi(this.formatterCache);
4110
+ this.formats = Fi(e.formats, n), this.formatters = i && i.formatters || ji(this.formatterCache);
4076
4111
  }
4077
4112
  return Object.defineProperty(e, "defaultLocale", {
4078
4113
  get: function() {
@@ -4082,10 +4117,10 @@ var Ui = (
4082
4117
  configurable: !0
4083
4118
  }), e.memoizedDefaultLocale = null, e.resolveLocale = function(t) {
4084
4119
  if (typeof Intl.Locale != "undefined") {
4085
- var n = Intl.NumberFormat.supportedLocalesOf(t);
4086
- return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4120
+ var r = Intl.NumberFormat.supportedLocalesOf(t);
4121
+ return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4087
4122
  }
4088
- }, e.__parse = Oi, e.formats = {
4123
+ }, e.__parse = Li, e.formats = {
4089
4124
  number: {
4090
4125
  integer: {
4091
4126
  maximumFractionDigits: 0
@@ -4146,113 +4181,113 @@ var Ui = (
4146
4181
  }, e;
4147
4182
  }()
4148
4183
  );
4149
- function Di(e, t) {
4184
+ function Vi(e, t) {
4150
4185
  if (t == null)
4151
4186
  return;
4152
4187
  if (t in e)
4153
4188
  return e[t];
4154
- const n = t.split(".");
4155
- let r = e;
4156
- for (let i = 0; i < n.length; i++)
4157
- if (typeof r == "object") {
4189
+ const r = t.split(".");
4190
+ let n = e;
4191
+ for (let i = 0; i < r.length; i++)
4192
+ if (typeof n == "object") {
4158
4193
  if (i > 0) {
4159
- const o = n.slice(i, n.length).join(".");
4160
- if (o in r) {
4161
- r = r[o];
4194
+ const o = r.slice(i, r.length).join(".");
4195
+ if (o in n) {
4196
+ n = n[o];
4162
4197
  break;
4163
4198
  }
4164
4199
  }
4165
- r = r[n[i]];
4200
+ n = n[r[i]];
4166
4201
  } else
4167
- r = void 0;
4168
- return r;
4202
+ n = void 0;
4203
+ return n;
4169
4204
  }
4170
- const U = {}, Fi = (e, t, n) => n && (t in U || (U[t] = {}), e in U[t] || (U[t][e] = n), n), _n = (e, t) => {
4205
+ const G = {}, Xi = (e, t, r) => r && (t in G || (G[t] = {}), e in G[t] || (G[t][e] = r), r), Sr = (e, t) => {
4171
4206
  if (t == null)
4172
4207
  return;
4173
- if (t in U && e in U[t])
4174
- return U[t][e];
4175
- const n = Pe(t);
4176
- for (let r = 0; r < n.length; r++) {
4177
- const i = n[r], o = ki(i, e);
4208
+ if (t in G && e in G[t])
4209
+ return G[t][e];
4210
+ const r = Oe(t);
4211
+ for (let n = 0; n < r.length; n++) {
4212
+ const i = r[n], o = Wi(i, e);
4178
4213
  if (o)
4179
- return Fi(e, t, o);
4214
+ return Xi(e, t, o);
4180
4215
  }
4181
4216
  };
4182
- let st;
4183
- const fe = Ae({});
4184
- function ji(e) {
4185
- return st[e] || null;
4217
+ let ht;
4218
+ const he = Be({});
4219
+ function zi(e) {
4220
+ return ht[e] || null;
4186
4221
  }
4187
- function En(e) {
4188
- return e in st;
4222
+ function Tr(e) {
4223
+ return e in ht;
4189
4224
  }
4190
- function ki(e, t) {
4191
- if (!En(e))
4225
+ function Wi(e, t) {
4226
+ if (!Tr(e))
4192
4227
  return null;
4193
- const n = ji(e);
4194
- return Di(n, t);
4228
+ const r = zi(e);
4229
+ return Vi(r, t);
4195
4230
  }
4196
- function Vi(e) {
4231
+ function Zi(e) {
4197
4232
  if (e == null)
4198
4233
  return;
4199
- const t = Pe(e);
4200
- for (let n = 0; n < t.length; n++) {
4201
- const r = t[n];
4202
- if (En(r))
4203
- return r;
4234
+ const t = Oe(e);
4235
+ for (let r = 0; r < t.length; r++) {
4236
+ const n = t[r];
4237
+ if (Tr(n))
4238
+ return n;
4204
4239
  }
4205
4240
  }
4206
- function Sn(e, ...t) {
4207
- delete U[e], fe.update((n) => (n[e] = Zr.all([n[e] || {}, ...t]), n));
4241
+ function Hr(e, ...t) {
4242
+ delete G[e], he.update((r) => (r[e] = qn.all([r[e] || {}, ...t]), r));
4208
4243
  }
4209
- te(
4210
- [fe],
4244
+ Y(
4245
+ [he],
4211
4246
  ([e]) => Object.keys(e)
4212
4247
  );
4213
- fe.subscribe((e) => st = e);
4248
+ he.subscribe((e) => ht = e);
4214
4249
  const ve = {};
4215
- function Xi(e, t) {
4250
+ function Qi(e, t) {
4216
4251
  ve[e].delete(t), ve[e].size === 0 && delete ve[e];
4217
4252
  }
4218
- function wn(e) {
4253
+ function Ar(e) {
4219
4254
  return ve[e];
4220
4255
  }
4221
- function zi(e) {
4222
- return Pe(e).map((t) => {
4223
- const n = wn(t);
4224
- return [t, n ? [...n] : []];
4256
+ function Ji(e) {
4257
+ return Oe(e).map((t) => {
4258
+ const r = Ar(t);
4259
+ return [t, r ? [...r] : []];
4225
4260
  }).filter(([, t]) => t.length > 0);
4226
4261
  }
4227
- function tt(e) {
4228
- return e == null ? !1 : Pe(e).some(
4262
+ function ot(e) {
4263
+ return e == null ? !1 : Oe(e).some(
4229
4264
  (t) => {
4230
- var n;
4231
- return (n = wn(t)) == null ? void 0 : n.size;
4265
+ var r;
4266
+ return (r = Ar(t)) == null ? void 0 : r.size;
4232
4267
  }
4233
4268
  );
4234
4269
  }
4235
- function Wi(e, t) {
4270
+ function qi(e, t) {
4236
4271
  return Promise.all(
4237
- t.map((r) => (Xi(e, r), r().then((i) => i.default || i)))
4238
- ).then((r) => Sn(e, ...r));
4272
+ t.map((n) => (Qi(e, n), n().then((i) => i.default || i)))
4273
+ ).then((n) => Hr(e, ...n));
4239
4274
  }
4240
- const oe = {};
4241
- function Tn(e) {
4242
- if (!tt(e))
4243
- return e in oe ? oe[e] : Promise.resolve();
4244
- const t = zi(e);
4245
- return oe[e] = Promise.all(
4275
+ const re = {};
4276
+ function Br(e) {
4277
+ if (!ot(e))
4278
+ return e in re ? re[e] : Promise.resolve();
4279
+ const t = Ji(e);
4280
+ return re[e] = Promise.all(
4246
4281
  t.map(
4247
- ([n, r]) => Wi(n, r)
4282
+ ([r, n]) => qi(r, n)
4248
4283
  )
4249
4284
  ).then(() => {
4250
- if (tt(e))
4251
- return Tn(e);
4252
- delete oe[e];
4253
- }), oe[e];
4285
+ if (ot(e))
4286
+ return Br(e);
4287
+ delete re[e];
4288
+ }), re[e];
4254
4289
  }
4255
- const Zi = {
4290
+ const Yi = {
4256
4291
  number: {
4257
4292
  scientific: { notation: "scientific" },
4258
4293
  engineering: { notation: "engineering" },
@@ -4281,203 +4316,203 @@ const Zi = {
4281
4316
  timeZoneName: "short"
4282
4317
  }
4283
4318
  }
4284
- }, Qi = {
4319
+ }, Ki = {
4285
4320
  fallbackLocale: null,
4286
4321
  loadingDelay: 200,
4287
- formats: Zi,
4322
+ formats: Yi,
4288
4323
  warnOnMissingMessages: !0,
4289
4324
  handleMissingMessage: void 0,
4290
4325
  ignoreTag: !0
4291
- }, Ji = Qi;
4292
- function ee() {
4293
- return Ji;
4294
- }
4295
- const De = Ae(!1);
4296
- var qi = Object.defineProperty, Yi = Object.defineProperties, Ki = Object.getOwnPropertyDescriptors, Mt = Object.getOwnPropertySymbols, eo = Object.prototype.hasOwnProperty, to = Object.prototype.propertyIsEnumerable, Nt = (e, t, n) => t in e ? qi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, no = (e, t) => {
4297
- for (var n in t)
4298
- eo.call(t, n) && Nt(e, n, t[n]);
4299
- if (Mt)
4300
- for (var n of Mt(t))
4301
- to.call(t, n) && Nt(e, n, t[n]);
4326
+ }, eo = Ki;
4327
+ function q() {
4328
+ return eo;
4329
+ }
4330
+ const je = Be(!1);
4331
+ var to = Object.defineProperty, ro = Object.defineProperties, no = Object.getOwnPropertyDescriptors, Rt = Object.getOwnPropertySymbols, io = Object.prototype.hasOwnProperty, oo = Object.prototype.propertyIsEnumerable, Gt = (e, t, r) => t in e ? to(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, so = (e, t) => {
4332
+ for (var r in t || (t = {}))
4333
+ io.call(t, r) && Gt(e, r, t[r]);
4334
+ if (Rt)
4335
+ for (var r of Rt(t))
4336
+ oo.call(t, r) && Gt(e, r, t[r]);
4302
4337
  return e;
4303
- }, ro = (e, t) => Yi(e, Ki(t));
4304
- let nt;
4305
- const we = Ae(null);
4306
- function Lt(e) {
4307
- return e.split("-").map((t, n, r) => r.slice(0, n + 1).join("-")).reverse();
4338
+ }, ao = (e, t) => ro(e, no(t));
4339
+ let st;
4340
+ const Se = Be(null);
4341
+ function Ut(e) {
4342
+ return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4308
4343
  }
4309
- function Pe(e, t = ee().fallbackLocale) {
4310
- const n = Lt(e);
4311
- return t ? [.../* @__PURE__ */ new Set([...n, ...Lt(t)])] : n;
4344
+ function Oe(e, t = q().fallbackLocale) {
4345
+ const r = Ut(e);
4346
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Ut(t)])] : r;
4312
4347
  }
4313
- function j() {
4314
- return nt != null ? nt : void 0;
4348
+ function F() {
4349
+ return st != null ? st : void 0;
4315
4350
  }
4316
- we.subscribe((e) => {
4317
- nt = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4351
+ Se.subscribe((e) => {
4352
+ st = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4318
4353
  });
4319
- const io = (e) => {
4320
- if (e && Vi(e) && tt(e)) {
4321
- const { loadingDelay: t } = ee();
4322
- let n;
4323
- return typeof window != "undefined" && j() != null && t ? n = window.setTimeout(
4324
- () => De.set(!0),
4354
+ const uo = (e) => {
4355
+ if (e && Zi(e) && ot(e)) {
4356
+ const { loadingDelay: t } = q();
4357
+ let r;
4358
+ return typeof window != "undefined" && F() != null && t ? r = window.setTimeout(
4359
+ () => je.set(!0),
4325
4360
  t
4326
- ) : De.set(!0), Tn(e).then(() => {
4327
- we.set(e);
4361
+ ) : je.set(!0), Br(e).then(() => {
4362
+ Se.set(e);
4328
4363
  }).finally(() => {
4329
- clearTimeout(n), De.set(!1);
4364
+ clearTimeout(r), je.set(!1);
4330
4365
  });
4331
4366
  }
4332
- return we.set(e);
4333
- }, ne = ro(no({}, we), {
4334
- set: io
4335
- }), Oe = (e) => {
4367
+ return Se.set(e);
4368
+ }, K = ao(so({}, Se), {
4369
+ set: uo
4370
+ }), Ie = (e) => {
4336
4371
  const t = /* @__PURE__ */ Object.create(null);
4337
- return (r) => {
4338
- const i = JSON.stringify(r);
4339
- return i in t ? t[i] : t[i] = e(r);
4372
+ return (n) => {
4373
+ const i = JSON.stringify(n);
4374
+ return i in t ? t[i] : t[i] = e(n);
4340
4375
  };
4341
4376
  };
4342
- var oo = Object.defineProperty, Te = Object.getOwnPropertySymbols, Hn = Object.prototype.hasOwnProperty, Bn = Object.prototype.propertyIsEnumerable, Rt = (e, t, n) => t in e ? oo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, at = (e, t) => {
4343
- for (var n in t || (t = {}))
4344
- Hn.call(t, n) && Rt(e, n, t[n]);
4377
+ var lo = Object.defineProperty, Te = Object.getOwnPropertySymbols, Cr = Object.prototype.hasOwnProperty, Pr = Object.prototype.propertyIsEnumerable, Dt = (e, t, r) => t in e ? lo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, ct = (e, t) => {
4378
+ for (var r in t || (t = {}))
4379
+ Cr.call(t, r) && Dt(e, r, t[r]);
4345
4380
  if (Te)
4346
- for (var n of Te(t))
4347
- Bn.call(t, n) && Rt(e, n, t[n]);
4381
+ for (var r of Te(t))
4382
+ Pr.call(t, r) && Dt(e, r, t[r]);
4348
4383
  return e;
4349
- }, re = (e, t) => {
4350
- var n = {};
4351
- for (var r in e)
4352
- Hn.call(e, r) && t.indexOf(r) < 0 && (n[r] = e[r]);
4384
+ }, ee = (e, t) => {
4385
+ var r = {};
4386
+ for (var n in e)
4387
+ Cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4353
4388
  if (e != null && Te)
4354
- for (var r of Te(e))
4355
- t.indexOf(r) < 0 && Bn.call(e, r) && (n[r] = e[r]);
4356
- return n;
4389
+ for (var n of Te(e))
4390
+ t.indexOf(n) < 0 && Pr.call(e, n) && (r[n] = e[n]);
4391
+ return r;
4357
4392
  };
4358
- const le = (e, t) => {
4359
- const { formats: n } = ee();
4360
- if (e in n && t in n[e])
4361
- return n[e][t];
4393
+ const se = (e, t) => {
4394
+ const { formats: r } = q();
4395
+ if (e in r && t in r[e])
4396
+ return r[e][t];
4362
4397
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4363
- }, so = Oe(
4398
+ }, ho = Ie(
4364
4399
  (e) => {
4365
- var t = e, { locale: n, format: r } = t, i = re(t, ["locale", "format"]);
4366
- if (n == null)
4400
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4401
+ if (r == null)
4367
4402
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4368
- return r && (i = le("number", r)), new Intl.NumberFormat(n, i);
4403
+ return n && (i = se("number", n)), new Intl.NumberFormat(r, i);
4369
4404
  }
4370
- ), ao = Oe(
4405
+ ), co = Ie(
4371
4406
  (e) => {
4372
- var t = e, { locale: n, format: r } = t, i = re(t, ["locale", "format"]);
4373
- if (n == null)
4407
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4408
+ if (r == null)
4374
4409
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4375
- return r ? i = le("date", r) : Object.keys(i).length === 0 && (i = le("date", "short")), new Intl.DateTimeFormat(n, i);
4410
+ return n ? i = se("date", n) : Object.keys(i).length === 0 && (i = se("date", "short")), new Intl.DateTimeFormat(r, i);
4376
4411
  }
4377
- ), uo = Oe(
4412
+ ), fo = Ie(
4378
4413
  (e) => {
4379
- var t = e, { locale: n, format: r } = t, i = re(t, ["locale", "format"]);
4380
- if (n == null)
4414
+ var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4415
+ if (r == null)
4381
4416
  throw new Error(
4382
4417
  '[svelte-i18n] A "locale" must be set to format time values'
4383
4418
  );
4384
- return r ? i = le("time", r) : Object.keys(i).length === 0 && (i = le("time", "short")), new Intl.DateTimeFormat(n, i);
4419
+ return n ? i = se("time", n) : Object.keys(i).length === 0 && (i = se("time", "short")), new Intl.DateTimeFormat(r, i);
4385
4420
  }
4386
- ), lo = (e = {}) => {
4421
+ ), mo = (e = {}) => {
4387
4422
  var t = e, {
4388
- locale: n = j()
4389
- } = t, r = re(t, [
4423
+ locale: r = F()
4424
+ } = t, n = ee(t, [
4390
4425
  "locale"
4391
4426
  ]);
4392
- return so(at({ locale: n }, r));
4393
- }, ho = (e = {}) => {
4427
+ return ho(ct({ locale: r }, n));
4428
+ }, po = (e = {}) => {
4394
4429
  var t = e, {
4395
- locale: n = j()
4396
- } = t, r = re(t, [
4430
+ locale: r = F()
4431
+ } = t, n = ee(t, [
4397
4432
  "locale"
4398
4433
  ]);
4399
- return ao(at({ locale: n }, r));
4400
- }, fo = (e = {}) => {
4434
+ return co(ct({ locale: r }, n));
4435
+ }, bo = (e = {}) => {
4401
4436
  var t = e, {
4402
- locale: n = j()
4403
- } = t, r = re(t, [
4437
+ locale: r = F()
4438
+ } = t, n = ee(t, [
4404
4439
  "locale"
4405
4440
  ]);
4406
- return uo(at({ locale: n }, r));
4407
- }, co = Oe(
4441
+ return fo(ct({ locale: r }, n));
4442
+ }, go = Ie(
4408
4443
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4409
- (e, t = j()) => new Ui(e, t, ee().formats, {
4410
- ignoreTag: ee().ignoreTag
4444
+ (e, t = F()) => new ki(e, t, q().formats, {
4445
+ ignoreTag: q().ignoreTag
4411
4446
  })
4412
- ), mo = (e, t = {}) => {
4413
- var n, r, i, o;
4447
+ ), yo = (e, t = {}) => {
4448
+ var r, n, i, o;
4414
4449
  let s = t;
4415
4450
  typeof e == "object" && (s = e, e = s.id);
4416
4451
  const {
4417
4452
  values: a,
4418
- locale: l = j(),
4453
+ locale: l = F(),
4419
4454
  default: u
4420
4455
  } = s;
4421
4456
  if (l == null)
4422
4457
  throw new Error(
4423
4458
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4424
4459
  );
4425
- let h = _n(e, l);
4460
+ let h = Sr(e, l);
4426
4461
  if (!h)
4427
- h = (o = (i = (r = (n = ee()).handleMissingMessage) == null ? void 0 : r.call(n, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4462
+ h = (o = (i = (n = (r = q()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4428
4463
  else if (typeof h != "string")
4429
4464
  return console.warn(
4430
4465
  `[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.`
4431
4466
  ), h;
4432
4467
  if (!a)
4433
4468
  return h;
4434
- let f = h;
4469
+ let c = h;
4435
4470
  try {
4436
- f = co(h, l).format(a);
4437
- } catch (c) {
4438
- c instanceof Error && console.warn(
4471
+ c = go(h, l).format(a);
4472
+ } catch (f) {
4473
+ f instanceof Error && console.warn(
4439
4474
  `[svelte-i18n] Message "${e}" has syntax error:`,
4440
- c.message
4475
+ f.message
4441
4476
  );
4442
4477
  }
4443
- return f;
4444
- }, po = (e, t) => fo(t).format(e), bo = (e, t) => ho(t).format(e), go = (e, t) => lo(t).format(e), yo = (e, t = j()) => _n(e, t), vo = te([ne, fe], () => mo);
4445
- te([ne], () => po);
4446
- te([ne], () => bo);
4447
- te([ne], () => go);
4448
- te([ne, fe], () => yo);
4449
- window.emWidgets = { topic: Or };
4450
- const xo = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4451
- function _o(e, t) {
4478
+ return c;
4479
+ }, vo = (e, t) => bo(t).format(e), _o = (e, t) => po(t).format(e), xo = (e, t) => mo(t).format(e), Eo = (e, t = F()) => Sr(e, t), wo = Y([K, he], () => yo);
4480
+ Y([K], () => vo);
4481
+ Y([K], () => _o);
4482
+ Y([K], () => xo);
4483
+ Y([K, he], () => Eo);
4484
+ window.emWidgets = { topic: Nn };
4485
+ const So = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4486
+ function To(e, t) {
4452
4487
  if (e) {
4453
- const n = document.createElement("style");
4454
- n.innerHTML = t, e.appendChild(n);
4488
+ const r = document.createElement("style");
4489
+ r.innerHTML = t, e.appendChild(r);
4455
4490
  }
4456
4491
  }
4457
- function Eo(e, t) {
4458
- const n = new URL(t);
4459
- fetch(n.href).then((r) => r.text()).then((r) => {
4492
+ function Ho(e, t) {
4493
+ const r = new URL(t);
4494
+ fetch(r.href).then((n) => n.text()).then((n) => {
4460
4495
  const i = document.createElement("style");
4461
- i.innerHTML = r, e && e.appendChild(i);
4462
- }).catch((r) => {
4463
- console.error("There was an error while trying to load client styling from URL", r);
4496
+ i.innerHTML = n, e && e.appendChild(i);
4497
+ }).catch((n) => {
4498
+ console.error("There was an error while trying to load client styling from URL", n);
4464
4499
  });
4465
4500
  }
4466
- function So(e, t, n) {
4501
+ function Ao(e, t, r) {
4467
4502
  if (window.emMessageBus) {
4468
- const r = document.createElement("style");
4503
+ const n = document.createElement("style");
4469
4504
  window.emMessageBus.subscribe(t, (i) => {
4470
- r.innerHTML = i, e && e.appendChild(r);
4505
+ n.innerHTML = i, e && e.appendChild(n);
4471
4506
  });
4472
4507
  }
4473
4508
  }
4474
- function $t(e, t) {
4475
- Sn(e, t);
4509
+ function Ft(e, t) {
4510
+ Hr(e, t);
4476
4511
  }
4477
- function wo(e) {
4478
- ne.set(e);
4512
+ function Bo(e) {
4513
+ K.set(e);
4479
4514
  }
4480
- const Gt = {
4515
+ const jt = {
4481
4516
  en: {
4482
4517
  cancel: "Cancel",
4483
4518
  confirm: "Confirm"
@@ -4523,61 +4558,61 @@ const Gt = {
4523
4558
  confirm: "Confirm"
4524
4559
  }
4525
4560
  };
4526
- function To(e) {
4527
- zn(e, "svelte-s0xip8", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{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, 10px);text-align:center}.GeneralConfirmationContainer::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)}.GeneralConfirmationContainer::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, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{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)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4561
+ function Co(e) {
4562
+ Qr(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{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, 10px);text-align:center}.GeneralConfirmationContainer::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)}.GeneralConfirmationContainer::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, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{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)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4528
4563
  }
4529
- const Ho = (e) => ({}), Ut = (e) => ({});
4530
- function Bo(e) {
4531
- let t, n;
4564
+ const Po = (e) => ({}), kt = (e) => ({});
4565
+ function Oo(e) {
4566
+ let t, r;
4532
4567
  return {
4533
4568
  c() {
4534
- t = mt("svg"), n = mt("path"), H(n, "stroke-linecap", "round"), H(n, "stroke-linejoin", "round"), H(n, "stroke-width", "2"), H(n, "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");
4569
+ t = yt("svg"), r = yt("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");
4535
4570
  },
4536
- m(r, i) {
4537
- he(r, t, i), C(t, n);
4571
+ m(n, i) {
4572
+ ae(n, t, i), C(t, r);
4538
4573
  },
4539
- p: L,
4540
- d(r) {
4541
- r && F(t);
4574
+ p: N,
4575
+ d(n) {
4576
+ n && D(t);
4542
4577
  }
4543
4578
  };
4544
4579
  }
4545
- function Dt(e) {
4546
- let t, n, r;
4580
+ function Vt(e) {
4581
+ let t, r, n;
4547
4582
  return {
4548
4583
  c() {
4549
- t = N("div"), n = N("h2"), r = J(
4584
+ t = M("div"), r = M("h2"), n = ue(
4550
4585
  /*modaltitle*/
4551
4586
  e[1]
4552
4587
  ), H(t, "class", "GeneralConfirmationTitle");
4553
4588
  },
4554
4589
  m(i, o) {
4555
- he(i, t, o), C(t, n), C(n, r);
4590
+ ae(i, t, o), C(t, r), C(r, n);
4556
4591
  },
4557
4592
  p(i, o) {
4558
4593
  o & /*modaltitle*/
4559
- 2 && xe(
4560
- r,
4594
+ 2 && lt(
4595
+ n,
4561
4596
  /*modaltitle*/
4562
4597
  i[1]
4563
4598
  );
4564
4599
  },
4565
4600
  d(i) {
4566
- i && F(t);
4601
+ i && D(t);
4567
4602
  }
4568
4603
  };
4569
4604
  }
4570
- function Ft(e) {
4571
- let t, n = (
4605
+ function Xt(e) {
4606
+ let t, r = (
4572
4607
  /*$_*/
4573
4608
  e[4]("cancel") + ""
4574
- ), r, i, o;
4609
+ ), n, i, o;
4575
4610
  return {
4576
4611
  c() {
4577
- t = N("button"), r = J(n), H(t, "class", "GeneralCancelButton");
4612
+ t = M("button"), n = ue(r), H(t, "class", "GeneralCancelButton");
4578
4613
  },
4579
4614
  m(s, a) {
4580
- he(s, t, a), C(t, r), i || (o = Fe(
4615
+ ae(s, t, a), C(t, n), i || (o = ke(
4581
4616
  t,
4582
4617
  "click",
4583
4618
  /*click_handler*/
@@ -4586,174 +4621,169 @@ function Ft(e) {
4586
4621
  },
4587
4622
  p(s, a) {
4588
4623
  a & /*$_*/
4589
- 16 && n !== (n = /*$_*/
4590
- s[4]("cancel") + "") && xe(r, n);
4624
+ 16 && r !== (r = /*$_*/
4625
+ s[4]("cancel") + "") && lt(n, r);
4591
4626
  },
4592
4627
  d(s) {
4593
- s && F(t), i = !1, o();
4628
+ s && D(t), i = !1, o();
4594
4629
  }
4595
4630
  };
4596
4631
  }
4597
- function Ao(e) {
4598
- let t, n, r, i, o, s, a, l, u, h, f, c = (
4632
+ function Io(e) {
4633
+ let t, r, n, i, o, s, a, l, u, h, c = (
4599
4634
  /*$_*/
4600
4635
  e[4]("confirm") + ""
4601
- ), p, d, m, g;
4602
- const B = (
4636
+ ), f, p, m, d;
4637
+ const g = (
4603
4638
  /*#slots*/
4604
4639
  e[16].close
4605
- ), A = Dn(
4606
- B,
4640
+ ), A = kr(
4641
+ g,
4607
4642
  e,
4608
4643
  /*$$scope*/
4609
4644
  e[15],
4610
- Ut
4611
- ), T = A || Bo();
4612
- let S = (
4645
+ kt
4646
+ ), T = A || Oo();
4647
+ let x = (
4613
4648
  /*modaltitle*/
4614
- e[1] && Dt(e)
4649
+ e[1] && Vt(e)
4615
4650
  ), E = (
4616
4651
  /*hascancelbutton*/
4617
- e[2] && Ft(e)
4652
+ e[2] && Xt(e)
4618
4653
  );
4619
4654
  return {
4620
4655
  c() {
4621
- t = N("div"), n = N("div"), r = N("span"), T.c(), i = ce(), S && S.c(), o = ce(), s = N("div"), a = J(
4622
- /*modaltext*/
4623
- e[0]
4624
- ), l = ce(), u = N("div"), E && E.c(), h = ce(), f = N("button"), p = J(c), H(r, "class", "ModalCloseBtn"), H(r, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(f, "class", "GeneralConfirmButton"), H(u, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4625
- (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(n, "class", "GeneralConfirmationContainer " + /*isMobile*/
4656
+ t = M("div"), r = M("div"), n = M("span"), T && T.c(), i = fe(), x && x.c(), o = fe(), s = M("div"), a = fe(), l = M("div"), E && E.c(), u = fe(), h = M("button"), f = ue(c), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(h, "class", "GeneralConfirmButton"), H(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4657
+ (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4626
4658
  (e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4627
4659
  (e[5] ? "GeneralConfirmationMobileWrapper" : ""));
4628
4660
  },
4629
- m(_, O) {
4630
- he(_, t, O), C(t, n), C(n, r), T.m(r, null), C(n, i), S && S.m(n, null), C(n, o), C(n, s), C(s, a), C(n, l), C(n, u), E && E.m(u, null), C(u, h), C(u, f), C(f, p), e[19](t), d = !0, m || (g = [
4631
- Fe(
4632
- r,
4661
+ m(b, B) {
4662
+ ae(b, t, B), C(t, r), C(r, n), T && T.m(n, null), C(r, i), x && x.m(r, null), C(r, o), C(r, s), s.innerHTML = /*modaltext*/
4663
+ e[0], C(r, a), C(r, l), E && E.m(l, null), C(l, u), C(l, h), C(h, f), e[19](t), p = !0, m || (d = [
4664
+ ke(
4665
+ n,
4633
4666
  "click",
4634
4667
  /*close*/
4635
4668
  e[6]
4636
4669
  ),
4637
- Fe(
4638
- f,
4670
+ ke(
4671
+ h,
4639
4672
  "click",
4640
4673
  /*click_handler_1*/
4641
4674
  e[18]
4642
4675
  )
4643
4676
  ], m = !0);
4644
4677
  },
4645
- p(_, [O]) {
4646
- A && A.p && (!d || O & /*$$scope*/
4647
- 32768) && jn(
4678
+ p(b, [B]) {
4679
+ A && A.p && (!p || B & /*$$scope*/
4680
+ 32768) && Xr(
4648
4681
  A,
4649
- B,
4650
- _,
4682
+ g,
4683
+ b,
4651
4684
  /*$$scope*/
4652
- _[15],
4653
- d ? Fn(
4654
- B,
4685
+ b[15],
4686
+ p ? Vr(
4687
+ g,
4655
4688
  /*$$scope*/
4656
- _[15],
4657
- O,
4658
- Ho
4659
- ) : kn(
4689
+ b[15],
4690
+ B,
4691
+ Po
4692
+ ) : zr(
4660
4693
  /*$$scope*/
4661
- _[15]
4694
+ b[15]
4662
4695
  ),
4663
- Ut
4696
+ kt
4664
4697
  ), /*modaltitle*/
4665
- _[1] ? S ? S.p(_, O) : (S = Dt(_), S.c(), S.m(n, o)) : S && (S.d(1), S = null), (!d || O & /*modaltext*/
4666
- 1) && xe(
4667
- a,
4668
- /*modaltext*/
4669
- _[0]
4670
- ), /*hascancelbutton*/
4671
- _[2] ? E ? E.p(_, O) : (E = Ft(_), E.c(), E.m(u, h)) : E && (E.d(1), E = null), (!d || O & /*$_*/
4698
+ b[1] ? x ? x.p(b, B) : (x = Vt(b), x.c(), x.m(r, o)) : x && (x.d(1), x = null), (!p || B & /*modaltext*/
4699
+ 1) && (s.innerHTML = /*modaltext*/
4700
+ b[0]), /*hascancelbutton*/
4701
+ b[2] ? E ? E.p(b, B) : (E = Xt(b), E.c(), E.m(l, u)) : E && (E.d(1), E = null), (!p || B & /*$_*/
4672
4702
  16) && c !== (c = /*$_*/
4673
- _[4]("confirm") + "") && xe(p, c);
4703
+ b[4]("confirm") + "") && lt(f, c);
4674
4704
  },
4675
- i(_) {
4676
- d || (Qt(T, _), d = !0);
4705
+ i(b) {
4706
+ p || (Kt(T, b), p = !0);
4677
4707
  },
4678
- o(_) {
4679
- ur(T, _), d = !1;
4708
+ o(b) {
4709
+ fn(T, b), p = !1;
4680
4710
  },
4681
- d(_) {
4682
- _ && F(t), T.d(_), S && S.d(), E && E.d(), e[19](null), m = !1, D(g);
4711
+ d(b) {
4712
+ b && D(t), T && T.d(b), x && x.d(), E && E.d(), e[19](null), m = !1, U(d);
4683
4713
  }
4684
4714
  };
4685
4715
  }
4686
- function Co(e, t, n) {
4687
- let r;
4688
- Un(e, vo, (y) => n(4, r = y));
4689
- let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: f = "en" } = t, { clientstyling: c = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: d = "" } = t, { mbsource: m } = t, g, B = window.navigator.userAgent, A = xo(B) !== "PC";
4690
- const T = () => {
4716
+ function Mo(e, t, r) {
4717
+ let n;
4718
+ jr(e, wo, (v) => r(4, n = v));
4719
+ let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: c = "en" } = t, { clientstyling: f = "" } = t, { clientstylingurl: p = "" } = t, { translationurl: m = "" } = t, { mbsource: d } = t, g, A = window.navigator.userAgent, T = So(A) !== "PC";
4720
+ const x = () => {
4691
4721
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4692
- }, S = (y) => {
4693
- y === "confirm" && u && window.postMessage(u, window.location.href), y === "cancel" && h && window.postMessage(h, window.location.href), T();
4694
- }, E = () => {
4695
- fetch(d).then((k) => k.json()).then((k) => {
4696
- Object.keys(k).forEach((ut) => {
4697
- $t(ut, k[ut]);
4722
+ }, E = (v) => {
4723
+ v === "confirm" && u && window.postMessage(u, window.location.href), v === "cancel" && h && window.postMessage(h, window.location.href), x();
4724
+ }, b = () => {
4725
+ fetch(m).then((j) => j.json()).then((j) => {
4726
+ Object.keys(j).forEach((ft) => {
4727
+ Ft(ft, j[ft]);
4698
4728
  });
4699
- }).catch((k) => {
4700
- console.log(k);
4729
+ }).catch((j) => {
4730
+ console.log(j);
4701
4731
  });
4702
4732
  };
4703
- Object.keys(Gt).forEach((y) => {
4704
- $t(y, Gt[y]);
4733
+ Object.keys(jt).forEach((v) => {
4734
+ Ft(v, jt[v]);
4705
4735
  });
4706
- const _ = () => {
4707
- wo(f);
4736
+ const B = () => {
4737
+ Bo(c);
4708
4738
  };
4709
- nr(() => () => {
4739
+ sn(() => () => {
4710
4740
  });
4711
- const O = () => S("cancel"), Cn = () => S("confirm");
4712
- function Pn(y) {
4713
- je[y ? "unshift" : "push"](() => {
4714
- g = y, n(3, g);
4741
+ const ce = () => E("cancel"), Ir = () => E("confirm");
4742
+ function Mr(v) {
4743
+ Ve[v ? "unshift" : "push"](() => {
4744
+ g = v, r(3, g);
4715
4745
  });
4716
4746
  }
4717
- return e.$$set = (y) => {
4718
- "modaltext" in y && n(0, s = y.modaltext), "modaltitle" in y && n(1, a = y.modaltitle), "hascancelbutton" in y && n(2, l = y.hascancelbutton), "modalconfirmevent" in y && n(8, u = y.modalconfirmevent), "modalcancelevent" in y && n(9, h = y.modalcancelevent), "lang" in y && n(10, f = y.lang), "clientstyling" in y && n(11, c = y.clientstyling), "clientstylingurl" in y && n(12, p = y.clientstylingurl), "translationurl" in y && n(13, d = y.translationurl), "mbsource" in y && n(14, m = y.mbsource), "$$scope" in y && n(15, o = y.$$scope);
4747
+ return e.$$set = (v) => {
4748
+ "modaltext" in v && r(0, s = v.modaltext), "modaltitle" in v && r(1, a = v.modaltitle), "hascancelbutton" in v && r(2, l = v.hascancelbutton), "modalconfirmevent" in v && r(8, u = v.modalconfirmevent), "modalcancelevent" in v && r(9, h = v.modalcancelevent), "lang" in v && r(10, c = v.lang), "clientstyling" in v && r(11, f = v.clientstyling), "clientstylingurl" in v && r(12, p = v.clientstylingurl), "translationurl" in v && r(13, m = v.translationurl), "mbsource" in v && r(14, d = v.mbsource), "$$scope" in v && r(15, o = v.$$scope);
4719
4749
  }, e.$$.update = () => {
4720
4750
  e.$$.dirty & /*modaltext, lang*/
4721
- 1025 && s && f && _(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4722
- 2056 && c && g && _o(g, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4723
- 4104 && p && g && Eo(g, p), e.$$.dirty & /*mbsource, customStylingContainer*/
4724
- 16392 && m && g && So(g, `${m}.Style`), e.$$.dirty & /*translationurl*/
4725
- 8192 && d && E();
4751
+ 1025 && s && c && B(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4752
+ 2056 && f && g && To(g, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4753
+ 4104 && p && g && Ho(g, p), e.$$.dirty & /*mbsource, customStylingContainer*/
4754
+ 16392 && d && g && Ao(g, `${d}.Style`), e.$$.dirty & /*translationurl*/
4755
+ 8192 && m && b();
4726
4756
  }, [
4727
4757
  s,
4728
4758
  a,
4729
4759
  l,
4730
4760
  g,
4731
- r,
4732
- A,
4761
+ n,
4733
4762
  T,
4734
- S,
4763
+ x,
4764
+ E,
4735
4765
  u,
4736
4766
  h,
4737
- f,
4738
4767
  c,
4768
+ f,
4739
4769
  p,
4740
- d,
4741
4770
  m,
4771
+ d,
4742
4772
  o,
4743
4773
  i,
4744
- O,
4745
- Cn,
4746
- Pn
4774
+ ce,
4775
+ Ir,
4776
+ Mr
4747
4777
  ];
4748
4778
  }
4749
- class An extends pr {
4779
+ class Or extends vn {
4750
4780
  constructor(t) {
4751
- super(), dr(
4781
+ super(), gn(
4752
4782
  this,
4753
4783
  t,
4754
- Co,
4755
- Ao,
4756
- kt,
4784
+ Mo,
4785
+ Io,
4786
+ Wt,
4757
4787
  {
4758
4788
  modaltext: 0,
4759
4789
  modaltitle: 1,
@@ -4766,121 +4796,121 @@ class An extends pr {
4766
4796
  translationurl: 13,
4767
4797
  mbsource: 14
4768
4798
  },
4769
- To
4799
+ Co
4770
4800
  );
4771
4801
  }
4772
4802
  get modaltext() {
4773
4803
  return this.$$.ctx[0];
4774
4804
  }
4775
4805
  set modaltext(t) {
4776
- this.$$set({ modaltext: t }), M();
4806
+ this.$$set({ modaltext: t }), I();
4777
4807
  }
4778
4808
  get modaltitle() {
4779
4809
  return this.$$.ctx[1];
4780
4810
  }
4781
4811
  set modaltitle(t) {
4782
- this.$$set({ modaltitle: t }), M();
4812
+ this.$$set({ modaltitle: t }), I();
4783
4813
  }
4784
4814
  get hascancelbutton() {
4785
4815
  return this.$$.ctx[2];
4786
4816
  }
4787
4817
  set hascancelbutton(t) {
4788
- this.$$set({ hascancelbutton: t }), M();
4818
+ this.$$set({ hascancelbutton: t }), I();
4789
4819
  }
4790
4820
  get modalconfirmevent() {
4791
4821
  return this.$$.ctx[8];
4792
4822
  }
4793
4823
  set modalconfirmevent(t) {
4794
- this.$$set({ modalconfirmevent: t }), M();
4824
+ this.$$set({ modalconfirmevent: t }), I();
4795
4825
  }
4796
4826
  get modalcancelevent() {
4797
4827
  return this.$$.ctx[9];
4798
4828
  }
4799
4829
  set modalcancelevent(t) {
4800
- this.$$set({ modalcancelevent: t }), M();
4830
+ this.$$set({ modalcancelevent: t }), I();
4801
4831
  }
4802
4832
  get lang() {
4803
4833
  return this.$$.ctx[10];
4804
4834
  }
4805
4835
  set lang(t) {
4806
- this.$$set({ lang: t }), M();
4836
+ this.$$set({ lang: t }), I();
4807
4837
  }
4808
4838
  get clientstyling() {
4809
4839
  return this.$$.ctx[11];
4810
4840
  }
4811
4841
  set clientstyling(t) {
4812
- this.$$set({ clientstyling: t }), M();
4842
+ this.$$set({ clientstyling: t }), I();
4813
4843
  }
4814
4844
  get clientstylingurl() {
4815
4845
  return this.$$.ctx[12];
4816
4846
  }
4817
4847
  set clientstylingurl(t) {
4818
- this.$$set({ clientstylingurl: t }), M();
4848
+ this.$$set({ clientstylingurl: t }), I();
4819
4849
  }
4820
4850
  get translationurl() {
4821
4851
  return this.$$.ctx[13];
4822
4852
  }
4823
4853
  set translationurl(t) {
4824
- this.$$set({ translationurl: t }), M();
4854
+ this.$$set({ translationurl: t }), I();
4825
4855
  }
4826
4856
  get mbsource() {
4827
4857
  return this.$$.ctx[14];
4828
4858
  }
4829
4859
  set mbsource(t) {
4830
- this.$$set({ mbsource: t }), M();
4860
+ this.$$set({ mbsource: t }), I();
4831
4861
  }
4832
4862
  }
4833
- mr(An, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4834
- const Do = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4863
+ yn(Or, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4864
+ const Vo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4835
4865
  __proto__: null,
4836
- default: An
4866
+ default: Or
4837
4867
  }, Symbol.toStringTag, { value: "Module" }));
4838
4868
  export {
4839
- ne as $,
4840
- So as A,
4841
- Uo as B,
4842
- Mr as C,
4843
- Sn as D,
4844
- L as E,
4845
- Un as F,
4846
- xo as G,
4847
- Go as H,
4848
- mt as I,
4849
- J,
4850
- ce as K,
4851
- No as L,
4852
- Fe as M,
4853
- xe as N,
4854
- Oo as O,
4855
- D as P,
4856
- Mo as Q,
4857
- vo as R,
4858
- pr as S,
4859
- Do as T,
4860
- dr as a,
4861
- zn as b,
4862
- mr as c,
4863
- he as d,
4864
- Io as e,
4865
- M as f,
4866
- ur as g,
4867
- Ro as h,
4868
- Rn as i,
4869
- F as j,
4870
- Dn as k,
4871
- N as l,
4872
- H as m,
4873
- C as n,
4874
- nr as o,
4875
- kn as p,
4876
- Fn as q,
4877
- Se as r,
4878
- kt as s,
4879
- Qt as t,
4880
- jn as u,
4881
- $o as v,
4882
- Lo as w,
4883
- je as x,
4884
- _o as y,
4885
- Eo as z
4869
+ K as $,
4870
+ yn as A,
4871
+ ko as B,
4872
+ $n as C,
4873
+ Hr as D,
4874
+ N as E,
4875
+ jr as F,
4876
+ So as G,
4877
+ jo as H,
4878
+ Lo as I,
4879
+ fe as J,
4880
+ Ro as K,
4881
+ U as L,
4882
+ lt as M,
4883
+ Go as N,
4884
+ ke as O,
4885
+ yt as P,
4886
+ ue as Q,
4887
+ wo as R,
4888
+ vn as S,
4889
+ Vo as T,
4890
+ gn as a,
4891
+ Qr as b,
4892
+ Kt as c,
4893
+ D as d,
4894
+ Do as e,
4895
+ I as f,
4896
+ ae as g,
4897
+ $o as h,
4898
+ Ur as i,
4899
+ kr as j,
4900
+ Fo as k,
4901
+ Ee as l,
4902
+ zr as m,
4903
+ Vr as n,
4904
+ sn as o,
4905
+ C as p,
4906
+ M as q,
4907
+ H as r,
4908
+ Wt as s,
4909
+ fn as t,
4910
+ Xr as u,
4911
+ Ve as v,
4912
+ Uo as w,
4913
+ To as x,
4914
+ Ho as y,
4915
+ Ao as z
4886
4916
  };