@everymatrix/player-account-timeout 1.65.3 → 1.66.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/components/PlayerAccountGeneralConfirmationModal-FkuCh0hP.cjs +18 -0
  2. package/components/{PlayerAccountGeneralConfirmationModal-6i8q0VzZ.js → PlayerAccountGeneralConfirmationModal-Zyz_OEuJ.js} +969 -934
  3. package/components/{PlayerAccountGeneralConfirmationModal-dWXVEPZv.js → PlayerAccountGeneralConfirmationModal-uYwTgnnB.js} +925 -890
  4. package/components/{PlayerAccountTimeout-DChmbL7A.cjs → PlayerAccountTimeout-CiYC4keu.cjs} +156 -156
  5. package/components/{PlayerAccountTimeout-BJcFKc4I.js → PlayerAccountTimeout-Cp5KUUpP.js} +1066 -1068
  6. package/components/{PlayerAccountTimeout-CHwQGRHJ.js → PlayerAccountTimeout-D7bfp5da.js} +1336 -1338
  7. package/es2015/player-account-timeout.cjs +1 -1
  8. package/es2015/player-account-timeout.js +1 -1
  9. package/esnext/player-account-timeout.js +1 -1
  10. package/package.json +1 -1
  11. package/stencil/index-b2193545-BcYyCldH.js +519 -0
  12. package/stencil/index-b2193545-CPztmidm.js +503 -0
  13. package/stencil/index-b2193545-D1Z0k4-D.cjs +1 -0
  14. package/stencil/{ui-skeleton-1cb75d00-6KKxtHwu.cjs → ui-skeleton-1cb75d00-CUSs6C3A.cjs} +1 -1
  15. package/stencil/{ui-skeleton-1cb75d00-BAHBT-wb.js → ui-skeleton-1cb75d00-CXHx_pAM.js} +1 -1
  16. package/stencil/{ui-skeleton-1cb75d00-BPfsKHrC.js → ui-skeleton-1cb75d00-z2mX3TRi.js} +1 -1
  17. package/stencil/{ui-skeleton-QVfoKja7.js → ui-skeleton-4ifa-7wH.js} +2 -2
  18. package/stencil/{ui-skeleton-b2oavT4f.js → ui-skeleton-Bk5dn5mu.js} +2 -2
  19. package/stencil/{ui-skeleton-CaX4F6ue.cjs → ui-skeleton-CCXvjIzA.cjs} +1 -1
  20. package/components/PlayerAccountGeneralConfirmationModal-B-KQoOY-.cjs +0 -18
  21. package/stencil/index-b2193545-CayB6jRX.js +0 -519
  22. package/stencil/index-b2193545-DrvOqGyq.js +0 -503
  23. package/stencil/index-b2193545-lC_KoC4p.cjs +0 -1
@@ -1,6 +1,6 @@
1
- function M() {
1
+ function L() {
2
2
  }
3
- function cr(e, t) {
3
+ function br(e, t) {
4
4
  for (const r in t)
5
5
  e[r] = t[r];
6
6
  return (
@@ -8,46 +8,46 @@ function cr(e, t) {
8
8
  e
9
9
  );
10
10
  }
11
- function Bt(e) {
11
+ function Ot(e) {
12
12
  return e();
13
13
  }
14
- function Ke() {
14
+ function nt() {
15
15
  return /* @__PURE__ */ Object.create(null);
16
16
  }
17
- function J(e) {
18
- e.forEach(Bt);
17
+ function Q(e) {
18
+ e.forEach(Ot);
19
19
  }
20
- function Ze(e) {
20
+ function Ke(e) {
21
21
  return typeof e == "function";
22
22
  }
23
- function At(e, t) {
23
+ function It(e, t) {
24
24
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
25
25
  }
26
- function dr(e) {
26
+ function gr(e) {
27
27
  return Object.keys(e).length === 0;
28
28
  }
29
- function Ct(e, ...t) {
29
+ function Mt(e, ...t) {
30
30
  if (e == null) {
31
31
  for (const n of t)
32
32
  n(void 0);
33
- return M;
33
+ return L;
34
34
  }
35
35
  const r = e.subscribe(...t);
36
36
  return r.unsubscribe ? () => r.unsubscribe() : r;
37
37
  }
38
- function mr(e, t, r) {
39
- e.$$.on_destroy.push(Ct(t, r));
38
+ function yr(e, t, r) {
39
+ e.$$.on_destroy.push(Mt(t, r));
40
40
  }
41
- function pr(e, t, r, n) {
41
+ function vr(e, t, r, n) {
42
42
  if (e) {
43
- const i = Pt(e, t, r, n);
43
+ const i = Nt(e, t, r, n);
44
44
  return e[0](i);
45
45
  }
46
46
  }
47
- function Pt(e, t, r, n) {
48
- return e[1] && n ? cr(r.ctx.slice(), e[1](n(t))) : r.ctx;
47
+ function Nt(e, t, r, n) {
48
+ return e[1] && n ? br(r.ctx.slice(), e[1](n(t))) : r.ctx;
49
49
  }
50
- function br(e, t, r, n) {
50
+ function _r(e, t, r, n) {
51
51
  if (e[2] && n) {
52
52
  const i = e[2](n(r));
53
53
  if (t.dirty === void 0)
@@ -62,13 +62,13 @@ function br(e, t, r, n) {
62
62
  }
63
63
  return t.dirty;
64
64
  }
65
- function gr(e, t, r, n, i, o) {
65
+ function xr(e, t, r, n, i, o) {
66
66
  if (i) {
67
- const s = Pt(t, r, n, o);
67
+ const s = Nt(t, r, n, o);
68
68
  e.p(s, i);
69
69
  }
70
70
  }
71
- function yr(e) {
71
+ function Er(e) {
72
72
  if (e.ctx.length > 32) {
73
73
  const t = [], r = e.ctx.length / 32;
74
74
  for (let n = 0; n < r; n++)
@@ -80,14 +80,14 @@ function yr(e) {
80
80
  function B(e, t) {
81
81
  e.appendChild(t);
82
82
  }
83
- function vr(e, t, r) {
84
- const n = xr(e);
83
+ function Sr(e, t, r) {
84
+ const n = wr(e);
85
85
  if (!n.getElementById(t)) {
86
- const i = N("style");
87
- i.id = t, i.textContent = r, _r(n, i);
86
+ const i = M("style");
87
+ i.id = t, i.textContent = r, Tr(n, i);
88
88
  }
89
89
  }
90
- function xr(e) {
90
+ function wr(e) {
91
91
  if (!e)
92
92
  return document;
93
93
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -97,62 +97,62 @@ function xr(e) {
97
97
  t
98
98
  ) : e.ownerDocument;
99
99
  }
100
- function _r(e, t) {
100
+ function Tr(e, t) {
101
101
  return B(
102
102
  /** @type {Document} */
103
103
  e.head || e,
104
104
  t
105
105
  ), t.sheet;
106
106
  }
107
- function se(e, t, r) {
107
+ function oe(e, t, r) {
108
108
  e.insertBefore(t, r || null);
109
109
  }
110
- function q(e) {
110
+ function J(e) {
111
111
  e.parentNode && e.parentNode.removeChild(e);
112
112
  }
113
- function Yi(e, t) {
113
+ function ro(e, t) {
114
114
  for (let r = 0; r < e.length; r += 1)
115
115
  e[r] && e[r].d(t);
116
116
  }
117
- function N(e) {
117
+ function M(e) {
118
118
  return document.createElement(e);
119
119
  }
120
- function et(e) {
120
+ function it(e) {
121
121
  return document.createElementNS("http://www.w3.org/2000/svg", e);
122
122
  }
123
- function X(e) {
123
+ function V(e) {
124
124
  return document.createTextNode(e);
125
125
  }
126
126
  function ue() {
127
- return X(" ");
127
+ return V(" ");
128
128
  }
129
- function Ki() {
130
- return X("");
129
+ function no() {
130
+ return V("");
131
131
  }
132
- function Oe(e, t, r, n) {
132
+ function Ne(e, t, r, n) {
133
133
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
134
134
  }
135
- function T(e, t, r) {
135
+ function H(e, t, r) {
136
136
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
137
137
  }
138
- function eo(e, t, r) {
138
+ function io(e, t, r) {
139
139
  const n = t.toLowerCase();
140
- n in e ? e[n] = typeof e[n] == "boolean" && r === "" ? !0 : r : t in e ? e[t] = typeof e[t] == "boolean" && r === "" ? !0 : r : T(e, t, r);
140
+ 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);
141
141
  }
142
- function Er(e) {
142
+ function Hr(e) {
143
143
  return Array.from(e.childNodes);
144
144
  }
145
145
  function be(e, t) {
146
146
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
147
147
  t);
148
148
  }
149
- function to(e, t) {
149
+ function oo(e, t) {
150
150
  e.value = t ?? "";
151
151
  }
152
- function ro(e, t, r, n) {
152
+ function so(e, t, r, n) {
153
153
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
154
154
  }
155
- function no(e, t, r) {
155
+ function ao(e, t, r) {
156
156
  for (let n = 0; n < e.options.length; n += 1) {
157
157
  const i = e.options[n];
158
158
  if (i.__value === t) {
@@ -162,11 +162,11 @@ function no(e, t, r) {
162
162
  }
163
163
  (!r || t !== void 0) && (e.selectedIndex = -1);
164
164
  }
165
- function io(e) {
165
+ function uo(e) {
166
166
  const t = e.querySelector(":checked");
167
167
  return t && t.__value;
168
168
  }
169
- function Sr(e) {
169
+ function Br(e) {
170
170
  const t = {};
171
171
  return e.childNodes.forEach(
172
172
  /** @param {Element} node */
@@ -175,108 +175,108 @@ function Sr(e) {
175
175
  }
176
176
  ), t;
177
177
  }
178
- let ne;
179
- function re(e) {
180
- ne = e;
178
+ let re;
179
+ function te(e) {
180
+ re = e;
181
181
  }
182
- function wr() {
183
- if (!ne)
182
+ function Ar() {
183
+ if (!re)
184
184
  throw new Error("Function called outside component initialization");
185
- return ne;
185
+ return re;
186
186
  }
187
- function Tr(e) {
188
- wr().$$.on_mount.push(e);
187
+ function Cr(e) {
188
+ Ar().$$.on_mount.push(e);
189
189
  }
190
- const j = [], Ie = [];
190
+ const j = [], Le = [];
191
191
  let k = [];
192
- const tt = [], Hr = /* @__PURE__ */ Promise.resolve();
193
- let Ne = !1;
194
- function Br() {
195
- Ne || (Ne = !0, Hr.then(O));
192
+ const ot = [], Pr = /* @__PURE__ */ Promise.resolve();
193
+ let Re = !1;
194
+ function Or() {
195
+ Re || (Re = !0, Pr.then(O));
196
196
  }
197
- function Me(e) {
197
+ function $e(e) {
198
198
  k.push(e);
199
199
  }
200
- const we = /* @__PURE__ */ new Set();
200
+ const He = /* @__PURE__ */ new Set();
201
201
  let D = 0;
202
202
  function O() {
203
203
  if (D !== 0)
204
204
  return;
205
- const e = ne;
205
+ const e = re;
206
206
  do {
207
207
  try {
208
208
  for (; D < j.length; ) {
209
209
  const t = j[D];
210
- D++, re(t), Ar(t.$$);
210
+ D++, te(t), Ir(t.$$);
211
211
  }
212
212
  } catch (t) {
213
213
  throw j.length = 0, D = 0, t;
214
214
  }
215
- for (re(null), j.length = 0, D = 0; Ie.length; )
216
- Ie.pop()();
215
+ for (te(null), j.length = 0, D = 0; Le.length; )
216
+ Le.pop()();
217
217
  for (let t = 0; t < k.length; t += 1) {
218
218
  const r = k[t];
219
- we.has(r) || (we.add(r), r());
219
+ He.has(r) || (He.add(r), r());
220
220
  }
221
221
  k.length = 0;
222
222
  } while (j.length);
223
- for (; tt.length; )
224
- tt.pop()();
225
- Ne = !1, we.clear(), re(e);
223
+ for (; ot.length; )
224
+ ot.pop()();
225
+ Re = !1, He.clear(), te(e);
226
226
  }
227
- function Ar(e) {
227
+ function Ir(e) {
228
228
  if (e.fragment !== null) {
229
- e.update(), J(e.before_update);
229
+ e.update(), Q(e.before_update);
230
230
  const t = e.dirty;
231
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Me);
231
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach($e);
232
232
  }
233
233
  }
234
- function Cr(e) {
234
+ function Mr(e) {
235
235
  const t = [], r = [];
236
236
  k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
237
237
  }
238
- const fe = /* @__PURE__ */ new Set();
239
- let Pr;
240
- function Ot(e, t) {
241
- e && e.i && (fe.delete(e), e.i(t));
238
+ const ce = /* @__PURE__ */ new Set();
239
+ let Nr;
240
+ function Lt(e, t) {
241
+ e && e.i && (ce.delete(e), e.i(t));
242
242
  }
243
- function Or(e, t, r, n) {
244
- if (e.o) {
245
- if (fe.has(e))
243
+ function Lr(e, t, r, n) {
244
+ if (e && e.o) {
245
+ if (ce.has(e))
246
246
  return;
247
- fe.add(e), Pr.c.push(() => {
248
- fe.delete(e);
247
+ ce.add(e), Nr.c.push(() => {
248
+ ce.delete(e);
249
249
  }), e.o(t);
250
250
  }
251
251
  }
252
- function oo(e) {
252
+ function lo(e) {
253
253
  return e?.length !== void 0 ? e : Array.from(e);
254
254
  }
255
- function Ir(e, t, r) {
255
+ function Rr(e, t, r) {
256
256
  const { fragment: n, after_update: i } = e.$$;
257
- n && n.m(t, r), Me(() => {
258
- const o = e.$$.on_mount.map(Bt).filter(Ze);
259
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : J(o), e.$$.on_mount = [];
260
- }), i.forEach(Me);
257
+ n && n.m(t, r), $e(() => {
258
+ const o = e.$$.on_mount.map(Ot).filter(Ke);
259
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Q(o), e.$$.on_mount = [];
260
+ }), i.forEach($e);
261
261
  }
262
- function Nr(e, t) {
262
+ function $r(e, t) {
263
263
  const r = e.$$;
264
- r.fragment !== null && (Cr(r.after_update), J(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
264
+ r.fragment !== null && (Mr(r.after_update), Q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
265
265
  }
266
- function Mr(e, t) {
267
- e.$$.dirty[0] === -1 && (j.push(e), Br(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
266
+ function Gr(e, t) {
267
+ e.$$.dirty[0] === -1 && (j.push(e), Or(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
268
268
  }
269
- function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
270
- const l = ne;
271
- re(e);
269
+ function Ur(e, t, r, n, i, o, s = null, a = [-1]) {
270
+ const l = re;
271
+ te(e);
272
272
  const u = e.$$ = {
273
273
  fragment: null,
274
274
  ctx: [],
275
275
  // state
276
276
  props: o,
277
- update: M,
277
+ update: L,
278
278
  not_equal: i,
279
- bound: Ke(),
279
+ bound: nt(),
280
280
  // lifecycle
281
281
  on_mount: [],
282
282
  on_destroy: [],
@@ -285,28 +285,28 @@ function Lr(e, t, r, n, i, o, s = null, a = [-1]) {
285
285
  after_update: [],
286
286
  context: new Map(t.context || (l ? l.$$.context : [])),
287
287
  // everything else
288
- callbacks: Ke(),
288
+ callbacks: nt(),
289
289
  dirty: a,
290
290
  skip_bound: !1,
291
291
  root: t.target || l.$$.root
292
292
  };
293
293
  s && s(u.root);
294
294
  let h = !1;
295
- if (u.ctx = r ? r(e, t.props || {}, (f, c, ...d) => {
296
- const m = d.length ? d[0] : c;
297
- return u.ctx && i(u.ctx[f], u.ctx[f] = m) && (!u.skip_bound && u.bound[f] && u.bound[f](m), h && Mr(e, f)), c;
298
- }) : [], u.update(), h = !0, J(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
295
+ if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
296
+ const p = m.length ? m[0] : f;
297
+ return u.ctx && i(u.ctx[c], u.ctx[c] = p) && (!u.skip_bound && u.bound[c] && u.bound[c](p), h && Gr(e, c)), f;
298
+ }) : [], u.update(), h = !0, Q(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
299
299
  if (t.hydrate) {
300
- const f = Er(t.target);
301
- u.fragment && u.fragment.l(f), f.forEach(q);
300
+ const c = Hr(t.target);
301
+ u.fragment && u.fragment.l(c), c.forEach(J);
302
302
  } else
303
303
  u.fragment && u.fragment.c();
304
- t.intro && Ot(e.$$.fragment), Ir(e, t.target, t.anchor), O();
304
+ t.intro && Lt(e.$$.fragment), Rr(e, t.target, t.anchor), O();
305
305
  }
306
- re(l);
306
+ te(l);
307
307
  }
308
- let It;
309
- typeof HTMLElement == "function" && (It = class extends HTMLElement {
308
+ let Rt;
309
+ typeof HTMLElement == "function" && (Rt = class extends HTMLElement {
310
310
  /** The Svelte component constructor */
311
311
  $$ctor;
312
312
  /** Slots */
@@ -348,29 +348,29 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
348
348
  let o;
349
349
  return {
350
350
  c: function() {
351
- o = N("slot"), i !== "default" && T(o, "name", i);
351
+ o = M("slot"), i !== "default" && H(o, "name", i);
352
352
  },
353
353
  /**
354
354
  * @param {HTMLElement} target
355
355
  * @param {HTMLElement} [anchor]
356
356
  */
357
357
  m: function(l, u) {
358
- se(l, o, u);
358
+ oe(l, o, u);
359
359
  },
360
360
  d: function(l) {
361
- l && q(o);
361
+ l && J(o);
362
362
  }
363
363
  };
364
364
  };
365
365
  };
366
366
  if (await Promise.resolve(), !this.$$cn || this.$$c)
367
367
  return;
368
- const t = {}, r = Sr(this);
368
+ const t = {}, r = Br(this);
369
369
  for (const i of this.$$s)
370
370
  i in r && (t[i] = [e(i)]);
371
371
  for (const i of this.attributes) {
372
372
  const o = this.$$g_p(i.name);
373
- o in this.$$d || (this.$$d[o] = ce(o, i.value, this.$$p_d, "toProp"));
373
+ o in this.$$d || (this.$$d[o] = fe(o, i.value, this.$$p_d, "toProp"));
374
374
  }
375
375
  for (const i in this.$$p_d)
376
376
  !(i in this.$$d) && this[i] !== void 0 && (this.$$d[i] = this[i], delete this[i]);
@@ -388,7 +388,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
388
388
  this.$$r = !0;
389
389
  for (const i in this.$$p_d)
390
390
  if (this.$$d[i] = this.$$c.$$.ctx[this.$$c.$$.props[i]], this.$$p_d[i].reflect) {
391
- const o = ce(
391
+ const o = fe(
392
392
  i,
393
393
  this.$$d[i],
394
394
  this.$$p_d,
@@ -410,7 +410,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
410
410
  // We don't need this when working within Svelte code, but for compatibility of people using this outside of Svelte
411
411
  // and setting attributes through setAttribute etc, this is helpful
412
412
  attributeChangedCallback(e, t, r) {
413
- this.$$r || (e = this.$$g_p(e), this.$$d[e] = ce(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
413
+ this.$$r || (e = this.$$g_p(e), this.$$d[e] = fe(e, r, this.$$p_d, "toProp"), this.$$c?.$set({ [e]: this.$$d[e] }));
414
414
  }
415
415
  disconnectedCallback() {
416
416
  this.$$cn = !1, Promise.resolve().then(() => {
@@ -423,7 +423,7 @@ typeof HTMLElement == "function" && (It = class extends HTMLElement {
423
423
  ) || e;
424
424
  }
425
425
  });
426
- function ce(e, t, r, n) {
426
+ function fe(e, t, r, n) {
427
427
  const i = r[e]?.type;
428
428
  if (t = i === "Boolean" && typeof t != "boolean" ? t != null : t, !n || !r[e])
429
429
  return t;
@@ -452,8 +452,8 @@ function ce(e, t, r, n) {
452
452
  return t;
453
453
  }
454
454
  }
455
- function Rr(e, t, r, n, i, o) {
456
- let s = class extends It {
455
+ function Dr(e, t, r, n, i, o) {
456
+ let s = class extends Rt {
457
457
  constructor() {
458
458
  super(e, r, i), this.$$p_d = t;
459
459
  }
@@ -469,7 +469,7 @@ function Rr(e, t, r, n, i, o) {
469
469
  return this.$$c && a in this.$$c ? this.$$c[a] : this.$$d[a];
470
470
  },
471
471
  set(l) {
472
- l = ce(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
472
+ l = fe(a, l, t), this.$$d[a] = l, this.$$c?.$set({ [a]: l });
473
473
  }
474
474
  });
475
475
  }), n.forEach((a) => {
@@ -481,7 +481,7 @@ function Rr(e, t, r, n, i, o) {
481
481
  }), e.element = /** @type {any} */
482
482
  s, s;
483
483
  }
484
- class $r {
484
+ class Fr {
485
485
  /**
486
486
  * ### PRIVATE API
487
487
  *
@@ -500,7 +500,7 @@ class $r {
500
500
  $$set = void 0;
501
501
  /** @returns {void} */
502
502
  $destroy() {
503
- Nr(this, 1), this.$destroy = M;
503
+ $r(this, 1), this.$destroy = L;
504
504
  }
505
505
  /**
506
506
  * @template {Extract<keyof Events, string>} K
@@ -509,8 +509,8 @@ class $r {
509
509
  * @returns {() => void}
510
510
  */
511
511
  $on(t, r) {
512
- if (!Ze(r))
513
- return M;
512
+ if (!Ke(r))
513
+ return L;
514
514
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
515
515
  return n.push(r), () => {
516
516
  const i = n.indexOf(r);
@@ -522,13 +522,13 @@ class $r {
522
522
  * @returns {void}
523
523
  */
524
524
  $set(t) {
525
- this.$$set && !dr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
525
+ this.$$set && !gr(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
526
526
  }
527
527
  }
528
- const Gr = "4";
529
- typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Gr);
530
- var so = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
531
- function Ur(e) {
528
+ const jr = "4";
529
+ typeof window < "u" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(jr);
530
+ var ho = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
531
+ function kr(e) {
532
532
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
533
533
  }
534
534
  /*! *****************************************************************************
@@ -545,43 +545,24 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
545
545
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
546
546
  PERFORMANCE OF THIS SOFTWARE.
547
547
  ***************************************************************************** */
548
- var Le = function(e, t) {
549
- return Le = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
548
+ var Ge = function(e, t) {
549
+ return Ge = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
550
550
  r.__proto__ = n;
551
551
  } || function(r, n) {
552
552
  for (var i in n)
553
553
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
554
- }, Le(e, t);
554
+ }, Ge(e, t);
555
555
  };
556
- function R(e, t) {
556
+ function se(e, t) {
557
557
  if (typeof t != "function" && t !== null)
558
558
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
559
- Le(e, t);
559
+ Ge(e, t);
560
560
  function r() {
561
561
  this.constructor = e;
562
562
  }
563
563
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
564
564
  }
565
- var v = function() {
566
- return v = Object.assign || function(t) {
567
- for (var r, n = 1, i = arguments.length; n < i; n++) {
568
- r = arguments[n];
569
- for (var o in r)
570
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
571
- }
572
- return t;
573
- }, v.apply(this, arguments);
574
- };
575
- function Dr(e, t) {
576
- var r = {};
577
- for (var n in e)
578
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
579
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
580
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
581
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
582
- return r;
583
- }
584
- function Re(e) {
565
+ function Ue(e) {
585
566
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
586
567
  if (r)
587
568
  return r.call(e);
@@ -593,7 +574,7 @@ function Re(e) {
593
574
  };
594
575
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
595
576
  }
596
- function $e(e, t) {
577
+ function De(e, t) {
597
578
  var r = typeof Symbol == "function" && e[Symbol.iterator];
598
579
  if (!r)
599
580
  return e;
@@ -613,22 +594,22 @@ function $e(e, t) {
613
594
  }
614
595
  return o;
615
596
  }
616
- function V(e, t, r) {
617
- if (r || arguments.length === 2)
597
+ function Fe(e, t, r) {
598
+ if (arguments.length === 2)
618
599
  for (var n = 0, i = t.length, o; n < i; n++)
619
600
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
620
601
  return e.concat(o || t);
621
602
  }
622
- function L(e) {
603
+ function R(e) {
623
604
  return typeof e == "function";
624
605
  }
625
- function Nt(e) {
606
+ function $t(e) {
626
607
  var t = function(n) {
627
608
  Error.call(n), n.stack = new Error().stack;
628
609
  }, r = e(t);
629
610
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
630
611
  }
631
- var Te = Nt(function(e) {
612
+ var Be = $t(function(e) {
632
613
  return function(r) {
633
614
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
634
615
  ` + r.map(function(n, i) {
@@ -637,13 +618,13 @@ var Te = Nt(function(e) {
637
618
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
638
619
  };
639
620
  });
640
- function Ge(e, t) {
621
+ function je(e, t) {
641
622
  if (e) {
642
623
  var r = e.indexOf(t);
643
624
  0 <= r && e.splice(r, 1);
644
625
  }
645
626
  }
646
- var ve = function() {
627
+ var _e = function() {
647
628
  function e(t) {
648
629
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
649
630
  }
@@ -655,12 +636,12 @@ var ve = function() {
655
636
  if (s)
656
637
  if (this._parentage = null, Array.isArray(s))
657
638
  try {
658
- for (var a = Re(s), l = a.next(); !l.done; l = a.next()) {
639
+ for (var a = Ue(s), l = a.next(); !l.done; l = a.next()) {
659
640
  var u = l.value;
660
641
  u.remove(this);
661
642
  }
662
- } catch (p) {
663
- t = { error: p };
643
+ } catch (d) {
644
+ t = { error: d };
664
645
  } finally {
665
646
  try {
666
647
  l && !l.done && (r = a.return) && r.call(a);
@@ -672,29 +653,29 @@ var ve = function() {
672
653
  else
673
654
  s.remove(this);
674
655
  var h = this.initialTeardown;
675
- if (L(h))
656
+ if (R(h))
676
657
  try {
677
658
  h();
678
- } catch (p) {
679
- o = p instanceof Te ? p.errors : [p];
659
+ } catch (d) {
660
+ o = d instanceof Be ? d.errors : [d];
680
661
  }
681
- var f = this._finalizers;
682
- if (f) {
662
+ var c = this._finalizers;
663
+ if (c) {
683
664
  this._finalizers = null;
684
665
  try {
685
- for (var c = Re(f), d = c.next(); !d.done; d = c.next()) {
686
- var m = d.value;
666
+ for (var f = Ue(c), m = f.next(); !m.done; m = f.next()) {
667
+ var p = m.value;
687
668
  try {
688
- rt(m);
689
- } catch (p) {
690
- o = o ?? [], p instanceof Te ? o = V(V([], $e(o)), $e(p.errors)) : o.push(p);
669
+ st(p);
670
+ } catch (d) {
671
+ o = o ?? [], d instanceof Be ? o = Fe(Fe([], De(o)), De(d.errors)) : o.push(d);
691
672
  }
692
673
  }
693
- } catch (p) {
694
- n = { error: p };
674
+ } catch (d) {
675
+ n = { error: d };
695
676
  } finally {
696
677
  try {
697
- d && !d.done && (i = c.return) && i.call(c);
678
+ m && !m.done && (i = f.return) && i.call(f);
698
679
  } finally {
699
680
  if (n)
700
681
  throw n.error;
@@ -702,13 +683,13 @@ var ve = function() {
702
683
  }
703
684
  }
704
685
  if (o)
705
- throw new Te(o);
686
+ throw new Be(o);
706
687
  }
707
688
  }, e.prototype.add = function(t) {
708
689
  var r;
709
690
  if (t && t !== this)
710
691
  if (this.closed)
711
- rt(t);
692
+ st(t);
712
693
  else {
713
694
  if (t instanceof e) {
714
695
  if (t.closed || t._hasParent(this))
@@ -725,56 +706,52 @@ var ve = function() {
725
706
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
726
707
  }, e.prototype._removeParent = function(t) {
727
708
  var r = this._parentage;
728
- r === t ? this._parentage = null : Array.isArray(r) && Ge(r, t);
709
+ r === t ? this._parentage = null : Array.isArray(r) && je(r, t);
729
710
  }, e.prototype.remove = function(t) {
730
711
  var r = this._finalizers;
731
- r && Ge(r, t), t instanceof e && t._removeParent(this);
712
+ r && je(r, t), t instanceof e && t._removeParent(this);
732
713
  }, e.EMPTY = function() {
733
714
  var t = new e();
734
715
  return t.closed = !0, t;
735
716
  }(), e;
736
- }(), Mt = ve.EMPTY;
737
- function Lt(e) {
738
- return e instanceof ve || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
739
- }
740
- function rt(e) {
741
- L(e) ? e() : e.unsubscribe();
742
- }
743
- var Fr = {
744
- onUnhandledError: null,
745
- onStoppedNotification: null,
746
- Promise: void 0,
747
- useDeprecatedSynchronousErrorHandling: !1,
748
- useDeprecatedNextContext: !1
749
- }, jr = {
717
+ }(), Gt = _e.EMPTY;
718
+ function Ut(e) {
719
+ return e instanceof _e || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
720
+ }
721
+ function st(e) {
722
+ R(e) ? e() : e.unsubscribe();
723
+ }
724
+ var Vr = {
725
+ Promise: void 0
726
+ }, Xr = {
750
727
  setTimeout: function(e, t) {
751
728
  for (var r = [], n = 2; n < arguments.length; n++)
752
729
  r[n - 2] = arguments[n];
753
- return setTimeout.apply(void 0, V([e, t], $e(r)));
730
+ return setTimeout.apply(void 0, Fe([e, t], De(r)));
754
731
  },
755
732
  clearTimeout: function(e) {
756
733
  return clearTimeout(e);
757
734
  },
758
735
  delegate: void 0
759
736
  };
760
- function kr(e) {
761
- jr.setTimeout(function() {
737
+ function zr(e) {
738
+ Xr.setTimeout(function() {
762
739
  throw e;
763
740
  });
764
741
  }
765
- function nt() {
742
+ function at() {
766
743
  }
767
- function de(e) {
744
+ function me(e) {
768
745
  e();
769
746
  }
770
- var Rt = function(e) {
771
- R(t, e);
747
+ var Dt = function(e) {
748
+ se(t, e);
772
749
  function t(r) {
773
750
  var n = e.call(this) || this;
774
- return n.isStopped = !1, r ? (n.destination = r, Lt(r) && r.add(n)) : n.destination = zr, n;
751
+ return n.isStopped = !1, r ? (n.destination = r, Ut(r) && r.add(n)) : n.destination = Qr, n;
775
752
  }
776
753
  return t.create = function(r, n, i) {
777
- return new Ue(r, n, i);
754
+ return new ke(r, n, i);
778
755
  }, t.prototype.next = function(r) {
779
756
  this.isStopped || this._next(r);
780
757
  }, t.prototype.error = function(r) {
@@ -798,7 +775,7 @@ var Rt = function(e) {
798
775
  this.unsubscribe();
799
776
  }
800
777
  }, t;
801
- }(ve), Vr = function() {
778
+ }(_e), Wr = function() {
802
779
  function e(t) {
803
780
  this.partialObserver = t;
804
781
  }
@@ -829,43 +806,43 @@ var Rt = function(e) {
829
806
  le(r);
830
807
  }
831
808
  }, e;
832
- }(), Ue = function(e) {
833
- R(t, e);
809
+ }(), ke = function(e) {
810
+ se(t, e);
834
811
  function t(r, n, i) {
835
812
  var o = e.call(this) || this, s;
836
- return L(r) || !r ? s = {
813
+ return R(r) || !r ? s = {
837
814
  next: r ?? void 0,
838
815
  error: n ?? void 0,
839
816
  complete: i ?? void 0
840
- } : s = r, o.destination = new Vr(s), o;
817
+ } : s = r, o.destination = new Wr(s), o;
841
818
  }
842
819
  return t;
843
- }(Rt);
820
+ }(Dt);
844
821
  function le(e) {
845
- kr(e);
822
+ zr(e);
846
823
  }
847
- function Xr(e) {
824
+ function Zr(e) {
848
825
  throw e;
849
826
  }
850
- var zr = {
827
+ var Qr = {
851
828
  closed: !0,
852
- next: nt,
853
- error: Xr,
854
- complete: nt
855
- }, Wr = function() {
829
+ next: at,
830
+ error: Zr,
831
+ complete: at
832
+ }, Jr = function() {
856
833
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
857
834
  }();
858
- function Zr(e) {
835
+ function qr(e) {
859
836
  return e;
860
837
  }
861
- function Qr(e) {
862
- return e.length === 0 ? Zr : e.length === 1 ? e[0] : function(r) {
838
+ function Yr(e) {
839
+ return e.length === 0 ? qr : e.length === 1 ? e[0] : function(r) {
863
840
  return e.reduce(function(n, i) {
864
841
  return i(n);
865
842
  }, r);
866
843
  };
867
844
  }
868
- var it = function() {
845
+ var ut = function() {
869
846
  function e(t) {
870
847
  t && (this._subscribe = t);
871
848
  }
@@ -873,8 +850,8 @@ var it = function() {
873
850
  var r = new e();
874
851
  return r.source = this, r.operator = t, r;
875
852
  }, e.prototype.subscribe = function(t, r, n) {
876
- var i = this, o = qr(t) ? t : new Ue(t, r, n);
877
- return de(function() {
853
+ var i = this, o = en(t) ? t : new ke(t, r, n);
854
+ return me(function() {
878
855
  var s = i, a = s.operator, l = s.source;
879
856
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
880
857
  }), o;
@@ -886,8 +863,8 @@ var it = function() {
886
863
  }
887
864
  }, e.prototype.forEach = function(t, r) {
888
865
  var n = this;
889
- return r = ot(r), new r(function(i, o) {
890
- var s = new Ue({
866
+ return r = lt(r), new r(function(i, o) {
867
+ var s = new ke({
891
868
  next: function(a) {
892
869
  try {
893
870
  t(a);
@@ -903,15 +880,15 @@ var it = function() {
903
880
  }, e.prototype._subscribe = function(t) {
904
881
  var r;
905
882
  return (r = this.source) === null || r === void 0 ? void 0 : r.subscribe(t);
906
- }, e.prototype[Wr] = function() {
883
+ }, e.prototype[Jr] = function() {
907
884
  return this;
908
885
  }, e.prototype.pipe = function() {
909
886
  for (var t = [], r = 0; r < arguments.length; r++)
910
887
  t[r] = arguments[r];
911
- return Qr(t)(this);
888
+ return Yr(t)(this);
912
889
  }, e.prototype.toPromise = function(t) {
913
890
  var r = this;
914
- return t = ot(t), new t(function(n, i) {
891
+ return t = lt(t), new t(function(n, i) {
915
892
  var o;
916
893
  r.subscribe(function(s) {
917
894
  return o = s;
@@ -925,40 +902,40 @@ var it = function() {
925
902
  return new e(t);
926
903
  }, e;
927
904
  }();
928
- function ot(e) {
905
+ function lt(e) {
929
906
  var t;
930
- return (t = e ?? Fr.Promise) !== null && t !== void 0 ? t : Promise;
907
+ return (t = e ?? Vr.Promise) !== null && t !== void 0 ? t : Promise;
931
908
  }
932
- function Jr(e) {
933
- return e && L(e.next) && L(e.error) && L(e.complete);
909
+ function Kr(e) {
910
+ return e && R(e.next) && R(e.error) && R(e.complete);
934
911
  }
935
- function qr(e) {
936
- return e && e instanceof Rt || Jr(e) && Lt(e);
912
+ function en(e) {
913
+ return e && e instanceof Dt || Kr(e) && Ut(e);
937
914
  }
938
- var Yr = Nt(function(e) {
915
+ var tn = $t(function(e) {
939
916
  return function() {
940
917
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
941
918
  };
942
- }), $t = function(e) {
943
- R(t, e);
919
+ }), Ft = function(e) {
920
+ se(t, e);
944
921
  function t() {
945
922
  var r = e.call(this) || this;
946
923
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
947
924
  }
948
925
  return t.prototype.lift = function(r) {
949
- var n = new st(this, this);
926
+ var n = new ht(this, this);
950
927
  return n.operator = r, n;
951
928
  }, t.prototype._throwIfClosed = function() {
952
929
  if (this.closed)
953
- throw new Yr();
930
+ throw new tn();
954
931
  }, t.prototype.next = function(r) {
955
932
  var n = this;
956
- de(function() {
933
+ me(function() {
957
934
  var i, o;
958
935
  if (n._throwIfClosed(), !n.isStopped) {
959
936
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
960
937
  try {
961
- for (var s = Re(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
938
+ for (var s = Ue(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
962
939
  var l = a.value;
963
940
  l.next(r);
964
941
  }
@@ -976,7 +953,7 @@ var Yr = Nt(function(e) {
976
953
  });
977
954
  }, t.prototype.error = function(r) {
978
955
  var n = this;
979
- de(function() {
956
+ me(function() {
980
957
  if (n._throwIfClosed(), !n.isStopped) {
981
958
  n.hasError = n.isStopped = !0, n.thrownError = r;
982
959
  for (var i = n.observers; i.length; )
@@ -985,7 +962,7 @@ var Yr = Nt(function(e) {
985
962
  });
986
963
  }, t.prototype.complete = function() {
987
964
  var r = this;
988
- de(function() {
965
+ me(function() {
989
966
  if (r._throwIfClosed(), !r.isStopped) {
990
967
  r.isStopped = !0;
991
968
  for (var n = r.observers; n.length; )
@@ -1007,20 +984,20 @@ var Yr = Nt(function(e) {
1007
984
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1008
985
  }, t.prototype._innerSubscribe = function(r) {
1009
986
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1010
- return o || s ? Mt : (this.currentObservers = null, a.push(r), new ve(function() {
1011
- n.currentObservers = null, Ge(a, r);
987
+ return o || s ? Gt : (this.currentObservers = null, a.push(r), new _e(function() {
988
+ n.currentObservers = null, je(a, r);
1012
989
  }));
1013
990
  }, t.prototype._checkFinalizedStatuses = function(r) {
1014
991
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1015
992
  i ? r.error(o) : s && r.complete();
1016
993
  }, t.prototype.asObservable = function() {
1017
- var r = new it();
994
+ var r = new ut();
1018
995
  return r.source = this, r;
1019
996
  }, t.create = function(r, n) {
1020
- return new st(r, n);
997
+ return new ht(r, n);
1021
998
  }, t;
1022
- }(it), st = function(e) {
1023
- R(t, e);
999
+ }(ut), ht = function(e) {
1000
+ se(t, e);
1024
1001
  function t(r, n) {
1025
1002
  var i = e.call(this) || this;
1026
1003
  return i.destination = r, i.source = n, i;
@@ -1036,17 +1013,17 @@ var Yr = Nt(function(e) {
1036
1013
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1037
1014
  }, t.prototype._subscribe = function(r) {
1038
1015
  var n, i;
1039
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Mt;
1016
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Gt;
1040
1017
  }, t;
1041
- }($t), Gt = {
1018
+ }(Ft), jt = {
1042
1019
  now: function() {
1043
- return (Gt.delegate || Date).now();
1020
+ return (jt.delegate || Date).now();
1044
1021
  },
1045
1022
  delegate: void 0
1046
- }, Kr = function(e) {
1047
- R(t, e);
1023
+ }, rn = function(e) {
1024
+ se(t, e);
1048
1025
  function t(r, n, i) {
1049
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Gt);
1026
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = jt);
1050
1027
  var o = e.call(this) || this;
1051
1028
  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;
1052
1029
  }
@@ -1066,24 +1043,24 @@ var Yr = Nt(function(e) {
1066
1043
  u && o.splice(0, u + 1);
1067
1044
  }
1068
1045
  }, t;
1069
- }($t);
1070
- const at = [], ut = {}, en = (e, t = 0) => {
1071
- if (at.indexOf(e) == -1) {
1072
- const r = new Kr(t);
1073
- ut[e] = r, at.push(e);
1046
+ }(Ft);
1047
+ const ct = [], ft = {}, nn = (e, t = 0) => {
1048
+ if (ct.indexOf(e) == -1) {
1049
+ const r = new rn(t);
1050
+ ft[e] = r, ct.push(e);
1074
1051
  }
1075
- return ut[e];
1052
+ return ft[e];
1076
1053
  }, F = [];
1077
- function tn(e, t) {
1054
+ function on(e, t) {
1078
1055
  return {
1079
1056
  subscribe: xe(e, t).subscribe
1080
1057
  };
1081
1058
  }
1082
- function xe(e, t = M) {
1059
+ function xe(e, t = L) {
1083
1060
  let r;
1084
1061
  const n = /* @__PURE__ */ new Set();
1085
1062
  function i(a) {
1086
- if (At(e, a) && (e = a, r)) {
1063
+ if (It(e, a) && (e = a, r)) {
1087
1064
  const l = !F.length;
1088
1065
  for (const u of n)
1089
1066
  u[1](), F.push(u, e);
@@ -1097,150 +1074,189 @@ function xe(e, t = M) {
1097
1074
  function o(a) {
1098
1075
  i(a(e));
1099
1076
  }
1100
- function s(a, l = M) {
1077
+ function s(a, l = L) {
1101
1078
  const u = [a, l];
1102
- return n.add(u), n.size === 1 && (r = t(i, o) || M), a(e), () => {
1079
+ return n.add(u), n.size === 1 && (r = t(i, o) || L), a(e), () => {
1103
1080
  n.delete(u), n.size === 0 && r && (r(), r = null);
1104
1081
  };
1105
1082
  }
1106
1083
  return { set: i, update: o, subscribe: s };
1107
1084
  }
1108
- function Y(e, t, r) {
1085
+ function q(e, t, r) {
1109
1086
  const n = !Array.isArray(e), i = n ? [e] : e;
1110
1087
  if (!i.every(Boolean))
1111
1088
  throw new Error("derived() expects stores as input, got a falsy value");
1112
1089
  const o = t.length < 2;
1113
- return tn(r, (s, a) => {
1090
+ return on(r, (s, a) => {
1114
1091
  let l = !1;
1115
1092
  const u = [];
1116
- let h = 0, f = M;
1117
- const c = () => {
1093
+ let h = 0, c = L;
1094
+ const f = () => {
1118
1095
  if (h)
1119
1096
  return;
1120
- f();
1121
- const m = t(n ? u[0] : u, s, a);
1122
- o ? s(m) : f = Ze(m) ? m : M;
1123
- }, d = i.map(
1124
- (m, p) => Ct(
1125
- m,
1126
- (w) => {
1127
- u[p] = w, h &= ~(1 << p), l && c();
1097
+ c();
1098
+ const p = t(n ? u[0] : u, s, a);
1099
+ o ? s(p) : c = Ke(p) ? p : L;
1100
+ }, m = i.map(
1101
+ (p, d) => Mt(
1102
+ p,
1103
+ (S) => {
1104
+ u[d] = S, h &= ~(1 << d), l && f();
1128
1105
  },
1129
1106
  () => {
1130
- h |= 1 << p;
1107
+ h |= 1 << d;
1131
1108
  }
1132
1109
  )
1133
1110
  );
1134
- return l = !0, c(), function() {
1135
- J(d), f(), l = !1;
1111
+ return l = !0, f(), function() {
1112
+ Q(m), c(), l = !1;
1136
1113
  };
1137
1114
  });
1138
1115
  }
1139
- var rn = function(t) {
1140
- return nn(t) && !on(t);
1116
+ var sn = function(t) {
1117
+ return an(t) && !un(t);
1141
1118
  };
1142
- function nn(e) {
1119
+ function an(e) {
1143
1120
  return !!e && typeof e == "object";
1144
1121
  }
1145
- function on(e) {
1122
+ function un(e) {
1146
1123
  var t = Object.prototype.toString.call(e);
1147
- return t === "[object RegExp]" || t === "[object Date]" || un(e);
1124
+ return t === "[object RegExp]" || t === "[object Date]" || cn(e);
1148
1125
  }
1149
- var sn = typeof Symbol == "function" && Symbol.for, an = sn ? Symbol.for("react.element") : 60103;
1150
- function un(e) {
1151
- return e.$$typeof === an;
1126
+ var ln = typeof Symbol == "function" && Symbol.for, hn = ln ? Symbol.for("react.element") : 60103;
1127
+ function cn(e) {
1128
+ return e.$$typeof === hn;
1152
1129
  }
1153
- function ln(e) {
1130
+ function fn(e) {
1154
1131
  return Array.isArray(e) ? [] : {};
1155
1132
  }
1156
- function ie(e, t) {
1157
- return t.clone !== !1 && t.isMergeableObject(e) ? z(ln(e), e, t) : e;
1133
+ function ne(e, t) {
1134
+ return t.clone !== !1 && t.isMergeableObject(e) ? X(fn(e), e, t) : e;
1158
1135
  }
1159
- function hn(e, t, r) {
1136
+ function mn(e, t, r) {
1160
1137
  return e.concat(t).map(function(n) {
1161
- return ie(n, r);
1138
+ return ne(n, r);
1162
1139
  });
1163
1140
  }
1164
- function fn(e, t) {
1141
+ function pn(e, t) {
1165
1142
  if (!t.customMerge)
1166
- return z;
1143
+ return X;
1167
1144
  var r = t.customMerge(e);
1168
- return typeof r == "function" ? r : z;
1145
+ return typeof r == "function" ? r : X;
1169
1146
  }
1170
- function cn(e) {
1147
+ function dn(e) {
1171
1148
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1172
1149
  return Object.propertyIsEnumerable.call(e, t);
1173
1150
  }) : [];
1174
1151
  }
1175
- function lt(e) {
1176
- return Object.keys(e).concat(cn(e));
1152
+ function mt(e) {
1153
+ return Object.keys(e).concat(dn(e));
1177
1154
  }
1178
- function Ut(e, t) {
1155
+ function kt(e, t) {
1179
1156
  try {
1180
1157
  return t in e;
1181
1158
  } catch {
1182
1159
  return !1;
1183
1160
  }
1184
1161
  }
1185
- function dn(e, t) {
1186
- return Ut(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1162
+ function bn(e, t) {
1163
+ return kt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1187
1164
  }
1188
- function mn(e, t, r) {
1165
+ function gn(e, t, r) {
1189
1166
  var n = {};
1190
- return r.isMergeableObject(e) && lt(e).forEach(function(i) {
1191
- n[i] = ie(e[i], r);
1192
- }), lt(t).forEach(function(i) {
1193
- dn(e, i) || (Ut(e, i) && r.isMergeableObject(t[i]) ? n[i] = fn(i, r)(e[i], t[i], r) : n[i] = ie(t[i], r));
1167
+ return r.isMergeableObject(e) && mt(e).forEach(function(i) {
1168
+ n[i] = ne(e[i], r);
1169
+ }), mt(t).forEach(function(i) {
1170
+ bn(e, i) || (kt(e, i) && r.isMergeableObject(t[i]) ? n[i] = pn(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1194
1171
  }), n;
1195
1172
  }
1196
- function z(e, t, r) {
1197
- r = r || {}, r.arrayMerge = r.arrayMerge || hn, r.isMergeableObject = r.isMergeableObject || rn, r.cloneUnlessOtherwiseSpecified = ie;
1173
+ function X(e, t, r) {
1174
+ r = r || {}, r.arrayMerge = r.arrayMerge || mn, r.isMergeableObject = r.isMergeableObject || sn, r.cloneUnlessOtherwiseSpecified = ne;
1198
1175
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1199
- return o ? n ? r.arrayMerge(e, t, r) : mn(e, t, r) : ie(t, r);
1176
+ return o ? n ? r.arrayMerge(e, t, r) : gn(e, t, r) : ne(t, r);
1200
1177
  }
1201
- z.all = function(t, r) {
1178
+ X.all = function(t, r) {
1202
1179
  if (!Array.isArray(t))
1203
1180
  throw new Error("first argument should be an array");
1204
1181
  return t.reduce(function(n, i) {
1205
- return z(n, i, r);
1182
+ return X(n, i, r);
1206
1183
  }, {});
1207
1184
  };
1208
- var pn = z, bn = pn;
1209
- const gn = /* @__PURE__ */ Ur(bn);
1210
- function He(e, t) {
1211
- var r = t && t.cache ? t.cache : wn, n = t && t.serializer ? t.serializer : En, i = t && t.strategy ? t.strategy : vn;
1185
+ var yn = X, vn = yn;
1186
+ const _n = /* @__PURE__ */ kr(vn);
1187
+ var Ve = function(e, t) {
1188
+ return Ve = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1189
+ r.__proto__ = n;
1190
+ } || function(r, n) {
1191
+ for (var i in n)
1192
+ Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1193
+ }, Ve(e, t);
1194
+ };
1195
+ function Ee(e, t) {
1196
+ if (typeof t != "function" && t !== null)
1197
+ throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1198
+ Ve(e, t);
1199
+ function r() {
1200
+ this.constructor = e;
1201
+ }
1202
+ e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1203
+ }
1204
+ var N = function() {
1205
+ return N = Object.assign || function(t) {
1206
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1207
+ r = arguments[n];
1208
+ for (var o in r)
1209
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1210
+ }
1211
+ return t;
1212
+ }, N.apply(this, arguments);
1213
+ };
1214
+ function xn(e, t) {
1215
+ var r = {};
1216
+ for (var n in e)
1217
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1218
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
1219
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1220
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1221
+ return r;
1222
+ }
1223
+ function Ae(e, t, r) {
1224
+ if (r || arguments.length === 2)
1225
+ for (var n = 0, i = t.length, o; n < i; n++)
1226
+ (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1227
+ return e.concat(o || Array.prototype.slice.call(t));
1228
+ }
1229
+ function Ce(e, t) {
1230
+ var r = t && t.cache ? t.cache : An, n = t && t.serializer ? t.serializer : Hn, i = t && t.strategy ? t.strategy : wn;
1212
1231
  return i(e, {
1213
1232
  cache: r,
1214
1233
  serializer: n
1215
1234
  });
1216
1235
  }
1217
- function yn(e) {
1236
+ function En(e) {
1218
1237
  return e == null || typeof e == "number" || typeof e == "boolean";
1219
1238
  }
1220
- function Dt(e, t, r, n) {
1221
- var i = yn(n) ? n : r(n), o = t.get(i);
1239
+ function Sn(e, t, r, n) {
1240
+ var i = En(n) ? n : r(n), o = t.get(i);
1222
1241
  return typeof o > "u" && (o = e.call(this, n), t.set(i, o)), o;
1223
1242
  }
1224
- function Ft(e, t, r) {
1243
+ function Vt(e, t, r) {
1225
1244
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1226
1245
  return typeof o > "u" && (o = e.apply(this, n), t.set(i, o)), o;
1227
1246
  }
1228
- function Qe(e, t, r, n, i) {
1247
+ function Xt(e, t, r, n, i) {
1229
1248
  return r.bind(t, e, n, i);
1230
1249
  }
1231
- function vn(e, t) {
1232
- var r = e.length === 1 ? Dt : Ft;
1233
- return Qe(e, this, r, t.cache.create(), t.serializer);
1234
- }
1235
- function xn(e, t) {
1236
- return Qe(e, this, Ft, t.cache.create(), t.serializer);
1250
+ function wn(e, t) {
1251
+ var r = e.length === 1 ? Sn : Vt;
1252
+ return Xt(e, this, r, t.cache.create(), t.serializer);
1237
1253
  }
1238
- function _n(e, t) {
1239
- return Qe(e, this, Dt, t.cache.create(), t.serializer);
1254
+ function Tn(e, t) {
1255
+ return Xt(e, this, Vt, t.cache.create(), t.serializer);
1240
1256
  }
1241
- var En = function() {
1257
+ var Hn = function() {
1242
1258
  return JSON.stringify(arguments);
1243
- }, Sn = (
1259
+ }, Bn = (
1244
1260
  /** @class */
1245
1261
  function() {
1246
1262
  function e() {
@@ -1252,62 +1268,71 @@ var En = function() {
1252
1268
  this.cache[t] = r;
1253
1269
  }, e;
1254
1270
  }()
1255
- ), wn = {
1271
+ ), An = {
1256
1272
  create: function() {
1257
- return new Sn();
1273
+ return new Bn();
1258
1274
  }
1259
- }, Be = {
1260
- variadic: xn,
1261
- monadic: _n
1262
- }, b;
1275
+ }, Pe = {
1276
+ variadic: Tn
1277
+ }, ge = function() {
1278
+ return ge = Object.assign || function(t) {
1279
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1280
+ r = arguments[n];
1281
+ for (var o in r)
1282
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1283
+ }
1284
+ return t;
1285
+ }, ge.apply(this, arguments);
1286
+ };
1287
+ var b;
1263
1288
  (function(e) {
1264
1289
  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";
1265
1290
  })(b || (b = {}));
1266
- var S;
1291
+ var E;
1267
1292
  (function(e) {
1268
1293
  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";
1269
- })(S || (S = {}));
1270
- var W;
1294
+ })(E || (E = {}));
1295
+ var z;
1271
1296
  (function(e) {
1272
1297
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1273
- })(W || (W = {}));
1274
- function ht(e) {
1275
- return e.type === S.literal;
1298
+ })(z || (z = {}));
1299
+ function pt(e) {
1300
+ return e.type === E.literal;
1276
1301
  }
1277
- function Tn(e) {
1278
- return e.type === S.argument;
1302
+ function Cn(e) {
1303
+ return e.type === E.argument;
1279
1304
  }
1280
- function jt(e) {
1281
- return e.type === S.number;
1305
+ function zt(e) {
1306
+ return e.type === E.number;
1282
1307
  }
1283
- function kt(e) {
1284
- return e.type === S.date;
1308
+ function Wt(e) {
1309
+ return e.type === E.date;
1285
1310
  }
1286
- function Vt(e) {
1287
- return e.type === S.time;
1311
+ function Zt(e) {
1312
+ return e.type === E.time;
1288
1313
  }
1289
- function Xt(e) {
1290
- return e.type === S.select;
1314
+ function Qt(e) {
1315
+ return e.type === E.select;
1291
1316
  }
1292
- function zt(e) {
1293
- return e.type === S.plural;
1317
+ function Jt(e) {
1318
+ return e.type === E.plural;
1294
1319
  }
1295
- function Hn(e) {
1296
- return e.type === S.pound;
1320
+ function Pn(e) {
1321
+ return e.type === E.pound;
1297
1322
  }
1298
- function Wt(e) {
1299
- return e.type === S.tag;
1323
+ function qt(e) {
1324
+ return e.type === E.tag;
1300
1325
  }
1301
- function Zt(e) {
1302
- return !!(e && typeof e == "object" && e.type === W.number);
1326
+ function Yt(e) {
1327
+ return !!(e && typeof e == "object" && e.type === z.number);
1303
1328
  }
1304
- function De(e) {
1305
- return !!(e && typeof e == "object" && e.type === W.dateTime);
1329
+ function Xe(e) {
1330
+ return !!(e && typeof e == "object" && e.type === z.dateTime);
1306
1331
  }
1307
- var Qt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Bn = /(?:[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;
1308
- function An(e) {
1332
+ var Kt = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, On = /(?:[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;
1333
+ function In(e) {
1309
1334
  var t = {};
1310
- return e.replace(Bn, function(r) {
1335
+ return e.replace(On, function(r) {
1311
1336
  var n = r.length;
1312
1337
  switch (r[0]) {
1313
1338
  case "G":
@@ -1396,36 +1421,46 @@ function An(e) {
1396
1421
  return "";
1397
1422
  }), t;
1398
1423
  }
1399
- var Cn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1400
- function Pn(e) {
1424
+ var T = function() {
1425
+ return T = Object.assign || function(t) {
1426
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
1427
+ r = arguments[n];
1428
+ for (var o in r)
1429
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1430
+ }
1431
+ return t;
1432
+ }, T.apply(this, arguments);
1433
+ };
1434
+ var Mn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1435
+ function Nn(e) {
1401
1436
  if (e.length === 0)
1402
1437
  throw new Error("Number skeleton cannot be empty");
1403
- for (var t = e.split(Cn).filter(function(c) {
1404
- return c.length > 0;
1438
+ for (var t = e.split(Mn).filter(function(f) {
1439
+ return f.length > 0;
1405
1440
  }), r = [], n = 0, i = t; n < i.length; n++) {
1406
1441
  var o = i[n], s = o.split("/");
1407
1442
  if (s.length === 0)
1408
1443
  throw new Error("Invalid number skeleton");
1409
1444
  for (var a = s[0], l = s.slice(1), u = 0, h = l; u < h.length; u++) {
1410
- var f = h[u];
1411
- if (f.length === 0)
1445
+ var c = h[u];
1446
+ if (c.length === 0)
1412
1447
  throw new Error("Invalid number skeleton");
1413
1448
  }
1414
1449
  r.push({ stem: a, options: l });
1415
1450
  }
1416
1451
  return r;
1417
1452
  }
1418
- function On(e) {
1453
+ function Ln(e) {
1419
1454
  return e.replace(/^(.*?)-/, "");
1420
1455
  }
1421
- var ft = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, Jt = /^(@+)?(\+|#+)?[rs]?$/g, In = /(\*)(0+)|(#+)(0+)|(0+)/g, qt = /^(0+)$/;
1422
- function ct(e) {
1456
+ var dt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, er = /^(@+)?(\+|#+)?[rs]?$/g, Rn = /(\*)(0+)|(#+)(0+)|(0+)/g, tr = /^(0+)$/;
1457
+ function bt(e) {
1423
1458
  var t = {};
1424
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(Jt, function(r, n, i) {
1459
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(er, function(r, n, i) {
1425
1460
  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)), "";
1426
1461
  }), t;
1427
1462
  }
1428
- function Yt(e) {
1463
+ function rr(e) {
1429
1464
  switch (e) {
1430
1465
  case "sign-auto":
1431
1466
  return {
@@ -1465,7 +1500,7 @@ function Yt(e) {
1465
1500
  };
1466
1501
  }
1467
1502
  }
1468
- function Nn(e) {
1503
+ function $n(e) {
1469
1504
  var t;
1470
1505
  if (e[0] === "E" && e[1] === "E" ? (t = {
1471
1506
  notation: "engineering"
@@ -1473,17 +1508,17 @@ function Nn(e) {
1473
1508
  notation: "scientific"
1474
1509
  }, e = e.slice(1)), t) {
1475
1510
  var r = e.slice(0, 2);
1476
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !qt.test(e))
1511
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !tr.test(e))
1477
1512
  throw new Error("Malformed concise eng/scientific notation");
1478
1513
  t.minimumIntegerDigits = e.length;
1479
1514
  }
1480
1515
  return t;
1481
1516
  }
1482
- function dt(e) {
1483
- var t = {}, r = Yt(e);
1517
+ function gt(e) {
1518
+ var t = {}, r = rr(e);
1484
1519
  return r || t;
1485
1520
  }
1486
- function Mn(e) {
1521
+ function Gn(e) {
1487
1522
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1488
1523
  var i = n[r];
1489
1524
  switch (i.stem) {
@@ -1507,7 +1542,7 @@ function Mn(e) {
1507
1542
  continue;
1508
1543
  case "measure-unit":
1509
1544
  case "unit":
1510
- t.style = "unit", t.unit = On(i.options[0]);
1545
+ t.style = "unit", t.unit = Ln(i.options[0]);
1511
1546
  continue;
1512
1547
  case "compact-short":
1513
1548
  case "K":
@@ -1518,13 +1553,13 @@ function Mn(e) {
1518
1553
  t.notation = "compact", t.compactDisplay = "long";
1519
1554
  continue;
1520
1555
  case "scientific":
1521
- t = v(v(v({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1522
- return v(v({}, l), dt(u));
1556
+ t = T(T(T({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1557
+ return T(T({}, l), gt(u));
1523
1558
  }, {}));
1524
1559
  continue;
1525
1560
  case "engineering":
1526
- t = v(v(v({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1527
- return v(v({}, l), dt(u));
1561
+ t = T(T(T({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1562
+ return T(T({}, l), gt(u));
1528
1563
  }, {}));
1529
1564
  continue;
1530
1565
  case "notation-simple":
@@ -1569,41 +1604,41 @@ function Mn(e) {
1569
1604
  case "integer-width":
1570
1605
  if (i.options.length > 1)
1571
1606
  throw new RangeError("integer-width stems only accept a single optional option");
1572
- i.options[0].replace(In, function(l, u, h, f, c, d) {
1607
+ i.options[0].replace(Rn, function(l, u, h, c, f, m) {
1573
1608
  if (u)
1574
1609
  t.minimumIntegerDigits = h.length;
1575
1610
  else {
1576
- if (f && c)
1611
+ if (c && f)
1577
1612
  throw new Error("We currently do not support maximum integer digits");
1578
- if (d)
1613
+ if (m)
1579
1614
  throw new Error("We currently do not support exact integer digits");
1580
1615
  }
1581
1616
  return "";
1582
1617
  });
1583
1618
  continue;
1584
1619
  }
1585
- if (qt.test(i.stem)) {
1620
+ if (tr.test(i.stem)) {
1586
1621
  t.minimumIntegerDigits = i.stem.length;
1587
1622
  continue;
1588
1623
  }
1589
- if (ft.test(i.stem)) {
1624
+ if (dt.test(i.stem)) {
1590
1625
  if (i.options.length > 1)
1591
1626
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1592
- i.stem.replace(ft, function(l, u, h, f, c, d) {
1593
- return h === "*" ? t.minimumFractionDigits = u.length : f && f[0] === "#" ? t.maximumFractionDigits = f.length : c && d ? (t.minimumFractionDigits = c.length, t.maximumFractionDigits = c.length + d.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1627
+ i.stem.replace(dt, function(l, u, h, c, f, m) {
1628
+ return h === "*" ? t.minimumFractionDigits = u.length : c && c[0] === "#" ? t.maximumFractionDigits = c.length : f && m ? (t.minimumFractionDigits = f.length, t.maximumFractionDigits = f.length + m.length) : (t.minimumFractionDigits = u.length, t.maximumFractionDigits = u.length), "";
1594
1629
  });
1595
1630
  var o = i.options[0];
1596
- o === "w" ? t = v(v({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = v(v({}, t), ct(o)));
1631
+ o === "w" ? t = T(T({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = T(T({}, t), bt(o)));
1597
1632
  continue;
1598
1633
  }
1599
- if (Jt.test(i.stem)) {
1600
- t = v(v({}, t), ct(i.stem));
1634
+ if (er.test(i.stem)) {
1635
+ t = T(T({}, t), bt(i.stem));
1601
1636
  continue;
1602
1637
  }
1603
- var s = Yt(i.stem);
1604
- s && (t = v(v({}, t), s));
1605
- var a = Nn(i.stem);
1606
- a && (t = v(v({}, t), a));
1638
+ var s = rr(i.stem);
1639
+ s && (t = T(T({}, t), s));
1640
+ var a = $n(i.stem);
1641
+ a && (t = T(T({}, t), a));
1607
1642
  }
1608
1643
  return t;
1609
1644
  }
@@ -3022,13 +3057,13 @@ var he = {
3022
3057
  "h"
3023
3058
  ]
3024
3059
  };
3025
- function Ln(e, t) {
3060
+ function Un(e, t) {
3026
3061
  for (var r = "", n = 0; n < e.length; n++) {
3027
3062
  var i = e.charAt(n);
3028
3063
  if (i === "j") {
3029
3064
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3030
3065
  o++, n++;
3031
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Rn(t);
3066
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Dn(t);
3032
3067
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3033
3068
  r += l;
3034
3069
  for (; s-- > 0; )
@@ -3038,7 +3073,7 @@ function Ln(e, t) {
3038
3073
  }
3039
3074
  return r;
3040
3075
  }
3041
- function Rn(e) {
3076
+ function Dn(e) {
3042
3077
  var t = e.hourCycle;
3043
3078
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3044
3079
  e.hourCycles && // @ts-ignore
@@ -3060,20 +3095,20 @@ function Rn(e) {
3060
3095
  var i = he[n || ""] || he[r || ""] || he["".concat(r, "-001")] || he["001"];
3061
3096
  return i[0];
3062
3097
  }
3063
- var Ae, $n = new RegExp("^".concat(Qt.source, "*")), Gn = new RegExp("".concat(Qt.source, "*$"));
3098
+ var Oe, Fn = new RegExp("^".concat(Kt.source, "*")), jn = new RegExp("".concat(Kt.source, "*$"));
3064
3099
  function y(e, t) {
3065
3100
  return { start: e, end: t };
3066
3101
  }
3067
- var Un = !!String.prototype.startsWith && "_a".startsWith("a", 1), Dn = !!String.fromCodePoint, Fn = !!Object.fromEntries, jn = !!String.prototype.codePointAt, kn = !!String.prototype.trimStart, Vn = !!String.prototype.trimEnd, Xn = !!Number.isSafeInteger, zn = Xn ? Number.isSafeInteger : function(e) {
3102
+ var kn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Vn = !!String.fromCodePoint, Xn = !!Object.fromEntries, zn = !!String.prototype.codePointAt, Wn = !!String.prototype.trimStart, Zn = !!String.prototype.trimEnd, Qn = !!Number.isSafeInteger, Jn = Qn ? Number.isSafeInteger : function(e) {
3068
3103
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3069
- }, Fe = !0;
3104
+ }, ze = !0;
3070
3105
  try {
3071
- var Wn = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3072
- Fe = ((Ae = Wn.exec("a")) === null || Ae === void 0 ? void 0 : Ae[0]) === "a";
3106
+ var qn = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3107
+ ze = ((Oe = qn.exec("a")) === null || Oe === void 0 ? void 0 : Oe[0]) === "a";
3073
3108
  } catch {
3074
- Fe = !1;
3109
+ ze = !1;
3075
3110
  }
3076
- var mt = Un ? (
3111
+ var yt = kn ? (
3077
3112
  // Native
3078
3113
  function(t, r, n) {
3079
3114
  return t.startsWith(r, n);
@@ -3083,7 +3118,7 @@ var mt = Un ? (
3083
3118
  function(t, r, n) {
3084
3119
  return t.slice(n, n + r.length) === r;
3085
3120
  }
3086
- ), je = Dn ? String.fromCodePoint : (
3121
+ ), We = Vn ? String.fromCodePoint : (
3087
3122
  // IE11
3088
3123
  function() {
3089
3124
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3095,9 +3130,9 @@ var mt = Un ? (
3095
3130
  }
3096
3131
  return n;
3097
3132
  }
3098
- ), pt = (
3133
+ ), vt = (
3099
3134
  // native
3100
- Fn ? Object.fromEntries : (
3135
+ Xn ? Object.fromEntries : (
3101
3136
  // Ponyfill
3102
3137
  function(t) {
3103
3138
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3107,7 +3142,7 @@ var mt = Un ? (
3107
3142
  return r;
3108
3143
  }
3109
3144
  )
3110
- ), Kt = jn ? (
3145
+ ), nr = zn ? (
3111
3146
  // Native
3112
3147
  function(t, r) {
3113
3148
  return t.codePointAt(r);
@@ -3121,7 +3156,7 @@ var mt = Un ? (
3121
3156
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3122
3157
  }
3123
3158
  }
3124
- ), Zn = kn ? (
3159
+ ), Yn = Wn ? (
3125
3160
  // Native
3126
3161
  function(t) {
3127
3162
  return t.trimStart();
@@ -3129,9 +3164,9 @@ var mt = Un ? (
3129
3164
  ) : (
3130
3165
  // Ponyfill
3131
3166
  function(t) {
3132
- return t.replace($n, "");
3167
+ return t.replace(Fn, "");
3133
3168
  }
3134
- ), Qn = Vn ? (
3169
+ ), Kn = Zn ? (
3135
3170
  // Native
3136
3171
  function(t) {
3137
3172
  return t.trimEnd();
@@ -3139,32 +3174,32 @@ var mt = Un ? (
3139
3174
  ) : (
3140
3175
  // Ponyfill
3141
3176
  function(t) {
3142
- return t.replace(Gn, "");
3177
+ return t.replace(jn, "");
3143
3178
  }
3144
3179
  );
3145
- function er(e, t) {
3180
+ function ir(e, t) {
3146
3181
  return new RegExp(e, t);
3147
3182
  }
3148
- var ke;
3149
- if (Fe) {
3150
- var bt = er("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3151
- ke = function(t, r) {
3183
+ var Ze;
3184
+ if (ze) {
3185
+ var _t = ir("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3186
+ Ze = function(t, r) {
3152
3187
  var n;
3153
- bt.lastIndex = r;
3154
- var i = bt.exec(t);
3188
+ _t.lastIndex = r;
3189
+ var i = _t.exec(t);
3155
3190
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3156
3191
  };
3157
3192
  } else
3158
- ke = function(t, r) {
3193
+ Ze = function(t, r) {
3159
3194
  for (var n = []; ; ) {
3160
- var i = Kt(t, r);
3161
- if (i === void 0 || tr(i) || Kn(i))
3195
+ var i = nr(t, r);
3196
+ if (i === void 0 || or(i) || ni(i))
3162
3197
  break;
3163
3198
  n.push(i), r += i >= 65536 ? 2 : 1;
3164
3199
  }
3165
- return je.apply(void 0, n);
3200
+ return We.apply(void 0, n);
3166
3201
  };
3167
- var Jn = (
3202
+ var ei = (
3168
3203
  /** @class */
3169
3204
  function() {
3170
3205
  function e(t, r) {
@@ -3188,14 +3223,14 @@ var Jn = (
3188
3223
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3189
3224
  var a = this.clonePosition();
3190
3225
  this.bump(), i.push({
3191
- type: S.pound,
3226
+ type: E.pound,
3192
3227
  location: y(a, this.clonePosition())
3193
3228
  });
3194
3229
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3195
3230
  if (n)
3196
3231
  break;
3197
3232
  return this.error(b.UNMATCHED_CLOSING_TAG, y(this.clonePosition(), this.clonePosition()));
3198
- } else if (o === 60 && !this.ignoreTag && Ve(this.peek() || 0)) {
3233
+ } else if (o === 60 && !this.ignoreTag && Qe(this.peek() || 0)) {
3199
3234
  var s = this.parseTag(t, r);
3200
3235
  if (s.err)
3201
3236
  return s;
@@ -3216,7 +3251,7 @@ var Jn = (
3216
3251
  if (this.bumpSpace(), this.bumpIf("/>"))
3217
3252
  return {
3218
3253
  val: {
3219
- type: S.literal,
3254
+ type: E.literal,
3220
3255
  value: "<".concat(i, "/>"),
3221
3256
  location: y(n, this.clonePosition())
3222
3257
  },
@@ -3228,12 +3263,12 @@ var Jn = (
3228
3263
  return o;
3229
3264
  var s = o.val, a = this.clonePosition();
3230
3265
  if (this.bumpIf("</")) {
3231
- if (this.isEOF() || !Ve(this.char()))
3266
+ if (this.isEOF() || !Qe(this.char()))
3232
3267
  return this.error(b.INVALID_TAG, y(a, this.clonePosition()));
3233
3268
  var l = this.clonePosition(), u = this.parseTagName();
3234
3269
  return i !== u ? this.error(b.UNMATCHED_CLOSING_TAG, y(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3235
3270
  val: {
3236
- type: S.tag,
3271
+ type: E.tag,
3237
3272
  value: i,
3238
3273
  children: s,
3239
3274
  location: y(n, this.clonePosition())
@@ -3246,7 +3281,7 @@ var Jn = (
3246
3281
  return this.error(b.INVALID_TAG, y(n, this.clonePosition()));
3247
3282
  }, e.prototype.parseTagName = function() {
3248
3283
  var t = this.offset();
3249
- for (this.bump(); !this.isEOF() && Yn(this.char()); )
3284
+ for (this.bump(); !this.isEOF() && ri(this.char()); )
3250
3285
  this.bump();
3251
3286
  return this.message.slice(t, this.offset());
3252
3287
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3270,12 +3305,12 @@ var Jn = (
3270
3305
  }
3271
3306
  var l = y(n, this.clonePosition());
3272
3307
  return {
3273
- val: { type: S.literal, value: i, location: l },
3308
+ val: { type: E.literal, value: i, location: l },
3274
3309
  err: null
3275
3310
  };
3276
3311
  }, e.prototype.tryParseLeftAngleBracket = function() {
3277
3312
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3278
- !qn(this.peek() || 0)) ? (this.bump(), "<") : null;
3313
+ !ti(this.peek() || 0)) ? (this.bump(), "<") : null;
3279
3314
  }, e.prototype.tryParseQuote = function(t) {
3280
3315
  if (this.isEOF() || this.char() !== 39)
3281
3316
  return null;
@@ -3309,12 +3344,12 @@ var Jn = (
3309
3344
  r.push(n);
3310
3345
  this.bump();
3311
3346
  }
3312
- return je.apply(void 0, r);
3347
+ return We.apply(void 0, r);
3313
3348
  }, e.prototype.tryParseUnquoted = function(t, r) {
3314
3349
  if (this.isEOF())
3315
3350
  return null;
3316
3351
  var n = this.char();
3317
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), je(n));
3352
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), We(n));
3318
3353
  }, e.prototype.parseArgument = function(t, r) {
3319
3354
  var n = this.clonePosition();
3320
3355
  if (this.bump(), this.bumpSpace(), this.isEOF())
@@ -3330,7 +3365,7 @@ var Jn = (
3330
3365
  case 125:
3331
3366
  return this.bump(), {
3332
3367
  val: {
3333
- type: S.argument,
3368
+ type: E.argument,
3334
3369
  // value does not include the opening and closing braces.
3335
3370
  value: i,
3336
3371
  location: y(n, this.clonePosition())
@@ -3343,7 +3378,7 @@ var Jn = (
3343
3378
  return this.error(b.MALFORMED_ARGUMENT, y(n, this.clonePosition()));
3344
3379
  }
3345
3380
  }, e.prototype.parseIdentifierIfPossible = function() {
3346
- var t = this.clonePosition(), r = this.offset(), n = ke(this.message, r), i = r + n.length;
3381
+ var t = this.clonePosition(), r = this.offset(), n = Ze(this.message, r), i = r + n.length;
3347
3382
  this.bumpTo(i);
3348
3383
  var o = this.clonePosition(), s = y(t, o);
3349
3384
  return { value: n, location: s };
@@ -3359,49 +3394,49 @@ var Jn = (
3359
3394
  var u = null;
3360
3395
  if (this.bumpIf(",")) {
3361
3396
  this.bumpSpace();
3362
- var h = this.clonePosition(), f = this.parseSimpleArgStyleIfPossible();
3363
- if (f.err)
3364
- return f;
3365
- var c = Qn(f.val);
3366
- if (c.length === 0)
3397
+ var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3398
+ if (c.err)
3399
+ return c;
3400
+ var f = Kn(c.val);
3401
+ if (f.length === 0)
3367
3402
  return this.error(b.EXPECT_ARGUMENT_STYLE, y(this.clonePosition(), this.clonePosition()));
3368
- var d = y(h, this.clonePosition());
3369
- u = { style: c, styleLocation: d };
3403
+ var m = y(h, this.clonePosition());
3404
+ u = { style: f, styleLocation: m };
3370
3405
  }
3371
- var m = this.tryParseArgumentClose(i);
3372
- if (m.err)
3373
- return m;
3374
- var p = y(i, this.clonePosition());
3375
- if (u && mt(u?.style, "::", 0)) {
3376
- var w = Zn(u.style.slice(2));
3406
+ var p = this.tryParseArgumentClose(i);
3407
+ if (p.err)
3408
+ return p;
3409
+ var d = y(i, this.clonePosition());
3410
+ if (u && yt(u?.style, "::", 0)) {
3411
+ var S = Yn(u.style.slice(2));
3377
3412
  if (a === "number") {
3378
- var f = this.parseNumberSkeletonFromString(w, u.styleLocation);
3379
- return f.err ? f : {
3380
- val: { type: S.number, value: n, location: p, style: f.val },
3413
+ var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
3414
+ return c.err ? c : {
3415
+ val: { type: E.number, value: n, location: d, style: c.val },
3381
3416
  err: null
3382
3417
  };
3383
3418
  } else {
3384
- if (w.length === 0)
3385
- return this.error(b.EXPECT_DATE_TIME_SKELETON, p);
3386
- var I = w;
3387
- this.locale && (I = Ln(w, this.locale));
3388
- var c = {
3389
- type: W.dateTime,
3419
+ if (S.length === 0)
3420
+ return this.error(b.EXPECT_DATE_TIME_SKELETON, d);
3421
+ var I = S;
3422
+ this.locale && (I = Un(S, this.locale));
3423
+ var f = {
3424
+ type: z.dateTime,
3390
3425
  pattern: I,
3391
3426
  location: u.styleLocation,
3392
- parsedOptions: this.shouldParseSkeletons ? An(I) : {}
3393
- }, C = a === "date" ? S.date : S.time;
3427
+ parsedOptions: this.shouldParseSkeletons ? In(I) : {}
3428
+ }, C = a === "date" ? E.date : E.time;
3394
3429
  return {
3395
- val: { type: C, value: n, location: p, style: c },
3430
+ val: { type: C, value: n, location: d, style: f },
3396
3431
  err: null
3397
3432
  };
3398
3433
  }
3399
3434
  }
3400
3435
  return {
3401
3436
  val: {
3402
- type: a === "number" ? S.number : a === "date" ? S.date : S.time,
3437
+ type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3403
3438
  value: n,
3404
- location: p,
3439
+ location: d,
3405
3440
  style: (o = u?.style) !== null && o !== void 0 ? o : null
3406
3441
  },
3407
3442
  err: null
@@ -3410,41 +3445,41 @@ var Jn = (
3410
3445
  case "plural":
3411
3446
  case "selectordinal":
3412
3447
  case "select": {
3413
- var H = this.clonePosition();
3448
+ var w = this.clonePosition();
3414
3449
  if (this.bumpSpace(), !this.bumpIf(","))
3415
- return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(H, v({}, H)));
3450
+ return this.error(b.EXPECT_SELECT_ARGUMENT_OPTIONS, y(w, ge({}, w)));
3416
3451
  this.bumpSpace();
3417
- var _ = this.parseIdentifierIfPossible(), E = 0;
3452
+ var _ = this.parseIdentifierIfPossible(), x = 0;
3418
3453
  if (a !== "select" && _.value === "offset") {
3419
3454
  if (!this.bumpIf(":"))
3420
3455
  return this.error(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, y(this.clonePosition(), this.clonePosition()));
3421
3456
  this.bumpSpace();
3422
- var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3423
- if (f.err)
3424
- return f;
3425
- this.bumpSpace(), _ = this.parseIdentifierIfPossible(), E = f.val;
3457
+ var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, b.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3458
+ if (c.err)
3459
+ return c;
3460
+ this.bumpSpace(), _ = this.parseIdentifierIfPossible(), x = c.val;
3426
3461
  }
3427
- var x = this.tryParsePluralOrSelectOptions(t, a, r, _);
3428
- if (x.err)
3429
- return x;
3430
- var m = this.tryParseArgumentClose(i);
3431
- if (m.err)
3432
- return m;
3462
+ var v = this.tryParsePluralOrSelectOptions(t, a, r, _);
3463
+ if (v.err)
3464
+ return v;
3465
+ var p = this.tryParseArgumentClose(i);
3466
+ if (p.err)
3467
+ return p;
3433
3468
  var P = y(i, this.clonePosition());
3434
3469
  return a === "select" ? {
3435
3470
  val: {
3436
- type: S.select,
3471
+ type: E.select,
3437
3472
  value: n,
3438
- options: pt(x.val),
3473
+ options: vt(v.val),
3439
3474
  location: P
3440
3475
  },
3441
3476
  err: null
3442
3477
  } : {
3443
3478
  val: {
3444
- type: S.plural,
3479
+ type: E.plural,
3445
3480
  value: n,
3446
- options: pt(x.val),
3447
- offset: E,
3481
+ options: vt(v.val),
3482
+ offset: x,
3448
3483
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3449
3484
  location: P
3450
3485
  },
@@ -3494,48 +3529,48 @@ var Jn = (
3494
3529
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3495
3530
  var n = [];
3496
3531
  try {
3497
- n = Pn(t);
3532
+ n = Nn(t);
3498
3533
  } catch {
3499
3534
  return this.error(b.INVALID_NUMBER_SKELETON, r);
3500
3535
  }
3501
3536
  return {
3502
3537
  val: {
3503
- type: W.number,
3538
+ type: z.number,
3504
3539
  tokens: n,
3505
3540
  location: r,
3506
- parsedOptions: this.shouldParseSkeletons ? Mn(n) : {}
3541
+ parsedOptions: this.shouldParseSkeletons ? Gn(n) : {}
3507
3542
  },
3508
3543
  err: null
3509
3544
  };
3510
3545
  }, e.prototype.tryParsePluralOrSelectOptions = function(t, r, n, i) {
3511
3546
  for (var o, s = !1, a = [], l = /* @__PURE__ */ new Set(), u = i.value, h = i.location; ; ) {
3512
3547
  if (u.length === 0) {
3513
- var f = this.clonePosition();
3548
+ var c = this.clonePosition();
3514
3549
  if (r !== "select" && this.bumpIf("=")) {
3515
- var c = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3516
- if (c.err)
3517
- return c;
3518
- h = y(f, this.clonePosition()), u = this.message.slice(f.offset, this.offset());
3550
+ var f = this.tryParseDecimalInteger(b.EXPECT_PLURAL_ARGUMENT_SELECTOR, b.INVALID_PLURAL_ARGUMENT_SELECTOR);
3551
+ if (f.err)
3552
+ return f;
3553
+ h = y(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
3519
3554
  } else
3520
3555
  break;
3521
3556
  }
3522
3557
  if (l.has(u))
3523
3558
  return this.error(r === "select" ? b.DUPLICATE_SELECT_ARGUMENT_SELECTOR : b.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3524
3559
  u === "other" && (s = !0), this.bumpSpace();
3525
- var d = this.clonePosition();
3560
+ var m = this.clonePosition();
3526
3561
  if (!this.bumpIf("{"))
3527
3562
  return this.error(r === "select" ? b.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : b.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, y(this.clonePosition(), this.clonePosition()));
3528
- var m = this.parseMessage(t + 1, r, n);
3529
- if (m.err)
3530
- return m;
3531
- var p = this.tryParseArgumentClose(d);
3563
+ var p = this.parseMessage(t + 1, r, n);
3532
3564
  if (p.err)
3533
3565
  return p;
3566
+ var d = this.tryParseArgumentClose(m);
3567
+ if (d.err)
3568
+ return d;
3534
3569
  a.push([
3535
3570
  u,
3536
3571
  {
3537
- value: m.val,
3538
- location: y(d, this.clonePosition())
3572
+ value: p.val,
3573
+ location: y(m, this.clonePosition())
3539
3574
  }
3540
3575
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3541
3576
  }
@@ -3551,7 +3586,7 @@ var Jn = (
3551
3586
  break;
3552
3587
  }
3553
3588
  var l = y(i, this.clonePosition());
3554
- return o ? (s *= n, zn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3589
+ return o ? (s *= n, Jn(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3555
3590
  }, e.prototype.offset = function() {
3556
3591
  return this.position.offset;
3557
3592
  }, e.prototype.isEOF = function() {
@@ -3566,7 +3601,7 @@ var Jn = (
3566
3601
  var t = this.position.offset;
3567
3602
  if (t >= this.message.length)
3568
3603
  throw Error("out of bound");
3569
- var r = Kt(this.message, t);
3604
+ var r = nr(this.message, t);
3570
3605
  if (r === void 0)
3571
3606
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3572
3607
  return r;
@@ -3585,7 +3620,7 @@ var Jn = (
3585
3620
  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);
3586
3621
  }
3587
3622
  }, e.prototype.bumpIf = function(t) {
3588
- if (mt(this.message, t, this.offset())) {
3623
+ if (yt(this.message, t, this.offset())) {
3589
3624
  for (var r = 0; r < t.length; r++)
3590
3625
  this.bump();
3591
3626
  return !0;
@@ -3607,7 +3642,7 @@ var Jn = (
3607
3642
  break;
3608
3643
  }
3609
3644
  }, e.prototype.bumpSpace = function() {
3610
- for (; !this.isEOF() && tr(this.char()); )
3645
+ for (; !this.isEOF() && or(this.char()); )
3611
3646
  this.bump();
3612
3647
  }, e.prototype.peek = function() {
3613
3648
  if (this.isEOF())
@@ -3617,47 +3652,47 @@ var Jn = (
3617
3652
  }, e;
3618
3653
  }()
3619
3654
  );
3620
- function Ve(e) {
3655
+ function Qe(e) {
3621
3656
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3622
3657
  }
3623
- function qn(e) {
3624
- return Ve(e) || e === 47;
3658
+ function ti(e) {
3659
+ return Qe(e) || e === 47;
3625
3660
  }
3626
- function Yn(e) {
3661
+ function ri(e) {
3627
3662
  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;
3628
3663
  }
3629
- function tr(e) {
3664
+ function or(e) {
3630
3665
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3631
3666
  }
3632
- function Kn(e) {
3667
+ function ni(e) {
3633
3668
  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;
3634
3669
  }
3635
- function Xe(e) {
3670
+ function Je(e) {
3636
3671
  e.forEach(function(t) {
3637
- if (delete t.location, Xt(t) || zt(t))
3672
+ if (delete t.location, Qt(t) || Jt(t))
3638
3673
  for (var r in t.options)
3639
- delete t.options[r].location, Xe(t.options[r].value);
3674
+ delete t.options[r].location, Je(t.options[r].value);
3640
3675
  else
3641
- jt(t) && Zt(t.style) || (kt(t) || Vt(t)) && De(t.style) ? delete t.style.location : Wt(t) && Xe(t.children);
3676
+ zt(t) && Yt(t.style) || (Wt(t) || Zt(t)) && Xe(t.style) ? delete t.style.location : qt(t) && Je(t.children);
3642
3677
  });
3643
3678
  }
3644
- function ei(e, t) {
3645
- t === void 0 && (t = {}), t = v({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3646
- var r = new Jn(e, t).parse();
3679
+ function ii(e, t) {
3680
+ t === void 0 && (t = {}), t = ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3681
+ var r = new ei(e, t).parse();
3647
3682
  if (r.err) {
3648
3683
  var n = SyntaxError(b[r.err.kind]);
3649
3684
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3650
3685
  }
3651
- return t?.captureLocation || Xe(r.val), r.val;
3686
+ return t?.captureLocation || Je(r.val), r.val;
3652
3687
  }
3653
- var Z;
3688
+ var W;
3654
3689
  (function(e) {
3655
3690
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3656
- })(Z || (Z = {}));
3657
- var _e = (
3691
+ })(W || (W = {}));
3692
+ var Se = (
3658
3693
  /** @class */
3659
3694
  function(e) {
3660
- R(t, e);
3695
+ Ee(t, e);
3661
3696
  function t(r, n, i) {
3662
3697
  var o = e.call(this, r) || this;
3663
3698
  return o.code = n, o.originalMessage = i, o;
@@ -3666,48 +3701,48 @@ var _e = (
3666
3701
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3667
3702
  }, t;
3668
3703
  }(Error)
3669
- ), gt = (
3704
+ ), xt = (
3670
3705
  /** @class */
3671
3706
  function(e) {
3672
- R(t, e);
3707
+ Ee(t, e);
3673
3708
  function t(r, n, i, o) {
3674
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), Z.INVALID_VALUE, o) || this;
3709
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, o) || this;
3675
3710
  }
3676
3711
  return t;
3677
- }(_e)
3678
- ), ti = (
3712
+ }(Se)
3713
+ ), oi = (
3679
3714
  /** @class */
3680
3715
  function(e) {
3681
- R(t, e);
3716
+ Ee(t, e);
3682
3717
  function t(r, n, i) {
3683
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), Z.INVALID_VALUE, i) || this;
3718
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
3684
3719
  }
3685
3720
  return t;
3686
- }(_e)
3687
- ), ri = (
3721
+ }(Se)
3722
+ ), si = (
3688
3723
  /** @class */
3689
3724
  function(e) {
3690
- R(t, e);
3725
+ Ee(t, e);
3691
3726
  function t(r, n) {
3692
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), Z.MISSING_VALUE, n) || this;
3727
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
3693
3728
  }
3694
3729
  return t;
3695
- }(_e)
3730
+ }(Se)
3696
3731
  ), A;
3697
3732
  (function(e) {
3698
3733
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3699
3734
  })(A || (A = {}));
3700
- function ni(e) {
3735
+ function ai(e) {
3701
3736
  return e.length < 2 ? e : e.reduce(function(t, r) {
3702
3737
  var n = t[t.length - 1];
3703
3738
  return !n || n.type !== A.literal || r.type !== A.literal ? t.push(r) : n.value += r.value, t;
3704
3739
  }, []);
3705
3740
  }
3706
- function ii(e) {
3741
+ function ui(e) {
3707
3742
  return typeof e == "function";
3708
3743
  }
3709
- function me(e, t, r, n, i, o, s) {
3710
- if (e.length === 1 && ht(e[0]))
3744
+ function pe(e, t, r, n, i, o, s) {
3745
+ if (e.length === 1 && pt(e[0]))
3711
3746
  return [
3712
3747
  {
3713
3748
  type: A.literal,
@@ -3716,105 +3751,105 @@ function me(e, t, r, n, i, o, s) {
3716
3751
  ];
3717
3752
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3718
3753
  var h = u[l];
3719
- if (ht(h)) {
3754
+ if (pt(h)) {
3720
3755
  a.push({
3721
3756
  type: A.literal,
3722
3757
  value: h.value
3723
3758
  });
3724
3759
  continue;
3725
3760
  }
3726
- if (Hn(h)) {
3761
+ if (Pn(h)) {
3727
3762
  typeof o == "number" && a.push({
3728
3763
  type: A.literal,
3729
3764
  value: r.getNumberFormat(t).format(o)
3730
3765
  });
3731
3766
  continue;
3732
3767
  }
3733
- var f = h.value;
3734
- if (!(i && f in i))
3735
- throw new ri(f, s);
3736
- var c = i[f];
3737
- if (Tn(h)) {
3738
- (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), a.push({
3739
- type: typeof c == "string" ? A.literal : A.object,
3740
- value: c
3768
+ var c = h.value;
3769
+ if (!(i && c in i))
3770
+ throw new si(c, s);
3771
+ var f = i[c];
3772
+ if (Cn(h)) {
3773
+ (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3774
+ type: typeof f == "string" ? A.literal : A.object,
3775
+ value: f
3741
3776
  });
3742
3777
  continue;
3743
3778
  }
3744
- if (kt(h)) {
3745
- var d = typeof h.style == "string" ? n.date[h.style] : De(h.style) ? h.style.parsedOptions : void 0;
3779
+ if (Wt(h)) {
3780
+ var m = typeof h.style == "string" ? n.date[h.style] : Xe(h.style) ? h.style.parsedOptions : void 0;
3746
3781
  a.push({
3747
3782
  type: A.literal,
3748
- value: r.getDateTimeFormat(t, d).format(c)
3783
+ value: r.getDateTimeFormat(t, m).format(f)
3749
3784
  });
3750
3785
  continue;
3751
3786
  }
3752
- if (Vt(h)) {
3753
- var d = typeof h.style == "string" ? n.time[h.style] : De(h.style) ? h.style.parsedOptions : n.time.medium;
3787
+ if (Zt(h)) {
3788
+ var m = typeof h.style == "string" ? n.time[h.style] : Xe(h.style) ? h.style.parsedOptions : n.time.medium;
3754
3789
  a.push({
3755
3790
  type: A.literal,
3756
- value: r.getDateTimeFormat(t, d).format(c)
3791
+ value: r.getDateTimeFormat(t, m).format(f)
3757
3792
  });
3758
3793
  continue;
3759
3794
  }
3760
- if (jt(h)) {
3761
- var d = typeof h.style == "string" ? n.number[h.style] : Zt(h.style) ? h.style.parsedOptions : void 0;
3762
- d && d.scale && (c = c * (d.scale || 1)), a.push({
3795
+ if (zt(h)) {
3796
+ var m = typeof h.style == "string" ? n.number[h.style] : Yt(h.style) ? h.style.parsedOptions : void 0;
3797
+ m && m.scale && (f = f * (m.scale || 1)), a.push({
3763
3798
  type: A.literal,
3764
- value: r.getNumberFormat(t, d).format(c)
3799
+ value: r.getNumberFormat(t, m).format(f)
3765
3800
  });
3766
3801
  continue;
3767
3802
  }
3768
- if (Wt(h)) {
3769
- var m = h.children, p = h.value, w = i[p];
3770
- if (!ii(w))
3771
- throw new ti(p, "function", s);
3772
- var I = me(m, t, r, n, i, o), C = w(I.map(function(E) {
3773
- return E.value;
3803
+ if (qt(h)) {
3804
+ var p = h.children, d = h.value, S = i[d];
3805
+ if (!ui(S))
3806
+ throw new oi(d, "function", s);
3807
+ var I = pe(p, t, r, n, i, o), C = S(I.map(function(x) {
3808
+ return x.value;
3774
3809
  }));
3775
- Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(E) {
3810
+ Array.isArray(C) || (C = [C]), a.push.apply(a, C.map(function(x) {
3776
3811
  return {
3777
- type: typeof E == "string" ? A.literal : A.object,
3778
- value: E
3812
+ type: typeof x == "string" ? A.literal : A.object,
3813
+ value: x
3779
3814
  };
3780
3815
  }));
3781
3816
  }
3782
- if (Xt(h)) {
3783
- var H = h.options[c] || h.options.other;
3784
- if (!H)
3785
- throw new gt(h.value, c, Object.keys(h.options), s);
3786
- a.push.apply(a, me(H.value, t, r, n, i));
3817
+ if (Qt(h)) {
3818
+ var w = h.options[f] || h.options.other;
3819
+ if (!w)
3820
+ throw new xt(h.value, f, Object.keys(h.options), s);
3821
+ a.push.apply(a, pe(w.value, t, r, n, i));
3787
3822
  continue;
3788
3823
  }
3789
- if (zt(h)) {
3790
- var H = h.options["=".concat(c)];
3791
- if (!H) {
3824
+ if (Jt(h)) {
3825
+ var w = h.options["=".concat(f)];
3826
+ if (!w) {
3792
3827
  if (!Intl.PluralRules)
3793
- throw new _e(`Intl.PluralRules is not available in this environment.
3828
+ throw new Se(`Intl.PluralRules is not available in this environment.
3794
3829
  Try polyfilling it using "@formatjs/intl-pluralrules"
3795
- `, Z.MISSING_INTL_API, s);
3796
- var _ = r.getPluralRules(t, { type: h.pluralType }).select(c - (h.offset || 0));
3797
- H = h.options[_] || h.options.other;
3830
+ `, W.MISSING_INTL_API, s);
3831
+ var _ = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3832
+ w = h.options[_] || h.options.other;
3798
3833
  }
3799
- if (!H)
3800
- throw new gt(h.value, c, Object.keys(h.options), s);
3801
- a.push.apply(a, me(H.value, t, r, n, i, c - (h.offset || 0)));
3834
+ if (!w)
3835
+ throw new xt(h.value, f, Object.keys(h.options), s);
3836
+ a.push.apply(a, pe(w.value, t, r, n, i, f - (h.offset || 0)));
3802
3837
  continue;
3803
3838
  }
3804
3839
  }
3805
- return ni(a);
3840
+ return ai(a);
3806
3841
  }
3807
- function oi(e, t) {
3808
- return t ? v(v(v({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3809
- return r[n] = v(v({}, e[n]), t[n] || {}), r;
3842
+ function li(e, t) {
3843
+ return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3844
+ return r[n] = N(N({}, e[n]), t[n] || {}), r;
3810
3845
  }, {})) : e;
3811
3846
  }
3812
- function si(e, t) {
3847
+ function hi(e, t) {
3813
3848
  return t ? Object.keys(e).reduce(function(r, n) {
3814
- return r[n] = oi(e[n], t[n]), r;
3815
- }, v({}, e)) : e;
3849
+ return r[n] = li(e[n], t[n]), r;
3850
+ }, N({}, e)) : e;
3816
3851
  }
3817
- function Ce(e) {
3852
+ function Ie(e) {
3818
3853
  return {
3819
3854
  create: function() {
3820
3855
  return {
@@ -3828,39 +3863,39 @@ function Ce(e) {
3828
3863
  }
3829
3864
  };
3830
3865
  }
3831
- function ai(e) {
3866
+ function ci(e) {
3832
3867
  return e === void 0 && (e = {
3833
3868
  number: {},
3834
3869
  dateTime: {},
3835
3870
  pluralRules: {}
3836
3871
  }), {
3837
- getNumberFormat: He(function() {
3872
+ getNumberFormat: Ce(function() {
3838
3873
  for (var t, r = [], n = 0; n < arguments.length; n++)
3839
3874
  r[n] = arguments[n];
3840
- return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
3875
+ return new ((t = Intl.NumberFormat).bind.apply(t, Ae([void 0], r, !1)))();
3841
3876
  }, {
3842
- cache: Ce(e.number),
3843
- strategy: Be.variadic
3877
+ cache: Ie(e.number),
3878
+ strategy: Pe.variadic
3844
3879
  }),
3845
- getDateTimeFormat: He(function() {
3880
+ getDateTimeFormat: Ce(function() {
3846
3881
  for (var t, r = [], n = 0; n < arguments.length; n++)
3847
3882
  r[n] = arguments[n];
3848
- return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
3883
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, Ae([void 0], r, !1)))();
3849
3884
  }, {
3850
- cache: Ce(e.dateTime),
3851
- strategy: Be.variadic
3885
+ cache: Ie(e.dateTime),
3886
+ strategy: Pe.variadic
3852
3887
  }),
3853
- getPluralRules: He(function() {
3888
+ getPluralRules: Ce(function() {
3854
3889
  for (var t, r = [], n = 0; n < arguments.length; n++)
3855
3890
  r[n] = arguments[n];
3856
- return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
3891
+ return new ((t = Intl.PluralRules).bind.apply(t, Ae([void 0], r, !1)))();
3857
3892
  }, {
3858
- cache: Ce(e.pluralRules),
3859
- strategy: Be.variadic
3893
+ cache: Ie(e.pluralRules),
3894
+ strategy: Pe.variadic
3860
3895
  })
3861
3896
  };
3862
3897
  }
3863
- var ui = (
3898
+ var fi = (
3864
3899
  /** @class */
3865
3900
  function() {
3866
3901
  function e(t, r, n, i) {
@@ -3874,12 +3909,12 @@ var ui = (
3874
3909
  var u = o.formatToParts(l);
3875
3910
  if (u.length === 1)
3876
3911
  return u[0].value;
3877
- var h = u.reduce(function(f, c) {
3878
- return !f.length || c.type !== A.literal || typeof f[f.length - 1] != "string" ? f.push(c.value) : f[f.length - 1] += c.value, f;
3912
+ var h = u.reduce(function(c, f) {
3913
+ return !c.length || f.type !== A.literal || typeof c[c.length - 1] != "string" ? c.push(f.value) : c[c.length - 1] += f.value, c;
3879
3914
  }, []);
3880
3915
  return h.length <= 1 ? h[0] || "" : h;
3881
3916
  }, this.formatToParts = function(l) {
3882
- return me(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3917
+ return pe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3883
3918
  }, this.resolvedOptions = function() {
3884
3919
  var l;
3885
3920
  return {
@@ -3892,13 +3927,13 @@ var ui = (
3892
3927
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3893
3928
  var s = i || {};
3894
3929
  s.formatters;
3895
- var a = Dr(s, ["formatters"]);
3896
- this.ast = e.__parse(t, v(v({}, a), { locale: this.resolvedLocale }));
3930
+ var a = xn(s, ["formatters"]);
3931
+ this.ast = e.__parse(t, N(N({}, a), { locale: this.resolvedLocale }));
3897
3932
  } else
3898
3933
  this.ast = t;
3899
3934
  if (!Array.isArray(this.ast))
3900
3935
  throw new TypeError("A message must be provided as a String or AST.");
3901
- this.formats = si(e.formats, n), this.formatters = i && i.formatters || ai(this.formatterCache);
3936
+ this.formats = hi(e.formats, n), this.formatters = i && i.formatters || ci(this.formatterCache);
3902
3937
  }
3903
3938
  return Object.defineProperty(e, "defaultLocale", {
3904
3939
  get: function() {
@@ -3911,7 +3946,7 @@ var ui = (
3911
3946
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3912
3947
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3913
3948
  }
3914
- }, e.__parse = ei, e.formats = {
3949
+ }, e.__parse = ii, e.formats = {
3915
3950
  number: {
3916
3951
  integer: {
3917
3952
  maximumFractionDigits: 0
@@ -3972,7 +4007,7 @@ var ui = (
3972
4007
  }, e;
3973
4008
  }()
3974
4009
  );
3975
- function li(e, t) {
4010
+ function mi(e, t) {
3976
4011
  if (t == null)
3977
4012
  return;
3978
4013
  if (t in e)
@@ -3993,92 +4028,92 @@ function li(e, t) {
3993
4028
  n = void 0;
3994
4029
  return n;
3995
4030
  }
3996
- const $ = {}, hi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), rr = (e, t) => {
4031
+ const $ = {}, pi = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), sr = (e, t) => {
3997
4032
  if (t == null)
3998
4033
  return;
3999
4034
  if (t in $ && e in $[t])
4000
4035
  return $[t][e];
4001
- const r = Ee(t);
4036
+ const r = we(t);
4002
4037
  for (let n = 0; n < r.length; n++) {
4003
- const i = r[n], o = ci(i, e);
4038
+ const i = r[n], o = bi(i, e);
4004
4039
  if (o)
4005
- return hi(e, t, o);
4040
+ return pi(e, t, o);
4006
4041
  }
4007
4042
  };
4008
- let Je;
4043
+ let et;
4009
4044
  const ae = xe({});
4010
- function fi(e) {
4011
- return Je[e] || null;
4045
+ function di(e) {
4046
+ return et[e] || null;
4012
4047
  }
4013
- function nr(e) {
4014
- return e in Je;
4048
+ function ar(e) {
4049
+ return e in et;
4015
4050
  }
4016
- function ci(e, t) {
4017
- if (!nr(e))
4051
+ function bi(e, t) {
4052
+ if (!ar(e))
4018
4053
  return null;
4019
- const r = fi(e);
4020
- return li(r, t);
4054
+ const r = di(e);
4055
+ return mi(r, t);
4021
4056
  }
4022
- function di(e) {
4057
+ function gi(e) {
4023
4058
  if (e == null)
4024
4059
  return;
4025
- const t = Ee(e);
4060
+ const t = we(e);
4026
4061
  for (let r = 0; r < t.length; r++) {
4027
4062
  const n = t[r];
4028
- if (nr(n))
4063
+ if (ar(n))
4029
4064
  return n;
4030
4065
  }
4031
4066
  }
4032
- function ir(e, ...t) {
4033
- delete $[e], ae.update((r) => (r[e] = gn.all([r[e] || {}, ...t]), r));
4067
+ function ur(e, ...t) {
4068
+ delete $[e], ae.update((r) => (r[e] = _n.all([r[e] || {}, ...t]), r));
4034
4069
  }
4035
- Y(
4070
+ q(
4036
4071
  [ae],
4037
4072
  ([e]) => Object.keys(e)
4038
4073
  );
4039
- ae.subscribe((e) => Je = e);
4040
- const pe = {};
4041
- function mi(e, t) {
4042
- pe[e].delete(t), pe[e].size === 0 && delete pe[e];
4074
+ ae.subscribe((e) => et = e);
4075
+ const de = {};
4076
+ function yi(e, t) {
4077
+ de[e].delete(t), de[e].size === 0 && delete de[e];
4043
4078
  }
4044
- function or(e) {
4045
- return pe[e];
4079
+ function lr(e) {
4080
+ return de[e];
4046
4081
  }
4047
- function pi(e) {
4048
- return Ee(e).map((t) => {
4049
- const r = or(t);
4082
+ function vi(e) {
4083
+ return we(e).map((t) => {
4084
+ const r = lr(t);
4050
4085
  return [t, r ? [...r] : []];
4051
4086
  }).filter(([, t]) => t.length > 0);
4052
4087
  }
4053
- function ze(e) {
4054
- return e == null ? !1 : Ee(e).some(
4088
+ function qe(e) {
4089
+ return e == null ? !1 : we(e).some(
4055
4090
  (t) => {
4056
4091
  var r;
4057
- return (r = or(t)) == null ? void 0 : r.size;
4092
+ return (r = lr(t)) == null ? void 0 : r.size;
4058
4093
  }
4059
4094
  );
4060
4095
  }
4061
- function bi(e, t) {
4096
+ function _i(e, t) {
4062
4097
  return Promise.all(
4063
- t.map((n) => (mi(e, n), n().then((i) => i.default || i)))
4064
- ).then((n) => ir(e, ...n));
4065
- }
4066
- const te = {};
4067
- function sr(e) {
4068
- if (!ze(e))
4069
- return e in te ? te[e] : Promise.resolve();
4070
- const t = pi(e);
4071
- return te[e] = Promise.all(
4098
+ t.map((n) => (yi(e, n), n().then((i) => i.default || i)))
4099
+ ).then((n) => ur(e, ...n));
4100
+ }
4101
+ const ee = {};
4102
+ function hr(e) {
4103
+ if (!qe(e))
4104
+ return e in ee ? ee[e] : Promise.resolve();
4105
+ const t = vi(e);
4106
+ return ee[e] = Promise.all(
4072
4107
  t.map(
4073
- ([r, n]) => bi(r, n)
4108
+ ([r, n]) => _i(r, n)
4074
4109
  )
4075
4110
  ).then(() => {
4076
- if (ze(e))
4077
- return sr(e);
4078
- delete te[e];
4079
- }), te[e];
4111
+ if (qe(e))
4112
+ return hr(e);
4113
+ delete ee[e];
4114
+ }), ee[e];
4080
4115
  }
4081
- const gi = {
4116
+ const xi = {
4082
4117
  number: {
4083
4118
  scientific: { notation: "scientific" },
4084
4119
  engineering: { notation: "engineering" },
@@ -4107,135 +4142,135 @@ const gi = {
4107
4142
  timeZoneName: "short"
4108
4143
  }
4109
4144
  }
4110
- }, yi = {
4145
+ }, Ei = {
4111
4146
  fallbackLocale: null,
4112
4147
  loadingDelay: 200,
4113
- formats: gi,
4148
+ formats: xi,
4114
4149
  warnOnMissingMessages: !0,
4115
4150
  handleMissingMessage: void 0,
4116
4151
  ignoreTag: !0
4117
- }, vi = yi;
4118
- function Q() {
4119
- return vi;
4120
- }
4121
- const Pe = xe(!1);
4122
- var xi = Object.defineProperty, _i = Object.defineProperties, Ei = Object.getOwnPropertyDescriptors, yt = Object.getOwnPropertySymbols, Si = Object.prototype.hasOwnProperty, wi = Object.prototype.propertyIsEnumerable, vt = (e, t, r) => t in e ? xi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ti = (e, t) => {
4123
- for (var r in t)
4124
- Si.call(t, r) && vt(e, r, t[r]);
4125
- if (yt)
4126
- for (var r of yt(t))
4127
- wi.call(t, r) && vt(e, r, t[r]);
4152
+ }, Si = Ei;
4153
+ function Z() {
4154
+ return Si;
4155
+ }
4156
+ const Me = xe(!1);
4157
+ var wi = Object.defineProperty, Ti = Object.defineProperties, Hi = Object.getOwnPropertyDescriptors, Et = Object.getOwnPropertySymbols, Bi = Object.prototype.hasOwnProperty, Ai = Object.prototype.propertyIsEnumerable, St = (e, t, r) => t in e ? wi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Ci = (e, t) => {
4158
+ for (var r in t || (t = {}))
4159
+ Bi.call(t, r) && St(e, r, t[r]);
4160
+ if (Et)
4161
+ for (var r of Et(t))
4162
+ Ai.call(t, r) && St(e, r, t[r]);
4128
4163
  return e;
4129
- }, Hi = (e, t) => _i(e, Ei(t));
4130
- let We;
4131
- const ge = xe(null);
4132
- function xt(e) {
4164
+ }, Pi = (e, t) => Ti(e, Hi(t));
4165
+ let Ye;
4166
+ const ye = xe(null);
4167
+ function wt(e) {
4133
4168
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4134
4169
  }
4135
- function Ee(e, t = Q().fallbackLocale) {
4136
- const r = xt(e);
4137
- return t ? [.../* @__PURE__ */ new Set([...r, ...xt(t)])] : r;
4170
+ function we(e, t = Z().fallbackLocale) {
4171
+ const r = wt(e);
4172
+ return t ? [.../* @__PURE__ */ new Set([...r, ...wt(t)])] : r;
4138
4173
  }
4139
4174
  function G() {
4140
- return We ?? void 0;
4175
+ return Ye ?? void 0;
4141
4176
  }
4142
- ge.subscribe((e) => {
4143
- We = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4177
+ ye.subscribe((e) => {
4178
+ Ye = e ?? void 0, typeof window < "u" && e != null && document.documentElement.setAttribute("lang", e);
4144
4179
  });
4145
- const Bi = (e) => {
4146
- if (e && di(e) && ze(e)) {
4147
- const { loadingDelay: t } = Q();
4180
+ const Oi = (e) => {
4181
+ if (e && gi(e) && qe(e)) {
4182
+ const { loadingDelay: t } = Z();
4148
4183
  let r;
4149
4184
  return typeof window < "u" && G() != null && t ? r = window.setTimeout(
4150
- () => Pe.set(!0),
4185
+ () => Me.set(!0),
4151
4186
  t
4152
- ) : Pe.set(!0), sr(e).then(() => {
4153
- ge.set(e);
4187
+ ) : Me.set(!0), hr(e).then(() => {
4188
+ ye.set(e);
4154
4189
  }).finally(() => {
4155
- clearTimeout(r), Pe.set(!1);
4190
+ clearTimeout(r), Me.set(!1);
4156
4191
  });
4157
4192
  }
4158
- return ge.set(e);
4159
- }, K = Hi(Ti({}, ge), {
4160
- set: Bi
4161
- }), Se = (e) => {
4193
+ return ye.set(e);
4194
+ }, Y = Pi(Ci({}, ye), {
4195
+ set: Oi
4196
+ }), Te = (e) => {
4162
4197
  const t = /* @__PURE__ */ Object.create(null);
4163
4198
  return (n) => {
4164
4199
  const i = JSON.stringify(n);
4165
4200
  return i in t ? t[i] : t[i] = e(n);
4166
4201
  };
4167
4202
  };
4168
- var Ai = Object.defineProperty, ye = Object.getOwnPropertySymbols, ar = Object.prototype.hasOwnProperty, ur = Object.prototype.propertyIsEnumerable, _t = (e, t, r) => t in e ? Ai(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, qe = (e, t) => {
4203
+ var Ii = Object.defineProperty, ve = Object.getOwnPropertySymbols, cr = Object.prototype.hasOwnProperty, fr = Object.prototype.propertyIsEnumerable, Tt = (e, t, r) => t in e ? Ii(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4169
4204
  for (var r in t || (t = {}))
4170
- ar.call(t, r) && _t(e, r, t[r]);
4171
- if (ye)
4172
- for (var r of ye(t))
4173
- ur.call(t, r) && _t(e, r, t[r]);
4205
+ cr.call(t, r) && Tt(e, r, t[r]);
4206
+ if (ve)
4207
+ for (var r of ve(t))
4208
+ fr.call(t, r) && Tt(e, r, t[r]);
4174
4209
  return e;
4175
- }, ee = (e, t) => {
4210
+ }, K = (e, t) => {
4176
4211
  var r = {};
4177
4212
  for (var n in e)
4178
- ar.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4179
- if (e != null && ye)
4180
- for (var n of ye(e))
4181
- t.indexOf(n) < 0 && ur.call(e, n) && (r[n] = e[n]);
4213
+ cr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4214
+ if (e != null && ve)
4215
+ for (var n of ve(e))
4216
+ t.indexOf(n) < 0 && fr.call(e, n) && (r[n] = e[n]);
4182
4217
  return r;
4183
4218
  };
4184
- const oe = (e, t) => {
4185
- const { formats: r } = Q();
4219
+ const ie = (e, t) => {
4220
+ const { formats: r } = Z();
4186
4221
  if (e in r && t in r[e])
4187
4222
  return r[e][t];
4188
4223
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4189
- }, Ci = Se(
4224
+ }, Mi = Te(
4190
4225
  (e) => {
4191
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4226
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4192
4227
  if (r == null)
4193
4228
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4194
- return n && (i = oe("number", n)), new Intl.NumberFormat(r, i);
4229
+ return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
4195
4230
  }
4196
- ), Pi = Se(
4231
+ ), Ni = Te(
4197
4232
  (e) => {
4198
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4233
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4199
4234
  if (r == null)
4200
4235
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4201
- return n ? i = oe("date", n) : Object.keys(i).length === 0 && (i = oe("date", "short")), new Intl.DateTimeFormat(r, i);
4236
+ return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
4202
4237
  }
4203
- ), Oi = Se(
4238
+ ), Li = Te(
4204
4239
  (e) => {
4205
- var t = e, { locale: r, format: n } = t, i = ee(t, ["locale", "format"]);
4240
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4206
4241
  if (r == null)
4207
4242
  throw new Error(
4208
4243
  '[svelte-i18n] A "locale" must be set to format time values'
4209
4244
  );
4210
- return n ? i = oe("time", n) : Object.keys(i).length === 0 && (i = oe("time", "short")), new Intl.DateTimeFormat(r, i);
4245
+ return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
4211
4246
  }
4212
- ), Ii = (e = {}) => {
4247
+ ), Ri = (e = {}) => {
4213
4248
  var t = e, {
4214
4249
  locale: r = G()
4215
- } = t, n = ee(t, [
4250
+ } = t, n = K(t, [
4216
4251
  "locale"
4217
4252
  ]);
4218
- return Ci(qe({ locale: r }, n));
4219
- }, Ni = (e = {}) => {
4253
+ return Mi(tt({ locale: r }, n));
4254
+ }, $i = (e = {}) => {
4220
4255
  var t = e, {
4221
4256
  locale: r = G()
4222
- } = t, n = ee(t, [
4257
+ } = t, n = K(t, [
4223
4258
  "locale"
4224
4259
  ]);
4225
- return Pi(qe({ locale: r }, n));
4226
- }, Mi = (e = {}) => {
4260
+ return Ni(tt({ locale: r }, n));
4261
+ }, Gi = (e = {}) => {
4227
4262
  var t = e, {
4228
4263
  locale: r = G()
4229
- } = t, n = ee(t, [
4264
+ } = t, n = K(t, [
4230
4265
  "locale"
4231
4266
  ]);
4232
- return Oi(qe({ locale: r }, n));
4233
- }, Li = Se(
4267
+ return Li(tt({ locale: r }, n));
4268
+ }, Ui = Te(
4234
4269
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4235
- (e, t = G()) => new ui(e, t, Q().formats, {
4236
- ignoreTag: Q().ignoreTag
4270
+ (e, t = G()) => new fi(e, t, Z().formats, {
4271
+ ignoreTag: Z().ignoreTag
4237
4272
  })
4238
- ), Ri = (e, t = {}) => {
4273
+ ), Di = (e, t = {}) => {
4239
4274
  var r, n, i, o;
4240
4275
  let s = t;
4241
4276
  typeof e == "object" && (s = e, e = s.id);
@@ -4248,39 +4283,39 @@ const oe = (e, t) => {
4248
4283
  throw new Error(
4249
4284
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4250
4285
  );
4251
- let h = rr(e, l);
4286
+ let h = sr(e, l);
4252
4287
  if (!h)
4253
- 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;
4288
+ h = (o = (i = (n = (r = Z()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4254
4289
  else if (typeof h != "string")
4255
4290
  return console.warn(
4256
4291
  `[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.`
4257
4292
  ), h;
4258
4293
  if (!a)
4259
4294
  return h;
4260
- let f = h;
4295
+ let c = h;
4261
4296
  try {
4262
- f = Li(h, l).format(a);
4263
- } catch (c) {
4264
- c instanceof Error && console.warn(
4297
+ c = Ui(h, l).format(a);
4298
+ } catch (f) {
4299
+ f instanceof Error && console.warn(
4265
4300
  `[svelte-i18n] Message "${e}" has syntax error:`,
4266
- c.message
4301
+ f.message
4267
4302
  );
4268
4303
  }
4269
- return f;
4270
- }, $i = (e, t) => Mi(t).format(e), Gi = (e, t) => Ni(t).format(e), Ui = (e, t) => Ii(t).format(e), Di = (e, t = G()) => rr(e, t), Fi = Y([K, ae], () => Ri);
4271
- Y([K], () => $i);
4272
- Y([K], () => Gi);
4273
- Y([K], () => Ui);
4274
- Y([K, ae], () => Di);
4275
- window.emWidgets = { topic: en };
4276
- const ji = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4277
- function ki(e, t) {
4304
+ return c;
4305
+ }, Fi = (e, t) => Gi(t).format(e), ji = (e, t) => $i(t).format(e), ki = (e, t) => Ri(t).format(e), Vi = (e, t = G()) => sr(e, t), Xi = q([Y, ae], () => Di);
4306
+ q([Y], () => Fi);
4307
+ q([Y], () => ji);
4308
+ q([Y], () => ki);
4309
+ q([Y, ae], () => Vi);
4310
+ window.emWidgets = { topic: nn };
4311
+ const zi = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4312
+ function Wi(e, t) {
4278
4313
  if (e) {
4279
4314
  const r = document.createElement("style");
4280
4315
  r.innerHTML = t, e.appendChild(r);
4281
4316
  }
4282
4317
  }
4283
- function Vi(e, t) {
4318
+ function Zi(e, t) {
4284
4319
  const r = new URL(t);
4285
4320
  fetch(r.href).then((n) => n.text()).then((n) => {
4286
4321
  const i = document.createElement("style");
@@ -4289,7 +4324,7 @@ function Vi(e, t) {
4289
4324
  console.error("There was an error while trying to load client styling from URL", n);
4290
4325
  });
4291
4326
  }
4292
- function Xi(e, t, r) {
4327
+ function Qi(e, t, r) {
4293
4328
  if (window.emMessageBus) {
4294
4329
  const n = document.createElement("style");
4295
4330
  window.emMessageBus.subscribe(t, (i) => {
@@ -4297,13 +4332,13 @@ function Xi(e, t, r) {
4297
4332
  });
4298
4333
  }
4299
4334
  }
4300
- function Et(e, t) {
4301
- ir(e, t);
4335
+ function Ht(e, t) {
4336
+ ur(e, t);
4302
4337
  }
4303
- function zi(e) {
4304
- K.set(e);
4338
+ function Ji(e) {
4339
+ Y.set(e);
4305
4340
  }
4306
- const St = {
4341
+ const Bt = {
4307
4342
  en: {
4308
4343
  cancel: "Cancel",
4309
4344
  confirm: "Confirm"
@@ -4349,36 +4384,36 @@ const St = {
4349
4384
  confirm: "Confirm"
4350
4385
  }
4351
4386
  };
4352
- function Wi(e) {
4353
- vr(e, "svelte-s0xip8", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4387
+ function qi(e) {
4388
+ Sr(e, "svelte-s0xip8", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #FFFFFF)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013E5C));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22B04E), color-mix(in srgb, var(--emw--color-secondary, #E98B0F) 80%, black 20%), #22B04E);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013E5C) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #BFCBC3);color:var(--emw--color-gray-100, #BFCBC3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22B04E);border:2px solid var(--emw--button-border-color, #063B17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #FFFFFF))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4354
4389
  }
4355
- const Zi = (e) => ({}), wt = (e) => ({});
4356
- function Qi(e) {
4390
+ const Yi = (e) => ({}), At = (e) => ({});
4391
+ function Ki(e) {
4357
4392
  let t, r;
4358
4393
  return {
4359
4394
  c() {
4360
- t = et("svg"), r = et("path"), T(r, "stroke-linecap", "round"), T(r, "stroke-linejoin", "round"), T(r, "stroke-width", "2"), T(r, "d", "M6 18L18 6M6 6l12 12"), T(t, "class", "w-6 h-6"), T(t, "fill", "none"), T(t, "stroke", "currentColor"), T(t, "viewBox", "0 0 24 24"), T(t, "xmlns", "http://www.w3.org/2000/svg");
4395
+ t = it("svg"), r = it("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");
4361
4396
  },
4362
4397
  m(n, i) {
4363
- se(n, t, i), B(t, r);
4398
+ oe(n, t, i), B(t, r);
4364
4399
  },
4365
- p: M,
4400
+ p: L,
4366
4401
  d(n) {
4367
- n && q(t);
4402
+ n && J(t);
4368
4403
  }
4369
4404
  };
4370
4405
  }
4371
- function Tt(e) {
4406
+ function Ct(e) {
4372
4407
  let t, r, n;
4373
4408
  return {
4374
4409
  c() {
4375
- t = N("div"), r = N("h2"), n = X(
4410
+ t = M("div"), r = M("h2"), n = V(
4376
4411
  /*modaltitle*/
4377
4412
  e[1]
4378
- ), T(t, "class", "GeneralConfirmationTitle");
4413
+ ), H(t, "class", "GeneralConfirmationTitle");
4379
4414
  },
4380
4415
  m(i, o) {
4381
- se(i, t, o), B(t, r), B(r, n);
4416
+ oe(i, t, o), B(t, r), B(r, n);
4382
4417
  },
4383
4418
  p(i, o) {
4384
4419
  o & /*modaltitle*/
@@ -4389,21 +4424,21 @@ function Tt(e) {
4389
4424
  );
4390
4425
  },
4391
4426
  d(i) {
4392
- i && q(t);
4427
+ i && J(t);
4393
4428
  }
4394
4429
  };
4395
4430
  }
4396
- function Ht(e) {
4431
+ function Pt(e) {
4397
4432
  let t, r = (
4398
4433
  /*$_*/
4399
4434
  e[4]("cancel") + ""
4400
4435
  ), n, i, o;
4401
4436
  return {
4402
4437
  c() {
4403
- t = N("button"), n = X(r), T(t, "class", "GeneralCancelButton");
4438
+ t = M("button"), n = V(r), H(t, "class", "GeneralCancelButton");
4404
4439
  },
4405
4440
  m(s, a) {
4406
- se(s, t, a), B(t, n), i || (o = Oe(
4441
+ oe(s, t, a), B(t, n), i || (o = Ne(
4407
4442
  t,
4408
4443
  "click",
4409
4444
  /*click_handler*/
@@ -4416,170 +4451,170 @@ function Ht(e) {
4416
4451
  s[4]("cancel") + "") && be(n, r);
4417
4452
  },
4418
4453
  d(s) {
4419
- s && q(t), i = !1, o();
4454
+ s && J(t), i = !1, o();
4420
4455
  }
4421
4456
  };
4422
4457
  }
4423
- function Ji(e) {
4424
- let t, r, n, i, o, s, a, l, u, h, f, c = (
4458
+ function eo(e) {
4459
+ let t, r, n, i, o, s, a, l, u, h, c, f = (
4425
4460
  /*$_*/
4426
4461
  e[4]("confirm") + ""
4427
- ), d, m, p, w;
4462
+ ), m, p, d, S;
4428
4463
  const I = (
4429
4464
  /*#slots*/
4430
4465
  e[16].close
4431
- ), C = pr(
4466
+ ), C = vr(
4432
4467
  I,
4433
4468
  e,
4434
4469
  /*$$scope*/
4435
4470
  e[15],
4436
- wt
4437
- ), H = C || Qi();
4471
+ At
4472
+ ), w = C || Ki();
4438
4473
  let _ = (
4439
4474
  /*modaltitle*/
4440
- e[1] && Tt(e)
4441
- ), E = (
4475
+ e[1] && Ct(e)
4476
+ ), x = (
4442
4477
  /*hascancelbutton*/
4443
- e[2] && Ht(e)
4478
+ e[2] && Pt(e)
4444
4479
  );
4445
4480
  return {
4446
4481
  c() {
4447
- t = N("div"), r = N("div"), n = N("span"), H.c(), i = ue(), _ && _.c(), o = ue(), s = N("div"), a = X(
4482
+ t = M("div"), r = M("div"), n = M("span"), w && w.c(), i = ue(), _ && _.c(), o = ue(), s = M("div"), a = V(
4448
4483
  /*modaltext*/
4449
4484
  e[0]
4450
- ), l = ue(), u = N("div"), E && E.c(), h = ue(), f = N("button"), d = X(c), T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(s, "class", "GeneralConfirmationContent"), T(f, "class", "GeneralConfirmButton"), T(u, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4451
- (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), T(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4452
- (e[5] ? "GeneralConfirmationContainerMobile" : "")), T(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4485
+ ), l = ue(), u = M("div"), x && x.c(), h = ue(), c = M("button"), m = V(f), H(n, "class", "ModalCloseBtn"), H(n, "role", "button"), H(s, "class", "GeneralConfirmationContent"), H(c, "class", "GeneralConfirmButton"), H(u, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4486
+ (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), H(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4487
+ (e[5] ? "GeneralConfirmationContainerMobile" : "")), H(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4453
4488
  (e[5] ? "GeneralConfirmationMobileWrapper" : ""));
4454
4489
  },
4455
- m(x, P) {
4456
- se(x, t, P), B(t, r), B(r, n), H.m(n, null), B(r, i), _ && _.m(r, null), B(r, o), B(r, s), B(s, a), B(r, l), B(r, u), E && E.m(u, null), B(u, h), B(u, f), B(f, d), e[19](t), m = !0, p || (w = [
4457
- Oe(
4490
+ m(v, P) {
4491
+ oe(v, t, P), B(t, r), B(r, n), w && w.m(n, null), B(r, i), _ && _.m(r, null), B(r, o), B(r, s), B(s, a), B(r, l), B(r, u), x && x.m(u, null), B(u, h), B(u, c), B(c, m), e[19](t), p = !0, d || (S = [
4492
+ Ne(
4458
4493
  n,
4459
4494
  "click",
4460
4495
  /*close*/
4461
4496
  e[6]
4462
4497
  ),
4463
- Oe(
4464
- f,
4498
+ Ne(
4499
+ c,
4465
4500
  "click",
4466
4501
  /*click_handler_1*/
4467
4502
  e[18]
4468
4503
  )
4469
- ], p = !0);
4504
+ ], d = !0);
4470
4505
  },
4471
- p(x, [P]) {
4472
- C && C.p && (!m || P & /*$$scope*/
4473
- 32768) && gr(
4506
+ p(v, [P]) {
4507
+ C && C.p && (!p || P & /*$$scope*/
4508
+ 32768) && xr(
4474
4509
  C,
4475
4510
  I,
4476
- x,
4511
+ v,
4477
4512
  /*$$scope*/
4478
- x[15],
4479
- m ? br(
4513
+ v[15],
4514
+ p ? _r(
4480
4515
  I,
4481
4516
  /*$$scope*/
4482
- x[15],
4517
+ v[15],
4483
4518
  P,
4484
- Zi
4485
- ) : yr(
4519
+ Yi
4520
+ ) : Er(
4486
4521
  /*$$scope*/
4487
- x[15]
4522
+ v[15]
4488
4523
  ),
4489
- wt
4524
+ At
4490
4525
  ), /*modaltitle*/
4491
- x[1] ? _ ? _.p(x, P) : (_ = Tt(x), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!m || P & /*modaltext*/
4526
+ v[1] ? _ ? _.p(v, P) : (_ = Ct(v), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!p || P & /*modaltext*/
4492
4527
  1) && be(
4493
4528
  a,
4494
4529
  /*modaltext*/
4495
- x[0]
4530
+ v[0]
4496
4531
  ), /*hascancelbutton*/
4497
- x[2] ? E ? E.p(x, P) : (E = Ht(x), E.c(), E.m(u, h)) : E && (E.d(1), E = null), (!m || P & /*$_*/
4498
- 16) && c !== (c = /*$_*/
4499
- x[4]("confirm") + "") && be(d, c);
4532
+ v[2] ? x ? x.p(v, P) : (x = Pt(v), x.c(), x.m(u, h)) : x && (x.d(1), x = null), (!p || P & /*$_*/
4533
+ 16) && f !== (f = /*$_*/
4534
+ v[4]("confirm") + "") && be(m, f);
4500
4535
  },
4501
- i(x) {
4502
- m || (Ot(H, x), m = !0);
4536
+ i(v) {
4537
+ p || (Lt(w, v), p = !0);
4503
4538
  },
4504
- o(x) {
4505
- Or(H, x), m = !1;
4539
+ o(v) {
4540
+ Lr(w, v), p = !1;
4506
4541
  },
4507
- d(x) {
4508
- x && q(t), H.d(x), _ && _.d(), E && E.d(), e[19](null), p = !1, J(w);
4542
+ d(v) {
4543
+ v && J(t), w && w.d(v), _ && _.d(), x && x.d(), e[19](null), d = !1, Q(S);
4509
4544
  }
4510
4545
  };
4511
4546
  }
4512
- function qi(e, t, r) {
4547
+ function to(e, t, r) {
4513
4548
  let n;
4514
- mr(e, Fi, (g) => r(4, n = g));
4515
- let { $$slots: i = {}, $$scope: o } = t, { modaltext: s = "Are you sure that you want to perform this action?" } = t, { modaltitle: a = "" } = t, { hascancelbutton: l = !1 } = t, { modalconfirmevent: u = {} } = t, { modalcancelevent: h = {} } = t, { lang: f = "en" } = t, { clientstyling: c = "" } = t, { clientstylingurl: d = "" } = t, { translationurl: m = "" } = t, { mbsource: p } = t, w, I = window.navigator.userAgent, C = ji(I) !== "PC";
4516
- const H = () => {
4549
+ yr(e, Xi, (g) => r(4, n = g));
4550
+ 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: m = "" } = t, { translationurl: p = "" } = t, { mbsource: d } = t, S, I = window.navigator.userAgent, C = zi(I) !== "PC";
4551
+ const w = () => {
4517
4552
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4518
4553
  }, _ = (g) => {
4519
- g === "confirm" && u && window.postMessage(u, window.location.href), g === "cancel" && h && window.postMessage(h, window.location.href), H();
4520
- }, E = () => {
4521
- fetch(m).then((U) => U.json()).then((U) => {
4522
- Object.keys(U).forEach((Ye) => {
4523
- Et(Ye, U[Ye]);
4554
+ g === "confirm" && u && window.postMessage(u, window.location.href), g === "cancel" && h && window.postMessage(h, window.location.href), w();
4555
+ }, x = () => {
4556
+ fetch(p).then((U) => U.json()).then((U) => {
4557
+ Object.keys(U).forEach((rt) => {
4558
+ Ht(rt, U[rt]);
4524
4559
  });
4525
4560
  }).catch((U) => {
4526
4561
  console.log(U);
4527
4562
  });
4528
4563
  };
4529
- Object.keys(St).forEach((g) => {
4530
- Et(g, St[g]);
4564
+ Object.keys(Bt).forEach((g) => {
4565
+ Ht(g, Bt[g]);
4531
4566
  });
4532
- const x = () => {
4533
- zi(f);
4567
+ const v = () => {
4568
+ Ji(c);
4534
4569
  };
4535
- Tr(() => () => {
4570
+ Cr(() => () => {
4536
4571
  });
4537
- const P = () => _("cancel"), hr = () => _("confirm");
4538
- function fr(g) {
4539
- Ie[g ? "unshift" : "push"](() => {
4540
- w = g, r(3, w);
4572
+ const P = () => _("cancel"), pr = () => _("confirm");
4573
+ function dr(g) {
4574
+ Le[g ? "unshift" : "push"](() => {
4575
+ S = g, r(3, S);
4541
4576
  });
4542
4577
  }
4543
4578
  return e.$$set = (g) => {
4544
- "modaltext" in g && r(0, s = g.modaltext), "modaltitle" in g && r(1, a = g.modaltitle), "hascancelbutton" in g && r(2, l = g.hascancelbutton), "modalconfirmevent" in g && r(8, u = g.modalconfirmevent), "modalcancelevent" in g && r(9, h = g.modalcancelevent), "lang" in g && r(10, f = g.lang), "clientstyling" in g && r(11, c = g.clientstyling), "clientstylingurl" in g && r(12, d = g.clientstylingurl), "translationurl" in g && r(13, m = g.translationurl), "mbsource" in g && r(14, p = g.mbsource), "$$scope" in g && r(15, o = g.$$scope);
4579
+ "modaltext" in g && r(0, s = g.modaltext), "modaltitle" in g && r(1, a = g.modaltitle), "hascancelbutton" in g && r(2, l = g.hascancelbutton), "modalconfirmevent" in g && r(8, u = g.modalconfirmevent), "modalcancelevent" in g && r(9, h = g.modalcancelevent), "lang" in g && r(10, c = g.lang), "clientstyling" in g && r(11, f = g.clientstyling), "clientstylingurl" in g && r(12, m = g.clientstylingurl), "translationurl" in g && r(13, p = g.translationurl), "mbsource" in g && r(14, d = g.mbsource), "$$scope" in g && r(15, o = g.$$scope);
4545
4580
  }, e.$$.update = () => {
4546
4581
  e.$$.dirty & /*modaltext, lang*/
4547
- 1025 && s && f && x(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4548
- 2056 && c && w && ki(w, c), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4549
- 4104 && d && w && Vi(w, d), e.$$.dirty & /*mbsource, customStylingContainer*/
4550
- 16392 && p && w && Xi(w, `${p}.Style`), e.$$.dirty & /*translationurl*/
4551
- 8192 && m && E();
4582
+ 1025 && s && c && v(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4583
+ 2056 && f && S && Wi(S, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4584
+ 4104 && m && S && Zi(S, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4585
+ 16392 && d && S && Qi(S, `${d}.Style`), e.$$.dirty & /*translationurl*/
4586
+ 8192 && p && x();
4552
4587
  }, [
4553
4588
  s,
4554
4589
  a,
4555
4590
  l,
4556
- w,
4591
+ S,
4557
4592
  n,
4558
4593
  C,
4559
- H,
4594
+ w,
4560
4595
  _,
4561
4596
  u,
4562
4597
  h,
4563
- f,
4564
4598
  c,
4565
- d,
4599
+ f,
4566
4600
  m,
4567
4601
  p,
4602
+ d,
4568
4603
  o,
4569
4604
  i,
4570
4605
  P,
4571
- hr,
4572
- fr
4606
+ pr,
4607
+ dr
4573
4608
  ];
4574
4609
  }
4575
- class lr extends $r {
4610
+ class mr extends Fr {
4576
4611
  constructor(t) {
4577
- super(), Lr(
4612
+ super(), Ur(
4578
4613
  this,
4579
4614
  t,
4580
- qi,
4581
- Ji,
4582
- At,
4615
+ to,
4616
+ eo,
4617
+ It,
4583
4618
  {
4584
4619
  modaltext: 0,
4585
4620
  modaltitle: 1,
@@ -4592,7 +4627,7 @@ class lr extends $r {
4592
4627
  translationurl: 13,
4593
4628
  mbsource: 14
4594
4629
  },
4595
- Wi
4630
+ qi
4596
4631
  );
4597
4632
  }
4598
4633
  get modaltext() {
@@ -4656,50 +4691,50 @@ class lr extends $r {
4656
4691
  this.$$set({ mbsource: t }), O();
4657
4692
  }
4658
4693
  }
4659
- Rr(lr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4660
- const ao = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4694
+ Dr(mr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4695
+ const co = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4661
4696
  __proto__: null,
4662
- default: lr
4697
+ default: mr
4663
4698
  }, Symbol.toStringTag, { value: "Module" }));
4664
4699
  export {
4665
- K as $,
4666
- B as A,
4667
- no as B,
4668
- Oe as C,
4669
- be as D,
4670
- Yi as E,
4671
- J as F,
4672
- eo as G,
4673
- ro as H,
4674
- et as I,
4675
- to as J,
4676
- Fi as K,
4677
- ao as P,
4678
- $r as S,
4679
- ir as a,
4680
- Rr as b,
4681
- so as c,
4682
- vr as d,
4683
- N as e,
4700
+ Y as $,
4701
+ ao as A,
4702
+ Ne as B,
4703
+ V as C,
4704
+ no as D,
4705
+ $e as E,
4706
+ it as F,
4707
+ oo as G,
4708
+ Xi as H,
4709
+ Wi as I,
4710
+ Zi as J,
4711
+ Qi as K,
4712
+ co as P,
4713
+ Fr as S,
4714
+ ur as a,
4715
+ Dr as b,
4716
+ ho as c,
4717
+ Sr as d,
4718
+ J as e,
4684
4719
  O as f,
4685
- Ur as g,
4686
- se as h,
4687
- Lr as i,
4688
- q as j,
4689
- mr as k,
4690
- ji as l,
4691
- io as m,
4692
- M as n,
4693
- Tr as o,
4694
- Ie as p,
4695
- ki as q,
4696
- Vi as r,
4697
- At as s,
4698
- Xi as t,
4699
- oo as u,
4700
- ue as v,
4701
- X as w,
4702
- Ki as x,
4703
- T as y,
4704
- Me as z
4720
+ kr as g,
4721
+ oe as h,
4722
+ Ur as i,
4723
+ M as j,
4724
+ yr as k,
4725
+ zi as l,
4726
+ uo as m,
4727
+ L as n,
4728
+ Cr as o,
4729
+ Le as p,
4730
+ B as q,
4731
+ ue as r,
4732
+ It as s,
4733
+ io as t,
4734
+ so as u,
4735
+ H as v,
4736
+ lo as w,
4737
+ ro as x,
4738
+ Q as y,
4739
+ be as z
4705
4740
  };