@everymatrix/player-account-product-restriction 1.77.18 → 1.77.20

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