@everymatrix/player-account-general-confirmation-modal 0.2.0 → 1.53.10

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