@everymatrix/player-account-timeout 1.55.0 → 1.56.0

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