@everymatrix/player-account-timeout 1.54.0 → 1.54.4

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