@everymatrix/player-account-timeout 1.86.2 → 1.86.4

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-CpIVlBHH.js → PlayerAccountGeneralConfirmationModal-BYiYUP-W.js} +825 -846
  2. package/components/{PlayerAccountGeneralConfirmationModal-BclGH0SY.js → PlayerAccountGeneralConfirmationModal-DamAh4bC.js} +835 -856
  3. package/components/PlayerAccountGeneralConfirmationModal-mQ-RU129.cjs +18 -0
  4. package/components/{PlayerAccountTimeout-CF3uidhm.js → PlayerAccountTimeout--yyguXTS.js} +753 -752
  5. package/components/{PlayerAccountTimeout-0g-C74ue.js → PlayerAccountTimeout-BIoh3D6t.js} +389 -388
  6. package/components/{PlayerAccountTimeout-CqAaduHA.cjs → PlayerAccountTimeout-DYdWH7az.cjs} +74 -74
  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-CMoQ4Pov.js +503 -0
  12. package/stencil/index-b2193545-CQaBo5im.cjs +1 -0
  13. package/stencil/index-b2193545-DvP9W4Go.js +519 -0
  14. package/stencil/{ui-skeleton-BreIU6e5.cjs → ui-skeleton-C7KTfaPd.cjs} +1 -1
  15. package/stencil/{ui-skeleton-W50o8tfg.js → ui-skeleton-Cn9Rv2BY.js} +2 -2
  16. package/stencil/{ui-skeleton-xXZA3rYO.js → ui-skeleton-YNoAIoec.js} +2 -2
  17. package/stencil/{ui-skeleton-ed169f8f-CVY4B-CP.js → ui-skeleton-ed169f8f-BA-lE0xf.js} +1 -1
  18. package/stencil/{ui-skeleton-ed169f8f-D3TjbVKy.js → ui-skeleton-ed169f8f-b70BXhTZ.js} +1 -1
  19. package/stencil/{ui-skeleton-ed169f8f-CpiCXJrP.cjs → ui-skeleton-ed169f8f-cGTgZqRU.cjs} +1 -1
  20. package/components/PlayerAccountGeneralConfirmationModal-Dw-0WM0v.cjs +0 -18
  21. package/stencil/index-b2193545-9K-aI7zC.cjs +0 -1
  22. package/stencil/index-b2193545-DsMHU6jb.js +0 -519
  23. package/stencil/index-b2193545-R7ZoV-kY.js +0 -503
@@ -1,17 +1,17 @@
1
- var Er = Object.defineProperty, Sr = Object.defineProperties;
2
- var wr = Object.getOwnPropertyDescriptors;
3
- var ot = Object.getOwnPropertySymbols;
4
- var Tr = Object.prototype.hasOwnProperty, Hr = Object.prototype.propertyIsEnumerable;
5
- var He = (e, t, r) => t in e ? Er(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, st = (e, t) => {
1
+ var _r = Object.defineProperty, Er = Object.defineProperties;
2
+ var Sr = Object.getOwnPropertyDescriptors;
3
+ var nt = Object.getOwnPropertySymbols;
4
+ var wr = Object.prototype.hasOwnProperty, Tr = Object.prototype.propertyIsEnumerable;
5
+ var we = (e, t, r) => t in e ? _r(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, it = (e, t) => {
6
6
  for (var r in t || (t = {}))
7
- Tr.call(t, r) && He(e, r, t[r]);
8
- if (ot)
9
- for (var r of ot(t))
10
- Hr.call(t, r) && He(e, r, t[r]);
7
+ wr.call(t, r) && we(e, r, t[r]);
8
+ if (nt)
9
+ for (var r of nt(t))
10
+ Tr.call(t, r) && we(e, r, t[r]);
11
11
  return e;
12
- }, at = (e, t) => Sr(e, wr(t));
13
- var O = (e, t, r) => (He(e, typeof t != "symbol" ? t + "" : t, r), r);
14
- var ut = (e, t, r) => new Promise((n, i) => {
12
+ }, ot = (e, t) => Er(e, Sr(t));
13
+ var O = (e, t, r) => (we(e, typeof t != "symbol" ? t + "" : t, r), r);
14
+ var st = (e, t, r) => new Promise((n, i) => {
15
15
  var o = (l) => {
16
16
  try {
17
17
  a(r.next(l));
@@ -27,9 +27,9 @@ var ut = (e, t, r) => new Promise((n, i) => {
27
27
  }, a = (l) => l.done ? n(l.value) : Promise.resolve(l.value).then(o, s);
28
28
  a((r = r.apply(e, t)).next());
29
29
  });
30
- function L() {
30
+ function N() {
31
31
  }
32
- function Ar(e, t) {
32
+ function Hr(e, t) {
33
33
  for (const r in t)
34
34
  e[r] = t[r];
35
35
  return (
@@ -37,46 +37,46 @@ function Ar(e, t) {
37
37
  e
38
38
  );
39
39
  }
40
- function $t(e) {
40
+ function Lt(e) {
41
41
  return e();
42
42
  }
43
- function lt() {
43
+ function at() {
44
44
  return /* @__PURE__ */ Object.create(null);
45
45
  }
46
- function Z(e) {
47
- e.forEach($t);
46
+ function Q(e) {
47
+ e.forEach(Lt);
48
48
  }
49
- function et(e) {
49
+ function Je(e) {
50
50
  return typeof e == "function";
51
51
  }
52
- function Gt(e, t) {
52
+ function Rt(e, t) {
53
53
  return e != e ? t == t : e !== t || e && typeof e == "object" || typeof e == "function";
54
54
  }
55
- function Br(e) {
55
+ function Ar(e) {
56
56
  return Object.keys(e).length === 0;
57
57
  }
58
- function Ut(e, ...t) {
58
+ function $t(e, ...t) {
59
59
  if (e == null) {
60
60
  for (const n of t)
61
61
  n(void 0);
62
- return L;
62
+ return N;
63
63
  }
64
64
  const r = e.subscribe(...t);
65
65
  return r.unsubscribe ? () => r.unsubscribe() : r;
66
66
  }
67
- function Cr(e, t, r) {
68
- e.$$.on_destroy.push(Ut(t, r));
67
+ function Br(e, t, r) {
68
+ e.$$.on_destroy.push($t(t, r));
69
69
  }
70
- function Pr(e, t, r, n) {
70
+ function Cr(e, t, r, n) {
71
71
  if (e) {
72
- const i = Dt(e, t, r, n);
72
+ const i = Gt(e, t, r, n);
73
73
  return e[0](i);
74
74
  }
75
75
  }
76
- function Dt(e, t, r, n) {
77
- return e[1] && n ? Ar(r.ctx.slice(), e[1](n(t))) : r.ctx;
76
+ function Gt(e, t, r, n) {
77
+ return e[1] && n ? Hr(r.ctx.slice(), e[1](n(t))) : r.ctx;
78
78
  }
79
- function Or(e, t, r, n) {
79
+ function Pr(e, t, r, n) {
80
80
  if (e[2] && n) {
81
81
  const i = e[2](n(r));
82
82
  if (t.dirty === void 0)
@@ -91,13 +91,13 @@ function Or(e, t, r, n) {
91
91
  }
92
92
  return t.dirty;
93
93
  }
94
- function Ir(e, t, r, n, i, o) {
94
+ function Or(e, t, r, n, i, o) {
95
95
  if (i) {
96
- const s = Dt(t, r, n, o);
96
+ const s = Gt(t, r, n, o);
97
97
  e.p(s, i);
98
98
  }
99
99
  }
100
- function Mr(e) {
100
+ function Ir(e) {
101
101
  if (e.ctx.length > 32) {
102
102
  const t = [], r = e.ctx.length / 32;
103
103
  for (let n = 0; n < r; n++)
@@ -109,14 +109,14 @@ function Mr(e) {
109
109
  function B(e, t) {
110
110
  e.appendChild(t);
111
111
  }
112
- function Nr(e, t, r) {
113
- const n = Lr(e);
112
+ function Mr(e, t, r) {
113
+ const n = Nr(e);
114
114
  if (!n.getElementById(t)) {
115
115
  const i = M("style");
116
- i.id = t, i.textContent = r, Rr(n, i);
116
+ i.id = t, i.textContent = r, Lr(n, i);
117
117
  }
118
118
  }
119
- function Lr(e) {
119
+ function Nr(e) {
120
120
  if (!e)
121
121
  return document;
122
122
  const t = e.getRootNode ? e.getRootNode() : e.ownerDocument;
@@ -126,62 +126,62 @@ function Lr(e) {
126
126
  t
127
127
  ) : e.ownerDocument;
128
128
  }
129
- function Rr(e, t) {
129
+ function Lr(e, t) {
130
130
  return B(
131
131
  /** @type {Document} */
132
132
  e.head || e,
133
133
  t
134
134
  ), t.sheet;
135
135
  }
136
- function ie(e, t, r) {
136
+ function oe(e, t, r) {
137
137
  e.insertBefore(t, r || null);
138
138
  }
139
- function Q(e) {
139
+ function J(e) {
140
140
  e.parentNode && e.parentNode.removeChild(e);
141
141
  }
142
- function po(e, t) {
142
+ function fo(e, t) {
143
143
  for (let r = 0; r < e.length; r += 1)
144
144
  e[r] && e[r].d(t);
145
145
  }
146
146
  function M(e) {
147
147
  return document.createElement(e);
148
148
  }
149
- function ht(e) {
149
+ function ut(e) {
150
150
  return document.createElementNS("http://www.w3.org/2000/svg", e);
151
151
  }
152
- function oe(e) {
152
+ function se(e) {
153
153
  return document.createTextNode(e);
154
154
  }
155
155
  function le() {
156
- return oe(" ");
156
+ return se(" ");
157
157
  }
158
- function bo() {
159
- return oe("");
158
+ function mo() {
159
+ return se("");
160
160
  }
161
- function Le(e, t, r, n) {
161
+ function Me(e, t, r, n) {
162
162
  return e.addEventListener(t, r, n), () => e.removeEventListener(t, r, n);
163
163
  }
164
164
  function T(e, t, r) {
165
165
  r == null ? e.removeAttribute(t) : e.getAttribute(t) !== r && e.setAttribute(t, r);
166
166
  }
167
- function go(e, t, r) {
167
+ function po(e, t, r) {
168
168
  const n = t.toLowerCase();
169
169
  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);
170
170
  }
171
- function $r(e) {
171
+ function Rr(e) {
172
172
  return Array.from(e.childNodes);
173
173
  }
174
- function tt(e, t) {
174
+ function qe(e, t) {
175
175
  t = "" + t, e.data !== t && (e.data = /** @type {string} */
176
176
  t);
177
177
  }
178
- function vo(e, t) {
178
+ function bo(e, t) {
179
179
  e.value = t == null ? "" : t;
180
180
  }
181
- function yo(e, t, r, n) {
181
+ function go(e, t, r, n) {
182
182
  r == null ? e.style.removeProperty(t) : e.style.setProperty(t, r, "");
183
183
  }
184
- function _o(e, t, r) {
184
+ function vo(e, t, r) {
185
185
  for (let n = 0; n < e.options.length; n += 1) {
186
186
  const i = e.options[n];
187
187
  if (i.__value === t) {
@@ -191,11 +191,11 @@ function _o(e, t, r) {
191
191
  }
192
192
  (!r || t !== void 0) && (e.selectedIndex = -1);
193
193
  }
194
- function xo(e) {
194
+ function yo(e) {
195
195
  const t = e.querySelector(":checked");
196
196
  return t && t.__value;
197
197
  }
198
- function Gr(e) {
198
+ function $r(e) {
199
199
  const t = {};
200
200
  return e.childNodes.forEach(
201
201
  /** @param {Element} node */
@@ -204,108 +204,108 @@ function Gr(e) {
204
204
  }
205
205
  ), t;
206
206
  }
207
- let te;
208
- function ee(e) {
209
- te = e;
207
+ let re;
208
+ function te(e) {
209
+ re = e;
210
210
  }
211
- function Ur() {
212
- if (!te)
211
+ function Gr() {
212
+ if (!re)
213
213
  throw new Error("Function called outside component initialization");
214
- return te;
214
+ return re;
215
215
  }
216
- function Dr(e) {
217
- Ur().$$.on_mount.push(e);
216
+ function Ur(e) {
217
+ Gr().$$.on_mount.push(e);
218
218
  }
219
- const j = [], Re = [];
219
+ const j = [], Ne = [];
220
220
  let k = [];
221
- const ct = [], Fr = /* @__PURE__ */ Promise.resolve();
222
- let $e = !1;
223
- function jr() {
224
- $e || ($e = !0, Fr.then(I));
221
+ const lt = [], Dr = /* @__PURE__ */ Promise.resolve();
222
+ let Le = !1;
223
+ function Fr() {
224
+ Le || (Le = !0, Dr.then(I));
225
225
  }
226
- function Ge(e) {
226
+ function Re(e) {
227
227
  k.push(e);
228
228
  }
229
- const Ae = /* @__PURE__ */ new Set();
229
+ const Te = /* @__PURE__ */ new Set();
230
230
  let D = 0;
231
231
  function I() {
232
232
  if (D !== 0)
233
233
  return;
234
- const e = te;
234
+ const e = re;
235
235
  do {
236
236
  try {
237
237
  for (; D < j.length; ) {
238
238
  const t = j[D];
239
- D++, ee(t), kr(t.$$);
239
+ D++, te(t), jr(t.$$);
240
240
  }
241
241
  } catch (t) {
242
242
  throw j.length = 0, D = 0, t;
243
243
  }
244
- for (ee(null), j.length = 0, D = 0; Re.length; )
245
- Re.pop()();
244
+ for (te(null), j.length = 0, D = 0; Ne.length; )
245
+ Ne.pop()();
246
246
  for (let t = 0; t < k.length; t += 1) {
247
247
  const r = k[t];
248
- Ae.has(r) || (Ae.add(r), r());
248
+ Te.has(r) || (Te.add(r), r());
249
249
  }
250
250
  k.length = 0;
251
251
  } while (j.length);
252
- for (; ct.length; )
253
- ct.pop()();
254
- $e = !1, Ae.clear(), ee(e);
252
+ for (; lt.length; )
253
+ lt.pop()();
254
+ Le = !1, Te.clear(), te(e);
255
255
  }
256
- function kr(e) {
256
+ function jr(e) {
257
257
  if (e.fragment !== null) {
258
- e.update(), Z(e.before_update);
258
+ e.update(), Q(e.before_update);
259
259
  const t = e.dirty;
260
- e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Ge);
260
+ e.dirty = [-1], e.fragment && e.fragment.p(e.ctx, t), e.after_update.forEach(Re);
261
261
  }
262
262
  }
263
- function Vr(e) {
263
+ function kr(e) {
264
264
  const t = [], r = [];
265
265
  k.forEach((n) => e.indexOf(n) === -1 ? t.push(n) : r.push(n)), r.forEach((n) => n()), k = t;
266
266
  }
267
267
  const fe = /* @__PURE__ */ new Set();
268
- let Xr;
269
- function Ft(e, t) {
268
+ let Vr;
269
+ function Ut(e, t) {
270
270
  e && e.i && (fe.delete(e), e.i(t));
271
271
  }
272
- function zr(e, t, r, n) {
272
+ function Xr(e, t, r, n) {
273
273
  if (e && e.o) {
274
274
  if (fe.has(e))
275
275
  return;
276
- fe.add(e), Xr.c.push(() => {
276
+ fe.add(e), Vr.c.push(() => {
277
277
  fe.delete(e);
278
278
  }), e.o(t);
279
279
  }
280
280
  }
281
- function Eo(e) {
281
+ function xo(e) {
282
282
  return (e == null ? void 0 : e.length) !== void 0 ? e : Array.from(e);
283
283
  }
284
- function Wr(e, t, r) {
284
+ function zr(e, t, r) {
285
285
  const { fragment: n, after_update: i } = e.$$;
286
- n && n.m(t, r), Ge(() => {
287
- const o = e.$$.on_mount.map($t).filter(et);
288
- e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Z(o), e.$$.on_mount = [];
289
- }), i.forEach(Ge);
286
+ n && n.m(t, r), Re(() => {
287
+ const o = e.$$.on_mount.map(Lt).filter(Je);
288
+ e.$$.on_destroy ? e.$$.on_destroy.push(...o) : Q(o), e.$$.on_mount = [];
289
+ }), i.forEach(Re);
290
290
  }
291
- function Zr(e, t) {
291
+ function Wr(e, t) {
292
292
  const r = e.$$;
293
- r.fragment !== null && (Vr(r.after_update), Z(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
293
+ r.fragment !== null && (kr(r.after_update), Q(r.on_destroy), r.fragment && r.fragment.d(t), r.on_destroy = r.fragment = null, r.ctx = []);
294
294
  }
295
- function Qr(e, t) {
296
- e.$$.dirty[0] === -1 && (j.push(e), jr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
295
+ function Zr(e, t) {
296
+ e.$$.dirty[0] === -1 && (j.push(e), Fr(), e.$$.dirty.fill(0)), e.$$.dirty[t / 31 | 0] |= 1 << t % 31;
297
297
  }
298
- function Jr(e, t, r, n, i, o, s = null, a = [-1]) {
299
- const l = te;
300
- ee(e);
298
+ function Qr(e, t, r, n, i, o, s = null, a = [-1]) {
299
+ const l = re;
300
+ te(e);
301
301
  const u = e.$$ = {
302
302
  fragment: null,
303
303
  ctx: [],
304
304
  // state
305
305
  props: o,
306
- update: L,
306
+ update: N,
307
307
  not_equal: i,
308
- bound: lt(),
308
+ bound: at(),
309
309
  // lifecycle
310
310
  on_mount: [],
311
311
  on_destroy: [],
@@ -314,7 +314,7 @@ function Jr(e, t, r, n, i, o, s = null, a = [-1]) {
314
314
  after_update: [],
315
315
  context: new Map(t.context || (l ? l.$$.context : [])),
316
316
  // everything else
317
- callbacks: lt(),
317
+ callbacks: at(),
318
318
  dirty: a,
319
319
  skip_bound: !1,
320
320
  root: t.target || l.$$.root
@@ -323,19 +323,19 @@ function Jr(e, t, r, n, i, o, s = null, a = [-1]) {
323
323
  let h = !1;
324
324
  if (u.ctx = r ? r(e, t.props || {}, (c, f, ...m) => {
325
325
  const v = m.length ? m[0] : f;
326
- return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), h && Qr(e, c)), f;
327
- }) : [], u.update(), h = !0, Z(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
326
+ return u.ctx && i(u.ctx[c], u.ctx[c] = v) && (!u.skip_bound && u.bound[c] && u.bound[c](v), h && Zr(e, c)), f;
327
+ }) : [], u.update(), h = !0, Q(u.before_update), u.fragment = n ? n(u.ctx) : !1, t.target) {
328
328
  if (t.hydrate) {
329
- const c = $r(t.target);
330
- u.fragment && u.fragment.l(c), c.forEach(Q);
329
+ const c = Rr(t.target);
330
+ u.fragment && u.fragment.l(c), c.forEach(J);
331
331
  } else
332
332
  u.fragment && u.fragment.c();
333
- t.intro && Ft(e.$$.fragment), Wr(e, t.target, t.anchor), I();
333
+ t.intro && Ut(e.$$.fragment), zr(e, t.target, t.anchor), I();
334
334
  }
335
- ee(l);
335
+ te(l);
336
336
  }
337
- let jt;
338
- typeof HTMLElement == "function" && (jt = class extends HTMLElement {
337
+ let Dt;
338
+ typeof HTMLElement == "function" && (Dt = class extends HTMLElement {
339
339
  constructor(t, r, n) {
340
340
  super();
341
341
  /** The Svelte component constructor */
@@ -372,7 +372,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
372
372
  }
373
373
  }
374
374
  connectedCallback() {
375
- return ut(this, null, function* () {
375
+ return st(this, null, function* () {
376
376
  if (this.$$cn = !0, !this.$$c) {
377
377
  let t = function(o) {
378
378
  return () => {
@@ -386,17 +386,17 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
386
386
  * @param {HTMLElement} [anchor]
387
387
  */
388
388
  m: function(u, h) {
389
- ie(u, s, h);
389
+ oe(u, s, h);
390
390
  },
391
391
  d: function(u) {
392
- u && Q(s);
392
+ u && J(s);
393
393
  }
394
394
  };
395
395
  };
396
396
  };
397
397
  if (yield Promise.resolve(), !this.$$cn || this.$$c)
398
398
  return;
399
- const r = {}, n = Gr(this);
399
+ const r = {}, n = $r(this);
400
400
  for (const o of this.$$s)
401
401
  o in n && (r[o] = [t(o)]);
402
402
  for (const o of this.attributes) {
@@ -407,7 +407,7 @@ typeof HTMLElement == "function" && (jt = class extends HTMLElement {
407
407
  !(o in this.$$d) && this[o] !== void 0 && (this.$$d[o] = this[o], delete this[o]);
408
408
  this.$$c = new this.$$ctor({
409
409
  target: this.shadowRoot || this,
410
- props: at(st({}, this.$$d), {
410
+ props: ot(it({}, this.$$d), {
411
411
  $$slots: r,
412
412
  $$scope: {
413
413
  ctx: []
@@ -485,8 +485,8 @@ function me(e, t, r, n) {
485
485
  return t;
486
486
  }
487
487
  }
488
- function qr(e, t, r, n, i, o) {
489
- let s = class extends jt {
488
+ function Jr(e, t, r, n, i, o) {
489
+ let s = class extends Dt {
490
490
  constructor() {
491
491
  super(e, r, i), this.$$p_d = t;
492
492
  }
@@ -516,7 +516,7 @@ function qr(e, t, r, n, i, o) {
516
516
  }), e.element = /** @type {any} */
517
517
  s, s;
518
518
  }
519
- class Yr {
519
+ class qr {
520
520
  constructor() {
521
521
  /**
522
522
  * ### PRIVATE API
@@ -537,7 +537,7 @@ class Yr {
537
537
  }
538
538
  /** @returns {void} */
539
539
  $destroy() {
540
- Zr(this, 1), this.$destroy = L;
540
+ Wr(this, 1), this.$destroy = N;
541
541
  }
542
542
  /**
543
543
  * @template {Extract<keyof Events, string>} K
@@ -546,8 +546,8 @@ class Yr {
546
546
  * @returns {() => void}
547
547
  */
548
548
  $on(t, r) {
549
- if (!et(r))
550
- return L;
549
+ if (!Je(r))
550
+ return N;
551
551
  const n = this.$$.callbacks[t] || (this.$$.callbacks[t] = []);
552
552
  return n.push(r), () => {
553
553
  const i = n.indexOf(r);
@@ -559,13 +559,13 @@ class Yr {
559
559
  * @returns {void}
560
560
  */
561
561
  $set(t) {
562
- this.$$set && !Br(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
562
+ this.$$set && !Ar(t) && (this.$$.skip_bound = !0, this.$$set(t), this.$$.skip_bound = !1);
563
563
  }
564
564
  }
565
- const Kr = "4";
566
- typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Kr);
567
- var So = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
568
- function en(e) {
565
+ const Yr = "4";
566
+ typeof window != "undefined" && (window.__svelte || (window.__svelte = { v: /* @__PURE__ */ new Set() })).v.add(Yr);
567
+ var _o = typeof globalThis != "undefined" ? globalThis : typeof window != "undefined" ? window : typeof global != "undefined" ? global : typeof self != "undefined" ? self : {};
568
+ function Kr(e) {
569
569
  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
570
570
  }
571
571
  /*! *****************************************************************************
@@ -582,24 +582,43 @@ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
582
582
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
583
583
  PERFORMANCE OF THIS SOFTWARE.
584
584
  ***************************************************************************** */
585
- var Ue = function(e, t) {
586
- return Ue = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
585
+ var $e = function(e, t) {
586
+ return $e = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
587
587
  r.__proto__ = n;
588
588
  } || function(r, n) {
589
589
  for (var i in n)
590
590
  Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
591
- }, Ue(e, t);
591
+ }, $e(e, t);
592
592
  };
593
- function se(e, t) {
593
+ function R(e, t) {
594
594
  if (typeof t != "function" && t !== null)
595
595
  throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
596
- Ue(e, t);
596
+ $e(e, t);
597
597
  function r() {
598
598
  this.constructor = e;
599
599
  }
600
600
  e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
601
601
  }
602
- function De(e) {
602
+ var y = function() {
603
+ return y = Object.assign || function(t) {
604
+ for (var r, n = 1, i = arguments.length; n < i; n++) {
605
+ r = arguments[n];
606
+ for (var o in r)
607
+ Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
608
+ }
609
+ return t;
610
+ }, y.apply(this, arguments);
611
+ };
612
+ function en(e, t) {
613
+ var r = {};
614
+ for (var n in e)
615
+ Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
616
+ if (e != null && typeof Object.getOwnPropertySymbols == "function")
617
+ for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
618
+ t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
619
+ return r;
620
+ }
621
+ function Ge(e) {
603
622
  var t = typeof Symbol == "function" && Symbol.iterator, r = t && e[t], n = 0;
604
623
  if (r)
605
624
  return r.call(e);
@@ -611,7 +630,7 @@ function De(e) {
611
630
  };
612
631
  throw new TypeError(t ? "Object is not iterable." : "Symbol.iterator is not defined.");
613
632
  }
614
- function Fe(e, t) {
633
+ function Ue(e, t) {
615
634
  var r = typeof Symbol == "function" && e[Symbol.iterator];
616
635
  if (!r)
617
636
  return e;
@@ -631,22 +650,22 @@ function Fe(e, t) {
631
650
  }
632
651
  return o;
633
652
  }
634
- function je(e, t, r) {
635
- if (arguments.length === 2)
653
+ function V(e, t, r) {
654
+ if (r || arguments.length === 2)
636
655
  for (var n = 0, i = t.length, o; n < i; n++)
637
656
  (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
638
657
  return e.concat(o || t);
639
658
  }
640
- function R(e) {
659
+ function L(e) {
641
660
  return typeof e == "function";
642
661
  }
643
- function kt(e) {
662
+ function Ft(e) {
644
663
  var t = function(n) {
645
664
  Error.call(n), n.stack = new Error().stack;
646
665
  }, r = e(t);
647
666
  return r.prototype = Object.create(Error.prototype), r.prototype.constructor = r, r;
648
667
  }
649
- var Be = kt(function(e) {
668
+ var He = Ft(function(e) {
650
669
  return function(r) {
651
670
  e(this), this.message = r ? r.length + ` errors occurred during unsubscription:
652
671
  ` + r.map(function(n, i) {
@@ -655,13 +674,13 @@ var Be = kt(function(e) {
655
674
  `) : "", this.name = "UnsubscriptionError", this.errors = r;
656
675
  };
657
676
  });
658
- function ke(e, t) {
677
+ function De(e, t) {
659
678
  if (e) {
660
679
  var r = e.indexOf(t);
661
680
  0 <= r && e.splice(r, 1);
662
681
  }
663
682
  }
664
- var _e = function() {
683
+ var ye = function() {
665
684
  function e(t) {
666
685
  this.initialTeardown = t, this.closed = !1, this._parentage = null, this._finalizers = null;
667
686
  }
@@ -673,12 +692,12 @@ var _e = function() {
673
692
  if (s)
674
693
  if (this._parentage = null, Array.isArray(s))
675
694
  try {
676
- for (var a = De(s), l = a.next(); !l.done; l = a.next()) {
695
+ for (var a = Ge(s), l = a.next(); !l.done; l = a.next()) {
677
696
  var u = l.value;
678
697
  u.remove(this);
679
698
  }
680
- } catch (d) {
681
- t = { error: d };
699
+ } catch (p) {
700
+ t = { error: p };
682
701
  } finally {
683
702
  try {
684
703
  l && !l.done && (r = a.return) && r.call(a);
@@ -690,26 +709,26 @@ var _e = function() {
690
709
  else
691
710
  s.remove(this);
692
711
  var h = this.initialTeardown;
693
- if (R(h))
712
+ if (L(h))
694
713
  try {
695
714
  h();
696
- } catch (d) {
697
- o = d instanceof Be ? d.errors : [d];
715
+ } catch (p) {
716
+ o = p instanceof He ? p.errors : [p];
698
717
  }
699
718
  var c = this._finalizers;
700
719
  if (c) {
701
720
  this._finalizers = null;
702
721
  try {
703
- for (var f = De(c), m = f.next(); !m.done; m = f.next()) {
722
+ for (var f = Ge(c), m = f.next(); !m.done; m = f.next()) {
704
723
  var v = m.value;
705
724
  try {
706
- ft(v);
707
- } catch (d) {
708
- o = o != null ? o : [], d instanceof Be ? o = je(je([], Fe(o)), Fe(d.errors)) : o.push(d);
725
+ ht(v);
726
+ } catch (p) {
727
+ o = o != null ? o : [], p instanceof He ? o = V(V([], Ue(o)), Ue(p.errors)) : o.push(p);
709
728
  }
710
729
  }
711
- } catch (d) {
712
- n = { error: d };
730
+ } catch (p) {
731
+ n = { error: p };
713
732
  } finally {
714
733
  try {
715
734
  m && !m.done && (i = f.return) && i.call(f);
@@ -720,13 +739,13 @@ var _e = function() {
720
739
  }
721
740
  }
722
741
  if (o)
723
- throw new Be(o);
742
+ throw new He(o);
724
743
  }
725
744
  }, e.prototype.add = function(t) {
726
745
  var r;
727
746
  if (t && t !== this)
728
747
  if (this.closed)
729
- ft(t);
748
+ ht(t);
730
749
  else {
731
750
  if (t instanceof e) {
732
751
  if (t.closed || t._hasParent(this))
@@ -743,52 +762,56 @@ var _e = function() {
743
762
  this._parentage = Array.isArray(r) ? (r.push(t), r) : r ? [r, t] : t;
744
763
  }, e.prototype._removeParent = function(t) {
745
764
  var r = this._parentage;
746
- r === t ? this._parentage = null : Array.isArray(r) && ke(r, t);
765
+ r === t ? this._parentage = null : Array.isArray(r) && De(r, t);
747
766
  }, e.prototype.remove = function(t) {
748
767
  var r = this._finalizers;
749
- r && ke(r, t), t instanceof e && t._removeParent(this);
768
+ r && De(r, t), t instanceof e && t._removeParent(this);
750
769
  }, e.EMPTY = function() {
751
770
  var t = new e();
752
771
  return t.closed = !0, t;
753
772
  }(), e;
754
- }(), Vt = _e.EMPTY;
755
- function Xt(e) {
756
- return e instanceof _e || e && "closed" in e && R(e.remove) && R(e.add) && R(e.unsubscribe);
757
- }
758
- function ft(e) {
759
- R(e) ? e() : e.unsubscribe();
773
+ }(), jt = ye.EMPTY;
774
+ function kt(e) {
775
+ return e instanceof ye || e && "closed" in e && L(e.remove) && L(e.add) && L(e.unsubscribe);
760
776
  }
761
- var tn = {
762
- Promise: void 0
763
- }, rn = {
777
+ function ht(e) {
778
+ L(e) ? e() : e.unsubscribe();
779
+ }
780
+ var Vt = {
781
+ onUnhandledError: null,
782
+ onStoppedNotification: null,
783
+ Promise: void 0,
784
+ useDeprecatedSynchronousErrorHandling: !1,
785
+ useDeprecatedNextContext: !1
786
+ }, tn = {
764
787
  setTimeout: function(e, t) {
765
788
  for (var r = [], n = 2; n < arguments.length; n++)
766
789
  r[n - 2] = arguments[n];
767
- return setTimeout.apply(void 0, je([e, t], Fe(r)));
790
+ return setTimeout.apply(void 0, V([e, t], Ue(r)));
768
791
  },
769
792
  clearTimeout: function(e) {
770
793
  return clearTimeout(e);
771
794
  },
772
795
  delegate: void 0
773
796
  };
774
- function nn(e) {
775
- rn.setTimeout(function() {
797
+ function rn(e) {
798
+ tn.setTimeout(function() {
776
799
  throw e;
777
800
  });
778
801
  }
779
- function mt() {
802
+ function ct() {
780
803
  }
781
- function pe(e) {
804
+ function de(e) {
782
805
  e();
783
806
  }
784
- var zt = function(e) {
785
- se(t, e);
807
+ var Xt = function(e) {
808
+ R(t, e);
786
809
  function t(r) {
787
810
  var n = e.call(this) || this;
788
- return n.isStopped = !1, r ? (n.destination = r, Xt(r) && r.add(n)) : n.destination = an, n;
811
+ return n.isStopped = !1, r ? (n.destination = r, kt(r) && r.add(n)) : n.destination = an, n;
789
812
  }
790
813
  return t.create = function(r, n, i) {
791
- return new Ve(r, n, i);
814
+ return new Fe(r, n, i);
792
815
  }, t.prototype.next = function(r) {
793
816
  this.isStopped || this._next(r);
794
817
  }, t.prototype.error = function(r) {
@@ -812,7 +835,11 @@ var zt = function(e) {
812
835
  this.unsubscribe();
813
836
  }
814
837
  }, t;
815
- }(_e), on = function() {
838
+ }(ye), nn = Function.prototype.bind;
839
+ function Ae(e, t) {
840
+ return nn.call(e, t);
841
+ }
842
+ var on = function() {
816
843
  function e(t) {
817
844
  this.partialObserver = t;
818
845
  }
@@ -843,29 +870,41 @@ var zt = function(e) {
843
870
  he(r);
844
871
  }
845
872
  }, e;
846
- }(), Ve = function(e) {
847
- se(t, e);
873
+ }(), Fe = function(e) {
874
+ R(t, e);
848
875
  function t(r, n, i) {
849
876
  var o = e.call(this) || this, s;
850
- return R(r) || !r ? s = {
851
- next: r != null ? r : void 0,
852
- error: n != null ? n : void 0,
853
- complete: i != null ? i : void 0
854
- } : s = r, o.destination = new on(s), o;
877
+ if (L(r) || !r)
878
+ s = {
879
+ next: r != null ? r : void 0,
880
+ error: n != null ? n : void 0,
881
+ complete: i != null ? i : void 0
882
+ };
883
+ else {
884
+ var a;
885
+ o && Vt.useDeprecatedNextContext ? (a = Object.create(r), a.unsubscribe = function() {
886
+ return o.unsubscribe();
887
+ }, s = {
888
+ next: r.next && Ae(r.next, a),
889
+ error: r.error && Ae(r.error, a),
890
+ complete: r.complete && Ae(r.complete, a)
891
+ }) : s = r;
892
+ }
893
+ return o.destination = new on(s), o;
855
894
  }
856
895
  return t;
857
- }(zt);
896
+ }(Xt);
858
897
  function he(e) {
859
- nn(e);
898
+ rn(e);
860
899
  }
861
900
  function sn(e) {
862
901
  throw e;
863
902
  }
864
903
  var an = {
865
904
  closed: !0,
866
- next: mt,
905
+ next: ct,
867
906
  error: sn,
868
- complete: mt
907
+ complete: ct
869
908
  }, un = function() {
870
909
  return typeof Symbol == "function" && Symbol.observable || "@@observable";
871
910
  }();
@@ -879,7 +918,7 @@ function hn(e) {
879
918
  }, r);
880
919
  };
881
920
  }
882
- var pt = function() {
921
+ var ft = function() {
883
922
  function e(t) {
884
923
  t && (this._subscribe = t);
885
924
  }
@@ -887,8 +926,8 @@ var pt = function() {
887
926
  var r = new e();
888
927
  return r.source = this, r.operator = t, r;
889
928
  }, e.prototype.subscribe = function(t, r, n) {
890
- var i = this, o = fn(t) ? t : new Ve(t, r, n);
891
- return pe(function() {
929
+ var i = this, o = fn(t) ? t : new Fe(t, r, n);
930
+ return de(function() {
892
931
  var s = i, a = s.operator, l = s.source;
893
932
  o.add(a ? a.call(o, l) : l ? i._subscribe(o) : i._trySubscribe(o));
894
933
  }), o;
@@ -900,8 +939,8 @@ var pt = function() {
900
939
  }
901
940
  }, e.prototype.forEach = function(t, r) {
902
941
  var n = this;
903
- return r = dt(r), new r(function(i, o) {
904
- var s = new Ve({
942
+ return r = mt(r), new r(function(i, o) {
943
+ var s = new Fe({
905
944
  next: function(a) {
906
945
  try {
907
946
  t(a);
@@ -925,7 +964,7 @@ var pt = function() {
925
964
  return hn(t)(this);
926
965
  }, e.prototype.toPromise = function(t) {
927
966
  var r = this;
928
- return t = dt(t), new t(function(n, i) {
967
+ return t = mt(t), new t(function(n, i) {
929
968
  var o;
930
969
  r.subscribe(function(s) {
931
970
  return o = s;
@@ -939,40 +978,40 @@ var pt = function() {
939
978
  return new e(t);
940
979
  }, e;
941
980
  }();
942
- function dt(e) {
981
+ function mt(e) {
943
982
  var t;
944
- return (t = e != null ? e : tn.Promise) !== null && t !== void 0 ? t : Promise;
983
+ return (t = e != null ? e : Vt.Promise) !== null && t !== void 0 ? t : Promise;
945
984
  }
946
985
  function cn(e) {
947
- return e && R(e.next) && R(e.error) && R(e.complete);
986
+ return e && L(e.next) && L(e.error) && L(e.complete);
948
987
  }
949
988
  function fn(e) {
950
- return e && e instanceof zt || cn(e) && Xt(e);
989
+ return e && e instanceof Xt || cn(e) && kt(e);
951
990
  }
952
- var mn = kt(function(e) {
991
+ var mn = Ft(function(e) {
953
992
  return function() {
954
993
  e(this), this.name = "ObjectUnsubscribedError", this.message = "object unsubscribed";
955
994
  };
956
- }), Wt = function(e) {
957
- se(t, e);
995
+ }), zt = function(e) {
996
+ R(t, e);
958
997
  function t() {
959
998
  var r = e.call(this) || this;
960
999
  return r.closed = !1, r.currentObservers = null, r.observers = [], r.isStopped = !1, r.hasError = !1, r.thrownError = null, r;
961
1000
  }
962
1001
  return t.prototype.lift = function(r) {
963
- var n = new bt(this, this);
1002
+ var n = new dt(this, this);
964
1003
  return n.operator = r, n;
965
1004
  }, t.prototype._throwIfClosed = function() {
966
1005
  if (this.closed)
967
1006
  throw new mn();
968
1007
  }, t.prototype.next = function(r) {
969
1008
  var n = this;
970
- pe(function() {
1009
+ de(function() {
971
1010
  var i, o;
972
1011
  if (n._throwIfClosed(), !n.isStopped) {
973
1012
  n.currentObservers || (n.currentObservers = Array.from(n.observers));
974
1013
  try {
975
- for (var s = De(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
1014
+ for (var s = Ge(n.currentObservers), a = s.next(); !a.done; a = s.next()) {
976
1015
  var l = a.value;
977
1016
  l.next(r);
978
1017
  }
@@ -990,7 +1029,7 @@ var mn = kt(function(e) {
990
1029
  });
991
1030
  }, t.prototype.error = function(r) {
992
1031
  var n = this;
993
- pe(function() {
1032
+ de(function() {
994
1033
  if (n._throwIfClosed(), !n.isStopped) {
995
1034
  n.hasError = n.isStopped = !0, n.thrownError = r;
996
1035
  for (var i = n.observers; i.length; )
@@ -999,7 +1038,7 @@ var mn = kt(function(e) {
999
1038
  });
1000
1039
  }, t.prototype.complete = function() {
1001
1040
  var r = this;
1002
- pe(function() {
1041
+ de(function() {
1003
1042
  if (r._throwIfClosed(), !r.isStopped) {
1004
1043
  r.isStopped = !0;
1005
1044
  for (var n = r.observers; n.length; )
@@ -1021,20 +1060,20 @@ var mn = kt(function(e) {
1021
1060
  return this._throwIfClosed(), this._checkFinalizedStatuses(r), this._innerSubscribe(r);
1022
1061
  }, t.prototype._innerSubscribe = function(r) {
1023
1062
  var n = this, i = this, o = i.hasError, s = i.isStopped, a = i.observers;
1024
- return o || s ? Vt : (this.currentObservers = null, a.push(r), new _e(function() {
1025
- n.currentObservers = null, ke(a, r);
1063
+ return o || s ? jt : (this.currentObservers = null, a.push(r), new ye(function() {
1064
+ n.currentObservers = null, De(a, r);
1026
1065
  }));
1027
1066
  }, t.prototype._checkFinalizedStatuses = function(r) {
1028
1067
  var n = this, i = n.hasError, o = n.thrownError, s = n.isStopped;
1029
1068
  i ? r.error(o) : s && r.complete();
1030
1069
  }, t.prototype.asObservable = function() {
1031
- var r = new pt();
1070
+ var r = new ft();
1032
1071
  return r.source = this, r;
1033
1072
  }, t.create = function(r, n) {
1034
- return new bt(r, n);
1073
+ return new dt(r, n);
1035
1074
  }, t;
1036
- }(pt), bt = function(e) {
1037
- se(t, e);
1075
+ }(ft), dt = function(e) {
1076
+ R(t, e);
1038
1077
  function t(r, n) {
1039
1078
  var i = e.call(this) || this;
1040
1079
  return i.destination = r, i.source = n, i;
@@ -1050,17 +1089,17 @@ var mn = kt(function(e) {
1050
1089
  (n = (r = this.destination) === null || r === void 0 ? void 0 : r.complete) === null || n === void 0 || n.call(r);
1051
1090
  }, t.prototype._subscribe = function(r) {
1052
1091
  var n, i;
1053
- return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : Vt;
1092
+ return (i = (n = this.source) === null || n === void 0 ? void 0 : n.subscribe(r)) !== null && i !== void 0 ? i : jt;
1054
1093
  }, t;
1055
- }(Wt), Zt = {
1094
+ }(zt), Wt = {
1056
1095
  now: function() {
1057
- return (Zt.delegate || Date).now();
1096
+ return (Wt.delegate || Date).now();
1058
1097
  },
1059
1098
  delegate: void 0
1060
- }, pn = function(e) {
1061
- se(t, e);
1099
+ }, dn = function(e) {
1100
+ R(t, e);
1062
1101
  function t(r, n, i) {
1063
- r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Zt);
1102
+ r === void 0 && (r = 1 / 0), n === void 0 && (n = 1 / 0), i === void 0 && (i = Wt);
1064
1103
  var o = e.call(this) || this;
1065
1104
  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;
1066
1105
  }
@@ -1080,24 +1119,24 @@ var mn = kt(function(e) {
1080
1119
  u && o.splice(0, u + 1);
1081
1120
  }
1082
1121
  }, t;
1083
- }(Wt);
1084
- const gt = [], vt = {}, dn = (e, t = 0) => {
1085
- if (gt.indexOf(e) == -1) {
1086
- const r = new pn(t);
1087
- vt[e] = r, gt.push(e);
1122
+ }(zt);
1123
+ const pt = [], bt = {}, pn = (e, t = 0) => {
1124
+ if (pt.indexOf(e) == -1) {
1125
+ const r = new dn(t);
1126
+ bt[e] = r, pt.push(e);
1088
1127
  }
1089
- return vt[e];
1128
+ return bt[e];
1090
1129
  }, F = [];
1091
1130
  function bn(e, t) {
1092
1131
  return {
1093
1132
  subscribe: xe(e, t).subscribe
1094
1133
  };
1095
1134
  }
1096
- function xe(e, t = L) {
1135
+ function xe(e, t = N) {
1097
1136
  let r;
1098
1137
  const n = /* @__PURE__ */ new Set();
1099
1138
  function i(a) {
1100
- if (Gt(e, a) && (e = a, r)) {
1139
+ if (Rt(e, a) && (e = a, r)) {
1101
1140
  const l = !F.length;
1102
1141
  for (const u of n)
1103
1142
  u[1](), F.push(u, e);
@@ -1111,15 +1150,15 @@ function xe(e, t = L) {
1111
1150
  function o(a) {
1112
1151
  i(a(e));
1113
1152
  }
1114
- function s(a, l = L) {
1153
+ function s(a, l = N) {
1115
1154
  const u = [a, l];
1116
- return n.add(u), n.size === 1 && (r = t(i, o) || L), a(e), () => {
1155
+ return n.add(u), n.size === 1 && (r = t(i, o) || N), a(e), () => {
1117
1156
  n.delete(u), n.size === 0 && r && (r(), r = null);
1118
1157
  };
1119
1158
  }
1120
1159
  return { set: i, update: o, subscribe: s };
1121
1160
  }
1122
- function J(e, t, r) {
1161
+ function q(e, t, r) {
1123
1162
  const n = !Array.isArray(e), i = n ? [e] : e;
1124
1163
  if (!i.every(Boolean))
1125
1164
  throw new Error("derived() expects stores as input, got a falsy value");
@@ -1127,26 +1166,26 @@ function J(e, t, r) {
1127
1166
  return bn(r, (s, a) => {
1128
1167
  let l = !1;
1129
1168
  const u = [];
1130
- let h = 0, c = L;
1169
+ let h = 0, c = N;
1131
1170
  const f = () => {
1132
1171
  if (h)
1133
1172
  return;
1134
1173
  c();
1135
1174
  const v = t(n ? u[0] : u, s, a);
1136
- o ? s(v) : c = et(v) ? v : L;
1175
+ o ? s(v) : c = Je(v) ? v : N;
1137
1176
  }, m = i.map(
1138
- (v, d) => Ut(
1177
+ (v, p) => $t(
1139
1178
  v,
1140
- (S) => {
1141
- u[d] = S, h &= ~(1 << d), l && f();
1179
+ (w) => {
1180
+ u[p] = w, h &= ~(1 << p), l && f();
1142
1181
  },
1143
1182
  () => {
1144
- h |= 1 << d;
1183
+ h |= 1 << p;
1145
1184
  }
1146
1185
  )
1147
1186
  );
1148
1187
  return l = !0, f(), function() {
1149
- Z(m), c(), l = !1;
1188
+ Q(m), c(), l = !1;
1150
1189
  };
1151
1190
  });
1152
1191
  }
@@ -1160,36 +1199,36 @@ function yn(e) {
1160
1199
  var t = Object.prototype.toString.call(e);
1161
1200
  return t === "[object RegExp]" || t === "[object Date]" || En(e);
1162
1201
  }
1163
- var _n = typeof Symbol == "function" && Symbol.for, xn = _n ? Symbol.for("react.element") : 60103;
1202
+ var xn = typeof Symbol == "function" && Symbol.for, _n = xn ? Symbol.for("react.element") : 60103;
1164
1203
  function En(e) {
1165
- return e.$$typeof === xn;
1204
+ return e.$$typeof === _n;
1166
1205
  }
1167
1206
  function Sn(e) {
1168
1207
  return Array.isArray(e) ? [] : {};
1169
1208
  }
1170
- function re(e, t) {
1171
- return t.clone !== !1 && t.isMergeableObject(e) ? V(Sn(e), e, t) : e;
1209
+ function ne(e, t) {
1210
+ return t.clone !== !1 && t.isMergeableObject(e) ? X(Sn(e), e, t) : e;
1172
1211
  }
1173
1212
  function wn(e, t, r) {
1174
1213
  return e.concat(t).map(function(n) {
1175
- return re(n, r);
1214
+ return ne(n, r);
1176
1215
  });
1177
1216
  }
1178
1217
  function Tn(e, t) {
1179
1218
  if (!t.customMerge)
1180
- return V;
1219
+ return X;
1181
1220
  var r = t.customMerge(e);
1182
- return typeof r == "function" ? r : V;
1221
+ return typeof r == "function" ? r : X;
1183
1222
  }
1184
1223
  function Hn(e) {
1185
1224
  return Object.getOwnPropertySymbols ? Object.getOwnPropertySymbols(e).filter(function(t) {
1186
1225
  return Object.propertyIsEnumerable.call(e, t);
1187
1226
  }) : [];
1188
1227
  }
1189
- function yt(e) {
1228
+ function gt(e) {
1190
1229
  return Object.keys(e).concat(Hn(e));
1191
1230
  }
1192
- function Qt(e, t) {
1231
+ function Zt(e, t) {
1193
1232
  try {
1194
1233
  return t in e;
1195
1234
  } catch (r) {
@@ -1197,179 +1236,129 @@ function Qt(e, t) {
1197
1236
  }
1198
1237
  }
1199
1238
  function An(e, t) {
1200
- return Qt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1239
+ return Zt(e, t) && !(Object.hasOwnProperty.call(e, t) && Object.propertyIsEnumerable.call(e, t));
1201
1240
  }
1202
1241
  function Bn(e, t, r) {
1203
1242
  var n = {};
1204
- return r.isMergeableObject(e) && yt(e).forEach(function(i) {
1205
- n[i] = re(e[i], r);
1206
- }), yt(t).forEach(function(i) {
1207
- An(e, i) || (Qt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tn(i, r)(e[i], t[i], r) : n[i] = re(t[i], r));
1243
+ return r.isMergeableObject(e) && gt(e).forEach(function(i) {
1244
+ n[i] = ne(e[i], r);
1245
+ }), gt(t).forEach(function(i) {
1246
+ An(e, i) || (Zt(e, i) && r.isMergeableObject(t[i]) ? n[i] = Tn(i, r)(e[i], t[i], r) : n[i] = ne(t[i], r));
1208
1247
  }), n;
1209
1248
  }
1210
- function V(e, t, r) {
1211
- r = r || {}, r.arrayMerge = r.arrayMerge || wn, r.isMergeableObject = r.isMergeableObject || gn, r.cloneUnlessOtherwiseSpecified = re;
1249
+ function X(e, t, r) {
1250
+ r = r || {}, r.arrayMerge = r.arrayMerge || wn, r.isMergeableObject = r.isMergeableObject || gn, r.cloneUnlessOtherwiseSpecified = ne;
1212
1251
  var n = Array.isArray(t), i = Array.isArray(e), o = n === i;
1213
- return o ? n ? r.arrayMerge(e, t, r) : Bn(e, t, r) : re(t, r);
1252
+ return o ? n ? r.arrayMerge(e, t, r) : Bn(e, t, r) : ne(t, r);
1214
1253
  }
1215
- V.all = function(t, r) {
1254
+ X.all = function(t, r) {
1216
1255
  if (!Array.isArray(t))
1217
1256
  throw new Error("first argument should be an array");
1218
1257
  return t.reduce(function(n, i) {
1219
- return V(n, i, r);
1258
+ return X(n, i, r);
1220
1259
  }, {});
1221
1260
  };
1222
- var Cn = V, Pn = Cn;
1223
- const On = /* @__PURE__ */ en(Pn);
1224
- var Xe = function(e, t) {
1225
- return Xe = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(r, n) {
1226
- r.__proto__ = n;
1227
- } || function(r, n) {
1228
- for (var i in n)
1229
- Object.prototype.hasOwnProperty.call(n, i) && (r[i] = n[i]);
1230
- }, Xe(e, t);
1231
- };
1232
- function Ee(e, t) {
1233
- if (typeof t != "function" && t !== null)
1234
- throw new TypeError("Class extends value " + String(t) + " is not a constructor or null");
1235
- Xe(e, t);
1236
- function r() {
1237
- this.constructor = e;
1238
- }
1239
- e.prototype = t === null ? Object.create(t) : (r.prototype = t.prototype, new r());
1240
- }
1241
- var N = function() {
1242
- return N = Object.assign || function(t) {
1243
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1244
- r = arguments[n];
1245
- for (var o in r)
1246
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1247
- }
1248
- return t;
1249
- }, N.apply(this, arguments);
1250
- };
1251
- function In(e, t) {
1252
- var r = {};
1253
- for (var n in e)
1254
- Object.prototype.hasOwnProperty.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
1255
- if (e != null && typeof Object.getOwnPropertySymbols == "function")
1256
- for (var i = 0, n = Object.getOwnPropertySymbols(e); i < n.length; i++)
1257
- t.indexOf(n[i]) < 0 && Object.prototype.propertyIsEnumerable.call(e, n[i]) && (r[n[i]] = e[n[i]]);
1258
- return r;
1259
- }
1260
- function Ce(e, t, r) {
1261
- if (r || arguments.length === 2)
1262
- for (var n = 0, i = t.length, o; n < i; n++)
1263
- (o || !(n in t)) && (o || (o = Array.prototype.slice.call(t, 0, n)), o[n] = t[n]);
1264
- return e.concat(o || Array.prototype.slice.call(t));
1265
- }
1266
- function Pe(e, t) {
1267
- var r = t && t.cache ? t.cache : Un, n = t && t.serializer ? t.serializer : $n, i = t && t.strategy ? t.strategy : Ln;
1261
+ var Cn = X, Pn = Cn;
1262
+ const On = /* @__PURE__ */ Kr(Pn);
1263
+ function Be(e, t) {
1264
+ var r = t && t.cache ? t.cache : $n, n = t && t.serializer ? t.serializer : Rn, i = t && t.strategy ? t.strategy : Mn;
1268
1265
  return i(e, {
1269
1266
  cache: r,
1270
1267
  serializer: n
1271
1268
  });
1272
1269
  }
1273
- function Mn(e) {
1270
+ function In(e) {
1274
1271
  return e == null || typeof e == "number" || typeof e == "boolean";
1275
1272
  }
1276
- function Nn(e, t, r, n) {
1277
- var i = Mn(n) ? n : r(n), o = t.get(i);
1273
+ function Qt(e, t, r, n) {
1274
+ var i = In(n) ? n : r(n), o = t.get(i);
1278
1275
  return typeof o == "undefined" && (o = e.call(this, n), t.set(i, o)), o;
1279
1276
  }
1280
1277
  function Jt(e, t, r) {
1281
1278
  var n = Array.prototype.slice.call(arguments, 3), i = r(n), o = t.get(i);
1282
1279
  return typeof o == "undefined" && (o = e.apply(this, n), t.set(i, o)), o;
1283
1280
  }
1284
- function qt(e, t, r, n, i) {
1281
+ function Ye(e, t, r, n, i) {
1285
1282
  return r.bind(t, e, n, i);
1286
1283
  }
1287
- function Ln(e, t) {
1288
- var r = e.length === 1 ? Nn : Jt;
1289
- return qt(e, this, r, t.cache.create(), t.serializer);
1284
+ function Mn(e, t) {
1285
+ var r = e.length === 1 ? Qt : Jt;
1286
+ return Ye(e, this, r, t.cache.create(), t.serializer);
1287
+ }
1288
+ function Nn(e, t) {
1289
+ return Ye(e, this, Jt, t.cache.create(), t.serializer);
1290
1290
  }
1291
- function Rn(e, t) {
1292
- return qt(e, this, Jt, t.cache.create(), t.serializer);
1291
+ function Ln(e, t) {
1292
+ return Ye(e, this, Qt, t.cache.create(), t.serializer);
1293
1293
  }
1294
- var $n = function() {
1294
+ var Rn = function() {
1295
1295
  return JSON.stringify(arguments);
1296
- }, Gn = (
1297
- /** @class */
1298
- function() {
1299
- function e() {
1300
- this.cache = /* @__PURE__ */ Object.create(null);
1301
- }
1302
- return e.prototype.get = function(t) {
1303
- return this.cache[t];
1304
- }, e.prototype.set = function(t, r) {
1305
- this.cache[t] = r;
1306
- }, e;
1307
- }()
1308
- ), Un = {
1296
+ };
1297
+ function Ke() {
1298
+ this.cache = /* @__PURE__ */ Object.create(null);
1299
+ }
1300
+ Ke.prototype.get = function(e) {
1301
+ return this.cache[e];
1302
+ };
1303
+ Ke.prototype.set = function(e, t) {
1304
+ this.cache[e] = t;
1305
+ };
1306
+ var $n = {
1309
1307
  create: function() {
1310
- return new Gn();
1308
+ return new Ke();
1311
1309
  }
1312
- }, Oe = {
1313
- variadic: Rn
1314
- }, ge = function() {
1315
- return ge = Object.assign || function(t) {
1316
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1317
- r = arguments[n];
1318
- for (var o in r)
1319
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1320
- }
1321
- return t;
1322
- }, ge.apply(this, arguments);
1323
- };
1324
- var p;
1310
+ }, Ce = {
1311
+ variadic: Nn,
1312
+ monadic: Ln
1313
+ }, d;
1325
1314
  (function(e) {
1326
1315
  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";
1327
- })(p || (p = {}));
1328
- var E;
1316
+ })(d || (d = {}));
1317
+ var S;
1329
1318
  (function(e) {
1330
1319
  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";
1331
- })(E || (E = {}));
1332
- var X;
1320
+ })(S || (S = {}));
1321
+ var z;
1333
1322
  (function(e) {
1334
1323
  e[e.number = 0] = "number", e[e.dateTime = 1] = "dateTime";
1335
- })(X || (X = {}));
1336
- function _t(e) {
1337
- return e.type === E.literal;
1324
+ })(z || (z = {}));
1325
+ function vt(e) {
1326
+ return e.type === S.literal;
1338
1327
  }
1339
- function Dn(e) {
1340
- return e.type === E.argument;
1328
+ function Gn(e) {
1329
+ return e.type === S.argument;
1330
+ }
1331
+ function qt(e) {
1332
+ return e.type === S.number;
1341
1333
  }
1342
1334
  function Yt(e) {
1343
- return e.type === E.number;
1335
+ return e.type === S.date;
1344
1336
  }
1345
1337
  function Kt(e) {
1346
- return e.type === E.date;
1338
+ return e.type === S.time;
1347
1339
  }
1348
1340
  function er(e) {
1349
- return e.type === E.time;
1341
+ return e.type === S.select;
1350
1342
  }
1351
1343
  function tr(e) {
1352
- return e.type === E.select;
1344
+ return e.type === S.plural;
1353
1345
  }
1354
- function rr(e) {
1355
- return e.type === E.plural;
1346
+ function Un(e) {
1347
+ return e.type === S.pound;
1356
1348
  }
1357
- function Fn(e) {
1358
- return e.type === E.pound;
1349
+ function rr(e) {
1350
+ return e.type === S.tag;
1359
1351
  }
1360
1352
  function nr(e) {
1361
- return e.type === E.tag;
1353
+ return !!(e && typeof e == "object" && e.type === z.number);
1362
1354
  }
1363
- function ir(e) {
1364
- return !!(e && typeof e == "object" && e.type === X.number);
1365
- }
1366
- function ze(e) {
1367
- return !!(e && typeof e == "object" && e.type === X.dateTime);
1355
+ function je(e) {
1356
+ return !!(e && typeof e == "object" && e.type === z.dateTime);
1368
1357
  }
1369
- var or = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, jn = /(?:[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;
1370
- function kn(e) {
1358
+ var ir = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, Dn = /(?:[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;
1359
+ function Fn(e) {
1371
1360
  var t = {};
1372
- return e.replace(jn, function(r) {
1361
+ return e.replace(Dn, function(r) {
1373
1362
  var n = r.length;
1374
1363
  switch (r[0]) {
1375
1364
  case "G":
@@ -1458,21 +1447,11 @@ function kn(e) {
1458
1447
  return "";
1459
1448
  }), t;
1460
1449
  }
1461
- var w = function() {
1462
- return w = Object.assign || function(t) {
1463
- for (var r, n = 1, i = arguments.length; n < i; n++) {
1464
- r = arguments[n];
1465
- for (var o in r)
1466
- Object.prototype.hasOwnProperty.call(r, o) && (t[o] = r[o]);
1467
- }
1468
- return t;
1469
- }, w.apply(this, arguments);
1470
- };
1471
- var Vn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1472
- function Xn(e) {
1450
+ var jn = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
1451
+ function kn(e) {
1473
1452
  if (e.length === 0)
1474
1453
  throw new Error("Number skeleton cannot be empty");
1475
- for (var t = e.split(Vn).filter(function(f) {
1454
+ for (var t = e.split(jn).filter(function(f) {
1476
1455
  return f.length > 0;
1477
1456
  }), r = [], n = 0, i = t; n < i.length; n++) {
1478
1457
  var o = i[n], s = o.split("/");
@@ -1487,17 +1466,17 @@ function Xn(e) {
1487
1466
  }
1488
1467
  return r;
1489
1468
  }
1490
- function zn(e) {
1469
+ function Vn(e) {
1491
1470
  return e.replace(/^(.*?)-/, "");
1492
1471
  }
1493
- var xt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, sr = /^(@+)?(\+|#+)?[rs]?$/g, Wn = /(\*)(0+)|(#+)(0+)|(0+)/g, ar = /^(0+)$/;
1494
- function Et(e) {
1472
+ var yt = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, or = /^(@+)?(\+|#+)?[rs]?$/g, Xn = /(\*)(0+)|(#+)(0+)|(0+)/g, sr = /^(0+)$/;
1473
+ function xt(e) {
1495
1474
  var t = {};
1496
- return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(sr, function(r, n, i) {
1475
+ return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(or, function(r, n, i) {
1497
1476
  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)), "";
1498
1477
  }), t;
1499
1478
  }
1500
- function ur(e) {
1479
+ function ar(e) {
1501
1480
  switch (e) {
1502
1481
  case "sign-auto":
1503
1482
  return {
@@ -1537,7 +1516,7 @@ function ur(e) {
1537
1516
  };
1538
1517
  }
1539
1518
  }
1540
- function Zn(e) {
1519
+ function zn(e) {
1541
1520
  var t;
1542
1521
  if (e[0] === "E" && e[1] === "E" ? (t = {
1543
1522
  notation: "engineering"
@@ -1545,17 +1524,17 @@ function Zn(e) {
1545
1524
  notation: "scientific"
1546
1525
  }, e = e.slice(1)), t) {
1547
1526
  var r = e.slice(0, 2);
1548
- if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !ar.test(e))
1527
+ if (r === "+!" ? (t.signDisplay = "always", e = e.slice(2)) : r === "+?" && (t.signDisplay = "exceptZero", e = e.slice(2)), !sr.test(e))
1549
1528
  throw new Error("Malformed concise eng/scientific notation");
1550
1529
  t.minimumIntegerDigits = e.length;
1551
1530
  }
1552
1531
  return t;
1553
1532
  }
1554
- function St(e) {
1555
- var t = {}, r = ur(e);
1533
+ function _t(e) {
1534
+ var t = {}, r = ar(e);
1556
1535
  return r || t;
1557
1536
  }
1558
- function Qn(e) {
1537
+ function Wn(e) {
1559
1538
  for (var t = {}, r = 0, n = e; r < n.length; r++) {
1560
1539
  var i = n[r];
1561
1540
  switch (i.stem) {
@@ -1579,7 +1558,7 @@ function Qn(e) {
1579
1558
  continue;
1580
1559
  case "measure-unit":
1581
1560
  case "unit":
1582
- t.style = "unit", t.unit = zn(i.options[0]);
1561
+ t.style = "unit", t.unit = Vn(i.options[0]);
1583
1562
  continue;
1584
1563
  case "compact-short":
1585
1564
  case "K":
@@ -1590,13 +1569,13 @@ function Qn(e) {
1590
1569
  t.notation = "compact", t.compactDisplay = "long";
1591
1570
  continue;
1592
1571
  case "scientific":
1593
- t = w(w(w({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1594
- return w(w({}, l), St(u));
1572
+ t = y(y(y({}, t), { notation: "scientific" }), i.options.reduce(function(l, u) {
1573
+ return y(y({}, l), _t(u));
1595
1574
  }, {}));
1596
1575
  continue;
1597
1576
  case "engineering":
1598
- t = w(w(w({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1599
- return w(w({}, l), St(u));
1577
+ t = y(y(y({}, t), { notation: "engineering" }), i.options.reduce(function(l, u) {
1578
+ return y(y({}, l), _t(u));
1600
1579
  }, {}));
1601
1580
  continue;
1602
1581
  case "notation-simple":
@@ -1641,7 +1620,7 @@ function Qn(e) {
1641
1620
  case "integer-width":
1642
1621
  if (i.options.length > 1)
1643
1622
  throw new RangeError("integer-width stems only accept a single optional option");
1644
- i.options[0].replace(Wn, function(l, u, h, c, f, m) {
1623
+ i.options[0].replace(Xn, function(l, u, h, c, f, m) {
1645
1624
  if (u)
1646
1625
  t.minimumIntegerDigits = h.length;
1647
1626
  else {
@@ -1654,28 +1633,28 @@ function Qn(e) {
1654
1633
  });
1655
1634
  continue;
1656
1635
  }
1657
- if (ar.test(i.stem)) {
1636
+ if (sr.test(i.stem)) {
1658
1637
  t.minimumIntegerDigits = i.stem.length;
1659
1638
  continue;
1660
1639
  }
1661
- if (xt.test(i.stem)) {
1640
+ if (yt.test(i.stem)) {
1662
1641
  if (i.options.length > 1)
1663
1642
  throw new RangeError("Fraction-precision stems only accept a single optional option");
1664
- i.stem.replace(xt, function(l, u, h, c, f, m) {
1643
+ i.stem.replace(yt, function(l, u, h, c, f, m) {
1665
1644
  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), "";
1666
1645
  });
1667
1646
  var o = i.options[0];
1668
- o === "w" ? t = w(w({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = w(w({}, t), Et(o)));
1647
+ o === "w" ? t = y(y({}, t), { trailingZeroDisplay: "stripIfInteger" }) : o && (t = y(y({}, t), xt(o)));
1669
1648
  continue;
1670
1649
  }
1671
- if (sr.test(i.stem)) {
1672
- t = w(w({}, t), Et(i.stem));
1650
+ if (or.test(i.stem)) {
1651
+ t = y(y({}, t), xt(i.stem));
1673
1652
  continue;
1674
1653
  }
1675
- var s = ur(i.stem);
1676
- s && (t = w(w({}, t), s));
1677
- var a = Zn(i.stem);
1678
- a && (t = w(w({}, t), a));
1654
+ var s = ar(i.stem);
1655
+ s && (t = y(y({}, t), s));
1656
+ var a = zn(i.stem);
1657
+ a && (t = y(y({}, t), a));
1679
1658
  }
1680
1659
  return t;
1681
1660
  }
@@ -3094,13 +3073,13 @@ var ce = {
3094
3073
  "h"
3095
3074
  ]
3096
3075
  };
3097
- function Jn(e, t) {
3076
+ function Zn(e, t) {
3098
3077
  for (var r = "", n = 0; n < e.length; n++) {
3099
3078
  var i = e.charAt(n);
3100
3079
  if (i === "j") {
3101
3080
  for (var o = 0; n + 1 < e.length && e.charAt(n + 1) === i; )
3102
3081
  o++, n++;
3103
- var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = qn(t);
3082
+ var s = 1 + (o & 1), a = o < 2 ? 1 : 3 + (o >> 1), l = "a", u = Qn(t);
3104
3083
  for ((u == "H" || u == "k") && (a = 0); a-- > 0; )
3105
3084
  r += l;
3106
3085
  for (; s-- > 0; )
@@ -3110,7 +3089,7 @@ function Jn(e, t) {
3110
3089
  }
3111
3090
  return r;
3112
3091
  }
3113
- function qn(e) {
3092
+ function Qn(e) {
3114
3093
  var t = e.hourCycle;
3115
3094
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3116
3095
  e.hourCycles && // @ts-ignore
@@ -3132,20 +3111,20 @@ function qn(e) {
3132
3111
  var i = ce[n || ""] || ce[r || ""] || ce["".concat(r, "-001")] || ce["001"];
3133
3112
  return i[0];
3134
3113
  }
3135
- var Ie, Yn = new RegExp("^".concat(or.source, "*")), Kn = new RegExp("".concat(or.source, "*$"));
3114
+ var Pe, Jn = new RegExp("^".concat(ir.source, "*")), qn = new RegExp("".concat(ir.source, "*$"));
3136
3115
  function g(e, t) {
3137
3116
  return { start: e, end: t };
3138
3117
  }
3139
- var ei = !!String.prototype.startsWith && "_a".startsWith("a", 1), ti = !!String.fromCodePoint, ri = !!Object.fromEntries, ni = !!String.prototype.codePointAt, ii = !!String.prototype.trimStart, oi = !!String.prototype.trimEnd, si = !!Number.isSafeInteger, ai = si ? Number.isSafeInteger : function(e) {
3118
+ var Yn = !!String.prototype.startsWith && "_a".startsWith("a", 1), Kn = !!String.fromCodePoint, ei = !!Object.fromEntries, ti = !!String.prototype.codePointAt, ri = !!String.prototype.trimStart, ni = !!String.prototype.trimEnd, ii = !!Number.isSafeInteger, oi = ii ? Number.isSafeInteger : function(e) {
3140
3119
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3141
- }, We = !0;
3120
+ }, ke = !0;
3142
3121
  try {
3143
- var ui = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3144
- We = ((Ie = ui.exec("a")) === null || Ie === void 0 ? void 0 : Ie[0]) === "a";
3122
+ var si = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3123
+ ke = ((Pe = si.exec("a")) === null || Pe === void 0 ? void 0 : Pe[0]) === "a";
3145
3124
  } catch (e) {
3146
- We = !1;
3125
+ ke = !1;
3147
3126
  }
3148
- var wt = ei ? (
3127
+ var Et = Yn ? (
3149
3128
  // Native
3150
3129
  function(t, r, n) {
3151
3130
  return t.startsWith(r, n);
@@ -3155,7 +3134,7 @@ var wt = ei ? (
3155
3134
  function(t, r, n) {
3156
3135
  return t.slice(n, n + r.length) === r;
3157
3136
  }
3158
- ), Ze = ti ? String.fromCodePoint : (
3137
+ ), Ve = Kn ? String.fromCodePoint : (
3159
3138
  // IE11
3160
3139
  function() {
3161
3140
  for (var t = [], r = 0; r < arguments.length; r++)
@@ -3167,9 +3146,9 @@ var wt = ei ? (
3167
3146
  }
3168
3147
  return n;
3169
3148
  }
3170
- ), Tt = (
3149
+ ), St = (
3171
3150
  // native
3172
- ri ? Object.fromEntries : (
3151
+ ei ? Object.fromEntries : (
3173
3152
  // Ponyfill
3174
3153
  function(t) {
3175
3154
  for (var r = {}, n = 0, i = t; n < i.length; n++) {
@@ -3179,7 +3158,7 @@ var wt = ei ? (
3179
3158
  return r;
3180
3159
  }
3181
3160
  )
3182
- ), lr = ni ? (
3161
+ ), ur = ti ? (
3183
3162
  // Native
3184
3163
  function(t, r) {
3185
3164
  return t.codePointAt(r);
@@ -3193,7 +3172,7 @@ var wt = ei ? (
3193
3172
  return i < 55296 || i > 56319 || r + 1 === n || (o = t.charCodeAt(r + 1)) < 56320 || o > 57343 ? i : (i - 55296 << 10) + (o - 56320) + 65536;
3194
3173
  }
3195
3174
  }
3196
- ), li = ii ? (
3175
+ ), ai = ri ? (
3197
3176
  // Native
3198
3177
  function(t) {
3199
3178
  return t.trimStart();
@@ -3201,9 +3180,9 @@ var wt = ei ? (
3201
3180
  ) : (
3202
3181
  // Ponyfill
3203
3182
  function(t) {
3204
- return t.replace(Yn, "");
3183
+ return t.replace(Jn, "");
3205
3184
  }
3206
- ), hi = oi ? (
3185
+ ), ui = ni ? (
3207
3186
  // Native
3208
3187
  function(t) {
3209
3188
  return t.trimEnd();
@@ -3211,32 +3190,32 @@ var wt = ei ? (
3211
3190
  ) : (
3212
3191
  // Ponyfill
3213
3192
  function(t) {
3214
- return t.replace(Kn, "");
3193
+ return t.replace(qn, "");
3215
3194
  }
3216
3195
  );
3217
- function hr(e, t) {
3196
+ function lr(e, t) {
3218
3197
  return new RegExp(e, t);
3219
3198
  }
3220
- var Qe;
3221
- if (We) {
3222
- var Ht = hr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3223
- Qe = function(t, r) {
3199
+ var Xe;
3200
+ if (ke) {
3201
+ var wt = lr("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3202
+ Xe = function(t, r) {
3224
3203
  var n;
3225
- Ht.lastIndex = r;
3226
- var i = Ht.exec(t);
3204
+ wt.lastIndex = r;
3205
+ var i = wt.exec(t);
3227
3206
  return (n = i[1]) !== null && n !== void 0 ? n : "";
3228
3207
  };
3229
3208
  } else
3230
- Qe = function(t, r) {
3209
+ Xe = function(t, r) {
3231
3210
  for (var n = []; ; ) {
3232
- var i = lr(t, r);
3233
- if (i === void 0 || cr(i) || pi(i))
3211
+ var i = ur(t, r);
3212
+ if (i === void 0 || hr(i) || fi(i))
3234
3213
  break;
3235
3214
  n.push(i), r += i >= 65536 ? 2 : 1;
3236
3215
  }
3237
- return Ze.apply(void 0, n);
3216
+ return Ve.apply(void 0, n);
3238
3217
  };
3239
- var ci = (
3218
+ var li = (
3240
3219
  /** @class */
3241
3220
  function() {
3242
3221
  function e(t, r) {
@@ -3260,14 +3239,14 @@ var ci = (
3260
3239
  if (o === 35 && (r === "plural" || r === "selectordinal")) {
3261
3240
  var a = this.clonePosition();
3262
3241
  this.bump(), i.push({
3263
- type: E.pound,
3242
+ type: S.pound,
3264
3243
  location: g(a, this.clonePosition())
3265
3244
  });
3266
3245
  } else if (o === 60 && !this.ignoreTag && this.peek() === 47) {
3267
3246
  if (n)
3268
3247
  break;
3269
- return this.error(p.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3270
- } else if (o === 60 && !this.ignoreTag && Je(this.peek() || 0)) {
3248
+ return this.error(d.UNMATCHED_CLOSING_TAG, g(this.clonePosition(), this.clonePosition()));
3249
+ } else if (o === 60 && !this.ignoreTag && ze(this.peek() || 0)) {
3271
3250
  var s = this.parseTag(t, r);
3272
3251
  if (s.err)
3273
3252
  return s;
@@ -3288,7 +3267,7 @@ var ci = (
3288
3267
  if (this.bumpSpace(), this.bumpIf("/>"))
3289
3268
  return {
3290
3269
  val: {
3291
- type: E.literal,
3270
+ type: S.literal,
3292
3271
  value: "<".concat(i, "/>"),
3293
3272
  location: g(n, this.clonePosition())
3294
3273
  },
@@ -3300,25 +3279,25 @@ var ci = (
3300
3279
  return o;
3301
3280
  var s = o.val, a = this.clonePosition();
3302
3281
  if (this.bumpIf("</")) {
3303
- if (this.isEOF() || !Je(this.char()))
3304
- return this.error(p.INVALID_TAG, g(a, this.clonePosition()));
3282
+ if (this.isEOF() || !ze(this.char()))
3283
+ return this.error(d.INVALID_TAG, g(a, this.clonePosition()));
3305
3284
  var l = this.clonePosition(), u = this.parseTagName();
3306
- return i !== u ? this.error(p.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3285
+ return i !== u ? this.error(d.UNMATCHED_CLOSING_TAG, g(l, this.clonePosition())) : (this.bumpSpace(), this.bumpIf(">") ? {
3307
3286
  val: {
3308
- type: E.tag,
3287
+ type: S.tag,
3309
3288
  value: i,
3310
3289
  children: s,
3311
3290
  location: g(n, this.clonePosition())
3312
3291
  },
3313
3292
  err: null
3314
- } : this.error(p.INVALID_TAG, g(a, this.clonePosition())));
3293
+ } : this.error(d.INVALID_TAG, g(a, this.clonePosition())));
3315
3294
  } else
3316
- return this.error(p.UNCLOSED_TAG, g(n, this.clonePosition()));
3295
+ return this.error(d.UNCLOSED_TAG, g(n, this.clonePosition()));
3317
3296
  } else
3318
- return this.error(p.INVALID_TAG, g(n, this.clonePosition()));
3297
+ return this.error(d.INVALID_TAG, g(n, this.clonePosition()));
3319
3298
  }, e.prototype.parseTagName = function() {
3320
3299
  var t = this.offset();
3321
- for (this.bump(); !this.isEOF() && mi(this.char()); )
3300
+ for (this.bump(); !this.isEOF() && ci(this.char()); )
3322
3301
  this.bump();
3323
3302
  return this.message.slice(t, this.offset());
3324
3303
  }, e.prototype.parseLiteral = function(t, r) {
@@ -3342,12 +3321,12 @@ var ci = (
3342
3321
  }
3343
3322
  var l = g(n, this.clonePosition());
3344
3323
  return {
3345
- val: { type: E.literal, value: i, location: l },
3324
+ val: { type: S.literal, value: i, location: l },
3346
3325
  err: null
3347
3326
  };
3348
3327
  }, e.prototype.tryParseLeftAngleBracket = function() {
3349
3328
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3350
- !fi(this.peek() || 0)) ? (this.bump(), "<") : null;
3329
+ !hi(this.peek() || 0)) ? (this.bump(), "<") : null;
3351
3330
  }, e.prototype.tryParseQuote = function(t) {
3352
3331
  if (this.isEOF() || this.char() !== 39)
3353
3332
  return null;
@@ -3381,28 +3360,28 @@ var ci = (
3381
3360
  r.push(n);
3382
3361
  this.bump();
3383
3362
  }
3384
- return Ze.apply(void 0, r);
3363
+ return Ve.apply(void 0, r);
3385
3364
  }, e.prototype.tryParseUnquoted = function(t, r) {
3386
3365
  if (this.isEOF())
3387
3366
  return null;
3388
3367
  var n = this.char();
3389
- return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ze(n));
3368
+ return n === 60 || n === 123 || n === 35 && (r === "plural" || r === "selectordinal") || n === 125 && t > 0 ? null : (this.bump(), Ve(n));
3390
3369
  }, e.prototype.parseArgument = function(t, r) {
3391
3370
  var n = this.clonePosition();
3392
3371
  if (this.bump(), this.bumpSpace(), this.isEOF())
3393
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3372
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3394
3373
  if (this.char() === 125)
3395
- return this.bump(), this.error(p.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3374
+ return this.bump(), this.error(d.EMPTY_ARGUMENT, g(n, this.clonePosition()));
3396
3375
  var i = this.parseIdentifierIfPossible().value;
3397
3376
  if (!i)
3398
- return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3377
+ return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3399
3378
  if (this.bumpSpace(), this.isEOF())
3400
- return this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3379
+ return this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition()));
3401
3380
  switch (this.char()) {
3402
3381
  case 125:
3403
3382
  return this.bump(), {
3404
3383
  val: {
3405
- type: E.argument,
3384
+ type: S.argument,
3406
3385
  // value does not include the opening and closing braces.
3407
3386
  value: i,
3408
3387
  location: g(n, this.clonePosition())
@@ -3410,12 +3389,12 @@ var ci = (
3410
3389
  err: null
3411
3390
  };
3412
3391
  case 44:
3413
- return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3392
+ return this.bump(), this.bumpSpace(), this.isEOF() ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(n, this.clonePosition())) : this.parseArgumentOptions(t, r, i, n);
3414
3393
  default:
3415
- return this.error(p.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3394
+ return this.error(d.MALFORMED_ARGUMENT, g(n, this.clonePosition()));
3416
3395
  }
3417
3396
  }, e.prototype.parseIdentifierIfPossible = function() {
3418
- var t = this.clonePosition(), r = this.offset(), n = Qe(this.message, r), i = r + n.length;
3397
+ var t = this.clonePosition(), r = this.offset(), n = Xe(this.message, r), i = r + n.length;
3419
3398
  this.bumpTo(i);
3420
3399
  var o = this.clonePosition(), s = g(t, o);
3421
3400
  return { value: n, location: s };
@@ -3423,7 +3402,7 @@ var ci = (
3423
3402
  var o, s = this.clonePosition(), a = this.parseIdentifierIfPossible().value, l = this.clonePosition();
3424
3403
  switch (a) {
3425
3404
  case "":
3426
- return this.error(p.EXPECT_ARGUMENT_TYPE, g(s, l));
3405
+ return this.error(d.EXPECT_ARGUMENT_TYPE, g(s, l));
3427
3406
  case "number":
3428
3407
  case "date":
3429
3408
  case "time": {
@@ -3434,46 +3413,46 @@ var ci = (
3434
3413
  var h = this.clonePosition(), c = this.parseSimpleArgStyleIfPossible();
3435
3414
  if (c.err)
3436
3415
  return c;
3437
- var f = hi(c.val);
3416
+ var f = ui(c.val);
3438
3417
  if (f.length === 0)
3439
- return this.error(p.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3418
+ return this.error(d.EXPECT_ARGUMENT_STYLE, g(this.clonePosition(), this.clonePosition()));
3440
3419
  var m = g(h, this.clonePosition());
3441
3420
  u = { style: f, styleLocation: m };
3442
3421
  }
3443
3422
  var v = this.tryParseArgumentClose(i);
3444
3423
  if (v.err)
3445
3424
  return v;
3446
- var d = g(i, this.clonePosition());
3447
- if (u && wt(u == null ? void 0 : u.style, "::", 0)) {
3448
- var S = li(u.style.slice(2));
3425
+ var p = g(i, this.clonePosition());
3426
+ if (u && Et(u == null ? void 0 : u.style, "::", 0)) {
3427
+ var w = ai(u.style.slice(2));
3449
3428
  if (a === "number") {
3450
- var c = this.parseNumberSkeletonFromString(S, u.styleLocation);
3429
+ var c = this.parseNumberSkeletonFromString(w, u.styleLocation);
3451
3430
  return c.err ? c : {
3452
- val: { type: E.number, value: n, location: d, style: c.val },
3431
+ val: { type: S.number, value: n, location: p, style: c.val },
3453
3432
  err: null
3454
3433
  };
3455
3434
  } else {
3456
- if (S.length === 0)
3457
- return this.error(p.EXPECT_DATE_TIME_SKELETON, d);
3458
- var P = S;
3459
- this.locale && (P = Jn(S, this.locale));
3435
+ if (w.length === 0)
3436
+ return this.error(d.EXPECT_DATE_TIME_SKELETON, p);
3437
+ var P = w;
3438
+ this.locale && (P = Zn(w, this.locale));
3460
3439
  var f = {
3461
- type: X.dateTime,
3440
+ type: z.dateTime,
3462
3441
  pattern: P,
3463
3442
  location: u.styleLocation,
3464
- parsedOptions: this.shouldParseSkeletons ? kn(P) : {}
3465
- }, H = a === "date" ? E.date : E.time;
3443
+ parsedOptions: this.shouldParseSkeletons ? Fn(P) : {}
3444
+ }, H = a === "date" ? S.date : S.time;
3466
3445
  return {
3467
- val: { type: H, value: n, location: d, style: f },
3446
+ val: { type: H, value: n, location: p, style: f },
3468
3447
  err: null
3469
3448
  };
3470
3449
  }
3471
3450
  }
3472
3451
  return {
3473
3452
  val: {
3474
- type: a === "number" ? E.number : a === "date" ? E.date : E.time,
3453
+ type: a === "number" ? S.number : a === "date" ? S.date : S.time,
3475
3454
  value: n,
3476
- location: d,
3455
+ location: p,
3477
3456
  style: (o = u == null ? void 0 : u.style) !== null && o !== void 0 ? o : null
3478
3457
  },
3479
3458
  err: null
@@ -3484,19 +3463,19 @@ var ci = (
3484
3463
  case "select": {
3485
3464
  var _ = this.clonePosition();
3486
3465
  if (this.bumpSpace(), !this.bumpIf(","))
3487
- return this.error(p.EXPECT_SELECT_ARGUMENT_OPTIONS, g(_, ge({}, _)));
3466
+ return this.error(d.EXPECT_SELECT_ARGUMENT_OPTIONS, g(_, y({}, _)));
3488
3467
  this.bumpSpace();
3489
- var x = this.parseIdentifierIfPossible(), y = 0;
3490
- if (a !== "select" && x.value === "offset") {
3468
+ var E = this.parseIdentifierIfPossible(), x = 0;
3469
+ if (a !== "select" && E.value === "offset") {
3491
3470
  if (!this.bumpIf(":"))
3492
- return this.error(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3471
+ return this.error(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, g(this.clonePosition(), this.clonePosition()));
3493
3472
  this.bumpSpace();
3494
- var c = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, p.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3473
+ var c = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_OFFSET_VALUE, d.INVALID_PLURAL_ARGUMENT_OFFSET_VALUE);
3495
3474
  if (c.err)
3496
3475
  return c;
3497
- this.bumpSpace(), x = this.parseIdentifierIfPossible(), y = c.val;
3476
+ this.bumpSpace(), E = this.parseIdentifierIfPossible(), x = c.val;
3498
3477
  }
3499
- var A = this.tryParsePluralOrSelectOptions(t, a, r, x);
3478
+ var A = this.tryParsePluralOrSelectOptions(t, a, r, E);
3500
3479
  if (A.err)
3501
3480
  return A;
3502
3481
  var v = this.tryParseArgumentClose(i);
@@ -3505,18 +3484,18 @@ var ci = (
3505
3484
  var ue = g(i, this.clonePosition());
3506
3485
  return a === "select" ? {
3507
3486
  val: {
3508
- type: E.select,
3487
+ type: S.select,
3509
3488
  value: n,
3510
- options: Tt(A.val),
3489
+ options: St(A.val),
3511
3490
  location: ue
3512
3491
  },
3513
3492
  err: null
3514
3493
  } : {
3515
3494
  val: {
3516
- type: E.plural,
3495
+ type: S.plural,
3517
3496
  value: n,
3518
- options: Tt(A.val),
3519
- offset: y,
3497
+ options: St(A.val),
3498
+ offset: x,
3520
3499
  pluralType: a === "plural" ? "cardinal" : "ordinal",
3521
3500
  location: ue
3522
3501
  },
@@ -3524,10 +3503,10 @@ var ci = (
3524
3503
  };
3525
3504
  }
3526
3505
  default:
3527
- return this.error(p.INVALID_ARGUMENT_TYPE, g(s, l));
3506
+ return this.error(d.INVALID_ARGUMENT_TYPE, g(s, l));
3528
3507
  }
3529
3508
  }, e.prototype.tryParseArgumentClose = function(t) {
3530
- return this.isEOF() || this.char() !== 125 ? this.error(p.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3509
+ return this.isEOF() || this.char() !== 125 ? this.error(d.EXPECT_ARGUMENT_CLOSING_BRACE, g(t, this.clonePosition())) : (this.bump(), { val: !0, err: null });
3531
3510
  }, e.prototype.parseSimpleArgStyleIfPossible = function() {
3532
3511
  for (var t = 0, r = this.clonePosition(); !this.isEOF(); ) {
3533
3512
  var n = this.char();
@@ -3536,7 +3515,7 @@ var ci = (
3536
3515
  this.bump();
3537
3516
  var i = this.clonePosition();
3538
3517
  if (!this.bumpUntil("'"))
3539
- return this.error(p.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3518
+ return this.error(d.UNCLOSED_QUOTE_IN_ARGUMENT_STYLE, g(i, this.clonePosition()));
3540
3519
  this.bump();
3541
3520
  break;
3542
3521
  }
@@ -3566,16 +3545,16 @@ var ci = (
3566
3545
  }, e.prototype.parseNumberSkeletonFromString = function(t, r) {
3567
3546
  var n = [];
3568
3547
  try {
3569
- n = Xn(t);
3548
+ n = kn(t);
3570
3549
  } catch (i) {
3571
- return this.error(p.INVALID_NUMBER_SKELETON, r);
3550
+ return this.error(d.INVALID_NUMBER_SKELETON, r);
3572
3551
  }
3573
3552
  return {
3574
3553
  val: {
3575
- type: X.number,
3554
+ type: z.number,
3576
3555
  tokens: n,
3577
3556
  location: r,
3578
- parsedOptions: this.shouldParseSkeletons ? Qn(n) : {}
3557
+ parsedOptions: this.shouldParseSkeletons ? Wn(n) : {}
3579
3558
  },
3580
3559
  err: null
3581
3560
  };
@@ -3584,7 +3563,7 @@ var ci = (
3584
3563
  if (u.length === 0) {
3585
3564
  var c = this.clonePosition();
3586
3565
  if (r !== "select" && this.bumpIf("=")) {
3587
- var f = this.tryParseDecimalInteger(p.EXPECT_PLURAL_ARGUMENT_SELECTOR, p.INVALID_PLURAL_ARGUMENT_SELECTOR);
3566
+ var f = this.tryParseDecimalInteger(d.EXPECT_PLURAL_ARGUMENT_SELECTOR, d.INVALID_PLURAL_ARGUMENT_SELECTOR);
3588
3567
  if (f.err)
3589
3568
  return f;
3590
3569
  h = g(c, this.clonePosition()), u = this.message.slice(c.offset, this.offset());
@@ -3592,17 +3571,17 @@ var ci = (
3592
3571
  break;
3593
3572
  }
3594
3573
  if (l.has(u))
3595
- return this.error(r === "select" ? p.DUPLICATE_SELECT_ARGUMENT_SELECTOR : p.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3574
+ return this.error(r === "select" ? d.DUPLICATE_SELECT_ARGUMENT_SELECTOR : d.DUPLICATE_PLURAL_ARGUMENT_SELECTOR, h);
3596
3575
  u === "other" && (s = !0), this.bumpSpace();
3597
3576
  var m = this.clonePosition();
3598
3577
  if (!this.bumpIf("{"))
3599
- return this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : p.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3578
+ return this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR_FRAGMENT : d.EXPECT_PLURAL_ARGUMENT_SELECTOR_FRAGMENT, g(this.clonePosition(), this.clonePosition()));
3600
3579
  var v = this.parseMessage(t + 1, r, n);
3601
3580
  if (v.err)
3602
3581
  return v;
3603
- var d = this.tryParseArgumentClose(m);
3604
- if (d.err)
3605
- return d;
3582
+ var p = this.tryParseArgumentClose(m);
3583
+ if (p.err)
3584
+ return p;
3606
3585
  a.push([
3607
3586
  u,
3608
3587
  {
@@ -3611,7 +3590,7 @@ var ci = (
3611
3590
  }
3612
3591
  ]), l.add(u), this.bumpSpace(), o = this.parseIdentifierIfPossible(), u = o.value, h = o.location;
3613
3592
  }
3614
- return a.length === 0 ? this.error(r === "select" ? p.EXPECT_SELECT_ARGUMENT_SELECTOR : p.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(p.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3593
+ return a.length === 0 ? this.error(r === "select" ? d.EXPECT_SELECT_ARGUMENT_SELECTOR : d.EXPECT_PLURAL_ARGUMENT_SELECTOR, g(this.clonePosition(), this.clonePosition())) : this.requiresOtherClause && !s ? this.error(d.MISSING_OTHER_CLAUSE, g(this.clonePosition(), this.clonePosition())) : { val: a, err: null };
3615
3594
  }, e.prototype.tryParseDecimalInteger = function(t, r) {
3616
3595
  var n = 1, i = this.clonePosition();
3617
3596
  this.bumpIf("+") || this.bumpIf("-") && (n = -1);
@@ -3623,7 +3602,7 @@ var ci = (
3623
3602
  break;
3624
3603
  }
3625
3604
  var l = g(i, this.clonePosition());
3626
- return o ? (s *= n, ai(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3605
+ return o ? (s *= n, oi(s) ? { val: s, err: null } : this.error(r, l)) : this.error(t, l);
3627
3606
  }, e.prototype.offset = function() {
3628
3607
  return this.position.offset;
3629
3608
  }, e.prototype.isEOF = function() {
@@ -3638,7 +3617,7 @@ var ci = (
3638
3617
  var t = this.position.offset;
3639
3618
  if (t >= this.message.length)
3640
3619
  throw Error("out of bound");
3641
- var r = lr(this.message, t);
3620
+ var r = ur(this.message, t);
3642
3621
  if (r === void 0)
3643
3622
  throw Error("Offset ".concat(t, " is at invalid UTF-16 code unit boundary"));
3644
3623
  return r;
@@ -3657,7 +3636,7 @@ var ci = (
3657
3636
  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);
3658
3637
  }
3659
3638
  }, e.prototype.bumpIf = function(t) {
3660
- if (wt(this.message, t, this.offset())) {
3639
+ if (Et(this.message, t, this.offset())) {
3661
3640
  for (var r = 0; r < t.length; r++)
3662
3641
  this.bump();
3663
3642
  return !0;
@@ -3679,7 +3658,7 @@ var ci = (
3679
3658
  break;
3680
3659
  }
3681
3660
  }, e.prototype.bumpSpace = function() {
3682
- for (; !this.isEOF() && cr(this.char()); )
3661
+ for (; !this.isEOF() && hr(this.char()); )
3683
3662
  this.bump();
3684
3663
  }, e.prototype.peek = function() {
3685
3664
  if (this.isEOF())
@@ -3689,47 +3668,47 @@ var ci = (
3689
3668
  }, e;
3690
3669
  }()
3691
3670
  );
3692
- function Je(e) {
3671
+ function ze(e) {
3693
3672
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
3694
3673
  }
3695
- function fi(e) {
3696
- return Je(e) || e === 47;
3674
+ function hi(e) {
3675
+ return ze(e) || e === 47;
3697
3676
  }
3698
- function mi(e) {
3677
+ function ci(e) {
3699
3678
  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;
3700
3679
  }
3701
- function cr(e) {
3680
+ function hr(e) {
3702
3681
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
3703
3682
  }
3704
- function pi(e) {
3683
+ function fi(e) {
3705
3684
  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;
3706
3685
  }
3707
- function qe(e) {
3686
+ function We(e) {
3708
3687
  e.forEach(function(t) {
3709
- if (delete t.location, tr(t) || rr(t))
3688
+ if (delete t.location, er(t) || tr(t))
3710
3689
  for (var r in t.options)
3711
- delete t.options[r].location, qe(t.options[r].value);
3690
+ delete t.options[r].location, We(t.options[r].value);
3712
3691
  else
3713
- Yt(t) && ir(t.style) || (Kt(t) || er(t)) && ze(t.style) ? delete t.style.location : nr(t) && qe(t.children);
3692
+ qt(t) && nr(t.style) || (Yt(t) || Kt(t)) && je(t.style) ? delete t.style.location : rr(t) && We(t.children);
3714
3693
  });
3715
3694
  }
3716
- function di(e, t) {
3717
- t === void 0 && (t = {}), t = ge({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3718
- var r = new ci(e, t).parse();
3695
+ function mi(e, t) {
3696
+ t === void 0 && (t = {}), t = y({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
3697
+ var r = new li(e, t).parse();
3719
3698
  if (r.err) {
3720
- var n = SyntaxError(p[r.err.kind]);
3699
+ var n = SyntaxError(d[r.err.kind]);
3721
3700
  throw n.location = r.err.location, n.originalMessage = r.err.message, n;
3722
3701
  }
3723
- return t != null && t.captureLocation || qe(r.val), r.val;
3702
+ return t != null && t.captureLocation || We(r.val), r.val;
3724
3703
  }
3725
- var z;
3704
+ var W;
3726
3705
  (function(e) {
3727
3706
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
3728
- })(z || (z = {}));
3729
- var Se = (
3707
+ })(W || (W = {}));
3708
+ var _e = (
3730
3709
  /** @class */
3731
3710
  function(e) {
3732
- Ee(t, e);
3711
+ R(t, e);
3733
3712
  function t(r, n, i) {
3734
3713
  var o = e.call(this, r) || this;
3735
3714
  return o.code = n, o.originalMessage = i, o;
@@ -3738,48 +3717,48 @@ var Se = (
3738
3717
  return "[formatjs Error: ".concat(this.code, "] ").concat(this.message);
3739
3718
  }, t;
3740
3719
  }(Error)
3741
- ), At = (
3720
+ ), Tt = (
3742
3721
  /** @class */
3743
3722
  function(e) {
3744
- Ee(t, e);
3723
+ R(t, e);
3745
3724
  function t(r, n, i, o) {
3746
- return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), z.INVALID_VALUE, o) || this;
3725
+ return e.call(this, 'Invalid values for "'.concat(r, '": "').concat(n, '". Options are "').concat(Object.keys(i).join('", "'), '"'), W.INVALID_VALUE, o) || this;
3747
3726
  }
3748
3727
  return t;
3749
- }(Se)
3750
- ), bi = (
3728
+ }(_e)
3729
+ ), di = (
3751
3730
  /** @class */
3752
3731
  function(e) {
3753
- Ee(t, e);
3732
+ R(t, e);
3754
3733
  function t(r, n, i) {
3755
- return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), z.INVALID_VALUE, i) || this;
3734
+ return e.call(this, 'Value for "'.concat(r, '" must be of type ').concat(n), W.INVALID_VALUE, i) || this;
3756
3735
  }
3757
3736
  return t;
3758
- }(Se)
3759
- ), gi = (
3737
+ }(_e)
3738
+ ), pi = (
3760
3739
  /** @class */
3761
3740
  function(e) {
3762
- Ee(t, e);
3741
+ R(t, e);
3763
3742
  function t(r, n) {
3764
- return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), z.MISSING_VALUE, n) || this;
3743
+ return e.call(this, 'The intl string context variable "'.concat(r, '" was not provided to the string "').concat(n, '"'), W.MISSING_VALUE, n) || this;
3765
3744
  }
3766
3745
  return t;
3767
- }(Se)
3746
+ }(_e)
3768
3747
  ), C;
3769
3748
  (function(e) {
3770
3749
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
3771
3750
  })(C || (C = {}));
3772
- function vi(e) {
3751
+ function bi(e) {
3773
3752
  return e.length < 2 ? e : e.reduce(function(t, r) {
3774
3753
  var n = t[t.length - 1];
3775
3754
  return !n || n.type !== C.literal || r.type !== C.literal ? t.push(r) : n.value += r.value, t;
3776
3755
  }, []);
3777
3756
  }
3778
- function yi(e) {
3757
+ function gi(e) {
3779
3758
  return typeof e == "function";
3780
3759
  }
3781
- function de(e, t, r, n, i, o, s) {
3782
- if (e.length === 1 && _t(e[0]))
3760
+ function pe(e, t, r, n, i, o, s) {
3761
+ if (e.length === 1 && vt(e[0]))
3783
3762
  return [
3784
3763
  {
3785
3764
  type: C.literal,
@@ -3788,14 +3767,14 @@ function de(e, t, r, n, i, o, s) {
3788
3767
  ];
3789
3768
  for (var a = [], l = 0, u = e; l < u.length; l++) {
3790
3769
  var h = u[l];
3791
- if (_t(h)) {
3770
+ if (vt(h)) {
3792
3771
  a.push({
3793
3772
  type: C.literal,
3794
3773
  value: h.value
3795
3774
  });
3796
3775
  continue;
3797
3776
  }
3798
- if (Fn(h)) {
3777
+ if (Un(h)) {
3799
3778
  typeof o == "number" && a.push({
3800
3779
  type: C.literal,
3801
3780
  value: r.getNumberFormat(t).format(o)
@@ -3804,89 +3783,89 @@ function de(e, t, r, n, i, o, s) {
3804
3783
  }
3805
3784
  var c = h.value;
3806
3785
  if (!(i && c in i))
3807
- throw new gi(c, s);
3786
+ throw new pi(c, s);
3808
3787
  var f = i[c];
3809
- if (Dn(h)) {
3788
+ if (Gn(h)) {
3810
3789
  (!f || typeof f == "string" || typeof f == "number") && (f = typeof f == "string" || typeof f == "number" ? String(f) : ""), a.push({
3811
3790
  type: typeof f == "string" ? C.literal : C.object,
3812
3791
  value: f
3813
3792
  });
3814
3793
  continue;
3815
3794
  }
3816
- if (Kt(h)) {
3817
- var m = typeof h.style == "string" ? n.date[h.style] : ze(h.style) ? h.style.parsedOptions : void 0;
3795
+ if (Yt(h)) {
3796
+ var m = typeof h.style == "string" ? n.date[h.style] : je(h.style) ? h.style.parsedOptions : void 0;
3818
3797
  a.push({
3819
3798
  type: C.literal,
3820
3799
  value: r.getDateTimeFormat(t, m).format(f)
3821
3800
  });
3822
3801
  continue;
3823
3802
  }
3824
- if (er(h)) {
3825
- var m = typeof h.style == "string" ? n.time[h.style] : ze(h.style) ? h.style.parsedOptions : n.time.medium;
3803
+ if (Kt(h)) {
3804
+ var m = typeof h.style == "string" ? n.time[h.style] : je(h.style) ? h.style.parsedOptions : n.time.medium;
3826
3805
  a.push({
3827
3806
  type: C.literal,
3828
3807
  value: r.getDateTimeFormat(t, m).format(f)
3829
3808
  });
3830
3809
  continue;
3831
3810
  }
3832
- if (Yt(h)) {
3833
- var m = typeof h.style == "string" ? n.number[h.style] : ir(h.style) ? h.style.parsedOptions : void 0;
3811
+ if (qt(h)) {
3812
+ var m = typeof h.style == "string" ? n.number[h.style] : nr(h.style) ? h.style.parsedOptions : void 0;
3834
3813
  m && m.scale && (f = f * (m.scale || 1)), a.push({
3835
3814
  type: C.literal,
3836
3815
  value: r.getNumberFormat(t, m).format(f)
3837
3816
  });
3838
3817
  continue;
3839
3818
  }
3840
- if (nr(h)) {
3841
- var v = h.children, d = h.value, S = i[d];
3842
- if (!yi(S))
3843
- throw new bi(d, "function", s);
3844
- var P = de(v, t, r, n, i, o), H = S(P.map(function(y) {
3845
- return y.value;
3819
+ if (rr(h)) {
3820
+ var v = h.children, p = h.value, w = i[p];
3821
+ if (!gi(w))
3822
+ throw new di(p, "function", s);
3823
+ var P = pe(v, t, r, n, i, o), H = w(P.map(function(x) {
3824
+ return x.value;
3846
3825
  }));
3847
- Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(y) {
3826
+ Array.isArray(H) || (H = [H]), a.push.apply(a, H.map(function(x) {
3848
3827
  return {
3849
- type: typeof y == "string" ? C.literal : C.object,
3850
- value: y
3828
+ type: typeof x == "string" ? C.literal : C.object,
3829
+ value: x
3851
3830
  };
3852
3831
  }));
3853
3832
  }
3854
- if (tr(h)) {
3833
+ if (er(h)) {
3855
3834
  var _ = h.options[f] || h.options.other;
3856
3835
  if (!_)
3857
- throw new At(h.value, f, Object.keys(h.options), s);
3858
- a.push.apply(a, de(_.value, t, r, n, i));
3836
+ throw new Tt(h.value, f, Object.keys(h.options), s);
3837
+ a.push.apply(a, pe(_.value, t, r, n, i));
3859
3838
  continue;
3860
3839
  }
3861
- if (rr(h)) {
3840
+ if (tr(h)) {
3862
3841
  var _ = h.options["=".concat(f)];
3863
3842
  if (!_) {
3864
3843
  if (!Intl.PluralRules)
3865
- throw new Se(`Intl.PluralRules is not available in this environment.
3844
+ throw new _e(`Intl.PluralRules is not available in this environment.
3866
3845
  Try polyfilling it using "@formatjs/intl-pluralrules"
3867
- `, z.MISSING_INTL_API, s);
3868
- var x = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3869
- _ = h.options[x] || h.options.other;
3846
+ `, W.MISSING_INTL_API, s);
3847
+ var E = r.getPluralRules(t, { type: h.pluralType }).select(f - (h.offset || 0));
3848
+ _ = h.options[E] || h.options.other;
3870
3849
  }
3871
3850
  if (!_)
3872
- throw new At(h.value, f, Object.keys(h.options), s);
3873
- a.push.apply(a, de(_.value, t, r, n, i, f - (h.offset || 0)));
3851
+ throw new Tt(h.value, f, Object.keys(h.options), s);
3852
+ a.push.apply(a, pe(_.value, t, r, n, i, f - (h.offset || 0)));
3874
3853
  continue;
3875
3854
  }
3876
3855
  }
3877
- return vi(a);
3856
+ return bi(a);
3878
3857
  }
3879
- function _i(e, t) {
3880
- return t ? N(N(N({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3881
- return r[n] = N(N({}, e[n]), t[n] || {}), r;
3858
+ function vi(e, t) {
3859
+ return t ? y(y(y({}, e || {}), t || {}), Object.keys(e).reduce(function(r, n) {
3860
+ return r[n] = y(y({}, e[n]), t[n] || {}), r;
3882
3861
  }, {})) : e;
3883
3862
  }
3884
- function xi(e, t) {
3863
+ function yi(e, t) {
3885
3864
  return t ? Object.keys(e).reduce(function(r, n) {
3886
- return r[n] = _i(e[n], t[n]), r;
3887
- }, N({}, e)) : e;
3865
+ return r[n] = vi(e[n], t[n]), r;
3866
+ }, y({}, e)) : e;
3888
3867
  }
3889
- function Me(e) {
3868
+ function Oe(e) {
3890
3869
  return {
3891
3870
  create: function() {
3892
3871
  return {
@@ -3900,39 +3879,39 @@ function Me(e) {
3900
3879
  }
3901
3880
  };
3902
3881
  }
3903
- function Ei(e) {
3882
+ function xi(e) {
3904
3883
  return e === void 0 && (e = {
3905
3884
  number: {},
3906
3885
  dateTime: {},
3907
3886
  pluralRules: {}
3908
3887
  }), {
3909
- getNumberFormat: Pe(function() {
3888
+ getNumberFormat: Be(function() {
3910
3889
  for (var t, r = [], n = 0; n < arguments.length; n++)
3911
3890
  r[n] = arguments[n];
3912
- return new ((t = Intl.NumberFormat).bind.apply(t, Ce([void 0], r, !1)))();
3891
+ return new ((t = Intl.NumberFormat).bind.apply(t, V([void 0], r, !1)))();
3913
3892
  }, {
3914
- cache: Me(e.number),
3915
- strategy: Oe.variadic
3893
+ cache: Oe(e.number),
3894
+ strategy: Ce.variadic
3916
3895
  }),
3917
- getDateTimeFormat: Pe(function() {
3896
+ getDateTimeFormat: Be(function() {
3918
3897
  for (var t, r = [], n = 0; n < arguments.length; n++)
3919
3898
  r[n] = arguments[n];
3920
- return new ((t = Intl.DateTimeFormat).bind.apply(t, Ce([void 0], r, !1)))();
3899
+ return new ((t = Intl.DateTimeFormat).bind.apply(t, V([void 0], r, !1)))();
3921
3900
  }, {
3922
- cache: Me(e.dateTime),
3923
- strategy: Oe.variadic
3901
+ cache: Oe(e.dateTime),
3902
+ strategy: Ce.variadic
3924
3903
  }),
3925
- getPluralRules: Pe(function() {
3904
+ getPluralRules: Be(function() {
3926
3905
  for (var t, r = [], n = 0; n < arguments.length; n++)
3927
3906
  r[n] = arguments[n];
3928
- return new ((t = Intl.PluralRules).bind.apply(t, Ce([void 0], r, !1)))();
3907
+ return new ((t = Intl.PluralRules).bind.apply(t, V([void 0], r, !1)))();
3929
3908
  }, {
3930
- cache: Me(e.pluralRules),
3931
- strategy: Oe.variadic
3909
+ cache: Oe(e.pluralRules),
3910
+ strategy: Ce.variadic
3932
3911
  })
3933
3912
  };
3934
3913
  }
3935
- var Si = (
3914
+ var _i = (
3936
3915
  /** @class */
3937
3916
  function() {
3938
3917
  function e(t, r, n, i) {
@@ -3951,7 +3930,7 @@ var Si = (
3951
3930
  }, []);
3952
3931
  return h.length <= 1 ? h[0] || "" : h;
3953
3932
  }, this.formatToParts = function(l) {
3954
- return de(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3933
+ return pe(o.ast, o.locales, o.formatters, o.formats, l, void 0, o.message);
3955
3934
  }, this.resolvedOptions = function() {
3956
3935
  var l;
3957
3936
  return {
@@ -3964,13 +3943,13 @@ var Si = (
3964
3943
  throw new TypeError("IntlMessageFormat.__parse must be set to process `message` of type `string`");
3965
3944
  var s = i || {};
3966
3945
  s.formatters;
3967
- var a = In(s, ["formatters"]);
3968
- this.ast = e.__parse(t, N(N({}, a), { locale: this.resolvedLocale }));
3946
+ var a = en(s, ["formatters"]);
3947
+ this.ast = e.__parse(t, y(y({}, a), { locale: this.resolvedLocale }));
3969
3948
  } else
3970
3949
  this.ast = t;
3971
3950
  if (!Array.isArray(this.ast))
3972
3951
  throw new TypeError("A message must be provided as a String or AST.");
3973
- this.formats = xi(e.formats, n), this.formatters = i && i.formatters || Ei(this.formatterCache);
3952
+ this.formats = yi(e.formats, n), this.formatters = i && i.formatters || xi(this.formatterCache);
3974
3953
  }
3975
3954
  return Object.defineProperty(e, "defaultLocale", {
3976
3955
  get: function() {
@@ -3983,7 +3962,7 @@ var Si = (
3983
3962
  var r = Intl.NumberFormat.supportedLocalesOf(t);
3984
3963
  return r.length > 0 ? new Intl.Locale(r[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
3985
3964
  }
3986
- }, e.__parse = di, e.formats = {
3965
+ }, e.__parse = mi, e.formats = {
3987
3966
  number: {
3988
3967
  integer: {
3989
3968
  maximumFractionDigits: 0
@@ -4044,7 +4023,7 @@ var Si = (
4044
4023
  }, e;
4045
4024
  }()
4046
4025
  );
4047
- function wi(e, t) {
4026
+ function Ei(e, t) {
4048
4027
  if (t == null)
4049
4028
  return;
4050
4029
  if (t in e)
@@ -4065,92 +4044,92 @@ function wi(e, t) {
4065
4044
  n = void 0;
4066
4045
  return n;
4067
4046
  }
4068
- const $ = {}, Ti = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), fr = (e, t) => {
4047
+ const $ = {}, Si = (e, t, r) => r && (t in $ || ($[t] = {}), e in $[t] || ($[t][e] = r), r), cr = (e, t) => {
4069
4048
  if (t == null)
4070
4049
  return;
4071
4050
  if (t in $ && e in $[t])
4072
4051
  return $[t][e];
4073
- const r = we(t);
4052
+ const r = Ee(t);
4074
4053
  for (let n = 0; n < r.length; n++) {
4075
- const i = r[n], o = Ai(i, e);
4054
+ const i = r[n], o = Ti(i, e);
4076
4055
  if (o)
4077
- return Ti(e, t, o);
4056
+ return Si(e, t, o);
4078
4057
  }
4079
4058
  };
4080
- let rt;
4059
+ let et;
4081
4060
  const ae = xe({});
4082
- function Hi(e) {
4083
- return rt[e] || null;
4061
+ function wi(e) {
4062
+ return et[e] || null;
4084
4063
  }
4085
- function mr(e) {
4086
- return e in rt;
4064
+ function fr(e) {
4065
+ return e in et;
4087
4066
  }
4088
- function Ai(e, t) {
4089
- if (!mr(e))
4067
+ function Ti(e, t) {
4068
+ if (!fr(e))
4090
4069
  return null;
4091
- const r = Hi(e);
4092
- return wi(r, t);
4070
+ const r = wi(e);
4071
+ return Ei(r, t);
4093
4072
  }
4094
- function Bi(e) {
4073
+ function Hi(e) {
4095
4074
  if (e == null)
4096
4075
  return;
4097
- const t = we(e);
4076
+ const t = Ee(e);
4098
4077
  for (let r = 0; r < t.length; r++) {
4099
4078
  const n = t[r];
4100
- if (mr(n))
4079
+ if (fr(n))
4101
4080
  return n;
4102
4081
  }
4103
4082
  }
4104
- function pr(e, ...t) {
4083
+ function mr(e, ...t) {
4105
4084
  delete $[e], ae.update((r) => (r[e] = On.all([r[e] || {}, ...t]), r));
4106
4085
  }
4107
- J(
4086
+ q(
4108
4087
  [ae],
4109
4088
  ([e]) => Object.keys(e)
4110
4089
  );
4111
- ae.subscribe((e) => rt = e);
4090
+ ae.subscribe((e) => et = e);
4112
4091
  const be = {};
4113
- function Ci(e, t) {
4092
+ function Ai(e, t) {
4114
4093
  be[e].delete(t), be[e].size === 0 && delete be[e];
4115
4094
  }
4116
4095
  function dr(e) {
4117
4096
  return be[e];
4118
4097
  }
4119
- function Pi(e) {
4120
- return we(e).map((t) => {
4098
+ function Bi(e) {
4099
+ return Ee(e).map((t) => {
4121
4100
  const r = dr(t);
4122
4101
  return [t, r ? [...r] : []];
4123
4102
  }).filter(([, t]) => t.length > 0);
4124
4103
  }
4125
- function Ye(e) {
4126
- return e == null ? !1 : we(e).some(
4104
+ function Ze(e) {
4105
+ return e == null ? !1 : Ee(e).some(
4127
4106
  (t) => {
4128
4107
  var r;
4129
4108
  return (r = dr(t)) == null ? void 0 : r.size;
4130
4109
  }
4131
4110
  );
4132
4111
  }
4133
- function Oi(e, t) {
4112
+ function Ci(e, t) {
4134
4113
  return Promise.all(
4135
- t.map((n) => (Ci(e, n), n().then((i) => i.default || i)))
4136
- ).then((n) => pr(e, ...n));
4137
- }
4138
- const K = {};
4139
- function br(e) {
4140
- if (!Ye(e))
4141
- return e in K ? K[e] : Promise.resolve();
4142
- const t = Pi(e);
4143
- return K[e] = Promise.all(
4114
+ t.map((n) => (Ai(e, n), n().then((i) => i.default || i)))
4115
+ ).then((n) => mr(e, ...n));
4116
+ }
4117
+ const ee = {};
4118
+ function pr(e) {
4119
+ if (!Ze(e))
4120
+ return e in ee ? ee[e] : Promise.resolve();
4121
+ const t = Bi(e);
4122
+ return ee[e] = Promise.all(
4144
4123
  t.map(
4145
- ([r, n]) => Oi(r, n)
4124
+ ([r, n]) => Ci(r, n)
4146
4125
  )
4147
4126
  ).then(() => {
4148
- if (Ye(e))
4149
- return br(e);
4150
- delete K[e];
4151
- }), K[e];
4127
+ if (Ze(e))
4128
+ return pr(e);
4129
+ delete ee[e];
4130
+ }), ee[e];
4152
4131
  }
4153
- const Ii = {
4132
+ const Pi = {
4154
4133
  number: {
4155
4134
  scientific: { notation: "scientific" },
4156
4135
  engineering: { notation: "engineering" },
@@ -4179,135 +4158,135 @@ const Ii = {
4179
4158
  timeZoneName: "short"
4180
4159
  }
4181
4160
  }
4182
- }, Mi = {
4161
+ }, Oi = {
4183
4162
  fallbackLocale: null,
4184
4163
  loadingDelay: 200,
4185
- formats: Ii,
4164
+ formats: Pi,
4186
4165
  warnOnMissingMessages: !0,
4187
4166
  handleMissingMessage: void 0,
4188
4167
  ignoreTag: !0
4189
- }, Ni = Mi;
4190
- function W() {
4191
- return Ni;
4168
+ }, Ii = Oi;
4169
+ function Z() {
4170
+ return Ii;
4192
4171
  }
4193
- const Ne = xe(!1);
4194
- var Li = Object.defineProperty, Ri = Object.defineProperties, $i = Object.getOwnPropertyDescriptors, Bt = Object.getOwnPropertySymbols, Gi = Object.prototype.hasOwnProperty, Ui = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Li(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Di = (e, t) => {
4172
+ const Ie = xe(!1);
4173
+ var Mi = Object.defineProperty, Ni = Object.defineProperties, Li = Object.getOwnPropertyDescriptors, Ht = Object.getOwnPropertySymbols, Ri = Object.prototype.hasOwnProperty, $i = Object.prototype.propertyIsEnumerable, At = (e, t, r) => t in e ? Mi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, Gi = (e, t) => {
4195
4174
  for (var r in t || (t = {}))
4196
- Gi.call(t, r) && Ct(e, r, t[r]);
4197
- if (Bt)
4198
- for (var r of Bt(t))
4199
- Ui.call(t, r) && Ct(e, r, t[r]);
4175
+ Ri.call(t, r) && At(e, r, t[r]);
4176
+ if (Ht)
4177
+ for (var r of Ht(t))
4178
+ $i.call(t, r) && At(e, r, t[r]);
4200
4179
  return e;
4201
- }, Fi = (e, t) => Ri(e, $i(t));
4202
- let Ke;
4203
- const ve = xe(null);
4204
- function Pt(e) {
4180
+ }, Ui = (e, t) => Ni(e, Li(t));
4181
+ let Qe;
4182
+ const ge = xe(null);
4183
+ function Bt(e) {
4205
4184
  return e.split("-").map((t, r, n) => n.slice(0, r + 1).join("-")).reverse();
4206
4185
  }
4207
- function we(e, t = W().fallbackLocale) {
4208
- const r = Pt(e);
4209
- return t ? [.../* @__PURE__ */ new Set([...r, ...Pt(t)])] : r;
4186
+ function Ee(e, t = Z().fallbackLocale) {
4187
+ const r = Bt(e);
4188
+ return t ? [.../* @__PURE__ */ new Set([...r, ...Bt(t)])] : r;
4210
4189
  }
4211
4190
  function G() {
4212
- return Ke != null ? Ke : void 0;
4191
+ return Qe != null ? Qe : void 0;
4213
4192
  }
4214
- ve.subscribe((e) => {
4215
- Ke = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4193
+ ge.subscribe((e) => {
4194
+ Qe = e != null ? e : void 0, typeof window != "undefined" && e != null && document.documentElement.setAttribute("lang", e);
4216
4195
  });
4217
- const ji = (e) => {
4218
- if (e && Bi(e) && Ye(e)) {
4219
- const { loadingDelay: t } = W();
4196
+ const Di = (e) => {
4197
+ if (e && Hi(e) && Ze(e)) {
4198
+ const { loadingDelay: t } = Z();
4220
4199
  let r;
4221
4200
  return typeof window != "undefined" && G() != null && t ? r = window.setTimeout(
4222
- () => Ne.set(!0),
4201
+ () => Ie.set(!0),
4223
4202
  t
4224
- ) : Ne.set(!0), br(e).then(() => {
4225
- ve.set(e);
4203
+ ) : Ie.set(!0), pr(e).then(() => {
4204
+ ge.set(e);
4226
4205
  }).finally(() => {
4227
- clearTimeout(r), Ne.set(!1);
4206
+ clearTimeout(r), Ie.set(!1);
4228
4207
  });
4229
4208
  }
4230
- return ve.set(e);
4231
- }, q = Fi(Di({}, ve), {
4232
- set: ji
4233
- }), Te = (e) => {
4209
+ return ge.set(e);
4210
+ }, Y = Ui(Gi({}, ge), {
4211
+ set: Di
4212
+ }), Se = (e) => {
4234
4213
  const t = /* @__PURE__ */ Object.create(null);
4235
4214
  return (n) => {
4236
4215
  const i = JSON.stringify(n);
4237
4216
  return i in t ? t[i] : t[i] = e(n);
4238
4217
  };
4239
4218
  };
4240
- var ki = Object.defineProperty, ye = Object.getOwnPropertySymbols, gr = Object.prototype.hasOwnProperty, vr = Object.prototype.propertyIsEnumerable, Ot = (e, t, r) => t in e ? ki(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, nt = (e, t) => {
4219
+ var Fi = Object.defineProperty, ve = Object.getOwnPropertySymbols, br = Object.prototype.hasOwnProperty, gr = Object.prototype.propertyIsEnumerable, Ct = (e, t, r) => t in e ? Fi(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r, tt = (e, t) => {
4241
4220
  for (var r in t || (t = {}))
4242
- gr.call(t, r) && Ot(e, r, t[r]);
4243
- if (ye)
4244
- for (var r of ye(t))
4245
- vr.call(t, r) && Ot(e, r, t[r]);
4221
+ br.call(t, r) && Ct(e, r, t[r]);
4222
+ if (ve)
4223
+ for (var r of ve(t))
4224
+ gr.call(t, r) && Ct(e, r, t[r]);
4246
4225
  return e;
4247
- }, Y = (e, t) => {
4226
+ }, K = (e, t) => {
4248
4227
  var r = {};
4249
4228
  for (var n in e)
4250
- gr.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4251
- if (e != null && ye)
4252
- for (var n of ye(e))
4253
- t.indexOf(n) < 0 && vr.call(e, n) && (r[n] = e[n]);
4229
+ br.call(e, n) && t.indexOf(n) < 0 && (r[n] = e[n]);
4230
+ if (e != null && ve)
4231
+ for (var n of ve(e))
4232
+ t.indexOf(n) < 0 && gr.call(e, n) && (r[n] = e[n]);
4254
4233
  return r;
4255
4234
  };
4256
- const ne = (e, t) => {
4257
- const { formats: r } = W();
4235
+ const ie = (e, t) => {
4236
+ const { formats: r } = Z();
4258
4237
  if (e in r && t in r[e])
4259
4238
  return r[e][t];
4260
4239
  throw new Error(`[svelte-i18n] Unknown "${t}" ${e} format.`);
4261
- }, Vi = Te(
4240
+ }, ji = Se(
4262
4241
  (e) => {
4263
- var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4242
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4264
4243
  if (r == null)
4265
4244
  throw new Error('[svelte-i18n] A "locale" must be set to format numbers');
4266
- return n && (i = ne("number", n)), new Intl.NumberFormat(r, i);
4245
+ return n && (i = ie("number", n)), new Intl.NumberFormat(r, i);
4267
4246
  }
4268
- ), Xi = Te(
4247
+ ), ki = Se(
4269
4248
  (e) => {
4270
- var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4249
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4271
4250
  if (r == null)
4272
4251
  throw new Error('[svelte-i18n] A "locale" must be set to format dates');
4273
- return n ? i = ne("date", n) : Object.keys(i).length === 0 && (i = ne("date", "short")), new Intl.DateTimeFormat(r, i);
4252
+ return n ? i = ie("date", n) : Object.keys(i).length === 0 && (i = ie("date", "short")), new Intl.DateTimeFormat(r, i);
4274
4253
  }
4275
- ), zi = Te(
4254
+ ), Vi = Se(
4276
4255
  (e) => {
4277
- var t = e, { locale: r, format: n } = t, i = Y(t, ["locale", "format"]);
4256
+ var t = e, { locale: r, format: n } = t, i = K(t, ["locale", "format"]);
4278
4257
  if (r == null)
4279
4258
  throw new Error(
4280
4259
  '[svelte-i18n] A "locale" must be set to format time values'
4281
4260
  );
4282
- return n ? i = ne("time", n) : Object.keys(i).length === 0 && (i = ne("time", "short")), new Intl.DateTimeFormat(r, i);
4261
+ return n ? i = ie("time", n) : Object.keys(i).length === 0 && (i = ie("time", "short")), new Intl.DateTimeFormat(r, i);
4283
4262
  }
4284
- ), Wi = (e = {}) => {
4263
+ ), Xi = (e = {}) => {
4285
4264
  var t = e, {
4286
4265
  locale: r = G()
4287
- } = t, n = Y(t, [
4266
+ } = t, n = K(t, [
4288
4267
  "locale"
4289
4268
  ]);
4290
- return Vi(nt({ locale: r }, n));
4291
- }, Zi = (e = {}) => {
4269
+ return ji(tt({ locale: r }, n));
4270
+ }, zi = (e = {}) => {
4292
4271
  var t = e, {
4293
4272
  locale: r = G()
4294
- } = t, n = Y(t, [
4273
+ } = t, n = K(t, [
4295
4274
  "locale"
4296
4275
  ]);
4297
- return Xi(nt({ locale: r }, n));
4298
- }, Qi = (e = {}) => {
4276
+ return ki(tt({ locale: r }, n));
4277
+ }, Wi = (e = {}) => {
4299
4278
  var t = e, {
4300
4279
  locale: r = G()
4301
- } = t, n = Y(t, [
4280
+ } = t, n = K(t, [
4302
4281
  "locale"
4303
4282
  ]);
4304
- return zi(nt({ locale: r }, n));
4305
- }, Ji = Te(
4283
+ return Vi(tt({ locale: r }, n));
4284
+ }, Zi = Se(
4306
4285
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
4307
- (e, t = G()) => new Si(e, t, W().formats, {
4308
- ignoreTag: W().ignoreTag
4286
+ (e, t = G()) => new _i(e, t, Z().formats, {
4287
+ ignoreTag: Z().ignoreTag
4309
4288
  })
4310
- ), qi = (e, t = {}) => {
4289
+ ), Qi = (e, t = {}) => {
4311
4290
  var r, n, i, o;
4312
4291
  let s = t;
4313
4292
  typeof e == "object" && (s = e, e = s.id);
@@ -4320,9 +4299,9 @@ const ne = (e, t) => {
4320
4299
  throw new Error(
4321
4300
  "[svelte-i18n] Cannot format a message without first setting the initial locale."
4322
4301
  );
4323
- let h = fr(e, l);
4302
+ let h = cr(e, l);
4324
4303
  if (!h)
4325
- h = (o = (i = (n = (r = W()).handleMissingMessage) == null ? void 0 : n.call(r, { locale: l, id: e, defaultValue: u })) != null ? i : u) != null ? o : e;
4304
+ 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;
4326
4305
  else if (typeof h != "string")
4327
4306
  return console.warn(
4328
4307
  `[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.`
@@ -4331,7 +4310,7 @@ const ne = (e, t) => {
4331
4310
  return h;
4332
4311
  let c = h;
4333
4312
  try {
4334
- c = Ji(h, l).format(a);
4313
+ c = Zi(h, l).format(a);
4335
4314
  } catch (f) {
4336
4315
  f instanceof Error && console.warn(
4337
4316
  `[svelte-i18n] Message "${e}" has syntax error:`,
@@ -4339,21 +4318,21 @@ const ne = (e, t) => {
4339
4318
  );
4340
4319
  }
4341
4320
  return c;
4342
- }, Yi = (e, t) => Qi(t).format(e), Ki = (e, t) => Zi(t).format(e), eo = (e, t) => Wi(t).format(e), to = (e, t = G()) => fr(e, t), ro = J([q, ae], () => qi);
4343
- J([q], () => Yi);
4344
- J([q], () => Ki);
4345
- J([q], () => eo);
4346
- J([q, ae], () => to);
4347
- window.emWidgets = { topic: dn };
4348
- const no = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4321
+ }, Ji = (e, t) => Wi(t).format(e), qi = (e, t) => zi(t).format(e), Yi = (e, t) => Xi(t).format(e), Ki = (e, t = G()) => cr(e, t), eo = q([Y, ae], () => Qi);
4322
+ q([Y], () => Ji);
4323
+ q([Y], () => qi);
4324
+ q([Y], () => Yi);
4325
+ q([Y, ae], () => Ki);
4326
+ window.emWidgets = { topic: pn };
4327
+ const to = (e) => e.toLowerCase().match(/android/i) ? "Android" : e.toLowerCase().match(/iphone/i) ? "iPhone" : e.toLowerCase().match(/ipad|ipod/i) ? "iPad" : "PC";
4349
4328
  String(Number.MAX_SAFE_INTEGER).length;
4350
- function io(e, t) {
4329
+ function ro(e, t) {
4351
4330
  if (e) {
4352
4331
  const r = document.createElement("style");
4353
4332
  r.innerHTML = t, e.appendChild(r);
4354
4333
  }
4355
4334
  }
4356
- function oo(e, t) {
4335
+ function no(e, t) {
4357
4336
  if (!e || !t)
4358
4337
  return;
4359
4338
  const r = new URL(t);
@@ -4364,7 +4343,7 @@ function oo(e, t) {
4364
4343
  console.error("There was an error while trying to load client styling from URL", n);
4365
4344
  });
4366
4345
  }
4367
- function so(e, t, r) {
4346
+ function io(e, t, r) {
4368
4347
  if (window.emMessageBus) {
4369
4348
  const n = document.createElement("style");
4370
4349
  window.emMessageBus.subscribe(t, (i) => {
@@ -4372,13 +4351,13 @@ function so(e, t, r) {
4372
4351
  });
4373
4352
  }
4374
4353
  }
4375
- function It(e, t) {
4376
- pr(e, t);
4354
+ function Pt(e, t) {
4355
+ mr(e, t);
4377
4356
  }
4378
- function ao(e) {
4379
- q.set(e);
4357
+ function oo(e) {
4358
+ Y.set(e);
4380
4359
  }
4381
- const Mt = {
4360
+ const Ot = {
4382
4361
  en: {
4383
4362
  cancel: "Cancel",
4384
4363
  confirm: "Confirm"
@@ -4424,61 +4403,61 @@ const Mt = {
4424
4403
  confirm: "Confirm"
4425
4404
  }
4426
4405
  };
4427
- function uo(e) {
4428
- Nr(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4406
+ function so(e) {
4407
+ Mr(e, "svelte-8g0wf4", '*,*::before,*::after{margin:0;padding:0;box-sizing:border-box}.GeneralConfirmationWrapper{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--emw--color-background, rgba(0, 0, 0, 0.7));display:flex;justify-content:center;align-items:center;z-index:300;color:var(--emw--color-typography, #ffffff)}.GeneralConfirmationTitle{margin-bottom:20px}.GeneralConfirmationContainer{position:relative;background:linear-gradient(to right, var(--emw--color-primary-variant, #184026), var(--emw--color-secondary-variant, #013e5c));border:5px solid transparent;padding:60px 30px 30px;background-clip:padding-box;border-radius:var(--emw--border-radius-medium, 10px);text-align:center}.GeneralConfirmationContainer::before{content:"";position:absolute;top:-4px;left:-8px;width:103%;height:105%;z-index:-1;background:linear-gradient(to right, var(--emw--color-primary, #22b04e), color-mix(in srgb, var(--emw--color-secondary, #e98b0f) 80%, black 20%), #22b04e);opacity:0.5;border-radius:inherit;filter:blur(6px)}.GeneralConfirmationContainer::after{position:absolute;top:-4px;bottom:-4px;left:-4px;right:-4px;background:linear-gradient(to right, color-mix(in srgb, var(--emw--color-primary-variant, #184026) 80%, white 10%), color-mix(in srgb, var(--emw--color-secondary-variant, #013e5c) 80%, white 10%));content:"";z-index:-1;border-radius:var(--emw--border-radius-medium, 10px)}.GeneralConfirmationContainerMobile{padding:40px;max-width:330px}.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralCancelButton,.GeneralConfirmationContainerMobile .GeneralConfirmationControlAreaMobile .GeneralConfirmButton{width:120px;height:auto;font-size:var(--emw--font-size-x-small, 12px)}.GeneralConfirmationContent{font-size:var(--emw--font-size-medium, 18px);font-weight:300}.GeneralConfirmationControlArea{display:flex;gap:10px;direction:ltr;margin-top:30px}.GeneralConfirmationControlArea .GeneralCancelButton,.GeneralConfirmationControlArea .GeneralConfirmButton{flex:1;background:transparent;border:1px solid var(--emw--color-gray-100, #bfcbc3);color:var(--emw--color-gray-100, #bfcbc3);cursor:pointer;border-radius:var(--emw--button-border-radius, 50px);width:200px;height:50px;font-size:var(--emw--font-size-small, 16px);text-transform:uppercase;text-align:center;transition-duration:0.3s;box-sizing:border-box;padding:10px}.GeneralConfirmationControlArea .GeneralConfirmButton{background-color:var(--emw--color-primary, #22b04e);border:2px solid var(--emw--button-border-color, #063b17);border-radius:var(--emw--button-border-radius, 50px);color:var(--emw--button-typography, var(--emw--button-text-color, #ffffff))}.ModalCloseBtn{position:absolute;display:flex;align-items:center;justify-content:center;top:5px;right:5px;padding:8px;border-radius:50%;cursor:pointer;transition:all 150ms ease-in-out}.ModalCloseBtn svg{width:35px;height:40px}.ModalCloseBtn:hover{background:rgba(255, 255, 255, 0.2)}.GeneralConfirmationMobileWrapper{border:none;padding:0}');
4429
4408
  }
4430
- const lo = (e) => ({}), Nt = (e) => ({});
4431
- function ho(e) {
4409
+ const ao = (e) => ({}), It = (e) => ({});
4410
+ function uo(e) {
4432
4411
  let t, r;
4433
4412
  return {
4434
4413
  c() {
4435
- t = ht("svg"), r = ht("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");
4414
+ t = ut("svg"), r = ut("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");
4436
4415
  },
4437
4416
  m(n, i) {
4438
- ie(n, t, i), B(t, r);
4417
+ oe(n, t, i), B(t, r);
4439
4418
  },
4440
- p: L,
4419
+ p: N,
4441
4420
  d(n) {
4442
- n && Q(t);
4421
+ n && J(t);
4443
4422
  }
4444
4423
  };
4445
4424
  }
4446
- function Lt(e) {
4425
+ function Mt(e) {
4447
4426
  let t, r, n;
4448
4427
  return {
4449
4428
  c() {
4450
- t = M("div"), r = M("h2"), n = oe(
4429
+ t = M("div"), r = M("h2"), n = se(
4451
4430
  /*modaltitle*/
4452
4431
  e[1]
4453
4432
  ), T(t, "class", "GeneralConfirmationTitle");
4454
4433
  },
4455
4434
  m(i, o) {
4456
- ie(i, t, o), B(t, r), B(r, n);
4435
+ oe(i, t, o), B(t, r), B(r, n);
4457
4436
  },
4458
4437
  p(i, o) {
4459
4438
  o & /*modaltitle*/
4460
- 2 && tt(
4439
+ 2 && qe(
4461
4440
  n,
4462
4441
  /*modaltitle*/
4463
4442
  i[1]
4464
4443
  );
4465
4444
  },
4466
4445
  d(i) {
4467
- i && Q(t);
4446
+ i && J(t);
4468
4447
  }
4469
4448
  };
4470
4449
  }
4471
- function Rt(e) {
4450
+ function Nt(e) {
4472
4451
  let t, r = (
4473
4452
  /*$_*/
4474
4453
  e[4]("cancel") + ""
4475
4454
  ), n, i, o;
4476
4455
  return {
4477
4456
  c() {
4478
- t = M("button"), n = oe(r), T(t, "class", "GeneralCancelButton");
4457
+ t = M("button"), n = se(r), T(t, "class", "GeneralCancelButton");
4479
4458
  },
4480
4459
  m(s, a) {
4481
- ie(s, t, a), B(t, n), i || (o = Le(
4460
+ oe(s, t, a), B(t, n), i || (o = Me(
4482
4461
  t,
4483
4462
  "click",
4484
4463
  /*click_handler*/
@@ -4488,52 +4467,52 @@ function Rt(e) {
4488
4467
  p(s, a) {
4489
4468
  a & /*$_*/
4490
4469
  16 && r !== (r = /*$_*/
4491
- s[4]("cancel") + "") && tt(n, r);
4470
+ s[4]("cancel") + "") && qe(n, r);
4492
4471
  },
4493
4472
  d(s) {
4494
- s && Q(t), i = !1, o();
4473
+ s && J(t), i = !1, o();
4495
4474
  }
4496
4475
  };
4497
4476
  }
4498
- function co(e) {
4477
+ function lo(e) {
4499
4478
  let t, r, n, i, o, s, a, l, u, h, c = (
4500
4479
  /*$_*/
4501
4480
  e[4]("confirm") + ""
4502
- ), f, m, v, d;
4503
- const S = (
4481
+ ), f, m, v, p;
4482
+ const w = (
4504
4483
  /*#slots*/
4505
4484
  e[16].close
4506
- ), P = Pr(
4507
- S,
4485
+ ), P = Cr(
4486
+ w,
4508
4487
  e,
4509
4488
  /*$$scope*/
4510
4489
  e[15],
4511
- Nt
4512
- ), H = P || ho();
4490
+ It
4491
+ ), H = P || uo();
4513
4492
  let _ = (
4514
4493
  /*modaltitle*/
4515
- e[1] && Lt(e)
4516
- ), x = (
4494
+ e[1] && Mt(e)
4495
+ ), E = (
4517
4496
  /*hascancelbutton*/
4518
- e[2] && Rt(e)
4497
+ e[2] && Nt(e)
4519
4498
  );
4520
4499
  return {
4521
4500
  c() {
4522
- t = M("div"), r = M("div"), n = M("span"), H && H.c(), i = le(), _ && _.c(), o = le(), s = M("div"), a = le(), l = M("div"), x && x.c(), u = le(), h = M("button"), f = oe(c), T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(s, "class", "GeneralConfirmationContent"), T(h, "class", "GeneralConfirmButton"), T(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4501
+ t = M("div"), r = M("div"), n = M("span"), H && H.c(), i = le(), _ && _.c(), o = le(), s = M("div"), a = le(), l = M("div"), E && E.c(), u = le(), h = M("button"), f = se(c), T(n, "class", "ModalCloseBtn"), T(n, "role", "button"), T(s, "class", "GeneralConfirmationContent"), T(h, "class", "GeneralConfirmButton"), T(l, "class", "GeneralConfirmationControlArea " + /*isMobile*/
4523
4502
  (e[5] ? "GeneralConfirmationControlAreaMobile" : "")), T(r, "class", "GeneralConfirmationContainer " + /*isMobile*/
4524
4503
  (e[5] ? "GeneralConfirmationContainerMobile" : "")), T(t, "class", "GeneralConfirmationWrapper " + /*isMobile*/
4525
4504
  (e[5] ? "GeneralConfirmationMobileWrapper" : ""));
4526
4505
  },
4527
- m(y, A) {
4528
- ie(y, t, A), B(t, r), B(r, n), H && H.m(n, null), B(r, i), _ && _.m(r, null), B(r, o), B(r, s), s.innerHTML = /*modaltext*/
4529
- e[0], B(r, a), B(r, l), x && x.m(l, null), B(l, u), B(l, h), B(h, f), e[19](t), m = !0, v || (d = [
4530
- Le(
4506
+ m(x, A) {
4507
+ oe(x, t, A), B(t, r), B(r, n), H && H.m(n, null), B(r, i), _ && _.m(r, null), B(r, o), B(r, s), s.innerHTML = /*modaltext*/
4508
+ e[0], B(r, a), B(r, l), E && E.m(l, null), B(l, u), B(l, h), B(h, f), e[19](t), m = !0, v || (p = [
4509
+ Me(
4531
4510
  n,
4532
4511
  "click",
4533
4512
  /*close*/
4534
4513
  e[6]
4535
4514
  ),
4536
- Le(
4515
+ Me(
4537
4516
  h,
4538
4517
  "click",
4539
4518
  /*click_handler_1*/
@@ -4541,115 +4520,115 @@ function co(e) {
4541
4520
  )
4542
4521
  ], v = !0);
4543
4522
  },
4544
- p(y, [A]) {
4523
+ p(x, [A]) {
4545
4524
  P && P.p && (!m || A & /*$$scope*/
4546
- 32768) && Ir(
4525
+ 32768) && Or(
4547
4526
  P,
4548
- S,
4549
- y,
4527
+ w,
4528
+ x,
4550
4529
  /*$$scope*/
4551
- y[15],
4552
- m ? Or(
4553
- S,
4530
+ x[15],
4531
+ m ? Pr(
4532
+ w,
4554
4533
  /*$$scope*/
4555
- y[15],
4534
+ x[15],
4556
4535
  A,
4557
- lo
4558
- ) : Mr(
4536
+ ao
4537
+ ) : Ir(
4559
4538
  /*$$scope*/
4560
- y[15]
4539
+ x[15]
4561
4540
  ),
4562
- Nt
4541
+ It
4563
4542
  ), /*modaltitle*/
4564
- y[1] ? _ ? _.p(y, A) : (_ = Lt(y), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!m || A & /*modaltext*/
4543
+ x[1] ? _ ? _.p(x, A) : (_ = Mt(x), _.c(), _.m(r, o)) : _ && (_.d(1), _ = null), (!m || A & /*modaltext*/
4565
4544
  1) && (s.innerHTML = /*modaltext*/
4566
- y[0]), /*hascancelbutton*/
4567
- y[2] ? x ? x.p(y, A) : (x = Rt(y), x.c(), x.m(l, u)) : x && (x.d(1), x = null), (!m || A & /*$_*/
4545
+ x[0]), /*hascancelbutton*/
4546
+ x[2] ? E ? E.p(x, A) : (E = Nt(x), E.c(), E.m(l, u)) : E && (E.d(1), E = null), (!m || A & /*$_*/
4568
4547
  16) && c !== (c = /*$_*/
4569
- y[4]("confirm") + "") && tt(f, c);
4548
+ x[4]("confirm") + "") && qe(f, c);
4570
4549
  },
4571
- i(y) {
4572
- m || (Ft(H, y), m = !0);
4550
+ i(x) {
4551
+ m || (Ut(H, x), m = !0);
4573
4552
  },
4574
- o(y) {
4575
- zr(H, y), m = !1;
4553
+ o(x) {
4554
+ Xr(H, x), m = !1;
4576
4555
  },
4577
- d(y) {
4578
- y && Q(t), H && H.d(y), _ && _.d(), x && x.d(), e[19](null), v = !1, Z(d);
4556
+ d(x) {
4557
+ x && J(t), H && H.d(x), _ && _.d(), E && E.d(), e[19](null), v = !1, Q(p);
4579
4558
  }
4580
4559
  };
4581
4560
  }
4582
- function fo(e, t, r) {
4561
+ function ho(e, t, r) {
4583
4562
  let n;
4584
- Cr(e, ro, (b) => r(4, n = b));
4585
- 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: v = "" } = t, { mbsource: d } = t, S, P = window.navigator.userAgent, H = no(P) !== "PC";
4563
+ Br(e, eo, (b) => r(4, n = b));
4564
+ 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: v = "" } = t, { mbsource: p } = t, w, P = window.navigator.userAgent, H = to(P) !== "PC";
4586
4565
  const _ = () => {
4587
4566
  window.postMessage({ type: "ModalClosed" }, window.location.href);
4588
- }, x = (b) => {
4567
+ }, E = (b) => {
4589
4568
  b === "confirm" && u && window.postMessage(u, window.location.href), b === "cancel" && h && window.postMessage(h, window.location.href), _();
4590
- }, y = () => {
4569
+ }, x = () => {
4591
4570
  fetch(v).then((U) => U.json()).then((U) => {
4592
- Object.keys(U).forEach((it) => {
4593
- It(it, U[it]);
4571
+ Object.keys(U).forEach((rt) => {
4572
+ Pt(rt, U[rt]);
4594
4573
  });
4595
4574
  }).catch((U) => {
4596
4575
  console.log(U);
4597
4576
  });
4598
4577
  };
4599
- Object.keys(Mt).forEach((b) => {
4600
- It(b, Mt[b]);
4578
+ Object.keys(Ot).forEach((b) => {
4579
+ Pt(b, Ot[b]);
4601
4580
  });
4602
4581
  const A = () => {
4603
- ao(c);
4582
+ oo(c);
4604
4583
  };
4605
- Dr(() => () => {
4584
+ Ur(() => () => {
4606
4585
  });
4607
- const ue = () => x("cancel"), _r = () => x("confirm");
4586
+ const ue = () => E("cancel"), yr = () => E("confirm");
4608
4587
  function xr(b) {
4609
- Re[b ? "unshift" : "push"](() => {
4610
- S = b, r(3, S);
4588
+ Ne[b ? "unshift" : "push"](() => {
4589
+ w = b, r(3, w);
4611
4590
  });
4612
4591
  }
4613
4592
  return e.$$set = (b) => {
4614
- "modaltext" in b && r(0, s = b.modaltext), "modaltitle" in b && r(1, a = b.modaltitle), "hascancelbutton" in b && r(2, l = b.hascancelbutton), "modalconfirmevent" in b && r(8, u = b.modalconfirmevent), "modalcancelevent" in b && r(9, h = b.modalcancelevent), "lang" in b && r(10, c = b.lang), "clientstyling" in b && r(11, f = b.clientstyling), "clientstylingurl" in b && r(12, m = b.clientstylingurl), "translationurl" in b && r(13, v = b.translationurl), "mbsource" in b && r(14, d = b.mbsource), "$$scope" in b && r(15, o = b.$$scope);
4593
+ "modaltext" in b && r(0, s = b.modaltext), "modaltitle" in b && r(1, a = b.modaltitle), "hascancelbutton" in b && r(2, l = b.hascancelbutton), "modalconfirmevent" in b && r(8, u = b.modalconfirmevent), "modalcancelevent" in b && r(9, h = b.modalcancelevent), "lang" in b && r(10, c = b.lang), "clientstyling" in b && r(11, f = b.clientstyling), "clientstylingurl" in b && r(12, m = b.clientstylingurl), "translationurl" in b && r(13, v = b.translationurl), "mbsource" in b && r(14, p = b.mbsource), "$$scope" in b && r(15, o = b.$$scope);
4615
4594
  }, e.$$.update = () => {
4616
4595
  e.$$.dirty & /*modaltext, lang*/
4617
4596
  1025 && s && c && A(), e.$$.dirty & /*clientstyling, customStylingContainer*/
4618
- 2056 && f && S && io(S, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4619
- 4104 && m && S && oo(S, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4620
- 16392 && d && S && so(S, `${d}.Style`), e.$$.dirty & /*translationurl*/
4621
- 8192 && v && y();
4597
+ 2056 && f && w && ro(w, f), e.$$.dirty & /*clientstylingurl, customStylingContainer*/
4598
+ 4104 && m && w && no(w, m), e.$$.dirty & /*mbsource, customStylingContainer*/
4599
+ 16392 && p && w && io(w, `${p}.Style`), e.$$.dirty & /*translationurl*/
4600
+ 8192 && v && x();
4622
4601
  }, [
4623
4602
  s,
4624
4603
  a,
4625
4604
  l,
4626
- S,
4605
+ w,
4627
4606
  n,
4628
4607
  H,
4629
4608
  _,
4630
- x,
4609
+ E,
4631
4610
  u,
4632
4611
  h,
4633
4612
  c,
4634
4613
  f,
4635
4614
  m,
4636
4615
  v,
4637
- d,
4616
+ p,
4638
4617
  o,
4639
4618
  i,
4640
4619
  ue,
4641
- _r,
4620
+ yr,
4642
4621
  xr
4643
4622
  ];
4644
4623
  }
4645
- class yr extends Yr {
4624
+ class vr extends qr {
4646
4625
  constructor(t) {
4647
- super(), Jr(
4626
+ super(), Qr(
4648
4627
  this,
4649
4628
  t,
4650
- fo,
4651
- co,
4652
- Gt,
4629
+ ho,
4630
+ lo,
4631
+ Rt,
4653
4632
  {
4654
4633
  modaltext: 0,
4655
4634
  modaltitle: 1,
@@ -4662,7 +4641,7 @@ class yr extends Yr {
4662
4641
  translationurl: 13,
4663
4642
  mbsource: 14
4664
4643
  },
4665
- uo
4644
+ so
4666
4645
  );
4667
4646
  }
4668
4647
  get modaltext() {
@@ -4726,50 +4705,50 @@ class yr extends Yr {
4726
4705
  this.$$set({ mbsource: t }), I();
4727
4706
  }
4728
4707
  }
4729
- qr(yr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4730
- const wo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4708
+ Jr(vr, { modaltext: {}, modaltitle: {}, hascancelbutton: { type: "Boolean" }, modalconfirmevent: {}, modalcancelevent: {}, lang: {}, clientstyling: {}, clientstylingurl: {}, translationurl: {}, mbsource: {} }, ["close"], [], !0);
4709
+ const Eo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4731
4710
  __proto__: null,
4732
- default: yr
4711
+ default: vr
4733
4712
  }, Symbol.toStringTag, { value: "Module" }));
4734
4713
  export {
4735
- q as $,
4736
- _o as A,
4737
- Le as B,
4738
- oe as C,
4739
- bo as D,
4740
- Ge as E,
4741
- ht as F,
4742
- vo as G,
4743
- ro as H,
4744
- io as I,
4745
- oo as J,
4746
- so as K,
4747
- wo as P,
4748
- Yr as S,
4749
- pr as a,
4750
- qr as b,
4751
- So as c,
4752
- Nr as d,
4753
- Q as e,
4714
+ Y as $,
4715
+ B as A,
4716
+ vo as B,
4717
+ Me as C,
4718
+ qe as D,
4719
+ fo as E,
4720
+ Q as F,
4721
+ po as G,
4722
+ go as H,
4723
+ ut as I,
4724
+ bo as J,
4725
+ eo as K,
4726
+ Eo as P,
4727
+ qr as S,
4728
+ mr as a,
4729
+ Jr as b,
4730
+ _o as c,
4731
+ Mr as d,
4732
+ M as e,
4754
4733
  I as f,
4755
- en as g,
4756
- ie as h,
4757
- Jr as i,
4758
- M as j,
4759
- Cr as k,
4760
- no as l,
4761
- xo as m,
4762
- L as n,
4763
- Dr as o,
4764
- Re as p,
4765
- B as q,
4766
- le as r,
4767
- Gt as s,
4768
- go as t,
4769
- yo as u,
4770
- T as v,
4771
- Eo as w,
4772
- po as x,
4773
- Z as y,
4774
- tt as z
4734
+ Kr as g,
4735
+ oe as h,
4736
+ Qr as i,
4737
+ J as j,
4738
+ Br as k,
4739
+ to as l,
4740
+ io as m,
4741
+ N as n,
4742
+ Ur as o,
4743
+ yo as p,
4744
+ Ne as q,
4745
+ ro as r,
4746
+ Rt as s,
4747
+ no as t,
4748
+ xo as u,
4749
+ le as v,
4750
+ se as w,
4751
+ mo as x,
4752
+ T as y,
4753
+ Re as z
4775
4754
  };